Conversation
Signed-off-by: Shiwei Ma <mashiwei19971226@gmail.com>
Try out this PRQuick install: pip install --upgrade --force-reinstall git+https://github.com/ai-dynamo/aiperf.git@d384ad56bcd5488ca68d61cea8651cf2badb6ec6Recommended with virtual environment (using uv): uv venv --python 3.12 && source .venv/bin/activate
uv pip install --upgrade --force-reinstall git+https://github.com/ai-dynamo/aiperf.git@d384ad56bcd5488ca68d61cea8651cf2badb6ec6Last updated for commit: |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: ai-dynamo/aiperf/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (4)
Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review. WalkthroughThe change propagates artifact export levels into ChangesDistribution Export Validation
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~25 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 54.55% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 11 functions across 6 files. (1 skipped: 1 unsupported.)
A rabbit checks the records in a row Comment |
Signed-off-by: Shiwei Ma <mashiwei19971226@gmail.com>
Signed-off-by: Shiwei Ma <mashiwei19971226@gmail.com>
| True, "records", [["jsonl"], False], ["records", "summary"], | ||
| id="summary-last", | ||
| ), | ||
| param( |
There was a problem hiding this comment.
The summary-first sweep row only rejects a summary-only variation at config 1, which is already protected by the retained single-config summary export coverage. The sweep-specific regression is distinguished by the retained summary-last row, because that fails if validation checks only the base or first config; summary-base-overridden and mixed-records-raw preserve the supported non-summary paths.
🤖 AI Fix
Remove the summary-first parameter row from this sweep-export matrix.
| param("distribution", False, [1, 1], None, id="raw-points"), | ||
| param("distribution", True, [0, 1], None, id="mixed-records-raw"), | ||
| param("ci_width", False, [1, 0], None, id="ci-width-allows-summary"), | ||
| param("cv", False, [1, 0], None, id="cv-allows-summary"), |
There was a problem hiding this comment.
The cv-allows-summary adaptive-search case exercises the same runtime export-validation branch as the retained ci-width-allows-summary case: any non-distribution convergence mode may keep summary exports. CV strategy construction is already covered separately, and this test only needs one non-distribution convergence case plus the fixed-trials case to preserve the supported behavior.
🤖 AI Fix
Drop the cv-allows-summary parameter case from this adaptive-search export-validation test.
fix(config): propagate export level to benchmark plans
Summary
BenchmarkPlanduring plan assembly.summary,records, andrawexports.Problem
Multi-run distribution convergence requires per-request JSONL data. Although
--export-level recordsand--export-level rawcorrectly populate the benchmark'sartifact configuration, plan assembly leaves
BenchmarkPlan.export_levelat itsdefault,
summary.As a result, convergence validation rejects valid configurations before any
benchmark runs:
This change propagates the resolved export level rather than weakening that
validation. Genuine summary-only exports remain rejected for distribution
convergence. No convergence algorithms or thresholds are changed.
Validation
Base:
e34f7e59c2df5bb20042ed99cda36b5d4c6d6733.records/rawcases failed because the plan usedsummary; both summary-only rejection cases passed.existing plan tests, convergence validation, and distribution criterion tests.
import hooks were skipped locally; license, baselined Ruff, and ergonomics
checks were run directly on the changed files and passed.
rerun plugin was disabled because its local socket initialization is restricted
in the test sandbox.
distribution convergence were not run locally.
Summary by CodeRabbit
Bug Fixes
Documentation