Manuscript Offprint
arXiv:2610.37838TensorBound: Characterizing Tensor Binding Failures in AI Compiler and Runtime Stacks
WEN LI, Utah State University, USA
YONGXI SHA, Utah State University, USA
BAIHONG CHEN, Utah State University, USA
AI compiler and runtime stacks must preserve bindings between tensor values and their operations, storage, and execution state. These bindings can fail while the underlying objects remain present, with symptoms appearing in another layer. We present TENSORBOUND, an empirical study of tensor binding failures in IREE and the XLA and PyTorch ecosystems. The study analyzes 264 reports and reconstructs 149 distinct repaired causes through source tracing and comparisons of pre-fix and repaired revisions. Each reconstruction connects the first invalid decision to its violated condition, physical effect, and repair. Missing eligibility checks, incorrect mappings or translations, and lost or omitted relations account for 69.1% of repaired causes. These patterns highlight the need to preserve binding facts and check the conditions for their use. The 101 first invalid decisions in compiler code identify candidate checking points before execution. Four archived IREE diagnostic attempts distinguish effect localization from source-based cause explanation. Together, these findings motivate transition-specific checks that preserve binding facts across representations and enforce the required conditions at consuming decisions.
CCS Concepts: • Software and its engineering → Software testing and debugging.
Additional Key Words and Phrases: AI compilers, accelerator runtimes, tensor storage reuse, empirical software engineering, program analysis
ACM Reference Format:
Wen Li, Yongxi Sha, and Baihong Chen. 2026. TENSORBOUND: Characterizing Tensor Binding Failures in AI Compiler and Runtime Stacks. ACM Trans. Softw. Eng. Methodol. 1, 1 (October 2026), 33 pages. https://doi.org/10.1145/nnnnnnnn.nnnnnnn
1 Introduction
AI compiler and runtime stacks translate logical tensor programs into operations on physical storage. Graph and tensor IR represent operations and their data dependencies. Compiler transformations restructure these operations, while bufferization and memory planning map tensor values to storage regions. These decisions guide kernel generation and execution scheduling. The runtime launches the generated kernels and tracks their execution and completion.
As these representations change, a logical value may acquire new storage, while different values may share or reuse a region. The region's contents or ownership can therefore change while it remains allocated. Meanwhile, asynchronous device work may still access the region after the host schedules later operations. Correct execution depends on preserving which value a region represents, which operations may access it, and when those operations complete. These
Authors' Contact Information: Wen Li, Utah State University, Logan, Utah, USA, awen.li@usu.edu; Yongxi Sha, Utah State University, Logan, Utah, USA, yongxi.sha@usu.edu; Baihong Chen, Utah State University, Logan, Utah, USA, b.chen@usu.edu.
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from permissions@acm.org.
© 2026 ACM.
ACM 1557-7392/2026/10-ART
https://doi.org/10.1145/nnnnnnnn.nnnnnnn relations connect compiler representations, generated code, and runtime state. XLA's buffer analysis, IREE's compiler-routine split, and TorchInductor's generated kernels illustrate these dependencies [2, 23, 36]. Compiler analyses track aliases and lifetimes to guide storage decisions, while IR verifiers check local invariants. Compiler-testing tools compare generated behavior with a reference. During execution, host and device sanitizers detect supported memory and synchronization errors [25, 26, 30, 34, 52, 55]. Yet a symptom can appear in a different layer from the operation that lost or misused the required information. Explaining the failure requires connecting that symptom to the responsible source decision and its violated condition.
We present TENSORBOUND, an empirical study of tensor binding failures within and across compiler and runtime layers. A tensor execution binding, or binding relation, connects entities that realize a logical tensor value, including its operations, storage, execution context, and completion state. A binding fact represents such a relation in concrete implementation state, such as a storage identity, offset, alias base, copy policy, placement, or completion state. A source operation that changes or consumes a binding fact must satisfy a corresponding validity condition. Section 2.2 defines these concepts.
For each repaired cause, TENSORBOUND identifies the first invalid decision: the earliest operation in the reconstructed causal order whose violated condition permits the physical effect. The observed consequence describes how that effect appears in the report. A repair restores validity by changing this decision or another operation that establishes the required fact or condition. Each cause record separates four roles:
state : binding relation and concrete binding fact decision : source operation and its validity condition outcome : physical effect and observed consequence change : landed repair to the fact, operation, or condition
Source tracing connects the binding fact to the reported physical effect, while comparing pre-fix and repaired revisions identifies the change that restores validity. Reports, source revisions, tests, and repairs provide the supporting evidence.
The study covers IREE, the XLA ecosystem (XLA, JAX, and PJRT), and the PyTorch ecosystem (PyTorch, TorchInductor, and Triton). Model-assisted screening and human review select 264 reports from 7,509 public records. Of these, 162 have traceable repairs, yielding 149 distinct repaired causes after deduplication. Two human reviewers check each cause against its report, source revisions, and repair. Three failure families account for 103 of the 149 causes (69.1%): missing eligibility check, incorrect mapping or translation, and lost or omitted relation. These failures highlight two complementary requirements: preserving binding facts across representations and enforcing the validity conditions governing their use. The required conditions vary with the source operation, even within the same binding relation. The first invalid decision occurs in compiler code for 101 causes and runtime code for 48, identifying candidate checking points in both layers.
At the report level, incorrect result or state is primary in 168 of 264 reports, motivating output comparisons and state assertions alongside memory and synchronization checks. Among four archived IREE diagnostic attempts, two reach the failing path and detect and localize the physical effect. One output also identifies the selected invalid-decision site. Source and repair comparisons establish the violated binding conditions, distinguishing effect localization from causal explanation.
This study makes three contributions:
-
Source-linked cause records. We reconstruct repaired causes by connecting binding facts, invalid source decisions, validity conditions, physical effects, and repairs. Each record preserves implementation-specific evidence alongside shared taxonomy labels.
-
Cross-stack empirical findings. We characterize 149 distinct repaired causes across three compiler and runtime ecosystems. The findings identify recurring failure mechanisms, transition-specific validity conditions, and candidate checking points across compiler and runtime layers.
-
Diagnostic case study. We examine four archived IREE diagnostic attempts across five dimensions, from failing-path coverage to cause explanation. The cases distinguish the diagnostic evidence to locate physical effects from the source evidence needed to explain their causes.
Open science. The TENSORBOUND provides source-linked analysis records, archived reports and patches, and numerical verification scripts. The scripts recompute cause-level results from released records and Phase 1 estimates from reported human-review totals. Appendix D describes the available evidence and replay limitations.
2.1 From Logical Tensors to Physical Execution
A tensor in a user program is a logical tensor value. Compilation and execution can change its physical realization. Compiler transformations may fuse, split, reorder, or lower tensor operations into executable kernels. Bufferization and memory planning then assign storage regions, allowing different logical values to alias or reuse the same region [2, 20, 22, 36]. At runtime, kernels run on streams, queues, or command buffers. Ordering rules, events, futures, fences, callbacks, or timeline objects represent completion state [23, 34].
A tensor's execution therefore depends on spatial and temporal relations: which operations and storage realize the value, when those operations complete, and when the storage can represent a new value. A binding relation can span compiler and runtime representations. A compiler can encode operation uses in SSA and storage reuse in buffer assignments. Lowering can erase those compiler records before execution. The runtime then represents value-storage, ownership, and completion relations through allocations, owner records, stream order, and completion objects. A source trace connects these representations.
2.2 Tensor Execution Bindings
Binding relations connect the entities that realize a logical tensor value: the value, operations, physical storage, execution context, and completion state. For example, an operation may depend on earlier work to complete, while storage has an owner and lifetime. These relations can be explicit, such as an SSA use-def edge, or implicit, such as queue ordering.
Binding relations describe different aspects of execution. Operation relations capture identities and operand roles. Storage relations capture content, layout, aliasing, ownership, and lifetime. Execution-context relations capture device, backend, stream, and placement, while completion relations capture readiness and ordering. A binding fact represents a relation in concrete implementation state, such as a storage identity, offset, copy policy, or completion state. The same relation may be represented through IR attributes, argument indices, generated code, or runtime fields.
Bindings evolve as operations execute. Allocation, copying, alias creation, and remapping can change where a value is stored and how operations access it. Donation, ownership transfer, release, and reuse can change which operations may access storage and which value it represents. A transition is a source operation that changes or consumes a binding fact. Each transition must satisfy a validity condition, the source-level requirement governing that operation. We classify these conditions into normalized families, called validity obligations. For example, storage reuse requires earlier conflicting accesses to complete before the region is overwritten. It must also preserve values still needed through aliases. Similarly, publishing a new value requires its contents to be initialized.
2.3 Binding Failures During Storage Reuse
Consider two logical tensor values, and , that successively occupy the same physical storage region . Operation asynchronously reads on execution context , while operation reads after reuse. The host may schedule this reuse before completes:
Valid reuse requires all conflicting accesses by to complete before is overwritten. It also requires to be initialized before reads it and any ownership transfer to preserve the access rights of outstanding operations. Violating these conditions can cause to read overwritten data, to read stale data, or an operation to access storage after its access rights expire.
Four repaired causes illustrate how these conditions fail. IREE reused a cached allocation for a new parameter without initializing its contents. JAX lost a required copy policy during an ownership handoff. PyTorch performed an indexed update in place without checking whether another operand shared the destination storage. Triton moved a shared-memory load past a barrier that permitted the producer to reuse the region. Although these failures involve different operations, each changes or consumes a binding fact without satisfying its required validity condition.
Understanding these failures requires tracing binding facts, reconstructing their changes, and identifying the conditions violated by source operations. It also requires distinguishing what diagnostics observe from what source evidence establishes. These requirements lead to four challenges:
-
C1: Trace binding facts to their consumers. Identify where each binding fact is represented and follow its changes to the compiler or runtime decision that consumes it.
-
C2: Reconstruct binding evolution. Recover the binding state before and after each transition. Determine how translation, resolution, ownership transfer, erasure, and reuse change that state.
-
C3: Identify transition-specific validity conditions. Compare pre-fix and repaired paths to identify the violated condition and how the repair restores it. These conditions include content initialization, alias independence, ownership, and completion ordering.
-
C4: Separate diagnostic dimensions. Determine whether a diagnostic invocation reaches the failing path, detects and localizes the physical effect, and identifies or explains the cause. Evaluate these outcomes separately.
Section 3 states the research questions, and Section 4 describes the study method.
3 Study Scope and Research Questions
TENSORBOUND studies how tensor bindings fail within and across compiler and runtime layers, and characterizes their consequences and repairs. It also examines what archived diagnostic attempts reveal about these failures. The study covers IREE, the XLA ecosystem (XLA, JAX, and PJRT), and the PyTorch ecosystem (PyTorch, TorchInductor, and Triton). These stacks use different abstractions for storage planning, ownership, scheduling, and asynchronous completion [2, 17, 23, 36, 46]. Their differences allow us to compare how binding relations are represented and maintained across compiler and runtime layers.
Scope boundary. The study focuses on failures in the bindings of logical tensor values already defined by the program. These bindings govern identity, aliasing, reuse, placement, representation, ownership, lifetime, dependencies, and handoffs. A failure is in scope when a compiler or runtime operation incorrectly establishes, changes, or consumes such a binding.
For example, routing a defined value to the wrong consumer or operand role violates its binding. In contrast, a logical computation error is outside the scope when subsequent storage and execution preserve the resulting value's bindings. Unsupported functionality and transformation-local defects are also excluded when these bindings remain intact. Three distinctions illustrate this boundary:
-
Logical indices and storage mappings. Losing a view's byte offset maps its elements to an incorrect storage range and constitutes a binding failure. Computing an incorrect logical index is outside the scope when subsequent storage operations use it unchanged.
-
Logical results and external representation. Interpreting a correctly computed unsigned result as signed violates its representation binding and is in scope. Applying an operation along the wrong axis instead produces an incorrect logical result and is outside the scope.
-
Compiler consistency and resource ownership. Losing a buffer identity required for release violates its ownership binding and is in scope. An internal compiler inconsistency is excluded when the value's storage and execution bindings remain intact. Transformations that lose storage mappings or ownership information remain in scope.
Research questions. The six research questions follow the causal explanation of a binding failure. RQ1 and RQ2 identify the affected relations and trace their binding facts to consuming decisions. RQ3 and RQ4 examine the operations that change or consume these facts and the conditions governing their validity. RQ5 characterizes the resulting consequences and repairs, while RQ6 examines what diagnostic evidence reveals about the failures.
-
RQ1: Binding relations. Which binding relations are affected by these failures?
-
RQ2: Origins and consumers. Where do the relevant binding facts originate, and are they consumed by compiler or runtime decisions?
-
RQ3: Binding transitions. Which operations cause binding failures, and how do they change or consume binding facts?
-
RQ4: Validity conditions. Which conditions must these operations satisfy to change or consume binding facts correctly?
-
RQ5: Consequences and repair patterns. What consequences are observed? For failures with available repairs, which failure patterns and repair strategies recur, and how do they correspond?
-
RQ6: Diagnostic evidence. What do archived IREE diagnostic attempts reveal about failing paths, physical effects, and causes?

