Skip to main content
Evaluation site for EvoHacks 2. Civitas is not connected to any municipality, so reports made here will not reach a repair team. Anyone can sign in and read what is submitted, so please use made-up details. In an emergency, call your local emergency number.

Method

How Civitas Works

What each person does, what Civitas calculates automatically, and the exact formulas and default values behind every score. Nothing on this page is hidden from the coordinators who use the results.

Initial assumptionEvery weight, radius and threshold on this page is an initial engineering assumption chosen for this project. None is a validated municipal standard. They are kept in configuration so that an operating organisation can review and change them.

Step by step, by role

Civitas has three kinds of user. Citizens need no account. Coordinators and crew members sign in with separate staff accounts that have different, restricted permissions.

Citizen

No account is needed, and a report may be anonymous.

  1. Choose the category that best fits the problem. Categories that can involve immediate danger show emergency advice, because Civitas is not an emergency service.
  2. Give the report a title and describe what you see. You can also say whether it blocks a road or walkway and roughly how long it has existed.
  3. Mark the location on the map. Your browser's location is used only if you give permission, and you can always place the marker by hand.
  4. Optionally attach a photograph (JPEG, PNG or WebP, up to 4 MB).
  5. Optionally leave a name, email address or phone number, or report anonymously.
  6. Submit. You receive a reference in the form CIV-XXXXXXXX and a 20-character access code. Keep both: Civitas stores only a hash of the access code and cannot show it to you again.
  7. Use the reference and access code on the tracking page to see the status, the timeline of status changes and any public updates. You can also add further information to your report there until it is closed.

Municipal coordinator

Signs in with a staff account. Every action below is recorded in an audit log.

  1. New reports arrive as Awaiting review with the results of the automatic checks: the keyword classification, possible duplicates, a provisional priority, nearby registered assets and, where configured, the advisory AI analysis.
  2. Review the report. Correct the category if needed, confirm the severity and estimate the exposure. The priority is recalculated each time.
  3. Verify the report, or reject it with a written reason.
  4. Confirm or reject each possible duplicate. Reports are never merged automatically, a confirmation can be reversed, and the original reports are preserved.
  5. If the calculated priority does not fit the situation, override it with a written reason.
  6. Review the recommended crew, compare the plan with the first-in, first-out baseline if useful, and approve the assignment.
  7. Publish public updates for the citizen. Internal notes are kept separately and never appear on the tracking page.
  8. When the crew reports the work complete, verify it or return it to the crew. Verification moves the incident to Resolved, after which it can be closed.
  9. Maintain the asset registry and crew roster, and erase reporter contact details or delete photographs when required.

Maintenance crew member

Signs in with a separate, restricted staff account.

  1. See only the jobs assigned to your own crew, including the report photograph for those jobs.
  2. Accept or decline each assignment. A declined job returns to the coordinator.
  3. Start work, which moves the incident to In progress.
  4. Mark the job complete with completion notes and evidence.
  5. A coordinator verifies the completion or returns the job for further work.

Status workflow

An incident moves through a fixed set of statuses. A change that is not listed in the workflow is refused. The tracking page shows the status and the time of each change, but not who made it or why.

  1. Submitted

    The report has been received and is being processed.

    Set when the citizen submits the report.

  2. Awaiting review

    The report is waiting for a coordinator. No decision has been made.

    Automatic, when the intake checks finish.

  3. Verified

    A coordinator has reviewed and verified the report. It is waiting to be scheduled.

    Coordinator decision.

  4. Assigned

    A maintenance crew has been assigned.

    Automatic, when a coordinator approves a crew assignment.

  5. In progress

    A maintenance crew is working on the incident.

    Automatic, when the crew starts work.

  6. Resolved

    The crew reported the work complete and a coordinator has verified it.

    Automatic, when a coordinator verifies the completion.

  7. Closed

    The incident has been closed. No further changes are possible.

    Coordinator decision.

Other paths

  • Rejected. A coordinator can reject a report that is awaiting review or verified. A written reason is required. A rejected report can be reopened for review, also with a reason.
  • Back to Verified. If the crew declines, or a coordinator cancels the assignment, the incident returns to Verified so that another crew can be assigned.
  • Return to review. A coordinator can send a verified report back to Awaiting review with a reason.
  • Reopen. A resolved incident can be reopened for further work with a reason. A closed incident cannot be changed.

Assignment statuses

Each crew assignment has its own status: Proposed (awaiting coordinator approval), Assigned (awaiting crew response), Accepted or Declined by the crew, Work in progress, Completed (awaiting verification) and Verified complete. A coordinator can cancel an assignment before it is completed, or return a completed job to Work in progress.

