Measuring What a Specification Determines: A Formal Semantic-Block Model and an Execution-Judged Benchmark
Oleg Grynets, Dmytro Kostetskyi, Vasyl Lyashkevych
Key points
From the paper's conclusion- The results support determinacy as a formal concept but not as a standalone empirical quality metric for the evaluated contemporary LLM implementers.
Abstract
This work introduces a formal semantic-block model for specifications and an execution-judged benchmark for evaluating specification quality independently of model capability. A specification is represented as a structure comprising semantic blocks, dependency relations, block-owned rules, decision points, and explicitly open questions, subject to four machine-checkable well-formedness conditions: acyclicity, single ownership, constraint domination, and totality or ambiguity-stop. Determinacy is defined model-theoretically as agreement among all conforming implementations and is estimated empirically through convergence across independent implementers. The model is instantiated on an Oracle-to-PostgreSQL migration specification containing 18 blocks and 19 dependency edges. Computational validation shows that the five-layer decomposition reduces mean per-task context by approximately 71% through dependency closures, covers 85.5% of the study-defined Oracle construct taxonomy with all identified gaps triaged, is not Pareto-dominated by the tested alternative partitions, and is recovered at the 99.9th percentile from citation-derived edges not used to define the original structure. The benchmark keeps the implementer panel fixed, includes a mandatory no-specification control arm, and uses PostgreSQL 16 and a live Oracle instance as deterministic execution judges. Six designed studies, including three pre-registered manipulations and three diagnostic analyses, further examine specification effects. Repeated runs on a 25-unit subsample reveal an empirical variability floor with a median arm-delta spread of 14.4 percentage points. The results support determinacy as a formal concept but not as a standalone empirical quality metric for the evaluated contemporary LLM implementers.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Leakage-Resistant Evaluation of AI-Generated Database Specifications in Specification-Driven MigrationarXiv · 2026
- Beyond Leaderboards: A Method for Application-Specific Capability Profiling of Large Language ModelsarXiv · 2026
- TLAssess: A Model-Checking Oracle and Calibration-Gated Scoring Framework for Verified Concurrency-Protocol AssessmentElectronics · 2026
- What the Specification Did Not Say: Specification-Oracle Gaps in Test-Graded Coding-Agent BenchmarksarXiv · 2026
- TLAPS-Bench: Formally Proving Correctness of Real-World System Specifications with TLA+ Proof SystemarXiv · 2026
- Stop Handcrafting Your Engine! GenDB-V: Towards AI-Generated and Formally Verified Database SystemsarXiv · 2026