Repository navigation
Sweep grid: review follow-ups from #17 - #18
Conversation
Follow-ups from the review of #17 that landed after merge: - projects/prompts/backends keys must be slugs (schema propertyNames plus validate_grid at runtime): they become sweep file name components, so a key with a path separator would write outside the output directory. - charts.template.html gets a doctype and an html[lang] root so the page no longer renders in quirks mode; charts.html regenerated. - format_report: partial runs (fewer cases than the project's largest run) are excluded before selection, and the baseline is taken only when every selected row agrees on it; an empty pool is an error instead of a StopIteration. - pool_relevance no longer truncates sweep names to 48 characters. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RzSnFgZ2rHydpunbz2b1V9
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Essentials Run ID: 📒 Files selected for processing (7)
Included review availability: 3 reviews are currently available. Your included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour. 📝 WalkthroughWalkthroughThe changes add replay grid slug validation and expose ChangesReplay grid validation
Relevance report output
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to The change validates replay-grid keys and improves report filtering, baseline handling, naming, and HTML structure. No concrete merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 58.33% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 12 functions across 4 files. (3 skipped: 3 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Comment |
The four review comments on #17 that arrived after it merged.
projects,prompts,backendskeys become sweep file name components; the schema now constrains them withpropertyNames, andvalidate_gridmirrors the check at runtime. Test for a key with a path separator.charts.template.htmlgets<!DOCTYPE html>and<html lang="en">;charts.htmlregenerated. Tables unchanged.format_reportdrops partial runs before selecting rows and takes the baseline only when every selected row agrees; an empty pool raises instead ofStopIteration.pool_relevanceno longer truncates the sweep column.Local: ruff and mypy repo-wide clean, 2435 tests passed, evidence check up to date.
🤖 Generated with Claude Code
https://claude.ai/code/session_01RzSnFgZ2rHydpunbz2b1V9
Summary by CodeRabbit
Bug Fixes
Validation