benchmark-fp-fn-audit
БесплатноБез исполняемых скриптовНе проверенAudit React Doctor against ReactBench or similar diagnostic benchmark corpora for confirmed false positives, false negatives, taxonomy gaps, and verifier…
от millionco★ 15 205 звёзд на GitHubОб этом скилле
React Doctor benchmark FP/FN audit
Perform an evidence-backed audit of React Doctor diagnostics across a benchmark corpus. Read the complete rule documentation, quantify the distribution of failures, inspect every relevant trial artifact, and independently perform a second pass for additional false positives and false negatives.
Corpus and required resources
For this benchmark, use:
/home/aidenybai/Developer/react-bench-internal/jobs/ReactBench-v1.1-beta-rd-0.9.3-consolidated-final-20260801
Read the complete React Doctor rule documentation from:
https://www.react.doctor/docs/rules
Read these repository review materials when they exist:
/home/aidenybai/Developer/react-bench-internal/docs/aiden-review
Do not treat prior reviews or reports as ground truth. Use them as leads and reverify every claim against the current benchmark revision.
For every inspected trial, locate and read:
verifier/model.patchverifier/rd-before.jsonverifier/rd-after.jsonverifier/rd.logresult.json- reward and test logs, discovered with
rg --files - the task README, prompt, or review material
- the base and patched source files referenced by the patch
Inspect all trial directories, including primary and verified variants. Normalize duplicate task names and repeated patch hashes before computing task-level statistics.
Evidence rules
Classify findings conservatively:
- Confirmed FP: a diagnostic is caused by changed code, the behavior is intentional or required, and the rule contract does not apply or its recommended fix would regress behavior.
- Confirmed FN: a real defect exists in the base or final code, no applicable diagnostic is emitted, and an existing documented rule should cover it.
- Taxonomy gap: a real defect is present but no existing rule contract reasonably claims to cover it.
- Harness artifact: the result is caused by malformed output, stale baseline data, verifier behavior, generated files, or an untouched-file diagnostic.
- Candidate: plausible but missing enough evidence for confirmation.
Do not call a target-task miss a false negative. Do not call a diagnostic a false positive merely because the model failed tests. react_doctor=1 is a gate result, not proof that the code is correct.
Every confirmed finding must cite the exact trial, file, line or code span, rule documentation, diagnostic delta, task behavior, and test result. Separate strict rule misses from out-of-taxonomy gaps.
Workflow
1. Inventory the corpus
Use rg --files to enumerate trial artifacts. Record the benchmark revision, trial count, missing artifacts, duplicate variants, malformed reports, and available task reviews. Do not silently skip incomplete trials.
2. Build diagnostic distributions
Recompute distributions from raw rd.log, rd-before.json, and rd-after.json data. Rank by trial coverage before raw occurrence count. Report:
- total trials and artifact completeness;
- reward, test, and React Doctor gate tuple counts;
- direct
NEWor introduced-diagnostic failures; - health-mode
NEWdeltas; - health-mode
STILLtarget misses; - baseline-to-head rule-count deltas;
- rule, category, severity, task, repository, and file concentration;
- changed-file versus untouched-file diagnostics;
- malformed or truncated reports;
- primary versus verified-task duplication;
- successful versus unsuccessful patch comparisons.
Always recompute before relying on a prior summary. Large files can inflate occurrence counts, so show both occurrence count and affected-trial count.
3. Inspect high-impact clusters
Prioritize high-coverage rules and exact introduced-diagnostic failures, especially:
exhaustive-deps
no-giant-component
js-set-map-lookups
no-array-index-as-key
js-combine-iterations
effect-needs-cleanup
no-adjust-state-on-prop-change
button-has-type
prefer-module-scope-static-value
no-static-element-interactions
prefer-module-scope-pure-function
no-pass-data-to-parent
no-pass-live-state-to-parent
no-derived-state
no-ref-current-in-render
click-events-have-key-events
rerender-lazy-ref-init
only-export-components
rerender-lazy-state-init
For each high-impact cluster, inspect representative positives, representative negatives, the largest task concentration, and sibling trials with different outcomes.
4. Perform the independent second pass
Search every trial for additional candidates, not just the known clusters. Apply these heuristics:
- Separate expensive lazy initialization from cheap empty
Map,Set, and equivalent containers. - Distinguish render-derived state from async status, media errors, retries, resource lifetimes, subscriptions, and transient UI state.
- For controlled components, distinguish required parent synchronization from effect loops or unnecessary data forwarding.
- Follow dangerous HTML values through local aliases,
useMemo, wrappers, and helper functions; preserve provenance f
Установить benchmark-fp-fn-audit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл benchmark-fp-fn-audit?
Audit React Doctor against ReactBench or similar diagnostic benchmark corpora for confirmed false positives, false negatives, taxonomy gaps, and verifier artifacts. Use when analyzing rd.log, rd-before.json, rd-after.json, model.patch, result.json, reward/test logs, rule distributions, or when asked to perform a second adversarial pass over React Doctor benchmark findings.
Как установить скилл benchmark-fp-fn-audit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл benchmark-fp-fn-audit запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic