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—mediumexpr.atoms() should return objects with no args instead of subclasses of Atomsympy/sympymathsymbolicmediumnew
- —0 rounds—mediumsqf and sqf_list output is not consistantsympy/sympymathsymbolicmediumnew
- —0 rounds—mediumconvert_to seems to combine orthogonal unitssympy/sympymathsymbolicmediumnew
- —0 rounds—mediumUnexpected `PolynomialError` when using simple `subs()` for particular expressionssympy/sympymathsymbolicmediumnew
- —0 rounds—mediumcse() has strange behaviour for MatrixSymbol indexingsympy/sympymathsymbolicmediumnew
- —0 rounds—mediumSI._collect_factor_and_dimension() cannot properly detect that exponent is dimensionlesssympy/sympymathsymbolicmediumnew
- —0 rounds—mediumBug in expand of TensorProduct + Workaround + Fixsympy/sympymathsymbolicmediumnew
- —0 rounds—mediumBug with milli prefixsympy/sympymathsymbolicmediumnew
- 0%3 rounds30easyTraceback printed for unrecognized optionpylint-dev/pylintlintingtoolingeasy0% solved
- 33%9 rounds40easy★Raise error when blueprint name contains a dotpallets/flaskblueprintsvalidationeasy33% solved
- 50%5 rounds56easySet default FILE_UPLOAD_PERMISSION to 0o644.django/djangowebormeasy50% solved
- 50%2 rounds35easySubquery.as_sql() generates invalid SQL.django/djangowebormeasy50% solved
- 90%29 rounds75easy★UsernameValidator allows trailing newline in usernamesdjango/djangovalidationregexeasy90% solved
- 100%4 rounds76easy★delete() on instances of models without any dependencies doesn't clear PKsdjango/djangoormmodelseasy100% solved
- 100%1 round89easyOptional URL params crash some view functions.django/djangowebormeasy100% solved
- 100%1 round71easyshell command crashes when passing (with -c) the python code with functions.django/djangowebormeasy100% solved
- 100%2 rounds75easyPolyFit is not robust to missing datamwaskom/seabornplottingstatseasy100% solved
- 100%1 round85easyIndexed matrix-expression LaTeX printer is not compilablesympy/sympymathsymboliceasy100% solved
- 100%1 round78easyBug: maximum recusion depth error when checking is_zero of cosh expressionsympy/sympymathsymboliceasy100% solved
- —1 round—easyAllow FilePathField path to accept a callable.django/djangowebormeasynew
- —0 rounds—easyIncorrect removal of order_by clause created as multiline RawSQLdjango/djangowebormeasynew
- —0 rounds—easysqlmigrate wraps it's outpout in BEGIN/COMMIT even if the database doesn't support transactional DDLdjango/djangowebormeasynew
- —0 rounds—easyCorrect expected format in invalid DurationField error messagedjango/djangowebormeasynew
- —0 rounds—easyWhen DEBUG is True, raising Http404 in a path converter's to_python method does not result in a technical responsedjango/djangowebormeasynew
- —0 rounds—easyFiltering on query result overrides GROUP BY of internal querydjango/djangowebormeasynew
- —0 rounds—easyForeignKey's to_field parameter gets the old field's name when renaming a PrimaryKey.django/djangowebormeasynew
- —0 rounds—easyadmin_views.test_multidb fails with persistent test SQLite database.django/djangowebormeasynew
- —0 rounds—easymakemigrations produces incorrect path for inner classesdjango/djangowebormeasynew
- —0 rounds—easyModel.get_FOO_display() does not work correctly with inherited choices.django/djangowebormeasynew
- —0 rounds—easyInherited model doesn't correctly order by "-pk" when specified on Parent.Meta.orderingdjango/djangowebormeasynew
- —0 rounds—easyWrong hint about recursive relationship.django/djangowebormeasynew
- —0 rounds—easySettings are cleaned insufficiently.django/djangowebormeasynew
- —0 rounds—easyUnion queryset should raise on distinct().django/djangowebormeasynew
- —0 rounds—easyQuerySet.none() on combined queries returns all results.django/djangowebormeasynew
- —0 rounds—easyAdd support for item_comments to syndication frameworkdjango/djangowebormeasynew
- —0 rounds—easyUpgrading 2.2>3.0 causes named tuples used as arguments to __range to error.django/djangowebormeasynew
- —0 rounds—easymethod_decorator() should preserve wrapper assignmentsdjango/djangowebormeasynew
- —0 rounds—easyWrong URL generated by get_admin_url for readonly field in custom Admin Sitedjango/djangowebormeasynew
- —0 rounds—easyModelChoiceIteratorValue is not hashable.django/djangowebormeasynew
- —0 rounds—easyDev Server fails to restart after adding BASE_DIR to TEMPLATES[0]['DIRS'] in settingsdjango/djangowebormeasynew
- —0 rounds—easyFix handling empty string for If-Modified-Since headerdjango/djangowebormeasynew
- —0 rounds—easyRenameIndex() crashes when unnamed index is moving backward and forward.django/djangowebormeasynew
- —0 rounds—easyCustomizable management command formatters.django/djangowebormeasynew
- —0 rounds—easyQuerySet.only() after select_related() crash on proxy models.django/djangowebormeasynew
- —0 rounds—easydbshell additional parameters should be passed before dbname on PostgreSQL.django/djangowebormeasynew
- —0 rounds—easyFix numberformat.py "string index out of range" when nulldjango/djangowebormeasynew
- —0 rounds—easyAccessing UserAdmin via to_field leads to link to PasswordResetForm being broken (404)django/djangowebormeasynew
- —0 rounds—easySitemaps without items raise ValueError on callable lastmod.django/djangowebormeasynew
- —0 rounds—easy"show_save_as_new" in admin can add without this permissiondjango/djangowebormeasynew
- —0 rounds—easyMigration optimizer does not reduce multiple AlterFielddjango/djangowebormeasynew
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.