Friction — china-co2-peak draft (2026-11-08)
Friction — china-co2-peak draft (2026-11-08)
- Zenodo's API returns HTTP 403 to Node's default
fetchuser agent (curl works);fetch.mjsneeds an explicitUser-Agent. Worth a line in the story skill's fetch guidance. - Zenodo's search API rejects
size=100(HTTP 400) for anonymous calls; 25 is the max. - Older GCP editions have no
UN M49column and use CRLF; the sources file has commas inside quoted fields. A naive regex/split(",")silently kept 0 rows, so extracts need a column-name mapping and a quote-aware split. - The brief's "update on new release" requirement has no pattern in the story skill: the arctic template hard-fails on changed hashes and hand-writes prose numbers. I added a
source-manifest.jsonwritten by fetch,README.template.md+render-readme.mjswith wording guards; a reusable "re-runnable story" pattern would help. - Leap years: the GCB reports leap-year-adjusted growth (+0.4% for China 2025) while the raw file gives +0.1%; the skill has no rule on calendar vs per-day growth, and the bead's headline number (+0.1%) would disagree with GCB's own reporting.
- Claim check 9 assumes the publisher gives an uncertainty for the quantity; GCP gives ±5% for global emissions only. Measuring revisions across archived editions was the workable substitute; a note in editorial-review.md could suggest it.
- "First estimate" is ambiguous with several versions per edition (2023v28/v36/v43); I used the final version of each edition and said so.
- story-check S6 warns on a future event date (COP31 ends 20 November 2026) with no way to mark it as an announced event; there's no exempt list for dates.
- story-check S3 does not recognise "12.4 billion" as the same number as "12,417 million" on the chart; I added the converted value to the chart label.
- svg2png renders were fine; the chart template's notes-above-plot pattern needed a dropped y-axis label each time (Plot's axis label collides with appended note lines at the top-left).
- The bead's suggested slug (
china-emissions-peak) differed from the brief's (china-co2-peak); used the brief's. - (Revision) My first draft adjusted percentages for 2024's leap day but not tonnes, so "16 Mt, 20 times less than the rest of the world" understated China's growth (leap-adjusted: 50 Mt, 8 times). An independent critique caught it; the skill could say "pick calendar or leap-adjusted and use it for every unit".
- (Revision) I first compared level revisions (Mt) with a year-on-year change; growth revisions are the like-for-like comparison. Worth a line in claim check 9.
- (Round 2) Reviewers asked to drop "first published/first estimate" for the selected edition versions, to separate level from growth uncertainty, and to run wording checks before overwriting charts/README; the build is now calculate →
render-readme --check→ charts → README. The story skill could standardise a--checkpremise step for re-runnable stories. - (Round 2) Cutting two charts left 15 prose numbers that story-check S3 wants on a chart; I listed them in
story_check_exemptas "statistics.json (chart cut for length)", which stretches the exempt kinds. The skill should say whether prose-only numbers from statistics.json are acceptable.