|
Download VERIFICATION.md from ComerX/forgebench-v1: direct link, hf CLI and curl.
- Browser
- Download file 4.58 kB
-
https://huggingface.co/datasets/ComerX/forgebench-v1/resolve/main/VERIFICATION.md
- Command line
-
hf download hf://datasets/ComerX/forgebench-v1/VERIFICATION.md
-
curl -L -o VERIFICATION.md https://huggingface.co/datasets/ComerX/forgebench-v1/resolve/main/VERIFICATION.md
4.58 kB
| # ForgeBench v1 — Verification Report | |
| - Date: 2026-10-27T08:16:51 | |
| - Scope: dataset (100 tasks) + evaluation harness (offline tests) | |
| - Result: **19/19 checks passed** | |
| ## Checks | |
| | # | Check | Status | Detail | | |
| |---|-------|--------|--------| | |
| | 1 | V1 strict schema (field set/order/types) | PASS | 100 rows | | |
| | 2 | V2 unique task_ids | PASS | | | |
| | 3 | V2 id pattern ^[A-Z]+_\d{3}$ | PASS | | | |
| | 4 | V2 20 tasks per module | PASS | {'api': 20, 'mixin': 20, 'migration': 20, 'debug': 20, 'build': 20} | | |
| | 5 | V2 module order api<mixin<migration<debug<build | PASS | | | |
| | 6 | V3 required_annotations present in goldens | PASS | | | |
| | 7 | V4 forbidden_apis absent from goldens (comments stripped) | PASS | | | |
| | 8 | V5 debug goldens = valid JSON (root_cause/fix_explanation/code_patch) | PASS | | | |
| | 9 | V6 Java goldens parse (javalang) | PASS | \| parsed=57 non-java=23 | | |
| | 10 | V7 all golden imports on NeoForge 1.21.1 allowlist | PASS | | | |
| | 11 | V8 contamination screen vs SFT corpus | PASS | 0 hits; shards=6; corpus_chars=4998017 | | |
| | 12 | V9a sandbox --dry-run prepares workspace | PASS | ": null, "log_tail": "", "dry_run": true, "gradle_command": "./gradlew build -x test --console=plain --no-daemon", "injected_file": "/tmp/tmpth5s1_d_/ws/src/main/java/com/example/generated" } | | |
| | 13 | V9b ast_eval passes its own golden (API_001) | PASS | [] | | |
| | 14 | V9c ast_eval flags Forge namespace + 1.16 text API | PASS | forbidden API present: net.minecraftforge forbidden API present: net.minecraft.util.text import not on NeoForge 1.21.1 classpath: net.minecraftforge.registries.DeferredItem (Forge namespace does not exist on NeoForge (use net.neoforged)) | | |
| | 15 | V9d gametest template generation (offline) | PASS | ", "generated": { "test_class": "/tmp/tmpth5s1_d_/gt_ws/src/test/java/com/example/examplemod/gametest/ForgeBenchGameTest.java", "logic_class": "/tmp/tmpth5s1_d_/gt_ws/src/test/java/com/example/examplemod/gametest/GeneratedGameTestLogic.java", "hoisted_imports": 0 }, "ran": false } | | |
| | 16 | V9e run_benchmark driver (dry-run) | PASS | | | |
| | 17 | V10 Dockerfile references existing build context | PASS | | | |
| | 18 | V10 judge prompt rubric sections | PASS | | | |
| | 19 | V10 no javac/Mockito execution in harness | PASS | doc mentions of the ban are fine; executable use is not | | |
| ## What each gate means | |
| - **V1-V2** enforce the strict task schema from the ForgeBench spec (field order, types, id pattern, 20 tasks/module). | |
| - **V3** required annotations/tokens must appear in golden *code* (Java comments stripped so prose cannot satisfy them; config goldens may carry tokens in comments by design). | |
| - **V4** forbidden (legacy/Forge-namespace) APIs must be absent from golden code even after comment stripping — guarantees migration goldens are pure NeoForge 1.21.1. | |
| - **V5** debug goldens are machine-parseable `{root_cause, fix_explanation, code_patch}` JSON. | |
| - **V6** every Java golden parses with javalang (records / pattern-matching `instanceof` shimmed for the Java-8 parser). | |
| - **V7** every import in every golden is on the NeoForge 1.21.1 + Mojmap allowlist — no hallucinated packages. | |
| - **V8** contamination screen: normalized golden/instruction prefixes (>=80 chars) were searched in sampled corpus shards of ComerX/forge-neoforge-sft-v2.1.0-rc2 and -rc1 (3 shards each): 0 hits. | |
| - **V9** harness offline tests: sandbox workspace preparation (--dry-run), ast_eval passing its own golden, ast_eval catching poisoned answers (Forge namespace + 1.16 text API), GameTest template generation, and the run_benchmark driver. | |
| - **V10** Dockerfile/template coherence, judge rubric presence, and the no-raw-javac/no-Mockito rule (executable use). | |
| ## Known limitations (honest scope) | |
| 1. The Gradle compile path (sandbox_runner) was verified structurally (workspace preparation, command assembly, output parsing) but NOT executed end-to-end in this sandbox: no Docker daemon and no 8 GB RAM budget for NeoForm decompile are available here. The same limitation is documented for the main SFT audit (compile_verified unreachable). | |
| 2. javalang is a Java-8 parser; Java 14+ syntax (records, pattern matching) is shimmed for validation only. The real gate is the Gradle compile inside the MDK. | |
| 3. Contamination screen is sampled (6 shards), not exhaustive; it screens exact-prefix containment, not paraphrase-level overlap. | |
| 4. Plugin versions in build-module goldens (NeoGradle 7.0.145, ModDevGradle 1.0.24, Minotaur 2.+, curseforgegradle 1.1.24) reflect mid-2024/2025 releases; syntax is the graded property, not the pinned version. | |