artenschutz-router/tests
m2 (AI Agent) 6da874b2e6 Initial commit — phase 1 + 2 of artenschutz-digest concept
Phase 1: router skeleton + Qdrant read path
- FastAPI app with /health, /search/generic, /ingest endpoints
- Qdrant reader (hybrid dense+sparse w/ RRF, plus payload scroll)
- BGE-M3 TEI client for query-side embedding
- memory-api client proxying writes to /memory/store (m2-memory untouched)
- Pydantic Fact + Exemplar payloads, discriminated by `kind`
- Dockerfile + docker-compose joining the coolify Docker network

Phase 2: authoritative-source ingest pipeline
- PDF text extraction + paragraph-aware (§ N) and size chunkers
- Loaders for bnatschg, mhbasp, biotopwertliste, state-<slug>
- CLI: artenschutz-ingest --source <name> [--states ...] [--dry-run]
- Helper script to fetch BNatSchG from gesetze-im-internet.de
- End-to-end smoke script (scripts/smoke.sh) for Coolify validation

22/22 unit tests pass. Real-world dry-runs verified against mhbasp Anhang 4,
biotopwertlisteNEU and Berlin Kartierstandards PDFs from GST-DATA.

See COOLIFY-DEPLOY.md for staging deploy + smoke procedure.
2026-05-14 16:36:00 +02:00
..
__init__.py Initial commit — phase 1 + 2 of artenschutz-digest concept 2026-05-14 16:36:00 +02:00
test_app.py Initial commit — phase 1 + 2 of artenschutz-digest concept 2026-05-14 16:36:00 +02:00
test_bnatschg_loader.py Initial commit — phase 1 + 2 of artenschutz-digest concept 2026-05-14 16:36:00 +02:00
test_chunker.py Initial commit — phase 1 + 2 of artenschutz-digest concept 2026-05-14 16:36:00 +02:00
test_cli.py Initial commit — phase 1 + 2 of artenschutz-digest concept 2026-05-14 16:36:00 +02:00
test_filter_builder.py Initial commit — phase 1 + 2 of artenschutz-digest concept 2026-05-14 16:36:00 +02:00
test_models.py Initial commit — phase 1 + 2 of artenschutz-digest concept 2026-05-14 16:36:00 +02:00