betaFeedback

WorksComputer Science

Which Archived Results Survive a Rule Change? A Case Study in Revalidating Decisions

Abstract

A research workflow can retain a correct numerical result after the evidence or approval that supported its use has expired. Common incremental build methods identify reusable computations, while deciding what remains usable also requires knowing which policy justified each approval. We examined a recorded parser migration across 312 paired research records, replayed both parsers with the same inputs, applied a calculation-file omission to the complete cohort, and evaluated current proof in a GNU Make comparison. Treating the prior projections as current would change at least one field in 11 of 312 records, and controlled cases show that even matching values can lack a current proof. The study separates numerical recovery from applicable approval and sets out the conditions under which a maintained dependency graph can preserve both.

Introduction

A research team may keep a numerical bound after replacing the rule used to select it. The team still has to decide whether the bound can be used in a current decision. For example, a parser can recover a bound from its saved calculations, while a prior approval covers a different input path or policy. The value, the record that justifies it, and the approval needed for use can change separately. A migration that tests only for unequal values can miss that distinction.

We studied an archived migration in a research workflow that paired reports, reviews and calculation files to produce an action bound and an open flag. Two archived parsers read the same paired records under different versions of the interpretation. The newer implementation sometimes required a selected calculation file. Later acceptance records also distinguished successfully computed bounds from those actually adopted. These records motivate the question of what a maintained workflow can carry forward after a rule change.

Our contribution is to make the distinction between unchanged output and current grounds for using it checkable. The full-cohort replay identifies which fields can change and how saved calculations contribute. A deterministic four-stage reference and a GNU Make implementation isolate what an explicit approval dependency, a valid parent chain and the retention of old records contribute. The reuse procedure follows established verifying traces.

Related work

Build systems separate task ordering from the decision to rebuild. Verifying traces bind outputs to dependency digests [1 Secs. 2.3, 4.2]. Shake can discover dependencies during a build [2]. Pluto formalizes sound and minimal rebuilding relative to tracked dependencies [3]. Sotiropoulos et al. identify mismatches between build declarations and observed file operations [4]. Rattle analyzes when optimized forward builds agree with sequential execution [5]. NixOS uses immutable build outputs [6], an established way to keep snapshots distinct. Bazel’s Skyframe can reuse dependents after an invalidated node recomputes to the same value [7]. Our reuse check likewise follows the values a consumer reads, with an additional check on its chain of evidence.

Adapton tracks dependencies for demanded computations [8]. Nominal Adapton adds stable names to identify work to reuse across executions [9]. Acar et al. give consistency and correctness conditions for change propagation with memoization [10], and differential dataflow extends incremental updates to nested iterations [11]. Regression test selection also depends on identifying affected work. Rothermel and Harrold compare control-flow graphs to identify tests that may exercise changed behavior [12]. Ekstazi uses files read during tests [13]. Graves et al. evaluate selection cost and fault detection separately [14]. We similarly count work and check its outcome separately, with current validity assessed for each resulting stage.

Data provenance distinguishes the inputs that explain a result from the source locations of its values [15]. PROV represents entities, activities, and agents, including revisions of an entity [16]. ReproZip captures runtime dependencies for replay [17], and noWorkflow records how scripts produced their results [18]. CWLProv packages workflow definitions and execution records [19]. Workflow Run RO-Crate describes the inputs, outputs and steps of a run [20]. These forms of provenance provide ways to record the history that a later approval policy can inspect.

Reproducible builds can check correspondence between source and binary by matching independent build outputs [21]. An in-toto layout lets consumers check required steps and their authorized functionaries [22]. SLSA also checks recorded build parameters against consumer expectations [23]. In our setting the consumer checks the selected policy and the evidence chain for an archived research decision.

Study design

Archived migration

We joined the two archived parser outputs at their common cutoff by stable record identity. The analysis included all 312 identities with both parser versions, regardless of whether an earlier comparison showed a difference. For each identity we copied the bound report and review, the recorded calculation files and the available batch-version file into a temporary directory. The two code versions and the pinned report, review and calculation bytes matched recorded digests. Omission executions used the same copied report, review and batch bytes, leaving out the calculation files. We also checked the earlier parser under omission as a control. All 312 records were specified before the full-cohort replay. Earlier archival work had seen a subset of the changes.

