HomeWorkContact
MMIP Policy Analyzer · 02 / 02

Two hours to ten minutes

I turned a messy spreadsheet into an analyzer that drafts each policy's analysis in minutes, for volunteers to review.

Role
Product lead, designer and engineer
Timeline
2023 – 2025
Tools
Python · Flask · GPT-4o mini · Airtable · LegiScan
Team
Led five volunteer reviewers · original map by the Two Sigma Data Clinic

Outcome

92%less time per policy: 2 h 10 min down to 10 min
<1¢per analysis with GPT-4o mini
~30policies added by the volunteer team (estimate)

Policy tracker sheet · Dec 2021

65 rows · what the columns actually held

  1. 01

    Status · 1, 2, 0, or blank in 32 rows

  2. 02

    House Number · “two numbers - 369 and 368”

  3. 03

    Survivor / Relative Input · “3” in one row, a paragraph in another

    Same column, two formats

  4. 04

    Indigenous Sponsorship · “None,” “None Self-Identified,” “Not Publicly Available”

  5. 05

    Last Update · blank in 30 rows

The sheet behind the original map · 2021

01 — The problem

The spreadsheet fell apart

The tracker began as an intern's spreadsheet. Volunteers kept it up without a shared format, so one column held a number in one row and a paragraph in the next.

The Two Sigma Data Clinic built a map on top of it in a 2021 hackathon. When I took over its upkeep, a single entry took 2 hours and 10 minutes: find the bill, read it, then answer each question by hand.

The analysis · every policy

One column each in Airtable

  1. 01

    Summary, strengths and gaps

  2. 02

    Mechanisms for evaluation?

  3. 03

    Gender-inclusive language?

  4. 04

    Prevention efforts?

  5. 05

    Survivor and relative input?

  6. 06

    Centering of Indigenous voices?

  7. 07

    Indigenous sponsors?

    Matched against a database of Native legislators, not guessed

Analysis questions · from the 2021 sheet's columns

02 — The question

Could a model do the first read?

The slow part wasn't typing. It was reading a long bill and answering the same questions every time, in the same format.

I wrote those questions into a tool: paste a LegiScan link, a government page or a PDF, and it returns one row, matching the columns of the Airtable base behind the map.

Analyzer output · AK SB211

One row, ready for a person to check

  1. 01

    Missing/murdered Indigenous Women; Report · Failed

  2. 02

    Mechanisms for evaluation · Yes: a final report and recommendations

  3. 03

    Gender-inclusive language · Yes: “Women, Girls, and Two-Spirit Persons”

  4. 04

    Prevention efforts · Yes: police training requirements

  5. 05

    Survivor / relative input · No

    A reviewer checks every answer against the bill

  6. 06

    Categories · Taskforce, Law enforcement, Data collection

From the analyzer's example export · 2024

03 — The result

The job became review

An entry went from 2 hours and 10 minutes to about 10, for less than a penny. Most of that time is a person checking the draft against the bill.

I led a volunteer team through it: Trini Simms, Ellis Clay, Rushika Dias, Shalini Basu and Meghana Nayak. I trained them, answered their questions and changed the tool when they hit problems. They found it easy to use and added about 30 policies.

Key decisions

  1. 01

    Draft, never publish

    The tool fills in a spreadsheet; a person checks it and uploads it. AI analysis of bills about violence against Native people can't go out unchecked.

    The cost: review is still the bottleneck. That's why the next version scores drafts before anyone reads them.

  2. 02

    Fixed questions, fixed columns

    Instead of a chat, the tool asks the same questions every time and writes them into the columns the map already reads. It also checks Airtable for duplicates.

    The cost: a new question means a code change, not a new prompt.

  3. 03

    Any link, any format

    Policies live on LegiScan, on government sites and in scanned PDFs, so the tool reads all three, with OCR for scans and the Federal Register's API for executive orders.

    The cost: every new kind of source needed its own reader.

Process

Dates come from the two repos' commit history.

  1. Dec 2021

    The map

    The Two Sigma Data Clinic built the first map from the spreadsheet in two hack days.

  2. Sep 2023

    I take over the data

    Keeping the map in sync with the Airtable base behind it.

  3. Apr 2024

    First analyzer

    Paste links, get a spreadsheet back.

  4. Sep 2024

    GPT-4o mini

    Better answers for less than a penny each. Kaushik Mohan of the Two Sigma Data Clinic fixed the progress bar.

  5. Oct 2024

    The volunteer team starts

    LegiScan links, Airtable duplicate checks, and questions split one per column.

  6. Dec 2024

    Scanned documents

    OCR for PDFs and the Federal Register's API for executive orders.

The analyzer made each entry fast, but finding the policies was still done by hand. In 2026, I automated that too: the nightly search, the redesigned map and the alerts in study 01.