Coaching data source skill — the data dictionary
The one dictionary of the coaching skill, rewritten 2026-10-09 against what is built. §§1–8 are the product spine: every term once, in the
business's words. §9 points to the sources whose meaning is defined elsewhere. §10 is this skill's own stores, column by column, each with
its genesis (captured · copied · computed · judged), its allowed values and what NULL means. §§11–17 are joins, people, invariants, traps,
open questions, provenance and freshness. Opinions (what we believe about coaching and why) live in the brainlift (BRAINLIFT.md), not
here; where a definition here follows a ruling, the ruling is dated in the brainlift's DOK1.
0. What this source is, what it answers, what it cannot
What it is. Every coaching session at Alpha this school year, joined to how it ended (Google Meet attendance where it exists), what blocked the student (the coach's description, classified by AI), whether the student did better on their own afterwards (TimeBack lesson results), and, per student, subject and school day, whether coaching failed the student and who owns the failure (the failure-category ledger). It is the only place the struggling students who never booked are counted beside the ones who did.
Scope, stated once (every document and the dashboard follow it).
- From 2026-08-12, the school year's first day. No store keeps anything earlier. Only
sessionsholds future days: sessions already booked for the next 14 days (ending_finalupcoming, or cancelled ahead). Every figure counts days up to today. - Session counts (completed sessions a day, how sessions ended, the no-show rate) count every coaching session: academic,
pre-test, post-test and non-academic (
session_type). Proctoring is booked through the same calendar but isn't coaching; it is not in the stores. - Student measures (reach, waiting, what the coach found, the outcome and the matched comparison, needed fewer sessions, heavy users, and the failure-category ledger) count academic coaching only, the one session type that exists to unblock a student on a lesson.
What it can answer.
- Which students started struggling (unproductive time) and didn't get a session by the next school day, by day and subject.
- How many sessions are booked, completed, missed (student no-show, coach no-show), cancelled, cut short or couldn't run; how long students wait.
- What blocks students, by subject, week and blocker.
- Whether a coached student did better on their own afterwards (first-try pass rate; minutes per XP), and whether coached students do better than similar students who weren't coached.
- How often students come back (sessions per student, heavy users, growing dependence).
- QC answers for the sessions checked so far (a 39-session prototype; not every session).
What it cannot answer, and must not be used for.
- Coach performance rankings. Coach ids are hashed (
coach_key) and no figure in this pack is per coach; QC covers 39 sessions. - Why a student didn't book. The ledger says a struggling student had no session; it does not say whether they tried, were refused a slot, or never knew to ask.
- Causal claims about coaching. The outcome compares a student with themselves; the matched comparison compares with similar students who weren't coached, not with a randomised group. Neither proves cause.
- Anything before 2026-08-12, any coach no-show before 2026-09-08 (no Meet records), or any wait time from a booking whose time is not trusted (§2, trap 13).
- The lesson the student was stuck on. Bookings don't record it yet; "booked again for the same lesson" is NULL everywhere.
- Question-level work. The outcome reads lesson results only, by ruling.
Where it sits in the metric. It supplies the four headline figures of the coaching dashboard: completed sessions a day against the target, Better after coaching (the outcome), the share of returning students who needed fewer sessions, and Next-day coaching (students who asked for coaching and got a session by the next school day; §2). It does not supply capacity (open slots) or booking demand; those are the coaching platform's (§9).
1. Who is the student?
- Student: a child at a school served by Alpha, identified by the TimeBack student id (
student_id) and an Alpha email. - The coaching platform gives each session the TimeBack id directly (
studentId; 19 of 19 checked, 2026-10-08); 93% of platform sessions carry one. A session without one, or found only in the coaching tracker, gets an id by name (§11), or none (student_match= no_match). - In the coaching tracker and the DS the student is a name typed by the coach, with spelling variants and no id.
- Guide: the adult responsible for the student day to day. Coach: the person who runs the session. Head of coaching: runs the coaching team.
2. When is it?
- Session date (
session_date): the US Central day of the session. School year: from 2026-08-12; summer sessions before it are not kept. - School day: a weekday (the stores use weekdays; school holidays are not yet removed).
- Days are US Central, whatever the clock of the machine that builds the stores. "Today", the last judged day and every window end
are the US Central date (America/Chicago); a build machine on another time zone (production runs on UTC−3) never starts the next day
early. Checked by
datasource/checks.py drift("days: …"). - Booking time (
booked_at): when the session was booked, the platform'screatedAt, kept only where it really is a booking time: OpenCal bookings and Calendly bookings synced one at a time (booked_at_trusted= 1). Everywhere else (Calendly bulk imports, tracker imports, coach-entered sessions, tracker-only rows)booked_atis NULL, because the platform's time there is when the row entered it. Trusted booking times exist for sessions from 2026-09-07 (OpenCal; the earliest were booked on 2026-09-02) and 2026-09-16 (Calendly), so waiting can't be measured before then (trap 13). A booking time is trusted only when it is before the session's start (an OpenCal session with no booking time, or one created after it started, is untrusted). - Booking window and notice (OpenCal settings): bookings could be made up to 30 days ahead until 2026-10-14, 3 days on 2026-10-14 (a temporary choice of the OpenCal admin), and 14 days from 2026-10-15, planned to tighten to 7 once supply catches up. Minimum notice went from 0 to 5 minutes on 2026-10-15. The short window of Oct 14–15 suppresses far-ahead bookings and waits in those days.
- Week: Monday to Sunday, US Central.
- Ledger day: a day of the failure-category ledger (§10.2): a day from 2026-08-12 up to today on which an academic session or the start of an unproductive-time episode lands. Reach is judged only on days the Academic Support ledger has served.
- Next-day coaching (the dashboard's fourth headline, ruling 2026-10-09): of the students who asked for academic coaching, the
share who got a session by the next school day. Unit: one request. Asked = every academic session booked with a trusted booking
time (
booked_at_trusted= 1), plus every OpenCal booking attempt that found no slot (platform.sqlitetableno_slot: the platform'sopencal.no_coach_availablerows, every stage, andopencal.booking_failuresrows with stageslot_unavailable; one row per attempt, no student id, subject often missing). Got it = the session was scheduled for the booking's school day or the next one (wait_school_days≤ 1), whatever happened afterwards; a no-slot attempt never got it. Requests are grouped by the US Central day the student asked; weeks with fewer than 30 requests are left out, so the series starts mid-September when trusted booking times begin. Unlike the Reach section it covers every school (no school filter). Below it, the Reach section shows the bigger picture with one measure, coached by the next school day (struggling students at physical private schools who COMPLETED a session by the next school day): students who got coaching against students who needed it.
3. What kind of session was it?
- Academic coaching: the student is struggling with a lesson in one of their apps, or brings a hard test question. The only session type the student measures count (§0, scope).
- Pre-test coaching (moving to guides), post-test coaching (retired 2026-10-08 as a rule; sessions already booked still run and are counted) and non-academic coaching (
no_academic): coaching sessions, counted in the session counts only. - Proctoring (supervising a test): not coaching, left out of every store. Being deprecated (decided 2026-10-15).
- Coming changes to call types (decided 2026-10-15, not yet in the data): post-test coaching merges into the one coaching call type (the student picks one of two goals, stuck on a lesson or reviewing a test's mistakes); pre-test coaching leaves the booking form.
- Session length and the slot grid (OpenCal settings, applied 2026-10-15 by the OpenCal admin): before, 30 minutes with a 5-minute buffer (sessions chained at 35); from 2026-10-15, academic, post-test and pre-test sessions are a fixed 25 minutes, starting only at :00 or :30, with a 5-minute buffer after. Existing bookings kept their length. The daily cap per coach went from 8 to 12 on every call type (counting all of a coach's calls that day). Compare capacity before and after this date as a settings change, not a change in demand (trap 25).
- Booking with a specific coach is not part of the service: coaches' personal booking links were retired on 2026-10-15 (they carried about 1% of bookings); every booking goes through the shared pool.
4. Did the session happen?
Every ending is a value of ending_final, the one answer to "did it happen". ending_recorded (what the platform or tracker recorded)
is an input to it and answers nothing on its own (trap 17).
- Completed (
ending_final= completed), the only definition of completed: coach and student were together in the coach's Meet meeting for 5 minutes or more; where no meeting is found, the platform recorded the session as completed; for a tracker-only session, the coach marked Student Joined = TRUE. - No-show (
no_show, plusno_show_unconfirmedfor tracker-only sessions whose Student Joined is not TRUE): the student didn't join. In Meet, the coach was in the room for at least 5 minutes of the session's slot and the student never came. Owner: the guide and the student. Both values count as no-shows everywhere. - No-show rate = no-shows ÷ (no-shows + completed), over the scope's session counts (§0). Other endings are in neither part.
- Coach no-show (
coach_no_show): the brainlift's concept is "the coach didn't join, or the link or invite failed". The data can see one case: the student was in the coach's Meet room and the coach never was. A failed link shows up only when the coach describes it, and then the session ends couldn't run. Never counts against the student. Owner: the coaching team. - Short (
short): coach and student were together in Meet for less than 5 minutes. Its own ending: neither completed nor couldn't run. - Cancelled (
cancelled): cancelled 2 hours or more before the start. Late cancellation (late_cancellation): cancelled less than 2 hours before the start, or after it (the coaching platform's definition,attendance.late_cancellations). - Couldn't run (
couldnt_run): the session took place but something stopped it doing its job (the app, link or screen share failed; late or cut short; no work assigned; XP not recorded). It comes from one place only: the coach's description, classified by AI as couldn't run, on a session recorded as completed, or recorded as a no-show where Meet saw both join (they met but couldn't work). Owner: the coaching team. No session ends couldn't run after 2026-10-02: the descriptions stopped arriving (trap 26). A session that ran despite a hiccup is classified by what it was about. - Unmarked (
unmarked): the platform holds no ending and no meeting settles it: a coach no-show or a session nobody marked. - Upcoming (
upcoming): scheduled after now. - How
ending_finalis decided, in order: (1) a session dated before 2026-09-08, the day of the first stored Meet record, keepsending_recorded(ending_source"platform (before Meet records)"); on 2026-09-08 itself Meet covers only the afternoon (the first record is 19:29 UTC), so that day's morning sessions show "platform (no meeting found)"; (2) where a meeting is matched (§10.3): both present 5+ minutes → completed, unlessending_recordedis couldnt_run or the coach's description is classified couldn't run (then couldnt_run: they met but couldn't work); both present under 5 minutes → short; only the student → coach_no_show, even if the platform shows a cancellation (the student came to the room, so the session was not cancelled for them: the cancellation never reached the student, which is the coaching team's failure); only the coach → no_show, unless the session was cancelled or late-cancelled through the platform (the cancellation stands: a coach waiting in a room the student was told was cancelled is not the student's no-show); (3) otherwiseending_recorded.
5. What blocked the student?
- Where coaches write it. Until about 2026-10-05, in the DS sheet. Since then coaches write their notes in the coaching platform's
post-call form, and the DS sheets are empty, so
blockeris NULL for nearly every session after 2026-10-04 until the classifier reads the platform's note text (trap 26). The platform's own blocker dropdown (notes.blockers) does not follow this framework and is not used. - Who fixes each finding (the coaching lead's ruling, 2026-10-10, as the page words it). The failure-category ledger's own
ownerscolumn (§10.2) names system owners per category and is a separate thing. - Blocker: what kept the student from getting through the work on their own, written by the coach as a free-text description with
evidence (the DS's "Explain the reasoning") and classified by AI into one of four blockers and a subcategory:
- No coaching need (did fine on their own · already unstuck · lacked confidence · wellbeing · wanted something other than coaching): the one blocker that is not a system failure. Who fixes it: guides and students (book only when stuck).
- Motivation failure (distracted · disengaged): who fixes it: the coach and guides.
- App guidance failure (rushing or guessing · skipping the instruction · not referencing the material · not working on paper): the app let the student work in a way that keeps them from learning. Who fixes it: the coach and the app team. A reminder to use the app's own help (tutorial, video, worked example) is app guidance failure, not no coaching need.
- Curriculum failure (bad instruction · bad practice · bad placement): the content, or what the student was given, is the blocker. Who fixes it: the curriculum team (placement included).
- Couldn't run is a session ending (§4), not a finding; its subcategories are technical problem · late or cut short · no work assigned · XP not recorded.
- Unclear: the description doesn't say enough to choose (subcategory
unclear). - Two subcategory values mark a classifier's honest gap: none fits (the blocker is clear, no subcategory fits) and not specified (the description doesn't say which subcategory; mostly curriculum failures, going forward the coach must name it). Both can appear under any blocker, including couldn't run.
- Only sessions that happened carry a blocker:
blockeris NULL unlessending_finalis completed or couldnt_run. - Blocker shares (what the coach found) count the four findings only, over completed academic sessions: couldn't run and unclear are in no share, and their counts are reported once beside it.
- The DS's own dropdown ("Blocker (What failed in our system…)": Faulty instruction · Missing instruction · Prerequisites · Placement
failure · Too large a conceptual leap · None · Other) is kept as
blocker_dropdown, for history only (trap 5, trap 6). - Reliability: the head of coaching agreed with the AI on 23 of 25 descriptions (spot-check returned 2026-10-09).
6. Was the session good? (QC)
- QC: five yes-or-no questions answered from the session's Meet transcript (and, later, the student's lesson results). Any "no" fails
the session, and the coach gets feedback: which question failed, the moment in the transcript, what to do instead.
- Did the session stay on the lesson the student picked (or the test question the student brought)? Continuing on the app's next lesson counts as staying on it.
- Did the student attempt the problem before the coach helped? Attempting means starting it out loud; nothing has to be submitted.
- Did the student do all the work, with nothing given away? A coach line that could be asked word for word about any problem gives nothing away; a line that only makes sense for this problem does.
- Did the student solve a final problem, start to finish, out loud, with the coach saying nothing about it? Procedural words ("keep going", "mm-hm") are allowed; any hint or "right", "good", "careful" fails it.
- Did the student say what they'll do next time they're stuck? The student says it first; the coach may add after. Not applicable when the blocker is a curriculum failure.
- Each answer is pass · fail · not applicable · unclear (the transcript can't tell, e.g. cut off). A session with no fail and at least one unclear is needs review. Coaches can dispute a fail; disputes join the sample people audit.
- Reliability: the head of coaching agreed with the AI on 42 of the 44 answers she scored, across 10 sessions (returned 2026-10-09).
- QC began as a 39-session prototype (§10.6). Since 2026-10-21 every completed academic session of the last 4 weeks with a transcript is scored the same way for the coach quality stack-rank (§10.6b); coaches had not been asked to work to these questions before then, so early scores measure the habit, not compliance with a rule they knew.
7. Did the session work? (outcome)
- Outcome: whether the student did better on their own after the session. Primary measure: the student's first-try pass rate on the next 10 lessons they start in the subject after the session day, against the 10 before it, each within 10 school days. Secondary measure: minutes per XP in the subject over the 10 school days before and after (lower is better).
- First try is the whole first attempt at a lesson, across days: a student who runs out of time and finishes the next day is still on the first try. Pass: the first attempt ends in mastery with no restart; fail: it ends without mastery (a restart, a failed check, a reset). A lesson still in progress, or started before the session and finished after it, counts in neither window. Where an app gives no attempt signal, 80% accuracy over all work on the lesson stands in for mastery.
- Results: unblocked (the pass rate improved and the student is no longer flagged for unproductive time) · unblocked on the lesson, still unproductive (the pass rate improved but the flag still fires: a new need, not a failed session) · not unblocked (the pass rate didn't improve, whether or not the flag cleared) · already passing (100% before and after: neither, left out of the rate) · too little work (fewer than 5 lessons on a side) · not yet (the window is still open).
- Final result: unblocked, unblocked on the lesson still unproductive, not unblocked and already passing are final; too little work and not yet are
not results. A session stays
not_yetuntil the Academic Support ledger has served its window's closing day — even one already at 100% before and after — because every final result is assigned in the same step; so already passing is understated for the latest two weeks. - Better after coaching (the dashboard headline; the brainlift's outcome) = (unblocked + unblocked on the lesson, still unproductive) ÷ (unblocked + unblocked on the lesson, still unproductive + not unblocked).
- The outcome answers whether a session left the student better on their own. Whether coaching adds value is a separate question, answered by the matched comparison (§10.5): coached students against similar students who weren't coached.
- The DS's "Student mastered the skill?" is the coach's own judgement and is not the outcome.
8. Which store answers which question?
| Question | Store (§) |
|---|---|
| Which sessions were booked, for whom, when, how they ended | sessions (§10.1) |
| Who joined each meeting, for how long; what was said | Meet (§10.3) |
| What blocked the student | sessions blocker (§10.1) |
| Which students needed coaching and weren't reached; every failure category | failure-category ledger (§10.2) |
| Whether a session worked | outcomes (§10.4) |
| Whether coaching adds value | matched comparison (§10.5) |
| Whether a session followed the session design | QC prototype (§10.6) |
| The dashboard's figures | dashboard datasets (§10.7) |
| Open slots, booking demand, lead time | the coaching platform (§9), not this pack |
9. Inherited sources (defined elsewhere, read here)
- Coaching platform (
alpha-video-analysis, coaching.alpha.school; its own catalog of 58 metrics is its dictionary). We read one tool,get_metric_rows, for every booked, completed, no-show, cancelled and late-cancelled session (§10.1's spine), plus the coach list. Departures: itscompletedand no-show counts are replaced by the final ending (trap 17);notes.skill_mastered_rateis the coach's judgement, not the outcome;quality.ai_pass_rateis an old rubric graded until 2026-08-09, not QC;notes.blockersis the dropdown;supply.*counts bookable time around the clock, not coaching hours. Admin-only; every call is audit-logged under the key owner. - Coaching tracker (a Google Sheet, one row per booked session) and DS (one Google Sheet per session, the coach's record): read
through domain-wide delegation, read-only; the DS store keeps every cell as written (
ds_cells). - Google Meet (the Meet REST API, read as each coach): meetings the coach organized, their participants, transcripts and transcript lines.
- TimeBack (the TimeBack data source skill, read-only SQL): lesson results, minutes and XP, grade and campus, for the outcome only.
- Academic Support ledger (the Academic Support data source skill, read API): learning-risk categories by student, subject and day; we
read
unproductive(and its cause) to fire "needed coaching, not reached", and its students to give a session without an id an id by name.
10. This skill's own stores
All stores hold student names or transcript text and stay on the machine that builds them (§12). The nightly rebuilds them (§17).
10.1 Sessions — one row per booked session (datasources/sessions/data/sessions.sqlite, table sessions)
Grain: one booked coaching session. The coaching platform is the spine (every session it holds from 2026-08-12, any ending, every type but proctoring); each coaching
tracker row is joined to the platform session of the same student and day; tracker rows with no platform session are kept as their own
sessions (source_system = Tracker only).
| Column | Meaning; allowed values; NULL | Genesis |
|---|---|---|
session_id | the platform's session id, else tracker:<tab>:<row> | copied |
platform_session_id | the platform's session id; NULL on tracker-only rows | copied |
tracker_row | the coaching tracker's tab and row; NULL when no tracker row joined | copied |
ds_id | the session's DS sheet id; NULL when the tracker links none | copied from the tracker's DS link |
recording_id | the session's recording in Drive; NULL when none is linked | copied from the tracker |
join_method | how the tracker row was joined: name_subject · name_day · first_or_last_subject · NULL | computed |
student_id | TimeBack student id; NULL when no confident match | copied from the platform; else computed by name (§11) |
student_match | platform · ledger_exact · ledger_first_last · ambiguous · no_match | computed |
student_name | the student's name (person-bearing) | copied |
subject | Math · Reading · Language · Science · Writing · Vocabulary · FastMath · SocialStudies; NULL when the source gives no subject or something that isn't one (a tracker typo) | copied, spelling normalised |
session_date | US Central day of the session | copied |
scheduled_at | the platform's start time (UTC ISO); NULL on tracker-only rows | copied |
session_type | academic · pretest · posttest · no_academic (proctoring is never stored) | copied (the platform's call type, else the tracker's tab) |
source_system | Calendly · OpenCal · Coach manual · Tracker sheet · Tracker only | copied |
booking_source | the platform's booking source: AVC coach · AVC guide · Admin · OpenCal direct or Timeback · Calendly (legacy) · Imported (tracker or manual); NULL on tracker-only rows | copied |
coach_key | 8-character hash of the coach's name; never a name | computed |
ending_recorded | what was recorded, an input to ending_final only: completed · no_show · cancelled · late_cancellation · couldnt_run · unmarked · upcoming · no_show_unconfirmed | computed: platform sessions from which platform attendance metric lists them (none and past → unmarked; none and future → upcoming); tracker-only rows from Student Joined (TRUE → completed, else no_show_unconfirmed); then completed becomes couldnt_run when the AI classified the description as couldn't run |
booked_at | the booking time (UTC); NULL unless booked_at_trusted = 1 | copied (createdAt) |
booked_at_trusted | 1 when booked_at is a real booking time (§2), else 0; NULL on tracker-only rows (no platform record to judge) | computed |
wait_school_days | weekdays after the booking day up to the session day; NULL unless trusted | computed |
student_joined | the tracker's Student Joined: TRUE · FALSE; NULL when no tracker row joined or the cell is blank | copied |
blocker_dropdown | the DS's dropdown value, as written (history only): one of the seven choices, occasionally two joined by a comma; empty when the DS has no choice; NULL when no tracker row joined | copied |
blocker_text_present | 1 when the DS has a description, else 0; NULL when the session has no DS (no tracker row or no DS link) | computed |
blocker | no coaching need · motivation failure · app guidance failure · curriculum failure · couldn't run · unclear; NULL when there is no description to classify, or when ending_final is not completed or couldnt_run. Every session type is classified (a few pre-test and post-test sessions carry one), so a count of findings over /sessions is a little higher than finding_summary, which counts completed academic sessions only | judged by AI (Claude Sonnet 5.5) from the DS description, names removed |
blocker_sub | the subcategory: the §5 lists, plus none fits · not specified · unclear (§5); NULL with blocker | judged with blocker |
blocker_evidence | one sentence paraphrasing the description; no names. NULL on a few labelled sessions (4 with a finding on the 2026-10-19 night, none in the reference build; the cause is open, §15) | judged with blocker |
blocker_provisional | 0 when the classifier has labelled the session's description (since 2026-10-09 no label is provisional: the head of coaching's spot-check); NULL when there is no label. A label exists even where blocker is hidden because the session didn't happen | computed |
meet_conference | the matched Meet meeting; NULL when none | computed (§10.3 match) |
meet_ending | completed (together 5+ min) · short_overlap (together under 5 min) · student_no_show (coach present 5+ min of the slot, student absent) · coach_no_show · nobody_joined (a matched meeting nobody joined; possible, none so far) · no_meeting_found; NULL before Meet records, on tracker-only rows, on sessions still upcoming and on sessions dated today or later that were cancelled ahead | computed |
coach_minutes · student_minutes · overlap_minutes | minutes each was in the meeting, and together | computed from Meet participants |
has_transcript | 1 when Meet generated a transcript for the matched meeting, 0 when it didn't; NULL when no meeting is matched | copied |
student_match_meet | how the student was found among participants: account · name · other (no participant could be tied to the student, but someone other than the coach was in the meeting: since the ruling of 2026-10-21 that is attendance, because students join from other accounts and shared devices); NULL when no meeting is matched or nobody but the coach was in it | computed |
ending_final | completed · no_show · no_show_unconfirmed · coach_no_show · short · cancelled · late_cancellation · couldnt_run · unmarked · upcoming | computed, in the order of §4 |
ending_source | meet (Meet decided) · platform (a meeting was matched but the platform's ending stood, e.g. a cancellation with only the coach in the room; and every upcoming session) · platform (before Meet records) · platform (no meeting found) · platform (nobody joined; possible, none so far) · tracker | computed |
10.2 Failure-category ledger — one row per student, subject and day (truthfinder/data/ledger.sqlite, table ledger)
Grain: one student, subject and day (from 2026-08-12 up to today) on which an academic session or the start of an unproductive episode
lands. A category column is 1 (fired), 0 (judged, didn't fire) or NULL (not judged on this row). The categories, in the order that decides lead:
needed_coaching_not_reached— "reached" here means OFFERED a session, never "coached" (that is the Reach section's coached by the next school day, below). The first school day of an unproductive-time episode on the Academic Support ledger for the student and subject (FastMath and Vocabulary never fire it), with no academic session offered in that subject that day or the next school day: any session counts as offered except a cancelled or late-cancelled one (ruling 2026-10-09). A no-show, coach no-show, session that couldn't run or one together under 5 minutes WAS offered: it goes to its own category and owner, never here, so the system is never blamed for a student's absence. Kept for every student, at every school (the ledger is the full record). Judged only on episode-start rows, and only once the next school day has ended, never earlier, even when a session already happened (an early success would bias a still-open day upward); starts are judged from the fifth school day the Academic Support ledger has served ("loaded": a day it returned rows for; a flag present on the first four is a carry-over from before, not a start). The first judged day is 2026-09-28. Rows on a weekend exist only for sessions held that day (students abroad); no reach is judged on them. The Academic Support ledger is a sister store, read by id and date and not shipped here, so episode starts can be checked againstsessionsbut not recomputed from this pack alone. Owner: system.waited_too_long— a session on the row withwait_school_daysover one; NULL when no session has a trusted booking time. Owner: system.no_show—ending_final= no_show (or no_show_unconfirmed). Owner: guide and student.coach_no_show—ending_final= coach_no_show; NULL on rows with no Meet evidence. Owner: coaching team.couldnt_run—ending_final= couldnt_run. Owner: coaching team.failed_qc— a failed QC; NULL everywhere until QC runs on every session. Owner: the coach.not_unblocked— the session's outcome is not unblocked (§7); NULL when the result isn't final or is already passing. Owner: investigate.blocker— what the coach found in the row's completed session (text, not 0/1): one of the four findings; NULL when none. Unclear and couldn't run never fire. Owner: by finding (no coaching need → guide · motivation failure → guide and app · app guidance failure → app · curriculum failure → curriculum and assignment).
Other columns:
student_key: the TimeBack id;unmatched:<session_id>when the session has none.subject: as §10.1; NULL when the session has none.day.unmarked·short: how many of the row's sessions ended unmarked · short (0, 1, 2…); counts, not categories.lead: the first category that fired, in the order above; NULL when nothing fired (a row present only for its session, or with onlyunmarked/shortcounts).owners: the owners of every fired category, in the order above, comma-and-space separated, each once; NULL when nothing fired.session_ids: the row's academic session ids as a JSON array, served as a string ("[\"01M…\"]": parse it once more);[]when none of the row's sessions is dated on its day: a row that exists only for a reach judgement, or an offered row whose offering session is dated the next school day (it sits in that day's row).- Coached-by-the-next-school-day columns, for the dashboard's Reach section, on episode-start rows only (NULL elsewhere):
campus_id(the student's campus on the Academic Support ledger that day);in_reach_school(1 when that campus is inconfig/reach_schools.csvwithin_reach1, else 0);coached_next_day(1 = a COMPLETED academic session in the subject that day or the next school day, 0 = not, NULL while the window is open);coached_next_day_what(what happened by the end of the next school day: Completed a session · No-show · Coach no-show · Couldn't run · Together under 5 minutes · Not yet marked · Cancelled · Booked for a later day (a session in the 10 school days after) · No session at all; NULL while the window is open). - The reach school list (
config/reach_schools.csv:campus_id,name,group,in_reach,check): Reach's denominator is students at physical private schools only — Alpha physical campuses and other private physical schools (ruling 2026-10-09). Public or partner schools, virtual programs, summer programs and unknown campuses are out. Most students at those schools are never offered coaching, so counting them would measure the offer, not the reach. The list is Reach's denominator ONLY: every other measure (completed sessions, Better after coaching, needed fewer sessions, what the coach found, endings, no-shows, wait, heavy users) keeps all students and sessions, unfiltered. A campus missing from the list is logged byledger.pyas "unknown school" so the list can be updated; rows markedcheckare guesses to confirm. Genesis: every column is computed bytruthfinder/ledger.py, none copied: the key columns andcampus_idfrom the Academic Support ledger (read by id and date), the category columns by the rules above from §10.1 (sessions, endings, booking times, blockers) and §10.4 (outcomes),leadandownersfrom the fired categories in the order above.
10.3 Meet — the coaches' meetings (datasources/meet/data/meet.sqlite)
Grain: one Meet conference record of a meeting a coach organized. Read as each active coach (domain-wide delegation, read-only;
datasources/meet/meet_puller.py). Meet keeps records about 30 days; the store is the only lasting copy. The shipped pack carries no
copy of this store: it holds names (§12), so a reader of the pack sees its definition, not its rows.
meetings— one row per conference — copied:conferencethe Meet conference record id (conferenceRecords/…) ·coach_keythe organizing coach's key (§12) ·coach_emailthe account it was read as ·spacethe meeting space (one coach often reuses one room) ·start_time·end_time(UTC; NULL while running).participants— one row per conference and participant — copied; person-bearing:conference·participantthe participant record id ·kindhow they joined, exactly as stored:signed in(a Google account) ·anonymous·phone·user_idthe Google account (users/…; NULL unless signed in) ·display_name·earliest_start·latest_end(UTC; first join and last leave).transcripts— one row per transcript — copied:transcriptid ·conference·stateSTARTED · ENDED · FILE_GENERATED ·doc_idthe Google Doc Meet saved (NULL until generated) ·start_time·end_time.transcript_entries— one row per spoken line — copied; person-bearing:entryid ·transcript·conference·participantwho said it (joinsparticipants.participant) ·start_time·end_time·text.coach_pulls— the puller's log, one row per coach account — computed:coach_key·coach_email·status(ok, or why the account couldn't be read) ·meetingsread in the last pull ·pulled_at. An account Google refuses ("token refused": a second, non-alpha.school address or a former coach) has no meetings in the store: that coach's sessions keep the platform's ending, and their coach no-shows can't surface. The nightly reads only active coaches' alpha.school accounts.- Match to sessions: the coach's meeting overlapping the scheduled time ± 20 minutes; the student is the participant whose Google
account was seen earlier with a confident name match, else whose display name matches. When neither finds the student, anyone
else in an otherwise unclaimed meeting counts as the student (ruling 2026-10-21: a session is not a no-show if anyone other than
the coach joins). Never counted as that someone: other coaches' accounts, a second device under the coach's own name, anyone whose
display name matches a coach on the roster, note-taking bots (Calendly Notetaker, read.ai, Loom, "<name>'s Notetaker", including
names spelled with look-alike letters). Staff are not screened out: an account seen with many students is as likely a shared
computer as a staff member. Such a participant undoes a no-show but not a cancellation made through the platform. The change
turned 163 no-shows since 2026-09-08 into attended sessions (156 completed), taking that period's no-show rate from 33.4% to 28.4%. A meeting serves one session, with one
exception: a meeting in which several sessions each find their own student (a coach reusing one room back to back, or one student's
back-to-back sessions) serves each of them, and one participant never serves two sessions. A session whose student isn't in the meeting
uses it as no-show evidence only when no other session claimed it and the coach was in the room for at least 5 minutes of the session's
own slot (
scheduled_atto 25 minutes later); otherwise it has no meeting and keepsending_recorded.
10.4 Outcomes — one row per completed academic session (truthfinder/data/outcome.sqlite, table outcomes)
Grain: one completed academic session from 2026-08-12 with a student id. Computed by truthfinder/outcome.py from the lesson store below.
Genesis, by column: the session columns are copied from §10.1; every other column is computed by outcome.py from the lesson store with
the rules of §7 (the windows, first try, pass and fail) and the cleaning rule in the table; none is copied from a source.
The lesson store (truthfinder/data/lessons.sqlite) — copied from TimeBack processed_facts through the read-only SQL access the
Academic Support skill uses (truthfinder/lessons_pull.py, truthfinder/course_pull.py), for every student with a completed academic
session plus the comparison pool. Not shipped (it is keyed by student and day; §12).
| Table · column | Meaning |
|---|---|
lesson_days | one row per student, subject, app, lesson attempt name and day; ActivityEvent rows only; Alpha Test and Manual XP Assign left out |
· user_id · subject · app · date | the TimeBack student id, subject, app and US Central day |
· activity | the activity name as TimeBack records it, including any " - Attempt N" suffix; the lesson is this name with the suffix removed, and N is the attempt (none = attempt 1) |
· q · c | questions answered and answered correctly that day (sum of total_questions, correct_questions); accuracy = c / q |
· mu | the most mastered_units reported that day; mu > 0 means the lesson was mastered that day. An app that never reports mu > 0 has no mastery signal |
· first_ts | the first event's time that day (orders lessons started on the same day) |
pulled · pace_pulled · course_pulled | user_id, through: the day each student's lessons, minutes and XP, and courses were pulled up to (the pulls are incremental) |
pace_days | one row per student, subject, app, activity and day: minutes active minutes (TimeSpentEvent), xp net XP (ActivityEvent, Alpha Test and Mastery Track left out) |
course_days | one row per student, subject, course, app and day: course the TimeBack course name, q questions answered. A session's course: the course with the most questions in its subject on the session day, else the course last worked in that subject in the 3 days before; when none, subject and grade |
student_attrs | user_id, grade (TimeBack grades, first value), campus (TimeBack primary_org), pulled |
How the first try is judged from these columns (§7): an app that numbers attempts and reports mu passes when the lesson is mastered
in attempt 1 before attempt 2 starts, fails when attempt 2 starts first, and is in progress otherwise (left out); numbering without mu:
fail when attempt 2 starts, else pass at 80%+ accuracy over attempt 1; mu without numbering: pass when mastered or at 80%+ accuracy over
all work on the lesson; neither: 80%+ accuracy over all work. A lesson first seen at attempt 2 or later is left out (its first attempt
is before the data).
| Column | Meaning |
|---|---|
session_id · student_id · subject · session_date · week · blocker | the session (copied from §10.1; week its Monday). subject NULL when the session has none (the tracker gave no subject or a typo, §10.1); such a session can't be matched to lessons, so it is always too_little_work or not_yet |
pre_n · pre_rate · post_n · post_rate · delta | lessons judged and first-try pass rate before and after; delta = after − before. pre_rate / post_rate NULL when that side has 0 judged lessons (a too_little_work row); delta NULL unless the result is final (unblocked, unblocked_still_unproductive, not_unblocked, already_passing): NULL on every not_yet and too_little_work row, even when both rates are set |
judgeable | 1 when both sides have at least 5 lessons and the 10-school-day window has closed; a not_yet row can be judgeable while the Academic Support ledger hasn't served the window's closing day (the unproductive flag can't be read yet) |
result | unblocked · unblocked_still_unproductive · not_unblocked · already_passing · too_little_work · not_yet (§7) |
rebooked_same_lesson | NULL until bookings record the lesson |
pre_minutes · pre_xp · pre_min_per_xp · post_minutes · post_xp · post_min_per_xp | the secondary measure's inputs over the 10 school days each side, without the coached lesson; minutes ≥ 0; XP is net and can be below the positive XP earned (Math Academy deducts XP for failed reviews); *_min_per_xp NULL when XP ≤ 0. Cleaning: Manual XP Assign left out; negative minutes and any lesson-day row over 480 minutes count as 0 (source errors) |
pace_change_pct | % change in minutes per XP, after against before (negative = less time per XP) |
pace_judgeable | 1 when each side has at least 60 active minutes and 10 net XP |
10.5 Matched comparison (truthfinder/data/outcome_matched.json)
Each judgeable coached session against the mean of all uncoached students flagged for unproductive time by the Academic Support ledger with the same subject, the same starting band (pass rate within 10 points; for minutes per XP, the same band), the same anchor day, grade within one and the same campus where one exists. Students with any academic coaching in the subject all year are never matches. Already passing is left out on both sides. Fields:
coached_judgeable(coached sessions in the comparison: judgeable, with result unblocked, unblocked_still_unproductive or not_unblocked; already passing is left out, so this is smaller than §7's count of sessions with a final result),matched(of them, with at least one match),match_tiers(same campus · other campus · none = no match within one grade, left out).allandby_subject(subjects with enough matched sessions):n,coached_change_ptsandmatched_change_pts(mean change in first-try pass rate),difference_pts(coached minus matched),ci95_pts(bootstrap, fixed seed),coached_improved_pctandmatched_improved_pct(share whose pass rate rose).pace(minutes per XP):coached_pace_judgeable,matched,match_tiers, andall/by_subjectwithn,coached_change_pct_mean,coached_change_pct_median(the median of the coached sessions' % changes),matched_change_pct_mean,difference_pct(coached mean minus matched mean) andci95_pct. A subject can appear inpace.by_subjectand not inby_subject(different sessions are judgeable on each measure). Computed nightly; not causal.
10.6 QC prototype (datasources/meet/data/qc_results.json)
39 completed academic sessions from 2026-09-29 – 10-03, one AI batch: results keyed by session, each with checks (question 1–5,
result pass · fail · not_applicable · unclear, evidence mm:ss stamps, reason), overall (pass · fail · needs review) and feedback.
Judged by AI (Claude Sonnet 5.5) from the name-stripped Meet transcript. Not refreshed nightly; not on the dashboard.
10.6b Coach quality — QC answers and the stack-rank (truthfinder/data/qc.sqlite, table qc; ruling 2026-10-21)
One row per session and prompt version: the five QC questions of §6, the prototype's rules and name removal
(datasources/meet/qc_prompt.py), answered by AI from the Meet transcript. prompt_version is a hash of the prompt, schema and model:
changing any of them re-scores every session. Columns: session_id, prompt_version, coach_key, session_date, scored_at, model,
overall (pass · fail · needs review), feedback, and per question q1…q5 (pass · fail · not_applicable · unclear), qN_reason,
qN_evidence (JSON list of mm:ss stamps); error when the model's answer was unusable. A session whose transcript still holds a name after
stripping is held back and never sent. Scope: completed academic sessions with a transcript, the 28 days to the last school day.
Run by the nightly's qc step (gated like classify, NIGHTLY_QC; capped at 400 requests a night) or by hand (truthfinder/qc_protocol.py,
then the approval-gated qc_runner.py).
coach_rank(dashboard/data/private/coach_rank.json, signed-in edition only: it names coaches):ranked[]andtoo_few[](under 8 scored sessions, not ranked), each withcoach,rank,score(share of pass over pass + fail across the five questions; not_applicable and unclear left out),questions(the same share per question),sessions_scored,unclear,not_applicable,better_afterandjudged(§7's better after coaching for the coach's sessions in the window;outcome_thin= 1 under 30 judged),dri,availableandavailability_fails(the coming 5 school days in OpenCal, open plus booked: 30 h and 8–12 Central every day; subject DRIs at least 1 h every day within 9–11; off-hours coaches exempt from 8–12; NULL where the platform key isn't present, with the reason inavailability_source). Pluswindow,prompt_version,model,questionsandcaveat.- Read it as: how often a coach's sessions follow the protocol, not whether students learn: better after coaching sits beside it, and
per coach it is too thin to rank on (≤22 judged sessions in 4 weeks). Who is a DRI or an off-hours coach comes from a local file that is
never published. The AI's answers were checked once (42 of 44 agreed, 10 sessions);
docs/qc-handcheck.mdholds the next sample.
10.7 Dashboard datasets (truthfinder/data/dashboard/*.json)
Counts only, written nightly by truthfinder/dashboard_export.py from §§10.1–10.5, in the scope of §0. Shares are 0–1; weeks are Mondays
(week); partial = 1 on a week that hasn't ended. Each figure's predicate is the definition in §§4–7 and §10.2. Genesis: every dataset field
is computed, none copied; each field's rule is given below.
headlines— one row per headline, in page order (metric: completed · unblocked · independence · next_day; the page labels them Completed sessions a day · Better after coaching · Needed fewer sessions · Next-day coaching):label,value(now),previous(the period before),change(value − previous),direction(up · down · flat · none = no earlier period),good(whether the change is good; NULL when flat, none or thin),thin(1 when either period's sample is too small to read a change),periodandprevious_period(in words),period_shortandversus(the tile's fourth line, as shown),nandprevious_n(the sample behind each),unit(per day · share),sub(independence only: average completed academic sessions per coached student in the last 20 school days). When there is no earlier period (direction= none):previous,change,previous_periodandprevious_nare NULL andno_previous_reasonsays why; the tile reads "Change shown from next week". completed and next_day use this week so far (ruling 2026-10-21): the week of the last school day whose sessions are all in, completed divided by the school days elapsed (so a Tuesday build reads Monday only, a Wednesday build Monday–Tuesday), against the full week before;periodends "so far (N school days)". On a Monday morning the week is last week, now complete. Early in a week the value rests on one or two days: readn.sessions_weekly— per week:booked(every session dated in the week up to today, any ending, today's still-upcoming ones included),completed,no_show(incl. unconfirmed),coach_no_show,cancelled,late_cancellation,couldnt_run,short,unmarked,no_show_rate(§4),share_from_meet(share of the week's endings decided by Meet).noshow_next—previous(After a no-show · After attending),next_sessions,next_no_show,next_no_show_rate: how often a student's next session is a no-show, by what happened at the one before.wait_weekly— per week, academic sessions with a trusted booking time:sessions,median_wait_school_days,share_over_one_day.- Weekly tables and share-by-week charts show only weeks with at least 30 sessions (or students) behind them (
MIN_WEEK). session_rows— the session-level drill-down (2026-10-09): one row per session behind the page's clickable categories (every session held by today, plus academic sessions already booked with a trusted booking time). Shareable by design: no student or coach name, email, id or coach key, no DS text, no transcript. Fields:k(random key, new each export),w(Monday of the session date),d(date),t(type, as labelled: Academic · Post-test · Pre-test · Not academic),s(subject),g(grade, K = kindergarten, −1 = pre-kindergarten),c(TimeBack course, or subject and grade when unknown; completed academic only),e(final ending; unconfirmed no-shows count asno_show),f/u(finding and detailed reason, as labelled on the page),v(the classifier's one-sentence, name-free reason; re-checked against every known name word, else "evidence withheld"),o/ow(outcome result and its week),wt(wait in school days, trusted booking times only),rq/rqw(Next-day coaching outcome and the booking's week;rqis one of: "Session by the next school day · coached", "· no-show", "· cancelled", "· together under 5 minutes", "· couldn't run or coach absent", "· not yet held", "Waited 2–5 school days", "Waited longer"; NULL when the session isn't a trusted-booking academic request).vis set only on completed academic sessions with one of the four findings (NULL on couldn't run and unclear). Each category on the page filters these rows with the same predicate as its figure, so the counts agree.reach_outcomes— per judged day andoutcome, students at in-reach schools only (from the ledger'scoached_next_day_what):order0 Completed a session · 1 No-show · 2 Coach no-show · 3 Couldn't run · 4 Together under 5 minutes · 5 Not yet marked · 6 Cancelled · 7 Booked for a later day · 8 No session at all;coached1 only for Completed a session;students.reach_by_group— per schoolgroup(Alpha physical campus · other private physical school · public or partner school · virtual program) over the Reach section's window, the last five judged days (first_day–last_day);reach_outcomeslists every judged day:in_headline(1 for Alpha physical campus and other private physical school, 0 for the comparison rows),started,coached,coached_rate,first_day,last_day,order. These are the only datasets that use the school list.outcome_weekly·outcome_by_subject— counts perresult(§10.4), one row per week or subject that has at least one judged session (a subject or week whose final results are all already passing has no rate and no row, soalready_passingsummed over the rows can be lower than in/outcomes; on 2026-10-19 every subject has a row and the sums agree) andjudged(the rate's denominator: unblocked + unblocked_still_unproductive + not_unblocked; already passing, too little work and not yet are left out),unblocked_rate(= Better after coaching: (unblocked + unblocked_still_unproductive) ÷judged; the field keeps its older name);outcome_excluded— the non-results (too little work, not yet) and theirsessions.pace_weekly·pace_by_subject— pace-judgeablesessions,median_change_pct,share_faster(share with fewer minutes per XP after).blockers_weekly— per week,blockerand its displayfinding,sessions(the four findings only).- What the coach found — display labels (page wording for the four findings of §5): Not using the app correctly = app guidance failure · Content or placement problem = curriculum failure · Not engaged = motivation failure · Didn't need coaching = no coaching need. Subcategories are shown in plain words (e.g. "Not going back to the material" = not referencing the material). Owners as in §5.
finding_summary— per finding:order,sessions(completed academic sessions with that finding),share(of all sessions with one of the four findings),judgedandbetter_rate(Better after coaching for its judged sessions),owner(§5's owner, as worded on the page).finding_subcategories— per finding andsubcategory:sessions,sharewithin the finding.finding_subjects— per finding andsubject:sessions,sharewithin the finding (where that finding's sessions are).subject_findings— per subject and finding:sessions,sharewithin the subject (what is found in that subject's sessions).finding_courses·finding_subject_grades— per finding, the top 10 by sessions:course(withkindcourse · subject_grade) orsubject_grade,sessions,sharewithin the finding's sessions that have one. A session's course is defined in §10.4.finding_excluded— the footnote counts behind those views (what,sessions): sessions with no detailed reason; with neither a course nor a grade; shown by subject and grade because the course is unknown; with a course; with a finding; with no grade. Couldn't run and unclear are not findings (§5) and are in none of these views.dependence_weekly— per week (week, its Monday;end, the window's last day;partial1 on the current week):students_both(returning students),down,flat,upand theirshare_*,avg_change,coached_students,completed_in_window,avg_sessions_per_student,heavy_users,heavy_share_of_sessions.heavy_users_profile— the current heavy users bydimension(blocker · subject · Academic Support category · outcome),item,count,unit,order.- Growing dependence: for each student with completed academic coaching in both of the last two windows of 20 school days, sessions in the later window minus the earlier; shown as the share whose sessions went down (higher is better), with the average sessions per coached student. Heavy users are excluded from the share.
- Heavy users: students with five or more completed academic sessions in the last 20 school days.
- Coached by the next school day (the measure of the dashboard's Reach section): of the student-subjects at physical private schools (
in_reach_school= 1) whose unproductive-time episode started on a judged day, the share with a COMPLETED academic session in that subject by the end of the next school day (coached_next_day, §10.2). Not the same as the ledger's category 1, whose "not reached" means no session was OFFERED at all. Shown in the Reach section under Next-day coaching as the bigger picture, not as a headline. requests_weekly— Next-day coaching (§2) perweek:partial,requests,got(scheduled by the next school day),rate,median_wait_school_days,no_slot(attempts that found no slot).requests_outcomes— perweekandoutcome(inorder):requests,got.requests_by_group— per schoolgroup(Alpha campuses · Other private schools · Public and partner schools · Virtual programs · Other or unknown; coarser thanreach_by_group's groups, and every school) over the last four weeks shown (first_week–last_week):requests,got,rate. All schools; the school list's Reach flag is not applied.
10.8 The two served editions of the dashboard (ruling 2026-10-09)
deploy/build-origin.sh (run by the nightly's origin step) writes two folders:
dist/origin/coaching/— counts only, safe to serve anywhere: the page, the datasets of §10.7 and the skill's documents. The session drill-down (session_rows) carries no name, id, coach key, DS text or transcript; its row keys are random per export.dist/origin/coaching-private/— the signed-in edition, to be served only behind Alpha sign-in (alpha.school Google accounts), at insights.alpha.school/coaching/. It addsdata/private/fromtruthfinder/dashboard_private.py:rowmap.json(row key → session id, valid for that export only),sessions_detail.json(per session: student name and TimeBack id, campus, grade, coach, platform session id, tracker row, DS id, times, ending and its source, Meet minutes, booking and wait, finding, the full DS record, links to the DS sheet, the recording (tracker's Drive link), the Meet transcript document and the student's continuity page, QC output where the session was QC'd, the outcome),students.json(name → sessions, for the search) andtranscripts/<n>.json(the Meet transcript with speaker names, loaded when a session is opened).private.jsadds student and coach columns, "Open" and the student search;#session-<session id>opens a session directly.coaches.htmlis the coach quality page (§10.6b,data/private/coach_rank.json), linked from the signed-in page's top bar; the build refuses to put either in the counts-only folder. Neither folder goes into the published repository; the claude.ai dashboard stays counts-only.
10.9 Platform store (datasources/coaching_platform/data/platform.sqlite)
Pulled by datasources/coaching_platform/pull_sessions.py from the coaching platform (each metric fetched once per nightly run). Not
shipped with the pack: rows holds student and coach names (§12); no_slot holds none but is only read through the dashboard's request
datasets (requests_*, column no_slot), which is how a pack reader recomputes Next-day coaching's no-slot attempts.
rows— one row per metric and session — copied:metric(bookings.scheduled · attendance.completed · attendance.no_shows · attendance.cancellations · attendance.late_cancellations) ·session_id·scheduled_at·created_at(booking time; trusted only for OpenCal and single-synced Calendly bookings, §10.1booked_at_trusted) ·call_type·subject·grade·campus·coach·student·student_id(TimeBack id) ·source_system·booking_source. A session appears once per metric it belongs to.no_slot— one row per OpenCal booking attempt that found no slot — copied:metric·stage(no coach available·slot_unavailable) ·created_at·call_type·subject(often empty) ·campus·source_system. No student id: an attempt can't be joined to a student (§2).
10.10 The production read API — the served stores (documented here because this skill's meaning is laid over it, 2026-10-15)
The production build runs this skill's nightly (§17) and serves its stores through a read API. Base URL and key are issued per person
(header x-api-key; stage prod); GET /health needs no key. Every row column is defined in §10 and every figure in §10.7; this section
defines only the wire. A reader key reads ids and counts: no route it can call returns a name (§12); names in answers are allowed and come
from TimeBack or the platform. TimeBack admins use no key: the same routes under /timeback (<base>/timeback/sessions?…) with
their TimeBack client ID and secret, which also serve the routes that name people (row GET /timeback/{route} below).
| route | parameters | returns |
|---|---|---|
GET /health | — | status, db.write, db.read (reachability of the database's write and read hosts; no data) |
GET /runs | — | runs[], newest first, one per load: run_id (the load's sequence number; the same night is loaded again after the day's Academic Support ledger arrives, and every route serves the newest load), as_of (the night's day), source_commit (the commit of the reference implementation the nightly ran), full_run_at (the last full rebuild of every store), last_run_at (the last run of any kind, which can be a few steps), steps ({name: {result, at}}, each nightly step's latest result and time; NULL on loads before 2026-10-15), generated_at (when the dashboard files were written), loaded_at (UTC, Z), counts (rows loaded per store; besides the reader's stores it counts people, details and transcripts, the signed-in dashboard's stores, §10.8, which a reader key can't read; datasets counts the dataset files loaded, the manifest's files plus manifest and outcome_matched; details is one per session_rows row, the drill-down's sessions from the dashboard's start, so it is lower than sessions). full_run_at, last_run_at, steps.*.at and generated_at are the build machine's local time, served without a zone |
GET /run | — | the newest entry of /runs |
GET /headlines | — | as_of and rows[]: the four headlines with every field of §10.7 headlines |
GET /datasets/{name}?limit=&cursor= | name: a §10.7 dataset (headlines, sessions_weekly, session_rows, …), manifest (as_of, generated_at, files: the night's dataset list) or outcome_matched (the matched comparison, §10.5); limit 1–10000 (default 5000) | name, and a list dataset as rows[], total, next_cursor; manifest and outcome_matched as body (one object, as written) |
GET /sessions?from=&to=&limit=&cursor= | from, to: US Central session days, both inclusive, each optional (open when omitted); limit 1–2000 (default 1000); rows ordered by session_date, then session_id | rows[] (§10.1, one per booked session, future days included), total, next_cursor, from, to. Every §10.1 column except student_name, ds_id and recording_id (they name a person or point at a document that does, §12). blocker_evidence is the dashboard export's name-checked sentence (§10.7 session_rows.v: "evidence withheld" where a word of a known name matched), never the store's raw value; set at most where the drill-down shows a finding (a completed academic session with one of the four findings; a few such sessions have none, see §10.1), NULL elsewhere (couldn't run, unclear, other session types, sessions outside the drill-down) |
GET /ledger?day= | day (required): a ledger day | day and rows[]: every §10.2 row of that day, every column (student_key is the TimeBack id, or unmatched:<session_id>) |
GET /outcomes?from=&to=&limit=&cursor= | as /sessions, on the session's day | rows[] (§10.4, one per completed academic session with a student id), total, next_cursor, from, to |
GET /skill | key required | 302 to the front door. The public front door, no key, is https://insights.alpha.school/skill/coaching/skill.json |
GET /timeback/{route} | any route above (/people and /sessions/{id} included) and its parameters; header Authorization: Basic base64(client_id:client_secret) of TimeBack credentials (the API gets the TimeBack token with client_credentials and refreshes it) or Authorization: Bearer <TimeBack access token> (the caller refreshes it) | the route's own response, as with a key. The token must be TimeBack's (pool us-east-1_3uhuoRM3R), unexpired, with the admin scope https://purl.imsglobal.org/spec/or/v1p1/scope/admin. 401 when the token has expired (get a new one), TimeBack rejects the client ID and secret, or the token isn't TimeBack's; 403 when the credentials lack admin access; 404 for a route not above. Every login (a new TimeBack token), call and refusal is recorded with the client ID |
POST /feedback · GET /feedback?source=coaching&state= · GET /feedback/{number} | on the feedback wire's own base (skill.json feedback); no key; POST body {title, body, reporter, kind?, source: "coaching"} | the tracker every data source skill shares, each report naming its skill: POST → 201 {number, url} (422 when the text carries an email address or a student's name; a resend within a day → 200 with the first report; 429 past 100 reports a day across every skill); GET → {number, source, title, state, kind, reporter, createdAt, closedAt, resolution, url}, newest first; ?source= defaults to academic-support, so a coaching reader always passes source=coaching |
Every response but /health, /runs, /run and /skill carries as_of, the night it was read from. Paging: a list answers total and
next_cursor; pass cursor=<next_cursor> with the same parameters until it is null (the cursor is opaque). Errors are
{error, details?}: 400 for a malformed parameter (a date not YYYY-MM-DD, limit out of range, a bad cursor, /ledger without day);
403 {"message":"Forbidden"} from the gateway without a valid key, and 403 {"message":"Missing Authentication Token"} for a route that
doesn't exist; 403 This route is only for the coaching dashboard on the two routes that name people, /people and /sessions/{id}
(the signed-in dashboard's and TimeBack admins', not a key reader's); 404 for an unknown dataset; 503 No coaching night is loaded yet before the first load.
One night at a time. Each load replaces every served store with the newest night, and the nightly rebuilds the whole year every night
(§17), so the latest night holds every day; earlier nights are kept only as their /runs entry. session_rows.k is random per export:
never keep a row key across nights. Not served: names, emails, DS text and transcripts (§12), except to TimeBack admins through
/timeback/people and /timeback/sessions/{id}; the Meet store (§10.3; each session's Meet
minutes, meet_ending and ending_source are on /sessions); QC (§10.6, a 39-session prototype); the platform store (§10.9; its no-slot
attempts are counted in the requests_* datasets); the lesson store (§10.4, TimeBack's — the TimeBack skill serves it). Stores to
routes: §10.1 → /sessions · §10.2 → /ledger · §10.4 → /outcomes · §10.5 → /datasets/outcome_matched · §10.7 → /headlines and
/datasets/{name} · nightly_status.json (§17) → /runs.
11. Join keys (stated once)
- Session ↔ student: the platform's
studentId(exact); without one, the student's name against the Academic Support ledger's students (exact full name, then first and last name, each only when it names one student). - Tracker row ↔ platform session: same student name and US Central day, in the tiers of
join_method. - Session ↔ DS ↔ recording: the tracker row's links. Session ↔ Meet: §10.3. Session ↔ outcome:
session_id. - Ledger ↔ Academic Support ledger:
student_id,subject,day. Outcome ↔ TimeBack:student_id, subject, lesson dates.
12. Person-bearing columns
Student names (student_name, the DS, platform rows, Meet display_name), student and coach emails (coach_email, Meet user_id),
recordings and transcripts (transcript_entries.text). They leave the machine that builds the stores only for the signed-in dashboard
edition (§10.8) and TimeBack admins (/timeback, §10.10), loaded with the production API's stores behind routes a reader key can't call. Everything else (this pack's
documents, the claims file, the counts-only dashboard, every reader route) carries ids and counts only; AI classification receives text with names
removed. Answers may name students and coaches (ruling 2026-10-23: readers already see student names in TimeBack): resolve a student id
through TimeBack and a coach through the coaching platform. What stays as it is: names are not shipped in the pack or served on reader routes. The shipped pack holds no stores, so these columns are defined in §10 but have no values in the pack. They are served in two
places only: the signed-in dashboard edition (§10.8), behind Alpha sign-in, and the /timeback routes, to someone with TimeBack admin access.
13. Expected invariants
session_idis unique insessions; (student_key,subject,day) is unique inledger.ending_finalis never NULL;ending_source= meet only wheremeet_endingis set (a meeting can be found and still leave the platform's ending standing, e.g. a cancellation with only the coach in the room).wait_school_daysis NULL wheneverbooked_at_trusted= 0.- In
outcomes,judgeable= 1 for every unblocked, unblocked_still_unproductive, not_unblocked and already_passing row. ledger.not_unblocked= 1 only where the session'sresult= not_unblocked.- No
ledgerrow firesneeded_coaching_not_reachedfor FastMath or Vocabulary. - No store holds a day before 2026-08-12;
ledger.dayis never after today; asessionsrow dated after today hasending_finalupcoming, cancelled or late_cancellation. blockeris NULL on every session whoseending_finalis not completed or couldnt_run.- A
meet_conferenceshared by several sessions is shared only by sessions that each found their own student in it. subjectis one of the eight subjects or NULL;session_typeis never proctoring.- Outcome minutes are never negative.
14. Known traps
Traps 1–3 concern the coaching platform's own API, which only the maintainer's build calls; an API reader never meets them.
- A bad or mistyped coaching-platform key never gets a 401: the server treats the caller as anonymous and lists only
whoami. - Platform filters must be arrays, even for one value;
coachandguidefilters take user ids, not names. - Monthly percentile queries on the platform (lead time) return HTTP 500; use weekly.
- "Student Joined" and the platform's "completed" lag until the coach marks the session; the last few days read low.
- The tracker's "Blocker" column holds the dropdown; "Blocker Reason" is almost always blank. The description lives in the DS.
- "None" and blank are different in the dropdown: "None" is a choice, blank a missing record.
- Coaches who never finish their DS make completed sessions look like no-shows on the tracker.
- Meet starts mid-afternoon on 2026-09-08. The first stored Meet record is 19:29 UTC that day, so sessions earlier on Sep 8 show
"platform (no meeting found)" rather than "(before Meet records)" (§4). Measure:
select ending_source, count(*) from sessions where session_date='2026-09-08' group by 1. - Recording links in the tracker and the platform's recording count are not reconciled.
- Calls moved from Calendly to OpenCal count once; tracker-only calls have no booking time.
- Some DS links point to deleted sheets; the "Inventory" tab on post-test DS holds knowledge-gap rows, not session fields.
- Local transcription invents repeated lines during silences; Meet transcripts don't.
- Booking time. The platform's
createdAtis a booking time only for OpenCal and one-at-a-time Calendly bookings. Measure:select source_system, sum(booked_at_trusted), count(*) from sessions group by 1. - Cancelled sessions are in the platform's cancellations but not in its scheduled sessions: the session list is the union of the metrics.
- Unmarked sessions are coach no-shows or sessions nobody marked; Meet settles them where a meeting exists. Nothing splits the
rest, so the coach no-show count is a floor, and no ceiling can be computed: some past
unmarkedsessions are coach no-shows, and an unknown number of sessions with no meeting found are too (rooms the store can't see), while most of those were completed or cancelled. Note the asymmetry: a coach no-show needs only the student in the room, for any time, while a student no-show needs the coach there 5+ minutes of the slot (§4). Measure:select ending_source, count(*) from sessions where ending_recorded='unmarked' group by 1andselect count(*) from sessions where ending_final='unmarked'. - Off-hours sessions are partly students in Europe, Asia and Oceania in their own school day.
- The platform overstates no-shows. Sessions it marks no-show that Meet shows completed:
select count(*) from sessions where ending_recorded='no_show' and ending_final='completed'. Useending_final, neverending_recorded. - Meet keeps conference records about 30 days. Sessions before the first stored record (2026-09-08) keep the platform's ending.
- Meet shows only meetings the coach organized: a session in someone else's room or on Zoom is
no_meeting_found. - Too little work. About four in ten completed sessions can't be judged by the outcome:
select result, count(*) from outcomes group by 1. - Already passing is common in Math (100% first tries before and after); leaving it out of the rate is a ruling, not a default.
- School holidays are not removed from "school days"; a window spanning a holiday is a day shorter in real school time.
- TimeBack minutes and XP have source errors. Negative and impossibly large minutes (Math Academy) and negative XP (Math Academy
deducts XP for failed reviews; Manual XP Assign removals). Measure:
select app, sum(minutes<0), sum(minutes>480), sum(xp<0) from pace_days group by 1intruthfinder/data/lessons.sqlite. The outcome's cleaning rule is in §10.4. - Coaches double-book a slot. Two sessions with the same coach and start time happen; only one of them can use the coach's meeting
(§10.3), the other keeps
ending_recorded. - The capacity settings changed on 2026-10-15 (§3: 25-minute sessions, 30-minute grid, daily cap 12, 14-day window, 5-minute
notice). Completed sessions, open slots and waits before and after that date are not comparable as demand. Measure the change, not
the level:
select strftime('%Y-%W', session_date) w, sum(ending_final='completed') from sessions group by 1. - Coach findings stop around 2026-10-05. Coaches moved their notes from the DS to the platform's post-call form; until the platform's
note text is read,
blocker,blocker_subandblocker_evidenceare NULL after about 2026-10-04, and every finding share covers only earlier weeks. The same descriptions are the only source of couldn't run (§4), so no session endscouldnt_runafter 2026-10-02 (21 in the week of Sep 28, 0 since): those sessions now count as completed, which raises completed sessions a day and the no-show rate's denominator slightly, and the ledger's couldn't-run category can't fire. Measure:select strftime('%Y-%W', session_date) w, sum(ending_final='completed' and session_type='academic'), sum(blocker is not null), sum(ending_final='couldnt_run') from sessions where session_date >= '2026-09-14' group by 1. Through the API:/sessionsrows by week, countingblockerset andending_final= couldnt_run;sessions_weekly.couldnt_run. The ledger's category 8 (blocker) is NULL on the same days for the same reason.steps.classifystill reportsok: the step ran and had nothing to read. unblocked_rateis Better after coaching, the older name kept: (unblocked + unblocked_still_unproductive) ÷judged. There is no rate for the resultunblockedalone, and "sessions with a final result" (which include already passing) is not its denominator.- "Reached" means offered in the ledger and coached in the Reach section (§10.2 category 1 vs §10.7 Reach). Say which, every time.
15. Open questions
- The lesson the student is stuck on: decided (2026-10-15) that the student picks it when booking, keyed by app and lesson name; not yet built, so no store column holds it.
- Coach feedback from QC: decided (2026-10-15) that coaches see it on their session page and can request a human review by the head of coaching; not yet built.
- The no-show policy (warning, then 2-week and 1-month pauses on booking, counting consecutive no-shows from the final Meet record) and the 2-booking limit: decided, not yet built; no store holds strikes or pauses.
- Whether school holidays come from a school calendar source.
- Why production serves a few sessions with a finding and no
blocker_evidence(4 on the 2026-10-19 night) when the reference build has none.
16. Provenance
Rewritten 2026-10-09 from the code that builds each store, the brainlift's rulings, and the head of coaching's two reviews. Dated
measurements are in datasource/claims.json (re-run: python datasource/checks.py claims). Problems found by a reader go in
docs/data_requests.md. Two editions ship. The reader pack (the installed skill, from the front door) carries this file,
ENABLEMENT.md, SKILL.md, skill.json, BRAINLIFT.md, docs/data_requests.md and datasource/ (checks.py, claims.json,
smoke.py, and conformance.py, which compares the API's /ledger day or /outcomes range with a reference build row by row).
The repository adds the code that builds every store (datasources/, truthfinder/, dashboard/, deploy/) and its documents
(API.md, DASHBOARD.md). Neither carries the stores or the maintainer's other working notes (docs/: the revision log, cold-agent
runs). checks.py probe and a rebuild need the maintainer's credentials and two person-bearing local files
(datasources/meet/data/coach_emails.json, coach_active.json), so a reader can read those steps but not run them.
17. Freshness
Which time to quote. Every day in the stores is a US Central date (§2), whatever the build machine's clock. In production the
nightly runs at 04:30 on the build machine (UTC−3; /runs serves its times without a zone) and is loaded into the API after it, and again after the day's Academic Support ledger arrives (the ledger and dashboard steps
re-run then). Quote as_of (the night) and, for a store, the at of the step that builds it (steps.<name>.at: sessions, ledger,
outcome, dashboard), which is later than full_run_at for the ledger and dashboard. last_run_steps exists only in the maintainer's
nightly_status.json, not on /runs. The rest of this section describes the build itself (the maintainer's reference machine runs the
same nightly at 02:30 US Central, for conformance).
The nightly refresh (truthfinder/nightly.py) rebuilds everything in this order: coach list ·
platform sessions (last 21 days to 14 ahead re-read) · DS (new, plus the last 7 days) · Meet (last 3 days, active coaches) · sessions and
final endings (whole year) · Academic Support ledger days and the failure-category ledger · blocker classification of new DS · lesson
results and the outcome (new students in full, everyone else the last 7 days) and the matched comparison · the dashboard datasets · the
two served dashboard folders (§10.8) · the checks (drift, spec and claims; datasource/checks.py). Classification calls the Claude API
only in the scheduled run, with names removed, a leftover-name check and a cap of 300 a night (NIGHTLY_CLASSIFY). Production (the build
behind the read API, §10.10) classifies; the maintainer's machine has run as the reference only since 2026-10-16, with classification off.
Run by hand, the step only lists what is waiting. truthfinder/data/nightly_status.json holds full_run_at (the last run of every step),
last_run_at and last_run_steps (the last run of any kind, which can be a few steps run by hand) and, per step, steps.<name>.result
and steps.<name>.at (that step's own last run). A store is as fresh as the at of the step that builds it (sessions, ledger, outcome,
dashboard), which can be later than full_run_at; quote that at. The claims inside steps.checks are as of its own at;
datasource/claims.json holds the latest claims run.