Duplicate score

Several people often report the same physical problem. When a report is submitted, Civitas compares it with every report that is still open and gives each pair a score between 0 and 1.

S = 0.40·G + 0.25·C + 0.20·T + 0.15·D
  • G, geographic proximity. 1 when the two reports are at the same point, falling in a straight line to 0 at the search radius: G = 1 − distance ÷ radius. The radius depends on the category (from 25 m for a streetlight to 150 m for flooding; see the category table), and the larger of the two reports' radii is used. Distance is straight-line.
  • C, category compatibility. 1 for the same category (0.5 when both are “Other”). Related categories that can describe one problem have a set value: blocked drain and flooding 0.7, water leak and flooding 0.6, streetlight and exposed electrical 0.4, illegal dumping and blocked drain 0.4, pothole and sidewalk 0.3.
  • T, time between submissions. Halves for every 72 hours between the two reports: T = 0.5 ^ (hours apart ÷ 72).
  • D, description similarity. The share of words the two titles and descriptions have in common (the Jaccard index), after lower-casing, removing common words and trimming a few word endings. It measures shared vocabulary, not meaning, which is why it has the lowest weight.

A pair is never a candidate if the categories are unrelated or the reports are further apart than the search radius, whatever the other components. A pair scoring 0.55 or more is raised as a possible duplicate with its distance, time gap and component values.

Illustration (invented numbers): two pothole reports 7 m apart (radius 35 m), submitted 72 hours apart, sharing a fifth of their words. G = 0.80, C = 1, T = 0.50, D = 0.20, so S = 0.32 + 0.25 + 0.10 + 0.03 = 0.70. That is above 0.55, so the pair is shown to a coordinator.

Civitas never merges reports by itself. A coordinator confirms or rejects each candidate, a confirmation can be reversed, and both original reports are kept.

Initial assumptionThe four weights, the 0.55 threshold, the 72-hour half-life, the search radii and the related-category values have not been validated against municipal data.

Priority score

Priority is calculated by a fixed rule engine. The language model plays no part in it. The score is a weighted sum of five factors, each between 0 and 1.

P = 0.30·H + 0.25·I + 0.15·E + 0.15·U + 0.15·V
  • H, hazard severity (30%). The severity confirmed by a coordinator (low 0.25, moderate 0.5, high 0.75, critical 1). Until then, the baseline for the category from the category table.
  • I, infrastructure impact (25%). The category's baseline service impact. If consequence screening finds a relevant, verified registered asset nearby, the baseline is raised by up to 0.30: I = baseline + 0.30 × importance × (1 − distance ÷ 300 m), capped at 1. Importance is 0.4 for a standard asset, 0.7 for an important one and 1 for a critical one. Only the strongest such asset counts.
  • E, exposure (15%). A coordinator's estimate (low 0.25, moderate 0.55, high 0.85). Without one, the reporter's unverified answer to whether a road or walkway is blocked (yes 0.6, no 0.3). Civitas holds no population or traffic data, so if neither exists the factor is unknown.
  • U, urgency (15%). Half from how quickly the category tends to worsen, a quarter from how long the report has been open (reaching its maximum at 168 hours) and a quarter from how long the reporter says the problem has existed (today 0.2, a few days 0.5, a few weeks 0.8, more than a month 1). If the reporter is not sure, that part is left out and the other two are rescaled.
  • V, verified evidence (15%). 0.5 if a coordinator has verified the report, 0.2 if a photograph was supplied, and 0.1 for each confirmed matching report up to three. The total is capped at 1.

Unknown inputs

A missing input is never treated as “no risk”. An unknown factor is left out, the remaining weights are rescaled to add up to 1, and the gap is listed as a limitation next to the score. If hazard severity itself is unknown, which happens for an unconfirmed “Other” report, no score is produced and the incident is placed in the Awaiting review band until a coordinator confirms a severity.

Bands

  • Critical: score of 0.75 or more
  • High: 0.55 or more
  • Moderate: 0.35 or more
  • Low: below 0.35

A priority is marked provisional until a coordinator has verified the incident. It is recalculated whenever its inputs change, for example when a severity is confirmed or a duplicate is confirmed.

Illustration (invented numbers): a new, unverified water leak with no photograph, where the reporter says it started today and blocks the road, and no registered asset is nearby. H = 0.50 and I = 0.70 (category baselines), E = 0.60, U = 0.5 × 0.70 + 0.25 × 0 + 0.25 × 0.20 = 0.40, V = 0. P = 0.150 + 0.175 + 0.090 + 0.060 + 0 = 0.475, which is in the Moderate band and marked provisional.

