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

# Ask questions about the code

> Search the site, or connect an AI assistant to it so it answers from the current code.

Every page here is generated from the current code, so an assistant that reads the site answers from what the code does now, not from what it did when someone last wrote a note.

## Search

Press <kbd>⌘</kbd> <kbd>K</kbd> (or <kbd>Ctrl</kbd> <kbd>K</kbd>) on any page.

## Connect Claude, Cursor or ChatGPT (MCP)

Mintlify serves a search **MCP server** for the site at `/mcp`. An assistant connected to it can search and read every page, including the full source of every file.

> [tab] Claude Code
>
> ```bash theme={null}
> claude mcp add --transport http calendar-effects https://calendar-effects.mintlify.app/mcp
> ```

> [tab] Cursor
>
> Settings → MCP → Add server, with the URL `https://calendar-effects.mintlify.app/mcp`.

> [tab] Any page
>
> The menu at the top of each page can copy it as Markdown or open it in Claude or ChatGPT.

The site is at [calendar-effects.mintlify.app](https://calendar-effects.mintlify.app). If it is made private, the server moves to `/authed/mcp` and asks you to sign in.

## Good questions to try

> [accordion] Follow one row
>
> "Walk me through what happens to Walmart's row on Black Friday 2024, file by file, from the download to the dashboard."

> [accordion] Why is it built this way?
>
> "Why does the streaming job leave a gap of 10 trading days before its estimation window?" The answer is in `src/common/study.py` and decision 0004.

> [accordion] Prove a claim
>
> "How do we know the stream and the batch study agree? Which files check it, and what would make the check fail?"

> [accordion] Change something
>
> "I want to study Boxing Day too (it is listed in `config/event_types.csv` but not in scope). What do I change, what do I re-run, and which tests will tell me if I got it wrong?"

> [accordion] Explain a concept
>
> "What is a watermark in Spark Structured Streaming, and where does this project use one?"

## Inside the repository

The repository has its own assistant context: `AGENTS.md` and `CLAUDE.md` (the team's rules), `docs/STATUS.md` and the handoff notes (who is doing what), and a knowledge graph (`graphify query "..."`) on Mahad's machine. Claude Code reads the first three at the start of every session.


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