Inspiration

Small water leaks can remain unnoticed or unreported when a campus lacks a clear reporting process. We wanted to make the path from spotting a leak to prioritizing its repair easier to follow.

JalTrace explores a simple question: can a lightweight reporting tool help campus communities decide which water leaks need attention first?

What it does

JalTrace turns leak observations into a prioritized repair queue. Users can:

  • Report a leak with its location, campus zone, estimated flow and number of people affected.
  • View estimated daily water loss and totals by zone.
  • Prioritize reports using a transparent scoring formula.
  • Track repairs as Open, In progress or Resolved.
  • Search and filter reports.
  • Export records as CSV.

The demonstration uses clearly labeled fictional reports. New reports and status changes persist in the current browser.

How we built it

We built the interface with HTML, CSS and vanilla JavaScript, using ES modules to separate validation and calculations from interface rendering.

Browser localStorage provides persistence without a paid database or API. GitHub hosts the source code, and GitHub Pages serves the public application. An optional Node.js server and Dockerfile support alternative deployment.

Estimated daily loss is calculated as:

Daily loss in litres = estimated flow in litres per minute × 1,440.

The priority score combines estimated flow with the number of people affected:

Priority = 65 × min(flow / 20, 1) + 35 × min(people / 500, 1).

The result is rounded to a score out of 100. This is an explainable heuristic, not a machine-learning prediction.

Challenges we faced

A key challenge was making water-loss estimates useful without presenting them as measured facts. The dashboard states its continuous-flow assumption, and reports require on-site verification.

We also needed the application to work under GitHub Pages project URLs. Relative asset paths allow the interface and JavaScript modules to load from the repository’s deployment path.

Another challenge was keeping the prototype simple while making its limitations visible. Browser storage supports a quick demonstration, but it does not provide shared records across devices.

What we learned

Building JalTrace highlighted the importance of clear assumptions, transparent prioritization and honest impact reporting.

Marking a leak as resolved reduces estimated ongoing loss in the dashboard; it does not establish verified water savings. Measuring actual outcomes would require field checks before and after repairs.

The project also demonstrates how a useful prototype can run without paid APIs or a complex framework.

Accomplishments

We delivered a publicly accessible prototype with reporting, repair tracking, filtering, zone summaries and CSV export.

Three automated tests cover calculation behavior, input validation and CSV escaping. The live dashboard and repair queue have also been checked in the browser.

Current limitations

  • Records are stored per browser and are not synchronized across users or devices.
  • There are no authenticated reporter or maintenance roles.
  • Flow rates and affected-population counts are user estimates.
  • Reports are not connected to sensors or a campus maintenance system.
  • Sample data is fictional; no verified water savings or institutional partnership is claimed.

What's next

We plan to explore shared storage, authenticated maintenance roles, repair audit trails, duplicate-report handling and field-verification evidence.

A campus pilot would help validate the reporting workflow and compare estimated flow with measured water loss.

AI assistance disclosure

OpenAI Codex assisted with the initial implementation and documentation before the event. The deployed application uses no OpenAI APIs or AI inference services. We disclose this assistance in accordance with the hackathon’s rules.

Share this project:

Updates

Submission history