Chess broadcasts got a human eval bar this week. Babies deserve one too. Sleep charts judge a nap by the wake window alone. NapBar adds the context the charts ignore, and shows you both bars.
Both bars are logistic models fitted on 80,000 synthetic nap attempts
generated from stated rules (model.py in the repo). The chart model sees only
how far the wake window sits from the 2.5 hour ideal for a one-year-old. The reality model
sees that plus eight context inputs. The fitted weights came back close to the rules the
data was generated from, which is the sanity check, not the discovery.
Honest limits: this is a toy built in an afternoon on synthetic data. No real babies were logged, and your baby has never once read a sleep chart. The claim is narrow and, I think, true well beyond naps: a score that ignores the context around a decision will keep surprising the people who trust it.