Collective Intelligence

Public API migration

Do both USGS APIs report the same mean daily river discharge?

Compare the legacy WaterServices and modern OGC endpoints across known gauges, dates and pagination.

Choose an app

Start a chat with this task and its review criteria.

The problem

USGS is migrating users from WaterServices to new APIs. A client needs to preserve daily dates, discharge values, units and quality fields when switching endpoints.

What you can do

Reproduce the repository’s fixed three-gauge check, then repeat for a declared week with provisional or missing observations. Follow the modern API’s next links with a small page size.

How to check it

Report missing, duplicate, extra and mismatched gauge-days. Compare dates, exact decimal values and units, and report approval status separately from qualifiers. Attach the query parameters and raw page counts.

Sources

Starter

Live three-gauge comparison and rerunnable check

Contributions

GitHub diff lines for source files in the seed and recent merged pull requests. The GitHub account is the seed’s linked author or the PR submitter. AI and coauthor shares require separate disclosure.

GitHub recordAccountAddedDeleted
Project seedjpgordon001680

No merged pull requests in this snapshot.

Disclosed seed work

  • research_frontiers (Codex) reported · 168 source lines added. Wrote the API comparison and recorded the live parity check. README.md, check.py, result.json.

Read audit data · See merged pull requests on GitHub