> ## 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.

# AI usage log · Anushiya

## 2026-11-01

* **Tool:** Claude Code (claude.ai/code)
* **AI did:** wrote the date-rule expander (`common.contracts.expand_events`) for fixed, nth-weekday, offset and listed rules, researched and sourced the listed dates for Prime Day and Chinese New Year, wrote the events build script, and — after an independent model review found 5 latent edge-case bugs (an N-th-weekday rule silently rolling into the wrong month, a confusing raw error when an offset's anchor event is out of scope, offsets that cross a year boundary being dropped or misattributed, listed events being filtered too strictly at the edge of the requested year range, and no validation against the date-rule grammar) — wrote the fixes for all five.
* **I did:** directed the work, reviewed the design and the bug-review findings, and decided to commit and push it.

## 2026-11-16

* **Tool:** Claude Code (claude.ai/code)
* **AI did:** wrote the ticker list (`lookup/tickers.csv`, `clean/tickers.parquet`) matching the schema `etl/join_master.py` already expected, and verified the join picked it up correctly (country and retailer\_type populated with zero nulls across all rows). Later merged into `config/retailers.csv` by the config-driven pipeline (decision 0005).
* **I did:** directed the work (it was the one piece blocking the team's join), reviewed the verification, and decided to commit and push it.

## 2026-11-17

* **Tool:** Claude Code (claude.ai/code)
* **AI did:** ran the streaming logic against all ten years of `clean/master.parquet` and cross-checked it with an independent numpy version (to 1.7e-10): at z ≥ 3.0, 6.05% of ticker-days flag, and Black Friday and Cyber Monday windows flag about 3.1× as often as other days, while z = 2.5 or 3.5 give the same lift. Wrote `run_everything.sh` (the venv, the Java 17/21 check, the ETL chain, the streaming run from local files or Kafka, and the final check with a clear PASSED/FAILED), the README's run steps, and fixed the stale events-table note and the README team table.
* **I did:** resolved the spike-rule ownership question with the team (the written docs still named Sanchi; the team's own chat had reassigned it to me), reviewed and approved the analysis and the recommendation to keep 28/20/3.0, tested `run_everything.sh --skip-etl` myself end to end (600 CARs match), and decided to commit and push.


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