We compared three fields in both contrasts. The bound could have a different amount, become available or unavailable, retain a value, or be absent on both sides. We also compared the open flag and the parser’s bound-source attribution. Carrying the older result forward was evaluated against the newer parser on complete inputs. The omission contrast compared the newer parser with and without the calculation files. The open flag is a projected field. For three records with linked companion acceptances we separately compared the computed, accepted and installed bounds.

Current-use check

The reference computes four outputs (Figure 1). A record contains its body, its body digest, the digests of projected inputs and the identity of the producing snapshot. Qualification depends on a review record, normalized evidence and the current approval policy. The decision requires a bound and qualification, and a supported result can be eligible, held or unresolved. For current use the record must match the declared inputs and have verifiable parents. An unresolved result can satisfy that contract when the policy leaves the read evidence insufficient.

Figure 1. Reference stages and direct workflow edges. The current policy is an explicit input of qualification. Each synthetic case supplies four stage outputs.

With deterministic stage functions and complete declared inputs, a topological revalidation that either regenerates a stage from its current inputs or verifies the same inputs yields the full-rebuild value by induction [1]. The proof additionally depends on the validity of the stored result and equivalence of the executable semantics.

In the Make comparison, four targets call the same stage functions as the content-based reference. We used GNU Make 3.81 with its standard prerequisite and target modification-time rules [24]. The declared-policy arm names the policy file as a qualification prerequisite. A negative control omits that edge while the recipe still uses the policy. Every arm uses a separate historical copy with its digest checked. Make’s working targets can be overwritten during a rebuild. A separate checker reconstructs the producing snapshot, payload digest and current input and parent bindings, so a retained value and a current proof receive separate scores. The supplementary comparison binds the exact approval bytes to a third-party time through an RFC 3161 token [25].

Use of AI

The research owner chose the questions and study scope. AI tools assisted preparation of synthetic cases and protocols, implementation, analysis, verification, manuscript revision, and figure production. Synthetic cases and expected outcomes were fixed before execution in a separate session using the same model family as the work session. Earlier critiques of an anonymized brief used calls reported as MiniMax-M3 and grok-4.7-build and informed interpretation. Archived review records include model-assisted research decisions. Deterministic code executed and scored both Make comparisons without model or network requests.

Results

When old parser outputs change

Reusing the old projection would make a difference for 11 of 312 archived identities (Figure 2A). Both parser versions matched all 312 projections attributed to them in the archive. Eleven records changed source attribution, six changed the numerical bound, and four changed whether a bound was available. Three of those four gained a bound and one lost it. Four also changed the open flag. One of the 11 had equal normalized amounts and an unchanged open flag while its attribution changed, showing that numeric equality can hide a change relevant to reproducibility.

Figure 2. Recorded parser migration and separate acceptance. A compares earlier versus newer outputs on complete inputs, and complete versus omitted calculation files within each parser. Each contrast covers all 312 paired archived records. Cells count identities with a change in the named field. B compares bound equality at each link for the three cases with a separate acceptance. The study archive retains the aggregate and unlinked category observations.

The full-cohort omission removed a previously available bound in six of 312 cases. In each of those cases source attribution changed, and in four the open flag changed. The other 306 records had the same three-field output. The 301 identities outside the previously inspected subset all retained the same projection under omission. Omission left all 312 projections unchanged under the earlier parser, which supports the interpretation that the newer parser depended on the available calculation files in these six cases. Even the record that initially changed only attribution lost its bound under omission.

The disposition changes illustrate a separate authority boundary (Figure 2B). Three computed limits required companion acceptances. None matched its accepted bound, and all three accepted bounds matched their corresponding installed bounds. The installation record reports zero new orders. Adoption followed a separate disposition in these cases.

Value equality and current proof

A correct retained payload can fail the current-use check. In one synthetic case, the selected evidence field changed while producing the same normalized amount. The four old values matched the expected current values, yet the evidence basis and two descendants lacked current proof. After regenerating the evidence, the matching downstream inputs allowed two records to be reused. In a second case all values matched but the qualification basis was missing. A third case kept the same bound and became unresolved because its old approval used the prior policy. These mechanisms were observed in earlier synthetic cases fixed before execution. Their per-stage counts are in Appendix § 8.

