dd-l1-capetown-clinics-bbox

Analyst notes

Description

Tests basic literacy in a CSV-with-WKT geospatial export and the three-line inventory a real analyst would compute before pipeline ingest. The prompt pins the bbox to a four-number array but deliberately leaves the component order unspecified, so the agent has to know the GeoJSON convention `[xmin, ymin, xmax, ymax]` (longitude first). Other gotchas live in the small details: parsing the WKT column rather than treating it as an opaque string, counting all 80 rows including the last one, and reporting a non-uniform per-subdistrict distribution rather than assuming an equal split.

Approach

  1. Read the CSV, parse the WKT column into longitude and latitude pairs, and confirm the row count.
  2. Compute the overall bounding box from the parsed coordinates as four floats in GeoJSON order, longitude first.
  3. Group by the subdistrict column and count rows per subdistrict, keeping the subdistrict names verbatim from the input.
  4. Assemble the three deliverables into a single JSON object and write it to the requested filename.

Pitfalls

Inputs

nameformatcrsgeometryfeatures
capetown_clinics csv

Expected outputs

nameformatcrsgeometryfeatures
clinic_inventory.json json EPSG:4326 Point

Recent runs task v3

adapterstartedscorestepsdurationcoststatus
openrouter-gemma4-26b-basic 2026-06-18T07:32:32Z pending pending
openrouter-deepseek-v4-flash-basic 2026-06-18T03:08:04Z 1.00 4 0:20 0.14¢ done
openrouter-deepseek-v4-flash-detailed 2026-06-17T22:01:33Z 1.00 5 0:32 0.15¢ done
openrouter-gemma4-26b-detailed 2026-06-17T19:47:47Z 1.00 6 1:20 0.20¢ done
openrouter-deepseek-v4-flash-basic 2026-06-16T21:43:55Z 1.00 4 0:28 0.14¢ done