#!/bin/sh
# [2026-10-28] after the pattern scorecard: the 2-year stock-board test (two halves), then the summary
cd /var/www/screener/trade/reports/ev3
until grep -q PSUMMARY_DONE pattern_score.log 2>/dev/null; do sleep 120; done
nice -n 10 python3 board_test.py 2024-10-01..2025-09-30 board_y1.jsonl > board_y1.log 2>&1 &
nice -n 10 python3 board_test.py 2025-10-01..2026-10-27 board_y2.jsonl > board_y2.log 2>&1 &
wait
nice -n 10 python3 board_test.py summary board_y1.jsonl board_y2.jsonl > board_test.log 2>&1
