-
Notifications
You must be signed in to change notification settings - Fork 0
API and Dashboard
The repository contains app/api.py and app/dashboard.py as application-facing entry points.
The API layer is intended to expose IncidentGraph operations without embedding business logic directly into the web layer. Core evidence, fusion and benchmark logic remains under the incidentgraph/ package.
The dashboard is an inspection surface for research/development output. It should display evidence and uncertainty without implying that a selected hypothesis is automatically a factual or consequential decision.
- keep evidence references traceable through API responses;
- do not hide contradiction groups when presenting selected claims;
- distinguish missing evidence from negative evidence in the UI;
- avoid exposing local filesystem evidence paths to untrusted clients;
- sanitize any uploaded or externally supplied identifiers;
- keep private camera data outside public demonstrations.
tests/test_api.py provides automated coverage for the API layer. Run the project test suite before publishing an API change:
python -m pytest -qIncidentGraph · provenance preserved · uncertainty explicit · missing evidence stays unknown · consequential use requires human review