[EPIC] pipekit-evaluate: benchmark contracts and oracle strength
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python
- Domain
- backend, testing-qa
Research direction
Start with issue #168 and the first real recipe that will shape the contract, then read benchmark/run.py for _check_unique_cells and cube.py for LEVEL_NAMES. The execution notes identify adding estimator names and correcting the L2 label as the first small steps; the epic's broader work includes contract serialization, report identity, oracle strength, submissions, presets, and a differentiable scorer. Done means the listed sub-issues are filed and resolved or removed with reasons, and the stated YAML round-trip and submission verification conditions pass.
Written by the indexing model from the issue text.
Description
Theme
pipekit-evaluate's benchmarks become contracts: a versioned, hashed statement of a task, its splits, references and scorers, whose reports say what they scored and how far each reference can be trusted.
Parent Wave
None. This comes from geostack reports 14, 15 and 17.
Motivation
Benchmark, MetricScorer, EvaluationReport and CovarianceEstimate ship at 7c446f1, but a report doesn't name what it scored.
Two estimators can't share a cell, because results are keyed by (rung, complexity), so Benchmark rejects a second baseline in the same cell.
A cell can't tell retrieval, gap-filling and forecasting apart, and no row says how strong its oracle was.
Without a contract, two benchmark runs can't be compared with confidence.
This epic sets the scope only.
Its children aren't filed yet, because they should follow a first real recipe, #168; each row below becomes one issue when the work starts, and the claims in "At 7c446f1" were checked against the source.
Issues
| Proposed issue | Symbols and destination | At 7c446f1 |
|---|---|---|
feat(evaluate): BenchmarkContract |
benchmark/contract.py: BenchmarkContract(name, version, task, operation, input, output, variant, splits, references, data, scorers, baselines, submission, status), content_hash, to_yaml, from_yaml |
Absent |
feat(evaluate): reports name what they scored |
contract_hash on reports, model_hash on each result, Benchmark.from_contract |
Absent |
feat(evaluate): name estimators, so that a cell can hold several |
name on Estimator, with results keyed by it |
_check_unique_cells in run.py raises ValueError on a duplicate (rung, complexity) |
feat(evaluate): variants and tracks |
variant on Scorer and Estimate, several named references, per-track scoring rules |
The word doesn't appear in the package |
feat(evaluate): transition cells |
Cell(level, rung, complexity, source=None), labelled "L1→L2/r4/c0" |
Cell has level, rung, complexity |
fix(evaluate): name L2 retrieved_obs |
LEVEL_NAMES["L2"] in cube.py |
"gap_filled_obs", which disagrees with the ladder's own description |
feat(evaluate): oracle strength |
OracleStrength (physics_derived, classical_method, human_labels, heuristic) beside ReferenceSource, carried on each CellResult |
Absent |
feat(evaluate): submissions |
ArtifactStore.put and get in pipekit-experiment, and BenchmarkSubmission(contract_hash, model_hash, report_hash) with verify(store) |
Absent |
feat(evaluate): presets for the pilots |
presets.plume(), presets.ocean(), presets.land_extremes(), presets.fusion() |
Absent |
feat(evaluate): a differentiable scorer as a Loss |
An adapter over pipekit_train.loss, which refuses non-differentiable scorers |
Absent |
Out of this epic, because the destination is another repo: the missing metrics and wrappers of report 14 (xrtoolz), the baselines of report 15 (xrtoolz) and its split functions (geocatalog).
Execution Notes
Start with name on Estimator and LEVEL_NAMES, which are small and unblock the rest.
BenchmarkContract comes next, as the shape everything else records.
The L2 rename changes a public string, so note it in the changelog.
Parallelism
- Can run in parallel with: #151.
- Blocked by (inside this wave): #168, so that the contract is shaped by one real recipe.
- Must complete before: none.
Definition of Done
- Every row above is filed as a sub-issue and closed, or removed with a reason.
- A contract's YAML round trip preserves its hash.
- A report names its contract, and each result row names its model.
-
BenchmarkSubmission.verifyrejects a report whosecontract_hashdoesn't match.
Relationships
- Parent: none.
- Related: geostack
docs/reports/14_pipekit_evaluate.md,15_benchmarking.mdand17_cycle.md, #149, #151
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- Avg merge
- 3h 50m
- Merged PRs (30d)
- 143
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from jejjohnson/pipekit
-
area:code layer:0-primitives priority:p2 type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
jejjohnson/pipekit#296 ·
Maintainers usually reply within 1 day
-
area:code type:feature
Difficulty 3/5 1-2 days Newbie friendliness 57/100
jejjohnson/pipekit#411 ·
Maintainers usually reply within 1 day
-
area:code type:feature
Difficulty 4/5 3-5 days Newbie friendliness 48/100
jejjohnson/pipekit#410 ·
Maintainers usually reply within 1 day
-
area:code type:feature
Difficulty 5/5 Over a week Newbie friendliness 38/100
jejjohnson/pipekit#409 ·
Maintainers usually reply within 1 day
-
area:code type:feature
Difficulty 3/5 1-2 days Newbie friendliness 75/100
jejjohnson/pipekit#408 ·
Maintainers usually reply within 1 day
All issues in jejjohnson/pipekit
Similar issues
-
bug(operator): VolterraOperator built inside jax.jit with a concrete decay raises TracerBoolConversionErrorPossibly taken @jejjohnson claimed this today. Opentype:bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
jejjohnson/integrix#144 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
finos/ai-governance-framework#459 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
autowarefoundation/autoware_carla_scenario#2963 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
freelawproject/litigant-portal#1307 ·
Maintainers usually reply within 2 days
-
type/bug
Difficulty 1/5 Under an hour Newbie friendliness 86/100
h2oai/h2o-llmstudio#1163 ·
Maintainers usually reply within 1 day