juliet_vulnerability_analyzer: the word "infer" in a comment scores 0
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
The banned-word check lives in scoring/score.py, where any submitted .py or .sh file containing infer subtracts 100 points. Reproduce by adding # Infer external inputs from call facts. to an analyzer and running tools/judge_local.py on edgebench/tasks/juliet_vulnerability_analyzer, with and without the line. Proposed fix #35 narrows matching to command-like text; done means a comment mentioning infer no longer zeroes the score, and real Infer calls are still caught.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Task
juliet_vulnerability_analyzer
Claim
scoring/score.py subtracts 100 points if any submitted .py or .sh file contains the word infer, in any case, even in a comment. The ban targets the Infer tool, but the README itself says "Infer external inputs". This is part of Known issue 3.
Impact
Measured, six grades per judge per row, no spread:
| Submission | Current judge | With #35 merged |
|---|---|---|
Opus 5.5 analyzer whose docstring has 2. Infer the "bad" (attacker reachable) region of the program from the |
0 | 79.59 |
| Another analyzer, no such word | 90.70 | 90.70 |
The same analyzer plus # Infer external inputs from call facts. |
0 | 90.70 |
Evidence and how to reproduce
Add that comment line to any submission's analyzer.py, then grade with and without it:
python3 tools/judge_local.py --task-dir edgebench/tasks/juliet_vulnerability_analyzer --image <judge tag> --archive <submission.tar.gz> --out result.json
Fix
#35, merged, drops infer from the banned words. Scores can only rise, and only for submissions containing the word.
Limits
Other banned words in comments still zero a submission. The README's rule against calling Infer stays without a text check; Infer is not in the image and grading is offline.
Found during EdgeBench Verified, our audit of EdgeBench's tasks. Its page for this task covers a different finding.
- Lingua principale
- Python
- Stelle
- 474
- Fork
- 20
- Merge medio
- 1g 7h
- PR unite (30g)
- 2
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ByteDance-Seed/EdgeBench
-
smt_solver: correct models on five hard files crash the validator and score the whole submission 0Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 22/100
ByteDance-Seed/EdgeBench#42 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 18/100
ByteDance-Seed/EdgeBench#40 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 56/100
ByteDance-Seed/EdgeBench#31 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 25/100
ByteDance-Seed/EdgeBench#30 · 2 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
关于 EdgeBench 长时程实验中逐轮反馈与 Agent 行为轨迹的数据 Research question: per-run feedback and adaptation tracesAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
ByteDance-Seed/EdgeBench#29 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di ByteDance-Seed/EdgeBench
Issue simili
-
DBFS append mode silently overwrites existing filesForse già presa @IlyaKhalafi l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
fsspec/filesystem_spec#2429 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: Retrieval rerank fallback statistics stay zero after provider failureForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
volcengine/OpenViking#7014 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
fedora-copr/copr#4600 ·
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ansys/pydpf-core#3620 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno