Repository navigation
Add deterministic answer quality benchmark verifier - #215
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (7)
📝 WalkthroughWalkthroughThis PR introduces a deterministic answer-quality verification framework for GoValidate benchmarks. It adds a new ChangesAnswer Quality Verification Infrastructure
Sequence DiagramsequenceDiagram
participant User
participant AnswerVerifier as verify-answer-quality.js
participant QualityConfig as quality-gates.json
participant Answer as answer.txt
User->>AnswerVerifier: Run with --answer --gate/--prompt --config
AnswerVerifier->>QualityConfig: Load and validate schema
AnswerVerifier->>QualityConfig: Select gate by name or prompt
AnswerVerifier->>Answer: Read and normalize answer text
AnswerVerifier->>AnswerVerifier: Check required_answer_terms present
AnswerVerifier->>AnswerVerifier: Check forbidden_answer_terms absent
AnswerVerifier->>User: Report PASS/FAIL with gate summary
🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related issues
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint skipped: no ESLint configuration detected in root package.json. To enable, add Comment |
Summary
Test Plan
Closes #177
Summary by CodeRabbit
Release Notes
New Features
Documentation
Tests