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.
2.2 KiB
2.2 KiB
| 1 | variable | label | type | values |
|---|---|---|---|---|
| 2 | sample_id | Benchmark test identifier | string | BenchmarkTestNNNNN |
| 3 | tier | Capability tier | numeric | 0=Traditional SAST; 1=Open-weight; 2=Frontier |
| 4 | model | Detector | numeric | 0=Bandit; 1=Semgrep; 2=DeepSeek V4.1 Flash; 3=Argon |
| 5 | condition | Dataset condition | numeric | 0=original; 1=obfuscated_v2; 2=comments_removed |
| 6 | in_scope | In prompt target scope | numeric | 0=out; 1=in |
| 7 | expected_vuln | Ground-truth vulnerability flag | numeric | 0=No; 1=Yes |
| 8 | predicted_vuln | Detector vulnerability flag | numeric | 0=No; 1=Yes |
| 9 | correct_flag | Prediction matches ground truth | numeric | 0=no; 1=yes |
| 10 | tp | True positive indicator | numeric | 0/1 |
| 11 | fp | False positive indicator | numeric | 0/1 |
| 12 | tn | True negative indicator | numeric | 0/1 |
| 13 | fn | False negative indicator | numeric | 0/1 |
| 14 | expected_category | Ground-truth category label | string | see category codes |
| 15 | expected_category_code | Ground-truth category code | numeric | 0=None; 1=pathtraver; ...; 99=other |
| 16 | predicted_category | Predicted category label | string | see category codes |
| 17 | predicted_category_code | Predicted category code | numeric | same as expected_category_code |
| 18 | expected_cwe | Ground-truth CWE label | string | CWE-N or None |
| 19 | expected_cwe_num | Ground-truth CWE number | numeric | 0=None |
| 20 | predicted_cwe | Predicted CWE label | string | CWE-N or None |
| 21 | predicted_cwe_num | Predicted CWE number | numeric | 0=None |
| 22 | category_correct | Predicted category matches ground truth among TP | numeric | 0=no; 1=yes |
| 23 | cwe_correct | Predicted CWE matches ground truth among TP | numeric | 0=no; 1=yes |
| 24 | strict_correct | Flag and CWE both match ground truth | numeric | 0=no; 1=yes |
| 25 | wrong_category_tp | Vulnerable sample flagged vulnerable but wrong category | numeric | 0=no; 1=yes |
| 26 | parse_ok | Response parsed as valid JSON | numeric | 0=no; 1=yes |
| 27 | prompt_tokens | Prompt tokens (final attempt) | numeric | count; 0 for SAST tools |
| 28 | completion_tokens | Completion tokens (final attempt) | numeric | count; 0 for SAST tools |
| 29 | total_tokens | Total tokens (final attempt) | numeric | count; 0 for SAST tools |
| 30 | latency_ms | Request latency | numeric | milliseconds; 0 for SAST tools |
| 31 | calls | Calls used for this sample | numeric | count; 0 for SAST tools |
| 32 | run_id | Run identifier | string | text |
| 33 | prompt_hash | SHA-256 of the system prompt | string | hex or NA |
| 34 | findings | Number of target-category SAST findings | numeric | 0 for LLMs |
| 35 | token_data_available | Token/latency data available | numeric | 0=SAST; 1=LLM |