Fig. 1. Study workflow and analysis sets. RQ1–RQ4 and cause-level RQ5 use 149 distinct repaired causes. Report-level RQ5 uses 264 reports. RQ6 examines four archived IREE diagnostic attempts.
4 Study Approach
The study uses three analysis units: reports, distinct repaired causes, and diagnostic attempts. A report is a public record describing a suspected failure and serves as the unit of selection and consequence analysis. A repaired cause is a source-level error supported by a traceable landed repair. Reports sharing the same faulty source operation, violated validity condition, and repair are grouped into one cause to avoid counting the same error multiple times. A diagnostic attempt is an archived invocation with recorded commands and outputs, analyzed against its linked cause. Figure 1 presents the four-phase workflow. Phase 1 collects and reviews public records to select reports for analysis. Phase 2 traces binding facts through their representations to the compiler or runtime decisions that consume them, addressing C1. For reports with traceable repairs, Phase 3 compares pre-fix and repaired paths to reconstruct binding changes and violated conditions, then merges duplicate reports into distinct causes. This phase addresses C2 and C3. Finally, Phase 4 analyzes binding failures, consequences, and repair patterns across the selected reports and causes. It also compares four archived IREE diagnostic attempts with reconstructed causes to address C4.
4.1 Phase 1: Data Collection and Report Selection
Phase 1 establishes versioned source references and selects public reports for source tracing and consequence analysis. The process collects candidate records, applies model-assisted filtering, and validates the selection through human review.
4.1.1 Data Sources and Collection. The study covers five repositories across three ecosystems: IREE, JAX, XLA, PyTorch, and Triton. A fixed reference revision of each repository provides a stable starting point for source tracing. These snapshots locate compiler IR definitions, buffer assignments, ownership protocols, scheduling, and device execution. Individual failures are analyzed at their affected historical revisions. For reports with landed repairs, pre-fix and repaired revisions establish what changed. Each source reference retains its revision.
Table 1. GitHub label predicates and unique issue counts.
| Repository | Required labels | Issues |
|---|---|---|
| iree-org/iree | bug (label includes a beetle emoji) | 1,869 |
| pytorch/pytorch | module: inductor ^ module: correctness (silent) | 248 |
| triton-lang/triton | bug | 510 |
| jax-ml/jax | bug | 3,908 |
| openxla/xla | bug | 281 |
Candidate records come from GitHub issues and the official CVE List. GitHub issues provide engineering discussions and linked changes, while the CVE List provides security reports [9]. Following empirical software engineering sampling guidance [4], the collection specifies its search criteria, retrieval procedure, and sampling frame. The GitHub queries retrieve open and closed issues created on or before September 24, 2026. Project-maintained labels define each repository's collection. Table 1 lists the required labels and unique issue counts. Each query requires all labels in its row. For PyTorch, both module: inductor and module: correctness (silent) are required. These labels select TorchInductor reports classified as incorrect results or state without a reported execution error. Crash, hang, and lifetime reports lacking the silent-correctness label fall outside this collection. The other repositories use broader defect labels. Subsequent screening determines which collected reports describe binding failures. Thus, the results characterize these repository-specific collections rather than the prevalence of defects. The queries yield 6,816 GitHub issues: 1,869 from IREE, 758 from the PyTorch ecosystem, and 4,189 from the XLA ecosystem.
CVE collection searches GitHub's code index using six terms: IREE, PJRT, PyTorch, Triton, XLA, and jaxlib. The searches identify candidate paths in the official CVE List, and each returned record is retrieved from the same fixed revision. The searches report 713 term-level matches and return 693 paths representing distinct CVE records. The remaining 20 matches are not retrieved. The resulting sampling frame contains
Each record retains its source identifier and selection status. Appendix A specifies the queries and collection counts. The companion artifact provides the query specification, baseline revisions, record identifiers, and available capture timestamps. The issue-creation cutoff determines eligibility, while capture timestamps record when evidence was retrieved.
4.1.2 LLM-Assisted Filtering and Human Review. Model-assisted filtering reduces the candidate collection before detailed examination of linked evidence. Human review of sampled exclusions estimates how often this step misses binding failures.
Two model reviews separately apply a fixed prompt, codebook, and output schema to every record. Each review identifies the logical value, relevant storage or execution entity, candidate binding relation, reported violation, and observed consequence. Supporting quotations connect these decisions to the record's text. The reviews cannot access each other's outputs before completion; a third model review resolves disagreements. Prior work has also used LLMs for report screening [14]. Each review assigns one of three labels:
- Include. The record provides evidence of a violated binding relation and its observed consequence.
- Uncertain. The record describes a concrete failure involving an in-scope storage or execution relation, but one causal link remains unresolved.
- Exclude. The evidence indicates an out-of-scope cause or identifies neither a candidate binding relation nor a responsible source operation.
Records labeled include or uncertain advance to detailed review. For uncertain records, additional comments, changes, and tests may resolve the missing causal link. Exclusion codes distinguish out-of-scope causes from insufficient evidence. Appendix B defines these rules. After adjudication, 780 GitHub issues advance: 537 labeled include and 243 labeled uncertain. The other 6,729 records, including all 693 CVE records, are excluded. Before adjudication, the two model reviews agree on 6,387 of 6,816 GitHub issues (93.71%; Cohen's [8]) and 687 of 693 CVE records (99.13%). Too few CVE decisions favor advancement for to be informative. These values measure agreement between model reviews.
Human validation of exclusions. The final codebook, model decisions, and review history are fixed before drawing the audit sample. The audit draws three non-overlapping random samples of 200 records from the 6,729 exclusions. Each draw samples uniformly from the remaining records, so the combined 600-record sample is a simple random sample without replacement [7].
Two human reviewers independently evaluate all 600 records using the final codebook. Their evidence packets contain the archived reports and available public comments, linked changes, patches, and tests. The packets hide model decisions and rationales, selection status, and the other reviewer's labels. Each reviewer assigns binding failure or not a binding failure and cites supporting evidence. The reviewers then resolve disagreements to establish the final labels. The validation tests whether at least 95% of the filtered records are correctly excluded. A one-sided exact 95% hypergeometric bound accounts for sampling without replacement from a finite population. With
600 reviewed records, the criterion is met if at most 21 binding failures are found. The test has approximately 81% power when 97% of the filtered records are correctly excluded. All 600 records contribute to the primary test [7, 49]. Table 2 reports the individual samples and combined results.
Table 2. Human validation of the initial exclusions. Binding-failure counts use final human labels. Reviewer agreement is measured before discussion.
| Group | Records reviewed | Binding failures found | Reviewer agreement (%) |
|---|---|---|---|
| Sample 1 | 200 | 0 | 198 (99.0) |
| Sample 2 | 200 | 3 | 195 (97.5) |
| Sample 3 | 200 | 1 | 199 (99.5) |
| All samples | 600 | 4 | 592 (98.7) |
Let denote the binding failures identified in the sampled exclusions. The expansion estimator [7] estimates their total among all 6,729 excluded records:
The estimated percentage correctly excluded is . Human review identifies four binding failures, leaving 596 of 600 sampled records (99.33%) correctly excluded. With , the estimated number of missed failures is 45. The equal-tailed exact 95% hypergeometric interval is 14–111, corresponding to 98.35%–99.79% correctly excluded. The one-sided 95% lower bound is 98.53%, exceeding the 95% criterion [49]. These estimates use the reported human-review totals. The public release does not include the sample membership lists or individual human decisions. Its scripts therefore verify the calculations but cannot independently reproduce the sample draws or review labels.
4.1.3 Detailed Review and Final Selection. Detailed review examines linked evidence to resolve causal gaps in the 780 records that pass filtering. Each evidence packet includes the report's public comments, timeline, cross-referenced issues, pull requests, patches, and tests. These materials connect the observed symptom to the implementation and any proposed or incorporated repair.
The model reviews follow the initial screening procedure and classify each record as confirmed, unresolved, or excluded. At each step, two human reviewers independently examine all proposed removals, including unresolved records. They record their judgments before resolving disagreements. Reports confirmed as binding failures return to the candidate set before the next step. Detailed review is followed by four additional rounds and a final review. Codebook revisions are reapplied to all 780 advanced records. Table 3 records each step's input, proposed removals, human restorations, final removals, and output. Each output becomes the next step's input.
Table 3. Report selection after human review at each step. Restored reports remain in the output set.
| Review step | Input | Proposed removals | Restored | Final removals | Output |
|---|---|---|---|---|---|
| Detailed review | 780 | 366 | 19 | 347 | 433 |
| Review round 1 | 433 | 41 | 3 | 38 | 395 |
| Review round 2 | 395 | 67 | 5 | 62 | 333 |
| Review round 3 | 333 | 55 | 1 | 54 | 279 |
| Review round 4 | 279 | 10 | 0 | 10 | 269 |
| Final review | 269 | 5 | 0 | 5 | 264 |
| All steps | - | 544 | 28 | 516 | 264 |
Human review reverses 28 of 544 proposed removals. The remaining 516 removals leave 264 reports, including the restored reports. The 28 reversals count review decisions across steps; the released aggregate log cannot establish whether a record was restored more than once. Both human reviewers independently apply the final codebook to all 264 retained reports. Before discussion, both classify every report as a binding failure. Final-set precision relative to these human labels is therefore [33]. The companion artifact records final report membership and the reported review totals. Per-step human decisions and restored-record identifiers are unavailable in the public release. All 264 reports proceed to source tracing. Reports with traceable landed repairs also enter cause reconstruction and deduplication.
4.1.4 Estimating Initial Filtering Recall. Recall measures the fraction of evidence-supported binding failures retained during initial filtering. A positive reference label requires public evidence of a binding relation, its violation, and an observed consequence. Records lacking evidence for any required element receive a negative label. Human review confirms 264 binding-failure reports among the 780 records that pass initial filtering. The audit estimates the number missed among the initial exclusions. Using from Section 4.1.2, estimated recall is [33]
Applying the same calculation to the 95% interval of 14–111 missed failures gives a recall interval of 70.40%–94.96%. This estimate applies to evidence-supported failures within the collected sampling frame. The four positive audit records contribute to the estimated omissions among the 6,729 initial exclusions; they remain separate from the 264 analysis set. Appendix E reports the review counts.
4.2 Phase 2: Source Tracing and Binding Coding
Phase 2 traces the 264 human-confirmed reports to candidate source operations. Each trace connects the reported physical effect to the binding facts, transitions, and validity conditions that explain it.
4.2.1 Trace Scope. Tracing begins at the reported effect or a linked source location. Production and consumption traces follow operands, results, use–def edges, and scheduler users. Reuse and ownership traces follow aliases, assignments, retains, releases, moves, and donations through the last affected use. For asynchronous execution and transfers, traces follow launches, completion objects, dependencies, source and destination storage, and execution contexts. A trace may span IR attributes, generated code, runtime objects, and scheduler state.
4.2.2 Source Tracing. Source tracing identifies the earliest operation whose violated validity condition permits the reported physical effect. Algorithm 1 summarizes this analyst-guided procedure. It produces a cited trace, the earliest supported candidates, and either a selected decision or an unresolved status.
Analysts first locate source anchors and resolve them to the affected historical revisions. When no source anchor is linked, reference snapshots provide a starting point (lines 1–6). Backward tracing follows each binding fact to its documented origin: an API value, IR fact, runtime field, or backend contract. Forward tracing follows the fact to the reported physical effect. The trace retains each supported operation that creates, changes, drops, or consumes the fact, together with its cited evidence (lines 11–13). A candidate changes or consumes a binding fact while its validity condition is false. Source evidence must establish this violation and connect the operation to the physical effect (lines 14–15). A competing access remains in the trace but is excluded as a candidate when evidence establishes that it follows its documented contract.
Each candidate is the smallest source operation supported by the evidence that makes the binding decision on the failing path. Examples include an assignment that publishes state, a branch that
Algorithm 1: Trace a report to the first invalid decision
Input: r: report; E: linked evidence; S: versioned source snapshots Output: T: cited trace; C: earliest supported candidates; d: first invalid decision or
1 // linked source locations 2 if then 3 // search snapshots 4 if then 5 6 // affected historical code 7 if then 8 9 10 foreach do 11 // trace to the value 12 // trace to the effect 13 // retain cited steps 14 // candidate violations 15 // require causal evidence 16 // documented causal order 17 // no earlier candidate 18 19 if then 20 // unique earliest decision 21 return
permits a transformation, a helper call that performs a transfer, or an IR rewrite that emits an operation. When the evidence identifies only a helper, the trace records its call. For a lost binding fact, the candidate is the operation that drops information its contract requires it to preserve. An omitted action has no executed source location. In this case, the candidate is the first executed operation that requires the missing result, while the failure family remains omitted operation. An earlier operation replaces a later candidate only when evidence connects its violation to the same physical effect.
After identifying supported violations, the analysis orders candidates using program order and data or control dependencies within an execution path. Documented synchronization or happens-before edges establish the order between concurrent operations. Across compilation and execution, the causal order follows the changed IR, generated code, or launch configuration from a compiler decision to the runtime operation that uses it. Candidates without an earlier supported candidate form (lines 16–17). A unique candidate becomes the selected decision . Otherwise, , and the report remains unresolved for Phase 3.
4.2.3 Coding Relations, Transitions, and Obligations. Each trace records four fields that distinguish the affected relation, its provenance, the source operation, and its validity condition:
-
Relation. This field identifies the entities connected at the first invalid decision. The primary relation is the one whose binding fact the decision changes or consumes and the repair restores or checks. Other supported relations remain in the trace.
-
Provenance path. This field traces a binding fact from its origin to the first invalid decision. The path may include translation, validation, resolution, ownership transfer, or code emission.
-
Transition. This field records the source operation, binding states before and after it, changed fields, governing conditions, trigger, and physical effect.
-
Validity obligation. The codebook maps source-level validity conditions to normalized obligation families. Operation selection precedes condition coding. The primary condition is the requirement violated at the first invalid decision. The repair restores or enforces this requirement, either at that decision or at another operation that establishes the necessary binding state. The corresponding codebook family is assigned as the primary obligation. A regression test or an attributed developer diagnosis may help identify the requirement restored by the repair.
The pre-fix/repaired comparison provides evidence for selecting the source operation and its primary condition. If either remains unresolved, no cause record is produced. Each coded label retains its implementation-specific term and source location. A binding fact originates where it first acquires a concrete representation. Origins fall into four categories: API or frontend, compiler IR or analysis, runtime state, and backend or device contract. Its consumer is the compiler or runtime decision that drops, changes, or consumes the fact. Each repaired cause contributes one primary provenance record to RQ2. This record follows the fact required to evaluate the primary validity condition. Related values, such as a base address and offset, share the same record. RQ2 counts the fact's origin and the first invalid decision as provenance endpoints. The complete source trace also retains intermediate steps and the downstream physical effect.
The research team checks each candidate's causal path, validity condition, and labels against the cited report and source. When analysts disagree, they revisit the supporting definition-use, call, and synchronization links. Supported alternatives remain available for the Phase 3 repair comparison. Each trace links its coded fields to report identifiers, source locations, revisions, and supporting evidence.
4.3 Phase 3: Cause Reconstruction and Deduplication
Phase 3 reconstructs binding failures by comparing pre-fix and repaired source paths. The comparison identifies the violated conditions and explains how the repairs restore validity. Coding, deduplication, and human review produce the final cause records. Of the 264 source-tracing reports, 162 have traceable repairs and enter reconstruction. The remaining 102 retain their reviewed report-level records.
4.3.1 Cause Reconstruction. Each reconstruction combines the Phase 2 trace, archived report evidence, and a repair incorporated into the project's repository. Comparing pre-fix and repaired paths identifies changes to binding facts, operations, and validity conditions. The record distinguishes three source locations. The first invalid decision introduces the violation. The repair site is the operation whose behavior changes, while the patch site is the edited source location. These locations may differ. Linking the edited code to the changed operation explains how the repair addresses the original violation.
Algorithm 2 summarizes the analyst-guided procedure. Analysts first identify the pre-fix and repaired revisions (lines 1–2). Both paths record the same fields: logical value, operation, storage, execution context, completion state, transition, and physical effect. Comparing these fields resolves the candidate decision from Phase 2 and identifies the validity condition violated at that decision (lines 4–10). If either remains unresolved, no cause record is produced. If the selected decision changes, the trace and its upstream relations are updated (line 13).
The repair identifies what changed, while tracing beyond the edited lines connects that change to the original violation. For a multi-hunk patch, the repair strategy follows the operation or condition changed to restore validity, rather than the number of edited locations. Each record distinguishes the reported release or branch from the revisions used for comparison. It also records
Algorithm 2: Reconstruct a cause from its repair
Input: T: Phase 2 trace; E: archived evidence; P: ordered repair commits Output: K: cause record, or ⊥ if unresolved
1 ← parent(first(P)) // pre-fix revision 2 ← last(P) // repaired revision 3 ← repairSites(P, E) // repair and patch sites 4 ← reconstructPath(T, L, , E) 5 ← reconstructPath(T, L, , E) 6 ← comparePaths(, ) // binding changes 7 ← resolveDecision(, , E) // earliest violation 8 if then 9 return 10 ← primaryCondition(d, , E) // condition at 11 if then 12 return 13 ← updateTrace(T, d, E) // update upstream relations 14 ← buildCauseRecord(T, d, o, L, , P, E) 15 ← linkEvidence(K, E) // support each claim 16 return K
the availability of patches, source comparisons, regression tests, attributed developer diagnoses, and public reproducers.
4.3.2 Coding, Deduplication, and Human Review. The cause record extends the Phase 2 record with four fields. The failure family describes how the first invalid decision violates its validity condition. The physical effect captures the resulting execution behavior, while the observed consequence describes how that effect appears in the report. The repair strategy describes how the change at the repair site restores or enforces the violated condition. For example, an incorrect offset may cause an out-of-range access that appears as a crash. Later invalid operations remain in the causal path. Coding and review involve four tasks:
(1) Code consequences. Each report receives one primary consequence: incorrect result or state, runtime rejection or crash, memory-access violation, data race, hang or deadlock, resource leak or exhaustion, or another observable failure. Three nonexclusive flags capture memory-access signals, concurrent-access violations, and availability loss. A security consequence requires cited evidence linking the effect to a protected asset and establishing the attacker capability and system conditions required for that impact.
(2) Build shared categories. The binding model provides the initial relation categories. Source descriptions and repairs supply candidate transition, obligation, failure, and repair labels. Analysts merge labels that connect the same entity types and satisfy the same definition. Categories are split when their state changes, validity conditions, failure mechanisms, or repairs differ. Each codebook revision is reapplied to all causes. Records retain their implementation-specific terms alongside the shared categories.
(3) Merge duplicate reports. Reports share a cause identifier only when their source operation, primary condition, and repair behavior match. This rule also merges backports whose edited lines differ. Distinct invalid decisions remain separate causes, even when one patch repairs them. Reports with different primary conditions also remain separate, even when they involve the same source operation.
(4) Validate the records. Following prior compiler-bug studies [10, 41], two human reviewers check every cause against its report, source revisions, tests, and repair. They examine the causal explanation, coded fields, provenance endpoints, and duplicate links. Fields inconsistent with the evidence are corrected and rechecked. Conflicting developer explanations remain archived and are resolved through source comparison. The final report reviews provide the remaining consequence labels.
The final codebook contains eight relation, seven transition, 15 obligation, and eight failure families, plus seven repair strategies. The results use the frozen 2026-10-01 codebook. Appendix F defines these families and their boundaries. Source comparison resolves all 162 repair-linked reports. Merging 13 duplicate reports yields 149 distinct repaired causes, each with one first invalid decision and one primary obligation. Both human reviewers agree on the final cause records and report-to-cause mapping. Independent source-operation selections were not recorded before reconciliation. These records support RQ1–RQ4 and cause-level RQ5. The companion artifact retains the supporting evidence and report-to-cause links.
4.3.3 Worked Examples. IREE's cached-buffer report [43] describes incorrect numerical output after repeated parameter updates. Each update supplies new bytes through initial_data. In the pre-fix reuse branch of iree_hal_caching_allocator_pool_acquire, *out_buffer=existing_buffer publishes a cached buffer without writing the new bytes. Figure 2 compares the two paths.

Fig. 2. Pre-fix and repaired paths for buffer reuse. The repair writes initial_data and checks success before publishing the buffer.
Decision selection. The omitted write has no executed source location. The publication assignment is the first invalid decision because it precedes the return and downstream read without initializing the contents. The binding relation connects the logical parameter to storage content, the transition is initialization or content update, and the primary obligation is initialization before publication.
Repair and evidence. The repair inserts iree_hal_buffer_map_write before publication, checks its success, and releases the buffer on failure. The source comparison, maintainer diagnosis, reproducer, and reporter retest support this reconstruction. The failure family is omitted operation, repaired by performing the missing write. Stale parameter content causes the incorrect output.
Concurrent access to semaphore identity. In IREE's semaphore-cleanup case [5], callback processing clears the base timepoint under timepoint_mutex, as required before handler invocation. Waiter cleanup reads timepoints[i].base.semaphore outside the lock to obtain an argument for a cancellation function that later acquires the same mutex. This read can race with the callback reset.¹ The reset follows the documented lifecycle, while the cleanup read depends on an identity that the callback can clear. The maintainer diagnosis identifies this lookup as the error. Neither
¹Pre-fix revision d42e002e: semaphore_base.c, lines 75–88, 121–162, 208–233, and 238–268; task_semaphore.c, lines 30–35 and 391–397.
access precedes the other in the happens-before order, making the cleanup read the sole supported invalid decision. Its primary obligation is happens-before ordering. The caller retains the semaphore, and timepoint storage remains allocated through cleanup. The repair saves the semaphore identity in a separate field at acquisition and uses it during cleanup. The callback still resets the base, but no longer conflicts with the cleanup read. The repair preserves or propagates the relation without changing semaphore reference counting.
Alias independence in scatter reinplacement.
In PyTorch's scatter-reinplacement case [1], should_reinplace_scatter replaces a functional scatter with view(inp).copy_(src). This transformation can change the result when inp and src share storage. The repair checks their storage identities and retains the functional scatter when they alias, enforcing the primary obligation of alias_independence.
4.4 Phase 4: Cross-Case Analysis and Exploratory Diagnostic Case Study
Phase 4 aggregates the coded records for RQ1–RQ5 and compares archived diagnostic attempts with reconstructed causes for RQ6. For RQ1–RQ4, each repaired cause contributes one primary relation, provenance record, transition, and validity obligation. To examine how validity conditions vary within a binding relation, we count primary relation–transition–obligation combinations across the 149 causes. RQ5 pairs failure families with repair strategies at the cause level and counts consequences across the reports selected in Phase 1. RQ6 examines four archived attempts from three IREE causes. Each attempt has preserved commands and outputs. Its record also retains the tool or check, configuration, input, executed path, reported location, and linked cause. Analysts align the invocation's backend and executed path with the source operation and first invalid decision in the cause record. Diagnostic output remains separate from later developer diagnoses so that the assessment reflects what the diagnostic itself reports.
Five dimensions distinguish reaching the failing path, detecting its effect, and locating and explaining its cause:
-
Failing-path coverage. Does it reach the first invalid decision on the failing path?
-
Effect detection. Does it signal the physical effect?
-
Effect localization. Does it identify the concrete runtime object, allocation, access, or source site where the physical effect appears?
-
Cause localization. Does it identify the exact source operation selected as the first invalid decision?
-
Cause explanation. Does it explain the binding relation or validity condition that makes the decision invalid?
Effect localization can identify an affected allocation or conflicting access; cause localization requires the selected source operation itself. Each dimension receives one of five codes: yes, no, unreported, not evaluated, or not applicable. When an attempt does not reach the first invalid decision, the other four dimensions are not evaluated. This separates a path mismatch from a detection failure. For no or unreported, the record states the reason: a path mismatch, a missing binding fact, an available fact left unchecked, or the operation where the diagnostic stops. Each code cites the archived output and source evidence. The linked repair record identifies the required binding fact. The released RQ tables link counts to report, cause, or attempt identifiers. Scripts check their membership, distributions, and evidence-file hashes.
5 Empirical Results
Study setup. The released analysis scripts require Python 3.10 or later. We verified the archived analysis on Ubuntu 24.04.3 LTS with Python 3.12.3. The model reviews used Codex CLI 0.155.0, the model alias gpt-daybreak-blue-latest, and high reasoning effort. Appendices B and C summarize the review rules; Appendix D documents execution settings and output validation. Source tracing uses the fixed snapshots and historical revisions described in Phase 1. RQ6 analyzes archived diagnostic commands and outputs under their recorded configurations.
Analysis sets. The evaluation uses three analysis units: reports for consequence analysis, distinct repaired causes for RQ1–RQ4 and cause-level RQ5, and diagnostic attempts for RQ6. Table 4 summarizes these sets. The study includes 264 human-confirmed reports: 74 from IREE, 99 from the PyTorch ecosystem, and 91 from the XLA ecosystem. Of these, 162 have traceable repairs. Merging 13 reports that share a first invalid decision and repair with another report yields 149 distinct repaired causes: 46 from IREE, 55 from the PyTorch ecosystem, and 48 from the XLA ecosystem. The remaining 102 reports contribute only to report-level analysis.
Table 4. Analysis sets, repair availability, and analytical uses.
| Set | Count | Analytical use |
|---|---|---|
| Source-tracing reports | 264 | Source tracing and report-level consequence analysis |
| Reports with traceable repairs | 162 | Pre-fix/repaired comparison and cause reconstruction |
| Reports without traceable repairs | 102 | Report-level consequence analysis only |
| Distinct repaired causes | 149 | RQ1–RQ4 and cause-level RQ5 |
| Reports with consequence codes | 264 | Report-level RQ5 |
| Diagnostic attempts | 4 | RQ6; archived attempts from three IREE causes |
5.1 RQ1: Binding Relations
Value-storage/layout is the largest primary relation among the 149 repaired causes, accounting for 37 (24.8%). The other 112 causes (75.2%) span seven families (Table 5). These cover operation identity, execution context, completion, ownership, shared storage, representation, and content.
Table 5. Primary binding relations in 149 repaired causes.
| Relation family | IREE | PyTorch ecosystem | XLA ecosystem | Total |
|---|---|---|---|---|
| Value-storage/layout | 10 | 21 | 6 | 37 |
| Value-operation/identity | 10 | 8 | 5 | 23 |
| Operation-execution context | 6 | 0 | 16 | 22 |
| Operation-completion | 4 | 9 | 8 | 21 |
| Storage-ownership/lifetime | 9 | 0 | 7 | 16 |
| Value-shared storage | 3 | 9 | 2 | 14 |
| Value-representation | 2 | 8 | 3 | 13 |
| Logical value-storage content | 2 | 0 | 1 | 3 |
| Total | 46 | 55 | 48 | 149 |
The leading relation differs across the sampled ecosystems. Storage/layout leads in the PyTorch ecosystem (21 of 55 causes), followed by completion and shared storage (nine each). Execution context leads in the XLA ecosystem (16 of 48), followed by completion (8) and ownership/lifetime (7). In IREE, storage/layout and operation identity each account for ten of 46 causes, followed by ownership/lifetime (9). Beyond storage layout, 58 causes concern operation identity, representation, or execution context. The 23 operation-identity causes involve argument ordinals, result positions, binding identifiers, and coordinate maps. For example, an IREE implementation used sparse buffer identifiers as indices into a dense kernel-argument array. This could select an absent or incorrect slot. The repair established a consistent dense mapping across compiler and runtime representations. The other two families concern how values are interpreted and where their operations execute. The 13 representation causes involve signedness, sub-byte storage, and precision configuration. The 22 execution-context causes involve device commitment, sharding, streams, and workgroup placement. These cases show that the affected relation can govern the use of a value rather than its storage layout.
Completion relations take different forms across stacks. In the analyzed cases, IREE represents completion through timepoints and task notifications. The PyTorch ecosystem uses events and barriers, while the XLA ecosystem uses tokens, callbacks, or collective state.
Storage/layout is primary in 37 of 149 repaired causes (24.8%); the other 112 span seven relation families. This diversity motivates relation-specific checks grounded in each stack's concrete representations.
5.2 RQ2: Provenance Endpoints
Compiler decisions consume the primary binding fact in 101 of the 149 repaired causes, while runtime decisions consume it in 48 (Table 6). API/frontend state and compiler IR/analysis are the two largest origin categories, contributing 64 facts each. The remaining facts originate in runtime state or backend and device contracts.
Table 6. Origins and consuming layers of 149 primary binding facts.
| Fact origin | Compiler decision | Runtime decision | Total |
| API or frontend | 41 | 23 | 64 |
| Compiler IR or analysis | 59 | 5 | 64 |
| Runtime state | 0 | 19 | 19 |
| Backend or device contract | 1 | 1 | 2 |
| Total | 101 | 48 | 149 |
Origin and consumer categories differ in 71 records. These comprise all 64 API/frontend origins, five compiler-origin facts consumed at runtime, and two backend or device-contract origins. Of the API/frontend facts, 41 reach compiler decisions and 23 reach runtime decisions. This count compares endpoints, not intermediate layer crossings. The source traces show how binding facts change representation before reaching these decisions. Tensor views become storage offsets, API requests become transfer policies, and graph operands supply alias information. The following examples illustrate failures in carrying or checking these facts. Each box shows the required fact flow and checks.
- IREE: Nonzero-offset buffer view [11].
buffer view + source offset → offset-aware fold guard → descriptor range The pre-fix fold dropped the nonzero offset. The repair guards the fold to preserve the view's storage range.
- XLA ecosystem: Copy and donation policy [35].
may_alias=False → sharding handler → C++ transfer policy → destination storage ownership
The pre-fix sharding path omitted the copy request, so the runtime reused its input. The repair carries the copy policy into the transfer.
- PyTorch ecosystem: Indexed-update reinplacement [1].
inp, src, _view_ops → inp/src storage-identity test →
should_rereplace_scatter → view(inp).copy_(src)
Here, inp is the destination-view base, src supplies the values, and _view_ops constructs the view. The pre-fix decision allowed an in-place update without checking whether inp and src shared storage. The repair compares their storage identities and keeps the functional scatter when they match.
Compiler decisions consume the primary binding fact in 101 of 149 causes. The source examples distinguish lost facts from missing checks, suggesting checks at representation changes and consuming decisions.
5.3 RQ3: Binding-State Transitions
Representation or layout change is the largest transition family, with 37 of 149 causes (24.8%), followed by identity or index remapping with 31 (20.8%). Placement or context change and ordering or completion handoff contribute 23 causes each. These four families account for 114 causes (76.5%). Figure 3 pairs the transition at each first invalid decision with its primary binding relation.
| binding relation | transition family | total | ||||||
|---|---|---|---|---|---|---|---|---|
| identity index | init. content | order completion | own. lifetime | place. context | repr. layout | storage alias/mut. | ||
| logical value--storage content | 3 | 3 | ||||||
| operation--completion | 21 | 21 | ||||||
| operation--execution context | 22 | 22 | ||||||
| storage--ownership/lifetime | 1 | 14 | 1 | 16 | ||||
| value--operation/identity | 20 | 2 | 1 | 23 | ||||
| value--representation | 1 | 1 | 11 | 13 | ||||
| value--shared storage | 1 | 13 | 14 | |||||
| value--storage/layout | 10 | 1 | 26 | 37 | ||||
| total | 31 | 4 | 23 | 16 | 23 | 37 | 15 | 149 |
blank cells are zero; values are distinct repaired causes (n=149).
Fig. 3. Relation–transition matrix for 149 distinct repaired causes.
The same binding relation can fail under different transitions. The 37 value–storage/layout causes span representation or layout change (26), identity or index remapping (10), and initialization or content update (1). Conversely, one transition can affect different relations: identity or index remapping also accounts for 20 of the 23 value–operation/identity causes. Other relations concentrate in one transition family. Of the 14 value–shared storage causes, 13 involve storage, alias, or mutation change. All 22 operation–execution-context causes involve placement or context
Table 7. Primary validity obligations in 149 repaired causes. Nonzero relation counts are shown.
| Validity obligation | Relation counts | Total |
|---|---|---|
| Happens-before ordering | operation-completion 17; execution context 1; ownership/lifetime 2; shared storage 1 | 21 |
| Index and offset preservation | operation/identity 3; representation 1; storage/layout 14 | 18 |
| Identity correspondence | operation/identity 14; shared storage 1; storage/layout 1 | 16 |
| Ownership and lifetime | ownership/lifetime 12 | 12 |
| Placement and context consistency | execution context 13 | 13 |
| Alias independence | shared storage 11 | 11 |
| Layout compatibility | storage/layout 11 | 11 |
| Representation fidelity | representation 10; storage/layout 1 | 11 |
| Range and alignment safety | operation/identity 1; storage/layout 9 | 10 |
| Policy and configuration propagation | execution context 5; ownership/lifetime 1; shared storage 1 | 7 |
| Transformation equivalence | operation-completion 1; operation/identity 3; representation 2; storage/layout 1 | 7 |
| Completion and progress | operation-completion 3; ownership/lifetime 1 | 4 |
| Initialization before publication | storage content 3; execution context 1 | 4 |
| Resource and capability agreement | execution context 2; operation/identity 1 | 3 |
| Value semantics preservation | operation/identity 1 | 1 |
change. Transition patterns also vary across the sampled ecosystems. IREE has 11 ownership or lifetime changes involving reference replacement, allocator lifetime, and asynchronous cleanup. The PyTorch ecosystem has 23 representation or layout changes involving view geometry, lowering, and representation selection. In the XLA ecosystem, 17 causes involve placement or context changes in device commitment, sharding, streams, collectives, or callbacks.
A transition can also invalidate a binding while the bound objects remain present. In one XLA ecosystem cause, a sharding path dropped the copy policy while retaining the transfer operation and input buffer. In a Triton cause, instruction movement reversed the required order while the tile and barrier remained present. The failures concern the policy or ordering governing the objects' use, rather than their presence.
The same binding relation can fail under different transitions, and one transition can affect several relations. Their combination guides checks of mappings, policies, and ordering.
5.4 RQ4: Validity Conditions
The 149 repaired causes span 15 primary validity-obligation families (Table 7). Happens-before ordering is the largest, with 21 causes (14.1%), followed by index and offset preservation (18, 12.1%) and identity correspondence (16, 10.7%). Together with ownership and lifetime (12) and placement and context consistency (13), these five families account for 80 causes (53.7%). The remaining ten families cover 69 causes.
Primary obligations vary within binding-relation families. The 23 value-operation/identity causes span six obligation families, led by identity correspondence (14), index and offset preservation (3), and transformation equivalence (3). The 37 value-storage/layout causes are concentrated in index and offset preservation (14), layout compatibility (11), and range and alignment safety (9). Other relations show stronger concentrations: ownership and lifetime is primary in 12 of 16 storage-ownership/lifetime causes, while placement and context consistency is primary in 13 of 22 execution-context causes. Transitions further distinguish the conditions required within the same binding relation. Among the 37 value-storage/layout causes, eight of ten identity or index remappings require index and offset preservation. The 26 representation or layout changes span five primary obligations: layout compatibility (11), range and alignment safety (7), index and offset preservation (6), identity correspondence (1), and transformation equivalence (1). The single initialization or content update requires range and alignment safety.
Source repairs illustrate these differences. In PyTorch's slice-offset case [16], the repair adds the relative offset to the input's existing storage offset, preserving the intended storage region. In IREE's host-copy case [38], a two-byte source fits within a four-byte padded target. The repair replaces a buffer-length equality check with a check that the source fits within the target. Both failures affect storage bindings, but their operations require different validity conditions.
The 149 repaired causes span 15 primary validity obligations. Different transitions affecting the same binding relation require different validity conditions, motivating transition-specific checks.
5.5 RQ5: Consequences and Repair Patterns
5.5.1 Observed Consequences. Incorrect result or state is the primary consequence in 168 of the 264 reports (Table 8). These failures include numerical corruption, stale values, wrong placement, and incorrect alias or mutation state.
Table 8. Primary consequences in 264 reports.
| Primary consequence | Reports |
| Incorrect result or state | 168 |
| Runtime rejection or crash | 41 |
| Memory-access violation | 23 |
| Hang or deadlock | 12 |
| Resource leak or exhaustion | 12 |
| Data race | 5 |
| Other observable failure | 3 |
| Total | 264 |
Incorrect result or state appears in 33 of 74 IREE reports, 41 of 77 JAX reports, and eight of 14 XLA reports. The corresponding counts are 65 of 71 PyTorch reports and 21 of 28 Triton reports. Repository counts remain separate because the sampling predicates differ. PyTorch requires both the Inductor and silent-correctness labels, while Triton uses its broader bug label. Sixty reports carry at least one memory-access, concurrent-access, or availability flag. These comprise 23 memory-access signals, 14 concurrent-access violations, and 24 availability losses. One report carries two flags. Five concurrent-access violations appear as races; the others appear as incorrect results or crashes. These flags capture effects that cross primary consequence categories.
These patterns motivate output comparisons and explicit state checks alongside memory, synchronization, and progress checks. The flags describe technical effects rather than established security impacts. Establishing security impact also requires attacker capabilities, protected assets, and deployment conditions, which the public reports and linked changes do not specify.
5.5.2 Failure Families and Repair Strategies. Three failure families account for 103 of the 149 repaired causes (69.1%). Missing eligibility checks contribute 37 causes (24.8%), incorrect mappings or translations contribute 35 (23.5%), and lost or omitted relations contribute 31 (20.8%). These failures permit operations without checking required preconditions, establish incorrect correspondences, or fail to carry required binding facts to their consumers. Figure 4 pairs each cause's failure family with its repair strategy.
| failure family | repair strategy | total | ||||||
|---|---|---|---|---|---|---|---|---|
| limit transform | correct mapping | correct lifetime | perform operation | preserve relation | restore order | stronger check | ||
| incorrect mapping/translation | 1 | 33 | 1 | 35 | ||||
| lost/omitted relation | 1 | 1 | 2 | 27 | 31 | |||
| missing eligibility check | 2 | 1 | 34 | 37 | ||||
| missing ordering/enforcement | 8 | 8 | ||||||
| omitted operation | 1 | 5 | 6 | |||||
| premature invalidation/stale | 3 | 3 | ||||||
| operation before required event | 1 | 4 | 2 | 3 | 10 | |||
| unsound assumption/inference | 3 | 8 | 2 | 1 | 1 | 4 | 19 | |
| total | 8 | 42 | 11 | 6 | 33 | 11 | 38 | 149 |
blank cells are zero; values are distinct repaired causes (n=149).
Fig. 4. Failure families and repair strategies in 149 repaired causes.
Of the 103 causes in these families, 94 (91.3%) use the corresponding repair categories. Mapping corrections address 33 of 35 mapping failures, stronger eligibility checks address 34 of 37 missing-check failures, and relation preservation or propagation addresses 27 of 31 lost-relation failures. These correspondences partly reflect the category definitions, which describe failures and their direct corrections. The remaining nine causes use different strategies: four constrain unsafe transformations, four correct ownership or lifetime, and one corrects a mapping or representation. Other failure families also span multiple repair strategies. The operation before required event family spans four, while unsound assumption or inference spans six.
Repair strategies also vary with the violated validity condition (Figure 5). Mapping correction is the most frequent strategy for index and offset preservation (11 of 18 causes), while restored ordering leads for happens-before ordering (8 of 21). Ownership corrections address 11 of 12 ownership and lifetime causes, and stronger eligibility checks address ten of 11 alias-independence causes. For initialization before publication, three of four repairs add the omitted operation.
Source repairs illustrate why failure mechanisms and repair strategies need not correspond directly. In PyTorch's CPU cast case [40], to_type caches the original float32 value for reuse after conversion to float16. A later cast back to float32 can therefore bypass the required rounding. The repair disables cache insertion under emulate_precision_casts, constraining the optimization rather than adding an eligibility check. In IREE's allocator-lifetime case [32], iree_hal_buffer_initialize stores device_allocator in the buffer but returns without retaining it. The allocator can then be released before buffer destruction, which still requires it for deallocation. The first invalid decision is the initializer's return, and the failure family is omitted operation: the pointer reaches the buffer, but the required retain is absent. The repair adds the retain and releases the allocator after deallocation in iree_hal_buffer_destroy, restoring the ownership protocol through its last use.
Three failure families account for 103 of 149 repaired causes (69.1%), with corresponding repair categories in 94 cases. The source examples show that repairs may restore the violated condition by constraining an unsafe decision or changing the operations that establish the required binding state.
5.5.3 Evidence and Sampling Sensitivity. All 149 causes have a repair patch and a pre-fix/repaired source comparison. Of these, 117 also have a regression test, 89 an attributed developer diagnosis, and 53 a public reproducer or command. A cause can have several types of supporting evidence.
TensorBound: Characterizing Tensor Binding Failures
21
| validity obligation | repair strategy | |||||||
|---|---|---|---|---|---|---|---|---|
| limit transform | correct mapping | correct lifetime | perform operation | preserve relation | restore order | stronger check | total | |
| index and offset preservation | 11 | 5 | 2 | 18 | ||||
| identity correspondence | 2 | 9 | 1 | 4 | 16 | |||
| happens-before ordering | 2 | 2 | 4 | 8 | 5 | 21 | ||
| ownership and lifetime | 11 | 1 | 12 | |||||
| placement and context consistency | 4 | 9 | 13 | |||||
| alias independence | 1 | 10 | 11 | |||||
| range and alignment safety | 4 | 6 | 10 | |||||
| representation fidelity | 2 | 7 | 1 | 1 | 11 | |||
| transformation equivalence | 1 | 1 | 5 | 7 | ||||
| layout compatibility | 1 | 1 | 3 | 6 | 11 | |||
| policy and configuration propagation | 1 | 6 | 7 | |||||
| completion and progress | 3 | 1 | 4 | |||||
| initialization before publication | 1 | 3 | 4 | |||||
| value semantics preservation | 1 | 1 | ||||||
| resource and capability agreement | 1 | 2 | 3 | |||||
| total | 8 | 42 | 11 | 6 | 33 | 11 | 38 | 149 |
blank cells are zero; values are distinct repaired causes (n=149).
Fig. 5. Primary validity obligations and repair strategies in 149 repaired causes.
Restricting the analysis to the 136 causes with a regression test or developer diagnosis preserves the leading relation, transition, obligation, and failure families. The two leading repair strategies exchange rank: strengthen eligibility check has 38 causes, followed by correct mapping or representation with 37. Across the 45 relation, transition, obligation, failure, and repair categories, the largest change in category share is 2.44 percentage points. For the 13 causes without a regression test or developer diagnosis, pre-fix/repaired source comparisons support their primary obligations. Six also have a public reproducer. Repair-linked reports tend to be older and more often closed. Of the 102 reports without traceable repairs, 67.6% were opened in 2025–2026 and 31.4% were closed. Among repair-linked reports, the corresponding shares are 51.2% and 87.7%. Incorrect result or state is the leading consequence in both groups (60.8% and 65.4%, respectively).
A further sensitivity analysis excludes the PyTorch repository, whose query requires the silent-correctness label. Triton remains included. Incorrect result or state remains the largest consequence, with 103 of 193 reports (53.4%). Among the remaining 112 repaired causes, the same three failure families lead, although their order changes: incorrect mapping or translation (29), lost or omitted relation (26), and missing eligibility check (21). Together, they account for 76 causes (67.9%). Compiler decisions consume the primary binding fact in 64 causes (57.1%), and runtime decisions consume it in 48 (42.9%). Thus, the leading consequence and failure families persist, and compiler decisions remain the larger consumer group across the other four repository samples.
5.6 RQ6: Four Historical Diagnostic Attempts
Four archived diagnostic attempts across three IREE causes illustrate the distinction between reaching a failing path, detecting and localizing its effect, and explaining its cause. Each attempt has preserved commands and outputs. Table 9 summarizes the five dimensions.
Table 9. Diagnostic outcomes for four archived IREE attempts. Path: failing-path coverage; Detect: effect detection; Effect: effect localization; Cause: cause localization; Explain: cause explanation; VMA: Vulkan Memory Allocator; N/E: not evaluated.
| Attempt | Path | Detect | Effect | Cause | Explain |
|---|---|---|---|---|---|
| Cached buffer: run-trace [43] | No | N/E | N/E | N/E | N/E |
| Cached buffer: run-module [43] | No | N/E | N/E | N/E | N/E |
| Allocation leak: VMA assertion [3] | Yes | Yes | Yes | No | No |
| Semaphore cleanup: ThreadSanitizer [5] | Yes | Yes | Yes | Yes | No |
Cached-buffer initialization: path coverage. For the cached-buffer failure [43], the archived run-trace attempt compares default and caching allocators on the same call trace:
iree-run-trace --device=local-sync
--print_call_outputs calls.yaml > a.txt
iree-run-trace --device=local-sync
--print_call_outputs calls.yaml
--device_allocator=caching > b.txt
diff a.txt b.txt # no diff
The outputs match. A separate run-module attempt checks one forward call under default, caching, debug, and caching-plus-debug allocator configurations. All four produce the expected outputs. However, neither attempt executes the repeated-update path that triggers the failure:
Archived run-trace path. calls.yaml input → allocate + map → no initial_data publication Archived run-module path. one forward call → input + expected output → no repeated set_params Reported failure path. set_params → Pack ndarray → pool_acquire(initial_data) → publish reused buffer before write
The run-trace replay allocates or maps its inputs, while run-module performs no repeated parameter updates. Both bypass the first invalid decision: *out_buffer = existing_buffer publishes reused storage before writing the supplied initial_data. The repair writes those bytes before publication. Both attempts therefore receive No for failing-path coverage and not evaluated for the other four dimensions.
Allocation leak: effect localization. In the allocation-leak case [3], a Vulkan Memory Allocator (VMA) assertion identifies an outstanding allocation at shutdown. The allocation is the affected runtime object, and shutdown is the observation site. The assertion thus localizes the effect, while subsequent reference-count tracing and the repair identify the earlier reference-register clearing operation as the first invalid decision.
Semaphore cleanup: effect and cause localization. In the semaphore-cleanup case [5], the preserved ThreadSanitizer run reaches the failing path and reports both conflicting accesses [29]:
Read: task_semaphore.c:392 Write: semaphore_base.c:80 SUMMARY: ThreadSanitizer: data race
Waiter cleanup reads timepoints[i].base semaphore while callback processing clears the embedded field. The reported read matches the first invalid decision identified in Section 4.3.3. The diagnostic therefore provides both effect and cause localization, but does not explain the violated condition. The source contract and repair establish why cleanup requires a stable identity outside the resettable timepoint. The repair saves that identity at acquisition and uses it during cleanup:
// After successful timepoint acquisition: timepoint->semaphore = &semaphore->base;
// During waiter cleanup: iree_hal_semaphore_t* semaphore = timepoints[i].semaphore; if (semaphore) { iree_hal_semaphore_cancel_timepoint( semaphore, &timepoints[i].base); }
The violated condition requires ordered access to callback-mutated state. By preserving the semaphore identity in a separate field, the repair eliminates the conflicting read without changing the callback reset. Thus, the diagnostic locates the conflicting accesses, while source evidence explains the invalid decision and how the repair restores validity.
Two attempts reach the failing path and detect and localize the physical effect. One diagnostic output also identifies the selected invalid-decision site. Source and repair evidence is required to explain the violated binding condition.
6 Discussion
6.1 Implications
6.1.1 Identify Transition-Specific Validity Conditions. Binding relations identify connected entities, while validity conditions specify what must hold when an operation changes or consumes their binding. The joint RQ3–RQ4 analysis identifies distinct requirements within value-storage/layout-preserving view offsets, selecting valid reshape strides, and ensuring that copies fit within target storage. Representation or layout changes alone span five primary obligation families within this relation. The required check therefore depends on the source operation and its validity condition, not merely the binding relation.
Source reconstructions illustrate these differences. IREE's cached-buffer reuse requires initialization before publishing a new value. PyTorch's scatter reinplacement requires checking whether inp and src share storage. IREE's semaphore cleanup requires preserving a stable identity through callback-driven state changes. These failures involve different binding facts and operations, so no single storage, initialization, or ownership check covers all three. A binding check therefore needs three elements: the binding fact, the operation that changes or consumes it, and the validity condition governing that operation. Together, they determine what to check and which implementation state the check requires. Compiler validators can examine identities, offsets, layouts, and representations while the relevant IR remains available [30]. Runtime checks can examine device placement, ownership, storage, and completion state. Host and device analyses can provide memory-access and synchronization information to support these checks [15, 26, 29, 34].
6.1.2 Preserve Facts and Validate Their Use. A validity condition cannot be checked if the required binding fact does not reach its consuming decision. RQ2 traces one primary fact per cause from its origin to the operation that changes or consumes it. The origin and consumer categories differ in 71 causes, including five whose facts originate in compiler IR or analysis and are consumed at runtime. These counts compare provenance endpoints rather than intermediate layer crossings.
The source examples reveal two failure mechanisms. A required fact may be lost as its representation changes. IREE drops a view offset during optimization, while JAX loses a requested copy policy during an ownership handoff. Their repairs preserve or propagate the missing facts. Alternatively, a fact may reach its consumer without being checked. PyTorch's scatter reinplacement has access to the operand storage identities but does not test their aliasing relation before selecting an in-place update. These mechanisms require different interventions. A lost fact must be preserved through the relevant transformation or handoff, while an available fact can be checked at its consuming decision. The source records identify both the representation carrying the fact and the decision that depends on it, guiding candidate propagation and checking points.
6.1.3 Use Failure and Repair Evidence to Guide Checks. RQ5 connects the condition violated at the first invalid decision to the operations that restore it. The condition specifies what must hold, while the repair identifies how the implementation establishes it. In IREE's allocator-lifetime case, the invalid decision occurs when initialization completes without retaining the allocator. The repair adds a retain during initialization and a release after deallocation, preserving ownership through the allocator's last use.
The observed repairs suggest four forms of candidate checks:
-
Mapping checks. Verify that remapped positions select the intended values, offsets identify the correct storage regions, and layout or encoding changes preserve value semantics.
-
Eligibility checks. Verify the preconditions for reuse, fusion, mutation, and fast paths.
-
Propagation checks. Verify that required policies, placement, precision, identities, and completion state reach their consumers.
-
Ordering and lifetime checks. Verify required completion ordering and resource liveness.
Observed consequences also inform test-oracle design. Incorrect result or state is the primary consequence in 168 of 264 reports, motivating output comparisons and explicit state assertions alongside memory and synchronization checks. Evaluating these candidate checks on unseen failures remains necessary to establish their coverage and precision.
6.1.4 Measure Diagnostic Outcomes Separately. RQ6 distinguishes five diagnostic outcomes: failing-path coverage, effect detection, effect localization, cause localization, and cause explanation. Two of the four archived attempts reach the failing path and detect and localize the physical effect. One diagnostic output also identifies the selected invalid-decision site. Source and repair comparisons establish the violated binding conditions. The other two attempts bypass the failing path, showing why path coverage must be established before assessing detection. These distinctions guide diagnostic benchmark design. The test input and execution trace establish whether the failing path executes. Diagnostic output identifies the detected effect and its reported location. The issue report, pre-fix source, and repair provide the reference for assessing cause localization and explanation. Recording these outcomes separately distinguishes failure to exercise a path from failure to detect its effect, and locating an effect from explaining its cause.
6.2 Threats to Validity
6.2.1 Construct validity. The taxonomy maps implementation-specific binding relations and failure mechanisms to shared categories. Each record retains its source description and normalized label, and every codebook revision was reapplied to all 149 causes. The reported distributions use the 2026-10-01 codebook and depend on its category boundaries.
The artifact preserves joint review decisions for three pairs of included and excluded reports, but not the reviewers' separate labels. The closest scope boundary distinguishes operation-identity failures from incorrect logical computations. JAX's jnp.maximum case [47] arises in jax.jit(jax.grad(...)). The pre-fix max_p Jacobian-vector product (JVP) rule multiplies each operand tangent by an
_balanced_eq mask comparing the operand with the maximum result. Reverse-mode differentiation transposes this linearized computation, so the masks also govern the reported gradient.² Independently tuned GPU recomputations round differently, causing both equality masks to become zero and dropping the winning operand's gradient contribution. The repair uses _balanced_cmp to compare the operands directly. We include this case because the incorrect masks lose the association between the selected operand and its derivative contribution. An incorrect contribution remains outside the scope when its operand association is preserved.
To assess sensitivity to this boundary, removing all 23 value-operation/identity causes leaves 126 causes. The same three failure families remain largest: missing eligibility check (34), lost or omitted relation (27), and incorrect mapping or translation (25). They account for 86 of 126 causes (68.3%).
6.2.2 Internal validity. All 149 repaired causes have a landed repair patch and a pre-fix/repaired source comparison. Of these, 136 also have a regression test or an attributed developer diagnosis. Two human reviewers checked every cause against its report, source revisions, tests, and repair. Their review covered the selected source decision, physical effect, repair, coded fields, provenance endpoints, and duplicate links. Corrections and rechecks produced agreement on all 149 final cause records and the 162-to-149 report mapping. The archive preserves the final reconciled source operation, but not each reviewer's initial selection or candidate count. It therefore supports agreement on the final cause records, but does not establish an independent localization-agreement rate. The analysis also follows incorporated repairs rather than evaluating alternative repair designs. Failure and repair labels draw on the same source evidence, and several category pairs describe failures and their direct corrections. These definitions partly shape the observed correspondence in Figure 4, which summarizes the landed repairs rather than demonstrating a predictive relation.
6.2.3 External validity and report selection. Repository-specific labels define different sampling frames. In particular, the PyTorch query requires a silent-correctness label, while the other repositories use broader defect labels. The study covers public reports from the selected compiler and runtime stacks, rather than private defects, other ecosystems, or a representative sample of deployed workloads. Human reviewers reversed 28 removal proposals during selection. The restored reports are already included in the final 264-report analysis set. A random audit of 600 of the 6,729 initial exclusions identified four binding failures. This audit estimates filtering error within the initial exclusion set. The calculation uses reported human-review totals, but the released records do not support independent verification of sample membership or individual review decisions. Consequently, the reported distributions characterize the selected public reports. Cause-level distributions further depend on the availability of traceable repairs.
7 Related Work
Prior work studies how tensor state is represented, how failures are detected and localized, and how machine-learning software bugs are classified. TENSORBOUND focuses on the source decisions and validity conditions behind tensor binding failures.
Compiler and runtime mechanisms. Deep-learning compilers lower programs through graph, tensor, loop, and target-specific representations [20, 22]. XLA, IREE, PyTorch 2, and Triton distribute graph capture, compilation, buffer planning, kernel generation, and execution across compiler and runtime components [2, 23, 36, 46]. These designs determine where binding facts are created, represented, and consumed.
²Pre-fix revision f7ef90b3: jax/_src/api.py, lines 551-554, 1712-1714, and 1843-1846; interpreters/ad.py, lines 342-370, 805-814, and 971-981; lax/lax.py, lines 5234-5243 and 9833-9846.
Several systems preserve or recover relations across these representations. COVAN tracks tensor and operator provenance across non-injective rewrites without requiring every transformation to retain stable identifiers [45]. MLIR's One-Shot Bufferize derives alias and equivalence information from SSA use-def chains. It uses read-after-write constraints to select in-place reuse [27]. Its ownership-based deallocation pipeline records release responsibility and can retain runtime alias checks when static analysis leaves ownership unresolved [28]. TENSORBOUND examines historical failures involving these relations. For each repaired cause, it connects the binding fact's origin and consumer to the first invalid decision, validity condition, physical effect, and landed repair.
Failure detection and localization. Compiler testing combines input generation, execution, oracles, and failure reduction [6, 55]. Tzer, NNSmith, HirGen, GenCoG, TorchProbe, WhiteFox, and XCheck generate or mutate programs under different language, optimization, and platform constraints [24, 25, 31, 39, 44, 50, 52]. CRADLE compares backend behavior [37], while Alive2 and Optimuzz validate compiler transformations [19, 30]. Once a failure is found, DuoReduce minimizes the failing MLIR program and pass sequence [48]. Dynamic tools detect memory and synchronization errors during execution. AddressSanitizer and ThreadSanitizer cover supported host memory errors and data races [26, 29]. NVIDIA Compute Sanitizer and HiRace target device memory, initialization, synchronization, and race errors [15, 34]. TENSORBOUND reconstructs the validity condition behind an observed effect using reports, historical source, tests, and patches. Its exploratory IREE case study separates failing-path coverage, effect detection, effect localization, cause localization, and cause explanation.
Empirical studies of machine-learning software. Framework studies classify symptoms, root causes, affected components, and repair patterns [18, 53]. Compiler studies examine TVM, Glow, nGraph, PlaidML, and Tensor Comprehensions [10, 41]. Orion derives fuzzing rules from historical vulnerabilities [42], while Huang et al. study false-positive reports in TVM and OpenVINO [13]. Work on indivisible multi-hunk bugs shows that coordinated edits can be necessary to capture a complete repair [51]. The closest studies focus on PyTorch. Li et al. classify 116 closed torch.compile correctness bugs by component, root cause, and trigger. They also evaluate testing tools and derive AlignGuard [21]. Their categories include incorrect alias tracking and layout conflicts. Yuan et al. study TorchDynamo frontend bugs and targeted tests [54]. TENSORBOUND covers three ecosystems and includes crashes, leaks, hangs, and races alongside incorrect results. Its cause-level unit is a repaired source decision that changes or consumes a tensor binding fact. For example, an alias-tracking label captures shared storage in PyTorch's scatter-rereplacement case [1]. The TENSORBOUND record identifies the inp/src storage relation and the decision in should_reinplace_scatter that permits an in-place update. It links that decision to the alias-independence condition, overlapping accesses, and storage-identity guard in the repair.
8 Conclusion
Tensor binding failures can originate in one layer and manifest in another. TENSORBOUND connects these failures to source decisions, validity conditions, and repairs across IREE and the XLA and PyTorch ecosystems. The study analyzes 264 human-confirmed reports and 149 distinct repaired causes. Three failure families account for 103 causes (69.1%): missing eligibility checks, incorrect mappings or translations, and lost or omitted relations. The first invalid decision occurs in compiler code for 101 causes and runtime code for 48. Diagnostic cases further distinguish effect localization from cause explanation. These findings motivate checks that preserve binding facts across representations and enforce validity conditions at consuming decisions. The source records guide check design and placement, while evaluation on unseen failures remains necessary to establish coverage and precision.
References
[1] alepot55. 2026. [inductor] x[1:] = x[-:1]. c1one() compiles to a copy over overlapping memory: silent wrong results on CUDA and CPU. PyTorch issue #197829. Archived report and repair. https://github.com/awen-li/TensorBound/tree/37af7ddfe865f2333fef30d17d20b7e8c927d77/data/final/pytorch/197829
[2] Jason Ansel et al. 2024. PyTorch 2: Faster Machine Learning Through Dynamic Python Bytecode Transformation and Graph Compilation. In Proceedings of the International Conference on Architectural Support for Programming Languages and Operating Systems. Association for Computing Machinery, New York, NY, USA, 929–947. doi:10.1145/3620665.3640366
[3] antiagainst. 2020. Leaked buffers for unused inputs. IREE issue #2455. Archived report and repair. https://github.com/awen-li/TensorBound/tree/37af7ddfe865f2333fef30d17d20b7e8c927d77/data/final/iree/2455
[4] Sebastian Baltes and Paul Ralph. 2022. Sampling in Software Engineering Research: A Critical Review and Guidelines. Empirical Software Engineering 27, 4, Article 94 (2022), 31 pages. doi:10.1007/s10664-021-10072-8
[5] bjacob. 2022. Data race in iree_hal_task_semaphore_multi_wait. IREE issue #9392. Archived report and repair. https://github.com/awen-li/TensorBound/tree/b1ba851239c343799d867f29465fe5f90ec4b1c/data/final/iree/9392
[6] Junjie Chen, Jibesh Patra, Michael Pradel, Yingfei Xiong, Hongyu Zhang, Dan Hao, and Lu Zhang. 2020. A Survey of Compiler Testing. Comput. Surveys 53, 1, Article 4 (2020), 36 pages. doi:10.1145/3363562
[7] William G. Cochran. 1977. Sampling Techniques (3 ed.). John Wiley & Sons, New York, NY, USA.
[8] Jacob Cohen. 1960. A Coefficient of Agreement for Nominal Scales. Educational and Psychological Measurement 20, 1 (1960), 37–46. doi:10.1177/001316446002000104
[9] CVE Program. 2026. CVE List V5. https://github.com/CVEProject/cvelistV5.
[10] Xiaoting Du, Zheng Zheng, Lei Ma, and Jianjun Zhao. 2021. An Empirical Study on Common Bugs in Deep Learning Compilers. In Proceedings of the IEEE International Symposium on Software Reliability Engineering. IEEE, Piscataway, NJ, USA, 184–195. doi:10.1109/ISSRE52982.2021.00030
[11] ezhulenev. 2023. [Stream] Buffer views produce stream resources with incorrect offset and size. IREE issue #14215. Archived report and repair. https://github.com/awen-li/TensorBound/tree/37af7ddfe865f2333fef30d17d20b7e8c927d77/data/final/iree/14215
[12] GitHub. 2026. REST API Endpoints for Search. GitHub Docs. https://docs.github.com/en/rest/search/search?apiVersion=2022-11-28
[13] Lili Huang, Qingchao Shen, Dong Wang, Yunping Wu, Meng Wang, and Junjie Chen. 2026. False-Positive Bug Reports in Deep Learning Compilers: Stages, Root Causes, and Mitigation. ACM Transactions on Software Engineering and Methodology 35, 8 (2026), 1–32. doi:10.1145/3774889
[14] Aleksi Huotala, Miikka Kuutila, Paul Ralph, and Mika Mäntylä. 2024. The Promise and Challenges of Using LLMs to Accelerate the Screening Process of Systematic Reviews. In Proceedings of the 28th International Conference on Evaluation and Assessment in Software Engineering. ACM, New York, NY, USA, 262–271. doi:10.1145/3661167.3661172
[15] John Jacobson, Martin Burtscher, and Ganesh Gopalakrishnan. 2024. HiRace: Accurate and Fast Data Race Checking for GPU Programs. In Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis. IEEE, Piscataway, NJ, USA, Article 36, 14 pages. doi:10.1109/SC41406.2024.00042
[16] jansel. 2023. Silent correctness issue if input tensors have existing storage offsets. PyTorch issue #108472. Archived report and repair. https://github.com/awen-li/TensorBound/tree/37af7ddfe865f2333fef30d17d20b7e8c927d77/data/final/pytorch/108472
[17] JAX Contributors. 2026. Writing Custom Jaxpr Interpreters in JAX. https://docs.jax.dev/en/latest/notebooks/Writing_custom_interpreters_in_jax.html
[18] Li Jia, Hao Zhong, Xiaoyin Wang, Linpeng Huang, and Xuansheng Lu. 2021. The Symptoms, Causes, and Repairs of Bugs Inside a Deep Learning Library. Journal of Systems and Software 177 (2021), 110935. doi:10.1016/j.jss.2021.110935
[19] Jaeseong Kwon, Bongjun Jang, Juneyoung Lee, and Kihong Heo. 2025. Optimization-Directed Compiler Fuzzing for Continuous Translation Validation. Proceedings of the ACM on Programming Languages 9, PLDI, Article 172 (2025), 24 pages. doi:10.1145/3729275
[20] Chris Lattner, Mehdi Amini, Uday Bondhugula, Albert Cohen, Andy Davis, Jacques Pienaar, River Riddle, Tatiana Shpeisman, Nicolas Vasilache, and Oleksandr Zinenko. 2020. MLIR: A Compiler Infrastructure for the End of Moore's Law. arXiv:2002.11054 https://arxiv.org/abs/2002.11054
[21] Meiziniu Li, Dongze Li, Jianmeng Liu, and Shing-Chi Cheung. 2026. Demystifying the Silence of Correctness Bugs in PyTorch Compiler. arXiv:2604.08720 doi:10.48550/arXiv.2604.08720
[22] Mingzhen Li, Yi Liu, Xiaoyan Liu, Qingxiao Sun, Xin You, Hailong Yang, Zhongzhi Luan, Lin Gan, Guangwen Yang, and Depei Qian. 2021. The Deep Learning Compiler: A Comprehensive Survey. IEEE Transactions on Parallel and Distributed Systems 32, 3 (2021), 708–727. doi:10.1109/TPDS.2020.3030548
[23] Hsin-I Cindy Liu, Marius Brehler, Mahesh Ravishankar, Nicolas Vasilache, Ben Vanik, and Stella Laurenzo. 2022. TinyIREE: An ML Execution Environment for Embedded Systems from Compilation to Deployment. arXiv:2205.14479 https://arxiv.org/abs/2205.14479
[24] Jiawei Liu, Jinkun Lin, Fabian Ruffy, Cheng Tan, Jinyang Li, Aurojit Panda, and Lingming Zhang. 2023. NNSmith: Generating Diverse and Valid Test Cases for Deep Learning Compilers. In Proceedings of the International Conference on Architectural Support for Programming Languages and Operating Systems. Association for Computing Machinery, New York, NY, USA, 530–543. doi:10.1145/3575693.3575707
[25] Jiawei Liu, Yuxiang Wei, Sen Yang, Yinlin Deng, and Lingming Zhang. 2022. Coverage-Guided Tensor Compiler Fuzzing with Joint IR-Pass Mutation. Proceedings of the ACM on Programming Languages 6, OOPSLA1 (2022), 1–26. doi:10.1145/3527317
[26] LLVM Project. 2026. AddressSanitizer. https://clang.llvm.org/docs/AddressSanitizer.html
[27] LLVM Project. 2026. Bufferization. MLIR Documentation. https://mlir.llvm.org/docs/Bufferization/
[28] LLVM Project. 2026. Ownership-Based Buffer Deallocation. MLIR Documentation. https://mlir.llvm.org/docs/OwnershipBasedBufferDeallocation/
[29] LLVM Project. 2026. ThreadSanitizer. https://clang.llvm.org/docs/ThreadSanitizer.html
[30] Nuno P. Lopes, Juneyoung Lee, Chung-Kil Hur, Zhengyang Liu, and John Regehr. 2021. Alive2: Bounded Translation Validation for LLVM. In Proceedings of the ACM SIGPLAN International Conference on Programming Language Design and Implementation. Association for Computing Machinery, New York, NY, USA, 65–79. doi:10.1145/3453483.3454030
[31] Haoyang Ma, Qingchao Shen, Yongqiang Tian, Junjie Chen, and Shing-Chi Cheung. 2023. Fuzzing Deep Learning Compilers with HirGen. In Proceedings of the ACM SIGSOFT International Symposium on Software Testing and Analysis. Association for Computing Machinery, New York, NY, USA, 248–260. doi:10.1145/3597926.3598053
[32] makselevental. 2022. iree_hal_allocator_deallocate_buffer segfault with minimal script. IREE issue #9033. Archived report and repair. https://github.com/awen-li/TensorBound/tree/b1ba851239c343799d8678f29465fe5f90ec4b1c/data/final/iree/9033
[33] Christopher D. Manning, Prabhakar Raghavan, and Hinrich Schütze. 2008. Introduction to Information Retrieval. Cambridge University Press, Cambridge, UK. doi:10.1017/CBO9780511809071
[34] NVIDIA. 2026. Compute Sanitizer. https://docs.nvidia.com/compute-sanitizer/ComputeSanitizer/index.html
[35] ojw28. 2024. INVALIDArgument when copying array in pinned_host memory with device_put(..., may_alias=False). JAX issue #24521. Archived report and repairs. https://github.com/awen-li/TensorBound/tree/37af7ddfe865f2333fef30d17d20b7e8c927d77/data/final/jax/24521
[36] OpenXLA Project. 2026. XLA Architecture. https://github.com/openxla/xla/blob/main/docs/architecture.md
[37] Hung Viet Pham, Thibaud Lutellier, Weizhen Qi, and Lin Tan. 2019. CRADLE: Cross-Backend Validation to Detect and Localize Bugs in Deep Learning Libraries. In Proceedings of the International Conference on Software Engineering. IEEE, Piscataway, NJ, USA, 1027–1038. doi:10.1109/ICSE.2019.00107
[38] qedawkins. 2023. [Python] Failure to send a tensor of < 4 bytes to host. IREE issue #15508. Archived report and repair. https://github.com/awen-li/TensorBound/tree/37af7ddfe865f2333fef30d17d20b7e8c927d77/data/final/iree/15508
[39] Yuxin Qiu, Jiyuan Wang, Ronak Badhe, Ben Limpanukorn, Miryung Kim, and Qian Zhang. 2026. Finding Compiler-Platform Interaction Bugs in Deep Learning Pipelines via Cross-Layer Constraints. arXiv:2606.18421 https://arxiv.org/abs/2606.18421
[40] rookieLiu2018. 2026. [inductor] CPU codegen does not preserve explicit float32 to float16 to float32 cast semantics. PyTorch issue #185337. Archived report and repair. https://github.com/awen-li/TensorBound/tree/37af7ddfe865f2333fef30d17d20b7e8c927d77/data/final/pytorch/185337
[41] Qingchao Shen, Haoyang Ma, Junjie Chen, Yongqiang Tian, Shing-Chi Cheung, and Xiang Chen. 2021. A Comprehensive Study of Deep Learning Compiler Bugs. In Proceedings of the ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering. Association for Computing Machinery, New York, NY, USA, 968–980. doi:10.1145/3468264.3468591
[42] Nima Shiri Harvezvili, Mohammad Mahdi Mohajer, Moshi Wei, Hung Viet Pham, and Song Wang. 2025. History-Driven Fuzzing for Deep Learning Libraries. ACM Transactions on Software Engineering and Methodology 34, 1, Article 19 (2025), 29 pages. doi:10.1145/3688838
[43] sogartar. 2023. Caching allocator causes wrong computation result. IREE issue #12161. Archived report and repair. https://github.com/awen-li/TensorBound/tree/37af7ddfe865f2333fef30d17d20b7e8c927d77/data/final/iree/12161
[44] Qidong Su, Chuqin Geng, Gennady Pekhimenko, and Xujie Si. 2023. TorchProbe: Fuzzing Dynamic Deep Learning Compilers. In Proceedings of the Asian Symposium on Programming Languages and Systems. Springer, Cham, Switzerland, 310–331. doi:10.1007/978-981-99-8311-7_15
[45] Zilu Tian and Liying Liu. 2026. Provenance Tracking in AI Compilers through the Lens of Coalgebra. arXiv:2606.10937. doi:10.48550/arXiv.2606.10937
[46] Philippe Tillet, H. T. Kung, and David Cox. 2019. Triton: An Intermediate Language and Compiler for Tiled Neural Network Computations. In Proceedings of the ACM SIGPLAN International Workshop on Machine Learning and Programming Languages. Association for Computing Machinery, New York, NY, USA, 10–19. https:
//www.eecs.harvard.edu/-htk/publication/2019-mapl-tillet-kung-cox.pdf
[47] timokelein. 2026. jnp.maximumJVP silently drops a gradient branch on GPU when the fusion autotuner emits the operand twice with different rounding. JAX issue #40564. Archived report and repair. https://github.com/awenli/TensorBound/tree/37af7ddfe865f52333fef30d17d20b7e8c927d77/data/final/jax/40564
[48] Jiyuan Wang, Yuxin Qiu, Ben Limpanukorn, Hong Jin Kang, Qian Zhang, and Miryung Kim. 2025. DuoReduce: Bug Isolation for Multi-Layer Extensible Compilation. Proceedings of the ACM on Software Engineering 2, FSE (2025), 647–667. doi:10.1145/3715747
[49] Weizhen Wang. 2015. Exact Optimal Confidence Intervals for Hypergeometric Parameters. J. Amer. Statist. Assoc. 110, 512 (2015), 1491–1499. doi:10.1080/01621459.2014.966191
[50] Zihan Wang, Pengbo Nie, Xinyuan Miao, Yuting Chen, Chengcheng Wan, Lei Bu, and Jianjun Zhao. 2023. GenCoG: A DSL-Based Approach to Generating Computation Graphs for TVM Testing. In Proceedings of the ACM SIGSOFT International Symposium on Software Testing and Analysis. Association for Computing Machinery, New York, NY, USA, 904–916. doi:10.1145/3597926.3598105
[51] Qi Xin, Haojun Wu, Jinran Tang, Xinyu Liu, Steven P. Reiss, and Jifeng Xuan. 2024. Detecting, Creating, Repairing, and Understanding Indivisible Multi-Hunk Bugs. Proceedings of the ACM on Software Engineering 1, FSE (2024), 2747–2770. doi:10.1145/3660828
[52] Chenyuan Yang, Yinlin Deng, Runyu Lu, Jiayi Yao, Jiawei Liu, Reyhaneh Jabbarvand, and Lingming Zhang. 2024. White-Fox: White-Box Compiler Fuzzing Empowered by Large Language Models. Proceedings of the ACM on Programming Languages 8, OOPSLA2, Article 296 (2024), 27 pages. doi:10.1145/3689736
[53] Yilin Yang, Tianxing He, Zhilong Xia, and Yang Feng. 2022. A Comprehensive Empirical Study on Bug Characteristics of Deep Learning Frameworks. Information and Software Technology 151 (2022), 107004. doi:10.1016/j.infsof.2022.107004
[54] Xinyi Yuan, Wei Chen, Jinyi Liu, Pengyu Chen, Jun Wei, Guoquan Wu, Jiaxin Zhu, and Tao Huang. 2026. Demystifying Deep Learning Compiler Frontend Bugs: An LLM-Aided Empirical Study. arXiv:2607.25651 https://arxiv.org/abs/2607.25651
[55] Xiaoyu Zhang, Weipeng Jiang, Chao Shen, Qi Li, Qian Wang, Chenhao Lin, and Xiaohong Guan. 2025. Deep Learning Library Testing: Definition, Methods and Challenges. Comput. Surveys 57, 7, Article 187 (2025), 37 pages. doi:10.1145/3716497
A Sampling-Frame Specification
The GitHub collector uses the Search Issues endpoint with sort=created, order=asc, and 100 records per page. The whole-range query is:
repo:{repository} is:issue created:<=2026-09-24 label:"{label-1}" [label:"{label-2}"]
Repository and label values follow Table 1. GitHub's Search API returns at most 1,000 results per query [12]. The IREE and JAX queries reported 1,869 and 3,908 matches, respectively. To retrieve all matching issues, the collector divides these queries into disjoint creation-year intervals, from 2008-01-01..2008-12-31 through 2026-01-01..2026-09-24, and retrieves every page within each interval. The largest intervals contain 386 IREE and 728 JAX issues, both below the API limit. For each repository, the retrieved count equals the sum of its interval totals. The collection log also retains empty intervals. The other three repositories use the whole-range query. After deduplication, IREE, PyTorch, Triton, JAX, and XLA contribute 1,869, 248, 510, 3,908, and 281 issues, respectively, totaling 6,816.
The CVE collector searches GitHub's code index for matching paths under cves/. It retrieves each returned record from the official CVE List at revision 308dee2f7ba40b22f8672f752077a6a9b755f9c1. Each search term uses:
repo:CVEProject/cvelistV5 path:cves {"term"}
Table 10. CVE List search results by query term.
| Term | Reported matches | Retrieved paths |
|---|---|---|
| IREE | 75 | 75 |
| PJRT | 0 | 0 |
| PyTorch | 194 | 181 |
| Triton | 111 | 110 |
| XLA | 332 | 326 |
| jaxlib | 1 | 1 |
| Total | 713 | 693 |
The collector retrieves all returned search pages. Path discovery uses the live index at collection time, while the fixed revision determines each record's contents. The searches reported 713 term-level matches and returned 693 paths (Table 10). The 20 unreturned matches comprise 13 for PyTorch, one for Triton, and six for XLA. The released CVE inventory contains 693 distinct source identifiers and paths, with no overlap among the retrieved records. Their capture timestamps range from 02:45:33 to 03:15:45 UTC on September 25, 2026. These timestamps record retrieval time, separately from the fixed CVE revision and GitHub issue-creation cutoff.
B Sampling-Frame Screening Prompt
The fixed version-1.0 prompt classifies each record as include, uncertain, or exclude. Inclusion requires cited evidence of a logical-value–runtime relation, its violation, and an observed consequence. An uncertain record describes a concrete failure, identifies an in-scope storage or execution entity, and proposes a connection, but leaves one causal link unresolved. A symptom alone is excluded unless the record identifies a source operation that changes or consumes a binding relation.
The boundary rules distinguish binding failures from arithmetic, indexing, shape, unsupported-operation, compiler-bookkeeping, generic-allocation, performance-only, and non-defect records. Each decision cites exact spans from the title, labels, or report text. The JSON output records the decision, exclusion code, relation, violation, consequence, cited spans, missing link, rationale, and requested follow-up evidence. Appendix D describes the output validation checks.
C Final Review Prompt
The final review applies the same scope and evidence rules using a binary decision. An in-scope decision cites the binding relation, violation, and consequence. An out-of-scope decision cites the exclusion evidence and identifies which element of the binding-failure definition is not established. The prompt covers boundary cases involving pre-execution rejection, unsupported configurations, generic allocation pressure, arithmetic or type errors, symptom-only reports, and user contract violations.
D Prompt Execution Record
Table 11 summarizes the review stages, decision sources, and human coverage. The archived model runs used OpenAI ChatGPT Codex under the alias gpt-daybreak-blue-latest for screening, detailed review, final review, and adjudication. All recorded runs used high reasoning effort. The two full-frame screening runs used Codex CLI 0.155.0 on September 26–27, 2026. Both used the same hashed prompt, codebook, and output schema, with peer outputs hidden. For Phase 1 validation, two human reviewers independently applied the final codebook. Their evidence packets omitted model labels and rationales, selection status, and the other reviewer's decision. Both reviewers
Table 11. Review stages, evidence, and human coverage.
| Stage | Evidence and blinding | Resolution | Human review | Output |
|---|---|---|---|---|
| Screening | Peer output hidden | Model adjudication | Both review a 600-record sample | 780 advanced |
| Detailed review | Peer decisions hidden | Model adjudication | Both review 366 proposed removals | 19 restored; 433 remain |
| Four rounds and final review | Prior labels, selection status, and peer output hidden | Model adjudication | Both review 178 proposed removals | 9 restored; 264 remain |
| Final-set validation | Model labels and peer decisions hidden | Discussion of disagreements | Both review all 264 reports | 264 confirmed |
| Cause records | Reports, source revisions, tests, and repairs | Evidence review | Both check all 149 | Confirmed records |
| Report consequences | Report and test evidence | Final study coding | Cause-record and final report reviews | 264 analyzed |
later checked all 149 cause records against their reports, source revisions, tests, and repairs. After corrections and rechecks, both confirmed every final cause record.
Replay scope. The historical manifests retain run times, retry data, and hashes for prompts, schemas, inputs, and outputs. They do not record an immutable model revision, temperature, top-p value, or seed. The public release contains final records and review summaries, while model prompts and intermediate outputs remain outside it. Consequently, exact replay of the historical model calls is unavailable.
Released evidence and numerical checks. The artifact contains final cause records, reported human-review totals, and derived results. Its result index links RQ tables and matrices to report, cause, or diagnostic-attempt identifiers. Scripts recompute the corresponding distributions. Phase 1 calculations use reported sample and review-step totals, but sample membership lists, individual human decisions, and per-step restoration links are unavailable in the release.
A source-location correction log distinguishes pre-fix operations from repair sites for three JAX causes. The corrections identify the strong cache used by _initial_style_jaxpr, the LAPACK function-pointer call in the Cholesky handler, and the equality mask in _balanced_eq. The corrected source anchors preserve the taxonomy labels and RQ counts. A separate coding-correction log classifies IREE's missing allocator retain as an omitted operation and identifies initializer completion as the first invalid decision. It also assigns happens-before ordering to the semaphore-cleanup read and relation preservation to its repair. The reported distributions use these corrected labels, while the archived A/B labels remain unchanged. These revision-time corrections are separate from the original human review.
The analysis scripts use Python's standard library. Figure generation and manuscript compilation require separate dependencies documented with the paper sources. RQ6 uses archived diagnostic commands and outputs. Release verification checks these records without rerunning the diagnostics.
Output validation. The validator requires one output per input identifier. It checks the output schema and 60-word limit, then matches each cited span byte-for-byte against the archived input.
Final review and validation. The two model outputs were saved before comparison, and a separate model review resolved disagreements. The final model review classified 264 of 269 provisional records as binding failures. Both human reviewers independently confirmed all 264 reports, with full agreement before discussion. Final-set precision relative to these human labels is 264/264 = 100%.
E Human Review of Excluded Records
Table 12 summarizes human review of proposed removals and sampled initial exclusions. The initial-filtering audit comprises three non-overlapping random samples of 200 records. The other groups contain model-proposed removals before human review. Reports identified as binding failures in these groups return to the candidate set before the next review step.
Table 12. Human review of proposed removals and sampled initial exclusions. A report may receive removal proposals at multiple steps, so totals may count the same report more than once.
| Group | Records or proposals | Reviews completed | Binding-failure decisions |
|---|---|---|---|
| Later rounds and final review | 178 | 178 | 9 |
| Detailed review: excluded | 283 | 283 | 13 |
| Detailed review: unresolved | 83 | 83 | 6 |
| Initial filtering | 6,729 | 600 | 4 |
| Sum of groups | 7,273 | 1,144 | 32 |
Two reviewers independently apply the final codebook and record their decisions before comparison. They resolve disagreements through discussion and assign final labels based on the cited evidence. Human review reverses 28 of the 544 removal proposals. The remaining 516 removals leave 264 reports in the analysis set:
The final set already includes the restored reports. The four binding failures found in the random audit remain separate from the analysis set. They contribute to the initial-filtering error estimate in Section 4.1.2.
F Taxonomy Codebook
The codebook defines the 45 normalized labels used in the RQ tables. Each entry gives the operational definition applied at the first invalid decision or repair site.
Relation (8 families)
Logical value-storage content: Bytes and initialization encode a value. Operation-completion: An operation links to readiness or completion. Operation-execution context: An operation links to device, stream, or backend. Storage-ownership/lifetime: Storage links to owners and a valid lifetime. Value-operation/identity: A value or role maps to an operation or slot. Value-representation: A value links to type, precision, encoding, or carrier. Value-shared storage: Storage is shared through aliasing, reuse, or mutation. Value-storage/layout: Elements map to positions, shapes, strides, or offsets.
Transition (7 families)
Identity or index remapping: Remaps identities, arguments, indices, or slots. Initialization or content update: Initializes, publishes, or updates content. Ordering or completion handoff: Changes ordering, readiness, or completion. Ownership or lifetime change: Transfers ownership or changes liveness. Placement or context change: Changes device, backend, stream, or context. Representation or layout change: Changes encoding, type, shape, or stride. Storage, alias, or mutation change: Changes allocation, sharing, or reuse.
Validity obligation (15 families)
These labels follow the binding-scope test in Section 3. Transformation equivalence and value semantics preservation require an established relation between a value and its operation, storage, representation, ownership, or execution. Pure numerical or local transformation defects fall outside the construct.
| Alias independence: Mutation or reuse preserves other observable values. |
|---|
| Completion and progress: Required work progresses to completion. |
| Happens-before ordering: Conflicting operations follow the required order. |
| Identity correspondence: The selected entity has the intended role. |
| Index and offset preservation: Indices and offsets select the intended region. |
| Initialization before publication: Publishes only initialized content or state. |
| Layout compatibility: Producer and consumer layout contracts agree. |
| Ownership and lifetime: A resource remains owned through its last use. |
| Placement and context consistency: Execution uses the intended context. |
| Policy and configuration propagation: Required policy reaches each consumer. |
| Range and alignment safety: Addresses meet bounds and alignment. |
| Representation fidelity: Conversion preserves the represented meaning. |
| Resource and capability agreement: Runtime satisfies compiled requirements. |
| Transformation equivalence: Preserves semantics for valid inputs. |
| Value semantics preservation: Binding preserves established value behavior. |
Failure (8 families)
| Incorrect mapping or translation: Maps a fact to a wrong target or encoding. |
|---|
| Lost or omitted relation: A required relation fails to reach its consumer. |
| Missing eligibility check: Omits a check of a required precondition. |
| Missing ordering or enforcement: A required ordering edge is absent. |
| Omitted operation: A required action is absent from the executed path. |
| Operation before required event: Executes before its prerequisite occurs. |
| Premature invalidation or stale state: Ends a live relation or leaves it stale. |
| Unsound assumption or inference: Draws a conclusion the facts cannot support. |
The following rules distinguish three pairs of closely related failure families.
Missing check versus unsound inference. Use missing eligibility check when a decision omits a required predicate check. Use unsound assumption or inference when the evaluated evidence does not justify the conclusion. IREE's incomplete multibuffering path omits an eligibility test. In a separate cause, its allocation-emplacement pass assumes that result and destination positions still correspond after skipping a result. The repair stops at the first result that cannot be emplaced, preserving a contiguous prefix.
Lost relation versus omitted operation. Use lost or omitted relation when a required binding fact is dropped or not propagated. Use omitted operation when a required action, such as a write, copy, wait, or retain, is absent. For example, IREE drops a subspan offset in one cause and omits a write to a reused buffer in another. Its allocator-lifetime case [32] also omits an operation: initialization stores the allocator pointer but completes without the retain needed to keep the allocator alive.
Missing ordering versus early operation. Use missing ordering or enforcement when the path lacks a required dependency edge. Use operation before required event when an ordering requirement is represented in the existing state, but an operation executes before its prerequisite. IREE's pthread wait lacks an epoch dependency, whereas its poller retires a task before unlinking it.
Repair strategy (7 families)
| Constrain unsafe transformation: Restrict a transformation to its sound domain. |
|---|
| Correct mapping or representation: Correct the target, position, or encoding. |
| Correct ownership or lifetime: Preserve ownership through last use. |
| Perform omitted operation: Add the missing write, copy, conversion, or action. |
| Preserve or propagate relation: Carry a required fact to its consumer. |
| Restore ordering or synchronization: Add the required dependency edge. |
| Strengthen eligibility check: Add or strengthen a required check. |