commit eccdf82b4ae728bf70aa0cf8287b3763a7813ff5
parent 1bd66d03765b78765b74c60762714af96b8400c0
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Thu, 5 Nov 2026 23:43:39 -0500
umtool: the promise clock draws a second speaker's claims and the promise's outcome
CONTRACT addenda (6 Nov: MadamSavvy, and promise outcomes). When a promise in
the measure slice carries `claims[]` -- another speaker's word on it, a
`promise_claim` row -- the clock names the counterparty under its header,
"PAID 24 OCT BY @MadamSavvy" (`claimVerb`; her `paidOn`, else the claim's
date), with her picture from the manifest's postAvatars when it has one (the
handle from `promise.speakers.<k>.handle`, else the postAvatars key; copied in
beside the page), else a monogram; her words flash under the clock in her ink
(`claimColor`, or `speakers.<k>.color`), his in amber, and an outcome's words
as what she "reads". `outcome`: `refunded` slams on a stamp "REFUNDED · by
31 Oct · no video" while the days keep counting to the render date,
`withdrawn` the same in grey, `kept` turns the clock green ("POSTED") and
stops the count on the day it was kept (an older slice's `kept: true` reads
as kept). The card is as tall as what it says, hung from its anchor's edge.
The test fixture gains two SYNTHETIC rows (marked `synthetic`, made by
make-fixture.mjs addSyntheticPromiseRows): a madamsavvy claim on 24 Oct
("I bought the 5 bags — where's the scale video?") and a refunded outcome on
31 Oct; play-measure-fixture gains the claim and its spec checks it.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
11 files changed, 301 insertions(+), 93 deletions(-)
diff --git a/umtool/docs/knobs.md b/umtool/docs/knobs.md
@@ -1773,7 +1773,7 @@ The full reference is [The finale](#the-finale-the-timeline-in-primary-view). It
### Promise clock
-A days-since counter for a promise (`render.chrome.deck.promise`, measure-extras.mjs), from the promise's event on: "SCALE VIDEO OFFERED 23 OCT", the days from the day he said it to the in-record date of the latest event on screen, and "NONE POSTED" in red until a row says it was kept ("POSTED", green). Each promise check's words come in under it with a flash (`checks`: the row's `label`, or its transcript `quote`). From the finale's start -- else 4 s after the last event -- the days count on, a day a step, to `measure.asOfRender`. Laid over the finale (z 95) unless `finale: "hide"`.
+A days-since counter for a promise (`render.chrome.deck.promise`, measure-extras.mjs), from the promise's event on: "SCALE VIDEO OFFERED 23 OCT", the days from the day he said it to the in-record date of the latest event on screen, and "NONE POSTED" in red until a row says it was kept ("POSTED", green). Each promise check's words come in under it with a flash (`checks`: the row's `label`, or its transcript `quote`). From the finale's start -- else 4 s after the last event -- the days count on, a day a step, to `measure.asOfRender`. Another party on the promise (CONTRACT addendum: a ledger row with a `speaker`, a `promise_claim`) shows under the header -- "PAID 23 OCT BY @MadamSavvy" (`claimVerb`, her `paidOn` else the claim's date), with her picture from the manifest's `postAvatars` (`umtool posts avatar`; else a monogram) -- and her words flash under the clock in her ink (`claimColor`, or `speakers.<k>.color`), his in amber. An outcome (`promise_outcome`) is drawn too: `refunded` slams on a stamp "REFUNDED · by 31 Oct · no video" while the days keep counting to the render date, `withdrawn` likewise in grey, `kept` turns it green ("POSTED") and stops the count on the day. Laid over the finale (z 95) unless `finale: "hide"`.
| Knob | Range · default | From a terminal |
|---|---|---|
@@ -1781,5 +1781,6 @@ A days-since counter for a promise (`render.chrome.deck.promise`, measure-extras
| `deck.promise.position`, `.x`/`.y`, `.scale` | an anchor in the footage box · design px · 0.5–2 · default `top-center`, unset, 1 | `umtool look <p> deck.promise.position=bottom-center` |
| `deck.promise.hold`, `.finale` | null (stays up) or 2–600 s · `hide` `show` · default null, `show` | `umtool look <p> deck.promise.finale=hide` |
| `deck.promise.label`, `.verb`, `.kept`, `.broken`, `.checks` | ≤40 each · `label` `quote` · default the row's display, "offered", "Posted", "None posted", `label` | `umtool look <p> deck.promise.label='scale video'` |
+| `deck.promise.speakers`, `.claimVerb`, `.claimColor` | `{<speaker>: {handle, color}}` · ≤40 · #hex · default `{}` (the postAvatars handle), "paid", #E37AB8 | `umtool look <p> deck.promise.speakers='{"madamsavvy":{"handle":"MadamSavvy"}}'` |
<!-- modules:end -->
diff --git a/umtool/e2e/fixtures/measure-extras-fixture.mjs b/umtool/e2e/fixtures/measure-extras-fixture.mjs
@@ -11,6 +11,7 @@
// c01 +0.2 diet keto #1 c01 +0.4 goal "lose 100"
// c02 +0.2 remembered ≈390 c02 +0.4 goal "lose 100" again (×2) c02 +0.6 remembered 365.7
// c03 +0.2 diet carnivore #2 c03 +0.4 promise "scale video", said 23 Oct
+// c03 +0.6 SYNTHETIC claim by madamsavvy (24 Oct: "I bought the 5 bags — where's the scale video?")
// c04 +0.2 goal "lose 65" by Christmas (226.5) c04 +0.4 check "just pull up a video …" (3 Nov)
//
// Synthetic, like every fixture.
@@ -35,12 +36,14 @@ export function measureFor(segments) {
ev({ t: at("c02", 0.6), row: "w04", segment: "c02", date: "2026-08-02", kind: "remembered", value: 365.7, asOf: "2023-12-31", display: "365.7 lb" }),
ev({ t: at("c03", 0.2), row: "r02", segment: "c03", date: "2026-09-01", kind: "diet", display: "Carnivore", regime: "carnivore", event: "on" }),
ev({ t: at("c03", 0.4), row: "p01", segment: "c03", date: "2026-10-23", kind: "promise", display: "scale video", label: "I'll post a video of the scale", source: "post" }),
+ ev({ t: at("c03", 0.6), row: "SYNTH-c01", segment: "c03", date: "2026-10-24", kind: "promiseClaim", display: "paid for it", label: "I bought the 5 bags — where's the scale video?", promise: "p01", speaker: "madamsavvy", source: "post", synthetic: true }),
ev({ t: at("c04", 0.2), row: "w05", segment: "c04", date: "2026-10-26", kind: "goalLoss", value: -65, display: "lose 65", deadline: "by Christmas" }),
ev({ t: at("c04", 0.4), row: "p02", segment: "c04", date: "2026-11-03", kind: "promiseCheck", display: "brush-off", label: "\"just pull up a video from three months ago\"", promise: "p01" }),
];
const keto = { regime: "keto", display: "Keto", row: "r01", n: 1 };
const carn = { regime: "carnivore", display: "Carnivore", row: "r02", n: 2 };
- const prom = (checks) => [{ row: "p01", said: "2026-10-23", what: "post a video of the scale", due: null, kept: false, checks }];
+ const claim = { row: "SYNTH-c01", speaker: "madamsavvy", date: "2026-10-24", label: "I bought the 5 bags — where's the scale video?", synthetic: true };
+ const prom = (checks, claims = [claim]) => [{ row: "p01", said: "2026-10-23", what: "post a video of the scale", due: null, kept: false, checks, claims, outcome: null }];
const base = { current: null, remembered: [], lost: { total: 0, runs: [] }, net: { from: null, to: null } };
const st = (i, o) => ({ ...base, t: events[i].t, goal: null, goals: [], diet: null, promises: [], ...o });
const g100 = { value: null, loss: 100, deadline: null, row: "w01" };
@@ -52,9 +55,10 @@ export function measureFor(segments) {
st(3, { diet: keto, goal: { ...g100, row: "w03" }, goals: ["w01", "w03"] }),
st(4, { diet: keto, goal: { ...g100, row: "w03" }, goals: ["w01", "w03"] }),
st(5, { diet: carn, goal: { ...g100, row: "w03" }, goals: ["w01", "w03"] }),
- st(6, { diet: carn, goal: { ...g100, row: "w03" }, goals: ["w01", "w03"], promises: prom([]) }),
- st(7, { diet: carn, goal: { value: 226.5, loss: 65, deadline: "by Christmas", row: "w05" }, goals: ["w01", "w03", "w05"], promises: prom([]) }),
- st(8, { diet: carn, goal: { value: 226.5, loss: 65, deadline: "by Christmas", row: "w05" }, goals: ["w01", "w03", "w05"], promises: prom(["p02"]) }),
+ st(6, { diet: carn, goal: { ...g100, row: "w03" }, goals: ["w01", "w03"], promises: prom([], []) }),
+ st(7, { diet: carn, goal: { ...g100, row: "w03" }, goals: ["w01", "w03"], promises: prom([]) }),
+ st(8, { diet: carn, goal: { value: 226.5, loss: 65, deadline: "by Christmas", row: "w05" }, goals: ["w01", "w03", "w05"], promises: prom([]) }),
+ st(9, { diet: carn, goal: { value: 226.5, loss: 65, deadline: "by Christmas", row: "w05" }, goals: ["w01", "w03", "w05"], promises: prom(["p02"]) }),
];
return {
version: 1, unit: "lb", scale: { min: 220, max: 400 }, asOfRender: "2026-11-05", scopes: ["weight", "regime"],
diff --git a/umtool/e2e/play-measure.spec.ts b/umtool/e2e/play-measure.spec.ts
@@ -12,7 +12,7 @@ import * as urls from "./urls";
// Fixture: e2e/fixtures/measure-extras-fixture.mjs as play-measure-fixture --
// the Play cut with a synthetic measure slice on its segments:
// c01 keto #1, "lose 100" c02 ≈390, "lose 100" again, 365.7
-// c03 carnivore #2, the scale-video promise (23 Oct)
+// c03 carnivore #2, the scale-video promise (23 Oct), a SYNTHETIC claim by madamsavvy (24 Oct)
// c04 "lose 65" by Christmas (226.5), the check (3 Nov)
// ---------------------------------------------------------------------------
@@ -75,6 +75,8 @@ test("the goal stack, the moving start, the promise clock and the diet badge pla
expect(promise).toContain("scale video offered 23 Oct");
expect(promise).toContain("11 days");
expect(promise).toContain("None posted");
+ // Her claim (SYNTHETIC in the fixture): the counterparty under the header, a monogram for her picture.
+ expect(promise).toContain("paid 24 Oct by @madamsavvy");
expect(promise).toContain("just pull up a video from three months ago");
const diet = await shown(page, "diet");
expect(diet).toContain("Carnivore");
diff --git a/umtool/report-to-video/chrome-measure-extras.mjs b/umtool/report-to-video/chrome-measure-extras.mjs
@@ -291,7 +291,10 @@ export function peakHtml(schedule, render, opts = {}) {
// PROMISE: the days since.
// ---------------------------------------------------------------------------
-/** The promise clock's page: `{ html, items }`. */
+/** A speaker's handle as the clock writes it: `promise.speakers[k].handle`, the manifest's postAvatars key, else the key. */
+const handleOf = (speaker, cfg, opts) => String(cfg.speakers?.[speaker]?.handle ?? opts.handles?.[speaker] ?? speaker ?? "").replace(/^@/, "");
+
+/** The promise clock's page: `{ html, items }`. `opts.avatars` = `{ <speaker>: "assets/…" }`, `opts.handles` = `{ <speaker>: handle }`. */
export function promiseHtml(schedule, render, opts = {}) {
const cfg = resolveMeasureExtra("promise", render);
const states = promiseStates(schedule, render);
@@ -301,6 +304,9 @@ export function promiseHtml(schedule, render, opts = {}) {
const pal = render.palette;
const red = MEASURE_RED;
const green = pal.accent ?? "#22AB83";
+ const amber = pal.amber ?? "#E8A33F";
+ const inkOf = (speaker) => cfg.speakers?.[speaker]?.color ?? cfg.claimColor;
+ const bottom = cfg.position.startsWith("bottom") && !(Number.isFinite(cfg.x) && Number.isFinite(cfg.y));
const spans = upSpans(states.map((s) => s.at), cfg, schedule);
const items = [];
const { init, cues } = stateCues(states, spans, {
@@ -309,16 +315,26 @@ export function promiseHtml(schedule, render, opts = {}) {
const prev = states[j - 1];
st.rows.forEach((r, i) => {
const k = `s${j}.r${i}`;
- if (prev && prev.rows[i] && prev.rows[i].days !== r.days) {
+ const was = prev?.rows[i];
+ if (was && was.days !== r.days) {
init[`${k}d`] = { y: px(-14), opacity: 0.35 };
ev.push({ k: `${k}d`, at: st.at, dur: 0.18, to: { y: 0, opacity: 1 }, ease: "power2.out" });
}
- if (r.fresh) {
+ if (r.fresh && r.word) {
init[`${k}f`] = { opacity: 0.9 };
init[`${k}q`] = { x: px(18), opacity: 0 };
ev.push({ k: `${k}q`, at: st.at, dur: 0.3, to: { x: 0, opacity: 1 }, ease: "power2.out" });
ev.push({ k: `${k}f`, at: st.at + 0.15, dur: 1.4, to: { opacity: 0 }, ease: "power1.in" });
}
+ if (r.claim && !was?.claim) {
+ init[`${k}c`] = { opacity: 0, x: px(-14) };
+ ev.push({ k: `${k}c`, at: st.at, dur: 0.35, to: { opacity: 1, x: 0 }, ease: "power2.out" });
+ }
+ // An outcome that is not "kept" slams on as a stamp.
+ if (r.outcome && r.outcome.kind !== "kept" && was?.outcome?.kind !== r.outcome.kind) {
+ init[`${k}o`] = { scale: 2, rotation: -12, opacity: 0 };
+ ev.push({ k: `${k}o`, at: st.at, dur: 0.16, to: { scale: 1, rotation: -4, opacity: 1 }, ease: "power4.in" });
+ }
});
return ev;
},
@@ -327,24 +343,53 @@ export function promiseHtml(schedule, render, opts = {}) {
const rows = st.rows.map((r, i) => {
const k = `s${j}.r${i}`;
const days = r.days === 0 ? "Today" : `${r.days} day${r.days === 1 ? "" : "s"}`;
- const q = r.check
- ? `<div class="ck" data-k="${k}q"><div class="cf" data-k="${k}f"></div><span class="qm">“</span>${esc(r.check.text.replace(/^["“”]+|["“”]+$/g, ""))}<span class="qm">”</span>${r.check.date ? ` <span class="cd">· ${esc(shortDate(r.check.date))}</span>` : ""}</div>`
- : `<div class="ck none">no word on it since</div>`;
- return `<div class="row${r.kept ? " kept" : ""}"><div class="hd">${esc(r.what)} ${esc(cfg.verb)} ${esc(shortDate(r.said))}</div><div class="mid"><div class="dy" data-k="${k}d">${esc(days)}</div><div class="to">as of<br>${esc(shortDate(r.to))}</div><div class="pill">${esc(r.kept ? cfg.kept : cfg.broken)}</div></div>${q}</div>`;
+ let claim = "";
+ if (r.claim) {
+ const h = handleOf(r.claim.speaker, cfg, opts);
+ const ink = inkOf(r.claim.speaker);
+ const av = opts.avatars?.[r.claim.speaker]
+ ? `<img class="av" src="${esc(opts.avatars[r.claim.speaker])}" alt="">`
+ : `<span class="av mono" style="background:${esc(ink)}">${esc((h[0] ?? "?").toUpperCase())}</span>`;
+ const when = r.claim.paidOn ?? r.claim.date;
+ claim = `<div class="cl" data-k="${k}c">${av}<span>${esc(cfg.claimVerb)}${when ? ` ${esc(shortDate(when))}` : ""} by <b style="color:${esc(ink)}">@${esc(h)}</b></span></div>`;
+ }
+ let status;
+ const o = r.outcome;
+ if (o && o.kind !== "kept") {
+ const word = o.kind === "refunded" ? "Refunded" : "Withdrawn";
+ status = `<div class="stamp ${esc(o.kind)}" data-k="${k}o"><div class="sw">${word}</div><div class="ss">${o.date ? `by ${esc(shortDate(o.date))} · ` : ""}no video</div></div>`;
+ } else status = `<div class="pill">${esc(r.kept ? cfg.kept : cfg.broken)}</div>`;
+ let q;
+ if (r.word) {
+ const hers = !r.word.his && r.word.speaker;
+ const ink = hers ? inkOf(r.word.speaker) : amber;
+ // An outcome's words are what she reports (his refund email): "reads", not "says".
+ const who = hers ? `<b class="who" style="color:${esc(ink)}">@${esc(handleOf(r.word.speaker, cfg, opts))}</b>${r.word.outcome ? " reads" : ""} ` : "";
+ q = `<div class="ck" data-k="${k}q"><div class="cf" data-k="${k}f" style="background:${rgba(ink, 0.5)}"></div>${who}<span class="qm" style="color:${esc(ink)}">“</span>${esc(r.word.text.replace(/^["“”]+|["“”]+$/g, ""))}<span class="qm" style="color:${esc(ink)}">”</span>${r.word.date ? ` <span class="cd">· ${esc(shortDate(r.word.date))}</span>` : ""}</div>`;
+ } else q = `<div class="ck none">no word on it since</div>`;
+ return `<div class="row"><div class="hd">${esc(r.what)} ${esc(cfg.verb)} ${esc(shortDate(r.said))}</div>${claim}<div class="mid"><div class="dy" data-k="${k}d">${esc(days)}</div><div class="to">as of<br>${esc(shortDate(r.to))}</div>${status}</div>${q}</div>`;
}).join("");
- const html = `<div class="st${st.rows.some((r) => r.kept) ? " kept" : ""}" data-k="s${j}">${rows}</div>`;
+ const r0 = st.rows[0];
+ const cls = r0?.kept ? " kept" : r0?.outcome ? ` ${r0.outcome.kind}` : "";
+ const html = `<div class="st${cls}" data-k="s${j}">${rows}</div>`;
items.push({ key: `s${j}`, gate: [`s${j}`, "autoAlpha"], html });
return html;
});
const css = `
#pn { position: absolute; inset: 0; visibility: hidden; opacity: 0; }
- .st { position: absolute; inset: 0; visibility: hidden; opacity: 0; border-radius: ${px(10)}px;
+ /* The card is as tall as what it says, hung from its anchor's edge. */
+ .st { position: absolute; left: 0; right: 0; ${bottom ? "bottom: 0;" : "top: 0;"} visibility: hidden; opacity: 0; border-radius: ${px(10)}px;
background: ${rgba(pal.bg, 0.95)}; border-left: ${px(6)}px solid ${red};
box-shadow: 0 ${px(8)}px ${px(26)}px rgba(0, 0, 0, 0.45); padding: ${px(14)}px ${px(22)}px ${px(12)}px ${px(22)}px; }
.st.kept { border-left-color: ${green}; }
.row { display: flex; flex-direction: column; gap: ${px(4)}px; }
.hd { font-family: 'DeckSansBold', sans-serif; font-size: ${px(21)}px; line-height: ${px(26)}px; letter-spacing: 0.12em;
text-transform: uppercase; color: ${pal.muted}; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
+ .cl { display: flex; align-items: center; gap: ${px(10)}px; font-family: 'DeckSansBold', sans-serif; font-size: ${px(19)}px;
+ line-height: ${px(30)}px; letter-spacing: 0.1em; text-transform: uppercase; color: ${pal.fg}; white-space: nowrap; }
+ .cl b { letter-spacing: 0.02em; text-transform: none; font-size: ${px(21)}px; }
+ .av { flex: none; width: ${px(30)}px; height: ${px(30)}px; border-radius: 50%; object-fit: cover; }
+ .av.mono { display: inline-block; text-align: center; color: #fff; font-family: ${DISPLAY}; font-size: ${px(20)}px; line-height: ${px(30)}px; letter-spacing: 0; }
.mid { display: flex; align-items: center; justify-content: space-between; gap: ${px(16)}px; height: ${px(78)}px; }
.dy { font-family: ${DISPLAY}; font-size: ${px(74)}px; line-height: ${px(78)}px; color: ${pal.fg}; text-transform: uppercase;
white-space: nowrap; font-variant-numeric: tabular-nums; }
@@ -354,12 +399,19 @@ export function promiseHtml(schedule, render, opts = {}) {
font-family: 'DeckSansBold', sans-serif; font-size: ${px(23)}px; line-height: ${px(42)}px; letter-spacing: 0.1em;
text-transform: uppercase; white-space: nowrap; }
.kept .pill { background: ${green}; }
+ .stamp { flex: none; padding: ${px(2)}px ${px(14)}px ${px(4)}px; border: ${px(4)}px solid ${red}; border-radius: ${px(6)}px; color: ${red};
+ text-align: center; transform: rotate(-4deg); }
+ .stamp.withdrawn { border-color: ${pal.muted}; color: ${pal.muted}; }
+ .sw { font-family: ${DISPLAY}; font-size: ${px(34)}px; line-height: ${px(36)}px; text-transform: uppercase; letter-spacing: 0.04em; }
+ .ss { font-family: 'DeckSansBold', sans-serif; font-size: ${px(15)}px; line-height: ${px(18)}px; text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap; }
.ck { position: relative; font-size: ${px(20)}px; line-height: ${px(25)}px; color: ${pal.fg}; padding: ${px(2)}px ${px(6)}px;
margin-left: ${px(-6)}px; border-radius: ${px(4)}px;
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ck.none { color: ${pal.muted}; }
- .cf { position: absolute; inset: 0; background: ${rgba(pal.amber ?? "#E8A33F", 0.55)}; opacity: 0; border-radius: ${px(4)}px; }
- .qm { color: ${pal.amber ?? pal.muted}; font-family: 'DeckSansBold', sans-serif; }
+ .cf { position: absolute; inset: 0; opacity: 0; border-radius: ${px(4)}px; z-index: -1; }
+ .ck { isolation: isolate; }
+ .who { font-family: 'DeckSansBold', sans-serif; }
+ .qm { font-family: 'DeckSansBold', sans-serif; }
.cd { color: ${pal.muted}; white-space: nowrap; }`;
const body = `<div id="pn" data-k="pn">
${blocks.join("\n ")}
diff --git a/umtool/report-to-video/fixtures/measure-extras/make-fixture.mjs b/umtool/report-to-video/fixtures/measure-extras/make-fixture.mjs
@@ -11,35 +11,72 @@
import { readFileSync, writeFileSync } from "node:fs";
import { fileURLToPath } from "node:url";
-const src = process.argv[2];
-if (!src) {
- console.error("usage: make-fixture.mjs <measure-slice.fixture.json>");
- process.exit(2);
+// SYNTHETIC (CONTRACT addenda, 6 Nov): a second speaker's claim on the scale-video
+// promise and its outcome, so the promise clock's counterparty and refunded
+// stamp have something to draw. NOT ledger rows -- the measure-ledger lane
+// writes the real ones (her X post, her video). Each is marked `synthetic`.
+export function addSyntheticPromiseRows(slice) {
+ const claim = {
+ t: 716, row: "SYNTH-c01", segment: "s179", date: "2026-10-24", asOf: null, kind: "promiseClaim", value: null, qualifier: null,
+ display: "paid for it", label: "I bought the 5 bags — where's the scale video?", deadline: null, regime: null, event: null,
+ promise: "p01", speaker: "madamsavvy", source: "post", synthetic: true,
+ };
+ const outcome = {
+ t: 722, row: "SYNTH-o01", segment: "s180", date: "2026-10-31", asOf: null, kind: "promiseOutcome", value: null, qualifier: null,
+ display: "refunded", label: "Your refund has been processed… best of luck on your weight loss journey", deadline: null, regime: null,
+ event: null, promise: "p01", speaker: "madamsavvy", outcome: "refunded", source: "clip", synthetic: true,
+ };
+ for (const e of [claim, outcome]) {
+ const i = slice.events.findIndex((x) => x.t > e.t);
+ const at = i < 0 ? slice.events.length : i;
+ const before = slice.state[at];
+ slice.events.splice(at, 0, e);
+ slice.state.splice(at + 1, 0, { ...structuredClone(before), t: e.t });
+ }
+ slice.state = slice.state.map((s) => ({
+ ...s,
+ promises: (s.promises ?? []).map((p) => (p.row !== "p01" ? p : {
+ ...p,
+ claims: s.t >= claim.t ? [{ row: claim.row, speaker: "madamsavvy", date: claim.date, label: claim.label, synthetic: true }] : [],
+ outcome: s.t >= outcome.t ? { kind: "refunded", date: outcome.date, row: outcome.row, synthetic: true } : null,
+ })),
+ }));
+ return slice;
}
-const m = JSON.parse(readFileSync(src, "utf8"));
-const KINDS = new Set(["goal", "goalLoss", "remembered", "promise", "promiseCheck"]);
-const EVENT_KEYS = ["t", "row", "segment", "date", "asOf", "kind", "value", "qualifier", "display", "label", "deadline", "regime", "event", "promise", "source"];
-const STATE_KEYS = ["t", "goal", "goals", "diet", "promises"];
-const pick = (o, keys) => Object.fromEntries(keys.filter((k) => o[k] !== undefined).map((k) => [k, o[k]]));
-const events = [];
-const state = [pick(m.state[0], STATE_KEYS)];
-let dietKey = null;
-m.events.forEach((e, i) => {
- const s = m.state[i + 1];
- const d = s?.diet ? `${s.diet.regime}|${s.diet.n}|${s.diet.display}` : "none";
- const keep = KINDS.has(e.kind) || (e.kind === "diet" && d !== dietKey);
- dietKey = d;
- if (!keep) return;
- events.push({ ...pick(e, EVENT_KEYS), ...(e.kind === "promise" || e.kind === "promiseCheck" ? { quote: e.quote } : {}) });
- state.push(pick(s, STATE_KEYS));
-});
-const out = {
- version: m.version, unit: m.unit, scale: m.scale, asOfRender: m.asOfRender, scopes: m.scopes,
- events, hidden: [], state,
- totals: pick(m.totals, ["goals", "goalRepeats", "diets", "peakDrift"]),
- _fixture: "measure-extras test fixture: made by make-fixture.mjs from the lanes' synthetic measure slice (real ledger rows, fake cut times)",
-};
-const file = fileURLToPath(new URL("./measure.json", import.meta.url));
-writeFileSync(file, JSON.stringify(out) + "\n");
-console.log(`${file}: ${events.length} events, ${(JSON.stringify(out).length / 1024).toFixed(1)} KB`);
+if (import.meta.url === `file://${process.argv[1]}`) {
+ const src = process.argv[2];
+ if (!src) {
+ console.error("usage: make-fixture.mjs <measure-slice.fixture.json>");
+ process.exit(2);
+ }
+ const m = JSON.parse(readFileSync(src, "utf8"));
+ const KINDS = new Set(["goal", "goalLoss", "remembered", "promise", "promiseCheck"]);
+ const EVENT_KEYS = ["t", "row", "segment", "date", "asOf", "kind", "value", "qualifier", "display", "label", "deadline", "regime", "event", "promise", "source"];
+ const STATE_KEYS = ["t", "goal", "goals", "diet", "promises"];
+ const pick = (o, keys) => Object.fromEntries(keys.filter((k) => o[k] !== undefined).map((k) => [k, o[k]]));
+
+ const events = [];
+ const state = [pick(m.state[0], STATE_KEYS)];
+ let dietKey = null;
+ m.events.forEach((e, i) => {
+ const s = m.state[i + 1];
+ const d = s?.diet ? `${s.diet.regime}|${s.diet.n}|${s.diet.display}` : "none";
+ const keep = KINDS.has(e.kind) || (e.kind === "diet" && d !== dietKey);
+ dietKey = d;
+ if (!keep) return;
+ events.push({ ...pick(e, EVENT_KEYS), ...(e.kind === "promise" || e.kind === "promiseCheck" ? { quote: e.quote } : {}) });
+ state.push(pick(s, STATE_KEYS));
+ });
+ const out = {
+ version: m.version, unit: m.unit, scale: m.scale, asOfRender: m.asOfRender, scopes: m.scopes,
+ events, hidden: [], state,
+ totals: pick(m.totals, ["goals", "goalRepeats", "diets", "peakDrift"]),
+ _fixture: "measure-extras test fixture: made by make-fixture.mjs from the lanes' synthetic measure slice (real ledger rows, fake cut times)",
+ };
+ addSyntheticPromiseRows(out);
+ out._fixture += "; SYNTHETIC rows SYNTH-c01 (a promiseClaim by madamsavvy) and SYNTH-o01 (a refunded promiseOutcome) added by addSyntheticPromiseRows";
+ const file = fileURLToPath(new URL("./measure.json", import.meta.url));
+ writeFileSync(file, JSON.stringify(out) + "\n");
+ console.log(`${file}: ${events.length} events, ${(JSON.stringify(out).length / 1024).toFixed(1)} KB`);
+}
diff --git a/umtool/report-to-video/fixtures/measure-extras/measure.json b/umtool/report-to-video/fixtures/measure-extras/measure.json
@@ -1 +1 @@
-{"version":1,"unit":"lb","scale":{"min":220,"max":400},"asOfRender":"2026-11-05","scopes":["weight","regime"],"events":[{"t":8,"row":"r01","segment":"s000","date":"2018-02-06","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Some diet","label":"says he is on a diet he does not name","deadline":null,"regime":"other","event":"on","source":"clip"},{"t":11.96,"row":"r02","segment":"s001","date":"2018-02-20","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Some diet","label":"says he is on a diet he does not name","deadline":null,"regime":"other","event":"on","source":"clip"},{"t":27.78,"row":"w02","segment":"s005","date":"2021-01-06","asOf":null,"kind":"goalLoss","value":-40,"qualifier":null,"display":"lose 40","label":"the 2021 new-year goal","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":31.74,"row":"r05","segment":"s006","date":"2021-04-02","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Some diet","label":"says he is on a diet he does not name","deadline":null,"regime":"other","event":"on","source":"clip"},{"t":39.65,"row":"r07","segment":"s008","date":"2021-09-14","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Keto","label":"starts keto","deadline":null,"regime":"keto","event":"start","source":"clip"},{"t":43.6,"row":"w06","segment":"s009","date":"2021-09-14","asOf":null,"kind":"goalLoss","value":-100,"qualifier":null,"display":"lose 100","label":"needs to lose 100, at the first keto start","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":47.56,"row":"r09","segment":"s010","date":"2021-09-18","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Keto","label":"says he is on keto","deadline":null,"regime":"keto","event":"on","source":"clip"},{"t":55.47,"row":"r10","segment":"s012","date":"2022-07-27","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Some diet","label":"starts a diet he does not name","deadline":null,"regime":"other","event":"start","source":"clip"},{"t":63.38,"row":"w08","segment":"s014","date":"2022-07-27","asOf":null,"kind":"goalLoss","value":-30,"qualifier":null,"display":"lose 30","label":"the five-month goal","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":67.34,"row":"r14","segment":"s015","date":"2022-12-30","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Carnivore","label":"says he is on carnivore","deadline":null,"regime":"carnivore","event":"on","source":"clip"},{"t":71.3,"row":"w09","segment":"s016","date":"2022-12-30","asOf":null,"kind":"goalLoss","value":-50,"qualifier":null,"display":"lose 50","label":"the 2023 new-year goal","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":75.25,"row":"w11","segment":"s017","date":"2023-01-13","asOf":null,"kind":"goalLoss","value":-50,"qualifier":null,"display":"lose 50","label":"fifty by summer","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":79.21,"row":"r15","segment":"s018","date":"2023-02-09","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Some diet","label":"starts a diet he does not name","deadline":null,"regime":"other","event":"start","source":"clip"},{"t":83.16,"row":"r17","segment":"s019","date":"2023-03-01","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Some diet","label":"starts a diet he does not name","deadline":null,"regime":"other","event":"start","source":"clip"},{"t":87.12,"row":"r18","segment":"s020","date":"2023-03-01","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Calories","label":"starts counting calories","deadline":null,"regime":"calories","event":"start","source":"clip"},{"t":95.03,"row":"w13","segment":"s022","date":"2023-03-02","asOf":null,"kind":"goalLoss","value":-100,"qualifier":null,"display":"lose 100","label":"'at least 100' at his then-fattest","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":102.95,"row":"r20","segment":"s024","date":"2023-05-04","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Some diet","label":"says he is on a diet he does not name","deadline":null,"regime":"other","event":"on","source":"clip"},{"t":110.86,"row":"w16","segment":"s026","date":"2023-06-07","asOf":null,"kind":"goalLoss","value":-75,"qualifier":null,"display":"lose 75","label":"seventy-five to go","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":118.77,"row":"r23","segment":"s028","date":"2023-07-20","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Calories","label":"starts counting calories","deadline":null,"regime":"calories","event":"start","source":"clip"},{"t":126.68,"row":"w19","segment":"s030","date":"2023-07-26","asOf":null,"kind":"goalLoss","value":-75,"qualifier":null,"display":"lose 75","label":"seventy-five, then fifty, in one breath","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":134.59,"row":"r25","segment":"s032","date":"2023-08-21","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Some diet","label":"starts a diet he does not name","deadline":null,"regime":"other","event":"start","source":"clip"},{"t":138.55,"row":"w21","segment":"s033","date":"2023-09-29","asOf":"2023-07-01","kind":"remembered","value":390,"qualifier":"≈","display":"390 lb","label":"the scale that ruined a vacation","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":142.51,"row":"w22","segment":"s034","date":"2023-10-12","asOf":null,"kind":"goalLoss","value":-100,"qualifier":null,"display":"lose 100","label":"what he told his doctor","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":146.46,"row":"r29","segment":"s035","date":"2023-12-14","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Carnivore","label":"says he is on carnivore","deadline":null,"regime":"carnivore","event":"on","source":"clip"},{"t":150.42,"row":"r31","segment":"s036","date":"2024-01-02","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"starts intermittent fasting","deadline":null,"regime":"fasting","event":"start","source":"clip"},{"t":154.37,"row":"r32","segment":"s037","date":"2024-01-09","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"says he is on intermittent fasting","deadline":null,"regime":"fasting","event":"on","source":"clip"},{"t":158.33,"row":"r33","segment":"s038","date":"2024-01-12","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Carnivore","label":"says he is on carnivore","deadline":null,"regime":"carnivore","event":"on","source":"clip"},{"t":166.24,"row":"w26","segment":"s040","date":"2024-01-12","asOf":"2023-12-31","kind":"remembered","value":365.7,"qualifier":null,"display":"365.7 lb","label":"365.7 - the most precise number he ever gives","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":170.2,"row":"w27","segment":"s041","date":"2024-01-12","asOf":null,"kind":"goal","value":250,"qualifier":"≈","display":"250","label":"'I look good at like 250'","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":174.15,"row":"r34","segment":"s042","date":"2024-01-26","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"says he is on intermittent fasting","deadline":null,"regime":"fasting","event":"on","source":"clip"},{"t":182.07,"row":"w29","segment":"s044","date":"2024-01-26","asOf":null,"kind":"goalLoss","value":-50,"qualifier":null,"display":"lose 50","label":"the end of the 2024 goal ladder","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":189.98,"row":"w31","segment":"s046","date":"2024-01-30","asOf":"2023-12-31","kind":"remembered","value":365.7,"qualifier":null,"display":"365.7 lb","label":"365.7, restated","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":193.93,"row":"w32","segment":"s047","date":"2024-01-30","asOf":null,"kind":"goal","value":230,"qualifier":null,"display":"220-240","label":"'when I'm at like 220 to 240, I'm good'","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":201.85,"row":"r35","segment":"s049","date":"2024-02-13","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"says he is on intermittent fasting","deadline":null,"regime":"fasting","event":"on","source":"clip"},{"t":205.8,"row":"r36","segment":"s050","date":"2024-02-28","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"says he is on intermittent fasting","deadline":null,"regime":"fasting","event":"on","source":"clip"},{"t":209.76,"row":"r37","segment":"s051","date":"2024-04-02","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Carnivore","label":"says he is on carnivore","deadline":null,"regime":"carnivore","event":"on","source":"clip"},{"t":213.71,"row":"r38","segment":"s052","date":"2024-04-09","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"says he is on intermittent fasting","deadline":null,"regime":"fasting","event":"on","source":"clip"},{"t":217.67,"row":"r39","segment":"s053","date":"2024-04-18","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"starts intermittent fasting","deadline":null,"regime":"fasting","event":"start","source":"clip"},{"t":225.58,"row":"w35","segment":"s055","date":"2024-04-25","asOf":"2008-06-30","kind":"remembered","value":368,"qualifier":null,"display":"368 lb","label":"368 at his wedding","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":229.54,"row":"r41","segment":"s056","date":"2024-05-07","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Carnivore","label":"says he is on carnivore","deadline":null,"regime":"carnivore","event":"on","source":"clip"},{"t":237.45,"row":"r42","segment":"s058","date":"2024-05-14","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"says he is on intermittent fasting","deadline":null,"regime":"fasting","event":"on","source":"clip"},{"t":245.36,"row":"r43","segment":"s060","date":"2024-07-09","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Keto","label":"says he is on keto","deadline":null,"regime":"keto","event":"on","source":"clip"},{"t":249.32,"row":"r44","segment":"s061","date":"2024-07-30","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Keto","label":"says he is on keto","deadline":null,"regime":"keto","event":"on","source":"clip"},{"t":257.23,"row":"r46","segment":"s063","date":"2024-07-31","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Calories","label":"starts counting calories","deadline":null,"regime":"calories","event":"start","source":"clip"},{"t":261.19,"row":"r47","segment":"s064","date":"2024-08-22","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Carnivore","label":"says he is on carnivore","deadline":null,"regime":"carnivore","event":"on","source":"clip"},{"t":265.14,"row":"r48","segment":"s065","date":"2024-09-03","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"starts intermittent fasting","deadline":null,"regime":"fasting","event":"start","source":"clip"},{"t":269.1,"row":"r49","segment":"s066","date":"2024-10-03","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Carnivore","label":"says he is on carnivore","deadline":null,"regime":"carnivore","event":"on","source":"clip"},{"t":273.05,"row":"r50","segment":"s067","date":"2024-10-16","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"starts intermittent fasting","deadline":null,"regime":"fasting","event":"start","source":"clip"},{"t":277.01,"row":"w40","segment":"s068","date":"2024-11-04","asOf":null,"kind":"goalLoss","value":-70,"qualifier":null,"display":"lose 70","label":"seventy to go, post-election","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":280.97,"row":"r51","segment":"s069","date":"2024-11-05","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Keto","label":"starts keto","deadline":null,"regime":"keto","event":"start","source":"clip"},{"t":288.88,"row":"w41","segment":"s071","date":"2024-11-05","asOf":null,"kind":"goalLoss","value":-30,"qualifier":null,"display":"lose 30","label":"thirty by Christmas","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":292.84,"row":"r52","segment":"s072","date":"2024-11-07","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"starts intermittent fasting","deadline":null,"regime":"fasting","event":"start","source":"clip"},{"t":296.79,"row":"r53","segment":"s073","date":"2024-11-11","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Carnivore","label":"starts carnivore","deadline":null,"regime":"carnivore","event":"start","source":"clip"},{"t":304.7,"row":"r54","segment":"s075","date":"2024-11-26","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Keto","label":"says he is on keto","deadline":null,"regime":"keto","event":"on","source":"clip"},{"t":308.66,"row":"r55","segment":"s076","date":"2024-12-03","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Keto","label":"says he is on keto","deadline":null,"regime":"keto","event":"on","source":"clip"},{"t":312.62,"row":"w44","segment":"s077","date":"2024-12-24","asOf":null,"kind":"goalLoss","value":-100,"qualifier":null,"display":"lose 100","label":"the round hundred again","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":316.57,"row":"r56","segment":"s078","date":"2025-01-02","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Carnivore","label":"starts carnivore","deadline":null,"regime":"carnivore","event":"start","source":"clip"},{"t":324.48,"row":"r59","segment":"s080","date":"2025-03-11","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Some diet","label":"starts a diet he does not name","deadline":null,"regime":"other","event":"start","source":"clip"},{"t":328.44,"row":"r60","segment":"s081","date":"2025-03-20","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"starts intermittent fasting","deadline":null,"regime":"fasting","event":"start","source":"clip"},{"t":336.35,"row":"r61","segment":"s083","date":"2025-03-27","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Carnivore","label":"starts carnivore","deadline":null,"regime":"carnivore","event":"start","source":"clip"},{"t":340.31,"row":"r62","segment":"s084","date":"2025-04-08","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"says he is on intermittent fasting","deadline":null,"regime":"fasting","event":"on","source":"clip"},{"t":344.26,"row":"w46","segment":"s085","date":"2025-04-08","asOf":null,"kind":"goalLoss","value":-100,"qualifier":null,"display":"lose 100","label":"a promise with a one-year clock","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":356.13,"row":"w50","segment":"s088","date":"2025-05-02","asOf":null,"kind":"goalLoss","value":-100,"qualifier":null,"display":"lose 100","label":"a hundred by Christmas","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":360.09,"row":"w51","segment":"s089","date":"2025-05-02","asOf":"2025-02-01","kind":"remembered","value":370,"qualifier":null,"display":"370 lb","label":"370 at the start of the 2025 run","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":364.04,"row":"r63","segment":"s090","date":"2025-05-06","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Carnivore","label":"says he is on carnivore","deadline":null,"regime":"carnivore","event":"on","source":"clip"},{"t":368,"row":"r64","segment":"s091","date":"2025-05-28","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"starts intermittent fasting","deadline":null,"regime":"fasting","event":"start","source":"clip"},{"t":371.96,"row":"r65","segment":"s092","date":"2025-06-06","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Some diet","label":"starts a diet he does not name","deadline":null,"regime":"other","event":"start","source":"clip"},{"t":379.87,"row":"r66","segment":"s094","date":"2025-06-25","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Carnivore","label":"says he is on carnivore","deadline":null,"regime":"carnivore","event":"on","source":"clip"},{"t":383.82,"row":"r67","segment":"s095","date":"2025-07-15","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"says he is on intermittent fasting","deadline":null,"regime":"fasting","event":"on","source":"clip"},{"t":387.78,"row":"w55","segment":"s096","date":"2025-07-15","asOf":"2024-07-01","kind":"remembered","value":390,"qualifier":"≈","display":"390 lb","label":"390, 'last year'","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":391.74,"row":"w56","segment":"s097","date":"2025-07-15","asOf":"2024-05-09","kind":"remembered","value":335,"qualifier":null,"display":"330-340 lb","label":"the crash diet floor","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":395.69,"row":"w57","segment":"s098","date":"2025-07-15","asOf":null,"kind":"goal","value":265,"qualifier":null,"display":"260-270","label":"'I'll look thin'","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":399.65,"row":"r68","segment":"s099","date":"2025-07-15","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"GLP-1","label":"says he is on the shot","deadline":null,"regime":"glp1","event":"on","source":"clip"},{"t":403.6,"row":"r70","segment":"s100","date":"2025-07-29","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Carnivore","label":"says he is on carnivore","deadline":null,"regime":"carnivore","event":"on","source":"clip"},{"t":407.56,"row":"r71","segment":"s101","date":"2025-08-15","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"says he is on intermittent fasting","deadline":null,"regime":"fasting","event":"on","source":"clip"},{"t":415.47,"row":"w60","segment":"s103","date":"2025-08-15","asOf":"2025-04-15","kind":"remembered","value":387,"qualifier":null,"display":"387 lb","label":"387, four months earlier","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":419.43,"row":"w61","segment":"s104","date":"2025-08-15","asOf":"2026-04-01","kind":"goal","value":275,"qualifier":null,"display":"275","label":"275 by his birthday","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":435.25,"row":"r74","segment":"s108","date":"2025-10-03","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"says he is on intermittent fasting","deadline":null,"regime":"fasting","event":"on","source":"clip"},{"t":439.21,"row":"r75","segment":"s109","date":"2025-10-03","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Carnivore","label":"says he is on carnivore","deadline":null,"regime":"carnivore","event":"on","source":"clip"},{"t":447.12,"row":"r76","segment":"s111","date":"2025-10-07","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Some diet","label":"starts a diet he does not name","deadline":null,"regime":"other","event":"start","source":"clip"},{"t":451.08,"row":"r77","segment":"s112","date":"2025-10-08","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"cutting carbs","label":"says he is on counting calories","deadline":null,"regime":"calories","event":"on","source":"clip"},{"t":458.99,"row":"w68","segment":"s114","date":"2025-10-08","asOf":null,"kind":"goalLoss","value":-100,"qualifier":null,"display":"lose 100","label":"still a hundred to go","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":462.95,"row":"w69","segment":"s115","date":"2025-10-09","asOf":null,"kind":"goalLoss","value":-150,"qualifier":null,"display":"lose 150","label":"'like 150'","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":478.77,"row":"w72","segment":"s119","date":"2025-12-09","asOf":null,"kind":"goalLoss","value":-20,"qualifier":null,"display":"lose 20","label":"twenty a year","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":486.68,"row":"w73","segment":"s121","date":"2026-01-09","asOf":"2025-02-01","kind":"remembered","value":385,"qualifier":null,"display":"380-390 lb","label":"the Hawaii peak","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":494.59,"row":"r82","segment":"s123","date":"2026-01-16","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"says he is on intermittent fasting","deadline":null,"regime":"fasting","event":"on","source":"clip"},{"t":506.46,"row":"w77","segment":"s126","date":"2026-01-16","asOf":"2026-04-01","kind":"goal","value":320,"qualifier":null,"display":"320","label":"320 by his birthday","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":510.42,"row":"w78","segment":"s127","date":"2026-01-16","asOf":null,"kind":"goal","value":240,"qualifier":"≈","display":"240","label":"the eventual target","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":514.37,"row":"r83","segment":"s128","date":"2026-02-05","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Keto","label":"starts keto","deadline":null,"regime":"keto","event":"start","source":"clip"},{"t":518.33,"row":"r85","segment":"s129","date":"2026-03-17","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Carnivore","label":"starts carnivore","deadline":null,"regime":"carnivore","event":"start","source":"clip"},{"t":522.29,"row":"r86","segment":"s130","date":"2026-03-24","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Keto","label":"starts keto","deadline":null,"regime":"keto","event":"start","source":"clip"},{"t":526.24,"row":"r87","segment":"s131","date":"2026-04-13","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"starts intermittent fasting","deadline":null,"regime":"fasting","event":"start","source":"clip"},{"t":538.11,"row":"r90","segment":"s134","date":"2026-07-09","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Carnivore","label":"starts carnivore","deadline":null,"regime":"carnivore","event":"start","source":"clip"},{"t":542.07,"row":"r91","segment":"s135","date":"2026-07-20","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Keto","label":"starts keto","deadline":null,"regime":"keto","event":"start","source":"clip"},{"t":549.98,"row":"r92","segment":"s137","date":"2026-07-21","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Keto","label":"says he is on keto","deadline":null,"regime":"keto","event":"on","source":"clip"},{"t":569.76,"row":"w85","segment":"s142","date":"2026-07-28","asOf":null,"kind":"goalLoss","value":-50,"qualifier":null,"display":"lose 50","label":"fifty by the end of 2026","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":581.63,"row":"w88","segment":"s145","date":"2026-07-31","asOf":null,"kind":"goal","value":250,"qualifier":null,"display":"250","label":"'closer to 250'","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":585.58,"row":"w89","segment":"s146","date":"2026-07-31","asOf":"2025-02-01","kind":"remembered","value":390,"qualifier":null,"display":"390 lb","label":"390 on the scale, remembered again","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":589.54,"row":"w90","segment":"s147","date":"2026-07-31","asOf":null,"kind":"goal","value":235,"qualifier":null,"display":"230-240","label":"230-240, computed from a height chart on air","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":593.49,"row":"w91","segment":"s148","date":"2026-08-03","asOf":"2026-07-19","kind":"remembered","value":349,"qualifier":null,"display":"349 lb","label":"349 on keto day one - first time he names a start weight","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":597.45,"row":"w92","segment":"s149","date":"2026-08-03","asOf":"2026-07-27","kind":"remembered","value":342,"qualifier":null,"display":"342 lb","label":"342 on 27 July (same ladder)","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":605.36,"row":"r96","segment":"s151","date":"2026-08-06","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Keto · 5 carbs a day","label":"says he is on keto","deadline":null,"regime":"keto","event":"on","source":"clip"},{"t":617.23,"row":"r101","segment":"s154","date":"2026-08-17","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Keto + fasting Thu/Fri","label":"adds two fasting days a week","deadline":null,"regime":"fasting","event":"start","source":"clip"},{"t":644.92,"row":"w103","segment":"s161","date":"2026-08-28","asOf":"2023-12-31","kind":"remembered","value":365.7,"qualifier":null,"display":"365.7 lb","label":"365.7 - \"when I started this weight loss journey\"","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":660.75,"row":"r102","segment":"s165","date":"2026-09-11","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"IF 2-3 days · ~400 kcal","label":"\"most days I eat like four hundred calories\"","deadline":null,"regime":"calories","event":"on","source":"clip"},{"t":676.57,"row":"w109","segment":"s169","date":"2026-09-17","asOf":"2024-09-01","kind":"remembered","value":390,"qualifier":"≈","display":"390 lb","label":"390 on a Florida scale \"two years ago\"","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":684.48,"row":"w111","segment":"s171","date":"2026-09-24","asOf":null,"kind":"goal","value":225,"qualifier":"≈","display":"225","label":"\"two and a quarter\" (happy at 240)","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":700.31,"row":"w116","segment":"s175","date":"2026-10-15","asOf":"2025-02-01","kind":"remembered","value":390,"qualifier":"≈","display":"390 lb","label":"\"almost 390 when I started my weight loss journey\"","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":704.26,"row":"r104","segment":"s176","date":"2026-10-15","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Keto + IF + walking","label":"\"Keto + Intermittent fasting + walking. That's it.\" (X)","deadline":null,"regime":"fasting","event":"on","source":"post"},{"t":712.18,"row":"p01","segment":"s178","date":"2026-10-23","asOf":null,"kind":"promise","value":null,"qualifier":null,"display":"scale video","label":"\"Buy 5 bags … I'll post a video of the scale. If I'm lying … $100\"","deadline":null,"regime":null,"event":null,"source":"post","quote":"291. Buy 5 bags if Huck's blend and I'll post a video of the scale"},{"t":720.09,"row":"w120","segment":"s180","date":"2026-10-31","asOf":null,"kind":"goalLoss","value":-65,"qualifier":null,"display":"lose 65","label":"65 by Christmas (was 50, then 60)","deadline":"by Christmas","regime":null,"event":null,"source":"post"},{"t":724.04,"row":"p02","segment":"s181","date":"2026-11-03","asOf":null,"kind":"promiseCheck","value":null,"qualifier":null,"display":"brush-off","label":"\"just pull up a video from three months ago\"","deadline":null,"regime":null,"event":null,"promise":"p01","source":"clip","quote":"you have to get on a scale it's like brother just pull up a video from three months ago"}],"hidden":[],"state":[{"t":0,"goal":null,"goals":[],"diet":null,"promises":[]},{"t":8,"goal":null,"goals":[],"diet":{"regime":"other","display":"Some diet","row":"r01","n":1},"promises":[]},{"t":11.96,"goal":null,"goals":[],"diet":{"regime":"other","display":"Some diet","row":"r02","n":2},"promises":[]},{"t":27.78,"goal":{"value":null,"loss":40,"deadline":null,"row":"w02"},"goals":["w02"],"diet":{"regime":"other","display":"Some diet","row":"r02","n":2},"promises":[]},{"t":31.74,"goal":{"value":null,"loss":40,"deadline":null,"row":"w02"},"goals":["w02"],"diet":{"regime":"other","display":"Some diet","row":"r05","n":3},"promises":[]},{"t":39.65,"goal":{"value":null,"loss":40,"deadline":null,"row":"w02"},"goals":["w02"],"diet":{"regime":"keto","display":"Keto","row":"r07","n":4},"promises":[]},{"t":43.6,"goal":{"value":null,"loss":100,"deadline":null,"row":"w06"},"goals":["w02","w06"],"diet":{"regime":"keto","display":"Keto","row":"r07","n":4},"promises":[]},{"t":47.56,"goal":{"value":null,"loss":100,"deadline":null,"row":"w06"},"goals":["w02","w06"],"diet":{"regime":"keto","display":"Keto","row":"r09","n":5},"promises":[]},{"t":55.47,"goal":{"value":null,"loss":100,"deadline":null,"row":"w06"},"goals":["w02","w06"],"diet":{"regime":"other","display":"Some diet","row":"r10","n":6},"promises":[]},{"t":63.38,"goal":{"value":210,"loss":30,"deadline":null,"row":"w08"},"goals":["w02","w06","w08"],"diet":{"regime":"other","display":"Some diet","row":"r10","n":6},"promises":[]},{"t":67.34,"goal":{"value":210,"loss":30,"deadline":null,"row":"w08"},"goals":["w02","w06","w08"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r14","n":7},"promises":[]},{"t":71.3,"goal":{"value":190,"loss":50,"deadline":null,"row":"w09"},"goals":["w02","w06","w08","w09"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r14","n":7},"promises":[]},{"t":75.25,"goal":{"value":190,"loss":50,"deadline":null,"row":"w11"},"goals":["w02","w06","w08","w09","w11"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r14","n":7},"promises":[]},{"t":79.21,"goal":{"value":190,"loss":50,"deadline":null,"row":"w11"},"goals":["w02","w06","w08","w09","w11"],"diet":{"regime":"other","display":"Some diet","row":"r15","n":8},"promises":[]},{"t":83.16,"goal":{"value":190,"loss":50,"deadline":null,"row":"w11"},"goals":["w02","w06","w08","w09","w11"],"diet":{"regime":"other","display":"Some diet","row":"r17","n":9},"promises":[]},{"t":87.12,"goal":{"value":190,"loss":50,"deadline":null,"row":"w11"},"goals":["w02","w06","w08","w09","w11"],"diet":{"regime":"calories","display":"Calories","row":"r18","n":10},"promises":[]},{"t":95.03,"goal":{"value":140,"loss":100,"deadline":null,"row":"w13"},"goals":["w02","w06","w08","w09","w11","w13"],"diet":{"regime":"calories","display":"Calories","row":"r18","n":10},"promises":[]},{"t":102.95,"goal":{"value":140,"loss":100,"deadline":null,"row":"w13"},"goals":["w02","w06","w08","w09","w11","w13"],"diet":{"regime":"other","display":"Some diet","row":"r20","n":11},"promises":[]},{"t":110.86,"goal":{"value":165,"loss":75,"deadline":null,"row":"w16"},"goals":["w02","w06","w08","w09","w11","w13","w16"],"diet":{"regime":"other","display":"Some diet","row":"r20","n":11},"promises":[]},{"t":118.77,"goal":{"value":165,"loss":75,"deadline":null,"row":"w16"},"goals":["w02","w06","w08","w09","w11","w13","w16"],"diet":{"regime":"calories","display":"Calories","row":"r23","n":12},"promises":[]},{"t":126.68,"goal":{"value":165,"loss":75,"deadline":null,"row":"w19"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19"],"diet":{"regime":"calories","display":"Calories","row":"r23","n":12},"promises":[]},{"t":134.59,"goal":{"value":165,"loss":75,"deadline":null,"row":"w19"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19"],"diet":{"regime":"other","display":"Some diet","row":"r25","n":13},"promises":[]},{"t":138.55,"goal":{"value":165,"loss":75,"deadline":null,"row":"w19"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19"],"diet":{"regime":"other","display":"Some diet","row":"r25","n":13},"promises":[]},{"t":142.51,"goal":{"value":140,"loss":100,"deadline":null,"row":"w22"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22"],"diet":{"regime":"other","display":"Some diet","row":"r25","n":13},"promises":[]},{"t":146.46,"goal":{"value":140,"loss":100,"deadline":null,"row":"w22"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r29","n":14},"promises":[]},{"t":150.42,"goal":{"value":140,"loss":100,"deadline":null,"row":"w22"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22"],"diet":{"regime":"fasting","display":"Fasting","row":"r31","n":15},"promises":[]},{"t":154.37,"goal":{"value":140,"loss":100,"deadline":null,"row":"w22"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22"],"diet":{"regime":"fasting","display":"Fasting","row":"r32","n":16},"promises":[]},{"t":158.33,"goal":{"value":140,"loss":100,"deadline":null,"row":"w22"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r33","n":17},"promises":[]},{"t":166.24,"goal":{"value":140,"loss":100,"deadline":null,"row":"w22"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r33","n":17},"promises":[]},{"t":170.2,"goal":{"value":250,"loss":null,"deadline":null,"row":"w27"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r33","n":17},"promises":[]},{"t":174.15,"goal":{"value":250,"loss":null,"deadline":null,"row":"w27"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27"],"diet":{"regime":"fasting","display":"Fasting","row":"r34","n":18},"promises":[]},{"t":182.07,"goal":{"value":190,"loss":50,"deadline":null,"row":"w29"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29"],"diet":{"regime":"fasting","display":"Fasting","row":"r34","n":18},"promises":[]},{"t":189.98,"goal":{"value":190,"loss":50,"deadline":null,"row":"w29"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29"],"diet":{"regime":"fasting","display":"Fasting","row":"r34","n":18},"promises":[]},{"t":193.93,"goal":{"value":230,"loss":null,"deadline":null,"row":"w32"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32"],"diet":{"regime":"fasting","display":"Fasting","row":"r34","n":18},"promises":[]},{"t":201.85,"goal":{"value":230,"loss":null,"deadline":null,"row":"w32"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32"],"diet":{"regime":"fasting","display":"Fasting","row":"r35","n":19},"promises":[]},{"t":205.8,"goal":{"value":230,"loss":null,"deadline":null,"row":"w32"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32"],"diet":{"regime":"fasting","display":"Fasting","row":"r36","n":20},"promises":[]},{"t":209.76,"goal":{"value":230,"loss":null,"deadline":null,"row":"w32"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r37","n":21},"promises":[]},{"t":213.71,"goal":{"value":230,"loss":null,"deadline":null,"row":"w32"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32"],"diet":{"regime":"fasting","display":"Fasting","row":"r38","n":22},"promises":[]},{"t":217.67,"goal":{"value":230,"loss":null,"deadline":null,"row":"w32"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32"],"diet":{"regime":"fasting","display":"Fasting","row":"r39","n":23},"promises":[]},{"t":225.58,"goal":{"value":230,"loss":null,"deadline":null,"row":"w32"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32"],"diet":{"regime":"fasting","display":"Fasting","row":"r39","n":23},"promises":[]},{"t":229.54,"goal":{"value":230,"loss":null,"deadline":null,"row":"w32"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r41","n":24},"promises":[]},{"t":237.45,"goal":{"value":230,"loss":null,"deadline":null,"row":"w32"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32"],"diet":{"regime":"fasting","display":"Fasting","row":"r42","n":25},"promises":[]},{"t":245.36,"goal":{"value":230,"loss":null,"deadline":null,"row":"w32"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32"],"diet":{"regime":"keto","display":"Keto","row":"r43","n":26},"promises":[]},{"t":249.32,"goal":{"value":230,"loss":null,"deadline":null,"row":"w32"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32"],"diet":{"regime":"keto","display":"Keto","row":"r44","n":27},"promises":[]},{"t":257.23,"goal":{"value":230,"loss":null,"deadline":null,"row":"w32"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32"],"diet":{"regime":"calories","display":"Calories","row":"r46","n":28},"promises":[]},{"t":261.19,"goal":{"value":230,"loss":null,"deadline":null,"row":"w32"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r47","n":29},"promises":[]},{"t":265.14,"goal":{"value":230,"loss":null,"deadline":null,"row":"w32"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32"],"diet":{"regime":"fasting","display":"Fasting","row":"r48","n":30},"promises":[]},{"t":269.1,"goal":{"value":230,"loss":null,"deadline":null,"row":"w32"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r49","n":31},"promises":[]},{"t":273.05,"goal":{"value":230,"loss":null,"deadline":null,"row":"w32"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32"],"diet":{"regime":"fasting","display":"Fasting","row":"r50","n":32},"promises":[]},{"t":277.01,"goal":{"value":170,"loss":70,"deadline":null,"row":"w40"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40"],"diet":{"regime":"fasting","display":"Fasting","row":"r50","n":32},"promises":[]},{"t":280.97,"goal":{"value":170,"loss":70,"deadline":null,"row":"w40"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40"],"diet":{"regime":"keto","display":"Keto","row":"r51","n":33},"promises":[]},{"t":288.88,"goal":{"value":210,"loss":30,"deadline":null,"row":"w41"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41"],"diet":{"regime":"keto","display":"Keto","row":"r51","n":33},"promises":[]},{"t":292.84,"goal":{"value":210,"loss":30,"deadline":null,"row":"w41"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41"],"diet":{"regime":"fasting","display":"Fasting","row":"r52","n":34},"promises":[]},{"t":296.79,"goal":{"value":210,"loss":30,"deadline":null,"row":"w41"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r53","n":35},"promises":[]},{"t":304.7,"goal":{"value":210,"loss":30,"deadline":null,"row":"w41"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41"],"diet":{"regime":"keto","display":"Keto","row":"r54","n":36},"promises":[]},{"t":308.66,"goal":{"value":210,"loss":30,"deadline":null,"row":"w41"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41"],"diet":{"regime":"keto","display":"Keto","row":"r55","n":37},"promises":[]},{"t":312.62,"goal":{"value":140,"loss":100,"deadline":null,"row":"w44"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44"],"diet":{"regime":"keto","display":"Keto","row":"r55","n":37},"promises":[]},{"t":316.57,"goal":{"value":140,"loss":100,"deadline":null,"row":"w44"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r56","n":38},"promises":[]},{"t":324.48,"goal":{"value":140,"loss":100,"deadline":null,"row":"w44"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44"],"diet":{"regime":"other","display":"Some diet","row":"r59","n":39},"promises":[]},{"t":328.44,"goal":{"value":140,"loss":100,"deadline":null,"row":"w44"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44"],"diet":{"regime":"fasting","display":"Fasting","row":"r60","n":40},"promises":[]},{"t":336.35,"goal":{"value":140,"loss":100,"deadline":null,"row":"w44"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r61","n":41},"promises":[]},{"t":340.31,"goal":{"value":140,"loss":100,"deadline":null,"row":"w44"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44"],"diet":{"regime":"fasting","display":"Fasting","row":"r62","n":42},"promises":[]},{"t":344.26,"goal":{"value":140,"loss":100,"deadline":null,"row":"w46"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46"],"diet":{"regime":"fasting","display":"Fasting","row":"r62","n":42},"promises":[]},{"t":356.13,"goal":{"value":140,"loss":100,"deadline":null,"row":"w50"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50"],"diet":{"regime":"fasting","display":"Fasting","row":"r62","n":42},"promises":[]},{"t":360.09,"goal":{"value":140,"loss":100,"deadline":null,"row":"w50"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50"],"diet":{"regime":"fasting","display":"Fasting","row":"r62","n":42},"promises":[]},{"t":364.04,"goal":{"value":140,"loss":100,"deadline":null,"row":"w50"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r63","n":43},"promises":[]},{"t":368,"goal":{"value":140,"loss":100,"deadline":null,"row":"w50"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50"],"diet":{"regime":"fasting","display":"Fasting","row":"r64","n":44},"promises":[]},{"t":371.96,"goal":{"value":140,"loss":100,"deadline":null,"row":"w50"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50"],"diet":{"regime":"other","display":"Some diet","row":"r65","n":45},"promises":[]},{"t":379.87,"goal":{"value":140,"loss":100,"deadline":null,"row":"w50"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r66","n":46},"promises":[]},{"t":383.82,"goal":{"value":140,"loss":100,"deadline":null,"row":"w50"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50"],"diet":{"regime":"fasting","display":"Fasting","row":"r67","n":47},"promises":[]},{"t":387.78,"goal":{"value":140,"loss":100,"deadline":null,"row":"w50"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50"],"diet":{"regime":"fasting","display":"Fasting","row":"r67","n":47},"promises":[]},{"t":391.74,"goal":{"value":140,"loss":100,"deadline":null,"row":"w50"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50"],"diet":{"regime":"fasting","display":"Fasting","row":"r67","n":47},"promises":[]},{"t":395.69,"goal":{"value":265,"loss":null,"deadline":null,"row":"w57"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57"],"diet":{"regime":"fasting","display":"Fasting","row":"r67","n":47},"promises":[]},{"t":399.65,"goal":{"value":265,"loss":null,"deadline":null,"row":"w57"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57"],"diet":{"regime":"glp1","display":"GLP-1","row":"r68","n":48},"promises":[]},{"t":403.6,"goal":{"value":265,"loss":null,"deadline":null,"row":"w57"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r70","n":49},"promises":[]},{"t":407.56,"goal":{"value":265,"loss":null,"deadline":null,"row":"w57"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57"],"diet":{"regime":"fasting","display":"Fasting","row":"r71","n":50},"promises":[]},{"t":415.47,"goal":{"value":265,"loss":null,"deadline":null,"row":"w57"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57"],"diet":{"regime":"fasting","display":"Fasting","row":"r71","n":50},"promises":[]},{"t":419.43,"goal":{"value":275,"loss":null,"deadline":null,"row":"w61"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61"],"diet":{"regime":"fasting","display":"Fasting","row":"r71","n":50},"promises":[]},{"t":435.25,"goal":{"value":275,"loss":null,"deadline":null,"row":"w61"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61"],"diet":{"regime":"fasting","display":"Fasting","row":"r74","n":51},"promises":[]},{"t":439.21,"goal":{"value":275,"loss":null,"deadline":null,"row":"w61"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r75","n":52},"promises":[]},{"t":447.12,"goal":{"value":275,"loss":null,"deadline":null,"row":"w61"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61"],"diet":{"regime":"other","display":"Some diet","row":"r76","n":53},"promises":[]},{"t":451.08,"goal":{"value":275,"loss":null,"deadline":null,"row":"w61"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61"],"diet":{"regime":"calories","display":"cutting carbs","row":"r77","n":54},"promises":[]},{"t":458.99,"goal":{"value":251,"loss":100,"deadline":null,"row":"w68"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68"],"diet":{"regime":"calories","display":"cutting carbs","row":"r77","n":54},"promises":[]},{"t":462.95,"goal":{"value":201,"loss":150,"deadline":null,"row":"w69"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69"],"diet":{"regime":"calories","display":"cutting carbs","row":"r77","n":54},"promises":[]},{"t":478.77,"goal":{"value":331,"loss":20,"deadline":null,"row":"w72"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72"],"diet":{"regime":"calories","display":"cutting carbs","row":"r77","n":54},"promises":[]},{"t":486.68,"goal":{"value":331,"loss":20,"deadline":null,"row":"w72"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72"],"diet":{"regime":"calories","display":"cutting carbs","row":"r77","n":54},"promises":[]},{"t":494.59,"goal":{"value":331,"loss":20,"deadline":null,"row":"w72"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72"],"diet":{"regime":"fasting","display":"Fasting","row":"r82","n":55},"promises":[]},{"t":506.46,"goal":{"value":320,"loss":null,"deadline":null,"row":"w77"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77"],"diet":{"regime":"fasting","display":"Fasting","row":"r82","n":55},"promises":[]},{"t":510.42,"goal":{"value":240,"loss":null,"deadline":null,"row":"w78"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78"],"diet":{"regime":"fasting","display":"Fasting","row":"r82","n":55},"promises":[]},{"t":514.37,"goal":{"value":240,"loss":null,"deadline":null,"row":"w78"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78"],"diet":{"regime":"keto","display":"Keto","row":"r83","n":56},"promises":[]},{"t":518.33,"goal":{"value":240,"loss":null,"deadline":null,"row":"w78"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r85","n":57},"promises":[]},{"t":522.29,"goal":{"value":240,"loss":null,"deadline":null,"row":"w78"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78"],"diet":{"regime":"keto","display":"Keto","row":"r86","n":58},"promises":[]},{"t":526.24,"goal":{"value":240,"loss":null,"deadline":null,"row":"w78"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78"],"diet":{"regime":"fasting","display":"Fasting","row":"r87","n":59},"promises":[]},{"t":538.11,"goal":{"value":240,"loss":null,"deadline":null,"row":"w78"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r90","n":60},"promises":[]},{"t":542.07,"goal":{"value":240,"loss":null,"deadline":null,"row":"w78"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78"],"diet":{"regime":"keto","display":"Keto","row":"r91","n":61},"promises":[]},{"t":549.98,"goal":{"value":240,"loss":null,"deadline":null,"row":"w78"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78"],"diet":{"regime":"keto","display":"Keto","row":"r92","n":62},"promises":[]},{"t":569.76,"goal":{"value":250,"loss":50,"deadline":null,"row":"w85"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85"],"diet":{"regime":"keto","display":"Keto","row":"r92","n":62},"promises":[]},{"t":581.63,"goal":{"value":250,"loss":null,"deadline":null,"row":"w88"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88"],"diet":{"regime":"keto","display":"Keto","row":"r92","n":62},"promises":[]},{"t":585.58,"goal":{"value":250,"loss":null,"deadline":null,"row":"w88"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88"],"diet":{"regime":"keto","display":"Keto","row":"r92","n":62},"promises":[]},{"t":589.54,"goal":{"value":235,"loss":null,"deadline":null,"row":"w90"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88","w90"],"diet":{"regime":"keto","display":"Keto","row":"r92","n":62},"promises":[]},{"t":593.49,"goal":{"value":235,"loss":null,"deadline":null,"row":"w90"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88","w90"],"diet":{"regime":"keto","display":"Keto","row":"r92","n":62},"promises":[]},{"t":597.45,"goal":{"value":235,"loss":null,"deadline":null,"row":"w90"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88","w90"],"diet":{"regime":"keto","display":"Keto","row":"r92","n":62},"promises":[]},{"t":605.36,"goal":{"value":235,"loss":null,"deadline":null,"row":"w90"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88","w90"],"diet":{"regime":"keto","display":"Keto · 5 carbs a day","row":"r96","n":63},"promises":[]},{"t":617.23,"goal":{"value":235,"loss":null,"deadline":null,"row":"w90"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88","w90"],"diet":{"regime":"fasting","display":"Keto + fasting Thu/Fri","row":"r101","n":64},"promises":[]},{"t":644.92,"goal":{"value":235,"loss":null,"deadline":null,"row":"w90"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88","w90"],"diet":{"regime":"fasting","display":"Keto + fasting Thu/Fri","row":"r101","n":64},"promises":[]},{"t":660.75,"goal":{"value":235,"loss":null,"deadline":null,"row":"w90"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88","w90"],"diet":{"regime":"calories","display":"IF 2-3 days · ~400 kcal","row":"r102","n":65},"promises":[]},{"t":676.57,"goal":{"value":235,"loss":null,"deadline":null,"row":"w90"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88","w90"],"diet":{"regime":"calories","display":"IF 2-3 days · ~400 kcal","row":"r102","n":65},"promises":[]},{"t":684.48,"goal":{"value":225,"loss":null,"deadline":null,"row":"w111"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88","w90","w111"],"diet":{"regime":"calories","display":"IF 2-3 days · ~400 kcal","row":"r102","n":65},"promises":[]},{"t":700.31,"goal":{"value":225,"loss":null,"deadline":null,"row":"w111"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88","w90","w111"],"diet":{"regime":"calories","display":"IF 2-3 days · ~400 kcal","row":"r102","n":65},"promises":[]},{"t":704.26,"goal":{"value":225,"loss":null,"deadline":null,"row":"w111"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88","w90","w111"],"diet":{"regime":"fasting","display":"Keto + IF + walking","row":"r104","n":66},"promises":[]},{"t":712.18,"goal":{"value":225,"loss":null,"deadline":null,"row":"w111"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88","w90","w111"],"diet":{"regime":"fasting","display":"Keto + IF + walking","row":"r104","n":66},"promises":[{"row":"p01","said":"2026-10-23","what":"post a video of the scale","due":null,"kept":false,"checks":[]}]},{"t":720.09,"goal":{"value":226.5,"loss":65,"deadline":"by Christmas","row":"w120"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88","w90","w111","w120"],"diet":{"regime":"fasting","display":"Keto + IF + walking","row":"r104","n":66},"promises":[{"row":"p01","said":"2026-10-23","what":"post a video of the scale","due":null,"kept":false,"checks":[]}]},{"t":724.04,"goal":{"value":226.5,"loss":65,"deadline":"by Christmas","row":"w120"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88","w90","w111","w120"],"diet":{"regime":"fasting","display":"Keto + IF + walking","row":"r104","n":66},"promises":[{"row":"p01","said":"2026-10-23","what":"post a video of the scale","due":null,"kept":false,"checks":["p02"]}]}],"totals":{"goals":29,"goalRepeats":{"lose 100":8},"diets":66,"peakDrift":[365.7,370,385,387,390]},"_fixture":"measure-extras test fixture: made by make-fixture.mjs from the lanes' synthetic measure slice (real ledger rows, fake cut times)"}
+{"version":1,"unit":"lb","scale":{"min":220,"max":400},"asOfRender":"2026-11-05","scopes":["weight","regime"],"events":[{"t":8,"row":"r01","segment":"s000","date":"2018-02-06","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Some diet","label":"says he is on a diet he does not name","deadline":null,"regime":"other","event":"on","source":"clip"},{"t":11.96,"row":"r02","segment":"s001","date":"2018-02-20","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Some diet","label":"says he is on a diet he does not name","deadline":null,"regime":"other","event":"on","source":"clip"},{"t":27.78,"row":"w02","segment":"s005","date":"2021-01-06","asOf":null,"kind":"goalLoss","value":-40,"qualifier":null,"display":"lose 40","label":"the 2021 new-year goal","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":31.74,"row":"r05","segment":"s006","date":"2021-04-02","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Some diet","label":"says he is on a diet he does not name","deadline":null,"regime":"other","event":"on","source":"clip"},{"t":39.65,"row":"r07","segment":"s008","date":"2021-09-14","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Keto","label":"starts keto","deadline":null,"regime":"keto","event":"start","source":"clip"},{"t":43.6,"row":"w06","segment":"s009","date":"2021-09-14","asOf":null,"kind":"goalLoss","value":-100,"qualifier":null,"display":"lose 100","label":"needs to lose 100, at the first keto start","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":47.56,"row":"r09","segment":"s010","date":"2021-09-18","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Keto","label":"says he is on keto","deadline":null,"regime":"keto","event":"on","source":"clip"},{"t":55.47,"row":"r10","segment":"s012","date":"2022-07-27","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Some diet","label":"starts a diet he does not name","deadline":null,"regime":"other","event":"start","source":"clip"},{"t":63.38,"row":"w08","segment":"s014","date":"2022-07-27","asOf":null,"kind":"goalLoss","value":-30,"qualifier":null,"display":"lose 30","label":"the five-month goal","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":67.34,"row":"r14","segment":"s015","date":"2022-12-30","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Carnivore","label":"says he is on carnivore","deadline":null,"regime":"carnivore","event":"on","source":"clip"},{"t":71.3,"row":"w09","segment":"s016","date":"2022-12-30","asOf":null,"kind":"goalLoss","value":-50,"qualifier":null,"display":"lose 50","label":"the 2023 new-year goal","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":75.25,"row":"w11","segment":"s017","date":"2023-01-13","asOf":null,"kind":"goalLoss","value":-50,"qualifier":null,"display":"lose 50","label":"fifty by summer","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":79.21,"row":"r15","segment":"s018","date":"2023-02-09","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Some diet","label":"starts a diet he does not name","deadline":null,"regime":"other","event":"start","source":"clip"},{"t":83.16,"row":"r17","segment":"s019","date":"2023-03-01","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Some diet","label":"starts a diet he does not name","deadline":null,"regime":"other","event":"start","source":"clip"},{"t":87.12,"row":"r18","segment":"s020","date":"2023-03-01","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Calories","label":"starts counting calories","deadline":null,"regime":"calories","event":"start","source":"clip"},{"t":95.03,"row":"w13","segment":"s022","date":"2023-03-02","asOf":null,"kind":"goalLoss","value":-100,"qualifier":null,"display":"lose 100","label":"'at least 100' at his then-fattest","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":102.95,"row":"r20","segment":"s024","date":"2023-05-04","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Some diet","label":"says he is on a diet he does not name","deadline":null,"regime":"other","event":"on","source":"clip"},{"t":110.86,"row":"w16","segment":"s026","date":"2023-06-07","asOf":null,"kind":"goalLoss","value":-75,"qualifier":null,"display":"lose 75","label":"seventy-five to go","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":118.77,"row":"r23","segment":"s028","date":"2023-07-20","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Calories","label":"starts counting calories","deadline":null,"regime":"calories","event":"start","source":"clip"},{"t":126.68,"row":"w19","segment":"s030","date":"2023-07-26","asOf":null,"kind":"goalLoss","value":-75,"qualifier":null,"display":"lose 75","label":"seventy-five, then fifty, in one breath","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":134.59,"row":"r25","segment":"s032","date":"2023-08-21","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Some diet","label":"starts a diet he does not name","deadline":null,"regime":"other","event":"start","source":"clip"},{"t":138.55,"row":"w21","segment":"s033","date":"2023-09-29","asOf":"2023-07-01","kind":"remembered","value":390,"qualifier":"≈","display":"390 lb","label":"the scale that ruined a vacation","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":142.51,"row":"w22","segment":"s034","date":"2023-10-12","asOf":null,"kind":"goalLoss","value":-100,"qualifier":null,"display":"lose 100","label":"what he told his doctor","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":146.46,"row":"r29","segment":"s035","date":"2023-12-14","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Carnivore","label":"says he is on carnivore","deadline":null,"regime":"carnivore","event":"on","source":"clip"},{"t":150.42,"row":"r31","segment":"s036","date":"2024-01-02","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"starts intermittent fasting","deadline":null,"regime":"fasting","event":"start","source":"clip"},{"t":154.37,"row":"r32","segment":"s037","date":"2024-01-09","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"says he is on intermittent fasting","deadline":null,"regime":"fasting","event":"on","source":"clip"},{"t":158.33,"row":"r33","segment":"s038","date":"2024-01-12","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Carnivore","label":"says he is on carnivore","deadline":null,"regime":"carnivore","event":"on","source":"clip"},{"t":166.24,"row":"w26","segment":"s040","date":"2024-01-12","asOf":"2023-12-31","kind":"remembered","value":365.7,"qualifier":null,"display":"365.7 lb","label":"365.7 - the most precise number he ever gives","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":170.2,"row":"w27","segment":"s041","date":"2024-01-12","asOf":null,"kind":"goal","value":250,"qualifier":"≈","display":"250","label":"'I look good at like 250'","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":174.15,"row":"r34","segment":"s042","date":"2024-01-26","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"says he is on intermittent fasting","deadline":null,"regime":"fasting","event":"on","source":"clip"},{"t":182.07,"row":"w29","segment":"s044","date":"2024-01-26","asOf":null,"kind":"goalLoss","value":-50,"qualifier":null,"display":"lose 50","label":"the end of the 2024 goal ladder","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":189.98,"row":"w31","segment":"s046","date":"2024-01-30","asOf":"2023-12-31","kind":"remembered","value":365.7,"qualifier":null,"display":"365.7 lb","label":"365.7, restated","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":193.93,"row":"w32","segment":"s047","date":"2024-01-30","asOf":null,"kind":"goal","value":230,"qualifier":null,"display":"220-240","label":"'when I'm at like 220 to 240, I'm good'","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":201.85,"row":"r35","segment":"s049","date":"2024-02-13","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"says he is on intermittent fasting","deadline":null,"regime":"fasting","event":"on","source":"clip"},{"t":205.8,"row":"r36","segment":"s050","date":"2024-02-28","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"says he is on intermittent fasting","deadline":null,"regime":"fasting","event":"on","source":"clip"},{"t":209.76,"row":"r37","segment":"s051","date":"2024-04-02","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Carnivore","label":"says he is on carnivore","deadline":null,"regime":"carnivore","event":"on","source":"clip"},{"t":213.71,"row":"r38","segment":"s052","date":"2024-04-09","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"says he is on intermittent fasting","deadline":null,"regime":"fasting","event":"on","source":"clip"},{"t":217.67,"row":"r39","segment":"s053","date":"2024-04-18","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"starts intermittent fasting","deadline":null,"regime":"fasting","event":"start","source":"clip"},{"t":225.58,"row":"w35","segment":"s055","date":"2024-04-25","asOf":"2008-06-30","kind":"remembered","value":368,"qualifier":null,"display":"368 lb","label":"368 at his wedding","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":229.54,"row":"r41","segment":"s056","date":"2024-05-07","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Carnivore","label":"says he is on carnivore","deadline":null,"regime":"carnivore","event":"on","source":"clip"},{"t":237.45,"row":"r42","segment":"s058","date":"2024-05-14","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"says he is on intermittent fasting","deadline":null,"regime":"fasting","event":"on","source":"clip"},{"t":245.36,"row":"r43","segment":"s060","date":"2024-07-09","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Keto","label":"says he is on keto","deadline":null,"regime":"keto","event":"on","source":"clip"},{"t":249.32,"row":"r44","segment":"s061","date":"2024-07-30","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Keto","label":"says he is on keto","deadline":null,"regime":"keto","event":"on","source":"clip"},{"t":257.23,"row":"r46","segment":"s063","date":"2024-07-31","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Calories","label":"starts counting calories","deadline":null,"regime":"calories","event":"start","source":"clip"},{"t":261.19,"row":"r47","segment":"s064","date":"2024-08-22","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Carnivore","label":"says he is on carnivore","deadline":null,"regime":"carnivore","event":"on","source":"clip"},{"t":265.14,"row":"r48","segment":"s065","date":"2024-09-03","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"starts intermittent fasting","deadline":null,"regime":"fasting","event":"start","source":"clip"},{"t":269.1,"row":"r49","segment":"s066","date":"2024-10-03","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Carnivore","label":"says he is on carnivore","deadline":null,"regime":"carnivore","event":"on","source":"clip"},{"t":273.05,"row":"r50","segment":"s067","date":"2024-10-16","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"starts intermittent fasting","deadline":null,"regime":"fasting","event":"start","source":"clip"},{"t":277.01,"row":"w40","segment":"s068","date":"2024-11-04","asOf":null,"kind":"goalLoss","value":-70,"qualifier":null,"display":"lose 70","label":"seventy to go, post-election","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":280.97,"row":"r51","segment":"s069","date":"2024-11-05","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Keto","label":"starts keto","deadline":null,"regime":"keto","event":"start","source":"clip"},{"t":288.88,"row":"w41","segment":"s071","date":"2024-11-05","asOf":null,"kind":"goalLoss","value":-30,"qualifier":null,"display":"lose 30","label":"thirty by Christmas","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":292.84,"row":"r52","segment":"s072","date":"2024-11-07","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"starts intermittent fasting","deadline":null,"regime":"fasting","event":"start","source":"clip"},{"t":296.79,"row":"r53","segment":"s073","date":"2024-11-11","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Carnivore","label":"starts carnivore","deadline":null,"regime":"carnivore","event":"start","source":"clip"},{"t":304.7,"row":"r54","segment":"s075","date":"2024-11-26","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Keto","label":"says he is on keto","deadline":null,"regime":"keto","event":"on","source":"clip"},{"t":308.66,"row":"r55","segment":"s076","date":"2024-12-03","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Keto","label":"says he is on keto","deadline":null,"regime":"keto","event":"on","source":"clip"},{"t":312.62,"row":"w44","segment":"s077","date":"2024-12-24","asOf":null,"kind":"goalLoss","value":-100,"qualifier":null,"display":"lose 100","label":"the round hundred again","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":316.57,"row":"r56","segment":"s078","date":"2025-01-02","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Carnivore","label":"starts carnivore","deadline":null,"regime":"carnivore","event":"start","source":"clip"},{"t":324.48,"row":"r59","segment":"s080","date":"2025-03-11","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Some diet","label":"starts a diet he does not name","deadline":null,"regime":"other","event":"start","source":"clip"},{"t":328.44,"row":"r60","segment":"s081","date":"2025-03-20","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"starts intermittent fasting","deadline":null,"regime":"fasting","event":"start","source":"clip"},{"t":336.35,"row":"r61","segment":"s083","date":"2025-03-27","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Carnivore","label":"starts carnivore","deadline":null,"regime":"carnivore","event":"start","source":"clip"},{"t":340.31,"row":"r62","segment":"s084","date":"2025-04-08","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"says he is on intermittent fasting","deadline":null,"regime":"fasting","event":"on","source":"clip"},{"t":344.26,"row":"w46","segment":"s085","date":"2025-04-08","asOf":null,"kind":"goalLoss","value":-100,"qualifier":null,"display":"lose 100","label":"a promise with a one-year clock","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":356.13,"row":"w50","segment":"s088","date":"2025-05-02","asOf":null,"kind":"goalLoss","value":-100,"qualifier":null,"display":"lose 100","label":"a hundred by Christmas","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":360.09,"row":"w51","segment":"s089","date":"2025-05-02","asOf":"2025-02-01","kind":"remembered","value":370,"qualifier":null,"display":"370 lb","label":"370 at the start of the 2025 run","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":364.04,"row":"r63","segment":"s090","date":"2025-05-06","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Carnivore","label":"says he is on carnivore","deadline":null,"regime":"carnivore","event":"on","source":"clip"},{"t":368,"row":"r64","segment":"s091","date":"2025-05-28","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"starts intermittent fasting","deadline":null,"regime":"fasting","event":"start","source":"clip"},{"t":371.96,"row":"r65","segment":"s092","date":"2025-06-06","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Some diet","label":"starts a diet he does not name","deadline":null,"regime":"other","event":"start","source":"clip"},{"t":379.87,"row":"r66","segment":"s094","date":"2025-06-25","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Carnivore","label":"says he is on carnivore","deadline":null,"regime":"carnivore","event":"on","source":"clip"},{"t":383.82,"row":"r67","segment":"s095","date":"2025-07-15","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"says he is on intermittent fasting","deadline":null,"regime":"fasting","event":"on","source":"clip"},{"t":387.78,"row":"w55","segment":"s096","date":"2025-07-15","asOf":"2024-07-01","kind":"remembered","value":390,"qualifier":"≈","display":"390 lb","label":"390, 'last year'","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":391.74,"row":"w56","segment":"s097","date":"2025-07-15","asOf":"2024-05-09","kind":"remembered","value":335,"qualifier":null,"display":"330-340 lb","label":"the crash diet floor","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":395.69,"row":"w57","segment":"s098","date":"2025-07-15","asOf":null,"kind":"goal","value":265,"qualifier":null,"display":"260-270","label":"'I'll look thin'","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":399.65,"row":"r68","segment":"s099","date":"2025-07-15","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"GLP-1","label":"says he is on the shot","deadline":null,"regime":"glp1","event":"on","source":"clip"},{"t":403.6,"row":"r70","segment":"s100","date":"2025-07-29","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Carnivore","label":"says he is on carnivore","deadline":null,"regime":"carnivore","event":"on","source":"clip"},{"t":407.56,"row":"r71","segment":"s101","date":"2025-08-15","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"says he is on intermittent fasting","deadline":null,"regime":"fasting","event":"on","source":"clip"},{"t":415.47,"row":"w60","segment":"s103","date":"2025-08-15","asOf":"2025-04-15","kind":"remembered","value":387,"qualifier":null,"display":"387 lb","label":"387, four months earlier","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":419.43,"row":"w61","segment":"s104","date":"2025-08-15","asOf":"2026-04-01","kind":"goal","value":275,"qualifier":null,"display":"275","label":"275 by his birthday","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":435.25,"row":"r74","segment":"s108","date":"2025-10-03","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"says he is on intermittent fasting","deadline":null,"regime":"fasting","event":"on","source":"clip"},{"t":439.21,"row":"r75","segment":"s109","date":"2025-10-03","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Carnivore","label":"says he is on carnivore","deadline":null,"regime":"carnivore","event":"on","source":"clip"},{"t":447.12,"row":"r76","segment":"s111","date":"2025-10-07","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Some diet","label":"starts a diet he does not name","deadline":null,"regime":"other","event":"start","source":"clip"},{"t":451.08,"row":"r77","segment":"s112","date":"2025-10-08","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"cutting carbs","label":"says he is on counting calories","deadline":null,"regime":"calories","event":"on","source":"clip"},{"t":458.99,"row":"w68","segment":"s114","date":"2025-10-08","asOf":null,"kind":"goalLoss","value":-100,"qualifier":null,"display":"lose 100","label":"still a hundred to go","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":462.95,"row":"w69","segment":"s115","date":"2025-10-09","asOf":null,"kind":"goalLoss","value":-150,"qualifier":null,"display":"lose 150","label":"'like 150'","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":478.77,"row":"w72","segment":"s119","date":"2025-12-09","asOf":null,"kind":"goalLoss","value":-20,"qualifier":null,"display":"lose 20","label":"twenty a year","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":486.68,"row":"w73","segment":"s121","date":"2026-01-09","asOf":"2025-02-01","kind":"remembered","value":385,"qualifier":null,"display":"380-390 lb","label":"the Hawaii peak","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":494.59,"row":"r82","segment":"s123","date":"2026-01-16","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"says he is on intermittent fasting","deadline":null,"regime":"fasting","event":"on","source":"clip"},{"t":506.46,"row":"w77","segment":"s126","date":"2026-01-16","asOf":"2026-04-01","kind":"goal","value":320,"qualifier":null,"display":"320","label":"320 by his birthday","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":510.42,"row":"w78","segment":"s127","date":"2026-01-16","asOf":null,"kind":"goal","value":240,"qualifier":"≈","display":"240","label":"the eventual target","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":514.37,"row":"r83","segment":"s128","date":"2026-02-05","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Keto","label":"starts keto","deadline":null,"regime":"keto","event":"start","source":"clip"},{"t":518.33,"row":"r85","segment":"s129","date":"2026-03-17","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Carnivore","label":"starts carnivore","deadline":null,"regime":"carnivore","event":"start","source":"clip"},{"t":522.29,"row":"r86","segment":"s130","date":"2026-03-24","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Keto","label":"starts keto","deadline":null,"regime":"keto","event":"start","source":"clip"},{"t":526.24,"row":"r87","segment":"s131","date":"2026-04-13","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Fasting","label":"starts intermittent fasting","deadline":null,"regime":"fasting","event":"start","source":"clip"},{"t":538.11,"row":"r90","segment":"s134","date":"2026-07-09","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Carnivore","label":"starts carnivore","deadline":null,"regime":"carnivore","event":"start","source":"clip"},{"t":542.07,"row":"r91","segment":"s135","date":"2026-07-20","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Keto","label":"starts keto","deadline":null,"regime":"keto","event":"start","source":"clip"},{"t":549.98,"row":"r92","segment":"s137","date":"2026-07-21","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Keto","label":"says he is on keto","deadline":null,"regime":"keto","event":"on","source":"clip"},{"t":569.76,"row":"w85","segment":"s142","date":"2026-07-28","asOf":null,"kind":"goalLoss","value":-50,"qualifier":null,"display":"lose 50","label":"fifty by the end of 2026","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":581.63,"row":"w88","segment":"s145","date":"2026-07-31","asOf":null,"kind":"goal","value":250,"qualifier":null,"display":"250","label":"'closer to 250'","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":585.58,"row":"w89","segment":"s146","date":"2026-07-31","asOf":"2025-02-01","kind":"remembered","value":390,"qualifier":null,"display":"390 lb","label":"390 on the scale, remembered again","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":589.54,"row":"w90","segment":"s147","date":"2026-07-31","asOf":null,"kind":"goal","value":235,"qualifier":null,"display":"230-240","label":"230-240, computed from a height chart on air","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":593.49,"row":"w91","segment":"s148","date":"2026-08-03","asOf":"2026-07-19","kind":"remembered","value":349,"qualifier":null,"display":"349 lb","label":"349 on keto day one - first time he names a start weight","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":597.45,"row":"w92","segment":"s149","date":"2026-08-03","asOf":"2026-07-27","kind":"remembered","value":342,"qualifier":null,"display":"342 lb","label":"342 on 27 July (same ladder)","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":605.36,"row":"r96","segment":"s151","date":"2026-08-06","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Keto · 5 carbs a day","label":"says he is on keto","deadline":null,"regime":"keto","event":"on","source":"clip"},{"t":617.23,"row":"r101","segment":"s154","date":"2026-08-17","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Keto + fasting Thu/Fri","label":"adds two fasting days a week","deadline":null,"regime":"fasting","event":"start","source":"clip"},{"t":644.92,"row":"w103","segment":"s161","date":"2026-08-28","asOf":"2023-12-31","kind":"remembered","value":365.7,"qualifier":null,"display":"365.7 lb","label":"365.7 - \"when I started this weight loss journey\"","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":660.75,"row":"r102","segment":"s165","date":"2026-09-11","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"IF 2-3 days · ~400 kcal","label":"\"most days I eat like four hundred calories\"","deadline":null,"regime":"calories","event":"on","source":"clip"},{"t":676.57,"row":"w109","segment":"s169","date":"2026-09-17","asOf":"2024-09-01","kind":"remembered","value":390,"qualifier":"≈","display":"390 lb","label":"390 on a Florida scale \"two years ago\"","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":684.48,"row":"w111","segment":"s171","date":"2026-09-24","asOf":null,"kind":"goal","value":225,"qualifier":"≈","display":"225","label":"\"two and a quarter\" (happy at 240)","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":700.31,"row":"w116","segment":"s175","date":"2026-10-15","asOf":"2025-02-01","kind":"remembered","value":390,"qualifier":"≈","display":"390 lb","label":"\"almost 390 when I started my weight loss journey\"","deadline":null,"regime":null,"event":null,"source":"clip"},{"t":704.26,"row":"r104","segment":"s176","date":"2026-10-15","asOf":null,"kind":"diet","value":null,"qualifier":null,"display":"Keto + IF + walking","label":"\"Keto + Intermittent fasting + walking. That's it.\" (X)","deadline":null,"regime":"fasting","event":"on","source":"post"},{"t":712.18,"row":"p01","segment":"s178","date":"2026-10-23","asOf":null,"kind":"promise","value":null,"qualifier":null,"display":"scale video","label":"\"Buy 5 bags … I'll post a video of the scale. If I'm lying … $100\"","deadline":null,"regime":null,"event":null,"source":"post","quote":"291. Buy 5 bags if Huck's blend and I'll post a video of the scale"},{"t":716,"row":"SYNTH-c01","segment":"s179","date":"2026-10-24","asOf":null,"kind":"promiseClaim","value":null,"qualifier":null,"display":"paid for it","label":"I bought the 5 bags — where's the scale video?","deadline":null,"regime":null,"event":null,"promise":"p01","speaker":"madamsavvy","source":"post","synthetic":true},{"t":720.09,"row":"w120","segment":"s180","date":"2026-10-31","asOf":null,"kind":"goalLoss","value":-65,"qualifier":null,"display":"lose 65","label":"65 by Christmas (was 50, then 60)","deadline":"by Christmas","regime":null,"event":null,"source":"post"},{"t":722,"row":"SYNTH-o01","segment":"s180","date":"2026-10-31","asOf":null,"kind":"promiseOutcome","value":null,"qualifier":null,"display":"refunded","label":"Your refund has been processed… best of luck on your weight loss journey","deadline":null,"regime":null,"event":null,"promise":"p01","speaker":"madamsavvy","outcome":"refunded","source":"clip","synthetic":true},{"t":724.04,"row":"p02","segment":"s181","date":"2026-11-03","asOf":null,"kind":"promiseCheck","value":null,"qualifier":null,"display":"brush-off","label":"\"just pull up a video from three months ago\"","deadline":null,"regime":null,"event":null,"promise":"p01","source":"clip","quote":"you have to get on a scale it's like brother just pull up a video from three months ago"}],"hidden":[],"state":[{"t":0,"goal":null,"goals":[],"diet":null,"promises":[]},{"t":8,"goal":null,"goals":[],"diet":{"regime":"other","display":"Some diet","row":"r01","n":1},"promises":[]},{"t":11.96,"goal":null,"goals":[],"diet":{"regime":"other","display":"Some diet","row":"r02","n":2},"promises":[]},{"t":27.78,"goal":{"value":null,"loss":40,"deadline":null,"row":"w02"},"goals":["w02"],"diet":{"regime":"other","display":"Some diet","row":"r02","n":2},"promises":[]},{"t":31.74,"goal":{"value":null,"loss":40,"deadline":null,"row":"w02"},"goals":["w02"],"diet":{"regime":"other","display":"Some diet","row":"r05","n":3},"promises":[]},{"t":39.65,"goal":{"value":null,"loss":40,"deadline":null,"row":"w02"},"goals":["w02"],"diet":{"regime":"keto","display":"Keto","row":"r07","n":4},"promises":[]},{"t":43.6,"goal":{"value":null,"loss":100,"deadline":null,"row":"w06"},"goals":["w02","w06"],"diet":{"regime":"keto","display":"Keto","row":"r07","n":4},"promises":[]},{"t":47.56,"goal":{"value":null,"loss":100,"deadline":null,"row":"w06"},"goals":["w02","w06"],"diet":{"regime":"keto","display":"Keto","row":"r09","n":5},"promises":[]},{"t":55.47,"goal":{"value":null,"loss":100,"deadline":null,"row":"w06"},"goals":["w02","w06"],"diet":{"regime":"other","display":"Some diet","row":"r10","n":6},"promises":[]},{"t":63.38,"goal":{"value":210,"loss":30,"deadline":null,"row":"w08"},"goals":["w02","w06","w08"],"diet":{"regime":"other","display":"Some diet","row":"r10","n":6},"promises":[]},{"t":67.34,"goal":{"value":210,"loss":30,"deadline":null,"row":"w08"},"goals":["w02","w06","w08"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r14","n":7},"promises":[]},{"t":71.3,"goal":{"value":190,"loss":50,"deadline":null,"row":"w09"},"goals":["w02","w06","w08","w09"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r14","n":7},"promises":[]},{"t":75.25,"goal":{"value":190,"loss":50,"deadline":null,"row":"w11"},"goals":["w02","w06","w08","w09","w11"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r14","n":7},"promises":[]},{"t":79.21,"goal":{"value":190,"loss":50,"deadline":null,"row":"w11"},"goals":["w02","w06","w08","w09","w11"],"diet":{"regime":"other","display":"Some diet","row":"r15","n":8},"promises":[]},{"t":83.16,"goal":{"value":190,"loss":50,"deadline":null,"row":"w11"},"goals":["w02","w06","w08","w09","w11"],"diet":{"regime":"other","display":"Some diet","row":"r17","n":9},"promises":[]},{"t":87.12,"goal":{"value":190,"loss":50,"deadline":null,"row":"w11"},"goals":["w02","w06","w08","w09","w11"],"diet":{"regime":"calories","display":"Calories","row":"r18","n":10},"promises":[]},{"t":95.03,"goal":{"value":140,"loss":100,"deadline":null,"row":"w13"},"goals":["w02","w06","w08","w09","w11","w13"],"diet":{"regime":"calories","display":"Calories","row":"r18","n":10},"promises":[]},{"t":102.95,"goal":{"value":140,"loss":100,"deadline":null,"row":"w13"},"goals":["w02","w06","w08","w09","w11","w13"],"diet":{"regime":"other","display":"Some diet","row":"r20","n":11},"promises":[]},{"t":110.86,"goal":{"value":165,"loss":75,"deadline":null,"row":"w16"},"goals":["w02","w06","w08","w09","w11","w13","w16"],"diet":{"regime":"other","display":"Some diet","row":"r20","n":11},"promises":[]},{"t":118.77,"goal":{"value":165,"loss":75,"deadline":null,"row":"w16"},"goals":["w02","w06","w08","w09","w11","w13","w16"],"diet":{"regime":"calories","display":"Calories","row":"r23","n":12},"promises":[]},{"t":126.68,"goal":{"value":165,"loss":75,"deadline":null,"row":"w19"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19"],"diet":{"regime":"calories","display":"Calories","row":"r23","n":12},"promises":[]},{"t":134.59,"goal":{"value":165,"loss":75,"deadline":null,"row":"w19"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19"],"diet":{"regime":"other","display":"Some diet","row":"r25","n":13},"promises":[]},{"t":138.55,"goal":{"value":165,"loss":75,"deadline":null,"row":"w19"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19"],"diet":{"regime":"other","display":"Some diet","row":"r25","n":13},"promises":[]},{"t":142.51,"goal":{"value":140,"loss":100,"deadline":null,"row":"w22"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22"],"diet":{"regime":"other","display":"Some diet","row":"r25","n":13},"promises":[]},{"t":146.46,"goal":{"value":140,"loss":100,"deadline":null,"row":"w22"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r29","n":14},"promises":[]},{"t":150.42,"goal":{"value":140,"loss":100,"deadline":null,"row":"w22"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22"],"diet":{"regime":"fasting","display":"Fasting","row":"r31","n":15},"promises":[]},{"t":154.37,"goal":{"value":140,"loss":100,"deadline":null,"row":"w22"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22"],"diet":{"regime":"fasting","display":"Fasting","row":"r32","n":16},"promises":[]},{"t":158.33,"goal":{"value":140,"loss":100,"deadline":null,"row":"w22"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r33","n":17},"promises":[]},{"t":166.24,"goal":{"value":140,"loss":100,"deadline":null,"row":"w22"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r33","n":17},"promises":[]},{"t":170.2,"goal":{"value":250,"loss":null,"deadline":null,"row":"w27"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r33","n":17},"promises":[]},{"t":174.15,"goal":{"value":250,"loss":null,"deadline":null,"row":"w27"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27"],"diet":{"regime":"fasting","display":"Fasting","row":"r34","n":18},"promises":[]},{"t":182.07,"goal":{"value":190,"loss":50,"deadline":null,"row":"w29"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29"],"diet":{"regime":"fasting","display":"Fasting","row":"r34","n":18},"promises":[]},{"t":189.98,"goal":{"value":190,"loss":50,"deadline":null,"row":"w29"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29"],"diet":{"regime":"fasting","display":"Fasting","row":"r34","n":18},"promises":[]},{"t":193.93,"goal":{"value":230,"loss":null,"deadline":null,"row":"w32"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32"],"diet":{"regime":"fasting","display":"Fasting","row":"r34","n":18},"promises":[]},{"t":201.85,"goal":{"value":230,"loss":null,"deadline":null,"row":"w32"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32"],"diet":{"regime":"fasting","display":"Fasting","row":"r35","n":19},"promises":[]},{"t":205.8,"goal":{"value":230,"loss":null,"deadline":null,"row":"w32"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32"],"diet":{"regime":"fasting","display":"Fasting","row":"r36","n":20},"promises":[]},{"t":209.76,"goal":{"value":230,"loss":null,"deadline":null,"row":"w32"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r37","n":21},"promises":[]},{"t":213.71,"goal":{"value":230,"loss":null,"deadline":null,"row":"w32"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32"],"diet":{"regime":"fasting","display":"Fasting","row":"r38","n":22},"promises":[]},{"t":217.67,"goal":{"value":230,"loss":null,"deadline":null,"row":"w32"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32"],"diet":{"regime":"fasting","display":"Fasting","row":"r39","n":23},"promises":[]},{"t":225.58,"goal":{"value":230,"loss":null,"deadline":null,"row":"w32"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32"],"diet":{"regime":"fasting","display":"Fasting","row":"r39","n":23},"promises":[]},{"t":229.54,"goal":{"value":230,"loss":null,"deadline":null,"row":"w32"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r41","n":24},"promises":[]},{"t":237.45,"goal":{"value":230,"loss":null,"deadline":null,"row":"w32"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32"],"diet":{"regime":"fasting","display":"Fasting","row":"r42","n":25},"promises":[]},{"t":245.36,"goal":{"value":230,"loss":null,"deadline":null,"row":"w32"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32"],"diet":{"regime":"keto","display":"Keto","row":"r43","n":26},"promises":[]},{"t":249.32,"goal":{"value":230,"loss":null,"deadline":null,"row":"w32"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32"],"diet":{"regime":"keto","display":"Keto","row":"r44","n":27},"promises":[]},{"t":257.23,"goal":{"value":230,"loss":null,"deadline":null,"row":"w32"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32"],"diet":{"regime":"calories","display":"Calories","row":"r46","n":28},"promises":[]},{"t":261.19,"goal":{"value":230,"loss":null,"deadline":null,"row":"w32"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r47","n":29},"promises":[]},{"t":265.14,"goal":{"value":230,"loss":null,"deadline":null,"row":"w32"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32"],"diet":{"regime":"fasting","display":"Fasting","row":"r48","n":30},"promises":[]},{"t":269.1,"goal":{"value":230,"loss":null,"deadline":null,"row":"w32"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r49","n":31},"promises":[]},{"t":273.05,"goal":{"value":230,"loss":null,"deadline":null,"row":"w32"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32"],"diet":{"regime":"fasting","display":"Fasting","row":"r50","n":32},"promises":[]},{"t":277.01,"goal":{"value":170,"loss":70,"deadline":null,"row":"w40"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40"],"diet":{"regime":"fasting","display":"Fasting","row":"r50","n":32},"promises":[]},{"t":280.97,"goal":{"value":170,"loss":70,"deadline":null,"row":"w40"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40"],"diet":{"regime":"keto","display":"Keto","row":"r51","n":33},"promises":[]},{"t":288.88,"goal":{"value":210,"loss":30,"deadline":null,"row":"w41"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41"],"diet":{"regime":"keto","display":"Keto","row":"r51","n":33},"promises":[]},{"t":292.84,"goal":{"value":210,"loss":30,"deadline":null,"row":"w41"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41"],"diet":{"regime":"fasting","display":"Fasting","row":"r52","n":34},"promises":[]},{"t":296.79,"goal":{"value":210,"loss":30,"deadline":null,"row":"w41"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r53","n":35},"promises":[]},{"t":304.7,"goal":{"value":210,"loss":30,"deadline":null,"row":"w41"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41"],"diet":{"regime":"keto","display":"Keto","row":"r54","n":36},"promises":[]},{"t":308.66,"goal":{"value":210,"loss":30,"deadline":null,"row":"w41"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41"],"diet":{"regime":"keto","display":"Keto","row":"r55","n":37},"promises":[]},{"t":312.62,"goal":{"value":140,"loss":100,"deadline":null,"row":"w44"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44"],"diet":{"regime":"keto","display":"Keto","row":"r55","n":37},"promises":[]},{"t":316.57,"goal":{"value":140,"loss":100,"deadline":null,"row":"w44"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r56","n":38},"promises":[]},{"t":324.48,"goal":{"value":140,"loss":100,"deadline":null,"row":"w44"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44"],"diet":{"regime":"other","display":"Some diet","row":"r59","n":39},"promises":[]},{"t":328.44,"goal":{"value":140,"loss":100,"deadline":null,"row":"w44"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44"],"diet":{"regime":"fasting","display":"Fasting","row":"r60","n":40},"promises":[]},{"t":336.35,"goal":{"value":140,"loss":100,"deadline":null,"row":"w44"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r61","n":41},"promises":[]},{"t":340.31,"goal":{"value":140,"loss":100,"deadline":null,"row":"w44"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44"],"diet":{"regime":"fasting","display":"Fasting","row":"r62","n":42},"promises":[]},{"t":344.26,"goal":{"value":140,"loss":100,"deadline":null,"row":"w46"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46"],"diet":{"regime":"fasting","display":"Fasting","row":"r62","n":42},"promises":[]},{"t":356.13,"goal":{"value":140,"loss":100,"deadline":null,"row":"w50"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50"],"diet":{"regime":"fasting","display":"Fasting","row":"r62","n":42},"promises":[]},{"t":360.09,"goal":{"value":140,"loss":100,"deadline":null,"row":"w50"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50"],"diet":{"regime":"fasting","display":"Fasting","row":"r62","n":42},"promises":[]},{"t":364.04,"goal":{"value":140,"loss":100,"deadline":null,"row":"w50"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r63","n":43},"promises":[]},{"t":368,"goal":{"value":140,"loss":100,"deadline":null,"row":"w50"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50"],"diet":{"regime":"fasting","display":"Fasting","row":"r64","n":44},"promises":[]},{"t":371.96,"goal":{"value":140,"loss":100,"deadline":null,"row":"w50"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50"],"diet":{"regime":"other","display":"Some diet","row":"r65","n":45},"promises":[]},{"t":379.87,"goal":{"value":140,"loss":100,"deadline":null,"row":"w50"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r66","n":46},"promises":[]},{"t":383.82,"goal":{"value":140,"loss":100,"deadline":null,"row":"w50"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50"],"diet":{"regime":"fasting","display":"Fasting","row":"r67","n":47},"promises":[]},{"t":387.78,"goal":{"value":140,"loss":100,"deadline":null,"row":"w50"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50"],"diet":{"regime":"fasting","display":"Fasting","row":"r67","n":47},"promises":[]},{"t":391.74,"goal":{"value":140,"loss":100,"deadline":null,"row":"w50"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50"],"diet":{"regime":"fasting","display":"Fasting","row":"r67","n":47},"promises":[]},{"t":395.69,"goal":{"value":265,"loss":null,"deadline":null,"row":"w57"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57"],"diet":{"regime":"fasting","display":"Fasting","row":"r67","n":47},"promises":[]},{"t":399.65,"goal":{"value":265,"loss":null,"deadline":null,"row":"w57"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57"],"diet":{"regime":"glp1","display":"GLP-1","row":"r68","n":48},"promises":[]},{"t":403.6,"goal":{"value":265,"loss":null,"deadline":null,"row":"w57"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r70","n":49},"promises":[]},{"t":407.56,"goal":{"value":265,"loss":null,"deadline":null,"row":"w57"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57"],"diet":{"regime":"fasting","display":"Fasting","row":"r71","n":50},"promises":[]},{"t":415.47,"goal":{"value":265,"loss":null,"deadline":null,"row":"w57"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57"],"diet":{"regime":"fasting","display":"Fasting","row":"r71","n":50},"promises":[]},{"t":419.43,"goal":{"value":275,"loss":null,"deadline":null,"row":"w61"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61"],"diet":{"regime":"fasting","display":"Fasting","row":"r71","n":50},"promises":[]},{"t":435.25,"goal":{"value":275,"loss":null,"deadline":null,"row":"w61"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61"],"diet":{"regime":"fasting","display":"Fasting","row":"r74","n":51},"promises":[]},{"t":439.21,"goal":{"value":275,"loss":null,"deadline":null,"row":"w61"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r75","n":52},"promises":[]},{"t":447.12,"goal":{"value":275,"loss":null,"deadline":null,"row":"w61"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61"],"diet":{"regime":"other","display":"Some diet","row":"r76","n":53},"promises":[]},{"t":451.08,"goal":{"value":275,"loss":null,"deadline":null,"row":"w61"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61"],"diet":{"regime":"calories","display":"cutting carbs","row":"r77","n":54},"promises":[]},{"t":458.99,"goal":{"value":251,"loss":100,"deadline":null,"row":"w68"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68"],"diet":{"regime":"calories","display":"cutting carbs","row":"r77","n":54},"promises":[]},{"t":462.95,"goal":{"value":201,"loss":150,"deadline":null,"row":"w69"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69"],"diet":{"regime":"calories","display":"cutting carbs","row":"r77","n":54},"promises":[]},{"t":478.77,"goal":{"value":331,"loss":20,"deadline":null,"row":"w72"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72"],"diet":{"regime":"calories","display":"cutting carbs","row":"r77","n":54},"promises":[]},{"t":486.68,"goal":{"value":331,"loss":20,"deadline":null,"row":"w72"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72"],"diet":{"regime":"calories","display":"cutting carbs","row":"r77","n":54},"promises":[]},{"t":494.59,"goal":{"value":331,"loss":20,"deadline":null,"row":"w72"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72"],"diet":{"regime":"fasting","display":"Fasting","row":"r82","n":55},"promises":[]},{"t":506.46,"goal":{"value":320,"loss":null,"deadline":null,"row":"w77"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77"],"diet":{"regime":"fasting","display":"Fasting","row":"r82","n":55},"promises":[]},{"t":510.42,"goal":{"value":240,"loss":null,"deadline":null,"row":"w78"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78"],"diet":{"regime":"fasting","display":"Fasting","row":"r82","n":55},"promises":[]},{"t":514.37,"goal":{"value":240,"loss":null,"deadline":null,"row":"w78"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78"],"diet":{"regime":"keto","display":"Keto","row":"r83","n":56},"promises":[]},{"t":518.33,"goal":{"value":240,"loss":null,"deadline":null,"row":"w78"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r85","n":57},"promises":[]},{"t":522.29,"goal":{"value":240,"loss":null,"deadline":null,"row":"w78"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78"],"diet":{"regime":"keto","display":"Keto","row":"r86","n":58},"promises":[]},{"t":526.24,"goal":{"value":240,"loss":null,"deadline":null,"row":"w78"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78"],"diet":{"regime":"fasting","display":"Fasting","row":"r87","n":59},"promises":[]},{"t":538.11,"goal":{"value":240,"loss":null,"deadline":null,"row":"w78"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78"],"diet":{"regime":"carnivore","display":"Carnivore","row":"r90","n":60},"promises":[]},{"t":542.07,"goal":{"value":240,"loss":null,"deadline":null,"row":"w78"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78"],"diet":{"regime":"keto","display":"Keto","row":"r91","n":61},"promises":[]},{"t":549.98,"goal":{"value":240,"loss":null,"deadline":null,"row":"w78"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78"],"diet":{"regime":"keto","display":"Keto","row":"r92","n":62},"promises":[]},{"t":569.76,"goal":{"value":250,"loss":50,"deadline":null,"row":"w85"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85"],"diet":{"regime":"keto","display":"Keto","row":"r92","n":62},"promises":[]},{"t":581.63,"goal":{"value":250,"loss":null,"deadline":null,"row":"w88"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88"],"diet":{"regime":"keto","display":"Keto","row":"r92","n":62},"promises":[]},{"t":585.58,"goal":{"value":250,"loss":null,"deadline":null,"row":"w88"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88"],"diet":{"regime":"keto","display":"Keto","row":"r92","n":62},"promises":[]},{"t":589.54,"goal":{"value":235,"loss":null,"deadline":null,"row":"w90"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88","w90"],"diet":{"regime":"keto","display":"Keto","row":"r92","n":62},"promises":[]},{"t":593.49,"goal":{"value":235,"loss":null,"deadline":null,"row":"w90"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88","w90"],"diet":{"regime":"keto","display":"Keto","row":"r92","n":62},"promises":[]},{"t":597.45,"goal":{"value":235,"loss":null,"deadline":null,"row":"w90"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88","w90"],"diet":{"regime":"keto","display":"Keto","row":"r92","n":62},"promises":[]},{"t":605.36,"goal":{"value":235,"loss":null,"deadline":null,"row":"w90"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88","w90"],"diet":{"regime":"keto","display":"Keto · 5 carbs a day","row":"r96","n":63},"promises":[]},{"t":617.23,"goal":{"value":235,"loss":null,"deadline":null,"row":"w90"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88","w90"],"diet":{"regime":"fasting","display":"Keto + fasting Thu/Fri","row":"r101","n":64},"promises":[]},{"t":644.92,"goal":{"value":235,"loss":null,"deadline":null,"row":"w90"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88","w90"],"diet":{"regime":"fasting","display":"Keto + fasting Thu/Fri","row":"r101","n":64},"promises":[]},{"t":660.75,"goal":{"value":235,"loss":null,"deadline":null,"row":"w90"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88","w90"],"diet":{"regime":"calories","display":"IF 2-3 days · ~400 kcal","row":"r102","n":65},"promises":[]},{"t":676.57,"goal":{"value":235,"loss":null,"deadline":null,"row":"w90"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88","w90"],"diet":{"regime":"calories","display":"IF 2-3 days · ~400 kcal","row":"r102","n":65},"promises":[]},{"t":684.48,"goal":{"value":225,"loss":null,"deadline":null,"row":"w111"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88","w90","w111"],"diet":{"regime":"calories","display":"IF 2-3 days · ~400 kcal","row":"r102","n":65},"promises":[]},{"t":700.31,"goal":{"value":225,"loss":null,"deadline":null,"row":"w111"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88","w90","w111"],"diet":{"regime":"calories","display":"IF 2-3 days · ~400 kcal","row":"r102","n":65},"promises":[]},{"t":704.26,"goal":{"value":225,"loss":null,"deadline":null,"row":"w111"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88","w90","w111"],"diet":{"regime":"fasting","display":"Keto + IF + walking","row":"r104","n":66},"promises":[]},{"t":712.18,"goal":{"value":225,"loss":null,"deadline":null,"row":"w111"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88","w90","w111"],"diet":{"regime":"fasting","display":"Keto + IF + walking","row":"r104","n":66},"promises":[{"row":"p01","said":"2026-10-23","what":"post a video of the scale","due":null,"kept":false,"checks":[],"claims":[],"outcome":null}]},{"t":716,"goal":{"value":225,"loss":null,"deadline":null,"row":"w111"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88","w90","w111"],"diet":{"regime":"fasting","display":"Keto + IF + walking","row":"r104","n":66},"promises":[{"row":"p01","said":"2026-10-23","what":"post a video of the scale","due":null,"kept":false,"checks":[],"claims":[{"row":"SYNTH-c01","speaker":"madamsavvy","date":"2026-10-24","label":"I bought the 5 bags — where's the scale video?","synthetic":true}],"outcome":null}]},{"t":720.09,"goal":{"value":226.5,"loss":65,"deadline":"by Christmas","row":"w120"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88","w90","w111","w120"],"diet":{"regime":"fasting","display":"Keto + IF + walking","row":"r104","n":66},"promises":[{"row":"p01","said":"2026-10-23","what":"post a video of the scale","due":null,"kept":false,"checks":[],"claims":[{"row":"SYNTH-c01","speaker":"madamsavvy","date":"2026-10-24","label":"I bought the 5 bags — where's the scale video?","synthetic":true}],"outcome":null}]},{"t":722,"goal":{"value":226.5,"loss":65,"deadline":"by Christmas","row":"w120"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88","w90","w111","w120"],"diet":{"regime":"fasting","display":"Keto + IF + walking","row":"r104","n":66},"promises":[{"row":"p01","said":"2026-10-23","what":"post a video of the scale","due":null,"kept":false,"checks":[],"claims":[{"row":"SYNTH-c01","speaker":"madamsavvy","date":"2026-10-24","label":"I bought the 5 bags — where's the scale video?","synthetic":true}],"outcome":{"kind":"refunded","date":"2026-10-31","row":"SYNTH-o01","synthetic":true}}]},{"t":724.04,"goal":{"value":226.5,"loss":65,"deadline":"by Christmas","row":"w120"},"goals":["w02","w06","w08","w09","w11","w13","w16","w19","w22","w27","w29","w32","w40","w41","w44","w46","w50","w57","w61","w68","w69","w72","w77","w78","w85","w88","w90","w111","w120"],"diet":{"regime":"fasting","display":"Keto + IF + walking","row":"r104","n":66},"promises":[{"row":"p01","said":"2026-10-23","what":"post a video of the scale","due":null,"kept":false,"checks":["p02"],"claims":[{"row":"SYNTH-c01","speaker":"madamsavvy","date":"2026-10-24","label":"I bought the 5 bags — where's the scale video?","synthetic":true}],"outcome":{"kind":"refunded","date":"2026-10-31","row":"SYNTH-o01","synthetic":true}}]}],"totals":{"goals":29,"goalRepeats":{"lose 100":8},"diets":66,"peakDrift":[365.7,370,385,387,390]},"_fixture":"measure-extras test fixture: made by make-fixture.mjs from the lanes' synthetic measure slice (real ledger rows, fake cut times); SYNTHETIC rows SYNTH-c01 (a promiseClaim by madamsavvy) and SYNTH-o01 (a refunded promiseOutcome) added by addSyntheticPromiseRows"}
diff --git a/umtool/report-to-video/measure-extras.mjs b/umtool/report-to-video/measure-extras.mjs
@@ -328,13 +328,20 @@ export const PROMISE_SETTLE = 4;
/** The count-up to the render date: a day a step, over at most this long. */
export const PROMISE_COUNT_UP = 1.2;
+/** The promise outcomes the clock draws (CONTRACT addendum 2): kept stops the count; refunded and withdrawn do not. */
+export const PROMISE_OUTCOMES = Object.freeze(["kept", "refunded", "withdrawn"]);
+
/**
- * The promise clock's states: `{ at, rows: [{ row, what, said, days, to, kept,
- * check: { text, date } | null, fresh }], asOf }` (`to` the date the days are
- * counted to; one row, the latest promise) -- a state wherever a row's
- * days, its kept or its check changes; `fresh` marks the row whose check just
- * came in (it flashes). From the finale's start (else PROMISE_SETTLE after the
- * last event) the days count up to `measure.asOfRender`, a day a step.
+ * The promise clock's states: `{ at, rows: [row], asOf }`, one row (the latest
+ * promise): `{ row, what, said, days, to, kept, outcome: { kind, date } | null,
+ * claim: { speaker, date, paidOn } | null, word: { text, date, speaker, his } |
+ * null, fresh }` -- `to` the date the days are counted to, `claim` another
+ * party's (her) latest claim on it (CONTRACT addendum: "PAID 23 OCT BY
+ * @MadamSavvy"), `word` the latest words said about it -- his check, her
+ * claim, the outcome's -- `fresh` when they just came in (they flash). A state
+ * wherever any of that changes. From the finale's start (else PROMISE_SETTLE
+ * after the last event) the days count up to `measure.asOfRender`, a day a
+ * step -- unless it was kept: the count stops on the day it was.
*/
export function promiseStates(schedule, render) {
const m = measureOf(schedule);
@@ -343,30 +350,48 @@ export function promiseStates(schedule, render) {
const steps = stepsOf(m);
const first = steps.find(({ e }) => e.kind === "promise");
if (!first) return [];
- const byRow = new Map(m.events.filter((e) => e?.row).map((e) => [e.row, e]));
+ const byRow = new Map([...m.events, ...(m.hidden ?? [])].filter((e) => e?.row).map((e) => [e.row, e]));
const total = Number(schedule.total) || 0;
- const checkOf = (row) => {
- const e = byRow.get(row);
- if (!e) return null;
- const words = cfg.checks === "quote" ? e.quote || e.label : e.label || e.quote;
- return words ? { text: String(words).trim(), date: e.date ?? null } : null;
+ const wordsOf = (e) => {
+ const w = cfg.checks === "quote" ? e.quote || e.label : e.label || e.quote;
+ return w ? String(w).trim() : null;
+ };
+ // The latest words on each promise, in cut order (his checks, her claims, the outcome's).
+ const lastWord = new Map();
+ const outcomeOf = (p) => {
+ const o = isObj(p.outcome) && PROMISE_OUTCOMES.includes(p.outcome.kind) ? p.outcome : null;
+ return o ? { kind: o.kind, date: o.date ?? null } : p.kept === true ? { kind: "kept", date: null } : null;
};
- const rowsAt = (s, dateNow, freshCheck) => (Array.isArray(s?.promises) ? s.promises : [])
+ const rowsAt = (s, dateNow, freshRow) => (Array.isArray(s?.promises) ? s.promises : [])
.filter((p) => p && p.said)
.slice(-1)
.map((p) => {
const ev = byRow.get(p.row);
+ const outcome = outcomeOf(p);
+ const claims = Array.isArray(p.claims) ? p.claims.filter((c) => isObj(c)) : [];
+ const c = claims[claims.length - 1] ?? null;
+ // His checks named by the state (an older slice has no events for the words: the row's).
const checks = Array.isArray(p.checks) ? p.checks : [];
- const last = checks.length ? checkOf(checks[checks.length - 1]) : null;
+ let word = lastWord.get(p.row) ?? null;
+ if (!word && checks.length) {
+ const ce = byRow.get(checks[checks.length - 1]);
+ const text = ce ? wordsOf(ce) : null;
+ if (text) word = { row: ce.row, text, date: ce.date ?? null, speaker: ce.speaker ?? null, his: !ce.speaker };
+ }
+ // Kept stops the count on the day it was kept.
+ const stop = outcome?.kind === "kept" && outcome.date ? outcome.date : null;
+ const to = stop ?? (dateNow && dateNow > p.said ? dateNow : p.said);
return {
row: p.row,
what: cfg.label ?? ev?.display ?? p.what ?? "promise",
said: p.said,
- days: Math.max(0, daysBetween(p.said, dateNow) ?? 0),
- to: dateNow && dateNow > p.said ? dateNow : p.said,
- kept: p.kept === true,
- check: last,
- fresh: !!freshCheck && checks[checks.length - 1] === freshCheck,
+ days: Math.max(0, daysBetween(p.said, to) ?? 0),
+ to,
+ kept: outcome?.kind === "kept",
+ outcome,
+ claim: c ? { speaker: c.speaker ?? null, date: c.date ?? null, paidOn: c.paidOn ?? null } : null,
+ word: word ? { text: word.text, date: word.date, speaker: word.speaker, his: word.his, outcome: !!word.outcome } : null,
+ fresh: !!freshRow && word?.row === freshRow,
};
});
const out = [];
@@ -374,12 +399,16 @@ export function promiseStates(schedule, render) {
let lastSig = null;
let lastS = null;
for (const { e, s } of steps) {
- if (e.t < first.e.t) {
- if (e.date && (!dateNow || e.date > dateNow)) dateNow = e.date;
- continue;
- }
if (e.date && (!dateNow || e.date > dateNow)) dateNow = e.date;
- const fresh = e.kind === "promiseCheck" ? e.row : null;
+ if (e.t < first.e.t) continue;
+ let fresh = null;
+ if ((e.kind === "promiseCheck" || e.kind === "promiseClaim" || e.kind === "promiseOutcome") && e.promise) {
+ const text = wordsOf(e);
+ if (text) {
+ lastWord.set(e.promise, { row: e.row, text, date: e.date ?? null, speaker: e.speaker ?? null, his: !e.speaker || e.kind === "promiseCheck", outcome: e.kind === "promiseOutcome" });
+ fresh = e.row;
+ }
+ }
const rows = rowsAt(s, dateNow, fresh);
lastS = s;
if (!rows.length) continue;
@@ -398,16 +427,17 @@ export function promiseStates(schedule, render) {
const asOf = m.asOfRender;
if (asOf && from < total - 0.2) {
const base = rowsAt(lastS, dateNow, null);
- const target = base.map((r) => Math.max(0, daysBetween(r.said, asOf) ?? 0));
+ const target = base.map((r) => (r.kept && r.outcome?.date ? r.days : Math.max(0, daysBetween(r.said, asOf) ?? 0)));
+ const toOf = (r) => (r.kept && r.outcome?.date ? r.to : asOf);
const steps2 = Math.max(0, ...target.map((d, i) => d - base[i].days));
if (steps2 > 0) {
const n = Math.min(steps2, 30);
const dt = Math.min(PROMISE_COUNT_UP / n, 0.25);
for (let k = 1; k <= n; k += 1) {
- const rows = base.map((r, i) => ({ ...r, days: Math.round(r.days + ((target[i] - r.days) * k) / n), to: asOf, fresh: false }));
+ const rows = base.map((r, i) => ({ ...r, days: Math.round(r.days + ((target[i] - r.days) * k) / n), to: toOf(r), fresh: false }));
out.push({ at: r4(Math.min(total - 0.05, from + (k - 1) * dt)), rows, asOf: k === n });
}
- } else out.push({ at: r4(from), rows: base.map((r) => ({ ...r, to: asOf })), asOf: true });
+ } else out.push({ at: r4(from), rows: base.map((r) => ({ ...r, to: toOf(r), fresh: false })), asOf: true });
}
return out;
}
@@ -622,7 +652,7 @@ export function streakStates(schedule, render) {
export const MEASURE_BOXES = Object.freeze({
goals: Object.freeze({ width: 400, height: 330 }),
peak: Object.freeze({ width: 280, height: 470 }),
- promise: Object.freeze({ width: 620, height: 200 }),
+ promise: Object.freeze({ width: 640, height: 260 }),
diet: Object.freeze({ width: 440, height: 200 }),
streak: Object.freeze({ width: 620, height: 150 }),
});
diff --git a/umtool/report-to-video/measure-extras.test.mjs b/umtool/report-to-video/measure-extras.test.mjs
@@ -93,25 +93,48 @@ test("peak: a tick per telling of a start in the drift, a count per retelling, t
assert.deepEqual(spreadLabels([100, 104, 300], 30, 0, 400), [100, 130, 300]);
});
-test("promise: the days to the clip's in-record date, the check flashed, then counted on to the render date", () => {
+test("promise: the days to the clip's in-record date, her claim and the outcome, the words flashed, then counted on to the render date", () => {
const states = promiseStates(schedule(), RENDER);
- assert.deepEqual(states.map((s) => s.rows[0].days), [0, 8, 11, 12, 13]);
+ assert.deepEqual(states.map((s) => s.rows[0].days), [0, 1, 8, 8, 11, 12, 13]);
assert.equal(states[0].at, 712.18, "from the promise on");
- assert.equal(states[2].rows[0].fresh, true, "the check's state flashes");
- assert.match(states[2].rows[0].check.text, /pull up a video from three months ago/);
+ assert.equal(states[0].rows[0].what, "scale video");
+ assert.equal(states[0].rows[0].claim, null);
+ // Her claim (SYNTHETIC in the fixture): the counterparty, her words fresh, in her voice.
+ const c = states[1].rows[0];
+ assert.deepEqual(c.claim, { speaker: "madamsavvy", date: "2026-10-24", paidOn: null });
+ assert.deepEqual([c.word.speaker, c.word.his, c.fresh], ["madamsavvy", false, true]);
+ assert.match(c.word.text, /I bought the 5 bags/);
+ // The outcome (SYNTHETIC): refunded, and the count keeps running.
+ assert.deepEqual(states[3].rows[0].outcome, { kind: "refunded", date: "2026-10-31" });
+ assert.equal(states[3].rows[0].word.outcome, true);
+ assert.equal(states[4].rows[0].fresh, true, "his check flashes");
+ assert.equal(states[4].rows[0].word.his, true);
+ assert.match(states[4].rows[0].word.text, /pull up a video from three months ago/);
assert.equal(states.at(-1).asOf, true);
assert.equal(states.at(-1).rows[0].to, MEASURE.asOfRender);
- assert.equal(states[0].rows[0].what, "scale video");
- assert.equal(states[0].rows[0].kept, false);
+ assert.equal(states.at(-1).rows[0].kept, false);
// From the finale's start when there is one.
const fin = promiseStates(schedule(MEASURE, { finale: { from: 730, to: 740 } }), RENDER);
assert.equal(fin.at(-2).at, 730);
- // Kept: the row says so.
+ // Kept: green, and the count stops on the day it was kept.
const m = clone(MEASURE);
- for (const s of m.state) for (const p of s.promises ?? []) p.kept = true;
- assert.equal(promiseStates(schedule(m), RENDER)[0].rows[0].kept, true);
+ for (const s of m.state) for (const p of s.promises ?? []) if (p.outcome) p.outcome = { kind: "kept", date: "2026-10-31", row: "x" };
+ const kept = promiseStates(schedule(m), RENDER);
+ assert.equal(kept.at(-1).rows[0].kept, true);
+ assert.equal(kept.at(-1).rows[0].days, 8, "stopped on 31 Oct");
+ // An older slice's `kept: true` reads as kept.
+ const old = clone(MEASURE);
+ for (const s of old.state) for (const p of s.promises ?? []) { delete p.outcome; p.kept = true; }
+ assert.equal(promiseStates(schedule(old), RENDER)[0].rows[0].kept, true);
// The quote instead of the label.
- assert.match(promiseStates(schedule(), withDeck({ promise: { checks: "quote" } }))[2].rows[0].check.text, /brother just pull up/);
+ assert.match(promiseStates(schedule(), withDeck({ promise: { checks: "quote" } }))[4].rows[0].word.text, /brother just pull up/);
+ // The page: her handle (speakers), her picture when given, else a monogram; the refunded stamp.
+ const page = (o) => promiseHtml(schedule(), withDeck({ promise: { speakers: { madamsavvy: { handle: "MadamSavvy" } } } }), { fonts: {}, ...o }).html;
+ assert.match(page(), /by <b style="color:#E37AB8">@MadamSavvy<\/b>/);
+ assert.match(page(), /class="av mono"[^>]*>M</);
+ assert.match(page({ avatars: { madamsavvy: "assets/avatar-madamsavvy.jpg" } }), /<img class="av" src="assets\/avatar-madamsavvy.jpg"/);
+ assert.match(page(), /<div class="sw">Refunded<\/div><div class="ss">by 31 Oct · no video<\/div>/);
+ assert.match(page(), /@MadamSavvy<\/b> reads/);
});
test("diet: a stamp per change of regime or number, words alone not slammed, a null after one is No diet", () => {
@@ -219,6 +242,8 @@ test("settings: true/false or an object of the module's own keys, refused by nam
assert.match(validateMeasureExtra("peak", { position: "middle" })[0], /position must be/);
assert.match(validateMeasureExtra("peak", { x: 10 }).join(), /x and \.y are set together/);
assert.match(validateMeasureExtra("promise", { checks: "both" })[0], /checks must be "label" or "quote"/);
+ assert.deepEqual(validateMeasureExtra("promise", { speakers: { madamsavvy: { handle: "@MadamSavvy", color: "#ff00aa" } }, claimVerb: "bought" }), []);
+ assert.match(validateMeasureExtra("promise", { speakers: { madamsavvy: { name: "x" } } })[0], /speakers\.madamsavvy\.name is not a speaker setting/);
assert.match(validateMeasureExtra("diet", { colors: { keto: "orange" } })[0], /colors\.keto must be a #hex colour/);
assert.match(validateMeasureExtra("diet", 3)[0], /must be true, false or/);
assert.equal(resolveMeasureExtra("goals", withDeck({ goals: false })), null);
diff --git a/umtool/report-to-video/modules/measure-extras-module.mjs b/umtool/report-to-video/modules/measure-extras-module.mjs
@@ -30,7 +30,8 @@ const commonUi = (id) => [
*
* @param {{ id: "goals" | "peak" | "promise" | "diet", z: number, title: string, summary: string,
* states: (schedule: any, render: any) => any[], html: (schedule: any, render: any, opts: any) => { html: string, items: any[] },
- * ui?: any[], docs: { intro: string, rows: string[][] }, needs: string }} spec
+ * ui?: any[], docs: { intro: string, rows: string[][] }, needs: string,
+ * pageOpts?: (ctx: any) => Promise<Record<string, any>> }} spec
*/
export function measureExtraModule(spec) {
const { id } = spec;
@@ -64,7 +65,8 @@ export function measureExtraModule(spec) {
const display = ctx.render.fontDisplay
? await ctx.asset(ctx.render.fontDisplay, `MeasureDisplay${path.extname(ctx.render.fontDisplay) || ".ttf"}`).catch(() => null)
: null;
- return spec.html(ctx.schedule, ctx.render, { fonts: { ...fonts, ...(display ? { display } : {}) }, from: ctx.from, duration: ctx.duration });
+ const extra = spec.pageOpts ? await spec.pageOpts(ctx) : {};
+ return spec.html(ctx.schedule, ctx.render, { ...extra, fonts: { ...fonts, ...(display ? { display } : {}) }, from: ctx.from, duration: ctx.duration });
},
regions(schedule, { render, outDir, frames = null }) {
return [assertRegion({
diff --git a/umtool/report-to-video/modules/measure-extras-settings.mjs b/umtool/report-to-video/modules/measure-extras-settings.mjs
@@ -7,7 +7,7 @@
//
// render.chrome.deck.goals { show, position, x, y, scale, hold, finale, max, color, countdown }
// render.chrome.deck.peak { show, position, x, y, scale, hold, finale, title, color, values }
-// render.chrome.deck.promise { show, position, x, y, scale, hold, finale, label, verb, kept, broken, checks }
+// render.chrome.deck.promise { show, position, x, y, scale, hold, finale, label, verb, kept, broken, checks, speakers, claimVerb, claimColor }
// render.chrome.deck.diet { show, position, x, y, scale, hold, finale, colors, labels }
// render.chrome.deck.streak { show, position, x, y, scale, hold, finale, source, axis, title, color, colors, labels }
//
@@ -83,7 +83,12 @@ export const MEASURE_DEFAULTS = Object.freeze({
// The moving start: up for `hold` seconds after each retelling.
peak: Object.freeze({ ...COMMON, position: "top-right", hold: 12, title: "The start keeps moving", color: null, values: "drift" }),
// The promise clock: up from the promise on, through the finale.
- promise: Object.freeze({ ...COMMON, position: "top-center", finale: "show", label: null, verb: "offered", kept: "Posted", broken: "None posted", checks: "label" }),
+ // Another party on it (her claims: CONTRACT addendum): `speakers` names each
+ // by ledger speaker -- `{ madamsavvy: { handle: "MadamSavvy", color } }` -- the
+ // handle also finding her picture in the manifest's postAvatars (else a
+ // monogram); `claimVerb` is what her claim says she did; `claimColor` her ink.
+ promise: Object.freeze({ ...COMMON, position: "top-center", finale: "show", label: null, verb: "offered", kept: "Posted", broken: "None posted", checks: "label",
+ speakers: Object.freeze({}), claimVerb: "paid", claimColor: "#E37AB8" }),
// The diet badge: up from the first diet on, re-stamped at every change.
diet: Object.freeze({ ...COMMON, position: "bottom-left", colors: Object.freeze({}), labels: Object.freeze({}) }),
// The streak chain: bottom-centre, between the diet badge and the goal
@@ -174,6 +179,21 @@ export function validateMeasureExtra(id, v, where = `render.chrome.deck.${id}`)
if (id === "promise") {
for (const k of ["label", "verb", "kept", "broken"]) text(v[k], L.text, `${where}.${k}`, errors, { nullable: k === "label" });
if (v.checks !== undefined && !PROMISE_CHECKS.includes(v.checks)) errors.push(`${where}.checks must be "label" or "quote"`);
+ text(v.claimVerb, L.text, `${where}.claimVerb`, errors, { nullable: false });
+ color(v.claimColor, `${where}.claimColor`, errors);
+ if (v.speakers !== undefined) {
+ if (!isObj(v.speakers)) errors.push(`${where}.speakers must be { <speaker>: { handle, color } }`);
+ else {
+ for (const [k, x] of Object.entries(v.speakers)) {
+ const at = `${where}.speakers.${k}`;
+ if (!/^[a-z0-9][a-z0-9_.-]{0,63}$/i.test(k)) { errors.push(`${at} is not a speaker key`); continue; }
+ if (!isObj(x)) { errors.push(`${at} must be { handle, color }`); continue; }
+ for (const kk of Object.keys(x)) if (!["handle", "color"].includes(kk)) errors.push(`${at}.${kk} is not a speaker setting (handle, color)`);
+ if (x.handle !== undefined && !(typeof x.handle === "string" && /^@?[A-Za-z0-9_.-]{1,64}$/.test(x.handle))) errors.push(`${at}.handle must be a handle`);
+ color(x.color, `${at}.color`, errors);
+ }
+ }
+ }
}
if (id === "streak") {
if (v.source !== undefined && !STREAK_SOURCES.includes(v.source)) errors.push(`${where}.source must be ${STREAK_SOURCES.map((x) => `"${x}"`).join(", ")}`);
diff --git a/umtool/report-to-video/modules/promise.mjs b/umtool/report-to-video/modules/promise.mjs
@@ -5,10 +5,40 @@
// Drawn over the finale by default (z 95). Read off the schedule's measure
// slice (`render.chrome.deck.promise`; measure-extras.mjs promiseStates,
// chrome-measure-extras.mjs promiseHtml).
+import path from "node:path";
+
import { promiseHtml } from "../chrome-measure-extras.mjs";
-import { promiseStates } from "../measure-extras.mjs";
+import { measureOf, promiseStates } from "../measure-extras.mjs";
+import { avatarEntryOf } from "../post-avatars.mjs";
import { measureExtraModule } from "./measure-extras-module.mjs";
-import { PROMISE_CHECKS } from "./measure-extras-settings.mjs";
+import { PROMISE_CHECKS, resolveMeasureExtra } from "./measure-extras-settings.mjs";
+
+/**
+ * The other speakers on a promise (her claims, an outcome she reports): each
+ * one's handle -- `promise.speakers[k].handle`, else the manifest's postAvatars
+ * key that matches -- and her picture from postAvatars, copied in beside the
+ * page. None found: the page draws a monogram.
+ */
+async function speakerOpts(ctx) {
+ const m = measureOf(ctx.schedule);
+ const cfg = resolveMeasureExtra("promise", ctx.render);
+ const speakers = new Set();
+ for (const e of m?.events ?? []) if (e?.speaker && (e.kind === "promiseClaim" || e.kind === "promiseOutcome")) speakers.add(e.speaker);
+ for (const s of m?.state ?? []) for (const p of s?.promises ?? []) for (const c of p?.claims ?? []) if (c?.speaker) speakers.add(c.speaker);
+ const handles = {};
+ const avatars = {};
+ for (const sp of speakers) {
+ const want = cfg?.speakers?.[sp]?.handle ?? sp;
+ const entry = avatarEntryOf(ctx.manifest, want) ?? avatarEntryOf(ctx.manifest, sp);
+ handles[sp] = String(cfg?.speakers?.[sp]?.handle ?? entry?.[0] ?? sp).replace(/^@/, "");
+ if (entry?.[1]?.src && ctx.manifestDir) {
+ const src = path.resolve(ctx.manifestDir, entry[1].src);
+ const url = await ctx.asset(src, `avatar-${sp.replace(/[^A-Za-z0-9_-]/g, "_")}${path.extname(src) || ".jpg"}`).catch(() => null);
+ if (url) avatars[sp] = url;
+ }
+ }
+ return { handles, avatars };
+}
export default measureExtraModule({
id: "promise",
@@ -17,6 +47,7 @@ export default measureExtraModule({
summary: "Days since a promise -- to the clip on screen, then to the render date -- with each check's words and whether it was kept.",
states: promiseStates,
html: promiseHtml,
+ pageOpts: speakerOpts,
needs: "a promise row",
ui: [
{ key: "label", type: "text", label: "What was promised (default the row's display)" },
@@ -24,14 +55,18 @@ export default measureExtraModule({
{ key: "kept", type: "text", label: "Kept", default: "Posted" },
{ key: "broken", type: "text", label: "Not kept", default: "None posted" },
{ key: "checks", type: "enum", options: PROMISE_CHECKS, label: "A check's words", default: "label" },
+ { key: "claimVerb", type: "text", label: "What her claim says she did", default: "paid" },
+ { key: "claimColor", type: "color", label: "Her ink (another speaker's claims)", default: "#E37AB8" },
+ { key: "speakers", type: "object", label: "Speakers ({madamsavvy: {handle: \"MadamSavvy\", color: \"#E37AB8\"}})" },
],
docs: {
- intro: "A days-since counter for a promise (`render.chrome.deck.promise`, measure-extras.mjs), from the promise's event on: \"SCALE VIDEO OFFERED 23 OCT\", the days from the day he said it to the in-record date of the latest event on screen, and \"NONE POSTED\" in red until a row says it was kept (\"POSTED\", green). Each promise check's words come in under it with a flash (`checks`: the row's `label`, or its transcript `quote`). From the finale's start -- else 4 s after the last event -- the days count on, a day a step, to `measure.asOfRender`. Laid over the finale (z 95) unless `finale: \"hide\"`.",
+ intro: "A days-since counter for a promise (`render.chrome.deck.promise`, measure-extras.mjs), from the promise's event on: \"SCALE VIDEO OFFERED 23 OCT\", the days from the day he said it to the in-record date of the latest event on screen, and \"NONE POSTED\" in red until a row says it was kept (\"POSTED\", green). Each promise check's words come in under it with a flash (`checks`: the row's `label`, or its transcript `quote`). From the finale's start -- else 4 s after the last event -- the days count on, a day a step, to `measure.asOfRender`. Another party on the promise (CONTRACT addendum: a ledger row with a `speaker`, a `promise_claim`) shows under the header -- \"PAID 23 OCT BY @MadamSavvy\" (`claimVerb`, her `paidOn` else the claim's date), with her picture from the manifest's `postAvatars` (`umtool posts avatar`; else a monogram) -- and her words flash under the clock in her ink (`claimColor`, or `speakers.<k>.color`), his in amber. An outcome (`promise_outcome`) is drawn too: `refunded` slams on a stamp \"REFUNDED · by 31 Oct · no video\" while the days keep counting to the render date, `withdrawn` likewise in grey, `kept` turns it green (\"POSTED\") and stops the count on the day. Laid over the finale (z 95) unless `finale: \"hide\"`.",
rows: [
["`deck.promise`", "`true` · `false` · `{show, position, x, y, scale, hold, finale, label, verb, kept, broken, checks}` · default on with a measure slice", "`umtool look <p> deck.promise=false`"],
["`deck.promise.position`, `.x`/`.y`, `.scale`", "an anchor in the footage box · design px · 0.5–2 · default `top-center`, unset, 1", "`umtool look <p> deck.promise.position=bottom-center`"],
["`deck.promise.hold`, `.finale`", "null (stays up) or 2–600 s · `hide` `show` · default null, `show`", "`umtool look <p> deck.promise.finale=hide`"],
["`deck.promise.label`, `.verb`, `.kept`, `.broken`, `.checks`", "≤40 each · `label` `quote` · default the row's display, \"offered\", \"Posted\", \"None posted\", `label`", "`umtool look <p> deck.promise.label='scale video'`"],
+ ["`deck.promise.speakers`, `.claimVerb`, `.claimColor`", "`{<speaker>: {handle, color}}` · ≤40 · #hex · default `{}` (the postAvatars handle), \"paid\", #E37AB8", "`umtool look <p> deck.promise.speakers='{\"madamsavvy\":{\"handle\":\"MadamSavvy\"}}'`"],
],
},
});