IdeaCredIdeaCred

or4k2l/THUNBIT

69

Demand-regime instability detection for daily SKU demand series with STABLE / DRIFT / SHIFT state outputs.

What's novel

THUNBIT is an experimental detector for demand-regime instability in daily SKU-level demand series. It is not a forecasting model, not production-ready, and has not been formally validated on real-world data. In Cooperation whith AI.

Code Analysis

11 files read · 5 rounds

Detects regime changes (STABLE/DRIFT/SHIFT) in daily SKU-level demand series by combining KS-test, variance, and autocorrelation evidence into a confidence score, then applying a calibrated state machine with baseline-normalized scoring to reduce false alerts.

Strengths

Exceptionally honest documentation that explicitly states limitations (unsolved false-alert problem, synthetic-only validation, manual parameter calibration), combined with a well-structured progressive refinement chain (V4→V4.5) that clearly documents trade-offs at each iteration. Input validation is thorough and the state machine logic is clean and well-documented.

Weaknesses

The core statistical methods (KS test, variance ratio, ACF change) are standard and the combination is straightforward; the real innovation is in the calibration/normalization layer which is still acknowledged as unsolved. All validation is on synthetic data with manually tuned parameters, and the six detector variants share significant code duplication in their rolling detection loops rather than composing shared logic.

Score Breakdown

Innovation
6 (25%)
Craft
68 (35%)
Traction
2 (15%)
Scope
65 (25%)

Signal breakdown

Innovation

Not Fork+1
Code Novelty+1
Concept Novelty+2

Craft

Ci-1
Tests+3
Polish+2
Releases+3
Has License+5
Code Quality+24
Readme Quality+15
Recent Activity+7
Structure Quality+5
Commit Consistency+0
Has Dependency Mgmt+5

Traction

Forks+0
Stars+0
Hn Points+0
Watchers+0
Early Traction+0
Devto Reactions+0
Community Contribs+2

Scope

Commits+7
Languages+5
Subsystems+5
Bloat Penalty+0
Completeness+7
Contributors+6
Authored Files+8
Readme Code Match+3
Architecture Depth+3
Implementation Depth+8

Evidence

Commits

31

Contributors

2

Files

20

Active weeks

1

TestsCI/CDREADMELicenseContributing

Repository

Language

Python

Stars

0

Forks

0

License

Apache-2.0