Unisys / PS 05
BenchForge
A contamination-resistant benchmark for proprietary-language code models.
Generate a reproducible instruction-to-code benchmark with full grammar coverage, verified reference solutions, varied difficulty and automatic model-output scoring.
BenchForge: Building a Contamination-Resistant Benchmark for Proprietary-Language Code Models
The objective
The challenge.
Proprietary-language DSLM teams lack public evaluation corpora comparable to HumanEval or MBPP for popular languages. Internal production code cannot simply become a benchmark because of privacy and confidentiality, while small handwritten task sets are costly, cover little of the language and can be overfitted or leaked into training. Use a formal language definition, its semantic rules and a small set of seed examples to build a high-quality, contamination-resistant evaluation benchmark that can compare models, measure fine-tuning gains and reveal regressions.
Teams evaluating proprietary-language code models and deciding whether changes improve model quality or readiness for use.
Produce a reproducible instruction-to-code benchmark with complete language coverage, verified reference solutions, automatic scoring and meaningful scores for individual constructs.
Product capabilities
What to build.
Required features
- Generate from the language specification
Use the language's formal definition, such as a BNF or ANTLR grammar plus semantic rules, together with a small seed set of examples to build the evaluation benchmark.
- Automatically checkable instruction-to-code tasks
Each task must contain a natural-language instruction and an automatic way to check a model's response, using executable tests or validator-based property checks.
- Complete grammar coverage
Cover the complete grammar scope with enough tasks for every construct to produce a statistically meaningful score per construct.
- A range of difficulty
Include tasks ranging from individual constructs to multi-construct, deeply nested programs.
- Correct references and clear instructions
Provide verified, correct reference solutions and unambiguous instructions.
- Cheap to rerun and extend
Make the benchmark inexpensive to rerun and extend so new versions can be generated when the language changes.
Optional ideas
- Recommended benchmark tooling
The brief recommends grammar tooling, automatic verification, LLM-assisted instruction writing, LLM-as-judge with human spot checks and instruction-ambiguity detection. These can support task creation and review; each task still requires an automatic checking method.
Typical workflow
Provide grammar, semantic rules and seed examples → generate tasks across constructs and difficulty levels → verify reference solutions and instruction clarity → produce automatic tests or property checks → run the scoring harness on model outputs → report coverage and per-construct results → regenerate or extend the benchmark as the language changes.
Demo & deliverables
Show it working.
- Benchmark generator source code
Submit the source code for the benchmark generator.
- One-command reproducibility
Provide a way to reproduce the benchmark with one command.
- Generated benchmark
Provide the instruction-to-code benchmark with its verified reference solutions and automatic checking methods.
- Evaluation harness
Include a script that accepts a model's outputs and scores them automatically.
- Coverage report
Report the benchmark's coverage of the language.
Success criteria
What success looks like.
Coverage of language constructs and semantic rules.
Correct reference solutions, reliable checks and clear instructions.
The benchmark's ability to distinguish differences in model capability.
Reproducibility of the benchmark, implementation quality and the quality of its report.
How well the benchmark approach adapts to held-out variation.
Scope & constraints
Build within the brief.
The benchmark must cover the full grammar, support statistically meaningful scores per construct and remain useful for comparing base models, fine-tuning gains and regressions.
Avoid the weakness of a small handwritten benchmark that is easy to overfit to or leak into training. The source requires a contamination-resistant benchmark but does not prescribe a particular prevention method, seed count or numeric task-count threshold.
Technical & safety requirements
Internal production code is constrained by privacy policies, client confidentiality and sensitive business logic. Build the benchmark from the formal language definition and seed examples rather than assuming restricted production code can be exposed.

































