Thanks for helping improve AI Charts.
Install Bun 1.3.14 and Node.js 24, then run:
bun install --frozen-lockfile
bun run devKeep changes focused and include deterministic tests for behavior. Property tests are preferred for parsers, ordering, scale laws, layout geometry, and round trips.
Before opening a pull request, run:
bun run checkDo not hand-edit data/coding-agents.json. Run bun run data:refresh, inspect the diff, and include only a snapshot change supported by the guarded refresh script. Do not weaken retention or coverage checks merely to accept an unexpected upstream shape.
Do not hand-edit lib/chart-colors.generated.ts. Regenerate it with bun run colors:generate.
- Keep the production route independent of live upstream availability.
- Treat file, network, URL, and query-string input as untrusted.
- Preserve keyboard, pointer, touch, and focus behavior together.
- Do not add user accounts, a product database, or identifying analytics without a separately reviewed design.
- Never commit credentials or real PostHog private keys.