GeezerVison is showing github.com — feat(quota-plane): stage-3 S2 — forecast accuracy ledger + backtest harness (#12696) by dezren39 · Pull Request #12733 · developing-today/code
Conversation
dezren39
commented
Nov 23, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…arness (#12696)
Replay the aggregator snapshot store through the v1 pace forecast
(quota-analytics projectWindow, design D2) exactly as S1 publishes
it, score every issued forecast against its reset period's realized
outcome (wall-before-reset precision/recall, projected-vs-realized
wall error distribution, first-call lead), and publish the per
pool/window baselines as the accuracy ledger the S7 weekly review
reads. The serviceId rename-join is an explicit mapping table in
code (design §2). Unscoreable pool/windows are named with reasons —
never scored as accurate.
Committed command: bun run backtest:quota-forecast -- --store-dir <dir>
…ries fold, render rollup reasons
A reset period that has already walled has a realized outcome even
when its reset is still ahead of asOf — score it; a period neither
walled nor reset stays open and unscored. Points after asOf are
never read. The series fold is now S1's forecastSeriesKey imported
(#12695 landed as PR #12724), so the backtest join and the product
join are one function. Report: pool rollup rows show total TP and
unscoreable pools print their reasons.
Warning
Review limit reached
You'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 37 minutes.
Check out review usage here.
View limit details
-
Limit details: You’ve used the included review currently available.
Learn how review limits work.
Review configuration:
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
723943ca-f855-400c-9ce0-53d560e3920f
Commits
-
Reviewing files that changed from the base of the PR and between 1a2370d and c3df074.
Files selected for processing: 5
-
pm-stack/aggregator/package.json
pm-stack/aggregator/scripts/quota-forecast-backtest.ts
pm-stack/aggregator/src/quota-forecast-accuracy.test.ts
pm-stack/aggregator/src/quota-forecast-accuracy.ts
pm-stack/aggregator/test/quota-forecast-backtest-argv.test.ts
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
Share
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.