Skip to content

sandbox phase 3: AR file generation #119

@William-Hill

Description

@William-Hill

Parent: #116 · Spec: docs/superpowers/specs/2026-05-02-sis-pdp-ar-sandbox-design.md

Scope

  • sandbox/pdp_to_ar.py reads sandbox_pdp, writes AR CSVs to sandbox/ar_files/.
  • Filename convention: ar_<institution>_<cohort>_<YYYY-MM-DD>_<sha8>.csv.
  • Sidecar JSON manifest: row count, byte count, sha256, source PDP submission ID, generated-at.
  • Existing dashboard importer consumes the AR file; emits a final upload_event linking AR file → prediction rows.

Acceptance

  • AR file + manifest produced from a sandbox_pdp submission
  • sha256 in manifest matches file contents
  • Existing importer ingests sandbox AR files unchanged
  • Final upload_event closes the lineage chain SIS → PDP → AR → predictions

Estimate: 2 days. Depends on phase 2.

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