labs/aicharts: Jev / Clef brains with the LLM as fallback #40

Merged
teahubxyz merged 1 commits from labs/aicharts-jev into main 2026-10-13 15:25:18 +00:00
1 Commits
Author SHA1 Message Date
Claude fd146e717c labs/aicharts: Jev / Clef decision brains (choice answers -> spec), LLM as the door
decide.js asks ~10 choice questions in one call (mark, x, measure, agg, series,
order, top, one filter per text column) and assembles the spec; the validator
still checks it. Weakest needed answer < FLOOR, a failed check or a model error
hands the question to the LLM path, and the response says why. Page: brain
picker, latency/confidence line, 'or as <mark>' from the mark probabilities.
bench.py scores brains on 12 fixed questions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VDkN7ukK1kXkqov8FaZxva
2026-10-13 15:24:16 +00:00