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 round82hardPlease support header rows in RestructuredText outputastropy/astropyastronomynumericshard100% solved
- 100%1 round72hardDjango 3.0: "GROUP BY" clauses error with tricky field annotationdjango/djangowebormhard100% solved
- 100%2 rounds76hardUnroll the iterable for all/any calls to get better reportspytest-dev/pytesttestingtoolinghard100% 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—hard[Bug]: cannot give init value for RangeSlider widgetmatplotlib/matplotlibplottinggraphicshardnew
- —0 rounds—hard[Bug]: Setting matplotlib.pyplot.style.library['seaborn-colorblind'] result in key error on matplotlib v3.6.1matplotlib/matplotlibplottinggraphicshardnew
- —0 rounds—hard[Bug]: NumPy 1.24 deprecation warningsmatplotlib/matplotlibplottinggraphicshardnew
- —0 rounds—hardFlask routes to return domain/sub-domains informationpallets/flaskwebmicroframeworkhardnew
- —0 rounds—hard`Session.resolve_redirects` copies the original request for all subsequent requests, can cause incorrect method selectiopsf/requestshttpnetworkinghardnew
- —0 rounds—hardUncertain about content/text vs iter_content(decode_unicode=True/False)psf/requestshttpnetworkinghardnew
- —0 rounds—hardTrailing whitespace in DatasetGroupBy text representationpydata/xarraydataarrayshardnew
- —0 rounds—hardrxg include '\p{Han}' will throw errorpylint-dev/pylintlintingtoolinghardnew
- —0 rounds—hardINTERNALERROR when exception in __repr__pytest-dev/pytesttestingtoolinghardnew
- —0 rounds—hardPytest 6: Dynamically adding xfail marker in test no longer ignores failurepytest-dev/pytesttestingtoolinghardnew
- —0 rounds—hardFix duplicated *args and **kwargs with autodoc_typehintssphinx-doc/sphinxdocstoolinghardnew
- —0 rounds—hardUsing rst_prolog removes top level headings containing a domain directivesphinx-doc/sphinxdocstoolinghardnew
- —0 rounds—hardLaTeX printer does not use the same order of monomials as pretty and strsympy/sympymathsymbolichardnew
- —0 rounds—hardmathml printer for IndexedBase requiredsympy/sympymathsymbolichardnew
- —0 rounds—hardautowrap with cython backend fails when array arguments do not appear in wrapped exprsympy/sympymathsymbolichardnew
- —0 rounds—hardnthroot_mod function misses one root of x = 0 mod p.sympy/sympymathsymbolichardnew
- —0 rounds—harduniq modifies list argumentsympy/sympymathsymbolichardnew
- —0 rounds—hardWrong matrix element fetched from BlockMatrixsympy/sympymathsymbolichardnew
- —0 rounds—hardsympy.polys.factortools.dmp_zz_mignotte_bound improvementsympy/sympymathsymbolichardnew
- —0 rounds—hardPoint.vel() should calculate the velocity if possiblesympy/sympymathsymbolichardnew
- —0 rounds—hardpartitions() reusing the output dictionariessympy/sympymathsymbolichardnew
- —0 rounds—hardInconsistent behavior for sympify/simplify with ceilingsympy/sympymathsymbolichardnew
- —0 rounds—hardinaccurate rendering of pi**(1/E)sympy/sympymathsymbolichardnew
- —0 rounds—hard`refine()` does not understand how to simplify complex argumentssympy/sympymathsymbolichardnew
- —0 rounds—hardsympy.Array([]) fails, while sympy.Matrix([]) workssympy/sympymathsymbolichardnew
- —0 rounds—harddisplay bug while using pretty_print with sympy.vector object in the terminalsympy/sympymathsymbolichardnew
- 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
- 50%2 rounds53mediumnapoleon_use_param should also affect "other parameters" sectionsphinx-doc/sphinxdocstoolingmedium50% solved
- 100%2 rounds85medium★Auto-reloading with StatReloader very slow on Windowsdjango/djangoperformanceutilsmedium100% 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
- 100%1 round88medium[Bug]: Unable to pickle figure with aligned labelsmatplotlib/matplotlibplottinggraphicsmedium100% solved
- —0 rounds—mediumAutoreloader with StatReloader doesn't track changes in manage.py.django/djangowebormmediumnew
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.