Default window 2 weeks (1-week option added) on the site, best week and what-if; new-song backtest takes the window (--w, default 2)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+2
-1
@@ -116,7 +116,8 @@ pub fn run(db: &Db, p: &Panel, max_h: usize, show_h: usize) -> Result<Vec<Line>>
|
||||
let rot = Rot::new(p, &tau);
|
||||
// The release-event model ("if they release a new song, will DR add it?"), the same for every
|
||||
// window start: the artist's state now, the new song's NMF placement blended from history.
|
||||
let ev = AddModel::fit_events_site(p, &rot, p.w() - 1);
|
||||
// The site's default: added within 2 weeks of the release.
|
||||
let ev = AddModel::fit_events_pooled(p, &rot, p.w() - 1, 2);
|
||||
let t0 = p.w() - 1;
|
||||
// A new song released in week t0+h+1: time-since features moved forward to then; none if too
|
||||
// soon after the artist's last release.
|
||||
|
||||
Reference in New Issue
Block a user