Repository navigation
impl(061): increment 3, rustev eval repeat import - #488
Conversation
AI review (no-findings)Reviewing the diff for bugs, security issues, and inconsistencies.
The closure begins with an early-exit absence check on three files ( The The
The if-let chain (
The increment description says "at most 16" scores files per run; the code passes
The 3-segment path Golden files
No concrete bugs or security defects found. The spec-vs-code discrepancy on the {"head": "7eb1a08011bb1f51233d4b0189ef5d371d4ff83b", "verdict": "no-findings", "findings": []}Subject: e1524a4...7eb1a08, diff digest d85528e3368913210fc8b2e7d605a4d7f4589480e862f88e6316d51c3f96459f, 1 call(s). An AI comment is not an approval. |
e1524a4 to
a9acbc9
Compare
7eb1a08 to
470ec4a
Compare
AI review (findings)Reviewing the diff for bugs, security problems, and inconsistencies against the governance context and existing code patterns.
The optional let views = match s
.reads
.read_bounded(&views_path, REPLAY_V1.max_bytes.saturating_add(1))Every other document in this module — including Everything else reviewed and no additional findings:
{"head": "470ec4a1113c7452a830bc72535cce057761e7f8", "verdict": "findings", "findings": [{"path": "crates/rustev-cli/src/host_sets.rs", "line": 44, "summary": "views.json is read with REPLAY_V1.max_bytes.saturating_add(1) instead of REPLAY_V1.max_bytes, giving it a one-byte larger effective size limit than every other input document and risking a confusing host-binding refusal instead of a size-exceeded error if the implementation returns None for oversized files."}]}Subject: a9acbc9...470ec4a, diff digest 66eb5757b0b47e85944602ab6f8c498ce138687d38afe042b6086b3dcc3f087f, 1 call(s). An AI comment is not an approval. |
a9acbc9 to
771c140
Compare
470ec4a to
808f0eb
Compare
AI review (no-findings)Reviewing the diff for correctness, security, and consistency with governance rules.
The two-phase absent check is intentional: a fast pre-computation check on the three fixed-name outputs ( The The The scorer-ID filename construction ( The
The new block correctly restricts pooled-figure annotation to declared metrics (
The new
Spec 061 Increment 3 description matches the implementation: command path, helper visibility changes, library behaviour change, golden placement rationale, and test coverage are all accurately described. No bugs, security issues, or governance inconsistencies found. {"head": "808f0ebf32e10d77882c2ba6a80c81d61f6c7eca", "verdict": "no-findings", "findings": []}Subject: 771c140...808f0eb, diff digest a5b9532b2e9d83369161248dadebdd7e1671d695506f005fe74a726e9ed12d99, 1 call(s). An AI comment is not an approval. |
2fadb8e to
f45a5b5
Compare
808f0eb to
74be481
Compare
AI review (findings)Review
|
74be481 to
36cc344
Compare
AI review (no-findings)Reviewing the diff across all changed paths.
The scorer-id-to-filename construction is: written.push((
join(out, &format!("run-{r}.scores-{}.json", doc.scorer.id)),
bytes.clone(),
));This uses The initial three-file preflight ( The
The
The new
Increment 3 accurately describes the new CLI command, the library fix, the helper promotions, and the test locations. No contradiction with governance documents.
No concrete defects found. {"head": "36cc344bca965674b406f4fe0338714224124b24", "verdict": "no-findings", "findings": []}Subject: f45a5b5...36cc344, diff digest b532fd212b4c980c0af887372275e902a76ef6b8695a00e8d27729513cf9625d, 1 call(s). An AI comment is not an approval. |
36cc344 to
d4336a0
Compare
… in the library (#492) Spec 061 (host-scored repeat sets, A-77), increment 4: host baselines, the reproducibility check and selection, in the library (3.6 to 3.8). Stacked on #488 (increment 3). It needs only #486's library, but increment 5 (the CLI) needs both, so the chain stays linear. - `crates/rustev-eval/src/host_select.rs`: `provenance` / `one_provenance` (`mixed-provenance`, I-1), `rustev.host-baseline/1` and `record`, `reproducibility` (3.7.2), `rustev.host-selection/1` and `evaluate_selection` with the 3.7.4 preconditions (no stable-cohort comparison, decision 4) and 3.7.5 coverage clauses. - `crates/rustev-eval/src/selection.rs`: spec 029's clause, verdict and ranking code moved into `judge` and `sort_ranks` over a `Side`, which both selections call. `baseline.rs`: the 3.9 comparison moved into `stability`. `comparison.rs`: `check_name_list`. No behavior change; every existing selection, comparison and diff test passes unchanged. - `crates/rustev-eval/mutation/seeds.py`: the "unknown selection qualifies" anchor follows the moved line (indentation only). - Spec 061 record paragraph; `archive-policy.json` lists `src/host_select.rs`. - Tests: `crates/rustev-eval/tests/host_select.rs`. Archive size: `rustev-eval` packages to 782,692 unpacked and 193,712 compressed bytes, under #480's 786,432 and the 196,608 archive bound, with little headroom.
AI review (no-findings)Reviewing the diff for correctness, security, and consistency with the governance documents.
if !rustev_eval::measures::declared_name(&doc.scorer.id) {
return Err(s.invalid("scores", "a scorer id is not a declared name"));
}
written.push((
join(out, &format!("run-{r}.scores-{}.json", doc.scorer.id)),
bytes.clone(),
));The scorer id is interpolated directly into a filesystem path. The comment says "Import bound each scorer to a declared one, whose id is a declared name; checked again here, where it names a file." The library's
The
Three output files (
Claims match the implementation:
No concrete defects found. {"head": "d4336a04f59c0d90d4da6a1ca88f1d6f3d5d4b43", "verdict": "no-findings", "findings": []}Subject: 630d5fc...d4336a0, diff digest b532fd212b4c980c0af887372275e902a76ef6b8695a00e8d27729513cf9625d, 1 call(s). An AI comment is not an approval. |
Spec 061 (host-scored repeat sets, A-77), increment 3:
rustev eval repeat import(3.2).Stacked on #486 (increment 2), which this depends on.
crates/rustev-cli/src/host_sets.rs: reads--repeat-config,--configand each--rundirectory (host-run.json,views.json,scores/), callshost_repeat::import, and writes the import output of 3.2.5 all or none through spec 029's staged, no-clobber publication. Stdoutimportedlabels every figurehost-asserted.crates/rustev-cli/src/args.rs,lib.rs: the command path and help line.repeat.rs: its session, directory listing and publication helpers become crate-visible, unchanged.crates/rustev-eval/src/host_repeat.rs: an unknown pooled figure caused by one case names the run and case.archive-policy.jsonlistsrustev-cli'ssrc/host_sets.rs.crates/rustev-cli/tests/host_sets.rs, goldens undercrates/rustev-cli/tests/golden/host/(outside the harvested conformance goldens: no binding surface runs host commands, 3.10).