Make comparison. An explicit policy dependency was sufficient in the ordinary timestamp conditions. The 24 synthetic scenarios and expected stage values were fixed locally in a separate session before execution. The third-party timestamp on the approval was issued after all three repetitions. The six conditions each have four scenarios. The fresh-directory repetitions produced byte-identical traces, with all 288 planned case-by-strategy observations completed. We report the 24 scenarios as the study units.

The declared-policy Make arm delivered four correct, proved results in 18/24 scenarios (Table 1). Two cases returned an incorrect decision and four matched all values while failing current proof. When timestamps were retained on a changed policy, Make regenerated qualification in the one case whose review also acquired a newer timestamp. The other three in that condition kept an old decision or proof. When the old qualification basis was missing, a separately updated review likewise triggered the needed evaluation in one of four cases. A changed bound alone could trigger the decision without repairing its qualification ancestor. The separate proof check saw that gap even when the values matched.

ConditionFull rebuildMake with policyMake without policyContent checks
Ordinary edit4/44/44/44/4
Equal evidence value4/44/44/44/4
Policy edit, newer timestamp4/44/40/44/4
Policy edit, same timestamp4/41/41/44/4
Missing old qualification basis4/41/41/44/4
Numeric input change4/44/44/44/4
All cases24/2418/2414/2424/24
Proof-only failures0450
Wrong decisions0250
Stage evaluations96473945

Table 1. Current results in the GNU Make comparison. Each ratio counts synthetic scenarios with all four stage values correct and their current proof chains valid. The omitted policy prerequisite is a negative control. Proof-only failures have four correct payloads and at least one current proof gap. Stage evaluations count one traversal of the 24 scenarios.

Removing the policy prerequisite reduced current success to 14/24 and caused failure on all four ordinary policy edits. This shows why modelling the dependency matters even with valid timestamps. Full and content-based revalidation passed 24/24. Content checking reran only the evidence stage in each equal-evidence case, for four calls versus 12 under declared-policy Make. Across all conditions it ran 45 stages, compared with 47 for declared-policy Make and 96 for full rebuild. In qualification alone it ran 17 calls versus Make’s 15, reflecting the work needed to repair some old proofs. Each strategy kept the same separate historical copy.

Boundary validation. Eight additional scenarios tested a change in the derivation of an equal bound, or retained timestamps on evidence or review inputs. A third-party timestamp bound the separate approval before execution (Appendix § 9). The three repetitions completed all 96 case-by-strategy observations with identical traces. Both Make arms passed 5/8, with two wrong decisions and one case of equal payloads but invalid proof. Both full and content-based revalidation passed 8/8. Policy was constant throughout these eight scenarios. Among four equal-bound scenarios, Make reran the bound and decision, eight calls in total, while content checking reran the bound alone, four calls. Of the four retained-timestamp scenarios, Make passed the one with an additional newer prerequisite. Across these eight scenarios content checking evaluated 13 stages, more than Make’s 11, while obtaining the valid results.

The cost of an avoided call

A work count helps when the skipped evaluations cost more than the added verification. We inspected 41 model-review attempts from the recorded maintenance work. The 36 successful attempts took a median of 737 seconds (range 336–1,458). The tool’s reported token total had a median of 187,587 (106,081–287,820). Five failed attempts took 126–900 seconds and lack a token total. The durations run from attempt start to finish and some calls can overlap. A related set of 35 companion review packages records provenance and review verdicts. Its model usage, review duration and human approval time remain unobserved.

For a serial workload with fixed other work, the conditional saving is ∑j∈Atj−h\sum_{j\in A} t_j-h, where AA consists of evaluations that are actually avoided and hh is the added checking time. Figure 3 uses each successful historical attempt as one scenario for an equivalent review that could be avoided. With 60 added seconds, 36/36 scenarios save time (median 677 seconds saved). At the 737-second median, 18/36 save time. With 900 added seconds, 4/36 save time and the median is an added 163 seconds. Which real approval can be skipped and at what verification cost remain open. The deterministic kernel comparison uses a different work unit and appears in the appendix.

Figure 3. Added checks and conditional time savings. Each dot gives the fraction of 36 successful review attempts whose elapsed time exceeded the added checking time. The step guide connects sampled thresholds. The scenario assumes one otherwise equivalent serial review is avoided. Five failed attempts are reported separately. Human waiting time was unobserved.

