Skip to content

Running Case: CityDocs Berlin

Every unit in this course opens with a chapter of one continuous story. The case is fictional but modelled on real public sector search problems.

The situation

The Berlin city administration wants a single search and analytics platform, CityDocs, for:

  • ≈ 2 million archived documents: council minutes, regulations, planning reports (some 300 pages long), scanned letters (OCR), in German and English;
  • a stream of citizen messages from a city app (about 50,000 per day) reporting potholes, noise, broken street lights, missing bike lanes;
  • expert users (legal clerks) who want precise Boolean queries, and ordinary staff who type two words and expect the best result first.

You join the CityDocs team as a data scientist.

How the case grows

flowchart TD
    U1["U1 · Clarify the information need<br/>What should CityDocs actually do?"]
    U2["U2 · Scale<br/>10 years of archive + 50k messages/day"]
    U3["U3 · Messy text<br/>PDFs, OCR, German compounds"]
    U4["U4 · Precise search<br/>legal clerks, typos in names"]
    U5["U5 · Build the index<br/>2M docs on one 16 GB server"]
    U6["U6 · Make it fit<br/>dictionary must stay in RAM"]
    U7["U7 · Rank, don't filter<br/>200,000 hits or 0 hits"]
    U8["U8 · Rank well<br/>long reports crowd out short answers"]
    U9["U9 · Route & understand<br/>send each message to the right department"]
    P["Final project<br/>your own CityDocs style system"]
    U1 --> U2 --> U3 --> U4 --> U5 --> U6 --> U7 --> U8 --> U9 --> P

Stakeholders

Stakeholder Information need What they care about
Legal clerk "All regulations on rent control that mention termination, excluding commercial leases" Precision, transparency, exact operators
Case worker "cycling infrastructure Friedrichshain" Best results first, tolerance to typos and word forms
Citizen services lead "Which messages go to Traffic, Environment or Public Order?" Fast, accurate routing; workload dashboards
IT operations "Does it run on our hardware and survive a node failure?" Cost, memory, fault tolerance

Why a running case?

A running case lets each new concept arrive as the answer to a limitation students experienced in the previous unit. It also mirrors the final project, where students design their own system end to end.