improve skill: better consolidation coverage, richer scripts, workspace layout#26
Merged
improve skill: better consolidation coverage, richer scripts, workspace layout#26
Conversation
SKILL.md / references: - Step 4a: read singleton findings in full before dropping (singletons are most likely to be unique insights, not noise) - Step 4b: when merging, check for distinct arguments within a group before folding them in — eliminate true duplicates, not distinct observations - Step 4c: calibration ceiling 8→10 majors; add 15-25 total comment floor to catch over-merging; softer 4-type taxonomy guidance - subagent_templates.md / criteria.md: minor wording refinements Scripts: - consolidate_comments.py: richer stdout — first sentence of each explanation plus source-count column so singletons are visible without full-text fetch - prepare_workspace.py: prefer reviewer.parsers (BeautifulSoup/Marker) when available; fall back to stdlib-only ArXiv extractor; output to review_results/<slug>_review/, write metadata.json - save_viz_json.py: minor fixes for metadata.json compatibility Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
6bb5efe to
ded847e
Compare
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.
Summary
Improvements to the
/openaireviewskill based on analysis of review quality across multiple methods (skill, progressive Opus/Gemini). The key finding: the consolidation step was over-pruning — 61 raw sub-agent comments collapsed to 18, dropping legitimate singleton findings. This PR fixes that while also improving the underlying scripts.SKILL.mdStep 4a — Singleton protection:
Read singleton findings (appearing in only one sub-agent) in full before dropping — these are most likely to be unique insights, not noise.
Step 4b — Smarter merging:
When merging a root-cause cluster, check whether any comment makes a distinct argument (different evidence, different claim, different consequence). If so, keep it separate. Goal is to eliminate true duplicates, not compress distinct observations that share a design decision.
Step 4c — Calibration floor:
consolidate_comments.pyRicher stdout output — now prints the first sentence of each explanation and a source-count column alongside each title. Makes singleton findings visible at a glance without requiring a full-text fetch.
prepare_workspace.pyPrefer
reviewer.parsers(BeautifulSoup + Marker) when the package is available; fall back to the stdlib-only ArXiv extractor. Outputs workspace toreview_results/<slug>_review/, writesmetadata.json.save_viz_json.py/criteria.md/subagent_templates.mdMinor fixes and wording refinements.
Impact
Evaluated on paper 2602.18458 (MechEvalAgent). Before: 18 final comments. After: 26 — recovering 8 findings that sub-agents had found but consolidation dropped, including >80% concealing C3/GT3 outliers, C3 as AND-logic artifact, three-trial GT budget unjustified, and impact statement gaps.
Test plan
prepare_workspace.pyfalls back gracefully whenreviewer.parsersis absent