> ## Documentation Index
> Fetch the complete documentation index at: https://calendar-effects.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 2026-11-25 · Mahad · Final pass: decisions, a clean run, one hosted dashboard, team organisations, results pack (`main`)

* **Done:**
  * **Decisions 0001–0011 agreed** (Mahad, for the team).
    * New: 0012 (scope: Wikipedia is the attention measure; GDELT and retail sales are future work), 0013 (one Streamlit dashboard, on a laptop and hosted, with a live feed) and 0014 (team organisations, results pack, credit).
    * Data contracts AGREED.
    * AGENTS rule 6: pushing to `main` is allowed, with each member telling the team and everyone keeping up. Rollbacks only by `git revert`. CLAUDE.md lets assistants revert a breaking push.
  * **A clean full run** at commit `d690489` (`./run_everything.sh --skip-etl --late-test`):
    * **stream vs direct computation:** 95,190 daily rows and 2,280 CARs match (largest difference 2e-16);
    * **stream vs batch:** 2,280 of 2,280 windows equal, and 2,242 of 2,242 significance calls agree;
    * 0 late rows dropped by the watermark;
    * the model came out identical (ROC-AUC 0.688).
  * **One dashboard,** `src/dashboard/app.py`, for laptops and hosting. It has four views: Live stream (this computer or the online live feed), Replay of the test years, Event history & forecast, and About.
    * `job.py --publish-live` publishes each finished batch to the Hugging Face dataset `calendar-effects/live-feed` (`src/hosting/live.py`).
    * The hosted copy is deployed from `Calendar-Effects/dashboard` on github.com, which `scripts/sync_dashboard_app.sh` fills after each commit.
    * The Hugging Face Space embeds it.
    * The old static page is gone. The recording is committed in `hosting/snapshot/`.
  * **Results pack, `docs/results/`:** every number the report needs, with tables, charts and check outputs. `scripts/export_results.py` writes it from the run, and the docs site shows it as **Results**.
  * **Team organisations:**
    * **GitHub `Calendar-Effects`:** the `docs` repo (moved there; Mintlify deploys it) and the `dashboard` repo.
    * **Hugging Face `calendar-effects`:** the dataset `calendar-effects`, the model `big-move-model` and the Space `dashboard`. Old URLs redirect.
    * `CITATION.cff` credits all four members.
  * **Hugging Face:**
    * the licence is now CC BY-NC 4.0;
    * `daily_signals` and `big_move_predictions` are split train/validation/test by year, like the model (Hugging Face's default "train" label was misleading);
    * the card explains the nulls in each stock's first 120 days.
  * **AI usage logs:**
    * `anushiya.md` added, listing her commits for her to describe;
    * Mahad's entries filled in from what he did;
    * `tests/test_ai_usage.py` checks every member has a log and every handoff has an entry;
    * the docs site shows every log.
  * **Smaller items:** AGENTS roster usernames, the cluster commands in AGENTS.md, the STATUS checklist and milestones that are done.
  * **SFU cluster at 38 retailers:**
    * the run used its own topic `calendar-effects-master-38`, 2% of messages sent 3 days late, YARN and Spark 3.5.8, in 251 micro-batches;
    * 0 late rows were dropped;
    * stream vs direct computation: 95,190 daily rows and 2,280 CARs match; stream vs batch: 2,280 of 2,280;
    * the checks are in `docs/results/` (the HDFS output is copied to `data/cluster/stream`).
* **Decisions:** 0012, 0013, 0014 (agreed); 0001–0011 agreed.
* **Contracts:** AGREED; no column changes.
* **Next:**
  1. Done 2026-11-25: Mintlify reconnected to `Calendar-Effects/docs`; the dashboard deployed at [https://calendar-effects.streamlit.app](https://calendar-effects.streamlit.app) (the Calendar-Effects workspace on Streamlit; GitHub repo access decides who manages it).
  2. **Mahad:** invite Sanchi, Anushiya and Areej to both organisations.
* **Needs from others:**
  * **Everyone:** accept the organisation invitations. Read the Results page and your own chapter of the docs site, and fill your "I did" lines in `docs/ai-usage/<name>.md`.
  * **Anushiya:** describe your commits in `docs/ai-usage/anushiya.md`.
  * **Areej, Sanchi:** the report's results come from `docs/results/README.md`, with every number taken from the run.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.