Drop duplicate label columns from SPSS exports
tier_label, model_label, condition_label, and model_order duplicated the numeric codes; SPSS value labels already carry the names. model is now a numeric code (0=Bandit, 1=Semgrep, 2=DeepSeek V4.1 Flash, 3=Argon) with value labels in the .sav files and .sps syntax. Long file drops from 38 to 34 variables, summary from 30 to 26.
This commit is contained in:
16 files changed
+2681
-2732
No files matched your search
+11
-10
@@ -39,6 +39,13 @@ TIER_LABELS = {
|
||||
|
||||
CONDITION_LABELS = {0: "Original", 1: "Obfuscated v2", 2: "Comments removed"}
|
||||
|
||||
MODEL_LABELS = {
|
||||
0: "Bandit",
|
||||
1: "Semgrep",
|
||||
2: "DeepSeek V4.1 Flash",
|
||||
3: "Gemini 4 Argon",
|
||||
}
|
||||
|
||||
BINARY_LABELS = {0: "No", 1: "Yes"}
|
||||
|
||||
|
||||
@@ -55,6 +62,8 @@ def build_value_labels(columns: list[str], *, wide: bool = False) -> dict:
|
||||
for column in columns:
|
||||
if column in {"tier"}:
|
||||
value_labels[column] = TIER_LABELS
|
||||
elif column in {"model"}:
|
||||
value_labels[column] = MODEL_LABELS
|
||||
elif column in {"condition"}:
|
||||
value_labels[column] = CONDITION_LABELS
|
||||
elif column in {"expected_category_code", "predicted_category_code"}:
|
||||
@@ -178,12 +187,8 @@ def write_summary() -> None:
|
||||
df = pd.read_csv(path, keep_default_na=False)
|
||||
labels = {
|
||||
"tier": "Capability tier",
|
||||
"tier_label": "Capability tier label",
|
||||
"model": "Detector/model identifier",
|
||||
"model_label": "Detector/model display name",
|
||||
"model_order": "Display order",
|
||||
"model": "Detector",
|
||||
"condition": "Dataset condition",
|
||||
"condition_label": "Dataset condition label",
|
||||
"n_all": "Samples in run",
|
||||
"n_in_scope": "Samples in target scope",
|
||||
"tp": "True positives",
|
||||
@@ -223,12 +228,8 @@ def write_category() -> None:
|
||||
df = pd.read_csv(path, keep_default_na=False)
|
||||
labels = {
|
||||
"tier": "Capability tier",
|
||||
"tier_label": "Capability tier label",
|
||||
"model": "Detector/model identifier",
|
||||
"model_label": "Detector/model display name",
|
||||
"model_order": "Display order",
|
||||
"model": "Detector",
|
||||
"condition": "Dataset condition",
|
||||
"condition_label": "Dataset condition label",
|
||||
"expected_category": "Ground-truth category",
|
||||
"expected_category_code": "Ground-truth category code",
|
||||
"n": "Samples",
|
||||
|
||||
@@ -104,7 +104,7 @@ DETECTORS = [
|
||||
]
|
||||
|
||||
for index, detector in enumerate(DETECTORS):
|
||||
detector["model_order"] = index
|
||||
detector["code"] = index
|
||||
|
||||
|
||||
def as_int(value: object, default: int = 0) -> int:
|
||||
@@ -164,15 +164,11 @@ def attempt_totals(
|
||||
connection.close()
|
||||
|
||||
|
||||
def base_row(detector: dict[str, object], condition: int, condition_label: str) -> dict:
|
||||
def base_row(detector: dict[str, object], condition: int) -> dict:
|
||||
return {
|
||||
"tier": detector["tier"],
|
||||
"tier_label": detector["tier_label"],
|
||||
"model": detector["model"],
|
||||
"model_label": detector["model_label"],
|
||||
"model_order": detector["model_order"],
|
||||
"model": detector["code"],
|
||||
"condition": condition,
|
||||
"condition_label": condition_label,
|
||||
}
|
||||
|
||||
|
||||
@@ -215,7 +211,7 @@ def load_llm_rows(detector: dict[str, object]) -> list[dict]:
|
||||
)
|
||||
item = {
|
||||
"sample_id": sample_id,
|
||||
**base_row(detector, condition, condition_label),
|
||||
**base_row(detector, condition),
|
||||
"in_scope": as_int(row["in_target_scope"]),
|
||||
"expected_vuln": expected,
|
||||
"predicted_vuln": predicted,
|
||||
@@ -264,7 +260,6 @@ def load_sast_rows(detector: dict[str, object]) -> list[dict]:
|
||||
if row["tool_label"] != detector["tool"]:
|
||||
continue
|
||||
condition = as_int(row["condition"])
|
||||
condition_label = row["condition_label"]
|
||||
expected_category = row["expected_category"] or "None"
|
||||
predicted_category = row["predicted_category"] or "None"
|
||||
expected_cwe = row["expected_cwe"] or "None"
|
||||
@@ -272,7 +267,7 @@ def load_sast_rows(detector: dict[str, object]) -> list[dict]:
|
||||
rows.append(
|
||||
{
|
||||
"sample_id": row["sample_id"],
|
||||
**base_row(detector, condition, condition_label),
|
||||
**base_row(detector, condition),
|
||||
"in_scope": as_int(row["in_scope"]),
|
||||
"expected_vuln": as_binary(row["expected_vuln"]),
|
||||
"predicted_vuln": as_binary(row["flagged"]),
|
||||
@@ -320,7 +315,7 @@ def build_long(detectors: list[dict]) -> list[dict]:
|
||||
rows.extend(load_llm_rows(detector))
|
||||
rows.sort(
|
||||
key=lambda row: (
|
||||
int(row["model_order"]),
|
||||
int(row["model"]),
|
||||
int(row["condition"]),
|
||||
str(row["sample_id"]),
|
||||
)
|
||||
@@ -331,12 +326,8 @@ def build_long(detectors: list[dict]) -> list[dict]:
|
||||
LONG_FIELDS = [
|
||||
("sample_id", "A20"),
|
||||
("tier", "F1.0"),
|
||||
("tier_label", "A20"),
|
||||
("model", "A30"),
|
||||
("model_label", "A30"),
|
||||
("model_order", "F1.0"),
|
||||
("model", "F1.0"),
|
||||
("condition", "F1.0"),
|
||||
("condition_label", "A20"),
|
||||
("in_scope", "F1.0"),
|
||||
("expected_vuln", "F1.0"),
|
||||
("predicted_vuln", "F1.0"),
|
||||
@@ -398,12 +389,8 @@ def summarize(rows: list[dict]) -> dict:
|
||||
all_attempt_completion = int(first["all_attempt_completion_tokens"])
|
||||
return {
|
||||
"tier": first["tier"],
|
||||
"tier_label": first["tier_label"],
|
||||
"model": first["model"],
|
||||
"model_label": first["model_label"],
|
||||
"model_order": first["model_order"],
|
||||
"condition": first["condition"],
|
||||
"condition_label": first["condition_label"],
|
||||
"n_all": n,
|
||||
"n_in_scope": in_scope,
|
||||
"tp": tp,
|
||||
@@ -437,7 +424,7 @@ def summarize_all(long_rows: list[dict]) -> list[dict]:
|
||||
subset = [
|
||||
row
|
||||
for row in long_rows
|
||||
if row["model"] == detector["model"] and row["condition"] == condition
|
||||
if row["model"] == detector["code"] and row["condition"] == condition
|
||||
]
|
||||
if subset:
|
||||
summaries.append(summarize(subset))
|
||||
@@ -451,7 +438,7 @@ def category_summaries(long_rows: list[dict]) -> list[dict]:
|
||||
subset = [
|
||||
row
|
||||
for row in long_rows
|
||||
if row["model"] == detector["model"] and row["condition"] == condition
|
||||
if row["model"] == detector["code"] and row["condition"] == condition
|
||||
]
|
||||
categories = sorted({row["expected_category"] for row in subset})
|
||||
for category in categories:
|
||||
@@ -472,12 +459,8 @@ def category_summaries(long_rows: list[dict]) -> list[dict]:
|
||||
output.append(
|
||||
{
|
||||
"tier": detector["tier"],
|
||||
"tier_label": detector["tier_label"],
|
||||
"model": detector["model"],
|
||||
"model_label": detector["model_label"],
|
||||
"model_order": detector["model_order"],
|
||||
"model": detector["code"],
|
||||
"condition": condition,
|
||||
"condition_label": cat_rows[0]["condition_label"],
|
||||
"expected_category": category,
|
||||
"expected_category_code": category_code(category),
|
||||
"n": n,
|
||||
@@ -493,7 +476,7 @@ def category_summaries(long_rows: list[dict]) -> list[dict]:
|
||||
)
|
||||
output.sort(
|
||||
key=lambda row: (
|
||||
int(row["model_order"]),
|
||||
int(row["model"]),
|
||||
int(row["condition"]),
|
||||
str(row["expected_category"]),
|
||||
)
|
||||
@@ -506,11 +489,11 @@ def build_wide(long_rows: list[dict]) -> list[dict]:
|
||||
lookup = {
|
||||
(row["model"], row["condition"], row["sample_id"]): row for row in long_rows
|
||||
}
|
||||
# Expected labels are identical across detectors; take them from Bandit original.
|
||||
# Expected labels are identical across detectors; take them from Bandit (code 0) original.
|
||||
expected_source = {
|
||||
row["sample_id"]: row
|
||||
for row in long_rows
|
||||
if row["model"] == "bandit" and row["condition"] == 0
|
||||
if row["model"] == 0 and row["condition"] == 0
|
||||
}
|
||||
wide: list[dict] = []
|
||||
for sample_id in sample_ids:
|
||||
@@ -527,7 +510,7 @@ def build_wide(long_rows: list[dict]) -> list[dict]:
|
||||
for detector in DETECTORS:
|
||||
prefix = detector["prefix"]
|
||||
for condition, suffix, _ in CONDITION_SUFFIXES:
|
||||
row = lookup.get((detector["model"], condition, sample_id))
|
||||
row = lookup.get((detector["code"], condition, sample_id))
|
||||
if row is None:
|
||||
continue
|
||||
item[f"{prefix}_{suffix}_predicted_vuln"] = row["predicted_vuln"]
|
||||
@@ -603,16 +586,12 @@ def paired_within(wide_rows: list[dict]) -> list[dict]:
|
||||
output.append(
|
||||
{
|
||||
"tier": detector["tier"],
|
||||
"tier_label": detector["tier_label"],
|
||||
"model": detector["model"],
|
||||
"model_label": detector["model_label"],
|
||||
"model": detector["code"],
|
||||
"comparison": (
|
||||
f"{labels[condition_a]}_vs_{labels[condition_b]}"
|
||||
),
|
||||
"condition_a": condition_a,
|
||||
"condition_a_label": labels[condition_a],
|
||||
"condition_b": condition_b,
|
||||
"condition_b_label": labels[condition_b],
|
||||
"n": both + a_only + b_only + neither,
|
||||
"both_correct": both,
|
||||
"a_only_correct": a_only,
|
||||
@@ -634,7 +613,7 @@ def paired_within(wide_rows: list[dict]) -> list[dict]:
|
||||
def paired_between(wide_rows: list[dict]) -> list[dict]:
|
||||
output: list[dict] = []
|
||||
suffixes = {condition: suffix for condition, suffix, _ in CONDITION_SUFFIXES}
|
||||
for condition, condition_label in CONDITIONS:
|
||||
for condition, _ in CONDITIONS:
|
||||
suffix = suffixes[condition]
|
||||
for i, detector_a in enumerate(DETECTORS):
|
||||
for detector_b in DETECTORS[i + 1 :]:
|
||||
@@ -651,11 +630,8 @@ def paired_between(wide_rows: list[dict]) -> list[dict]:
|
||||
output.append(
|
||||
{
|
||||
"condition": condition,
|
||||
"condition_label": condition_label,
|
||||
"model_a": detector_a["model"],
|
||||
"model_a_label": detector_a["model_label"],
|
||||
"model_b": detector_b["model"],
|
||||
"model_b_label": detector_b["model_label"],
|
||||
"model_a": detector_a["code"],
|
||||
"model_b": detector_b["code"],
|
||||
"n": both + a_only + b_only + neither,
|
||||
"both_correct": both,
|
||||
"a_only_correct": a_only,
|
||||
@@ -671,12 +647,8 @@ def write_codebook_csv(path: Path) -> None:
|
||||
entries = [
|
||||
("sample_id", "Benchmark test identifier", "string", "BenchmarkTestNNNNN"),
|
||||
("tier", "Capability tier", "numeric", "0=Traditional SAST; 1=Open-weight; 2=Frontier"),
|
||||
("tier_label", "Capability tier label", "string", "Traditional SAST / Open-weight / Frontier"),
|
||||
("model", "Detector/model identifier", "string", "bandit, semgrep, deepseek-v4.1-flash, gemini-4-argon"),
|
||||
("model_label", "Detector/model display name", "string", "text"),
|
||||
("model_order", "Display order", "numeric", "0..3"),
|
||||
("model", "Detector", "numeric", "0=Bandit; 1=Semgrep; 2=DeepSeek V4.1 Flash; 3=Argon"),
|
||||
("condition", "Dataset condition", "numeric", "0=original; 1=obfuscated_v2; 2=comments_removed"),
|
||||
("condition_label", "Dataset condition label", "string", "original / obfuscated_v2 / comments_removed"),
|
||||
("in_scope", "In prompt target scope", "numeric", "0=out; 1=in"),
|
||||
("expected_vuln", "Ground-truth vulnerability flag", "numeric", "0=No; 1=Yes"),
|
||||
("predicted_vuln", "Detector vulnerability flag", "numeric", "0=No; 1=Yes"),
|
||||
@@ -777,6 +749,7 @@ remain valid.
|
||||
## Codes
|
||||
|
||||
- `tier`: 0 = Traditional SAST, 1 = Open-weight, 2 = Frontier
|
||||
- `model`: 0 = Bandit, 1 = Semgrep, 2 = DeepSeek V4.1 Flash, 3 = Argon
|
||||
- `condition`: 0 = original, 1 = obfuscated_v2, 2 = comments_removed
|
||||
- `expected_vuln` / `predicted_vuln`: 0 = No, 1 = Yes
|
||||
- `correct_flag`: prediction matches ground truth
|
||||
@@ -806,6 +779,8 @@ remain valid.
|
||||
## Notes
|
||||
|
||||
- The long file is the main analysis file.
|
||||
- `tier`, `model`, and `condition` are numeric with SPSS value labels; there
|
||||
are no separate string label columns.
|
||||
- The wide file is for paired tests; each detector has `_orig_`, `_obf_`, and
|
||||
`_comments_` columns.
|
||||
- SAST tools have `token_data_available = 0`, with zero token/latency values.
|
||||
@@ -823,12 +798,8 @@ def spss_import_syntax() -> str:
|
||||
labels = {
|
||||
"sample_id": "Benchmark test identifier",
|
||||
"tier": "Capability tier",
|
||||
"tier_label": "Capability tier label",
|
||||
"model": "Detector/model identifier",
|
||||
"model_label": "Detector/model display name",
|
||||
"model_order": "Display order",
|
||||
"model": "Detector",
|
||||
"condition": "Dataset condition",
|
||||
"condition_label": "Dataset condition label",
|
||||
"in_scope": "In prompt target scope",
|
||||
"expected_vuln": "Ground-truth vulnerability",
|
||||
"predicted_vuln": "Predicted vulnerability",
|
||||
@@ -882,6 +853,7 @@ VARIABLE LABELS
|
||||
|
||||
VALUE LABELS
|
||||
tier 0 'Traditional SAST' 1 'Open-weight' 2 'Frontier'
|
||||
model 0 'Bandit' 1 'Semgrep' 2 'DeepSeek V4.1 Flash' 3 'Gemini 4 Argon'
|
||||
condition 0 'Original' 1 'Obfuscated v2' 2 'Comments removed'
|
||||
in_scope expected_vuln predicted_vuln correct_flag parse_ok
|
||||
tp fp tn fn category_correct cwe_correct strict_correct
|
||||
@@ -1028,12 +1000,8 @@ GET DATA
|
||||
/FIRSTCASE=2
|
||||
/VARIABLES=
|
||||
tier F1.0
|
||||
tier_label A20
|
||||
model A30
|
||||
model_label A30
|
||||
model_order F1.0
|
||||
model F1.0
|
||||
condition F1.0
|
||||
condition_label A20
|
||||
n_all F5.0
|
||||
n_in_scope F5.0
|
||||
tp F5.0
|
||||
@@ -1061,10 +1029,9 @@ GET DATA
|
||||
DATASET NAME sast_all_summary WINDOW=FRONT.
|
||||
|
||||
VARIABLE LABELS
|
||||
tier 'Capability tier' tier_label 'Capability tier label'
|
||||
model 'Detector/model identifier' model_label 'Detector/model display name'
|
||||
model_order 'Display order'
|
||||
condition 'Dataset condition' condition_label 'Dataset condition label'
|
||||
tier 'Capability tier'
|
||||
model 'Detector'
|
||||
condition 'Dataset condition'
|
||||
n_all 'Samples in run' n_in_scope 'Samples in target scope'
|
||||
tp 'True positives' fp 'False positives' tn 'True negatives' fn 'False negatives'
|
||||
accuracy 'Flag accuracy' strict_accuracy 'Strict accuracy (flag + CWE)'
|
||||
@@ -1083,12 +1050,13 @@ VARIABLE LABELS
|
||||
|
||||
VALUE LABELS
|
||||
tier 0 'Traditional SAST' 1 'Open-weight' 2 'Frontier'
|
||||
model 0 'Bandit' 1 'Semgrep' 2 'DeepSeek V4.1 Flash' 3 'Gemini 4 Argon'
|
||||
condition 0 'Original' 1 'Obfuscated v2' 2 'Comments removed'
|
||||
token_data_available 0 'No' 1 'Yes'
|
||||
.
|
||||
EXECUTE.
|
||||
|
||||
SORT CASES BY model_order condition.
|
||||
SORT CASES BY model condition.
|
||||
LIST ALL.
|
||||
"""
|
||||
|
||||
@@ -1106,12 +1074,8 @@ GET DATA
|
||||
/FIRSTCASE=2
|
||||
/VARIABLES=
|
||||
tier F1.0
|
||||
tier_label A20
|
||||
model A30
|
||||
model_label A30
|
||||
model_order F1.0
|
||||
model F1.0
|
||||
condition F1.0
|
||||
condition_label A20
|
||||
expected_category A20
|
||||
expected_category_code F3.0
|
||||
n F5.0
|
||||
@@ -1127,10 +1091,9 @@ GET DATA
|
||||
DATASET NAME sast_all_category WINDOW=FRONT.
|
||||
|
||||
VARIABLE LABELS
|
||||
tier 'Capability tier' tier_label 'Capability tier label'
|
||||
model 'Detector/model identifier' model_label 'Detector/model display name'
|
||||
model_order 'Display order'
|
||||
condition 'Dataset condition' condition_label 'Dataset condition label'
|
||||
tier 'Capability tier'
|
||||
model 'Detector'
|
||||
condition 'Dataset condition'
|
||||
expected_category 'Ground-truth category'
|
||||
expected_category_code 'Ground-truth category code'
|
||||
n 'Samples' tp 'True positives' fp 'False positives'
|
||||
@@ -1140,6 +1103,7 @@ VARIABLE LABELS
|
||||
|
||||
VALUE LABELS
|
||||
tier 0 'Traditional SAST' 1 'Open-weight' 2 'Frontier'
|
||||
model 0 'Bandit' 1 'Semgrep' 2 'DeepSeek V4.1 Flash' 3 'Gemini 4 Argon'
|
||||
condition 0 'Original' 1 'Obfuscated v2' 2 'Comments removed'
|
||||
expected_category_code
|
||||
0 'None' 1 'pathtraver' 2 'sqli' 3 'xpathi' 4 'xxe' 5 'cmdi'
|
||||
@@ -1149,7 +1113,7 @@ VALUE LABELS
|
||||
.
|
||||
EXECUTE.
|
||||
|
||||
SORT CASES BY model_order condition expected_category_code.
|
||||
SORT CASES BY model condition expected_category_code.
|
||||
SPLIT FILE LAYERED BY model condition.
|
||||
MEANS TABLES=accuracy precision recall f1 BY expected_category
|
||||
/CELLS=MEAN COUNT.
|
||||
|
||||
@@ -1,12 +1,8 @@
|
||||
variable,label,type,values
|
||||
sample_id,Benchmark test identifier,string,BenchmarkTestNNNNN
|
||||
tier,Capability tier,numeric,0=Traditional SAST; 1=Open-weight; 2=Frontier
|
||||
tier_label,Capability tier label,string,Traditional SAST / Open-weight / Frontier
|
||||
model,Detector/model identifier,string,"bandit, semgrep, deepseek-v4.1-flash, gemini-4-argon"
|
||||
model_label,Detector/model display name,string,text
|
||||
model_order,Display order,numeric,0..3
|
||||
model,Detector,numeric,0=Bandit; 1=Semgrep; 2=DeepSeek V4.1 Flash; 3=Argon
|
||||
condition,Dataset condition,numeric,0=original; 1=obfuscated_v2; 2=comments_removed
|
||||
condition_label,Dataset condition label,string,original / obfuscated_v2 / comments_removed
|
||||
in_scope,In prompt target scope,numeric,0=out; 1=in
|
||||
expected_vuln,Ground-truth vulnerability flag,numeric,0=No; 1=Yes
|
||||
predicted_vuln,Detector vulnerability flag,numeric,0=No; 1=Yes
|
||||
|
||||
|
@@ -63,6 +63,7 @@ remain valid.
|
||||
## Codes
|
||||
|
||||
- `tier`: 0 = Traditional SAST, 1 = Open-weight, 2 = Frontier
|
||||
- `model`: 0 = Bandit, 1 = Semgrep, 2 = DeepSeek V4.1 Flash, 3 = Argon
|
||||
- `condition`: 0 = original, 1 = obfuscated_v2, 2 = comments_removed
|
||||
- `expected_vuln` / `predicted_vuln`: 0 = No, 1 = Yes
|
||||
- `correct_flag`: prediction matches ground truth
|
||||
@@ -92,6 +93,8 @@ remain valid.
|
||||
## Notes
|
||||
|
||||
- The long file is the main analysis file.
|
||||
- `tier`, `model`, and `condition` are numeric with SPSS value labels; there
|
||||
are no separate string label columns.
|
||||
- The wide file is for paired tests; each detector has `_orig_`, `_obf_`, and
|
||||
`_comments_` columns.
|
||||
- SAST tools have `token_data_available = 0`, with zero token/latency values.
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
condition,condition_label,model_a,model_a_label,model_b,model_b_label,n,both_correct,a_only_correct,b_only_correct,both_wrong,mcnemar_exact_p
|
||||
0,original,bandit,Bandit,semgrep,Semgrep,200,118,19,13,50,0.377086
|
||||
0,original,bandit,Bandit,deepseek-v4.1-flash,DeepSeek V4.1 Flash,200,123,14,61,2,0.0
|
||||
0,original,bandit,Bandit,gemini-4-argon,Gemini 4 Argon,200,132,5,63,0,0.0
|
||||
0,original,semgrep,Semgrep,deepseek-v4.1-flash,DeepSeek V4.1 Flash,200,116,15,68,1,0.0
|
||||
0,original,semgrep,Semgrep,gemini-4-argon,Gemini 4 Argon,200,126,5,69,0,0.0
|
||||
0,original,deepseek-v4.1-flash,DeepSeek V4.1 Flash,gemini-4-argon,Gemini 4 Argon,200,182,2,13,3,0.007385
|
||||
1,obfuscated_v2,bandit,Bandit,semgrep,Semgrep,200,120,18,11,51,0.264931
|
||||
1,obfuscated_v2,bandit,Bandit,deepseek-v4.1-flash,DeepSeek V4.1 Flash,200,124,14,58,4,0.0
|
||||
1,obfuscated_v2,bandit,Bandit,gemini-4-argon,Gemini 4 Argon,200,134,4,60,2,0.0
|
||||
1,obfuscated_v2,semgrep,Semgrep,deepseek-v4.1-flash,DeepSeek V4.1 Flash,200,114,17,68,1,0.0
|
||||
1,obfuscated_v2,semgrep,Semgrep,gemini-4-argon,Gemini 4 Argon,200,125,6,69,0,0.0
|
||||
1,obfuscated_v2,deepseek-v4.1-flash,DeepSeek V4.1 Flash,gemini-4-argon,Gemini 4 Argon,200,180,2,14,4,0.004181
|
||||
2,comments_removed,bandit,Bandit,semgrep,Semgrep,200,118,19,13,50,0.377086
|
||||
2,comments_removed,bandit,Bandit,deepseek-v4.1-flash,DeepSeek V4.1 Flash,200,123,14,60,3,0.0
|
||||
2,comments_removed,bandit,Bandit,gemini-4-argon,Gemini 4 Argon,200,131,6,61,2,0.0
|
||||
2,comments_removed,semgrep,Semgrep,deepseek-v4.1-flash,DeepSeek V4.1 Flash,200,114,17,69,0,0.0
|
||||
2,comments_removed,semgrep,Semgrep,gemini-4-argon,Gemini 4 Argon,200,123,8,69,0,0.0
|
||||
2,comments_removed,deepseek-v4.1-flash,DeepSeek V4.1 Flash,gemini-4-argon,Gemini 4 Argon,200,181,2,11,6,0.022461
|
||||
condition,model_a,model_b,n,both_correct,a_only_correct,b_only_correct,both_wrong,mcnemar_exact_p
|
||||
0,0,1,200,118,19,13,50,0.377086
|
||||
0,0,2,200,123,14,61,2,0.0
|
||||
0,0,3,200,132,5,63,0,0.0
|
||||
0,1,2,200,116,15,68,1,0.0
|
||||
0,1,3,200,126,5,69,0,0.0
|
||||
0,2,3,200,182,2,13,3,0.007385
|
||||
1,0,1,200,120,18,11,51,0.264931
|
||||
1,0,2,200,124,14,58,4,0.0
|
||||
1,0,3,200,134,4,60,2,0.0
|
||||
1,1,2,200,114,17,68,1,0.0
|
||||
1,1,3,200,125,6,69,0,0.0
|
||||
1,2,3,200,180,2,14,4,0.004181
|
||||
2,0,1,200,118,19,13,50,0.377086
|
||||
2,0,2,200,123,14,60,3,0.0
|
||||
2,0,3,200,131,6,61,2,0.0
|
||||
2,1,2,200,114,17,69,0,0.0
|
||||
2,1,3,200,123,8,69,0,0.0
|
||||
2,2,3,200,181,2,11,6,0.022461
|
||||
|
@@ -1,169 +1,169 @@
|
||||
tier,tier_label,model,model_label,model_order,condition,condition_label,expected_category,expected_category_code,n,tp,fp,tn,fn,accuracy,precision,recall,f1
|
||||
0,Traditional SAST,bandit,Bandit,0,0,original,cmdi,5,1,0,1,0,0,0.0,0.0,0.0,0.0
|
||||
0,Traditional SAST,bandit,Bandit,0,0,original,codeinj,11,8,3,5,0,0,0.375,0.375,1.0,0.545455
|
||||
0,Traditional SAST,bandit,Bandit,0,0,original,deserialization,6,11,4,3,4,0,0.727273,0.571429,1.0,0.727273
|
||||
0,Traditional SAST,bandit,Bandit,0,0,original,hash,10,23,10,0,13,0,1.0,1.0,1.0,1.0
|
||||
0,Traditional SAST,bandit,Bandit,0,0,original,ldapi,14,3,0,0,1,2,0.333333,0.0,0.0,0.0
|
||||
0,Traditional SAST,bandit,Bandit,0,0,original,pathtraver,1,26,0,0,13,13,0.5,0.0,0.0,0.0
|
||||
0,Traditional SAST,bandit,Bandit,0,0,original,redirect,13,2,0,0,1,1,0.5,0.0,0.0,0.0
|
||||
0,Traditional SAST,bandit,Bandit,0,0,original,securecookie,12,7,0,0,2,5,0.285714,0.0,0.0,0.0
|
||||
0,Traditional SAST,bandit,Bandit,0,0,original,sqli,2,3,1,2,0,0,0.333333,0.333333,1.0,0.5
|
||||
0,Traditional SAST,bandit,Bandit,0,0,original,trustbound,9,6,0,0,5,1,0.833333,0.0,0.0,0.0
|
||||
0,Traditional SAST,bandit,Bandit,0,0,original,weakrand,8,58,11,0,44,3,0.948276,1.0,0.785714,0.88
|
||||
0,Traditional SAST,bandit,Bandit,0,0,original,xpathi,3,28,0,10,14,4,0.5,0.0,0.0,0.0
|
||||
0,Traditional SAST,bandit,Bandit,0,0,original,xss,7,18,0,0,10,8,0.555556,0.0,0.0,0.0
|
||||
0,Traditional SAST,bandit,Bandit,0,0,original,xxe,4,6,1,5,0,0,0.166667,0.166667,1.0,0.285714
|
||||
0,Traditional SAST,bandit,Bandit,0,1,obfuscated_v2,cmdi,5,1,0,1,0,0,0.0,0.0,0.0,0.0
|
||||
0,Traditional SAST,bandit,Bandit,0,1,obfuscated_v2,codeinj,11,8,3,5,0,0,0.375,0.375,1.0,0.545455
|
||||
0,Traditional SAST,bandit,Bandit,0,1,obfuscated_v2,deserialization,6,11,4,3,4,0,0.727273,0.571429,1.0,0.727273
|
||||
0,Traditional SAST,bandit,Bandit,0,1,obfuscated_v2,hash,10,23,10,0,13,0,1.0,1.0,1.0,1.0
|
||||
0,Traditional SAST,bandit,Bandit,0,1,obfuscated_v2,ldapi,14,3,0,0,1,2,0.333333,0.0,0.0,0.0
|
||||
0,Traditional SAST,bandit,Bandit,0,1,obfuscated_v2,pathtraver,1,26,0,0,13,13,0.5,0.0,0.0,0.0
|
||||
0,Traditional SAST,bandit,Bandit,0,1,obfuscated_v2,redirect,13,2,0,0,1,1,0.5,0.0,0.0,0.0
|
||||
0,Traditional SAST,bandit,Bandit,0,1,obfuscated_v2,securecookie,12,7,0,0,2,5,0.285714,0.0,0.0,0.0
|
||||
0,Traditional SAST,bandit,Bandit,0,1,obfuscated_v2,sqli,2,3,0,0,2,1,0.666667,0.0,0.0,0.0
|
||||
0,Traditional SAST,bandit,Bandit,0,1,obfuscated_v2,trustbound,9,6,0,0,5,1,0.833333,0.0,0.0,0.0
|
||||
0,Traditional SAST,bandit,Bandit,0,1,obfuscated_v2,weakrand,8,58,11,0,44,3,0.948276,1.0,0.785714,0.88
|
||||
0,Traditional SAST,bandit,Bandit,0,1,obfuscated_v2,xpathi,3,28,0,10,14,4,0.5,0.0,0.0,0.0
|
||||
0,Traditional SAST,bandit,Bandit,0,1,obfuscated_v2,xss,7,18,0,0,10,8,0.555556,0.0,0.0,0.0
|
||||
0,Traditional SAST,bandit,Bandit,0,1,obfuscated_v2,xxe,4,6,1,5,0,0,0.166667,0.166667,1.0,0.285714
|
||||
0,Traditional SAST,bandit,Bandit,0,2,comments_removed,cmdi,5,1,0,1,0,0,0.0,0.0,0.0,0.0
|
||||
0,Traditional SAST,bandit,Bandit,0,2,comments_removed,codeinj,11,8,3,5,0,0,0.375,0.375,1.0,0.545455
|
||||
0,Traditional SAST,bandit,Bandit,0,2,comments_removed,deserialization,6,11,4,3,4,0,0.727273,0.571429,1.0,0.727273
|
||||
0,Traditional SAST,bandit,Bandit,0,2,comments_removed,hash,10,23,10,0,13,0,1.0,1.0,1.0,1.0
|
||||
0,Traditional SAST,bandit,Bandit,0,2,comments_removed,ldapi,14,3,0,0,1,2,0.333333,0.0,0.0,0.0
|
||||
0,Traditional SAST,bandit,Bandit,0,2,comments_removed,pathtraver,1,26,0,0,13,13,0.5,0.0,0.0,0.0
|
||||
0,Traditional SAST,bandit,Bandit,0,2,comments_removed,redirect,13,2,0,0,1,1,0.5,0.0,0.0,0.0
|
||||
0,Traditional SAST,bandit,Bandit,0,2,comments_removed,securecookie,12,7,0,0,2,5,0.285714,0.0,0.0,0.0
|
||||
0,Traditional SAST,bandit,Bandit,0,2,comments_removed,sqli,2,3,1,2,0,0,0.333333,0.333333,1.0,0.5
|
||||
0,Traditional SAST,bandit,Bandit,0,2,comments_removed,trustbound,9,6,0,0,5,1,0.833333,0.0,0.0,0.0
|
||||
0,Traditional SAST,bandit,Bandit,0,2,comments_removed,weakrand,8,58,11,0,44,3,0.948276,1.0,0.785714,0.88
|
||||
0,Traditional SAST,bandit,Bandit,0,2,comments_removed,xpathi,3,28,0,10,14,4,0.5,0.0,0.0,0.0
|
||||
0,Traditional SAST,bandit,Bandit,0,2,comments_removed,xss,7,18,0,0,10,8,0.555556,0.0,0.0,0.0
|
||||
0,Traditional SAST,bandit,Bandit,0,2,comments_removed,xxe,4,6,1,5,0,0,0.166667,0.166667,1.0,0.285714
|
||||
0,Traditional SAST,semgrep,Semgrep,1,0,original,cmdi,5,1,0,1,0,0,0.0,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,0,original,codeinj,11,8,0,0,5,3,0.625,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,0,original,deserialization,6,11,1,3,4,3,0.454545,0.25,0.25,0.25
|
||||
0,Traditional SAST,semgrep,Semgrep,1,0,original,hash,10,23,10,0,13,0,1.0,1.0,1.0,1.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,0,original,ldapi,14,3,0,0,1,2,0.333333,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,0,original,pathtraver,1,26,1,0,13,12,0.538462,1.0,0.076923,0.142857
|
||||
0,Traditional SAST,semgrep,Semgrep,1,0,original,redirect,13,2,0,0,1,1,0.5,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,0,original,securecookie,12,7,0,0,2,5,0.285714,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,0,original,sqli,2,3,0,0,2,1,0.666667,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,0,original,trustbound,9,6,0,0,5,1,0.833333,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,0,original,weakrand,8,58,0,0,44,14,0.758621,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,0,original,xpathi,3,28,0,10,14,4,0.5,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,0,original,xss,7,18,0,0,10,8,0.555556,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,0,original,xxe,4,6,0,0,5,1,0.833333,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,1,obfuscated_v2,cmdi,5,1,0,1,0,0,0.0,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,1,obfuscated_v2,codeinj,11,8,0,0,5,3,0.625,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,1,obfuscated_v2,deserialization,6,11,1,2,5,3,0.545455,0.333333,0.25,0.285714
|
||||
0,Traditional SAST,semgrep,Semgrep,1,1,obfuscated_v2,hash,10,23,10,0,13,0,1.0,1.0,1.0,1.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,1,obfuscated_v2,ldapi,14,3,0,0,1,2,0.333333,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,1,obfuscated_v2,pathtraver,1,26,0,0,13,13,0.5,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,1,obfuscated_v2,redirect,13,2,0,0,1,1,0.5,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,1,obfuscated_v2,securecookie,12,7,0,0,2,5,0.285714,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,1,obfuscated_v2,sqli,2,3,0,0,2,1,0.666667,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,1,obfuscated_v2,trustbound,9,6,0,0,5,1,0.833333,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,1,obfuscated_v2,weakrand,8,58,0,0,44,14,0.758621,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,1,obfuscated_v2,xpathi,3,28,0,10,14,4,0.5,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,1,obfuscated_v2,xss,7,18,0,0,10,8,0.555556,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,1,obfuscated_v2,xxe,4,6,0,0,5,1,0.833333,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,2,comments_removed,cmdi,5,1,0,1,0,0,0.0,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,2,comments_removed,codeinj,11,8,0,0,5,3,0.625,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,2,comments_removed,deserialization,6,11,1,3,4,3,0.454545,0.25,0.25,0.25
|
||||
0,Traditional SAST,semgrep,Semgrep,1,2,comments_removed,hash,10,23,10,0,13,0,1.0,1.0,1.0,1.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,2,comments_removed,ldapi,14,3,0,0,1,2,0.333333,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,2,comments_removed,pathtraver,1,26,1,0,13,12,0.538462,1.0,0.076923,0.142857
|
||||
0,Traditional SAST,semgrep,Semgrep,1,2,comments_removed,redirect,13,2,0,0,1,1,0.5,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,2,comments_removed,securecookie,12,7,0,0,2,5,0.285714,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,2,comments_removed,sqli,2,3,0,0,2,1,0.666667,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,2,comments_removed,trustbound,9,6,0,0,5,1,0.833333,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,2,comments_removed,weakrand,8,58,0,0,44,14,0.758621,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,2,comments_removed,xpathi,3,28,0,10,14,4,0.5,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,2,comments_removed,xss,7,18,0,0,10,8,0.555556,0.0,0.0,0.0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,2,comments_removed,xxe,4,6,0,0,5,1,0.833333,0.0,0.0,0.0
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,0,original,cmdi,5,1,0,0,1,0,1.0,0.0,0.0,0.0
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,0,original,codeinj,11,8,3,1,4,0,0.875,0.75,1.0,0.857143
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,0,original,deserialization,6,11,4,3,4,0,0.727273,0.571429,1.0,0.727273
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,0,original,hash,10,23,8,0,13,2,0.913043,1.0,0.8,0.888889
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,0,original,ldapi,14,3,2,0,1,0,1.0,1.0,1.0,1.0
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,0,original,pathtraver,1,26,13,4,9,0,0.846154,0.764706,1.0,0.866667
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,0,original,redirect,13,2,1,0,1,0,1.0,1.0,1.0,1.0
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,0,original,securecookie,12,7,5,0,2,0,1.0,1.0,1.0,1.0
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,0,original,sqli,2,3,1,0,2,0,1.0,1.0,1.0,1.0
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,0,original,trustbound,9,6,1,3,2,0,0.5,0.25,1.0,0.4
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,0,original,weakrand,8,58,14,0,44,0,1.0,1.0,1.0,1.0
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,0,original,xpathi,3,28,4,1,23,0,0.964286,0.8,1.0,0.888889
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,0,original,xss,7,18,8,2,8,0,0.888889,0.8,1.0,0.888889
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,0,original,xxe,4,6,1,0,5,0,1.0,1.0,1.0,1.0
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,1,obfuscated_v2,cmdi,5,1,0,0,1,0,1.0,0.0,0.0,0.0
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,1,obfuscated_v2,codeinj,11,8,3,1,4,0,0.875,0.75,1.0,0.857143
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,1,obfuscated_v2,deserialization,6,11,4,2,5,0,0.818182,0.666667,1.0,0.8
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,1,obfuscated_v2,hash,10,23,10,1,12,0,0.956522,0.909091,1.0,0.952381
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,1,obfuscated_v2,ldapi,14,3,2,1,0,0,0.666667,0.666667,1.0,0.8
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,1,obfuscated_v2,pathtraver,1,26,13,4,9,0,0.846154,0.764706,1.0,0.866667
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,1,obfuscated_v2,redirect,13,2,1,0,1,0,1.0,1.0,1.0,1.0
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,1,obfuscated_v2,securecookie,12,7,5,0,2,0,1.0,1.0,1.0,1.0
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,1,obfuscated_v2,sqli,2,3,1,0,2,0,1.0,1.0,1.0,1.0
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,1,obfuscated_v2,trustbound,9,6,1,2,3,0,0.666667,0.333333,1.0,0.5
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,1,obfuscated_v2,weakrand,8,58,14,0,44,0,1.0,1.0,1.0,1.0
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,1,obfuscated_v2,xpathi,3,28,4,4,20,0,0.857143,0.5,1.0,0.666667
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,1,obfuscated_v2,xss,7,18,8,1,9,0,0.944444,0.888889,1.0,0.941176
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,1,obfuscated_v2,xxe,4,6,1,2,3,0,0.666667,0.333333,1.0,0.5
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,2,comments_removed,cmdi,5,1,0,0,1,0,1.0,0.0,0.0,0.0
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,2,comments_removed,codeinj,11,8,3,1,4,0,0.875,0.75,1.0,0.857143
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,2,comments_removed,deserialization,6,11,4,2,5,0,0.818182,0.666667,1.0,0.8
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,2,comments_removed,hash,10,23,10,0,13,0,1.0,1.0,1.0,1.0
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,2,comments_removed,ldapi,14,3,2,0,1,0,1.0,1.0,1.0,1.0
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,2,comments_removed,pathtraver,1,26,13,5,8,0,0.807692,0.722222,1.0,0.83871
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,2,comments_removed,redirect,13,2,1,0,1,0,1.0,1.0,1.0,1.0
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,2,comments_removed,securecookie,12,7,5,0,2,0,1.0,1.0,1.0,1.0
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,2,comments_removed,sqli,2,3,1,0,2,0,1.0,1.0,1.0,1.0
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,2,comments_removed,trustbound,9,6,1,3,2,0,0.5,0.25,1.0,0.4
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,2,comments_removed,weakrand,8,58,14,0,44,0,1.0,1.0,1.0,1.0
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,2,comments_removed,xpathi,3,28,4,2,22,0,0.928571,0.666667,1.0,0.8
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,2,comments_removed,xss,7,18,8,2,8,0,0.888889,0.8,1.0,0.888889
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,2,comments_removed,xxe,4,6,1,2,3,0,0.666667,0.333333,1.0,0.5
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,0,original,cmdi,5,1,0,0,1,0,1.0,0.0,0.0,0.0
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,0,original,codeinj,11,8,3,0,5,0,1.0,1.0,1.0,1.0
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,0,original,deserialization,6,11,4,0,7,0,1.0,1.0,1.0,1.0
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,0,original,hash,10,23,9,0,13,1,0.956522,1.0,0.9,0.947368
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,0,original,ldapi,14,3,2,0,1,0,1.0,1.0,1.0,1.0
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,0,original,pathtraver,1,26,13,1,12,0,0.961538,0.928571,1.0,0.962963
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,0,original,redirect,13,2,1,0,1,0,1.0,1.0,1.0,1.0
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,0,original,securecookie,12,7,5,0,2,0,1.0,1.0,1.0,1.0
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,0,original,sqli,2,3,1,0,2,0,1.0,1.0,1.0,1.0
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,0,original,trustbound,9,6,1,1,4,0,0.833333,0.5,1.0,0.666667
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,0,original,weakrand,8,58,14,0,44,0,1.0,1.0,1.0,1.0
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,0,original,xpathi,3,28,4,0,24,0,1.0,1.0,1.0,1.0
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,0,original,xss,7,18,8,2,8,0,0.888889,0.8,1.0,0.888889
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,0,original,xxe,4,6,1,0,5,0,1.0,1.0,1.0,1.0
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,1,obfuscated_v2,cmdi,5,1,0,0,1,0,1.0,0.0,0.0,0.0
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,1,obfuscated_v2,codeinj,11,8,3,0,5,0,1.0,1.0,1.0,1.0
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,1,obfuscated_v2,deserialization,6,11,4,1,6,0,0.909091,0.8,1.0,0.888889
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,1,obfuscated_v2,hash,10,23,9,0,13,1,0.956522,1.0,0.9,0.947368
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,1,obfuscated_v2,ldapi,14,3,2,0,1,0,1.0,1.0,1.0,1.0
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,1,obfuscated_v2,pathtraver,1,26,13,1,12,0,0.961538,0.928571,1.0,0.962963
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,1,obfuscated_v2,redirect,13,2,1,0,1,0,1.0,1.0,1.0,1.0
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,1,obfuscated_v2,securecookie,12,7,5,0,2,0,1.0,1.0,1.0,1.0
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,1,obfuscated_v2,sqli,2,3,1,0,2,0,1.0,1.0,1.0,1.0
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,1,obfuscated_v2,trustbound,9,6,1,0,5,0,1.0,1.0,1.0,1.0
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,1,obfuscated_v2,weakrand,8,58,14,0,44,0,1.0,1.0,1.0,1.0
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,1,obfuscated_v2,xpathi,3,28,4,0,24,0,1.0,1.0,1.0,1.0
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,1,obfuscated_v2,xss,7,18,8,1,9,0,0.944444,0.888889,1.0,0.941176
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,1,obfuscated_v2,xxe,4,6,1,2,3,0,0.666667,0.333333,1.0,0.5
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,2,comments_removed,cmdi,5,1,0,0,1,0,1.0,0.0,0.0,0.0
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,2,comments_removed,codeinj,11,8,3,0,5,0,1.0,1.0,1.0,1.0
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,2,comments_removed,deserialization,6,11,4,0,7,0,1.0,1.0,1.0,1.0
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,2,comments_removed,hash,10,23,9,0,13,1,0.956522,1.0,0.9,0.947368
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,2,comments_removed,ldapi,14,3,2,0,1,0,1.0,1.0,1.0,1.0
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,2,comments_removed,pathtraver,1,26,13,2,11,0,0.923077,0.866667,1.0,0.928571
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,2,comments_removed,redirect,13,2,1,0,1,0,1.0,1.0,1.0,1.0
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,2,comments_removed,securecookie,12,7,5,0,2,0,1.0,1.0,1.0,1.0
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,2,comments_removed,sqli,2,3,1,0,2,0,1.0,1.0,1.0,1.0
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,2,comments_removed,trustbound,9,6,1,1,4,0,0.833333,0.5,1.0,0.666667
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,2,comments_removed,weakrand,8,58,14,0,44,0,1.0,1.0,1.0,1.0
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,2,comments_removed,xpathi,3,28,4,0,24,0,1.0,1.0,1.0,1.0
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,2,comments_removed,xss,7,18,8,2,8,0,0.888889,0.8,1.0,0.888889
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,2,comments_removed,xxe,4,6,1,2,3,0,0.666667,0.333333,1.0,0.5
|
||||
tier,model,condition,expected_category,expected_category_code,n,tp,fp,tn,fn,accuracy,precision,recall,f1
|
||||
0,0,0,cmdi,5,1,0,1,0,0,0.0,0.0,0.0,0.0
|
||||
0,0,0,codeinj,11,8,3,5,0,0,0.375,0.375,1.0,0.545455
|
||||
0,0,0,deserialization,6,11,4,3,4,0,0.727273,0.571429,1.0,0.727273
|
||||
0,0,0,hash,10,23,10,0,13,0,1.0,1.0,1.0,1.0
|
||||
0,0,0,ldapi,14,3,0,0,1,2,0.333333,0.0,0.0,0.0
|
||||
0,0,0,pathtraver,1,26,0,0,13,13,0.5,0.0,0.0,0.0
|
||||
0,0,0,redirect,13,2,0,0,1,1,0.5,0.0,0.0,0.0
|
||||
0,0,0,securecookie,12,7,0,0,2,5,0.285714,0.0,0.0,0.0
|
||||
0,0,0,sqli,2,3,1,2,0,0,0.333333,0.333333,1.0,0.5
|
||||
0,0,0,trustbound,9,6,0,0,5,1,0.833333,0.0,0.0,0.0
|
||||
0,0,0,weakrand,8,58,11,0,44,3,0.948276,1.0,0.785714,0.88
|
||||
0,0,0,xpathi,3,28,0,10,14,4,0.5,0.0,0.0,0.0
|
||||
0,0,0,xss,7,18,0,0,10,8,0.555556,0.0,0.0,0.0
|
||||
0,0,0,xxe,4,6,1,5,0,0,0.166667,0.166667,1.0,0.285714
|
||||
0,0,1,cmdi,5,1,0,1,0,0,0.0,0.0,0.0,0.0
|
||||
0,0,1,codeinj,11,8,3,5,0,0,0.375,0.375,1.0,0.545455
|
||||
0,0,1,deserialization,6,11,4,3,4,0,0.727273,0.571429,1.0,0.727273
|
||||
0,0,1,hash,10,23,10,0,13,0,1.0,1.0,1.0,1.0
|
||||
0,0,1,ldapi,14,3,0,0,1,2,0.333333,0.0,0.0,0.0
|
||||
0,0,1,pathtraver,1,26,0,0,13,13,0.5,0.0,0.0,0.0
|
||||
0,0,1,redirect,13,2,0,0,1,1,0.5,0.0,0.0,0.0
|
||||
0,0,1,securecookie,12,7,0,0,2,5,0.285714,0.0,0.0,0.0
|
||||
0,0,1,sqli,2,3,0,0,2,1,0.666667,0.0,0.0,0.0
|
||||
0,0,1,trustbound,9,6,0,0,5,1,0.833333,0.0,0.0,0.0
|
||||
0,0,1,weakrand,8,58,11,0,44,3,0.948276,1.0,0.785714,0.88
|
||||
0,0,1,xpathi,3,28,0,10,14,4,0.5,0.0,0.0,0.0
|
||||
0,0,1,xss,7,18,0,0,10,8,0.555556,0.0,0.0,0.0
|
||||
0,0,1,xxe,4,6,1,5,0,0,0.166667,0.166667,1.0,0.285714
|
||||
0,0,2,cmdi,5,1,0,1,0,0,0.0,0.0,0.0,0.0
|
||||
0,0,2,codeinj,11,8,3,5,0,0,0.375,0.375,1.0,0.545455
|
||||
0,0,2,deserialization,6,11,4,3,4,0,0.727273,0.571429,1.0,0.727273
|
||||
0,0,2,hash,10,23,10,0,13,0,1.0,1.0,1.0,1.0
|
||||
0,0,2,ldapi,14,3,0,0,1,2,0.333333,0.0,0.0,0.0
|
||||
0,0,2,pathtraver,1,26,0,0,13,13,0.5,0.0,0.0,0.0
|
||||
0,0,2,redirect,13,2,0,0,1,1,0.5,0.0,0.0,0.0
|
||||
0,0,2,securecookie,12,7,0,0,2,5,0.285714,0.0,0.0,0.0
|
||||
0,0,2,sqli,2,3,1,2,0,0,0.333333,0.333333,1.0,0.5
|
||||
0,0,2,trustbound,9,6,0,0,5,1,0.833333,0.0,0.0,0.0
|
||||
0,0,2,weakrand,8,58,11,0,44,3,0.948276,1.0,0.785714,0.88
|
||||
0,0,2,xpathi,3,28,0,10,14,4,0.5,0.0,0.0,0.0
|
||||
0,0,2,xss,7,18,0,0,10,8,0.555556,0.0,0.0,0.0
|
||||
0,0,2,xxe,4,6,1,5,0,0,0.166667,0.166667,1.0,0.285714
|
||||
0,1,0,cmdi,5,1,0,1,0,0,0.0,0.0,0.0,0.0
|
||||
0,1,0,codeinj,11,8,0,0,5,3,0.625,0.0,0.0,0.0
|
||||
0,1,0,deserialization,6,11,1,3,4,3,0.454545,0.25,0.25,0.25
|
||||
0,1,0,hash,10,23,10,0,13,0,1.0,1.0,1.0,1.0
|
||||
0,1,0,ldapi,14,3,0,0,1,2,0.333333,0.0,0.0,0.0
|
||||
0,1,0,pathtraver,1,26,1,0,13,12,0.538462,1.0,0.076923,0.142857
|
||||
0,1,0,redirect,13,2,0,0,1,1,0.5,0.0,0.0,0.0
|
||||
0,1,0,securecookie,12,7,0,0,2,5,0.285714,0.0,0.0,0.0
|
||||
0,1,0,sqli,2,3,0,0,2,1,0.666667,0.0,0.0,0.0
|
||||
0,1,0,trustbound,9,6,0,0,5,1,0.833333,0.0,0.0,0.0
|
||||
0,1,0,weakrand,8,58,0,0,44,14,0.758621,0.0,0.0,0.0
|
||||
0,1,0,xpathi,3,28,0,10,14,4,0.5,0.0,0.0,0.0
|
||||
0,1,0,xss,7,18,0,0,10,8,0.555556,0.0,0.0,0.0
|
||||
0,1,0,xxe,4,6,0,0,5,1,0.833333,0.0,0.0,0.0
|
||||
0,1,1,cmdi,5,1,0,1,0,0,0.0,0.0,0.0,0.0
|
||||
0,1,1,codeinj,11,8,0,0,5,3,0.625,0.0,0.0,0.0
|
||||
0,1,1,deserialization,6,11,1,2,5,3,0.545455,0.333333,0.25,0.285714
|
||||
0,1,1,hash,10,23,10,0,13,0,1.0,1.0,1.0,1.0
|
||||
0,1,1,ldapi,14,3,0,0,1,2,0.333333,0.0,0.0,0.0
|
||||
0,1,1,pathtraver,1,26,0,0,13,13,0.5,0.0,0.0,0.0
|
||||
0,1,1,redirect,13,2,0,0,1,1,0.5,0.0,0.0,0.0
|
||||
0,1,1,securecookie,12,7,0,0,2,5,0.285714,0.0,0.0,0.0
|
||||
0,1,1,sqli,2,3,0,0,2,1,0.666667,0.0,0.0,0.0
|
||||
0,1,1,trustbound,9,6,0,0,5,1,0.833333,0.0,0.0,0.0
|
||||
0,1,1,weakrand,8,58,0,0,44,14,0.758621,0.0,0.0,0.0
|
||||
0,1,1,xpathi,3,28,0,10,14,4,0.5,0.0,0.0,0.0
|
||||
0,1,1,xss,7,18,0,0,10,8,0.555556,0.0,0.0,0.0
|
||||
0,1,1,xxe,4,6,0,0,5,1,0.833333,0.0,0.0,0.0
|
||||
0,1,2,cmdi,5,1,0,1,0,0,0.0,0.0,0.0,0.0
|
||||
0,1,2,codeinj,11,8,0,0,5,3,0.625,0.0,0.0,0.0
|
||||
0,1,2,deserialization,6,11,1,3,4,3,0.454545,0.25,0.25,0.25
|
||||
0,1,2,hash,10,23,10,0,13,0,1.0,1.0,1.0,1.0
|
||||
0,1,2,ldapi,14,3,0,0,1,2,0.333333,0.0,0.0,0.0
|
||||
0,1,2,pathtraver,1,26,1,0,13,12,0.538462,1.0,0.076923,0.142857
|
||||
0,1,2,redirect,13,2,0,0,1,1,0.5,0.0,0.0,0.0
|
||||
0,1,2,securecookie,12,7,0,0,2,5,0.285714,0.0,0.0,0.0
|
||||
0,1,2,sqli,2,3,0,0,2,1,0.666667,0.0,0.0,0.0
|
||||
0,1,2,trustbound,9,6,0,0,5,1,0.833333,0.0,0.0,0.0
|
||||
0,1,2,weakrand,8,58,0,0,44,14,0.758621,0.0,0.0,0.0
|
||||
0,1,2,xpathi,3,28,0,10,14,4,0.5,0.0,0.0,0.0
|
||||
0,1,2,xss,7,18,0,0,10,8,0.555556,0.0,0.0,0.0
|
||||
0,1,2,xxe,4,6,0,0,5,1,0.833333,0.0,0.0,0.0
|
||||
1,2,0,cmdi,5,1,0,0,1,0,1.0,0.0,0.0,0.0
|
||||
1,2,0,codeinj,11,8,3,1,4,0,0.875,0.75,1.0,0.857143
|
||||
1,2,0,deserialization,6,11,4,3,4,0,0.727273,0.571429,1.0,0.727273
|
||||
1,2,0,hash,10,23,8,0,13,2,0.913043,1.0,0.8,0.888889
|
||||
1,2,0,ldapi,14,3,2,0,1,0,1.0,1.0,1.0,1.0
|
||||
1,2,0,pathtraver,1,26,13,4,9,0,0.846154,0.764706,1.0,0.866667
|
||||
1,2,0,redirect,13,2,1,0,1,0,1.0,1.0,1.0,1.0
|
||||
1,2,0,securecookie,12,7,5,0,2,0,1.0,1.0,1.0,1.0
|
||||
1,2,0,sqli,2,3,1,0,2,0,1.0,1.0,1.0,1.0
|
||||
1,2,0,trustbound,9,6,1,3,2,0,0.5,0.25,1.0,0.4
|
||||
1,2,0,weakrand,8,58,14,0,44,0,1.0,1.0,1.0,1.0
|
||||
1,2,0,xpathi,3,28,4,1,23,0,0.964286,0.8,1.0,0.888889
|
||||
1,2,0,xss,7,18,8,2,8,0,0.888889,0.8,1.0,0.888889
|
||||
1,2,0,xxe,4,6,1,0,5,0,1.0,1.0,1.0,1.0
|
||||
1,2,1,cmdi,5,1,0,0,1,0,1.0,0.0,0.0,0.0
|
||||
1,2,1,codeinj,11,8,3,1,4,0,0.875,0.75,1.0,0.857143
|
||||
1,2,1,deserialization,6,11,4,2,5,0,0.818182,0.666667,1.0,0.8
|
||||
1,2,1,hash,10,23,10,1,12,0,0.956522,0.909091,1.0,0.952381
|
||||
1,2,1,ldapi,14,3,2,1,0,0,0.666667,0.666667,1.0,0.8
|
||||
1,2,1,pathtraver,1,26,13,4,9,0,0.846154,0.764706,1.0,0.866667
|
||||
1,2,1,redirect,13,2,1,0,1,0,1.0,1.0,1.0,1.0
|
||||
1,2,1,securecookie,12,7,5,0,2,0,1.0,1.0,1.0,1.0
|
||||
1,2,1,sqli,2,3,1,0,2,0,1.0,1.0,1.0,1.0
|
||||
1,2,1,trustbound,9,6,1,2,3,0,0.666667,0.333333,1.0,0.5
|
||||
1,2,1,weakrand,8,58,14,0,44,0,1.0,1.0,1.0,1.0
|
||||
1,2,1,xpathi,3,28,4,4,20,0,0.857143,0.5,1.0,0.666667
|
||||
1,2,1,xss,7,18,8,1,9,0,0.944444,0.888889,1.0,0.941176
|
||||
1,2,1,xxe,4,6,1,2,3,0,0.666667,0.333333,1.0,0.5
|
||||
1,2,2,cmdi,5,1,0,0,1,0,1.0,0.0,0.0,0.0
|
||||
1,2,2,codeinj,11,8,3,1,4,0,0.875,0.75,1.0,0.857143
|
||||
1,2,2,deserialization,6,11,4,2,5,0,0.818182,0.666667,1.0,0.8
|
||||
1,2,2,hash,10,23,10,0,13,0,1.0,1.0,1.0,1.0
|
||||
1,2,2,ldapi,14,3,2,0,1,0,1.0,1.0,1.0,1.0
|
||||
1,2,2,pathtraver,1,26,13,5,8,0,0.807692,0.722222,1.0,0.83871
|
||||
1,2,2,redirect,13,2,1,0,1,0,1.0,1.0,1.0,1.0
|
||||
1,2,2,securecookie,12,7,5,0,2,0,1.0,1.0,1.0,1.0
|
||||
1,2,2,sqli,2,3,1,0,2,0,1.0,1.0,1.0,1.0
|
||||
1,2,2,trustbound,9,6,1,3,2,0,0.5,0.25,1.0,0.4
|
||||
1,2,2,weakrand,8,58,14,0,44,0,1.0,1.0,1.0,1.0
|
||||
1,2,2,xpathi,3,28,4,2,22,0,0.928571,0.666667,1.0,0.8
|
||||
1,2,2,xss,7,18,8,2,8,0,0.888889,0.8,1.0,0.888889
|
||||
1,2,2,xxe,4,6,1,2,3,0,0.666667,0.333333,1.0,0.5
|
||||
2,3,0,cmdi,5,1,0,0,1,0,1.0,0.0,0.0,0.0
|
||||
2,3,0,codeinj,11,8,3,0,5,0,1.0,1.0,1.0,1.0
|
||||
2,3,0,deserialization,6,11,4,0,7,0,1.0,1.0,1.0,1.0
|
||||
2,3,0,hash,10,23,9,0,13,1,0.956522,1.0,0.9,0.947368
|
||||
2,3,0,ldapi,14,3,2,0,1,0,1.0,1.0,1.0,1.0
|
||||
2,3,0,pathtraver,1,26,13,1,12,0,0.961538,0.928571,1.0,0.962963
|
||||
2,3,0,redirect,13,2,1,0,1,0,1.0,1.0,1.0,1.0
|
||||
2,3,0,securecookie,12,7,5,0,2,0,1.0,1.0,1.0,1.0
|
||||
2,3,0,sqli,2,3,1,0,2,0,1.0,1.0,1.0,1.0
|
||||
2,3,0,trustbound,9,6,1,1,4,0,0.833333,0.5,1.0,0.666667
|
||||
2,3,0,weakrand,8,58,14,0,44,0,1.0,1.0,1.0,1.0
|
||||
2,3,0,xpathi,3,28,4,0,24,0,1.0,1.0,1.0,1.0
|
||||
2,3,0,xss,7,18,8,2,8,0,0.888889,0.8,1.0,0.888889
|
||||
2,3,0,xxe,4,6,1,0,5,0,1.0,1.0,1.0,1.0
|
||||
2,3,1,cmdi,5,1,0,0,1,0,1.0,0.0,0.0,0.0
|
||||
2,3,1,codeinj,11,8,3,0,5,0,1.0,1.0,1.0,1.0
|
||||
2,3,1,deserialization,6,11,4,1,6,0,0.909091,0.8,1.0,0.888889
|
||||
2,3,1,hash,10,23,9,0,13,1,0.956522,1.0,0.9,0.947368
|
||||
2,3,1,ldapi,14,3,2,0,1,0,1.0,1.0,1.0,1.0
|
||||
2,3,1,pathtraver,1,26,13,1,12,0,0.961538,0.928571,1.0,0.962963
|
||||
2,3,1,redirect,13,2,1,0,1,0,1.0,1.0,1.0,1.0
|
||||
2,3,1,securecookie,12,7,5,0,2,0,1.0,1.0,1.0,1.0
|
||||
2,3,1,sqli,2,3,1,0,2,0,1.0,1.0,1.0,1.0
|
||||
2,3,1,trustbound,9,6,1,0,5,0,1.0,1.0,1.0,1.0
|
||||
2,3,1,weakrand,8,58,14,0,44,0,1.0,1.0,1.0,1.0
|
||||
2,3,1,xpathi,3,28,4,0,24,0,1.0,1.0,1.0,1.0
|
||||
2,3,1,xss,7,18,8,1,9,0,0.944444,0.888889,1.0,0.941176
|
||||
2,3,1,xxe,4,6,1,2,3,0,0.666667,0.333333,1.0,0.5
|
||||
2,3,2,cmdi,5,1,0,0,1,0,1.0,0.0,0.0,0.0
|
||||
2,3,2,codeinj,11,8,3,0,5,0,1.0,1.0,1.0,1.0
|
||||
2,3,2,deserialization,6,11,4,0,7,0,1.0,1.0,1.0,1.0
|
||||
2,3,2,hash,10,23,9,0,13,1,0.956522,1.0,0.9,0.947368
|
||||
2,3,2,ldapi,14,3,2,0,1,0,1.0,1.0,1.0,1.0
|
||||
2,3,2,pathtraver,1,26,13,2,11,0,0.923077,0.866667,1.0,0.928571
|
||||
2,3,2,redirect,13,2,1,0,1,0,1.0,1.0,1.0,1.0
|
||||
2,3,2,securecookie,12,7,5,0,2,0,1.0,1.0,1.0,1.0
|
||||
2,3,2,sqli,2,3,1,0,2,0,1.0,1.0,1.0,1.0
|
||||
2,3,2,trustbound,9,6,1,1,4,0,0.833333,0.5,1.0,0.666667
|
||||
2,3,2,weakrand,8,58,14,0,44,0,1.0,1.0,1.0,1.0
|
||||
2,3,2,xpathi,3,28,4,0,24,0,1.0,1.0,1.0,1.0
|
||||
2,3,2,xss,7,18,8,2,8,0,0.888889,0.8,1.0,0.888889
|
||||
2,3,2,xxe,4,6,1,2,3,0,0.666667,0.333333,1.0,0.5
|
||||
|
Binary file not shown.
@@ -10,12 +10,8 @@ GET DATA
|
||||
/FIRSTCASE=2
|
||||
/VARIABLES=
|
||||
tier F1.0
|
||||
tier_label A20
|
||||
model A30
|
||||
model_label A30
|
||||
model_order F1.0
|
||||
model F1.0
|
||||
condition F1.0
|
||||
condition_label A20
|
||||
expected_category A20
|
||||
expected_category_code F3.0
|
||||
n F5.0
|
||||
@@ -31,10 +27,9 @@ GET DATA
|
||||
DATASET NAME sast_all_category WINDOW=FRONT.
|
||||
|
||||
VARIABLE LABELS
|
||||
tier 'Capability tier' tier_label 'Capability tier label'
|
||||
model 'Detector/model identifier' model_label 'Detector/model display name'
|
||||
model_order 'Display order'
|
||||
condition 'Dataset condition' condition_label 'Dataset condition label'
|
||||
tier 'Capability tier'
|
||||
model 'Detector'
|
||||
condition 'Dataset condition'
|
||||
expected_category 'Ground-truth category'
|
||||
expected_category_code 'Ground-truth category code'
|
||||
n 'Samples' tp 'True positives' fp 'False positives'
|
||||
@@ -44,6 +39,7 @@ VARIABLE LABELS
|
||||
|
||||
VALUE LABELS
|
||||
tier 0 'Traditional SAST' 1 'Open-weight' 2 'Frontier'
|
||||
model 0 'Bandit' 1 'Semgrep' 2 'DeepSeek V4.1 Flash' 3 'Gemini 4 Argon'
|
||||
condition 0 'Original' 1 'Obfuscated v2' 2 'Comments removed'
|
||||
expected_category_code
|
||||
0 'None' 1 'pathtraver' 2 'sqli' 3 'xpathi' 4 'xxe' 5 'cmdi'
|
||||
@@ -53,7 +49,7 @@ VALUE LABELS
|
||||
.
|
||||
EXECUTE.
|
||||
|
||||
SORT CASES BY model_order condition expected_category_code.
|
||||
SORT CASES BY model condition expected_category_code.
|
||||
SPLIT FILE LAYERED BY model condition.
|
||||
MEANS TABLES=accuracy precision recall f1 BY expected_category
|
||||
/CELLS=MEAN COUNT.
|
||||
|
||||
@@ -11,12 +11,8 @@ GET DATA
|
||||
/VARIABLES=
|
||||
sample_id A20
|
||||
tier F1.0
|
||||
tier_label A20
|
||||
model A30
|
||||
model_label A30
|
||||
model_order F1.0
|
||||
model F1.0
|
||||
condition F1.0
|
||||
condition_label A20
|
||||
in_scope F1.0
|
||||
expected_vuln F1.0
|
||||
predicted_vuln F1.0
|
||||
@@ -53,12 +49,8 @@ DATASET NAME sast_all_long WINDOW=FRONT.
|
||||
VARIABLE LABELS
|
||||
sample_id 'Benchmark test identifier'
|
||||
tier 'Capability tier'
|
||||
tier_label 'Capability tier label'
|
||||
model 'Detector/model identifier'
|
||||
model_label 'Detector/model display name'
|
||||
model_order 'Display order'
|
||||
model 'Detector'
|
||||
condition 'Dataset condition'
|
||||
condition_label 'Dataset condition label'
|
||||
in_scope 'In prompt target scope'
|
||||
expected_vuln 'Ground-truth vulnerability'
|
||||
predicted_vuln 'Predicted vulnerability'
|
||||
@@ -93,6 +85,7 @@ VARIABLE LABELS
|
||||
|
||||
VALUE LABELS
|
||||
tier 0 'Traditional SAST' 1 'Open-weight' 2 'Frontier'
|
||||
model 0 'Bandit' 1 'Semgrep' 2 'DeepSeek V4.1 Flash' 3 'Gemini 4 Argon'
|
||||
condition 0 'Original' 1 'Obfuscated v2' 2 'Comments removed'
|
||||
in_scope expected_vuln predicted_vuln correct_flag parse_ok
|
||||
tp fp tn fn category_correct cwe_correct strict_correct
|
||||
|
||||
+2401
-2401
File diff suppressed because it is too large.
Load diff
Binary file not shown.
@@ -1,13 +1,13 @@
|
||||
tier,tier_label,model,model_label,comparison,condition_a,condition_a_label,condition_b,condition_b_label,n,both_correct,a_only_correct,b_only_correct,both_wrong,mcnemar_exact_p,both_strict_correct,a_only_strict_correct,b_only_strict_correct,both_strict_wrong,strict_mcnemar_exact_p
|
||||
0,Traditional SAST,bandit,Bandit,Original_vs_Obfuscated,0,Original,1,Obfuscated,200,136,1,2,61,1.0,136,1,2,61,1.0
|
||||
0,Traditional SAST,bandit,Bandit,Original_vs_Comments removed,0,Original,2,Comments removed,200,137,0,0,63,1.0,137,0,0,63,1.0
|
||||
0,Traditional SAST,bandit,Bandit,Obfuscated_vs_Comments removed,1,Obfuscated,2,Comments removed,200,136,2,1,61,1.0,136,2,1,61,1.0
|
||||
0,Traditional SAST,semgrep,Semgrep,Original_vs_Obfuscated,0,Original,1,Obfuscated,200,130,1,1,68,1.0,130,1,1,68,1.0
|
||||
0,Traditional SAST,semgrep,Semgrep,Original_vs_Comments removed,0,Original,2,Comments removed,200,131,0,0,69,1.0,131,0,0,69,1.0
|
||||
0,Traditional SAST,semgrep,Semgrep,Obfuscated_vs_Comments removed,1,Obfuscated,2,Comments removed,200,130,1,1,68,1.0,130,1,1,68,1.0
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,Original_vs_Obfuscated,0,Original,1,Obfuscated,200,177,7,5,11,0.774414,177,7,5,11,0.774414
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,Original_vs_Comments removed,0,Original,2,Comments removed,200,179,5,4,12,1.0,179,5,4,12,1.0
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,Obfuscated_vs_Comments removed,1,Obfuscated,2,Comments removed,200,178,4,5,13,1.0,178,4,5,13,1.0
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,Original_vs_Obfuscated,0,Original,1,Obfuscated,200,192,3,2,3,1.0,192,3,2,3,1.0
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,Original_vs_Comments removed,0,Original,2,Comments removed,200,192,3,0,5,0.25,192,3,0,5,0.25
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,Obfuscated_vs_Comments removed,1,Obfuscated,2,Comments removed,200,191,3,1,5,0.625,191,3,1,5,0.625
|
||||
tier,model,comparison,condition_a,condition_b,n,both_correct,a_only_correct,b_only_correct,both_wrong,mcnemar_exact_p,both_strict_correct,a_only_strict_correct,b_only_strict_correct,both_strict_wrong,strict_mcnemar_exact_p
|
||||
0,0,Original_vs_Obfuscated,0,1,200,136,1,2,61,1.0,136,1,2,61,1.0
|
||||
0,0,Original_vs_Comments removed,0,2,200,137,0,0,63,1.0,137,0,0,63,1.0
|
||||
0,0,Obfuscated_vs_Comments removed,1,2,200,136,2,1,61,1.0,136,2,1,61,1.0
|
||||
0,1,Original_vs_Obfuscated,0,1,200,130,1,1,68,1.0,130,1,1,68,1.0
|
||||
0,1,Original_vs_Comments removed,0,2,200,131,0,0,69,1.0,131,0,0,69,1.0
|
||||
0,1,Obfuscated_vs_Comments removed,1,2,200,130,1,1,68,1.0,130,1,1,68,1.0
|
||||
1,2,Original_vs_Obfuscated,0,1,200,177,7,5,11,0.774414,177,7,5,11,0.774414
|
||||
1,2,Original_vs_Comments removed,0,2,200,179,5,4,12,1.0,179,5,4,12,1.0
|
||||
1,2,Obfuscated_vs_Comments removed,1,2,200,178,4,5,13,1.0,178,4,5,13,1.0
|
||||
2,3,Original_vs_Obfuscated,0,1,200,192,3,2,3,1.0,192,3,2,3,1.0
|
||||
2,3,Original_vs_Comments removed,0,2,200,192,3,0,5,0.25,192,3,0,5,0.25
|
||||
2,3,Obfuscated_vs_Comments removed,1,2,200,191,3,1,5,0.625,191,3,1,5,0.625
|
||||
|
@@ -1,13 +1,13 @@
|
||||
tier,tier_label,model,model_label,model_order,condition,condition_label,n_all,n_in_scope,tp,fp,tn,fn,accuracy,strict_accuracy,precision,recall,fpr,tnr,balanced_accuracy,f1,mcc,category_accuracy_tp,cwe_accuracy_tp,wrong_category_tp,total_tokens_final,total_tokens_all_attempts,mean_latency_ms_in_scope,api_calls_all_attempts,token_data_available
|
||||
0,Traditional SAST,bandit,Bandit,0,0,original,200,200,30,26,107,37,0.685,0.685,0.535714,0.447761,0.195489,0.804511,0.626136,0.487805,0.26519,1.0,1.0,0,0,0,0.0,0,0
|
||||
0,Traditional SAST,bandit,Bandit,0,1,obfuscated_v2,200,200,29,24,109,38,0.69,0.69,0.54717,0.432836,0.180451,0.819549,0.626192,0.483333,0.269917,1.0,1.0,0,0,0,0.0,0,0
|
||||
0,Traditional SAST,bandit,Bandit,0,2,comments_removed,200,200,30,26,107,37,0.685,0.685,0.535714,0.447761,0.195489,0.804511,0.626136,0.487805,0.26519,1.0,1.0,0,0,0,0.0,0,0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,0,original,200,200,12,14,119,55,0.655,0.655,0.461538,0.179104,0.105263,0.894737,0.536921,0.258065,0.103634,1.0,1.0,0,0,0,0.0,0,0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,1,obfuscated_v2,200,200,11,13,120,56,0.655,0.655,0.458333,0.164179,0.097744,0.902256,0.533217,0.241758,0.096493,1.0,1.0,0,0,0,0.0,0,0
|
||||
0,Traditional SAST,semgrep,Semgrep,1,2,comments_removed,200,200,12,14,119,55,0.655,0.655,0.461538,0.179104,0.105263,0.894737,0.536921,0.258065,0.103634,1.0,1.0,0,0,0,0.0,0,0
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,0,original,200,200,65,14,119,2,0.92,0.92,0.822785,0.970149,0.105263,0.894737,0.932443,0.890411,0.835057,1.0,1.0,0,378040,378040,8910.91,200,1
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,1,obfuscated_v2,200,200,67,18,115,0,0.91,0.91,0.788235,1.0,0.135338,0.864662,0.932331,0.881579,0.825565,1.0,1.0,0,505773,505773,15383.79,200,1
|
||||
1,Open-weight,deepseek-v4.1-flash,DeepSeek V4.1 Flash,2,2,comments_removed,200,200,67,17,116,0,0.915,0.915,0.797619,1.0,0.12782,0.87218,0.93609,0.887417,0.834067,1.0,1.0,0,383990,383990,13495.45,200,1
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,0,original,200,200,66,4,129,1,0.975,0.975,0.942857,0.985075,0.030075,0.969925,0.9775,0.963504,0.94503,1.0,1.0,0,510301,518989,45611.33,207,1
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,1,obfuscated_v2,200,200,66,5,128,1,0.97,0.97,0.929577,0.985075,0.037594,0.962406,0.97374,0.956522,0.934565,1.0,1.0,0,520905,520905,34552.79,212,1
|
||||
2,Frontier,gemini-4-argon,Gemini 4 Argon,3,2,comments_removed,200,200,66,7,126,1,0.96,0.96,0.90411,0.985075,0.052632,0.947368,0.966222,0.942857,0.91416,1.0,1.0,0,479970,479970,15272.72,204,1
|
||||
tier,model,condition,n_all,n_in_scope,tp,fp,tn,fn,accuracy,strict_accuracy,precision,recall,fpr,tnr,balanced_accuracy,f1,mcc,category_accuracy_tp,cwe_accuracy_tp,wrong_category_tp,total_tokens_final,total_tokens_all_attempts,mean_latency_ms_in_scope,api_calls_all_attempts,token_data_available
|
||||
0,0,0,200,200,30,26,107,37,0.685,0.685,0.535714,0.447761,0.195489,0.804511,0.626136,0.487805,0.26519,1.0,1.0,0,0,0,0.0,0,0
|
||||
0,0,1,200,200,29,24,109,38,0.69,0.69,0.54717,0.432836,0.180451,0.819549,0.626192,0.483333,0.269917,1.0,1.0,0,0,0,0.0,0,0
|
||||
0,0,2,200,200,30,26,107,37,0.685,0.685,0.535714,0.447761,0.195489,0.804511,0.626136,0.487805,0.26519,1.0,1.0,0,0,0,0.0,0,0
|
||||
0,1,0,200,200,12,14,119,55,0.655,0.655,0.461538,0.179104,0.105263,0.894737,0.536921,0.258065,0.103634,1.0,1.0,0,0,0,0.0,0,0
|
||||
0,1,1,200,200,11,13,120,56,0.655,0.655,0.458333,0.164179,0.097744,0.902256,0.533217,0.241758,0.096493,1.0,1.0,0,0,0,0.0,0,0
|
||||
0,1,2,200,200,12,14,119,55,0.655,0.655,0.461538,0.179104,0.105263,0.894737,0.536921,0.258065,0.103634,1.0,1.0,0,0,0,0.0,0,0
|
||||
1,2,0,200,200,65,14,119,2,0.92,0.92,0.822785,0.970149,0.105263,0.894737,0.932443,0.890411,0.835057,1.0,1.0,0,378040,378040,8910.91,200,1
|
||||
1,2,1,200,200,67,18,115,0,0.91,0.91,0.788235,1.0,0.135338,0.864662,0.932331,0.881579,0.825565,1.0,1.0,0,505773,505773,15383.79,200,1
|
||||
1,2,2,200,200,67,17,116,0,0.915,0.915,0.797619,1.0,0.12782,0.87218,0.93609,0.887417,0.834067,1.0,1.0,0,383990,383990,13495.45,200,1
|
||||
2,3,0,200,200,66,4,129,1,0.975,0.975,0.942857,0.985075,0.030075,0.969925,0.9775,0.963504,0.94503,1.0,1.0,0,510301,518989,45611.33,207,1
|
||||
2,3,1,200,200,66,5,128,1,0.97,0.97,0.929577,0.985075,0.037594,0.962406,0.97374,0.956522,0.934565,1.0,1.0,0,520905,520905,34552.79,212,1
|
||||
2,3,2,200,200,66,7,126,1,0.96,0.96,0.90411,0.985075,0.052632,0.947368,0.966222,0.942857,0.91416,1.0,1.0,0,479970,479970,15272.72,204,1
|
||||
|
Binary file not shown.
@@ -10,12 +10,8 @@ GET DATA
|
||||
/FIRSTCASE=2
|
||||
/VARIABLES=
|
||||
tier F1.0
|
||||
tier_label A20
|
||||
model A30
|
||||
model_label A30
|
||||
model_order F1.0
|
||||
model F1.0
|
||||
condition F1.0
|
||||
condition_label A20
|
||||
n_all F5.0
|
||||
n_in_scope F5.0
|
||||
tp F5.0
|
||||
@@ -43,10 +39,9 @@ GET DATA
|
||||
DATASET NAME sast_all_summary WINDOW=FRONT.
|
||||
|
||||
VARIABLE LABELS
|
||||
tier 'Capability tier' tier_label 'Capability tier label'
|
||||
model 'Detector/model identifier' model_label 'Detector/model display name'
|
||||
model_order 'Display order'
|
||||
condition 'Dataset condition' condition_label 'Dataset condition label'
|
||||
tier 'Capability tier'
|
||||
model 'Detector'
|
||||
condition 'Dataset condition'
|
||||
n_all 'Samples in run' n_in_scope 'Samples in target scope'
|
||||
tp 'True positives' fp 'False positives' tn 'True negatives' fn 'False negatives'
|
||||
accuracy 'Flag accuracy' strict_accuracy 'Strict accuracy (flag + CWE)'
|
||||
@@ -65,10 +60,11 @@ VARIABLE LABELS
|
||||
|
||||
VALUE LABELS
|
||||
tier 0 'Traditional SAST' 1 'Open-weight' 2 'Frontier'
|
||||
model 0 'Bandit' 1 'Semgrep' 2 'DeepSeek V4.1 Flash' 3 'Gemini 4 Argon'
|
||||
condition 0 'Original' 1 'Obfuscated v2' 2 'Comments removed'
|
||||
token_data_available 0 'No' 1 'Yes'
|
||||
.
|
||||
EXECUTE.
|
||||
|
||||
SORT CASES BY model_order condition.
|
||||
SORT CASES BY model condition.
|
||||
LIST ALL.
|
||||
Binary file not shown.
Reference in new issue
Block a user