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.
Files changed (36) hide show
  1. {securevibebench-0.2.1 → securevibebench-0.2.2}/MANIFEST.in +1 -2
  2. {securevibebench-0.2.1/securevibebench.egg-info → securevibebench-0.2.2}/PKG-INFO +5 -13
  3. {securevibebench-0.2.1 → securevibebench-0.2.2}/README.md +3 -11
  4. {securevibebench-0.2.1 → securevibebench-0.2.2}/docs/README.md +1 -1
  5. {securevibebench-0.2.1 → securevibebench-0.2.2}/docs/changeLog.md +8 -0
  6. {securevibebench-0.2.1 → securevibebench-0.2.2}/pyproject.toml +3 -3
  7. {securevibebench-0.2.1 → securevibebench-0.2.2/securevibebench.egg-info}/PKG-INFO +5 -13
  8. {securevibebench-0.2.1 → securevibebench-0.2.2}/securevibebench.egg-info/SOURCES.txt +2 -6
  9. {securevibebench-0.2.1 → securevibebench-0.2.2/tools}/build_backend.py +1 -1
  10. {securevibebench-0.2.1 → securevibebench-0.2.2}/uv.lock +1 -1
  11. securevibebench-0.2.1/evaluation/prepare.sh +0 -5
  12. securevibebench-0.2.1/evaluation/run.sh +0 -11
  13. securevibebench-0.2.1/evaluation/setup.sh +0 -4
  14. securevibebench-0.2.1/tools/download_dataset.py +0 -13
  15. {securevibebench-0.2.1 → securevibebench-0.2.2}/LICENSE +0 -0
  16. {securevibebench-0.2.1 → securevibebench-0.2.2/docs}/THIRD_PARTY_NOTICES.md +0 -0
  17. {securevibebench-0.2.1 → securevibebench-0.2.2}/evaluation/__init__.py +0 -0
  18. {securevibebench-0.2.1 → securevibebench-0.2.2}/evaluation/__main__.py +0 -0
  19. {securevibebench-0.2.1 → securevibebench-0.2.2}/evaluation/bootstrap.py +0 -0
  20. {securevibebench-0.2.1 → securevibebench-0.2.2}/evaluation/cli.py +0 -0
  21. {securevibebench-0.2.1 → securevibebench-0.2.2}/evaluation/editable_mini.py +0 -0
  22. {securevibebench-0.2.1 → securevibebench-0.2.2}/evaluation/harbor.yaml +0 -0
  23. {securevibebench-0.2.1 → securevibebench-0.2.2}/evaluation/hf_verifier.py +0 -0
  24. {securevibebench-0.2.1 → securevibebench-0.2.2}/evaluation/mini-source.tar.gz +0 -0
  25. {securevibebench-0.2.1 → securevibebench-0.2.2}/evaluation/resources.json +0 -0
  26. {securevibebench-0.2.1 → securevibebench-0.2.2}/evaluation/resources.py +0 -0
  27. {securevibebench-0.2.1 → securevibebench-0.2.2}/evaluation/run.py +0 -0
  28. {securevibebench-0.2.1 → securevibebench-0.2.2}/securevibebench.egg-info/dependency_links.txt +0 -0
  29. {securevibebench-0.2.1 → securevibebench-0.2.2}/securevibebench.egg-info/entry_points.txt +0 -0
  30. {securevibebench-0.2.1 → securevibebench-0.2.2}/securevibebench.egg-info/requires.txt +0 -0
  31. {securevibebench-0.2.1 → securevibebench-0.2.2}/securevibebench.egg-info/top_level.txt +0 -0
  32. {securevibebench-0.2.1 → securevibebench-0.2.2}/setup.cfg +0 -0
  33. {securevibebench-0.2.1 → securevibebench-0.2.2}/tests/test_bootstrap.py +0 -0
  34. {securevibebench-0.2.1 → securevibebench-0.2.2}/tests/test_package.py +0 -0
  35. {securevibebench-0.2.1 → securevibebench-0.2.2}/tools/bundle_resources.py +0 -0
  36. {securevibebench-0.2.1 → securevibebench-0.2.2}/tools/install.py +0 -0
@@ -1,5 +1,4 @@
1
- include LICENSE THIRD_PARTY_NOTICES.md README.md uv.lock
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.1
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
  ✨&nbsp;<a href="#nav-news">News</a>
49
49
  | 🛠️&nbsp;<a href="#nav-quick-start">Quick Start</a>
50
50
  | 🔭&nbsp;<a href="#nav-overview">Overview</a>
51
- | 🗺️&nbsp;<a href="#nav-roadmap">Roadmap</a>
52
51
  | 📚&nbsp;<a href="#nav-citation">Citation</a>
53
52
  | 🙏&nbsp;<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
  ✨&nbsp;<a href="#nav-news">News</a>
24
24
  | 🛠️&nbsp;<a href="#nav-quick-start">Quick Start</a>
25
25
  | 🔭&nbsp;<a href="#nav-overview">Overview</a>
26
- | 🗺️&nbsp;<a href="#nav-roadmap">Roadmap</a>
27
26
  | 📚&nbsp;<a href="#nav-citation">Citation</a>
28
27
  | 🙏&nbsp;<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. Publish the source archive (`dist/*.tar.gz`) to PyPI. Development dependencies are installed by `tools/install.py --dev`. To refresh release resources, run `python tools/bundle_resources.py` (requires Git).
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.1"
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.1
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
  ✨&nbsp;<a href="#nav-news">News</a>
49
49
  | 🛠️&nbsp;<a href="#nav-quick-start">Quick Start</a>
50
50
  | 🔭&nbsp;<a href="#nav-overview">Overview</a>
51
- | 🗺️&nbsp;<a href="#nav-roadmap">Roadmap</a>
52
51
  | 📚&nbsp;<a href="#nav-citation">Citation</a>
53
52
  | 🙏&nbsp;<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
@@ -14,7 +14,7 @@ import tempfile
14
14
  from setuptools import build_meta as _backend
15
15
 
16
16
 
17
- ROOT = Path(__file__).resolve().parent
17
+ ROOT = Path(__file__).resolve().parents[1]
18
18
 
19
19
 
20
20
  def _prepare_resources() -> None:
@@ -2321,7 +2321,7 @@ wheels = [
2321
2321
 
2322
2322
  [[package]]
2323
2323
  name = "securevibebench"
2324
- version = "0.2.1"
2324
+ version = "0.2.2"
2325
2325
  source = { editable = "." }
2326
2326
  dependencies = [
2327
2327
  { name = "docker" },
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
4
- REPO_ROOT="$(dirname -- "$SCRIPT_DIR")"
5
- exec python3 "$REPO_ROOT/tools/install.py" "$@"
@@ -1,11 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- if [[ "${1:-}" == eval ]]; then
4
- shift
5
- fi
6
- if [[ $# -gt 0 && "$1" != -* ]]; then
7
- MODEL_NAME="$1"
8
- shift
9
- set -- --model "$MODEL_NAME" "$@"
10
- fi
11
- exec python3 -m securevibebench_evaluation eval "$@"
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
4
- exec bash "$SCRIPT_DIR/prepare.sh" "$@"
@@ -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