bf-route-modelling¶
What this service is¶
bf-route-modelling is the legacy physics and route-modelling backend used by compute/settings flows for trip-level energy and related modelling outputs.
Code anatomy¶
src/main.py: FastAPI app setup and route registration.src/routes/*: HTTP route modules for utilities and file-based functions.src/modules/functions/*: core modelling/analysis functions.src/modules/tools/*andsrc/modules/utilities/*: shared helpers and support utilities.src/security/*: security/auth boundary modules.
Architectural characteristics¶
- Function-oriented legacy service with route wrappers over modelling modules.
- Minimal README signal; source and tests are the better architecture references.
Documentation and tests in-repo¶
- Tests under
test/trip_analysis,test/routes, andtest/modules/functions.