Exp/locomo bench#61
Conversation
…tr10 conciseness judge: add anti-hallucination rule for short (<10w) hypotheses; generalize relative=absolute date rule to require arithmetic verification instead of two hardcoded examples qa instr10: change from bare-minimum to concise-complete-phrase to avoid judge failure mode Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- judge: semaphore-bounded asyncio.gather (--concurrency, default 5) replaces sequential loop - judge prompt: expand short-answer guard to <25w (was <10w, bypassed by instr10 phrase format) - judge prompt: add "contains" rule for short expected answers (<=5w) — extra phrasing ≠ partial - run_and_judge: wire --judge-concurrency through to JudgeConfig Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…judge instr3: restore baseline broad trigger; keep recently/latest→single-match carve-out instr5: remove milestone event priority (T4 75%→73%, T3 60%→56% with reliable judge) instr10: remove conciseness instruction (T4 cost -7, not in baseline) judge default: gemini-3-flash-preview replaces gemini-2.5-flash-lite (was wrong by 6-9pp) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (7)
📝 WalkthroughWalkthroughThis PR updates the LoCoMo benchmarking pipeline with concurrent judging, improves evaluation metrics and prompts, refines context retrieval and QA generation rules, and updates benchmark documentation. Changes span the judge, runner, CLI, Vektori QA/retrieval subsystems, and facts extraction. ChangesJudge Concurrency & Concurrent Evaluation
LoCoMo Runner Evaluation Enhancements
Vektori QA, Retrieval & Facts Quality Improvements
Documentation Updates
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Review rate limit: 0/1 reviews remaining, refill in 60 minutes.Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
docs/locomo_benchmark_learnings.md (1)
47-56: 💤 Low valueMinor: Add blank line before table for markdown compliance.
Per markdownlint MD058, tables should be surrounded by blank lines. There's a missing blank line before the table at line 48.
### Type definitions + | Type | Name | Count | What it tests |🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@docs/locomo_benchmark_learnings.md` around lines 47 - 56, Insert a single blank line immediately before the markdown table that starts with the header row "| Type | Name | Count | What it tests |" (under the "Type definitions" heading) so the table is surrounded by a blank line per markdownlint MD058; ensure the heading "Type definitions" and the table are separated by exactly one empty line.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@docs/locomo_benchmark_learnings.md`:
- Around line 47-56: Insert a single blank line immediately before the markdown
table that starts with the header row "| Type | Name | Count | What it tests |"
(under the "Type definitions" heading) so the table is surrounded by a blank
line per markdownlint MD058; ensure the heading "Type definitions" and the table
are separated by exactly one empty line.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: a405c19c-376c-4f85-8292-7351ef01d779
📒 Files selected for processing (7)
benchmarks/locomo/locomo_judge.pybenchmarks/locomo/locomo_runner.pydocs/locomo_benchmark_learnings.mdscripts/run_and_judge.pyvektori/ingestion/extractor.pyvektori/qa/generator.pyvektori/retrieval/search.py
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- extractor.py: add verbatim proper-noun rule to General section so brand/place names aren't compressed away for user facts (rule already existed for assistant facts only) - search.py: raise _diverse_top_k default per_session 2→3 for better list recall Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
f74bab6 to
d5e5562
Compare
Summary by CodeRabbit
Release Notes
New Features
Improvements
Documentation