Fix what the independent review of Phase 12 found, and close the phase
ci / test (postgres) (push) Successful in 7m31s
ci / test (sqlite) (push) Successful in 6m0s
ci / test (postgres) (pull_request) Successful in 7m15s
ci / test (sqlite) (pull_request) Successful in 6m8s
ci / image (push) Successful in 1m45s
ci / image (pull_request) Successful in 1m6s
ci / test (postgres) (push) Successful in 7m31s
ci / test (sqlite) (push) Successful in 6m0s
ci / test (postgres) (pull_request) Successful in 7m15s
ci / test (sqlite) (pull_request) Successful in 6m8s
ci / image (push) Successful in 1m45s
ci / image (pull_request) Successful in 1m6s
- A flat window has no z-score even when its mean misses the common value by one rounding step (it gave a meaningless z of about 0.995). - A broken ECB history (a maintenance page, a cut download, a damaged cached copy) is refused in Italian instead of crashing `data ecb`, and a download is checked and moved into place in one step, so it never replaces the good copy. - A fixed time zone with 60 or more minutes is refused instead of being read as the next hour. - `data fx` says why when every bar of the file falls outside the market week. ADR 0028 records the choices of the phase; ROADMAP and STATE mark it done. refs #118, refs #119, refs #120, refs #121 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2a96e08d5a
commit
8d02d02876
10 files changed
+209
-21
No files matched your search
@@ -54,6 +54,9 @@ public sealed class BasketSignalTests
|
||||
// Fewer than W values, a flat window or a missing value: no z.
|
||||
Assert.IsNull(BasketIndex.ZScore(index, 3, window: 5));
|
||||
Assert.IsNull(BasketIndex.ZScore([5, 5, 5, 5, 5], 4, window: 5));
|
||||
// A flat window of a value with no exact binary form: its mean misses by one rounding step, still no z.
|
||||
Assert.IsNull(BasketIndex.ZScore(Enumerable.Repeat(10856.1, 100).ToArray(), 99));
|
||||
Assert.IsNull(BasketIndex.ZScore(Enumerable.Repeat(0.1, 100).ToArray(), 99));
|
||||
Assert.IsNull(BasketIndex.ZScore([1, 2, double.NaN, 4, 5], 4, window: 5));
|
||||
Assert.AreEqual(100, BasketIndex.DefaultWindow);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user