Inspiration

Our inspiration stems from a severe structural challenge facing regional policymakers across Nigeria: the high uncertainty of technology planning. In administrative centres like Lagos State or rural farming regions like Oyo State, policymakers are forced to allocate public development funds across digital infrastructure, education, and social safety nets without empirical frameworks. Traditional, static spreadsheets fail to capture the complex, non-linear feedback loops of community systems. For instance, a simple database cannot model how investment in digital literacy exponentially compounds the utility of broadband infrastructure, or how rapid automation risks displacing rural workers unless cushioned by labour transitions. We engineered Civic-Alacrity to make these multi-sectoral tradeoffs legible and transparently governed.

What it does

Civic-Alacrity is an interactive, system-dynamics-powered decision-support engine built specifically for Nigerian municipal planners.

  1. Multi-Sectoral Simulation: It processes core policy indicators (Education Funding, Broadband Subsidies, Labour Protections, and Ethics Guardrails), and computes a unified Aggregate Readiness Index alongside distinct sectoral readiness indices (Education, Infrastructure, and Workforce).
  2. Honest Uncertainty Representation: To prevent the “false confidence” trap common in AI predictions, the dashboard visualises a dynamic 95% Confidence Interval (CI) around every sector. If policy inputs are unbalanced or volatile, the model’s error bounds visually expand, indicating high volatility.
  3. Explainable AI (XAI) Attribution: Using surrogate regression analytics, the system dynamically calculates and displays attribution weights for each policy parameter, making the AI’s thinking completely transparent to the user.
  4. 4. Human-In-The-Loop Double Review Gate: The system blocks the publication of any adoption roadmap affecting over 50,000 citizens until two independent municipal review cycles (Technical and Administrative) are manually validated.

How we built it

To ensure immediate, cost-effective, and offline-resilient deployment, we built a single-file interactive workspace using Tailwind CSS, Google Space Grotesk typography and native JavaScript for zero-latency client-side calculations. Our core system dynamics engine bypasses simple linear regressions in favour of coupled differential states to honour actual community feedback:

$$\frac{d R_{\text{community}}}{dt} = \alpha \cdot L(t) \cdot I(t) - \gamma \cdot D(t)$$

Where ( R ) is overall community readiness, ( L(t) ) is local literacy, ( I(t) ) is infrastructure density, and ( D(t) ) represents workforce displacement rates.

Furthermore, we integrated a browser-side API controller connected to the Google Gemini API to perform semantic abductive reasoning on unstructured natural language indicator logs when a persistent connection is available, falling back seamlessly to pre-computed offline matrices under zero-bandwidth conditions.

Challenges we ran into

Our primary engineering challenge was the Automation Bias Trap- the tendency of users to over-rely on AI outputs as definitive “correct answers”. We solved this by designing the visual interface around explicit uncertainty boundaries:

$$\text{Readiness Forecast} \pm 1.96 \times \sigma_{\text{model}}$$

Where the variance parameter \( \sigma \) dynamically scales based on the volatility of the policy blend (e.g., low labour safety nets paired with aggressive infrastructure shifts spike the model's calculated noise).

We also struggled to simulate poor data quality and data drift, which we resolved by building an administrative control suite allowing users to manually inject model drift and test the system’s adaptive, robust bypass states.

Accomplishments that we're proud of

We are proud of formulating a highly complex, non-linear system dynamics model and deploying it on a completely free web architecture. We successfully matched mathematical rigour with empathetic user design: -We designed distinct role-based permissions without server-side databases. -We visualised the dynamic trade-off of weights of different policies via an Explainable AI (XAI) feature panel. -We built a working, secure decision-support tool that is deployable across all 36 Nigerian states within 48 hours for zero software cost.

What we learned

We learned that in high-stakes public sector applications, transparency is more valuable than precision. An AI model that acts as a black box and presents a single “correct answer” is dangerous. Our main takeaway is that an effective decision-support system must honestly represent its own model limitations, visually expose its underlying mathematical assumptions, and keep the human policymaker in absolute control of resource allocation.

What's next for Civic-Alacrity: Community AI Readiness

Our next milestone is scaling to Sovereign Edge-AI hosting. To make the system completely independent of external American cloud servers, we are mapping the model pipelines to run on locally-hosted, open-source Small Language Models (SLMs) like Llma-3-8B or Phi-3-Mini on secure regional servers. We are also developing a USSD integration gateway using Africa’s Talking API, allowing remote village administrators in outer Oyo or Kaduna divisions to query the decision-support engine and receive policy scorecards entirely via basic GSM signals, with zero data bandwidth required.

Built With

  • css3
  • explainable-ai
  • gemini-api
  • html5
  • javascript
  • local-storage
  • offline-first
  • surrogate-regression
  • system-dynamics-modeling
  • tailwind-css
Share this project:

Updates