Update README.md
Browse files
README.md
CHANGED
|
@@ -24,6 +24,15 @@ dataset_info:
|
|
| 24 |
A dataset of 76 Python programs taken from real Python open source projects (top 1000 on GitHub),
|
| 25 |
where each program is a file that has exactly 1 vulnerability as detected by a particular static analyzer (Semgrep).
|
| 26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
# Leaderboard
|
| 28 |
|
| 29 |
The top models on the leaderboard are all fine-tuned using the same dataset that we released called [synth vuln fixes](https://huggingface.co/datasets/patched-codes/synth-vuln-fixes).
|
|
|
|
| 24 |
A dataset of 76 Python programs taken from real Python open source projects (top 1000 on GitHub),
|
| 25 |
where each program is a file that has exactly 1 vulnerability as detected by a particular static analyzer (Semgrep).
|
| 26 |
|
| 27 |
+
You can run the `_script_for_eval.py` to check the results.
|
| 28 |
+
|
| 29 |
+
```
|
| 30 |
+
python3 -m venv .venv
|
| 31 |
+
source .venv/bin/activate
|
| 32 |
+
pip install -r requirements.txt
|
| 33 |
+
python _script_for_eval.py
|
| 34 |
+
```
|
| 35 |
+
|
| 36 |
# Leaderboard
|
| 37 |
|
| 38 |
The top models on the leaderboard are all fine-tuned using the same dataset that we released called [synth vuln fixes](https://huggingface.co/datasets/patched-codes/synth-vuln-fixes).
|