Spaces:
Running on CPU Upgrade
Download README.md from CommunityOne/open-navigator: direct link, hf CLI and curl.
- Browser
- Download file 16.2 kB
-
https://huggingface.co/spaces/CommunityOne/open-navigator/resolve/main/README.md
- Command line
-
hf download hf://spaces/CommunityOne/open-navigator/README.md
-
curl -L -o README.md https://huggingface.co/spaces/CommunityOne/open-navigator/resolve/main/README.md
title: Open Navigator
emoji: 🏛️
colorFrom: blue
colorTo: green
sdk: docker
app_port: 7860
pinned: false
license: mit
Open Navigator
See what your local government decided, with the record to prove it.
The goal: one map for every community. The U.S. has 91,438 local governments (U.S. Census Bureau, 2025), and each publishes its agendas, minutes, videos and budgets its own way. Open Navigator, the open-source engine behind CommunityOne (a 501(c)(3) nonprofit), reads those public records, plus nonprofit filings and Census data, and shows what was decided, where, and the passage from the record that says so. Nothing on the site is a made-up number: when data is missing, it says so.
Coverage today: 1,926,908 nonprofits, 153,235 meetings and events, 34,289 government officials and 4,495 decisions extracted by AI, from /api/stats (snapshot dated June 5, 2026, read November 14, 2026). Jurisdiction counts are left out until that endpoint reports them correctly (#291).
Live: communityone.com · docs · API · MIT License
| For | Go to |
|---|---|
| Executives and funders (12 slides, 10 minutes) | read the pitch with speaker notes · slides (source: download and open in a browser) |
| Residents | the app · guide for citizens |
| Advocates and nonprofit leaders | guide for advocates · accountability strategy |
| Researchers and data analysts | data sources · data model · citations |
| Developers and data engineers | code walkthrough · quick start · architecture · how we work |
| Data platform and DataOps engineers | DataOps walkthrough: retries, recovery, data quality, AI observability, two real incidents, and what isn't built yet |
| Students | learning path: statistics, SQL and window functions, data modeling, dbt, master data management, logistic regression, clustering, embeddings, LLMs, Databricks, MLOps, GitHub Actions, AWS, Azure, security and secrets, ontologies, data contracts and data products, each with a code walkthrough |
This quarter: data center accountability (planned, not built yet). Residents ask what's being built near them, who approved it, what it does to their bill and whether the jobs are real. The plan, October to December 2026: epic #236.
The six stories
- Job promises, on the record: jobs split by phase · promise attributed to a speaker · live application links
- The pipeline near me: proposed sites near me · site matched to a coming agenda · alerts ranked by local concern
They build on the meeting citations in the CORE epic.
Each role has more below. Click to open.
Executives and funders: the pitch in ten minutes
The slideshow covers who it is for, the problem, what it does, the story lenses, the policy model, how the pipeline works, the trust rules, what is open, this quarter's data center work, an honest status, and the ask. Press N for speaker notes, S for the speaker view. The full text and notes has every slide's words, for reading on a phone or searching.
Where it stands: live and useful, and still uneven. Meeting analysis is deep in a few states and thin elsewhere, and it is a small nonprofit project with one maintainer. Data, review and pilot communities help most. Contact: johnbowyer@communityone.com.
To edit the deck, change a slide in web_docs/deck/slides/ and run node web_docs/scripts/build-deck.mjs.
Residents: what did my city or school board decide?
- Search a topic at communityone.com, pick your state or city, and open any result to see the passage from the record it came from.
- Set up Close to Home for a feed of the places and issues you choose.
- Story lenses point to what is worth a look: Contested (split votes), Money Moves (contracts, grants, budget changes), Raised Eyebrows (unusual patterns, for a person to review), Moving Fast and Watch Next (votes coming up, where you can still speak).
- More: guide for citizens, community resources, voter registration.
Advocates and nonprofit leaders: where is my issue moving?
- Policy questions follow one issue across places: each vote links to the question behind it and the arguments made for and against it.
- Money and talk puts budgets and spending next to what officials said in meetings.
- Nonprofits: IRS filings (Form 990) by place and cause.
- More: guide for advocates, accountability strategy, legislative tracking, case study: Tuscaloosa.
Researchers and data analysts: what does the record say, at scale?
- Open datasets on Hugging Face: publishing guide.
- Data model: entity diagram, marts, data contracts.
- Sources and licences: data sources overview, CITATIONS.md. Meeting data follows the Council Data Project's model; places use Open Civic Data IDs.
- AI assistants: an MCP server lets Claude and other assistants query the data. MCP guide.
Students: learn AI and data engineering from a real system
Start with the learning path: each topic gives the idea in plain words, the code to read, why it's built that way, and something to try. Topics don't depend on each other.
| Topic | Learn it from |
|---|---|
| Basic statistics | Median vs mean, p90, outliers and minimum sample sizes in minutes publish lag |
| SQL and window functions | row_number, lag, ntile, recursive CTEs in int_civic__item_signals.sql |
| Data modeling | Grain, keys and a many-to-many bridge in mdm_bridge_person_jurisdiction.sql |
| dbt and medallion layers | dbt_project/models/: bronze → staging → intermediate → marts, with tests and seeds |
| Master data management | Golden records and entity resolution with Splink in mdm/linker.py |
| Logistic regression | Log-odds and the logistic function, as Splink uses them in mdm/settings.py; a trained example is a good first issue (#373) |
| Clustering | HDBSCAN with a noise bucket in cluster.py |
| Embeddings and RAG | encoder.py and the RAG chat app |
| LLMs | Extraction, grounding against minutes, LLM-as-judge: meeting_gap_analysis.py |
| Databricks | Asset bundles (DABs) with dev/free/prod targets, ai_query batch inference in dbt: agent-analysis-sync |
| MLOps and LLMOps | Per-call usage and cost records: llm/usage |
| GitHub Actions | .github/workflows: CI, a custom PR check, deploys, on-demand GPU |
| AWS | Sharded Lambda scans and public S3 reads without credentials: lambda_handler.py |
| Azure | Terraform for subscriptions, budgets and a Databricks workspace: infra/azure |
| Security and secrets | OIDC sign-in with no stored secret, service principals, where secrets live, and an app-security fix (#361) |
| Ontologies | NTEE closure table, CAP topics, Policy Frames, COFOG: int_tags__closure.sql, seeds |
| Data contracts and products | ODCS contracts and an ODPS product: dbt_project/contracts |
Data platform and DataOps engineers: how the pipelines fail, recover and get checked
Start with the DataOps walkthrough: each capability with what it does, the code, why it's built that way and how to see it run.
| Capability | In short | Code |
|---|---|---|
| Failure detection and retry | Errors classified by cause: retry transient ones with backoff and jitter, stop at a quota wall, rotate off an overloaded model | HTTP client · Gemini client |
| Stuck-run recovery | Batch runs with no activity are cancelled and their units marked failed for a rerun | batch_job_status.py |
| Safe, repeatable reruns | A second run changes nothing; a file is deleted only if it's byte-identical | transcript_cache_paths.py |
| Data quality and contracts | dbt tests, coverage-bias models, enforced model contracts, ODCS contracts in CI, null instead of a made-up number |
dbt tests · odcs.py |
| AI in production | Every model call recorded (tokens, attempts, latency); output validated; summaries checked against official minutes; human exclusions | usage · gap analysis |
| Observability | OpenTelemetry spans from the browser through the API | telemetry.py · api.ts |
| Standards | Issue-first rule enforced in CI, one review rubric for every PR, decisions written down | AGENTS.md · pr_conventions.py |
Two real incidents (November 2026): a cache cleanup that never converged (#347, #215), and sign-in down on Neon's pooled endpoint (#368).
Not built yet: paging an on-call person, telling a table's users when its refresh fails, learned anomaly detection, AI root-cause assessment, and health checks for each database connection.
Developers and data engineers: run it, change it
Start with the code walkthrough: twelve steps in run order, from finding governments' websites to the page in the app, each with its code, command and output, plus a table of where to change things.
Stack. FastAPI (api/), React + Vite + TypeScript (web_app/), Docusaurus (web_docs/), dbt on PostgreSQL
(dbt_project/: bronze → staging → intermediate → marts), shared Python libraries in packages/ (a uv workspace).
scripts/ is legacy and frozen: new Python goes in packages/. Rules: CLAUDE.md and AGENTS.md.
Run it locally (API on 8001, app on 5173, docs on 3000):
git clone https://github.com/getcommunityone/open-navigator.git && cd open-navigator
./install.sh # Python backend (.venv + .env); on Windows: .\install.ps1
cd web_app && npm install && cd ..
cd web_docs && npm install && cd ..
./start-all.sh # on Windows: .\start-all.ps1
Don't use uv sync for the backend: the root pyproject.toml is a workspace and skips requirements.txt. Full setup,
including restoring a warehouse snapshot: quick start.
Data pipeline. Python only for ingestion, AI extraction and orchestration; every SQL transformation is dbt.
cd dbt_project && dbt run && dbt test
More: dbt strategy, entity resolution, dbt project, refactor roadmap.
Deploy. Hugging Face Spaces (this README's front matter configures
the Space), Databricks Apps, or docker-compose up -d.
AI and agents. Gemini reads meeting transcripts and extracts decisions, quotes and amounts; Jev screens transcripts first. Coding agents (Claude Code and others) follow AGENTS.md. Long agent sessions get compacted: when a conversation outgrows the model's context window, older turns are replaced by a summary and exact details can be lost. So anything that matters goes into an issue, a PR or a docs page, never only the chat, and a summary is never used as evidence. More: how Open Navigator uses AI (including compaction) and context engineering.
Test. pytest for the backend; CI also builds the app and the docs and checks the slideshow is up to date.
Contribute. Every change starts from a GitHub issue with four parts (Problem, Done when, Contract, Read first),
on a branch <type>/<issue>-<slug>, through a pull request that closes it. See AGENTS.md and
CONTRIBUTING.md.
Sources: U.S. Census Bureau, Government Organization Summary Report: 2022 & 2025. Datasets and research used here: CITATIONS.md (including MeetingBank, Hu et al., ACL 2023). All generated content should be reviewed by a person before use in advocacy. Issues: github.com/getcommunityone/open-navigator/issues · johnbowyer@communityone.com · MIT License, see LICENSE.
