Skip to content

Diogo TravassosData leadership · Analytics · Decision-making

Real public data

Acceptance criteria from the documentation, run on Chicago's licence register

Acceptance criteria written from Chicago's licence rules before the data let 12 of 21 blank-field and messy-text problem types through. Fund the step, and ask the data owner about blanks.

12 of 21 blank-field and messy-text types got through. Process types, like dates out of order, mostly had their rows set aside.

A scan of every field for unusual values found these problem types. Each group's bar is filled for types whose rows mostly got through, 14 of 38, and empty for the other 24.

  1. Dates out of order: 0 of 8 got through.
  2. Duplicates: 0 of 2 got through.
  3. Codes that disagree: 1 of 4 got through.
  4. Outlying values: 1 of 3 got through.
  5. Blank fields: 7 of 14 got through.
  6. Messy text: 5 of 7 got through.

Real public data: the City of Chicago's business licence register, 1,212,500 records.

Chicago's licensing department, BACP, owns the register and publishes a License Clock: average days to issue a licence. Take a city small-business office that wants a monthly licence speed report from the open register, to set what it promises new businesses. Its licensing operations lead must decide, before the report goes live, whether to spend about US$4,500 on an acceptance step. The step runs acceptance criteria, tests written from the licence rules, at about US$1,800 a year. The business case says fund: the step would set aside 2% to 3% of new licences a year; its rule funds above 1% of them.

The requirements, from that decision

Requirements traced
RequirementMet by the stepCriteria passedFrom the decision
Days to issue new licences, by monthPartly: on rows that pass, count not agreed6 of 17The promise to new businesses
Share of renewals filed on timeNot met0 of 8Where to put staff
Nothing counted twice, codes read as documentedMostly12 of 13A figure the lead can publish
Owner names stay out of the reportYes: names only checked as present3 of 4The report is public
Failing rows set aside, named and countedNot yet: flagged and counted, set aside once confirmed21 of 37What each figure leaves out

The acceptance criteria

37 criteria in 8 user stories, written from five public documents, each quoting the sentence it rests on.

What acceptance testing found

Run on all 1,212,500 records, 16 of 37 criteria failed, and 2 of 8 stories were accepted.

The call

1. Fund the step before go-live, as an alarm first. Set rows aside only once the data owner confirms them. Funding follows the declared rule, computed for setting failing rows aside. It passes on the share flagged alone, 2% to 3% against 1%, so it holds although neither 2025 figure moved by a day or a point. Over the alarm-only option, it buys a failure log for the data owner and a switch to set confirmed rows aside.

2. Ask the data owner which fields may be blank. None of the 12 sits in a field either figure reads.

3. Rewrite the 2 code rules the data contradicts; fix the study's liquor test.

4. Agree with the data owner how days to issue is counted. For Limited Business licences in 2024, BACP gives 5.3 days, the register 23.8.

What it is worth

About US$6,300 in the first year flags 325 failing rows from 2025's two figures: US$19 a row, then US$6 a row a year.

How I would run it with a team

The three numbers that matter

What would change the conclusion

Limits

The office is an example; BACP did not ask for this study.

The city code text is from 2011.

The register has no filing date, so the renewal figure counts records created by the 15th, not filings.

Added after the results: one scan rule was corrected; as first run, 8 of 14 blank or text types got through. So were the grouping, the BACP framing, the alarm-first call, the cost range and these readings. Criteria reading a type's own fields set aside 4 of 17 process and 6 of 21 blank or text types. The types each figure's own criteria leave in reach touch at most 11 new licences and 108 renewals. The 188 new licences set aside in 2025 average 234 days: they cut the register's 2025 average from 51.5 to 46.4 days. Setting real delays aside would flatter the promise to new businesses. In 2021 the step would set aside 39% of renewals.

Medians of whole days move in half days, so the 1-day bar is close to any move.

The scan makes one problem type per field, so more fields mean more types. Its finds and the rows set aside are candidates, not confirmed errors. No sample of them was reviewed.

One register, one extract, one second author. Set before the data, its test found the rates differed, 11 of 38 types to 24: the rate is one author's. Added after the results: the study's requirements were wider, so author and brief cannot be separated. It also missed all 14.

Costs and the US$75 hourly rate are assumed; no value is measured. At the rates and hours tried, a flagged row costs US$13 to US$39 in year one. The data owner's check is not costed (cost range). Data from the City of Chicago data portal, under its terms: the city's notice.

Detail pages