← 研踪 PaperTrailarXiv:2511.19177 · v2
Symbolic Synthesis of Distinguishing Test Batches for Specification Narrowing
首次提交 2025-11-24 22:41
版本更新 2026-12-02 16:56
雷达观测 2026-12-03 11:48
摘要
Ambiguous requirements can admit several non-equivalent formal specifications. We study the symbolic synthesis of complete distinguishing test batches for specification narrowing through expert review. Synthesized upfront, these fixed suites of instances or traces separate every candidate pair and support asynchronous and parallel classification. We formalize batch synthesis as a candidate-pair cover problem over an implicit test space and develop four methods for bounded Alloy models and temporal traces. Two cover-based methods obtain minimum-cardinality batches through joint MaxSAT optimization or SAT enumeration followed by explicit minimum-cover selection. Two tree-guided methods use SAT or balanced MaxSAT and reuse tests across branches. Our evaluation covers 196 static and 32 temporal configurations. On paired static configurations, reuse reduces balanced batch cardinality by 42% relative to the unreused construction tree, and minimum covers are a further 29% smaller. The SAT-based tree-guided method completes every main-study configuration within 0.43 seconds, while the exact methods exhibit different scalability profiles, particularly for temporal models. Complete batches also support adaptive review, with balanced batches nearly attaining the theoretical lower bound on mean classification cost. On completed benchmarks, modest additional upfront synthesis effort provides complete reusable suites that also support competitive adaptive classification.
观测到的版本
相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。
v2 · 2026-12-02 16:56 · 最新观测版本
Symbolic Synthesis of Distinguishing Test Batches for Specification Narrowing
Ambiguous requirements can admit several non-equivalent formal specifications. We study the symbolic synthesis of complete distinguishing test batches for specification narrowing through expert review. Synthesized upfront, these fixed suites of instances or traces separate every candidate pair and support asynchronous and parallel classification. We formalize batch synthesis as a candidate-pair cover problem over an implicit test space and develop four methods for bounded Alloy models and temporal traces. Two cover-based methods obtain minimum-cardinality batches through joint MaxSAT optimization or SAT enumeration followed by explicit minimum-cover selection. Two tree-guided methods use SAT or balanced MaxSAT and reuse tests across branches. Our evaluation covers 196 static and 32 temporal configurations. On paired static configurations, reuse reduces balanced batch cardinality by 42% relative to the unreused construction tree, and minimum covers are a further 29% smaller. The SAT-based tree-guided method completes every main-study configuration within 0.43 seconds, while the exact methods exhibit different scalability profiles, particularly for temporal models. Complete batches also support adaptive review, with balanced batches nearly attaining the theoretical lower bound on mean classification cost. On completed benchmarks, modest additional upfront synthesis effort provides complete reusable suites that also support competitive adaptive classification.
查看此版本解读 →查看此版本原文 ↗