Skip to content

Retention oracle: a missing line for a check's last batch isn't seen #123

Open

Description

@KyleAMathews

The gap report e2e oracle's retention law (runner law L2: the retention hook writes exactly one line per batch, however the batch ends) checks that the batch indices on a check's lines are 0..n-1, each exactly once. If the hook writes no line for a check's last batch, n is simply one smaller, and the law can't see the missing line.

Found in the merge-gate review of #61 (F11, partly closed). The #61 PR body records it in Limits.

Proposed closure: the hook writes a begin record when each batch starts. The law then checks that every begin record has exactly one matching end line. The hostile mutant is "no line for the last batch".

This issue was written by Isaac.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions