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 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
- —0 rounds—medium[Bug]: Setting norm with existing colorbar fails with 3.6.3matplotlib/matplotlibplottinggraphicsmediumnew
- —0 rounds—mediumUpdate colorbar after changing mappable.normmatplotlib/matplotlibplottinggraphicsmediumnew
- —0 rounds—mediumError creating AxisGrid with non-default axis classmatplotlib/matplotlibplottinggraphicsmediumnew
- —0 rounds—mediumDisplay fixture scope with `pytest --fixtures`pytest-dev/pytesttestingtoolingmediumnew
- —1 round—mediumWrong path to test file when directory changed in fixturepytest-dev/pytesttestingtoolingmediumnew
- —0 rounds—mediumImprove handling of skip for module levelpytest-dev/pytesttestingtoolingmediumnew
- —0 rounds—mediuminherited-members should support more than one classsphinx-doc/sphinxdocstoolingmediumnew
- —0 rounds—mediumsimplifying exponential -> trig identitiessympy/sympymathsymbolicmediumnew
- —0 rounds—mediumSum of the elements of an identity matrix is zerosympy/sympymathsymbolicmediumnew
- —0 rounds—medium`Permutation` constructor fails with non-disjoint cyclessympy/sympymathsymbolicmediumnew
- —1 round—mediumBehavior of Matrix hstack and vstack changed in sympy 1.1sympy/sympymathsymbolicmediumnew
- —0 rounds—medium★Exponent doesn't fully simplifysympy/sympysimplificationmathmediumnew
- —0 rounds—mediumbell(n).limit(n, oo) should be oo rather than bell(oo)sympy/sympymathsymbolicmediumnew
- —0 rounds—medium@ (__matmul__) should fail if one argument is not a matrixsympy/sympymathsymbolicmediumnew
- —0 rounds—medium(-x/4 - S(1)/12)**x - 1 simplifies to an inequivalent expressionsympy/sympymathsymbolicmediumnew
- —0 rounds—mediumInconsistency when simplifying (-a)**x * a**(-x), a a positive integersympy/sympymathsymbolicmediumnew
- —0 rounds—mediumPoly(domain='RR[y,z]') doesn't worksympy/sympymathsymbolicmediumnew
- —0 rounds—mediumlambdify does not work with certain MatrixSymbol names even with dummify=Truesympy/sympymathsymbolicmediumnew
- —0 rounds—mediumLaTeX printing for Matrix Expressionsympy/sympymathsymbolicmediumnew
- —0 rounds—mediumSome issues with idiffsympy/sympymathsymbolicmediumnew
- —0 rounds—mediumProduct pretty print could be improvedsympy/sympymathsymbolicmediumnew
- —0 rounds—mediumBad centering for Sum pretty printsympy/sympymathsymbolicmediumnew
- —0 rounds—mediumLambdify misinterprets some matrix expressionssympy/sympymathsymbolicmediumnew
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.