Repository navigation
feat(tri-comparison): badge for verified Args Found, document gg-only workflow - #1921
Merged
Merged
Conversation
… workflow Args Found badge: Extended the badge mechanism from #1919 (func/class precision only) to also cover Args Found. Generalized _manual_verification_winner() to take an explicit mv_key + live_total pair instead of deriving them from symbol_type, since args needs a DIFFERENT manual_verification.json key ("args", not "function" -- symbol_type is "function" for both func precision and args, which would otherwise collide) and a different live staleness anchor (LanguageChartData.gg_args_found, since args_scores' own total_slots is structurally always 0 for a 1-tool language -- there's no per-tool raw args count anywhere else in MetricScore). Extended the post-loop badge block to also fire for the (unranked) args panel via the manual-verification fallback only -- Args Found still has no real cross-tool "winner" concept, per the module docstring's own PANELS section, so this is purely the manual-verification path, never a real _winner() computation for it. abap's Args Found now shows a third "G" badge next to its existing two (func/class precision), confirmed scoped to abap's own row only. SKILL.md: document the full gg-only workflow, now that it's been through three full waves: - New step 7 on the manual-verification fallback procedure: once a signature is genuinely re-verified (not just checked once), feed it into docs/self_scan/manual_verification.json and regenerate the chart. Covers the **-vs-* distinction, the per-panel staleness-anchor gotcha (precision panels vs. Args Found need different live-count fields), and the new badge mechanism's verified==total-exactly gate. - Added manual_verification.json as papertrail layer 7 -- the gg-only equivalent of the ledger (layer 1), since these languages never get a real ledger entry at all. - Updated the "re-verify after every fix" gotcha bullet from 5 to all 7 confirmed bugs (#1898, #1899, #1904, #1907, #1911, #1917, #1918), reframed as three waves each triggered by refusing to stop at the previous fix's green result. - New gotcha: a manual-verification badge requires verified==total EXACTLY, never partial-credit "spot-checked most of it" -- a badge is a stronger claim than the ** label makes, same discipline as not blurring * and ** together. Co-Authored-By: Claude Sonnet 5 <[email protected]>
Contributor
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
Args Found badge
Extended the badge mechanism from #1919 (func/class precision only) to also cover Args Found. Generalized
_manual_verification_winner()to take an explicitmv_key+live_totalpair instead of deriving them fromsymbol_type, since args needs a differentmanual_verification.jsonkey ("args", not"function"--symbol_typeis"function"for both func precision and args, which would otherwise collide) and a different live staleness anchor (LanguageChartData.gg_args_found, sinceargs_scores' owntotal_slotsis structurally always 0 for a 1-tool language). Extended the post-loop badge block to also fire for the (unranked) args panel via the manual-verification fallback only -- Args Found still has no real cross-tool "winner" concept, per the module docstring's own PANELS section.abap's Args Found now shows a third "G" badge next to its existing two (func/class precision). Confirmed scoped to abap's own row -- no other language's row changed.
SKILL.md: document the full gg-only workflow
Now that this has been through three full waves (7 confirmed bugs total across #1898/#1899/#1904/#1907/#1911/#1917/#1918):
docs/self_scan/manual_verification.jsonand regenerate the chart. Covers the**-vs-*distinction, the per-panel staleness-anchor gotcha (precision panels vs. Args Found need different live-count fields), and the badge mechanism'sverified == totalexactly gate.manual_verification.jsonas papertrail layer 7 -- the gg-only equivalent of the ledger (layer 1), since these languages never get a real ledger entry.verified == totalexactly, never partial-credit -- a badge is a stronger claim than the**label makes.Test plan
tri_comparison_chart.svg-- abap now shows 3 badges (func precision, class precision, args), all correctly scoped; confirmed via a script cross-referencing every badge in the file back to its row's language label.python tests/tools/audit_check.py-- ruff/mypy/dead-key/ast-accuracy all clear.gitgalaxy/code touched -- this PR is scoped to the chart tool, docs, and skill only.🤖 Generated with Claude Code