{
  "chapter": "DATA-18",
  "createdOn": "2026-10-26",
  "datasets": [
    {
      "file": "data18-sources/actual3150-customer-source-fields-and-declared-row-split.csv",
      "sha256": "1da1c7d5336565d635a7c2142c6cf09d5f1f2c89f4fb083c087e5e8bac639294",
      "rows": 3150,
      "bytes": 444324
    },
    {
      "file": "data18-sources/actual14-source-variable-roles-and-asof-contract.csv",
      "sha256": "81a1ce086d933baca17bd959007836bac103639b0f8af8ae3fd665421289ce45",
      "rows": 14,
      "bytes": 1776
    },
    {
      "file": "data18-sources/actual-three-split-role-denominators.csv",
      "sha256": "71760c2ca23eb58315fdc7f93da78e3d7cb070e08877b98394a4c690a754a401",
      "rows": 3,
      "bytes": 298
    },
    {
      "file": "data18-sources/actual-four-training-cells-and-chosen-smoothed-probabilities.csv",
      "sha256": "e9efbd731391c67f998c9da34e549d06d4e63ac13461091f30007123759e3f0c",
      "rows": 4,
      "bytes": 436
    },
    {
      "file": "data18-sources/actual-twelve-validation-threshold-profiles.csv",
      "sha256": "03100aa959d74550c876cc9f5da6bc5bfb22243b0e87b1cea751f18ed9d14d47",
      "rows": 12,
      "bytes": 978
    },
    {
      "file": "data18-sources/actual3150-train-fit-probabilities-and-frozen-threshold-predictions.csv",
      "sha256": "6f9a63ac7273ef5755e0710837f1bd14e75c9dff6cb64a1748103dc48f52c1ab",
      "rows": 3150,
      "bytes": 189939
    },
    {
      "file": "data18-sources/actual-two-heldout-test-model-evaluations.csv",
      "sha256": "7e95e05a8593f69d7f338ad7d886441e1708f8334f8c9a5450c05aaed8143bd2",
      "rows": 2,
      "bytes": 826
    },
    {
      "file": "data18-sources/explicit-invalid-target-copy-test-demo.csv",
      "sha256": "49c5fb807846047602defa0a95541bb116c5f208d3f83c11784573ca18883431",
      "rows": 1,
      "bytes": 453
    },
    {
      "file": "data18-sources/actual-input-pattern-cross-role-audit.csv",
      "sha256": "38f90f92d7b7c310763e6f0332b3771f4df22fcff18164771bd1ea3ea58669c7",
      "rows": 2836,
      "bytes": 279979
    },
    {
      "file": "data18-sources/actual-input-pattern-audit-summary.csv",
      "sha256": "b82b645f1d57a370cc217ffa5c74b76655d61b6f24abdd29be44581ab59bab22",
      "rows": 1,
      "bytes": 260
    },
    {
      "file": "data18-sources/explicit-twelve-item-prediction-handover.csv",
      "sha256": "15a1c38f93c825d80118faa49abc5c3859b875c051d51bc182df592edb53b712",
      "rows": 12,
      "bytes": 1993
    }
  ],
  "sources": [
    {
      "url": "https://archive.ics.uci.edu/dataset/563/iranian+churn+dataset",
      "originalFile": "work/textbooks-2026/raw/churn.zip",
      "originalSha256": "696c3a1812267980751f30d19193a1b430ac4ad76172bb089e664c96813ead66",
      "retrievedOn": "2026-10-20",
      "reviewedOn": "2026-10-26",
      "rawDownloaded": true,
      "scope": "Actual3150x14anonymous customer records; sourceChurntarget not fed into valid models. Original13inputpattern audit does not certify customer identity or independence. CC BY4.0 DOI10.24432/C5JW3Z."
    },
    {
      "url": "https://archive.ics.uci.edu/api/dataset?id=563",
      "originalFile": "work/textbook-rewrite-2026/source-audit-data13/uci-churn563-metadata.json",
      "originalSha256": "4beb24e110313d925d3023116cdcabbe04dfc82b5aee209146e648ac580d3afb",
      "retrievedOn": "2026-10-26",
      "rawDownloaded": true,
      "scope": "Actual official metadata:13inputs first9months,12monthtarget,3monthgap, index_colnull, no supplied IDcolumn. CustomerValue calculationunspecified; no claim of provenpostoutcomeleak. Publication/updateyear is not observationcalendar year."
    },
    {
      "url": "https://statquest.org/video_index.html",
      "webVerified": true,
      "webVerifiedOn": "2026-10-26",
      "rawDownloaded": false,
      "scope": "Official creator index link112 identifies Kdsp6soqA7o; official YouTube title/channel metadata independently observed. No playback claim."
    },
    {
      "url": "https://www.stat.berkeley.edu/users/breiman/",
      "webVerified": true,
      "webVerifiedOn": "2026-10-26",
      "rawDownloaded": false,
      "scope": "Official Berkeley faculty memorial: classification/prediction work and CART coauthorship. No original research-paper reading claim."
    },
    {
      "url": "https://scikit-learn.org/stable/common_pitfalls.html",
      "webVerified": true,
      "webVerifiedOn": "2026-10-26",
      "rawDownloaded": false,
      "scope": "Only §12.2 prediction-time leakage and train-only fitting/transform distinction recommended. Documentation version1.9.1 not an installed execution environment."
    },
    {
      "url": "https://scikit-learn.org/stable/modules/classification_threshold.html",
      "webVerified": true,
      "webVerifiedOn": "2026-10-26",
      "rawDownloaded": false,
      "scope": "Intro probability/decision distinction and §3.3.1.2 warning: tune prefitted threshold on new validation data. No claim of running sklearn CV."
    }
  ],
  "additionalArtifacts": [
    {
      "file": "data18-sources/source-selection-and-model-contract.json",
      "sha256": "4a1e4e2549ecde3a10bae789698b799151e6d8fc8207fad50388ad1a16e4673b"
    }
  ],
  "processing": [
    "Verify all original3150x14cells against retained common observations and official metadata. Preserve all rows; sourceposition is not a supplied customerID.",
    "Declare deterministicauthorLCG priority-row split1890/630/630, not a producer, time or independently verifiedcustomer split. Equal13inputpattern crossrole audit is descriptive and excludesChurn.",
    "Use traininglabels only for chosen Beta1,1smoothed Complains/Status conditional cells and baselinechurnrate. ExcludeCustomerValue because formula is not reproduced, without declaringprovenleakage.",
    "Choose among sixexact thresholds on validationonly using explicitFP1/FN4label-error scores, withlargestthreshold tie-break. Freeze fit/threshold before test evaluation.",
    "Evaluate actual heldoutrows using confusioncounts, Brier, Decimal80logloss and exactpairwiseAUC withhalfties. Undefined precision remainsunavailable. No futuredeployment or causalretentionbenefit is claimed.",
    "Keep targetcopy as a separately named invalidleakage demo, never a deployablemodel. Maintain fullsource hashes, input/code definitions and unknowns in a12-itemhandover."
  ],
  "verification": {
    "status": "Source cases frozen after independent original3150x14data, all11CSV, train-only fits/validation-only selection/heldout scores, fullKOEN cases/14displaytables, official resources and strict markup; no unresolved source finding. Actual browser and manuscript are separate gates.",
    "scope": "Actual anonymous UCI records are not a national representative sample, known unique customers or a verified calendar holdout. Producer aggregation timing and per-row availability verification differ. Train-only probabilities, validation-only threshold choice and held-out row evaluation are distinct. Pseudo-counts and FP/FN penalties are chosen model/decision assumptions; retention intervention effects are not identified. CustomerValue exclusion is not proof of post-outcome leakage. The target-copy demonstration is explicitly invalid.",
    "checks": {
      "sourceRows": 3150,
      "sourceFields": 14,
      "roleRows": [
        1890,
        630,
        630
      ],
      "roleEvents": [
        311,
        95,
        89
      ],
      "trainingCells": 4,
      "validationThresholdProfiles": 12,
      "heldOutEvaluationRows": 630,
      "distinctInputPatterns": 2836,
      "crossRolePatterns": 126,
      "crossRolePatternRecords": 386,
      "patternsWithDifferentOutcomes": 14,
      "originalSourceRowsDeleted": 0,
      "independentPythonRComparisons": 138
    },
    "videoVerification": "Official creator index and video identity verified; actual in-page playback remains parent browser QA.",
    "independentFullSourceReviewComplete": true,
    "independentFullOriginalSourceReview": {
      "report": "work/textbook-rewrite-2026/data18-cases-root-independent.json",
      "reportSHA256": "3140c2f53a657b3a549dc96f03087cb47567d70293433b1c05a3db85f31c9318",
      "reviewedCandidateSHA256": "6fa6d3a55722e3aba0a41a6e0a5d729425bb5ef1e29c696b97e3ef94f7fb4202",
      "reviewer": "Independent Root AI reviewer; not human classroom certification",
      "status": "passed"
    },
    "independentCaseTableDisplayReview": {
      "report": "work/textbook-rewrite-2026/data18-root-case-display-review.json",
      "reportSHA256": "585c0d5c8b83cae8e34112b412a31f5c9c6e9e1e0540a341d599b8218826ccf5",
      "reviewedCandidateSHA256": "6fa6d3a55722e3aba0a41a6e0a5d729425bb5ef1e29c696b97e3ef94f7fb4202",
      "reviewer": "Independent Root AI reviewer; not human classroom certification",
      "status": "passed"
    },
    "independentPublicResourceReview": {
      "report": "work/textbook-rewrite-2026/data18-root-public-resources-review.json",
      "reportSHA256": "98a64fa5cee4b4fd5752de0737ddd01173f35f8d0250dd853627e7aba09ed954",
      "reviewedCandidateSHA256": "6fa6d3a55722e3aba0a41a6e0a5d729425bb5ef1e29c696b97e3ef94f7fb4202",
      "reviewer": "Independent Root AI reviewer; not human classroom certification",
      "status": "passed"
    },
    "independentCaseMarkupReview": {
      "report": "work/textbook-rewrite-2026/data18-root-case-markup-review.json",
      "reportSHA256": "6889247be75fe25936c6bdff51da82341cc1f9e85245e07b169430269700b3d1",
      "reviewedCandidateSHA256": "6fa6d3a55722e3aba0a41a6e0a5d729425bb5ef1e29c696b97e3ef94f7fb4202",
      "reviewer": "Independent Root AI reviewer; not human classroom certification",
      "status": "passed"
    }
  },
  "reviewStatus": "Source cases frozen after independent original3150x14data, all11CSV, train-only fits/validation-only selection/heldout scores, fullKOEN cases/14displaytables, official resources and strict markup; no unresolved source finding. Actual browser and manuscript are separate gates.",
  "modelScope": "Actual anonymous UCI records are not a national representative sample, known unique customers or a verified calendar holdout. Producer aggregation timing and per-row availability verification differ. Train-only probabilities, validation-only threshold choice and held-out row evaluation are distinct. Pseudo-counts and FP/FN penalties are chosen model/decision assumptions; retention intervention effects are not identified. CustomerValue exclusion is not proof of post-outcome leakage. The target-copy demonstration is explicitly invalid.",
  "numericalMethod": "Exact Fraction source inputs, fixed integer LCG row priorities, conditional-cell smoothing, validation confusion counts, threshold tie rule, Brier and AUC; Decimal80 logarithmic score is an approximation. Public row identities, timestamps and future outcomes are not invented."
}
