Pick a real bug. Ship the fix with AI.
Every challenge is a genuine GitHub issue from a major Python project, graded by the hidden tests from the fix that actually merged. Read the briefs here and create an account to start a round.
- Challenges
- 197 challenges
- Repositories
- 11 repositories
- Graded rounds
- 62 graded rounds
Python code printer not respecting tuple with one element
Self referencing foreign key doesn't correctly order by a relation "_id" field.
+300 XPCompete →
Track your progress
Sign in to see what you have solved, keep a streak, earn badges and XP, and climb the leaderboard.
Open a practice track
- 0%7 rounds31hardMerging 3 or more media objects can throw unnecessary MediaOrderConflictWarningsdjango/djangowebormhard0% solved
- 0%3 rounds30hardAllow ValidationErrors to equal each other when created identicallydjango/djangowebormhard0% solved
- 100%1 round72hardDjango 3.0: "GROUP BY" clauses error with tricky field annotationdjango/djangowebormhard100% solved
- —0 rounds—hardAdd support for SCRIPT_NAME in STATIC_URL and MEDIA_URLdjango/djangowebormhardnew
- —0 rounds—hardAlterOrderWithRespectTo() with ForeignKey crash when _order is included in Index().django/djangowebormhardnew
- —0 rounds—hardAbstract model field should not be equal across modelsdjango/djangowebormhardnew
- —0 rounds—hardUsing __isnull=True on a KeyTransform should not match JSON null on SQLite and Oracledjango/djangowebormhardnew
- —0 rounds—hardURLField throws ValueError instead of ValidationError on cleandjango/djangowebormhardnew
- —0 rounds—hardSupport for serialization of combination of Enum flags.django/djangowebormhardnew
- —0 rounds—hardRendering empty_form crashes when empty_permitted is passed to form_kwargsdjango/djangowebormhardnew
- —0 rounds—hardmigrate management command does not respect database parameter when adding Permissions.django/djangowebormhardnew
- —0 rounds—hardSquashing migrations with Meta.index_together -> indexes transition should remove deprecation warnings.django/djangowebormhardnew
- —0 rounds—hardAllow returning IDs in QuerySet.bulk_create() when updating conflicts.django/djangowebormhardnew
- —0 rounds—hardFlask routes to return domain/sub-domains informationpallets/flaskwebmicroframeworkhardnew
- 0%2 rounds14mediumSelf referencing foreign key doesn't correctly order by a relation "_id" field.django/djangowebormmedium0% solved
- 0%1 round30mediumTest runner setup_databases crashes with "TEST": {"MIGRATE": False}.django/djangowebormmedium0% solved
- 0%3 rounds30mediumAdd a file mode parameter to flask.Config.from_file()pallets/flaskwebmicroframeworkmedium0% solved
- 100%2 rounds86mediumMigrations uses value of enum object instead of its name.django/djangowebormmedium100% solved
- 100%2 rounds92mediumMulti-level FilteredRelation with select_related() may set wrong related object.django/djangowebormmedium100% solved
- —0 rounds—mediumAutoreloader with StatReloader doesn't track changes in manage.py.django/djangowebormmediumnew
- —0 rounds—mediumdjango.utils.http.parse_http_date two digit year check is incorrectdjango/djangowebormmediumnew
- —0 rounds—mediumThe value of a TextChoices/IntegerChoices field has a differing typedjango/djangowebormmediumnew
- —0 rounds—mediumCannot override get_FOO_display() in Django 2.2+.django/djangowebormmediumnew
- —0 rounds—mediumtranslation.E004 shouldn't be raised on sublanguages when a base language is available.django/djangowebormmediumnew
- —0 rounds—medium`TransactionTestCase.serialized_rollback` fails to restore objects due to ordering constraintsdjango/djangowebormmediumnew
- —0 rounds—mediumMigration crashes deleting an index_together if there is a unique_together on the same fieldsdjango/djangowebormmediumnew
- —0 rounds—mediumQuerySet.Delete - inconsistent result when zero objects deleteddjango/djangowebormmediumnew
- —1 round—mediumAdd check for fields of UniqueConstraints.django/djangowebormmediumnew
- —0 rounds—mediumAdd get_response_async for ASGIStaticFilesHandlerdjango/djangowebormmediumnew
- —0 rounds—mediumMake django.utils.text.slugify() strip dashes and underscoresdjango/djangowebormmediumnew
- —0 rounds—mediumQueryset raises NotSupportedError when RHS has filterable=False attribute.django/djangowebormmediumnew
- —0 rounds—mediumlimit_choices_to on a ForeignKey can render duplicate options in formfielddjango/djangowebormmediumnew
- —0 rounds—mediumChanging user's email could invalidate password reset tokensdjango/djangowebormmediumnew
- —0 rounds—mediumManagementUtility instantiates CommandParser without passing already-computed prog argumentdjango/djangowebormmediumnew
- —0 rounds—mediumRemaking table with unique constraint crashes on SQLite.django/djangowebormmediumnew
- —0 rounds—mediumRenameModel with db_table should be a noop.django/djangowebormmediumnew
- —0 rounds—mediumRemove "for = ..." from MultiWidget's <label>.django/djangowebormmediumnew
- —0 rounds—mediumExpressionWrapper for ~Q(pk__in=[]) crashes.django/djangowebormmediumnew
- —0 rounds—mediumMigrationRecorder does not obey db_router allow_migrate rulesdjango/djangowebormmediumnew
- —0 rounds—mediumSimpleLazyObject doesn't implement __radd__django/djangowebormmediumnew
- —0 rounds—mediumModels migration with change field foreign to many and deleting unique together.django/djangowebormmediumnew
- —0 rounds—mediumcheck_for_template_tags_with_the_same_name with libraries in TEMPLATESdjango/djangowebormmediumnew
- —0 rounds—mediumModelForm fields with callable defaults don't correctly propagate default valuesdjango/djangowebormmediumnew
- —0 rounds—mediumFileBasedCache has_key is susceptible to race conditionsdjango/djangowebormmediumnew
- —0 rounds—mediumError E108 does not cover some casesdjango/djangowebormmediumnew
- —0 rounds—mediumTemplate filter `join` should not escape the joining string if `autoescape` is `off`django/djangowebormmediumnew
- —0 rounds—mediumQuerySet.only() doesn't work with select_related() on a reverse OneToOneField relation.django/djangowebormmediumnew
- 50%5 rounds56easySet default FILE_UPLOAD_PERMISSION to 0o644.django/djangowebormeasy50% solved
- 50%2 rounds35easySubquery.as_sql() generates invalid SQL.django/djangowebormeasy50% solved
- 100%1 round89easyOptional URL params crash some view functions.django/djangowebormeasy100% solved
From Start to score in four steps
- 1
Open your workspace
VS Code opens in a new tab with the repository, dependencies and tests ready. Read the instructions, then press Start inside the workspace to begin the timer.
- 2
Fix it with the agent
Standard rounds give you 60 minutes and up to 1M tokens; Speedrun gives you 20 minutes and Frugal lowers the token budget. Check your selected mode and allowance before starting. Paid rounds spend agent credit; free rounds do not.
- 3
Your work builds the report
The workspace records prompts, agent actions, edits, test runs and token use. It also records pastes and time away from the tab. It does not watch activity outside the workspace.
- 4
Submit and get scored
Hidden tests from the original fix check your patch. Graded rounds include a free score and test result. A paid plan adds the detailed breakdown, prompt coaching and replay. Eligible graded attempts also earn XP.
How the score is made
Your overall score is a weighted blend of six sub-scores. Solving the issue matters most, but how you drove the agent, checked your work and spent your tokens is what separates a good engineer with AI from a lucky one. Non-empty practice submissions can earn XP. Your best result on each task counts, with harder tasks and passing tests worth more.
- Outcome35%
Do the hidden tests pass, and does nothing that worked before break?
- Prompt quality15%
Specific, contextual instructions beat “fix it”.
- Token economy15%
Solving it without burning the budget.
- Verification15%
Running the tests yourself before you submit.
- Speed10%
Time to a working fix (only counts when it works).
- Recovery10%
Getting out of error loops instead of repeating them.