You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
IncrementalUpdater and ProviderUpdater still mix adjustment bases after #165 #167
Follow-up to #163, which #165 closed. #165 keeps the ml4t-data update / DataManager.update path on one adjustment basis. Two other merge paths still splice old and restated adjusted prices:
IncrementalUpdater with UpdateStrategy.INCREMENTAL and APPEND_ONLY merges new rows that restate stored ones without refreshing the earlier history.
ProviderUpdater leaves stored rows before the overlap on the old basis.
Failing tests and their output against #165's head are in #165 (comment). Branch fix/update-adjustment-basis (b31b0ea, based on a367050, before #165) fixes all three paths. When only the last stored bar changed, it refreshes incrementally instead of refetching the full history, since that bar may have been stored before its session closed.
Decision (maintainer, 2026-11-25): consolidate into one follow-up PR on current main. Keep #165's behavior and its coverage verification (an incomplete full response leaves the store unchanged). Add the IncrementalUpdater and ProviderUpdater fixes and their regressions from that branch, then delete the branch.
Verified on current main and v0.4.0 (f6f86d4). The original test file from the linked comment reproduced 6 failures and 4 passes on b0f80ed. All 10 of those tests pass on f6f86d4, together with all 15 repository adjustment regressions. They cover INCREMENTAL and APPEND_ONLY refusing an unsafe partial restatement, ProviderUpdater rebuilding history on the current basis, preservation on incomplete coverage, and the last-bar-only update staying incremental. PR #165 integrated b31b0ea via 89e3e55 before it merged at 35bd07f. The contributor history remains reachable from refs/pull/165/head, and the finished branch has been removed. Closing as already fixed in 0.4.0.
Activity
stefan-jansen commentedon Nov 26, 2026
Verified on current main and v0.4.0 (f6f86d4). The original test file from the linked comment reproduced 6 failures and 4 passes on b0f80ed. All 10 of those tests pass on f6f86d4, together with all 15 repository adjustment regressions. They cover INCREMENTAL and APPEND_ONLY refusing an unsafe partial restatement, ProviderUpdater rebuilding history on the current basis, preservation on incomplete coverage, and the last-bar-only update staying incremental. PR #165 integrated b31b0ea via 89e3e55 before it merged at 35bd07f. The contributor history remains reachable from refs/pull/165/head, and the finished branch has been removed. Closing as already fixed in 0.4.0.