{
  "chapter": "DATA-06",
  "createdOn": "2026-10-26",
  "datasets": [
    {
      "file": "data06-sources/actual720-GDP-table-with-composite-keys.csv",
      "sha256": "76d79622279e4246f73cd0ef60fd8741db145e23ab2955ec5d096a84c707f0c0",
      "rows": 720,
      "bytes": 33754
    },
    {
      "file": "data06-sources/actual720-life-table-with-composite-keys.csv",
      "sha256": "21589e57f3ddedb38738d5ef7e8a85f27ecaad89d4566da331e2531d12c7e474",
      "rows": 720,
      "bytes": 30395
    },
    {
      "file": "data06-sources/actual720-correct-same-year-keyed-join.csv",
      "sha256": "8707e9009e1e66f2476f027ab6523521856fe1792685f462c808ed993cd97166",
      "rows": 720,
      "bytes": 38957
    },
    {
      "file": "data06-sources/eight-explicit-invalid-crossyear-combination-examples.csv",
      "sha256": "388d735e54e91f3ef0c71921a8ed6d56f4ee79be108268cd00ae61d1da912074",
      "rows": 8,
      "bytes": 541
    },
    {
      "file": "data06-sources/country-correct-versus-invalid-join-cardinality.csv",
      "sha256": "2cb0896377329271b1fb3fc979eca0546d7ee8653e01beb50519ca4794e1faa4",
      "rows": 2,
      "bytes": 165
    },
    {
      "file": "data06-sources/actual3613-person-demographics-keyed.csv",
      "sha256": "625d07555c5a5ddf5ef7133b3653123ad8d566ce04c8e4b95f76bded85a0740f",
      "rows": 3613,
      "bytes": 109943
    },
    {
      "file": "data06-sources/actual3613-outcome-keys-including603-NULL-values.csv",
      "sha256": "cf3aefbce9a41cd04aecedaea4e9277818a826f036b48f5e0d608d6dfd5a75f1",
      "rows": 3613,
      "bytes": 53953
    },
    {
      "file": "data06-sources/actual3010-available-only-outcome-keys.csv",
      "sha256": "f085f3ecabb304e8fa299d85049037463e335b095229f4beeeb3ff91895ca186",
      "rows": 3010,
      "bytes": 49889
    },
    {
      "file": "data06-sources/actual-two-education-groups-NULL-aware-aggregates.csv",
      "sha256": "97abbf8e68ffc53e14f2a26646cb95bd92eca0587e2d84434fda235371d2b25f",
      "rows": 2,
      "bytes": 366
    },
    {
      "file": "data06-sources/explicit-right-table-designs-and-join-result-counts.csv",
      "sha256": "c40066890c1e30d3eb568f44f0a14b9f4235a3fb93324d9b738bf794094c225c",
      "rows": 4,
      "bytes": 453
    },
    {
      "file": "data06-sources/actual410-before-wave-keyed-source-records.csv",
      "sha256": "9434152adc2a12552244320a9baad4dd9a499788a35cadd87fdec1e877e2db43",
      "rows": 410,
      "bytes": 7620
    },
    {
      "file": "data06-sources/actual410-after-wave-keyed-source-records.csv",
      "sha256": "9f268919007818f53dcccf808e9e39c809c421b2f252baa3b6a4bc77493c5e9b",
      "rows": 410,
      "bytes": 5530
    },
    {
      "file": "data06-sources/actual410-valid-source-row-joined-records.csv",
      "sha256": "49b44a5b83cf0ad2c81dfebf295a44abce102cb26ffb9ad90f454005bcd7cf67",
      "rows": 410,
      "bytes": 22179
    },
    {
      "file": "data06-sources/explicit412-invalid-code-only-combinations.csv",
      "sha256": "4971f838a0ff55a5566c9d6a7059d0812015c42bd62d55b6fc509b2b227bbbfd",
      "rows": 412,
      "bytes": 29292
    },
    {
      "file": "data06-sources/actual-code407-cross-combinations-not-all-valid-pairs.csv",
      "sha256": "505377038c57946992bd7930d4623ff8f7e8806c789c8e573038779839836c78",
      "rows": 4,
      "bytes": 454
    },
    {
      "file": "data06-sources/correct-and-invalid-store-join-counts-and-means.csv",
      "sha256": "3570d41e8ad2a4f61c3e249be6d8723e198806aef09bd561b128c072c954815e",
      "rows": 2,
      "bytes": 251
    }
  ],
  "additionalArtifacts": [
    {
      "file": "data06-sources/actual-source-queries-executed-in-memory.sql",
      "sha256": "aed255da4a0cbd8a7ee7bbe3bf4783428b236dbb3b0f0a9fa03e082873e222c3",
      "bytes": 1984
    },
    {
      "file": "data06-sources/actual-native-SQLite-execution.json",
      "sha256": "b95597ad728b2cd3aeb82846b973e449bef548f5ee8a4124a797e6e21c2699a9",
      "bytes": 5208
    }
  ],
  "sources": [
    {
      "file": "실제데이터/worldbank.csv",
      "sha256": "b2f0f3815ea20e087909038e352a72af9dd844d50448008d75e3440a642ddd02",
      "url": "https://data.worldbank.org/indicator/NY.GDP.PCAP.KD",
      "scope": "Actual720 GDP and period-life country-year cells and original API positions; preserve four GDP nulls; composite keys vs explicit invalid cross-year combinations.",
      "retrievedOn": "2026-10-20",
      "rawDownloaded": true,
      "originalFile": "work/textbooks-2026/raw/worldbank-panel.json",
      "originalSha256": "4e9aab35e4ba7a64324358bd4bd54bfbc89255c859958ec1e5f471128e2087b7",
      "license": "World Bank attribution terms.",
      "reviewedOn": "2026-10-26",
      "usesRetainedArchivedSnapshot": true,
      "snapshotDateEvidence": "실제데이터/manifest.json"
    },
    {
      "url": "https://data.worldbank.org/indicator/SP.DYN.LE00.IN",
      "retrievedOn": "2026-10-26",
      "webVerified": true,
      "rawDownloaded": false,
      "scope": "Official period-life indicator definition; not an individual lifespan prediction."
    },
    {
      "file": "실제데이터/college-proximity.csv",
      "sha256": "fd3ef1ef0eba13c487ece6aae7617a2da0a2b4239eae40c6c2bf58d771c7b8e0",
      "url": "https://davidcard.berkeley.edu/data_sets.html",
      "scope": "Actual3613 source rows/3010 available1976 source-trimmed log cents/hour/603 NULL. Full-key and available-only outcome tables intentionally differ in key coverage.",
      "retrievedOn": "2026-10-20",
      "rawDownloaded": true,
      "originalFile": "work/textbooks-2026/raw/proximity.zip",
      "originalSha256": "0e9b2ad4182ea631ca3dd8a5fff6c1b0ab86b56c6a3fa868870f716e8d82691f",
      "license": "Author public replication; no invented CC license.",
      "reviewedOn": "2026-10-26",
      "usesRetainedArchivedSnapshot": true,
      "snapshotDateEvidence": "실제데이터/manifest.json"
    },
    {
      "file": "실제데이터/nj-minwage.csv",
      "sha256": "6beb87b158637c3872015950554f9851d4cf06ba42c52eec9e2c52056da690b8",
      "url": "https://davidcard.berkeley.edu/data_sets.html",
      "scope": "Actual410 same-row wave records and component FTE; both407 source rows42/168 retained. The412 code-only combinations are explicitly invalid, not observed changes.",
      "retrievedOn": "2026-10-20",
      "rawDownloaded": true,
      "originalFile": "work/textbooks-2026/raw/njmin.zip",
      "originalSha256": "41a29aec6b489658b20030d044a2b20a5f5a04b871cde41df057afd6013ba587",
      "license": "Author public replication; no invented CC license.",
      "reviewedOn": "2026-10-26",
      "usesRetainedArchivedSnapshot": true,
      "snapshotDateEvidence": "실제데이터/manifest.json"
    },
    {
      "url": "https://cs50.harvard.edu/sql/weeks/1/",
      "retrievedOn": "2026-10-26",
      "webVerified": true,
      "rawDownloaded": false,
      "scope": "Official course video link _2t18Hy9Z0Y and official player route directly verified; no playback claim."
    },
    {
      "url": "https://www.ibm.com/history/edgar-codd",
      "retrievedOn": "2026-10-26",
      "webVerified": true,
      "rawDownloaded": false,
      "scope": "Official IBM history1970 relational model, separate from the later SQL language; no invented quotation."
    },
    {
      "url": "https://www.sqlite.org/lang_select.html",
      "retrievedOn": "2026-10-26",
      "webVerified": true,
      "rawDownloaded": false,
      "scope": "FROM2.1/WHERE2.3: ON/USING combinations, unmatched LEFT rows then WHERE; avoid bare aggregate column portability claim."
    },
    {
      "url": "https://sqlite.org/lang_aggfunc.html",
      "retrievedOn": "2026-10-26",
      "webVerified": true,
      "rawDownloaded": false,
      "scope": "avg/count numeric and NULL rules only; current online documentation distinct from recorded local SQLite version."
    }
  ],
  "processing": [
    "Verify original retained GDP/life720 country-years and positional API keys; split and join by ISO/year without treating invalid cross-year combinations as observations.",
    "Preserve Card3613 demographics; explicitly distinguish full3613 right keys with603 NULL logs from available-only3010 keys.",
    "Compute NULL-aware group counts/means with exact Fraction and actual native SQL; COALESCE-zero comparison is explicitly invalid source replacement.",
    "Preserve actual410 same-row before/after FTE and both original407 records; produce invalid412 code-only combinations solely as a labeled error demonstration.",
    "Execute all named SELECT queries in a new in-memory SQLite database from actual observations; preserve actual runtime version/query/output audit. Original files/external databases are unchanged.",
    "Protect pre/code source from prose spacing, retaining identical KO/EN executable examples."
  ],
  "verification": {
    "status": "Final cases: author checks, 48 independent Python/SQLite/base-R metrics and independent AI student source/numeric/KOEN review passed; parent integration/browser QA remains.",
    "scope": "Actual source observations differ from invalid cross-year or nonunique-code combinations. A matched NULL differs from an absent right key. Full and available-only outcome tables intentionally differ. Keyed linkage and observed group changes do not identify causal effects or certify independent observations.",
    "checks": {
      "actualCountryRows": 720,
      "invalidCountryOnlyCombinations": 32400,
      "actualPersonRows": 3613,
      "fullOutcomeInnerRows": 3613,
      "availableOnlyOutcomeInnerRows": 3010,
      "availableOnlyLeftRows": 3613,
      "leftThenWhereAvailableRows": 3010,
      "actualStoreRows": 410,
      "validStoreCompletePairs": 384,
      "invalidStoreCombinations": 412,
      "invalidStoreCompleteCombinations": 386,
      "nativeSQLiteQueriesExecuted": 10,
      "externalDatabaseOrOriginalFilesMutated": false,
      "independentPythonRMetricComparisons": 48
    },
    "videoVerification": "Official CS50 video link/player route verified; actual playback belongs to parent QA.",
    "studentReview": {
      "reviewer": "Independent AI neutral-student/pedagogy agent, not human certification",
      "checks": 65136,
      "verifiedHashes": 22,
      "chartPoints": 8,
      "independentNativeSQLiteQueriesRerun": 10,
      "record": "work/textbook-rewrite-2026/data06-pedagogy-review.json",
      "scope": "Original API/fixed-width records, exact join cardinalities and means, matched NULL versus absent right key, both repeated407 rows, native SQL, KOEN/resources; final display fixes confirmed. No unresolved findings."
    }
  },
  "reviewStatus": "Final cases: author checks, 48 independent Python/SQLite/base-R metrics and independent AI student source/numeric/KOEN review passed; parent integration/browser QA remains.",
  "modelScope": "Actual source observations differ from invalid cross-year or nonunique-code combinations. A matched NULL differs from an absent right key. Full and available-only outcome tables intentionally differ. Keyed linkage and observed group changes do not identify causal effects or certify independent observations."
}
