[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EKWFPK1AFS7PCEJH7MWE3N":3,"skill-same:01M6EKWFPK1AFS7PCEJH7MWE3N":78},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":32,"linkOnly":33,"markdownContent":34,"markdownBody":35,"frontMatter":36,"refName":55,"commitSha":56,"skillDirectory":57,"forksCount":58,"repositoryHtmlUrl":59,"repositoryHomepageUrl":6,"ownerHtmlUrl":60,"ownerBlogUrl":61,"ownerDescription":62,"updatedAt":63,"install":64,"resources":77},"01M6EKWFPK1AFS7PCEJH7MWE3N","causal-itr-policy-value-evaluation",null,"M7 — cross-fitted policy-value estimation with cluster-bootstrap CIs, treat-all\u002Ftreat-none\u002Fbest-constant baselines, subgroup value parity, and no-benefit honesty rules.","cgpan\u002Fedm-ars-public","cgpan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F118746117?v=4","01M6EKT5TG36Q3GH340QN8RH08","Chenguang Pan","01M6EKT5YTQVRARGJF0VPA1SY7",5,"MIT","https:\u002F\u002Fgithub.com\u002Fcgpan\u002Fedm-ars-public\u002Fblob\u002Fmain\u002Fskills\u002Fmethodology\u002Fcausal-itr-policy-value-evaluation\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31],"policy","Evaluation","causal itr policy value evaluation","bootstrap","methodology","baseline","analysis","critic","Rules","cis","estimation","analyst","cluster","2026-11-10 10:12:30",false,"---\nname: causal-itr-policy-value-evaluation\nlayer: methodology\ndescription: M7 — cross-fitted policy-value estimation with cluster-bootstrap CIs, treat-all\u002Ftreat-none\u002Fbest-constant baselines, subgroup value parity, and no-benefit honesty rules.\ntrigger_keywords:\n  - policy\n  - value\n  - evaluation\n  - baseline\n  - parity\n  - gain\napplicable_task_types:\n  - causal_itr\napplicable_datasets: []\napplicable_stages:\n  - Analyst\n  - Critic\npriority: 1\nreferences_skills:\n  - subgroup-fairness-analysis\n  - bootstrap-confidence-intervals\nresources: []\nversion: \"1.1\"\nrule_severity: mandatory\n---\n\n# Causal ITR Policy-Value Evaluation (M7)\n\nEstimate the value of the learned rule and — the actual headline — its\nGAIN over the best constant policy, honestly.\n\n## Value estimator (cross-fitted, DR)\n\nFor any candidate policy π, using the out-of-fold DR pseudo-outcomes\nfrom M6:\n\n```\nV̂(π)   = mean( π(x_i) · Γ_i ) + mean( μ̂₀(x_i) + (1−T_i)(Y_i − μ̂₀(x_i))\u002F(1−ê(x_i)) )\n       ≡ mean over i of the DR score of the outcome under π\nV̂_all  = V̂(π ≡ 1);  V̂_none = V̂(π ≡ 0)\ngain    = V̂(π̂) − max(V̂_all, V̂_none)\n```\n\nThe rule π̂ evaluated on fold k must have been LEARNED on the other\nfolds (cross-fitted policy evaluation) — in-sample value is the ITR\nanalogue of evaluating on the training set and is forbidden.\n\n## Deterministic implementation (MANDATORY - R3-followup)\n\nCall `analysis_helpers.itr_crossfit_policy_value(df, T, Y,\nadjustment_cols, rule_covariate_cols, groups=school_ids)` - it\ncomputes value, baselines, gain, and the cluster-bootstrap CI on the\nSAME gain statistic (F-R3-M7-CI-INCONSISTENT was a live point estimate\noutside its own CI from a hand-rolled bootstrap).\n\n## Uncertainty\n\nCluster bootstrap (school as the resampling unit, per D1), 1000\niterations, on the `gain` statistic → `gain_ci_lower\u002Fupper`.\n`random_state=42`.\n\n## Honesty rules (mandatory)\n\n1. If the gain CI covers zero, the HEADLINE is \"no detectable\n   targeting benefit over the best constant policy\" — the rule card is\n   still reported, framed as exploratory.\n2. Never report V̂(π̂) alone: always alongside `value_treat_all` and\n   `value_treat_none`. A \"high\" policy value that equals treat-all's\n   value is not a targeting finding.\n3. \"Regret vs oracle\" language is BANNED on real data (the oracle is\n   unknown); regret is a synthetic-gate concept only.\n\n## Subgroup value parity (fairness of the rule)\n\nFor each protected attribute in `research_spec.subgroup_analyses`\n(via the D1 label snapshot): report per-level `policy_value` and `n`,\nplus the share of each level the rule would treat. A rule whose value\ngain accrues to one group while another is systematically untreated\nmust be flagged in `warnings` and discussed by the Writer. See\n`subgroup-fairness-analysis` for the label-preservation mechanics.\n\n## Output schema\n\n`estimates.M7` per the causal_itr Analyst prompt: `policy_value`,\n`value_treat_all`, `value_treat_none`, `value_gain_vs_best_constant`,\n`gain_ci_lower\u002Fupper`, `se_method: cluster_bootstrap`, `n_folds`,\n`subgroup_value_parity`.\n\n## Failures prevented\n\nIn-sample value inflation; headline-hides-null; missing baselines;\nrules that look valuable only because treat-all is valuable;\ninequitable rules shipped without a parity table.\n\n## Source provenance\n\nAuthored in V3.1 Arc R (R1) per the causal-ITR scope note (internal).\n","# Causal ITR Policy-Value Evaluation (M7)\n\nEstimate the value of the learned rule and — the actual headline — its\nGAIN over the best constant policy, honestly.\n\n## Value estimator (cross-fitted, DR)\n\nFor any candidate policy π, using the out-of-fold DR pseudo-outcomes\nfrom M6:\n\n```\nV̂(π)   = mean( π(x_i) · Γ_i ) + mean( μ̂₀(x_i) + (1−T_i)(Y_i − μ̂₀(x_i))\u002F(1−ê(x_i)) )\n       ≡ mean over i of the DR score of the outcome under π\nV̂_all  = V̂(π ≡ 1);  V̂_none = V̂(π ≡ 0)\ngain    = V̂(π̂) − max(V̂_all, V̂_none)\n```\n\nThe rule π̂ evaluated on fold k must have been LEARNED on the other\nfolds (cross-fitted policy evaluation) — in-sample value is the ITR\nanalogue of evaluating on the training set and is forbidden.\n\n## Deterministic implementation (MANDATORY - R3-followup)\n\nCall `analysis_helpers.itr_crossfit_policy_value(df, T, Y,\nadjustment_cols, rule_covariate_cols, groups=school_ids)` - it\ncomputes value, baselines, gain, and the cluster-bootstrap CI on the\nSAME gain statistic (F-R3-M7-CI-INCONSISTENT was a live point estimate\noutside its own CI from a hand-rolled bootstrap).\n\n## Uncertainty\n\nCluster bootstrap (school as the resampling unit, per D1), 1000\niterations, on the `gain` statistic → `gain_ci_lower\u002Fupper`.\n`random_state=42`.\n\n## Honesty rules (mandatory)\n\n1. If the gain CI covers zero, the HEADLINE is \"no detectable\n   targeting benefit over the best constant policy\" — the rule card is\n   still reported, framed as exploratory.\n2. Never report V̂(π̂) alone: always alongside `value_treat_all` and\n   `value_treat_none`. A \"high\" policy value that equals treat-all's\n   value is not a targeting finding.\n3. \"Regret vs oracle\" language is BANNED on real data (the oracle is\n   unknown); regret is a synthetic-gate concept only.\n\n## Subgroup value parity (fairness of the rule)\n\nFor each protected attribute in `research_spec.subgroup_analyses`\n(via the D1 label snapshot): report per-level `policy_value` and `n`,\nplus the share of each level the rule would treat. A rule whose value\ngain accrues to one group while another is systematically untreated\nmust be flagged in `warnings` and discussed by the Writer. See\n`subgroup-fairness-analysis` for the label-preservation mechanics.\n\n## Output schema\n\n`estimates.M7` per the causal_itr Analyst prompt: `policy_value`,\n`value_treat_all`, `value_treat_none`, `value_gain_vs_best_constant`,\n`gain_ci_lower\u002Fupper`, `se_method: cluster_bootstrap`, `n_folds`,\n`subgroup_value_parity`.\n\n## Failures prevented\n\nIn-sample value inflation; headline-hides-null; missing baselines;\nrules that look valuable only because treat-all is valuable;\ninequitable rules shipped without a parity table.\n\n## Source provenance\n\nAuthored in V3.1 Arc R (R1) per the causal-ITR scope note (internal).\n",{"name":5,"layer":23,"version":37,"priority":38,"resources":39,"description":7,"rule_severity":40,"trigger_keywords":41,"applicable_stages":46,"references_skills":49,"applicable_datasets":52,"applicable_task_types":53},"1.1",1,[],"mandatory",[19,42,43,24,44,45],"value","evaluation","parity","gain",[47,48],"Analyst","Critic",[50,51],"subgroup-fairness-analysis","bootstrap-confidence-intervals",[],[54],"causal_itr","main","1aeaead66d2bf876109f3b101005d2eed54041d9","skills\u002Fmethodology\u002Fcausal-itr-policy-value-evaluation",0,"https:\u002F\u002Fgithub.com\u002Fcgpan\u002Fedm-ars-public","https:\u002F\u002Fgithub.com\u002Fcgpan","https:\u002F\u002Fcpan.ai","Ph.D. candidate in Measurement, Evaluation, and Statistics.","2026-09-28 20:39:06",{"source":8,"skillName":5,"commands":65,"prompt":75,"zipAvailable":76},[66,69,72],{"tool":67,"command":68},"npx","npx skills add cgpan\u002Fedm-ars-public --skill causal-itr-policy-value-evaluation",{"tool":70,"command":71},"bunx","bunx skills add cgpan\u002Fedm-ars-public --skill causal-itr-policy-value-evaluation",{"tool":73,"command":74},"pnpm","pnpm dlx skills add cgpan\u002Fedm-ars-public --skill causal-itr-policy-value-evaluation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcgpan\u002Fedm-ars-public\u002Fblob\u002Fmain\u002Fskills\u002Fmethodology\u002Fcausal-itr-policy-value-evaluation\u002FSKILL.md",true,[],[79,92,105,114,125,135],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":32},"01M6EM1ZTQZVAP90DZTVBHCCFB","acm-fixture","Fixture writing skill for ACM acmart sigconf paper output.","https:\u002F\u002Fgithub.com\u002Fcgpan\u002Fedm-ars-public\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fwriting\u002Facm-fixture\u002FSKILL.md",[],[86,87,88,89,90,91],"acm fixture","fixture","writing","LaTeX","writer","paper",{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":32},"01M6EM1XNFETAZFGPHQPAXKBYN","prediction-fixture","Fixture skill for the prediction task type; references shap-fixture.","https:\u002F\u002Fgithub.com\u002Fcgpan\u002Fedm-ars-public\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Ftask-type\u002Fprediction-fixture\u002FSKILL.md",[],[87,99,100,101,102,103,104,30],"prediction fixture","task","type","references","fixture skill","shap",{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":32},"01M6EM1V4MQXYGQ7K2ZDJRAPSM","causal-fixture","Fixture skill for the causal_inference task type.","https:\u002F\u002Fgithub.com\u002Fcgpan\u002Fedm-ars-public\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Ftask-type\u002Fcausal-fixture\u002FSKILL.md",[],[87,112,101,100,113,103],"causal fixture","inference",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":32},"01M6EM1SCWFZZ2ACSAP65GNWK9","shap-fixture","Fixture methodology for SHAP feature importance analysis.","https:\u002F\u002Fgithub.com\u002Fcgpan\u002Fedm-ars-public\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fmethodology\u002Fshap-fixture\u002FSKILL.md",[],[121,87,104,122,23,25,123,124],"shap fixture","feature importance","explainer","feature",{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":32},"01M6EM1PZC1MK1G0D1YFVYAQ9W","cluster-recon-fixture","Fixture methodology for reconstructing cluster IDs from fingerprint variables.","https:\u002F\u002Fgithub.com\u002Fcgpan\u002Fedm-ars-public\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fmethodology\u002Fcluster-recon-fixture\u002FSKILL.md",[],[132,133,31,87,134,23],"recon","cluster recon fixture","ids",{"skillNo":136,"name":137,"nameZh":6,"description":138,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":32},"01M6EM1MZVKMSWEXZ7TJ45DS04","hsls09-fixture","Fixture skill for HSLS:09 with a bundled YAML resource and one cross-reference.","https:\u002F\u002Fgithub.com\u002Fcgpan\u002Fedm-ars-public\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fdataset\u002Fhsls09-fixture\u002FSKILL.md",[],[87,142,143,144,145,103,146,132,31,147],"hsls09 fixture","yaml","public","reference","dataset","registry"]