home
All research

Legacy modernization · Strust v1 paper

Strust: comparing COBOL and Java

Two correct implementations can agree in the wrong replay state. Executed transaction histories expose four such cases, while a cached-output baseline shows why slicing adds work for this unchanged-pair validation task.

The question

When does a smaller replay preserve a declared observation, and does preparing it save validation work?

What I worked on

The executed order-processing subset follows published NewOrder, OrderStatus and StockLevel semantics, with actual SQLite access ledgers and a separately written internal Python reference. It is not a compliant TPC-C benchmark or an externally certified implementation.

Observation preservation includes reads used by the final query. A separate GnuCOBOL/Java seam tests observation channels; it does not validate an integrated COBOL slicing system.

What I found

The implementations agree on all 1,920 full-history observations. Dropping filter-excluded stock reads creates four shared wrong-count matches among 240 targets. Examined-row dependencies restore all tested contexts. Counter chains make extra predicate tags redundant on these targets.

The full-history cache already answers the unchanged-pair questions with 1,920 events per implementation. Oracle-plus-slice replay costs 18,007, so its improvement over repeated prefixes is not a net validation-efficiency benefit.

The historical ten-case ledger remains in the manuscript appendix. Its missing original programs and traces have not been recovered.

What this does and does not tell us

These are bounded, generated workloads with supplied schema keys and internally written implementations. They do not establish automatic SQL or COBOL dependency extraction, production accuracy or enterprise scale.

The four failures occur in three histories. The broader architecture and settings without counter-chain protection remain unvalidated.

A further study should test separately authored implementations and dependency extraction on new query schemas, with a comparator sufficient for the exact validation task.

Read the paper

STRUST-v1: A Small-Sample Evidence Audit and Unvalidated Verification-Slice Proposal