[EPIC] pipekit-evaluate: benchmark contracts and oracle strength

Aperta
#152 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area:code priority:p2 type:epic-theme

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.verify rejects a report whose contract_hash doesn't match.

Relationships

  • Parent: none.
  • Related: geostack docs/reports/14_pipekit_evaluate.md, 15_benchmarking.md and 17_cycle.md, #149, #151
Lingua principale
Python
Stelle
0
Fork
0
Merge medio
3h 50m
PR unite (30g)
143

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di jejjohnson/pipekit

Tutte le issue di jejjohnson/pipekit

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.