This release formalizes the current task schema as v3 and bumps parsed dataset caches to schema version 3.
- Redesigned derived
Taskobjects aroundtarget: TaskTargetandsource: TaskSourceinstead of flatentry_point_name,description, andgt_solutionfields. - Nested raw-task
sourceobjects replace flatsource__...serialized fields across HumanEval, Pro, and ClassEval task families. - Added HumanEval serialized test suites (
HumanEvalTest,HumanEvalTestCase) with per-case source rewriting andHumanEvalDataset.get_test_cases_at_index(). - Added shared Pro-task modeling in
pro_task.pyandGTSolutionfor HumanEval ground-truth execution. - Expanded
code_parsing.pywith AST span editing and test-list parsing helpers. - Migrated HumanEval DSPy eval/optimize workflows to v3 sample accessors in
humaneval_dspy_sample.py. - Restored HumanEval
function_stubsemantics: docstrings stripped for enc/dec decoder inputs whilecode_stubkeeps the full prompt. - Unified DSPy LM configuration around
resolve_dspy_lm_settings()and catalog-first defaultDEFAULT_LLM_CONFIG_ID. - Removed OpenRouter catalog id
openrouter/openai/gpt-oss-20b/low/v1. - Removed
Task.description,DatasetSlice.get_code_stub(), andDatasetSlice.get_code_stub_with_comments(). - Rebuilt dataset caches against schema version 3.
| Removed | Replacement |
|---|---|
Task.entry_point_name |
Task.target.name |
Task.description |
Family-specific raw fields (for example raw.description on Pro tasks) |
Task.gt_solution / flat gt_solution on derived tasks |
Task.source.code or raw.gt_solution.code |
DatasetSlice.get_code_stub() |
DatasetSlice.get_official_prompt() or raw.function_stub |
DatasetSlice.get_code_stub_with_comments() |
raw.code_stub or raw.source.prompt |
Flat source__* serialized fields |
Nested source.* on raw task models |
This release formalizes the current task schema as v2 and defines the prior raw-task/task design as v1.
- Added
version: Literal["v1", "v2"] = "v2"to raw task models and derivedTaskobjects. - Added task-level validation that rejects derived tasks whose
versiondoes not match the raw task they were built from. - Propagated raw task versions into dataset
_to_task()conversions so version metadata stays explicit instead of relying on a default. - Redesigned the HumanEval, HumanEval-Pro, MBPP-Pro, BigCodeBench-Lite-Pro, and ClassEval raw task models around preserved
source__...inputs plus richer derived prompt/code artifacts. - Standardized commented vs stripped code semantics so plain exported fields remove comments and docstrings, while explicit
with_commentsorwith_docstrings_and_commentsfields preserve them. - Updated Pro-task models with explicit original/new function views, docstring-and-comment extraction fields, and separated original/new prompt and stub artifacts.
- Added
new_code_stubandnew_code_stub_with_commentsaliases across task families so prompt/stub access is named consistently. - Standardized official prompt generation:
- Pro tasks now expose instruction-wrapped
original_official_promptandnew_official_promptfields. - HumanEval-plus
official_prompt/new_official_promptnow use an instruction wrapper around the source prompt. - ClassEval
new_official_promptnow uses the class name plus official skeleton and wraps the code in a fencedpythonblock.
- Pro tasks now expose instruction-wrapped
- Wrapped code content inside all
new_official_promptfields with fencedpythoncode blocks. - Split runnable and commented ground-truth code consistently across task families, and kept rebuild-time validation on the self-contained commented forms where required.
- Updated Pro-task ground-truth assembly so original and self-invoking functions are separated by two blank lines in both stripped and comment-preserving forms.
- Added validation notebooks for the redesigned MBPP-Pro, BigCodeBench-Lite-Pro, and ClassEval task models to mirror the HumanEval inspection workflow.
- Extended
DatasetSlicewithget_official_prompt(),get_code_stub(), andget_code_stub_with_comments()accessors parallel toget_source_code(). - Rebuilt dataset caches against the redesigned task schemas.