Skip to content

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 12 Nov 15:22
· 64 commits to main since this release
a6e5514

[0.4.0] — 2026-11-12

Better signals: count what users were actually shown, and see whether an item is getting better or worse. Run php artisan migrate.

Added

  • Impressions (opt-in 'impressions' => true): every item served in a page is counted (lifetime + per day) with atomic bulk increments; stats() and QualityBooster then rate items by positive ÷ impressions
  • Quality over time: rec_item_daily keeps per-day positive / exposure / impressions; Recommender::stats($feed, $items, days: 7) and recommendationStats($feed, 7); the dashboard's trending table shows 7-day quality with ▲ / ▼ against 30 days
  • Migration add_impressions_and_daily_scores (impressions, last_shown_at columns and the rec_item_daily table)

Changed

  • rebuild-scores resets event-derived scores instead of deleting rows, so impressions survive a rebuild
  • prune also removes daily rows past retention and keeps items that are still being shown