Fail-to-pass feature tasks ask an AI agent to add a feature to an existing codebase. FynoLabs ships each one as a kit: an issue-style instruction, a reference patch, a test patch and two test lists. Every fail-to-pass test must fail before the solution and pass after it, and every pass-to-pass test must keep passing.
Feature work on existing codebases: an issue-style instruction, the reference patch, a test patch, the fail-to-pass and pass-to-pass test lists, and the test runner.
Grading
Fail-to-pass and pass-to-pass tests
Difficulty
Set per task
Expert time
Sized as one well-defined feature in an existing codebase
What is in a task
The files, and what each one is for.
instruction.md: the feature, written as an issue.
solution/: the reference patch.
tests/: a test patch, a config file with the base commit and both test lists, and the test runner.
How a task is run and checked
You can run every task on your own pipeline.
Check out the base repository at the base commit named in the config.
Apply the reference patch, then the test patch.
Run the test runner.
Every fail-to-pass test must fail before the solution and pass after it. Every pass-to-pass test must keep passing.
Who writes these tasks
The experts this format needs.
Each task is written by someone who does this work for a living, and reviewed by a second expert.
Whether an agent can resolve a real issue in a real open-source codebase: understand an unfamiliar repository, make a correct change across files, and leave the existing behaviour intact.