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

Abierto
#152 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
Python
Estrellas
0
Forks
0
Merge medio
3 h 50 min
PR fusionados (30 d)
143

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de jejjohnson/pipekit

Todos los issues de jejjohnson/pipekit

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.