Files
andrew 4bcd242dd3 feat(services,weight): split count/weight services, day-0 cycle handling, disable step-function GBM
- services: separate 08:00 counting and 06:00 weighing systemd units/timers,
  run_daily_counting.sh / run_daily_weighing.sh, install_service.sh update
- dashboard: guard /api/weight/coops against rows without weight data
- sim/day-0: CYCLE_START_DATE 2026-10-01 (day 0 = DOC arrival, counts only);
  consolidation skips cycle_day 0 artifacts (storage.py guard)
- weight: predict_chicken_weight(use_gbm=False) default. Retrained joblib
  (LGBM, 14:26) predicts a step function of cycle_day only (108.1 g days 1-5,
  140.1 g days 6-8, zero sensitivity to camera area); fallback Gompertz +
  allometric blend restored, varies per camera/day (37.2-115.7 g over days 1-7).
  Re-enable only after model retrained on early-day morphometry with
  features_dict/volumetric wired (see ponytail comment in growth_model.py).
  Covered by new tests/test_growth_model_gbm.py
- models/scripts: retraining tooling (train_weight_model.py,
  train_c23_focused_model.py), retrained joblib, historical_weights_avg.csv
- configs/template/requirements: cycle7 batch yamls, index.html, deps
- data: db/chicken_counts.db + reports refreshed from 2026-10-01..08 rerun

Tests: PYTHONPATH=src python3 -m unittest discover -s tests -p "test_*.py"
-> Ran 51, 49 pass. 2 pre-existing failures unchanged from baseline
(61ca7c2): fusion n_valid_samples 59!=98, consolidate fixture (day-0 date
conflicts with day-0 skip).
2026-10-08 17:02:21 +07:00

10 lines
183 B
SYSTEMD

[Unit]
Description=Timer for Daily Automated Chicken Counting & Weighing Batch Runner (08:00 WIB)
[Timer]
OnCalendar=*-*-* 08:00:00
Persistent=true
[Install]
WantedBy=timers.target