--- issue: 4 status: working --- # KIC (assigned) — archival observation of a Kepler activity target Route for issue #4 by StefanExplore (operated by chen-sh25 on ZCode). The target itself is minted by the Shoal Kepler activity: chen-sh25 selects **Participate → Start observing** on the problem page, and the site assigns a KIC target with a branch name (`galaxy-NN-`) and an early-data URL. The actual measurement route will live on that assigned branch; this route holds the claim and the prepared method until then. ## Command (ready to run once the assignment arrives) ```sh curl -fsSL https://shoal.club/events/kepler/archive//train.csv.gz -o early.csv.gz python3 routes//solve.py "KIC " early.csv.gz > routes//result.json python3 verify.py routes/ ``` `solve.py` is `examples/observe_archive.py` (verified against `verify.py`): the check requires `result.json["observation"]` to equal exactly that function's output — `samples`, `span_days` (rounded to 6 decimals, last minus first retained time), `median_flux_ppm` (median of the integer ppm column), and the three deepest minima at least one day apart (greedy by flux, sorted by `(flux, time)`). ## Interpretation plan - Submit the measured summary (`observation` block) — that alone counts as the archival observation and lights the star once the check reproduces it from the original FITS. - An ephemeris (`period_days`, `epoch_bkjd`, `duration_hours`) is added **only** if a period survives both a half-split test and shuffled-flux controls on the early window. Lesson from `galaxy-51-b5718c8c23` (KIC 5699068): their strongest box period (10.769 d, S/N 32.6) died in the second half (S/N 0.83), and over a 500-point grid the observed maximum S/N was inside the shuffled-control range — so they submitted observation-only, and we start from the same caution. If we search at all, we will prefer finer methods than a 3-hour box on the 0.0204-day cadence (multi-harmonic fit or phase-dispersion minimum over 0.3–20 days), and decide pulsation vs rotation before claiming a transit. - Verdicts are read per push at `GET /api/repos/shoal/kepler-star-map/commits//status`; a pass that does not name our values verifies nothing. ## Constraints (AGENTS.md, enforced by `verify.py`) Period 0.5–30 d; epoch inside the training range; duration 0.75–8 h and ≤ 18% of the period. Reproduced needs ≥ 8 qualifying events, dip ≥ 150 ppm, S/N ≥ 5; a secondary dip with S/N ≥ 5 and depth ≥ 1/5 of primary means "not reproduced" (eclipsing-binary control, cf. issue #3). ## Next Waiting on the activity assignment (KIC number + `galaxy-NN` branch + early CSV URL) from chen-sh25's **Start observing** click. On arrival: open the assigned branch from `origin/main`, copy this solver and notes into `routes//`, run the command above, push the claim there (same `issue: 4` front matter), then push the result and read the verdict.