Document invalid BugsInPy bag filtering
Browse files61 unmodified lines6263646566676828 unmodified lines97989910010110210349 unmodified lines15315415515615715861 unmodified lines| Version | Revision | Description ||---|---|---|| v1 | `v1.0.0` | Original published datasets, including the original source text and AST graphs. || v2 | `v2.0.0` | Reconstructed PROMISE, Defactors, BugsInPy, and Big-Vul datasets. Source comments are removed; Python docstrings are also removed. Bag membership, function order, and labels are preserved. AST graphs are regenerated after comment and docstring removal. Devign is not included in this revision. |For example:28 unmodified lines|---|---|---:|---:|---:|---:|---:|| `promise_java` | Java class-level MIL bag | 1,695 bags | 647 / 1,048 (38.17% / 61.83%) | 8 / 26 / 94.12 | N/A: no function-level labels | N/A || `defactors_python` | Python file-level MIL bag | 1,700 bags | 873 / 827 (51.35% / 48.65%) | 18 / 86 / 227.06 | 808 / 873 (92.55%) | 3,190 / 58,028 (5.50%) || `bugsinpy_python` | Python file-level MIL bag | 2,416 bags | 525 / 1,891 (21.73% / 78.27%) | 9 / 79 / 205 | 503 / 525 (95.81%) | 1,076 / 63,818 (1.69%) || `bigvul_c` | C/C++ file-level MIL bag | 1,700 bags | 733 / 967 (43.12% / 56.88%) | 16 / 64 / 279.01 | 733 / 733 (100.00%) | 1,270 / 51,668 (2.46%) || `devign_c` (v1 only) | C/C++ function-level sample | 27,318 samples | 12,460 / 14,858 (45.61% / 54.39%) | N/A: function-level schema | N/A | N/A |49 unmodified linescandidates exist; remaining candidates are sampled from the other files.- Function sampling: use seed 42, discard files with no parseable function, andretain the complete parseable function list in the published full-function version.### Big-Vul61 unmodified lines6263646566676828 unmodified lines97989910010110210349 unmodified lines15315415515615715815916016161 unmodified lines| Version | Revision | Description ||---|---|---|| v1 | `v1.0.0` | Original published datasets, including the original source text and AST graphs. || v2 | `v2.0.0` | Reconstructed PROMISE, Defactors, BugsInPy, and Big-Vul datasets. Source comments are removed; Python docstrings are also removed. AST graphs are regenerated after comment and docstring removal. Devign is not included in this revision. |For example:28 unmodified lines|---|---|---:|---:|---:|---:|---:|| `promise_java` | Java class-level MIL bag | 1,695 bags | 647 / 1,048 (38.17% / 61.83%) | 8 / 26 / 94.12 | N/A: no function-level labels | N/A || `defactors_python` | Python file-level MIL bag | 1,700 bags | 873 / 827 (51.35% / 48.65%) | 18 / 86 / 227.06 | 808 / 873 (92.55%) | 3,190 / 58,028 (5.50%) || `bugsinpy_python` | Python file-level MIL bag | 2,205 bags | 520 / 1,685 (23.58% / 76.42%) | 11 / 84 / 206.96 | 507 / 520 (97.50%) | 1,075 / 63,726 (1.69%) || `bigvul_c` | C/C++ file-level MIL bag | 1,700 bags | 733 / 967 (43.12% / 56.88%) | 16 / 64 / 279.01 | 733 / 733 (100.00%) | 1,270 / 51,668 (2.46%) || `devign_c` (v1 only) | C/C++ function-level sample | 27,318 samples | 12,460 / 14,858 (45.61% / 54.39%) | N/A: function-level schema | N/A | N/A |49 unmodified linescandidates exist; remaining candidates are sampled from the other files.- Function sampling: use seed 42, discard files with no parseable function, andretain the complete parseable function list in the published full-function version.Both releases also exclude bags that contain no function definition: olderconstruction artifacts represented them as a single ``<file>`` placeholder,which is not a valid MIL instance.### Big-Vul
README.md+5-2