Skip to content

check_cards: AUDIT's remedy says to fix site_audit.json by hand, though figure_at_pin and the pin time are derived #273

Description

@realmarcin

From the round-2 review of #265 (follows #268).

Where: scripts/fleet/check_cards.py main() closing line ("AUDIT: fix site_audit.json."), and _fleet/README.md's remedy list.

AUDIT fires for a missing or non-integer figure_at_pin and for a bad pin time. Both fields are derived by build_site_audit.py. A maintainer following the remedy types "figure_at_pin": <card> by hand. The provenance test only requires it to equal the card, so it passes, and WRONG then compares the card with itself: the failure #231 and #268 exist to prevent. The same output says "never edit it by hand" about that field. The README's WRONG bullet also still opens by calling figure_at_pin mistyped.

Fix: AUDIT's remedy should say to re-derive the audit with build_site_audit.py against a snapshot at its pins. Reword the WRONG bullet's opening.

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