Repository navigation
feat(datasets): record how a dataset was generated and show it on reports - #405
Conversation
…orts Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
rng1995
left a comment
There was a problem hiding this comment.
Automated review: 7 findings (0 P1, 2 P2, 5 P3); 7 posted inline.
Checked the generation record from runner capture through payload sanitizing to the evaluate, validate, HTML, BENCHMARK.md and Markdown output, with probes for native Harbor sources, malformed and hostile generation blocks, large payloads and passing validate runs.
Tests at 483b350: the new provenance, grounding and progress tests plus the Tier 3, reporting, CLI and evaluation-service suites passed in three runs (706, 969, and 1,072 with 4 skipped). test_fifo_dataset_is_rejected_without_blocking timed out once under load and passes alone on head and base.
Merges cleanly into main and into its #401 base. Real file conflicts: #406 in six files (reporting/benchmark.py, reporting/cli.py, html.py, report.html.j2, generate_dataset.py, result_display.py, where both add a report line at the same spots), #400 (report.html.j2, generate_dataset.py), #404 (runner.py, result_display.py), #395 (reporting/cli.py, result_display.py), #397 (reporting/cli.py), #381 (cli.py autopilot block), and import lines with #384/#387/#388. The other open PRs conflict in CHANGELOG.md only. Merge right after #401, then land one of #405/#406 and rebase the other.
#378: accept-traces keeps the top-level template record while appending reviewed production cases, so such a dataset still prints "cases are generic starters; review before relying on scores". trace_source is never consulted.
#401: its generator writes mode template, which sanitize_generation_record drops, so datasets generated before this PR lands render as hand-written.
#225: the Gym runner's result block does not add dataset_provenance, so Gym runs show no dataset line.
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
SkillEvaluator CI resultsRequired gate: Skipped Only Tier 1 blocks CI; Tier 2 and Tier 3 are advisory.
Commit: |
rng1995
left a comment
There was a problem hiding this comment.
Automated review: 0 findings (0 P1, 0 P2, 0 P3); 0 posted inline.
Re-checked our 7 comments at head 651ab24. Since our review the PR adds fix commit b156fa1, and the other new commits only merge origin/main through #401. Each original scenario reproduces at the reviewed head 483b350 and no longer reproduces at 651ab24, so all 7 are fixed.
Tests at 651ab24 (focused files, no xdist): the provenance, grounding and generation-progress tests pass (43), test_tier3_progress.py passes (148) and tests/reporting passes (1842). ruff check and ruff format --check are clean on the changed files, and CI on 651ab24 is green (25 passed, 2 skipped).
The branch is up to date with feat/christopherk/guided-dataset-grounding (c9086aa), and GitHub reports it mergeable (clean). It lands after its base PR, #401.
Approved from our side.
Signed-off-by: Christopher Kevin <[email protected]>
a4791b4
into
feat/christopherk/guided-dataset-grounding
…keep authored expectations (NVIDIA#401) * feat(datasets): choose a grounding source for generated datasets and keep authored expectations Signed-off-by: Christopher Kevin <[email protected]> * fix(datasets): flag only refinement-dropped authored steps Signed-off-by: Christopher Kevin <[email protected]> * test(cli): update snapshots for dataset grounding Signed-off-by: Christopher Kevin <[email protected]> * Fix trace-grounded dataset refinement Signed-off-by: Christopher Kevin <[email protected]> * feat(datasets): record how a dataset was generated and show it on reports (NVIDIA#405) * feat(datasets): record how a dataset was generated and show it on reports Signed-off-by: Christopher Kevin <[email protected]> * fix(reports): harden dataset generation provenance Signed-off-by: Christopher Kevin <[email protected]> --------- Signed-off-by: Christopher Kevin <[email protected]> --------- Signed-off-by: Christopher Kevin <[email protected]>
Summary
A dataset generated from templates looks the same as a hand-written or model-generated one once it is reused. This PR records how each dataset was produced and shows it on every report.
modeis nowllm,template_requested(--no-llm) ortemplate_fallback, with a sanitizedfallback_reason. Arefinedflag marks trace refinement. One-case autopilot generation writes the same record. A dataset without a record is treated as unknown or hand-written.dataset_provenance.tier3 evaluate, thevalidateAGENT_EVAL section, the HTML overview (as a warning for templates) and BENCHMARK.md:Dataset: generated from templates (fallback: <reason>) — cases are generic starters; review before relying on scoresDataset: generated by intent grounding, review state needs_review; 2 cases need reviewVerification
make lint(ruff check and format on the changed files)make test(focused dataset generation/provenance tests)make buildRelease Impact
CHANGELOG.md