Skip to content

Data Pipeline

Data flow

flowchart LR
    CAT[Catalog snapshots] --> MAN[Manifest]
    MAST[Kepler FITS cache] --> MAN
    MAN --> CLEAN[Clean parquet]
    CLEAN --> BLS[BLS candidates]
    BLS --> FEAT[Features and folded views]
    FEAT --> CV[Grouped CV evidence]
    CV --> MODEL[Frozen model metadata]
    MODEL --> SCORED[Scored unknown peaks]
    SCORED --> SHORT[Frozen shortlist]
    SHORT --> NULL[FAP null rows]
    SHORT --> VET[Vetting rows]
    NULL --> FINAL[Final ranking]
    VET --> FINAL

Storage classes

Class Typical location Repository policy
Raw mission products data/raw/ Local cache; generally ignored by Git
Catalog snapshots data/catalog/, data/scaleup/catalog/ Compact accepted snapshots may be tracked
Processed light curves data/*/processed/ Large target files ignored; compact summaries tracked
Candidate tables data/processed/, data/search/processed/ Accepted compact evidence selectively tracked
Validation evidence data/validation/ Final compact tables and provenance tracked; caches ignored
Model binaries models/ Large RF/CNN artifacts ignored; selection metadata tracked
Reports and figures reports/ Accepted public evidence tracked

Provenance chain

An accepted result should be traceable through:

  1. Git commit and software version;
  2. YAML configuration path;
  3. catalog query metadata and retrieval time;
  4. mission-product manifest;
  5. preprocessing and BLS summaries;
  6. grouped evaluation or model-selection record;
  7. search/validation run record; and
  8. report, table, and figure paths.

The independent audit additionally records the frozen shortlist SHA-256 so the review population cannot be silently replaced.

Resumption

Baseline, scale-up, and candidate search require a fingerprinted checkpoint before --resume can skip recorded completed work. Configurations, code/runtime, and local artifacts must match. Legacy existence-only records are rejected. Use isolated workspaces for new experiments.

Independent validation exposes explicit stages rather than a generic resume flag. Each stage consumes the prior accepted artifact set.

External-state changes

Live reruns can differ because archive availability, catalog tables, remote service responses, or software dependencies evolve. To reproduce the published claim, start from the versioned artifacts. To reproduce the computational process against current services, preserve the new retrieval metadata and describe the result as a contemporary rerun.