securevibebench 0.2.1__tar.gz → 0.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {securevibebench-0.2.1 → securevibebench-0.2.2}/MANIFEST.in +1 -2
- {securevibebench-0.2.1/securevibebench.egg-info → securevibebench-0.2.2}/PKG-INFO +5 -13
- {securevibebench-0.2.1 → securevibebench-0.2.2}/README.md +3 -11
- {securevibebench-0.2.1 → securevibebench-0.2.2}/docs/README.md +1 -1
- {securevibebench-0.2.1 → securevibebench-0.2.2}/docs/changeLog.md +8 -0
- {securevibebench-0.2.1 → securevibebench-0.2.2}/pyproject.toml +3 -3
- {securevibebench-0.2.1 → securevibebench-0.2.2/securevibebench.egg-info}/PKG-INFO +5 -13
- {securevibebench-0.2.1 → securevibebench-0.2.2}/securevibebench.egg-info/SOURCES.txt +2 -6
- {securevibebench-0.2.1 → securevibebench-0.2.2/tools}/build_backend.py +1 -1
- {securevibebench-0.2.1 → securevibebench-0.2.2}/uv.lock +1 -1
- securevibebench-0.2.1/evaluation/prepare.sh +0 -5
- securevibebench-0.2.1/evaluation/run.sh +0 -11
- securevibebench-0.2.1/evaluation/setup.sh +0 -4
- securevibebench-0.2.1/tools/download_dataset.py +0 -13
- {securevibebench-0.2.1 → securevibebench-0.2.2}/LICENSE +0 -0
- {securevibebench-0.2.1 → securevibebench-0.2.2/docs}/THIRD_PARTY_NOTICES.md +0 -0
- {securevibebench-0.2.1 → securevibebench-0.2.2}/evaluation/__init__.py +0 -0
- {securevibebench-0.2.1 → securevibebench-0.2.2}/evaluation/__main__.py +0 -0
- {securevibebench-0.2.1 → securevibebench-0.2.2}/evaluation/bootstrap.py +0 -0
- {securevibebench-0.2.1 → securevibebench-0.2.2}/evaluation/cli.py +0 -0
- {securevibebench-0.2.1 → securevibebench-0.2.2}/evaluation/editable_mini.py +0 -0
- {securevibebench-0.2.1 → securevibebench-0.2.2}/evaluation/harbor.yaml +0 -0
- {securevibebench-0.2.1 → securevibebench-0.2.2}/evaluation/hf_verifier.py +0 -0
- {securevibebench-0.2.1 → securevibebench-0.2.2}/evaluation/mini-source.tar.gz +0 -0
- {securevibebench-0.2.1 → securevibebench-0.2.2}/evaluation/resources.json +0 -0
- {securevibebench-0.2.1 → securevibebench-0.2.2}/evaluation/resources.py +0 -0
- {securevibebench-0.2.1 → securevibebench-0.2.2}/evaluation/run.py +0 -0
- {securevibebench-0.2.1 → securevibebench-0.2.2}/securevibebench.egg-info/dependency_links.txt +0 -0
- {securevibebench-0.2.1 → securevibebench-0.2.2}/securevibebench.egg-info/entry_points.txt +0 -0
- {securevibebench-0.2.1 → securevibebench-0.2.2}/securevibebench.egg-info/requires.txt +0 -0
- {securevibebench-0.2.1 → securevibebench-0.2.2}/securevibebench.egg-info/top_level.txt +0 -0
- {securevibebench-0.2.1 → securevibebench-0.2.2}/setup.cfg +0 -0
- {securevibebench-0.2.1 → securevibebench-0.2.2}/tests/test_bootstrap.py +0 -0
- {securevibebench-0.2.1 → securevibebench-0.2.2}/tests/test_package.py +0 -0
- {securevibebench-0.2.1 → securevibebench-0.2.2}/tools/bundle_resources.py +0 -0
- {securevibebench-0.2.1 → securevibebench-0.2.2}/tools/install.py +0 -0
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
include LICENSE
|
|
2
|
-
include build_backend.py
|
|
1
|
+
include LICENSE README.md uv.lock
|
|
3
2
|
recursive-include evaluation *.py *.yaml *.sh *.md
|
|
4
3
|
include evaluation/resources.json evaluation/mini-source.tar.gz
|
|
5
4
|
exclude evaluation/resources.tar.gz
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: securevibebench
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Generate and evaluate secure coding agents on SecureVibeBench
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
Project-URL: Homepage, https://github.com/iCSawyer/SecureVibeBench
|
|
@@ -16,7 +16,7 @@ Classifier: Topic :: Software Development :: Testing
|
|
|
16
16
|
Requires-Python: >=3.12
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
License-File: LICENSE
|
|
19
|
-
License-File: THIRD_PARTY_NOTICES.md
|
|
19
|
+
License-File: docs/THIRD_PARTY_NOTICES.md
|
|
20
20
|
Requires-Dist: harbor<0.26.0,>=0.25.0
|
|
21
21
|
Requires-Dist: docker>=7.1.0
|
|
22
22
|
Requires-Dist: pyyaml>=6.0.2
|
|
@@ -39,7 +39,7 @@ Dynamic: license-file
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
> [!IMPORTANT]
|
|
42
|
-
> **SecureVibeBench is now v0.2!** Just try `pip install securevibebench`!
|
|
42
|
+
> **SecureVibeBench is now v0.2!** Just try `pip install -U securevibebench`!
|
|
43
43
|
>
|
|
44
44
|
> We are updating the evaluation criteria and workflow currently, so **the results obtained may differ from v0.1**.
|
|
45
45
|
> Please report any usage issues you encouter via Issues or my [email](mailto:junkaichen@smu.edu.sg), and we will investigate and fix as soon as possible. 🙏
|
|
@@ -48,7 +48,6 @@ Dynamic: license-file
|
|
|
48
48
|
✨ <a href="#nav-news">News</a>
|
|
49
49
|
| 🛠️ <a href="#nav-quick-start">Quick Start</a>
|
|
50
50
|
| 🔭 <a href="#nav-overview">Overview</a>
|
|
51
|
-
| 🗺️ <a href="#nav-roadmap">Roadmap</a>
|
|
52
51
|
| 📚 <a href="#nav-citation">Citation</a>
|
|
53
52
|
| 🙏 <a href="#nav-acknowledgments">Acknowledgments</a>
|
|
54
53
|
</p>
|
|
@@ -75,11 +74,11 @@ Requirements: Python 3.12+, Linux, and Docker.
|
|
|
75
74
|
We recommend [uv](https://docs.astral.sh/uv/getting-started/installation/) for managing Python environments.
|
|
76
75
|
|
|
77
76
|
```bash
|
|
78
|
-
uv pip install securevibebench
|
|
77
|
+
uv pip install -U securevibebench
|
|
79
78
|
```
|
|
80
79
|
```bash
|
|
81
80
|
# Or with pip
|
|
82
|
-
pip install securevibebench
|
|
81
|
+
pip install -U securevibebench
|
|
83
82
|
```
|
|
84
83
|
|
|
85
84
|
Task containers will be prepared when the real evaluation starts.
|
|
@@ -130,13 +129,6 @@ To comprehensively evaluate the generated code of code agents, we conduct (i) **
|
|
|
130
129
|
> - No other secure coding benchmark considering (i) functional correctness, (ii) PoV-based evaluation, and (iii) SAST tool-based new security issue detection.
|
|
131
130
|
|
|
132
131
|
|
|
133
|
-
<a id="nav-roadmap"></a>
|
|
134
|
-
|
|
135
|
-
## 🗺️ Roadmap
|
|
136
|
-
|
|
137
|
-
- [ ] **Cascaded LLM-as-a-judge.** Add an LLM judge as a final stage after the functional checks. Its verdicts would be reported separately so they don't change the existing scores.
|
|
138
|
-
|
|
139
|
-
|
|
140
132
|
<a id="nav-citation"></a>
|
|
141
133
|
|
|
142
134
|
## 📚 Citation
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
> [!IMPORTANT]
|
|
17
|
-
> **SecureVibeBench is now v0.2!** Just try `pip install securevibebench`!
|
|
17
|
+
> **SecureVibeBench is now v0.2!** Just try `pip install -U securevibebench`!
|
|
18
18
|
>
|
|
19
19
|
> We are updating the evaluation criteria and workflow currently, so **the results obtained may differ from v0.1**.
|
|
20
20
|
> Please report any usage issues you encouter via Issues or my [email](mailto:junkaichen@smu.edu.sg), and we will investigate and fix as soon as possible. 🙏
|
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
✨ <a href="#nav-news">News</a>
|
|
24
24
|
| 🛠️ <a href="#nav-quick-start">Quick Start</a>
|
|
25
25
|
| 🔭 <a href="#nav-overview">Overview</a>
|
|
26
|
-
| 🗺️ <a href="#nav-roadmap">Roadmap</a>
|
|
27
26
|
| 📚 <a href="#nav-citation">Citation</a>
|
|
28
27
|
| 🙏 <a href="#nav-acknowledgments">Acknowledgments</a>
|
|
29
28
|
</p>
|
|
@@ -50,11 +49,11 @@ Requirements: Python 3.12+, Linux, and Docker.
|
|
|
50
49
|
We recommend [uv](https://docs.astral.sh/uv/getting-started/installation/) for managing Python environments.
|
|
51
50
|
|
|
52
51
|
```bash
|
|
53
|
-
uv pip install securevibebench
|
|
52
|
+
uv pip install -U securevibebench
|
|
54
53
|
```
|
|
55
54
|
```bash
|
|
56
55
|
# Or with pip
|
|
57
|
-
pip install securevibebench
|
|
56
|
+
pip install -U securevibebench
|
|
58
57
|
```
|
|
59
58
|
|
|
60
59
|
Task containers will be prepared when the real evaluation starts.
|
|
@@ -105,13 +104,6 @@ To comprehensively evaluate the generated code of code agents, we conduct (i) **
|
|
|
105
104
|
> - No other secure coding benchmark considering (i) functional correctness, (ii) PoV-based evaluation, and (iii) SAST tool-based new security issue detection.
|
|
106
105
|
|
|
107
106
|
|
|
108
|
-
<a id="nav-roadmap"></a>
|
|
109
|
-
|
|
110
|
-
## 🗺️ Roadmap
|
|
111
|
-
|
|
112
|
-
- [ ] **Cascaded LLM-as-a-judge.** Add an LLM judge as a final stage after the functional checks. Its verdicts would be reported separately so they don't change the existing scores.
|
|
113
|
-
|
|
114
|
-
|
|
115
107
|
<a id="nav-citation"></a>
|
|
116
108
|
|
|
117
109
|
## 📚 Citation
|
|
@@ -90,4 +90,4 @@ uv build --sdist
|
|
|
90
90
|
uv run twine check dist/*.tar.gz
|
|
91
91
|
```
|
|
92
92
|
|
|
93
|
-
With pip, use `python -m unittest discover -s tests -v`, `python -m build --sdist`, and `python -m twine check dist/*.tar.gz` instead.
|
|
93
|
+
With pip, use `python -m unittest discover -s tests -v`, `python -m build --sdist`, and `python -m twine check dist/*.tar.gz` instead. Pushing a `v<version>` tag publishes the source archive to PyPI through `.github/workflows/package.yml`. Development dependencies are installed by `tools/install.py --dev`. To refresh release resources, run `python tools/bundle_resources.py` (requires Git).
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## Roadmap
|
|
4
|
+
|
|
5
|
+
- [ ] **Cascaded LLM-as-a-judge.** Add an LLM judge as a final stage after the functional checks. Its verdicts would be reported separately so they don't change the existing scores.
|
|
6
|
+
|
|
7
|
+
## v0.2.2
|
|
8
|
+
|
|
9
|
+
- Minor changes: the README install commands use `pip install -U`, the roadmap moved into this change log, and repository files were reorganized. Evaluation is unchanged.
|
|
10
|
+
|
|
3
11
|
## v0.2.1
|
|
4
12
|
|
|
5
13
|
- **Bug fix: functional evaluation of task 10172 and the other Wireshark tasks.** Their test scripts run `ctest -j`, which interleaves output from concurrent tests. The parser could attach a test name to another test's status and also counted summaries such as `OK (skipped=2)` as tests. For example, a 10172 patch that passed every test scored `functional = 0`. The parser now reads each test's output on its own. Functional scores for these tasks can differ from v0.2.0 and v0.1; other tasks are unaffected. The dataset is pinned to HF `habour-preview` commit `5fa48dd`.
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
[build-system]
|
|
2
2
|
requires = ["setuptools>=77"]
|
|
3
3
|
build-backend = "build_backend"
|
|
4
|
-
backend-path = ["
|
|
4
|
+
backend-path = ["tools"]
|
|
5
5
|
|
|
6
6
|
[project]
|
|
7
7
|
name = "securevibebench"
|
|
8
|
-
version = "0.2.
|
|
8
|
+
version = "0.2.2"
|
|
9
9
|
description = "Generate and evaluate secure coding agents on SecureVibeBench"
|
|
10
10
|
readme = "README.md"
|
|
11
11
|
requires-python = ">=3.12"
|
|
12
12
|
license = "MIT"
|
|
13
|
-
license-files = ["LICENSE", "THIRD_PARTY_NOTICES.md"]
|
|
13
|
+
license-files = ["LICENSE", "docs/THIRD_PARTY_NOTICES.md"]
|
|
14
14
|
classifiers = [
|
|
15
15
|
"Development Status :: 4 - Beta",
|
|
16
16
|
"Intended Audience :: Science/Research",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: securevibebench
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Generate and evaluate secure coding agents on SecureVibeBench
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
Project-URL: Homepage, https://github.com/iCSawyer/SecureVibeBench
|
|
@@ -16,7 +16,7 @@ Classifier: Topic :: Software Development :: Testing
|
|
|
16
16
|
Requires-Python: >=3.12
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
License-File: LICENSE
|
|
19
|
-
License-File: THIRD_PARTY_NOTICES.md
|
|
19
|
+
License-File: docs/THIRD_PARTY_NOTICES.md
|
|
20
20
|
Requires-Dist: harbor<0.26.0,>=0.25.0
|
|
21
21
|
Requires-Dist: docker>=7.1.0
|
|
22
22
|
Requires-Dist: pyyaml>=6.0.2
|
|
@@ -39,7 +39,7 @@ Dynamic: license-file
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
> [!IMPORTANT]
|
|
42
|
-
> **SecureVibeBench is now v0.2!** Just try `pip install securevibebench`!
|
|
42
|
+
> **SecureVibeBench is now v0.2!** Just try `pip install -U securevibebench`!
|
|
43
43
|
>
|
|
44
44
|
> We are updating the evaluation criteria and workflow currently, so **the results obtained may differ from v0.1**.
|
|
45
45
|
> Please report any usage issues you encouter via Issues or my [email](mailto:junkaichen@smu.edu.sg), and we will investigate and fix as soon as possible. 🙏
|
|
@@ -48,7 +48,6 @@ Dynamic: license-file
|
|
|
48
48
|
✨ <a href="#nav-news">News</a>
|
|
49
49
|
| 🛠️ <a href="#nav-quick-start">Quick Start</a>
|
|
50
50
|
| 🔭 <a href="#nav-overview">Overview</a>
|
|
51
|
-
| 🗺️ <a href="#nav-roadmap">Roadmap</a>
|
|
52
51
|
| 📚 <a href="#nav-citation">Citation</a>
|
|
53
52
|
| 🙏 <a href="#nav-acknowledgments">Acknowledgments</a>
|
|
54
53
|
</p>
|
|
@@ -75,11 +74,11 @@ Requirements: Python 3.12+, Linux, and Docker.
|
|
|
75
74
|
We recommend [uv](https://docs.astral.sh/uv/getting-started/installation/) for managing Python environments.
|
|
76
75
|
|
|
77
76
|
```bash
|
|
78
|
-
uv pip install securevibebench
|
|
77
|
+
uv pip install -U securevibebench
|
|
79
78
|
```
|
|
80
79
|
```bash
|
|
81
80
|
# Or with pip
|
|
82
|
-
pip install securevibebench
|
|
81
|
+
pip install -U securevibebench
|
|
83
82
|
```
|
|
84
83
|
|
|
85
84
|
Task containers will be prepared when the real evaluation starts.
|
|
@@ -130,13 +129,6 @@ To comprehensively evaluate the generated code of code agents, we conduct (i) **
|
|
|
130
129
|
> - No other secure coding benchmark considering (i) functional correctness, (ii) PoV-based evaluation, and (iii) SAST tool-based new security issue detection.
|
|
131
130
|
|
|
132
131
|
|
|
133
|
-
<a id="nav-roadmap"></a>
|
|
134
|
-
|
|
135
|
-
## 🗺️ Roadmap
|
|
136
|
-
|
|
137
|
-
- [ ] **Cascaded LLM-as-a-judge.** Add an LLM judge as a final stage after the functional checks. Its verdicts would be reported separately so they don't change the existing scores.
|
|
138
|
-
|
|
139
|
-
|
|
140
132
|
<a id="nav-citation"></a>
|
|
141
133
|
|
|
142
134
|
## 📚 Citation
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
LICENSE
|
|
2
2
|
MANIFEST.in
|
|
3
3
|
README.md
|
|
4
|
-
THIRD_PARTY_NOTICES.md
|
|
5
|
-
build_backend.py
|
|
6
4
|
pyproject.toml
|
|
7
5
|
uv.lock
|
|
8
6
|
docs/README.md
|
|
7
|
+
docs/THIRD_PARTY_NOTICES.md
|
|
9
8
|
docs/changeLog.md
|
|
10
9
|
evaluation/__init__.py
|
|
11
10
|
evaluation/__main__.py
|
|
@@ -15,12 +14,9 @@ evaluation/editable_mini.py
|
|
|
15
14
|
evaluation/harbor.yaml
|
|
16
15
|
evaluation/hf_verifier.py
|
|
17
16
|
evaluation/mini-source.tar.gz
|
|
18
|
-
evaluation/prepare.sh
|
|
19
17
|
evaluation/resources.json
|
|
20
18
|
evaluation/resources.py
|
|
21
19
|
evaluation/run.py
|
|
22
|
-
evaluation/run.sh
|
|
23
|
-
evaluation/setup.sh
|
|
24
20
|
securevibebench.egg-info/PKG-INFO
|
|
25
21
|
securevibebench.egg-info/SOURCES.txt
|
|
26
22
|
securevibebench.egg-info/dependency_links.txt
|
|
@@ -29,6 +25,6 @@ securevibebench.egg-info/requires.txt
|
|
|
29
25
|
securevibebench.egg-info/top_level.txt
|
|
30
26
|
tests/test_bootstrap.py
|
|
31
27
|
tests/test_package.py
|
|
28
|
+
tools/build_backend.py
|
|
32
29
|
tools/bundle_resources.py
|
|
33
|
-
tools/download_dataset.py
|
|
34
30
|
tools/install.py
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env python3
|
|
2
|
-
"""Download and verify the pinned HF dataset for release maintenance."""
|
|
3
|
-
|
|
4
|
-
import importlib.util
|
|
5
|
-
from pathlib import Path
|
|
6
|
-
|
|
7
|
-
path = Path(__file__).resolve().parents[1] / "evaluation/bootstrap.py"
|
|
8
|
-
spec = importlib.util.spec_from_file_location("svb_bootstrap", path)
|
|
9
|
-
module = importlib.util.module_from_spec(spec)
|
|
10
|
-
spec.loader.exec_module(module)
|
|
11
|
-
|
|
12
|
-
if __name__ == "__main__":
|
|
13
|
-
raise SystemExit(module.main(download_only=True))
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{securevibebench-0.2.1 → securevibebench-0.2.2}/securevibebench.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|