Datasets:

Modalities:
Text
Formats:
parquet
Size:
< 1K
ArXiv:
DOI:
Libraries:
Datasets
pandas
License:
File size: 2,333 Bytes
ae96f17
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2f0a0a7
6af814e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
dataset_info:
  features:
  - name: source
    dtype: string
  - name: file_name
    dtype: string
  - name: cwe
    dtype: string
  splits:
  - name: train
    num_bytes: 87854
    num_examples: 76
  download_size: 53832
  dataset_size: 87854
---
# Dataset Card for "static-analysis-eval"

A dataset of 76 Python programs taken from real Python open source projects (top 1000 on GitHub), 
where each program is a file that has exactly 1 vulnerability as detected by a particular static analyzer (Semgrep).

# Leaderboard

| Model                        | StaticAnalysisEval (%) | Time (mins) | Price (USD) |
|------------------------------|------------------------|-------------|-------------|
| gpt-4o                       | 69.736                 | 23:05       | 1.53        |
| Llama-3-70B                  | 65.78                  | 35:26       |             |
| Llama-3-8B                   | 65.78                  | 31.34       |             |
| gpt-4-1106-preview           | 64.47                  | 27:56:00    | 3.04        |
| gpt-4                        | 63.16                  | 26:31:00    | 6.84        |
| gpt-4-0125-preview           | 53.94                  | 34:40:00    |             |
| patched-coder-7b             | 51.31                  | 45.2        |             |
| patched-coder-34b            | 46.05                  | 33:58:00    | 0.867       |
| Mistral-Large                | 40.8                   | > 1 hr      |             |
| Gemini-pro                   | 39.47                  | 16:09       | 0.228       |
| Mistral-Medium               | 39.47                  | > 1 hr      | 0.8         |
| Mixtral                      | 30.26                  | 30.09       |             |
| gpt-3.5-turbo-0125           | 28.95                  | 21.5        |             |
| claude-3-opus-20240229       | 25                     | > 1 hr      |             |
| Gemma                        | 19.73                  | 36.4        |             |
| gpt-3.5-turbo-1106           | 17.11                  | 13:00       | 0.228       |
| Codellama-70b-Instruct       | 10.53                  | 30.32       |             |
| CodeLlama-34b-Instruct       | 7.89                   | 23:16       |             |