Repository navigation
impl(041): repeat evaluation applies the adapter's measures - #425
Conversation
AI review (findings)Looking at the diff across the three changed files:
In Rust, consecutive
The new test should have been inserted before the doc-comment block for {"head": "3b60e2a7ac819e12a112885ac085e128706a9d6e", "verdict": "findings", "findings": [{"path": "crates/rustev-cli/tests/eval.rs", "line": 1392, "summary": "New test inserted in the middle of the existing doc-comment for `version_3_eval_writes_views_and_reads_scores`, so the new test inherits two lines of the wrong function's doc comment and the existing function's doc comment is left truncated."}]}Subject: 8517df9...3b60e2a, diff digest 5eb7def05b57fbe494a6658e08da1bb2fbfab8804645bc85e4170e674b9c5478, 1 call(s). An AI comment is not an approval. |
3b60e2a to
fd54e3b
Compare
AI review (no-findings)Reviewing the three changed files for bugs, security issues, and governance inconsistencies.
The switch from
The new test
The fix note is appended to the spec body just before No governance rule violation, no security defect, no concrete logic error is evident from the supplied evidence. {"head": "fd54e3bdb098b5f869c2f8c26993f7c40e056b81", "verdict": "no-findings", "findings": []}Subject: 8517df9...fd54e3b, diff digest fbe940de93e5852ef0cf9cec4037e2f8d9e9e9715fdc557e627341a0bb64c91d, 1 call(s). An AI comment is not an approval. |
Fix:
rustev eval --repeat-configrefused everyrustev.evaluator-config/3withinvalid_input(Adapter), becausecrates/rustev-cli/src/repeat.rsevaluated each run withevaluate_with_cases, which carries no adapter measures. Spec 041 3.11 and spec 029 3.4 require the 041 ranking and rubric metrics to take part in repeat statistics.evaluate_measured_with_casesand the task adapter (no scores document:--scoresis already refused with--repeat-config). Under versions 1 and 2 the measured path is byte-identical to the previous one, so existing repeat goldens are unchanged.version_3_repeat_evaluates_the_measures_in_every_run(crates/rustev-cli/tests/eval.rs): a version 3 lodging configuration repeated twice onfinal_test; every run report and case-measures document carriesranking/offers/*, and the repeat report includes them. It fails on main with theAdapterrefusal.Found by spec 039's Bedrock swap test (#424), whose version 2 workaround is dropped in a follow-up once both land.
Verification (local):
cargo test -p rustev-cli --locked(all suites), clippy-D warningson rustev-cli,cargo fmt --all --check,make gate.