Update README.md
Browse files
README.md
CHANGED
@@ -20,6 +20,35 @@ dataset_info:
|
|
20 |
dataset_size: 87854
|
21 |
license: apache-2.0
|
22 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
# Static Analysis Eval Benchmark
|
24 |
|
25 |
A dataset of 76 Python programs taken from real Python open source projects (top 1000 on GitHub),
|
|
|
20 |
dataset_size: 87854
|
21 |
license: apache-2.0
|
22 |
---
|
23 |
+
|
24 |
+
# New Version of Static Analysis Eval (Aug 20, 2024)
|
25 |
+
|
26 |
+
We have created a new version of the benchmark with instances that are harder than the previous one. There has been a lot of progress in models
|
27 |
+
over the last year as a result the previous version of the benchmark was saturated. The methodology is the same, we have also released the
|
28 |
+
dataset generation script which scans the top 100 Python projects to generate the instances. You can see it [here](). The same eval script
|
29 |
+
works as before. You do not need to login to Semgrep anymore as we only use their OSS rules for this version of the benchmark.
|
30 |
+
|
31 |
+
The highest score a model can get on this benchmark is 100% you can see the
|
32 |
+
oracle (assuming all vulnerabilities can be fixed) run logs [here]().
|
33 |
+
|
34 |
+
# New Evaluation
|
35 |
+
|
36 |
+
| Model | Score | Logs |
|
37 |
+
|:-----:|:-----:|:----:|
|
38 |
+
| gpt-4o-mini | | [link]()|
|
39 |
+
| gpt-4o-mini + 3-shot prompt | | [link]()|
|
40 |
+
| gpt-4o-mini + rag (embedding & reranking) | | [link]() |
|
41 |
+
| gpt-4o-mini + fine-tuned with [synth-vuln-fixes](https://huggingface.co/datasets/patched-codes/synth-vuln-fixes) | 77.63 | [link]() |
|
42 |
+
|
43 |
+
|
44 |
+
| Model | Score | Logs |
|
45 |
+
|:-----:|:-----:|:----:|
|
46 |
+
| gpt-4o | 68.42 | [link]()|
|
47 |
+
| gpt-4o + 3-shot prompt | 77.63 | [link]()|
|
48 |
+
| gpt-4o + rag (embedding & reranking) | 77.63 | [link]() |
|
49 |
+
| gpt-4o + fine-tuned with [synth-vuln-fixes](https://huggingface.co/datasets/patched-codes/synth-vuln-fixes) | 77.63 | [link]() |
|
50 |
+
|
51 |
+
|
52 |
# Static Analysis Eval Benchmark
|
53 |
|
54 |
A dataset of 76 Python programs taken from real Python open source projects (top 1000 on GitHub),
|