| license: apache-2.0 | |
| tags: | |
| - acaua | |
| - test-fixture | |
| # acaua-task-test — integration test fixture | |
| **This is not a loadable model.** It exists only to test acaua's task-metadata-routing path. | |
| acaua supports two ways of resolving a model's task: | |
| 1. **Metadata read:** `config.json` contains an `acaua_task` field. | |
| 2. **Fallback dict:** `src/acaua/_data/task_fallback.py` maps repo_id to task string. | |
| This fixture exercises path 1. Its `config.json` contains: | |
| ```json | |
| { | |
| "acaua_task": "detection", | |
| "_note": "Test fixture for acaua's metadata-routing path. Not a loadable model." | |
| } | |
| ``` | |
| Integration test: `tests/integration/test_task_metadata_fixture.py` downloads only this `config.json` (tiny, no weight files), asserts acaua's task-routing dispatches to the detection adapter based on the metadata field. | |
| No weights. No model. No inference. | |