feat: harness effectiveness benchmark suite (#49)#52
Merged
Conversation
Benchmark framework that measures bestwork harness gates against known-bad code scenarios. 10 scenarios across 4 categories (hallucination, platform, security, deprecated). Harness ON catches 100% (9/9), vanilla catches 0%. Zero false positives. - benchmarks/harness-benchmark.test.ts with 10 scenarios - npm run benchmark command - Auto-saves JSON results to benchmarks/results/ Signed-off-by: rlaope <rlaope@users.noreply.github.com>
…cenarios - Add benchmarks/results/ to .gitignore, remove committed result file - Remove unused imports (execSync, rmSync, readFileSync, tmpdir) - Fix byCategory report: separate catchable vs negative denominator - Add relative import detection to simulateReviewHook - Add 3 new scenarios: missing relative import, 2 false-positive guards - 13 scenarios, 100% accuracy, 0 false positives Signed-off-by: rlaope <rlaope@users.noreply.github.com>
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.
Closes #49
Summary
npm run benchmark로 실행, 결과 자동 저장benchmarks/results/Test plan
npm run benchmark정상 작동