Update README.md
Browse files
README.md
CHANGED
|
@@ -36,22 +36,22 @@ The highest score a model can get on this benchmark is 100%, you can see the ora
|
|
| 36 |
| Model | Score | Logs |
|
| 37 |
|:-----:|:-----:|:----:|
|
| 38 |
| gpt-4o-mini | 52.21 | [link](gpt-4o-mini-0-shot_semgrep_1.85.0_20240820_201236.log)|
|
| 39 |
-
| + 3-shot prompt | 53.10 | [link](gpt-4o-mini-3-shot_semgrep_1.85.0_20240820_213814.log)|
|
| 40 |
-
| + rag (embedding & reranking) | 58.41 | [link](gpt-4o-mini-3-shot-sim_semgrep_1.85.0_20240821_023541.log) |
|
| 41 |
-
| + fine-tuned with [synth-vuln-fixes](https://huggingface.co/datasets/patched-codes/synth-vuln-fixes) | | [link]() |
|
| 42 |
|
| 43 |
|
| 44 |
| Model | Score | Logs |
|
| 45 |
|:-----:|:-----:|:----:|
|
| 46 |
| gpt-4o | 53.10 | [link](gpt-4o-0-shot_semgrep_1.85.0_20240820_210136.log)|
|
| 47 |
-
| + 3-shot prompt | 53.98 | [link](gpt-4o-3-shot_semgrep_1.85.0_20240820_215534.log)|
|
| 48 |
-
| + rag (embedding & reranking) | 56.64 | [link](gpt-4o-3-shot-sim_semgrep_1.85.0_20240821_025455.log) |
|
| 49 |
-
| + fine-tuned with [synth-vuln-fixes](https://huggingface.co/datasets/patched-codes/synth-vuln-fixes) | | [link]() |
|
| 50 |
|
| 51 |
|
| 52 |
# Static Analysis Eval Benchmark
|
| 53 |
|
| 54 |
-
A dataset of 76 Python programs taken from real Python open source projects (top
|
| 55 |
where each program is a file that has exactly 1 vulnerability as detected by a particular static analyzer (Semgrep).
|
| 56 |
|
| 57 |
You can run the `_script_for_eval.py` script to check the results.
|
|
|
|
| 36 |
| Model | Score | Logs |
|
| 37 |
|:-----:|:-----:|:----:|
|
| 38 |
| gpt-4o-mini | 52.21 | [link](gpt-4o-mini-0-shot_semgrep_1.85.0_20240820_201236.log)|
|
| 39 |
+
| gpt-4o-mini + 3-shot prompt | 53.10 | [link](gpt-4o-mini-3-shot_semgrep_1.85.0_20240820_213814.log)|
|
| 40 |
+
| gpt-4o-mini + rag (embedding & reranking) | 58.41 | [link](gpt-4o-mini-3-shot-sim_semgrep_1.85.0_20240821_023541.log) |
|
| 41 |
+
| gpt-4o-mini + fine-tuned with [synth-vuln-fixes](https://huggingface.co/datasets/patched-codes/synth-vuln-fixes) | | [link]() |
|
| 42 |
|
| 43 |
|
| 44 |
| Model | Score | Logs |
|
| 45 |
|:-----:|:-----:|:----:|
|
| 46 |
| gpt-4o | 53.10 | [link](gpt-4o-0-shot_semgrep_1.85.0_20240820_210136.log)|
|
| 47 |
+
| gpt-4o-mini + 3-shot prompt | 53.98 | [link](gpt-4o-3-shot_semgrep_1.85.0_20240820_215534.log)|
|
| 48 |
+
| gpt-4o-mini + rag (embedding & reranking) | 56.64 | [link](gpt-4o-3-shot-sim_semgrep_1.85.0_20240821_025455.log) |
|
| 49 |
+
| gpt-4o-mini + fine-tuned with [synth-vuln-fixes](https://huggingface.co/datasets/patched-codes/synth-vuln-fixes) | | [link]() |
|
| 50 |
|
| 51 |
|
| 52 |
# Static Analysis Eval Benchmark
|
| 53 |
|
| 54 |
+
A dataset of 76 Python programs taken from real Python open source projects (top 100 on GitHub),
|
| 55 |
where each program is a file that has exactly 1 vulnerability as detected by a particular static analyzer (Semgrep).
|
| 56 |
|
| 57 |
You can run the `_script_for_eval.py` script to check the results.
|