Skip to content

Commit 9f07241

Browse files
ci: refresh schema bundle after parity anchors
1 parent 3d09c0f commit 9f07241

6 files changed

Lines changed: 36 additions & 30 deletions

File tree

schemas/agent_cards.json

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4860,7 +4860,7 @@
48604860
"Z is relevant for W given A, X (bridge first stage)"
48614861
],
48624862
"category": "causal",
4863-
"description": "Proximal Causal Inference via linear 2SLS on the outcome bridge. Identifies ATE with unmeasured confounding using two proxy variables: a treatment-side Z (instrument for W) and an outcome-side W (endogenous bridge regressor).",
4863+
"description": "Proximal Causal Inference via linear 2SLS on the outcome bridge. Identifies ATE with unmeasured confounding using two proxy variables: a treatment-side Z (instrument for W) and an outcome-side W (endogenous bridge regressor). Validation: validated evidence tier (known-truth, reference, external-parity, or Monte Carlo artifact).",
48644864
"example": "sp.proximal(df, y=\"y\", treat=\"d\", proxy_z=[\"z\"], proxy_w=[\"w\"])",
48654865
"failure_modes": [
48664866
{
@@ -4893,7 +4893,7 @@
48934893
],
48944894
"reference": "Tchetgen Tchetgen et al. (2020); Miao, Geng & Tchetgen Tchetgen (2018)",
48954895
"signature": {
4896-
"description": "Proximal Causal Inference via linear 2SLS on the outcome bridge. Identifies ATE with unmeasured confounding using two proxy variables: a treatment-side Z (instrument for W) and an outcome-side W (endogenous bridge regressor).",
4896+
"description": "Proximal Causal Inference via linear 2SLS on the outcome bridge. Identifies ATE with unmeasured confounding using two proxy variables: a treatment-side Z (instrument for W) and an outcome-side W (endogenous bridge regressor). Validation: validated evidence tier (known-truth, reference, external-parity, or Monte Carlo artifact).",
48974897
"name": "proximal",
48984898
"parameters": {
48994899
"properties": {
@@ -4957,9 +4957,10 @@
49574957
"stability": "stable",
49584958
"typical_n_min": 1000,
49594959
"validation_notes": [
4960+
"tests/reference_parity/test_proximal_parity.py",
49604961
"API/unit contract evidence: tests/test_proximal.py"
49614962
],
4962-
"validation_status": "api_stable"
4963+
"validation_status": "validated"
49634964
},
49644965
{
49654966
"alternatives": [
@@ -13694,7 +13695,7 @@
1369413695
"A bridge function exists (completeness conditions hold)."
1369513696
],
1369613697
"category": "causal",
13697-
"description": "Fortified proximal causal inference (Yu, Shi & Tchetgen Tchetgen 2025). Adds a bridge-function stability constraint that gives robust ATT under mild misspecification of the outcome/treatment bridge.",
13698+
"description": "Fortified proximal causal inference (Yu, Shi & Tchetgen Tchetgen 2025). Adds a bridge-function stability constraint that gives robust ATT under mild misspecification of the outcome/treatment bridge. Validation: validated evidence tier (known-truth, reference, external-parity, or Monte Carlo artifact).",
1369813699
"example": "sp.fortified_pci(df, y=\"y\", treat=\"d\", proxy_z=[\"z\"], proxy_w=[\"w\"])",
1369913700
"failure_modes": [
1370013701
{
@@ -13712,7 +13713,7 @@
1371213713
],
1371313714
"reference": "Yu, Shi & Tchetgen Tchetgen (2025). arXiv:2506.13152.",
1371413715
"signature": {
13715-
"description": "Fortified proximal causal inference (Yu, Shi & Tchetgen Tchetgen 2025). Adds a bridge-function stability constraint that gives robust ATT under mild misspecification of the outcome/treatment bridge.",
13716+
"description": "Fortified proximal causal inference (Yu, Shi & Tchetgen Tchetgen 2025). Adds a bridge-function stability constraint that gives robust ATT under mild misspecification of the outcome/treatment bridge. Validation: validated evidence tier (known-truth, reference, external-parity, or Monte Carlo artifact).",
1371613717
"name": "fortified_pci",
1371713718
"parameters": {
1371813719
"properties": {
@@ -13763,9 +13764,10 @@
1376313764
"stability": "stable",
1376413765
"typical_n_min": 500,
1376513766
"validation_notes": [
13767+
"tests/reference_parity/test_proximal_parity.py",
1376613768
"API/unit contract evidence: tests/test_proximal_frontiers.py"
1376713769
],
13768-
"validation_status": "api_stable"
13770+
"validation_status": "validated"
1376913771
},
1377013772
{
1377113773
"alternatives": [
@@ -13777,7 +13779,7 @@
1377713779
"A bridge function exists (completeness conditions hold)."
1377813780
],
1377913781
"category": "causal",
13780-
"description": "Bidirectional proximal causal inference (Min, Zhang & Luo 2025). Solves for both outcome and treatment bridges simultaneously in a single two-way regression system.",
13782+
"description": "Bidirectional proximal causal inference (Min, Zhang & Luo 2025). Solves for both outcome and treatment bridges simultaneously in a single two-way regression system. Validation: validated evidence tier (known-truth, reference, external-parity, or Monte Carlo artifact).",
1378113783
"example": "sp.bidirectional_pci(df, y=\"y\", treat=\"d\", proxy_z=[\"z\"], proxy_w=[\"w\"])",
1378213784
"failure_modes": [
1378313785
{
@@ -13795,7 +13797,7 @@
1379513797
],
1379613798
"reference": "Min, Zhang & Luo (2025). arXiv:2507.13965.",
1379713799
"signature": {
13798-
"description": "Bidirectional proximal causal inference (Min, Zhang & Luo 2025). Solves for both outcome and treatment bridges simultaneously in a single two-way regression system.",
13800+
"description": "Bidirectional proximal causal inference (Min, Zhang & Luo 2025). Solves for both outcome and treatment bridges simultaneously in a single two-way regression system. Validation: validated evidence tier (known-truth, reference, external-parity, or Monte Carlo artifact).",
1379913801
"name": "bidirectional_pci",
1380013802
"parameters": {
1380113803
"properties": {
@@ -13846,9 +13848,10 @@
1384613848
"stability": "stable",
1384713849
"typical_n_min": 500,
1384813850
"validation_notes": [
13851+
"tests/reference_parity/test_proximal_parity.py",
1384913852
"API/unit contract evidence: tests/test_proximal_frontiers.py"
1385013853
],
13851-
"validation_status": "api_stable"
13854+
"validation_status": "validated"
1385213855
},
1385313856
{
1385413857
"alternatives": [

schemas/functions.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2595,7 +2595,7 @@
25952595
}
25962596
},
25972597
{
2598-
"description": "Proximal Causal Inference via linear 2SLS on the outcome bridge. Identifies ATE with unmeasured confounding using two proxy variables: a treatment-side Z (instrument for W) and an outcome-side W (endogenous bridge regressor).",
2598+
"description": "Proximal Causal Inference via linear 2SLS on the outcome bridge. Identifies ATE with unmeasured confounding using two proxy variables: a treatment-side Z (instrument for W) and an outcome-side W (endogenous bridge regressor). Validation: validated evidence tier (known-truth, reference, external-parity, or Monte Carlo artifact).",
25992599
"name": "proximal",
26002600
"parameters": {
26012601
"properties": {
@@ -7104,7 +7104,7 @@
71047104
}
71057105
},
71067106
{
7107-
"description": "Fortified proximal causal inference (Yu, Shi & Tchetgen Tchetgen 2025). Adds a bridge-function stability constraint that gives robust ATT under mild misspecification of the outcome/treatment bridge.",
7107+
"description": "Fortified proximal causal inference (Yu, Shi & Tchetgen Tchetgen 2025). Adds a bridge-function stability constraint that gives robust ATT under mild misspecification of the outcome/treatment bridge. Validation: validated evidence tier (known-truth, reference, external-parity, or Monte Carlo artifact).",
71087108
"name": "fortified_pci",
71097109
"parameters": {
71107110
"properties": {
@@ -7153,7 +7153,7 @@
71537153
}
71547154
},
71557155
{
7156-
"description": "Bidirectional proximal causal inference (Min, Zhang & Luo 2025). Solves for both outcome and treatment bridges simultaneously in a single two-way regression system.",
7156+
"description": "Bidirectional proximal causal inference (Min, Zhang & Luo 2025). Solves for both outcome and treatment bridges simultaneously in a single two-way regression system. Validation: validated evidence tier (known-truth, reference, external-parity, or Monte Carlo artifact).",
71577157
"name": "bidirectional_pci",
71587158
"parameters": {
71597159
"properties": {

schemas/tools.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1510,7 +1510,7 @@
15101510
"name": "bibtex"
15111511
},
15121512
{
1513-
"description": "Bidirectional proximal causal inference (Min, Zhang & Luo 2025). Solves for both outcome and treatment bridges simultaneously in a single two-way regression system. Assumptions: The proxies are valid negative controls (relevant to the confounder, excluded from the causal channel); A bridge function exists (completeness conditions hold). Pre-conditions: Treatment-inducing and outcome-inducing proxy variables (negative controls) for the unobserved confounder. Failure modes: Proxies are weak or invalid -- the bridge function is poorly identified -> Test proxy relevance, select stronger proxies, or fall back to sensitivity analysis. Alternatives: sp.select_pci_proxies, sp.dml. Typical minimum N: 500.",
1513+
"description": "Bidirectional proximal causal inference (Min, Zhang & Luo 2025). Solves for both outcome and treatment bridges simultaneously in a single two-way regression system. Validation: validated evidence tier (known-truth, reference, external-parity, or Monte Carlo artifact). Assumptions: The proxies are valid negative controls (relevant to the confounder, excluded from the causal channel); A bridge function exists (completeness conditions hold). Pre-conditions: Treatment-inducing and outcome-inducing proxy variables (negative controls) for the unobserved confounder. Failure modes: Proxies are weak or invalid -- the bridge function is poorly identified -> Test proxy relevance, select stronger proxies, or fall back to sensitivity analysis. Alternatives: sp.select_pci_proxies, sp.dml. Typical minimum N: 500.",
15141514
"input_schema": {
15151515
"properties": {
15161516
"covariates": {
@@ -7357,7 +7357,7 @@
73577357
"name": "forest_diagnostics"
73587358
},
73597359
{
7360-
"description": "Fortified proximal causal inference (Yu, Shi & Tchetgen Tchetgen 2025). Adds a bridge-function stability constraint that gives robust ATT under mild misspecification of the outcome/treatment bridge. Assumptions: The proxies are valid negative controls (relevant to the confounder, excluded from the causal channel); A bridge function exists (completeness conditions hold). Pre-conditions: Treatment-inducing and outcome-inducing proxy variables (negative controls) for the unobserved confounder. Failure modes: Proxies are weak or invalid -- the bridge function is poorly identified -> Test proxy relevance, select stronger proxies, or fall back to sensitivity analysis. Alternatives: sp.select_pci_proxies, sp.dml. Typical minimum N: 500.",
7360+
"description": "Fortified proximal causal inference (Yu, Shi & Tchetgen Tchetgen 2025). Adds a bridge-function stability constraint that gives robust ATT under mild misspecification of the outcome/treatment bridge. Validation: validated evidence tier (known-truth, reference, external-parity, or Monte Carlo artifact). Assumptions: The proxies are valid negative controls (relevant to the confounder, excluded from the causal channel); A bridge function exists (completeness conditions hold). Pre-conditions: Treatment-inducing and outcome-inducing proxy variables (negative controls) for the unobserved confounder. Failure modes: Proxies are weak or invalid -- the bridge function is poorly identified -> Test proxy relevance, select stronger proxies, or fall back to sensitivity analysis. Alternatives: sp.select_pci_proxies, sp.dml. Typical minimum N: 500.",
73617361
"input_schema": {
73627362
"properties": {
73637363
"covariates": {
@@ -14651,7 +14651,7 @@
1465114651
"name": "propensity_score"
1465214652
},
1465314653
{
14654-
"description": "Proximal Causal Inference via linear 2SLS on the outcome bridge. Identifies ATE with unmeasured confounding using two proxy variables: a treatment-side Z (instrument for W) and an outcome-side W (endogenous bridge regressor). Assumptions: Existence of an outcome bridge function h(w, a, x) that recovers E[Y(a) | U, X]; Z and W are conditionally independent given U and (A, X); Z perp Y | U, A, X (exclusion on Z). Pre-conditions: at least one treatment-side proxy Z (independent of outcome given U, X); at least one outcome-side proxy W (independent of treatment given U, X); proxy_z and proxy_w measure the same unmeasured confounder U from different angles. Failure modes: First-stage (Z -> W) too weak -> Try richer Z or more proxies; without first-stage strength the bridge is underidentified; Proxies collapse to nearly-constant -> Proxy variation insufficient -- redesign measurement or fall back to sensitivity (sp.sensemakr); Estimate highly sensitive to bridge specification -> Report multiple bridge families; compare with sp.negative_control_outcome / _exposure. Alternatives: sp.negative_control_outcome, sp.negative_control_exposure, sp.double_negative_control, sp.iv. Typical minimum...",
14654+
"description": "Proximal Causal Inference via linear 2SLS on the outcome bridge. Identifies ATE with unmeasured confounding using two proxy variables: a treatment-side Z (instrument for W) and an outcome-side W (endogenous bridge regressor). Validation: validated evidence tier (known-truth, reference, external-parity, or Monte Carlo artifact). Assumptions: Existence of an outcome bridge function h(w, a, x) that recovers E[Y(a) | U, X]; Z and W are conditionally independent given U and (A, X); Z perp Y | U, A, X (exclusion on Z). Pre-conditions: at least one treatment-side proxy Z (independent of outcome given U, X); at least one outcome-side proxy W (independent of treatment given U, X); proxy_z and proxy_w measure the same unmeasured confounder U from different angles. Failure modes: First-stage (Z -> W) too weak -> Try richer Z or more proxies; without first-stage strength the bridge is underidentified; Proxies collapse to nearly-constant -> Proxy variation insufficient -- redesign measurement or fall back to sensitivity (sp.sensemakr); Estimate highly sensitive to bridge specification -> Report multiple bridge families; compare with sp.negative_control_outcome / _exposure. Alternatives: sp.neg...",
1465514655
"input_schema": {
1465614656
"properties": {
1465714657
"bridge": {

src/statspai/schemas/agent_cards.json

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4860,7 +4860,7 @@
48604860
"Z is relevant for W given A, X (bridge first stage)"
48614861
],
48624862
"category": "causal",
4863-
"description": "Proximal Causal Inference via linear 2SLS on the outcome bridge. Identifies ATE with unmeasured confounding using two proxy variables: a treatment-side Z (instrument for W) and an outcome-side W (endogenous bridge regressor).",
4863+
"description": "Proximal Causal Inference via linear 2SLS on the outcome bridge. Identifies ATE with unmeasured confounding using two proxy variables: a treatment-side Z (instrument for W) and an outcome-side W (endogenous bridge regressor). Validation: validated evidence tier (known-truth, reference, external-parity, or Monte Carlo artifact).",
48644864
"example": "sp.proximal(df, y=\"y\", treat=\"d\", proxy_z=[\"z\"], proxy_w=[\"w\"])",
48654865
"failure_modes": [
48664866
{
@@ -4893,7 +4893,7 @@
48934893
],
48944894
"reference": "Tchetgen Tchetgen et al. (2020); Miao, Geng & Tchetgen Tchetgen (2018)",
48954895
"signature": {
4896-
"description": "Proximal Causal Inference via linear 2SLS on the outcome bridge. Identifies ATE with unmeasured confounding using two proxy variables: a treatment-side Z (instrument for W) and an outcome-side W (endogenous bridge regressor).",
4896+
"description": "Proximal Causal Inference via linear 2SLS on the outcome bridge. Identifies ATE with unmeasured confounding using two proxy variables: a treatment-side Z (instrument for W) and an outcome-side W (endogenous bridge regressor). Validation: validated evidence tier (known-truth, reference, external-parity, or Monte Carlo artifact).",
48974897
"name": "proximal",
48984898
"parameters": {
48994899
"properties": {
@@ -4957,9 +4957,10 @@
49574957
"stability": "stable",
49584958
"typical_n_min": 1000,
49594959
"validation_notes": [
4960+
"tests/reference_parity/test_proximal_parity.py",
49604961
"API/unit contract evidence: tests/test_proximal.py"
49614962
],
4962-
"validation_status": "api_stable"
4963+
"validation_status": "validated"
49634964
},
49644965
{
49654966
"alternatives": [
@@ -13694,7 +13695,7 @@
1369413695
"A bridge function exists (completeness conditions hold)."
1369513696
],
1369613697
"category": "causal",
13697-
"description": "Fortified proximal causal inference (Yu, Shi & Tchetgen Tchetgen 2025). Adds a bridge-function stability constraint that gives robust ATT under mild misspecification of the outcome/treatment bridge.",
13698+
"description": "Fortified proximal causal inference (Yu, Shi & Tchetgen Tchetgen 2025). Adds a bridge-function stability constraint that gives robust ATT under mild misspecification of the outcome/treatment bridge. Validation: validated evidence tier (known-truth, reference, external-parity, or Monte Carlo artifact).",
1369813699
"example": "sp.fortified_pci(df, y=\"y\", treat=\"d\", proxy_z=[\"z\"], proxy_w=[\"w\"])",
1369913700
"failure_modes": [
1370013701
{
@@ -13712,7 +13713,7 @@
1371213713
],
1371313714
"reference": "Yu, Shi & Tchetgen Tchetgen (2025). arXiv:2506.13152.",
1371413715
"signature": {
13715-
"description": "Fortified proximal causal inference (Yu, Shi & Tchetgen Tchetgen 2025). Adds a bridge-function stability constraint that gives robust ATT under mild misspecification of the outcome/treatment bridge.",
13716+
"description": "Fortified proximal causal inference (Yu, Shi & Tchetgen Tchetgen 2025). Adds a bridge-function stability constraint that gives robust ATT under mild misspecification of the outcome/treatment bridge. Validation: validated evidence tier (known-truth, reference, external-parity, or Monte Carlo artifact).",
1371613717
"name": "fortified_pci",
1371713718
"parameters": {
1371813719
"properties": {
@@ -13763,9 +13764,10 @@
1376313764
"stability": "stable",
1376413765
"typical_n_min": 500,
1376513766
"validation_notes": [
13767+
"tests/reference_parity/test_proximal_parity.py",
1376613768
"API/unit contract evidence: tests/test_proximal_frontiers.py"
1376713769
],
13768-
"validation_status": "api_stable"
13770+
"validation_status": "validated"
1376913771
},
1377013772
{
1377113773
"alternatives": [
@@ -13777,7 +13779,7 @@
1377713779
"A bridge function exists (completeness conditions hold)."
1377813780
],
1377913781
"category": "causal",
13780-
"description": "Bidirectional proximal causal inference (Min, Zhang & Luo 2025). Solves for both outcome and treatment bridges simultaneously in a single two-way regression system.",
13782+
"description": "Bidirectional proximal causal inference (Min, Zhang & Luo 2025). Solves for both outcome and treatment bridges simultaneously in a single two-way regression system. Validation: validated evidence tier (known-truth, reference, external-parity, or Monte Carlo artifact).",
1378113783
"example": "sp.bidirectional_pci(df, y=\"y\", treat=\"d\", proxy_z=[\"z\"], proxy_w=[\"w\"])",
1378213784
"failure_modes": [
1378313785
{
@@ -13795,7 +13797,7 @@
1379513797
],
1379613798
"reference": "Min, Zhang & Luo (2025). arXiv:2507.13965.",
1379713799
"signature": {
13798-
"description": "Bidirectional proximal causal inference (Min, Zhang & Luo 2025). Solves for both outcome and treatment bridges simultaneously in a single two-way regression system.",
13800+
"description": "Bidirectional proximal causal inference (Min, Zhang & Luo 2025). Solves for both outcome and treatment bridges simultaneously in a single two-way regression system. Validation: validated evidence tier (known-truth, reference, external-parity, or Monte Carlo artifact).",
1379913801
"name": "bidirectional_pci",
1380013802
"parameters": {
1380113803
"properties": {
@@ -13846,9 +13848,10 @@
1384613848
"stability": "stable",
1384713849
"typical_n_min": 500,
1384813850
"validation_notes": [
13851+
"tests/reference_parity/test_proximal_parity.py",
1384913852
"API/unit contract evidence: tests/test_proximal_frontiers.py"
1385013853
],
13851-
"validation_status": "api_stable"
13854+
"validation_status": "validated"
1385213855
},
1385313856
{
1385413857
"alternatives": [

0 commit comments

Comments
 (0)