Override

A coordinator can replace the calculated band with their own judgement. A written reason is required, and the override is recorded in the audit log alongside the calculated value.

Initial assumptionThe factor weights, band thresholds, severity and exposure values, category baselines and the 168-hour limit are starting values. They are not derived from municipal data or an engineering standard.

Consequence screening

Coordinators maintain a registry of important assets: hospitals, schools, water pumping stations, electrical substations, bridges, major road intersections and emergency facilities. Each entry has an importance level, a source and a flag showing whether the entry has been verified.

For each incident, Civitas lists every registered asset within 300 m in a straight line, nearest first. A fixed table of rules gives the reason a category of incident may matter to a type of asset. For example, for a water leak near a substation the stated reason is that escaping water near electrical equipment may create an electrical hazard. If no rule connects the two, the asset is still listed as nearby, without a relevance note.

Every finding carries the same caveat:

Proximity alone does not establish a service impact. Coordinator verification required.

Screening does not simulate water, electrical or road networks, and it never concludes that an asset is affected. Only a verified registry entry with a relevance rule can raise the infrastructure impact factor of the priority score. If no asset is found, the coordinator is told that the registry may be incomplete.

Initial assumptionThe 300 m radius, the importance values and the relevance rules were written for this project. The registry contains only what coordinators have entered.

Crew assignment

A crew can take an incident only if its specialisation is qualified for the category, it is marked available, and it is below its capacity. Crews that cannot take a job are still listed for the coordinator with the reason.

Each available crew offers one slot for each unit of free capacity. Taking a later slot means waiting behind the jobs ahead of it. For an incident placed in a slot:

wait = travel time + jobs ahead × 90 min
travel time = straight-line distance from crew base ÷ 30 km/h
cost = priority weight × wait

The priority weights are 8 for Critical, 4 for High, 2 for Moderate and 1 for Low or Awaiting review. Leaving an incident unassigned is charged as a wait of 7 days, so an incident is left out only when no qualified slot is free.

Civitas finds the pairing of incidents to slots with the lowest total cost using the Hungarian algorithm, a standard exact method for minimum-cost assignment. The coordinator sees the reasons for each pairing: the qualification, the distance and assumed travel time, and the number of jobs ahead.

Illustration (invented numbers): a High priority incident 3 km in a straight line from a crew base, with one job ahead of it. Travel time = 3 ÷ 30 × 60 = 6 minutes, wait = 6 + 90 = 96 minutes, cost = 4 × 96 = 384.

Comparison with first-in, first-out

The same incidents and crews can be planned with a simple baseline: incidents are taken strictly in the order they were reported, and each goes to the qualified, available crew with the shortest queue. Priority and distance are ignored. Both plans are then shown with the same measures: assignments made, incidents left unassigned, total priority-weighted waiting time, total straight-line distance, coverage by priority band and workload by crew.

What the plan is not

  • It is optimal only for the cost model above. It is not a vehicle-routing solution.
  • Distance is straight-line from the crew's base, not distance by road.
  • Every job is assumed to take the same time, and jobs are not chained into routes.
  • It is a recommendation. Nothing is assigned until a coordinator approves it, and the crew can decline.
Initial assumptionThe 30 km/h average speed, 90 minutes per job, the priority weights and the 7-day penalty are assumed values, not measurements.

Category assumptions

These values feed the duplicate score, the priority score and crew eligibility. Hazard, service impact and time sensitivity are on a scale from 0 to 1.

Default assumptions for each incident category
CategoryHazardService impactTime sensitivityDuplicate radiusQualified crews
Pothole or road surface damage0.450.350.4035 mRoad maintenance, General maintenance
Water leak or burst pipe0.500.700.7075 mWater infrastructure
Blocked drain0.350.450.4550 mDrainage
Localised flooding0.700.650.85150 mDrainage, Water infrastructure
Damaged bridge or structure0.850.800.7060 mStructural inspection
Streetlight failure0.300.250.3025 mElectrical maintenance
Exposed electrical infrastructure1.000.601.0030 mElectrical maintenance
Damaged sidewalk0.350.200.2530 mRoad maintenance, General maintenance
Illegal dumping affecting infrastructure0.250.200.3060 mGeneral maintenance
Other infrastructure concernNone assumedNone assumed0.4050 mGeneral maintenance
Initial assumptionEvery value in this table is a configuration assumption made for this project, not a verified municipal standard.