v0.7.0: Wire TesterCritic into pipeline as Phase 3 (DEC-020)#12
Merged
Conversation
- Phase 3 runs after cross-consistency, before aggregator - L1 deterministic verification at standard depth (zero API cost) - L1 + L2 LLM claim verification at thorough depth - L1 CONTRADICTED findings auto-excluded from verdict (DEC-020) - L2 CONTRADICTED findings annotated, kept in verdict - Verification section added to report output - Tester stats added to run manifest - 12 integration tests covering depth activation, DEC-020 policy, report output Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Phase 3 verification: L1 deterministic (standard depth, zero API cost) + L2 LLM claim checking (thorough depth). Auto-excludes L1 contradictions from verdict, annotates L2 contradictions for human review. 6 critics shipped. 879 tests pass, 6 skipped. validate-docs clean. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Caught by Quorum CI self-validation on PR #12.
Contributor
Author
|
Quorum Self-Validation: 4 files scanned, 4 REVISE. All findings are false positives except one typo (fixed in follow-up commit). Tester Phase 3 excluded 9 L1-contradicted findings across 3 files — first live demonstration of the feature. Notable: The Tester is already working in its own CI run. 3 L1 exclusions on aggregator.py, 5 on pipeline.py, 1 on test file — phantom citations stripped before verdict. The feature validates itself on day zero. aggregator.py — REVISE (1 HIGH, 5 MEDIUM, 1 LOW) + 3 L1-excluded
models.py — REVISE (3 HIGH, 2 MEDIUM, 4 LOW)
pipeline.py — REVISE (3 HIGH, 7 MEDIUM, 1 LOW) + 5 L1-excluded
test_tester_pipeline_integration.py — REVISE (1 HIGH, 3 MEDIUM, 3 LOW) + 1 L1-excluded
Summary: 34 findings across 4 files. 33 false positives, 1 genuine (typo, fixed). 9 findings auto-excluded by Tester L1 verification. Cost: $0.56 total. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TesterCritic → Pipeline Integration
Wires the existing TesterCritic (shipped in v0.6.0, 76 tests) into the pipeline as Phase 3 — after cross-consistency (Phase 2) and before the Aggregator produces the verdict.
DEC-020: Contradiction Auto-Downgrade Policy
[L2-CONTRADICTED]prefix. Remains in verdict — human decides.Depth-Based Activation
Changes
pipeline.py: New_run_phase3()function, tester result flows through to aggregator, report, and manifestaggregator.py:_apply_tester_results()implements DEC-020 policy before deduplicationmodels.py:AggregatedReportgainstester_resultandl1_excluded_countreport.md: Verification section with L1/L2 breakdown when tester ranasyncio.CancelledErrorisinstance guards (BaseException in Python 3.9+)Verification
validate-docs.py: cleanpytest: 879 passed, 6 skipped