Include mode in output filename to avoid overwriting results#17
Conversation
full-spec (default) produces {model}.jsonl, spec-from-nl produces
{model}-spec-from-nl.jsonl. Language suffix also included when not vera.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #17 +/- ##
==========================================
- Coverage 65.56% 65.27% -0.29%
==========================================
Files 10 10
Lines 909 913 +4
==========================================
Hits 596 596
- Misses 313 317 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 4 minutes and 3 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughModified the output filename generation logic in the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Suggested labels
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@vera_bench/cli.py`:
- Around line 143-145: The filename builder currently appends the CLI variable
mode into parts and thus into output_path even when mode is ignored for Python;
update the logic around parts/ output_path so that when language == "python" (or
when the code path that warns about mode being ignored) you do not append mode
to parts — i.e., only append mode when it is actually honored (keep references
to the variables mode, parts, output_path, and output_dir to locate the change)
so filenames no longer reflect an ignored mode.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro
Run ID: 7278d546-3f5a-4ea3-8586-c2d8f826e63e
📒 Files selected for processing (1)
vera_bench/cli.py
Mode is ignored for Python, so it shouldn't appear in the filename. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
full-spec and spec-from-nl were writing to the same JSONL file. Now:
vera-bench run --model X→X.jsonlvera-bench run --model X --mode spec-from-nl→X-spec-from-nl.jsonlvera-bench run --model X --language python→X-python.jsonlGenerated with Claude Code
Summary by CodeRabbit