juliet_vulnerability_analyzer: the word "infer" in a comment scores 0

オープン
#39 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python, shell
領域
testing, tooling

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Python
スター
474
フォーク
20
平均マージ
1日 7時間
マージ済み PR(30日)
2

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ByteDance-Seed/EdgeBench のほかの issue

ByteDance-Seed/EdgeBench の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。