Files
ResearchMethods_Project/validation/spss_all/codebook.csv
T
Joren 303cf016be 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.
2026-11-21 15:12:39 +01:00

2.2 KiB

1variablelabeltypevalues
2sample_idBenchmark test identifierstringBenchmarkTestNNNNN
3tierCapability tiernumeric0=Traditional SAST; 1=Open-weight; 2=Frontier
4modelDetectornumeric0=Bandit; 1=Semgrep; 2=DeepSeek V4.1 Flash; 3=Argon
5conditionDataset conditionnumeric0=original; 1=obfuscated_v2; 2=comments_removed
6in_scopeIn prompt target scopenumeric0=out; 1=in
7expected_vulnGround-truth vulnerability flagnumeric0=No; 1=Yes
8predicted_vulnDetector vulnerability flagnumeric0=No; 1=Yes
9correct_flagPrediction matches ground truthnumeric0=no; 1=yes
10tpTrue positive indicatornumeric0/1
11fpFalse positive indicatornumeric0/1
12tnTrue negative indicatornumeric0/1
13fnFalse negative indicatornumeric0/1
14expected_categoryGround-truth category labelstringsee category codes
15expected_category_codeGround-truth category codenumeric0=None; 1=pathtraver; ...; 99=other
16predicted_categoryPredicted category labelstringsee category codes
17predicted_category_codePredicted category codenumericsame as expected_category_code
18expected_cweGround-truth CWE labelstringCWE-N or None
19expected_cwe_numGround-truth CWE numbernumeric0=None
20predicted_cwePredicted CWE labelstringCWE-N or None
21predicted_cwe_numPredicted CWE numbernumeric0=None
22category_correctPredicted category matches ground truth among TPnumeric0=no; 1=yes
23cwe_correctPredicted CWE matches ground truth among TPnumeric0=no; 1=yes
24strict_correctFlag and CWE both match ground truthnumeric0=no; 1=yes
25wrong_category_tpVulnerable sample flagged vulnerable but wrong categorynumeric0=no; 1=yes
26parse_okResponse parsed as valid JSONnumeric0=no; 1=yes
27prompt_tokensPrompt tokens (final attempt)numericcount; 0 for SAST tools
28completion_tokensCompletion tokens (final attempt)numericcount; 0 for SAST tools
29total_tokensTotal tokens (final attempt)numericcount; 0 for SAST tools
30latency_msRequest latencynumericmilliseconds; 0 for SAST tools
31callsCalls used for this samplenumericcount; 0 for SAST tools
32run_idRun identifierstringtext
33prompt_hashSHA-256 of the system promptstringhex or NA
34findingsNumber of target-category SAST findingsnumeric0 for LLMs
35token_data_availableToken/latency data availablenumeric0=SAST; 1=LLM