GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — feat(aggregator): day-type sample-sufficiency re-measure for C4.3 (#13259) by dezren39 · Pull Request #13290 · developing-today/code Conversation
|
| grain | admitted | max samples |
|---|---|---|
| weekday | 0 / 441 | 4 |
| dayclass | 12 / 126 | 14 |
| daypart | 39 / 252 | 15 |
| weekday-daypart | 0 / 1764 | 4 |
51 cells admitted, all at the coarse grains (daypart 39; dayclass-weekday 12 — no weekend cell admitted anywhere). Weekday and weekday×daypart cells sit at most 4 samples — half the gate — because per pool/window the gatherer-era series covers 19 or fewer distinct Chicago dates even in the densest pool. The adjustment slice (criterion 2) is thereby scoped to the admitted cells, and its earn-in (criterion 3) remains ahead; #13259 stays open on those.
bun test on the new suite (10/10) plus the neighbouring quota suites (quota-forecast-accuracy, quota-forecast, backtest argv) — 41/41 pass; strict scoped tsc clean on the new files.{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-23T12:56:31Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": null,
"model": null,
"lane_start_issues": [],
"workspace_ref": null,
"auth_subject": "archer",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…3259) The C4 design §5 admits a day-type adjustment for a cell only when the cell holds >=8 independent samples; below the gate the state is adjustment_unavailable. Stage-3 deferred the models at ~4-5 samples per weekday (33 days of store history); C4.3 re-measures first. - src/quota-daytype-sufficiency.ts: counts independent samples (distinct America/Chicago dates with >=1 reading) per pool/window over the design grain ladder — weekday, dayclass, daypart, weekday-daypart — over the same rename-joined percent series the S2 harness scores, and renders the report. - scripts/quota-daytype-sufficiency.ts (+ package.json script measure:daytype-sufficiency): the re-measure as a command over the live snapshot store, strict #3352 argument contract. - Tests name their oracles: the §5 gate, the Stage-3 §2 arithmetic reproduced (33 days => 4-5 per weekday, no weekday cell admitted), the §4 Chicago calendar, the §2 rename join. Live re-measure (2026-11-23, 20,979 records, 63 pool/windows, 2,583 cells): 51 cells admitted — all at the coarse grains (daypart 39, dayclass-weekday 12); weekday and weekday-daypart grains admit none (max 4 samples). The measurement is recorded on #13259; the issue stays open on its adjustment + earn-in criteria.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 56 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Here are some automated review suggestions for this pull request.
Reviewed commit: cd6dd77cf4
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| for (const pool of [...index.keys()].sort()) { | ||
| const series = index.get(pool) as SnapshotRecord[]; |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Aggregate sub-id history into the forecast pool before counting
When a pool's history spans its bare service ID and sub-IDs, this loop measures each indexed key separately instead of measuring the series used by the forecast and S2 harness. For example, meta:high-usage indexes as meta.highusage, but quota-forecast-accuracy.ts::pointsForWindow(index, "meta", window) includes both meta and meta.* records; its existing rename-join test explicitly verifies this behavior. Four distinct Fridays under each spelling therefore give the forecast pool eight samples, while this measurement reports two unavailable four-sample cells. Assemble each canonical forecast pool's history using the same sub-ID acceptance as pointsForWindow before applying the sufficiency gate, so the admission decision covers the series the adjustment will actually use.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🤖 Dispatch record — Lane WF The remote dispatch of the test command (fleet-personal, run 45178649021) completed as a failure at the "Execute target command" step — the fleet-build container environment (the flag-held #13159 family: the container has no bun on PATH, the same failure Lane UT's dispatch recorded today). An environment failure is not a test result. The verifying route is the laptop run, executed against this exact head: new suite 10/10, neighbouring quota suites 41/41 in total, strict scoped |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.