Repository navigation
Commit fcf0da2
#3198 deliberately stopped excluding uncalibrated Codex plans from the pool
capacity estimate: a plan name the weight map does not list now counts at the
baseline seat weight, because exclusion silently overstated the coverage an
operator was reading. It updated provider-capacity.test.ts and the GUI tests,
but tests/provider-quota.test.ts kept one test asserting the old exclusion
shape, so it has failed deterministically on every clean dev checkout since —
expecting the malformed-plan account to be dropped (weekly 11, excluded 1,
incomplete) where the new contract blends it at baseline (weekly 44, both
included, complete coverage).
A malformed non-string plan such as `{ tier: "pro" }` is not a separate axis:
codexPlanKey normalizes it to undefined exactly like an unlisted name (the
tolerance 095a9a5 established), and #3198 routes every undefined key to the
baseline weight. Re-splitting malformed from unknown here would reintroduce the
distinction #3198 just collapsed, so the test moves to the new contract instead;
`unknownPlanAccounts` still records the seat, which is the observable the test's
cache half already pins.
Co-authored-by: Claude Fable 5 <[email protected]>
1 parent 55400ef commit fcf0da2
1 file changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1858 | 1858 | | |
1859 | 1859 | | |
1860 | 1860 | | |
| 1861 | + | |
| 1862 | + | |
| 1863 | + | |
| 1864 | + | |
| 1865 | + | |
| 1866 | + | |
1861 | 1867 | | |
1862 | 1868 | | |
1863 | 1869 | | |
| |||
1886 | 1892 | | |
1887 | 1893 | | |
1888 | 1894 | | |
1889 | | - | |
| 1895 | + | |
| 1896 | + | |
| 1897 | + | |
1890 | 1898 | | |
1891 | | - | |
1892 | | - | |
| 1899 | + | |
| 1900 | + | |
1893 | 1901 | | |
1894 | | - | |
| 1902 | + | |
1895 | 1903 | | |
1896 | 1904 | | |
1897 | 1905 | | |
| |||
0 commit comments