docs: fixture repo README
Browse files
README.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- acaua
|
| 5 |
+
- test-fixture
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
# acaua-task-test — integration test fixture
|
| 9 |
+
|
| 10 |
+
**This is not a loadable model.** It exists only to test acaua's task-metadata-routing path.
|
| 11 |
+
|
| 12 |
+
acaua supports two ways of resolving a model's task:
|
| 13 |
+
|
| 14 |
+
1. **Metadata read:** `config.json` contains an `acaua_task` field.
|
| 15 |
+
2. **Fallback dict:** `src/acaua/_data/task_fallback.py` maps repo_id to task string.
|
| 16 |
+
|
| 17 |
+
This fixture exercises path 1. Its `config.json` contains:
|
| 18 |
+
|
| 19 |
+
```json
|
| 20 |
+
{
|
| 21 |
+
"acaua_task": "detection",
|
| 22 |
+
"_note": "Test fixture for acaua's metadata-routing path. Not a loadable model."
|
| 23 |
+
}
|
| 24 |
+
```
|
| 25 |
+
|
| 26 |
+
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.
|
| 27 |
+
|
| 28 |
+
No weights. No model. No inference.
|