mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-10 21:07:15 +01:00
tool/coach_live_check.sh starts the real Relay (lane, backend, HTTP API, phone mirror) on a free loopback port, never 8777, with claude, Firebase, LeetCode, Ollama and Anki faked and every file under a temp dir (_live_relay.py), then drives it through WrapperServer's /coach/* proxy with WrapperCoachTransport (coach_live_check.dart): - flow: start, step-1 partial then pass, a chat turn, code refused before step 2, three step-2 fails via toolbox, a force, an unknown and an over-long pick (bad_request), an also_accepted pass, run_code, end, not_live after it; 404 for an unknown rid. - slow: a 35 s coach turn through a 30 s proxy timeout answers, with heartbeat.busy naming the rid and every poll under 2 s. The flow's raw answers are committed as test/fixtures/coach_relay/ and parsed by relay_fixtures_test.dart, so the models are checked against what the relay sends, not what the fake's author believed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| leetcode_coach | ||