codeflash/tiles/codeflash-skills/evals/scenario-4/criteria.json
Kevin Turcios ff2abd29f2 chore: add eval scenarios for codeflash-skills tile
5 scenarios testing: sequential debugging, Result type + effort config,
test patterns, domain type conventions, and deduplication/repair mechanics.
Also adds tessl-labs/tessl-skill-eval-scenarios dev dependency.
2026-02-14 21:24:54 -05:00

26 lines
1.1 KiB
JSON

{
"context": "Tests whether the agent follows codeflash domain type conventions and correctly identifies the right module when adding a new data type for the optimization pipeline.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Placed in models/models.py",
"description": "New data type is added to codeflash/models/models.py (NOT models/function_types.py, since it has dependencies on other codeflash modules)",
"max_score": 25
},
{
"name": "Uses frozen dataclass",
"description": "Immutable data type uses @dataclass(frozen=True) decorator, NOT a regular class or unfrozen dataclass",
"max_score": 25
},
{
"name": "BaseModel for serializable",
"description": "If a serializable model is needed, uses Pydantic BaseModel (NOT dataclass or dict)",
"max_score": 25
},
{
"name": "Correct module for feature",
"description": "Places the main logic in the correct module for the feature type (e.g., verification/ for test-related, optimization/ for candidate-related, api/ for service-related)",
"max_score": 25
}
]
}