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—easyClass methods from nested classes cannot be used as Field.default.django/djangowebormeasynew
- —2 rounds—easy★get_backend() clears the current figurematplotlib/matplotlibbackendfigureseasynew
- —0 rounds—easy[Bug]: Constrained layout UserWarning even when Falsematplotlib/matplotlibplottinggraphicseasynew
- —0 rounds—easy[Bug]: Unable to pickle figure with draggable legendmatplotlib/matplotlibplottinggraphicseasynew
- —0 rounds—easyColor mapping fails with boolean datamwaskom/seabornplottingstatseasynew
- —0 rounds—easypairplot raises KeyError with MultiIndex DataFramemwaskom/seabornplottingstatseasynew
- —0 rounds—easy★Ignore missing variables in Dataset.droppydata/xarraydatasetapieasynew
- —0 rounds—easyto_unstacked_dataset broken for single-dim variablespydata/xarraydataarrayseasynew
- —0 rounds—easyFeature request: show units in dataset overviewpydata/xarraydataarrayseasynew
- —0 rounds—easyUsing custom braces in message template does not workpylint-dev/pylintlintingtoolingeasynew
- —0 rounds—easyRewrite fails when first expression of file is a number and mistaken as docstringpytest-dev/pytesttestingtoolingeasynew
- —0 rounds—easyModule imported twice under import-mode=importlibpytest-dev/pytesttestingtoolingeasynew
- —0 rounds—easyImprove default logging formatpytest-dev/pytesttestingtoolingeasynew
- —0 rounds—easyHostname and timestamp properties in generated JUnit XML reportspytest-dev/pytesttestingtoolingeasynew
- —0 rounds—easypytest --collect-only needs a one char shortcut commandpytest-dev/pytesttestingtoolingeasynew
- —0 rounds—easyoverescaped trailing underscore on attribute with napoleonsphinx-doc/sphinxdocstoolingeasynew
- —0 rounds—easyLaTeX printer inconsistent with pretty printersympy/sympymathsymboliceasynew
- —0 rounds—easymatematica code printer does not handle floats and derivatives correctlysympy/sympymathsymboliceasynew
- —0 rounds—easyWrong result with apartsympy/sympymathsymboliceasynew
- —0 rounds—easyis_upper() raises IndexError for tall matricessympy/sympymathsymboliceasynew
- —0 rounds—easydecompose() function in intpoly returns a list of arbitrary ordersympy/sympymathsymboliceasynew
- —0 rounds—easyMod(x**2, x) is not (always) 0sympy/sympymathsymboliceasynew
- —0 rounds—easyPython 2->3 pickle fails with float-containing expressionssympy/sympymathsymboliceasynew
- —0 rounds—easy.subs on coth(log(tan(x))) errors for certain integral valuessympy/sympymathsymboliceasynew
- —0 rounds—easyMatrix.col_insert() no longer seems to work correctly.sympy/sympymathsymboliceasynew
- —0 rounds—easyIssue with a substitution that leads to an undefined expressionsympy/sympymathsymboliceasynew
- —0 rounds—easyDisplay of SeqFormula()sympy/sympymathsymboliceasynew
- —0 rounds—easyLatex printer does not support full inverse trig function names for acsc and asecsympy/sympymathsymboliceasynew
- —0 rounds—easymathematica_code gives wrong output with Maxsympy/sympymathsymboliceasynew
- —0 rounds—easycan't simplify sin/cos with Rational?sympy/sympymathsymboliceasynew
- —0 rounds—easyIntersection should remove duplicatessympy/sympymathsymboliceasynew
- —0 rounds—easysimplify(cos(x)**I): Invalid comparison of complex I (fu.py)sympy/sympymathsymboliceasynew
- —0 rounds—easyException when multiplying BlockMatrix containing ZeroMatrix blockssympy/sympymathsymboliceasynew
- —0 rounds—easyUnexpected exception when multiplying geometry.Point and numbersympy/sympymathsymboliceasynew
- —0 rounds—easyBlockDiagMatrix with one element cannot be converted to regular Matrixsympy/sympymathsymboliceasynew
- —0 rounds—easyRewrite sign as abssympy/sympymathsymboliceasynew
- —0 rounds—easy0**-oo produces 0, the documentation says it should produce zoosympy/sympymathsymboliceasynew
- —0 rounds—easySymbol instances have __dict__ since 1.7?sympy/sympymathsymboliceasynew
- —0 rounds—easy_print_SingularityFunction() got an unexpected keyword argument 'exp'sympy/sympymathsymboliceasynew
- —0 rounds—easyLatex parsing of fractions yields wrong expression due to missing bracketssympy/sympymathsymboliceasynew
- —0 rounds—easyWrong Derivative kind attributesympy/sympymathsymboliceasynew
- —0 rounds—easyitermonomials returns incorrect monomials when using min_degrees argumentsympy/sympymathsymboliceasynew
- —0 rounds—easydetection of infinite solution requestsympy/sympymathsymboliceasynew
- —0 rounds—easysimpify gives `Imaginary coordinates are not permitted.` with evaluate(False)sympy/sympymathsymboliceasynew
- —0 rounds—easyDailyPython code printer not respecting tuple with one elementsympy/sympymathsymboliceasynew
- —0 rounds—easyCannot parse Greek characters (and possibly others) in parse_mathematicasympy/sympymathsymboliceasynew
- —0 rounds—easycollect_factor_and_dimension does not detect equivalent dimensions in additionsympy/sympymathsymboliceasynew
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.