Quick Reference
Menu map, models, statuses and demo login for Road Maintenance
Access
| What | Value |
|---|---|
| URL (local) | http://localhost:5023 |
| Start command | python server/run.py road_maintenance |
| Demo login | demo@dslcore.net / PIN 1234 (admin) |
| Database | apps/road_maintenance/data/road_maintenance.db |
| Reseed | delete the DB, restart, run python apps/road_maintenance/scripts/seed_data.py |
Menu Map
| Sidebar group | Models |
|---|---|
| Network | District, Network, Road, Road Section, Road Location |
| Inspections & Observations | Inspection, Defect Observation, Defect Assessment |
| Defect Log & Backlog | Defect Log Entry, Defect Backlog |
| Work Delivery | Planned Work, Work Order, Work Execution, Completion Inspection, Defect Closure |
| Activity Catalogue | Maintenance Element, Maintenance Activity, Activity Standard, Valid Defect Activity |
| Reference Library | Defect Type, Defect Sub Type, Intervention Rule, Corporate Priority, Road Category, Unit Of Measurement |
Model Glossary
- District / Network / Road / Road Section / Road Location — the asset hierarchy, from administrative district down to a chainage-referenced spot with GPS coordinates.
- Road Category — traffic-based classification (CAT1 major highway … CAT4 minor access) that intervention rules key on.
- Maintenance Element — guideline groupings (Sealed Surfaces, Drainage, Road Furniture…), each owning an activity-number range.
- Maintenance Activity — a three-digit standard treatment (101 Pothole Patching, 502 Guardrail Repair…).
- Activity Standard — the versioned "how": restoration standard, preparation, work operations.
- Defect Type / Defect Sub Type — two-character code and its measurable four-character subdivisions.
- Corporate Priority — the six-priority scheme; priorities 1–2 are mandatory-action.
- Intervention Rule — IL/RT rule per sub-type × road category × priority.
- Valid Defect Activity — permitted repairs per defect sub-type.
- Inspection — a scheduled, complaint, follow-up or joint inspection of a road section.
- Defect Observation — one defect found in the field, with measurements and a lifecycle status.
- Defect Assessment — the scoring event: rule applied, weightings, score, response due date.
- Defect Log Entry — membership of the period's defect log.
- Defect Backlog — logged defects not rectified in the cycle.
- Planned Work — costed intention: activity, quantity, rate, dates.
- Work Order — the instruction, with required/actual dates and emergency flag.
- Work Execution — what the crew did: quantities, cost, weather, traffic control.
- Completion Inspection — verification against the restoration standard.
- Defect Closure — ties observation, work order and verification together.
Key Status Values
Defect Observation: Observed, Monitoring, Assessed, Logged, Planned, WorkOrdered, InProgress, Completed, Verified, Closed, Backlog, Cancelled
Work Order: Draft, Issued, InProgress, Completed, Verified, Closed, Cancelled
Defect Log Entry: Open, WorkPlanned, Fixed, CarriedForward, Closed
Completion Inspection outcome: Pass, ConditionalPass, Fail
Demo Data at a Glance
| Content | Count | Notable records |
|---|---|---|
| Roads / sections | 4 / 6 | 18A Western Hwy, 42C Millers Crossing, 07B Coastal Connection, 55L Old Quarry Lane |
| Defect observations | 12 | OBS-2026-0201 (full lifecycle), 0205 (hazard), 0202 (backlog), 0210 (monitoring) |
| Intervention rules | 14 | PH02 response differs by road category (2 days vs 7 days) |
| Work orders | 5 | Closed ×2, Issued, InProgress (emergency), Draft |
| Inspections | 5 | Incl. planned follow-up INS-2026-0044 |