How victormbojorquez/drivetec works
Drive Tec is a Django emergency-call dispatch application. Operators review an incoming call, obtain a transcription and structured incident report, locate the incident, and review suggested response units before deciding whether to dispatch. The README documents five analysis stages, report lifecycle, maps, unit management, and chained audit verification. The frontend is a single HTML file, but its internals were not sampled; those capabilities and pipeline stages are therefore represented at the documented subsystem level. Some optional integrations are documented or visible in backend excerpts; unsampled implementation details are not inferred.
Main entry points: urls.py URL routing · maps.js Operational map · index.html Live call · views.py Local Whisper
Components 19
Operator interface
- Command center
core/app/index.html - Live call
core/app/index.html - Report lifecycle
core/app/index.html - Token dictionary
core/app/index.html
Call analysis
- Analysis pipeline
core/app/index.html - Browser speech
core/app/index.html - Local Whisper
core/views.py - Translation
core/views.py
Dispatch operations
- Operational map
core/static/maps.js - Simulated map
core/static/simmap.js - Geocoding
core/views.py - Unit ranking
core/views.py
Django backend
- State API
core/views.py - Audit verification
core/views.py - URL routing
drivetec/urls.py
Persistence and integrations
- Dispatch records
core/models.py - Google services
- faster-whisper
Other components
- Operator
Connections 27
- Operator → Command center: uses
README.md - Command center → Live call: opens
README.md - Command center → Report lifecycle: reviews
README.md - Command center → Token dictionary: browses
README.md - Live call → Browser speech: transcribes
README.md - Live call → Local Whisper: uploads audio
README.md - Live call → Analysis pipeline: submits call
README.md - Analysis pipeline → Report lifecycle: produces report
README.md - Live call → Translation: requests translation
- URL routing → State API: routes
drivetec/urls.py - URL routing → Geocoding: routes
drivetec/urls.py - URL routing → Unit ranking: routes
drivetec/urls.py - URL routing → Local Whisper: routes
drivetec/urls.py - URL routing → Translation: routes
drivetec/urls.py - URL routing → Audit verification: routes
drivetec/urls.py - State API → Dispatch records: reads and writes
core/views.py - Audit verification → Dispatch records: reads events
core/views.py - Operational map → State API: syncs state
core/static/maps.js - Operational map → Geocoding: requests location
core/static/maps.js - Operational map → Unit ranking: requests ETA
core/static/maps.js - Operational map → Audit verification: requests verification
core/static/maps.js - Operational map → Simulated map: renders with
core/static/maps.js - Geocoding → Google services: calls geocoding
core/views.py - Unit ranking → Google services: requests routes
core/views.py - Translation → Google services: calls translation
core/views.py - Local Whisper → faster-whisper: transcribes audio
README.md - Operator → Report lifecycle: approves dispatch
README.md