Limitations and implications

The archive is one selected historical migration. Two ancestor pointers agree between versions, while the corresponding files were unavailable at their recorded paths. The 300 rows with observed batch metadata resolve to one shared file. Its observed digest establishes the staged input used here. The earlier records do not pin that digest. The other 12 rows use the report-version fallback. The figures and unlinked category counts can be regenerated from the derived analysis files retained by the authors. Reproducing the historical parser executions requires the protected archive and the historical executable bytes.

The Make interventions deliberately exercise specific timestamp and integrity behavior, with the same declared local projections and evaluation functions. Their case counts describe those interventions. The study compares default timestamp checking with content and provenance checks in this implementation. GNU Make can also invoke content checks, represent policy inputs and use a separate history store. The recorded usage data cannot establish an end-to-end migration saving. An applicable approval and source of authority remain necessary for operational use.

Artifact availability

The authors retain a reproduction archive containing synthetic inputs, expected payloads and traces, stage code, the Make study, and the aggregate and category data underlying the historical review-cost figures. The derived category blocks are sorted separately and contain no identity key. Historical source material, review texts, record identities, original bound amounts, and audit indexes remain in the restricted research archive.

Historical inputs and artifact

The candidate digests match their records and agree on the same 312 identities and cutoff. We verified the two parser files from local source objects and staged the same 624 report and review references and 940 calculation references for both. The omission used those copied report and review files and the available batch-version bytest. Two matching ancestor pointers lacked readable files at their original locations.

The derived category data retained by the authors contain 312 observations per measure and comparison. The values are sorted by category within each block and have no joining key. They reproduce the marginal comparisons, including the distinction between changes to an amount and changes to availability. The full joint observations, parser and source files require authorized local access. The three linked acceptances are reported separately.

Earlier synthetic comparisons

The earlier batches had five and 12 cases. The conceptual set, interface-compatible replacement and supplement were committed 0, 7 min 34 s and 16 min 20 s apart from the first commitment on one day. The plans were approved 18 min 24 s and 25 min 41 s after that first commitment. A late-source case used an adapter to select admissible input before evaluation. The computing arms each produced 68 correct, proved outputs, with 68, 64 and 37 evaluations under full, package and stage-level rebuild. Historical reuse would misstate 27/68 payloads if consumed as current, and its old proof failed on 40/68 outputs. An interrupted development run preserved five complete cases of 15 and a partial sixth.

Timing of the protocols

The 24-scenario protocol and labels were fixed locally before execution. The external timestamp on its approval was obtained after the runs. A separate eight-scenario protocol received a verified RFC 3161 timestamp before execution [25]. The first start was 90 seconds after the signed timestamp. The timestamp authority received a message imprint. The two studies use separate cases, labels and traces.

Development timing

Each of 24 arm orders revisited the same 15 development cases 25 times per arm (375 calls per arm and order). The in-memory interval covered stage evaluation and checking. It excluded file staging, post-run proof verification, scoring and obtaining reviews. One traversal used 60, 56 and 25 stage calls for full, package and content-based checks. The latter considered 60 current projections and visited 60 old nodes, with short-circuiting.

Content checks were slower in every pair. Their median excess was 16.20 microseconds per migration over full rebuild (14.76–17.28), and 7.00 over package rebuild (5.76–8.01). With stable verification and execution schedules, break-even increments would be 6.94 and 3.39 microseconds per avoided stage, respectively. These timings describe the deterministic kernel.

