Files
automaton/tasks/complete/fix-vram-model-prefix-match/ADVERSARIAL_BUG_REPORT.md
T

14 lines
683 B
Markdown
Raw Normal View History

# Adversarial Bug Report: fix-vram-model-prefix-match
## Attack Vectors Tested
1. **Empty model name**: Returns 0 (no match) — correct
2. **Model name with only separator**: `:` or `-` alone — no match, correct
3. **Case sensitivity**: `key.lower()` and `name_lower` handle case-insensitive matching correctly
4. **Suffix that partially matches known suffix**: `instruct` vs `instructional` — `instructional` would not match since `split("-")[0]` gives `instructional` which is not in the set
5. **Multiple separators**: `deepseek-r1:7b-instruct` — matches via `:` before reaching `-` check (correct, Ollama tag takes priority)
## Findings
No bugs found.
## Verdict: PASS