{
  "chapter": "DATA-14",
  "createdOn": "2026-10-26",
  "datasets": [
    {
      "file": "data14-sources/actual-six-Korea-GDP-source-records-with-page-keys.csv",
      "sha256": "47ad526f1995e2a58472afe50bb0b0148efda34cb41c20761c619b347755f391",
      "rows": 6,
      "bytes": 461
    },
    {
      "file": "data14-sources/actual3613-separate-raw-log-fields-and-availability-contract.csv",
      "sha256": "0b1dd990c9cc90a1e2cec2f4f88fc2a5645228c9be5de93b34ec2c433468bc56",
      "rows": 3613,
      "bytes": 167894
    },
    {
      "file": "data14-sources/actual-seven-raw-wage-records-with-unavailable-trimmed-logs.csv",
      "sha256": "d8b52a4965d0acf6f966a190ce47719a1cf7350e8b7e612cb61ceb673da78da3",
      "rows": 7,
      "bytes": 409
    },
    {
      "file": "data14-sources/actual410-stores-with-original-code-and-unique-source-row-key.csv",
      "sha256": "043389a36102db33efceeb14ba02fdd63c239b31e0e95c7f22009b86c67007d5",
      "rows": 410,
      "bytes": 14959
    },
    {
      "file": "data14-sources/actual-two-distinct407-source-records.csv",
      "sha256": "e526d1f82f5cda4aa63f5be4403bdef1aedddff134a43a6750bb279b43e63508",
      "rows": 2,
      "bytes": 273
    },
    {
      "file": "data14-sources/explicit-three-source-row-preservation-policies.csv",
      "sha256": "c73641a14bd93fa43e36412d51b178a2d86d0df628b6303f53cc6d27f4ee4dd1",
      "rows": 3,
      "bytes": 378
    },
    {
      "file": "data14-sources/actual-two-field-denominators-and-invalid-zero-fill-comparison.csv",
      "sha256": "cf44487fe57f1c58d8b2a9377938ef98afcaff89371e63eae225775ca1edda1d",
      "rows": 2,
      "bytes": 325
    },
    {
      "file": "data14-sources/twelve-declared-contract-checks-with-expected-rejections.csv",
      "sha256": "6424dbd7e8b59dfa5c7f7b2e6fe262bdd9a544c93aac33e0269813c70eef3175",
      "rows": 12,
      "bytes": 1684
    }
  ],
  "sources": [
    {
      "url": "https://api.worldbank.org/v2/country/KOR/indicator/NY.GDP.PCAP.KD?source=2&date=2019:2024&format=json&per_page=3&page=1",
      "originalFile": "work/textbook-rewrite-2026/source-audit-data13/wb-KOR-GDP2019-2024-page1.json",
      "originalSha256": "34014b5948ad18e3330bf3075ac161ef868f44a3547fee6548c73c4e7deb582f",
      "retrievedOn": "2026-10-26",
      "rawDownloaded": true,
      "scope": "Actual complete response page retained; declared six-key contract covers both pages. Observation year, lastupdated and retrieval date remain distinct."
    },
    {
      "url": "https://api.worldbank.org/v2/country/KOR/indicator/NY.GDP.PCAP.KD?source=2&date=2019:2024&format=json&per_page=3&page=2",
      "originalFile": "work/textbook-rewrite-2026/source-audit-data13/wb-KOR-GDP2019-2024-page2.json",
      "originalSha256": "6dcd97d750dac943dfd4998843b796cc7abf9595da42f37bb4b5391a6e472c6a",
      "retrievedOn": "2026-10-26",
      "rawDownloaded": true,
      "scope": "Actual complete response page retained; declared six-key contract covers both pages. Observation year, lastupdated and retrieval date remain distinct."
    },
    {
      "url": "https://davidcard.berkeley.edu/data_sets.html",
      "originalFile": "work/textbooks-2026/raw/proximity.zip",
      "originalSha256": "0e9b2ad4182ea631ca3dd8a5fff6c1b0ab86b56c6a3fa868870f716e8d82691f",
      "retrievedOn": "2026-10-20",
      "reviewedOn": "2026-10-26",
      "rawDownloaded": true,
      "scope": "Actual anonymous historical source records: raw wage3017 and trimmed log3010 are separate variables with distinct missingness. Preserve all3613rows."
    },
    {
      "url": "https://davidcard.berkeley.edu/data_sets.html",
      "originalFile": "work/textbooks-2026/raw/njmin.zip",
      "originalSha256": "41a29aec6b489658b20030d044a2b20a5f5a04b871cde41df057afd6013ba587",
      "retrievedOn": "2026-10-20",
      "reviewedOn": "2026-10-26",
      "rawDownloaded": true,
      "scope": "Actual410original rows,409 distinct store codes and384complete pairs. Two407rows42/168 remain separate; positional row keys do not establish statistical independence or persistent real-world identity."
    },
    {
      "url": "https://cs50.harvard.edu/python/weeks/5/",
      "webVerified": true,
      "webVerifiedOn": "2026-10-26",
      "rawDownloaded": false,
      "scope": "Official creator Week5 page and YouTube link82 verified tIrcxwLqzjQ. Assertion/expected-failure focus, no timestamp or actual playback claim."
    },
    {
      "url": "https://hadley.nz/",
      "webVerified": true,
      "webVerifiedOn": "2026-10-26",
      "rawDownloaded": false,
      "scope": "Official author page: data tooling and R Packages documentation/testing listing only; no private biography/contact details reproduced."
    },
    {
      "url": "https://docs.python.org/3.12/library/unittest.html",
      "webVerified": true,
      "webVerifiedOn": "2026-10-26",
      "rawDownloaded": false,
      "scope": "Official Python3.12 documentation basic TestCase/assertEqual/assertTrue/assertRaises only. Current web header3.12.15 differs from actual installed3.12.14; runtime is recorded by actual execution."
    },
    {
      "url": "https://stat.ethz.ch/R-manual/R-patched/library/base/html/stopifnot.html",
      "webVerified": true,
      "webVerifiedOn": "2026-10-26",
      "rawDownloaded": false,
      "scope": "Official patched base stopifnot allTRUE/NA/short-circuit/NULL-on-success contract only; current page says base4.5.0, not a claim of installed version."
    }
  ],
  "additionalArtifacts": [
    {
      "file": "data14-sources/source-selection-and-model-contract.json",
      "sha256": "45179f14204139c8e18c4dcc32ea17df1428aca5bf49616126104dc9da0bcdea"
    }
  ],
  "processing": [
    "Read original official WB two-page responses; incomplete first-page selection is an explicitly rejected contract example.",
    "Read all original Card fixed-width raw/log fields. Preserve3613rows, distinct3017/3010availability and seven discordant source records. No guessed source trimming or zero filling.",
    "Read original NJPA fixed-width values and recompute FTE=FT+.5PT+managers only when all components are available. Preserve all410rows,26incomplete pairs and both407records.",
    "Three deduplication-policy comparisons use declared hypothetical processing; the two invalid drop policies are not publisher revisions or validated cleaning.",
    "Evaluate twelve declared assertions including four expected rejections. A rejected unjustified contract is not evidence of corrupt source data; successful tests do not prove external accuracy, independence, representativeness or causal identification.",
    "Independent downloadable Python/base-R scripts re-read actual source observations, verify exact rational quantities and record safe runtime versions separately from numeric results. No case JSON or prior results is a numeric input."
  ],
  "verification": {
    "status": "Source cases frozen: author actual-original/strict markup checks and 79 fresh independent Python/base-R metric comparisons plus public-only replay passed. Separate Root full bilingual/original-source/exact-missingness-and-source-preservation review passed with no unresolved source findings. No generator or companion replay, whole-chapter or actual browser/video completion is claimed in this metadata step.",
    "scope": "Actual observations are preserved. Four expected-rejection tests distinguish unjustified contracts from source errors. Zero filling and row deletion are explicit invalid processing illustrations, not cleaned truth or producer revisions. A positional key is not a proof of independence or persistent identity. Hashes/environment/tests establish traceability within scope, not scientific accuracy or causal validity.",
    "checks": {
      "originalCountryKeys": 6,
      "originalPeopleRows": 3613,
      "rawWagesAvailable": 3017,
      "sourceLogsAvailable": 3010,
      "discordantRawLogRecords": 7,
      "originalStoreRows": 410,
      "distinctOriginalStoreCodes": 409,
      "completePairs": 384,
      "duplicate407Rows": [
        42,
        168
      ],
      "declaredChecks": 12,
      "expectedRejections": 4,
      "independentPythonRComparisons": 79,
      "actualPythonUnitTests": 12,
      "actualBaseRContractTests": 12,
      "unexpectedExecutionTestFailures": 0,
      "environmentArtifacts": [
        "data14-python-environment.json",
        "data14-r-environment.csv"
      ]
    },
    "videoVerification": "Official creator link identity verified; actual in-page playback remains parent browser QA.",
    "independentSourceReview": "Separate Root AI full original-source and bilingual review passed. This is not human certification; exact scope and limits are recorded below.",
    "independentRootSourceReview": {
      "report": "work/textbook-rewrite-2026/data14-cases-root-independent.json",
      "reportSHA256": "41af533f5fb6da8003f75a7e7d9373810fa833a52ca47de5a7c0a34be0454367",
      "reviewer": "Root AI independent source review, not human certification",
      "reviewedCandidateSHA256": "a604117a036af043efa904fc31ad725093e8fe58872801aef3e8c3be416f42a1",
      "checks": 33226,
      "verifiedHashes": 17,
      "CSVFiles": 8,
      "originalSourceFieldsCompared": 29023,
      "nativeChartPoints": 7,
      "fullKOENReadingComplete": true,
      "scope": [
        "Both actual World Bank pages and all6 semantic observations/page keys",
        "Original codebook-defined fixed-width fields for all3613 Card records, separate raw/log availability,7 discrepancies and exact denominator means",
        "Original NJ410 records with source-defined state/chain and FTE components; duplicate407 rows42/168 preserved and3 exact processing-policy means",
        "All8 CSV files,12 declared tests including4 justified expected rejections,7 native graph points and full KOEN case/resource reading",
        "Four freshly retained official creator/author/runtime-documentation pages"
      ],
      "limits": [
        "No author source generator or JS engine used as numeric oracle",
        "No fresh79-metric companion replay or32-program runtime claim here; separate runtime peer records these executions",
        "Positional keys are not certified identities/independence; matching hashes/contracts do not establish causal validity or measurement truth",
        "No actual browser/video playback or full chapter manuscript claim"
      ],
      "unresolvedFindings": []
    },
    "additionalPrimaryReferences": [
      {
        "status": "downloaded",
        "requestedURL": "https://cs50.harvard.edu/python/weeks/5/",
        "resolvedURL": "https://cs50.harvard.edu/python/weeks/5/",
        "file": "work/textbook-rewrite-2026/source-audit-data14/Harvard-CS50P-week5-unit-tests.html",
        "bytes": 17066,
        "sha256": "bb3393a5f8d49a7f8f8bb836d00441d63fec1dd48ac8c7892df7f8f37e190343",
        "retrievedUTC": "2026-10-26T07:36:26.554564+00:00"
      },
      {
        "status": "downloaded",
        "requestedURL": "https://hadley.nz/",
        "resolvedURL": "https://hadley.nz/",
        "file": "work/textbook-rewrite-2026/source-audit-data14/Hadley-Wickham-official.html",
        "bytes": 20986,
        "sha256": "5fe479ea3cb0cbbd9baf746882b322350aca837be650c06bd72d551fd0da9d0d",
        "retrievedUTC": "2026-10-26T07:36:25.823013+00:00"
      },
      {
        "status": "downloaded",
        "requestedURL": "https://docs.python.org/3.12/library/unittest.html",
        "resolvedURL": "https://docs.python.org/3.12/library/unittest.html",
        "file": "work/textbook-rewrite-2026/source-audit-data14/Python312-unittest-official.html",
        "bytes": 327819,
        "sha256": "55cf879d2b5c89a2af8e900c1546d093eb1dfe2ff62317aaeb4bb2c5d3c1907d",
        "retrievedUTC": "2026-10-26T07:36:26.500384+00:00"
      },
      {
        "status": "downloaded",
        "requestedURL": "https://stat.ethz.ch/R-manual/R-patched/library/base/html/stopifnot.html",
        "resolvedURL": "https://stat.ethz.ch/R-manual/R-patched/library/base/html/stopifnot.html",
        "file": "work/textbook-rewrite-2026/source-audit-data14/R-stopifnot-official.html",
        "bytes": 8495,
        "sha256": "11143ee8c3552998f9d2c260aee958f14c225eebd6a794a224f81224e341aa41",
        "retrievedUTC": "2026-10-26T07:36:27.473322+00:00"
      }
    ]
  },
  "reviewStatus": "Author original-source checks, actual twelve-test execution in each language and 79 independent Python/base-R metric comparisons passed; independent student review pending.",
  "modelScope": "Actual observations are preserved. Four expected-rejection tests distinguish unjustified contracts from source errors. Zero filling and row deletion are explicit invalid processing illustrations, not cleaned truth or producer revisions. A positional key is not a proof of independence or persistent identity. Hashes/environment/tests establish traceability within scope, not scientific accuracy or causal validity.",
  "numericalMethod": "Exact Fraction original-cell comparisons, source missingness and finite row-preservation policy arithmetic. Invalid processing is labeled; no source observation is overwritten."
}