References

  1. [1]A. Mokhov, N. Mitchell, and S. Peyton Jones. Build Systems à la Carte. PACMPL, 2(ICFP), article 79, 2018. doi:10.1145/3236774.DOI
  2. [2]N. Mitchell. Shake Before Building: Replacing Make with Haskell. ICFP, 2012. Author manuscript.
  3. [3]S. Erdweg, M. Lichter, and M. Weiel. A Sound and Optimal Incremental Build System with Dynamic Dependencies. OOPSLA, 2015, pp. 89–106. DOI.
  4. [4]T. Sotiropoulos, S. Chaliasos, D. Mitropoulos, and D. Spinellis. Identifying Bugs in Make and JVM-Oriented Builds. 2020. arXiv:2005.06881.DOI
  5. [5]S. Spall, N. Mitchell, and S. Tobin-Hochstadt. Forward Build Systems, Formally. arXiv, 2022. arXiv:2202.05328.DOI
  6. [6]E. Dolstra, A. Lö h, and N. Pierron. NiXOS: A Purely Functional Linux Distribution. JFP, 20(5–6), 2010. DOI.
  7. [7]Bazel project. Skyframe, section on incrementality. Bazel documentation.
  8. [8]M. A. Hammer, Y. P. Khoo, M. Hicks, and J. S. Foster. Adapton: Composable, Demand-Driven Incremental Computation. PLDI, 2014, pp. 156–166. Author manuscript.
  9. [9]M. A. Hammer, J. Dunfield, K. Headley, N. Labich, J. S. Foster, M. Hicks, and D. Van Horn. Incremental Computation with Names. OOPSLA, 2015. Author manuscript.
  10. [10]U. A. Acar, M. Blume, and J. Donham. A Consistent Semantics of Self-Adjusting Computation. ESOP, 2007. Extended version, 2011.
  11. [11]F. McSherry, D. G. Murray, R. Isaacs, and M. Isard. Differential Dataflow. CIDR, 2013. Proceedings.
  12. [12]G. Rothermel and M. J. Harrold. A Safe, Efficient Regression Test Selection Technique. ACM TOSEM, 6(2):173–210, 1997. Original paper.DOI
  13. [13]M. Gligoric, L. Eloussi, and D. Marinov. Practical Regression Test Selection with Dynamic File Dependencies. ISSTA, 2015. Author manuscript.DOI
  14. [14]T. L. Graves, M. J. Harrold, J.-M. Kim, A. Porter, and G. Rothermel. An Empirical Study of Regression Test Selection Techniques. ACM TOSEM, 10(2):184–208, 2001. Original paper.
  15. [15]P. Buneman, S. Khanna, and W.-C. Tan. Why and Where: A Characterization of Data Provenance. ICDT, 2001, pp. 316–330. DOI.DOI
  16. [16]L. Moreau and P. Missier, editors. PROV-DM: The PROV Data Model. W3C Recommendation, 2013. Specification.
  17. [17]F. Chirigati, D. Shasha, and J. Freire. ReproZip: Using Provenance to Support Computational Reproducibility. TaPP, 2013. Proceedings.DOI
  18. [18]L. Murta, V. Braganholo, F. Chirigati, D. Koop, and J. Freire. noWorkflow: Capturing and Analyzing Provenance of Scripts. IPAW, 2014. Author manuscript.DOI
  19. [19]F. Z. Khan, S. Soiland-Reyes, R. O. Sinnott, A. Lonie, C. Goble, and M. R. Crusoe. Sharing Interoperable Workflow Provenance: A Review of Best Practices and Their Practical Application in CWLProv. GigaScience, 8(11):giz095, 2019. Original paper.
  20. [20]S. Leo et al. Recording Provenance of Workflow Runs with RO-Crate. PLOS ONE, 19(9):e0309210, 2024. doi:10.1371/journal.pone.0309210.DOI
  21. [21]C. Lamb and S. Zacchiroli. Reproducible Builds: Increasing the Integrity of Software Supply Chains. IEEE Software, 39(2):62–70, 2022. Author manuscript.DOI
  22. [22]S. Torres-Arias, H. Afzali, T. K. Kuppusamy, R. Curtmola, and J. Cappos. in-toto: Providing Farm-to-Table Guarantees for Bits and Bytes. USENIX Security Symposium, 2019, pp. 1393–1410. USENIX.
  23. [23]SLSA project. Build: Verifying Artifacts. SLSA Specification, v1.2. Specification.
  24. [24]R. M. Stallman, R. McGrath, and P. D. Smith. GNU Make Manual, Sections 2.3 and 4.3. GNU documentation.
  25. [25]C. Adams, P. Cain, D. Pinkas, and R. Zuccherato. Internet X.509 Public Key Infrastructure Time-Stamp Protocol (TSP). RFC 3161, 2001. Specification.DOI

Paper details

vlnc:W_m3punjqx
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 10

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

AI tools, MiniMax-M3, Grok 4.7 (bare)

View statement
Looking for related papers…
Contents