Datasets:
pyshadowAp: 1186 tasks (4378 rows; 82 security-domain, counted only): the python-path fix now also appends the current directory at the end of sys.path on every changed python call (585 tasks); grader test path pinned to /tests (21 tasks); env script no longer sourced (616 tasks); tests/test.sh only; ; strict kill gate; tars rebuilt, tar==parquet; killed and river splits untouched; every other row and package byte-identical
Browse files- README.md +10 -0
- data/calibforge_1030c800_fast.parquet +2 -2
- data/calibforge_clean.parquet +2 -2
- data/calibforge_clean_v2.parquet +2 -2
- data/calibforge_clean_v2_fast.parquet +2 -2
- data/calibforge_fresh900_fast.parquet +2 -2
- data/calibforge_pick850_fast.parquet +2 -2
- data/tasks-calibforge_1030c800_fast.tar +2 -2
- data/tasks-calibforge_clean.tar +2 -2
- data/tasks-calibforge_clean_v2.tar +1 -1
- data/tasks-calibforge_clean_v2_fast.tar +2 -2
- data/tasks-calibforge_fresh900_fast.tar +2 -2
- data/tasks-calibforge_pick850_fast.tar +2 -2
README.md
CHANGED
|
@@ -78,6 +78,16 @@ cf = load_dataset("Fzz1/tb-full-data", "calibforge") # cf["calibforge_clean"]
|
|
| 78 |
|
| 79 |
|
| 80 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 81 |
## Fix (2026-11-10): grading made safe against files the solver plants, in 1238 tasks
|
| 82 |
|
| 83 |
**Python path (619 tasks).** `tests/test.sh` ran python with the current directory first on `sys.path` (`python -m ...` or `python -c ...`), so a module file the solver leaves in that directory (for example `pytest.py` or `pluggy.py`) would replace the real one. Every such python call in `tests/test.sh` now drops the current directory from `sys.path` before anything is imported (`-m` launches run through `runpy`, and `-c` code first removes the empty / `.` entries from `sys.path`); for 36 tasks whose tests need that directory importable, it is appended at the end of `sys.path` instead, so the real modules always win.
|
|
|
|
| 78 |
|
| 79 |
|
| 80 |
|
| 81 |
+
## Fix (2026-11-10): the current directory stays importable; grader test path pinned; env script not sourced, 1186 tasks
|
| 82 |
+
|
| 83 |
+
**Python path (585 tasks).** In these tasks of the python-path fix above, every changed python call in `tests/test.sh` now also appends the current directory at the end of `sys.path` (before, only the tasks classified as needing it did), because some tests import modules installed under it. It stays after every installed module, so a planted file there still cannot replace a real one.
|
| 84 |
+
|
| 85 |
+
**Test path (21 tasks).** These `tests/test.sh` chose the test file between `/tests` (uploaded fresh at grading) and another location the solver can create or edit, e.g. `/workspace/tests`. The variable is now always the `/tests` value: honest runs already used it, and a planted copy elsewhere is no longer picked.
|
| 86 |
+
|
| 87 |
+
**Env script (616 tasks).** These `tests/test.sh` sourced the uv or cargo env script, which the installer does not overwrite when a copy is already there, so a planted one could redefine commands or set pytest options. They now set `PATH` directly (all the script does) and unset `PYTEST_ADDOPTS` / `PYTEST_PLUGINS`.
|
| 88 |
+
|
| 89 |
+
Nothing else changes.
|
| 90 |
+
|
| 91 |
## Fix (2026-11-10): grading made safe against files the solver plants, in 1238 tasks
|
| 92 |
|
| 93 |
**Python path (619 tasks).** `tests/test.sh` ran python with the current directory first on `sys.path` (`python -m ...` or `python -c ...`), so a module file the solver leaves in that directory (for example `pytest.py` or `pluggy.py`) would replace the real one. Every such python call in `tests/test.sh` now drops the current directory from `sys.path` before anything is imported (`-m` launches run through `runpy`, and `-c` code first removes the empty / `.` entries from `sys.path`); for 36 tasks whose tests need that directory importable, it is appended at the end of `sys.path` instead, so the real modules always win.
|
data/calibforge_1030c800_fast.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:27a4565cda3558ee907f453e31799bfc8846399032dacfe52af77c2789e08abd
|
| 3 |
+
size 2788120
|
data/calibforge_clean.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:71132be7f8cc4b6eb856c6367652912eebce03ca921e02217dfe7c9866784a33
|
| 3 |
+
size 12597996
|
data/calibforge_clean_v2.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0e6e617ab33a96ebd75e54f0191978f26dec13da50912d2b64e0e181ca161e56
|
| 3 |
+
size 10055281
|
data/calibforge_clean_v2_fast.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:51fab2e439869876d44c8a07fe6c3cb604b3b27b089837cd4a811932622fae61
|
| 3 |
+
size 9666589
|
data/calibforge_fresh900_fast.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9d5385cd75d80f13045a1e0ec47a9ed7d9a9ed7a18efdefbb69cea07267bcf3e
|
| 3 |
+
size 3880263
|
data/calibforge_pick850_fast.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b5c8ddecb5847c2a9ef2ebe0f726824cb75f2456b27ebb8b9df50a1ce688b1c4
|
| 3 |
+
size 3410642
|
data/tasks-calibforge_1030c800_fast.tar
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b18a3aab43b5c90a9b8fe1c01969ebebcfe4bf3931e4c635946cd5e6052a683f
|
| 3 |
+
size 177735680
|
data/tasks-calibforge_clean.tar
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dfe93a7b55f42fcea4fd62cffa984c042a4712e504c4e60374bb0fd8390f69e1
|
| 3 |
+
size 1153628160
|
data/tasks-calibforge_clean_v2.tar
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 472197120
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:04b1e0b4b4d2d14e9e14b848ecdc286fca735e9f0f2ee26e2676fd4e5222faeb
|
| 3 |
size 472197120
|
data/tasks-calibforge_clean_v2_fast.tar
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:527ee1b3edec0970b233db9a759340f3d0098817f253498da7072bcea7f354fa
|
| 3 |
+
size 472207360
|
data/tasks-calibforge_fresh900_fast.tar
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:90d6f2d181755ed277bf3657e9f2ea50a8ca174932d2b5d08c9e807e7b0f731b
|
| 3 |
+
size 178513920
|
data/tasks-calibforge_pick850_fast.tar
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:19d7ab053edc4d245ef9fb1eda124c74df0f5dae8d578abcc9707791157ca597
|
| 3 |
+
size 280924160
|