Repository navigation
fix: harness correctness, ruff + CI, regenerated results - #7
Merged
Merged
Conversation
- opcode_baseline: unwrap torch zip containers; non-pickle files are unsupported, not errors (zip evasion previously scored as a scan error) - modelscan adapter: exit 3 (no supported files) is not an error - metrics: report [flagged,total] counts and scan-error tally - runner: fail on missing fixtures, strip absolute paths from details - report: show counts, scanner versions - add ruff, GitHub Actions CI (3.10, 3.12), tests for the above and manifest/generator/fixture consistency Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This was referenced Oct 27, 2026
euisuh
added a commit
that referenced
this pull request
Nov 6, 2026
fix: harness correctness, ruff + CI, regenerated results
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.
What
Fixes harness bugs found while running all three scanners for real (picklescan 1.0.5, modelscan 0.8.8, Python 3.12):
opcode_baselinepassed torch zip containers topickletools.genopsraw, somalicious_reduce_torch_zipand theprotocol_framing_varianceevasion scored as scan errors / misses, which inflated that evasion's apparent success. It now reads*.pklmembers of zips. Non-pickle files (.py/.json) are "unsupported format", not errors.[flagged, total]counts and a scan-error tally. Each evasion technique has n=1, so bare percentages were misleading; the report printsk/n.verdicts.jsonlhad none after this,grep -c /Users results/*= 0).pytestmoved to adevextra.results/with all three scanners installed (previously only the baseline had data).Evidence
Results interpretation is covered in the follow-up README PR (stacked on this branch).
🤖 Generated with Claude Code