|
Some checks failed
tests / model-free (pull_request) Has been cancelled
Two session models shared one process. `/v1/*` and `/v1/stream` are the live one; `/api/sessions*` and `/api/compare_live_vs_still` were the earlier model, still constructed on every `create_app()` through `build_legacy_scans` even though nothing called them. The web client and `stream_client.py` speak only `/v1`. Deleted: `observe.py` (ScanService/PerceptionService/PerceptionAdapter), `yolo_adapter.py` (imported only by the legacy builder), `pipeline.py` and `test_suite.py` (the old single-image CLI, reachable only from each other), `test_observe.py` (its Session* tests), the eight legacy route handlers, `build_legacy_scans` with its two facades, `create_fastapi_app`, and the `scans` parameter on `create_app`. `IdentityRankingTests` moved to `test_identity.py` before `test_observe.py` was deleted: those five ranking rules are the live path's contract, not the legacy model's. `test_api.py` keeps every `/v1` and WebSocket test. Verified: 246 tests OK (2 skipped), and a route dump of a freshly built app shows no `/api/*` path with all nine `/v1` routes and the WebSocket intact. |
||
|---|---|---|
| .. | ||
| web | ||
| __init__.py | ||
| app.py | ||
| bench_engine.py | ||
| bench_identity.py | ||
| build_store_from_shelf.py | ||
| collect_shelf_images.py | ||
| detector.py | ||
| empty_shelf_detector.py | ||
| engine.py | ||
| eval_external_images.py | ||
| eval_live.py | ||
| feature_matcher.py | ||
| finetune_identity.py | ||
| gallery.py | ||
| identity.py | ||
| inventory.py | ||
| live.py | ||
| ocr.py | ||
| reconcile.py | ||
| record.py | ||
| shelf_map.py | ||
| stream_client.py | ||
| tag_cards.py | ||
| tags.py | ||
| test_api.py | ||
| test_engine.py | ||
| test_eval_live.py | ||
| test_gallery.py | ||
| test_identity.py | ||
| test_live.py | ||
| test_ocr_tags.py | ||
| test_real_model.py | ||
| test_reconcile.py | ||
| test_record.py | ||
| test_shelf_map.py | ||
| test_tag_cards.py | ||
| test_tag_identity.py | ||
| test_tracking.py | ||
| tracking.py | ||
| train.py | ||
| transport.py | ||