Daily job parses new rotation lists and refits thresholds before ranking; fix backfill wait loop (pgrep -f matched its parent shell); NMF runs inside backfill.sh

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-15 03:05:05 +00:00
co-authored by Claude Opus 5.5
parent 5b5374f0da
commit 33a3c3f2e5
5 changed files with 100 additions and 103 deletions
+3 -2
View File
@@ -3,7 +3,7 @@
//!
//! airplay model panel what the panel holds
//! airplay model backtest [--h 1,4,8] [--refit 1] [--out docs/BACKTEST.md]
//! airplay model calibrate rotation thresholds from DR's lists -> docs/CALIBRATION.md
//! airplay model calibrate [--out docs/CALIBRATION.md] rotation thresholds from DR's lists
//! airplay model ifpi the 20-year IFPI test bed -> docs/IFPI.md
//! airplay model adds [--h 0,4] [--out docs/BACKTEST-ADDS.md] backtest of the new-add model
//! airplay model rank [--h 4] [--max-h 12] [--top 50]
@@ -64,7 +64,8 @@ pub fn run(db: &Db, args: &[String]) -> Result<()> {
}
Some("calibrate") => {
let md = calibrate::run(db, &p)?;
std::fs::write("docs/CALIBRATION.md", &md)?;
// The daily job runs this too; only write the report into the repo when asked.
if let Some(out) = arg(args, "--out") { std::fs::write(out, &md)?; }
print!("{md}");
}
Some("adds") => {