{
  "schemaVersion": 1,
  "kind": "safi-rule-registry",
  "edition": {
    "id": "1.32",
    "status": "open",
    "releasedOn": null,
    "rulesSha256": "87bb3157985a1252956da40508df5c549ad5874cb2994ad8537f00b7a51b7494",
    "parent": "1.31"
  },
  "governanceSha256": "4272c73d0de65d66752bf5226ba3b615647f01dfa068b95ca84e8052f31c847e",
  "consultativeStandard": {
    "recordedStatus": "not_benchmarked",
    "effectiveStatus": "not_yet_benchmarked",
    "statement": "consultative standard: not yet benchmarked",
    "margin": null,
    "releaseDate": null,
    "benchmark": null,
    "otherBenchmarks": []
  },
  "reviewPolicy": {
    "practiceReview": {
      "state": "not_yet_set",
      "intervalMonths": null,
      "watchedGuidance": null
    },
    "ruleReview": {
      "state": "not_yet_set",
      "reviewByMonths": null,
      "overdueAfterDays": null
    },
    "note": "The overdue flag is computed from the review-by date when the registry is read; it is not stored in this file."
  },
  "counts": {
    "rules": 212,
    "rulesReviewed": 0,
    "practiceEntries": 11,
    "decisionTableRows": 99,
    "conflictResolutions": 53,
    "eCodes": 131,
    "challenges": 0,
    "surveillanceSignals": 0
  },
  "sources": [
    {
      "id": "biostatistics_analysis",
      "title": "Biostatistics: design-aware methods for health research",
      "urls": [
        "https://www.consort-spirit.org/published-statements",
        "https://www.ema.europa.eu/en/ich-e9-statistical-principles-clinical-trials-scientific-guideline",
        "https://www.tripod-statement.org/"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "core_analysis_workflow",
      "title": "Core analysis workflow",
      "urls": [
        "https://scikit-learn.org/stable/common_pitfalls.html",
        "https://www.consort-spirit.org/published-statements",
        "https://www.fda.gov/regulatory-information/search-fda-guidance-documents/e9r1-statistical-principles-clinical-trials-addendum-estimands-and-sensitivity-analysis-clinical"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "data_cleaning_exploration",
      "title": "Data readiness, cleaning and ordered exploratory analysis",
      "urls": [
        "https://www.itl.nist.gov/div898/handbook/pmd/section2/pmd214.htm"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "design_power_simulation",
      "title": "Precision, power and simulation-based design",
      "urls": [
        "https://rdpackages.github.io/",
        "https://www.consort-spirit.org/published-statements",
        "https://www.fda.gov/regulatory-information/search-fda-guidance-documents/use-bayesian-methodology-clinical-trials-drug-and-biological-products"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "diagnostics_prediction_analysis",
      "title": "Diagnostic accuracy, screening and clinical prediction",
      "urls": [
        "https://www.bmj.com/content/351/bmj.h5527",
        "https://www.bmj.com/content/388/bmj-2024-082505",
        "https://www.nature.com/articles/s41591-025-03953-8",
        "https://www.tripod-statement.org/"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "effect_measures_reporting",
      "title": "Report the effect measure that the design and estimand support",
      "urls": [
        "https://cran.r-project.org/web/packages/survival/vignettes/survival.pdf",
        "https://miguelhernan.org/whatifbook",
        "https://pmc.ncbi.nlm.nih.gov/articles/2020496/",
        "https://pmc.ncbi.nlm.nih.gov/articles/PMC3653612/",
        "https://www.cdc.gov/field-epi-manual/php/chapters/analyze-interpret-data.html"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "epidemiologic_study_designs",
      "title": "Epidemiologic study designs: sampling, estimands and analysis",
      "urls": [
        "https://cran.r-project.org/web/packages/survival/vignettes/survival.pdf",
        "https://pmc.ncbi.nlm.nih.gov/articles/2020496/",
        "https://www.consort-spirit.org/published-statements",
        "https://www.ema.europa.eu/en/ich-e9-statistical-principles-clinical-trials-scientific-guideline"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "epidemiology_analysis",
      "title": "Epidemiology: occurrence, causes and population effects",
      "urls": [
        "https://pmc.ncbi.nlm.nih.gov/articles/2020496/",
        "https://www.bmj.com/content/390/bmj-2025-087179"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "functional_form",
      "title": "Continuous predictors, splines, fractional polynomials and nonlinear models",
      "urls": [
        "https://www.stata.com/manuals/rfp.pdf"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "llm_router",
      "title": "Compact LLM router for the SAFI methods library",
      "urls": [],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "mice_model_setup_pooling",
      "title": "MICE model setup, method selection, complex designs and pooling",
      "urls": [
        "https://academic.oup.com/jssam/article/12/1/105/7048720",
        "https://academic.oup.com/jssam/article/8/5/965/5569522",
        "https://amices.org/mice/reference/mice.html",
        "https://amices.org/mice/reference/mice.impute.2l.bin.html",
        "https://amices.org/mice/reference/mice.impute.2l.pan.html",
        "https://amices.org/mice/reference/mice.impute.pmm.html",
        "https://amices.org/mice/reference/pool.html",
        "https://cran.r-project.org/web/packages/smcfcs/vignettes/smcfcs-vignette.html",
        "https://pubmed.ncbi.nlm.nih.gov/29226161/",
        "https://stefvanbuuren.name/fimd/sec-pmm.html",
        "https://stefvanbuuren.name/fimd/sec-toomany.html",
        "https://www2.stat.duke.edu/~jerry/Papers/SM06.pdf"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "missing_data_measurement",
      "title": "Missing data, measurement error and incomplete observation",
      "urls": [
        "https://amices.org/mice/reference/mice.html",
        "https://amices.org/mice/reference/pool.html",
        "https://pmc.ncbi.nlm.nih.gov/articles/PMC4513015/",
        "https://www.ema.europa.eu/en/ich-e9-statistical-principles-clinical-trials-scientific-guideline",
        "https://www.nist.gov/itl/sed/topic-areas/measurement-uncertainty"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "model_assumptions",
      "title": "Model assumptions: what distribution must satisfy what condition?",
      "urls": [
        "https://www.itl.nist.gov/div898/handbook/pmd/section2/pmd214.htm"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "post_estimation_margins_interactions",
      "title": "Post-estimation: simple effects, interaction ORs, marginal means and predictive margins",
      "urls": [
        "https://marginaleffects.com/bonus/logit.html",
        "https://marginaleffects.com/chapters/interactions.html",
        "https://marginaleffects.com/man/r/predictions.html",
        "https://rvlenth.github.io/emmeans/articles/basics.html",
        "https://rvlenth.github.io/emmeans/articles/interactions.html",
        "https://rvlenth.github.io/emmeans/articles/transformations.html",
        "https://www.stata.com/manuals/rmargins.pdf"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "public_health_analysis",
      "title": "Public health: population evidence, surveillance and prevention",
      "urls": [
        "https://pmc.ncbi.nlm.nih.gov/articles/PMC12406149/",
        "https://www.cdc.gov/nwss/data-methods.html"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "publication_informed_analysis_planning",
      "title": "Publication-informed analysis planning: outputs, formatting, evidence and implementation",
      "urls": [
        "https://doi.org/10.1136/bmj-2024-081123",
        "https://doi.org/10.1016/j.jclinepi.2021.01.008",
        "https://doi.org/10.1002/sim.8086",
        "https://jamanetwork.com/journals/jama/pages/instructions-for-authors"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "quasi_experimental_designs",
      "title": "Natural experiments, quasi-experiments and target-trial emulation",
      "urls": [
        "https://arxiv.org/abs/1812.09970",
        "https://bcallaway11.github.io/did/articles/multi-period-did.html",
        "https://ngreifer.github.io/WeightIt/articles/estimating-effects.html",
        "https://ngreifer.github.io/cobalt/reference/cobalt-package.html",
        "https://rdpackages.github.io/",
        "https://www.bmj.com/content/390/bmj-2025-087179",
        "https://pmc.ncbi.nlm.nih.gov/articles/PMC5407170/",
        "https://pmc.ncbi.nlm.nih.gov/articles/PMC7750921/",
        "https://github.com/gasparrini/2017_lopezbernal_IJE_codedata"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "safi_coding_standards",
      "title": "SAFI professional analysis-code and teaching standard",
      "urls": [
        "https://dplyr.tidyverse.org/reference/mutate-joins.html",
        "https://style.tidyverse.org/"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "safi_integration",
      "title": "SAFI integration contract and implementation map",
      "urls": [],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "sensitivity_analysis",
      "title": "Sensitivity analysis, robustness and quantitative bias analysis",
      "urls": [
        "https://carloscinelli.com/sensemakr/articles/sensemakr.html",
        "https://cran.r-project.org/package=rbounds",
        "https://www.evalue-calculator.com/",
        "https://www.jonathandroth.com/assets/files/HonestParallelTrends_Main.pdf"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "survey_science_analysis",
      "title": "Survey science, official statistics and hard-to-reach populations",
      "urls": [
        "https://wwwn.cdc.gov/nchs/NHANES/continuousnhanes/overviewbrief.aspx?cycle=2021-2023",
        "https://wwwn.cdc.gov/nchs/nhanes/tutorials/weighting.aspx",
        "https://phia-data.icap.columbia.edu/storage/Country/28-09-2021-22-01-17-615390ad6a147.pdf"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "rita_hiv_incidence",
      "title": "RITA, recency assays and testing-history HIV incidence estimation",
      "urls": [
        "https://fellstat.github.io/recent/articles/design_and_data.html",
        "https://fellstat.github.io/recent/articles/introduction.html",
        "https://github.com/fellstat/recent/blob/36008f55b1dee57ff8ec16b7a3b90dc031de6f7d/R/incidence.R",
        "https://pmc.ncbi.nlm.nih.gov/articles/PMC10069749/",
        "https://pmc.ncbi.nlm.nih.gov/articles/PMC7423136/",
        "https://pmc.ncbi.nlm.nih.gov/articles/PMC9911103/",
        "https://www.ncbi.nlm.nih.gov/books/NBK605642/box/ch8.box66/?report=objectonly",
        "https://www.who.int/publications/i/item/9789240064379/"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "survival_longitudinal",
      "title": "Survival, recurrent events and longitudinal outcomes",
      "urls": [
        "https://cran.r-project.org/web/packages/survival/vignettes/survival.pdf"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "trend_joinpoint_analysis",
      "title": "Trend analysis, joinpoint regression and change points",
      "urls": [
        "https://surveillance.cancer.gov/help/joinpoint/setting-parameters/input-file-tab/heteroscedastic-errors-option",
        "https://surveillance.cancer.gov/help/joinpoint/setting-parameters/method-and-parameters-tab/apc-aapc-tau-confidence-intervals",
        "https://surveillance.cancer.gov/help/joinpoint/setting-parameters/method-and-parameters-tab/apc-aapc-tau-confidence-intervals/average-annual-percent-change-aapc",
        "https://surveillance.cancer.gov/help/joinpoint/setting-parameters/method-and-parameters-tab/model-selection-method",
        "https://surveillance.cancer.gov/joinpoint/",
        "https://surveillance.cancer.gov/joinpoint/jump.html",
        "https://surveillance.cancer.gov/joinpoint/survey.html"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "visualization_diagnostics",
      "title": "Visualization for exploration, design checks, model fit and communication",
      "urls": [
        "https://arxiv.org/abs/1709.01449",
        "https://scikit-learn.org/stable/modules/calibration.html",
        "https://stat.ethz.ch/CRAN/web/packages/DHARMa/vignettes/DHARMa.html"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "health_economics_analysis",
      "title": "Health economics, economic evaluation and decision analysis",
      "urls": [
        "https://www.bmj.com/content/376/bmj-2021-067975",
        "https://www.nice.org.uk/process/pmg36/chapter/economic-evaluation-2/"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "qualitative_mixed_methods",
      "title": "Qualitative and mixed-method analysis",
      "urls": [
        "https://www.apa.org/pubs/journals/resources/apa-style-jars.html",
        "https://www.thematicanalysis.net/"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "interval_censored_survival",
      "title": "Interval-censored survival and uncertain event dates",
      "urls": [
        "https://www.jstatsoft.org/article/view/v081i12"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "agreement_reliability",
      "title": "Agreement and reliability (kappa, intraclass correlation, limits of agreement, method comparison, scale item-rest)",
      "urls": [
        "https://cran.r-project.org/package=mcr",
        "https://cran.r-project.org/package=irrCAC"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "meta_analysis_synthesis",
      "title": "Meta-analysis and evidence synthesis (random-effects pooling, heterogeneity, small-study effects, diagnostic accuracy)",
      "urls": [
        "https://cran.r-project.org/package=metafor",
        "https://cran.r-project.org/package=meta"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "calendar_weeks",
      "title": "Calendar weeks for dated records (MMWR and ISO 8601 week numbering)",
      "urls": [
        "https://wwwn.cdc.gov/nndss/document/MMWR_Week_overview.pdf",
        "https://cran.r-project.org/package=lubridate",
        "https://www.iso.org/standard/70907.html"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "causal_dag_development",
      "title": "Developing causal DAGs and choosing adjustment sets",
      "urls": [
        "https://cran.r-project.org/web/packages/dagitty/refman/dagitty.html",
        "https://dagitty.net/manual-3.x.pdf",
        "https://networkx.org/documentation/stable/reference/algorithms/d_separation.html",
        "https://r-causal.github.io/ggdag/"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "propensity_score_methods",
      "title": "Propensity scores: matching, weighting, stratification and causal contrasts",
      "urls": [
        "https://kosukeimai.github.io/MatchIt/articles/estimating-effects.html",
        "https://kosukeimai.github.io/MatchIt/articles/matching-methods.html",
        "https://ngreifer.github.io/WeightIt/articles/WeightIt.html",
        "https://ngreifer.github.io/WeightIt/articles/estimating-effects.html"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "prediction_validation",
      "title": "Prediction-model validation and power planning",
      "urls": [
        "https://cran.r-project.org/package=rms",
        "https://cran.r-project.org/package=pROC",
        "https://cran.r-project.org/package=dcurves",
        "https://cran.r-project.org/package=pwr"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "trial_estimands",
      "title": "Randomised-trial estimands and improper subgroups",
      "urls": [
        "https://database.ich.org/sites/default/files/E9-R1_Step4_Guideline_2019_1203.pdf",
        "https://www.ema.europa.eu/en/investigation-subgroups-confirmatory-clinical-trials-scientific-guideline",
        "https://www.consort-statement.org/"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "calendar_periods",
      "title": "Declared source-calendar reporting periods",
      "urls": [
        "https://unicode-org.github.io/icu-docs/apidoc/dev/icu4j/com/ibm/icu/util/EthiopicCalendar.html"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "causal_inference",
      "title": "Causal inference and policy evaluation",
      "urls": [
        "https://academic.oup.com/ectj/article/21/1/C1/5056401",
        "https://bcallaway11.github.io/did/articles/multi-period-did.html",
        "https://miguelhernan.org/whatifbook",
        "https://cran.r-project.org/web/packages/hdm/refman/hdm.html",
        "https://doi.org/10.1093/restud/rdt044",
        "https://www.bmj.com/content/390/bmj-2025-087179"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "time_spatial_validation",
      "title": "Temporal, spatial and grouped validation",
      "urls": [
        "https://nsojournals.onlinelibrary.wiley.com/doi/full/10.1111/ecog.02881",
        "https://scikit-learn.org/stable/auto_examples/model_selection/plot_nested_cross_validation_iris.html",
        "https://www.sktime.org/en/latest/examples/01_forecasting.html"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "ecology_analysis",
      "title": "Ecology, evolution and conservation",
      "urls": [
        "https://nsojournals.onlinelibrary.wiley.com/doi/full/10.1111/ecog.02881"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "geography_spatial_analysis",
      "title": "Geography, demography and spatial population research",
      "urls": [
        "https://nsojournals.onlinelibrary.wiley.com/doi/full/10.1111/ecog.02881",
        "https://wwwn.cdc.gov/nchs/nhanes/analyticguidelines.aspx"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "respondent_driven_sampling",
      "title": "Respondent-driven sampling: RDS estimation and diagnostics",
      "urls": [
        "https://pmc.ncbi.nlm.nih.gov/articles/PMC4877136/"
      ],
      "doi": null,
      "retractionCheckedOn": null
    },
    {
      "id": "factor_analysis",
      "title": "Factor analysis",
      "urls": [],
      "doi": null,
      "retractionCheckedOn": null
    }
  ],
  "rules": [
    {
      "ruleId": "R-DESC-01",
      "apiId": "r.desc.01",
      "title": "Descriptive tables without significance tests",
      "kind": "recommendation",
      "family": "describe.default",
      "status": "active",
      "version": 3,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-111"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "describe"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is describe and surveyDesign.weightVar is not answered and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Descriptive tables show counts and spread without significance tests, so nothing is claimed beyond the file.",
      "reasonExpert": "Descriptive output carries estimates with uncertainty where stated and no hypothesis tests. Source: methods/DATA_CLEANING_EXPLORATION.md (stage-5-bivariable-scientific-description).",
      "fineWhen": "A test is fine when it answers a stated confirmatory question.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "data_cleaning_exploration",
          "sectionIds": [
            "data_cleaning_exploration::stage-4-univariable-scientific-description:1",
            "data_cleaning_exploration::stage-5-bivariable-scientific-description:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "data_cleaning_exploration"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.7",
            "changedOn": "2026-11-03",
            "summary": "Declare the explicit alternative R-DESC-PREPOST-01 while preserving the existing analysis route.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "data_cleaning_exploration"
            ]
          },
          {
            "version": 3,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "data_cleaning_exploration"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-DESC-02",
      "apiId": "r.desc.02",
      "title": "Declared design-based survey estimate",
      "kind": "recommendation",
      "family": "describe.survey_design_based",
      "status": "active",
      "version": 6,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-009"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "describe"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "not_null"
          },
          {
            "field": "surveyDesign.weightSemantics",
            "op": "eq",
            "value": "sampling"
          },
          {
            "field": "surveyDesign.descriptiveEstimate.statistic",
            "op": "not_null"
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is describe and surveyDesign.weightVar is answered and surveyDesign.weightSemantics is sampling and surveyDesign.descriptiveEstimate.statistic is answered and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "When you declare a survey design, population estimates use it.",
      "reasonExpert": "Design-based estimates with the declared weights, strata and primary sampling units; the population is the user-declared one. Source: disciplines/SURVEY_SCIENCE_ANALYSIS.md (design-specification-is-part-of-the-analysis).",
      "fineWhen": "An unweighted summary is fine when labelled as describing the sample.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "rita_hiv_incidence",
          "sectionIds": [
            "rita_hiv_incidence::assay-calibration-frr-and-mdri:1",
            "rita_hiv_incidence::implementation-checks-for-recent-and-epiapps:1"
          ]
        },
        {
          "sourceId": "survey_science_analysis",
          "sectionIds": [
            "survey_science_analysis::design-specification-is-part-of-the-analysis:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "survey_science_analysis",
          "rita_hiv_incidence"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.17",
            "changedOn": "2026-11-07",
            "summary": "Wording for confirmed public-survey profiles, the weight divisor and pooled surveys; two new forbidden operations (an unconfirmed profile mapping, rescaling or merging pooled surveys).",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "survey_science_analysis"
            ]
          },
          {
            "version": 3,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "survey_science_analysis"
            ]
          },
          {
            "version": 4,
            "edition": "1.22",
            "changedOn": "2026-11-10",
            "summary": "State the optional PHIA manual and recent RITA3 incidence companions, their distinct units and intervals, and numeric-free legacy or unsupported states.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "survey_science_analysis",
              "rita_hiv_incidence"
            ]
          },
          {
            "version": 5,
            "edition": "1.23",
            "changedOn": "2026-11-10",
            "summary": "Tighten duplicate explanatory prose to fit the method-card size budget while preserving the two incidence estimands, intervals and unavailable states.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "survey_science_analysis",
              "rita_hiv_incidence"
            ]
          },
          {
            "version": 6,
            "edition": "1.24",
            "changedOn": "2026-11-10",
            "summary": "Cite the approved manual exception and distinguish fixed external RITA3 calibration from diagnosis survival re-estimated in each replicate.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "survey_science_analysis",
              "rita_hiv_incidence"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-CMP-01",
      "apiId": "r.cmp.01",
      "title": "Welch t-test or Welch ANOVA, no pre-tests",
      "kind": "recommendation",
      "family": "compare.means",
      "status": "active",
      "version": 4,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-166",
        "E-212"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "compare"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "continuous"
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          },
          {
            "field": "dependence.repeatedUnitVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "derived.viewRepeatsPerson",
            "op": "eq",
            "value": false
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is compare and modeling.outcomeFamily is continuous and dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and surveyDesign.weightVar is not answered and derived.viewRepeatsPerson is false and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Safi compares two or more groups with Welch's test, which stays valid when group spread differs. It runs no pre-test to choose the test.",
      "reasonExpert": "Welch t or Welch ANOVA keeps size under unequal variances; the test is not chosen by a normality or variance pre-test on the same data. Source: methods/CORE_ANALYSIS_WORKFLOW.md (3-select-a-model-by-outcome-and-target).",
      "fineWhen": "Student's t-test is fine when the group variances are known to be equal by design.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::3-select-a-model-by-outcome-and-target:1"
          ]
        },
        {
          "sourceId": "model_assumptions",
          "sectionIds": [
            "model_assumptions::linear-regression-the-outcome-does-not-have-to-look-normal:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "model_assumptions"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.9",
            "changedOn": "2026-11-03",
            "summary": "Add explicit comparison ties without automatic selection.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "core_analysis_workflow"
            ]
          },
          {
            "version": 3,
            "edition": "1.14",
            "changedOn": "2026-11-06",
            "summary": "Name the equivalence and non-inferiority comparison as a declared tie.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "core_analysis_workflow"
            ]
          },
          {
            "version": 4,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "core_analysis_workflow",
              "model_assumptions"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-CMP-02",
      "apiId": "r.cmp.02",
      "title": "Rank comparisons with a tie-aware probability index",
      "kind": "recommendation",
      "family": "compare.ranks",
      "status": "active",
      "version": 3,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-167"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "compare"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "continuous"
          },
          {
            "field": "request.method",
            "op": "not_null"
          },
          {
            "field": "request.method",
            "op": "eq",
            "value": "compare.rank"
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          },
          {
            "field": "dependence.repeatedUnitVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "derived.viewRepeatsPerson",
            "op": "eq",
            "value": false
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is compare and modeling.outcomeFamily is continuous and request.method is answered and request.method is compare.rank and dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and surveyDesign.weightVar is not answered and derived.viewRepeatsPerson is false and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "A rank test compares group distributions. For two groups, report the probability index with half weight for ties and an approximate confidence interval.",
      "reasonExpert": "The Wilcoxon-Mann-Whitney p value tests equality of distributions; with unequal shapes it is not a general test of the weak null that P(X > Y) + 0.5 P(X = Y) is 0.5. Report that probability index with its separately estimated within-group percentile bootstrap interval. The separate Hodges-Lehmann interval has a location-shift interpretation under equal-shaped distributions differing only by location.",
      "fineWhen": "A rank test is fine when the question is about stochastic superiority or the data are ordinal.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::3-select-a-model-by-outcome-and-target:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.9",
            "changedOn": "2026-11-03",
            "summary": "Add explicit comparison ties without automatic selection.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "core_analysis_workflow"
            ]
          },
          {
            "version": 3,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "core_analysis_workflow"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-CMP-03",
      "apiId": "r.cmp.03",
      "title": "2x2 table, mid-p or unconditional exact, never Yates",
      "kind": "recommendation",
      "family": "compare.table_2x2",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-090"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "compare"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "binary"
          },
          {
            "field": "derived.tableShape",
            "op": "eq",
            "value": "2x2"
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          },
          {
            "field": "dependence.repeatedUnitVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "derived.viewRepeatsPerson",
            "op": "eq",
            "value": false
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is compare and modeling.outcomeFamily is binary and derived.tableShape is 2x2 and dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and surveyDesign.weightVar is not answered and derived.viewRepeatsPerson is false and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "For a 2x2 table Safi uses an exact test that stays valid for small counts, and never Yates' correction.",
      "reasonExpert": "Fisher mid-p (or an unconditional exact test) controls size without the conservatism of Fisher's exact test or Yates' continuity correction. Source: disciplines/BIOSTATISTICS_ANALYSIS.md (small-samples-rare-outcomes-and-multiplicity).",
      "fineWhen": "The N-1 chi-square is fine when all expected counts are at least 5 and N is at least 40.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "biostatistics_analysis",
          "sectionIds": [
            "biostatistics_analysis::small-samples-rare-outcomes-and-multiplicity:1"
          ]
        },
        {
          "sourceId": "epidemiology_analysis",
          "sectionIds": [
            "epidemiology_analysis::design-determines-what-can-be-estimated:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "biostatistics_analysis",
          "epidemiology_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "biostatistics_analysis",
              "epidemiology_analysis"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-CMP-04",
      "apiId": "r.cmp.04",
      "title": "r x c table, Pearson or exact conditional mid-p",
      "kind": "recommendation",
      "family": "compare.table_rxc",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-090"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "compare"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "binary"
          },
          {
            "field": "derived.tableShape",
            "op": "eq",
            "value": "rxc"
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          },
          {
            "field": "dependence.repeatedUnitVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "derived.viewRepeatsPerson",
            "op": "eq",
            "value": false
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is compare and modeling.outcomeFamily is binary and derived.tableShape is rxc and dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and surveyDesign.weightVar is not answered and derived.viewRepeatsPerson is false and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "For larger tables Safi uses Pearson's test when counts allow and an exact test when they do not.",
      "reasonExpert": "Pearson chi-square needs adequate expected counts; otherwise an exact conditional mid-p test with the Pearson statistic is reported. Source: disciplines/BIOSTATISTICS_ANALYSIS.md (small-samples-rare-outcomes-and-multiplicity).",
      "fineWhen": "Pearson's chi-square is fine when most expected counts are at least 5.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "biostatistics_analysis",
          "sectionIds": [
            "biostatistics_analysis::small-samples-rare-outcomes-and-multiplicity:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "biostatistics_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "biostatistics_analysis"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-CLUSTER-TEST",
      "apiId": "rf.cluster.test",
      "title": "Group tests requested on clustered, repeated or survey data",
      "kind": "refusal",
      "family": "group_test.design_conflict",
      "status": "active",
      "version": 2,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-006",
        "E-008"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "any": [
              {
                "field": "dependence.clusterVar",
                "op": "not_null"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "not_null"
              },
              {
                "field": "dependence.repeatedUnitVar",
                "op": "not_null"
              }
            ]
          },
          {
            "field": "request.method",
            "op": "not_null"
          },
          {
            "field": "request.method",
            "op": "in",
            "value": [
              "compare.rank",
              "compare.table_2x2",
              "compare.table_rxc",
              "compare.welch",
              "test.fisher_conditional",
              "test.fisher_conditional_default"
            ]
          }
        ]
      },
      "appliesWhenText": "(dependence.clusterVar is answered or surveyDesign.weightVar is answered or dependence.repeatedUnitVar is answered) and request.method is answered and request.method is one of compare.rank, compare.table_2x2, compare.table_rxc, compare.welch, test.fisher_conditional, test.fisher_conditional_default",
      "reasonPlain": "The test you asked for treats dependent rows as independent. Safi compares the groups inside a model that carries the dependence.",
      "reasonExpert": "Robust or bootstrap inference must preserve the sampling design; a test that assumes independence, applied to dependent rows, understates variance. Pairing, repeated measures and clustering are handled by a model that names them (a paired comparison is the mean change with its dependence-aware interval), not by refusing the comparison. Source: methods/CORE_ANALYSIS_WORKFLOW.md (3-select-a-model-by-outcome-and-target).",
      "fineWhen": "Never fine to test dependent rows as independent. Compare the groups in a model with the design covariance or a random intercept, as offered.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::3-select-a-model-by-outcome-and-target:1"
          ]
        },
        {
          "sourceId": "safi_coding_standards",
          "sectionIds": [
            "safi_coding_standards::3-preserve-design-through-the-entire-pipeline:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "safi_coding_standards"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.2",
            "changedOn": "2026-10-24",
            "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-CMP-DEP-ROUTE",
      "apiId": "rf.cmp.dep.route",
      "title": "Comparison on dependent data with no model route yet",
      "kind": "refusal",
      "family": "group_test.design_conflict",
      "status": "active",
      "version": 2,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-006",
        "E-008"
      ],
      "capabilityGap": true,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "compare"
          },
          {
            "any": [
              {
                "field": "dependence.clusterVar",
                "op": "not_null"
              },
              {
                "field": "dependence.repeatedUnitVar",
                "op": "not_null"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "not_null"
              }
            ]
          },
          {
            "not": {
              "all": [
                {
                  "field": "modeling.outcomeFamily",
                  "op": "eq",
                  "value": "continuous"
                },
                {
                  "field": "surveyDesign.weightVar",
                  "op": "is_null"
                }
              ]
            }
          },
          {
            "not": {
              "all": [
                {
                  "field": "modeling.trialDesign.design",
                  "op": "not_null"
                },
                {
                  "field": "modeling.trialDesign.design",
                  "op": "in",
                  "value": [
                    "cluster",
                    "crossover",
                    "stepped_wedge",
                    "factorial"
                  ]
                },
                {
                  "field": "modeling.outcomeFamily",
                  "op": "in",
                  "value": [
                    "continuous",
                    "binary"
                  ]
                },
                {
                  "field": "surveyDesign.weightVar",
                  "op": "is_null"
                }
              ]
            }
          }
        ]
      },
      "appliesWhenText": "objective.goal is compare and (dependence.clusterVar is answered or dependence.repeatedUnitVar is answered or surveyDesign.weightVar is answered) and not ((modeling.outcomeFamily is continuous and surveyDesign.weightVar is not answered)) and not ((modeling.trialDesign.design is answered and modeling.trialDesign.design is one of cluster, crossover, stepped_wedge, factorial and modeling.outcomeFamily is one of continuous, binary and surveyDesign.weightVar is not answered))",
      "reasonPlain": "Safi compares groups on dependent or survey-weighted data inside a model that carries the design, and has no such comparison for this outcome yet. This is not yet in Safi, so the request is refused.",
      "reasonExpert": "A comparison of a continuous outcome with a declared cluster or repeated unit runs in R-ASC-01 or R-ASC-09, and a declared randomised trial design (cluster, crossover, stepped wedge or factorial) with a continuous or binary outcome runs in its R-TRIAL route. For any other binary or count outcome, or a survey design, the model that carries the design is reached under the association goal, which also owns the effect-measure and standardization questions a comparison of those outcomes needs. A group test would treat the rows as independent (E-005 to E-008), so none is offered. Source: methods/CORE_ANALYSIS_WORKFLOW.md (3-select-a-model-by-outcome-and-target).",
      "fineWhen": "Fine once a comparison route exists for the outcome. Until then use the association goal, which runs the logistic, negative binomial and survey-aware models with the design covariance.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::3-select-a-model-by-outcome-and-target:1"
          ]
        },
        {
          "sourceId": "safi_coding_standards",
          "sectionIds": [
            "safi_coding_standards::3-preserve-design-through-the-entire-pipeline:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "safi_coding_standards"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.25",
            "changedOn": "2026-11-10",
            "summary": "A declared randomised trial design (cluster, crossover, stepped wedge or factorial) with a continuous or binary outcome and no survey weights is a route that carries the design (R-TRIAL rules, model.trial_design), so the comparison goal is no longer refused for it.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "core_analysis_workflow"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-ASC-01",
      "apiId": "r.asc.01",
      "title": "Linear regression",
      "kind": "recommendation",
      "family": "associate.linear",
      "status": "active",
      "version": 8,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-205"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "any": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "associate"
              },
              {
                "all": [
                  {
                    "field": "objective.goal",
                    "op": "eq",
                    "value": "compare"
                  },
                  {
                    "any": [
                      {
                        "field": "dependence.clusterVar",
                        "op": "not_null"
                      },
                      {
                        "field": "dependence.repeatedUnitVar",
                        "op": "not_null"
                      }
                    ]
                  }
                ]
              }
            ]
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "continuous"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "any": [
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "field": "derived.viewPersonIsCluster",
                "op": "eq",
                "value": true
              }
            ]
          },
          {
            "any": [
              {
                "field": "modeling.effectMeasure",
                "op": "is_null"
              },
              {
                "field": "modeling.effectMeasure",
                "op": "not_in",
                "value": [
                  "ratio_of_means",
                  "gmr"
                ]
              }
            ]
          },
          {
            "any": [
              {
                "field": "dataReadiness.missingnessPlan",
                "op": "is_null"
              },
              {
                "field": "dataReadiness.missingnessPlan",
                "op": "ne",
                "value": "multiple_imputation"
              }
            ]
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          },
          {
            "any": [
              {
                "field": "modeling.predictorForm",
                "op": "is_null"
              },
              {
                "field": "modeling.predictorForm",
                "op": "ne",
                "value": "gam_tp"
              }
            ]
          }
        ]
      },
      "appliesWhenText": "(objective.goal is associate or (objective.goal is compare and (dependence.clusterVar is answered or dependence.repeatedUnitVar is answered))) and modeling.outcomeFamily is continuous and surveyDesign.weightVar is not answered and (derived.viewRepeatsPerson is false or derived.viewPersonIsCluster is true) and (modeling.effectMeasure is not answered or modeling.effectMeasure is none of ratio_of_means, gmr) and (dataReadiness.missingnessPlan is not answered or dataReadiness.missingnessPlan is not multiple_imputation) and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered and (modeling.predictorForm is not answered or modeling.predictorForm is not gam_tp)",
      "reasonPlain": "Linear regression is used for a continuous outcome, with checks on the residuals.",
      "reasonExpert": "Ordinary least squares with robust or model-based covariance as the design requires; residual diagnostics reported. Source: methods/MODEL_ASSUMPTIONS.md (linear-regression-the-outcome-does-not-have-to-look-normal).",
      "fineWhen": "A log-link Gamma model is fine for a skewed positive outcome when the mean scale is the question.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::3-select-a-model-by-outcome-and-target:1"
          ]
        },
        {
          "sourceId": "model_assumptions",
          "sectionIds": [
            "model_assumptions::linear-regression-the-outcome-does-not-have-to-look-normal:1"
          ]
        },
        {
          "sourceId": "visualization_diagnostics",
          "sectionIds": [
            "visualization_diagnostics::diagnostic-graphics-by-model-family:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "model_assumptions",
          "visualization_diagnostics"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.5",
            "changedOn": "2026-11-02",
            "summary": "Proposed explicit continuous estimand declaration and exclusions for dedicated ratio and nominal routes.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "core_analysis_workflow"
            ]
          },
          {
            "version": 3,
            "edition": "1.5",
            "changedOn": "2026-11-02",
            "summary": "Exclude explicit MI from ordinary Gaussian regression.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "missing_data_measurement"
            ]
          },
          {
            "version": 4,
            "edition": "1.7",
            "changedOn": "2026-11-03",
            "summary": "Declare the explicit alternative R-ASC-GAM-01 while preserving the existing analysis route.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "functional_form"
            ]
          },
          {
            "version": 5,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "core_analysis_workflow",
              "model_assumptions",
              "visualization_diagnostics"
            ]
          },
          {
            "version": 6,
            "edition": "1.29",
            "changedOn": "2026-11-20",
            "summary": "Stands back when the declared predictor form is the penalized smooth (gam_tp); the tie with R-ASC-GAM-01 is removed. A plain linear regression again gets one recommendation.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "model_assumptions"
            ]
          },
          {
            "version": 7,
            "edition": "1.30",
            "changedOn": "2026-11-20",
            "summary": "Tie and alternative added for the generalized estimating equations row R-ASC-GEE-01; trigger unchanged.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "survival_longitudinal"
            ]
          },
          {
            "version": 8,
            "edition": "1.32",
            "changedOn": "2026-11-24",
            "summary": "Offer the two-part overall mean difference as a choice when zeros arise from a separate process.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "model_assumptions"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-ASC-30",
      "apiId": "r.asc.30",
      "title": "Arithmetic mean ratio regression",
      "kind": "recommendation",
      "family": "associate.gamma_log",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-205"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "continuous"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          },
          {
            "field": "dependence.repeatedUnitVar",
            "op": "is_null"
          },
          {
            "field": "derived.viewRepeatsPerson",
            "op": "eq",
            "value": false
          },
          {
            "field": "modeling.effectMeasure",
            "op": "eq",
            "value": "ratio_of_means"
          },
          {
            "any": [
              {
                "field": "studyDesign.samplingScheme",
                "op": "is_null"
              },
              {
                "field": "studyDesign.samplingScheme",
                "op": "ne",
                "value": "complex_survey"
              }
            ]
          },
          {
            "field": "surveyDesign.strataVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.psuVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.fpcVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.replicateDesign",
            "op": "is_null"
          },
          {
            "field": "modeling.effectPlan.continuousTarget",
            "op": "eq",
            "value": "arithmetic_mean"
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and modeling.outcomeFamily is continuous and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and derived.viewRepeatsPerson is false and modeling.effectMeasure is ratio_of_means and (studyDesign.samplingScheme is not answered or studyDesign.samplingScheme is not complex_survey) and surveyDesign.strataVar is not answered and surveyDesign.psuVar is not answered and surveyDesign.fpcVar is not answered and surveyDesign.replicateDesign is not answered and modeling.effectPlan.continuousTarget is arithmetic_mean and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Gamma with log link estimates arithmetic mean ratios; it does not estimate geometric means",
      "reasonExpert": "Gamma with log link estimates arithmetic mean ratios; it does not estimate geometric means",
      "fineWhen": "Use a supported design-aware model when observations are dependent.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::3-select-a-model-by-outcome-and-target:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.5",
            "changedOn": "2026-11-02",
            "summary": "Proposed independent-row Gamma log-link arithmetic mean ratio regression.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "core_analysis_workflow"
            ]
          },
          {
            "version": 2,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "core_analysis_workflow"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-ASC-31",
      "apiId": "r.asc.31",
      "title": "Geometric mean ratio regression",
      "kind": "recommendation",
      "family": "associate.geometric_mean",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-205"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "continuous"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          },
          {
            "field": "dependence.repeatedUnitVar",
            "op": "is_null"
          },
          {
            "field": "derived.viewRepeatsPerson",
            "op": "eq",
            "value": false
          },
          {
            "field": "modeling.effectMeasure",
            "op": "eq",
            "value": "gmr"
          },
          {
            "any": [
              {
                "field": "studyDesign.samplingScheme",
                "op": "is_null"
              },
              {
                "field": "studyDesign.samplingScheme",
                "op": "ne",
                "value": "complex_survey"
              }
            ]
          },
          {
            "field": "surveyDesign.strataVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.psuVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.fpcVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.replicateDesign",
            "op": "is_null"
          },
          {
            "field": "modeling.effectPlan.continuousTarget",
            "op": "eq",
            "value": "geometric_mean"
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and modeling.outcomeFamily is continuous and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and derived.viewRepeatsPerson is false and modeling.effectMeasure is gmr and (studyDesign.samplingScheme is not answered or studyDesign.samplingScheme is not complex_survey) and surveyDesign.strataVar is not answered and surveyDesign.psuVar is not answered and surveyDesign.fpcVar is not answered and surveyDesign.replicateDesign is not answered and modeling.effectPlan.continuousTarget is geometric_mean and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Log-outcome linear regression estimates geometric mean ratios; arithmetic mean differences remain separate supplementary estimates",
      "reasonExpert": "Log-outcome linear regression estimates geometric mean ratios; arithmetic mean differences remain separate supplementary estimates",
      "fineWhen": "Use a supported design-aware model when observations are dependent.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::3-select-a-model-by-outcome-and-target:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.5",
            "changedOn": "2026-11-02",
            "summary": "Proposed independent-row log-scale geometric mean ratio regression.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "core_analysis_workflow"
            ]
          },
          {
            "version": 2,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "core_analysis_workflow"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-ASC-32",
      "apiId": "r.asc.32",
      "title": "Nominal outcome regression",
      "kind": "recommendation",
      "family": "associate.nominal",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-205"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "nominal"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          },
          {
            "field": "dependence.repeatedUnitVar",
            "op": "is_null"
          },
          {
            "field": "derived.viewRepeatsPerson",
            "op": "eq",
            "value": false
          },
          {
            "field": "modeling.effectMeasure",
            "op": "eq",
            "value": "or"
          },
          {
            "any": [
              {
                "field": "studyDesign.samplingScheme",
                "op": "is_null"
              },
              {
                "field": "studyDesign.samplingScheme",
                "op": "ne",
                "value": "complex_survey"
              }
            ]
          },
          {
            "field": "surveyDesign.strataVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.psuVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.fpcVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.replicateDesign",
            "op": "is_null"
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and modeling.outcomeFamily is nominal and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and derived.viewRepeatsPerson is false and modeling.effectMeasure is or and (studyDesign.samplingScheme is not answered or studyDesign.samplingScheme is not complex_survey) and surveyDesign.strataVar is not answered and surveyDesign.psuVar is not answered and surveyDesign.fpcVar is not answered and surveyDesign.replicateDesign is not answered and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "The multinomial model reports predicted category probabilities as primary; any coefficient odds ratio describes category j versus reference category",
      "reasonExpert": "The multinomial model reports predicted category probabilities as primary; any coefficient odds ratio describes category j versus reference category",
      "fineWhen": "Use a supported design-aware model when observations are dependent.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::3-select-a-model-by-outcome-and-target:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.5",
            "changedOn": "2026-11-02",
            "summary": "Proposed independent-row nominal outcome regression.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "core_analysis_workflow"
            ]
          },
          {
            "version": 2,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "core_analysis_workflow"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-ASC-02",
      "apiId": "r.asc.02",
      "title": "Logistic regression for a conditional odds ratio",
      "kind": "recommendation",
      "family": "associate.logistic",
      "status": "active",
      "version": 4,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-215"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "binary"
          },
          {
            "field": "modeling.effectMeasure",
            "op": "eq",
            "value": "or"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "any": [
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "field": "derived.viewPersonIsCluster",
                "op": "eq",
                "value": true
              }
            ]
          },
          {
            "any": [
              {
                "field": "dataReadiness.missingnessPlan",
                "op": "is_null"
              },
              {
                "field": "dataReadiness.missingnessPlan",
                "op": "ne",
                "value": "multiple_imputation"
              }
            ]
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and modeling.outcomeFamily is binary and modeling.effectMeasure is or and surveyDesign.weightVar is not answered and (derived.viewRepeatsPerson is false or derived.viewPersonIsCluster is true) and (dataReadiness.missingnessPlan is not answered or dataReadiness.missingnessPlan is not multiple_imputation) and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Logistic regression gives an odds ratio for a binary outcome, named as an odds ratio.",
      "reasonExpert": "Conditional odds ratio from logistic regression; noncollapsible, reported as an odds ratio only. Source: methods/EFFECT_MEASURES_REPORTING.md (design-specific-routing).",
      "fineWhen": "Fine for a rare outcome or a case-control design, where the odds ratio approximates the risk ratio.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "effect_measures_reporting",
          "sectionIds": [
            "effect_measures_reporting::conditional-versus-marginal-adjusted-effects:1",
            "effect_measures_reporting::design-specific-routing:1"
          ]
        },
        {
          "sourceId": "epidemiology_analysis",
          "sectionIds": [
            "epidemiology_analysis::design-determines-what-can-be-estimated:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "effect_measures_reporting",
          "epidemiology_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.5",
            "changedOn": "2026-11-02",
            "summary": "Exclude explicit MI from ordinary logistic regression.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "missing_data_measurement"
            ]
          },
          {
            "version": 3,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "effect_measures_reporting",
              "epidemiology_analysis"
            ]
          },
          {
            "version": 4,
            "edition": "1.30",
            "changedOn": "2026-11-20",
            "summary": "Ties and alternatives added for R-ASC-33 and R-ASC-GEE-01; trigger unchanged.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "effect_measures_reporting",
              "epidemiology_analysis",
              "survival_longitudinal"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-ASC-03",
      "apiId": "r.asc.03",
      "title": "Log-binomial, with a recorded modified-Poisson fallback, for a conditional prevalence or risk ratio",
      "kind": "recommendation",
      "family": "associate.logbinomial",
      "status": "active",
      "version": 3,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-215"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "binary"
          },
          {
            "field": "modeling.effectMeasure",
            "op": "in",
            "value": [
              "rr",
              "pr"
            ]
          },
          {
            "field": "populationEstimand.targetIsMarginal",
            "op": "eq",
            "value": false
          },
          {
            "field": "studyDesign.datasetType",
            "op": "in",
            "value": [
              "cross_sectional_survey",
              "cohort",
              "routine",
              "administrative",
              "trial"
            ]
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          },
          {
            "field": "derived.viewRepeatsPerson",
            "op": "eq",
            "value": false
          },
          {
            "any": [
              {
                "field": "dataReadiness.missingnessPlan",
                "op": "is_null"
              },
              {
                "field": "dataReadiness.missingnessPlan",
                "op": "ne",
                "value": "multiple_imputation"
              }
            ]
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and modeling.outcomeFamily is binary and modeling.effectMeasure is one of rr, pr and populationEstimand.targetIsMarginal is false and studyDesign.datasetType is one of cross_sectional_survey, cohort, routine, administrative, trial and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered and derived.viewRepeatsPerson is false and (dataReadiness.missingnessPlan is not answered or dataReadiness.missingnessPlan is not multiple_imputation) and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "For a prevalence or risk ratio Safi uses log-binomial regression and records a fallback if it fails to converge.",
      "reasonExpert": "Log-binomial regression with a recorded modified-Poisson fallback for a conditional prevalence or risk ratio. Source: methods/EFFECT_MEASURES_REPORTING.md (design-specific-routing).",
      "fineWhen": "Modified Poisson is fine as the main method when log-binomial does not converge.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::3-select-a-model-by-outcome-and-target:1"
          ]
        },
        {
          "sourceId": "effect_measures_reporting",
          "sectionIds": [
            "effect_measures_reporting::design-specific-routing:1"
          ]
        },
        {
          "sourceId": "epidemiology_analysis",
          "sectionIds": [
            "epidemiology_analysis::design-determines-what-can-be-estimated:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "effect_measures_reporting",
          "epidemiology_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.10",
            "changedOn": "2026-11-04",
            "summary": "Exclude a declared multiple-imputation plan; its risk ratio is pooled by R-ASC-MI-02.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "missing_data_measurement",
              "effect_measures_reporting"
            ]
          },
          {
            "version": 3,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "core_analysis_workflow",
              "effect_measures_reporting",
              "epidemiology_analysis"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-ASC-04",
      "apiId": "r.asc.04",
      "title": "Negative binomial with exposure offset",
      "kind": "recommendation",
      "family": "associate.negative_binomial",
      "status": "active",
      "version": 3,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-075"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "count"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "any": [
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "field": "derived.viewPersonIsCluster",
                "op": "eq",
                "value": true
              }
            ]
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and modeling.outcomeFamily is count and surveyDesign.weightVar is not answered and (derived.viewRepeatsPerson is false or derived.viewPersonIsCluster is true) and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "A count outcome is modelled with a negative binomial, which allows for extra spread.",
      "reasonExpert": "Negative binomial regression with an exposure offset; the dispersion parameter is estimated. Source: methods/CORE_ANALYSIS_WORKFLOW.md (3-select-a-model-by-outcome-and-target).",
      "fineWhen": "Poisson is fine when dispersion is near 1; the flag is shown.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::3-select-a-model-by-outcome-and-target:1"
          ]
        },
        {
          "sourceId": "effect_measures_reporting",
          "sectionIds": [
            "effect_measures_reporting::design-specific-routing:1"
          ]
        },
        {
          "sourceId": "model_assumptions",
          "sectionIds": [
            "model_assumptions::model-specific-assumptions:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "effect_measures_reporting",
          "model_assumptions"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "core_analysis_workflow",
              "effect_measures_reporting",
              "model_assumptions"
            ]
          },
          {
            "version": 3,
            "edition": "1.30",
            "changedOn": "2026-11-20",
            "summary": "Ties and alternatives added for R-ASC-34 and R-ASC-GEE-01; trigger unchanged.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "core_analysis_workflow",
              "effect_measures_reporting",
              "model_assumptions",
              "survival_longitudinal"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-ASC-05",
      "apiId": "r.asc.05",
      "title": "Poisson by user choice when dispersion allows",
      "kind": "recommendation",
      "family": "associate.poisson",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-075"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "count"
          },
          {
            "field": "request.method",
            "op": "not_null"
          },
          {
            "field": "request.method",
            "op": "eq",
            "value": "model.poisson_offset"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          },
          {
            "field": "derived.viewRepeatsPerson",
            "op": "eq",
            "value": false
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and modeling.outcomeFamily is count and request.method is answered and request.method is model.poisson_offset and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered and derived.viewRepeatsPerson is false and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Poisson regression is offered when you choose it and the spread allows.",
      "reasonExpert": "Poisson GLM with offset by user choice; the fitted Pearson dispersion is reported as a flag after the fit and does not choose the method. Source: methods/MODEL_ASSUMPTIONS.md (model-specific-assumptions).",
      "fineWhen": "Fine when the dispersion flag is clear, or with robust variance.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "model_assumptions",
          "sectionIds": [
            "model_assumptions::a-disciplined-diagnostic-response:1",
            "model_assumptions::model-specific-assumptions:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "model_assumptions"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "model_assumptions"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-ASC-06",
      "apiId": "r.asc.06",
      "title": "Cumulative-link model for ordinal outcomes",
      "kind": "recommendation",
      "family": "associate.ordinal",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-187",
        "E-220"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "ordinal"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          },
          {
            "field": "derived.viewRepeatsPerson",
            "op": "eq",
            "value": false
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and modeling.outcomeFamily is ordinal and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered and derived.viewRepeatsPerson is false and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "An ordinal outcome is modelled with a cumulative-link model that keeps its order.",
      "reasonExpert": "Proportional-odds cumulative-link model with a proportionality check. Source: methods/MODEL_ASSUMPTIONS.md (model-specific-assumptions).",
      "fineWhen": "A single dichotomy is fine only with a stated reason.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::3-select-a-model-by-outcome-and-target:1"
          ]
        },
        {
          "sourceId": "model_assumptions",
          "sectionIds": [
            "model_assumptions::model-specific-assumptions:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "model_assumptions"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "core_analysis_workflow",
              "model_assumptions"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-ASC-07",
      "apiId": "r.asc.07",
      "title": "Firth-type penalization on separation or sparse data",
      "kind": "recommendation",
      "family": "associate.firth",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-091"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "modeling.effectMeasure",
            "op": "eq",
            "value": "or"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "binary"
          },
          {
            "any": [
              {
                "all": [
                  {
                    "field": "derived.separation",
                    "op": "not_null"
                  },
                  {
                    "field": "derived.separation",
                    "op": "eq",
                    "value": true
                  }
                ]
              },
              {
                "all": [
                  {
                    "field": "derived.minExposureOutcomeCell",
                    "op": "not_null"
                  },
                  {
                    "field": "derived.minExposureOutcomeCell",
                    "op": "le",
                    "value": 4
                  }
                ]
              },
              {
                "field": "derived.eventsPerParam",
                "op": "lt",
                "value": 10
              }
            ]
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          },
          {
            "field": "derived.viewRepeatsPerson",
            "op": "eq",
            "value": false
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and modeling.effectMeasure is or and modeling.outcomeFamily is binary and ((derived.separation is answered and derived.separation is true) or (derived.minExposureOutcomeCell is answered and derived.minExposureOutcomeCell is at most 4) or derived.eventsPerParam is below 10) and dependence.clusterVar is not answered and derived.viewRepeatsPerson is false and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "When events are rare or a pattern predicts the outcome perfectly, Safi uses a penalised logistic fit.",
      "reasonExpert": "Firth-type penalisation with intercept correction (FLAC) and profile penalised-likelihood intervals for separation or sparse data. Source: disciplines/BIOSTATISTICS_ANALYSIS.md (small-samples-rare-outcomes-and-multiplicity).",
      "fineWhen": "Ordinary logistic regression is fine when no separation is found and events are adequate.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "biostatistics_analysis",
          "sectionIds": [
            "biostatistics_analysis::small-samples-rare-outcomes-and-multiplicity:1"
          ]
        },
        {
          "sourceId": "model_assumptions",
          "sectionIds": [
            "model_assumptions::model-specific-assumptions:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "biostatistics_analysis",
          "model_assumptions"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "biostatistics_analysis",
              "model_assumptions"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-ASC-08",
      "apiId": "r.asc.08",
      "title": "Modified Poisson directly, not only as log-binomial's recorded fallback",
      "kind": "recommendation",
      "family": "associate.modified_poisson",
      "status": "active",
      "version": 3,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-215"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "binary"
          },
          {
            "field": "modeling.effectMeasure",
            "op": "in",
            "value": [
              "rr",
              "pr"
            ]
          },
          {
            "field": "populationEstimand.targetIsMarginal",
            "op": "eq",
            "value": false
          },
          {
            "field": "studyDesign.datasetType",
            "op": "in",
            "value": [
              "cross_sectional_survey",
              "cohort",
              "routine",
              "administrative",
              "trial"
            ]
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          },
          {
            "field": "derived.viewRepeatsPerson",
            "op": "eq",
            "value": false
          },
          {
            "any": [
              {
                "field": "dataReadiness.missingnessPlan",
                "op": "is_null"
              },
              {
                "field": "dataReadiness.missingnessPlan",
                "op": "ne",
                "value": "multiple_imputation"
              }
            ]
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and modeling.outcomeFamily is binary and modeling.effectMeasure is one of rr, pr and populationEstimand.targetIsMarginal is false and studyDesign.datasetType is one of cross_sectional_survey, cohort, routine, administrative, trial and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered and derived.viewRepeatsPerson is false and (dataReadiness.missingnessPlan is not answered or dataReadiness.missingnessPlan is not multiple_imputation) and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Modified Poisson with robust errors is offered directly for a prevalence or risk ratio.",
      "reasonExpert": "Poisson GLM with robust variance for binary outcomes (Zou 2004), not only as a fallback. Source: methods/EFFECT_MEASURES_REPORTING.md (design-specific-routing).",
      "fineWhen": "Log-binomial is fine when it converges.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::3-select-a-model-by-outcome-and-target:1"
          ]
        },
        {
          "sourceId": "effect_measures_reporting",
          "sectionIds": [
            "effect_measures_reporting::design-specific-routing:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "effect_measures_reporting"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.10",
            "changedOn": "2026-11-04",
            "summary": "Exclude a declared multiple-imputation plan; its risk ratio is pooled by R-ASC-MI-02.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "missing_data_measurement",
              "effect_measures_reporting"
            ]
          },
          {
            "version": 3,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "core_analysis_workflow",
              "effect_measures_reporting"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-ASC-09",
      "apiId": "r.asc.09",
      "title": "Linear mixed model (random intercept, optional random slope)",
      "kind": "recommendation",
      "family": "associate.mixed_lmm",
      "status": "active",
      "version": 4,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-006",
        "E-008"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "any": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "associate"
              },
              {
                "all": [
                  {
                    "field": "objective.goal",
                    "op": "eq",
                    "value": "compare"
                  },
                  {
                    "any": [
                      {
                        "field": "dependence.clusterVar",
                        "op": "not_null"
                      },
                      {
                        "field": "dependence.repeatedUnitVar",
                        "op": "not_null"
                      }
                    ]
                  }
                ]
              }
            ]
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "continuous"
          },
          {
            "field": "dependence.clusterVar",
            "op": "not_null"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "derived.hasSplineForms",
            "op": "eq",
            "value": false
          },
          {
            "field": "derived.G",
            "op": "ge",
            "value": 5
          },
          {
            "field": "derived.structureLevels",
            "op": "le",
            "value": 1
          },
          {
            "any": [
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "field": "derived.viewPersonIsCluster",
                "op": "eq",
                "value": true
              }
            ]
          },
          {
            "any": [
              {
                "field": "modeling.effectMeasure",
                "op": "is_null"
              },
              {
                "field": "modeling.effectMeasure",
                "op": "not_in",
                "value": [
                  "ratio_of_means",
                  "gmr"
                ]
              }
            ]
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "(objective.goal is associate or (objective.goal is compare and (dependence.clusterVar is answered or dependence.repeatedUnitVar is answered))) and modeling.outcomeFamily is continuous and dependence.clusterVar is answered and surveyDesign.weightVar is not answered and derived.hasSplineForms is false and derived.G is at least 5 and derived.structureLevels is at most 1 and (derived.viewRepeatsPerson is false or derived.viewPersonIsCluster is true) and (modeling.effectMeasure is not answered or modeling.effectMeasure is none of ratio_of_means, gmr) and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Clustered or repeated measurements are modelled with a random intercept and, when the plan names one, a random slope for one variable.",
      "reasonExpert": "Linear mixed model with a random intercept and an optional random slope, REML and Satterthwaite df; singular fits reported; a fixed simplification ladder, each step recorded. Source: methods/MODEL_ASSUMPTIONS.md (model-specific-assumptions).",
      "fineWhen": "Cluster-robust regression is fine when the population-average effect is the target.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "model_assumptions",
          "sectionIds": [
            "model_assumptions::model-specific-assumptions:1"
          ]
        },
        {
          "sourceId": "survival_longitudinal",
          "sectionIds": [
            "survival_longitudinal::repeated-outcomes-and-small-cluster-inference:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "model_assumptions",
          "survival_longitudinal"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.5",
            "changedOn": "2026-11-02",
            "summary": "Proposed reciprocal effect-measure exclusions for the dedicated ratio and nominal routes.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "core_analysis_workflow"
            ]
          },
          {
            "version": 3,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "model_assumptions",
              "survival_longitudinal"
            ]
          },
          {
            "version": 4,
            "edition": "1.30",
            "changedOn": "2026-11-20",
            "summary": "One optional random slope for one numeric model variable, a fixed disclosed simplification ladder and four plan-time refusals; tie and alternative for R-ASC-GEE-01; trigger unchanged.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "model_assumptions",
              "survival_longitudinal"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-ASC-33",
      "apiId": "r.asc.33",
      "title": "Random-intercept logistic mixed model",
      "kind": "recommendation",
      "family": "associate.mixed_glmm",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-006",
        "E-008"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "any": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "associate"
              },
              {
                "all": [
                  {
                    "field": "objective.goal",
                    "op": "eq",
                    "value": "compare"
                  },
                  {
                    "any": [
                      {
                        "field": "dependence.clusterVar",
                        "op": "not_null"
                      },
                      {
                        "field": "dependence.repeatedUnitVar",
                        "op": "not_null"
                      }
                    ]
                  }
                ]
              }
            ]
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "binary"
          },
          {
            "field": "dependence.clusterVar",
            "op": "not_null"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "derived.hasSplineForms",
            "op": "eq",
            "value": false
          },
          {
            "field": "derived.G",
            "op": "ge",
            "value": 5
          },
          {
            "field": "derived.structureLevels",
            "op": "le",
            "value": 1
          },
          {
            "any": [
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "field": "derived.viewPersonIsCluster",
                "op": "eq",
                "value": true
              }
            ]
          },
          {
            "field": "modeling.effectMeasure",
            "op": "eq",
            "value": "or"
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          },
          {
            "any": [
              {
                "field": "dataReadiness.missingnessPlan",
                "op": "is_null"
              },
              {
                "field": "dataReadiness.missingnessPlan",
                "op": "ne",
                "value": "multiple_imputation"
              }
            ]
          },
          {
            "any": [
              {
                "field": "studyDesign.datasetType",
                "op": "is_null"
              },
              {
                "field": "studyDesign.datasetType",
                "op": "ne",
                "value": "case_control"
              }
            ]
          }
        ]
      },
      "appliesWhenText": "(objective.goal is associate or (objective.goal is compare and (dependence.clusterVar is answered or dependence.repeatedUnitVar is answered))) and modeling.outcomeFamily is binary and dependence.clusterVar is answered and surveyDesign.weightVar is not answered and derived.hasSplineForms is false and derived.G is at least 5 and derived.structureLevels is at most 1 and (derived.viewRepeatsPerson is false or derived.viewPersonIsCluster is true) and modeling.effectMeasure is or and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered and (dataReadiness.missingnessPlan is not answered or dataReadiness.missingnessPlan is not multiple_imputation) and (studyDesign.datasetType is not answered or studyDesign.datasetType is not case_control)",
      "reasonPlain": "A clustered binary outcome is modelled with a random intercept for the group, and the odds ratio compares rows of the same group.",
      "reasonExpert": "Random-intercept logistic mixed model by maximum likelihood with adaptive Gauss-Hermite quadrature (lme4::glmer, 10 points); Wald z tests; the odds ratio is conditional on the group. Source: methods/MODEL_ASSUMPTIONS.md (model-specific-assumptions).",
      "fineWhen": "Cluster-robust logistic regression is fine when the population-average odds ratio is the target.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "model_assumptions",
          "sectionIds": [
            "model_assumptions::model-specific-assumptions:1"
          ]
        },
        {
          "sourceId": "survival_longitudinal",
          "sectionIds": [
            "survival_longitudinal::repeated-outcomes-and-small-cluster-inference:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "model_assumptions",
          "survival_longitudinal"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.30",
            "changedOn": "2026-11-20",
            "summary": "Random-intercept logistic mixed model, offered as a tie with R-ASC-02 and with R-ASC-GEE-01.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "model_assumptions",
              "survival_longitudinal"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-ASC-34",
      "apiId": "r.asc.34",
      "title": "Random-intercept Poisson mixed model",
      "kind": "recommendation",
      "family": "associate.mixed_glmm",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-006",
        "E-008"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "any": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "associate"
              },
              {
                "all": [
                  {
                    "field": "objective.goal",
                    "op": "eq",
                    "value": "compare"
                  },
                  {
                    "any": [
                      {
                        "field": "dependence.clusterVar",
                        "op": "not_null"
                      },
                      {
                        "field": "dependence.repeatedUnitVar",
                        "op": "not_null"
                      }
                    ]
                  }
                ]
              }
            ]
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "count"
          },
          {
            "field": "dependence.clusterVar",
            "op": "not_null"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "derived.hasSplineForms",
            "op": "eq",
            "value": false
          },
          {
            "field": "derived.G",
            "op": "ge",
            "value": 5
          },
          {
            "field": "derived.structureLevels",
            "op": "le",
            "value": 1
          },
          {
            "any": [
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "field": "derived.viewPersonIsCluster",
                "op": "eq",
                "value": true
              }
            ]
          },
          {
            "field": "modeling.effectMeasure",
            "op": "eq",
            "value": "irr"
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          },
          {
            "any": [
              {
                "field": "dataReadiness.missingnessPlan",
                "op": "is_null"
              },
              {
                "field": "dataReadiness.missingnessPlan",
                "op": "ne",
                "value": "multiple_imputation"
              }
            ]
          },
          {
            "any": [
              {
                "field": "studyDesign.datasetType",
                "op": "is_null"
              },
              {
                "field": "studyDesign.datasetType",
                "op": "ne",
                "value": "case_control"
              }
            ]
          }
        ]
      },
      "appliesWhenText": "(objective.goal is associate or (objective.goal is compare and (dependence.clusterVar is answered or dependence.repeatedUnitVar is answered))) and modeling.outcomeFamily is count and dependence.clusterVar is answered and surveyDesign.weightVar is not answered and derived.hasSplineForms is false and derived.G is at least 5 and derived.structureLevels is at most 1 and (derived.viewRepeatsPerson is false or derived.viewPersonIsCluster is true) and modeling.effectMeasure is irr and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered and (dataReadiness.missingnessPlan is not answered or dataReadiness.missingnessPlan is not multiple_imputation) and (studyDesign.datasetType is not answered or studyDesign.datasetType is not case_control)",
      "reasonPlain": "A clustered count outcome is modelled with a random intercept for the group, and the rate ratio compares rows of the same group.",
      "reasonExpert": "Random-intercept Poisson mixed model by maximum likelihood with adaptive Gauss-Hermite quadrature (lme4::glmer, 10 points) and an optional exposure offset; Wald z tests; the rate ratio is conditional on the group. Source: methods/MODEL_ASSUMPTIONS.md (model-specific-assumptions).",
      "fineWhen": "Cluster-robust negative binomial regression is fine when the population-average rate ratio is the target or the counts are overdispersed.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "model_assumptions",
          "sectionIds": [
            "model_assumptions::model-specific-assumptions:1"
          ]
        },
        {
          "sourceId": "survival_longitudinal",
          "sectionIds": [
            "survival_longitudinal::repeated-outcomes-and-small-cluster-inference:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "model_assumptions",
          "survival_longitudinal"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.30",
            "changedOn": "2026-11-20",
            "summary": "Random-intercept Poisson mixed model with optional offset, offered as a tie with R-ASC-04 and with R-ASC-GEE-01.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "model_assumptions",
              "survival_longitudinal"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-ASC-TWOPART-01",
      "apiId": "r.asc.twopart.01",
      "title": "Two-part model for an outcome with exact zeros",
      "kind": "recommendation",
      "family": "associate.two_part",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-184"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "continuous"
          },
          {
            "any": [
              {
                "field": "modeling.effectMeasure",
                "op": "is_null"
              },
              {
                "field": "modeling.effectMeasure",
                "op": "eq",
                "value": "md"
              }
            ]
          },
          {
            "field": "modeling.zeroProcess",
            "op": "eq",
            "value": "separate_decision"
          },
          {
            "field": "derived.outcomeHasZeros",
            "op": "eq",
            "value": true
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          },
          {
            "field": "dependence.repeatedUnitVar",
            "op": "is_null"
          },
          {
            "field": "derived.viewRepeatsPerson",
            "op": "eq",
            "value": false
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and modeling.outcomeFamily is continuous and (modeling.effectMeasure is not answered or modeling.effectMeasure is md) and modeling.zeroProcess is separate_decision and derived.outcomeHasZeros is true and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and derived.viewRepeatsPerson is false and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "An outcome with many true zeros is modelled in two parts, whether the value is positive at all and, among the positive values, how large it is. The report combines both fits into a difference in overall means and shows both component effects.",
      "reasonExpert": "Part 1, stats::glm binomial (logit), odds ratios of a positive value with profile likelihood intervals; part 2, stats::glm Gamma (log link) on the positive rows, ratios of means with Wald intervals and HC3. The primary contrast is the standardized difference in means including zeros. Source: methods/MODEL_ASSUMPTIONS.md; Duan et al. 1983 (doi 10.1080/07350015.1983.10509339); Deb and Norton 2018 (doi 10.1146/annurev-publhealth-040617-013517).",
      "fineWhen": "Linear regression estimates a difference in means when a zero is an ordinary value on the outcome scale. A Gamma log-link model estimates a ratio of means for a strictly positive continuous outcome.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::3-select-a-model-by-outcome-and-target:1"
          ]
        },
        {
          "sourceId": "model_assumptions",
          "sectionIds": [
            "model_assumptions::linear-regression-the-outcome-does-not-have-to-look-normal:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "model_assumptions",
          "core_analysis_workflow"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.32",
            "changedOn": "2026-11-23",
            "summary": "New recommendation row. Two-part model for a continuous outcome with exact zeros that the researcher declares to arise from a separate decision. Two stats::glm fits (logistic for any positive value, Gamma log link on the positive rows) give a standardized difference in overall mean outcome and both component effects. The linear row also targets an overall difference in means.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "model_assumptions",
              "core_analysis_workflow"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-ASC-GEE-01",
      "apiId": "r.asc.gee.01",
      "title": "Generalized estimating equations with an exchangeable or AR(1) working correlation",
      "kind": "recommendation",
      "family": "associate.gee",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-006",
        "E-008"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "dependence.clusterVar",
            "op": "not_null"
          },
          {
            "any": [
              {
                "field": "dataReadiness.missingnessPlan",
                "op": "is_null"
              },
              {
                "field": "dataReadiness.missingnessPlan",
                "op": "ne",
                "value": "multiple_imputation"
              }
            ]
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "in",
            "value": [
              "continuous",
              "binary",
              "count"
            ]
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "derived.hasSplineForms",
            "op": "eq",
            "value": false
          },
          {
            "field": "derived.G",
            "op": "ge",
            "value": 10
          },
          {
            "field": "derived.structureLevels",
            "op": "le",
            "value": 1
          },
          {
            "any": [
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "field": "derived.viewPersonIsCluster",
                "op": "eq",
                "value": true
              }
            ]
          },
          {
            "any": [
              {
                "field": "modeling.effectMeasure",
                "op": "is_null"
              },
              {
                "field": "modeling.effectMeasure",
                "op": "in",
                "value": [
                  "beta",
                  "or",
                  "irr"
                ]
              }
            ]
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and dependence.clusterVar is answered and (dataReadiness.missingnessPlan is not answered or dataReadiness.missingnessPlan is not multiple_imputation) and modeling.outcomeFamily is one of continuous, binary, count and surveyDesign.weightVar is not answered and derived.hasSplineForms is false and derived.G is at least 10 and derived.structureLevels is at most 1 and (derived.viewRepeatsPerson is false or derived.viewPersonIsCluster is true) and (modeling.effectMeasure is not answered or modeling.effectMeasure is one of beta, or, irr) and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Clustered or repeated measurements are modelled by generalized estimating equations, with the working correlation the researcher chooses and standard errors that stay valid when that choice is wrong.",
      "reasonExpert": "Population-averaged model by geepack::geeglm with an exchangeable or AR(1) working correlation; CR2 cluster-robust standard errors with Satterthwaite t intervals from 20 clusters, CR3 with t on clusters minus coefficients from 10 to 19; the independence fit shown beside it. Source: methods/SURVIVAL_LONGITUDINAL.md (repeated-outcomes-and-small-cluster-inference).",
      "fineWhen": "A cluster-robust regression (independence working correlation) is fine when efficiency from a working structure is not needed; a mixed model is fine when cluster-specific effects are the target.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "model_assumptions",
          "sectionIds": [
            "model_assumptions::model-specific-assumptions:1"
          ]
        },
        {
          "sourceId": "survival_longitudinal",
          "sectionIds": [
            "survival_longitudinal::repeated-outcomes-and-small-cluster-inference:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "survival_longitudinal",
          "model_assumptions"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.30",
            "changedOn": "2026-11-20",
            "summary": "New recommendation row. Generalized estimating equations (geepack) with an exchangeable or AR(1) working correlation the researcher chooses, CR2 or CR3 cluster-robust small-sample inference, the independence fit beside it, and a tie with the cluster-robust, count and mixed rows, including R-ASC-33 and R-ASC-34.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "survival_longitudinal",
              "model_assumptions"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-ASC-10",
      "apiId": "r.asc.10",
      "title": "Cox proportional hazards",
      "kind": "recommendation",
      "family": "associate.cox_ph",
      "status": "active",
      "version": 3,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-054"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "time_to_event"
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "modeling.hasCompetingEvent",
            "op": "eq",
            "value": false
          },
          {
            "field": "derived.viewRepeatsPerson",
            "op": "eq",
            "value": false
          },
          {
            "any": [
              {
                "field": "modeling.censoringType",
                "op": "is_null"
              },
              {
                "field": "modeling.censoringType",
                "op": "eq",
                "value": "exact_right"
              }
            ]
          },
          {
            "field": "modeling.survivalAnalysis.horizon",
            "op": "is_null"
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and modeling.outcomeFamily is time_to_event and dependence.clusterVar is not answered and surveyDesign.weightVar is not answered and modeling.hasCompetingEvent is false and derived.viewRepeatsPerson is false and (modeling.censoringType is not answered or modeling.censoringType is exact_right) and modeling.survivalAnalysis.horizon is not answered and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Cox regression is used for time to an event, with the proportional-hazards check shown.",
      "reasonExpert": "Cox proportional hazards with Schoenfeld-residual checks; restricted mean survival time is run when hazards are not proportional. Source: methods/MODEL_ASSUMPTIONS.md (model-specific-assumptions).",
      "fineWhen": "A single hazard ratio is fine when the proportional-hazards check shows no clear departure.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "model_assumptions",
          "sectionIds": [
            "model_assumptions::model-specific-assumptions:1"
          ]
        },
        {
          "sourceId": "survival_longitudinal",
          "sectionIds": [
            "survival_longitudinal::choose-the-estimand-and-model:1",
            "survival_longitudinal::operational-time-to-event-and-competing-risk-workflow:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "model_assumptions",
          "survival_longitudinal"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.5",
            "changedOn": "2026-11-02",
            "summary": "Proposed expanded exact-right-censoring Cox companion with estimand and competing-event disclosure.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "model_assumptions",
              "survival_longitudinal"
            ]
          },
          {
            "version": 3,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "model_assumptions",
              "survival_longitudinal"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-ASC-COUNT-01",
      "apiId": "r.asc.count.01",
      "title": "Time-varying counting-process Cox",
      "kind": "recommendation",
      "family": "associate.cox_counting_process",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-046"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "time_to_event"
          },
          {
            "field": "modeling.postOriginGrouping",
            "op": "eq",
            "value": true
          },
          {
            "field": "modeling.hasCompetingEvent",
            "op": "eq",
            "value": false
          },
          {
            "field": "derived.viewRepeatsPerson",
            "op": "eq",
            "value": true
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and modeling.outcomeFamily is time_to_event and modeling.postOriginGrouping is true and modeling.hasCompetingEvent is false and derived.viewRepeatsPerson is true and dependence.clusterVar is not answered and surveyDesign.weightVar is not answered and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "A group assigned after follow-up begins needs time-varying at-risk intervals; a fixed ever-exposed baseline group would give it guaranteed survival time.",
      "reasonExpert": "The constructed start/stop view assigns exposure state before each event stop; survival::coxph fits counting-process intervals with participant-cluster robust covariance.",
      "fineWhen": "Participant and interval identities, terminal event assignment and censoring assumptions are checked and reported, and the exposure is a time-varying covariate rather than a future response group.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "survival_longitudinal",
          "sectionIds": [
            "survival_longitudinal::nonproportional-hazards:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "survival_longitudinal"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.6",
            "changedOn": "2026-11-03",
            "summary": "Offer constructed time-varying Cox only for a selected start/stop view and a post-origin grouping declaration.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "survival_longitudinal"
            ]
          },
          {
            "version": 2,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "survival_longitudinal"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-ASC-11",
      "apiId": "r.asc.11",
      "title": "Poisson regression with follow-up time",
      "kind": "recommendation",
      "family": "associate.poisson_person_time",
      "status": "active",
      "version": 3,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-075"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "time_to_event"
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "modeling.hasCompetingEvent",
            "op": "eq",
            "value": false
          },
          {
            "field": "derived.viewRepeatsPerson",
            "op": "eq",
            "value": false
          },
          {
            "any": [
              {
                "field": "modeling.censoringType",
                "op": "is_null"
              },
              {
                "field": "modeling.censoringType",
                "op": "eq",
                "value": "exact_right"
              }
            ]
          },
          {
            "field": "modeling.survivalAnalysis.horizon",
            "op": "is_null"
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and modeling.outcomeFamily is time_to_event and dependence.clusterVar is not answered and surveyDesign.weightVar is not answered and modeling.hasCompetingEvent is false and derived.viewRepeatsPerson is false and (modeling.censoringType is not answered or modeling.censoringType is exact_right) and modeling.survivalAnalysis.horizon is not answered and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Events with different follow-up times are modelled with a person-time Poisson model.",
      "reasonExpert": "Poisson regression with a log person-time offset; the dispersion flag is reported. Source: methods/EFFECT_MEASURES_REPORTING.md (design-specific-routing).",
      "fineWhen": "Cox regression is fine when the event time itself is the question.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "effect_measures_reporting",
          "sectionIds": [
            "effect_measures_reporting::design-specific-routing:1"
          ]
        },
        {
          "sourceId": "survival_longitudinal",
          "sectionIds": [
            "survival_longitudinal::choose-the-estimand-and-model:1",
            "survival_longitudinal::operational-time-to-event-and-competing-risk-workflow:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "effect_measures_reporting",
          "survival_longitudinal"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.5",
            "changedOn": "2026-11-02",
            "summary": "Proposed person-time route update for declared follow-up and competing-risk scope.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "effect_measures_reporting",
              "survival_longitudinal"
            ]
          },
          {
            "version": 3,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "effect_measures_reporting",
              "survival_longitudinal"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-ASC-12",
      "apiId": "r.asc.12",
      "title": "Logistic regression with marginal standardization for a standardized prevalence or risk ratio and difference",
      "kind": "recommendation",
      "family": "associate.logistic_standardized",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-165",
        "E-215"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "binary"
          },
          {
            "field": "modeling.effectMeasure",
            "op": "in",
            "value": [
              "pr",
              "rr",
              "pd",
              "rd"
            ]
          },
          {
            "field": "populationEstimand.targetIsMarginal",
            "op": "eq",
            "value": true
          },
          {
            "field": "studyDesign.datasetType",
            "op": "in",
            "value": [
              "cross_sectional_survey",
              "cohort",
              "routine",
              "administrative",
              "trial"
            ]
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          },
          {
            "any": [
              {
                "field": "modeling.standardization.target",
                "op": "is_null"
              },
              {
                "field": "modeling.standardization.target",
                "op": "ne",
                "value": "survey_population"
              }
            ]
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and modeling.outcomeFamily is binary and modeling.effectMeasure is one of pr, rr, pd, rd and populationEstimand.targetIsMarginal is true and studyDesign.datasetType is one of cross_sectional_survey, cohort, routine, administrative, trial and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered and (modeling.standardization.target is not answered or modeling.standardization.target is not survey_population) and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "A standardised ratio is estimated by logistic regression with marginal standardisation.",
      "reasonExpert": "Logistic regression with g-computation standardisation for a marginal prevalence or risk ratio; bootstrap interval. Source: methods/EFFECT_MEASURES_REPORTING.md (conditional-versus-marginal-adjusted-effects).",
      "fineWhen": "The conditional odds ratio is fine when a conditional answer is the question.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "effect_measures_reporting",
          "sectionIds": [
            "effect_measures_reporting::conditional-versus-marginal-adjusted-effects:1",
            "effect_measures_reporting::design-specific-routing:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "effect_measures_reporting"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "effect_measures_reporting"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-COV-00",
      "apiId": "r.cov.00",
      "title": "Model-based covariance",
      "kind": "recommendation",
      "family": "covariance.default",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-006"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          },
          {
            "field": "dependence.repeatedUnitVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and surveyDesign.weightVar is not answered",
      "reasonPlain": "With no declared cluster, standard errors from the model itself are used.",
      "reasonExpert": "Model-based covariance is valid under independence given the model; it is chosen only when no dependence is declared. Source: methods/CORE_ANALYSIS_WORKFLOW.md (4-diagnose-and-quantify-uncertainty).",
      "fineWhen": "A robust (sandwich) covariance is also fine and is shown beside it for comparison.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::4-diagnose-and-quantify-uncertainty:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-ASC-SURVEY-01",
      "apiId": "r.asc.survey.01",
      "title": "Survey linear regression",
      "kind": "recommendation",
      "family": "associate.survey_mean",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-009"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "continuous"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "not_null"
          },
          {
            "field": "surveyDesign.weightSemantics",
            "op": "eq",
            "value": "sampling"
          },
          {
            "field": "surveyDesign.weightSemanticsConfirmed",
            "op": "eq",
            "value": true
          },
          {
            "field": "modeling.effectPlan.continuousTarget",
            "op": "eq",
            "value": "arithmetic_mean"
          },
          {
            "field": "derived.viewRepeatsPerson",
            "op": "eq",
            "value": false
          },
          {
            "field": "modeling.effectMeasure",
            "op": "eq",
            "value": "beta"
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and modeling.outcomeFamily is continuous and surveyDesign.weightVar is answered and surveyDesign.weightSemantics is sampling and surveyDesign.weightSemanticsConfirmed is true and modeling.effectPlan.continuousTarget is arithmetic_mean and derived.viewRepeatsPerson is false and modeling.effectMeasure is beta and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "The declared sampling design supplies the weights and uncertainty for this continuous-outcome regression.",
      "reasonExpert": "The survey package fits the declared mean model using the specified sampling design. Design degrees of freedom are retained for intervals and tests.",
      "fineWhen": "Use unweighted descriptions only when explicitly describing the observed sample.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "survey_science_analysis",
          "sectionIds": [
            "survey_science_analysis::design-specification-is-part-of-the-analysis:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "survey_science_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.5",
            "changedOn": "2026-11-02",
            "summary": "Proposed survey-weighted identity-link continuous mean regression.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "survey_science_analysis"
            ]
          },
          {
            "version": 2,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "survey_science_analysis"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-ASC-SURVEY-02",
      "apiId": "r.asc.survey.02",
      "title": "Survey Gamma regression with a log link",
      "kind": "recommendation",
      "family": "associate.survey_mean",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-009"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "continuous"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "not_null"
          },
          {
            "field": "surveyDesign.weightSemantics",
            "op": "eq",
            "value": "sampling"
          },
          {
            "field": "surveyDesign.weightSemanticsConfirmed",
            "op": "eq",
            "value": true
          },
          {
            "field": "modeling.effectPlan.continuousTarget",
            "op": "eq",
            "value": "arithmetic_mean"
          },
          {
            "field": "derived.viewRepeatsPerson",
            "op": "eq",
            "value": false
          },
          {
            "field": "modeling.effectMeasure",
            "op": "eq",
            "value": "ratio_of_means"
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and modeling.outcomeFamily is continuous and surveyDesign.weightVar is answered and surveyDesign.weightSemantics is sampling and surveyDesign.weightSemanticsConfirmed is true and modeling.effectPlan.continuousTarget is arithmetic_mean and derived.viewRepeatsPerson is false and modeling.effectMeasure is ratio_of_means and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "The declared sampling design supplies the weights and uncertainty for this continuous-outcome regression.",
      "reasonExpert": "The survey package fits the declared mean model using the specified sampling design. Design degrees of freedom are retained for intervals and tests.",
      "fineWhen": "Use unweighted descriptions only when explicitly describing the observed sample.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "survey_science_analysis",
          "sectionIds": [
            "survey_science_analysis::design-specification-is-part-of-the-analysis:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "survey_science_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.5",
            "changedOn": "2026-11-02",
            "summary": "Proposed survey-weighted Gamma log-link continuous mean regression.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "survey_science_analysis"
            ]
          },
          {
            "version": 2,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "survey_science_analysis"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-ASC-SURVEY-RISK-01",
      "apiId": "r.asc.survey.risk.01",
      "title": "Survey standardized binary probability contrasts",
      "kind": "recommendation",
      "family": "associate.survey_risk",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-009"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "binary"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "not_null"
          },
          {
            "field": "surveyDesign.weightSemantics",
            "op": "eq",
            "value": "sampling"
          },
          {
            "field": "surveyDesign.weightSemanticsConfirmed",
            "op": "eq",
            "value": true
          },
          {
            "field": "derived.viewRepeatsPerson",
            "op": "eq",
            "value": false
          },
          {
            "field": "modeling.effectMeasure",
            "op": "in",
            "value": [
              "rr",
              "rd",
              "pr",
              "pd"
            ]
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and modeling.outcomeFamily is binary and surveyDesign.weightVar is answered and surveyDesign.weightSemantics is sampling and surveyDesign.weightSemanticsConfirmed is true and derived.viewRepeatsPerson is false and modeling.effectMeasure is one of rr, rd, pr, pd and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "The declared sampling design supplies weights and design-based uncertainty for the binary probability contrast.",
      "reasonExpert": "Predictive margins use the survey package joint covariance and include uncertainty in the weighted empirical target distribution.",
      "fineWhen": "Use unweighted descriptions only when explicitly describing the observed sample.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "survey_science_analysis",
          "sectionIds": [
            "survey_science_analysis::design-specification-is-part-of-the-analysis:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "survey_science_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.30",
            "changedOn": "2026-11-20",
            "summary": "New recommendation row. Design-based standardized risk or prevalence contrasts for a binary outcome (survey::svyglm quasibinomial, predictive margins, joint-covariance contrasts).",
            "signal": "new_evidence",
            "decision": "revise",
            "sourceIds": [
              "survey_science_analysis"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-ASC-IC-01",
      "apiId": "r.asc.ic.01",
      "title": "Interval-censored proportional hazards",
      "kind": "recommendation",
      "family": "associate.interval_ph",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-054"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "time_to_event"
          },
          {
            "field": "modeling.censoringType",
            "op": "eq",
            "value": "interval"
          },
          {
            "field": "modeling.intervalCensoring.lowerBoundVar",
            "op": "not_null"
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          },
          {
            "field": "dependence.repeatedUnitVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.strataVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.psuVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.fpcVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.replicateDesign.type",
            "op": "is_null"
          },
          {
            "any": [
              {
                "field": "studyDesign.samplingScheme",
                "op": "is_null"
              },
              {
                "field": "studyDesign.samplingScheme",
                "op": "ne",
                "value": "complex_survey"
              }
            ]
          },
          {
            "field": "derived.viewRepeatsPerson",
            "op": "eq",
            "value": false
          },
          {
            "field": "modeling.hasCompetingEvent",
            "op": "eq",
            "value": false
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and modeling.outcomeFamily is time_to_event and modeling.censoringType is interval and modeling.intervalCensoring.lowerBoundVar is answered and dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and surveyDesign.weightVar is not answered and surveyDesign.strataVar is not answered and surveyDesign.psuVar is not answered and surveyDesign.fpcVar is not answered and surveyDesign.replicateDesign.type is not answered and (studyDesign.samplingScheme is not answered or studyDesign.samplingScheme is not complex_survey) and derived.viewRepeatsPerson is false and modeling.hasCompetingEvent is false and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Interval-censored proportional hazards.",
      "reasonExpert": "Interval PH estimates hazard ratios only",
      "fineWhen": "Use the declared event process, target and supported independent-subject design.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "interval_censored_survival",
          "sectionIds": [
            "interval_censored_survival::why-the-likelihood-and-estimand-matter:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "interval_censored_survival"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.5",
            "changedOn": "2026-11-02",
            "summary": "Proposed independent-subject interval-censored proportional-hazards route.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "interval_censored_survival"
            ]
          },
          {
            "version": 2,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "interval_censored_survival"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-ASC-SURV-01",
      "apiId": "r.asc.surv.01",
      "title": "Right-censored survival with absolute contrasts and RMST",
      "kind": "recommendation",
      "family": "associate.survival_companions",
      "status": "active",
      "version": 3,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-054"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "in",
            "value": [
              "associate",
              "compare"
            ]
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "time_to_event"
          },
          {
            "field": "modeling.censoringType",
            "op": "eq",
            "value": "exact_right"
          },
          {
            "field": "modeling.survivalAnalysis.horizon",
            "op": "not_null"
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          },
          {
            "field": "dependence.repeatedUnitVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.strataVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.psuVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.fpcVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.replicateDesign.type",
            "op": "is_null"
          },
          {
            "any": [
              {
                "field": "studyDesign.samplingScheme",
                "op": "is_null"
              },
              {
                "field": "studyDesign.samplingScheme",
                "op": "ne",
                "value": "complex_survey"
              }
            ]
          },
          {
            "field": "derived.viewRepeatsPerson",
            "op": "eq",
            "value": false
          },
          {
            "field": "modeling.hasCompetingEvent",
            "op": "in",
            "value": [
              true,
              false
            ]
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is one of associate, compare and modeling.outcomeFamily is time_to_event and modeling.censoringType is exact_right and modeling.survivalAnalysis.horizon is answered and dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and surveyDesign.weightVar is not answered and surveyDesign.strataVar is not answered and surveyDesign.psuVar is not answered and surveyDesign.fpcVar is not answered and surveyDesign.replicateDesign.type is not answered and (studyDesign.samplingScheme is not answered or studyDesign.samplingScheme is not complex_survey) and derived.viewRepeatsPerson is false and modeling.hasCompetingEvent is one of true, false and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Right-censored survival with absolute contrasts and RMST.",
      "reasonExpert": "Cause-specific HRs are separate from subdistribution HRs, absolute differences and RMST differences",
      "fineWhen": "Use the declared event process, target and supported independent-subject design.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "survival_longitudinal",
          "sectionIds": [
            "survival_longitudinal::operational-time-to-event-and-competing-risk-workflow:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "survival_longitudinal"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.5",
            "changedOn": "2026-11-02",
            "summary": "Proposed survival companion estimands and outputs.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "survival_longitudinal"
            ]
          },
          {
            "version": 2,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "survival_longitudinal"
            ]
          },
          {
            "version": 3,
            "edition": "1.29",
            "changedOn": "2026-11-20",
            "summary": "The goal leaf reads associate or compare. A group comparison of a right-censored time-to-event outcome found no method on staging (2026-11-19); it is the same analysis as the association route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "survival_longitudinal"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-ASC-MI-01",
      "apiId": "r.asc.mi.01",
      "title": "Multiple imputation, regression fitted in each imputed dataset and combined by Rubin's rules",
      "kind": "recommendation",
      "family": "associate.multiple_imputation",
      "status": "active",
      "version": 7,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-052"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "dataReadiness.missingnessPlan",
            "op": "eq",
            "value": "multiple_imputation"
          },
          {
            "field": "dataReadiness.imputation.numericMethod",
            "op": "not_null"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "in",
            "value": [
              "continuous",
              "binary"
            ]
          },
          {
            "field": "modeling.effectMeasure",
            "op": "in",
            "value": [
              "beta",
              "or"
            ]
          },
          {
            "any": [
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              },
              {
                "field": "dataReadiness.imputation.numericMethod",
                "op": "eq",
                "value": "2l.pan"
              }
            ]
          },
          {
            "field": "dependence.repeatedUnitVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "derived.viewRepeatsPerson",
            "op": "eq",
            "value": false
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and dataReadiness.missingnessPlan is multiple_imputation and dataReadiness.imputation.numericMethod is answered and modeling.outcomeFamily is one of continuous, binary and modeling.effectMeasure is one of beta, or and (dependence.clusterVar is not answered or dataReadiness.imputation.numericMethod is 2l.pan) and dependence.repeatedUnitVar is not answered and surveyDesign.weightVar is not answered and derived.viewRepeatsPerson is false and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Missing values are imputed m times by chained equations. The declared linear or logistic model is fitted separately to each imputed dataset, and the m estimates and their variances are combined with Rubin's rules. The datasets are never stacked into one. With declared clusters, the missing values are imputed with a model that includes the cluster, and a random-intercept model is analysed in each copy. When the analysis model has an interaction or a spline term, the researcher chooses imputation compatible with it, so each missing value is drawn from a model that agrees with the analysis model, so the imputed data do not contradict the interaction or curve.",
      "reasonExpert": "mice::mice creates m imputed datasets; the analysis model is fitted to each; mice::pool combines the m coefficient estimates and within-imputation variances by Rubin's (1987) rules, with Barnard-Rubin (1999) small-sample degrees of freedom; the chosen imputation model, seed, iteration count and auxiliary removals are recorded. With an interaction or a restricted cubic spline in the analysis model, smcfcs::smcfcs (Bartlett et al. 2015) draws each incomplete variable by rejection sampling against the analysis model's likelihood; the analysis model is fitted in each imputed dataset and combined by the same Rubin rules.",
      "fineWhen": "Independent rows with an additive Gaussian or logistic model, known source columns, and a declared event level for logistic regression.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "missing_data_measurement",
          "sectionIds": [
            "missing_data_measurement::choosing-the-primary-strategy:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "missing_data_measurement"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.5",
            "changedOn": "2026-11-02",
            "summary": "Proposed explicit pooled Gaussian/logistic multiple-imputation route.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "missing_data_measurement"
            ]
          },
          {
            "version": 2,
            "edition": "1.10",
            "changedOn": "2026-11-04",
            "summary": "Gate the pooled Gaussian/logistic route to its effect measures (beta, or); a binary risk ratio is R-ASC-MI-02.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "missing_data_measurement"
            ]
          },
          {
            "version": 3,
            "edition": "1.11",
            "changedOn": "2026-11-05",
            "summary": "Describe each imputed dataset as analyzed separately with the m estimates combined by Rubin's rules; add the cannot-do list.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "missing_data_measurement"
            ]
          },
          {
            "version": 4,
            "edition": "1.13",
            "changedOn": "2026-11-06",
            "summary": "The method text lists the estimator parameter: maximum likelihood by default, or a Firth-type penalized fit with intercept correction in each imputed dataset when events are few, combined with Rubin's rules; delta sensitivity is not available with it.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "missing_data_measurement"
            ]
          },
          {
            "version": 5,
            "edition": "1.15",
            "changedOn": "2026-11-06",
            "summary": "With declared clusters, impute with the two-level normal model (mice 2l.pan) that includes the cluster and analyse a random-intercept model in each imputed copy.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "missing_data_measurement"
            ]
          },
          {
            "version": 6,
            "edition": "1.20",
            "changedOn": "2026-11-08",
            "summary": "With an interaction or a restricted cubic spline in the analysis model, the researcher may choose substantive-model-compatible imputation (smcfcs, Bartlett et al. 2015); the analysis model is fitted in each imputed dataset and combined by Rubin's rules.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "missing_data_measurement"
            ]
          },
          {
            "version": 7,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "missing_data_measurement"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-ASC-MI-02",
      "apiId": "r.asc.mi.02",
      "title": "Multiple imputation, modified-Poisson risk ratio fitted in each imputed dataset and combined by Rubin's rules",
      "kind": "recommendation",
      "family": "associate.multiple_imputation",
      "status": "active",
      "version": 3,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-052"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "dataReadiness.missingnessPlan",
            "op": "eq",
            "value": "multiple_imputation"
          },
          {
            "field": "dataReadiness.imputation.numericMethod",
            "op": "not_null"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "binary"
          },
          {
            "field": "modeling.effectMeasure",
            "op": "eq",
            "value": "rr"
          },
          {
            "field": "populationEstimand.targetIsMarginal",
            "op": "eq",
            "value": false
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          },
          {
            "field": "dependence.repeatedUnitVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "derived.viewRepeatsPerson",
            "op": "eq",
            "value": false
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and dataReadiness.missingnessPlan is multiple_imputation and dataReadiness.imputation.numericMethod is answered and modeling.outcomeFamily is binary and modeling.effectMeasure is rr and populationEstimand.targetIsMarginal is false and dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and surveyDesign.weightVar is not answered and derived.viewRepeatsPerson is false and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "For a binary outcome with a risk ratio, missing values are imputed m times by chained equations, modified Poisson regression with an HC3 robust covariance is fitted separately to each imputed dataset, and the m log risk ratios and their variances are combined with Rubin's rules.",
      "reasonExpert": "Zou's (2004) modified Poisson regression gives a consistent log risk ratio for a 0/1 outcome; its model-based variance is wrong, so the HC3 sandwich covariance (sandwich::vcovHC, the floor model.modified_poisson declares) is attached to every completed-data fit and mice::pool combines them by Rubin's rules with Barnard-Rubin degrees of freedom. Imputation model, seed, iteration count and auxiliary removals are recorded as for R-ASC-MI-01.",
      "fineWhen": "Independent rows, a binary outcome recording a new event with complete follow-up over a stated time frame, a conditional target, known source columns and a declared event level.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "effect_measures_reporting",
          "sectionIds": [
            "effect_measures_reporting::design-specific-routing:1"
          ]
        },
        {
          "sourceId": "missing_data_measurement",
          "sectionIds": [
            "missing_data_measurement::choosing-the-primary-strategy:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "missing_data_measurement",
          "effect_measures_reporting"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.10",
            "changedOn": "2026-11-04",
            "summary": "Pooled modified-Poisson risk ratio (HC3 sandwich) under the explicit multiple-imputation route.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "missing_data_measurement",
              "effect_measures_reporting"
            ]
          },
          {
            "version": 2,
            "edition": "1.11",
            "changedOn": "2026-11-05",
            "summary": "Same Rubin's-rules wording for the risk-ratio route.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "missing_data_measurement"
            ]
          },
          {
            "version": 3,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "effect_measures_reporting",
              "missing_data_measurement"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-COV-01",
      "apiId": "r.cov.01",
      "title": "CR2 with Satterthwaite df (G at least 50)",
      "kind": "recommendation",
      "family": "covariance.cr2",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-006",
        "E-013"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "dependence.clusterVar",
            "op": "not_null"
          },
          {
            "field": "derived.G",
            "op": "ge",
            "value": 50
          }
        ]
      },
      "appliesWhenText": "dependence.clusterVar is answered and derived.G is at least 50",
      "reasonPlain": "With 50 or more clusters, Safi uses cluster-robust errors with a small-sample correction.",
      "reasonExpert": "CR2 (Bell-McCaffrey) with Satterthwaite degrees of freedom is the reported inference for 50 or more clusters. Source: methods/SURVIVAL_LONGITUDINAL.md (repeated-outcomes-and-small-cluster-inference).",
      "fineWhen": "The uncorrected sandwich estimator is fine when clusters are very many and balanced.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "model_assumptions",
          "sectionIds": [
            "model_assumptions::model-specific-assumptions:1"
          ]
        },
        {
          "sourceId": "survival_longitudinal",
          "sectionIds": [
            "survival_longitudinal::repeated-outcomes-and-small-cluster-inference:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "model_assumptions",
          "survival_longitudinal"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-ASC-GAM-01",
      "apiId": "r.asc.gam.01",
      "title": "Declared Gaussian penalized smooth",
      "kind": "recommendation",
      "family": "associate.gam_gaussian",
      "status": "active",
      "version": 4,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-052"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "continuous"
          },
          {
            "field": "dataReadiness.missingnessPlan",
            "op": "eq",
            "value": "complete_case"
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          },
          {
            "field": "dependence.repeatedUnitVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "derived.viewRepeatsPerson",
            "op": "eq",
            "value": false
          },
          {
            "field": "modeling.effectMeasure",
            "op": "eq",
            "value": "beta"
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          },
          {
            "field": "modeling.predictorForm",
            "op": "not_null"
          },
          {
            "field": "modeling.predictorForm",
            "op": "eq",
            "value": "gam_tp"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and modeling.outcomeFamily is continuous and dataReadiness.missingnessPlan is complete_case and dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and surveyDesign.weightVar is not answered and derived.viewRepeatsPerson is false and modeling.effectMeasure is beta and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered and modeling.predictorForm is answered and modeling.predictorForm is gam_tp",
      "reasonPlain": "A continuous outcome can be modeled with one researcher-declared smooth exposure while retaining additive adjustment variables. Complexity and comparisons are recorded before fitting.",
      "reasonExpert": "mgcv::gam fits a thin-plate basis with REML penalization. The route reports EDF, an approximate smooth test, model-conditional pointwise contrast uncertainty, residual-scale and concurvity diagnostics. Selected HC3, cluster and survey covariance modes are refused.",
      "fineWhen": "Independent rows, a continuous outcome and focal predictor, additive confounders, an explicit basis dimension and two comparison values within fitted predictor support.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "functional_form",
          "sectionIds": [
            "functional_form::preserve-information-while-matching-the-question:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "functional_form"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.7",
            "changedOn": "2026-11-03",
            "summary": "Admit a declared independent-row Gaussian thin-plate GAM with unadjusted and adjusted contrasts, diagnostics and ordinary R.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "functional_form"
            ]
          },
          {
            "version": 2,
            "edition": "1.11",
            "changedOn": "2026-11-05",
            "summary": "Add the cannot-do list (single smooth, no robust covariance, pointwise bands).",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 3,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "functional_form"
            ]
          },
          {
            "version": 4,
            "edition": "1.29",
            "changedOn": "2026-11-20",
            "summary": "Fires only when the declared predictor form is gam_tp (not_null first). Before, it fired on every continuous associate plan and tied with R-ASC-01, so no method was recommended.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "functional_form"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-CMP-PLANNED-01",
      "apiId": "r.cmp.planned.01",
      "title": "Declared common-variance Gaussian group comparisons",
      "kind": "recommendation",
      "family": "compare.planned_gaussian",
      "status": "active",
      "version": 3,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-063",
        "E-212"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "compare"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "continuous"
          },
          {
            "field": "modeling.plannedGroupComparisons.covariance",
            "op": "not_null"
          },
          {
            "field": "modeling.plannedGroupComparisons.covariance",
            "op": "eq",
            "value": "common_variance_gaussian"
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          },
          {
            "field": "dependence.repeatedUnitVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "derived.viewRepeatsPerson",
            "op": "eq",
            "value": false
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is compare and modeling.outcomeFamily is continuous and modeling.plannedGroupComparisons.covariance is answered and modeling.plannedGroupComparisons.covariance is common_variance_gaussian and dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and surveyDesign.weightVar is not answered and derived.viewRepeatsPerson is false and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Choose one common-control or all-pairs family only when a Gaussian model with common residual variance has a scientific justification; the ordinary Welch route remains available.",
      "reasonExpert": "multcomp::glht uses the covariance of all declared contrasts with single-step multivariate-t p-values and simultaneous 95% intervals; Dunnett common-control contrasts or Tukey all-pairwise contrasts. No pretest selects covariance.",
      "fineWhen": "Independent non-survey complete-case rows, continuous outcome, three to six observed categorical groups, and scientific common-variance and comparison-family reasons.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::3-select-a-model-by-outcome-and-target:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.9",
            "changedOn": "2026-11-03",
            "summary": "Offer declared common-variance Gaussian contrasts and explicit error control.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "core_analysis_workflow"
            ]
          },
          {
            "version": 2,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "core_analysis_workflow"
            ]
          },
          {
            "version": 3,
            "edition": "1.30",
            "changedOn": "2026-11-20",
            "summary": "Fires only when the researcher declared common-variance comparisons; no tie with R-CMP-GH-01.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "core_analysis_workflow"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-CMP-GH-01",
      "apiId": "r.cmp.gh.01",
      "title": "Declared unequal-variance Games-Howell comparisons",
      "kind": "recommendation",
      "family": "compare.games_howell",
      "status": "active",
      "version": 3,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-063",
        "E-212"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "compare"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "continuous"
          },
          {
            "field": "modeling.plannedGroupComparisons.covariance",
            "op": "not_null"
          },
          {
            "field": "modeling.plannedGroupComparisons.covariance",
            "op": "eq",
            "value": "unequal_variance_gaussian"
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          },
          {
            "field": "dependence.repeatedUnitVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "derived.viewRepeatsPerson",
            "op": "eq",
            "value": false
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is compare and modeling.outcomeFamily is continuous and modeling.plannedGroupComparisons.covariance is answered and modeling.plannedGroupComparisons.covariance is unequal_variance_gaussian and dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and surveyDesign.weightVar is not answered and derived.viewRepeatsPerson is false and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Choose one all-pairs family with a scientific group-specific Gaussian variance justification.",
      "reasonExpert": "rstatix::games_howell_test supplies pairwise Welch degrees of freedom, studentized-range adjusted p-values and simultaneous 95% intervals. No pretest selects this route.",
      "fineWhen": "Independent non-survey complete-case rows, continuous outcome, three to six observed categorical groups, and scientific unequal-variance and comparison-family reasons.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::3-select-a-model-by-outcome-and-target:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.9",
            "changedOn": "2026-11-03",
            "summary": "Offer declared unequal-variance Games-Howell all-pairs comparisons.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "core_analysis_workflow"
            ]
          },
          {
            "version": 2,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "core_analysis_workflow"
            ]
          },
          {
            "version": 3,
            "edition": "1.30",
            "changedOn": "2026-11-20",
            "summary": "Fires only when the researcher declared Games-Howell comparisons; no tie with R-CMP-PLANNED-01.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "core_analysis_workflow"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-CMP-RM-01",
      "apiId": "r.cmp.rm.01",
      "title": "Complete-case repeated-measures ANOVA",
      "kind": "recommendation",
      "family": "compare.repeated_anova",
      "status": "active",
      "version": 3,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-173",
        "E-206"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "compare"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "continuous"
          },
          {
            "field": "dependence.repeatedUnitVar",
            "op": "not_null"
          },
          {
            "field": "dependence.clusterVar",
            "op": "not_null"
          },
          {
            "field": "dependence.repeatedMeasures",
            "op": "eq",
            "value": true
          },
          {
            "field": "longitudinal.timeVar",
            "op": "not_null"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is compare and modeling.outcomeFamily is continuous and dependence.repeatedUnitVar is answered and dependence.clusterVar is answered and dependence.repeatedMeasures is true and longitudinal.timeVar is answered and surveyDesign.weightVar is not answered and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Compare means across declared visits within the same participants, with Huynh-Feldt correction.",
      "reasonExpert": "car::Anova supplies the repeated-measures F test and GG/HF epsilons; HF is the unconditional primary correction and GG is sensitivity. Mauchly does not select the correction.",
      "fineWhen": "Three to six scheduled visits, a complete participant/visit inventory, a continuous outcome, and an explicit complete-case justification.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "survival_longitudinal",
          "sectionIds": [
            "survival_longitudinal::repeated-outcomes-and-small-cluster-inference:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "survival_longitudinal"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.9",
            "changedOn": "2026-11-03",
            "summary": "Offer complete-case repeated ANOVA with unconditional Huynh-Feldt correction.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "survival_longitudinal"
            ]
          },
          {
            "version": 2,
            "edition": "1.11",
            "changedOn": "2026-11-05",
            "summary": "Add the cannot-do list (complete cases only, 3 to 6 regular visits, no Mauchly-chosen correction).",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 3,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "survival_longitudinal"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-INF-EQV-01",
      "apiId": "r.inf.eqv.01",
      "title": "Equivalence or non-inferiority against a pre-specified margin",
      "kind": "recommendation",
      "family": "compare.equivalence",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-061",
        "E-086"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "compare"
          },
          {
            "field": "modeling.equivalence.design",
            "op": "in",
            "value": [
              "equivalence",
              "non_inferiority"
            ]
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "in",
            "value": [
              "continuous",
              "binary",
              "time_to_event"
            ]
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          },
          {
            "field": "dependence.repeatedUnitVar",
            "op": "is_null"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "derived.viewRepeatsPerson",
            "op": "eq",
            "value": false
          },
          {
            "field": "modeling.trialDesign.design",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is compare and modeling.equivalence.design is one of equivalence, non_inferiority and modeling.outcomeFamily is one of continuous, binary, time_to_event and dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and surveyDesign.weightVar is not answered and derived.viewRepeatsPerson is false and modeling.trialDesign.design is not answered",
      "reasonPlain": "Absence of an effect is claimed only when the confidence interval lies inside a margin recorded in the locked plan before outcome data were shown.",
      "reasonExpert": "The decision compares the 1 - 2 alpha confidence interval (two one-sided tests, each at the researcher-chosen alpha, 0.05 for equivalence, 0.025 or 0.05 for non-inferiority) with the margin on the stated scale. Non-inferiority also reports a declared per-protocol population beside the intention-to-treat population (CONSORT-NI). The margin is called pre-specified only when the recorded plan-lock verdict shows no outcome data were displayed before the lock. A result that does not meet the criterion is inconclusive.",
      "fineWhen": "Two independent groups, complete cases, a continuous or binary outcome, and a margin chosen for scientific reasons before the data were seen.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::3-select-a-model-by-outcome-and-target:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "biostatistics_analysis",
          "core_analysis_workflow"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.14",
            "changedOn": "2026-11-06",
            "summary": "Initial entry. Equivalence or non-inferiority against a pre-specified margin. Admitted with a researcher-chosen one-sided alpha; the risk difference uses the Miettinen-Nurminen score interval.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "biostatistics_analysis",
              "core_analysis_workflow"
            ]
          },
          {
            "version": 2,
            "edition": "1.27",
            "changedOn": "2026-11-13",
            "summary": "Time-to-event margins admitted (Cox hazard ratio, model.equivalence_survival); researcher-chosen alpha per design; per-protocol beside intention-to-treat for non-inferiority; margin called pre-specified only when the plan-lock verdict shows no outcome display; a declared trial design leaves the independent-group route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "core_analysis_workflow"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-COV-02",
      "apiId": "r.cov.02",
      "title": "CR2 plus wild-cluster bootstrap (G 20 to 49)",
      "kind": "recommendation",
      "family": "covariance.cr2_wcb",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-013"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "dependence.clusterVar",
            "op": "not_null"
          },
          {
            "field": "derived.G",
            "op": "ge",
            "value": 20
          },
          {
            "field": "derived.G",
            "op": "le",
            "value": 49
          }
        ]
      },
      "appliesWhenText": "dependence.clusterVar is answered and derived.G is at least 20 and derived.G is at most 49",
      "reasonPlain": "With 20 to 49 clusters, Safi reports a corrected interval and shows a bootstrap beside it.",
      "reasonExpert": "CR2 with Satterthwaite df is primary and a restricted wild-cluster bootstrap is shown (MacKinnon, Nielsen and Webb 2023). Source: methods/SURVIVAL_LONGITUDINAL.md (repeated-outcomes-and-small-cluster-inference).",
      "fineWhen": "CR2 alone is fine when clusters are balanced and similar in size.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "biostatistics_analysis",
          "sectionIds": [
            "biostatistics_analysis::small-samples-rare-outcomes-and-multiplicity:1"
          ]
        },
        {
          "sourceId": "survival_longitudinal",
          "sectionIds": [
            "survival_longitudinal::repeated-outcomes-and-small-cluster-inference:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "biostatistics_analysis",
          "survival_longitudinal"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-COV-03",
      "apiId": "r.cov.03",
      "title": "Few-cluster inference as primary (G 4 to 19)",
      "kind": "recommendation",
      "family": "covariance.wcb",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "context-dependent",
      "overrideClass": "advisory",
      "eCodes": [
        "E-013"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "dependence.clusterVar",
            "op": "not_null"
          },
          {
            "field": "derived.G",
            "op": "ge",
            "value": 4
          },
          {
            "field": "derived.G",
            "op": "le",
            "value": 19
          }
        ]
      },
      "appliesWhenText": "dependence.clusterVar is answered and derived.G is at least 4 and derived.G is at most 19",
      "reasonPlain": "With 4 to 19 clusters, Safi uses methods built for few clusters and says the inference is limited.",
      "reasonExpert": "Wild-cluster bootstrap for linear models and the CV3L cluster jackknife with t(G-1) for GLMs, with CR2 and the bootstrap shown. Source: disciplines/BIOSTATISTICS_ANALYSIS.md (small-samples-rare-outcomes-and-multiplicity).",
      "fineWhen": "A cluster-level summary analysis is also fine.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "biostatistics_analysis",
          "sectionIds": [
            "biostatistics_analysis::small-samples-rare-outcomes-and-multiplicity:1"
          ]
        },
        {
          "sourceId": "survival_longitudinal",
          "sectionIds": [
            "survival_longitudinal::repeated-outcomes-and-small-cluster-inference:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "biostatistics_analysis",
          "survival_longitudinal"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-TRD-01",
      "apiId": "r.trd.01",
      "title": "Unit fixed effects trend model",
      "kind": "recommendation",
      "family": "trend.unit_fe",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-011"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "trend"
          },
          {
            "field": "dependence.repeatedUnitVar",
            "op": "not_null"
          },
          {
            "field": "longitudinal.timeVar",
            "op": "not_null"
          },
          {
            "field": "derived.nPeriods",
            "op": "ge",
            "value": 6
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "any": [
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "field": "derived.viewPersonIsRepeatedUnit",
                "op": "eq",
                "value": true
              }
            ]
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is trend and dependence.repeatedUnitVar is answered and longitudinal.timeVar is answered and derived.nPeriods is at least 6 and surveyDesign.weightVar is not answered and (derived.viewRepeatsPerson is false or derived.viewPersonIsRepeatedUnit is true) and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "A trend over units uses unit fixed effects with time, so differences between units do not drive the slope.",
      "reasonExpert": "Unit fixed effects with a time trend; cluster-robust CR2 computed on the absorbed form. Source: methods/TREND_JOINPOINT_ANALYSIS.md (choose-among-trend-methods).",
      "fineWhen": "A mixed model is fine when between-unit variation is of interest.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "quasi_experimental_designs",
          "sectionIds": [
            "quasi_experimental_designs::interrupted-time-series-its-and-synthetic-controls:1"
          ]
        },
        {
          "sourceId": "trend_joinpoint_analysis",
          "sectionIds": [
            "trend_joinpoint_analysis::choose-among-trend-methods:1",
            "trend_joinpoint_analysis::diagnostics-sensitivity-and-reporting:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "quasi_experimental_designs",
          "trend_joinpoint_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "quasi_experimental_designs",
              "trend_joinpoint_analysis"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-MISS-01",
      "apiId": "r.miss.01",
      "title": "Complete-case analysis after the TARMOS readiness check",
      "kind": "recommendation",
      "family": "missingness.complete_case",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-052"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "derived.anyMissingInModelVars",
            "op": "eq",
            "value": true
          },
          {
            "any": [
              {
                "field": "dataReadiness.missingnessPlan",
                "op": "is_null"
              },
              {
                "field": "dataReadiness.missingnessPlan",
                "op": "ne",
                "value": "multiple_imputation"
              }
            ]
          }
        ]
      },
      "appliesWhenText": "derived.anyMissingInModelVars is true and (dataReadiness.missingnessPlan is not answered or dataReadiness.missingnessPlan is not multiple_imputation)",
      "reasonPlain": "Complete-case analysis is offered after the missing-data check and the stated assumption.",
      "reasonExpert": "Complete-case analysis is valid for regression coefficients when missingness is independent of the outcome given the covariates; the readiness check compares complete and incomplete cases. Source: methods/MISSING_DATA_MEASUREMENT.md (choosing-the-primary-strategy).",
      "fineWhen": "Fine whenever your stated assumption holds; a sensitivity analysis is run beside it.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::5-missingness-multiplicity-and-selection:1"
          ]
        },
        {
          "sourceId": "missing_data_measurement",
          "sectionIds": [
            "missing_data_measurement::choosing-the-primary-strategy:1",
            "missing_data_measurement::missingness-is-a-process-not-an-na-handling-option:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "missing_data_measurement"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.5",
            "changedOn": "2026-11-02",
            "summary": "Complete-case readiness applies to complete-case declarations.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "missing_data_measurement"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-MULT-01",
      "apiId": "r.mult.01",
      "title": "Holm for a declared confirmatory family",
      "kind": "recommendation",
      "family": "multiplicity.confirmatory",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-063",
        "E-172"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "derived.multiplicityKinds",
            "op": "contains",
            "value": "primary"
          }
        ]
      },
      "appliesWhenText": "derived.multiplicityKinds includes primary",
      "reasonPlain": "A confirmatory family of tests uses the Holm correction, which controls false positives and loses less power than Bonferroni.",
      "reasonExpert": "Holm for a declared confirmatory family; uniformly at least as powerful as Bonferroni with the same familywise error. Source: methods/CORE_ANALYSIS_WORKFLOW.md (5-missingness-multiplicity-and-selection).",
      "fineWhen": "Bonferroni or a prespecified hierarchy is fine when declared.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "biostatistics_analysis",
          "sectionIds": [
            "biostatistics_analysis::small-samples-rare-outcomes-and-multiplicity:1"
          ]
        },
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::5-missingness-multiplicity-and-selection:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "biostatistics_analysis",
          "core_analysis_workflow"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.27",
            "changedOn": "2026-11-13",
            "summary": "Holm as the default family-wise procedure for an any-of claim with its dependence assumption recorded as not yet verified; fixed-sequence or gatekeeping order when a hierarchy is declared before outcome display; graphical procedures through graphicalMCP (R-MQ-04, R-MQ-05).",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "core_analysis_workflow"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-MULT-02",
      "apiId": "r.mult.02",
      "title": "Benjamini-Hochberg for exploratory screens",
      "kind": "recommendation",
      "family": "multiplicity.exploratory",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-063"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "derived.multiplicityKinds",
            "op": "contains",
            "value": "exploratory"
          }
        ]
      },
      "appliesWhenText": "derived.multiplicityKinds includes exploratory",
      "reasonPlain": "Exploratory screens use a false-discovery-rate method and are labelled exploratory.",
      "reasonExpert": "Benjamini-Hochberg at q = 0.05 for exploratory screens; results are labelled as not error-controlled familywise. Source: methods/CORE_ANALYSIS_WORKFLOW.md (5-missingness-multiplicity-and-selection).",
      "fineWhen": "No adjustment is fine when each test answers its own question and error is stated per comparison.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::5-missingness-multiplicity-and-selection:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.27",
            "changedOn": "2026-11-13",
            "summary": "Benjamini-Hochberg valid under independence or positive regression dependence, Benjamini-Yekutieli offered under unknown dependence; an unadjusted exploratory family is labelled exploratory: not error-controlled with its counts (R-MQ-03).",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "core_analysis_workflow"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-FORM-01",
      "apiId": "r.form.01",
      "title": "Restricted cubic spline as the default offered form",
      "kind": "recommendation",
      "family": "functional_form.spline_default",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-162",
        "E-203"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "derived.covariatesContinuous",
            "op": "ge",
            "value": 1
          }
        ]
      },
      "appliesWhenText": "derived.covariatesContinuous is at least 1",
      "reasonPlain": "A flexible curve is the first offer for a continuous variable, with a straight line as the alternative.",
      "reasonExpert": "Restricted cubic splines (Harrell) are the default offered form, with knots at fixed quantiles. Source: methods/FUNCTIONAL_FORM.md (preserve-information-while-matching-the-question).",
      "fineWhen": "A straight line is fine when subject knowledge or a spline comparison supports it.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "functional_form",
          "sectionIds": [
            "functional_form::assess-functional-form-explicitly:1",
            "functional_form::preserve-information-while-matching-the-question:1",
            "functional_form::reporting-curves-and-contrasts:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "functional_form"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-SENS-01",
      "apiId": "r.sens.01",
      "title": "E-value for unmeasured confounding",
      "kind": "recommendation",
      "family": "sensitivity.evalue",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-043"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "studyDesign.datasetType",
            "op": "in",
            "value": [
              "routine",
              "cross_sectional_survey",
              "cohort",
              "surveillance",
              "administrative",
              "case_control",
              "other"
            ]
          },
          {
            "field": "modeling.effectMeasure",
            "op": "in",
            "value": [
              "rr",
              "pr",
              "irr",
              "or"
            ]
          }
        ]
      },
      "appliesWhenText": "studyDesign.datasetType is one of routine, cross_sectional_survey, cohort, surveillance, administrative, case_control, other and modeling.effectMeasure is one of rr, pr, irr, or",
      "reasonPlain": "The E-value shows how strong an unmeasured confounder would need to be to explain the result.",
      "reasonExpert": "E-value for the point estimate and interval bound (VanderWeele and Ding 2017). Source: methods/SENSITIVITY_ANALYSIS.md (unmeasured-confounding-choose-the-sensitivity-scale).",
      "fineWhen": "Skipping it is fine for a randomised comparison.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "sensitivity_analysis",
          "sectionIds": [
            "sensitivity_analysis::operational-workflow:1",
            "sensitivity_analysis::unmeasured-confounding-choose-the-sensitivity-scale:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "sensitivity_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-SENS-02",
      "apiId": "r.sens.02",
      "title": "Effect modification on a declared scale",
      "kind": "recommendation",
      "family": "sensitivity.interaction",
      "status": "active",
      "version": 3,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-216"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "modeling.interaction.term",
            "op": "not_null"
          },
          {
            "field": "modeling.interaction.scale",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "modeling.interaction.term is answered and modeling.interaction.scale is answered",
      "reasonPlain": "Effect modification is examined on the scale you declared.",
      "reasonExpert": "Interaction contrast on the declared additive or multiplicative scale with uncertainty. Source: methods/POST_ESTIMATION_MARGINS_INTERACTIONS.md (interaction-tests-and-advanced-summaries).",
      "fineWhen": "Skipping it is fine when no modification is of interest.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::3-select-a-model-by-outcome-and-target:1"
          ]
        },
        {
          "sourceId": "post_estimation_margins_interactions",
          "sectionIds": [
            "post_estimation_margins_interactions::conditional-simple-effect-ors-with-interactions:1",
            "post_estimation_margins_interactions::interaction-tests-and-advanced-summaries:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "post_estimation_margins_interactions"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.6",
            "changedOn": "2026-11-03",
            "summary": "Record the implemented bounded binary response-scale interaction companions and limits.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "post_estimation_margins_interactions"
            ]
          },
          {
            "version": 3,
            "edition": "1.7",
            "changedOn": "2026-11-03",
            "summary": "Extend binary response-scale interactions to all supported categories of a multilevel modifier; retain pointwise and reference-selection limitations.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "post_estimation_margins_interactions"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-SENS-SUBREG",
      "apiId": "r.sens.subreg",
      "title": "Subgroup register with pre-specified, direction-less and post hoc labels",
      "kind": "recommendation",
      "family": "sensitivity.subgroup_register",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-236",
        "E-237",
        "E-064"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "modeling.subgroupRegister",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "modeling.subgroupRegister is answered",
      "reasonPlain": "You registered effect modifiers. Each one is labelled pre-specified, registered without a stated direction, or post hoc, counted, and shown with the effect in everyone and a credibility table.",
      "reasonExpert": "(R-SUB-01, R-SUB-02, R-SUB-03, R-SUB-06) A subgroup is pre-specified only with a stated direction in a register locked before any display of the outcome, shown by the server's recorded plan-lock verdict (outcomeViewedBeforeLock). Without that verdict the label is lock evidence not available. The ICEMAN core items for randomised trials are tabulated; computed items are marked computed and the prior-evidence and overall-rating items user-rated, not tool-certified. Source: methods/POST_ESTIMATION_MARGINS_INTERACTIONS.md (interaction-tests-and-advanced-summaries).",
      "fineWhen": "Skipping it is fine when no effect modifier is registered.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "post_estimation_margins_interactions",
          "sectionIds": [
            "post_estimation_margins_interactions::interaction-tests-and-advanced-summaries:1"
          ]
        },
        {
          "sourceId": "trial_estimands",
          "sectionIds": [
            "trial_estimands::4-proper-and-improper-subgroups:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "post_estimation_margins_interactions",
          "trial_estimands"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.19",
            "changedOn": "2026-11-07",
            "summary": "Initial entry. Subgroup register: each registered effect modifier labelled pre-specified, registered without a stated direction, post hoc, lock evidence not available or improper from the server's plan-lock verdict, counted, shown beside the overall effect, with the ICEMAN core credibility items.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "post_estimation_margins_interactions",
              "trial_estimands"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-SENS-COMPOSITE",
      "apiId": "r.sens.composite",
      "title": "Composite endpoint reported with every component",
      "kind": "recommendation",
      "family": "sensitivity.composite_components",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-241"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "validation.compositeEndpoints",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "validation.compositeEndpoints is answered",
      "reasonPlain": "You declared a composite endpoint. It is reported with each of its components, fitted by the same model, so the composite is never read without what it is made of.",
      "reasonExpert": "(R-MQ-07, E-241) A composite can hide parts that differ in size or direction (Huque et al. 2011). The primary model is refit for each component with stats::update and the risk difference is marginaleffects::avg_comparisons on each fit; no estimator is added. A component with an event count below the disclosure minimum is listed with its estimates withheld. Removing a component from the report is refused.",
      "fineWhen": "Skipping it is fine when no composite endpoint is declared.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::5-missingness-multiplicity-and-selection:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.27",
            "changedOn": "2026-11-13",
            "summary": "Initial entry. Composite endpoint reported with every component (ST-17).",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "core_analysis_workflow"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-SENS-03",
      "apiId": "r.sens.03",
      "title": "Leave-one-cluster-out refit range for a clustered model",
      "kind": "recommendation",
      "family": "sensitivity.leave_one_cluster_out",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-210"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "dependence.clusterVar",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "dependence.clusterVar is answered",
      "reasonPlain": "The model is refit leaving out one cluster at a time to show whether one cluster drives the result.",
      "reasonExpert": "Leave-one-cluster-out refit range for a clustered model; influence on the primary coefficient reported. Source: methods/SENSITIVITY_ANALYSIS.md (choose-sensitivity-analyses-by-vulnerability).",
      "fineWhen": "Skipping it is fine when clusters are many and similar.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "sensitivity_analysis",
          "sectionIds": [
            "sensitivity_analysis::choose-sensitivity-analyses-by-vulnerability:1"
          ]
        },
        {
          "sourceId": "survival_longitudinal",
          "sectionIds": [
            "survival_longitudinal::repeated-outcomes-and-small-cluster-inference:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "sensitivity_analysis",
          "survival_longitudinal"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-SENS-04",
      "apiId": "r.sens.04",
      "title": "Covariance alternatives shown for comparison, never used to choose",
      "kind": "recommendation",
      "family": "sensitivity.covariance_alt",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-212"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "dependence.clusterVar",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "dependence.clusterVar is answered",
      "reasonPlain": "Other ways of computing standard errors are shown beside the main one, never used to pick the main one.",
      "reasonExpert": "The primary estimate's standard error under alternative covariance estimators, for comparison only. Source: methods/SENSITIVITY_ANALYSIS.md (choose-sensitivity-analyses-by-vulnerability).",
      "fineWhen": "Skipping the comparison is fine when only one valid covariance applies.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "sensitivity_analysis",
          "sectionIds": [
            "sensitivity_analysis::choose-sensitivity-analyses-by-vulnerability:1"
          ]
        },
        {
          "sourceId": "survival_longitudinal",
          "sectionIds": [
            "survival_longitudinal::repeated-outcomes-and-small-cluster-inference:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "sensitivity_analysis",
          "survival_longitudinal"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-SENS-05",
      "apiId": "r.sens.05",
      "title": "The other count family and quasi-Poisson shown alongside the primary",
      "kind": "recommendation",
      "family": "sensitivity.poisson_vs_nb",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-075"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "count"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and modeling.outcomeFamily is count and surveyDesign.weightVar is not answered",
      "reasonPlain": "The other count model and quasi-Poisson are shown beside the main one.",
      "reasonExpert": "Whichever count family is primary, the other and quasi-Poisson are reported as sensitivity; the primary never switches on the comparison. Source: methods/MODEL_ASSUMPTIONS.md (model-specific-assumptions).",
      "fineWhen": "Skipping it is fine when a count model is prespecified and dispersion is near 1.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "model_assumptions",
          "sectionIds": [
            "model_assumptions::a-disciplined-diagnostic-response:1",
            "model_assumptions::model-specific-assumptions:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "model_assumptions"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-SENS-FILL-01",
      "apiId": "r.sens.fill.01",
      "title": "A declared single fill, shown beside the primary analysis as a labelled sensitivity analysis",
      "kind": "recommendation",
      "family": "sensitivity.single_fill",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-157",
        "E-158",
        "E-159"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "dataReadiness.singleFillSensitivity",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "dataReadiness.singleFillSensitivity is answered",
      "reasonPlain": "The researcher declared a fill (mean, median, mode, last or baseline observation carried forward). The primary model is refitted on the filled data and shown beside the primary analysis, labelled a sensitivity analysis.",
      "reasonExpert": "A single fill is accepted only as a labelled sensitivity analysis (R-BIAS-11, R-BIAS-12, R-BIAS-13). The refit's standard errors treat filled values as observed and are too small; the primary analysis never switches to it. Source: methods/CORE_ANALYSIS_WORKFLOW.md (5-missingness-multiplicity-and-selection).",
      "fineWhen": "Skipping it is fine when no fill was declared. The fill is never the primary analysis.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::5-missingness-multiplicity-and-selection:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "missing_data_measurement",
          "core_analysis_workflow",
          "sensitivity_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.15",
            "changedOn": "2026-11-06",
            "summary": "Initial entry. Labelled single-fill sensitivity analysis (mean, median, mode, indicator, carry-forward) beside the primary analysis, never in place of it.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "missing_data_measurement",
              "sensitivity_analysis"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-DESC-PREPOST-01",
      "apiId": "r.desc.prepost.01",
      "title": "Paired description after baseline selection",
      "kind": "recommendation",
      "family": "describe.selected_prepost",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-047"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "describe"
          },
          {
            "field": "modeling.selectedUncontrolledPrePost",
            "op": "eq",
            "value": true
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is describe and modeling.selectedUncontrolledPrePost is true and surveyDesign.weightVar is not answered and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "The selected group's paired change is descriptive; regression to the mean can produce apparent improvement without a programme effect.",
      "reasonExpert": "A paired t interval describes the mean within-person change. Baseline selection prevents attributing the observed change to the programme.",
      "fineWhen": "A causal programme contrast needs a credible comparison design rather than a single group selected on its baseline outcome.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "data_cleaning_exploration",
          "sectionIds": [
            "data_cleaning_exploration::stage-2-bivariable-cleaning-checks:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "data_cleaning_exploration"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.7",
            "changedOn": "2026-11-03",
            "summary": "Describe selected single-group paired change without attributing programme effects or separately estimating regression to the mean.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "data_cleaning_exploration"
            ]
          },
          {
            "version": 2,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "data_cleaning_exploration"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-DESC-SURV-KM-01",
      "apiId": "r.desc.surv.km.01",
      "title": "Kaplan-Meier, restricted mean and log-rank description",
      "kind": "recommendation",
      "family": "describe.survival_km",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-054"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "describe"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "time_to_event"
          },
          {
            "field": "modeling.survivalAnalysis.horizon",
            "op": "not_null"
          },
          {
            "field": "modeling.hasCompetingEvent",
            "op": "eq",
            "value": false
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is describe and modeling.outcomeFamily is time_to_event and modeling.survivalAnalysis.horizon is answered and modeling.hasCompetingEvent is false and surveyDesign.weightVar is not answered and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Describes how long people stay event-free: survival at the times you declared, the median, follow-up, the average event-free time up to your horizon and, for groups, a log-rank test.",
      "reasonExpert": "survival::survfit Kaplan-Meier with log-log intervals at declared times, reverse-KM median follow-up, restricted mean survival time to the declared horizon, and survdiff log-rank across groups.",
      "fineWhen": "Use it when the declared event, censoring and times describe one independent, unweighted row per person.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "survival_longitudinal",
          "sectionIds": [
            "survival_longitudinal::operational-time-to-event-and-competing-risk-workflow:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "survival_longitudinal"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.15",
            "changedOn": "2026-11-06",
            "summary": "Initial entry. Descriptive Kaplan-Meier survival: curve, landmark survival, median and restricted mean survival time, log-rank when groups exist; no model is fitted.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "survival_longitudinal"
            ]
          },
          {
            "version": 2,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "survival_longitudinal"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-DESC-SURV-CIF-01",
      "apiId": "r.desc.surv.cif.01",
      "title": "Cumulative incidence with competing events",
      "kind": "recommendation",
      "family": "describe.survival_cif",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-054"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "describe"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "time_to_event"
          },
          {
            "field": "modeling.survivalAnalysis.horizon",
            "op": "not_null"
          },
          {
            "field": "modeling.hasCompetingEvent",
            "op": "eq",
            "value": true
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is describe and modeling.outcomeFamily is time_to_event and modeling.survivalAnalysis.horizon is answered and modeling.hasCompetingEvent is true and surveyDesign.weightVar is not answered and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "When another event can prevent the one you study, the share who had it by a time is the cumulative incidence, not one minus the Kaplan-Meier estimate.",
      "reasonExpert": "Aalen-Johansen cumulative incidence from survival::survfit multi-state at declared times; one minus Kaplan-Meier is not reported.",
      "fineWhen": "Use it when the declared event, censoring and times describe one independent, unweighted row per person.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "survival_longitudinal",
          "sectionIds": [
            "survival_longitudinal::operational-time-to-event-and-competing-risk-workflow:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "survival_longitudinal"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.15",
            "changedOn": "2026-11-06",
            "summary": "Initial entry. Descriptive cumulative incidence with competing events (Aalen-Johansen), Gray test when groups exist; no model is fitted.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "survival_longitudinal"
            ]
          },
          {
            "version": 2,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "survival_longitudinal"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-DESC-WEEK-01",
      "apiId": "r.desc.week.01",
      "title": "Counts by calendar week under a declared week scheme",
      "kind": "recommendation",
      "family": "describe.epi_weeks",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-312"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "describe"
          },
          {
            "field": "descriptive.weekScheme.scheme",
            "op": "not_null"
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is describe and descriptive.weekScheme.scheme is answered and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Counts rows per calendar week using the week-numbering scheme you declared (the MMWR epidemiological week or ISO 8601), so weekly counts mean the same thing in every source.",
      "reasonExpert": "lubridate epiweek/epiyear (MMWR) or isoweek/isoyear (ISO 8601) on the declared date column; text dates are read with readr::parse_date in the declared format and language. Missing and unreadable dates are counted apart.",
      "fineWhen": "Use it when one date column marks when each row happened and the week convention matters for comparison.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "calendar_weeks",
          "sectionIds": [
            "calendar_weeks::what-to-record-and-report:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "calendar_weeks"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.17",
            "changedOn": "2026-11-07",
            "summary": "Initial entry. Counts by calendar week under a declared week-numbering scheme (MMWR epidemiological week or ISO 8601), with missing and unreadable dates reported apart.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "calendar_weeks"
            ]
          },
          {
            "version": 2,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "calendar_weeks"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-DESC-PERIOD-01",
      "apiId": "r.desc.period.01",
      "title": "Rows or additive counts by a declared source-calendar reporting period",
      "kind": "recommendation",
      "family": "describe.period_scheme",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-312"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "describe"
          },
          {
            "field": "descriptive.periodScheme.scheme",
            "op": "not_null"
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is describe and descriptive.periodScheme.scheme is answered and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Counts dated rows or totals confirmed noncumulative counts in the Ethiopian thirteen-period or declared fiscal-year scheme, retaining Pagume.",
      "reasonExpert": "Dated rows use exact Ethiopian Amete Mihret conversion or Gregorian parsing; preaggregated year/period/count rows are summed without inventing Gregorian dates. Fiscal start is in the source calendar.",
      "fineWhen": "Use it when source rows have one event date, or explicitly recorded year, period and additive count columns.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "calendar_periods",
          "sectionIds": [
            "calendar_periods::mapping-and-reporting:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "calendar_periods"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Joint draft admission; no human review recorded.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "calendar_periods"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-LOC-GEO-01",
      "apiId": "r.loc.geo.01",
      "title": "Declared area boundaries or displaced-cluster spatial extraction",
      "kind": "recommendation",
      "family": "describe.geography",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-318",
        "E-319",
        "E-320",
        "E-374"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "any": [
              {
                "field": "geography.area.column",
                "op": "not_null"
              },
              {
                "field": "geography.points.xColumn",
                "op": "not_null"
              }
            ]
          }
        ]
      },
      "appliesWhenText": "(geography.area.column is answered or geography.points.xColumn is answered)",
      "reasonPlain": "Assigns declared coordinates to uploaded polygons and counts rows by area after checking the boundary version, code system, licence and displacement answer. Displaced clusters can compare a declared grid-cell class with classes present in urban and rural buffers, or compare private direct facility links with public buffer summaries.",
      "reasonExpert": "sf validates uploaded polygons or a complete declared centre-cell lattice. Point-cell extraction and policy-buffer class presence are distinct summaries; a separately bound facility source compares nearest-feature baselines with two metre-radius candidate summaries while keeping direct links private.",
      "fineWhen": "Use with a declared polygon source and its version, code system, CRS and licence, or with displaced cluster coordinates, urban/rural class, two declared buffer radii, and a separately bound facility CSV or centre-cell grid. Area assignment still requires polygons.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "time_spatial_validation",
          "sectionIds": [
            "time_spatial_validation::spatial-estimation:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "time_spatial_validation"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Joint draft admission; no human review recorded.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "time_spatial_validation"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-SENS-06",
      "apiId": "r.sens.06",
      "title": "Spline-versus-linear comparison when the primary uses a spline",
      "kind": "recommendation",
      "family": "sensitivity.spline_vs_linear",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-203"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "derived.covariatesContinuous",
            "op": "ge",
            "value": 1
          }
        ]
      },
      "appliesWhenText": "derived.covariatesContinuous is at least 1",
      "reasonPlain": "When the main model uses a curve, Safi also refits with a straight line to show whether the shape matters.",
      "reasonExpert": "Spline-versus-linear comparison as a sensitivity analysis when the primary uses a spline. Source: methods/FUNCTIONAL_FORM.md (assess-functional-form-explicitly).",
      "fineWhen": "Skipping the comparison is fine when the curve is plainly close to linear.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "functional_form",
          "sectionIds": [
            "functional_form::assess-functional-form-explicitly:1"
          ]
        },
        {
          "sourceId": "sensitivity_analysis",
          "sectionIds": [
            "sensitivity_analysis::choose-sensitivity-analyses-by-vulnerability:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "functional_form",
          "sensitivity_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-DAG-ADJ-01",
      "apiId": "r.dag.adj.01",
      "title": "Adjustment sets and a validity check from the reviewed causal diagram",
      "kind": "recommendation",
      "family": "diagnostics.dag_adjustment",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-043"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "modeling.causalDiagram",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "modeling.causalDiagram is answered",
      "reasonPlain": "The researcher drew and reviewed a causal diagram. The dagitty package lists the smallest sets of measured variables the diagram says are enough to adjust for, checks the covariates in the model against it and names the role of each covariate.",
      "reasonExpert": "Back-door adjustment sets and the adjustment criterion are computed by the dagitty package (Textor et al. 2016) on the diagram exactly as drawn; a direct-effect target uses dagitty's direct-effect sets. The result is conditional on the arrows. A diagram records assumptions, it is not evidence, and an undrawn covariate is reported as not assessed. Source: methods/CAUSAL_DAG_DEVELOPMENT.md (confounders-mediators-colliders-and-selection).",
      "fineWhen": "Skipping it is fine when no diagram was drawn or the question is not about a specific exposure and outcome.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "causal_dag_development",
          "sectionIds": [
            "causal_dag_development::confounders-mediators-colliders-and-selection:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "causal_dag_development"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.16",
            "changedOn": "2026-11-07",
            "summary": "Initial entry. Adjustment sets, adjustment-criterion check and covariate roles from the reviewed causal diagram (dagitty), with testable implications of the diagram and Holm adjustment.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "causal_dag_development"
            ]
          },
          {
            "version": 2,
            "edition": "1.27",
            "changedOn": "2026-11-13",
            "summary": "Paired adjustment-set comparison refits the same primary estimator with its own covariance estimator and reports not-run reasons otherwise; no selection-weighting remedy is run; the 0.1 practical threshold is EXTRAPOLATED with the Holm-adjusted p-value as the primary signal.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "causal_dag_development"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-DAG-STEPWISE-01",
      "apiId": "r.dag.stepwise.01",
      "title": "Justified data-driven adjustment-set sensitivity",
      "kind": "recommendation",
      "family": "sensitivity.dag_stepwise",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-223",
        "E-234"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "modeling.causalSelectionSensitivity",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "modeling.causalSelectionSensitivity is answered",
      "reasonPlain": "The researcher requested a p-value-based adjustment-set comparison. The diagram- or role-derived set remains primary; this result is a labelled supplementary sensitivity.",
      "reasonExpert": "Backward whole-term partial F tests use a prespecified 0.05 removal threshold. This procedure cannot identify confounders or account for model-search uncertainty. It is admitted only after a causal primary set and a researcher justification are recorded.",
      "fineWhen": "Skipping the comparison is fine when the researcher does not request a data-driven set.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "causal_dag_development",
          "sectionIds": [
            "causal_dag_development::confounders-mediators-colliders-and-selection:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "causal_dag_development"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Joint draft admission; no human review recorded.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "causal_dag_development"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-ROLE-UNCERTAIN-01",
      "apiId": "r.role.uncertain.01",
      "title": "Researcher-stated causal-role assessment",
      "kind": "guardrail",
      "family": "sensitivity.role_uncertain",
      "status": "active",
      "version": 1,
      "severity": "inform",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-044"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "modeling.causalRoles",
            "op": "contains",
            "value": {
              "role": "unknown"
            }
          }
        ]
      },
      "appliesWhenText": "modeling.causalRoles includes {'role': 'unknown'}",
      "reasonPlain": "Stated causal roles are unchecked scientific assumptions. An unresolved role is excluded from the primary set and compared with and without it.",
      "reasonExpert": "The same ordinary linear estimator is refitted on common complete rows, once for the role-derived set and once after adding each unresolved variable. The comparison is supplementary and cannot establish identification.",
      "fineWhen": "No comparison is needed if every causal role has been resolved.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "causal_dag_development",
          "sectionIds": [
            "causal_dag_development::confounders-mediators-colliders-and-selection:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "causal_dag_development"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Joint draft admission; no human review recorded.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "causal_dag_development"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-ROLE-INSTRUMENT-01",
      "apiId": "r.role.instrument.01",
      "title": "Exposure-only adjustment comparison",
      "kind": "guardrail",
      "family": "sensitivity.role_instrument",
      "status": "active",
      "version": 1,
      "severity": "inform",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-188"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "modeling.causalInstrumentComparison",
            "op": "not_null"
          },
          {
            "field": "modeling.causalInstrumentComparison",
            "op": "ne",
            "value": []
          }
        ]
      },
      "appliesWhenText": "modeling.causalInstrumentComparison is answered and modeling.causalInstrumentComparison is not ",
      "reasonPlain": "A variable that predicts exposure but not outcome is excluded from the role-derived primary set; including it can amplify unmeasured-confounding bias and inflate variance.",
      "reasonExpert": "The same ordinary linear estimator is refitted on one common complete frame with the role-derived primary set and with each requested exposure-only variable added separately. The second fit is supplementary.",
      "fineWhen": "No comparison is needed when no exposure-only variable is requested.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "causal_dag_development",
          "sectionIds": [
            "causal_dag_development::confounders-mediators-colliders-and-selection:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "causal_dag_development"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Joint draft admission; no human review recorded.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "causal_dag_development"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-CAU-11-DOUBLE-SELECTION",
      "apiId": "r.cau.11.double.selection",
      "title": "Declared many-candidate double-selection comparison",
      "kind": "guardrail",
      "family": "sensitivity.causal_double_selection",
      "status": "active",
      "version": 1,
      "severity": "inform",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-161"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "field": "modeling.causalDoubleSelection",
        "op": "not_null"
      },
      "appliesWhenText": "modeling.causalDoubleSelection is answered",
      "reasonPlain": "Outcome-only selection can drop confounders. The role-derived model remains primary; an established double-selection fit may provide a supplementary comparison for unknown pre-exposure roles.",
      "reasonExpert": "hdm::rlassoEffect runs post-double-selection with the role-derived covariates mandatory in I3. Declared exposure-only instruments are excluded. The package supplies the effect interval; this is a separate supplementary estimator, not the selected primary model.",
      "fineWhen": "No many-candidate comparison was requested.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "causal_inference",
          "sectionIds": [
            "causal_inference::post-double-selection-for-linear-effects:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "causal_inference"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Joint draft admission; no human review recorded.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "causal_inference"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-COMB-JOIN-01",
      "apiId": "r.comb.join.01",
      "title": "Measure the planned join before two sources are combined",
      "kind": "recommendation",
      "family": "clean.join_diagnostics",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-043"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "dataReadiness.joinCheck.leftDatasetId",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "dataReadiness.joinCheck.leftDatasetId is answered",
      "reasonPlain": "Two files are about to be combined on a key. Before they are, Safi counts the rows in each file that have no partner, the keys that repeat, the relationship the keys really make, whether another key format would match more rows, and the shared columns whose values disagree. Nothing is joined, deleted or recoded by this check.",
      "reasonExpert": "Counts are computed in base R on the declared key columns read as text, using the same length-prefixed key tuples and normalization as the exact-linkage preflight. A missing key part never matches. Many-to-many keys are counted, not refused here; the join step refuses them. A suggested normalization is a measurement of extra matches without merging distinct raw keys, and it changes nothing unless the researcher changes the plan. Counts below the release minimum are withheld, and so is every cell a withheld count follows from (planned unmatched = left + right, a one-to-one joined count = rows - unmatched, a normalization's unmatched = planned - gain, a match rate). A key equal to a declared missing string or a placeholder (NA, N/A, NULL, none, NaN, a dot, a dash) never matches and is counted separately. Shared columns are compared as written text.",
      "fineWhen": "Skipping it is fine when the analysis uses a single file, or when the sources were already combined and checked outside Safi.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "data_cleaning_exploration",
          "sectionIds": [
            "data_cleaning_exploration::stage-0-understand-provenance-and-preserve-inputs:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "data_cleaning_exploration"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.17",
            "changedOn": "2026-11-07",
            "summary": "Initial entry. Measures a declared exact linkage (unmatched rows, repeated keys, observed relationship, suggested normalization) before two sources are combined.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "data_cleaning_exploration"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-COMB-LINK-01",
      "apiId": "r.comb.link.01",
      "title": "Link two files without a clean key by probabilistic record linkage",
      "kind": "recommendation",
      "family": "clean.probabilistic_link",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-043"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "dataReadiness.joinCheck.probabilistic",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "dataReadiness.joinCheck.probabilistic is answered",
      "reasonPlain": "The two files share no key that is clean enough to join on. Safi compares records that agree on the blocking columns, estimates how often each compared field agrees for true pairs and for non-pairs, scores every candidate pair, and links the pairs whose probability of being a match reaches your threshold. It reports how many links were made and what the estimates were. It does not merge the files, and it does not show which records were linked.",
      "reasonExpert": "reclin2 (Fellegi and Sunter 1969): pair_blocking forms candidate pairs inside blocks, compare_pairs compares fields with exact, Jaro-Winkler, longest-common-subsequence or phonetic (stringdist Soundex code) agreement at the declared cutoffs, problink_em estimates the m- and u-probabilities and the match prior by EM (Winkler 1988), predict scores each pair with a natural-log likelihood-ratio weight summed over the fields compared, and select_n_to_m (one record in at most one link) or select_threshold links pairs whose posterior probability, the prior odds times exp(weight), reaches the declared threshold. Conditional independence of the fields given match status is assumed and not tested. A missing blocking value never forms a pair.",
      "fineWhen": "Identifiers are absent or unreliable, blocking columns are recorded accurately, and a few linkage errors can be tolerated or reviewed.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "data_cleaning_exploration",
          "sectionIds": [
            "data_cleaning_exploration::stage-0-understand-provenance-and-preserve-inputs:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "data_cleaning_exploration"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.20",
            "changedOn": "2026-11-08",
            "summary": "Initial entry. Optional probabilistic record linkage of two files without a clean key (reclin2: blocking, Fellegi-Sunter EM estimation, threshold or one-to-one selection); counts and estimates only, no merged file.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "data_cleaning_exploration"
            ]
          },
          {
            "version": 2,
            "edition": "1.27",
            "changedOn": "2026-11-13",
            "summary": "Phonetic comparator (stringdist Soundex code), a posterior threshold grid (link_by_threshold.csv) and a linked-versus-unlinked comparison with small cells withheld (link_compare.csv); the clerical review scores with reclin2.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "data_cleaning_exploration"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-01",
      "apiId": "rf.01",
      "title": "Independent unit unknown or unconfirmed",
      "kind": "refusal",
      "family": "design.unit_unknown",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-006",
        "E-035"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "in",
            "value": [
              "compare",
              "associate",
              "trend",
              "intervention",
              "prediction"
            ]
          }
        ]
      },
      "appliesWhenText": "objective.goal is one of compare, associate, trend, intervention, prediction",
      "reasonPlain": "Safi cannot run tests or models until you say what one row is and which unit is independent.",
      "reasonExpert": "Inference needs the independent unit; an observation count is not an independent sample size. Source: methods/CORE_ANALYSIS_WORKFLOW.md (2-audit-the-data-generating-and-measurement-processes).",
      "fineWhen": "Never fine to guess the unit. Descriptive tables are available now.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::2-audit-the-data-generating-and-measurement-processes:1"
          ]
        },
        {
          "sourceId": "llm_router",
          "sectionIds": [
            "llm_router::nonnegotiable-context-to-retain:1"
          ]
        },
        {
          "sourceId": "safi_coding_standards",
          "sectionIds": [
            "safi_coding_standards::3-preserve-design-through-the-entire-pipeline:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "llm_router",
          "safi_coding_standards"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-02",
      "apiId": "rf.02",
      "title": "Survey design requires design-based estimation",
      "kind": "refusal",
      "family": "survey.design_required",
      "status": "active",
      "version": 4,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-009"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "in",
            "value": [
              "compare",
              "associate",
              "trend"
            ]
          },
          {
            "any": [
              {
                "field": "surveyDesign.weightVar",
                "op": "not_null"
              },
              {
                "field": "surveyDesign.strataVar",
                "op": "not_null"
              },
              {
                "field": "surveyDesign.psuVar",
                "op": "not_null"
              },
              {
                "all": [
                  {
                    "field": "studyDesign.samplingScheme",
                    "op": "not_null"
                  },
                  {
                    "field": "studyDesign.samplingScheme",
                    "op": "eq",
                    "value": "complex_survey"
                  }
                ]
              }
            ]
          }
        ]
      },
      "appliesWhenText": "objective.goal is one of compare, associate, trend and (surveyDesign.weightVar is answered or surveyDesign.strataVar is answered or surveyDesign.psuVar is answered or (studyDesign.samplingScheme is answered and studyDesign.samplingScheme is complex_survey))",
      "reasonPlain": "Your data carry survey weights, strata or sampling units. Ordinary methods would give the wrong population and the wrong uncertainty.",
      "reasonExpert": "Design-based estimation is required when a complex design is declared; a weighted mean is not a substitute for stratified-cluster variance estimation. Source: disciplines/SURVEY_SCIENCE_ANALYSIS.md (design-specification-is-part-of-the-analysis).",
      "fineWhen": "Never fine to ignore the declared design. Declare the design that applies, or remove it if it does not.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "model_assumptions",
          "sectionIds": [
            "model_assumptions::model-specific-assumptions:1"
          ]
        },
        {
          "sourceId": "survey_science_analysis",
          "sectionIds": [
            "survey_science_analysis::design-specification-is-part-of-the-analysis:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "model_assumptions",
          "survey_science_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.2",
            "changedOn": "2026-10-24",
            "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 3,
            "edition": "1.5",
            "changedOn": "2026-11-02",
            "summary": "Proposed survey-design refusals allow admitted design-based continuous mean routes while unsupported survey and ordinary selections remain refused.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "survey_science_analysis"
            ]
          },
          {
            "version": 4,
            "edition": "1.30",
            "changedOn": "2026-11-20",
            "summary": "Admits the design-based binary survey route (model.survey_risk) for rr, rd, pr and pd.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "survey_science_analysis"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-03",
      "apiId": "rf.03",
      "title": "Fewer than 4 clusters",
      "kind": "refusal",
      "family": "cluster_inference.min_clusters",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-013"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "dependence.clusterVar",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "dependence.clusterVar is answered",
      "reasonPlain": "With fewer than 4 clusters no cluster-robust method has credible error rates.",
      "reasonExpert": "Sandwich asymptotics and the wild-cluster bootstrap fail with very few clusters (MacKinnon, Nielsen and Webb 2023); no inference about a cluster-level effect is supportable. Source: disciplines/BIOSTATISTICS_ANALYSIS.md (small-samples-rare-outcomes-and-multiplicity).",
      "fineWhen": "Never fine to report a cluster-robust interval. Report the clusters separately or describe the data.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "biostatistics_analysis",
          "sectionIds": [
            "biostatistics_analysis::small-samples-rare-outcomes-and-multiplicity:1"
          ]
        },
        {
          "sourceId": "survival_longitudinal",
          "sectionIds": [
            "survival_longitudinal::repeated-outcomes-and-small-cluster-inference:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "biostatistics_analysis",
          "survival_longitudinal"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-04",
      "apiId": "rf.04",
      "title": "Fewer than 2 treated clusters",
      "kind": "refusal",
      "family": "cluster_inference.few_treated",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-013"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "dependence.clusterVar",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "dependence.clusterVar is answered",
      "reasonPlain": "Only one cluster is exposed, so there is no replication to estimate uncertainty.",
      "reasonExpert": "With one treated cluster the treatment effect is confounded with the cluster; patient-level standard errors grossly overstate the evidence. Source: methods/QUASI_EXPERIMENTAL_DESIGNS.md (interrupted-time-series-its-and-synthetic-controls).",
      "fineWhen": "Never fine with cluster-robust or patient-level standard errors. Methods for one treated unit are not yet in Safi.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "epidemiologic_study_designs",
          "sectionIds": [
            "epidemiologic_study_designs::trials-and-intervention-designs:1"
          ]
        },
        {
          "sourceId": "quasi_experimental_designs",
          "sectionIds": [
            "quasi_experimental_designs::interrupted-time-series-its-and-synthetic-controls:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "epidemiologic_study_designs",
          "quasi_experimental_designs"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-05",
      "apiId": "rf.05",
      "title": "No events or no non-events",
      "kind": "refusal",
      "family": "sparse.no_events",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-090"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "binary"
          }
        ]
      },
      "appliesWhenText": "modeling.outcomeFamily is binary",
      "reasonPlain": "The outcome has no events or no non-events, so no association can be estimated.",
      "reasonExpert": "With one outcome level absent the likelihood has no information about association; penalisation cannot create information. Source: disciplines/BIOSTATISTICS_ANALYSIS.md (small-samples-rare-outcomes-and-multiplicity).",
      "fineWhen": "Never fine to fit a model. Describe the counts instead.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "biostatistics_analysis",
          "sectionIds": [
            "biostatistics_analysis::small-samples-rare-outcomes-and-multiplicity:1"
          ]
        },
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::stop-and-obtain-specialist-input-when:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "biostatistics_analysis",
          "core_analysis_workflow"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-06",
      "apiId": "rf.06",
      "title": "Parameters at least the number of events",
      "kind": "refusal",
      "family": "sparse.no_events",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-069",
        "E-090"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "binary"
          }
        ]
      },
      "appliesWhenText": "modeling.outcomeFamily is binary",
      "reasonPlain": "The model has at least as many parameters as events. The likelihood cannot separate them.",
      "reasonExpert": "Below one event per parameter the parameters are not identifiable, and penalisation does not repair that (van Smeden et al. 2016). Source: disciplines/BIOSTATISTICS_ANALYSIS.md (small-samples-rare-outcomes-and-multiplicity).",
      "fineWhen": "Never fine to proceed. Reduce the parameters or collect more events.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "biostatistics_analysis",
          "sectionIds": [
            "biostatistics_analysis::small-samples-rare-outcomes-and-multiplicity:1"
          ]
        },
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::stop-and-obtain-specialist-input-when:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "biostatistics_analysis",
          "core_analysis_workflow"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-SEL-ADJ-01",
      "apiId": "r.sel.adj.01",
      "title": "Non-probability sample adjusted to declared population margins",
      "kind": "recommendation",
      "family": "describe.nonprob_adjusted",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-144",
        "E-148"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "describe"
          },
          {
            "field": "surveyDesign.nonprobabilityAdjustment.method",
            "op": "not_null"
          },
          {
            "field": "surveyDesign.descriptiveEstimate.statistic",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is describe and surveyDesign.nonprobabilityAdjustment.method is answered and surveyDesign.descriptiveEstimate.statistic is answered",
      "reasonPlain": "When you supply population margins for a sample that is not a probability sample, population estimates come from an adjustment to those margins and are shown beside the unadjusted value.",
      "reasonExpert": "Post-stratification, raking or linear calibration of the participants to user-declared population margins with the survey package, with a model-based interval. The adjustment assumes selection is ignorable given the adjustment variables; Safi does not check that. Source: disciplines/SURVEY_SCIENCE_ANALYSIS.md (common-analysis-routes).",
      "fineWhen": "Describing only the participants needs no adjustment; label unadjusted values as describing the sample.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "survey_science_analysis",
          "sectionIds": [
            "survey_science_analysis::common-analysis-routes:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "survey_science_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.16",
            "changedOn": "2026-11-07",
            "summary": "Initial entry. Non-probability sample adjusted to declared population margins (post-stratification, raking or linear calibration with the survey package) shown beside the unadjusted value.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "survey_science_analysis"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-07",
      "apiId": "rf.07",
      "title": "Non-positive exposure in an offset column",
      "kind": "refusal",
      "family": "count.offset_nonpositive",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-295"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "modeling.exposureVar",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "modeling.exposureVar is answered",
      "reasonPlain": "Some exposure times are zero or negative, so the model cannot take their logarithm.",
      "reasonExpert": "log(exposure) is undefined for non-positive values; zero or negative person-time is an invalid person-time structure, and a zero denominator usually signals a data error or structural zeros. Source: methods/EFFECT_MEASURES_REPORTING.md (design-specific-routing).",
      "fineWhen": "Never fine to run with undefined values. Correct or exclude the rows through a recorded cleaning decision.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "effect_measures_reporting",
          "sectionIds": [
            "effect_measures_reporting::design-specific-routing:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "effect_measures_reporting"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-RDS-EST-01",
      "apiId": "r.rds.est.01",
      "title": "Respondent-driven sample: RDS-II and successive-sampling estimates with recruitment-aware intervals",
      "kind": "recommendation",
      "family": "describe.rds_prevalence",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-149",
        "E-150",
        "E-151"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "describe"
          },
          {
            "field": "studyDesign.samplingScheme",
            "op": "not_null"
          },
          {
            "field": "studyDesign.samplingScheme",
            "op": "eq",
            "value": "respondent_driven"
          },
          {
            "field": "surveyDesign.rdsDesign.idVar",
            "op": "not_null"
          },
          {
            "field": "surveyDesign.descriptiveEstimate.statistic",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is describe and studyDesign.samplingScheme is answered and studyDesign.samplingScheme is respondent_driven and surveyDesign.rdsDesign.idVar is answered and surveyDesign.descriptiveEstimate.statistic is answered",
      "reasonPlain": "A respondent-driven sample over-represents people with many contacts. Population estimates weight by network size, come with intervals that follow the recruitment chains, and sit beside the unadjusted sample proportion.",
      "reasonExpert": "R-RDS-02 to R-RDS-05: the RDS package's Volz-Heckathorn (RDS-II) and successive-sampling estimators (successive sampling only at a declared population size or range), recruitment-aware bootstrap intervals (RDS::RDS.bootstrap.intervals) with the estimated design effect and a statement that coverage is contested, the unadjusted sample proportion labelled as such, and diagnostics: convergence by sample order, per-seed-tree estimates, recruitment homophily, network-size heaping and outliers, sensitivity to the network-size rule, and the unchecked assumptions. Source: methods/RESPONDENT_DRIVEN_SAMPLING.md (estimator-choices).",
      "fineWhen": "Coupon-based recruitment with recorded recruiter links and reported network sizes; describing only the participants needs no RDS estimator.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "respondent_driven_sampling",
          "sectionIds": [
            "respondent_driven_sampling::cleaning-and-descriptive-sequence:1",
            "respondent_driven_sampling::estimator-choices:1",
            "respondent_driven_sampling::uncertainty-and-multivariable-analysis:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "respondent_driven_sampling"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.27",
            "changedOn": "2026-11-12",
            "summary": "Initial entry: RDS-II and successive-sampling estimates with recruitment-aware bootstrap intervals and diagnostics (R-RDS-02 to R-RDS-05).",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "respondent_driven_sampling"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-RDS-REG-01",
      "apiId": "r.rds.reg.01",
      "title": "Respondent-driven sample regression: unweighted and weighted fits with seed-tree clustered standard errors",
      "kind": "recommendation",
      "family": "model.rds_regression",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-152"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "studyDesign.samplingScheme",
            "op": "not_null"
          },
          {
            "field": "studyDesign.samplingScheme",
            "op": "eq",
            "value": "respondent_driven"
          },
          {
            "field": "surveyDesign.rdsDesign.idVar",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and studyDesign.samplingScheme is answered and studyDesign.samplingScheme is respondent_driven and surveyDesign.rdsDesign.idVar is answered",
      "reasonPlain": "Regression on respondent-driven data is shown two ways side by side, because whether weighting by network size helps a regression is contested. Standard errors allow for people recruited by the same chain being alike.",
      "reasonExpert": "R-RDS-06: unweighted and 1 / network size weighted generalized linear fits shown together, with cluster-robust (sandwich, HC1) standard errors clustered by seed tree, weight concentration reported, and the statement that weighting is contested. Poisson (log link) or logistic. Source: methods/RESPONDENT_DRIVEN_SAMPLING.md (uncertainty-and-multivariable-analysis).",
      "fineWhen": "A recruited-sample association is the question; a population coefficient needs separate support for the estimator and its variance.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "respondent_driven_sampling",
          "sectionIds": [
            "respondent_driven_sampling::uncertainty-and-multivariable-analysis:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "respondent_driven_sampling"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.27",
            "changedOn": "2026-11-12",
            "summary": "Initial entry: unweighted and inverse-network-size weighted regression with seed-tree clustered standard errors (R-RDS-06).",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "respondent_driven_sampling"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-08",
      "apiId": "rf.08",
      "title": "Two time points are a before-after comparison",
      "kind": "refusal",
      "family": "trend.min_points",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-011"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "trend"
          }
        ]
      },
      "appliesWhenText": "objective.goal is trend",
      "reasonPlain": "Two time points make a before-after comparison, not a trend.",
      "reasonExpert": "A trend needs enough points to separate level, slope and noise; two points are labelled a before-after contrast. Source: methods/QUASI_EXPERIMENTAL_DESIGNS.md (interrupted-time-series-its-and-synthetic-controls).",
      "fineWhen": "Fine to run a labelled before-after comparison instead.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "quasi_experimental_designs",
          "sectionIds": [
            "quasi_experimental_designs::interrupted-time-series-its-and-synthetic-controls:1"
          ]
        },
        {
          "sourceId": "trend_joinpoint_analysis",
          "sectionIds": [
            "trend_joinpoint_analysis::choose-among-trend-methods:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "quasi_experimental_designs",
          "trend_joinpoint_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-09",
      "apiId": "rf.09",
      "title": "Stepwise and p-value variable selection",
      "kind": "refusal",
      "family": "selection.stepwise_refused",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-077",
        "E-161",
        "E-223",
        "E-234"
      ],
      "capabilityGap": true,
      "eventualClass": "overridable",
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "in",
            "value": [
              "associate",
              "trend",
              "compare"
            ]
          }
        ]
      },
      "appliesWhenText": "objective.goal is one of associate, trend, compare",
      "reasonPlain": "Choosing variables by their p-values makes results look stronger than they are. This is not yet in Safi, so the request is refused.",
      "reasonExpert": "Stepwise and screening selection give overoptimistic coefficients, p-values and intervals (Heinze, Wallisch and Dunkler 2018). The check becomes overridable with a disclosed justification once a template exists. Source: SAFI_CODING_STANDARDS.md (5-modern-variable-selection-without-causal-confusion).",
      "fineWhen": "Fine for a supplementary analysis with a stated reason, once Safi can run it. Confounders are chosen by design reasoning now.",
      "hasPracticeEntry": true,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::5-missingness-multiplicity-and-selection:1"
          ]
        },
        {
          "sourceId": "data_cleaning_exploration",
          "sectionIds": [
            "data_cleaning_exploration::stage-5-bivariable-scientific-description:1"
          ]
        },
        {
          "sourceId": "safi_coding_standards",
          "sectionIds": [
            "safi_coding_standards::5-modern-variable-selection-without-causal-confusion:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "data_cleaning_exploration",
          "safi_coding_standards"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-10",
      "apiId": "rf.10",
      "title": "log(y + c) or asinh on an outcome with zeros",
      "kind": "refusal",
      "family": "transform.log_zero_refused",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-184"
      ],
      "capabilityGap": true,
      "eventualClass": "overridable",
      "appliesWhen": {
        "all": [
          {
            "field": "request.transform",
            "op": "not_null"
          },
          {
            "field": "request.transform",
            "op": "in",
            "value": [
              "log_plus_c",
              "asinh"
            ]
          }
        ]
      },
      "appliesWhenText": "request.transform is answered and request.transform is one of log_plus_c, asinh",
      "reasonPlain": "Adding a constant before taking the log changes the answer with the constant and the units. Safi fits a log-link model instead.",
      "reasonExpert": "log(y + c) and asinh(y) give a result that depends on c and the scale (Chen and Roth 2024; Mullahy and Norton 2024). The check becomes overridable once a template exists. Source: methods/MODEL_ASSUMPTIONS.md (linear-regression-the-outcome-does-not-have-to-look-normal).",
      "fineWhen": "Fine once Safi can run it, when the transformed scale is the stated question. Until then use the log-link model.",
      "hasPracticeEntry": true,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::3-select-a-model-by-outcome-and-target:1"
          ]
        },
        {
          "sourceId": "functional_form",
          "sectionIds": [
            "functional_form::preserve-information-while-matching-the-question:1"
          ]
        },
        {
          "sourceId": "model_assumptions",
          "sectionIds": [
            "model_assumptions::linear-regression-the-outcome-does-not-have-to-look-normal:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "functional_form",
          "model_assumptions"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-11",
      "apiId": "rf.11",
      "title": "Single-value imputation",
      "kind": "refusal",
      "family": "missingness.single_imputation_refused",
      "status": "active",
      "version": 2,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-157"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "request.transform",
            "op": "not_null"
          },
          {
            "field": "request.transform",
            "op": "in",
            "value": [
              "mean_impute",
              "median_impute",
              "mode_impute"
            ]
          }
        ]
      },
      "appliesWhenText": "request.transform is answered and request.transform is one of mean_impute, median_impute, mode_impute",
      "reasonPlain": "Filling gaps with the mean, median or mode makes uncertainty too small. Safi keeps the rows and shows the missingness.",
      "reasonExpert": "Single imputation shrinks variance and biases estimates; inference after it with unadjusted standard errors is a hard block (E-157). The valid case, a mean fill of a baseline covariate in a randomised comparison (spec 1.6), is not refused here: it is RF-FILL-BASELINE-01. Source: methods/CORE_ANALYSIS_WORKFLOW.md (5-missingness-multiplicity-and-selection).",
      "fineWhen": "Never fine to report unadjusted inference after a single-value fill of an outcome, an exposure or a confounder outside a randomised comparison. Multiple imputation or a stated complete-case analysis are the options.",
      "hasPracticeEntry": true,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::5-missingness-multiplicity-and-selection:1"
          ]
        },
        {
          "sourceId": "missing_data_measurement",
          "sectionIds": [
            "missing_data_measurement::choosing-the-primary-strategy:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "missing_data_measurement"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.15",
            "changedOn": "2026-11-06",
            "summary": "Refuse the single-value fill only outside the labelled sensitivity declaration; the primary analysis is never a single fill.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "missing_data_measurement"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-FILL-BASELINE-01",
      "apiId": "rf.fill.baseline.01",
      "title": "Single-value fill of a baseline covariate in a randomised comparison",
      "kind": "refusal",
      "family": "missingness.single_imputation_refused",
      "status": "active",
      "version": 3,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-157"
      ],
      "capabilityGap": true,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "request.transform",
            "op": "not_null"
          },
          {
            "field": "request.transform",
            "op": "in",
            "value": [
              "mean_impute",
              "median_impute",
              "mode_impute"
            ]
          },
          {
            "field": "studyDesign.assignment",
            "op": "not_null"
          },
          {
            "field": "studyDesign.assignment",
            "op": "in",
            "value": [
              "randomized_individual",
              "randomized_cluster"
            ]
          },
          {
            "field": "derived.fillTargetRole",
            "op": "not_null"
          },
          {
            "field": "derived.fillTargetRole",
            "op": "eq",
            "value": "covariate"
          }
        ]
      },
      "appliesWhenText": "request.transform is answered and request.transform is one of mean_impute, median_impute, mode_impute and studyDesign.assignment is answered and studyDesign.assignment is one of randomized_individual, randomized_cluster and derived.fillTargetRole is answered and derived.fillTargetRole is covariate",
      "reasonPlain": "Filling a baseline covariate in a randomised comparison is acceptable, but Safi cannot run it yet. This is not yet in Safi, so the request is refused.",
      "reasonExpert": "In a randomised comparison a mean or indicator fill of a covariate measured before assignment does not bias the treatment contrast (spec 1.6). Safi has no template for it, and the contract does not record that the covariate preceded assignment, so the row refuses. Source: methods/CORE_ANALYSIS_WORKFLOW.md (5-missingness-multiplicity-and-selection).",
      "fineWhen": "Fine once Safi can run it, for a covariate measured before assignment. Multiple imputation or a stated complete-case analysis are the options now.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::5-missingness-multiplicity-and-selection:1"
          ]
        },
        {
          "sourceId": "missing_data_measurement",
          "sectionIds": [
            "missing_data_measurement::choosing-the-primary-strategy:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "missing_data_measurement"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.2",
            "changedOn": "2026-10-24",
            "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 3,
            "edition": "1.15",
            "changedOn": "2026-11-06",
            "summary": "The baseline-covariate fill is admitted only as a labelled sensitivity analysis (R-SENS-FILL-01); as a primary analysis it stays refused.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "missing_data_measurement"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-LOCF-01",
      "apiId": "rf.locf.01",
      "title": "Last observation carried forward",
      "kind": "refusal",
      "family": "missingness.single_imputation_refused",
      "status": "active",
      "version": 2,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-158"
      ],
      "capabilityGap": true,
      "eventualClass": "overridable",
      "appliesWhen": {
        "all": [
          {
            "field": "request.transform",
            "op": "not_null"
          },
          {
            "field": "request.transform",
            "op": "in",
            "value": [
              "locf"
            ]
          }
        ]
      },
      "appliesWhenText": "request.transform is answered and request.transform is one of locf",
      "reasonPlain": "Carrying the last observation forward treats a guess as a measurement. This is not yet in Safi, so the request is refused.",
      "reasonExpert": "LOCF and BOCF as the primary analysis of longitudinal data bias estimates and understate uncertainty (E-158). The check becomes overridable with a disclosed reason once a template exists. Source: methods/CORE_ANALYSIS_WORKFLOW.md (5-missingness-multiplicity-and-selection).",
      "fineWhen": "Fine once Safi can run it, with a typed reason that is disclosed in the report. Until then use a stated complete-case analysis or a mixed model on the observed data.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::5-missingness-multiplicity-and-selection:1"
          ]
        },
        {
          "sourceId": "missing_data_measurement",
          "sectionIds": [
            "missing_data_measurement::choosing-the-primary-strategy:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "missing_data_measurement"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.15",
            "changedOn": "2026-11-06",
            "summary": "Carry-forward as a labelled sensitivity analysis is admitted (R-SENS-FILL-01); as the primary analysis it stays refused.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "missing_data_measurement"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-CAP-MI",
      "apiId": "rf.cap.mi",
      "title": "An imputation plan needs a multiple-imputation method",
      "kind": "refusal",
      "family": "missingness.multiple_imputation_unavailable",
      "status": "active",
      "version": 6,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-110"
      ],
      "capabilityGap": true,
      "eventualClass": null,
      "appliesWhen": {
        "any": [
          {
            "field": "validation.replicates.imputations",
            "op": "not_null"
          },
          {
            "field": "dataReadiness.missingnessPlan",
            "op": "eq",
            "value": "multiple_imputation"
          }
        ]
      },
      "appliesWhenText": "validation.replicates.imputations is answered or dataReadiness.missingnessPlan is multiple_imputation",
      "reasonPlain": "An imputation request requires the explicitly selected, supported multiple-imputation analysis method. It cannot execute as complete cases under an imputation label.",
      "reasonExpert": "Running complete cases under an imputation label would misdescribe the method; the request is refused unless a multiple-imputation method (the model fitted in each imputed dataset and combined with Rubin's rules) is the selected analysis. For a logistic model, separation stops the maximum-likelihood multiple-imputation fit; when events are few, the sparse route fits a Firth-type penalized model in each imputed dataset instead. Source: methods/MISSING_DATA_MEASUREMENT.md (choosing-the-primary-strategy).",
      "fineWhen": "Never fine to label a complete-case analysis as imputation. Revise the missing-data strategy explicitly.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "missing_data_measurement",
          "sectionIds": [
            "missing_data_measurement::choosing-the-primary-strategy:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "missing_data_measurement"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.5",
            "changedOn": "2026-11-02",
            "summary": "Refuse imputation unless the pooled route is selected.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "missing_data_measurement"
            ]
          },
          {
            "version": 3,
            "edition": "1.10",
            "changedOn": "2026-11-04",
            "summary": "The pooled risk-ratio entry (model.multiple_imputation_rr) also resolves the gate.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "missing_data_measurement"
            ]
          },
          {
            "version": 4,
            "edition": "1.11",
            "changedOn": "2026-11-05",
            "summary": "The gate reads the plan-level selected analysis (modeling.method), not the per-item request.method, so a plan whose selected analysis is a pooled route is no longer refused for its supplementary items; the message names Step 8 and Step 7.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "missing_data_measurement"
            ]
          },
          {
            "version": 5,
            "edition": "1.12",
            "changedOn": "2026-11-05",
            "summary": "Wording only. The title names the gate (an imputation plan needs a multiple-imputation method); the message says the model is fitted in each imputed dataset and combined with Rubin's rules, points to the Step 2 strategy and Step 8 method, and says other candidates are not offered under an imputation plan.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "missing_data_measurement"
            ]
          },
          {
            "version": 6,
            "edition": "1.13",
            "changedOn": "2026-11-06",
            "summary": "The expert reason says separation stops the maximum-likelihood multiple-imputation fit and the sparse route fits a Firth-type penalized model in each imputed dataset.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "missing_data_measurement"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-FISHER-DEFAULT-01",
      "apiId": "rf.fisher.default.01",
      "title": "Fisher exact test as a default with Yates' correction",
      "kind": "refusal",
      "family": "registry.unsupported_combination",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [],
      "capabilityGap": true,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "request.method",
            "op": "not_null"
          },
          {
            "field": "request.method",
            "op": "in",
            "value": [
              "test.fisher_conditional_default"
            ]
          }
        ]
      },
      "appliesWhenText": "request.method is answered and request.method is one of test.fisher_conditional_default",
      "reasonPlain": "Safi does not offer Fisher's test as an automatic default with a continuity correction. The classical conditional Fisher exact test is available when you ask for it by name.",
      "reasonExpert": "ST-8: the 2x2 comparison reports Fisher mid-p by default and never applies Yates' correction. The conditional exact test (test.fisher_conditional) is implemented on request. A requested method is planned as asked or refused with a reason, never replaced. Source: methods/CORE_ANALYSIS_WORKFLOW.md (3-select-a-model-by-outcome-and-target).",
      "fineWhen": "Fine to ask for the conditional Fisher exact test (test.fisher_conditional) or to keep the mid-p default.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::3-select-a-model-by-outcome-and-target:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "safi_coding_standards"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-BAYES-01",
      "apiId": "rf.bayes.01",
      "title": "Bayesian paired comparison",
      "kind": "refusal",
      "family": "registry.unsupported_combination",
      "status": "active",
      "version": 2,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [],
      "capabilityGap": true,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "request.method",
            "op": "not_null"
          },
          {
            "field": "request.method",
            "op": "in",
            "value": [
              "model.bayes_paired"
            ]
          }
        ]
      },
      "appliesWhenText": "request.method is answered and request.method is one of model.bayes_paired",
      "reasonPlain": "Safi does not yet run Bayesian analyses. This is not yet in Safi, so the request is refused rather than replaced by a different model.",
      "reasonExpert": "The Bayesian engine (rstanarm, precompiled models) is not yet built. A requested method is planned as asked or refused with a reason; the paired mean difference from the random-intercept model is a different estimator and is offered, not substituted. Source: methods/CORE_ANALYSIS_WORKFLOW.md (3-select-a-model-by-outcome-and-target).",
      "fineWhen": "Fine once the Bayesian engine ships, with a stated and justified prior.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::3-select-a-model-by-outcome-and-target:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "safi_coding_standards"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.2",
            "changedOn": "2026-10-24",
            "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-ONESIDED-01",
      "apiId": "rf.onesided.01",
      "title": "One-sided test",
      "kind": "refusal",
      "family": "registry.unsupported_combination",
      "status": "active",
      "version": 2,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [],
      "capabilityGap": true,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "modeling.testDirection",
            "op": "not_null"
          },
          {
            "field": "modeling.testDirection",
            "op": "in",
            "value": [
              "greater",
              "less"
            ]
          }
        ]
      },
      "appliesWhenText": "modeling.testDirection is answered and modeling.testDirection is one of greater, less",
      "reasonPlain": "A one-sided test is only valid when its direction was fixed before the results were seen. Safi cannot yet record that, so this is not yet in Safi and the request is refused.",
      "reasonExpert": "A direction chosen after the outcome has been viewed inflates the type I error. Safi records the first outcome view on the server; that record is not yet wired, so the status of a stated direction is unknown. The two-sided test is not substituted. Source: methods/CORE_ANALYSIS_WORKFLOW.md (3-select-a-model-by-outcome-and-target).",
      "fineWhen": "Fine once Safi records that the direction preceded the first outcome view. The two-sided test is the default now.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::3-select-a-model-by-outcome-and-target:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "safi_coding_standards"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.2",
            "changedOn": "2026-10-24",
            "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-EM-ESTIMAND-UNANSWERED",
      "apiId": "rf.em.estimand.unanswered",
      "title": "A prevalence or risk measure needs its estimand questions answered",
      "kind": "refusal",
      "family": "design.effect_measure",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-002"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "binary"
          },
          {
            "field": "studyDesign.datasetType",
            "op": "ne",
            "value": "case_control"
          },
          {
            "field": "modeling.effectMeasure",
            "op": "in",
            "value": [
              "pr",
              "rr",
              "pd",
              "rd"
            ]
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and modeling.outcomeFamily is binary and studyDesign.datasetType is not case_control and modeling.effectMeasure is one of pr, rr, pd, rd",
      "reasonPlain": "Safi cannot name this ratio or difference until its estimand questions are answered.",
      "reasonExpert": "Prevalence versus risk, time frame, conditional versus marginal target and follow-up define the estimand; unanswered, the label would be a guess. Source: methods/EFFECT_MEASURES_REPORTING.md (name-the-quantity-before-fitting-a-model).",
      "fineWhen": "Never fine to guess. Answer the questions in the analysis plan.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "effect_measures_reporting",
          "sectionIds": [
            "effect_measures_reporting::name-the-quantity-before-fitting-a-model:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "effect_measures_reporting"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-EM-ENDPOINT",
      "apiId": "rf.em.endpoint",
      "title": "The effect measure does not match what the outcome records",
      "kind": "refusal",
      "family": "design.effect_measure",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-074"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "binary"
          },
          {
            "field": "modeling.effectMeasure",
            "op": "in",
            "value": [
              "pr",
              "pd",
              "rr",
              "rd"
            ]
          },
          {
            "field": "modeling.binaryOutcomeKind",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and modeling.outcomeFamily is binary and modeling.effectMeasure is one of pr, pd, rr, rd and modeling.binaryOutcomeKind is answered",
      "reasonPlain": "The effect measure does not match what the outcome records. A prevalence is not a risk and a risk is not a prevalence.",
      "reasonExpert": "A prevalence ratio or difference describes a condition at measurement; a risk ratio or difference describes new events during follow-up. Source: methods/EFFECT_MEASURES_REPORTING.md (name-the-quantity-before-fitting-a-model).",
      "fineWhen": "Never fine to name the wrong quantity. Choose the measure that matches the outcome.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "effect_measures_reporting",
          "sectionIds": [
            "effect_measures_reporting::design-specific-routing:1",
            "effect_measures_reporting::name-the-quantity-before-fitting-a-model:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "effect_measures_reporting"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-RR-FOLLOWUP",
      "apiId": "rf.rr.followup",
      "title": "A risk needs complete follow-up",
      "kind": "refusal",
      "family": "design.effect_measure",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-193"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "binary"
          },
          {
            "field": "modeling.effectMeasure",
            "op": "in",
            "value": [
              "rr",
              "rd"
            ]
          },
          {
            "field": "modeling.binaryOutcomeKind",
            "op": "not_null"
          },
          {
            "field": "modeling.binaryOutcomeKind",
            "op": "eq",
            "value": "incident_event"
          },
          {
            "field": "modeling.followUpComplete",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and modeling.outcomeFamily is binary and modeling.effectMeasure is one of rr, rd and modeling.binaryOutcomeKind is answered and modeling.binaryOutcomeKind is incident_event and modeling.followUpComplete is answered",
      "reasonPlain": "Follow-up was incomplete, so people without an event include people lost early. A risk ratio would count them as non-cases.",
      "reasonExpert": "Incomplete follow-up requires survival or competing-risk methods; treating everyone without an event as a non-case biases the risk down. Source: methods/EFFECT_MEASURES_REPORTING.md (design-specific-routing).",
      "fineWhen": "Never fine for a risk ratio or difference. The odds ratio stays available with a limitation, and person-time or survival methods are recommended.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "effect_measures_reporting",
          "sectionIds": [
            "effect_measures_reporting::design-specific-routing:1",
            "effect_measures_reporting::name-the-quantity-before-fitting-a-model:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "effect_measures_reporting"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-EM-SCALE-TARGET",
      "apiId": "rf.em.scale.target",
      "title": "A conditional prevalence or risk difference is not estimated",
      "kind": "refusal",
      "family": "design.effect_measure",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-074"
      ],
      "capabilityGap": true,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "binary"
          },
          {
            "field": "modeling.effectMeasure",
            "op": "in",
            "value": [
              "rd",
              "pd"
            ]
          },
          {
            "field": "populationEstimand.targetIsMarginal",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and modeling.outcomeFamily is binary and modeling.effectMeasure is one of rd, pd and populationEstimand.targetIsMarginal is answered",
      "reasonPlain": "A conditional difference in prevalences or risks needs a model Safi does not run. A standardised difference is offered instead.",
      "reasonExpert": "Conditional risk differences need an identity-link binomial model; marginal standardisation is the supported route for absolute risks. Source: methods/EFFECT_MEASURES_REPORTING.md (conditional-versus-marginal-adjusted-effects).",
      "fineWhen": "Fine to use the standardised difference.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "effect_measures_reporting",
          "sectionIds": [
            "effect_measures_reporting::conditional-versus-marginal-adjusted-effects:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "effect_measures_reporting"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-STD-TARGET",
      "apiId": "rf.std.target",
      "title": "A survey-population standardization target needs the survey route",
      "kind": "refusal",
      "family": "registry.unsupported_combination",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-009"
      ],
      "capabilityGap": true,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "binary"
          },
          {
            "field": "modeling.effectMeasure",
            "op": "in",
            "value": [
              "pr",
              "rr",
              "pd",
              "rd"
            ]
          },
          {
            "field": "populationEstimand.targetIsMarginal",
            "op": "not_null"
          },
          {
            "field": "populationEstimand.targetIsMarginal",
            "op": "eq",
            "value": true
          },
          {
            "field": "modeling.standardization.target",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and modeling.outcomeFamily is binary and modeling.effectMeasure is one of pr, rr, pd, rd and populationEstimand.targetIsMarginal is answered and populationEstimand.targetIsMarginal is true and modeling.standardization.target is answered",
      "reasonPlain": "Standardising over a survey population needs the survey design in the fit and the average. Safi does not yet do both.",
      "reasonExpert": "Marginal standardisation to a survey target must incorporate design weights and variance; this is not implemented. Source: methods/EFFECT_MEASURES_REPORTING.md (design-specific-routing).",
      "fineWhen": "Fine to standardise over the analysis sample instead, labelled as such.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "effect_measures_reporting",
          "sectionIds": [
            "effect_measures_reporting::design-specific-routing:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "effect_measures_reporting"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-CAU-POSTASSIGN",
      "apiId": "rf.cau.postassign",
      "title": "Post-assignment conditioning is not an effect of randomised assignment",
      "kind": "refusal",
      "family": "design.analysis_scope",
      "status": "active",
      "version": 2,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-192"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "studyDesign.assignment",
            "op": "in",
            "value": [
              "randomized_individual",
              "randomized_cluster"
            ]
          },
          {
            "field": "populationEstimand.causalStatus",
            "op": "not_null"
          },
          {
            "field": "populationEstimand.causalStatus",
            "op": "eq",
            "value": "causal_declared"
          },
          {
            "field": "modeling.causalDiagramDecision.postAssignmentConditioning",
            "op": "not_null"
          },
          {
            "field": "modeling.causalDiagramDecision.postAssignmentConditioning",
            "op": "eq",
            "value": true
          }
        ]
      },
      "appliesWhenText": "studyDesign.assignment is one of randomized_individual, randomized_cluster and populationEstimand.causalStatus is answered and populationEstimand.causalStatus is causal_declared and modeling.causalDiagramDecision.postAssignmentConditioning is answered and modeling.causalDiagramDecision.postAssignmentConditioning is true",
      "reasonPlain": "Conditioning on a variable measured after assignment can break the randomised comparison.",
      "reasonExpert": "R-CAU-16: Adjustment for, exclusion on or subsetting by post-assignment variables changes or biases the effect-of-assignment estimand. An all-randomised comparison can adjust for prespecified baseline covariates; principal-stratum and mediation questions require distinct, explicitly labelled estimands and methods.",
      "fineWhen": "The adjustment variables were measured before assignment and the comparison retains all randomised participants.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "causal_inference",
          "sectionIds": [
            "causal_inference::identification-before-estimation:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "causal_inference"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Joint draft admission; no human review recorded.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "causal_inference"
            ]
          },
          {
            "version": 2,
            "edition": "1.25",
            "changedOn": "2026-11-10",
            "summary": "An empty answer now decides that the rule does not apply (an added not_null condition). Before, the empty optional answer left the rule pending and an ordinary question received no method. The result is unchanged when the answer is present.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "causal_inference"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-CAU-15",
      "apiId": "r.cau.15",
      "title": "Observational exposure overlap and augmented sensitivity",
      "kind": "guardrail",
      "family": "diagnostics.causal_overlap",
      "status": "active",
      "version": 2,
      "severity": "inform",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-191"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "populationEstimand.causalStatus",
            "op": "eq",
            "value": "causal_declared"
          },
          {
            "field": "studyDesign.assignment",
            "op": "eq",
            "value": "none"
          }
        ]
      },
      "appliesWhenText": "populationEstimand.causalStatus is causal_declared and studyDesign.assignment is none",
      "reasonPlain": "A causal effect from non-randomised data needs a check that exposed and comparison people had comparable chances of exposure. A separate augmented estimate probes dependence on the selected regression model.",
      "reasonExpert": "R-CAU-15: show propensity-score overlap for a non-randomised point exposure and an augmented inverse-probability-weighted sensitivity beside the primary effect. The bounded independent-row binary-treatment ATE uses PSweight for augmented potential outcomes and nuisance-adjusted covariance and marginaleffects for the contrast interval. Unsupported targets are explicitly not run.",
      "fineWhen": "No observational causal exposure effect is requested; randomised effects of assignment do not require an E-191 positivity or doubly robust message.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "propensity_score_methods",
          "sectionIds": [
            "propensity_score_methods::model-the-score-for-balance:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "propensity_score_methods"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Joint draft admission; no human review recorded.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "propensity_score_methods"
            ]
          },
          {
            "version": 2,
            "edition": "1.28",
            "changedOn": "2026-11-18",
            "summary": "Severity plan_only to inform. As plan_only the rule replaced the selected regression on every observational causal question (decision-tree approval 2), contradicting its own routing, which keeps the regression primary and adds the labelled augmented-IPW companion; staging P37 could not be confirmed (2026-11-18).",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "propensity_score_methods"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-CAU-TVC-01",
      "apiId": "r.cau.tvc.01",
      "title": "Conventional regression cannot estimate a joint effect of exposures over time with treatment-confounder feedback",
      "kind": "refusal",
      "family": "design.analysis_scope",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-189",
        "E-245"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "modeling.causalDiagramDecision.timeVaryingFeedback",
            "op": "not_null"
          },
          {
            "field": "modeling.causalDiagramDecision.timeVaryingFeedback",
            "op": "eq",
            "value": true
          }
        ]
      },
      "appliesWhenText": "modeling.causalDiagramDecision.timeVaryingFeedback is answered and modeling.causalDiagramDecision.timeVaryingFeedback is true",
      "reasonPlain": "A variable that the earlier exposure changed and that also drives the later exposure and the outcome cannot be handled by an ordinary regression for the combined effect of both exposures.",
      "reasonExpert": "R-DAG-11, R-CAU-13: when a variable is a descendant of an earlier exposure and a common cause of a later exposure and the outcome, and the estimand is the joint effect of the exposures over time, adjusting for it blocks part of the earlier exposure's effect and omitting it leaves confounding of the later exposure. Conventional regression is refused; g-methods (parametric g-formula, marginal structural models) are roadmap items. The baseline-exposure effect is offered as a different, labelled question.",
      "fineWhen": "The estimand is the effect of the baseline exposure regardless of later exposure, or no variable affected by the earlier exposure also causes the later exposure.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "causal_inference",
          "sectionIds": [
            "causal_inference::longitudinal-and-quasi-experimental-details:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "causal_inference"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.27",
            "changedOn": "2026-11-13",
            "summary": "Initial entry. Conventional regression cannot estimate a joint effect of exposures over time with treatment-confounder feedback (R-DAG-11, R-CAU-13).",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "causal_inference"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-SUB-IMPROPER",
      "apiId": "rf.sub.improper",
      "title": "A modifier measured after randomisation is an improper subgroup",
      "kind": "refusal",
      "family": "registry.unsupported_combination",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-235"
      ],
      "capabilityGap": true,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "modeling.modifierTiming",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "modeling.modifierTiming is answered",
      "reasonPlain": "A group defined after randomisation, or by the outcome, is not a baseline subgroup; the arms are no longer comparable within it.",
      "reasonExpert": "(R-SUB-05) A modifier measured after randomisation or exposure, or defined by the outcome or response (adherers, responders, survivors), breaks the randomised comparison within its levels. Effect wording within such a group is blocked; the all-randomised effect and the complier average causal effect are offered.",
      "fineWhen": "A modifier measured before randomisation is a proper subgroup.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "trial_estimands",
          "sectionIds": [
            "trial_estimands::4-proper-and-improper-subgroups:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "trial_estimands"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.18",
            "changedOn": "2026-11-07",
            "summary": "Initial entry. Refuses effect wording within a modifier measured after randomisation or defined by the outcome (improper subgroup).",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "trial_estimands"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-12",
      "apiId": "rf.12",
      "title": "Dichotomization without a design reason",
      "kind": "refusal",
      "family": "functional_form.dichotomization_refused",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "overridable",
      "eCodes": [
        "E-067",
        "E-211"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "any": [
          {
            "all": [
              {
                "field": "request.transform",
                "op": "not_null"
              },
              {
                "field": "request.transform",
                "op": "in",
                "value": [
                  "median_split",
                  "tertiles"
                ]
              }
            ]
          },
          {
            "field": "derived.categoricalCutWithoutReason",
            "op": "ge",
            "value": 1
          }
        ]
      },
      "appliesWhenText": "(request.transform is answered and request.transform is one of median_split, tertiles) or derived.categoricalCutWithoutReason is at least 1",
      "reasonPlain": "Splitting a continuous variable at the median or into tertiles throws away information. Give a design reason if you need the split.",
      "reasonExpert": "Dichotomising loses power and creates unstable results (E-067). A typed design reason for a median or tertile split is the override justification (class c). A searched, outcome-derived cut-point is a separate hard block (RF-CUTPOINT-01). Source: methods/FUNCTIONAL_FORM.md (preserve-information-while-matching-the-question).",
      "fineWhen": "Fine for a cut fixed outside the sample, such as a published clinical threshold or a registry grouping. A typed reason for a median or tertile split is an override: Safi warns, discloses it and fits the continuous model alongside.",
      "hasPracticeEntry": true,
      "evidence": [
        {
          "sourceId": "functional_form",
          "sectionIds": [
            "functional_form::preserve-information-while-matching-the-question:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "functional_form"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-CUTPOINT-01",
      "apiId": "rf.cutpoint.01",
      "title": "Outcome-derived optimal cut-point",
      "kind": "refusal",
      "family": "functional_form.dichotomization_refused",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-163",
        "E-204"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "request.transform",
            "op": "not_null"
          },
          {
            "field": "request.transform",
            "op": "in",
            "value": [
              "optimal_cutpoint"
            ]
          }
        ]
      },
      "appliesWhenText": "request.transform is answered and request.transform is one of optimal_cutpoint",
      "reasonPlain": "A cut-point found by searching the outcome data makes the result look stronger than it is. A reason for the cut does not change that.",
      "reasonExpert": "Searching for the cut-point that minimises the p-value or maximises the Youden index inflates the type I error (Altman et al. 1994); unadjusted inference or same-data accuracy at a searched cut-point is a hard block (E-163), as is a confirmatory label on it (E-204). Source: methods/FUNCTIONAL_FORM.md (preserve-information-while-matching-the-question).",
      "fineWhen": "Never fine with ordinary inference. A cut fixed outside the sample, or the variable kept continuous, are the valid options.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "functional_form",
          "sectionIds": [
            "functional_form::preserve-information-while-matching-the-question:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "functional_form"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-13",
      "apiId": "rf.13",
      "title": "Readiness checkpoint and step 7 not complete",
      "kind": "refusal",
      "family": "workflow.describe_required",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-229"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "in",
            "value": [
              "compare",
              "associate",
              "trend",
              "prediction"
            ]
          }
        ]
      },
      "appliesWhenText": "objective.goal is one of compare, associate, trend, prediction",
      "reasonPlain": "The model cannot run until the readiness checkpoint and the variable descriptions are produced.",
      "reasonExpert": "Univariable and bivariable description of every contract variable precedes modelling even for a prespecified model. Source: methods/CORE_ANALYSIS_WORKFLOW.md (3-select-a-model-by-outcome-and-target).",
      "fineWhen": "Never fine to skip. The step takes under a minute.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::3-select-a-model-by-outcome-and-target:1"
          ]
        },
        {
          "sourceId": "data_cleaning_exploration",
          "sectionIds": [
            "data_cleaning_exploration::readiness-checkpoint:1"
          ]
        },
        {
          "sourceId": "safi_integration",
          "sectionIds": [
            "safi_integration::required-user-journey:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "data_cleaning_exploration",
          "safi_integration"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-FORM-MIXED",
      "apiId": "rf.form.mixed",
      "title": "Mixed-model spline checks are not implemented",
      "kind": "refusal",
      "family": "registry.unsupported_combination",
      "status": "active",
      "version": 3,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-076"
      ],
      "capabilityGap": true,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "in",
            "value": [
              "associate",
              "compare"
            ]
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "in",
            "value": [
              "continuous",
              "binary",
              "count"
            ]
          },
          {
            "field": "modeling.templateId",
            "op": "not_null"
          },
          {
            "field": "modeling.templateId",
            "op": "in",
            "value": [
              "model.mixed_lmm",
              "model.mixed_glmm"
            ]
          }
        ]
      },
      "appliesWhenText": "objective.goal is one of associate, compare and modeling.outcomeFamily is one of continuous, binary, count and modeling.templateId is answered and modeling.templateId is one of model.mixed_lmm, model.mixed_glmm",
      "reasonPlain": "A spline in a mixed model is not yet available, because its checks are not built.",
      "reasonExpert": "Design-correct inference for nonlinear terms in the mixed route needs spline-specific checks not yet implemented. Source: methods/FUNCTIONAL_FORM.md (assess-functional-form-explicitly).",
      "fineWhen": "Fine to keep the spline in a non-mixed route, or use a linear term in the mixed model with a recorded reason.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "functional_form",
          "sectionIds": [
            "functional_form::assess-functional-form-explicitly:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "functional_form"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.2",
            "changedOn": "2026-10-24",
            "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 3,
            "edition": "1.30",
            "changedOn": "2026-11-20",
            "summary": "Also refuses a recorded spline with the generalized linear mixed model (binary and count outcomes).",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "functional_form"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-VIEW-02",
      "apiId": "rf.view.02",
      "title": "Repeated rows of one person are not separate people",
      "kind": "refusal",
      "family": "design.fact_missing",
      "status": "active",
      "version": 3,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-008",
        "E-035"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "in",
            "value": [
              "compare",
              "associate",
              "trend",
              "prediction"
            ]
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "not_null"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "in",
            "value": [
              "continuous",
              "binary",
              "count",
              "ordinal"
            ]
          },
          {
            "any": [
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": true
              },
              {
                "field": "derived.viewRepeatsPerson",
                "op": "is_null"
              }
            ]
          }
        ]
      },
      "appliesWhenText": "objective.goal is one of compare, associate, trend, prediction and modeling.outcomeFamily is answered and modeling.outcomeFamily is one of continuous, binary, count, ordinal and (derived.viewRepeatsPerson is true or derived.viewRepeatsPerson is not answered)",
      "reasonPlain": "Repeated rows of one person are not separate people. Standard errors would come out too small.",
      "reasonExpert": "Rows repeated within a person are dependent; a model that reads them as independent understates variance. Source: methods/PUBLICATION_INFORMED_ANALYSIS_PLANNING.md (design-to-output-planning-matrix).",
      "fineWhen": "Never fine to treat repeated rows as independent. Declare the person as the cluster or use one row per person.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::2-audit-the-data-generating-and-measurement-processes:1"
          ]
        },
        {
          "sourceId": "publication_informed_analysis_planning",
          "sectionIds": [
            "publication_informed_analysis_planning::design-to-output-planning-matrix:1"
          ]
        },
        {
          "sourceId": "survival_longitudinal",
          "sectionIds": [
            "survival_longitudinal::define-the-observation-scheme:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "publication_informed_analysis_planning",
          "survival_longitudinal"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.2",
            "changedOn": "2026-10-24",
            "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 3,
            "edition": "1.30",
            "changedOn": "2026-11-20",
            "summary": "The GEE and generalized linear mixed routes model the person; a compare goal with a binary or count outcome and the person as the cluster is no longer refused before a method is chosen.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "publication_informed_analysis_planning",
              "survival_longitudinal"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-CLUSTER-RR",
      "apiId": "rf.cluster.rr",
      "title": "A prevalence or risk ratio with a declared cluster has no clustered route yet",
      "kind": "refusal",
      "family": "registry.unsupported_combination",
      "status": "active",
      "version": 2,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-006"
      ],
      "capabilityGap": true,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "binary"
          },
          {
            "field": "modeling.effectMeasure",
            "op": "in",
            "value": [
              "rr",
              "pr"
            ]
          },
          {
            "field": "dependence.clusterVar",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and modeling.outcomeFamily is binary and modeling.effectMeasure is one of rr, pr and dependence.clusterVar is answered",
      "reasonPlain": "Prevalence and risk ratio models with a declared cluster are not yet available. Standard errors would come out too small.",
      "reasonExpert": "Log-binomial, modified Poisson and standardisation routes have no clustered covariance. Source: methods/CORE_ANALYSIS_WORKFLOW.md (2-audit-the-data-generating-and-measurement-processes).",
      "fineWhen": "Never fine to ignore the cluster. The clustered logistic route reports an odds ratio.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::2-audit-the-data-generating-and-measurement-processes:1"
          ]
        },
        {
          "sourceId": "survival_longitudinal",
          "sectionIds": [
            "survival_longitudinal::repeated-outcomes-and-small-cluster-inference:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "survival_longitudinal"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.2",
            "changedOn": "2026-10-24",
            "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-CLUSTER-STD",
      "apiId": "rf.cluster.std",
      "title": "A standardized prevalence or risk ratio with a declared cluster has no clustered route yet",
      "kind": "refusal",
      "family": "registry.unsupported_combination",
      "status": "active",
      "version": 2,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-006"
      ],
      "capabilityGap": true,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "binary"
          },
          {
            "field": "modeling.effectMeasure",
            "op": "in",
            "value": [
              "pr",
              "rr",
              "pd",
              "rd"
            ]
          },
          {
            "field": "populationEstimand.targetIsMarginal",
            "op": "not_null"
          },
          {
            "field": "populationEstimand.targetIsMarginal",
            "op": "eq",
            "value": true
          },
          {
            "field": "studyDesign.datasetType",
            "op": "in",
            "value": [
              "cross_sectional_survey",
              "cohort",
              "routine",
              "administrative",
              "trial"
            ]
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "dependence.clusterVar",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and modeling.outcomeFamily is binary and modeling.effectMeasure is one of pr, rr, pd, rd and populationEstimand.targetIsMarginal is answered and populationEstimand.targetIsMarginal is true and studyDesign.datasetType is one of cross_sectional_survey, cohort, routine, administrative, trial and surveyDesign.weightVar is not answered and dependence.clusterVar is answered",
      "reasonPlain": "A standardised ratio with a declared cluster is not yet available. Its interval would resample rows as independent.",
      "reasonExpert": "Marginal standardisation needs uncertainty propagated through clustering; the current bootstrap resamples rows. Source: methods/EFFECT_MEASURES_REPORTING.md (conditional-versus-marginal-adjusted-effects).",
      "fineWhen": "Never fine to ignore the cluster. Report the conditional clustered estimate instead.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::2-audit-the-data-generating-and-measurement-processes:1"
          ]
        },
        {
          "sourceId": "effect_measures_reporting",
          "sectionIds": [
            "effect_measures_reporting::conditional-versus-marginal-adjusted-effects:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "effect_measures_reporting"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.2",
            "changedOn": "2026-10-24",
            "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-CLUSTER-POISSON",
      "apiId": "rf.cluster.poisson",
      "title": "Poisson regression with a declared cluster has no clustered route yet",
      "kind": "refusal",
      "family": "registry.unsupported_combination",
      "status": "active",
      "version": 2,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-006"
      ],
      "capabilityGap": true,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "count"
          },
          {
            "field": "request.method",
            "op": "not_null"
          },
          {
            "field": "request.method",
            "op": "eq",
            "value": "model.poisson_offset"
          },
          {
            "field": "dependence.clusterVar",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and modeling.outcomeFamily is count and request.method is answered and request.method is model.poisson_offset and dependence.clusterVar is answered",
      "reasonPlain": "Poisson regression with a declared cluster is not yet available. Standard errors would come out too small.",
      "reasonExpert": "The Poisson route has no clustered covariance; negative binomial with cluster-robust inference is offered where it applies. Source: methods/CORE_ANALYSIS_WORKFLOW.md (2-audit-the-data-generating-and-measurement-processes).",
      "fineWhen": "Never fine to ignore the cluster. Use the clustered negative binomial route.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::2-audit-the-data-generating-and-measurement-processes:1"
          ]
        },
        {
          "sourceId": "survival_longitudinal",
          "sectionIds": [
            "survival_longitudinal::repeated-outcomes-and-small-cluster-inference:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "survival_longitudinal"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.2",
            "changedOn": "2026-10-24",
            "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-CLUSTER-ORDINAL",
      "apiId": "rf.cluster.ordinal",
      "title": "An ordinal outcome with a declared cluster has no clustered route yet",
      "kind": "refusal",
      "family": "registry.unsupported_combination",
      "status": "active",
      "version": 2,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-006"
      ],
      "capabilityGap": true,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "ordinal"
          },
          {
            "field": "dependence.clusterVar",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and modeling.outcomeFamily is ordinal and dependence.clusterVar is answered",
      "reasonPlain": "An ordinal model with a declared cluster is not yet available. Standard errors would come out too small.",
      "reasonExpert": "The cumulative-link route has no clustered covariance and assumes independent rows. Source: methods/CORE_ANALYSIS_WORKFLOW.md (2-audit-the-data-generating-and-measurement-processes).",
      "fineWhen": "Never fine to ignore the cluster. A cluster-level summary is the alternative.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::2-audit-the-data-generating-and-measurement-processes:1"
          ]
        },
        {
          "sourceId": "survival_longitudinal",
          "sectionIds": [
            "survival_longitudinal::repeated-outcomes-and-small-cluster-inference:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "survival_longitudinal"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.2",
            "changedOn": "2026-10-24",
            "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-EFF-DESIGN",
      "apiId": "rf.eff.design",
      "title": "Ordinary effect models require independent rows",
      "kind": "refusal",
      "family": "registry.unsupported_combination",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-006"
      ],
      "capabilityGap": true,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "modeling.templateId",
            "op": "not_null"
          },
          {
            "field": "modeling.templateId",
            "op": "in",
            "value": [
              "model.gamma_log",
              "model.geometric_mean",
              "model.nominal"
            ]
          },
          {
            "any": [
              {
                "field": "dependence.clusterVar",
                "op": "not_null"
              },
              {
                "field": "dependence.repeatedUnitVar",
                "op": "not_null"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "not_null"
              },
              {
                "field": "surveyDesign.strataVar",
                "op": "not_null"
              },
              {
                "field": "surveyDesign.psuVar",
                "op": "not_null"
              },
              {
                "field": "surveyDesign.fpcVar",
                "op": "not_null"
              },
              {
                "field": "surveyDesign.replicateDesign",
                "op": "not_null"
              },
              {
                "field": "derived.viewRepeatsPerson",
                "op": "ne",
                "value": false
              },
              {
                "field": "studyDesign.samplingScheme",
                "op": "eq",
                "value": "complex_survey"
              }
            ]
          }
        ]
      },
      "appliesWhenText": "modeling.templateId is answered and modeling.templateId is one of model.gamma_log, model.geometric_mean, model.nominal and (dependence.clusterVar is answered or dependence.repeatedUnitVar is answered or surveyDesign.weightVar is answered or surveyDesign.strataVar is answered or surveyDesign.psuVar is answered or surveyDesign.fpcVar is answered or surveyDesign.replicateDesign is answered or derived.viewRepeatsPerson is not false or studyDesign.samplingScheme is complex_survey)",
      "reasonPlain": "These ordinary effect models do not support the declared survey or repeated-row design.",
      "reasonExpert": "Use a model that preserves the declared survey and dependence structure.",
      "fineWhen": "Use the supported survey or dependence-aware method.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::2-audit-the-data-generating-and-measurement-processes:1"
          ]
        },
        {
          "sourceId": "survival_longitudinal",
          "sectionIds": [
            "survival_longitudinal::repeated-outcomes-and-small-cluster-inference:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "survival_longitudinal"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.5",
            "changedOn": "2026-11-02",
            "summary": "Proposed hard refusal for unsupported ordinary effect models under survey or repeated-row designs.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "core_analysis_workflow",
              "survival_longitudinal"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-CLUSTER-FIRTH",
      "apiId": "rf.cluster.firth",
      "title": "Firth logistic regression with a declared cluster has no clustered route yet",
      "kind": "refusal",
      "family": "registry.unsupported_combination",
      "status": "active",
      "version": 2,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-006"
      ],
      "capabilityGap": true,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "binary"
          },
          {
            "field": "modeling.templateId",
            "op": "not_null"
          },
          {
            "field": "modeling.templateId",
            "op": "eq",
            "value": "model.firth_flac"
          },
          {
            "field": "dependence.clusterVar",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "modeling.outcomeFamily is binary and modeling.templateId is answered and modeling.templateId is model.firth_flac and dependence.clusterVar is answered",
      "reasonPlain": "Firth logistic regression with a declared cluster is not yet available. Its intervals would come out too narrow.",
      "reasonExpert": "The Firth route has no clustered covariance; profile penalised-likelihood intervals assume independent rows. Source: methods/CORE_ANALYSIS_WORKFLOW.md (2-audit-the-data-generating-and-measurement-processes).",
      "fineWhen": "Never fine to ignore the cluster. Use the clustered logistic route when separation is absent.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::2-audit-the-data-generating-and-measurement-processes:1"
          ]
        },
        {
          "sourceId": "survival_longitudinal",
          "sectionIds": [
            "survival_longitudinal::repeated-outcomes-and-small-cluster-inference:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "survival_longitudinal"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.2",
            "changedOn": "2026-10-24",
            "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-CLUSTER-COX",
      "apiId": "rf.cluster.cox",
      "title": "Cox regression with a declared cluster has no clustered route yet",
      "kind": "refusal",
      "family": "registry.unsupported_combination",
      "status": "active",
      "version": 2,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-006"
      ],
      "capabilityGap": true,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "time_to_event"
          },
          {
            "field": "modeling.templateId",
            "op": "not_null"
          },
          {
            "field": "modeling.templateId",
            "op": "eq",
            "value": "model.cox_ph"
          },
          {
            "field": "dependence.clusterVar",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "modeling.outcomeFamily is time_to_event and modeling.templateId is answered and modeling.templateId is model.cox_ph and dependence.clusterVar is answered",
      "reasonPlain": "Cox regression with a declared cluster is not yet available. Its standard errors would treat every row as independent and come out too small.",
      "reasonExpert": "The Cox route has no clustered covariance; standard errors must be derived from the design (cluster-robust or frailty). Source: methods/CORE_ANALYSIS_WORKFLOW.md (2-audit-the-data-generating-and-measurement-processes).",
      "fineWhen": "Never fine to ignore the cluster. Aggregate to the cluster level or use a method that models it.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::2-audit-the-data-generating-and-measurement-processes:1"
          ]
        },
        {
          "sourceId": "survival_longitudinal",
          "sectionIds": [
            "survival_longitudinal::repeated-outcomes-and-small-cluster-inference:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "survival_longitudinal"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.2",
            "changedOn": "2026-10-24",
            "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-BANDS-01",
      "apiId": "rf.bands.01",
      "title": "Numeric threshold form without declared cut points",
      "kind": "refusal",
      "family": "registry.unsupported_combination",
      "status": "active",
      "version": 2,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [],
      "capabilityGap": true,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "derived.thresholdFormOnNumeric",
            "op": "gt",
            "value": 0
          },
          {
            "any": [
              {
                "field": "modeling.prespecifiedGroupings",
                "op": "is_null"
              },
              {
                "field": "modeling.prespecifiedGroupings",
                "op": "eq",
                "value": []
              }
            ]
          }
        ]
      },
      "appliesWhenText": "derived.thresholdFormOnNumeric is above 0 and (modeling.prespecifiedGroupings is not answered or modeling.prespecifiedGroupings is )",
      "reasonPlain": "A numeric threshold form needs recorded cut points, interval labels and a reference group before fitting. Supply the researcher-declared grouping in Analysis plan.",
      "reasonExpert": "An unconfigured prespecified-thresholds form cannot be executed as a categorical term. Recorded finite ordered cut points, interval labels, boundary convention, provenance and reference category are required by the model.formula producer. Source: methods/FUNCTIONAL_FORM.md (assess-functional-form-explicitly).",
      "fineWhen": "Fine when the corresponding researcher-declared grouping is complete and matches the numeric model term.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "functional_form",
          "sectionIds": [
            "functional_form::assess-functional-form-explicitly:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "functional_form"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.6",
            "changedOn": "2026-11-03",
            "summary": "Admit exact researcher-declared numeric grouping; keep undeclared threshold form refused.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "functional_form"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-DEP-UNIT",
      "apiId": "rf.dep.unit",
      "title": "A repeated unit alone is not modelled by an association",
      "kind": "refusal",
      "family": "design.fact_missing",
      "status": "active",
      "version": 2,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-008"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "in",
            "value": [
              "associate",
              "compare"
            ]
          },
          {
            "field": "dependence.repeatedUnitVar",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is one of associate, compare and dependence.repeatedUnitVar is answered",
      "reasonPlain": "You named a repeated unit, but without a cluster or random intercept the repeated rows would count as independent.",
      "reasonExpert": "Association models account for repeated rows through the clustering variable or a random intercept; the repeated unit alone does not. Source: methods/CORE_ANALYSIS_WORKFLOW.md (2-audit-the-data-generating-and-measurement-processes).",
      "fineWhen": "Never fine to ignore the repeats. Name the cluster for the model.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::2-audit-the-data-generating-and-measurement-processes:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.2",
            "changedOn": "2026-10-24",
            "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-IC-DESIGN",
      "apiId": "rf.ic.design",
      "title": "Unsupported survival design combination",
      "kind": "refusal",
      "family": "registry.unsupported_combination",
      "status": "active",
      "version": 2,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-006"
      ],
      "capabilityGap": true,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "modeling.templateId",
            "op": "not_null"
          },
          {
            "field": "modeling.templateId",
            "op": "eq",
            "value": "model.interval_ph"
          },
          {
            "any": [
              {
                "field": "dependence.clusterVar",
                "op": "not_null"
              },
              {
                "field": "dependence.repeatedUnitVar",
                "op": "not_null"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "not_null"
              },
              {
                "field": "surveyDesign.strataVar",
                "op": "not_null"
              },
              {
                "field": "surveyDesign.psuVar",
                "op": "not_null"
              },
              {
                "field": "surveyDesign.replicateDesign",
                "op": "not_null"
              },
              {
                "all": [
                  {
                    "field": "studyDesign.samplingScheme",
                    "op": "not_null"
                  },
                  {
                    "field": "studyDesign.samplingScheme",
                    "op": "eq",
                    "value": "complex_survey"
                  }
                ]
              },
              {
                "field": "derived.viewRepeatsPerson",
                "op": "ne",
                "value": false
              },
              {
                "field": "surveyDesign.fpcVar",
                "op": "not_null"
              },
              {
                "field": "surveyDesign.replicateDesign.type",
                "op": "not_null"
              },
              {
                "field": "modeling.censoringType",
                "op": "is_null"
              },
              {
                "field": "modeling.censoringType",
                "op": "ne",
                "value": "interval"
              },
              {
                "field": "modeling.hasCompetingEvent",
                "op": "is_null"
              },
              {
                "field": "modeling.hasCompetingEvent",
                "op": "ne",
                "value": false
              },
              {
                "field": "modeling.intervalCensoring.eventFreeAtOrigin",
                "op": "is_null"
              },
              {
                "field": "modeling.intervalCensoring.eventFreeAtOrigin",
                "op": "ne",
                "value": true
              },
              {
                "field": "modeling.intervalCensoring.absorbingEvent",
                "op": "is_null"
              },
              {
                "field": "modeling.intervalCensoring.absorbingEvent",
                "op": "ne",
                "value": true
              },
              {
                "field": "modeling.intervalCensoring.ignorableInspection",
                "op": "is_null"
              },
              {
                "field": "modeling.intervalCensoring.ignorableInspection",
                "op": "ne",
                "value": true
              },
              {
                "field": "modeling.intervalCensoring.delayedEntry",
                "op": "is_null"
              },
              {
                "field": "modeling.intervalCensoring.delayedEntry",
                "op": "ne",
                "value": false
              }
            ]
          }
        ]
      },
      "appliesWhenText": "modeling.templateId is answered and modeling.templateId is model.interval_ph and (dependence.clusterVar is answered or dependence.repeatedUnitVar is answered or surveyDesign.weightVar is answered or surveyDesign.strataVar is answered or surveyDesign.psuVar is answered or surveyDesign.replicateDesign is answered or (studyDesign.samplingScheme is answered and studyDesign.samplingScheme is complex_survey) or derived.viewRepeatsPerson is not false or surveyDesign.fpcVar is answered or surveyDesign.replicateDesign.type is answered or modeling.censoringType is not answered or modeling.censoringType is not interval or modeling.hasCompetingEvent is not answered or modeling.hasCompetingEvent is not false or modeling.intervalCensoring.eventFreeAtOrigin is not answered or modeling.intervalCensoring.eventFreeAtOrigin is not true or modeling.intervalCensoring.absorbingEvent is not answered or modeling.intervalCensoring.absorbingEvent is not true or modeling.intervalCensoring.ignorableInspection is not answered or modeling.intervalCensoring.ignorableInspection is not true or modeling.intervalCensoring.delayedEntry is not answered or modeling.intervalCensoring.delayedEntry is not false)",
      "reasonPlain": "This survival producer cannot preserve the declared observation or sampling design.",
      "reasonExpert": "Use a supported likelihood and uncertainty calculation for the declared design.",
      "fineWhen": "Choose a matching supported survival model.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::2-audit-the-data-generating-and-measurement-processes:1"
          ]
        },
        {
          "sourceId": "survival_longitudinal",
          "sectionIds": [
            "survival_longitudinal::repeated-outcomes-and-small-cluster-inference:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "survival_longitudinal"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.5",
            "changedOn": "2026-11-02",
            "summary": "Proposed refusal for interval-censored designs outside the supported independent-subject scope.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "core_analysis_workflow",
              "survival_longitudinal"
            ]
          },
          {
            "version": 2,
            "edition": "1.29",
            "changedOn": "2026-11-20",
            "summary": "The trigger reads modeling.templateId not_null first, so a plan with no method chosen decides the trigger false and is not reported at Run as a refusal that could not be decided.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "survival_longitudinal"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-SURV-DESIGN",
      "apiId": "rf.surv.design",
      "title": "Unsupported survival design combination",
      "kind": "refusal",
      "family": "registry.unsupported_combination",
      "status": "active",
      "version": 2,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-006"
      ],
      "capabilityGap": true,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "modeling.templateId",
            "op": "not_null"
          },
          {
            "field": "modeling.templateId",
            "op": "eq",
            "value": "model.survival_companions"
          },
          {
            "any": [
              {
                "field": "dependence.clusterVar",
                "op": "not_null"
              },
              {
                "field": "dependence.repeatedUnitVar",
                "op": "not_null"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "not_null"
              },
              {
                "field": "surveyDesign.strataVar",
                "op": "not_null"
              },
              {
                "field": "surveyDesign.psuVar",
                "op": "not_null"
              },
              {
                "field": "surveyDesign.replicateDesign",
                "op": "not_null"
              },
              {
                "all": [
                  {
                    "field": "studyDesign.samplingScheme",
                    "op": "not_null"
                  },
                  {
                    "field": "studyDesign.samplingScheme",
                    "op": "eq",
                    "value": "complex_survey"
                  }
                ]
              },
              {
                "field": "derived.viewRepeatsPerson",
                "op": "ne",
                "value": false
              },
              {
                "field": "surveyDesign.fpcVar",
                "op": "not_null"
              },
              {
                "field": "surveyDesign.replicateDesign.type",
                "op": "not_null"
              },
              {
                "field": "modeling.censoringType",
                "op": "is_null"
              },
              {
                "field": "modeling.censoringType",
                "op": "ne",
                "value": "exact_right"
              }
            ]
          }
        ]
      },
      "appliesWhenText": "modeling.templateId is answered and modeling.templateId is model.survival_companions and (dependence.clusterVar is answered or dependence.repeatedUnitVar is answered or surveyDesign.weightVar is answered or surveyDesign.strataVar is answered or surveyDesign.psuVar is answered or surveyDesign.replicateDesign is answered or (studyDesign.samplingScheme is answered and studyDesign.samplingScheme is complex_survey) or derived.viewRepeatsPerson is not false or surveyDesign.fpcVar is answered or surveyDesign.replicateDesign.type is answered or modeling.censoringType is not answered or modeling.censoringType is not exact_right)",
      "reasonPlain": "This survival producer cannot preserve the declared observation or sampling design.",
      "reasonExpert": "Use a supported likelihood and uncertainty calculation for the declared design.",
      "fineWhen": "Choose a matching supported survival model.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::2-audit-the-data-generating-and-measurement-processes:1"
          ]
        },
        {
          "sourceId": "survival_longitudinal",
          "sectionIds": [
            "survival_longitudinal::repeated-outcomes-and-small-cluster-inference:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "survival_longitudinal"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.5",
            "changedOn": "2026-11-02",
            "summary": "Proposed refusal for survival designs outside supported scope.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "core_analysis_workflow",
              "survival_longitudinal"
            ]
          },
          {
            "version": 2,
            "edition": "1.29",
            "changedOn": "2026-11-20",
            "summary": "The trigger reads modeling.templateId not_null first, so a plan with no method chosen decides the trigger false and is not reported at Run as a refusal that could not be decided.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "survival_longitudinal"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-NOGUIDE",
      "apiId": "r.noguide",
      "title": "No rule matched; route to a statistician",
      "kind": "escalation",
      "family": "library.no_guidance",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "draft",
      "overrideClass": "hard_block",
      "eCodes": [],
      "capabilityGap": true,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "derived.noRuleMatched",
            "op": "eq",
            "value": true
          }
        ]
      },
      "appliesWhenText": "derived.noRuleMatched is true",
      "reasonPlain": "No reviewed rule matches this design, so Safi does not guess a method. It writes a labelled plan and points you to a statistician.",
      "reasonExpert": "The rules table has no row for this context; the escalation path is a specialist route, never a silent substitution. Source: LLM_ROUTER.md (answer-contract).",
      "fineWhen": "Never fine to run a method nobody has reviewed for this design. A statistician can choose one.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::stop-and-obtain-specialist-input-when:1"
          ]
        },
        {
          "sourceId": "llm_router",
          "sectionIds": [
            "llm_router::answer-contract:1"
          ]
        },
        {
          "sourceId": "safi_integration",
          "sectionIds": [
            "safi_integration::execution-and-teaching-gates:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "llm_router",
          "safi_integration"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-14",
      "apiId": "rf.14",
      "title": "Trend without a unit identifier",
      "kind": "refusal",
      "family": "trend.unit_id_required",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-008"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "trend"
          }
        ]
      },
      "appliesWhenText": "objective.goal is trend",
      "reasonPlain": "A trend over repeated observations needs a column that identifies the unit.",
      "reasonExpert": "Repeated units, sampling variance and covariance across time must be preserved; without the unit identifier the observations are treated as independent. Source: methods/TREND_JOINPOINT_ANALYSIS.md (choose-among-trend-methods).",
      "fineWhen": "Never fine to skip. Name the unit column in Study design.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "trend_joinpoint_analysis",
          "sectionIds": [
            "trend_joinpoint_analysis::choose-among-trend-methods:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "trend_joinpoint_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-15",
      "apiId": "rf.15",
      "title": "Post hoc observed power",
      "kind": "refusal",
      "family": "power.post_hoc_refused",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-068"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "request.method",
            "op": "not_null"
          },
          {
            "field": "request.method",
            "op": "in",
            "value": [
              "power.post_hoc"
            ]
          }
        ]
      },
      "appliesWhenText": "request.method is answered and request.method is one of power.post_hoc",
      "reasonPlain": "Power calculated after the result says nothing the interval does not. Safi shows the interval instead.",
      "reasonExpert": "Observed power is a monotone function of the p-value and cannot inform interpretation; report interval width and design sensitivity. Source: methods/DESIGN_POWER_SIMULATION.md (define-the-design-objective).",
      "fineWhen": "Never fine. A power calculation made before the study is a different thing and is welcome.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "design_power_simulation",
          "sectionIds": [
            "design_power_simulation::define-the-design-objective:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "design_power_simulation"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-16",
      "apiId": "rf.16",
      "title": "Interaction without a declared scale",
      "kind": "refusal",
      "family": "interaction.scale_required",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-216"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "modeling.interaction.term",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "modeling.interaction.term is answered",
      "reasonPlain": "An interaction needs a stated scale, additive or multiplicative, because the answer differs by scale.",
      "reasonExpert": "Interaction on the additive and multiplicative scales answer different questions; report joint effects or standardised contrasts with uncertainty. Source: disciplines/EPIDEMIOLOGY_ANALYSIS.md (dose-response-interactions-and-bias-analysis).",
      "fineWhen": "Never fine to leave the scale unstated. Choose one in the modelling step.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "epidemiology_analysis",
          "sectionIds": [
            "epidemiology_analysis::dose-response-interactions-and-bias-analysis:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "epidemiology_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-17",
      "apiId": "rf.17",
      "title": "Stale sections before a run",
      "kind": "refusal",
      "family": "workflow.stale_sections",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-105"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is answered",
      "reasonPlain": "Some code sections are out of date because something upstream changed. Results from them could be stale.",
      "reasonExpert": "Stale numbers after data or plan changes must not reach the report; dependent outputs are rerun on a revised version. Source: methods/DATA_CLEANING_EXPLORATION.md (readiness-checkpoint).",
      "fineWhen": "Never fine to run on stale sections. Review or revise them first.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "data_cleaning_exploration",
          "sectionIds": [
            "data_cleaning_exploration::readiness-checkpoint:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "data_cleaning_exploration"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-18",
      "apiId": "rf.18",
      "title": "Poisson requested with dispersion above 1.5 or below 0.7",
      "kind": "guardrail",
      "family": "count.poisson_dispersion",
      "status": "active",
      "version": 1,
      "severity": "warn",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-075"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "count"
          },
          {
            "field": "request.method",
            "op": "not_null"
          },
          {
            "field": "request.method",
            "op": "eq",
            "value": "model.poisson_offset"
          }
        ]
      },
      "appliesWhenText": "modeling.outcomeFamily is count and request.method is answered and request.method is model.poisson_offset",
      "reasonPlain": "The Poisson fit shows more or less spread than a Poisson model expects. Safi flags this and says how it affects the standard errors.",
      "reasonExpert": "Pearson dispersion outside 0.7 to 1.5 flags model-based Poisson standard errors; the check is a flag reported after the fit, not a test that selects the method. The negative-binomial to Poisson switch at the theta boundary runs only when the Poisson dispersion is at most 1.2; above it the run stops under RF-NB-THETA-01 (a hard block of its own) and reports no count model. Source: methods/CORE_ANALYSIS_WORKFLOW.md (3-select-a-model-by-outcome-and-target).",
      "fineWhen": "Fine to keep the Poisson model with robust variance or quasi-Poisson. The flag is reported either way.",
      "hasPracticeEntry": true,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::3-select-a-model-by-outcome-and-target:1"
          ]
        },
        {
          "sourceId": "model_assumptions",
          "sectionIds": [
            "model_assumptions::model-specific-assumptions:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "model_assumptions"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-NB-THETA-01",
      "apiId": "rf.nb.theta.01",
      "title": "Negative binomial theta failed and the Poisson fallback is overdispersed",
      "kind": "refusal",
      "family": "count.poisson_dispersion",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-092"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "count"
          },
          {
            "field": "derived.nbFallbackDispersion",
            "op": "not_null"
          },
          {
            "field": "request.method",
            "op": "not_null"
          },
          {
            "field": "request.method",
            "op": "in",
            "value": [
              "model.nb_offset",
              "model.trend_unit_fe"
            ]
          }
        ]
      },
      "appliesWhenText": "modeling.outcomeFamily is count and derived.nbFallbackDispersion is answered and request.method is answered and request.method is one of model.nb_offset, model.trend_unit_fe",
      "reasonPlain": "The count model could not estimate its spread, and the simpler Poisson model that replaces it is too overdispersed to trust. No count model is reported.",
      "reasonExpert": "Theta did not converge, so the negative binomial is unusable, and the Poisson fallback has Pearson dispersion above 1.2 (EXTRAPOLATED), so its model-based standard errors are too small. A non-converged fit reported without disclosure is a hard block (E-092). The fallback runs only below the gate, as a computational failure and not an assumption test. Source: methods/CORE_ANALYSIS_WORKFLOW.md (3-select-a-model-by-outcome-and-target).",
      "fineWhen": "Never fine to report either model. Quasi-Poisson or a robust variance is the way forward, and neither is yet in Safi. The gate of 1.2 is EXTRAPOLATED.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::3-select-a-model-by-outcome-and-target:1"
          ]
        },
        {
          "sourceId": "model_assumptions",
          "sectionIds": [
            "model_assumptions::model-specific-assumptions:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "model_assumptions"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-20",
      "apiId": "rf.20",
      "title": "Fewer than 6 time points for a descriptive trend",
      "kind": "refusal",
      "family": "trend.min_points",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-011"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "trend"
          }
        ]
      },
      "appliesWhenText": "objective.goal is trend",
      "reasonPlain": "A descriptive trend needs at least 6 time points. Safi can describe the periods instead.",
      "reasonExpert": "Information about a trend is constrained by the number of time points and their precision. The threshold of 6 time points is EXTRAPOLATED: no measurement supports it. Source: methods/TREND_JOINPOINT_ANALYSIS.md (selection-and-uncertainty).",
      "fineWhen": "Fine to describe the periods without a trend claim. The threshold of 6 time points is EXTRAPOLATED.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "trend_joinpoint_analysis",
          "sectionIds": [
            "trend_joinpoint_analysis::selection-and-uncertainty:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "trend_joinpoint_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-SEP-01",
      "apiId": "rf.sep.01",
      "title": "Separation prevents maximum-likelihood logistic inference",
      "kind": "refusal",
      "family": "repair.statistical_stop",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-091"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "binary"
          },
          {
            "field": "modeling.templateId",
            "op": "not_null"
          },
          {
            "field": "modeling.templateId",
            "op": "eq",
            "value": "model.logistic"
          }
        ]
      },
      "appliesWhenText": "modeling.outcomeFamily is binary and modeling.templateId is answered and modeling.templateId is model.logistic",
      "reasonPlain": "The fitted model has separation, so maximum-likelihood logistic estimates are unbounded. None are reported.",
      "reasonExpert": "Under separation ML estimates and Wald intervals do not exist; penalised likelihood can address separation. Source: disciplines/BIOSTATISTICS_ANALYSIS.md (small-samples-rare-outcomes-and-multiplicity).",
      "fineWhen": "Never fine to report the ML estimate. Choose the Firth route or revise the model as a recorded decision.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "biostatistics_analysis",
          "sectionIds": [
            "biostatistics_analysis::small-samples-rare-outcomes-and-multiplicity:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "biostatistics_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "G-SPARSE-01",
      "apiId": "g.sparse.01",
      "title": "Sparse events or cells; penalization and precision warning",
      "kind": "guardrail",
      "family": "sparse.penalization",
      "status": "active",
      "version": 2,
      "severity": "warn",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-090"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "binary"
          },
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "derived.events",
            "op": "ge",
            "value": 1
          },
          {
            "field": "derived.nonEvents",
            "op": "ge",
            "value": 1
          },
          {
            "any": [
              {
                "field": "modeling.method",
                "op": "is_null"
              },
              {
                "field": "modeling.method",
                "op": "ne",
                "value": "model.multiple_imputation"
              },
              {
                "field": "modeling.effectMeasure",
                "op": "is_null"
              },
              {
                "field": "modeling.effectMeasure",
                "op": "ne",
                "value": "or"
              }
            ]
          }
        ]
      },
      "appliesWhenText": "modeling.outcomeFamily is binary and objective.goal is associate and derived.events is at least 1 and derived.nonEvents is at least 1 and (modeling.method is not answered or modeling.method is not model.multiple_imputation or modeling.effectMeasure is not answered or modeling.effectMeasure is not or)",
      "reasonPlain": "There are few events for the number of parameters. Estimates and intervals can be unstable, and a penalised (Firth-type) fit is the alternative that addresses it.",
      "reasonExpert": "Sparse-data bias and separation risk can be addressed by Firth-type penalisation with intercept correction and profile penalised-likelihood intervals when that template is the selected analysis; penalisation does not create information. This warning does not state which template is fitted. Source: disciplines/BIOSTATISTICS_ANALYSIS.md (small-samples-rare-outcomes-and-multiplicity).",
      "fineWhen": "Fine to continue with the selected analysis and read its intervals as imprecise, or to choose the penalised fit. Reducing the number of parameters is the other route.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "biostatistics_analysis",
          "sectionIds": [
            "biostatistics_analysis::small-samples-rare-outcomes-and-multiplicity:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "biostatistics_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.13",
            "changedOn": "2026-11-06",
            "summary": "The message, plain reason and fine-when no longer say the model is fitted with Firth-type penalization (false for any other selected template, such as the multiple-imputation logistic fit); they state the sparse-data risk and name the penalized fit as an alternative. The multiple-imputation logistic odds-ratio route is excluded from this row's trigger and has its own row, G-SPARSE-MI-01, which states what that route fits (a Firth-type penalized model in each imputed dataset, combined with Rubin's rules).",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "biostatistics_analysis"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "G-SPARSE-MI-01",
      "apiId": "g.sparse.mi.01",
      "title": "Sparse events or cells; Firth-type fit in each imputed dataset",
      "kind": "guardrail",
      "family": "sparse.penalization",
      "status": "active",
      "version": 1,
      "severity": "warn",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-090"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "binary"
          },
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "derived.events",
            "op": "ge",
            "value": 1
          },
          {
            "field": "derived.nonEvents",
            "op": "ge",
            "value": 1
          },
          {
            "field": "modeling.method",
            "op": "eq",
            "value": "model.multiple_imputation"
          },
          {
            "field": "modeling.effectMeasure",
            "op": "eq",
            "value": "or"
          }
        ]
      },
      "appliesWhenText": "modeling.outcomeFamily is binary and objective.goal is associate and derived.events is at least 1 and derived.nonEvents is at least 1 and modeling.method is model.multiple_imputation and modeling.effectMeasure is or",
      "reasonPlain": "There are few events for the number of parameters. Safi fits a Firth-type penalised logistic model in each imputed dataset and combines the results with Rubin's rules. Expect wide intervals.",
      "reasonExpert": "Sparse-data bias and separation risk are addressed by Firth-type penalisation with intercept correction (logistf) in each imputed dataset; the estimates are combined with Rubin's rules and the intervals are Rubin-combined Wald t intervals on the penalised estimates, not profile penalised-likelihood intervals. Penalisation does not create information. Source: disciplines/BIOSTATISTICS_ANALYSIS.md (small-samples-rare-outcomes-and-multiplicity).",
      "fineWhen": "Fine to continue and read the intervals as imprecise. Reducing the number of parameters is the other route.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "biostatistics_analysis",
          "sectionIds": [
            "biostatistics_analysis::small-samples-rare-outcomes-and-multiplicity:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "biostatistics_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.13",
            "changedOn": "2026-11-06",
            "summary": "Initial entry. The sparse-data warning for the multiple-imputation logistic odds-ratio route, split from G-SPARSE-01 because that route fits a Firth-type penalized model in each imputed dataset (logistf, intercept correction), combines the fits with Rubin's rules and reports Wald t intervals, not profile penalized-likelihood intervals.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "biostatistics_analysis"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "G-SPARSE-02",
      "apiId": "g.sparse.02",
      "title": "Separation detected after a first fit",
      "kind": "guardrail",
      "family": "sparse.separation",
      "status": "active",
      "version": 1,
      "severity": "warn",
      "phases": [
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-091"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "binary"
          }
        ]
      },
      "appliesWhenText": "modeling.outcomeFamily is binary",
      "reasonPlain": "The first fit found separation: a pattern in one predictor predicts the outcome perfectly. Ordinary estimates would be unbounded.",
      "reasonExpert": "Under separation the maximum-likelihood estimate does not exist and Wald intervals are meaningless; penalised likelihood is the remedy and ML inference is refused. Source: disciplines/BIOSTATISTICS_ANALYSIS.md (small-samples-rare-outcomes-and-multiplicity).",
      "fineWhen": "Never fine to report the ML or Wald estimate. Use the Firth route or revise the model as a recorded decision.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "biostatistics_analysis",
          "sectionIds": [
            "biostatistics_analysis::small-samples-rare-outcomes-and-multiplicity:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "biostatistics_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "G-COV-FEW",
      "apiId": "g.cov.few",
      "title": "Few-cluster inference label (G 4 to 19)",
      "kind": "guardrail",
      "family": "cluster_inference.few_clusters",
      "status": "active",
      "version": 1,
      "severity": "warn",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "context-dependent",
      "overrideClass": "overridable",
      "eCodes": [
        "E-013"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "dependence.clusterVar",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "dependence.clusterVar is answered",
      "reasonPlain": "With 4 to 19 clusters, ordinary cluster-robust errors are too optimistic. Safi uses small-sample methods and shows alternatives beside them.",
      "reasonExpert": "Sandwich estimators are biased down with few clusters; the wild-cluster bootstrap (linear models) and the CV3L cluster jackknife with t(G-1) (GLMs) are primary, with CR2 Satterthwaite and the bootstrap shown. Source: disciplines/BIOSTATISTICS_ANALYSIS.md (small-samples-rare-outcomes-and-multiplicity).",
      "fineWhen": "Fine to use asymptotic cluster-robust errors only when the clusters are many and similar in size. A recorded reason is required.",
      "hasPracticeEntry": true,
      "evidence": [
        {
          "sourceId": "biostatistics_analysis",
          "sectionIds": [
            "biostatistics_analysis::small-samples-rare-outcomes-and-multiplicity:1"
          ]
        },
        {
          "sourceId": "survival_longitudinal",
          "sectionIds": [
            "survival_longitudinal::repeated-outcomes-and-small-cluster-inference:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "survival_longitudinal"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "G-COV-MID",
      "apiId": "g.cov.mid",
      "title": "CR2 plus wild-cluster bootstrap tier (G 20 to 49)",
      "kind": "guardrail",
      "family": "cluster_inference.tier",
      "status": "active",
      "version": 1,
      "severity": "inform",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "overridable",
      "eCodes": [
        "E-013"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "dependence.clusterVar",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "dependence.clusterVar is answered",
      "reasonPlain": "With 20 to 49 clusters, a small-sample correction is needed. Safi reports one and shows a bootstrap beside it.",
      "reasonExpert": "CR2 with Satterthwaite degrees of freedom is the reported interval; a restricted wild-cluster bootstrap is shown for the primary coefficient (Pustejovsky and Tipton 2018; MacKinnon, Nielsen and Webb 2023). Source: methods/SURVIVAL_LONGITUDINAL.md (repeated-outcomes-and-small-cluster-inference).",
      "fineWhen": "Fine to report the CR2 interval alone when treated and control clusters are balanced and cluster sizes are similar.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "survival_longitudinal",
          "sectionIds": [
            "survival_longitudinal::repeated-outcomes-and-small-cluster-inference:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "survival_longitudinal"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "G-REPL-01",
      "apiId": "g.repl.01",
      "title": "Unreplicated comparison, one unit of assignment per treatment",
      "kind": "guardrail",
      "family": "design.unreplicated_comparison",
      "status": "active",
      "version": 1,
      "severity": "warn",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "overridable",
      "eCodes": [
        "E-007"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "derived.unitsAtMostGroups",
            "op": "eq",
            "value": true
          },
          {
            "any": [
              {
                "field": "derived.clusterIsAssignmentUnit",
                "op": "eq",
                "value": true
              },
              {
                "field": "derived.exposureConstantWithinCluster",
                "op": "eq",
                "value": true
              }
            ]
          }
        ]
      },
      "appliesWhenText": "derived.unitsAtMostGroups is true and (derived.clusterIsAssignmentUnit is true or derived.exposureConstantWithinCluster is true)",
      "reasonPlain": "Each treatment sits in a single unit, so differences between treatments cannot be separated from differences between those units. The comparison is descriptive.",
      "reasonExpert": "With one independently assigned unit per treatment the treatment comparison has no replication to estimate its own variability (E-007). The comparison is allowed as a description with this scope warning; an inference about the treatment effect is not supported. Source: methods/CORE_ANALYSIS_WORKFLOW.md (2-audit-the-data-generating-and-measurement-processes).",
      "fineWhen": "Fine as a descriptive comparison, with the scope stated. Replicate the treatments before claiming an effect.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::2-audit-the-data-generating-and-measurement-processes:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "safi_coding_standards"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "G-TBL-01",
      "apiId": "g.tbl.01",
      "title": "2x2 expected counts do not permit the N-1 chi-square",
      "kind": "guardrail",
      "family": "table_test.expected_counts",
      "status": "active",
      "version": 1,
      "severity": "inform",
      "phases": [
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-090"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "compare"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "binary"
          },
          {
            "field": "derived.tableShape",
            "op": "eq",
            "value": "2x2"
          }
        ]
      },
      "appliesWhenText": "objective.goal is compare and modeling.outcomeFamily is binary and derived.tableShape is 2x2",
      "reasonPlain": "The 2x2 table has small expected counts, so Safi uses the exact test and says so.",
      "reasonExpert": "When any expected count is under 5 or N is under 40 the N-1 chi-square is unreliable; Fisher's mid-p is reported, labelled. Yates' correction is never used. Source: disciplines/BIOSTATISTICS_ANALYSIS.md (small-samples-rare-outcomes-and-multiplicity).",
      "fineWhen": "Always fine. The exact test is the valid choice for these counts.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "biostatistics_analysis",
          "sectionIds": [
            "biostatistics_analysis::small-samples-rare-outcomes-and-multiplicity:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "biostatistics_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "G-TBL-02",
      "apiId": "g.tbl.02",
      "title": "r x c expected counts do not permit Pearson",
      "kind": "guardrail",
      "family": "table_test.expected_counts",
      "status": "active",
      "version": 1,
      "severity": "inform",
      "phases": [
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-090"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "compare"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "binary"
          },
          {
            "field": "derived.tableShape",
            "op": "eq",
            "value": "rxc"
          }
        ]
      },
      "appliesWhenText": "objective.goal is compare and modeling.outcomeFamily is binary and derived.tableShape is rxc",
      "reasonPlain": "The table has small expected counts, so Safi uses an exact test with the Pearson statistic.",
      "reasonExpert": "Pearson's chi-square needs adequate expected counts; an exact conditional mid-p test with the Pearson statistic is reported. Source: disciplines/BIOSTATISTICS_ANALYSIS.md (small-samples-rare-outcomes-and-multiplicity).",
      "fineWhen": "Always fine. The exact test is the valid choice for these counts.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "biostatistics_analysis",
          "sectionIds": [
            "biostatistics_analysis::small-samples-rare-outcomes-and-multiplicity:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "biostatistics_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "G-TRD-01",
      "apiId": "g.trd.01",
      "title": "Trend labelled exploratory under 12 points",
      "kind": "guardrail",
      "family": "trend.exploratory_label",
      "status": "active",
      "version": 1,
      "severity": "inform",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "overridable",
      "eCodes": [
        "E-069"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "trend"
          }
        ]
      },
      "appliesWhenText": "objective.goal is trend",
      "reasonPlain": "Fewer than 12 time points give little information about a trend, so the result is labelled exploratory.",
      "reasonExpert": "Information about a trend is bounded by the number of time points and their precision, not the underlying population size; short series are labelled exploratory. Source: methods/TREND_JOINPOINT_ANALYSIS.md (selection-and-uncertainty).",
      "fineWhen": "Fine to report a short series as exploratory. It cannot carry a confirmatory claim.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "trend_joinpoint_analysis",
          "sectionIds": [
            "trend_joinpoint_analysis::selection-and-uncertainty:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "trend_joinpoint_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "G-TRD-02",
      "apiId": "g.trd.02",
      "title": "Seasonality not adjusted under 24 monthly points",
      "kind": "guardrail",
      "family": "trend.seasonality",
      "status": "active",
      "version": 1,
      "severity": "inform",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-011"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "trend"
          },
          {
            "field": "longitudinal.periodicity",
            "op": "eq",
            "value": "monthly"
          }
        ]
      },
      "appliesWhenText": "objective.goal is trend and longitudinal.periodicity is monthly",
      "reasonPlain": "With fewer than 24 monthly points, seasonal effects cannot be estimated. The report says seasonality is not adjusted.",
      "reasonExpert": "Seasonal terms need at least two cycles of data to be estimable alongside trend and level; the report states the unadjusted seasonality as a limitation. Source: methods/QUASI_EXPERIMENTAL_DESIGNS.md (interrupted-time-series-its-and-synthetic-controls).",
      "fineWhen": "Fine when the question is not sensitive to seasons, such as yearly totals.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "quasi_experimental_designs",
          "sectionIds": [
            "quasi_experimental_designs::interrupted-time-series-its-and-synthetic-controls:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "quasi_experimental_designs"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "G-MULT-01",
      "apiId": "g.mult.01",
      "title": "Confirmatory family larger than about ten tests",
      "kind": "guardrail",
      "family": "multiplicity.family_size",
      "status": "active",
      "version": 1,
      "severity": "inform",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "overridable",
      "eCodes": [
        "E-063"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "derived.multiplicityKinds",
            "op": "contains",
            "value": "primary"
          }
        ]
      },
      "appliesWhenText": "derived.multiplicityKinds includes primary",
      "reasonPlain": "A large confirmatory family loses power under any correction. Safi asks whether every test really belongs in the family.",
      "reasonExpert": "Familywise procedures lose power as the family grows; the size of ten tests is extrapolated and informational only, and the library warns against hard counts. Source: methods/CORE_ANALYSIS_WORKFLOW.md (5-missingness-multiplicity-and-selection).",
      "fineWhen": "Fine to keep a large family when the claim really is 'any of these'. The adjustment method stays declared.",
      "hasPracticeEntry": true,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::5-missingness-multiplicity-and-selection:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "G-EFF-01",
      "apiId": "g.eff.01",
      "title": "An odds ratio is not a prevalence or risk ratio",
      "kind": "guardrail",
      "family": "effect_measure.or_common_outcome",
      "status": "active",
      "version": 1,
      "severity": "inform",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "overridable",
      "eCodes": [
        "E-215"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "any": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "associate"
              },
              {
                "all": [
                  {
                    "field": "objective.goal",
                    "op": "eq",
                    "value": "compare"
                  },
                  {
                    "field": "derived.tableShape",
                    "op": "eq",
                    "value": "2x2"
                  }
                ]
              }
            ]
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "binary"
          },
          {
            "field": "modeling.effectMeasure",
            "op": "eq",
            "value": "or"
          },
          {
            "field": "studyDesign.datasetType",
            "op": "ne",
            "value": "case_control"
          }
        ]
      },
      "appliesWhenText": "(objective.goal is associate or (objective.goal is compare and derived.tableShape is 2x2)) and modeling.outcomeFamily is binary and modeling.effectMeasure is or and studyDesign.datasetType is not case_control",
      "reasonPlain": "An odds ratio is not a risk ratio. When the outcome is common the two differ a lot, so Safi shows the odds ratio under its own name.",
      "reasonExpert": "OR/RR = (1 - p0)/(1 - p1) for given probabilities, so the OR overstates the RR as the outcome becomes common; ORs remain legitimate estimands but are not to be read as risk ratios. Source: disciplines/EPIDEMIOLOGY_ANALYSIS.md (design-determines-what-can-be-estimated).",
      "fineWhen": "Fine to use the odds ratio as the main measure with a recorded reason, for example a case-control design or a rare outcome. A prevalence or risk ratio is shown too.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "effect_measures_reporting",
          "sectionIds": [
            "effect_measures_reporting::conditional-versus-marginal-adjusted-effects:1",
            "effect_measures_reporting::design-specific-routing:1"
          ]
        },
        {
          "sourceId": "epidemiology_analysis",
          "sectionIds": [
            "epidemiology_analysis::design-determines-what-can-be-estimated:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "effect_measures_reporting",
          "epidemiology_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "G-CC-SAMPLING",
      "apiId": "g.cc.sampling",
      "title": "A case-control odds ratio with other, unknown or unrecorded control sampling has no population reading",
      "kind": "guardrail",
      "family": "effect_measure.case_control_sampling",
      "status": "active",
      "version": 2,
      "severity": "inform",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-215"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "studyDesign.datasetType",
            "op": "eq",
            "value": "case_control"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "binary"
          },
          {
            "field": "modeling.effectMeasure",
            "op": "eq",
            "value": "or"
          }
        ]
      },
      "appliesWhenText": "studyDesign.datasetType is case_control and modeling.outcomeFamily is binary and modeling.effectMeasure is or",
      "reasonPlain": "How the controls were chosen is not recorded, so the odds ratio has no population reading. It compares exposure in cases and controls only.",
      "reasonExpert": "Without a recorded control-sampling scheme the estimand is the exposure odds ratio only; prevalence ratio, risk ratio and risk difference need sampling fractions (Rothman, Greenland and Lash, Modern Epidemiology). Source: methods/EFFECT_MEASURES_REPORTING.md (design-specific-routing).",
      "fineWhen": "Never fine to give it a risk or prevalence reading. Recording the control scheme changes the wording, not the number.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "effect_measures_reporting",
          "sectionIds": [
            "effect_measures_reporting::design-specific-routing:1"
          ]
        },
        {
          "sourceId": "epidemiology_analysis",
          "sectionIds": [
            "epidemiology_analysis::design-determines-what-can-be-estimated:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "effect_measures_reporting",
          "epidemiology_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.2",
            "changedOn": "2026-10-24",
            "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "G-CC-RISK-SET",
      "apiId": "g.cc.risk.set",
      "title": "A risk-set sampled case-control odds ratio is an exposure odds ratio",
      "kind": "guardrail",
      "family": "effect_measure.case_control_sampling",
      "status": "active",
      "version": 2,
      "severity": "inform",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-215"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "studyDesign.datasetType",
            "op": "eq",
            "value": "case_control"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "binary"
          },
          {
            "field": "modeling.effectMeasure",
            "op": "eq",
            "value": "or"
          },
          {
            "field": "studyDesign.controlSampling",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "studyDesign.datasetType is case_control and modeling.outcomeFamily is binary and modeling.effectMeasure is or and studyDesign.controlSampling is answered",
      "reasonPlain": "With risk-set controls the odds ratio compares exposure among cases and controls. It is not the population odds ratio of the outcome.",
      "reasonExpert": "Density (risk-set) sampling matched to time at risk estimates the exposure odds ratio, which equals the incidence-rate ratio under stable exposure; it is not the cumulative odds ratio. Source: methods/EFFECT_MEASURES_REPORTING.md (design-specific-routing).",
      "fineWhen": "Never fine to read it as a population odds ratio or a risk ratio. It can be read as a rate ratio when exposure among those at risk is stable.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "effect_measures_reporting",
          "sectionIds": [
            "effect_measures_reporting::design-specific-routing:1"
          ]
        },
        {
          "sourceId": "epidemiology_analysis",
          "sectionIds": [
            "epidemiology_analysis::design-determines-what-can-be-estimated:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "effect_measures_reporting",
          "epidemiology_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.2",
            "changedOn": "2026-10-24",
            "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "G-CC-CASE-BASE",
      "apiId": "g.cc.case.base",
      "title": "A case-base sampled odds ratio is not reported as a risk ratio",
      "kind": "guardrail",
      "family": "effect_measure.case_control_sampling",
      "status": "active",
      "version": 2,
      "severity": "inform",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-215"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "studyDesign.datasetType",
            "op": "eq",
            "value": "case_control"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "binary"
          },
          {
            "field": "modeling.effectMeasure",
            "op": "eq",
            "value": "or"
          },
          {
            "field": "studyDesign.controlSampling",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "studyDesign.datasetType is case_control and modeling.outcomeFamily is binary and modeling.effectMeasure is or and studyDesign.controlSampling is answered",
      "reasonPlain": "With case-base controls the odds ratio estimates a risk ratio, but Safi does not yet correct its interval, so it is not shown as a risk ratio.",
      "reasonExpert": "Case-cohort (case-base) sampling identifies the risk ratio, but the variance must account for subcohort cases appearing twice (Prentice or robust estimator); the ordinary logistic interval does not. Source: methods/EFFECT_MEASURES_REPORTING.md (design-specific-routing).",
      "fineWhen": "Never fine to label the unadjusted interval as a risk-ratio interval. The exposure odds ratio is reported under its own name.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "effect_measures_reporting",
          "sectionIds": [
            "effect_measures_reporting::design-specific-routing:1"
          ]
        },
        {
          "sourceId": "epidemiology_analysis",
          "sectionIds": [
            "epidemiology_analysis::design-determines-what-can-be-estimated:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "effect_measures_reporting",
          "epidemiology_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.2",
            "changedOn": "2026-10-24",
            "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "G-COMB-CONFIRM-01",
      "apiId": "g.comb.confirm.01",
      "title": "A declared combination of sources has not been confirmed with its gained and lost rows",
      "kind": "guardrail",
      "family": "combine.confirmation",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-043"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "dataReadiness.joinCheck.leftDatasetId",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "dataReadiness.joinCheck.leftDatasetId is answered",
      "reasonPlain": "Two files are to be combined, but the combined dataset and what it gains and loses (rows with no partner, repeated keys, disagreeing values) have not been confirmed. An analysis on combined data nobody has reviewed can silently drop or duplicate people.",
      "reasonExpert": "Combining sources changes the analysis population. The unmatched, duplicate and conflicting records counted at each step are the gained and lost rows; a model fitted before they are reviewed has an unexamined selection step (R-COMB-02, R-COMB-06). The confirmation is bound to the exact declared combination, so a changed key, relationship or normalization asks again.",
      "fineWhen": "Never fine to analyse combined data unreviewed. Confirming takes one step on the join check.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "data_cleaning_exploration",
          "sectionIds": [
            "data_cleaning_exploration::stage-0-understand-provenance-and-preserve-inputs:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "data_cleaning_exploration"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.27",
            "changedOn": "2026-11-13",
            "summary": "Initial entry. A declared combination of sources has not been confirmed with its gained and lost rows (R-COMB-06).",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "data_cleaning_exploration"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "G-SUP-01",
      "apiId": "g.sup.01",
      "title": "Identifiable-person data needs the suppression threshold of 10",
      "kind": "guardrail",
      "family": "suppression.threshold",
      "status": "active",
      "version": 1,
      "severity": "inform",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "policy_block",
      "eCodes": [
        "E-120"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "dataReadiness.identifiableData",
            "op": "eq",
            "value": true
          }
        ]
      },
      "appliesWhenText": "dataReadiness.identifiableData is true",
      "reasonPlain": "Data about identifiable people need a minimum count of 10 in any released cell. Safi raised your setting of 5 to 10.",
      "reasonExpert": "The suppression threshold is a policy term enforced by the owner; small counts need interval methods and disclosure handling, and suppression is not a zero. Source: disciplines/PUBLIC_HEALTH_ANALYSIS.md (rates-denominators-and-standardization).",
      "fineWhen": "Lifted only by a data agreement that permits a lower threshold and the approval of a named reviewer, entered as a declaration with its evidence. A justification alone does not lift it.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "public_health_analysis",
          "sectionIds": [
            "public_health_analysis::rates-denominators-and-standardization:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "public_health_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "G-BASE-01",
      "apiId": "g.base.01",
      "title": "Randomized baseline table carries no significance tests",
      "kind": "guardrail",
      "family": "baseline_table.no_tests",
      "status": "active",
      "version": 1,
      "severity": "inform",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "overridable",
      "eCodes": [
        "E-065"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "describe"
          }
        ]
      },
      "appliesWhenText": "objective.goal is describe",
      "reasonPlain": "In a randomised trial, any difference between the groups at baseline arose by chance, so a p-value for it tests nothing useful.",
      "reasonExpert": "A baseline significance test in a randomised trial tests a null hypothesis known to be true by construction; imbalance is judged by its size and prognostic weight (CONSORT 2010, item 15). Source: methods/DATA_CLEANING_EXPLORATION.md (stage-5-bivariable-scientific-description).",
      "fineWhen": "A journal or reviewer asks for baseline p-values. Safi can show them with your recorded reason, labelled as not tests of randomisation.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "data_cleaning_exploration",
          "sectionIds": [
            "data_cleaning_exploration::stage-5-bivariable-scientific-description:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "data_cleaning_exploration"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-RDS-SRS",
      "apiId": "rf.rds.srs",
      "title": "No simple-random-sampling standard errors for a respondent-driven sample",
      "kind": "refusal",
      "family": "survey.rds_srs",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-149"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "surveyDesign.rdsDesign.idVar",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "surveyDesign.rdsDesign.idVar is answered",
      "reasonPlain": "A respondent-driven sample is recruited through contacts, so ordinary sampling-error formulas do not describe it. Population estimates get recruitment-aware intervals instead.",
      "reasonExpert": "R-RDS-02: simple-random-sampling standard errors, an ordinary bootstrap or a conventional design effect ignore recruitment dependence and degree-proportional selection. The crude sample proportion is shown only as the unadjusted sample proportion. Source: methods/RESPONDENT_DRIVEN_SAMPLING.md (uncertainty-and-multivariable-analysis).",
      "fineWhen": "Never fine for a population estimate; the unadjusted sample proportion may be shown as describing this sample only.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "respondent_driven_sampling",
          "sectionIds": [
            "respondent_driven_sampling::uncertainty-and-multivariable-analysis:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "respondent_driven_sampling"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.27",
            "changedOn": "2026-11-12",
            "summary": "Initial entry: refuse simple-random-sampling standard errors for RDS population estimates (E-149).",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "respondent_driven_sampling"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-RDS-SS-NO-N",
      "apiId": "rf.rds.ss.no.n",
      "title": "Successive sampling needs a population size you declare",
      "kind": "refusal",
      "family": "survey.rds_ss_no_n",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-150"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "surveyDesign.rdsDesign.estimators",
            "op": "not_null"
          },
          {
            "field": "surveyDesign.rdsDesign.estimators",
            "op": "contains",
            "value": "successive_sampling"
          }
        ]
      },
      "appliesWhenText": "surveyDesign.rdsDesign.estimators is answered and surveyDesign.rdsDesign.estimators includes successive_sampling",
      "reasonPlain": "The successive-sampling estimator needs the size of the hidden population. Safi runs it only at a size or range you give, never at a default.",
      "reasonExpert": "R-RDS-03: the successive-sampling estimator models sampling without replacement and depends on the population size input; results move with it. It runs at the declared value, or at both ends of a declared range, and is compared with RDS-II. Source: methods/RESPONDENT_DRIVEN_SAMPLING.md (estimator-choices).",
      "fineWhen": "Fine once a population size or a plausible range is declared.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "respondent_driven_sampling",
          "sectionIds": [
            "respondent_driven_sampling::estimator-choices:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "respondent_driven_sampling"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.27",
            "changedOn": "2026-11-12",
            "summary": "Initial entry: refuse successive sampling without a declared population size or range (E-150).",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "respondent_driven_sampling"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-RDS-SNOWBALL",
      "apiId": "rf.rds.snowball",
      "title": "Snowball and time-location samples are not analysed with RDS estimators",
      "kind": "refusal",
      "family": "survey.rds_snowball",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-153"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "studyDesign.samplingScheme",
            "op": "not_null"
          },
          {
            "field": "studyDesign.samplingScheme",
            "op": "in",
            "value": [
              "snowball",
              "time_location"
            ]
          }
        ]
      },
      "appliesWhenText": "studyDesign.samplingScheme is answered and studyDesign.samplingScheme is one of snowball, time_location",
      "reasonPlain": "A chain-referral (snowball) sample from convenience seeds, or a venue sample without attendance frequencies, does not support a population estimate. It is labelled as a non-probability sample.",
      "reasonExpert": "R-RDS-08: RDS estimators are offered only for samples declared as respondent-driven with coupon-based recruitment. Snowball and time-location samples without venue-attendance frequencies are non-probability samples (R-SEL-02). Time-location design weights are not built in this release. Source: methods/RESPONDENT_DRIVEN_SAMPLING.md (design-and-target-before-weights).",
      "fineWhen": "Fine for describing the participants, or after an adjustment with population information.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "respondent_driven_sampling",
          "sectionIds": [
            "respondent_driven_sampling::design-and-target-before-weights:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "respondent_driven_sampling"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.27",
            "changedOn": "2026-11-12",
            "summary": "Initial entry: refuse population estimates from snowball and time-location samples without attendance frequencies (E-153).",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "respondent_driven_sampling"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "G-REF-01",
      "apiId": "g.ref.01",
      "title": "Categorical predictor without an explicit reference level",
      "kind": "guardrail",
      "family": "reference_levels.missing",
      "status": "active",
      "version": 1,
      "severity": "inform",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-130"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "derived.predictorIsCategorical",
            "op": "eq",
            "value": true
          }
        ]
      },
      "appliesWhenText": "derived.predictorIsCategorical is true",
      "reasonPlain": "A category variable has no stated comparison group, so the results could be misread. Please name it.",
      "reasonExpert": "Reference levels set once in the import section keep every model's coefficients comparable and make the direction of effects unambiguous. Source: SAFI_CODING_STANDARDS.md (modern-r-conventions).",
      "fineWhen": "Always fine to go on with Safi's stated default. It is shown with its reason.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "safi_coding_standards",
          "sectionIds": [
            "safi_coding_standards::modern-r-conventions:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "safi_coding_standards"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "G-SENS-01",
      "apiId": "g.sens.01",
      "title": "No prespecified sensitivity plan",
      "kind": "guardrail",
      "family": "sensitivity.plan_missing",
      "status": "active",
      "version": 1,
      "severity": "warn",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-076"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "in",
            "value": [
              "associate",
              "trend"
            ]
          }
        ]
      },
      "appliesWhenText": "objective.goal is one of associate, trend",
      "reasonPlain": "No sensitivity analyses are planned. A short plan of what could change the conclusion makes the result easier to trust.",
      "reasonExpert": "A prespecified sensitivity plan ties each important assumption (missingness, confounding, functional form, covariance) to scenarios and design-correct refits. Source: methods/CORE_ANALYSIS_WORKFLOW.md (6-validation-and-sensitivity).",
      "fineWhen": "Fine to proceed without one for a descriptive question. For an association, name at least one assumption to vary.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::6-validation-and-sensitivity:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "G-FORM-01",
      "apiId": "g.form.01",
      "title": "Continuous covariate with no declared functional form",
      "kind": "guardrail",
      "family": "functional_form.spline_default",
      "status": "active",
      "version": 1,
      "severity": "inform",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "overridable",
      "eCodes": [
        "E-203"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "derived.covariatesContinuous",
            "op": "ge",
            "value": 1
          }
        ]
      },
      "appliesWhenText": "derived.covariatesContinuous is at least 1",
      "reasonPlain": "A continuous variable has no stated shape. Safi offers a flexible curve first because a straight line may hide the real pattern.",
      "reasonExpert": "A restricted cubic spline is offered as default with linear as the alternative (Sauerbrei et al. 2020, STRATOS TG2); an unexamined linear term can bias the adjustment and the effect. Source: methods/FUNCTIONAL_FORM.md (preserve-information-while-matching-the-question).",
      "fineWhen": "Fine to use a straight line when prior knowledge or a spline-versus-linear comparison supports it. Record the reason.",
      "hasPracticeEntry": true,
      "evidence": [
        {
          "sourceId": "functional_form",
          "sectionIds": [
            "functional_form::preserve-information-while-matching-the-question:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "functional_form"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "G-MISS-01",
      "apiId": "g.miss.01",
      "title": "Missing model variables without a missingness plan",
      "kind": "guardrail",
      "family": "missingness.readiness_check",
      "status": "active",
      "version": 1,
      "severity": "warn",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "overridable",
      "eCodes": [
        "E-052"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "in",
            "value": [
              "compare",
              "associate",
              "trend"
            ]
          },
          {
            "field": "derived.anyMissingInModelVars",
            "op": "eq",
            "value": true
          }
        ]
      },
      "appliesWhenText": "objective.goal is one of compare, associate, trend and derived.anyMissingInModelVars is true",
      "reasonPlain": "Some model variables have gaps and no plan says how to treat them. Complete-case analysis is only fine under conditions you state.",
      "reasonExpert": "Complete-case analysis is valid for regression coefficients when missingness is independent of the outcome given the covariates, and for the full data under MCAR; the assumption must be stated and a sensitivity analysis run. Source: methods/CORE_ANALYSIS_WORKFLOW.md (5-missingness-multiplicity-and-selection).",
      "fineWhen": "Fine when you state that missingness does not depend on the outcome given the model variables. Safi does not yet run multiple imputation beside it; the plan says so.",
      "hasPracticeEntry": true,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::5-missingness-multiplicity-and-selection:1"
          ]
        },
        {
          "sourceId": "missing_data_measurement",
          "sectionIds": [
            "missing_data_measurement::choosing-the-primary-strategy:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "missing_data_measurement"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "G-CMP-01",
      "apiId": "g.cmp.01",
      "title": "Smallest comparison group under 30",
      "kind": "guardrail",
      "family": "group_test.small_groups",
      "status": "active",
      "version": 1,
      "severity": "inform",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-076"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "compare"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "continuous"
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is compare and modeling.outcomeFamily is continuous and dependence.clusterVar is not answered",
      "reasonPlain": "With under 30 in the smallest group, the usual test is still fine. Safi shows the group sizes next to the result.",
      "reasonExpert": "Welch's test keeps its size down to small groups for roughly symmetric data; for skewed positive outcomes a log-link Gamma GLM keeps the mean scale. No normality pre-test selects the test. Source: methods/CORE_ANALYSIS_WORKFLOW.md (3-select-a-model-by-outcome-and-target).",
      "fineWhen": "Always fine to proceed. This is information about precision, not a problem with the method.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::3-select-a-model-by-outcome-and-target:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "G-DEP-01",
      "apiId": "g.dep.01",
      "title": "Declared cluster with independence asserted",
      "kind": "guardrail",
      "family": "design.dependence_asserted_away",
      "status": "active",
      "version": 1,
      "severity": "warn",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-006",
        "E-008"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "dependence.clusterVar",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "dependence.clusterVar is answered",
      "reasonPlain": "You named a cluster but said the rows are independent. A small intraclass correlation does not remove a known design feature.",
      "reasonExpert": "Declared clustering fixes the unit of replication; a low estimated ICC is not evidence of independence, and testing it before choosing the covariance leaks the outcome into the design. Source: SAFI_CODING_STANDARDS.md (3-preserve-design-through-the-entire-pipeline).",
      "fineWhen": "Never fine to analyse declared clusters as independent. Change the declaration only if the data really are independent.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "safi_coding_standards",
          "sectionIds": [
            "safi_coding_standards::3-preserve-design-through-the-entire-pipeline:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "safi_coding_standards"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "G-FACTOR-01",
      "apiId": "g.factor.01",
      "title": "Principal components requested to explore structure, or eigenvalue-only retention",
      "kind": "guardrail",
      "family": "agreement.factor_defaults",
      "status": "active",
      "version": 1,
      "severity": "warn",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-185"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "measure_agreement"
          },
          {
            "field": "modeling.agreement.kind",
            "op": "not_null"
          },
          {
            "field": "modeling.agreement.kind",
            "op": "eq",
            "value": "factor_exploration"
          }
        ]
      },
      "appliesWhenText": "objective.goal is measure_agreement and modeling.agreement.kind is answered and modeling.agreement.kind is factor_exploration",
      "reasonPlain": "Principal components describe the items as weighted sums; they do not find latent factors. Safi runs the common-factor analysis instead and shows how many factors several rules suggest.",
      "reasonExpert": "Principal components are accepted when the purpose is declared as data reduction and are labelled components. For structure exploration the default is the common-factor model with seeded parallel analysis and an oblique rotation, because eigenvalue-only retention and components presented as factors misstate the structure (Fabrigar et al. 1999; Zwick and Velicer 1986). Source: methods/FACTOR_ANALYSIS.md (1-common-factors-or-components).",
      "fineWhen": "Fine to keep components when the purpose really is data reduction: declare it and the components are produced and labelled as components, with no message about components. The eigenvalue rule still draws the warning.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "factor_analysis",
          "sectionIds": [
            "factor_analysis::1-common-factors-or-components:1",
            "factor_analysis::2-how-many-factors:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "factor_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.27",
            "changedOn": "2026-11-13",
            "summary": "Initial entry. Principal components requested to explore structure, or eigenvalue-only retention (ST-10).",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "factor_analysis"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "G-INVARIANCE-01",
      "apiId": "g.invariance.01",
      "title": "Scale score compared across groups without a measurement-invariance check",
      "kind": "guardrail",
      "family": "agreement.invariance_warning",
      "status": "active",
      "version": 1,
      "severity": "warn",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-059"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "in",
            "value": [
              "compare",
              "associate"
            ]
          },
          {
            "field": "modeling.outcomeScale.isScaleScore",
            "op": "not_null"
          },
          {
            "field": "modeling.outcomeScale.isScaleScore",
            "op": "eq",
            "value": true
          }
        ]
      },
      "appliesWhenText": "objective.goal is one of compare, associate and modeling.outcomeScale.isScaleScore is answered and modeling.outcomeScale.isScaleScore is true",
      "reasonPlain": "The outcome is a score on a multi-item scale and no check shows that the scale measures the same thing in each group. A difference in the score may reflect the scale, not the groups.",
      "reasonExpert": "Group comparisons on scale scores assume measurement invariance (at least scalar for means); it is rarely tested (E-059). Q-INVARIANCE was answered warn, not block: the comparison runs, the warning is disclosed, and the invariance analysis is offered. Source: methods/FACTOR_ANALYSIS.md (6-measurement-invariance-across-groups).",
      "fineWhen": "Fine to proceed when invariance was checked elsewhere (record it) or the limitation is stated beside the comparison.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "factor_analysis",
          "sectionIds": [
            "factor_analysis::6-measurement-invariance-across-groups:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "factor_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.27",
            "changedOn": "2026-11-13",
            "summary": "Initial entry. Scale score compared across groups without a measurement-invariance check (ST-10).",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "factor_analysis"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "G-SRV-01",
      "apiId": "g.srv.01",
      "title": "Weight type not confirmed",
      "kind": "guardrail",
      "family": "survey.weight_type_unconfirmed",
      "status": "active",
      "version": 1,
      "severity": "warn",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-309"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "surveyDesign.weightVar",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "surveyDesign.weightVar is answered",
      "reasonPlain": "A weight column is named but its type is not confirmed. Different weight types are not interchangeable.",
      "reasonExpert": "Frequency, precision, treatment and probability weights enter variance estimation differently; the survey routing follows the confirmed type, not the column name. Source: disciplines/SURVEY_SCIENCE_ANALYSIS.md (design-specification-is-part-of-the-analysis).",
      "fineWhen": "Always fine to continue once you confirm the weight type.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "survey_science_analysis",
          "sectionIds": [
            "survey_science_analysis::design-specification-is-part-of-the-analysis:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "survey_science_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "G-CNT-01",
      "apiId": "g.cnt.01",
      "title": "Count outcome without an exposure offset",
      "kind": "guardrail",
      "family": "count.no_offset",
      "status": "active",
      "version": 1,
      "severity": "inform",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-074",
        "E-075"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "count"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and modeling.outcomeFamily is count",
      "reasonPlain": "No exposure time is named, so the result is a count ratio and Safi will not call it a rate.",
      "reasonExpert": "Without an offset the model estimates a ratio of expected counts per unit, not an incidence rate ratio, and an omitted offset when exposure differs between units is an error in itself; naming the exposure column makes the rate reading valid. Source: methods/EFFECT_MEASURES_REPORTING.md (design-specific-routing).",
      "fineWhen": "Fine when every unit was observed for the same length of time. Then the count ratio is the rate ratio up to a constant.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "effect_measures_reporting",
          "sectionIds": [
            "effect_measures_reporting::design-specific-routing:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "effect_measures_reporting"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "P-REG-01",
      "apiId": "p.reg.01",
      "title": "Requested method or template not implemented in the registry",
      "kind": "guardrail",
      "family": "registry.unsupported_combination",
      "status": "active",
      "version": 1,
      "severity": "plan_only",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [],
      "capabilityGap": true,
      "eventualClass": null,
      "appliesWhen": {
        "any": [
          {
            "field": "modeling.templateId",
            "op": "not_null"
          },
          {
            "field": "modeling.method",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "modeling.templateId is answered or modeling.method is answered",
      "reasonPlain": "Safi has not validated this combination of model and design. You get a labelled plan and draft code.",
      "reasonExpert": "The registry has no implemented entry for this model and design pair; a clearly labelled plan with an honest validation status replaces silent substitution. Source: SAFI_INTEGRATION.md (execution-and-teaching-gates).",
      "fineWhen": "Fine to use the plan and draft code after your own review.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "safi_integration",
          "sectionIds": [
            "safi_integration::execution-and-teaching-gates:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "safi_integration"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-METHOD-UNKNOWN",
      "apiId": "rf.method.unknown",
      "title": "Requested method is not in the registry",
      "kind": "refusal",
      "family": "registry.unsupported_combination",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [],
      "capabilityGap": true,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "request.method",
            "op": "not_null"
          },
          {
            "field": "registry.status",
            "op": "eq",
            "value": "missing"
          }
        ]
      },
      "appliesWhenText": "request.method is answered and registry.status is missing",
      "reasonPlain": "Safi does not know the method you asked for, so it will not guess which analysis you meant.",
      "reasonExpert": "registry.status describes the requested method; \"missing\" means no registry entry names it. Planning another method silently would substitute an analysis. Source: SAFI_INTEGRATION.md (execution-and-teaching-gates).",
      "fineWhen": "Fine once the method is registered, or when the request names a registered method.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "safi_integration",
          "sectionIds": [
            "safi_integration::execution-and-teaching-gates:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow",
          "safi_integration"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "P-TTE-01",
      "apiId": "p.tte.01",
      "title": "Survival analysis is not available for this combination",
      "kind": "guardrail",
      "family": "registry.unsupported_combination",
      "status": "active",
      "version": 3,
      "severity": "plan_only",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-053"
      ],
      "capabilityGap": true,
      "eventualClass": "hard_block",
      "appliesWhen": {
        "all": [
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "time_to_event"
          },
          {
            "not": {
              "all": [
                {
                  "field": "objective.goal",
                  "op": "eq",
                  "value": "associate"
                },
                {
                  "field": "modeling.outcomeFamily",
                  "op": "eq",
                  "value": "time_to_event"
                },
                {
                  "field": "dependence.clusterVar",
                  "op": "is_null"
                },
                {
                  "field": "surveyDesign.weightVar",
                  "op": "is_null"
                },
                {
                  "field": "modeling.hasCompetingEvent",
                  "op": "eq",
                  "value": false
                },
                {
                  "field": "derived.viewRepeatsPerson",
                  "op": "eq",
                  "value": false
                },
                {
                  "any": [
                    {
                      "field": "modeling.censoringType",
                      "op": "is_null"
                    },
                    {
                      "field": "modeling.censoringType",
                      "op": "eq",
                      "value": "exact_right"
                    }
                  ]
                },
                {
                  "field": "modeling.survivalAnalysis.horizon",
                  "op": "is_null"
                }
              ]
            }
          },
          {
            "not": {
              "all": [
                {
                  "field": "objective.goal",
                  "op": "in",
                  "value": [
                    "associate",
                    "compare"
                  ]
                },
                {
                  "field": "modeling.outcomeFamily",
                  "op": "eq",
                  "value": "time_to_event"
                },
                {
                  "field": "modeling.censoringType",
                  "op": "eq",
                  "value": "exact_right"
                },
                {
                  "field": "modeling.survivalAnalysis.horizon",
                  "op": "not_null"
                },
                {
                  "field": "dependence.clusterVar",
                  "op": "is_null"
                },
                {
                  "field": "dependence.repeatedUnitVar",
                  "op": "is_null"
                },
                {
                  "field": "surveyDesign.weightVar",
                  "op": "is_null"
                },
                {
                  "field": "surveyDesign.strataVar",
                  "op": "is_null"
                },
                {
                  "field": "surveyDesign.psuVar",
                  "op": "is_null"
                },
                {
                  "field": "surveyDesign.fpcVar",
                  "op": "is_null"
                },
                {
                  "field": "surveyDesign.replicateDesign.type",
                  "op": "is_null"
                },
                {
                  "any": [
                    {
                      "field": "studyDesign.samplingScheme",
                      "op": "is_null"
                    },
                    {
                      "field": "studyDesign.samplingScheme",
                      "op": "ne",
                      "value": "complex_survey"
                    }
                  ]
                },
                {
                  "field": "derived.viewRepeatsPerson",
                  "op": "eq",
                  "value": false
                },
                {
                  "field": "modeling.hasCompetingEvent",
                  "op": "in",
                  "value": [
                    true,
                    false
                  ]
                }
              ]
            }
          },
          {
            "not": {
              "all": [
                {
                  "field": "objective.goal",
                  "op": "eq",
                  "value": "associate"
                },
                {
                  "field": "modeling.outcomeFamily",
                  "op": "eq",
                  "value": "time_to_event"
                },
                {
                  "field": "modeling.censoringType",
                  "op": "eq",
                  "value": "interval"
                },
                {
                  "field": "modeling.intervalCensoring.lowerBoundVar",
                  "op": "not_null"
                },
                {
                  "field": "dependence.clusterVar",
                  "op": "is_null"
                },
                {
                  "field": "dependence.repeatedUnitVar",
                  "op": "is_null"
                },
                {
                  "field": "surveyDesign.weightVar",
                  "op": "is_null"
                },
                {
                  "field": "surveyDesign.strataVar",
                  "op": "is_null"
                },
                {
                  "field": "surveyDesign.psuVar",
                  "op": "is_null"
                },
                {
                  "field": "surveyDesign.fpcVar",
                  "op": "is_null"
                },
                {
                  "field": "surveyDesign.replicateDesign.type",
                  "op": "is_null"
                },
                {
                  "any": [
                    {
                      "field": "studyDesign.samplingScheme",
                      "op": "is_null"
                    },
                    {
                      "field": "studyDesign.samplingScheme",
                      "op": "ne",
                      "value": "complex_survey"
                    }
                  ]
                },
                {
                  "field": "derived.viewRepeatsPerson",
                  "op": "eq",
                  "value": false
                },
                {
                  "field": "modeling.hasCompetingEvent",
                  "op": "eq",
                  "value": false
                }
              ]
            }
          }
        ]
      },
      "appliesWhenText": "modeling.outcomeFamily is time_to_event and not ((objective.goal is associate and modeling.outcomeFamily is time_to_event and dependence.clusterVar is not answered and surveyDesign.weightVar is not answered and modeling.hasCompetingEvent is false and derived.viewRepeatsPerson is false and (modeling.censoringType is not answered or modeling.censoringType is exact_right) and modeling.survivalAnalysis.horizon is not answered)) and not ((objective.goal is one of associate, compare and modeling.outcomeFamily is time_to_event and modeling.censoringType is exact_right and modeling.survivalAnalysis.horizon is answered and dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and surveyDesign.weightVar is not answered and surveyDesign.strataVar is not answered and surveyDesign.psuVar is not answered and surveyDesign.fpcVar is not answered and surveyDesign.replicateDesign.type is not answered and (studyDesign.samplingScheme is not answered or studyDesign.samplingScheme is not complex_survey) and derived.viewRepeatsPerson is false and modeling.hasCompetingEvent is one of true, false)) and not ((objective.goal is associate and modeling.outcomeFamily is time_to_event and modeling.censoringType is interval and modeling.intervalCensoring.lowerBoundVar is answered and dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and surveyDesign.weightVar is not answered and surveyDesign.strataVar is not answered and surveyDesign.psuVar is not answered and surveyDesign.fpcVar is not answered and surveyDesign.replicateDesign.type is not answered and (studyDesign.samplingScheme is not answered or studyDesign.samplingScheme is not complex_survey) and derived.viewRepeatsPerson is false and modeling.hasCompetingEvent is false))",
      "reasonPlain": "This declared outcome, censoring and design combination is not supported by an executable analysis here. No model was fitted and no result was produced; keep the labelled plan for planning or choose a supported endpoint and design.",
      "reasonExpert": "The available executable routes do not cover this exact combination of estimand, censoring declaration and design. This is a planning refusal, not a fitted survival model or a result. Select an endpoint and design with a supported route before interpreting estimates.",
      "fineWhen": "Use this labelled plan for planning only. Before interpreting results, choose a supported endpoint and design combination.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "survival_longitudinal",
          "sectionIds": [
            "survival_longitudinal::operational-time-to-event-and-competing-risk-workflow:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "survival_longitudinal"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.5",
            "changedOn": "2026-11-02",
            "summary": "Proposed researcher-facing refusal for unsupported survival estimand, censoring and design combinations.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "survival_longitudinal"
            ]
          },
          {
            "version": 3,
            "edition": "1.29",
            "changedOn": "2026-11-20",
            "summary": "The complement block of R-ASC-SURV-01 reads goal associate or compare, so the refusal no longer fires on a group comparison that the survival route now admits.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "survival_longitudinal"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "P-NOM-01",
      "apiId": "p.nom.01",
      "title": "Nominal outcomes (multinomial) arrive in Stage 2",
      "kind": "guardrail",
      "family": "registry.unsupported_combination",
      "status": "active",
      "version": 1,
      "severity": "plan_only",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-205"
      ],
      "capabilityGap": true,
      "eventualClass": "overridable",
      "appliesWhen": {
        "all": [
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "nominal"
          }
        ]
      },
      "appliesWhenText": "modeling.outcomeFamily is nominal",
      "reasonPlain": "A nominal outcome needs a multinomial model, which is not yet in Safi. You get a labelled plan.",
      "reasonExpert": "Multinomial logistic regression has no validated template; ordinal codes are never treated as numeric and the plan is marked not validated. Source: methods/CORE_ANALYSIS_WORKFLOW.md (3-select-a-model-by-outcome-and-target).",
      "fineWhen": "Fine to use the plan and run the model elsewhere.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::3-select-a-model-by-outcome-and-target:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "P-MATCH-01",
      "apiId": "p.match.01",
      "title": "Matched sets need conditional logistic regression (Stage 2)",
      "kind": "guardrail",
      "family": "registry.unsupported_combination",
      "status": "active",
      "version": 2,
      "severity": "plan_only",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-005",
        "E-180"
      ],
      "capabilityGap": true,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "studyDesign.matchedSetVar",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "studyDesign.matchedSetVar is answered",
      "reasonPlain": "Matched sets need a method that respects the matching. Safi does not run an ordinary model that ignores the sets.",
      "reasonExpert": "Matched case-control and paired data require conditional logistic regression or a justified alternative; unconditional models ignore the stratification and bias the estimate. Source: methods/EPIDEMIOLOGIC_STUDY_DESIGNS.md (case-control-and-outcome-dependent-sampling).",
      "fineWhen": "Never fine to ignore the matching. A labelled plan for conditional logistic regression is provided.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "epidemiologic_study_designs",
          "sectionIds": [
            "epidemiologic_study_designs::case-control-and-outcome-dependent-sampling:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "epidemiologic_study_designs"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.2",
            "changedOn": "2026-10-24",
            "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-PRD-01",
      "apiId": "r.prd.01",
      "title": "Elastic-net prediction with an untouched test partition",
      "kind": "recommendation",
      "family": "prediction.penalized",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-070",
        "E-071"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "prediction"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "in",
            "value": [
              "continuous",
              "binary"
            ]
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "any": [
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "field": "derived.viewPersonIsCluster",
                "op": "eq",
                "value": true
              },
              {
                "field": "derived.viewPersonIsRepeatedUnit",
                "op": "eq",
                "value": true
              }
            ]
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is prediction and modeling.outcomeFamily is one of continuous, binary and surveyDesign.weightVar is not answered and (derived.viewRepeatsPerson is false or derived.viewPersonIsCluster is true or derived.viewPersonIsRepeatedUnit is true) and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "A prediction model is fitted with shrinkage and judged on data it never saw.",
      "reasonExpert": "Elastic net with an untouched test partition (grouped or time-aware); the whole tuning process sits inside resampling. Source: disciplines/DIAGNOSTICS_PREDICTION_ANALYSIS.md (development-and-validation-workflow).",
      "fineWhen": "A simpler model is fine when events per parameter are ample.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "diagnostics_prediction_analysis",
          "sectionIds": [
            "diagnostics_prediction_analysis::development-and-validation-workflow:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "diagnostics_prediction_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "diagnostics_prediction_analysis"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "P-GOAL-01",
      "apiId": "p.goal.01",
      "title": "Intervention pathways arrive in Stage 2",
      "kind": "guardrail",
      "family": "registry.unsupported_combination",
      "status": "active",
      "version": 1,
      "severity": "plan_only",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-011",
        "E-049"
      ],
      "capabilityGap": true,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "intervention"
          }
        ]
      },
      "appliesWhenText": "objective.goal is intervention",
      "reasonPlain": "Before-after designs with comparison groups or interrupted series are not yet in Safi. You get a labelled plan, not results.",
      "reasonExpert": "Difference-in-differences and interrupted time series have no validated template; a design-incompatible method is never substituted. Source: LLM_ROUTER.md (answer-contract).",
      "fineWhen": "Fine to use the labelled plan and run the analysis elsewhere.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "llm_router",
          "sectionIds": [
            "llm_router::answer-contract:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "llm_router"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-NEST-01",
      "apiId": "rf.nest.01",
      "title": "The data contradict the declared nesting",
      "kind": "refusal",
      "family": "structure.nesting_contradicted",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-014"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "derived.structureLevels",
            "op": "ge",
            "value": 2
          },
          {
            "field": "derived.structureNestingHolds",
            "op": "eq",
            "value": false
          }
        ]
      },
      "appliesWhenText": "derived.structureLevels is at least 2 and derived.structureNestingHolds is false",
      "reasonPlain": "You declared nesting but the data show crossing. Some child units appear under more than one parent.",
      "reasonExpert": "Nesting and crossing differ; all grouping identifiers are retained and the difference kept. Source: SAFI_CODING_STANDARDS.md (3-preserve-design-through-the-entire-pipeline).",
      "fineWhen": "Never fine to treat a crossed structure as nested. Correct the declaration or the data.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "data_cleaning_exploration",
          "sectionIds": [
            "data_cleaning_exploration::stage-3-multivariable-cleaning-checks:1"
          ]
        },
        {
          "sourceId": "safi_coding_standards",
          "sectionIds": [
            "safi_coding_standards::3-preserve-design-through-the-entire-pipeline:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "data_cleaning_exploration",
          "safi_coding_standards"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-NEST-02",
      "apiId": "rf.nest.02",
      "title": "Crossed structures need an engine Stage 1 does not have",
      "kind": "refusal",
      "family": "structure.crossed_unsupported",
      "status": "active",
      "version": 2,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-006"
      ],
      "capabilityGap": true,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "derived.crossedLevels",
            "op": "ge",
            "value": 1
          },
          {
            "field": "objective.goal",
            "op": "in",
            "value": [
              "compare",
              "associate",
              "trend"
            ]
          }
        ]
      },
      "appliesWhenText": "derived.crossedLevels is at least 1 and objective.goal is one of compare, associate, trend",
      "reasonPlain": "Crossed structures are not yet estimated in Safi. It records the structure and does not nest the levels instead.",
      "reasonExpert": "Cross-classified random effects need an engine this release does not have; nesting the levels would misstate the variance. Source: methods/MICE_MODEL_SETUP_POOLING.md (5-multiclinic-longitudinal-and-cluster-randomized-designs).",
      "fineWhen": "Never fine to nest a crossed structure. Crossed effects are planned with the mixed-model methods.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "mice_model_setup_pooling",
          "sectionIds": [
            "mice_model_setup_pooling::5-multiclinic-longitudinal-and-cluster-randomized-designs:1"
          ]
        },
        {
          "sourceId": "safi_coding_standards",
          "sectionIds": [
            "safi_coding_standards::3-preserve-design-through-the-entire-pipeline:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "mice_model_setup_pooling",
          "safi_coding_standards"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.2",
            "changedOn": "2026-10-24",
            "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-DESIGN-01",
      "apiId": "rf.design.01",
      "title": "A fact the declared design requires is unanswered",
      "kind": "refusal",
      "family": "design.fact_missing",
      "status": "active",
      "version": 2,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-001"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "derived.missingRequiredFacts",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "derived.missingRequiredFacts is answered",
      "reasonPlain": "Your declared design needs a fact that is still unanswered. Safi will not fill it in.",
      "reasonExpert": "Unknown critical design metadata requires clarification; a guess would silently change the estimand. Source: LLM_ROUTER.md (nonnegotiable-context-to-retain).",
      "fineWhen": "Never fine to guess. Answer the named fact in step 3.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "epidemiologic_study_designs",
          "sectionIds": [
            "epidemiologic_study_designs::establish-the-design-before-choosing-a-model:1"
          ]
        },
        {
          "sourceId": "llm_router",
          "sectionIds": [
            "llm_router::nonnegotiable-context-to-retain:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "epidemiologic_study_designs",
          "llm_router"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.2",
            "changedOn": "2026-10-24",
            "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-DESIGN-02",
      "apiId": "rf.design.02",
      "title": "The declared design has no estimator in this tier",
      "kind": "refusal",
      "family": "design.no_estimator",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [],
      "capabilityGap": true,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "dependence.designId",
            "op": "not_null"
          },
          {
            "field": "derived.declaredDesignSupported",
            "op": "eq",
            "value": false
          }
        ]
      },
      "appliesWhenText": "dependence.designId is answered and derived.declaredDesignSupported is false",
      "reasonPlain": "Safi has no validated method for the design you declared yet. It names the gap and does not substitute another method.",
      "reasonExpert": "The design register has no estimator for this design in the current release; a design-incompatible analysis is never substituted. Source: LLM_ROUTER.md (answer-contract).",
      "fineWhen": "Never fine to substitute. The plan and report name the missing estimator.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "llm_router",
          "sectionIds": [
            "llm_router::answer-contract:1"
          ]
        },
        {
          "sourceId": "safi_integration",
          "sectionIds": [
            "safi_integration::map-to-the-inspected-application:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "llm_router",
          "safi_integration"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-RR-CC",
      "apiId": "rf.rr.cc",
      "title": "Case-control sampling does not identify a population prevalence or risk measure here",
      "kind": "refusal",
      "family": "design.effect_measure",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-215"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "studyDesign.datasetType",
            "op": "eq",
            "value": "case_control"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and studyDesign.datasetType is case_control",
      "reasonPlain": "A case-control sample cannot give a population prevalence or risk, or their ratio or difference, from the case fraction.",
      "reasonExpert": "The sampled case fraction is a design feature, not population frequency; prevalence ratio, risk ratio and risk difference need sampling fractions. Source: methods/EFFECT_MEASURES_REPORTING.md (design-specific-routing).",
      "fineWhen": "Never fine without sampling fractions. The exposure odds ratio is reported.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "effect_measures_reporting",
          "sectionIds": [
            "effect_measures_reporting::design-specific-routing:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "effect_measures_reporting"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-EM-FAMILY",
      "apiId": "rf.em.family",
      "title": "The effect measure does not match this binary-outcome route",
      "kind": "refusal",
      "family": "design.effect_measure",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-074"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "associate"
          },
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "binary"
          },
          {
            "field": "modeling.exposureVar",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is associate and modeling.outcomeFamily is binary and modeling.exposureVar is not answered",
      "reasonPlain": "This binary-outcome route has no person-time, so it cannot report the rate or hazard you chose.",
      "reasonExpert": "A rate, hazard or continuous coefficient is not an output of a binary-outcome model with no time denominator. Source: methods/EFFECT_MEASURES_REPORTING.md (name-the-quantity-before-fitting-a-model).",
      "fineWhen": "Never fine to relabel. Choose a measure the route reports.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "effect_measures_reporting",
          "sectionIds": [
            "effect_measures_reporting::name-the-quantity-before-fitting-a-model:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "effect_measures_reporting"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-TRD-NOTIME",
      "apiId": "rf.trd.notime",
      "title": "A temporal trend requires a time variable",
      "kind": "refusal",
      "family": "design.time_missing",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-011"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "field": "objective.goal",
        "op": "eq",
        "value": "trend"
      },
      "appliesWhenText": "objective.goal is trend",
      "reasonPlain": "A temporal trend needs a recorded time variable. Row order is not time.",
      "reasonExpert": "Actual observation times must be preserved; a trend over row index would invent a time scale. Source: methods/TREND_JOINPOINT_ANALYSIS.md (define-the-trend-question).",
      "fineWhen": "Never fine to invent a time scale. Select the time column.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "trend_joinpoint_analysis",
          "sectionIds": [
            "trend_joinpoint_analysis::define-the-trend-question:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "trend_joinpoint_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-CRT-01",
      "apiId": "rf.crt.01",
      "title": "Cluster randomization requires the randomized cluster",
      "kind": "refusal",
      "family": "design.randomization_unit",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-006"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "in",
            "value": [
              "compare",
              "associate",
              "trend",
              "intervention",
              "prediction"
            ]
          },
          {
            "field": "studyDesign.assignment",
            "op": "not_null"
          },
          {
            "field": "studyDesign.assignment",
            "op": "eq",
            "value": "randomized_cluster"
          }
        ]
      },
      "appliesWhenText": "objective.goal is one of compare, associate, trend, intervention, prediction and studyDesign.assignment is answered and studyDesign.assignment is randomized_cluster",
      "reasonPlain": "Treatment was randomised by cluster but the randomised cluster is not named. Participant rows cannot stand in for it.",
      "reasonExpert": "Cluster assignment is the basis of independent replication; analysing participants as independent overstates precision. Source: methods/EPIDEMIOLOGIC_STUDY_DESIGNS.md (trials-and-intervention-designs).",
      "fineWhen": "Never fine to analyse by participant. Name the randomised cluster column.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "epidemiologic_study_designs",
          "sectionIds": [
            "epidemiologic_study_designs::trials-and-intervention-designs:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "epidemiologic_study_designs"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-SCOPE-QUAL",
      "apiId": "rf.scope.qual",
      "title": "Qualitative interpretation is outside the analysis scope",
      "kind": "refusal",
      "family": "design.analysis_scope",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-368"
      ],
      "capabilityGap": true,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "studyDesign.analysisScope",
            "op": "not_null"
          },
          {
            "field": "studyDesign.analysisScope",
            "op": "eq",
            "value": "qualitative"
          }
        ]
      },
      "appliesWhenText": "studyDesign.analysisScope is answered and studyDesign.analysisScope is qualitative",
      "reasonPlain": "Qualitative coding and interpretation require a qualitative researcher's methodological judgement. Safi does not interpret transcript text or generate code to do so.",
      "reasonExpert": "Coding, thematic, grounded-theory, framework and CFIR analysis are interpretive work, outside this statistical tool's scope. The qualitative guide distinguishes organization of material from the researcher's interpretive reasoning.",
      "fineWhen": "Analyse a separately declared quantitative strand, or describe categories already coded by the researcher as ordinary categorical data, with appropriate sampling limitations.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "qualitative_mixed_methods",
          "sectionIds": [
            "qualitative_mixed_methods::an-auditable-workflow:1",
            "qualitative_mixed_methods::state-of-the-art-and-computational-assistance:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "qualitative_mixed_methods"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.4",
            "changedOn": "2026-11-02",
            "summary": "Initial retained entry for the existing reviewed study-intake and pilot implementation.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-SCOPE-ECON",
      "apiId": "rf.scope.econ",
      "title": "Decision-analytic economic evaluation is not available",
      "kind": "refusal",
      "family": "design.analysis_scope",
      "status": "active",
      "version": 2,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-370"
      ],
      "capabilityGap": true,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "studyDesign.analysisScope",
            "op": "not_null"
          },
          {
            "field": "studyDesign.analysisScope",
            "op": "eq",
            "value": "decision_analytic_economic"
          }
        ]
      },
      "appliesWhenText": "studyDesign.analysisScope is answered and studyDesign.analysisScope is decision_analytic_economic",
      "reasonPlain": "Decision-analytic economic evaluation needs a dedicated decision model and estimand, including perspective, horizon, comparators, discounting and a decision threshold. Safi has not implemented that analysis.",
      "reasonExpert": "Cost-effectiveness, cost-utility, budget-impact, Markov and partitioned-survival models require explicit decision assumptions, model validation and propagated uncertainty. They cannot be substituted by an ordinary comparison of study outcomes.",
      "fineWhen": "Costs measured in a study can be compared between groups under the quantitative design and estimand rules; that comparison is not a decision-analytic economic evaluation.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "health_economics_analysis",
          "sectionIds": [
            "health_economics_analysis::incremental-comparison-and-uncertainty:1",
            "health_economics_analysis::specify-the-decision:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "health_economics_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.4",
            "changedOn": "2026-11-02",
            "summary": "Initial retained entry for the existing reviewed study-intake and pilot implementation.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.29",
            "changedOn": "2026-11-20",
            "summary": "Wording of the second alternative. It states that Safi does not run decision-analytic economic evaluation, and no longer names a later release. The refusal is unchanged.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "health_economics_analysis"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "G-SAMP-UNKNOWN",
      "apiId": "g.samp.unknown",
      "title": "Results describe this file only",
      "kind": "guardrail",
      "family": "design.population_scope",
      "status": "active",
      "version": 2,
      "severity": "inform",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-004",
        "E-055"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "studyDesign.samplingScheme",
            "op": "not_null"
          },
          {
            "field": "studyDesign.samplingScheme",
            "op": "eq",
            "value": "unknown"
          }
        ]
      },
      "appliesWhenText": "studyDesign.samplingScheme is answered and studyDesign.samplingScheme is unknown",
      "reasonPlain": "How people entered the sample is not recorded, so results describe this file only, not a wider population.",
      "reasonExpert": "Without a sampling scheme no population inference is licensed; estimates are labelled as describing the sample (selection-bias disclosure). Source: methods/EPIDEMIOLOGIC_STUDY_DESIGNS.md (establish-the-design-before-choosing-a-model).",
      "fineWhen": "Always fine to describe the file. Population claims need the sampling scheme.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "epidemiologic_study_designs",
          "sectionIds": [
            "epidemiologic_study_designs::establish-the-design-before-choosing-a-model:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "epidemiologic_study_designs"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.2",
            "changedOn": "2026-10-24",
            "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "G-PILOT-EXPLORATORY",
      "apiId": "g.pilot.exploratory",
      "title": "Pilot effectiveness comparison is exploratory",
      "kind": "guardrail",
      "family": "design.pilot_effectiveness",
      "status": "active",
      "version": 1,
      "severity": "inform",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-181"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "field": "studyDesign.pilotFeasibility.requestExploratoryEffectiveness",
        "op": "eq",
        "value": true
      },
      "appliesWhenText": "studyDesign.pilotFeasibility.requestExploratoryEffectiveness is true",
      "reasonPlain": "A pilot is designed to assess feasibility, not to establish whether an intervention is effective. Progression estimates with confidence intervals remain primary. The explicitly requested effectiveness comparison is exploratory.",
      "reasonExpert": "R-Q-08 separates progression estimates from exploratory effectiveness testing. An explicit request does not change the analysis design or provide power for an effectiveness conclusion.",
      "fineWhen": "Progression estimates alone need no effectiveness warning.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::7-deliver-a-reproducible-analytic-record:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.4",
            "changedOn": "2026-11-02",
            "summary": "Initial retained entry for the existing reviewed study-intake and pilot implementation.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-VIEW-01",
      "apiId": "rf.view.01",
      "title": "Several rows per person are not several people",
      "kind": "refusal",
      "family": "registry.unsupported_combination",
      "status": "active",
      "version": 2,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-008",
        "E-035"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "modeling.outcomeFamily",
            "op": "eq",
            "value": "time_to_event"
          },
          {
            "field": "modeling.templateId",
            "op": "not_null"
          },
          {
            "field": "modeling.templateId",
            "op": "in",
            "value": [
              "model.cox_ph",
              "model.poisson_offset"
            ]
          }
        ]
      },
      "appliesWhenText": "modeling.outcomeFamily is time_to_event and modeling.templateId is answered and modeling.templateId is one of model.cox_ph, model.poisson_offset",
      "reasonPlain": "This analysis view has several rows per person. These models would treat each row as a separate person.",
      "reasonExpert": "Start/stop and windowed views repeat persons; Cox and person-time Poisson as fitted read every row as an independent person from time zero. Source: methods/SURVIVAL_LONGITUDINAL.md (define-the-observation-scheme).",
      "fineWhen": "Never fine to treat repeated rows as people. Use a view with one row per person.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "survival_longitudinal",
          "sectionIds": [
            "survival_longitudinal::choose-the-estimand-and-model:1",
            "survival_longitudinal::define-the-observation-scheme:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "survival_longitudinal"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          },
          {
            "version": 2,
            "edition": "1.2",
            "changedOn": "2026-10-24",
            "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "RF-PLAN-09",
      "apiId": "rf.plan.09",
      "title": "A confirmatory test after a step that may have chosen items by the outcome, on the same data",
      "kind": "refusal",
      "family": "plan.outcome_dependent_selection",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-202"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "request.planLocked",
            "op": "eq",
            "value": true
          },
          {
            "field": "request.analysisPurpose",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "request.planLocked is true and request.analysisPurpose is not answered",
      "reasonPlain": "A step in this question looks at the outcome and may have picked which items to test. Testing those same items on the same data makes the result look stronger than it is.",
      "reasonExpert": "Selecting items with an outcome-dependent statistic and then testing the selected items on the same data is circular: the selection favours items that already look different, so the test overstates the effect and its error rate is not the stated one. Evaluate selection within resampling, test on held-out data, or use inference that accounts for the selection event. Source: methods/CORE_ANALYSIS_WORKFLOW.md (5-missingness-multiplicity-and-selection).",
      "fineWhen": "The selection used no outcome-dependent statistic, the items are tested on data that played no part in the selection, or the run is declared exploratory, a sensitivity analysis or a reviewer request.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "core_analysis_workflow",
          "sectionIds": [
            "core_analysis_workflow::5-missingness-multiplicity-and-selection:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "core_analysis_workflow"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.0",
            "changedOn": null,
            "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
            "signal": null,
            "decision": null,
            "sourceIds": []
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-CMP-AGR-01",
      "apiId": "r.cmp.agr.01",
      "title": "Categorical agreement: table, observed and specific agreement, kappa with interval",
      "kind": "recommendation",
      "family": "agreement.categorical",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-186"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "measure_agreement"
          },
          {
            "field": "modeling.agreement.kind",
            "op": "eq",
            "value": "categorical"
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is measure_agreement and modeling.agreement.kind is categorical and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Report how often two raters agree, in each category, and kappa with its interval.",
      "reasonExpert": "(R-BIAS-16) Agreement table, observed agreement, specific agreement per category and kappa with a confidence interval via irr::kappa2 and psych::cohen.kappa. Weighted kappa with stated weights for ordinal categories; unweighted ordinal kappa needs a recorded reason. Gwet AC1 (AC2 when weighted) from irrCAC is shown beside kappa as the alternative.",
      "fineWhen": "Two raters rate the same subjects on one declared category set.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "agreement_reliability",
          "sectionIds": [
            "agreement_reliability::1-categorical-agreement-between-two-raters:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "biostatistics_analysis",
          "agreement_reliability"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.14",
            "changedOn": "2026-11-06",
            "summary": "Initial entry. Categorical agreement: table, observed and specific agreement, kappa with interval. Admitted with the agreement and reliability methods; the declaration is the researcher's own.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "biostatistics_analysis",
              "agreement_reliability"
            ]
          },
          {
            "version": 2,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "agreement_reliability"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-CMP-AGR-02",
      "apiId": "r.cmp.agr.02",
      "title": "Reliability as an ICC with model, type and unit stated, plus SEM",
      "kind": "recommendation",
      "family": "agreement.icc",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-058"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "measure_agreement"
          },
          {
            "field": "modeling.agreement.kind",
            "op": "eq",
            "value": "icc"
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is measure_agreement and modeling.agreement.kind is icc and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Report test-retest or inter-rater reliability as an intraclass correlation and say which kind.",
      "reasonExpert": "(R-BIAS-07) ICC with ANOVA model, agreement or consistency type and single or average unit stated, via psych::ICC cross-checked with irr::icc; its interval; the standard error of measurement for single-measure ICC; a Pearson correlation only beside it.",
      "fineWhen": "Subjects measured by two or more raters or occasions on a numeric scale.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "agreement_reliability",
          "sectionIds": [
            "agreement_reliability::2-reliability-as-an-intraclass-correlation:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "biostatistics_analysis",
          "agreement_reliability"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.14",
            "changedOn": "2026-11-06",
            "summary": "Initial entry. Reliability as an ICC with model, type and unit stated, plus SEM. Admitted with the agreement and reliability methods; the declaration is the researcher's own.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "biostatistics_analysis",
              "agreement_reliability"
            ]
          },
          {
            "version": 2,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "agreement_reliability"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-CMP-AGR-03",
      "apiId": "r.cmp.agr.03",
      "title": "Method agreement: bias, limits of agreement and proportional bias",
      "kind": "recommendation",
      "family": "agreement.method",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-057"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "measure_agreement"
          },
          {
            "field": "modeling.agreement.kind",
            "op": "eq",
            "value": "method"
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is measure_agreement and modeling.agreement.kind is method and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Compare two measurement methods by the size and spread of their differences, not by correlation.",
      "reasonExpert": "(R-BIAS-06) Bland-Altman bias with a paired t interval, 95% limits of agreement with intervals from BlandAltmanLeh and proportional bias as the slope of differences on means. Correlation and tests of a zero difference are not agreement measures; absolute-agreement ICC is the accepted agreement index. Lin concordance is reported beside it (DescTools); replicate-aware limits are not implemented.",
      "fineWhen": "One pair of measurements per subject on the same scale.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "agreement_reliability",
          "sectionIds": [
            "agreement_reliability::3-agreement-between-two-measurement-methods:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "biostatistics_analysis",
          "agreement_reliability"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.14",
            "changedOn": "2026-11-06",
            "summary": "Initial entry. Method agreement: bias, limits of agreement and proportional bias. Admitted with the agreement and reliability methods; the declaration is the researcher's own.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "biostatistics_analysis",
              "agreement_reliability"
            ]
          },
          {
            "version": 2,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "agreement_reliability"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-CMP-AGR-04",
      "apiId": "r.cmp.agr.04",
      "title": "Scale reliability: alpha with negative item-rest check and reverse-keying question",
      "kind": "recommendation",
      "family": "agreement.scale",
      "status": "active",
      "version": 3,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-033"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "measure_agreement"
          },
          {
            "field": "modeling.agreement.kind",
            "op": "eq",
            "value": "scale_reliability"
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is measure_agreement and modeling.agreement.kind is scale_reliability and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Check that every item of a scale points the same way before trusting alpha, and show omega beside it with a check of the condition alpha needs.",
      "reasonExpert": "(R-MEAN-10) Cronbach alpha with interval and corrected item-rest correlations via psych::alpha, flagging negative values; reverse keying is applied only to items the researcher confirmed.",
      "fineWhen": "Three or more numeric items of one declared scale.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "agreement_reliability",
          "sectionIds": [
            "agreement_reliability::4-scale-reliability-and-item-rest-checks:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "biostatistics_analysis",
          "agreement_reliability"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.14",
            "changedOn": "2026-11-06",
            "summary": "Initial entry. Scale reliability: alpha with negative item-rest check and reverse-keying question. Admitted with the agreement and reliability methods; the declaration is the researcher's own.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "biostatistics_analysis",
              "agreement_reliability"
            ]
          },
          {
            "version": 2,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "agreement_reliability"
            ]
          },
          {
            "version": 3,
            "edition": "1.27",
            "changedOn": "2026-11-13",
            "summary": "Omega from a one-factor model beside alpha with fit indices and the tau-equivalence test (model.scale_omega).",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "agreement_reliability"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-CMP-AGR-05",
      "apiId": "r.cmp.agr.05",
      "title": "Method comparison: Passing-Bablok regression with slope and intercept intervals",
      "kind": "recommendation",
      "family": "agreement.method_regression",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-057"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "measure_agreement"
          },
          {
            "field": "modeling.agreement.kind",
            "op": "eq",
            "value": "passing_bablok"
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is measure_agreement and modeling.agreement.kind is passing_bablok and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Compare a test method with a reference method by a robust line and read the intervals for constant and proportional difference.",
      "reasonExpert": "Passing-Bablok regression via mcr::mcreg with analytical intervals for the intercept (constant difference) and slope (proportional difference). Rank based, no variance ratio; assumes a linear relation and positively correlated methods. At least 30 independent pairs.",
      "fineWhen": "One pair of continuous measurements per subject on the same scale; at least 30 pairs.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "agreement_reliability",
          "sectionIds": [
            "agreement_reliability::5-method-comparison-regression:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "biostatistics_analysis",
          "agreement_reliability"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.14",
            "changedOn": "2026-11-06",
            "summary": "Initial entry. Method comparison: Passing-Bablok regression with slope and intercept intervals. Admitted with the agreement and reliability methods; the declaration is the researcher's own.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "biostatistics_analysis",
              "agreement_reliability"
            ]
          },
          {
            "version": 2,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "agreement_reliability"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-CMP-AGR-06",
      "apiId": "r.cmp.agr.06",
      "title": "Method comparison: Deming regression with a stated or replicate-estimated error ratio",
      "kind": "recommendation",
      "family": "agreement.method_regression",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-057"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "measure_agreement"
          },
          {
            "field": "modeling.agreement.kind",
            "op": "eq",
            "value": "deming"
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is measure_agreement and modeling.agreement.kind is deming and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Compare two methods that both have measurement error, using a stated ratio of their error variances or one estimated from replicates.",
      "reasonExpert": "Deming regression via mcr::mcreg with analytical intervals. The reference-to-test error-variance ratio is stated by the researcher or estimated from replicate columns; it is never defaulted to 1.",
      "fineWhen": "One continuous measurement (or replicates) per method and subject; at least 30 independent subjects.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "agreement_reliability",
          "sectionIds": [
            "agreement_reliability::5-method-comparison-regression:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "biostatistics_analysis",
          "agreement_reliability"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.14",
            "changedOn": "2026-11-06",
            "summary": "Initial entry. Method comparison: Deming regression with a stated or replicate-estimated error ratio. Admitted with the agreement and reliability methods; the declaration is the researcher's own.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "biostatistics_analysis",
              "agreement_reliability"
            ]
          },
          {
            "version": 2,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "agreement_reliability"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-INF-SYN-01",
      "apiId": "r.inf.syn.01",
      "title": "Random-effects pooling with Hartung-Knapp interval, tau, I-squared and prediction interval",
      "kind": "recommendation",
      "family": "synthesis.meta_analysis",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-084"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "synthesize"
          },
          {
            "field": "studyDesign.metaAnalysisAggregate.format",
            "op": "in",
            "value": [
              "binary_2x2",
              "continuous_two_group",
              "generic_effect",
              "log_ratio_ci"
            ]
          }
        ]
      },
      "appliesWhenText": "objective.goal is synthesize and studyDesign.metaAnalysisAggregate.format is one of binary_2x2, continuous_two_group, generic_effect, log_ratio_ci",
      "reasonPlain": "Safi pools the study-level effects with a random-effects model and reports how much the true effects differ between studies.",
      "reasonExpert": "(R-INF-22, R-INF-43, R-EFF-10) Random-effects model by REML or Paule-Mandel with the Hartung-Knapp interval via metafor::rma.uni (rma.mv for nested effects); the model follows the declared assumption, not a heterogeneity test; tau and I-squared with Q-profile intervals; prediction interval; DerSimonian-Laird and the common-effect model as labelled sensitivity.",
      "fineWhen": "Published study-level effects, or study-level two-by-two counts, from at least two studies.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "meta_analysis_synthesis",
          "sectionIds": [
            "meta_analysis_synthesis::1-pooling-published-study-level-effects:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "meta_analysis_synthesis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.15",
            "changedOn": "2026-11-06",
            "summary": "Initial entry. Random-effects pooling of study-level effects (REML or Paule-Mandel, Hartung-Knapp interval), heterogeneity, prediction interval, small-study and meta-regression sections.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "meta_analysis_synthesis"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-INF-SYN-02",
      "apiId": "r.inf.syn.02",
      "title": "Bivariate random-effects model for diagnostic test accuracy",
      "kind": "recommendation",
      "family": "synthesis.meta_analysis",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-084",
        "E-196"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "synthesize"
          },
          {
            "field": "studyDesign.metaAnalysisAggregate.format",
            "op": "eq",
            "value": "dta_2x2"
          }
        ]
      },
      "appliesWhenText": "objective.goal is synthesize and studyDesign.metaAnalysisAggregate.format is dta_2x2",
      "reasonPlain": "Safi pools sensitivity and specificity together, because pooling them separately ignores that they move together across studies.",
      "reasonExpert": "(R-INF-45, R-SUB-08; E-196) Bivariate random-effects model of logit sensitivity and logit specificity via metafor::rma.mv; separate univariate pooling and the Moses-Littenberg line are refused as the summary point.",
      "fineWhen": "Published study-level effects, or study-level two-by-two counts, from at least two studies.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "meta_analysis_synthesis",
          "sectionIds": [
            "meta_analysis_synthesis::4-diagnostic-test-accuracy:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "meta_analysis_synthesis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.15",
            "changedOn": "2026-11-06",
            "summary": "Initial entry. Bivariate random-effects model for diagnostic test accuracy (sensitivity and specificity jointly).",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "meta_analysis_synthesis"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-CMP-AGR-07",
      "apiId": "r.cmp.agr.07",
      "title": "Factor analysis: common-factor model, parallel analysis, oblique rotation",
      "kind": "recommendation",
      "family": "agreement.factor",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-185"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "measure_agreement"
          },
          {
            "field": "modeling.agreement.kind",
            "op": "not_null"
          },
          {
            "field": "modeling.agreement.kind",
            "op": "eq",
            "value": "factor_exploration"
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is measure_agreement and modeling.agreement.kind is answered and modeling.agreement.kind is factor_exploration and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Explore the structure of a set of items with the common-factor model, and show how many factors several rules suggest.",
      "reasonExpert": "(R-BIAS-15) Common-factor analysis (minimum residual) of the declared items; seeded parallel analysis plus other retention criteria; oblimin rotation with the factor correlations reported; polychoric correlations for ordered items with fewer than five categories; principal components labelled components and run only when declared as data reduction.",
      "fineWhen": "Four or more numeric items of one instrument, one row per person, complete cases.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "factor_analysis",
          "sectionIds": [
            "factor_analysis::1-common-factors-or-components:1",
            "factor_analysis::2-how-many-factors:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "factor_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.27",
            "changedOn": "2026-11-13",
            "summary": "Initial entry. Factor analysis: common-factor model, parallel analysis, oblique rotation (ST-10).",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "factor_analysis"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-CMP-AGR-08",
      "apiId": "r.cmp.agr.08",
      "title": "Confirmatory factor analysis: declared factors with fit indices and their references",
      "kind": "recommendation",
      "family": "agreement.factor",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-185"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "measure_agreement"
          },
          {
            "field": "modeling.agreement.kind",
            "op": "not_null"
          },
          {
            "field": "modeling.agreement.kind",
            "op": "eq",
            "value": "factor_confirmatory"
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is measure_agreement and modeling.agreement.kind is answered and modeling.agreement.kind is factor_confirmatory and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Test a declared measurement model and show how well it reproduces the items, without turning a fit index into a verdict.",
      "reasonExpert": "(R-BIAS-15) Confirmatory factor analysis of declared factors via lavaan::cfa; chi-square, CFI, TLI, RMSEA with interval and SRMR; WLSMV for ordered items with fewer than five categories, with the scaled and robust versions labelled; Hu and Bentler (1999) references shown with their validity domain and not transferred to WLSMV (Xia and Yang 2019).",
      "fineWhen": "Two or more factors, each with two or more numeric items (a single factor needs three), one row per person, complete cases, each item loading on one factor.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "factor_analysis",
          "sectionIds": [
            "factor_analysis::5-confirmatory-models-and-fit-indices:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "factor_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.27",
            "changedOn": "2026-11-13",
            "summary": "Initial entry. Confirmatory factor analysis: declared factors with fit indices and their references (ST-10).",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "factor_analysis"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-CMP-AGR-09",
      "apiId": "r.cmp.agr.09",
      "title": "Measurement invariance: configural, metric and scalar models across groups",
      "kind": "recommendation",
      "family": "agreement.invariance",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-059"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "measure_agreement"
          },
          {
            "field": "modeling.agreement.kind",
            "op": "not_null"
          },
          {
            "field": "modeling.agreement.kind",
            "op": "eq",
            "value": "measurement_invariance"
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is measure_agreement and modeling.agreement.kind is answered and modeling.agreement.kind is measurement_invariance and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Check that a scale measures the same thing in each group before comparing group means on it.",
      "reasonExpert": "(R-BIAS-08) Multi-group confirmatory factor analysis of one scale with configural, metric and scalar models, chi-square difference tests and the changes in CFI and RMSEA. A CFI drop beyond the published reference (an ASSUMPTION) asks for a decision and never blocks a comparison (Q-INVARIANCE).",
      "fineWhen": "Four or more numeric items of one scale, one row per person, complete cases, and a grouping column with two to ten groups large enough for a one-factor model. Ordered items under five categories follow the thresholds-first sequence; partial invariance runs only for parameters the researcher declares free.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "factor_analysis",
          "sectionIds": [
            "factor_analysis::6-measurement-invariance-across-groups:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "factor_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.27",
            "changedOn": "2026-11-13",
            "summary": "Initial entry. Measurement invariance: configural, metric and scalar models across groups (ST-10).",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "factor_analysis"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-CMP-AGR-10",
      "apiId": "r.cmp.agr.10",
      "title": "Composite (PLS) path model, only with a declared composite or prediction rationale",
      "kind": "recommendation",
      "family": "agreement.pls",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "context-dependent",
      "overrideClass": "advisory",
      "eCodes": [
        "E-080"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "eq",
            "value": "measure_agreement"
          },
          {
            "field": "modeling.agreement.kind",
            "op": "not_null"
          },
          {
            "field": "modeling.agreement.kind",
            "op": "eq",
            "value": "pls_sem"
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is measure_agreement and modeling.agreement.kind is answered and modeling.agreement.kind is pls_sem and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Fit a path model of composites of items when the purpose is a composite model or prediction, never to correct measurement error.",
      "reasonExpert": "(R-INF-18, Q-PLS option a) PLS-SEM through seminr with a bootstrap of paths, loadings and weights; reliability and HTMT as the package returns them, without pass or fail; allowed only with a declared composite or prediction rationale; the wording never claims measurement-error correction.",
      "fineWhen": "Two or more constructs, each a composite of numeric items, declared paths without a loop, one row per person, complete cases, and a recorded rationale.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "factor_analysis",
          "sectionIds": [
            "factor_analysis::7-composite-pls-path-models:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "factor_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.27",
            "changedOn": "2026-11-13",
            "summary": "Initial entry. Composite (PLS) path model, only with a declared composite or prediction rationale (ST-10).",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "factor_analysis"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-CAU-PS-01",
      "apiId": "r.cau.ps.01",
      "title": "Propensity score matching with balance and overlap",
      "kind": "recommendation",
      "family": "causal.propensity",
      "status": "active",
      "version": 3,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-142"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "in",
            "value": [
              "compare",
              "associate"
            ]
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "not_null"
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "eq",
            "value": "matching"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is one of compare, associate and modeling.propensityAnalysis.approach is answered and modeling.propensityAnalysis.approach is matching and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Compares treated and control people after matching, and shows covariate balance, propensity overlap and the weights before the effect.",
      "reasonExpert": "(R-CAU-10) Nearest-neighbour matching on a logistic propensity score without replacement (MatchIt), cluster-robust variance on the matched set, g-computation effect (marginaleffects). Balance is judged by standardized differences against the declared target, never by p-values or the propensity model's c-statistic.",
      "fineWhen": "The treatment is binary, the adjustment variables are measured before treatment, and each row is one independent person.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "propensity_score_methods",
          "sectionIds": [
            "propensity_score_methods::model-the-score-for-balance:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "propensity_score_methods"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.16",
            "changedOn": "2026-11-07",
            "summary": "Initial entry. Propensity score matching effect (MatchIt) with balance, overlap and sample-size diagnostics and a marginal effect (marginaleffects).",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "propensity_score_methods"
            ]
          },
          {
            "version": 2,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "propensity_score_methods"
            ]
          },
          {
            "version": 3,
            "edition": "1.25",
            "changedOn": "2026-11-10",
            "summary": "An empty answer now decides that the rule does not apply (an added not_null condition). Before, the empty optional answer left the rule pending and an ordinary question received no method. The result is unchanged when the answer is present.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "propensity_score_methods"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-CAU-PS-02",
      "apiId": "r.cau.ps.02",
      "title": "Propensity score weighting with balance and overlap",
      "kind": "recommendation",
      "family": "causal.propensity",
      "status": "active",
      "version": 3,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-142"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "in",
            "value": [
              "compare",
              "associate"
            ]
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "not_null"
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "eq",
            "value": "weighting"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is one of compare, associate and modeling.propensityAnalysis.approach is answered and modeling.propensityAnalysis.approach is weighting and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Compares treated and control people after weighting, and shows covariate balance, propensity overlap and the weights before the effect.",
      "reasonExpert": "(R-CAU-10) Inverse probability weights (WeightIt, glm), M-estimation variance (glm_weightit), g-computation effect (marginaleffects). Balance is judged by standardized differences against the declared target, never by p-values or the propensity model's c-statistic.",
      "fineWhen": "The treatment is binary, the adjustment variables are measured before treatment, and each row is one independent person.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "propensity_score_methods",
          "sectionIds": [
            "propensity_score_methods::model-the-score-for-balance:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "propensity_score_methods"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.16",
            "changedOn": "2026-11-07",
            "summary": "Initial entry. Propensity score weighting effect (WeightIt) with balance, overlap and weight diagnostics and a marginal effect (marginaleffects).",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "propensity_score_methods"
            ]
          },
          {
            "version": 2,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "propensity_score_methods"
            ]
          },
          {
            "version": 3,
            "edition": "1.25",
            "changedOn": "2026-11-10",
            "summary": "An empty answer now decides that the rule does not apply (an added not_null condition). Before, the empty optional answer left the rule pending and an ordinary question received no method. The result is unchanged when the answer is present.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "propensity_score_methods"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-CAU-PS-03",
      "apiId": "r.cau.ps.03",
      "title": "Propensity score overlap weighting with balance",
      "kind": "recommendation",
      "family": "causal.propensity",
      "status": "active",
      "version": 3,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-142"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "in",
            "value": [
              "compare",
              "associate"
            ]
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "not_null"
          },
          {
            "field": "modeling.propensityAnalysis.approach",
            "op": "eq",
            "value": "overlap_weighting"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is one of compare, associate and modeling.propensityAnalysis.approach is answered and modeling.propensityAnalysis.approach is overlap_weighting and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "Compares treated and control people after overlap weighting, and shows covariate balance, propensity overlap and the weights before the effect.",
      "reasonExpert": "(R-CAU-10) Overlap weights (WeightIt, glm), M-estimation variance, g-computation effect for the overlap population. Balance is judged by standardized differences against the declared target, never by p-values or the propensity model's c-statistic.",
      "fineWhen": "The treatment is binary, the adjustment variables are measured before treatment, and each row is one independent person.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "propensity_score_methods",
          "sectionIds": [
            "propensity_score_methods::model-the-score-for-balance:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "propensity_score_methods"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.16",
            "changedOn": "2026-11-07",
            "summary": "Initial entry. Overlap-weighted propensity score effect (WeightIt, cobalt) with balance and weight diagnostics.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "propensity_score_methods"
            ]
          },
          {
            "version": 2,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "propensity_score_methods"
            ]
          },
          {
            "version": 3,
            "edition": "1.25",
            "changedOn": "2026-11-10",
            "summary": "An empty answer now decides that the rule does not apply (an added not_null condition). Before, the empty optional answer left the rule pending and an ordinary question received no method. The result is unchanged when the answer is present.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "propensity_score_methods"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-TRIAL-ADJ-01",
      "apiId": "r.trial.adj.01",
      "title": "Randomised trial: adjusted marginal effect with a recorded estimand",
      "kind": "recommendation",
      "family": "trial.randomised",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-177"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "in",
            "value": [
              "compare",
              "associate"
            ]
          },
          {
            "field": "modeling.trialAnalysis.route",
            "op": "eq",
            "value": "adjusted"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is one of compare, associate and modeling.trialAnalysis.route is adjusted and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered",
      "reasonPlain": "Compares the randomised arms with stratification factors and prespecified covariates in the model, reports the unadjusted result beside it, and records the estimand with a strategy for each intercurrent event.",
      "reasonExpert": "Linear or logistic regression with main effects (stats), marginal comparison with marginaleffects::avg_comparisons and HC3 variance. Strategies other than treatment policy, composite and while on treatment are refused.",
      "fineWhen": "Participants were individually randomised, each row is one independent person, and the estimand is recorded.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "trial_estimands",
          "sectionIds": [
            "trial_estimands::1-the-estimand-and-its-intercurrent-events:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "trial_estimands"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.18",
            "changedOn": "2026-11-07",
            "summary": "Initial entry. Randomised-trial comparison with stratification factors and prespecified covariates, marginal effect with HC3 delta-method interval, unadjusted result beside it, and the ICH E9(R1) estimand record.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "trial_estimands"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-TRIAL-CACE-01",
      "apiId": "r.trial.cace.01",
      "title": "Randomised trial: complier average causal effect with a recorded estimand",
      "kind": "recommendation",
      "family": "trial.randomised",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-235"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "in",
            "value": [
              "compare",
              "associate"
            ]
          },
          {
            "field": "modeling.trialAnalysis.route",
            "op": "eq",
            "value": "cace"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is one of compare, associate and modeling.trialAnalysis.route is cace and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered",
      "reasonPlain": "Estimates the effect among participants who would take the treatment if assigned to it, using random assignment as the instrument, and shows the all-randomised effect beside it.",
      "reasonExpert": "Two-stage least squares (ivreg::ivreg) with HC3 variance and the weak-instrument test; the all-randomised comparison uses marginaleffects.",
      "fineWhen": "Participants were individually randomised, each row is one independent person, and the estimand is recorded.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "trial_estimands",
          "sectionIds": [
            "trial_estimands::3-complier-average-causal-effect:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "trial_estimands"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.18",
            "changedOn": "2026-11-07",
            "summary": "Initial entry. Complier average causal effect by two-stage least squares with random assignment as the instrument (ivreg, HC3), the weak-instrument statistic and the all-randomised comparison beside it.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "trial_estimands"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-TRIAL-CLUSTER-01",
      "apiId": "r.trial.cluster.01",
      "title": "Cluster-randomised trial: random-intercept model with a recorded estimand",
      "kind": "recommendation",
      "family": "trial.design",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-006"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "in",
            "value": [
              "compare",
              "associate"
            ]
          },
          {
            "field": "modeling.trialDesign.design",
            "op": "eq",
            "value": "cluster"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is one of compare, associate and modeling.trialDesign.design is cluster and surveyDesign.weightVar is not answered",
      "reasonPlain": "Fits a linear mixed model (Gaussian) or mixed logistic model with a random intercept for the cluster, tests the arm with Kenward-Roger degrees of freedom, and adds a comparison of cluster means.",
      "reasonExpert": "Fits a linear mixed model (Gaussian) or mixed logistic model with a random intercept for the cluster, tests the arm with Kenward-Roger degrees of freedom, and adds a comparison of cluster means. Strategies other than treatment policy, composite and while on treatment are refused.",
      "fineWhen": "Randomisation followed the declared design and the estimand is recorded.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "trial_estimands",
          "sectionIds": [
            "trial_estimands::1-the-estimand-and-its-intercurrent-events:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "trial_estimands"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.19",
            "changedOn": "2026-11-07",
            "summary": "Initial entry. Cluster-randomised trial: random-intercept linear (Kenward-Roger) or logistic mixed model, cluster-mean comparison, ICC, with the ICH E9(R1) estimand record.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "trial_estimands"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-TRIAL-CROSSOVER-01",
      "apiId": "r.trial.crossover.01",
      "title": "Crossover trial: within-participant model with period effects and a recorded estimand",
      "kind": "recommendation",
      "family": "trial.design",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-178"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "in",
            "value": [
              "compare",
              "associate"
            ]
          },
          {
            "field": "modeling.trialDesign.design",
            "op": "eq",
            "value": "crossover"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is one of compare, associate and modeling.trialDesign.design is crossover and surveyDesign.weightVar is not answered",
      "reasonPlain": "Fits a mixed model with a treatment effect, a period effect and a random intercept for the participant; carryover is not modelled.",
      "reasonExpert": "Fits a mixed model with a treatment effect, a period effect and a random intercept for the participant; carryover is not modelled. Strategies other than treatment policy, composite and while on treatment are refused.",
      "fineWhen": "Randomisation followed the declared design and the estimand is recorded.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "trial_estimands",
          "sectionIds": [
            "trial_estimands::1-the-estimand-and-its-intercurrent-events:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "trial_estimands"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.19",
            "changedOn": "2026-11-07",
            "summary": "Initial entry. Crossover trial: within-participant mixed model with treatment and period effects; carryover is not modelled and the report says so.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "trial_estimands"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-TRIAL-SW-01",
      "apiId": "r.trial.sw.01",
      "title": "Stepped-wedge trial: period- and cluster-aware model with a recorded estimand",
      "kind": "recommendation",
      "family": "trial.design",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-176",
        "E-371",
        "E-372"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "in",
            "value": [
              "compare",
              "associate"
            ]
          },
          {
            "field": "modeling.trialDesign.design",
            "op": "eq",
            "value": "stepped_wedge"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is one of compare, associate and modeling.trialDesign.design is stepped_wedge and surveyDesign.weightVar is not answered",
      "reasonPlain": "Fits a mixed model with a treatment effect, a separate effect for each period and a random intercept for the cluster.",
      "reasonExpert": "Fits a mixed model with a treatment effect, a separate effect for each period and a random intercept for the cluster. Strategies other than treatment policy, composite and while on treatment are refused.",
      "fineWhen": "Randomisation followed the declared design and the estimand is recorded.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "trial_estimands",
          "sectionIds": [
            "trial_estimands::1-the-estimand-and-its-intercurrent-events:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "trial_estimands"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.19",
            "changedOn": "2026-11-07",
            "summary": "Initial entry. Stepped-wedge trial: mixed model with calendar period and cluster random intercept; a closed-cohort design is not modelled and the report says so.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "trial_estimands"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-TRIAL-FACTORIAL-01",
      "apiId": "r.trial.factorial.01",
      "title": "Factorial trial: main effects, simple effects and interaction with a recorded estimand",
      "kind": "recommendation",
      "family": "trial.design",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-179"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "in",
            "value": [
              "compare",
              "associate"
            ]
          },
          {
            "field": "modeling.trialDesign.design",
            "op": "eq",
            "value": "factorial"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is one of compare, associate and modeling.trialDesign.design is factorial and surveyDesign.weightVar is not answered",
      "reasonPlain": "Fits both factors and their interaction and reads each comparison with marginaleffects (HC3).",
      "reasonExpert": "Fits both factors and their interaction and reads each comparison with marginaleffects (HC3). Strategies other than treatment policy, composite and while on treatment are refused.",
      "fineWhen": "Randomisation followed the declared design and the estimand is recorded.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "trial_estimands",
          "sectionIds": [
            "trial_estimands::1-the-estimand-and-its-intercurrent-events:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "trial_estimands"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.19",
            "changedOn": "2026-11-07",
            "summary": "Initial entry. Factorial trial: lm/glm with marginaleffects main effects or simple effects and the interaction on the stated scale.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "trial_estimands"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-PVAL-01",
      "apiId": "r.pval.01",
      "title": "Prediction model: optimism-corrected validation, calibration and decision curve",
      "kind": "recommendation",
      "family": "prediction.validation",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-070"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "modeling.predictionValidation.kind",
            "op": "eq",
            "value": "validation"
          }
        ]
      },
      "appliesWhenText": "modeling.predictionValidation.kind is validation",
      "reasonPlain": "A prediction model is judged by its performance after correcting for optimism, with its calibration and net benefit.",
      "reasonExpert": "(R-INF-09, R-INF-36) Fixed logistic model fitted with rms::lrm; rms::validate and rms::calibrate give bootstrap optimism-corrected c-statistic, calibration slope, calibration intercept (estimated jointly with the slope, as rms::validate reports it; not calibration-in-the-large) and Brier score; pROC gives the apparent AUC with a DeLong interval; dcurves::dca gives apparent net benefit. The minimum development sample size comes from pmsampsize (Riley et al., 2019) when the researcher declared the anticipated performance before the analysis, and is reported as not assessed otherwise.",
      "fineWhen": "The declaration names its inputs and the data have one complete row per subject.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "prediction_validation",
          "sectionIds": [
            "prediction_validation::2-calibration-and-decision-curves:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "prediction_validation"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.18",
            "changedOn": "2026-11-07",
            "summary": "Initial entry. Internal validation of a prespecified binary prediction model: bootstrap optimism-corrected discrimination and calibration (rms), DeLong interval for the c-statistic (pROC) and an apparent decision curve (dcurves).",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "prediction_validation"
            ]
          },
          {
            "version": 2,
            "edition": "1.20",
            "changedOn": "2026-11-08",
            "summary": "The minimum development sample size comes from pmsampsize (Riley et al. 2019) when the researcher declared the anticipated performance before the analysis, and is reported as not assessed otherwise.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "prediction_validation"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-PWR-01",
      "apiId": "r.pwr.01",
      "title": "Power and required sample size for a pre-specified effect, with the planned n recorded",
      "kind": "recommendation",
      "family": "design.power",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-068"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "modeling.predictionValidation.kind",
            "op": "eq",
            "value": "power"
          }
        ]
      },
      "appliesWhenText": "modeling.predictionValidation.kind is power",
      "reasonPlain": "Power and the required sample size are computed for an effect stated in advance, and shown beside the planned and analysed sample sizes.",
      "reasonExpert": "(R-PLAN-10, power part of R-INF-08) pwr::pwr.t.test, pwr::pwr.2p.test or pwr::pwr.r.test for the declared effect size. Reports the required total n, the power at the planned n, the smallest effect detectable at the planned n and the n analysed. Power from the observed effect is refused elsewhere (RF-15). Precision planning is not offered.",
      "fineWhen": "The declaration names its inputs and the data have one complete row per subject.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "prediction_validation",
          "sectionIds": [
            "prediction_validation::4-power-for-a-pre-specified-effect-and-the-planned-sample-size:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "prediction_validation"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.18",
            "changedOn": "2026-11-07",
            "summary": "Initial entry. Power and required sample size for a pre-specified effect (pwr), with the planned sample size shown beside the sample analysed.",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "prediction_validation"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-SPAT-01",
      "apiId": "r.spat.01",
      "title": "Declared area estimates or spatial regression",
      "kind": "recommendation",
      "family": "spatial.analysis",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-205"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "in",
            "value": [
              "describe",
              "associate",
              "compare"
            ]
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "not_null"
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "in",
            "value": [
              "direct_area",
              "point_regression",
              "areal_regression"
            ]
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is one of describe, associate, compare and modeling.spatialAnalysis.mode is answered and modeling.spatialAnalysis.mode is one of direct_area, point_regression, areal_regression and modeling.ecologicalAnalysis.model is not answered",
      "reasonPlain": "The declared area analysis reports design-based uncertainty when sampling weights apply, checks residual spatial dependence for regression and shows the spatial alternative beside the independence model.",
      "reasonExpert": "The declared area analysis reports design-based uncertainty when sampling weights apply, checks residual spatial dependence for regression and shows the spatial alternative beside the independence model.",
      "fineWhen": "The declared analysis and observation design answer the research question.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "geography_spatial_analysis",
          "sectionIds": [
            "geography_spatial_analysis::population-place-and-observation:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "geography_spatial_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Joint draft admission; no human review recorded.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "geography_spatial_analysis"
            ]
          },
          {
            "version": 2,
            "edition": "1.25",
            "changedOn": "2026-11-10",
            "summary": "An empty answer now decides that the rule does not apply (an added not_null condition). Before, the empty optional answer left the rule pending and an ordinary question received no method. The result is unchanged when the answer is present.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "geography_spatial_analysis"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-SPAT-02",
      "apiId": "r.spat.02",
      "title": "Single-season detection analysis with naive companion",
      "kind": "recommendation",
      "family": "ecology.detection",
      "status": "active",
      "version": 2,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-205"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "in",
            "value": [
              "describe",
              "associate",
              "compare"
            ]
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "not_null"
          },
          {
            "field": "modeling.ecologicalAnalysis.model",
            "op": "in",
            "value": [
              "naive",
              "occupancy",
              "n_mixture"
            ]
          },
          {
            "field": "modeling.spatialAnalysis.mode",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is one of describe, associate, compare and modeling.ecologicalAnalysis.model is answered and modeling.ecologicalAnalysis.model is one of naive, occupancy, n_mixture and modeling.spatialAnalysis.mode is not answered",
      "reasonPlain": "Repeated visits distinguish the ecological state from imperfect detection under the declared assumptions. The naive perfect-detection summary is shown alongside any fitted detection model.",
      "reasonExpert": "Repeated visits distinguish the ecological state from imperfect detection under the declared assumptions. The naive perfect-detection summary is shown alongside any fitted detection model.",
      "fineWhen": "The declared analysis and observation design answer the research question.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "ecology_analysis",
          "sectionIds": [
            "ecology_analysis::sampling-and-detection:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "ecology_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Joint draft admission; no human review recorded.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "ecology_analysis"
            ]
          },
          {
            "version": 2,
            "edition": "1.25",
            "changedOn": "2026-11-10",
            "summary": "An empty answer now decides that the rule does not apply (an added not_null condition). Before, the empty optional answer left the rule pending and an ordinary question received no method. The result is unchanged when the answer is present.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "ecology_analysis"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-SPAT-03",
      "apiId": "r.spat.03",
      "title": "Residual spatial comparison beside the selected primary model",
      "kind": "guardrail",
      "family": "diagnostics.spatial_residual",
      "status": "active",
      "version": 2,
      "severity": "plan_only",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-011"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "in",
            "value": [
              "associate",
              "compare"
            ]
          },
          {
            "field": "modeling.spatialResidualReview.alternativeRequested",
            "op": "not_null"
          },
          {
            "field": "modeling.spatialResidualReview.alternativeRequested",
            "op": "eq",
            "value": true
          }
        ]
      },
      "appliesWhenText": "objective.goal is one of associate, compare and modeling.spatialResidualReview.alternativeRequested is answered and modeling.spatialResidualReview.alternativeRequested is true",
      "reasonPlain": "Declared locations require a review of residual spatial dependence while preserving the selected primary model and adjustment variables.",
      "reasonExpert": "Use regression-residual Moran I from the actual primary linear fit and the explicitly requested exponential GLS covariance comparison on the exact primary fitted rows and model matrix.",
      "fineWhen": "No location-based residual comparison is requested.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "geography_spatial_analysis",
          "sectionIds": [
            "geography_spatial_analysis::population-place-and-observation:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "geography_spatial_analysis"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.21",
            "changedOn": "2026-11-10",
            "summary": "Joint draft admission; no human review recorded.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "geography_spatial_analysis"
            ]
          },
          {
            "version": 2,
            "edition": "1.25",
            "changedOn": "2026-11-10",
            "summary": "An empty answer now decides that the rule does not apply (an added not_null condition). Before, the empty optional answer left the rule pending and an ordinary question received no method. The result is unchanged when the answer is present.",
            "signal": "definitional_problem",
            "decision": "revise",
            "sourceIds": [
              "geography_spatial_analysis"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "G-PREP-OUTLIER-01",
      "apiId": "g.prep.outlier.01",
      "title": "Outliers deleted by a data-driven rule after the outcome was displayed",
      "kind": "guardrail",
      "family": "preparation.outlier_after_display",
      "status": "active",
      "version": 1,
      "severity": "warn",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "overridable",
      "eCodes": [
        "E-182"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "dataReadiness.outlierHandling.rule",
            "op": "not_null"
          },
          {
            "field": "dataReadiness.outlierHandling.rule",
            "op": "in",
            "value": [
              "sd_threshold",
              "iqr_threshold",
              "visual"
            ]
          },
          {
            "field": "dataReadiness.outlierHandling.decidedAfterOutcomeDisplay",
            "op": "eq",
            "value": true
          }
        ]
      },
      "appliesWhenText": "dataReadiness.outlierHandling.rule is answered and dataReadiness.outlierHandling.rule is one of sd_threshold, iqr_threshold, visual and dataReadiness.outlierHandling.decidedAfterOutcomeDisplay is true",
      "reasonPlain": "Values were removed because they looked extreme, and that choice was made after the outcome results were on screen. Removing values that way can move the estimate toward what you hoped to see.",
      "reasonExpert": "R-PREP-07: outlier handling follows a rule recorded before outcome results are displayed (error-based limits, or a robust estimator). A deletion by a data-driven rule (standard deviations from the mean, interquartile fences, visual inspection) after the outcome was displayed is warned and needs a typed justification, and the analysis with and without the deleted records is reported.",
      "fineWhen": "Fine when the rule is an error-based limit (for example the documented device range) or a robust estimator fixed before the outcome was shown.",
      "hasPracticeEntry": true,
      "evidence": [
        {
          "sourceId": "data_cleaning_exploration",
          "sectionIds": [
            "data_cleaning_exploration::stage-1-univariable-cleaning-checks:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "data_cleaning_exploration"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.27",
            "changedOn": "2026-11-13",
            "summary": "Initial entry. Outliers deleted by a data-driven rule after the outcome was displayed (R-PREP-07).",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "data_cleaning_exploration"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "G-PREP-LOD-01",
      "apiId": "g.prep.lod.01",
      "title": "Detection-limit substitution requested as the primary method",
      "kind": "guardrail",
      "family": "preparation.detection_limit",
      "status": "active",
      "version": 1,
      "severity": "warn",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-183"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "dataReadiness.detectionLimit.primary",
            "op": "not_null"
          },
          {
            "field": "dataReadiness.detectionLimit.primary",
            "op": "eq",
            "value": "substitution"
          },
          {
            "field": "dataReadiness.detectionLimit.justification",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "dataReadiness.detectionLimit.primary is answered and dataReadiness.detectionLimit.primary is substitution and dataReadiness.detectionLimit.justification is not answered",
      "reasonPlain": "Values below the detection limit are known only to be small. Replacing them with one number treats them as measured. The estimate that keeps them as censored is primary, and the substitution runs beside it.",
      "reasonExpert": "R-PREP-08 and Q-LOD option (a): values below a limit stay censored and the primary analysis uses a censored-data method (survival::survreg, left censoring, Gaussian on the log scale). Substitution (limit / sqrt(2)) is a sensitivity analysis. It may be primary only at or below the registry threshold (default 10%, EXTRAPOLATED, evidence CONTESTED: MPB-04 against MPB-06 and MPB-07) with a recorded justification.",
      "fineWhen": "Fine when at most 10% of values are below the limit and you record why substitution is acceptable.",
      "hasPracticeEntry": true,
      "evidence": [
        {
          "sourceId": "missing_data_measurement",
          "sectionIds": [
            "missing_data_measurement::measurement-error-and-detection-limits:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "missing_data_measurement"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.27",
            "changedOn": "2026-11-13",
            "summary": "Initial entry. Detection-limit substitution requested as the primary method (R-PREP-08).",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "missing_data_measurement"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-PREP-LOD-01",
      "apiId": "r.prep.lod.01",
      "title": "Values below a detection limit: censored-data likelihood primary, substitution as sensitivity",
      "kind": "recommendation",
      "family": "censored.gaussian",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-183"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "dataReadiness.detectionLimit.limit",
            "op": "not_null"
          }
        ]
      },
      "appliesWhenText": "dataReadiness.detectionLimit.limit is answered",
      "reasonPlain": "Values below the detection limit are kept as censored, and the estimate uses a method made for them.",
      "reasonExpert": "(R-PREP-08, Q-LOD option (a)) Gaussian censored-data maximum likelihood on the log scale via survival::survreg is primary. Substitution (limit/sqrt(2)) always runs as sensitivity and may be primary only at or below the registry threshold (default 10%, EXTRAPOLATED) with a recorded justification.",
      "fineWhen": "A concentration has values reported as below a declared limit.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "missing_data_measurement",
          "sectionIds": [
            "missing_data_measurement::measurement-error-and-detection-limits:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "missing_data_measurement"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.27",
            "changedOn": "2026-11-13",
            "summary": "Initial entry. Values below a detection limit: censored-data likelihood primary, substitution as sensitivity (R-PREP-08).",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "missing_data_measurement"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-CAU-MED-01",
      "apiId": "r.cau.med.01",
      "title": "Causal mediation with natural direct and indirect effects",
      "kind": "recommendation",
      "family": "causal.mediation",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-190"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "in",
            "value": [
              "compare",
              "associate"
            ]
          },
          {
            "field": "modeling.mediationAnalysis.mediatorBeforeOutcome",
            "op": "not_null"
          },
          {
            "field": "modeling.mediationAnalysis.mediatorBeforeOutcome",
            "op": "eq",
            "value": "yes"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is one of compare, associate and modeling.mediationAnalysis.mediatorBeforeOutcome is answered and modeling.mediationAnalysis.mediatorBeforeOutcome is yes and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered",
      "reasonPlain": "Splits the effect of the exposure into the part that goes through the mediator and the part that does not, allowing the two to interact, and shows how strong unmeasured mediator-outcome confounding would have to be to remove the indirect effect.",
      "reasonExpert": "(R-CAU-14) Counterfactual pure natural direct (ADE at control) and total natural indirect (ACME at treated) effects from mediation::mediate with the exposure-mediator interaction, percentile bootstrap intervals, and mediation::medsens for sensitivity to mediator-outcome confounding where the package supports the outcome link. The product of coefficients is shown only as a supplementary row with its assumptions. Causal wording requires the researcher's statement that the mediator occurred before the outcome.",
      "fineWhen": "The exposure is binary, the mediator is continuous or two-valued and occurred before the outcome, the adjustment variables were measured before the exposure and are not changed by it, and each row is one independent person.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "causal_inference",
          "sectionIds": [
            "causal_inference::mediation-heterogeneity-and-transport:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "causal_inference"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.27",
            "changedOn": "2026-11-13",
            "summary": "Initial entry. Causal mediation with natural direct and indirect effects (R-CAU-14).",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "causal_inference"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-CAU-MED-02",
      "apiId": "r.cau.med.02",
      "title": "Causal mediation wording needs the mediator to occur before the outcome",
      "kind": "refusal",
      "family": "design.analysis_scope",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-190"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "modeling.mediationAnalysis.mediatorBeforeOutcome",
            "op": "not_null"
          },
          {
            "field": "modeling.mediationAnalysis.mediatorBeforeOutcome",
            "op": "in",
            "value": [
              "no",
              "unknown"
            ]
          }
        ]
      },
      "appliesWhenText": "modeling.mediationAnalysis.mediatorBeforeOutcome is answered and modeling.mediationAnalysis.mediatorBeforeOutcome is one of no, unknown",
      "reasonPlain": "A mediation result cannot be called causal unless the mediator came before the outcome, and you have said it did not or that you are not sure.",
      "reasonExpert": "R-CAU-14: a natural direct or indirect effect needs the mediator to precede the outcome. When the researcher states that the time order of the constructs (not the measurement date) is no or unknown, causal mediation wording and the counterfactual decomposition are refused.",
      "fineWhen": "The researcher states that the mediator occurred before the outcome.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "causal_inference",
          "sectionIds": [
            "causal_inference::mediation-heterogeneity-and-transport:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "causal_inference"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.27",
            "changedOn": "2026-11-13",
            "summary": "Initial entry. Causal mediation wording needs the mediator to occur before the outcome (R-CAU-14).",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "causal_inference"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-CAU-MSM-01",
      "apiId": "r.cau.msm.01",
      "title": "Inverse-probability-weighted marginal structural model for a sustained exposure at two to four times",
      "kind": "recommendation",
      "family": "causal.msm",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-189",
        "E-245"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "in",
            "value": [
              "compare",
              "associate"
            ]
          },
          {
            "field": "modeling.msmAnalysis.laterExposures",
            "op": "not_null"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is one of compare, associate and modeling.msmAnalysis.laterExposures is answered and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered",
      "reasonPlain": "Estimates the effect of being treated at both times against neither time when something that changes between the two times also affects who is treated later, which ordinary regression cannot handle, and shows balance, weights and the assumptions.",
      "reasonExpert": "(R-CAU-13, R-DAG-11) Stabilised inverse-probability weights for a two-period binary exposure with a time-varying confounder that the first exposure may change (WeightIt::weightitMSM), a weighted marginal structural model with M-estimation standard errors (WeightIt::glm_weightit), balance by time point (cobalt) and the always-versus-never contrast (marginaleffects). Truncation only when declared. Conventional regression adjustment for the joint effect stays refused.",
      "fineWhen": "Both exposures are binary and recorded at two times, the confounders are named by the researcher as baseline or time-varying, the outcome is continuous or binary, there is no censoring, and each row is one independent person.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "causal_inference",
          "sectionIds": [
            "causal_inference::longitudinal-and-quasi-experimental-details:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "causal_inference"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.27",
            "changedOn": "2026-11-13",
            "summary": "Initial entry. Inverse-probability-weighted marginal structural model for a sustained exposure at two to four times (R-CAU-13, R-DAG-11).",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "causal_inference"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-CAU-MSM-02",
      "apiId": "r.cau.msm.02",
      "title": "The weighted marginal structural model does not handle censoring",
      "kind": "refusal",
      "family": "design.analysis_scope",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-189",
        "E-245"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "modeling.msmAnalysis.laterExposures",
            "op": "not_null"
          },
          {
            "field": "modeling.informativeCensoring",
            "op": "not_null"
          },
          {
            "field": "modeling.informativeCensoring",
            "op": "in",
            "value": [
              "possible",
              "unknown"
            ]
          }
        ]
      },
      "appliesWhenText": "modeling.msmAnalysis.laterExposures is answered and modeling.informativeCensoring is answered and modeling.informativeCensoring is one of possible, unknown",
      "reasonPlain": "This route cannot account for people lost before the outcome, and you recorded follow-up as incomplete or possibly informatively censored.",
      "reasonExpert": "R-CAU-13: the marginal structural model route estimates exposure weights only. Censoring weights need a separately validated package path that is not available, so a plan with incomplete or possibly informatively censored follow-up is refused rather than analysed as if follow-up were complete.",
      "fineWhen": "Follow-up is complete, or loss to follow-up is stated to be unrelated to the outcome.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "causal_inference",
          "sectionIds": [
            "causal_inference::longitudinal-and-quasi-experimental-details:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "causal_inference"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.27",
            "changedOn": "2026-11-13",
            "summary": "Initial entry. The weighted marginal structural model does not handle censoring (R-CAU-13).",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "causal_inference"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-CAU-GF-01",
      "apiId": "r.cau.gf.01",
      "title": "Parametric g-formula for a sustained exposure at two to four times",
      "kind": "recommendation",
      "family": "causal.gformula",
      "status": "active",
      "version": 1,
      "severity": null,
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "advisory",
      "eCodes": [
        "E-189",
        "E-245"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "objective.goal",
            "op": "in",
            "value": [
              "compare",
              "associate"
            ]
          },
          {
            "field": "modeling.gformulaAnalysis.laterExposures",
            "op": "not_null"
          },
          {
            "field": "surveyDesign.weightVar",
            "op": "is_null"
          },
          {
            "field": "dependence.clusterVar",
            "op": "is_null"
          }
        ]
      },
      "appliesWhenText": "objective.goal is one of compare, associate and modeling.gformulaAnalysis.laterExposures is answered and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered",
      "reasonPlain": "Estimates the outcome if everyone were treated at every time and if no one were, by modelling how the covariates, the treatment and the outcome evolve, which ordinary regression cannot do when something that changes between the times also affects later treatment.",
      "reasonExpert": "(Q-GMETH, R-CAU-13, R-DAG-11) Parametric g-formula (gfoRmula::gformula) for a two- to four-time binary exposure with time-varying covariates and a continuous or binary end-of-follow-up outcome; additive models with the previous time only, simulation of the strategies never, always and natural course, seeded percentile bootstrap intervals. Reported as the package returns them. Conventional regression adjustment for the joint effect stays refused.",
      "fineWhen": "Both exposures are binary and recorded at two to four times, the time-varying covariates are continuous or coded 0 and 1 at every time, there is no censoring, and each row is one independent person.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "causal_inference",
          "sectionIds": [
            "causal_inference::longitudinal-and-quasi-experimental-details:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "causal_inference"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.27",
            "changedOn": "2026-11-13",
            "summary": "Initial entry. Parametric g-formula for a sustained exposure at two to four times (R-CAU-13, R-DAG-11).",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "causal_inference"
            ]
          }
        ],
        "challenges": []
      }
    },
    {
      "ruleId": "R-CAU-GF-02",
      "apiId": "r.cau.gf.02",
      "title": "The g-formula does not handle censoring",
      "kind": "refusal",
      "family": "design.analysis_scope",
      "status": "active",
      "version": 1,
      "severity": "refuse",
      "phases": [
        "recommend",
        "run"
      ],
      "maturity": "established",
      "overrideClass": "hard_block",
      "eCodes": [
        "E-189",
        "E-245"
      ],
      "capabilityGap": false,
      "eventualClass": null,
      "appliesWhen": {
        "all": [
          {
            "field": "modeling.gformulaAnalysis.laterExposures",
            "op": "not_null"
          },
          {
            "field": "modeling.informativeCensoring",
            "op": "not_null"
          },
          {
            "field": "modeling.informativeCensoring",
            "op": "in",
            "value": [
              "possible",
              "unknown"
            ]
          }
        ]
      },
      "appliesWhenText": "modeling.gformulaAnalysis.laterExposures is answered and modeling.informativeCensoring is answered and modeling.informativeCensoring is one of possible, unknown",
      "reasonPlain": "This route cannot account for people lost before the outcome, and you recorded follow-up as incomplete or possibly informatively censored.",
      "reasonExpert": "R-CAU-13: the g-formula route models the covariates and the outcome only. Censoring needs a separately validated package path that is not available, so a plan with incomplete or possibly informatively censored follow-up is refused rather than analysed as if follow-up were complete.",
      "fineWhen": "Follow-up is complete, or loss to follow-up is stated to be unrelated to the outcome.",
      "hasPracticeEntry": false,
      "evidence": [
        {
          "sourceId": "causal_inference",
          "sectionIds": [
            "causal_inference::longitudinal-and-quasi-experimental-details:1"
          ]
        }
      ],
      "governance": {
        "reviewState": "not_yet_reviewed",
        "reviewers": [],
        "lastReviewedOn": null,
        "reviewDecision": null,
        "reviewBy": null,
        "surveillanceClass": null,
        "sourcesWatched": [
          "causal_inference"
        ],
        "lastSurveillance": null,
        "signals": [],
        "retractionState": "not_checked",
        "retractionCheckedOn": null,
        "versionHistory": [
          {
            "version": 1,
            "edition": "1.27",
            "changedOn": "2026-11-13",
            "summary": "Initial entry. The g-formula does not handle censoring (R-CAU-13).",
            "signal": null,
            "decision": null,
            "sourceIds": [
              "causal_inference"
            ]
          }
        ],
        "challenges": []
      }
    }
  ],
  "practiceEntries": [
    {
      "eCode": "E-013",
      "ruleId": "G-COV-FEW",
      "ruleVersion": 1,
      "practiceStatement": "Cluster-robust standard errors that rely on large-sample theory are used with few clusters and no small-sample correction.",
      "validityConditions": [
        {
          "id": "many_balanced_clusters",
          "text": "There are 50 or more clusters, treated and control clusters are balanced, and cluster sizes are similar.",
          "checkedByTool": false
        }
      ],
      "handlingClass": "c",
      "alternatives": [
        {
          "label": "Cluster jackknife (CV3L with t(G-1)) for generalised linear models, wild-cluster bootstrap for linear models",
          "scope": "Linear models (wild-cluster bootstrap) and generalised linear models (CV3L jackknife) with 4 to 19 clusters.",
          "limits": "Resampling is discrete with very few clusters, so its interval can be conservative or coarse.",
          "diagnostics": "Report the bootstrap distribution width and the CR2 interval beside it."
        },
        {
          "label": "CR2 with Satterthwaite degrees of freedom (cross-check)",
          "scope": "Linear and generalised linear models with at least 5 clusters, any number of treated clusters above 1.",
          "limits": "The degrees of freedom can still be small with very unbalanced clusters; below 4 clusters no method gives credible error rates.",
          "diagnostics": "Compare the Satterthwaite degrees of freedom with the cluster count and report the number of treated clusters."
        }
      ],
      "reasonPlain": "With 4 to 19 clusters, ordinary cluster-robust errors are too optimistic. Safi uses small-sample methods and shows alternatives beside them.",
      "reasonExpert": "Sandwich estimators are biased down with few clusters; the wild-cluster bootstrap (linear models) and the CV3L cluster jackknife with t(G-1) (GLMs) are primary, with CR2 Satterthwaite and the bootstrap shown. Source: disciplines/BIOSTATISTICS_ANALYSIS.md (small-samples-rare-outcomes-and-multiplicity).",
      "fineWhen": "Fine to use asymptotic cluster-robust errors only when the clusters are many and similar in size. A recorded reason is required.",
      "sourceIds": [
        "survival_longitudinal"
      ],
      "sourceSectionIds": [
        "survival_longitudinal::repeated-outcomes-and-small-cluster-inference:1"
      ],
      "rPackage": "clubSandwich",
      "rFunction": "vcovCR",
      "rPackageVersion": "0.7.0",
      "rLicence": "GPL-3",
      "rCalls": [
        "sandwich::vcovCL",
        "vcovCL"
      ],
      "lastReviewDate": null,
      "reviewIntervalMonths": null,
      "watchedGuidance": null,
      "reviewState": "not_yet_reviewed",
      "policyState": "not_yet_set",
      "overdue": null
    },
    {
      "eCode": "E-052",
      "ruleId": "G-MISS-01",
      "ruleVersion": 1,
      "practiceStatement": "Missing data are handled by complete-case analysis without a stated assumption or a sensitivity analysis.",
      "validityConditions": [
        {
          "id": "completeness_independent_of_outcome",
          "text": "The estimand is a conditional coefficient of the analysis model, and completeness is declared independent of the outcome given the model's covariates.",
          "checkedByTool": false
        }
      ],
      "handlingClass": "d",
      "alternatives": [
        {
          "label": "Multiple imputation with an analysis-compatible model",
          "scope": "Marginal or descriptive estimands, or when completeness may depend on the outcome; auxiliary variables improve it.",
          "limits": "Valid under missing at random given the imputation model; the model must include the outcome and every analysis variable.",
          "diagnostics": "Compare imputed and observed distributions, and check the number of imputations against the fraction of missing information."
        }
      ],
      "reasonPlain": "Some model variables have gaps and no plan says how to treat them. Complete-case analysis is only fine under conditions you state.",
      "reasonExpert": "Complete-case analysis is valid for regression coefficients when missingness is independent of the outcome given the covariates, and for the full data under MCAR; the assumption must be stated and a sensitivity analysis run. Source: methods/CORE_ANALYSIS_WORKFLOW.md (5-missingness-multiplicity-and-selection).",
      "fineWhen": "Fine when you state that missingness does not depend on the outcome given the model variables. Safi does not yet run multiple imputation beside it; the plan says so.",
      "sourceIds": [
        "core_analysis_workflow",
        "missing_data_measurement"
      ],
      "sourceSectionIds": [
        "core_analysis_workflow::5-missingness-multiplicity-and-selection:1",
        "missing_data_measurement::choosing-the-primary-strategy:1"
      ],
      "rPackage": "mice",
      "rFunction": "mice",
      "rPackageVersion": "3.19.0",
      "rLicence": "GPL (>= 2)",
      "rCalls": [
        "na.omit",
        "complete.cases",
        "tidyr::drop_na",
        "drop_na"
      ],
      "lastReviewDate": null,
      "reviewIntervalMonths": null,
      "watchedGuidance": null,
      "reviewState": "not_yet_reviewed",
      "policyState": "not_yet_set",
      "overdue": null
    },
    {
      "eCode": "E-063",
      "ruleId": "G-MULT-01",
      "ruleVersion": 1,
      "practiceStatement": "Several confirmatory claims are tested without a stated multiplicity strategy, or an exploratory family is reported unadjusted without being labelled exploratory. The entry is evaluated on a confirmatory family of more than one test whose procedure is none, not only on the over-ten-test row that carries it.",
      "validityConditions": [
        {
          "id": "single_confirmatory_claim",
          "text": "The confirmatory family holds at most one test, so no multiplicity adjustment applies.",
          "checkedByTool": true
        },
        {
          "id": "all_of_claim",
          "text": "The claim is \"all of these\": no alpha adjustment, with the decision rule and a power or precision note.",
          "checkedByTool": false
        },
        {
          "id": "each_separately_claim",
          "text": "The claim is \"each separately\": no adjustment, with the error rate stated per comparison.",
          "checkedByTool": false
        }
      ],
      "handlingClass": "d",
      "alternatives": [
        {
          "label": "Holm procedure for a declared confirmatory family",
          "scope": "Several confirmatory claims of the form 'any of these', with no declared hierarchy.",
          "limits": "Controls the familywise error rate and loses power as the family grows.",
          "diagnostics": "Report the family size, the claim type and the adjusted and unadjusted p-values."
        },
        {
          "label": "Benjamini-Hochberg for exploratory screens",
          "scope": "Declared screening families where some false discoveries are acceptable.",
          "limits": "Controls the false discovery rate, not the familywise error; results are labelled exploratory.",
          "diagnostics": "Report the number of tests and the number nominally significant."
        }
      ],
      "reasonPlain": "A large confirmatory family loses power under any correction. Safi asks whether every test really belongs in the family.",
      "reasonExpert": "Familywise procedures lose power as the family grows; the size of ten tests is extrapolated and informational only, and the library warns against hard counts. Source: methods/CORE_ANALYSIS_WORKFLOW.md (5-missingness-multiplicity-and-selection).",
      "fineWhen": "Fine to keep a large family when the claim really is 'any of these'. The adjustment method stays declared.",
      "sourceIds": [
        "core_analysis_workflow"
      ],
      "sourceSectionIds": [
        "core_analysis_workflow::5-missingness-multiplicity-and-selection:1"
      ],
      "rPackage": "stats",
      "rFunction": "p.adjust",
      "rPackageVersion": "4.4.2",
      "rLicence": "GPL-2 | GPL-3",
      "rCalls": [],
      "lastReviewDate": null,
      "reviewIntervalMonths": null,
      "watchedGuidance": null,
      "reviewState": "not_yet_reviewed",
      "policyState": "not_yet_set",
      "overdue": null
    },
    {
      "eCode": "E-067",
      "ruleId": "RF-12",
      "ruleVersion": 1,
      "practiceStatement": "A continuous variable is dichotomised or categorised at a quantile, a searched cut-point or another data-derived boundary.",
      "validityConditions": [
        {
          "id": "cut_fixed_outside_sample",
          "text": "The cut is fixed outside the sample: a published clinical threshold or a registry grouping, with its source. A sample median or tertile is not.",
          "checkedByTool": false
        }
      ],
      "handlingClass": "c",
      "alternatives": [
        {
          "label": "Keep the variable continuous with a flexible form",
          "scope": "Any analysis where the parameter budget allows; for a confounder it is the default.",
          "limits": "Needs enough events per parameter; the fitted curve is plotted and reported.",
          "diagnostics": "Compare the spline and linear fits and check the knot placement."
        },
        {
          "label": "Model continuously, report by groups",
          "scope": "When readers need group summaries.",
          "limits": "Group summaries are read from the continuous model, not from a separate fit.",
          "diagnostics": "Check the predicted values at the group boundaries."
        }
      ],
      "reasonPlain": "Splitting a continuous variable at the median or into tertiles throws away information. Give a design reason if you need the split.",
      "reasonExpert": "Dichotomising loses power and creates unstable results (E-067). A typed design reason for a median or tertile split is the override justification (class c). A searched, outcome-derived cut-point is a separate hard block (RF-CUTPOINT-01). Source: methods/FUNCTIONAL_FORM.md (preserve-information-while-matching-the-question).",
      "fineWhen": "Fine for a cut fixed outside the sample, such as a published clinical threshold or a registry grouping. A typed reason for a median or tertile split is an override: Safi warns, discloses it and fits the continuous model alongside.",
      "sourceIds": [
        "functional_form"
      ],
      "sourceSectionIds": [
        "functional_form::preserve-information-while-matching-the-question:1"
      ],
      "rPackage": "rms",
      "rFunction": "rcs",
      "rPackageVersion": "8.1-1",
      "rLicence": "GPL (>= 2)",
      "rCalls": [
        "cut",
        "cut_number",
        "cut_interval",
        "cut_width",
        "findInterval"
      ],
      "lastReviewDate": null,
      "reviewIntervalMonths": null,
      "watchedGuidance": null,
      "reviewState": "not_yet_reviewed",
      "policyState": "not_yet_set",
      "overdue": null
    },
    {
      "eCode": "E-075",
      "ruleId": "RF-18",
      "ruleVersion": 1,
      "practiceStatement": "Counts are analysed by Poisson regression without handling overdispersion, or without an exposure offset when exposure differs between units.",
      "validityConditions": [
        {
          "id": "flag_not_raised_with_offset",
          "text": "The exposure offset is present and the fitted Pearson dispersion lies between 0.7 and 1.5 (EXTRAPOLATED bounds: an assumption of the target spec), so the dispersion flag is not raised. Where the dispersion is not assessable, as for a 0/1 outcome, it is absent and this condition is not met. Constant exposure is not readable today and is not counted.",
          "checkedByTool": true
        },
        {
          "id": "robust_variance",
          "text": "The Poisson model is fitted with a robust variance and the exposure offset is present.",
          "checkedByTool": false
        }
      ],
      "handlingClass": "c",
      "alternatives": [
        {
          "label": "Negative binomial regression",
          "scope": "Counts with variance above the mean, with an exposure offset when exposure varies.",
          "limits": "The dispersion parameter can fail to converge; Safi then reports the Poisson fit and says so.",
          "diagnostics": "Compare observed and expected zeros and look at simulated residuals."
        },
        {
          "label": "Quasi-Poisson or robust-variance Poisson",
          "scope": "Counts where only the standard errors need protecting.",
          "limits": "No likelihood, so no AIC; the mean model is unchanged.",
          "diagnostics": "Report the dispersion statistic and the robust and model-based standard errors side by side."
        }
      ],
      "reasonPlain": "The Poisson fit shows more or less spread than a Poisson model expects. Safi flags this and says how it affects the standard errors.",
      "reasonExpert": "Pearson dispersion outside 0.7 to 1.5 flags model-based Poisson standard errors; the check is a flag reported after the fit, not a test that selects the method. The negative-binomial to Poisson switch at the theta boundary runs only when the Poisson dispersion is at most 1.2; above it the run stops under RF-NB-THETA-01 (a hard block of its own) and reports no count model. Source: methods/CORE_ANALYSIS_WORKFLOW.md (3-select-a-model-by-outcome-and-target).",
      "fineWhen": "Fine to keep the Poisson model with robust variance or quasi-Poisson. The flag is reported either way.",
      "sourceIds": [
        "core_analysis_workflow",
        "model_assumptions"
      ],
      "sourceSectionIds": [
        "core_analysis_workflow::3-select-a-model-by-outcome-and-target:1",
        "model_assumptions::model-specific-assumptions:1"
      ],
      "rPackage": "MASS",
      "rFunction": "glm.nb",
      "rPackageVersion": "7.3-66",
      "rLicence": "GPL-2 | GPL-3",
      "rCalls": [
        "poisson",
        "stats::poisson"
      ],
      "lastReviewDate": null,
      "reviewIntervalMonths": null,
      "watchedGuidance": null,
      "reviewState": "not_yet_reviewed",
      "policyState": "not_yet_set",
      "overdue": null
    },
    {
      "eCode": "E-077",
      "ruleId": "RF-09",
      "ruleVersion": 1,
      "practiceStatement": "Variables are chosen by stepwise, p-value, information-criterion or all-subsets selection with a liberal threshold (AIC or p about 0.157), or by univariable screening, without regard to the purpose of the model. Choosing confounders for a causal estimate this way is a separate error (E-161, E-234).",
      "validityConditions": [
        {
          "id": "backward_with_stability",
          "text": "For description or explanation, backward elimination with bootstrap stability output when events per candidate parameter exceed 25, not used to choose confounders for a causal estimate.",
          "checkedByTool": false
        },
        {
          "id": "prediction_selection_inside_resampling",
          "text": "For prediction, selection runs inside resampling, bootstrap inclusion frequencies are reported, and the minimum sample size is met.",
          "checkedByTool": false
        }
      ],
      "handlingClass": "c",
      "alternatives": [
        {
          "label": "Prespecified candidate set with penalised estimation",
          "scope": "Prediction models when the minimum sample size is met; a full model with shrinkage is the other option.",
          "limits": "Below the minimum sample size the shortfall is shown and penalisation is not presented as a remedy.",
          "diagnostics": "Optimism-corrected performance by bootstrap, and calibration."
        },
        {
          "label": "Confounder set chosen by design reasoning",
          "scope": "Effect estimation, where the adjustment set follows the declared causal structure.",
          "limits": "Depends on the stated structure being right; the reasons are recorded for each variable.",
          "diagnostics": "Report the adjustment set and the reason for each variable."
        }
      ],
      "reasonPlain": "Choosing variables by their p-values makes results look stronger than they are. This is not yet in Safi, so the request is refused.",
      "reasonExpert": "Stepwise and screening selection give overoptimistic coefficients, p-values and intervals (Heinze, Wallisch and Dunkler 2018). The check becomes overridable with a disclosed justification once a template exists. Source: SAFI_CODING_STANDARDS.md (5-modern-variable-selection-without-causal-confusion).",
      "fineWhen": "Fine for a supplementary analysis with a stated reason, once Safi can run it. Confounders are chosen by design reasoning now.",
      "sourceIds": [
        "safi_coding_standards"
      ],
      "sourceSectionIds": [
        "safi_coding_standards::5-modern-variable-selection-without-causal-confusion:1"
      ],
      "rPackage": "glmnet",
      "rFunction": "glmnet",
      "rPackageVersion": "5.0",
      "rLicence": "GPL-2",
      "rCalls": [
        "step",
        "stats::step",
        "MASS::stepAIC",
        "stepAIC",
        "leaps::regsubsets",
        "regsubsets"
      ],
      "lastReviewDate": null,
      "reviewIntervalMonths": null,
      "watchedGuidance": null,
      "reviewState": "not_yet_reviewed",
      "policyState": "not_yet_set",
      "overdue": null
    },
    {
      "eCode": "E-157",
      "ruleId": "RF-11",
      "ruleVersion": 2,
      "practiceStatement": "Missing outcome, exposure or confounder values are filled with a single value (mean, median, regression prediction or worst value) and the data are analysed as if observed.",
      "validityConditions": [
        {
          "id": "baseline_covariate_in_randomised_comparison",
          "text": "A baseline-value fill of a covariate (role confounder, precision or design; not the outcome, an exposure, an effect modifier or a variable in no model role) in a randomised comparison (spec 1.6), where the covariate was measured before assignment. The contract records the design and the role but no field records the timing, and a variable measured after assignment is a mediator, so this condition is stated for the reader and never counts as met until a field records it. It is the capability row RF-FILL-BASELINE-01 until Safi has a template.",
          "checkedByTool": false
        }
      ],
      "handlingClass": "b",
      "alternatives": [
        {
          "label": "Multiple imputation with an analysis-compatible model",
          "scope": "Missing outcomes, exposures or confounders in non-randomised data.",
          "limits": "Valid under missing at random given the imputation model; it is not yet run by Safi.",
          "diagnostics": "Compare imputed and observed distributions and check the number of imputations."
        }
      ],
      "reasonPlain": "Filling gaps with the mean, median or mode makes uncertainty too small. Safi keeps the rows and shows the missingness.",
      "reasonExpert": "Single imputation shrinks variance and biases estimates; inference after it with unadjusted standard errors is a hard block (E-157). The valid case, a mean fill of a baseline covariate in a randomised comparison (spec 1.6), is not refused here: it is RF-FILL-BASELINE-01. Source: methods/CORE_ANALYSIS_WORKFLOW.md (5-missingness-multiplicity-and-selection).",
      "fineWhen": "Never fine to report unadjusted inference after a single-value fill of an outcome, an exposure or a confounder outside a randomised comparison. Multiple imputation or a stated complete-case analysis are the options.",
      "sourceIds": [
        "core_analysis_workflow",
        "missing_data_measurement"
      ],
      "sourceSectionIds": [
        "core_analysis_workflow::5-missingness-multiplicity-and-selection:1",
        "missing_data_measurement::choosing-the-primary-strategy:1"
      ],
      "rPackage": "mice",
      "rFunction": "mice",
      "rPackageVersion": "3.19.0",
      "rLicence": "GPL (>= 2)",
      "rCalls": [
        "Hmisc::impute",
        "impute",
        "tidyr::replace_na",
        "replace_na"
      ],
      "lastReviewDate": null,
      "reviewIntervalMonths": null,
      "watchedGuidance": null,
      "reviewState": "not_yet_reviewed",
      "policyState": "not_yet_set",
      "overdue": null
    },
    {
      "eCode": "E-182",
      "ruleId": "G-PREP-OUTLIER-01",
      "ruleVersion": 1,
      "practiceStatement": "Observations beyond a data-driven limit are deleted after outcome data were seen, without a prespecified rule or a sensitivity analysis.",
      "validityConditions": [
        {
          "id": "rule_fixed_before_outcome_display",
          "text": "The rule is an error-based limit or a robust estimator recorded before outcome results were displayed.",
          "checkedByTool": false
        }
      ],
      "handlingClass": "d",
      "alternatives": [
        {
          "label": "A robust estimator fixed in advance",
          "scope": "Heavy-tailed outcomes where extreme values are real.",
          "limits": "Estimates a different location summary; state the estimand.",
          "diagnostics": "Report the ordinary fit beside it."
        }
      ],
      "reasonPlain": "Values were removed because they looked extreme, and that choice was made after the outcome results were on screen. Removing values that way can move the estimate toward what you hoped to see.",
      "reasonExpert": "R-PREP-07: outlier handling follows a rule recorded before outcome results are displayed (error-based limits, or a robust estimator). A deletion by a data-driven rule (standard deviations from the mean, interquartile fences, visual inspection) after the outcome was displayed is warned and needs a typed justification, and the analysis with and without the deleted records is reported.",
      "fineWhen": "Fine when the rule is an error-based limit (for example the documented device range) or a robust estimator fixed before the outcome was shown.",
      "sourceIds": [
        "data_cleaning_exploration"
      ],
      "sourceSectionIds": [
        "data_cleaning_exploration::stage-1-univariable-cleaning-checks:1"
      ],
      "rPackage": "MASS",
      "rFunction": "rlm",
      "rPackageVersion": "7.3-66",
      "rLicence": "GPL-2 | GPL-3",
      "rCalls": [
        "DescTools::Winsorize",
        "Winsorize",
        "psych::winsor",
        "winsor",
        "datawizard::winsorize",
        "winsorize"
      ],
      "lastReviewDate": null,
      "reviewIntervalMonths": null,
      "watchedGuidance": null,
      "reviewState": "not_yet_reviewed",
      "policyState": "not_yet_set",
      "overdue": null
    },
    {
      "eCode": "E-183",
      "ruleId": "G-PREP-LOD-01",
      "ruleVersion": 1,
      "practiceStatement": "Values below a limit of detection are replaced by a constant (limit/2, limit/sqrt(2), zero).",
      "validityConditions": [
        {
          "id": "small_censored_fraction_with_justification",
          "text": "The censored fraction is at most the threshold and the justification is recorded.",
          "checkedByTool": false
        }
      ],
      "handlingClass": "d",
      "alternatives": [
        {
          "label": "Censored-data likelihood (Tobit-type)",
          "scope": "A concentration with values below a limit.",
          "limits": "Assumes a Gaussian distribution on the modelled scale.",
          "diagnostics": "Compare with the substitution estimate; report both."
        }
      ],
      "reasonPlain": "Values below the detection limit are known only to be small. Replacing them with one number treats them as measured. The estimate that keeps them as censored is primary, and the substitution runs beside it.",
      "reasonExpert": "R-PREP-08 and Q-LOD option (a): values below a limit stay censored and the primary analysis uses a censored-data method (survival::survreg, left censoring, Gaussian on the log scale). Substitution (limit / sqrt(2)) is a sensitivity analysis. It may be primary only at or below the registry threshold (default 10%, EXTRAPOLATED, evidence CONTESTED: MPB-04 against MPB-06 and MPB-07) with a recorded justification.",
      "fineWhen": "Fine when at most 10% of values are below the limit and you record why substitution is acceptable.",
      "sourceIds": [
        "missing_data_measurement"
      ],
      "sourceSectionIds": [
        "missing_data_measurement::measurement-error-and-detection-limits:1"
      ],
      "rPackage": "survival",
      "rFunction": "survreg",
      "rPackageVersion": "3.8-12",
      "rLicence": "LGPL (>= 2)",
      "rCalls": [],
      "lastReviewDate": null,
      "reviewIntervalMonths": null,
      "watchedGuidance": null,
      "reviewState": "not_yet_reviewed",
      "policyState": "not_yet_set",
      "overdue": null
    },
    {
      "eCode": "E-184",
      "ruleId": "RF-10",
      "ruleVersion": 1,
      "practiceStatement": "An outcome with zeros is transformed by log(y + constant) or a similar transformation that changes the estimand.",
      "validityConditions": [
        {
          "id": "estimand_stated",
          "text": "The transformation is allowed with a recorded statement of the estimand it targets.",
          "checkedByTool": false
        }
      ],
      "handlingClass": "c",
      "alternatives": [
        {
          "label": "Log-link generalised linear model with robust standard errors",
          "scope": "Zero-containing non-negative outcomes where the ratio of means is the question; a two-part model is the other option.",
          "limits": "Reports a ratio of means, not a difference on the transformed scale. An eventual override of log(y + c) must disclose the chosen constant, because the result depends on it.",
          "diagnostics": "Check the mean-variance relation and the share of zeros."
        }
      ],
      "reasonPlain": "Adding a constant before taking the log changes the answer with the constant and the units. Safi fits a log-link model instead.",
      "reasonExpert": "log(y + c) and asinh(y) give a result that depends on c and the scale (Chen and Roth 2024; Mullahy and Norton 2024). The check becomes overridable once a template exists. Source: methods/MODEL_ASSUMPTIONS.md (linear-regression-the-outcome-does-not-have-to-look-normal).",
      "fineWhen": "Fine once Safi can run it, when the transformed scale is the stated question. Until then use the log-link model.",
      "sourceIds": [
        "model_assumptions"
      ],
      "sourceSectionIds": [
        "model_assumptions::linear-regression-the-outcome-does-not-have-to-look-normal:1"
      ],
      "rPackage": "stats",
      "rFunction": "glm",
      "rPackageVersion": "4.4.2",
      "rLicence": "GPL-2 | GPL-3",
      "rCalls": [
        "log1p",
        "asinh"
      ],
      "lastReviewDate": null,
      "reviewIntervalMonths": null,
      "watchedGuidance": null,
      "reviewState": "not_yet_reviewed",
      "policyState": "not_yet_set",
      "overdue": null
    },
    {
      "eCode": "E-203",
      "ruleId": "G-FORM-01",
      "ruleVersion": 1,
      "practiceStatement": "A continuous variable enters the model as a straight line by habit, without prior justification or an assessment of its shape.",
      "validityConditions": [
        {
          "id": "non_linear_or_linear_with_reason",
          "text": "Every continuous covariate has a non-linear form, or a linear form with a recorded reason or a spline comparison. A linear form chosen without a reason is the practice itself.",
          "checkedByTool": false
        }
      ],
      "handlingClass": "d",
      "alternatives": [
        {
          "label": "Restricted cubic spline with knots chosen by sample size",
          "scope": "Continuous exposures, confounders and predictors when the degrees-of-freedom budget allows.",
          "limits": "Spends parameters; the linear form stays as the alternative.",
          "diagnostics": "Plot the fitted curve and compare it with the linear fit."
        }
      ],
      "reasonPlain": "A continuous variable has no stated shape. Safi offers a flexible curve first because a straight line may hide the real pattern.",
      "reasonExpert": "A restricted cubic spline is offered as default with linear as the alternative (Sauerbrei et al. 2020, STRATOS TG2); an unexamined linear term can bias the adjustment and the effect. Source: methods/FUNCTIONAL_FORM.md (preserve-information-while-matching-the-question).",
      "fineWhen": "Fine to use a straight line when prior knowledge or a spline-versus-linear comparison supports it. Record the reason.",
      "sourceIds": [
        "functional_form"
      ],
      "sourceSectionIds": [
        "functional_form::preserve-information-while-matching-the-question:1"
      ],
      "rPackage": "rms",
      "rFunction": "rcs",
      "rPackageVersion": "8.1-1",
      "rLicence": "GPL (>= 2)",
      "rCalls": [],
      "lastReviewDate": null,
      "reviewIntervalMonths": null,
      "watchedGuidance": null,
      "reviewState": "not_yet_reviewed",
      "policyState": "not_yet_set",
      "overdue": null
    }
  ],
  "decisionTables": [
    {
      "family": "agreement.categorical",
      "rows": [
        {
          "rowId": "R-CMP-AGR-01",
          "apiId": "r.cmp.agr.01",
          "ruleVersion": 2,
          "title": "Categorical agreement: table, observed and specific agreement, kappa with interval",
          "when": "objective.goal is measure_agreement and modeling.agreement.kind is categorical and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "measure_agreement"
              },
              {
                "field": "modeling.agreement.kind",
                "op": "eq",
                "value": "categorical"
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Agreement table, observed agreement, specific agreement per category and kappa with a confidence interval via irr::kappa2 and psych::cohen.kappa. Weighted kappa with stated weights for ordinal categories; unweighted ordinal kappa needs a recorded reason. Lin-style alternatives such as Gwet AC1 are not implemented.",
          "methodId": null,
          "templateId": "model.agreement_kappa",
          "registryEntries": [
            {
              "id": "model.agreement_kappa",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-186"
          ],
          "reasonPlain": "Report how often two raters agree, in each category, and kappa with its interval.",
          "reasonExpert": "(R-BIAS-16) Agreement table, observed agreement, specific agreement per category and kappa with a confidence interval via irr::kappa2 and psych::cohen.kappa. Weighted kappa with stated weights for ordinal categories; unweighted ordinal kappa needs a recorded reason. Gwet AC1 (AC2 when weighted) from irrCAC is shown beside kappa as the alternative.",
          "fineWhen": "Two raters rate the same subjects on one declared category set."
        }
      ]
    },
    {
      "family": "agreement.factor",
      "rows": [
        {
          "rowId": "R-CMP-AGR-07",
          "apiId": "r.cmp.agr.07",
          "ruleVersion": 1,
          "title": "Factor analysis: common-factor model, parallel analysis, oblique rotation",
          "when": "objective.goal is measure_agreement and modeling.agreement.kind is answered and modeling.agreement.kind is factor_exploration and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "measure_agreement"
              },
              {
                "field": "modeling.agreement.kind",
                "op": "not_null"
              },
              {
                "field": "modeling.agreement.kind",
                "op": "eq",
                "value": "factor_exploration"
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Common-factor analysis (minimum residual) with seeded parallel analysis, oblimin rotation and polychoric correlations for ordered items under five categories.",
          "methodId": null,
          "templateId": "model.factor_exploratory",
          "registryEntries": [
            {
              "id": "model.factor_exploratory",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-185"
          ],
          "reasonPlain": "Explore the structure of a set of items with the common-factor model, and show how many factors several rules suggest.",
          "reasonExpert": "(R-BIAS-15) Common-factor analysis (minimum residual) of the declared items; seeded parallel analysis plus other retention criteria; oblimin rotation with the factor correlations reported; polychoric correlations for ordered items with fewer than five categories; principal components labelled components and run only when declared as data reduction.",
          "fineWhen": "Four or more numeric items of one instrument, one row per person, complete cases."
        },
        {
          "rowId": "R-CMP-AGR-08",
          "apiId": "r.cmp.agr.08",
          "ruleVersion": 1,
          "title": "Confirmatory factor analysis: declared factors with fit indices and their references",
          "when": "objective.goal is measure_agreement and modeling.agreement.kind is answered and modeling.agreement.kind is factor_confirmatory and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "measure_agreement"
              },
              {
                "field": "modeling.agreement.kind",
                "op": "not_null"
              },
              {
                "field": "modeling.agreement.kind",
                "op": "eq",
                "value": "factor_confirmatory"
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Confirmatory factor analysis via lavaan::cfa with fit indices and published references, WLSMV for ordered items under five categories.",
          "methodId": null,
          "templateId": "model.factor_confirmatory",
          "registryEntries": [
            {
              "id": "model.factor_confirmatory",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-185"
          ],
          "reasonPlain": "Test a declared measurement model and show how well it reproduces the items, without turning a fit index into a verdict.",
          "reasonExpert": "(R-BIAS-15) Confirmatory factor analysis of declared factors via lavaan::cfa; chi-square, CFI, TLI, RMSEA with interval and SRMR; WLSMV for ordered items with fewer than five categories, with the scaled and robust versions labelled; Hu and Bentler (1999) references shown with their validity domain and not transferred to WLSMV (Xia and Yang 2019).",
          "fineWhen": "Two or more factors, each with two or more numeric items (a single factor needs three), one row per person, complete cases, each item loading on one factor."
        }
      ]
    },
    {
      "family": "agreement.icc",
      "rows": [
        {
          "rowId": "R-CMP-AGR-02",
          "apiId": "r.cmp.agr.02",
          "ruleVersion": 2,
          "title": "Reliability as an ICC with model, type and unit stated, plus SEM",
          "when": "objective.goal is measure_agreement and modeling.agreement.kind is icc and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "measure_agreement"
              },
              {
                "field": "modeling.agreement.kind",
                "op": "eq",
                "value": "icc"
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "ICC with ANOVA model, agreement or consistency type and single or average unit stated, via psych::ICC cross-checked with irr::icc; its interval; the standard error of measurement for single-measure ICC; a Pearson correlation only beside it.",
          "methodId": null,
          "templateId": "model.agreement_icc",
          "registryEntries": [
            {
              "id": "model.agreement_icc",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-058"
          ],
          "reasonPlain": "Report test-retest or inter-rater reliability as an intraclass correlation and say which kind.",
          "reasonExpert": "(R-BIAS-07) ICC with ANOVA model, agreement or consistency type and single or average unit stated, via psych::ICC cross-checked with irr::icc; its interval; the standard error of measurement for single-measure ICC; a Pearson correlation only beside it.",
          "fineWhen": "Subjects measured by two or more raters or occasions on a numeric scale."
        }
      ]
    },
    {
      "family": "agreement.invariance",
      "rows": [
        {
          "rowId": "R-CMP-AGR-09",
          "apiId": "r.cmp.agr.09",
          "ruleVersion": 1,
          "title": "Measurement invariance: configural, metric and scalar models across groups",
          "when": "objective.goal is measure_agreement and modeling.agreement.kind is answered and modeling.agreement.kind is measurement_invariance and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "measure_agreement"
              },
              {
                "field": "modeling.agreement.kind",
                "op": "not_null"
              },
              {
                "field": "modeling.agreement.kind",
                "op": "eq",
                "value": "measurement_invariance"
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Multi-group confirmatory factor analysis with configural, metric and scalar models; chi-square differences, change in CFI and RMSEA; a decision prompt, never a block.",
          "methodId": null,
          "templateId": "model.measurement_invariance",
          "registryEntries": [
            {
              "id": "model.measurement_invariance",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-059"
          ],
          "reasonPlain": "Check that a scale measures the same thing in each group before comparing group means on it.",
          "reasonExpert": "(R-BIAS-08) Multi-group confirmatory factor analysis of one scale with configural, metric and scalar models, chi-square difference tests and the changes in CFI and RMSEA. A CFI drop beyond the published reference (an ASSUMPTION) asks for a decision and never blocks a comparison (Q-INVARIANCE).",
          "fineWhen": "Four or more numeric items of one scale, one row per person, complete cases, and a grouping column with two to ten groups large enough for a one-factor model. Ordered items under five categories follow the thresholds-first sequence; partial invariance runs only for parameters the researcher declares free."
        }
      ]
    },
    {
      "family": "agreement.method",
      "rows": [
        {
          "rowId": "R-CMP-AGR-03",
          "apiId": "r.cmp.agr.03",
          "ruleVersion": 2,
          "title": "Method agreement: bias, limits of agreement and proportional bias",
          "when": "objective.goal is measure_agreement and modeling.agreement.kind is method and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "measure_agreement"
              },
              {
                "field": "modeling.agreement.kind",
                "op": "eq",
                "value": "method"
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Bland-Altman bias with a paired t interval, 95% limits of agreement with approximate intervals (pending package decision) and proportional bias as the slope of differences on means. Correlation and tests of a zero difference are not agreement measures; absolute-agreement ICC is the accepted agreement index. Lin concordance and replicate-aware limits are not implemented.",
          "methodId": null,
          "templateId": "model.agreement_bland_altman",
          "registryEntries": [
            {
              "id": "model.agreement_bland_altman",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-057"
          ],
          "reasonPlain": "Compare two measurement methods by the size and spread of their differences, not by correlation.",
          "reasonExpert": "(R-BIAS-06) Bland-Altman bias with a paired t interval, 95% limits of agreement with intervals from BlandAltmanLeh and proportional bias as the slope of differences on means. Correlation and tests of a zero difference are not agreement measures; absolute-agreement ICC is the accepted agreement index. Lin concordance is reported beside it (DescTools); replicate-aware limits are not implemented.",
          "fineWhen": "One pair of measurements per subject on the same scale."
        }
      ]
    },
    {
      "family": "agreement.method_regression",
      "rows": [
        {
          "rowId": "R-CMP-AGR-05",
          "apiId": "r.cmp.agr.05",
          "ruleVersion": 2,
          "title": "Method comparison: Passing-Bablok regression with slope and intercept intervals",
          "when": "objective.goal is measure_agreement and modeling.agreement.kind is passing_bablok and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "measure_agreement"
              },
              {
                "field": "modeling.agreement.kind",
                "op": "eq",
                "value": "passing_bablok"
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Passing-Bablok regression via mcr::mcreg with analytical intervals for the intercept (constant difference) and slope (proportional difference). Rank based, no variance ratio; assumes a linear relation and positively correlated methods. At least 30 independent pairs.",
          "methodId": null,
          "templateId": "model.method_comparison_passing_bablok",
          "registryEntries": [
            {
              "id": "model.method_comparison_passing_bablok",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-057"
          ],
          "reasonPlain": "Compare a test method with a reference method by a robust line and read the intervals for constant and proportional difference.",
          "reasonExpert": "Passing-Bablok regression via mcr::mcreg with analytical intervals for the intercept (constant difference) and slope (proportional difference). Rank based, no variance ratio; assumes a linear relation and positively correlated methods. At least 30 independent pairs.",
          "fineWhen": "One pair of continuous measurements per subject on the same scale; at least 30 pairs."
        },
        {
          "rowId": "R-CMP-AGR-06",
          "apiId": "r.cmp.agr.06",
          "ruleVersion": 2,
          "title": "Method comparison: Deming regression with a stated or replicate-estimated error ratio",
          "when": "objective.goal is measure_agreement and modeling.agreement.kind is deming and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "measure_agreement"
              },
              {
                "field": "modeling.agreement.kind",
                "op": "eq",
                "value": "deming"
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Deming regression via mcr::mcreg with analytical intervals. The reference-to-test error-variance ratio is stated by the researcher or estimated from replicate columns; it is never defaulted to 1.",
          "methodId": null,
          "templateId": "model.method_comparison_deming",
          "registryEntries": [
            {
              "id": "model.method_comparison_deming",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-057"
          ],
          "reasonPlain": "Compare two methods that both have measurement error, using a stated ratio of their error variances or one estimated from replicates.",
          "reasonExpert": "Deming regression via mcr::mcreg with analytical intervals. The reference-to-test error-variance ratio is stated by the researcher or estimated from replicate columns; it is never defaulted to 1.",
          "fineWhen": "One continuous measurement (or replicates) per method and subject; at least 30 independent subjects."
        }
      ]
    },
    {
      "family": "agreement.pls",
      "rows": [
        {
          "rowId": "R-CMP-AGR-10",
          "apiId": "r.cmp.agr.10",
          "ruleVersion": 1,
          "title": "Composite (PLS) path model, only with a declared composite or prediction rationale",
          "when": "objective.goal is measure_agreement and modeling.agreement.kind is answered and modeling.agreement.kind is pls_sem and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "measure_agreement"
              },
              {
                "field": "modeling.agreement.kind",
                "op": "not_null"
              },
              {
                "field": "modeling.agreement.kind",
                "op": "eq",
                "value": "pls_sem"
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Composite (PLS) path model through seminr with a seeded bootstrap; reliability and HTMT as returned.",
          "methodId": null,
          "templateId": "model.pls_sem",
          "registryEntries": [
            {
              "id": "model.pls_sem",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-080"
          ],
          "reasonPlain": "Fit a path model of composites of items when the purpose is a composite model or prediction, never to correct measurement error.",
          "reasonExpert": "(R-INF-18, Q-PLS option a) PLS-SEM through seminr with a bootstrap of paths, loadings and weights; reliability and HTMT as the package returns them, without pass or fail; allowed only with a declared composite or prediction rationale; the wording never claims measurement-error correction.",
          "fineWhen": "Two or more constructs, each a composite of numeric items, declared paths without a loop, one row per person, complete cases, and a recorded rationale."
        }
      ]
    },
    {
      "family": "agreement.scale",
      "rows": [
        {
          "rowId": "R-CMP-AGR-04",
          "apiId": "r.cmp.agr.04",
          "ruleVersion": 3,
          "title": "Scale reliability: alpha with negative item-rest check and reverse-keying question",
          "when": "objective.goal is measure_agreement and modeling.agreement.kind is scale_reliability and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "measure_agreement"
              },
              {
                "field": "modeling.agreement.kind",
                "op": "eq",
                "value": "scale_reliability"
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Cronbach alpha with interval and corrected item-rest correlations via psych::alpha, flagging negative values; reverse keying is applied only to items the researcher confirmed.",
          "methodId": null,
          "templateId": "model.scale_item_rest",
          "registryEntries": [
            {
              "id": "model.scale_item_rest",
              "status": "implemented"
            },
            {
              "id": "model.scale_omega",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-033"
          ],
          "reasonPlain": "Check that every item of a scale points the same way before trusting alpha, and show omega beside it with a check of the condition alpha needs.",
          "reasonExpert": "(R-MEAN-10) Cronbach alpha with interval and corrected item-rest correlations via psych::alpha, flagging negative values; reverse keying is applied only to items the researcher confirmed.",
          "fineWhen": "Three or more numeric items of one declared scale."
        }
      ]
    },
    {
      "family": "associate.cox_counting_process",
      "rows": [
        {
          "rowId": "R-ASC-COUNT-01",
          "apiId": "r.asc.count.01",
          "ruleVersion": 2,
          "title": "Time-varying counting-process Cox",
          "when": "objective.goal is associate and modeling.outcomeFamily is time_to_event and modeling.postOriginGrouping is true and modeling.hasCompetingEvent is false and derived.viewRepeatsPerson is true and dependence.clusterVar is not answered and surveyDesign.weightVar is not answered and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "associate"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "time_to_event"
              },
              {
                "field": "modeling.postOriginGrouping",
                "op": "eq",
                "value": true
              },
              {
                "field": "modeling.hasCompetingEvent",
                "op": "eq",
                "value": false
              },
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": true
              },
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Cox proportional hazards on constructed (start, stop] intervals, with Efron ties, participant id and participant-cluster robust covariance. The coefficient is a conditional time-varying hazard ratio, not a baseline risk comparison or causal effect.",
          "methodId": null,
          "templateId": "model.cox_counting_process",
          "registryEntries": [
            {
              "id": "model.cox_counting_process",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-046"
          ],
          "reasonPlain": "A group assigned after follow-up begins needs time-varying at-risk intervals; a fixed ever-exposed baseline group would give it guaranteed survival time.",
          "reasonExpert": "The constructed start/stop view assigns exposure state before each event stop; survival::coxph fits counting-process intervals with participant-cluster robust covariance.",
          "fineWhen": "Participant and interval identities, terminal event assignment and censoring assumptions are checked and reported, and the exposure is a time-varying covariate rather than a future response group."
        }
      ]
    },
    {
      "family": "associate.cox_ph",
      "rows": [
        {
          "rowId": "R-ASC-10",
          "apiId": "r.asc.10",
          "ruleVersion": 3,
          "title": "Cox proportional hazards",
          "when": "objective.goal is associate and modeling.outcomeFamily is time_to_event and dependence.clusterVar is not answered and surveyDesign.weightVar is not answered and modeling.hasCompetingEvent is false and derived.viewRepeatsPerson is false and (modeling.censoringType is not answered or modeling.censoringType is exact_right) and modeling.survivalAnalysis.horizon is not answered and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "associate"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "time_to_event"
              },
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "modeling.hasCompetingEvent",
                "op": "eq",
                "value": false
              },
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "any": [
                  {
                    "field": "modeling.censoringType",
                    "op": "is_null"
                  },
                  {
                    "field": "modeling.censoringType",
                    "op": "eq",
                    "value": "exact_right"
                  }
                ]
              },
              {
                "field": "modeling.survivalAnalysis.horizon",
                "op": "is_null"
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Cox proportional hazards (survival::coxph, Efron ties) for a right-censored time-to-event outcome; hazard ratio with a Wald interval and z-test on the log-hazard scale; leaves the baseline hazard's shape free and assumes the hazard ratio is proportional over follow-up, a constant event rate is not assumed. Requires an explicit time/censoring duration column, an explicit event/censoring-status column and an explicit statement of which value of that column means the event occurred, not censored -- none inferred from column order or coding. The proportional-hazards check (survival::cox.zph) is reported as a decision the researcher makes, never a single pass/fail switch.",
          "methodId": null,
          "templateId": "model.cox_ph",
          "registryEntries": [
            {
              "id": "model.cox_ph",
              "status": "implemented"
            }
          ],
          "alternatives": [
            {
              "ruleId": "R-ASC-11",
              "label": "Poisson regression with follow-up time",
              "description": "Estimates an incidence rate ratio and assumes a constant event rate over follow-up."
            }
          ],
          "eCodes": [
            "E-054"
          ],
          "reasonPlain": "Cox regression is used for time to an event, with the proportional-hazards check shown.",
          "reasonExpert": "Cox proportional hazards with Schoenfeld-residual checks; restricted mean survival time is run when hazards are not proportional. Source: methods/MODEL_ASSUMPTIONS.md (model-specific-assumptions).",
          "fineWhen": "A single hazard ratio is fine when the proportional-hazards check shows no clear departure."
        }
      ]
    },
    {
      "family": "associate.firth",
      "rows": [
        {
          "rowId": "R-ASC-07",
          "apiId": "r.asc.07",
          "ruleVersion": 2,
          "title": "Firth-type penalization on separation or sparse data",
          "when": "objective.goal is associate and modeling.effectMeasure is or and modeling.outcomeFamily is binary and ((derived.separation is answered and derived.separation is true) or (derived.minExposureOutcomeCell is answered and derived.minExposureOutcomeCell is at most 4) or derived.eventsPerParam is below 10) and dependence.clusterVar is not answered and derived.viewRepeatsPerson is false and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "associate"
              },
              {
                "field": "modeling.effectMeasure",
                "op": "eq",
                "value": "or"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "binary"
              },
              {
                "any": [
                  {
                    "all": [
                      {
                        "field": "derived.separation",
                        "op": "not_null"
                      },
                      {
                        "field": "derived.separation",
                        "op": "eq",
                        "value": true
                      }
                    ]
                  },
                  {
                    "all": [
                      {
                        "field": "derived.minExposureOutcomeCell",
                        "op": "not_null"
                      },
                      {
                        "field": "derived.minExposureOutcomeCell",
                        "op": "le",
                        "value": 4
                      }
                    ]
                  },
                  {
                    "field": "derived.eventsPerParam",
                    "op": "lt",
                    "value": 10
                  }
                ]
              },
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              },
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Firth-type penalized logistic regression with intercept correction (logistf, flac = TRUE) and profile penalized-likelihood intervals; maximum-likelihood shown alongside only when it converged with finite SEs; removing predictors offered as a user decision, never applied.",
          "methodId": null,
          "templateId": "model.firth_flac",
          "registryEntries": [
            {
              "id": "model.firth_flac",
              "status": "implemented"
            },
            {
              "id": "test.exact_logistic",
              "status": "refused"
            }
          ],
          "alternatives": [
            {
              "ruleId": "R-ASC-02",
              "label": "Maximum likelihood logistic",
              "description": "Shown alongside only when it converged with finite SEs."
            }
          ],
          "eCodes": [
            "E-091"
          ],
          "reasonPlain": "When events are rare or a pattern predicts the outcome perfectly, Safi uses a penalised logistic fit.",
          "reasonExpert": "Firth-type penalisation with intercept correction (FLAC) and profile penalised-likelihood intervals for separation or sparse data. Source: disciplines/BIOSTATISTICS_ANALYSIS.md (small-samples-rare-outcomes-and-multiplicity).",
          "fineWhen": "Ordinary logistic regression is fine when no separation is found and events are adequate."
        }
      ]
    },
    {
      "family": "associate.gam_gaussian",
      "rows": [
        {
          "rowId": "R-ASC-GAM-01",
          "apiId": "r.asc.gam.01",
          "ruleVersion": 4,
          "title": "Declared Gaussian penalized smooth",
          "when": "objective.goal is associate and modeling.outcomeFamily is continuous and dataReadiness.missingnessPlan is complete_case and dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and surveyDesign.weightVar is not answered and derived.viewRepeatsPerson is false and modeling.effectMeasure is beta and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered and modeling.predictorForm is answered and modeling.predictorForm is gam_tp",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "associate"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "continuous"
              },
              {
                "field": "dataReadiness.missingnessPlan",
                "op": "eq",
                "value": "complete_case"
              },
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              },
              {
                "field": "dependence.repeatedUnitVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "field": "modeling.effectMeasure",
                "op": "eq",
                "value": "beta"
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              },
              {
                "field": "modeling.predictorForm",
                "op": "not_null"
              },
              {
                "field": "modeling.predictorForm",
                "op": "eq",
                "value": "gam_tp"
              }
            ]
          },
          "method": "One explicitly selected thin-plate smooth in a Gaussian additive model, mgcv REML. No same-data search chooses the functional form or basis dimension.",
          "methodId": null,
          "templateId": "model.gam_gaussian",
          "registryEntries": [
            {
              "id": "model.gam_gaussian",
              "status": "implemented"
            }
          ],
          "alternatives": [
            {
              "ruleId": "R-ASC-01",
              "label": "Linear regression with a declared predictor form",
              "description": "Use a declared linear or restricted cubic spline form when it represents the scientific question."
            }
          ],
          "eCodes": [
            "E-052"
          ],
          "reasonPlain": "A continuous outcome can be modeled with one researcher-declared smooth exposure while retaining additive adjustment variables. Complexity and comparisons are recorded before fitting.",
          "reasonExpert": "mgcv::gam fits a thin-plate basis with REML penalization. The route reports EDF, an approximate smooth test, model-conditional pointwise contrast uncertainty, residual-scale and concurvity diagnostics. Selected HC3, cluster and survey covariance modes are refused.",
          "fineWhen": "Independent rows, a continuous outcome and focal predictor, additive confounders, an explicit basis dimension and two comparison values within fitted predictor support."
        }
      ]
    },
    {
      "family": "associate.gamma_log",
      "rows": [
        {
          "rowId": "R-ASC-30",
          "apiId": "r.asc.30",
          "ruleVersion": 2,
          "title": "Arithmetic mean ratio regression",
          "when": "objective.goal is associate and modeling.outcomeFamily is continuous and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and derived.viewRepeatsPerson is false and modeling.effectMeasure is ratio_of_means and (studyDesign.samplingScheme is not answered or studyDesign.samplingScheme is not complex_survey) and surveyDesign.strataVar is not answered and surveyDesign.psuVar is not answered and surveyDesign.fpcVar is not answered and surveyDesign.replicateDesign is not answered and modeling.effectPlan.continuousTarget is arithmetic_mean and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "associate"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "continuous"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              },
              {
                "field": "dependence.repeatedUnitVar",
                "op": "is_null"
              },
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "field": "modeling.effectMeasure",
                "op": "eq",
                "value": "ratio_of_means"
              },
              {
                "any": [
                  {
                    "field": "studyDesign.samplingScheme",
                    "op": "is_null"
                  },
                  {
                    "field": "studyDesign.samplingScheme",
                    "op": "ne",
                    "value": "complex_survey"
                  }
                ]
              },
              {
                "field": "surveyDesign.strataVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.psuVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.fpcVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.replicateDesign",
                "op": "is_null"
              },
              {
                "field": "modeling.effectPlan.continuousTarget",
                "op": "eq",
                "value": "arithmetic_mean"
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Arithmetic mean ratio regression",
          "methodId": null,
          "templateId": "model.gamma_log",
          "registryEntries": [
            {
              "id": "model.gamma_log",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-205"
          ],
          "reasonPlain": "Gamma with log link estimates arithmetic mean ratios; it does not estimate geometric means",
          "reasonExpert": "Gamma with log link estimates arithmetic mean ratios; it does not estimate geometric means",
          "fineWhen": "Use a supported design-aware model when observations are dependent."
        }
      ]
    },
    {
      "family": "associate.gee",
      "rows": [
        {
          "rowId": "R-ASC-GEE-01",
          "apiId": "r.asc.gee.01",
          "ruleVersion": 1,
          "title": "Generalized estimating equations with an exchangeable or AR(1) working correlation",
          "when": "objective.goal is associate and dependence.clusterVar is answered and (dataReadiness.missingnessPlan is not answered or dataReadiness.missingnessPlan is not multiple_imputation) and modeling.outcomeFamily is one of continuous, binary, count and surveyDesign.weightVar is not answered and derived.hasSplineForms is false and derived.G is at least 10 and derived.structureLevels is at most 1 and (derived.viewRepeatsPerson is false or derived.viewPersonIsCluster is true) and (modeling.effectMeasure is not answered or modeling.effectMeasure is one of beta, or, irr) and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "associate"
              },
              {
                "field": "dependence.clusterVar",
                "op": "not_null"
              },
              {
                "any": [
                  {
                    "field": "dataReadiness.missingnessPlan",
                    "op": "is_null"
                  },
                  {
                    "field": "dataReadiness.missingnessPlan",
                    "op": "ne",
                    "value": "multiple_imputation"
                  }
                ]
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "in",
                "value": [
                  "continuous",
                  "binary",
                  "count"
                ]
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "derived.hasSplineForms",
                "op": "eq",
                "value": false
              },
              {
                "field": "derived.G",
                "op": "ge",
                "value": 10
              },
              {
                "field": "derived.structureLevels",
                "op": "le",
                "value": 1
              },
              {
                "any": [
                  {
                    "field": "derived.viewRepeatsPerson",
                    "op": "eq",
                    "value": false
                  },
                  {
                    "field": "derived.viewPersonIsCluster",
                    "op": "eq",
                    "value": true
                  }
                ]
              },
              {
                "any": [
                  {
                    "field": "modeling.effectMeasure",
                    "op": "is_null"
                  },
                  {
                    "field": "modeling.effectMeasure",
                    "op": "in",
                    "value": [
                      "beta",
                      "or",
                      "irr"
                    ]
                  }
                ]
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Generalized estimating equations (geepack::geeglm) with the working correlation the plan names, exchangeable or first-order autoregressive over the declared time variable, never chosen by Safi and never selected by QIC or by the estimate. A continuous outcome gives a coefficient, a binary outcome an odds ratio (logit link), a count outcome a rate ratio (Poisson log link with the exposure offset). Standard errors are cluster-robust: CR2 with Satterthwaite t intervals (clubSandwich) from 20 clusters, CR3 with t on clusters minus coefficients from 10 to 19, and the run stops under 10 clusters. The same model under an independence working correlation is fitted and reported beside the estimate. The coefficients are population-averaged. Offered as a tie with the cluster-robust regression and the mixed models (WF-3).",
          "methodId": null,
          "templateId": "model.gee",
          "registryEntries": [
            {
              "id": "model.gee",
              "status": "implemented"
            }
          ],
          "alternatives": [
            {
              "ruleId": "R-ASC-01",
              "label": "Cluster-robust linear regression",
              "description": "The independence working correlation; the same estimand."
            },
            {
              "ruleId": "R-ASC-02",
              "label": "Cluster-robust logistic regression",
              "description": "The independence working correlation, for an odds ratio."
            },
            {
              "ruleId": "R-ASC-04",
              "label": "Negative binomial with cluster-robust errors",
              "description": "A count model that allows extra spread."
            },
            {
              "ruleId": "R-ASC-09",
              "label": "Linear mixed model",
              "description": "Cluster-specific effects, for a continuous outcome."
            },
            {
              "ruleId": "R-ASC-33",
              "label": "Random-intercept logistic mixed model",
              "description": "An odds ratio between rows of one group."
            },
            {
              "ruleId": "R-ASC-34",
              "label": "Random-intercept Poisson mixed model",
              "description": "A rate ratio between rows of one group."
            }
          ],
          "eCodes": [
            "E-006",
            "E-008"
          ],
          "reasonPlain": "Clustered or repeated measurements are modelled by generalized estimating equations, with the working correlation the researcher chooses and standard errors that stay valid when that choice is wrong.",
          "reasonExpert": "Population-averaged model by geepack::geeglm with an exchangeable or AR(1) working correlation; CR2 cluster-robust standard errors with Satterthwaite t intervals from 20 clusters, CR3 with t on clusters minus coefficients from 10 to 19; the independence fit shown beside it. Source: methods/SURVIVAL_LONGITUDINAL.md (repeated-outcomes-and-small-cluster-inference).",
          "fineWhen": "A cluster-robust regression (independence working correlation) is fine when efficiency from a working structure is not needed; a mixed model is fine when cluster-specific effects are the target."
        }
      ]
    },
    {
      "family": "associate.geometric_mean",
      "rows": [
        {
          "rowId": "R-ASC-31",
          "apiId": "r.asc.31",
          "ruleVersion": 2,
          "title": "Geometric mean ratio regression",
          "when": "objective.goal is associate and modeling.outcomeFamily is continuous and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and derived.viewRepeatsPerson is false and modeling.effectMeasure is gmr and (studyDesign.samplingScheme is not answered or studyDesign.samplingScheme is not complex_survey) and surveyDesign.strataVar is not answered and surveyDesign.psuVar is not answered and surveyDesign.fpcVar is not answered and surveyDesign.replicateDesign is not answered and modeling.effectPlan.continuousTarget is geometric_mean and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "associate"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "continuous"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              },
              {
                "field": "dependence.repeatedUnitVar",
                "op": "is_null"
              },
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "field": "modeling.effectMeasure",
                "op": "eq",
                "value": "gmr"
              },
              {
                "any": [
                  {
                    "field": "studyDesign.samplingScheme",
                    "op": "is_null"
                  },
                  {
                    "field": "studyDesign.samplingScheme",
                    "op": "ne",
                    "value": "complex_survey"
                  }
                ]
              },
              {
                "field": "surveyDesign.strataVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.psuVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.fpcVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.replicateDesign",
                "op": "is_null"
              },
              {
                "field": "modeling.effectPlan.continuousTarget",
                "op": "eq",
                "value": "geometric_mean"
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Geometric mean ratio regression",
          "methodId": null,
          "templateId": "model.geometric_mean",
          "registryEntries": [
            {
              "id": "model.geometric_mean",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-205"
          ],
          "reasonPlain": "Log-outcome linear regression estimates geometric mean ratios; arithmetic mean differences remain separate supplementary estimates",
          "reasonExpert": "Log-outcome linear regression estimates geometric mean ratios; arithmetic mean differences remain separate supplementary estimates",
          "fineWhen": "Use a supported design-aware model when observations are dependent."
        }
      ]
    },
    {
      "family": "associate.interval_ph",
      "rows": [
        {
          "rowId": "R-ASC-IC-01",
          "apiId": "r.asc.ic.01",
          "ruleVersion": 2,
          "title": "Interval-censored proportional hazards",
          "when": "objective.goal is associate and modeling.outcomeFamily is time_to_event and modeling.censoringType is interval and modeling.intervalCensoring.lowerBoundVar is answered and dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and surveyDesign.weightVar is not answered and surveyDesign.strataVar is not answered and surveyDesign.psuVar is not answered and surveyDesign.fpcVar is not answered and surveyDesign.replicateDesign.type is not answered and (studyDesign.samplingScheme is not answered or studyDesign.samplingScheme is not complex_survey) and derived.viewRepeatsPerson is false and modeling.hasCompetingEvent is false and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "associate"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "time_to_event"
              },
              {
                "field": "modeling.censoringType",
                "op": "eq",
                "value": "interval"
              },
              {
                "field": "modeling.intervalCensoring.lowerBoundVar",
                "op": "not_null"
              },
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              },
              {
                "field": "dependence.repeatedUnitVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.strataVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.psuVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.fpcVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.replicateDesign.type",
                "op": "is_null"
              },
              {
                "any": [
                  {
                    "field": "studyDesign.samplingScheme",
                    "op": "is_null"
                  },
                  {
                    "field": "studyDesign.samplingScheme",
                    "op": "ne",
                    "value": "complex_survey"
                  }
                ]
              },
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "field": "modeling.hasCompetingEvent",
                "op": "eq",
                "value": false
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Interval-censored proportional hazards",
          "methodId": null,
          "templateId": "model.interval_ph",
          "registryEntries": [
            {
              "id": "model.interval_ph",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-054"
          ],
          "reasonPlain": "Interval-censored proportional hazards.",
          "reasonExpert": "Interval PH estimates hazard ratios only",
          "fineWhen": "Use the declared event process, target and supported independent-subject design."
        }
      ]
    },
    {
      "family": "associate.linear",
      "rows": [
        {
          "rowId": "R-ASC-01",
          "apiId": "r.asc.01",
          "ruleVersion": 8,
          "title": "Linear regression",
          "when": "(objective.goal is associate or (objective.goal is compare and (dependence.clusterVar is answered or dependence.repeatedUnitVar is answered))) and modeling.outcomeFamily is continuous and surveyDesign.weightVar is not answered and (derived.viewRepeatsPerson is false or derived.viewPersonIsCluster is true) and (modeling.effectMeasure is not answered or modeling.effectMeasure is none of ratio_of_means, gmr) and (dataReadiness.missingnessPlan is not answered or dataReadiness.missingnessPlan is not multiple_imputation) and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered and (modeling.predictorForm is not answered or modeling.predictorForm is not gam_tp)",
          "appliesWhen": {
            "all": [
              {
                "any": [
                  {
                    "field": "objective.goal",
                    "op": "eq",
                    "value": "associate"
                  },
                  {
                    "all": [
                      {
                        "field": "objective.goal",
                        "op": "eq",
                        "value": "compare"
                      },
                      {
                        "any": [
                          {
                            "field": "dependence.clusterVar",
                            "op": "not_null"
                          },
                          {
                            "field": "dependence.repeatedUnitVar",
                            "op": "not_null"
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "continuous"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "any": [
                  {
                    "field": "derived.viewRepeatsPerson",
                    "op": "eq",
                    "value": false
                  },
                  {
                    "field": "derived.viewPersonIsCluster",
                    "op": "eq",
                    "value": true
                  }
                ]
              },
              {
                "any": [
                  {
                    "field": "modeling.effectMeasure",
                    "op": "is_null"
                  },
                  {
                    "field": "modeling.effectMeasure",
                    "op": "not_in",
                    "value": [
                      "ratio_of_means",
                      "gmr"
                    ]
                  }
                ]
              },
              {
                "any": [
                  {
                    "field": "dataReadiness.missingnessPlan",
                    "op": "is_null"
                  },
                  {
                    "field": "dataReadiness.missingnessPlan",
                    "op": "ne",
                    "value": "multiple_imputation"
                  }
                ]
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              },
              {
                "any": [
                  {
                    "field": "modeling.predictorForm",
                    "op": "is_null"
                  },
                  {
                    "field": "modeling.predictorForm",
                    "op": "ne",
                    "value": "gam_tp"
                  }
                ]
              }
            ]
          },
          "method": "Linear regression (lm) with covariates on the ST-24 functional form; covariance by the cluster tier (R-COV-*); beta with interval.",
          "methodId": null,
          "templateId": "model.linear",
          "registryEntries": [
            {
              "id": "model.linear.default",
              "status": "implemented"
            },
            {
              "id": "model.linear.cluster",
              "status": "implemented"
            }
          ],
          "alternatives": [
            {
              "ruleId": "R-ASC-TWOPART-01",
              "label": "Two-part model",
              "description": "Difference in overall means for a separate zero process."
            },
            {
              "ruleId": "R-ASC-09",
              "label": "Random-intercept mixed model",
              "description": "Estimates the conditional, within-cluster association plus the ICC; assumes the cluster random effect is uncorrelated with the covariates, an assumption cluster-robust standard errors do not need."
            },
            {
              "ruleId": "R-ASC-GEE-01",
              "label": "Generalized estimating equations",
              "description": "Same estimand, own correlation."
            },
            {
              "ruleId": "R-ASC-GAM-01",
              "label": "Declared Gaussian smooth",
              "description": "Use an explicitly declared thin-plate smooth for one continuous exposure with model-based uncertainty."
            }
          ],
          "eCodes": [
            "E-205"
          ],
          "reasonPlain": "Linear regression is used for a continuous outcome, with checks on the residuals.",
          "reasonExpert": "Ordinary least squares with robust or model-based covariance as the design requires; residual diagnostics reported. Source: methods/MODEL_ASSUMPTIONS.md (linear-regression-the-outcome-does-not-have-to-look-normal).",
          "fineWhen": "A log-link Gamma model is fine for a skewed positive outcome when the mean scale is the question."
        }
      ]
    },
    {
      "family": "associate.logbinomial",
      "rows": [
        {
          "rowId": "R-ASC-03",
          "apiId": "r.asc.03",
          "ruleVersion": 3,
          "title": "Log-binomial, with a recorded modified-Poisson fallback, for a conditional prevalence or risk ratio",
          "when": "objective.goal is associate and modeling.outcomeFamily is binary and modeling.effectMeasure is one of rr, pr and populationEstimand.targetIsMarginal is false and studyDesign.datasetType is one of cross_sectional_survey, cohort, routine, administrative, trial and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered and derived.viewRepeatsPerson is false and (dataReadiness.missingnessPlan is not answered or dataReadiness.missingnessPlan is not multiple_imputation) and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "associate"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "binary"
              },
              {
                "field": "modeling.effectMeasure",
                "op": "in",
                "value": [
                  "rr",
                  "pr"
                ]
              },
              {
                "field": "populationEstimand.targetIsMarginal",
                "op": "eq",
                "value": false
              },
              {
                "field": "studyDesign.datasetType",
                "op": "in",
                "value": [
                  "cross_sectional_survey",
                  "cohort",
                  "routine",
                  "administrative",
                  "trial"
                ]
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              },
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "any": [
                  {
                    "field": "dataReadiness.missingnessPlan",
                    "op": "is_null"
                  },
                  {
                    "field": "dataReadiness.missingnessPlan",
                    "op": "ne",
                    "value": "multiple_imputation"
                  }
                ]
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Log-binomial regression (logbin) for the conditional prevalence or risk ratio; on non-convergence, modified Poisson with a robust (HC3) covariance, with the fallback recorded and reported; fitted probabilities above 1 counted and interpretation withheld when any exceed 1. A declared cluster is refused (RF-CLUSTER-RR) until a validated clustered route exists.",
          "methodId": null,
          "templateId": "model.logbinomial",
          "registryEntries": [
            {
              "id": "model.logbinomial",
              "status": "implemented"
            }
          ],
          "alternatives": [
            {
              "ruleId": "R-ASC-02",
              "label": "Odds ratio",
              "description": "Logistic regression when the estimand is an odds ratio."
            },
            {
              "ruleId": "R-ASC-08",
              "label": "Modified Poisson directly",
              "description": "The same conditional PR or RR, fit directly: it usually converges and its fitted means can exceed 1, which are counted. Neither route is Safi's default; you choose."
            }
          ],
          "eCodes": [
            "E-215"
          ],
          "reasonPlain": "For a prevalence or risk ratio Safi uses log-binomial regression and records a fallback if it fails to converge.",
          "reasonExpert": "Log-binomial regression with a recorded modified-Poisson fallback for a conditional prevalence or risk ratio. Source: methods/EFFECT_MEASURES_REPORTING.md (design-specific-routing).",
          "fineWhen": "Modified Poisson is fine as the main method when log-binomial does not converge."
        }
      ]
    },
    {
      "family": "associate.logistic",
      "rows": [
        {
          "rowId": "R-ASC-02",
          "apiId": "r.asc.02",
          "ruleVersion": 4,
          "title": "Logistic regression for a conditional odds ratio",
          "when": "objective.goal is associate and modeling.outcomeFamily is binary and modeling.effectMeasure is or and surveyDesign.weightVar is not answered and (derived.viewRepeatsPerson is false or derived.viewPersonIsCluster is true) and (dataReadiness.missingnessPlan is not answered or dataReadiness.missingnessPlan is not multiple_imputation) and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "associate"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "binary"
              },
              {
                "field": "modeling.effectMeasure",
                "op": "eq",
                "value": "or"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "any": [
                  {
                    "field": "derived.viewRepeatsPerson",
                    "op": "eq",
                    "value": false
                  },
                  {
                    "field": "derived.viewPersonIsCluster",
                    "op": "eq",
                    "value": true
                  }
                ]
              },
              {
                "any": [
                  {
                    "field": "dataReadiness.missingnessPlan",
                    "op": "is_null"
                  },
                  {
                    "field": "dataReadiness.missingnessPlan",
                    "op": "ne",
                    "value": "multiple_imputation"
                  }
                ]
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Logistic regression for a conditional odds ratio with the selected covariance inference. Marginal PR/PD or RR/RD with bootstrap intervals and the averaging distribution stated appear only when the materialized plan contains g-computation. Case-control reports omit population-risk contrasts. Odds ratios are noncollapsible. With incomplete follow-up, Safi recommends person-time or survival methods first. The ordinary odds ratio remains available but counts people without a recorded event as not having the event, including early departures. It does not correct for censoring; RR/RD remain unavailable.",
          "methodId": null,
          "templateId": "model.logistic",
          "registryEntries": [
            {
              "id": "model.logistic.default",
              "status": "implemented"
            },
            {
              "id": "model.logistic.cluster",
              "status": "implemented"
            }
          ],
          "alternatives": [
            {
              "ruleId": "R-ASC-GEE-01",
              "label": "Generalized estimating equations",
              "description": "Population-average odds ratio."
            },
            {
              "ruleId": "R-ASC-33",
              "label": "Mixed logistic model",
              "description": "Within-group odds ratio."
            },
            {
              "ruleId": "R-ASC-07",
              "label": "Firth-type penalized logistic regression",
              "description": "For separation or sparse data when its independence assumptions apply; never an automatic switch."
            },
            {
              "ruleId": "R-ASC-03",
              "label": "Direct prevalence or risk ratio (or R-ASC-08)",
              "description": "Log-binomial or modified Poisson, conditional."
            },
            {
              "ruleId": "R-ASC-12",
              "label": "Standardized prevalence or risk ratio",
              "description": "Marginal standardization as the primary result; not yet in Safi."
            }
          ],
          "eCodes": [
            "E-215"
          ],
          "reasonPlain": "Logistic regression gives an odds ratio for a binary outcome, named as an odds ratio.",
          "reasonExpert": "Conditional odds ratio from logistic regression; noncollapsible, reported as an odds ratio only. Source: methods/EFFECT_MEASURES_REPORTING.md (design-specific-routing).",
          "fineWhen": "Fine for a rare outcome or a case-control design, where the odds ratio approximates the risk ratio."
        }
      ]
    },
    {
      "family": "associate.logistic_standardized",
      "rows": [
        {
          "rowId": "R-ASC-12",
          "apiId": "r.asc.12",
          "ruleVersion": 2,
          "title": "Logistic regression with marginal standardization for a standardized prevalence or risk ratio and difference",
          "when": "objective.goal is associate and modeling.outcomeFamily is binary and modeling.effectMeasure is one of pr, rr, pd, rd and populationEstimand.targetIsMarginal is true and studyDesign.datasetType is one of cross_sectional_survey, cohort, routine, administrative, trial and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered and (modeling.standardization.target is not answered or modeling.standardization.target is not survey_population) and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "associate"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "binary"
              },
              {
                "field": "modeling.effectMeasure",
                "op": "in",
                "value": [
                  "pr",
                  "rr",
                  "pd",
                  "rd"
                ]
              },
              {
                "field": "populationEstimand.targetIsMarginal",
                "op": "eq",
                "value": true
              },
              {
                "field": "studyDesign.datasetType",
                "op": "in",
                "value": [
                  "cross_sectional_survey",
                  "cohort",
                  "routine",
                  "administrative",
                  "trial"
                ]
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              },
              {
                "any": [
                  {
                    "field": "modeling.standardization.target",
                    "op": "is_null"
                  },
                  {
                    "field": "modeling.standardization.target",
                    "op": "ne",
                    "value": "survey_population"
                  }
                ]
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Logistic regression for the binary outcome, followed by marginal standardization: the predicted probability under each compared value, averaged over the stated target population, then their ratio and difference (a prevalence ratio and difference for a condition present at measurement, a risk ratio and difference for a new event with complete follow-up), with a percentile bootstrap that refits the whole procedure. Not yet in Safi.",
          "methodId": null,
          "templateId": null,
          "registryEntries": [
            {
              "id": "model.logistic_standardized",
              "status": "planned"
            }
          ],
          "alternatives": [
            {
              "ruleId": "R-ASC-03",
              "label": "Conditional prevalence or risk ratio, direct (R-ASC-03, R-ASC-08)",
              "description": "Log-binomial with a recorded modified-Poisson fallback, or modified Poisson directly, for people with the same adjustment variables (a conditional target)."
            },
            {
              "ruleId": "R-ASC-02",
              "label": "Odds ratio",
              "description": "Logistic regression when odds answer the question; it runs now."
            }
          ],
          "eCodes": [
            "E-165",
            "E-215"
          ],
          "reasonPlain": "A standardised ratio is estimated by logistic regression with marginal standardisation.",
          "reasonExpert": "Logistic regression with g-computation standardisation for a marginal prevalence or risk ratio; bootstrap interval. Source: methods/EFFECT_MEASURES_REPORTING.md (conditional-versus-marginal-adjusted-effects).",
          "fineWhen": "The conditional odds ratio is fine when a conditional answer is the question."
        }
      ]
    },
    {
      "family": "associate.mixed_glmm",
      "rows": [
        {
          "rowId": "R-ASC-33",
          "apiId": "r.asc.33",
          "ruleVersion": 1,
          "title": "Random-intercept logistic mixed model",
          "when": "(objective.goal is associate or (objective.goal is compare and (dependence.clusterVar is answered or dependence.repeatedUnitVar is answered))) and modeling.outcomeFamily is binary and dependence.clusterVar is answered and surveyDesign.weightVar is not answered and derived.hasSplineForms is false and derived.G is at least 5 and derived.structureLevels is at most 1 and (derived.viewRepeatsPerson is false or derived.viewPersonIsCluster is true) and modeling.effectMeasure is or and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered and (dataReadiness.missingnessPlan is not answered or dataReadiness.missingnessPlan is not multiple_imputation) and (studyDesign.datasetType is not answered or studyDesign.datasetType is not case_control)",
          "appliesWhen": {
            "all": [
              {
                "any": [
                  {
                    "field": "objective.goal",
                    "op": "eq",
                    "value": "associate"
                  },
                  {
                    "all": [
                      {
                        "field": "objective.goal",
                        "op": "eq",
                        "value": "compare"
                      },
                      {
                        "any": [
                          {
                            "field": "dependence.clusterVar",
                            "op": "not_null"
                          },
                          {
                            "field": "dependence.repeatedUnitVar",
                            "op": "not_null"
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "binary"
              },
              {
                "field": "dependence.clusterVar",
                "op": "not_null"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "derived.hasSplineForms",
                "op": "eq",
                "value": false
              },
              {
                "field": "derived.G",
                "op": "ge",
                "value": 5
              },
              {
                "field": "derived.structureLevels",
                "op": "le",
                "value": 1
              },
              {
                "any": [
                  {
                    "field": "derived.viewRepeatsPerson",
                    "op": "eq",
                    "value": false
                  },
                  {
                    "field": "derived.viewPersonIsCluster",
                    "op": "eq",
                    "value": true
                  }
                ]
              },
              {
                "field": "modeling.effectMeasure",
                "op": "eq",
                "value": "or"
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              },
              {
                "any": [
                  {
                    "field": "dataReadiness.missingnessPlan",
                    "op": "is_null"
                  },
                  {
                    "field": "dataReadiness.missingnessPlan",
                    "op": "ne",
                    "value": "multiple_imputation"
                  }
                ]
              },
              {
                "any": [
                  {
                    "field": "studyDesign.datasetType",
                    "op": "is_null"
                  },
                  {
                    "field": "studyDesign.datasetType",
                    "op": "ne",
                    "value": "case_control"
                  }
                ]
              }
            ]
          },
          "method": "Random-intercept logistic mixed model (lme4::glmer, binomial, logit link) with the declared cluster or grouping variable as the sole random effect, fitted by maximum likelihood with adaptive Gauss-Hermite quadrature (10 points); fixed-effect odds ratio with a Wald z test and Wald interval; the group variance, the median odds ratio and the latent-scale intraclass correlation reported. The odds ratio compares rows of the same group and differs from the population-average odds ratio. Offered as a tie alongside R-ASC-02 with cluster-robust errors: the two answer different questions, and the researcher chooses.",
          "methodId": null,
          "templateId": "model.mixed_glmm",
          "registryEntries": [
            {
              "id": "model.mixed_glmm.binomial",
              "status": "implemented"
            }
          ],
          "alternatives": [
            {
              "ruleId": "R-ASC-02",
              "label": "Cluster-robust logistic regression",
              "description": "Estimates the marginal, population-average odds ratio with cluster-robust standard errors; treats clustering as a nuisance and carries no assumption about how groups differ."
            },
            {
              "ruleId": "R-ASC-GEE-01",
              "label": "Generalized estimating equations",
              "description": "A population-average odds ratio with a working correlation you choose."
            }
          ],
          "eCodes": [
            "E-006",
            "E-008"
          ],
          "reasonPlain": "A clustered binary outcome is modelled with a random intercept for the group, and the odds ratio compares rows of the same group.",
          "reasonExpert": "Random-intercept logistic mixed model by maximum likelihood with adaptive Gauss-Hermite quadrature (lme4::glmer, 10 points); Wald z tests; the odds ratio is conditional on the group. Source: methods/MODEL_ASSUMPTIONS.md (model-specific-assumptions).",
          "fineWhen": "Cluster-robust logistic regression is fine when the population-average odds ratio is the target."
        },
        {
          "rowId": "R-ASC-34",
          "apiId": "r.asc.34",
          "ruleVersion": 1,
          "title": "Random-intercept Poisson mixed model",
          "when": "(objective.goal is associate or (objective.goal is compare and (dependence.clusterVar is answered or dependence.repeatedUnitVar is answered))) and modeling.outcomeFamily is count and dependence.clusterVar is answered and surveyDesign.weightVar is not answered and derived.hasSplineForms is false and derived.G is at least 5 and derived.structureLevels is at most 1 and (derived.viewRepeatsPerson is false or derived.viewPersonIsCluster is true) and modeling.effectMeasure is irr and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered and (dataReadiness.missingnessPlan is not answered or dataReadiness.missingnessPlan is not multiple_imputation) and (studyDesign.datasetType is not answered or studyDesign.datasetType is not case_control)",
          "appliesWhen": {
            "all": [
              {
                "any": [
                  {
                    "field": "objective.goal",
                    "op": "eq",
                    "value": "associate"
                  },
                  {
                    "all": [
                      {
                        "field": "objective.goal",
                        "op": "eq",
                        "value": "compare"
                      },
                      {
                        "any": [
                          {
                            "field": "dependence.clusterVar",
                            "op": "not_null"
                          },
                          {
                            "field": "dependence.repeatedUnitVar",
                            "op": "not_null"
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "count"
              },
              {
                "field": "dependence.clusterVar",
                "op": "not_null"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "derived.hasSplineForms",
                "op": "eq",
                "value": false
              },
              {
                "field": "derived.G",
                "op": "ge",
                "value": 5
              },
              {
                "field": "derived.structureLevels",
                "op": "le",
                "value": 1
              },
              {
                "any": [
                  {
                    "field": "derived.viewRepeatsPerson",
                    "op": "eq",
                    "value": false
                  },
                  {
                    "field": "derived.viewPersonIsCluster",
                    "op": "eq",
                    "value": true
                  }
                ]
              },
              {
                "field": "modeling.effectMeasure",
                "op": "eq",
                "value": "irr"
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              },
              {
                "any": [
                  {
                    "field": "dataReadiness.missingnessPlan",
                    "op": "is_null"
                  },
                  {
                    "field": "dataReadiness.missingnessPlan",
                    "op": "ne",
                    "value": "multiple_imputation"
                  }
                ]
              },
              {
                "any": [
                  {
                    "field": "studyDesign.datasetType",
                    "op": "is_null"
                  },
                  {
                    "field": "studyDesign.datasetType",
                    "op": "ne",
                    "value": "case_control"
                  }
                ]
              }
            ]
          },
          "method": "Random-intercept Poisson mixed model (lme4::glmer, poisson, log link) with the declared cluster or grouping variable as the sole random effect, fitted by maximum likelihood with adaptive Gauss-Hermite quadrature (10 points), with offset(log(exposure)) when an exposure variable is declared; fixed-effect rate ratio with a Wald z test and Wald interval; the group variance and the median rate ratio reported; overdispersion measured on simulated residuals and disclosed, never a switch of family. The rate ratio compares rows of the same group. Offered as a tie alongside R-ASC-04 with cluster-robust errors.",
          "methodId": null,
          "templateId": "model.mixed_glmm",
          "registryEntries": [
            {
              "id": "model.mixed_glmm.poisson",
              "status": "implemented"
            }
          ],
          "alternatives": [
            {
              "ruleId": "R-ASC-04",
              "label": "Cluster-robust negative binomial regression",
              "description": "Estimates the marginal, population-average rate ratio with cluster-robust standard errors; treats clustering as a nuisance and carries no assumption about how groups differ."
            },
            {
              "ruleId": "R-ASC-GEE-01",
              "label": "Generalized estimating equations",
              "description": "A population-average rate ratio with a working correlation you choose."
            }
          ],
          "eCodes": [
            "E-006",
            "E-008"
          ],
          "reasonPlain": "A clustered count outcome is modelled with a random intercept for the group, and the rate ratio compares rows of the same group.",
          "reasonExpert": "Random-intercept Poisson mixed model by maximum likelihood with adaptive Gauss-Hermite quadrature (lme4::glmer, 10 points) and an optional exposure offset; Wald z tests; the rate ratio is conditional on the group. Source: methods/MODEL_ASSUMPTIONS.md (model-specific-assumptions).",
          "fineWhen": "Cluster-robust negative binomial regression is fine when the population-average rate ratio is the target or the counts are overdispersed."
        }
      ]
    },
    {
      "family": "associate.mixed_lmm",
      "rows": [
        {
          "rowId": "R-ASC-09",
          "apiId": "r.asc.09",
          "ruleVersion": 4,
          "title": "Linear mixed model (random intercept, optional random slope)",
          "when": "(objective.goal is associate or (objective.goal is compare and (dependence.clusterVar is answered or dependence.repeatedUnitVar is answered))) and modeling.outcomeFamily is continuous and dependence.clusterVar is answered and surveyDesign.weightVar is not answered and derived.hasSplineForms is false and derived.G is at least 5 and derived.structureLevels is at most 1 and (derived.viewRepeatsPerson is false or derived.viewPersonIsCluster is true) and (modeling.effectMeasure is not answered or modeling.effectMeasure is none of ratio_of_means, gmr) and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "any": [
                  {
                    "field": "objective.goal",
                    "op": "eq",
                    "value": "associate"
                  },
                  {
                    "all": [
                      {
                        "field": "objective.goal",
                        "op": "eq",
                        "value": "compare"
                      },
                      {
                        "any": [
                          {
                            "field": "dependence.clusterVar",
                            "op": "not_null"
                          },
                          {
                            "field": "dependence.repeatedUnitVar",
                            "op": "not_null"
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "continuous"
              },
              {
                "field": "dependence.clusterVar",
                "op": "not_null"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "derived.hasSplineForms",
                "op": "eq",
                "value": false
              },
              {
                "field": "derived.G",
                "op": "ge",
                "value": 5
              },
              {
                "field": "derived.structureLevels",
                "op": "le",
                "value": 1
              },
              {
                "any": [
                  {
                    "field": "derived.viewRepeatsPerson",
                    "op": "eq",
                    "value": false
                  },
                  {
                    "field": "derived.viewPersonIsCluster",
                    "op": "eq",
                    "value": true
                  }
                ]
              },
              {
                "any": [
                  {
                    "field": "modeling.effectMeasure",
                    "op": "is_null"
                  },
                  {
                    "field": "modeling.effectMeasure",
                    "op": "not_in",
                    "value": [
                      "ratio_of_means",
                      "gmr"
                    ]
                  }
                ]
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Linear mixed model (lme4::lmer, REML = TRUE) with the declared cluster as the grouping factor and a random intercept. If the plan names one numeric variable x for a random slope, the fit is (1 + x | g); on a singular fit, a convergence message that is not the boundary message, or an error, the next step is (1 | g) + (0 + x | g), then (1 | g), and each step is recorded and reported. Fixed-effect beta with a Satterthwaite t test and Wald t interval (lmerTest); the random-effect variances, the correlation when estimated, and the ICC (random-intercept fit only) reported. Offered as a tie with R-ASC-01 (WF-3): the two estimate different quantities.",
          "methodId": null,
          "templateId": "model.mixed_lmm",
          "registryEntries": [
            {
              "id": "model.mixed_lmm",
              "status": "implemented"
            }
          ],
          "alternatives": [
            {
              "ruleId": "R-ASC-01",
              "label": "Cluster-robust linear regression",
              "description": "Estimates the marginal, population-average association with cluster-robust standard errors; treats clustering as a nuisance and carries no assumption about how the cluster relates to the covariates."
            },
            {
              "ruleId": "R-ASC-GEE-01",
              "label": "Generalized estimating equations",
              "description": "A population-average association with a working correlation you choose."
            }
          ],
          "eCodes": [
            "E-006",
            "E-008"
          ],
          "reasonPlain": "Clustered or repeated measurements are modelled with a random intercept and, when the plan names one, a random slope for one variable.",
          "reasonExpert": "Linear mixed model with a random intercept and an optional random slope, REML and Satterthwaite df; singular fits reported; a fixed simplification ladder, each step recorded. Source: methods/MODEL_ASSUMPTIONS.md (model-specific-assumptions).",
          "fineWhen": "Cluster-robust regression is fine when the population-average effect is the target."
        }
      ]
    },
    {
      "family": "associate.modified_poisson",
      "rows": [
        {
          "rowId": "R-ASC-08",
          "apiId": "r.asc.08",
          "ruleVersion": 3,
          "title": "Modified Poisson directly, not only as log-binomial's recorded fallback",
          "when": "objective.goal is associate and modeling.outcomeFamily is binary and modeling.effectMeasure is one of rr, pr and populationEstimand.targetIsMarginal is false and studyDesign.datasetType is one of cross_sectional_survey, cohort, routine, administrative, trial and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered and derived.viewRepeatsPerson is false and (dataReadiness.missingnessPlan is not answered or dataReadiness.missingnessPlan is not multiple_imputation) and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "associate"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "binary"
              },
              {
                "field": "modeling.effectMeasure",
                "op": "in",
                "value": [
                  "rr",
                  "pr"
                ]
              },
              {
                "field": "populationEstimand.targetIsMarginal",
                "op": "eq",
                "value": false
              },
              {
                "field": "studyDesign.datasetType",
                "op": "in",
                "value": [
                  "cross_sectional_survey",
                  "cohort",
                  "routine",
                  "administrative",
                  "trial"
                ]
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              },
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "any": [
                  {
                    "field": "dataReadiness.missingnessPlan",
                    "op": "is_null"
                  },
                  {
                    "field": "dataReadiness.missingnessPlan",
                    "op": "ne",
                    "value": "multiple_imputation"
                  }
                ]
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Poisson GLM fit directly to the binary outcome (stats::glm(poisson)) for the conditional prevalence or risk ratio, with an HC3 robust covariance (a model-based SE is wrong for this fit and is never reported); fitted probabilities above 1 counted and interpretation withheld when any exceed 1. A declared cluster is refused (RF-CLUSTER-RR) until a validated clustered route exists.",
          "methodId": null,
          "templateId": "model.modified_poisson",
          "registryEntries": [
            {
              "id": "model.modified_poisson",
              "status": "implemented"
            }
          ],
          "alternatives": [
            {
              "ruleId": "R-ASC-03",
              "label": "Log-binomial, with modified Poisson as its recorded fallback",
              "description": "The same conditional PR or RR from a constrained log-binomial fit, which keeps fitted probabilities below 1 and records a modified-Poisson fallback when it does not converge. Neither route is Safi's default; you choose."
            }
          ],
          "eCodes": [
            "E-215"
          ],
          "reasonPlain": "Modified Poisson with robust errors is offered directly for a prevalence or risk ratio.",
          "reasonExpert": "Poisson GLM with robust variance for binary outcomes (Zou 2004), not only as a fallback. Source: methods/EFFECT_MEASURES_REPORTING.md (design-specific-routing).",
          "fineWhen": "Log-binomial is fine when it converges."
        }
      ]
    },
    {
      "family": "associate.multiple_imputation",
      "rows": [
        {
          "rowId": "R-ASC-MI-01",
          "apiId": "r.asc.mi.01",
          "ruleVersion": 7,
          "title": "Multiple imputation, regression fitted in each imputed dataset and combined by Rubin's rules",
          "when": "objective.goal is associate and dataReadiness.missingnessPlan is multiple_imputation and dataReadiness.imputation.numericMethod is answered and modeling.outcomeFamily is one of continuous, binary and modeling.effectMeasure is one of beta, or and (dependence.clusterVar is not answered or dataReadiness.imputation.numericMethod is 2l.pan) and dependence.repeatedUnitVar is not answered and surveyDesign.weightVar is not answered and derived.viewRepeatsPerson is false and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "associate"
              },
              {
                "field": "dataReadiness.missingnessPlan",
                "op": "eq",
                "value": "multiple_imputation"
              },
              {
                "field": "dataReadiness.imputation.numericMethod",
                "op": "not_null"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "in",
                "value": [
                  "continuous",
                  "binary"
                ]
              },
              {
                "field": "modeling.effectMeasure",
                "op": "in",
                "value": [
                  "beta",
                  "or"
                ]
              },
              {
                "any": [
                  {
                    "field": "dependence.clusterVar",
                    "op": "is_null"
                  },
                  {
                    "field": "dataReadiness.imputation.numericMethod",
                    "op": "eq",
                    "value": "2l.pan"
                  }
                ]
              },
              {
                "field": "dependence.repeatedUnitVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Multiple imputation by chained equations (mice), imputing incomplete numeric variables by the selected predictive mean matching or normal regression. The primary linear or logistic regression is fitted separately in each of the m imputed datasets, and the m estimates and their variances are combined with Rubin's rules (Barnard-Rubin degrees of freedom). The logistic model takes the template parameter `estimator`: maximum likelihood (`ml`, the default, which stops on separation) or, when events are few for the parameters, `firth_flac`, a Firth-type penalized fit with intercept correction (logistf) in each imputed dataset, combined with Rubin's rules; the intervals are then Rubin-combined Wald t intervals on the penalized estimates, not profile penalized-likelihood intervals. Outcome delta sensitivity is not available with `firth_flac`. With one declared level of independent clusters and the multilevel method 2l.pan (mice, package pan), each incomplete continuous variable is imputed with a random-intercept model on the cluster, a random-intercept linear or logistic model (lmerTest::lmer, lme4::glmer) is fitted in each imputed dataset, and the fixed effects are combined with Rubin's rules (Barnard-Rubin degrees of freedom; Satterthwaite complete-data degrees of freedom for a linear model, infinite for a logistic one). With smcfcs the analysis model may carry one product term and restricted cubic splines; delta scenarios, Firth and the risk ratio are not available with it.",
          "methodId": null,
          "templateId": "model.multiple_imputation",
          "registryEntries": [
            {
              "id": "model.multiple_imputation",
              "status": "implemented"
            }
          ],
          "alternatives": [
            {
              "ruleId": "R-ASC-MI-02",
              "label": "Risk ratio under the same imputations",
              "description": "For a binary outcome recording a new event, change the effect measure to a risk ratio: modified Poisson regression with an HC3 sandwich covariance is fitted in each imputed dataset and the estimates are combined with Rubin's rules."
            },
            {
              "ruleId": "R-MISS-01",
              "label": "Review complete-case analysis",
              "description": "Requires an explicit change of missing-data strategy and justification."
            }
          ],
          "eCodes": [
            "E-052"
          ],
          "reasonPlain": "Missing values are imputed m times by chained equations. The declared linear or logistic model is fitted separately to each imputed dataset, and the m estimates and their variances are combined with Rubin's rules. The datasets are never stacked into one. With declared clusters, the missing values are imputed with a model that includes the cluster, and a random-intercept model is analysed in each copy. When the analysis model has an interaction or a spline term, the researcher chooses imputation compatible with it, so each missing value is drawn from a model that agrees with the analysis model, so the imputed data do not contradict the interaction or curve.",
          "reasonExpert": "mice::mice creates m imputed datasets; the analysis model is fitted to each; mice::pool combines the m coefficient estimates and within-imputation variances by Rubin's (1987) rules, with Barnard-Rubin (1999) small-sample degrees of freedom; the chosen imputation model, seed, iteration count and auxiliary removals are recorded. With an interaction or a restricted cubic spline in the analysis model, smcfcs::smcfcs (Bartlett et al. 2015) draws each incomplete variable by rejection sampling against the analysis model's likelihood; the analysis model is fitted in each imputed dataset and combined by the same Rubin rules.",
          "fineWhen": "Independent rows with an additive Gaussian or logistic model, known source columns, and a declared event level for logistic regression."
        },
        {
          "rowId": "R-ASC-MI-02",
          "apiId": "r.asc.mi.02",
          "ruleVersion": 3,
          "title": "Multiple imputation, modified-Poisson risk ratio fitted in each imputed dataset and combined by Rubin's rules",
          "when": "objective.goal is associate and dataReadiness.missingnessPlan is multiple_imputation and dataReadiness.imputation.numericMethod is answered and modeling.outcomeFamily is binary and modeling.effectMeasure is rr and populationEstimand.targetIsMarginal is false and dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and surveyDesign.weightVar is not answered and derived.viewRepeatsPerson is false and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "associate"
              },
              {
                "field": "dataReadiness.missingnessPlan",
                "op": "eq",
                "value": "multiple_imputation"
              },
              {
                "field": "dataReadiness.imputation.numericMethod",
                "op": "not_null"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "binary"
              },
              {
                "field": "modeling.effectMeasure",
                "op": "eq",
                "value": "rr"
              },
              {
                "field": "populationEstimand.targetIsMarginal",
                "op": "eq",
                "value": false
              },
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              },
              {
                "field": "dependence.repeatedUnitVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Explicit mice chained equations with the selected predictive mean matching or normal regression for incomplete numeric variables; in each completed dataset a Poisson GLM (log link) on the event indicator with the HC3 sandwich covariance; the m estimates and HC3 variances are combined by Rubin's rules through mice::pool (Barnard-Rubin degrees of freedom). Fitted risks above 1 are counted in every completed dataset and reported (ST-7).",
          "methodId": null,
          "templateId": "model.multiple_imputation",
          "registryEntries": [
            {
              "id": "model.multiple_imputation_rr",
              "status": "implemented"
            }
          ],
          "alternatives": [
            {
              "ruleId": "R-ASC-MI-01",
              "label": "Odds ratio under the same imputations",
              "description": "Change the effect measure to an odds ratio: logistic regression is fitted in each imputed dataset and the estimates are combined with Rubin's rules."
            },
            {
              "ruleId": "R-MISS-01",
              "label": "Review complete-case analysis",
              "description": "Requires an explicit change of missing-data strategy and justification."
            }
          ],
          "eCodes": [
            "E-052"
          ],
          "reasonPlain": "For a binary outcome with a risk ratio, missing values are imputed m times by chained equations, modified Poisson regression with an HC3 robust covariance is fitted separately to each imputed dataset, and the m log risk ratios and their variances are combined with Rubin's rules.",
          "reasonExpert": "Zou's (2004) modified Poisson regression gives a consistent log risk ratio for a 0/1 outcome; its model-based variance is wrong, so the HC3 sandwich covariance (sandwich::vcovHC, the floor model.modified_poisson declares) is attached to every completed-data fit and mice::pool combines them by Rubin's rules with Barnard-Rubin degrees of freedom. Imputation model, seed, iteration count and auxiliary removals are recorded as for R-ASC-MI-01.",
          "fineWhen": "Independent rows, a binary outcome recording a new event with complete follow-up over a stated time frame, a conditional target, known source columns and a declared event level."
        }
      ]
    },
    {
      "family": "associate.negative_binomial",
      "rows": [
        {
          "rowId": "R-ASC-04",
          "apiId": "r.asc.04",
          "ruleVersion": 3,
          "title": "Negative binomial with exposure offset",
          "when": "objective.goal is associate and modeling.outcomeFamily is count and surveyDesign.weightVar is not answered and (derived.viewRepeatsPerson is false or derived.viewPersonIsCluster is true) and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "associate"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "count"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "any": [
                  {
                    "field": "derived.viewRepeatsPerson",
                    "op": "eq",
                    "value": false
                  },
                  {
                    "field": "derived.viewPersonIsCluster",
                    "op": "eq",
                    "value": true
                  }
                ]
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Negative binomial (MASS::glm.nb) with offset(log(exposure)) when an exposure variable is declared; theta and its SE reported; IRR with the interval by the cluster tier; \"rate\" wording only with an offset.",
          "methodId": null,
          "templateId": "model.nb_offset",
          "registryEntries": [
            {
              "id": "model.nb_offset",
              "status": "implemented"
            },
            {
              "id": "model.nb_offset_cluster",
              "status": "implemented"
            }
          ],
          "alternatives": [
            {
              "ruleId": "R-ASC-05",
              "label": "Poisson by user choice",
              "description": "Allowed only when the fitted Pearson dispersion is at most 1.2."
            },
            {
              "ruleId": "R-ASC-34",
              "label": "Random-intercept Poisson mixed model",
              "description": "A rate ratio between rows of one group."
            },
            {
              "ruleId": "R-ASC-GEE-01",
              "label": "Generalized estimating equations",
              "description": "A population-average rate ratio with a working correlation you choose."
            }
          ],
          "eCodes": [
            "E-075"
          ],
          "reasonPlain": "A count outcome is modelled with a negative binomial, which allows for extra spread.",
          "reasonExpert": "Negative binomial regression with an exposure offset; the dispersion parameter is estimated. Source: methods/CORE_ANALYSIS_WORKFLOW.md (3-select-a-model-by-outcome-and-target).",
          "fineWhen": "Poisson is fine when dispersion is near 1; the flag is shown."
        }
      ]
    },
    {
      "family": "associate.nominal",
      "rows": [
        {
          "rowId": "R-ASC-32",
          "apiId": "r.asc.32",
          "ruleVersion": 2,
          "title": "Nominal outcome regression",
          "when": "objective.goal is associate and modeling.outcomeFamily is nominal and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and derived.viewRepeatsPerson is false and modeling.effectMeasure is or and (studyDesign.samplingScheme is not answered or studyDesign.samplingScheme is not complex_survey) and surveyDesign.strataVar is not answered and surveyDesign.psuVar is not answered and surveyDesign.fpcVar is not answered and surveyDesign.replicateDesign is not answered and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "associate"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "nominal"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              },
              {
                "field": "dependence.repeatedUnitVar",
                "op": "is_null"
              },
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "field": "modeling.effectMeasure",
                "op": "eq",
                "value": "or"
              },
              {
                "any": [
                  {
                    "field": "studyDesign.samplingScheme",
                    "op": "is_null"
                  },
                  {
                    "field": "studyDesign.samplingScheme",
                    "op": "ne",
                    "value": "complex_survey"
                  }
                ]
              },
              {
                "field": "surveyDesign.strataVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.psuVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.fpcVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.replicateDesign",
                "op": "is_null"
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Nominal outcome regression",
          "methodId": null,
          "templateId": "model.nominal",
          "registryEntries": [
            {
              "id": "model.multinomial",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-205"
          ],
          "reasonPlain": "The multinomial model reports predicted category probabilities as primary; any coefficient odds ratio describes category j versus reference category",
          "reasonExpert": "The multinomial model reports predicted category probabilities as primary; any coefficient odds ratio describes category j versus reference category",
          "fineWhen": "Use a supported design-aware model when observations are dependent."
        }
      ]
    },
    {
      "family": "associate.ordinal",
      "rows": [
        {
          "rowId": "R-ASC-06",
          "apiId": "r.asc.06",
          "ruleVersion": 2,
          "title": "Cumulative-link model for ordinal outcomes",
          "when": "objective.goal is associate and modeling.outcomeFamily is ordinal and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered and derived.viewRepeatsPerson is false and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "associate"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "ordinal"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              },
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Cumulative-link (proportional odds) model with ordinal::clm; proportional-odds check by nominal_test; partial proportional odds or multinomial offered as a recorded decision; ordinal codes never treated as numeric.",
          "methodId": null,
          "templateId": "model.ordinal_clm",
          "registryEntries": [
            {
              "id": "model.ordinal_clm",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-187",
            "E-220"
          ],
          "reasonPlain": "An ordinal outcome is modelled with a cumulative-link model that keeps its order.",
          "reasonExpert": "Proportional-odds cumulative-link model with a proportionality check. Source: methods/MODEL_ASSUMPTIONS.md (model-specific-assumptions).",
          "fineWhen": "A single dichotomy is fine only with a stated reason."
        }
      ]
    },
    {
      "family": "associate.poisson",
      "rows": [
        {
          "rowId": "R-ASC-05",
          "apiId": "r.asc.05",
          "ruleVersion": 2,
          "title": "Poisson by user choice when dispersion allows",
          "when": "objective.goal is associate and modeling.outcomeFamily is count and request.method is answered and request.method is model.poisson_offset and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered and derived.viewRepeatsPerson is false and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "associate"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "count"
              },
              {
                "field": "request.method",
                "op": "not_null"
              },
              {
                "field": "request.method",
                "op": "eq",
                "value": "model.poisson_offset"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              },
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Poisson GLM with offset by user choice; a Pearson dispersion above 1.5 or below 0.7 is flagged for a decision (RF-18), never refused; quasi-Poisson offered for aggregated rates when the user prefers mean-proportional variance; NB shown alongside.",
          "methodId": "model.poisson_offset",
          "templateId": "model.poisson_offset",
          "registryEntries": [
            {
              "id": "model.poisson_offset",
              "status": "implemented"
            }
          ],
          "alternatives": [
            {
              "ruleId": "R-ASC-04",
              "label": "Negative binomial",
              "description": "The default count model."
            }
          ],
          "eCodes": [
            "E-075"
          ],
          "reasonPlain": "Poisson regression is offered when you choose it and the spread allows.",
          "reasonExpert": "Poisson GLM with offset by user choice; the fitted Pearson dispersion is reported as a flag after the fit and does not choose the method. Source: methods/MODEL_ASSUMPTIONS.md (model-specific-assumptions).",
          "fineWhen": "Fine when the dispersion flag is clear, or with robust variance."
        }
      ]
    },
    {
      "family": "associate.poisson_person_time",
      "rows": [
        {
          "rowId": "R-ASC-11",
          "apiId": "r.asc.11",
          "ruleVersion": 3,
          "title": "Poisson regression with follow-up time",
          "when": "objective.goal is associate and modeling.outcomeFamily is time_to_event and dependence.clusterVar is not answered and surveyDesign.weightVar is not answered and modeling.hasCompetingEvent is false and derived.viewRepeatsPerson is false and (modeling.censoringType is not answered or modeling.censoringType is exact_right) and modeling.survivalAnalysis.horizon is not answered and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "associate"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "time_to_event"
              },
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "modeling.hasCompetingEvent",
                "op": "eq",
                "value": false
              },
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "any": [
                  {
                    "field": "modeling.censoringType",
                    "op": "is_null"
                  },
                  {
                    "field": "modeling.censoringType",
                    "op": "eq",
                    "value": "exact_right"
                  }
                ]
              },
              {
                "field": "modeling.survivalAnalysis.horizon",
                "op": "is_null"
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Poisson regression (stats::glm) of the 0/1 event indicator with offset(log(follow-up time)): estimates an incidence rate ratio and assumes a constant event rate over follow-up (the exponential survival model). Profile-likelihood interval. The Pearson dispersion check is reported as not assessable, because a 0/1 outcome fixes each row's variance by its mean; it neither passes nor refuses the model and no negative binomial is substituted. The constant-rate assumption is examined by letting the baseline rate differ across follow-up intervals, reported as a decision the researcher makes, never a single pass/fail switch.",
          "methodId": null,
          "templateId": "model.poisson_offset",
          "registryEntries": [
            {
              "id": "model.poisson_person_time",
              "status": "implemented"
            }
          ],
          "alternatives": [
            {
              "ruleId": "R-ASC-10",
              "label": "Cox proportional hazards",
              "description": "Estimates a hazard ratio and assumes proportional hazards, leaving the baseline hazard shape free."
            }
          ],
          "eCodes": [
            "E-075"
          ],
          "reasonPlain": "Events with different follow-up times are modelled with a person-time Poisson model.",
          "reasonExpert": "Poisson regression with a log person-time offset; the dispersion flag is reported. Source: methods/EFFECT_MEASURES_REPORTING.md (design-specific-routing).",
          "fineWhen": "Cox regression is fine when the event time itself is the question."
        }
      ]
    },
    {
      "family": "associate.survey_mean",
      "rows": [
        {
          "rowId": "R-ASC-SURVEY-01",
          "apiId": "r.asc.survey.01",
          "ruleVersion": 2,
          "title": "Survey linear regression",
          "when": "objective.goal is associate and modeling.outcomeFamily is continuous and surveyDesign.weightVar is answered and surveyDesign.weightSemantics is sampling and surveyDesign.weightSemanticsConfirmed is true and modeling.effectPlan.continuousTarget is arithmetic_mean and derived.viewRepeatsPerson is false and modeling.effectMeasure is beta and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "associate"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "continuous"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "not_null"
              },
              {
                "field": "surveyDesign.weightSemantics",
                "op": "eq",
                "value": "sampling"
              },
              {
                "field": "surveyDesign.weightSemanticsConfirmed",
                "op": "eq",
                "value": true
              },
              {
                "field": "modeling.effectPlan.continuousTarget",
                "op": "eq",
                "value": "arithmetic_mean"
              },
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "field": "modeling.effectMeasure",
                "op": "eq",
                "value": "beta"
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Additive differences in the conditional arithmetic mean, with sampling-weighted mean predictions and reference contrasts.",
          "methodId": null,
          "templateId": "model.survey_mean",
          "registryEntries": [
            {
              "id": "model.survey_mean",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-009"
          ],
          "reasonPlain": "The declared sampling design supplies the weights and uncertainty for this continuous-outcome regression.",
          "reasonExpert": "The survey package fits the declared mean model using the specified sampling design. Design degrees of freedom are retained for intervals and tests.",
          "fineWhen": "Use unweighted descriptions only when explicitly describing the observed sample."
        },
        {
          "rowId": "R-ASC-SURVEY-02",
          "apiId": "r.asc.survey.02",
          "ruleVersion": 2,
          "title": "Survey Gamma regression with a log link",
          "when": "objective.goal is associate and modeling.outcomeFamily is continuous and surveyDesign.weightVar is answered and surveyDesign.weightSemantics is sampling and surveyDesign.weightSemanticsConfirmed is true and modeling.effectPlan.continuousTarget is arithmetic_mean and derived.viewRepeatsPerson is false and modeling.effectMeasure is ratio_of_means and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "associate"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "continuous"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "not_null"
              },
              {
                "field": "surveyDesign.weightSemantics",
                "op": "eq",
                "value": "sampling"
              },
              {
                "field": "surveyDesign.weightSemanticsConfirmed",
                "op": "eq",
                "value": true
              },
              {
                "field": "modeling.effectPlan.continuousTarget",
                "op": "eq",
                "value": "arithmetic_mean"
              },
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "field": "modeling.effectMeasure",
                "op": "eq",
                "value": "ratio_of_means"
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Multiplicative associations in a positive conditional arithmetic mean, with sampling-weighted response-scale mean predictions, differences and ratios.",
          "methodId": null,
          "templateId": "model.survey_mean",
          "registryEntries": [
            {
              "id": "model.survey_mean",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-009"
          ],
          "reasonPlain": "The declared sampling design supplies the weights and uncertainty for this continuous-outcome regression.",
          "reasonExpert": "The survey package fits the declared mean model using the specified sampling design. Design degrees of freedom are retained for intervals and tests.",
          "fineWhen": "Use unweighted descriptions only when explicitly describing the observed sample."
        }
      ]
    },
    {
      "family": "associate.survey_risk",
      "rows": [
        {
          "rowId": "R-ASC-SURVEY-RISK-01",
          "apiId": "r.asc.survey.risk.01",
          "ruleVersion": 1,
          "title": "Survey standardized binary probability contrasts",
          "when": "objective.goal is associate and modeling.outcomeFamily is binary and surveyDesign.weightVar is answered and surveyDesign.weightSemantics is sampling and surveyDesign.weightSemanticsConfirmed is true and derived.viewRepeatsPerson is false and modeling.effectMeasure is one of rr, rd, pr, pd and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "associate"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "binary"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "not_null"
              },
              {
                "field": "surveyDesign.weightSemantics",
                "op": "eq",
                "value": "sampling"
              },
              {
                "field": "surveyDesign.weightSemanticsConfirmed",
                "op": "eq",
                "value": true
              },
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "field": "modeling.effectMeasure",
                "op": "in",
                "value": [
                  "rr",
                  "rd",
                  "pr",
                  "pd"
                ]
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Survey logistic regression with sampling-weighted standardized event probabilities, their difference and ratio; coefficients remain conditional log odds.",
          "methodId": null,
          "templateId": "model.survey_risk",
          "registryEntries": [
            {
              "id": "model.survey_risk",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-009"
          ],
          "reasonPlain": "The declared sampling design supplies weights and design-based uncertainty for the binary probability contrast.",
          "reasonExpert": "Predictive margins use the survey package joint covariance and include uncertainty in the weighted empirical target distribution.",
          "fineWhen": "Use unweighted descriptions only when explicitly describing the observed sample."
        }
      ]
    },
    {
      "family": "associate.survival_companions",
      "rows": [
        {
          "rowId": "R-ASC-SURV-01",
          "apiId": "r.asc.surv.01",
          "ruleVersion": 3,
          "title": "Right-censored survival with absolute contrasts and RMST",
          "when": "objective.goal is one of associate, compare and modeling.outcomeFamily is time_to_event and modeling.censoringType is exact_right and modeling.survivalAnalysis.horizon is answered and dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and surveyDesign.weightVar is not answered and surveyDesign.strataVar is not answered and surveyDesign.psuVar is not answered and surveyDesign.fpcVar is not answered and surveyDesign.replicateDesign.type is not answered and (studyDesign.samplingScheme is not answered or studyDesign.samplingScheme is not complex_survey) and derived.viewRepeatsPerson is false and modeling.hasCompetingEvent is one of true, false and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "in",
                "value": [
                  "associate",
                  "compare"
                ]
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "time_to_event"
              },
              {
                "field": "modeling.censoringType",
                "op": "eq",
                "value": "exact_right"
              },
              {
                "field": "modeling.survivalAnalysis.horizon",
                "op": "not_null"
              },
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              },
              {
                "field": "dependence.repeatedUnitVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.strataVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.psuVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.fpcVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.replicateDesign.type",
                "op": "is_null"
              },
              {
                "any": [
                  {
                    "field": "studyDesign.samplingScheme",
                    "op": "is_null"
                  },
                  {
                    "field": "studyDesign.samplingScheme",
                    "op": "ne",
                    "value": "complex_survey"
                  }
                ]
              },
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "field": "modeling.hasCompetingEvent",
                "op": "in",
                "value": [
                  true,
                  false
                ]
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Right-censored survival with absolute contrasts and RMST",
          "methodId": null,
          "templateId": "model.survival_companions",
          "registryEntries": [
            {
              "id": "model.survival_companions",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-054"
          ],
          "reasonPlain": "Right-censored survival with absolute contrasts and RMST.",
          "reasonExpert": "Cause-specific HRs are separate from subdistribution HRs, absolute differences and RMST differences",
          "fineWhen": "Use the declared event process, target and supported independent-subject design."
        }
      ]
    },
    {
      "family": "associate.two_part",
      "rows": [
        {
          "rowId": "R-ASC-TWOPART-01",
          "apiId": "r.asc.twopart.01",
          "ruleVersion": 1,
          "title": "Two-part model for an outcome with exact zeros",
          "when": "objective.goal is associate and modeling.outcomeFamily is continuous and (modeling.effectMeasure is not answered or modeling.effectMeasure is md) and modeling.zeroProcess is separate_decision and derived.outcomeHasZeros is true and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and derived.viewRepeatsPerson is false and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "associate"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "continuous"
              },
              {
                "any": [
                  {
                    "field": "modeling.effectMeasure",
                    "op": "is_null"
                  },
                  {
                    "field": "modeling.effectMeasure",
                    "op": "eq",
                    "value": "md"
                  }
                ]
              },
              {
                "field": "modeling.zeroProcess",
                "op": "eq",
                "value": "separate_decision"
              },
              {
                "field": "derived.outcomeHasZeros",
                "op": "eq",
                "value": true
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              },
              {
                "field": "dependence.repeatedUnitVar",
                "op": "is_null"
              },
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Two-part model (stats::glm twice). Part 1 is a logistic regression for any positive value on every row with a recorded outcome, reported as odds ratios. Part 2 is a Gamma regression with a log link on the rows with a positive value only, reported as ratios of means among positive values. The primary contrast averages the difference between predicted overall means, including zeros. The ratio of part 2 is conditional on a positive value and is not the effect on the amount for a fixed set of people.",
          "methodId": null,
          "templateId": "model.two_part",
          "registryEntries": [
            {
              "id": "model.two_part",
              "status": "implemented"
            }
          ],
          "alternatives": [
            {
              "ruleId": "R-ASC-01",
              "label": "Linear regression",
              "description": "One mean difference for everyone, zeros included, when the zeros are an ordinary low value."
            },
            {
              "ruleId": "R-ASC-30",
              "label": "Gamma log-link regression",
              "description": "One ratio of means for everyone when the outcome is strictly positive."
            }
          ],
          "eCodes": [
            "E-184"
          ],
          "reasonPlain": "An outcome with many true zeros is modelled in two parts, whether the value is positive at all and, among the positive values, how large it is. The report combines both fits into a difference in overall means and shows both component effects.",
          "reasonExpert": "Part 1, stats::glm binomial (logit), odds ratios of a positive value with profile likelihood intervals; part 2, stats::glm Gamma (log link) on the positive rows, ratios of means with Wald intervals and HC3. The primary contrast is the standardized difference in means including zeros. Source: methods/MODEL_ASSUMPTIONS.md; Duan et al. 1983 (doi 10.1080/07350015.1983.10509339); Deb and Norton 2018 (doi 10.1146/annurev-publhealth-040617-013517).",
          "fineWhen": "Linear regression estimates a difference in means when a zero is an ordinary value on the outcome scale. A Gamma log-link model estimates a ratio of means for a strictly positive continuous outcome."
        }
      ]
    },
    {
      "family": "causal.gformula",
      "rows": [
        {
          "rowId": "R-CAU-GF-01",
          "apiId": "r.cau.gf.01",
          "ruleVersion": 1,
          "title": "Parametric g-formula for a sustained exposure at two to four times",
          "when": "objective.goal is one of compare, associate and modeling.gformulaAnalysis.laterExposures is answered and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "in",
                "value": [
                  "compare",
                  "associate"
                ]
              },
              {
                "field": "modeling.gformulaAnalysis.laterExposures",
                "op": "not_null"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              }
            ]
          },
          "method": "Parametric g-formula (gfoRmula::gformula) with seeded percentile bootstrap intervals; strategies never, always and natural course.",
          "methodId": null,
          "templateId": "model.gformula",
          "registryEntries": [
            {
              "id": "model.gformula",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-189",
            "E-245"
          ],
          "reasonPlain": "Estimates the outcome if everyone were treated at every time and if no one were, by modelling how the covariates, the treatment and the outcome evolve, which ordinary regression cannot do when something that changes between the times also affects later treatment.",
          "reasonExpert": "(Q-GMETH, R-CAU-13, R-DAG-11) Parametric g-formula (gfoRmula::gformula) for a two- to four-time binary exposure with time-varying covariates and a continuous or binary end-of-follow-up outcome; additive models with the previous time only, simulation of the strategies never, always and natural course, seeded percentile bootstrap intervals. Reported as the package returns them. Conventional regression adjustment for the joint effect stays refused.",
          "fineWhen": "Both exposures are binary and recorded at two to four times, the time-varying covariates are continuous or coded 0 and 1 at every time, there is no censoring, and each row is one independent person."
        }
      ]
    },
    {
      "family": "causal.mediation",
      "rows": [
        {
          "rowId": "R-CAU-MED-01",
          "apiId": "r.cau.med.01",
          "ruleVersion": 1,
          "title": "Causal mediation with natural direct and indirect effects",
          "when": "objective.goal is one of compare, associate and modeling.mediationAnalysis.mediatorBeforeOutcome is answered and modeling.mediationAnalysis.mediatorBeforeOutcome is yes and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "in",
                "value": [
                  "compare",
                  "associate"
                ]
              },
              {
                "field": "modeling.mediationAnalysis.mediatorBeforeOutcome",
                "op": "not_null"
              },
              {
                "field": "modeling.mediationAnalysis.mediatorBeforeOutcome",
                "op": "eq",
                "value": "yes"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              }
            ]
          },
          "method": "Counterfactual natural direct and indirect effects with exposure-mediator interaction (mediation::mediate), sensitivity to mediator-outcome confounding (mediation::medsens).",
          "methodId": null,
          "templateId": "model.causal_mediation",
          "registryEntries": [
            {
              "id": "model.causal_mediation",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-190"
          ],
          "reasonPlain": "Splits the effect of the exposure into the part that goes through the mediator and the part that does not, allowing the two to interact, and shows how strong unmeasured mediator-outcome confounding would have to be to remove the indirect effect.",
          "reasonExpert": "(R-CAU-14) Counterfactual pure natural direct (ADE at control) and total natural indirect (ACME at treated) effects from mediation::mediate with the exposure-mediator interaction, percentile bootstrap intervals, and mediation::medsens for sensitivity to mediator-outcome confounding where the package supports the outcome link. The product of coefficients is shown only as a supplementary row with its assumptions. Causal wording requires the researcher's statement that the mediator occurred before the outcome.",
          "fineWhen": "The exposure is binary, the mediator is continuous or two-valued and occurred before the outcome, the adjustment variables were measured before the exposure and are not changed by it, and each row is one independent person."
        }
      ]
    },
    {
      "family": "causal.msm",
      "rows": [
        {
          "rowId": "R-CAU-MSM-01",
          "apiId": "r.cau.msm.01",
          "ruleVersion": 1,
          "title": "Inverse-probability-weighted marginal structural model for a sustained exposure at two to four times",
          "when": "objective.goal is one of compare, associate and modeling.msmAnalysis.laterExposures is answered and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "in",
                "value": [
                  "compare",
                  "associate"
                ]
              },
              {
                "field": "modeling.msmAnalysis.laterExposures",
                "op": "not_null"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              }
            ]
          },
          "method": "Stabilised inverse-probability weights (WeightIt::weightitMSM), weighted marginal structural model with M-estimation variance (WeightIt::glm_weightit), balance by time point (cobalt), always-versus-never contrast (marginaleffects).",
          "methodId": null,
          "templateId": "model.msm_ipw",
          "registryEntries": [
            {
              "id": "model.msm_ipw",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-189",
            "E-245"
          ],
          "reasonPlain": "Estimates the effect of being treated at both times against neither time when something that changes between the two times also affects who is treated later, which ordinary regression cannot handle, and shows balance, weights and the assumptions.",
          "reasonExpert": "(R-CAU-13, R-DAG-11) Stabilised inverse-probability weights for a two-period binary exposure with a time-varying confounder that the first exposure may change (WeightIt::weightitMSM), a weighted marginal structural model with M-estimation standard errors (WeightIt::glm_weightit), balance by time point (cobalt) and the always-versus-never contrast (marginaleffects). Truncation only when declared. Conventional regression adjustment for the joint effect stays refused.",
          "fineWhen": "Both exposures are binary and recorded at two times, the confounders are named by the researcher as baseline or time-varying, the outcome is continuous or binary, there is no censoring, and each row is one independent person."
        }
      ]
    },
    {
      "family": "causal.propensity",
      "rows": [
        {
          "rowId": "R-CAU-PS-01",
          "apiId": "r.cau.ps.01",
          "ruleVersion": 3,
          "title": "Propensity score matching with balance and overlap",
          "when": "objective.goal is one of compare, associate and modeling.propensityAnalysis.approach is answered and modeling.propensityAnalysis.approach is matching and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "in",
                "value": [
                  "compare",
                  "associate"
                ]
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "not_null"
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "eq",
                "value": "matching"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Nearest-neighbour matching on a logistic propensity score without replacement (MatchIt), cluster-robust variance on the matched set, g-computation effect (marginaleffects).",
          "methodId": null,
          "templateId": "model.propensity_effect",
          "registryEntries": [
            {
              "id": "model.propensity_effect",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-142"
          ],
          "reasonPlain": "Compares treated and control people after matching, and shows covariate balance, propensity overlap and the weights before the effect.",
          "reasonExpert": "(R-CAU-10) Nearest-neighbour matching on a logistic propensity score without replacement (MatchIt), cluster-robust variance on the matched set, g-computation effect (marginaleffects). Balance is judged by standardized differences against the declared target, never by p-values or the propensity model's c-statistic.",
          "fineWhen": "The treatment is binary, the adjustment variables are measured before treatment, and each row is one independent person."
        },
        {
          "rowId": "R-CAU-PS-02",
          "apiId": "r.cau.ps.02",
          "ruleVersion": 3,
          "title": "Propensity score weighting with balance and overlap",
          "when": "objective.goal is one of compare, associate and modeling.propensityAnalysis.approach is answered and modeling.propensityAnalysis.approach is weighting and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "in",
                "value": [
                  "compare",
                  "associate"
                ]
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "not_null"
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "eq",
                "value": "weighting"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Inverse probability weights (WeightIt, glm), M-estimation variance (glm_weightit), g-computation effect (marginaleffects).",
          "methodId": null,
          "templateId": "model.propensity_effect",
          "registryEntries": [
            {
              "id": "model.propensity_effect",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-142"
          ],
          "reasonPlain": "Compares treated and control people after weighting, and shows covariate balance, propensity overlap and the weights before the effect.",
          "reasonExpert": "(R-CAU-10) Inverse probability weights (WeightIt, glm), M-estimation variance (glm_weightit), g-computation effect (marginaleffects). Balance is judged by standardized differences against the declared target, never by p-values or the propensity model's c-statistic.",
          "fineWhen": "The treatment is binary, the adjustment variables are measured before treatment, and each row is one independent person."
        },
        {
          "rowId": "R-CAU-PS-03",
          "apiId": "r.cau.ps.03",
          "ruleVersion": 3,
          "title": "Propensity score overlap weighting with balance",
          "when": "objective.goal is one of compare, associate and modeling.propensityAnalysis.approach is answered and modeling.propensityAnalysis.approach is overlap_weighting and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "in",
                "value": [
                  "compare",
                  "associate"
                ]
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "not_null"
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "eq",
                "value": "overlap_weighting"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Overlap weights (WeightIt, glm), M-estimation variance, g-computation effect for the overlap population.",
          "methodId": null,
          "templateId": "model.propensity_effect",
          "registryEntries": [
            {
              "id": "model.propensity_effect",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-142"
          ],
          "reasonPlain": "Compares treated and control people after overlap weighting, and shows covariate balance, propensity overlap and the weights before the effect.",
          "reasonExpert": "(R-CAU-10) Overlap weights (WeightIt, glm), M-estimation variance, g-computation effect for the overlap population. Balance is judged by standardized differences against the declared target, never by p-values or the propensity model's c-statistic.",
          "fineWhen": "The treatment is binary, the adjustment variables are measured before treatment, and each row is one independent person."
        }
      ]
    },
    {
      "family": "censored.gaussian",
      "rows": [
        {
          "rowId": "R-PREP-LOD-01",
          "apiId": "r.prep.lod.01",
          "ruleVersion": 1,
          "title": "Values below a detection limit: censored-data likelihood primary, substitution as sensitivity",
          "when": "dataReadiness.detectionLimit.limit is answered",
          "appliesWhen": {
            "all": [
              {
                "field": "dataReadiness.detectionLimit.limit",
                "op": "not_null"
              }
            ]
          },
          "method": "Left-censored Gaussian maximum likelihood on the log scale (survival::survreg), substitution as sensitivity.",
          "methodId": null,
          "templateId": "model.censored_gaussian",
          "registryEntries": [
            {
              "id": "model.censored_gaussian",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-183"
          ],
          "reasonPlain": "Values below the detection limit are kept as censored, and the estimate uses a method made for them.",
          "reasonExpert": "(R-PREP-08, Q-LOD option (a)) Gaussian censored-data maximum likelihood on the log scale via survival::survreg is primary. Substitution (limit/sqrt(2)) always runs as sensitivity and may be primary only at or below the registry threshold (default 10%, EXTRAPOLATED) with a recorded justification.",
          "fineWhen": "A concentration has values reported as below a declared limit."
        }
      ]
    },
    {
      "family": "clean.join_diagnostics",
      "rows": [
        {
          "rowId": "R-COMB-JOIN-01",
          "apiId": "r.comb.join.01",
          "ruleVersion": 1,
          "title": "Measure the planned join before two sources are combined",
          "when": "dataReadiness.joinCheck.leftDatasetId is answered",
          "appliesWhen": {
            "all": [
              {
                "field": "dataReadiness.joinCheck.leftDatasetId",
                "op": "not_null"
              }
            ]
          },
          "method": "Read both sources as text, build the key tuples under the planned normalization, count unmatched rows, repeated keys and many-to-many key values, derive the observed relationship and the joined row count, repeat the match count under each normalization with the number of merged raw keys, and compare shared non-key columns on rows paired one to one.",
          "methodId": null,
          "templateId": "clean.join_diagnostics",
          "registryEntries": [
            {
              "id": "clean.join_diagnostics",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-043"
          ],
          "reasonPlain": "Two files are about to be combined on a key. Before they are, Safi counts the rows in each file that have no partner, the keys that repeat, the relationship the keys really make, whether another key format would match more rows, and the shared columns whose values disagree. Nothing is joined, deleted or recoded by this check.",
          "reasonExpert": "Counts are computed in base R on the declared key columns read as text, using the same length-prefixed key tuples and normalization as the exact-linkage preflight. A missing key part never matches. Many-to-many keys are counted, not refused here; the join step refuses them. A suggested normalization is a measurement of extra matches without merging distinct raw keys, and it changes nothing unless the researcher changes the plan. Counts below the release minimum are withheld, and so is every cell a withheld count follows from (planned unmatched = left + right, a one-to-one joined count = rows - unmatched, a normalization's unmatched = planned - gain, a match rate). A key equal to a declared missing string or a placeholder (NA, N/A, NULL, none, NaN, a dot, a dash) never matches and is counted separately. Shared columns are compared as written text.",
          "fineWhen": "Skipping it is fine when the analysis uses a single file, or when the sources were already combined and checked outside Safi."
        }
      ]
    },
    {
      "family": "clean.probabilistic_link",
      "rows": [
        {
          "rowId": "R-COMB-LINK-01",
          "apiId": "r.comb.link.01",
          "ruleVersion": 2,
          "title": "Link two files without a clean key by probabilistic record linkage",
          "when": "dataReadiness.joinCheck.probabilistic is answered",
          "appliesWhen": {
            "all": [
              {
                "field": "dataReadiness.joinCheck.probabilistic",
                "op": "not_null"
              }
            ]
          },
          "method": "Read both sources as text, normalize and blank the missing values, form candidate pairs within blocks, compare the declared fields, fit the Fellegi-Sunter model by EM, score each pair, select links by the declared rule and write counts, the match prior and the m- and u-probabilities. When a grid of two or more posterior thresholds is declared, tabulate the links at each (link_by_threshold.csv); when comparison columns are declared, compare linked and unlinked records of the first file by them with small cells withheld (link_compare.csv). The seed is recorded.",
          "methodId": null,
          "templateId": "clean.probabilistic_link",
          "registryEntries": [
            {
              "id": "clean.probabilistic_link",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-043"
          ],
          "reasonPlain": "The two files share no key that is clean enough to join on. Safi compares records that agree on the blocking columns, estimates how often each compared field agrees for true pairs and for non-pairs, scores every candidate pair, and links the pairs whose probability of being a match reaches your threshold. It reports how many links were made and what the estimates were. It does not merge the files, and it does not show which records were linked.",
          "reasonExpert": "reclin2 (Fellegi and Sunter 1969): pair_blocking forms candidate pairs inside blocks, compare_pairs compares fields with exact, Jaro-Winkler, longest-common-subsequence or phonetic (stringdist Soundex code) agreement at the declared cutoffs, problink_em estimates the m- and u-probabilities and the match prior by EM (Winkler 1988), predict scores each pair with a natural-log likelihood-ratio weight summed over the fields compared, and select_n_to_m (one record in at most one link) or select_threshold links pairs whose posterior probability, the prior odds times exp(weight), reaches the declared threshold. Conditional independence of the fields given match status is assumed and not tested. A missing blocking value never forms a pair.",
          "fineWhen": "Identifiers are absent or unreliable, blocking columns are recorded accurately, and a few linkage errors can be tolerated or reviewed."
        }
      ]
    },
    {
      "family": "compare.equivalence",
      "rows": [
        {
          "rowId": "R-INF-EQV-01",
          "apiId": "r.inf.eqv.01",
          "ruleVersion": 2,
          "title": "Equivalence or non-inferiority against a pre-specified margin",
          "when": "objective.goal is compare and modeling.equivalence.design is one of equivalence, non_inferiority and modeling.outcomeFamily is one of continuous, binary, time_to_event and dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and surveyDesign.weightVar is not answered and derived.viewRepeatsPerson is false and modeling.trialDesign.design is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "compare"
              },
              {
                "field": "modeling.equivalence.design",
                "op": "in",
                "value": [
                  "equivalence",
                  "non_inferiority"
                ]
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "in",
                "value": [
                  "continuous",
                  "binary",
                  "time_to_event"
                ]
              },
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              },
              {
                "field": "dependence.repeatedUnitVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "field": "modeling.trialDesign.design",
                "op": "is_null"
              }
            ]
          },
          "method": "Two-group comparison on the declared scale with the (1 - 2 alpha) confidence interval checked against the pre-specified margin (equivalence, or one-sided non-inferiority).",
          "methodId": null,
          "templateId": "model.equivalence",
          "registryEntries": [
            {
              "id": "model.equivalence_continuous",
              "status": "implemented"
            },
            {
              "id": "model.equivalence_binary",
              "status": "implemented"
            },
            {
              "id": "model.equivalence_survival",
              "status": "implemented"
            }
          ],
          "alternatives": [
            {
              "ruleId": "R-CMP-01",
              "label": "Welch comparison",
              "description": "Independent-group mean comparison without a margin."
            }
          ],
          "eCodes": [
            "E-061",
            "E-086"
          ],
          "reasonPlain": "Absence of an effect is claimed only when the confidence interval lies inside a margin recorded in the locked plan before outcome data were shown.",
          "reasonExpert": "The decision compares the 1 - 2 alpha confidence interval (two one-sided tests, each at the researcher-chosen alpha, 0.05 for equivalence, 0.025 or 0.05 for non-inferiority) with the margin on the stated scale. Non-inferiority also reports a declared per-protocol population beside the intention-to-treat population (CONSORT-NI). The margin is called pre-specified only when the recorded plan-lock verdict shows no outcome data were displayed before the lock. A result that does not meet the criterion is inconclusive.",
          "fineWhen": "Two independent groups, complete cases, a continuous or binary outcome, and a margin chosen for scientific reasons before the data were seen."
        }
      ]
    },
    {
      "family": "compare.games_howell",
      "rows": [
        {
          "rowId": "R-CMP-GH-01",
          "apiId": "r.cmp.gh.01",
          "ruleVersion": 3,
          "title": "Declared unequal-variance Games-Howell comparisons",
          "when": "objective.goal is compare and modeling.outcomeFamily is continuous and modeling.plannedGroupComparisons.covariance is answered and modeling.plannedGroupComparisons.covariance is unequal_variance_gaussian and dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and surveyDesign.weightVar is not answered and derived.viewRepeatsPerson is false and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "compare"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "continuous"
              },
              {
                "field": "modeling.plannedGroupComparisons.covariance",
                "op": "not_null"
              },
              {
                "field": "modeling.plannedGroupComparisons.covariance",
                "op": "eq",
                "value": "unequal_variance_gaussian"
              },
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              },
              {
                "field": "dependence.repeatedUnitVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "One-way Gaussian group-specific variance comparison and one two-sided Games-Howell all-pairs family.",
          "methodId": null,
          "templateId": "model.games_howell_comparisons",
          "registryEntries": [
            {
              "id": "model.games_howell_comparisons",
              "status": "implemented"
            }
          ],
          "alternatives": [
            {
              "ruleId": "R-CMP-01",
              "label": "Welch comparison",
              "description": "Independent-group mean comparison allowing unequal variances."
            },
            {
              "ruleId": "R-CMP-02",
              "label": "Rank comparison",
              "description": "Distribution comparison with separately labeled probability-index inference."
            },
            {
              "ruleId": "R-CMP-PLANNED-01",
              "label": "Declared common-variance contrasts",
              "description": "One declared Gaussian contrast family with joint covariance inference."
            }
          ],
          "eCodes": [
            "E-063",
            "E-212"
          ],
          "reasonPlain": "Choose one all-pairs family with a scientific group-specific Gaussian variance justification.",
          "reasonExpert": "rstatix::games_howell_test supplies pairwise Welch degrees of freedom, studentized-range adjusted p-values and simultaneous 95% intervals. No pretest selects this route.",
          "fineWhen": "Independent non-survey complete-case rows, continuous outcome, three to six observed categorical groups, and scientific unequal-variance and comparison-family reasons."
        }
      ]
    },
    {
      "family": "compare.means",
      "rows": [
        {
          "rowId": "R-CMP-01",
          "apiId": "r.cmp.01",
          "ruleVersion": 4,
          "title": "Welch t-test or Welch ANOVA, no pre-tests",
          "when": "objective.goal is compare and modeling.outcomeFamily is continuous and dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and surveyDesign.weightVar is not answered and derived.viewRepeatsPerson is false and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "compare"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "continuous"
              },
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              },
              {
                "field": "dependence.repeatedUnitVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Welch t-test (two groups) or Welch ANOVA (more groups) with the mean difference and interval; no normality or variance pre-test. Skewed positive outcomes get a log-link Gamma GLM offered as a labelled plan before any rank test.",
          "methodId": null,
          "templateId": "describe.compare_means",
          "registryEntries": [
            {
              "id": "compare.welch",
              "status": "implemented"
            }
          ],
          "alternatives": [
            {
              "ruleId": "R-CMP-02",
              "label": "Rank comparison",
              "description": "Distribution comparison with separately labeled probability-index inference."
            },
            {
              "ruleId": "R-CMP-GH-01",
              "label": "Games-Howell comparisons",
              "description": "Unequal-variance all-pairs family with Welch degrees of freedom."
            },
            {
              "ruleId": "R-CMP-PLANNED-01",
              "label": "Declared common-variance contrasts",
              "description": "One declared Gaussian contrast family with joint covariance inference."
            },
            {
              "ruleId": "R-INF-EQV-01",
              "label": "Equivalence or non-inferiority",
              "description": "Comparison against a pre-specified margin, decided by the confidence interval."
            }
          ],
          "eCodes": [
            "E-166",
            "E-212"
          ],
          "reasonPlain": "Safi compares two or more groups with Welch's test, which stays valid when group spread differs. It runs no pre-test to choose the test.",
          "reasonExpert": "Welch t or Welch ANOVA keeps size under unequal variances; the test is not chosen by a normality or variance pre-test on the same data. Source: methods/CORE_ANALYSIS_WORKFLOW.md (3-select-a-model-by-outcome-and-target).",
          "fineWhen": "Student's t-test is fine when the group variances are known to be equal by design."
        }
      ]
    },
    {
      "family": "compare.planned_gaussian",
      "rows": [
        {
          "rowId": "R-CMP-PLANNED-01",
          "apiId": "r.cmp.planned.01",
          "ruleVersion": 3,
          "title": "Declared common-variance Gaussian group comparisons",
          "when": "objective.goal is compare and modeling.outcomeFamily is continuous and modeling.plannedGroupComparisons.covariance is answered and modeling.plannedGroupComparisons.covariance is common_variance_gaussian and dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and surveyDesign.weightVar is not answered and derived.viewRepeatsPerson is false and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "compare"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "continuous"
              },
              {
                "field": "modeling.plannedGroupComparisons.covariance",
                "op": "not_null"
              },
              {
                "field": "modeling.plannedGroupComparisons.covariance",
                "op": "eq",
                "value": "common_variance_gaussian"
              },
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              },
              {
                "field": "dependence.repeatedUnitVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "One-way Gaussian common-variance lm and one two-sided declared family. Dunnett is the common-control default, with Holm-adjusted p values offered as an alternative. Distinct treatments require per-comparison or family-wise intent; both inference scopes are shown, with separately labelled pointwise and simultaneous intervals.",
          "methodId": null,
          "templateId": "model.planned_group_comparisons",
          "registryEntries": [
            {
              "id": "model.planned_group_comparisons",
              "status": "implemented"
            }
          ],
          "alternatives": [
            {
              "ruleId": "R-CMP-01",
              "label": "Welch comparison",
              "description": "Independent-group mean comparison allowing unequal variances."
            },
            {
              "ruleId": "R-CMP-02",
              "label": "Rank comparison",
              "description": "Distribution comparison with separately labeled probability-index inference."
            },
            {
              "ruleId": "R-CMP-GH-01",
              "label": "Games-Howell comparisons",
              "description": "Unequal-variance all-pairs family with Welch degrees of freedom."
            }
          ],
          "eCodes": [
            "E-063",
            "E-212"
          ],
          "reasonPlain": "Choose one common-control or all-pairs family only when a Gaussian model with common residual variance has a scientific justification; the ordinary Welch route remains available.",
          "reasonExpert": "multcomp::glht uses the covariance of all declared contrasts with single-step multivariate-t p-values and simultaneous 95% intervals; Dunnett common-control contrasts or Tukey all-pairwise contrasts. No pretest selects covariance.",
          "fineWhen": "Independent non-survey complete-case rows, continuous outcome, three to six observed categorical groups, and scientific common-variance and comparison-family reasons."
        }
      ]
    },
    {
      "family": "compare.ranks",
      "rows": [
        {
          "rowId": "R-CMP-02",
          "apiId": "r.cmp.02",
          "ruleVersion": 3,
          "title": "Rank comparisons with a tie-aware probability index",
          "when": "objective.goal is compare and modeling.outcomeFamily is continuous and request.method is answered and request.method is compare.rank and dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and surveyDesign.weightVar is not answered and derived.viewRepeatsPerson is false and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "compare"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "continuous"
              },
              {
                "field": "request.method",
                "op": "not_null"
              },
              {
                "field": "request.method",
                "op": "eq",
                "value": "compare.rank"
              },
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              },
              {
                "field": "dependence.repeatedUnitVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Wilcoxon-Mann-Whitney distribution comparison for two groups, with tie-aware probability index P(X > Y) + 0.5 P(X = Y) and its within-group percentile bootstrap interval. The separate Hodges-Lehmann interval assumes equal-shaped distributions differing only by location. For three or more groups, Kruskal-Wallis compares distributions with descriptive group mean ranks; no single two-group probability interval is implied.",
          "methodId": "compare.rank",
          "templateId": "describe.compare_ranks",
          "registryEntries": [
            {
              "id": "compare.rank",
              "status": "implemented"
            }
          ],
          "alternatives": [
            {
              "ruleId": "R-CMP-01",
              "label": "Welch comparison",
              "description": "Independent-group mean comparison allowing unequal variances."
            },
            {
              "ruleId": "R-CMP-GH-01",
              "label": "Games-Howell comparisons",
              "description": "Unequal-variance all-pairs family with Welch degrees of freedom."
            },
            {
              "ruleId": "R-CMP-PLANNED-01",
              "label": "Declared common-variance contrasts",
              "description": "One declared Gaussian contrast family with joint covariance inference."
            }
          ],
          "eCodes": [
            "E-167"
          ],
          "reasonPlain": "A rank test compares group distributions. For two groups, report the probability index with half weight for ties and an approximate confidence interval.",
          "reasonExpert": "The Wilcoxon-Mann-Whitney p value tests equality of distributions; with unequal shapes it is not a general test of the weak null that P(X > Y) + 0.5 P(X = Y) is 0.5. Report that probability index with its separately estimated within-group percentile bootstrap interval. The separate Hodges-Lehmann interval has a location-shift interpretation under equal-shaped distributions differing only by location.",
          "fineWhen": "A rank test is fine when the question is about stochastic superiority or the data are ordinal."
        }
      ]
    },
    {
      "family": "compare.repeated_anova",
      "rows": [
        {
          "rowId": "R-CMP-RM-01",
          "apiId": "r.cmp.rm.01",
          "ruleVersion": 3,
          "title": "Complete-case repeated-measures ANOVA",
          "when": "objective.goal is compare and modeling.outcomeFamily is continuous and dependence.repeatedUnitVar is answered and dependence.clusterVar is answered and dependence.repeatedMeasures is true and longitudinal.timeVar is answered and surveyDesign.weightVar is not answered and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "compare"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "continuous"
              },
              {
                "field": "dependence.repeatedUnitVar",
                "op": "not_null"
              },
              {
                "field": "dependence.clusterVar",
                "op": "not_null"
              },
              {
                "field": "dependence.repeatedMeasures",
                "op": "eq",
                "value": true
              },
              {
                "field": "longitudinal.timeVar",
                "op": "not_null"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Within-participant complete-case Gaussian repeated-measures ANOVA; Huynh-Feldt epsilon capped at one is primary and Greenhouse-Geisser is a reported sensitivity.",
          "methodId": null,
          "templateId": "model.repeated_anova",
          "registryEntries": [
            {
              "id": "model.repeated_anova",
              "status": "implemented"
            }
          ],
          "alternatives": [
            {
              "ruleId": "R-ASC-09",
              "label": "Mixed model",
              "description": "Uses all observed visits when incomplete follow-up makes complete-case ANOVA unsuitable."
            }
          ],
          "eCodes": [
            "E-173",
            "E-206"
          ],
          "reasonPlain": "Compare means across declared visits within the same participants, with Huynh-Feldt correction.",
          "reasonExpert": "car::Anova supplies the repeated-measures F test and GG/HF epsilons; HF is the unconditional primary correction and GG is sensitivity. Mauchly does not select the correction.",
          "fineWhen": "Three to six scheduled visits, a complete participant/visit inventory, a continuous outcome, and an explicit complete-case justification."
        }
      ]
    },
    {
      "family": "compare.table_2x2",
      "rows": [
        {
          "rowId": "R-CMP-03",
          "apiId": "r.cmp.03",
          "ruleVersion": 2,
          "title": "2x2 table, mid-p or unconditional exact, never Yates",
          "when": "objective.goal is compare and modeling.outcomeFamily is binary and derived.tableShape is 2x2 and dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and surveyDesign.weightVar is not answered and derived.viewRepeatsPerson is false and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "compare"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "binary"
              },
              {
                "field": "derived.tableShape",
                "op": "eq",
                "value": "2x2"
              },
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              },
              {
                "field": "dependence.repeatedUnitVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Fisher mid-p (default) or Boschloo unconditional exact test (user choice), labelled; N-1 chi-square when all expected counts are at least 5 and N is at least 40; never Yates; the prevalence or risk difference (by the declared outcome kind) with a Newcombe interval, the prevalence or risk ratio and the odds ratio with Wilson-based (MOVER) intervals. Prevalence or risk rows are withheld, with the reason, until the outcome kind is answered and, for a new event, follow-up is confirmed complete; the test and the odds ratio remain. For a new event with incomplete follow-up, Safi recommends person-time or survival methods first. The ordinary odds ratio remains available, but it counts people without a recorded event as not having the event, including people whose follow-up ended early. It does not correct for censoring. Risk ratios and risk differences remain unavailable.",
          "methodId": null,
          "templateId": "describe.crosstab_2x2",
          "registryEntries": [
            {
              "id": "compare.table_2x2",
              "status": "implemented"
            },
            {
              "id": "test.fisher_conditional",
              "status": "implemented"
            },
            {
              "id": "test.fisher_conditional_default",
              "status": "refused"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-090"
          ],
          "reasonPlain": "For a 2x2 table Safi uses an exact test that stays valid for small counts, and never Yates' correction.",
          "reasonExpert": "Fisher mid-p (or an unconditional exact test) controls size without the conservatism of Fisher's exact test or Yates' continuity correction. Source: disciplines/BIOSTATISTICS_ANALYSIS.md (small-samples-rare-outcomes-and-multiplicity).",
          "fineWhen": "The N-1 chi-square is fine when all expected counts are at least 5 and N is at least 40."
        }
      ]
    },
    {
      "family": "compare.table_rxc",
      "rows": [
        {
          "rowId": "R-CMP-04",
          "apiId": "r.cmp.04",
          "ruleVersion": 2,
          "title": "r x c table, Pearson or exact conditional mid-p",
          "when": "objective.goal is compare and modeling.outcomeFamily is binary and derived.tableShape is rxc and dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and surveyDesign.weightVar is not answered and derived.viewRepeatsPerson is false and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "compare"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "binary"
              },
              {
                "field": "derived.tableShape",
                "op": "eq",
                "value": "rxc"
              },
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              },
              {
                "field": "dependence.repeatedUnitVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "derived.viewRepeatsPerson",
                "op": "eq",
                "value": false
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Pearson chi-square when all expected counts are at least 1 and at least 80% are at least 5; otherwise exact conditional mid-p with the Pearson statistic; Monte Carlo only as a labelled fallback with its seed recorded.",
          "methodId": null,
          "templateId": "describe.crosstab_rxc",
          "registryEntries": [
            {
              "id": "compare.table_rxc",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-090"
          ],
          "reasonPlain": "For larger tables Safi uses Pearson's test when counts allow and an exact test when they do not.",
          "reasonExpert": "Pearson chi-square needs adequate expected counts; otherwise an exact conditional mid-p test with the Pearson statistic is reported. Source: disciplines/BIOSTATISTICS_ANALYSIS.md (small-samples-rare-outcomes-and-multiplicity).",
          "fineWhen": "Pearson's chi-square is fine when most expected counts are at least 5."
        }
      ]
    },
    {
      "family": "covariance.cr2",
      "rows": [
        {
          "rowId": "R-COV-01",
          "apiId": "r.cov.01",
          "ruleVersion": 1,
          "title": "CR2 with Satterthwaite df (G at least 50)",
          "when": "dependence.clusterVar is answered and derived.G is at least 50",
          "appliesWhen": {
            "all": [
              {
                "field": "dependence.clusterVar",
                "op": "not_null"
              },
              {
                "field": "derived.G",
                "op": "ge",
                "value": 50
              }
            ]
          },
          "method": "CR2 (Bell-McCaffrey) with Satterthwaite df as the reported inference; CR1S shown alongside; G, effective G, cluster-size range and leave-one-cluster-out range reported.",
          "methodId": null,
          "templateId": "infer.vcov_cr2",
          "registryEntries": [
            {
              "id": "model.linear.cluster",
              "status": "implemented"
            },
            {
              "id": "model.logistic.cluster",
              "status": "implemented"
            },
            {
              "id": "model.nb_offset_cluster",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-006",
            "E-013"
          ],
          "reasonPlain": "With 50 or more clusters, Safi uses cluster-robust errors with a small-sample correction.",
          "reasonExpert": "CR2 (Bell-McCaffrey) with Satterthwaite degrees of freedom is the reported inference for 50 or more clusters. Source: methods/SURVIVAL_LONGITUDINAL.md (repeated-outcomes-and-small-cluster-inference).",
          "fineWhen": "The uncorrected sandwich estimator is fine when clusters are very many and balanced."
        }
      ]
    },
    {
      "family": "covariance.cr2_wcb",
      "rows": [
        {
          "rowId": "R-COV-02",
          "apiId": "r.cov.02",
          "ruleVersion": 1,
          "title": "CR2 plus wild-cluster bootstrap (G 20 to 49)",
          "when": "dependence.clusterVar is answered and derived.G is at least 20 and derived.G is at most 49",
          "appliesWhen": {
            "all": [
              {
                "field": "dependence.clusterVar",
                "op": "not_null"
              },
              {
                "field": "derived.G",
                "op": "ge",
                "value": 20
              },
              {
                "field": "derived.G",
                "op": "le",
                "value": 49
              }
            ]
          },
          "method": "CR2 with Satterthwaite df plus a restricted wild-cluster bootstrap (Rademacher, B = 9999) for the primary coefficient; both reported, CR2 primary.",
          "methodId": null,
          "templateId": "infer.vcov_cr2",
          "registryEntries": [
            {
              "id": "model.linear.cluster",
              "status": "implemented"
            },
            {
              "id": "model.logistic.cluster",
              "status": "implemented"
            },
            {
              "id": "model.nb_offset_cluster",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-013"
          ],
          "reasonPlain": "With 20 to 49 clusters, Safi reports a corrected interval and shows a bootstrap beside it.",
          "reasonExpert": "CR2 with Satterthwaite df is primary and a restricted wild-cluster bootstrap is shown (MacKinnon, Nielsen and Webb 2023). Source: methods/SURVIVAL_LONGITUDINAL.md (repeated-outcomes-and-small-cluster-inference).",
          "fineWhen": "CR2 alone is fine when clusters are balanced and similar in size."
        }
      ]
    },
    {
      "family": "covariance.default",
      "rows": [
        {
          "rowId": "R-COV-00",
          "apiId": "r.cov.00",
          "ruleVersion": 1,
          "title": "Model-based covariance",
          "when": "dependence.clusterVar is not answered and dependence.repeatedUnitVar is not answered and surveyDesign.weightVar is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              },
              {
                "field": "dependence.repeatedUnitVar",
                "op": "is_null"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              }
            ]
          },
          "method": "Model-based covariance with profile-likelihood intervals for GLMs and t intervals for lm; HC3 for modified Poisson.",
          "methodId": null,
          "templateId": "infer.vcov_default",
          "registryEntries": [
            {
              "id": "model.linear.default",
              "status": "implemented"
            },
            {
              "id": "model.logistic.default",
              "status": "implemented"
            },
            {
              "id": "model.logbinomial",
              "status": "implemented"
            },
            {
              "id": "model.nb_offset",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-006"
          ],
          "reasonPlain": "With no declared cluster, standard errors from the model itself are used.",
          "reasonExpert": "Model-based covariance is valid under independence given the model; it is chosen only when no dependence is declared. Source: methods/CORE_ANALYSIS_WORKFLOW.md (4-diagnose-and-quantify-uncertainty).",
          "fineWhen": "A robust (sandwich) covariance is also fine and is shown beside it for comparison."
        }
      ]
    },
    {
      "family": "covariance.wcb",
      "rows": [
        {
          "rowId": "R-COV-03",
          "apiId": "r.cov.03",
          "ruleVersion": 1,
          "title": "Few-cluster inference as primary (G 4 to 19)",
          "when": "dependence.clusterVar is answered and derived.G is at least 4 and derived.G is at most 19",
          "appliesWhen": {
            "all": [
              {
                "field": "dependence.clusterVar",
                "op": "not_null"
              },
              {
                "field": "derived.G",
                "op": "ge",
                "value": 4
              },
              {
                "field": "derived.G",
                "op": "le",
                "value": 19
              }
            ]
          },
          "method": "Linear: wild-cluster bootstrap p and interval (Webb weights under 12 clusters, Rademacher to 19), CR2 secondary. GLM: cluster jackknife CV3L, t on G - 1 df, with bootstrap and CR2 beside it. Labelled \"few-cluster inference\".",
          "methodId": null,
          "templateId": "infer.vcov_wcb",
          "registryEntries": [
            {
              "id": "model.linear.cluster",
              "status": "implemented"
            },
            {
              "id": "model.logistic.cluster",
              "status": "implemented"
            },
            {
              "id": "model.nb_offset_cluster",
              "status": "implemented"
            }
          ],
          "alternatives": [
            {
              "ruleId": null,
              "label": "Cluster-level summary analysis",
              "description": "Aggregate to the cluster and analyse the summaries."
            },
            {
              "ruleId": null,
              "label": "Randomization inference (Stage 2)",
              "description": "Design-based inference for few clusters."
            }
          ],
          "eCodes": [
            "E-013"
          ],
          "reasonPlain": "With 4 to 19 clusters, Safi uses methods built for few clusters and says the inference is limited.",
          "reasonExpert": "Wild-cluster bootstrap for linear models and the CV3L cluster jackknife with t(G-1) for GLMs, with CR2 and the bootstrap shown. Source: disciplines/BIOSTATISTICS_ANALYSIS.md (small-samples-rare-outcomes-and-multiplicity).",
          "fineWhen": "A cluster-level summary analysis is also fine."
        }
      ]
    },
    {
      "family": "describe.default",
      "rows": [
        {
          "rowId": "R-DESC-01",
          "apiId": "r.desc.01",
          "ruleVersion": 3,
          "title": "Descriptive tables without significance tests",
          "when": "objective.goal is describe and surveyDesign.weightVar is not answered and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "describe"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Descriptive tables and figures (Table 1, univariable, bivariable) with no significance tests; SMD by exposure when an exposure is named.",
          "methodId": null,
          "templateId": "describe.table1",
          "registryEntries": [
            {
              "id": "describe.table1.default",
              "status": "implemented"
            }
          ],
          "alternatives": [
            {
              "ruleId": "R-DESC-PREPOST-01",
              "label": "Selected-group paired description",
              "description": "Describe paired change with an explicit selection and regression-to-the-mean limitation."
            }
          ],
          "eCodes": [
            "E-111"
          ],
          "reasonPlain": "Descriptive tables show counts and spread without significance tests, so nothing is claimed beyond the file.",
          "reasonExpert": "Descriptive output carries estimates with uncertainty where stated and no hypothesis tests. Source: methods/DATA_CLEANING_EXPLORATION.md (stage-5-bivariable-scientific-description).",
          "fineWhen": "A test is fine when it answers a stated confirmatory question."
        }
      ]
    },
    {
      "family": "describe.epi_weeks",
      "rows": [
        {
          "rowId": "R-DESC-WEEK-01",
          "apiId": "r.desc.week.01",
          "ruleVersion": 2,
          "title": "Counts by calendar week under a declared week scheme",
          "when": "objective.goal is describe and descriptive.weekScheme.scheme is answered and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "describe"
              },
              {
                "field": "descriptive.weekScheme.scheme",
                "op": "not_null"
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Row counts per week from the declared date column; no model and no test.",
          "methodId": null,
          "templateId": "describe.epi_weeks",
          "registryEntries": [
            {
              "id": "describe.epi_weeks",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-312"
          ],
          "reasonPlain": "Counts rows per calendar week using the week-numbering scheme you declared (the MMWR epidemiological week or ISO 8601), so weekly counts mean the same thing in every source.",
          "reasonExpert": "lubridate epiweek/epiyear (MMWR) or isoweek/isoyear (ISO 8601) on the declared date column; text dates are read with readr::parse_date in the declared format and language. Missing and unreadable dates are counted apart.",
          "fineWhen": "Use it when one date column marks when each row happened and the week convention matters for comparison."
        }
      ]
    },
    {
      "family": "describe.geography",
      "rows": [
        {
          "rowId": "R-LOC-GEO-01",
          "apiId": "r.loc.geo.01",
          "ruleVersion": 1,
          "title": "Declared area boundaries or displaced-cluster spatial extraction",
          "when": "(geography.area.column is answered or geography.points.xColumn is answered)",
          "appliesWhen": {
            "all": [
              {
                "any": [
                  {
                    "field": "geography.area.column",
                    "op": "not_null"
                  },
                  {
                    "field": "geography.points.xColumn",
                    "op": "not_null"
                  }
                ]
              }
            ]
          },
          "method": "User-supplied polygon validation and area counts, displaced-cluster facility sensitivity, or point-cell versus buffer-presence land-cover extraction; no spatial model.",
          "methodId": null,
          "templateId": "describe.geography",
          "registryEntries": [
            {
              "id": "describe.geography",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-318",
            "E-319",
            "E-320",
            "E-374"
          ],
          "reasonPlain": "Assigns declared coordinates to uploaded polygons and counts rows by area after checking the boundary version, code system, licence and displacement answer. Displaced clusters can compare a declared grid-cell class with classes present in urban and rural buffers, or compare private direct facility links with public buffer summaries.",
          "reasonExpert": "sf validates uploaded polygons or a complete declared centre-cell lattice. Point-cell extraction and policy-buffer class presence are distinct summaries; a separately bound facility source compares nearest-feature baselines with two metre-radius candidate summaries while keeping direct links private.",
          "fineWhen": "Use with a declared polygon source and its version, code system, CRS and licence, or with displaced cluster coordinates, urban/rural class, two declared buffer radii, and a separately bound facility CSV or centre-cell grid. Area assignment still requires polygons."
        }
      ]
    },
    {
      "family": "describe.nonprob_adjusted",
      "rows": [
        {
          "rowId": "R-SEL-ADJ-01",
          "apiId": "r.sel.adj.01",
          "ruleVersion": 1,
          "title": "Non-probability sample adjusted to declared population margins",
          "when": "objective.goal is describe and surveyDesign.nonprobabilityAdjustment.method is answered and surveyDesign.descriptiveEstimate.statistic is answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "describe"
              },
              {
                "field": "surveyDesign.nonprobabilityAdjustment.method",
                "op": "not_null"
              },
              {
                "field": "surveyDesign.descriptiveEstimate.statistic",
                "op": "not_null"
              }
            ]
          },
          "method": "One user-declared population mean or category proportion, optionally within a declared domain, from participants weighted to user-declared population margins, shown beside the unadjusted value with weight diagnostics, cell sizes and balance.",
          "methodId": null,
          "templateId": "describe.nonprob_adjusted",
          "registryEntries": [
            {
              "id": "describe.nonprob_adjusted",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-144",
            "E-148"
          ],
          "reasonPlain": "When you supply population margins for a sample that is not a probability sample, population estimates come from an adjustment to those margins and are shown beside the unadjusted value.",
          "reasonExpert": "Post-stratification, raking or linear calibration of the participants to user-declared population margins with the survey package, with a model-based interval. The adjustment assumes selection is ignorable given the adjustment variables; Safi does not check that. Source: disciplines/SURVEY_SCIENCE_ANALYSIS.md (common-analysis-routes).",
          "fineWhen": "Describing only the participants needs no adjustment; label unadjusted values as describing the sample."
        }
      ]
    },
    {
      "family": "describe.period_scheme",
      "rows": [
        {
          "rowId": "R-DESC-PERIOD-01",
          "apiId": "r.desc.period.01",
          "ruleVersion": 1,
          "title": "Rows or additive counts by a declared source-calendar reporting period",
          "when": "objective.goal is describe and descriptive.periodScheme.scheme is answered and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "describe"
              },
              {
                "field": "descriptive.periodScheme.scheme",
                "op": "not_null"
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Row counts by declared date period, or sums of confirmed noncumulative period counts with annual totals; exact Gregorian-month mapping requires dates.",
          "methodId": null,
          "templateId": "describe.period_scheme",
          "registryEntries": [
            {
              "id": "describe.period_scheme",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-312"
          ],
          "reasonPlain": "Counts dated rows or totals confirmed noncumulative counts in the Ethiopian thirteen-period or declared fiscal-year scheme, retaining Pagume.",
          "reasonExpert": "Dated rows use exact Ethiopian Amete Mihret conversion or Gregorian parsing; preaggregated year/period/count rows are summed without inventing Gregorian dates. Fiscal start is in the source calendar.",
          "fineWhen": "Use it when source rows have one event date, or explicitly recorded year, period and additive count columns."
        }
      ]
    },
    {
      "family": "describe.rds_prevalence",
      "rows": [
        {
          "rowId": "R-RDS-EST-01",
          "apiId": "r.rds.est.01",
          "ruleVersion": 1,
          "title": "Respondent-driven sample: RDS-II and successive-sampling estimates with recruitment-aware intervals",
          "when": "objective.goal is describe and studyDesign.samplingScheme is answered and studyDesign.samplingScheme is respondent_driven and surveyDesign.rdsDesign.idVar is answered and surveyDesign.descriptiveEstimate.statistic is answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "describe"
              },
              {
                "field": "studyDesign.samplingScheme",
                "op": "not_null"
              },
              {
                "field": "studyDesign.samplingScheme",
                "op": "eq",
                "value": "respondent_driven"
              },
              {
                "field": "surveyDesign.rdsDesign.idVar",
                "op": "not_null"
              },
              {
                "field": "surveyDesign.descriptiveEstimate.statistic",
                "op": "not_null"
              }
            ]
          },
          "method": "One declared category proportion estimated with RDS-II and, at each declared population size, successive sampling, each with a recruitment-aware bootstrap interval and design effect, shown beside the unadjusted sample proportion, with RDS diagnostics.",
          "methodId": null,
          "templateId": "describe.rds_estimates",
          "registryEntries": [
            {
              "id": "describe.rds_prevalence",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-149",
            "E-150",
            "E-151"
          ],
          "reasonPlain": "A respondent-driven sample over-represents people with many contacts. Population estimates weight by network size, come with intervals that follow the recruitment chains, and sit beside the unadjusted sample proportion.",
          "reasonExpert": "R-RDS-02 to R-RDS-05: the RDS package's Volz-Heckathorn (RDS-II) and successive-sampling estimators (successive sampling only at a declared population size or range), recruitment-aware bootstrap intervals (RDS::RDS.bootstrap.intervals) with the estimated design effect and a statement that coverage is contested, the unadjusted sample proportion labelled as such, and diagnostics: convergence by sample order, per-seed-tree estimates, recruitment homophily, network-size heaping and outliers, sensitivity to the network-size rule, and the unchecked assumptions. Source: methods/RESPONDENT_DRIVEN_SAMPLING.md (estimator-choices).",
          "fineWhen": "Coupon-based recruitment with recorded recruiter links and reported network sizes; describing only the participants needs no RDS estimator."
        }
      ]
    },
    {
      "family": "describe.selected_prepost",
      "rows": [
        {
          "rowId": "R-DESC-PREPOST-01",
          "apiId": "r.desc.prepost.01",
          "ruleVersion": 2,
          "title": "Paired description after baseline selection",
          "when": "objective.goal is describe and modeling.selectedUncontrolledPrePost is true and surveyDesign.weightVar is not answered and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "describe"
              },
              {
                "field": "modeling.selectedUncontrolledPrePost",
                "op": "eq",
                "value": true
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "stats::t.test with paired = TRUE supplies the descriptive mean-change interval; its p-value is not reported. RTM and programme effects are not separately estimated.",
          "methodId": null,
          "templateId": "describe.selected_prepost",
          "registryEntries": [
            {
              "id": "describe.selected_prepost",
              "status": "implemented"
            }
          ],
          "alternatives": [
            {
              "ruleId": "R-DESC-01",
              "label": "Ordinary sample description",
              "description": "Describe each selected measure without a paired before-and-after contrast."
            }
          ],
          "eCodes": [
            "E-047"
          ],
          "reasonPlain": "The selected group's paired change is descriptive; regression to the mean can produce apparent improvement without a programme effect.",
          "reasonExpert": "A paired t interval describes the mean within-person change. Baseline selection prevents attributing the observed change to the programme.",
          "fineWhen": "A causal programme contrast needs a credible comparison design rather than a single group selected on its baseline outcome."
        }
      ]
    },
    {
      "family": "describe.survey_design_based",
      "rows": [
        {
          "rowId": "R-DESC-02",
          "apiId": "r.desc.02",
          "ruleVersion": 6,
          "title": "Declared design-based survey estimate",
          "when": "objective.goal is describe and surveyDesign.weightVar is answered and surveyDesign.weightSemantics is sampling and surveyDesign.descriptiveEstimate.statistic is answered and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "describe"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "not_null"
              },
              {
                "field": "surveyDesign.weightSemantics",
                "op": "eq",
                "value": "sampling"
              },
              {
                "field": "surveyDesign.descriptiveEstimate.statistic",
                "op": "not_null"
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "A mean, total or proportion uses the full survey design and design degrees of freedom. Optional PHIA blood-test incidence requires a confirmed method, source roles and replicates. phia_manual uses zero-FRR, 365-day annual percentage with transformed 95% normal-intensity or narrative zero-recent limits. recent_rita3 uses recent 0.1.0 for an instantaneous rate per 100 person-years; external LAg, FRR 2/362, tau 2 years and AIDS survival are fixed, while diagnosis survival is refit from undiagnosed participant testing histories in each frozen replicate. Its 95% normal interval omits external calibration uncertainty. A legacy method-absent declaration stays numeric-free.",
          "methodId": null,
          "templateId": "describe.survey_estimate",
          "registryEntries": [
            {
              "id": "describe.survey_estimate",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-009"
          ],
          "reasonPlain": "When you declare a survey design, population estimates use it.",
          "reasonExpert": "Design-based estimates with the declared weights, strata and primary sampling units; the population is the user-declared one. Source: disciplines/SURVEY_SCIENCE_ANALYSIS.md (design-specification-is-part-of-the-analysis).",
          "fineWhen": "An unweighted summary is fine when labelled as describing the sample."
        }
      ]
    },
    {
      "family": "describe.survival_cif",
      "rows": [
        {
          "rowId": "R-DESC-SURV-CIF-01",
          "apiId": "r.desc.surv.cif.01",
          "ruleVersion": 2,
          "title": "Cumulative incidence with competing events",
          "when": "objective.goal is describe and modeling.outcomeFamily is time_to_event and modeling.survivalAnalysis.horizon is answered and modeling.hasCompetingEvent is true and surveyDesign.weightVar is not answered and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "describe"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "time_to_event"
              },
              {
                "field": "modeling.survivalAnalysis.horizon",
                "op": "not_null"
              },
              {
                "field": "modeling.hasCompetingEvent",
                "op": "eq",
                "value": true
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "survival::survfit with a multi-state status gives the Aalen-Johansen estimate of the cumulative incidence of the declared event in the presence of the declared competing events.",
          "methodId": null,
          "templateId": "describe.survival_cif",
          "registryEntries": [
            {
              "id": "describe.survival_cif",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-054"
          ],
          "reasonPlain": "When another event can prevent the one you study, the share who had it by a time is the cumulative incidence, not one minus the Kaplan-Meier estimate.",
          "reasonExpert": "Aalen-Johansen cumulative incidence from survival::survfit multi-state at declared times; one minus Kaplan-Meier is not reported.",
          "fineWhen": "Use it when the declared event, censoring and times describe one independent, unweighted row per person."
        }
      ]
    },
    {
      "family": "describe.survival_km",
      "rows": [
        {
          "rowId": "R-DESC-SURV-KM-01",
          "apiId": "r.desc.surv.km.01",
          "ruleVersion": 2,
          "title": "Kaplan-Meier, restricted mean and log-rank description",
          "when": "objective.goal is describe and modeling.outcomeFamily is time_to_event and modeling.survivalAnalysis.horizon is answered and modeling.hasCompetingEvent is false and surveyDesign.weightVar is not answered and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "describe"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "time_to_event"
              },
              {
                "field": "modeling.survivalAnalysis.horizon",
                "op": "not_null"
              },
              {
                "field": "modeling.hasCompetingEvent",
                "op": "eq",
                "value": false
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "survival::survfit and survival::survdiff, with RMST as the area under the Kaplan-Meier curve to the declared horizon. The horizon, times and codes are declared before outcomes are viewed.",
          "methodId": null,
          "templateId": "describe.survival_km",
          "registryEntries": [
            {
              "id": "describe.survival_km",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-054"
          ],
          "reasonPlain": "Describes how long people stay event-free: survival at the times you declared, the median, follow-up, the average event-free time up to your horizon and, for groups, a log-rank test.",
          "reasonExpert": "survival::survfit Kaplan-Meier with log-log intervals at declared times, reverse-KM median follow-up, restricted mean survival time to the declared horizon, and survdiff log-rank across groups.",
          "fineWhen": "Use it when the declared event, censoring and times describe one independent, unweighted row per person."
        }
      ]
    },
    {
      "family": "design.power",
      "rows": [
        {
          "rowId": "R-PWR-01",
          "apiId": "r.pwr.01",
          "ruleVersion": 1,
          "title": "Power and required sample size for a pre-specified effect, with the planned n recorded",
          "when": "modeling.predictionValidation.kind is power",
          "appliesWhen": {
            "all": [
              {
                "field": "modeling.predictionValidation.kind",
                "op": "eq",
                "value": "power"
              }
            ]
          },
          "method": "Power, required sample size and smallest detectable effect from the pwr package for a pre-specified two-sample t, two-proportion or correlation test, equal groups, two-sided. The planned n, the effect size and its basis are recorded as declared.",
          "methodId": null,
          "templateId": "model.power_planned_n",
          "registryEntries": [
            {
              "id": "model.power_planned_n",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-068"
          ],
          "reasonPlain": "Power and the required sample size are computed for an effect stated in advance, and shown beside the planned and analysed sample sizes.",
          "reasonExpert": "(R-PLAN-10, power part of R-INF-08) pwr::pwr.t.test, pwr::pwr.2p.test or pwr::pwr.r.test for the declared effect size. Reports the required total n, the power at the planned n, the smallest effect detectable at the planned n and the n analysed. Power from the observed effect is refused elsewhere (RF-15). Precision planning is not offered.",
          "fineWhen": "The declaration names its inputs and the data have one complete row per subject."
        }
      ]
    },
    {
      "family": "diagnostics.dag_adjustment",
      "rows": [
        {
          "rowId": "R-DAG-ADJ-01",
          "apiId": "r.dag.adj.01",
          "ruleVersion": 2,
          "title": "Adjustment sets and a validity check from the reviewed causal diagram",
          "when": "modeling.causalDiagram is answered",
          "appliesWhen": {
            "all": [
              {
                "field": "modeling.causalDiagram",
                "op": "not_null"
              }
            ]
          },
          "method": "Convert the reviewed diagram to dagitty syntax, list its minimal adjustment sets for the declared total or direct target, test whether the model's covariates form a valid adjustment set on it and classify each covariate (mediator, descendant of the exposure or outcome, common ancestor, and so on). Report every result as conditional on the arrows as drawn. Where the diagram lists measured sets, refit the SAME primary estimator (ordinary least squares, logistic, Poisson-family or Cox proportional hazards, with the primary's family, link, ties, offset and covariance estimator) on one common complete-row frame under the selected set, the first diagram-implied set and each reviewed alternative diagram's first set, and report the primary's own effect measure for each. A primary the comparison cannot reproduce exactly (interaction, nonlinear or grouped terms, a covariance or estimator outside the four routes) is reported as not run with the reason, never replaced by another estimator. A marked selection node is conditioned on while the sets are listed; if it opens a non-causal path, say so and state that Safi runs no selection-weighting remedy, because selection weights need data on the people who were not selected. Data implications use a Holm-adjusted p-value as the primary signal; the 0.1 practical threshold is an EXTRAPOLATED spec default pending R-VAL-01 calibration.",
          "methodId": null,
          "templateId": "diagnostics.dag_adjustment",
          "registryEntries": [
            {
              "id": "diag.dag_adjustment",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-043"
          ],
          "reasonPlain": "The researcher drew and reviewed a causal diagram. The dagitty package lists the smallest sets of measured variables the diagram says are enough to adjust for, checks the covariates in the model against it and names the role of each covariate.",
          "reasonExpert": "Back-door adjustment sets and the adjustment criterion are computed by the dagitty package (Textor et al. 2016) on the diagram exactly as drawn; a direct-effect target uses dagitty's direct-effect sets. The result is conditional on the arrows. A diagram records assumptions, it is not evidence, and an undrawn covariate is reported as not assessed. Source: methods/CAUSAL_DAG_DEVELOPMENT.md (confounders-mediators-colliders-and-selection).",
          "fineWhen": "Skipping it is fine when no diagram was drawn or the question is not about a specific exposure and outcome."
        }
      ]
    },
    {
      "family": "ecology.detection",
      "rows": [
        {
          "rowId": "R-SPAT-02",
          "apiId": "r.spat.02",
          "ruleVersion": 2,
          "title": "Single-season detection analysis with naive companion",
          "when": "objective.goal is one of describe, associate, compare and modeling.ecologicalAnalysis.model is answered and modeling.ecologicalAnalysis.model is one of naive, occupancy, n_mixture and modeling.spatialAnalysis.mode is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "in",
                "value": [
                  "describe",
                  "associate",
                  "compare"
                ]
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "not_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "in",
                "value": [
                  "naive",
                  "occupancy",
                  "n_mixture"
                ]
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              }
            ]
          },
          "method": "Single-season detection analysis with naive companion",
          "methodId": null,
          "templateId": "model.ecological_detection",
          "registryEntries": [
            {
              "id": "model.ecological_detection",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-205"
          ],
          "reasonPlain": "Repeated visits distinguish the ecological state from imperfect detection under the declared assumptions. The naive perfect-detection summary is shown alongside any fitted detection model.",
          "reasonExpert": "Repeated visits distinguish the ecological state from imperfect detection under the declared assumptions. The naive perfect-detection summary is shown alongside any fitted detection model.",
          "fineWhen": "The declared analysis and observation design answer the research question."
        }
      ]
    },
    {
      "family": "functional_form.spline_default",
      "rows": [
        {
          "rowId": "R-FORM-01",
          "apiId": "r.form.01",
          "ruleVersion": 1,
          "title": "Restricted cubic spline as the default offered form",
          "when": "derived.covariatesContinuous is at least 1",
          "appliesWhen": {
            "all": [
              {
                "field": "derived.covariatesContinuous",
                "op": "ge",
                "value": 1
              }
            ]
          },
          "method": "Restricted cubic spline (3 to 4 knots by a documented rule) as the default offered form for each continuous adjustment variable, with a joint test of the nonlinear terms; a linear term is an offered alternative; prespecified clinical thresholds accepted as a recorded decision; adjusted curves plotted over observed support with a rug and marked extrapolation.",
          "methodId": null,
          "templateId": "model.formula",
          "registryEntries": [
            {
              "id": "model.formula.spline",
              "status": "implemented"
            }
          ],
          "alternatives": [
            {
              "ruleId": null,
              "label": "Linear term",
              "description": "Recorded decision."
            },
            {
              "ruleId": null,
              "label": "Clinical thresholds",
              "description": "Prespecified categories as a recorded decision."
            }
          ],
          "eCodes": [
            "E-162",
            "E-203"
          ],
          "reasonPlain": "A flexible curve is the first offer for a continuous variable, with a straight line as the alternative.",
          "reasonExpert": "Restricted cubic splines (Harrell) are the default offered form, with knots at fixed quantiles. Source: methods/FUNCTIONAL_FORM.md (preserve-information-while-matching-the-question).",
          "fineWhen": "A straight line is fine when subject knowledge or a spline comparison supports it."
        }
      ]
    },
    {
      "family": "missingness.complete_case",
      "rows": [
        {
          "rowId": "R-MISS-01",
          "apiId": "r.miss.01",
          "ruleVersion": 2,
          "title": "Complete-case analysis after the TARMOS readiness check",
          "when": "derived.anyMissingInModelVars is true and (dataReadiness.missingnessPlan is not answered or dataReadiness.missingnessPlan is not multiple_imputation)",
          "appliesWhen": {
            "all": [
              {
                "field": "derived.anyMissingInModelVars",
                "op": "eq",
                "value": true
              },
              {
                "any": [
                  {
                    "field": "dataReadiness.missingnessPlan",
                    "op": "is_null"
                  },
                  {
                    "field": "dataReadiness.missingnessPlan",
                    "op": "ne",
                    "value": "multiple_imputation"
                  }
                ]
              }
            ]
          },
          "method": "Complete-case analysis, allowed only after the TARMOS readiness check is shown (missingness table, complete versus incomplete comparison on baseline covariates, stated assumption that missingness is unlikely to depend on the outcome given the covariates); sample flow reported.",
          "methodId": null,
          "templateId": "describe.complete_incomplete_compare",
          "registryEntries": [
            {
              "id": "missing.complete_case",
              "status": "implemented"
            },
            {
              "id": "model.mice",
              "status": "planned"
            }
          ],
          "alternatives": [
            {
              "ruleId": null,
              "label": "Stage 2 multiple imputation",
              "description": "mice, substantive-model compatible."
            }
          ],
          "eCodes": [
            "E-052"
          ],
          "reasonPlain": "Complete-case analysis is offered after the missing-data check and the stated assumption.",
          "reasonExpert": "Complete-case analysis is valid for regression coefficients when missingness is independent of the outcome given the covariates; the readiness check compares complete and incomplete cases. Source: methods/MISSING_DATA_MEASUREMENT.md (choosing-the-primary-strategy).",
          "fineWhen": "Fine whenever your stated assumption holds; a sensitivity analysis is run beside it."
        }
      ]
    },
    {
      "family": "model.rds_regression",
      "rows": [
        {
          "rowId": "R-RDS-REG-01",
          "apiId": "r.rds.reg.01",
          "ruleVersion": 1,
          "title": "Respondent-driven sample regression: unweighted and weighted fits with seed-tree clustered standard errors",
          "when": "objective.goal is associate and studyDesign.samplingScheme is answered and studyDesign.samplingScheme is respondent_driven and surveyDesign.rdsDesign.idVar is answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "associate"
              },
              {
                "field": "studyDesign.samplingScheme",
                "op": "not_null"
              },
              {
                "field": "studyDesign.samplingScheme",
                "op": "eq",
                "value": "respondent_driven"
              },
              {
                "field": "surveyDesign.rdsDesign.idVar",
                "op": "not_null"
              }
            ]
          },
          "method": "Poisson (log link) or logistic regression fitted unweighted and weighted by 1 / network size, with standard errors clustered by seed tree and the weight concentration reported.",
          "methodId": null,
          "templateId": "model.rds_regression",
          "registryEntries": [
            {
              "id": "model.rds_regression",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-152"
          ],
          "reasonPlain": "Regression on respondent-driven data is shown two ways side by side, because whether weighting by network size helps a regression is contested. Standard errors allow for people recruited by the same chain being alike.",
          "reasonExpert": "R-RDS-06: unweighted and 1 / network size weighted generalized linear fits shown together, with cluster-robust (sandwich, HC1) standard errors clustered by seed tree, weight concentration reported, and the statement that weighting is contested. Poisson (log link) or logistic. Source: methods/RESPONDENT_DRIVEN_SAMPLING.md (uncertainty-and-multivariable-analysis).",
          "fineWhen": "A recruited-sample association is the question; a population coefficient needs separate support for the estimator and its variance."
        }
      ]
    },
    {
      "family": "multiplicity.confirmatory",
      "rows": [
        {
          "rowId": "R-MULT-01",
          "apiId": "r.mult.01",
          "ruleVersion": 2,
          "title": "Holm for a declared confirmatory family",
          "when": "derived.multiplicityKinds includes primary",
          "appliesWhen": {
            "all": [
              {
                "field": "derived.multiplicityKinds",
                "op": "contains",
                "value": "primary"
              }
            ]
          },
          "method": "Holm procedure for a declared confirmatory family, the default family-wise procedure for an \"any of\" claim without a declared hierarchy (its dependence assumption is recorded in the registry as not yet verified); Bonferroni on request, which is more conservative and carries an advisory note only; a fixed sequence or gatekeeping order when a hierarchy is declared before outcome display; adjusted intervals where available.",
          "methodId": null,
          "templateId": "sens.multiplicity",
          "registryEntries": [
            {
              "id": "sens.multiplicity",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-063",
            "E-172"
          ],
          "reasonPlain": "A confirmatory family of tests uses the Holm correction, which controls false positives and loses less power than Bonferroni.",
          "reasonExpert": "Holm for a declared confirmatory family; uniformly at least as powerful as Bonferroni with the same familywise error. Source: methods/CORE_ANALYSIS_WORKFLOW.md (5-missingness-multiplicity-and-selection).",
          "fineWhen": "Bonferroni or a prespecified hierarchy is fine when declared."
        }
      ]
    },
    {
      "family": "multiplicity.exploratory",
      "rows": [
        {
          "rowId": "R-MULT-02",
          "apiId": "r.mult.02",
          "ruleVersion": 2,
          "title": "Benjamini-Hochberg for exploratory screens",
          "when": "derived.multiplicityKinds includes exploratory",
          "appliesWhen": {
            "all": [
              {
                "field": "derived.multiplicityKinds",
                "op": "contains",
                "value": "exploratory"
              }
            ]
          },
          "method": "Benjamini-Hochberg at q = 0.05 for exploratory screens, valid under independence or positive regression dependence, with Benjamini-Yekutieli offered when the dependence is unknown; an unadjusted exploratory family is labelled \"exploratory: not error-controlled\" with its number of tests and the number nominally significant; secondary and sensitivity analyses unadjusted and labelled \"secondary, not adjusted; interpret as supportive\"; user-run variants count toward the exploratory family.",
          "methodId": null,
          "templateId": "sens.multiplicity",
          "registryEntries": [
            {
              "id": "sens.multiplicity",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-063"
          ],
          "reasonPlain": "Exploratory screens use a false-discovery-rate method and are labelled exploratory.",
          "reasonExpert": "Benjamini-Hochberg at q = 0.05 for exploratory screens; results are labelled as not error-controlled familywise. Source: methods/CORE_ANALYSIS_WORKFLOW.md (5-missingness-multiplicity-and-selection).",
          "fineWhen": "No adjustment is fine when each test answers its own question and error is stated per comparison."
        }
      ]
    },
    {
      "family": "prediction.penalized",
      "rows": [
        {
          "rowId": "R-PRD-01",
          "apiId": "r.prd.01",
          "ruleVersion": 2,
          "title": "Elastic-net prediction with an untouched test partition",
          "when": "objective.goal is prediction and modeling.outcomeFamily is one of continuous, binary and surveyDesign.weightVar is not answered and (derived.viewRepeatsPerson is false or derived.viewPersonIsCluster is true or derived.viewPersonIsRepeatedUnit is true) and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "prediction"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "in",
                "value": [
                  "continuous",
                  "binary"
                ]
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "any": [
                  {
                    "field": "derived.viewRepeatsPerson",
                    "op": "eq",
                    "value": false
                  },
                  {
                    "field": "derived.viewPersonIsCluster",
                    "op": "eq",
                    "value": true
                  },
                  {
                    "field": "derived.viewPersonIsRepeatedUnit",
                    "op": "eq",
                    "value": true
                  }
                ]
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Gaussian or binomial elastic-net prediction. Candidate models are fit on a training partition, alpha and lambda are selected on a tuning partition, and performance is reported once on an untouched test partition. Preprocessing is learned from training data only; repeated units stay in one partition and chronological validation trains only on earlier data.",
          "methodId": null,
          "templateId": "model.penalized_prediction",
          "registryEntries": [
            {
              "id": "model.penalized_prediction",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-070",
            "E-071"
          ],
          "reasonPlain": "A prediction model is fitted with shrinkage and judged on data it never saw.",
          "reasonExpert": "Elastic net with an untouched test partition (grouped or time-aware); the whole tuning process sits inside resampling. Source: disciplines/DIAGNOSTICS_PREDICTION_ANALYSIS.md (development-and-validation-workflow).",
          "fineWhen": "A simpler model is fine when events per parameter are ample."
        }
      ]
    },
    {
      "family": "prediction.validation",
      "rows": [
        {
          "rowId": "R-PVAL-01",
          "apiId": "r.pval.01",
          "ruleVersion": 2,
          "title": "Prediction model: optimism-corrected validation, calibration and decision curve",
          "when": "modeling.predictionValidation.kind is validation",
          "appliesWhen": {
            "all": [
              {
                "field": "modeling.predictionValidation.kind",
                "op": "eq",
                "value": "validation"
              }
            ]
          },
          "method": "Logistic prediction model for a binary outcome with predictors fixed in advance. Bootstrap optimism correction (rms::validate, rms::calibrate), apparent AUC with a DeLong interval (pROC) and apparent decision-curve net benefit (dcurves). The minimum sample size for developing the model comes from pmsampsize when an anticipated performance was declared, and is reported as not assessed otherwise.",
          "methodId": null,
          "templateId": "model.prediction_validation",
          "registryEntries": [
            {
              "id": "model.prediction_validation",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-070"
          ],
          "reasonPlain": "A prediction model is judged by its performance after correcting for optimism, with its calibration and net benefit.",
          "reasonExpert": "(R-INF-09, R-INF-36) Fixed logistic model fitted with rms::lrm; rms::validate and rms::calibrate give bootstrap optimism-corrected c-statistic, calibration slope, calibration intercept (estimated jointly with the slope, as rms::validate reports it; not calibration-in-the-large) and Brier score; pROC gives the apparent AUC with a DeLong interval; dcurves::dca gives apparent net benefit. The minimum development sample size comes from pmsampsize (Riley et al., 2019) when the researcher declared the anticipated performance before the analysis, and is reported as not assessed otherwise.",
          "fineWhen": "The declaration names its inputs and the data have one complete row per subject."
        }
      ]
    },
    {
      "family": "sensitivity.composite_components",
      "rows": [
        {
          "rowId": "R-SENS-COMPOSITE",
          "apiId": "r.sens.composite",
          "ruleVersion": 1,
          "title": "Composite endpoint reported with every component",
          "when": "validation.compositeEndpoints is answered",
          "appliesWhen": {
            "all": [
              {
                "field": "validation.compositeEndpoints",
                "op": "not_null"
              }
            ]
          },
          "method": "Refit the primary model for each declared component of the composite and report the composite and every component with the event count in each arm and the risk difference, each on the same model, family and rows.",
          "methodId": null,
          "templateId": "sensitivity.composite_components",
          "registryEntries": [
            {
              "id": "sens.composite_components",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-241"
          ],
          "reasonPlain": "You declared a composite endpoint. It is reported with each of its components, fitted by the same model, so the composite is never read without what it is made of.",
          "reasonExpert": "(R-MQ-07, E-241) A composite can hide parts that differ in size or direction (Huque et al. 2011). The primary model is refit for each component with stats::update and the risk difference is marginaleffects::avg_comparisons on each fit; no estimator is added. A component with an event count below the disclosure minimum is listed with its estimates withheld. Removing a component from the report is refused.",
          "fineWhen": "Skipping it is fine when no composite endpoint is declared."
        }
      ]
    },
    {
      "family": "sensitivity.covariance_alt",
      "rows": [
        {
          "rowId": "R-SENS-04",
          "apiId": "r.sens.04",
          "ruleVersion": 1,
          "title": "Covariance alternatives shown for comparison, never used to choose",
          "when": "dependence.clusterVar is answered",
          "appliesWhen": {
            "all": [
              {
                "field": "dependence.clusterVar",
                "op": "not_null"
              }
            ]
          },
          "method": "The primary estimate's SE under every covariance available for the fit (model-based, HC3, CR0, CR1S, CR2, and WCB when computed) in one comparison table; the covariance actually reported is flagged; the table is descriptive and is never used to pick the reported one after seeing the results.",
          "methodId": null,
          "templateId": "sens.covariance_alt",
          "registryEntries": [
            {
              "id": "sens.covariance_alt",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-212"
          ],
          "reasonPlain": "Other ways of computing standard errors are shown beside the main one, never used to pick the main one.",
          "reasonExpert": "The primary estimate's standard error under alternative covariance estimators, for comparison only. Source: methods/SENSITIVITY_ANALYSIS.md (choose-sensitivity-analyses-by-vulnerability).",
          "fineWhen": "Skipping the comparison is fine when only one valid covariance applies."
        }
      ]
    },
    {
      "family": "sensitivity.dag_stepwise",
      "rows": [
        {
          "rowId": "R-DAG-STEPWISE-01",
          "apiId": "r.dag.stepwise.01",
          "ruleVersion": 1,
          "title": "Justified data-driven adjustment-set sensitivity",
          "when": "modeling.causalSelectionSensitivity is answered",
          "appliesWhen": {
            "all": [
              {
                "field": "modeling.causalSelectionSensitivity",
                "op": "not_null"
              }
            ]
          },
          "method": "Fit a supplementary ordinary linear model after backward whole-term partial F selection on one complete frame; retain the exposure in every fit and never replace the primary.",
          "methodId": null,
          "templateId": "sensitivity.dag_stepwise",
          "registryEntries": [
            {
              "id": "sens.dag_stepwise",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-223",
            "E-234"
          ],
          "reasonPlain": "The researcher requested a p-value-based adjustment-set comparison. The diagram- or role-derived set remains primary; this result is a labelled supplementary sensitivity.",
          "reasonExpert": "Backward whole-term partial F tests use a prespecified 0.05 removal threshold. This procedure cannot identify confounders or account for model-search uncertainty. It is admitted only after a causal primary set and a researcher justification are recorded.",
          "fineWhen": "Skipping the comparison is fine when the researcher does not request a data-driven set."
        }
      ]
    },
    {
      "family": "sensitivity.evalue",
      "rows": [
        {
          "rowId": "R-SENS-01",
          "apiId": "r.sens.01",
          "ruleVersion": 1,
          "title": "E-value for unmeasured confounding",
          "when": "studyDesign.datasetType is one of routine, cross_sectional_survey, cohort, surveillance, administrative, case_control, other and modeling.effectMeasure is one of rr, pr, irr, or",
          "appliesWhen": {
            "all": [
              {
                "field": "studyDesign.datasetType",
                "op": "in",
                "value": [
                  "routine",
                  "cross_sectional_survey",
                  "cohort",
                  "surveillance",
                  "administrative",
                  "case_control",
                  "other"
                ]
              },
              {
                "field": "modeling.effectMeasure",
                "op": "in",
                "value": [
                  "rr",
                  "pr",
                  "irr",
                  "or"
                ]
              }
            ]
          },
          "method": "E-value for the point estimate and the confidence limit closest to the null, with the correct inversion for protective ratios and the conversion assumption stated for OR; mandatory unmeasured-confounding limitation sentence.",
          "methodId": null,
          "templateId": "sens.evalue",
          "registryEntries": [
            {
              "id": "sens.evalue",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-043"
          ],
          "reasonPlain": "The E-value shows how strong an unmeasured confounder would need to be to explain the result.",
          "reasonExpert": "E-value for the point estimate and interval bound (VanderWeele and Ding 2017). Source: methods/SENSITIVITY_ANALYSIS.md (unmeasured-confounding-choose-the-sensitivity-scale).",
          "fineWhen": "Skipping it is fine for a randomised comparison."
        }
      ]
    },
    {
      "family": "sensitivity.interaction",
      "rows": [
        {
          "rowId": "R-SENS-02",
          "apiId": "r.sens.02",
          "ruleVersion": 3,
          "title": "Effect modification on a declared scale",
          "when": "modeling.interaction.term is answered and modeling.interaction.scale is answered",
          "appliesWhen": {
            "all": [
              {
                "field": "modeling.interaction.term",
                "op": "not_null"
              },
              {
                "field": "modeling.interaction.scale",
                "op": "not_null"
              }
            ]
          },
          "method": "Effect modification on a declared scale: multiplicative (product term, joint Wald test, stratified estimates) or additive (RERI with interval); reported as exploratory unless declared confirmatory; never an automatic stratify-if-significant rule.",
          "methodId": null,
          "templateId": "sens.interaction",
          "registryEntries": [
            {
              "id": "sens.interaction",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-216"
          ],
          "reasonPlain": "Effect modification is examined on the scale you declared.",
          "reasonExpert": "Interaction contrast on the declared additive or multiplicative scale with uncertainty. Source: methods/POST_ESTIMATION_MARGINS_INTERACTIONS.md (interaction-tests-and-advanced-summaries).",
          "fineWhen": "Skipping it is fine when no modification is of interest."
        }
      ]
    },
    {
      "family": "sensitivity.leave_one_cluster_out",
      "rows": [
        {
          "rowId": "R-SENS-03",
          "apiId": "r.sens.03",
          "ruleVersion": 1,
          "title": "Leave-one-cluster-out refit range for a clustered model",
          "when": "dependence.clusterVar is answered",
          "appliesWhen": {
            "all": [
              {
                "field": "dependence.clusterVar",
                "op": "not_null"
              }
            ]
          },
          "method": "Refit the primary model dropping each cluster in turn; the range of each tracked coefficient and whether that range contains the full-sample estimate, reported alongside (never used to select) the primary covariance.",
          "methodId": null,
          "templateId": "sens.leave_one_cluster_out",
          "registryEntries": [
            {
              "id": "sens.leave_one_cluster_out",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-210"
          ],
          "reasonPlain": "The model is refit leaving out one cluster at a time to show whether one cluster drives the result.",
          "reasonExpert": "Leave-one-cluster-out refit range for a clustered model; influence on the primary coefficient reported. Source: methods/SENSITIVITY_ANALYSIS.md (choose-sensitivity-analyses-by-vulnerability).",
          "fineWhen": "Skipping it is fine when clusters are many and similar."
        }
      ]
    },
    {
      "family": "sensitivity.poisson_vs_nb",
      "rows": [
        {
          "rowId": "R-SENS-05",
          "apiId": "r.sens.05",
          "ruleVersion": 1,
          "title": "The other count family and quasi-Poisson shown alongside the primary",
          "when": "objective.goal is associate and modeling.outcomeFamily is count and surveyDesign.weightVar is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "associate"
              },
              {
                "field": "modeling.outcomeFamily",
                "op": "eq",
                "value": "count"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              }
            ]
          },
          "method": "Whichever count family is the primary (negative binomial or Poisson), refit the other one and quasi-Poisson on the same formula and show theta, dispersion and the maximum coefficient shift alongside the primary; each row is labelled by the family actually fitted, and the primary model never changes as a result of this table.",
          "methodId": null,
          "templateId": "sens.poisson_vs_nb",
          "registryEntries": [
            {
              "id": "sens.poisson_vs_nb",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-075"
          ],
          "reasonPlain": "The other count model and quasi-Poisson are shown beside the main one.",
          "reasonExpert": "Whichever count family is primary, the other and quasi-Poisson are reported as sensitivity; the primary never switches on the comparison. Source: methods/MODEL_ASSUMPTIONS.md (model-specific-assumptions).",
          "fineWhen": "Skipping it is fine when a count model is prespecified and dispersion is near 1."
        }
      ]
    },
    {
      "family": "sensitivity.single_fill",
      "rows": [
        {
          "rowId": "R-SENS-FILL-01",
          "apiId": "r.sens.fill.01",
          "ruleVersion": 1,
          "title": "A declared single fill, shown beside the primary analysis as a labelled sensitivity analysis",
          "when": "dataReadiness.singleFillSensitivity is answered",
          "appliesWhen": {
            "all": [
              {
                "field": "dataReadiness.singleFillSensitivity",
                "op": "not_null"
              }
            ]
          },
          "method": "Refit the primary linear or logistic regression on the data after the declared fill and show both sets of coefficients; the fill is labelled a sensitivity analysis with the number of values filled, and the primary model never changes because of the comparison.",
          "methodId": null,
          "templateId": "sensitivity.single_fill",
          "registryEntries": [
            {
              "id": "sens.single_fill",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-157",
            "E-158",
            "E-159"
          ],
          "reasonPlain": "The researcher declared a fill (mean, median, mode, last or baseline observation carried forward). The primary model is refitted on the filled data and shown beside the primary analysis, labelled a sensitivity analysis.",
          "reasonExpert": "A single fill is accepted only as a labelled sensitivity analysis (R-BIAS-11, R-BIAS-12, R-BIAS-13). The refit's standard errors treat filled values as observed and are too small; the primary analysis never switches to it. Source: methods/CORE_ANALYSIS_WORKFLOW.md (5-missingness-multiplicity-and-selection).",
          "fineWhen": "Skipping it is fine when no fill was declared. The fill is never the primary analysis."
        }
      ]
    },
    {
      "family": "sensitivity.spline_vs_linear",
      "rows": [
        {
          "rowId": "R-SENS-06",
          "apiId": "r.sens.06",
          "ruleVersion": 1,
          "title": "Spline-versus-linear comparison when the primary uses a spline",
          "when": "derived.covariatesContinuous is at least 1",
          "appliesWhen": {
            "all": [
              {
                "field": "derived.covariatesContinuous",
                "op": "ge",
                "value": 1
              }
            ]
          },
          "method": "Refit the primary model with the alternative functional form (linear when the primary used a spline, spline when it used linear) and compare the exposure estimate and interval; the knot placement's own added uncertainty and the limits of a nonsignificant curvature test are both stated. Placed only when a spline was actually recorded for a model term (R-FORM-01's own answer), the same condition materialize.py already gates on.",
          "methodId": null,
          "templateId": "sens.spline_vs_linear",
          "registryEntries": [
            {
              "id": "model.formula.spline",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-203"
          ],
          "reasonPlain": "When the main model uses a curve, Safi also refits with a straight line to show whether the shape matters.",
          "reasonExpert": "Spline-versus-linear comparison as a sensitivity analysis when the primary uses a spline. Source: methods/FUNCTIONAL_FORM.md (assess-functional-form-explicitly).",
          "fineWhen": "Skipping the comparison is fine when the curve is plainly close to linear."
        }
      ]
    },
    {
      "family": "sensitivity.subgroup_register",
      "rows": [
        {
          "rowId": "R-SENS-SUBREG",
          "apiId": "r.sens.subreg",
          "ruleVersion": 1,
          "title": "Subgroup register with pre-specified, direction-less and post hoc labels",
          "when": "modeling.subgroupRegister is answered",
          "appliesWhen": {
            "all": [
              {
                "field": "modeling.subgroupRegister",
                "op": "not_null"
              }
            ]
          },
          "method": "Label each registered modifier from its stated direction and the plan lock, count the registered and analysed subgroups, show the overall effect beside them, and tabulate the credibility items of the analysed modifier. No estimate is computed here; the interaction test is the interaction section's.",
          "methodId": null,
          "templateId": "sensitivity.subgroup_register",
          "registryEntries": [
            {
              "id": "sens.subgroup_register",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-236",
            "E-237",
            "E-064"
          ],
          "reasonPlain": "You registered effect modifiers. Each one is labelled pre-specified, registered without a stated direction, or post hoc, counted, and shown with the effect in everyone and a credibility table.",
          "reasonExpert": "(R-SUB-01, R-SUB-02, R-SUB-03, R-SUB-06) A subgroup is pre-specified only with a stated direction in a register locked before any display of the outcome, shown by the server's recorded plan-lock verdict (outcomeViewedBeforeLock). Without that verdict the label is lock evidence not available. The ICEMAN core items for randomised trials are tabulated; computed items are marked computed and the prior-evidence and overall-rating items user-rated, not tool-certified. Source: methods/POST_ESTIMATION_MARGINS_INTERACTIONS.md (interaction-tests-and-advanced-summaries).",
          "fineWhen": "Skipping it is fine when no effect modifier is registered."
        }
      ]
    },
    {
      "family": "spatial.analysis",
      "rows": [
        {
          "rowId": "R-SPAT-01",
          "apiId": "r.spat.01",
          "ruleVersion": 2,
          "title": "Declared area estimates or spatial regression",
          "when": "objective.goal is one of describe, associate, compare and modeling.spatialAnalysis.mode is answered and modeling.spatialAnalysis.mode is one of direct_area, point_regression, areal_regression and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "in",
                "value": [
                  "describe",
                  "associate",
                  "compare"
                ]
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "not_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "in",
                "value": [
                  "direct_area",
                  "point_regression",
                  "areal_regression"
                ]
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Declared area estimates or spatial regression",
          "methodId": null,
          "templateId": "model.spatial_analysis",
          "registryEntries": [
            {
              "id": "model.spatial_analysis",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-205"
          ],
          "reasonPlain": "The declared area analysis reports design-based uncertainty when sampling weights apply, checks residual spatial dependence for regression and shows the spatial alternative beside the independence model.",
          "reasonExpert": "The declared area analysis reports design-based uncertainty when sampling weights apply, checks residual spatial dependence for regression and shows the spatial alternative beside the independence model.",
          "fineWhen": "The declared analysis and observation design answer the research question."
        }
      ]
    },
    {
      "family": "synthesis.meta_analysis",
      "rows": [
        {
          "rowId": "R-INF-SYN-01",
          "apiId": "r.inf.syn.01",
          "ruleVersion": 1,
          "title": "Random-effects pooling with Hartung-Knapp interval, tau, I-squared and prediction interval",
          "when": "objective.goal is synthesize and studyDesign.metaAnalysisAggregate.format is one of binary_2x2, continuous_two_group, generic_effect, log_ratio_ci",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "synthesize"
              },
              {
                "field": "studyDesign.metaAnalysisAggregate.format",
                "op": "in",
                "value": [
                  "binary_2x2",
                  "continuous_two_group",
                  "generic_effect",
                  "log_ratio_ci"
                ]
              }
            ]
          },
          "method": "Random-effects (REML or Paule-Mandel, Hartung-Knapp) pooling of study-level effects via metafor, with tau and I-squared intervals and a prediction interval",
          "methodId": null,
          "templateId": "model.synthesis_random_effects",
          "registryEntries": [
            {
              "id": "model.synthesis_random_effects",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-084"
          ],
          "reasonPlain": "Safi pools the study-level effects with a random-effects model and reports how much the true effects differ between studies.",
          "reasonExpert": "(R-INF-22, R-INF-43, R-EFF-10) Random-effects model by REML or Paule-Mandel with the Hartung-Knapp interval via metafor::rma.uni (rma.mv for nested effects); the model follows the declared assumption, not a heterogeneity test; tau and I-squared with Q-profile intervals; prediction interval; DerSimonian-Laird and the common-effect model as labelled sensitivity.",
          "fineWhen": "Published study-level effects, or study-level two-by-two counts, from at least two studies."
        },
        {
          "rowId": "R-INF-SYN-02",
          "apiId": "r.inf.syn.02",
          "ruleVersion": 1,
          "title": "Bivariate random-effects model for diagnostic test accuracy",
          "when": "objective.goal is synthesize and studyDesign.metaAnalysisAggregate.format is dta_2x2",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "synthesize"
              },
              {
                "field": "studyDesign.metaAnalysisAggregate.format",
                "op": "eq",
                "value": "dta_2x2"
              }
            ]
          },
          "method": "Bivariate random-effects model of logit sensitivity and specificity via metafor::rma.mv",
          "methodId": null,
          "templateId": "model.synthesis_dta_bivariate",
          "registryEntries": [
            {
              "id": "model.synthesis_dta_bivariate",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-084",
            "E-196"
          ],
          "reasonPlain": "Safi pools sensitivity and specificity together, because pooling them separately ignores that they move together across studies.",
          "reasonExpert": "(R-INF-45, R-SUB-08; E-196) Bivariate random-effects model of logit sensitivity and logit specificity via metafor::rma.mv; separate univariate pooling and the Moses-Littenberg line are refused as the summary point.",
          "fineWhen": "Published study-level effects, or study-level two-by-two counts, from at least two studies."
        }
      ]
    },
    {
      "family": "trend.unit_fe",
      "rows": [
        {
          "rowId": "R-TRD-01",
          "apiId": "r.trd.01",
          "ruleVersion": 2,
          "title": "Unit fixed effects trend model",
          "when": "objective.goal is trend and dependence.repeatedUnitVar is answered and longitudinal.timeVar is answered and derived.nPeriods is at least 6 and surveyDesign.weightVar is not answered and (derived.viewRepeatsPerson is false or derived.viewPersonIsRepeatedUnit is true) and modeling.propensityAnalysis.approach is not answered and modeling.spatialAnalysis.mode is not answered and modeling.ecologicalAnalysis.model is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "eq",
                "value": "trend"
              },
              {
                "field": "dependence.repeatedUnitVar",
                "op": "not_null"
              },
              {
                "field": "longitudinal.timeVar",
                "op": "not_null"
              },
              {
                "field": "derived.nPeriods",
                "op": "ge",
                "value": 6
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "any": [
                  {
                    "field": "derived.viewRepeatsPerson",
                    "op": "eq",
                    "value": false
                  },
                  {
                    "field": "derived.viewPersonIsRepeatedUnit",
                    "op": "eq",
                    "value": true
                  }
                ]
              },
              {
                "field": "modeling.propensityAnalysis.approach",
                "op": "is_null"
              },
              {
                "field": "modeling.spatialAnalysis.mode",
                "op": "is_null"
              },
              {
                "field": "modeling.ecologicalAnalysis.model",
                "op": "is_null"
              }
            ]
          },
          "method": "Unit fixed effects with time as the exposure of interest. A count outcome is fitted as Poisson with unit fixed effects (the fixest::fepois estimator, offset for counts) regardless of overdispersion: it needs only a correct conditional mean, so overdispersion is carried by the cluster-robust covariance and never switches the family to negative binomial (owner decision, option A; Wooldridge 1999; Allison and Waterman 2002). A continuous outcome is fitted as linear unit fixed effects (fixest::feols). Any other outcome family is refused. Errors are CR2 clustered on the unit with Satterthwaite df; for the Poisson fit CR2 is computed on the absorbed unit fixed-effects form under the working weights (owner decision, 2026-10-04; Pustejovsky and Tipton 2018). The number of periods is computed from the data, and the periodicity is the recorded answer, checked against the dates. A monthly series of at least 24 points gets calendar-month indicators (11 terms, reference month stated; owner decision, 2026-10-04; Bernal, Cummins and Gasparrini 2017), read from a date time column or from a numeric one with the recorded calendar month of its first period; otherwise the report states seasonality is not adjusted. Lag-1 residual autocorrelation and PACF reported; labelled exploratory under 12 points; slope reported as the range compatible with the data.",
          "methodId": null,
          "templateId": "model.trend_unit_fe",
          "registryEntries": [
            {
              "id": "model.trend_unit_fe",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-011"
          ],
          "reasonPlain": "A trend over units uses unit fixed effects with time, so differences between units do not drive the slope.",
          "reasonExpert": "Unit fixed effects with a time trend; cluster-robust CR2 computed on the absorbed form. Source: methods/TREND_JOINPOINT_ANALYSIS.md (choose-among-trend-methods).",
          "fineWhen": "A mixed model is fine when between-unit variation is of interest."
        }
      ]
    },
    {
      "family": "trial.design",
      "rows": [
        {
          "rowId": "R-TRIAL-CLUSTER-01",
          "apiId": "r.trial.cluster.01",
          "ruleVersion": 1,
          "title": "Cluster-randomised trial: random-intercept model with a recorded estimand",
          "when": "objective.goal is one of compare, associate and modeling.trialDesign.design is cluster and surveyDesign.weightVar is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "in",
                "value": [
                  "compare",
                  "associate"
                ]
              },
              {
                "field": "modeling.trialDesign.design",
                "op": "eq",
                "value": "cluster"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              }
            ]
          },
          "method": "Fits a linear mixed model (Gaussian) or mixed logistic model with a random intercept for the cluster, tests the arm with Kenward-Roger degrees of freedom, and adds a comparison of cluster means.",
          "methodId": null,
          "templateId": "model.trial_design",
          "registryEntries": [
            {
              "id": "model.trial_design",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-006"
          ],
          "reasonPlain": "Fits a linear mixed model (Gaussian) or mixed logistic model with a random intercept for the cluster, tests the arm with Kenward-Roger degrees of freedom, and adds a comparison of cluster means.",
          "reasonExpert": "Fits a linear mixed model (Gaussian) or mixed logistic model with a random intercept for the cluster, tests the arm with Kenward-Roger degrees of freedom, and adds a comparison of cluster means. Strategies other than treatment policy, composite and while on treatment are refused.",
          "fineWhen": "Randomisation followed the declared design and the estimand is recorded."
        },
        {
          "rowId": "R-TRIAL-CROSSOVER-01",
          "apiId": "r.trial.crossover.01",
          "ruleVersion": 1,
          "title": "Crossover trial: within-participant model with period effects and a recorded estimand",
          "when": "objective.goal is one of compare, associate and modeling.trialDesign.design is crossover and surveyDesign.weightVar is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "in",
                "value": [
                  "compare",
                  "associate"
                ]
              },
              {
                "field": "modeling.trialDesign.design",
                "op": "eq",
                "value": "crossover"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              }
            ]
          },
          "method": "Fits a mixed model with a treatment effect, a period effect and a random intercept for the participant; carryover is not modelled.",
          "methodId": null,
          "templateId": "model.trial_design",
          "registryEntries": [
            {
              "id": "model.trial_design",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-178"
          ],
          "reasonPlain": "Fits a mixed model with a treatment effect, a period effect and a random intercept for the participant; carryover is not modelled.",
          "reasonExpert": "Fits a mixed model with a treatment effect, a period effect and a random intercept for the participant; carryover is not modelled. Strategies other than treatment policy, composite and while on treatment are refused.",
          "fineWhen": "Randomisation followed the declared design and the estimand is recorded."
        },
        {
          "rowId": "R-TRIAL-SW-01",
          "apiId": "r.trial.sw.01",
          "ruleVersion": 1,
          "title": "Stepped-wedge trial: period- and cluster-aware model with a recorded estimand",
          "when": "objective.goal is one of compare, associate and modeling.trialDesign.design is stepped_wedge and surveyDesign.weightVar is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "in",
                "value": [
                  "compare",
                  "associate"
                ]
              },
              {
                "field": "modeling.trialDesign.design",
                "op": "eq",
                "value": "stepped_wedge"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              }
            ]
          },
          "method": "Fits a mixed model with a treatment effect, a separate effect for each period and a random intercept for the cluster.",
          "methodId": null,
          "templateId": "model.trial_design",
          "registryEntries": [
            {
              "id": "model.trial_design",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-176",
            "E-371",
            "E-372"
          ],
          "reasonPlain": "Fits a mixed model with a treatment effect, a separate effect for each period and a random intercept for the cluster.",
          "reasonExpert": "Fits a mixed model with a treatment effect, a separate effect for each period and a random intercept for the cluster. Strategies other than treatment policy, composite and while on treatment are refused.",
          "fineWhen": "Randomisation followed the declared design and the estimand is recorded."
        },
        {
          "rowId": "R-TRIAL-FACTORIAL-01",
          "apiId": "r.trial.factorial.01",
          "ruleVersion": 1,
          "title": "Factorial trial: main effects, simple effects and interaction with a recorded estimand",
          "when": "objective.goal is one of compare, associate and modeling.trialDesign.design is factorial and surveyDesign.weightVar is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "in",
                "value": [
                  "compare",
                  "associate"
                ]
              },
              {
                "field": "modeling.trialDesign.design",
                "op": "eq",
                "value": "factorial"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              }
            ]
          },
          "method": "Fits both factors and their interaction and reads each comparison with marginaleffects (HC3).",
          "methodId": null,
          "templateId": "model.trial_design",
          "registryEntries": [
            {
              "id": "model.trial_design",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-179"
          ],
          "reasonPlain": "Fits both factors and their interaction and reads each comparison with marginaleffects (HC3).",
          "reasonExpert": "Fits both factors and their interaction and reads each comparison with marginaleffects (HC3). Strategies other than treatment policy, composite and while on treatment are refused.",
          "fineWhen": "Randomisation followed the declared design and the estimand is recorded."
        }
      ]
    },
    {
      "family": "trial.randomised",
      "rows": [
        {
          "rowId": "R-TRIAL-ADJ-01",
          "apiId": "r.trial.adj.01",
          "ruleVersion": 1,
          "title": "Randomised trial: adjusted marginal effect with a recorded estimand",
          "when": "objective.goal is one of compare, associate and modeling.trialAnalysis.route is adjusted and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "in",
                "value": [
                  "compare",
                  "associate"
                ]
              },
              {
                "field": "modeling.trialAnalysis.route",
                "op": "eq",
                "value": "adjusted"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              }
            ]
          },
          "method": "Linear or logistic regression with main effects (stats), marginal comparison with marginaleffects::avg_comparisons and HC3 variance. Strategies other than treatment policy, composite and while on treatment are refused.",
          "methodId": null,
          "templateId": "model.randomised_trial",
          "registryEntries": [
            {
              "id": "model.randomised_trial",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-177"
          ],
          "reasonPlain": "Compares the randomised arms with stratification factors and prespecified covariates in the model, reports the unadjusted result beside it, and records the estimand with a strategy for each intercurrent event.",
          "reasonExpert": "Linear or logistic regression with main effects (stats), marginal comparison with marginaleffects::avg_comparisons and HC3 variance. Strategies other than treatment policy, composite and while on treatment are refused.",
          "fineWhen": "Participants were individually randomised, each row is one independent person, and the estimand is recorded."
        },
        {
          "rowId": "R-TRIAL-CACE-01",
          "apiId": "r.trial.cace.01",
          "ruleVersion": 1,
          "title": "Randomised trial: complier average causal effect with a recorded estimand",
          "when": "objective.goal is one of compare, associate and modeling.trialAnalysis.route is cace and surveyDesign.weightVar is not answered and dependence.clusterVar is not answered",
          "appliesWhen": {
            "all": [
              {
                "field": "objective.goal",
                "op": "in",
                "value": [
                  "compare",
                  "associate"
                ]
              },
              {
                "field": "modeling.trialAnalysis.route",
                "op": "eq",
                "value": "cace"
              },
              {
                "field": "surveyDesign.weightVar",
                "op": "is_null"
              },
              {
                "field": "dependence.clusterVar",
                "op": "is_null"
              }
            ]
          },
          "method": "Two-stage least squares (ivreg::ivreg) with HC3 variance and the weak-instrument test; the all-randomised comparison uses marginaleffects.",
          "methodId": null,
          "templateId": "model.randomised_trial",
          "registryEntries": [
            {
              "id": "model.randomised_trial",
              "status": "implemented"
            }
          ],
          "alternatives": [],
          "eCodes": [
            "E-235"
          ],
          "reasonPlain": "Estimates the effect among participants who would take the treatment if assigned to it, using random assignment as the instrument, and shows the all-randomised effect beside it.",
          "reasonExpert": "Two-stage least squares (ivreg::ivreg) with HC3 variance and the weak-instrument test; the all-randomised comparison uses marginaleffects.",
          "fineWhen": "Participants were individually randomised, each row is one independent person, and the estimand is recorded."
        }
      ]
    }
  ],
  "eCodes": [
    {
      "code": "E-001",
      "kind": "check",
      "definition": "Checked by the rule: A fact the declared design requires is unanswered (RF-DESIGN-01).",
      "ruleIds": [
        "RF-DESIGN-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-002",
      "kind": "check",
      "definition": "Checked by the rule: A prevalence or risk measure needs its estimand questions answered (RF-EM-ESTIMAND-UNANSWERED).",
      "ruleIds": [
        "RF-EM-ESTIMAND-UNANSWERED"
      ],
      "conflictIds": []
    },
    {
      "code": "E-004",
      "kind": "check",
      "definition": "Checked by the rule: Results describe this file only (G-SAMP-UNKNOWN).",
      "ruleIds": [
        "G-SAMP-UNKNOWN"
      ],
      "conflictIds": [
        "CONF-14"
      ]
    },
    {
      "code": "E-005",
      "kind": "check",
      "definition": "Checked by the rule: Matched sets need conditional logistic regression (Stage 2) (P-MATCH-01).",
      "ruleIds": [
        "P-MATCH-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-006",
      "kind": "check",
      "definition": "Checked by the rules: Group tests requested on clustered, repeated or survey data (RF-CLUSTER-TEST); Comparison on dependent data with no model route yet (RF-CMP-DEP-ROUTE); Linear mixed model (random intercept, optional random slope) (R-ASC-09); Random-intercept logistic mixed model (R-ASC-33); Random-intercept Poisson mixed model (R-ASC-34); Generalized estimating equations with an exchangeable or AR(1) working correlation (R-ASC-GEE-01); Model-based covariance (R-COV-00); CR2 with Satterthwaite df (G at least 50) (R-COV-01); Independent unit unknown or unconfirmed (RF-01); A prevalence or risk ratio with a declared cluster has no clustered route yet (RF-CLUSTER-RR); A standardized prevalence or risk ratio with a declared cluster has no clustered route yet (RF-CLUSTER-STD); Poisson regression with a declared cluster has no clustered route yet (RF-CLUSTER-POISSON); An ordinal outcome with a declared cluster has no clustered route yet (RF-CLUSTER-ORDINAL); Ordinary effect models require independent rows (RF-EFF-DESIGN); Firth logistic regression with a declared cluster has no clustered route yet (RF-CLUSTER-FIRTH); Cox regression with a declared cluster has no clustered route yet (RF-CLUSTER-COX); Unsupported survival design combination (RF-IC-DESIGN); Unsupported survival design combination (RF-SURV-DESIGN); Declared cluster with independence asserted (G-DEP-01); Crossed structures need an engine Stage 1 does not have (RF-NEST-02); Cluster randomization requires the randomized cluster (RF-CRT-01); Cluster-randomised trial: random-intercept model with a recorded estimand (R-TRIAL-CLUSTER-01).",
      "ruleIds": [
        "RF-CLUSTER-TEST",
        "RF-CMP-DEP-ROUTE",
        "R-ASC-09",
        "R-ASC-33",
        "R-ASC-34",
        "R-ASC-GEE-01",
        "R-COV-00",
        "R-COV-01",
        "RF-01",
        "RF-CLUSTER-RR",
        "RF-CLUSTER-STD",
        "RF-CLUSTER-POISSON",
        "RF-CLUSTER-ORDINAL",
        "RF-EFF-DESIGN",
        "RF-CLUSTER-FIRTH",
        "RF-CLUSTER-COX",
        "RF-IC-DESIGN",
        "RF-SURV-DESIGN",
        "G-DEP-01",
        "RF-NEST-02",
        "RF-CRT-01",
        "R-TRIAL-CLUSTER-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-007",
      "kind": "check",
      "definition": "Checked by the rule: Unreplicated comparison, one unit of assignment per treatment (G-REPL-01).",
      "ruleIds": [
        "G-REPL-01"
      ],
      "conflictIds": [
        "CONF-03"
      ]
    },
    {
      "code": "E-008",
      "kind": "check",
      "definition": "Checked by the rules: Group tests requested on clustered, repeated or survey data (RF-CLUSTER-TEST); Comparison on dependent data with no model route yet (RF-CMP-DEP-ROUTE); Linear mixed model (random intercept, optional random slope) (R-ASC-09); Random-intercept logistic mixed model (R-ASC-33); Random-intercept Poisson mixed model (R-ASC-34); Generalized estimating equations with an exchangeable or AR(1) working correlation (R-ASC-GEE-01); Repeated rows of one person are not separate people (RF-VIEW-02); A repeated unit alone is not modelled by an association (RF-DEP-UNIT); Trend without a unit identifier (RF-14); Declared cluster with independence asserted (G-DEP-01); Several rows per person are not several people (RF-VIEW-01).",
      "ruleIds": [
        "RF-CLUSTER-TEST",
        "RF-CMP-DEP-ROUTE",
        "R-ASC-09",
        "R-ASC-33",
        "R-ASC-34",
        "R-ASC-GEE-01",
        "RF-VIEW-02",
        "RF-DEP-UNIT",
        "RF-14",
        "G-DEP-01",
        "RF-VIEW-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-009",
      "kind": "check",
      "definition": "Checked by the rules: Declared design-based survey estimate (R-DESC-02); Survey linear regression (R-ASC-SURVEY-01); Survey Gamma regression with a log link (R-ASC-SURVEY-02); Survey standardized binary probability contrasts (R-ASC-SURVEY-RISK-01); Survey design requires design-based estimation (RF-02); A survey-population standardization target needs the survey route (RF-STD-TARGET).",
      "ruleIds": [
        "R-DESC-02",
        "R-ASC-SURVEY-01",
        "R-ASC-SURVEY-02",
        "R-ASC-SURVEY-RISK-01",
        "RF-02",
        "RF-STD-TARGET"
      ],
      "conflictIds": [
        "CONF-08"
      ]
    },
    {
      "code": "E-011",
      "kind": "check",
      "definition": "Checked by the rules: Unit fixed effects trend model (R-TRD-01); Two time points are a before-after comparison (RF-08); Fewer than 6 time points for a descriptive trend (RF-20); Seasonality not adjusted under 24 monthly points (G-TRD-02); Intervention pathways arrive in Stage 2 (P-GOAL-01); A temporal trend requires a time variable (RF-TRD-NOTIME); Residual spatial comparison beside the selected primary model (R-SPAT-03).",
      "ruleIds": [
        "R-TRD-01",
        "RF-08",
        "RF-20",
        "G-TRD-02",
        "P-GOAL-01",
        "RF-TRD-NOTIME",
        "R-SPAT-03"
      ],
      "conflictIds": []
    },
    {
      "code": "E-012",
      "kind": "conflict",
      "definition": "Named by the resolution of the conflict “GEE vs mixed models”.",
      "ruleIds": [],
      "conflictIds": [
        "CONF-12"
      ]
    },
    {
      "code": "E-013",
      "kind": "practice",
      "definition": "Cluster-robust standard errors that rely on large-sample theory are used with few clusters and no small-sample correction.",
      "ruleIds": [
        "R-COV-01",
        "R-COV-02",
        "R-COV-03",
        "RF-03",
        "RF-04",
        "G-COV-FEW",
        "G-COV-MID"
      ],
      "conflictIds": []
    },
    {
      "code": "E-014",
      "kind": "check",
      "definition": "Checked by the rule: The data contradict the declared nesting (RF-NEST-01).",
      "ruleIds": [
        "RF-NEST-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-033",
      "kind": "check",
      "definition": "Checked by the rule: Scale reliability: alpha with negative item-rest check and reverse-keying question (R-CMP-AGR-04).",
      "ruleIds": [
        "R-CMP-AGR-04"
      ],
      "conflictIds": []
    },
    {
      "code": "E-035",
      "kind": "check",
      "definition": "Checked by the rules: Independent unit unknown or unconfirmed (RF-01); Repeated rows of one person are not separate people (RF-VIEW-02); Several rows per person are not several people (RF-VIEW-01).",
      "ruleIds": [
        "RF-01",
        "RF-VIEW-02",
        "RF-VIEW-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-043",
      "kind": "check",
      "definition": "Checked by the rules: E-value for unmeasured confounding (R-SENS-01); Adjustment sets and a validity check from the reviewed causal diagram (R-DAG-ADJ-01); Measure the planned join before two sources are combined (R-COMB-JOIN-01); Link two files without a clean key by probabilistic record linkage (R-COMB-LINK-01); A declared combination of sources has not been confirmed with its gained and lost rows (G-COMB-CONFIRM-01).",
      "ruleIds": [
        "R-SENS-01",
        "R-DAG-ADJ-01",
        "R-COMB-JOIN-01",
        "R-COMB-LINK-01",
        "G-COMB-CONFIRM-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-044",
      "kind": "check",
      "definition": "Checked by the rule: Researcher-stated causal-role assessment (R-ROLE-UNCERTAIN-01).",
      "ruleIds": [
        "R-ROLE-UNCERTAIN-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-046",
      "kind": "check",
      "definition": "Checked by the rule: Time-varying counting-process Cox (R-ASC-COUNT-01).",
      "ruleIds": [
        "R-ASC-COUNT-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-047",
      "kind": "check",
      "definition": "Checked by the rule: Paired description after baseline selection (R-DESC-PREPOST-01).",
      "ruleIds": [
        "R-DESC-PREPOST-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-049",
      "kind": "check",
      "definition": "Checked by the rule: Intervention pathways arrive in Stage 2 (P-GOAL-01).",
      "ruleIds": [
        "P-GOAL-01"
      ],
      "conflictIds": [
        "CONF-07"
      ]
    },
    {
      "code": "E-052",
      "kind": "practice",
      "definition": "Missing data are handled by complete-case analysis without a stated assumption or a sensitivity analysis.",
      "ruleIds": [
        "R-ASC-MI-01",
        "R-ASC-MI-02",
        "R-ASC-GAM-01",
        "R-MISS-01",
        "G-MISS-01"
      ],
      "conflictIds": [
        "CONF-17"
      ]
    },
    {
      "code": "E-053",
      "kind": "check",
      "definition": "Checked by the rule: Survival analysis is not available for this combination (P-TTE-01).",
      "ruleIds": [
        "P-TTE-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-054",
      "kind": "check",
      "definition": "Checked by the rules: Cox proportional hazards (R-ASC-10); Interval-censored proportional hazards (R-ASC-IC-01); Right-censored survival with absolute contrasts and RMST (R-ASC-SURV-01); Kaplan-Meier, restricted mean and log-rank description (R-DESC-SURV-KM-01); Cumulative incidence with competing events (R-DESC-SURV-CIF-01).",
      "ruleIds": [
        "R-ASC-10",
        "R-ASC-IC-01",
        "R-ASC-SURV-01",
        "R-DESC-SURV-KM-01",
        "R-DESC-SURV-CIF-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-055",
      "kind": "check",
      "definition": "Checked by the rule: Results describe this file only (G-SAMP-UNKNOWN).",
      "ruleIds": [
        "G-SAMP-UNKNOWN"
      ],
      "conflictIds": []
    },
    {
      "code": "E-057",
      "kind": "check",
      "definition": "Checked by the rules: Method agreement: bias, limits of agreement and proportional bias (R-CMP-AGR-03); Method comparison: Passing-Bablok regression with slope and intercept intervals (R-CMP-AGR-05); Method comparison: Deming regression with a stated or replicate-estimated error ratio (R-CMP-AGR-06).",
      "ruleIds": [
        "R-CMP-AGR-03",
        "R-CMP-AGR-05",
        "R-CMP-AGR-06"
      ],
      "conflictIds": []
    },
    {
      "code": "E-058",
      "kind": "check",
      "definition": "Checked by the rule: Reliability as an ICC with model, type and unit stated, plus SEM (R-CMP-AGR-02).",
      "ruleIds": [
        "R-CMP-AGR-02"
      ],
      "conflictIds": [
        "CONF-05",
        "CONF-23"
      ]
    },
    {
      "code": "E-059",
      "kind": "check",
      "definition": "Checked by the rules: Scale score compared across groups without a measurement-invariance check (G-INVARIANCE-01); Measurement invariance: configural, metric and scalar models across groups (R-CMP-AGR-09).",
      "ruleIds": [
        "G-INVARIANCE-01",
        "R-CMP-AGR-09"
      ],
      "conflictIds": []
    },
    {
      "code": "E-061",
      "kind": "check",
      "definition": "Checked by the rule: Equivalence or non-inferiority against a pre-specified margin (R-INF-EQV-01).",
      "ruleIds": [
        "R-INF-EQV-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-063",
      "kind": "practice",
      "definition": "Several confirmatory claims are tested without a stated multiplicity strategy, or an exploratory family is reported unadjusted without being labelled exploratory. The entry is evaluated on a confirmatory family of more than one test whose procedure is none, not only on the over-ten-test row that carries it.",
      "ruleIds": [
        "R-CMP-PLANNED-01",
        "R-CMP-GH-01",
        "R-MULT-01",
        "R-MULT-02",
        "G-MULT-01"
      ],
      "conflictIds": [
        "CONF-02",
        "CONF-53"
      ]
    },
    {
      "code": "E-064",
      "kind": "check",
      "definition": "Checked by the rule: Subgroup register with pre-specified, direction-less and post hoc labels (R-SENS-SUBREG).",
      "ruleIds": [
        "R-SENS-SUBREG"
      ],
      "conflictIds": []
    },
    {
      "code": "E-065",
      "kind": "check",
      "definition": "Checked by the rule: Randomized baseline table carries no significance tests (G-BASE-01).",
      "ruleIds": [
        "G-BASE-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-066",
      "kind": "conflict",
      "definition": "Named by the resolution of the conflict “Gain score vs ANCOVA in non-randomised pre–post comparisons (TC-007)”.",
      "ruleIds": [],
      "conflictIds": [
        "CONF-28"
      ]
    },
    {
      "code": "E-067",
      "kind": "practice",
      "definition": "A continuous variable is dichotomised or categorised at a quantile, a searched cut-point or another data-derived boundary.",
      "ruleIds": [
        "RF-12"
      ],
      "conflictIds": []
    },
    {
      "code": "E-068",
      "kind": "check",
      "definition": "Checked by the rules: Post hoc observed power (RF-15); Power and required sample size for a pre-specified effect, with the planned n recorded (R-PWR-01).",
      "ruleIds": [
        "RF-15",
        "R-PWR-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-069",
      "kind": "check",
      "definition": "Checked by the rules: Parameters at least the number of events (RF-06); Trend labelled exploratory under 12 points (G-TRD-01).",
      "ruleIds": [
        "RF-06",
        "G-TRD-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-070",
      "kind": "check",
      "definition": "Checked by the rules: Elastic-net prediction with an untouched test partition (R-PRD-01); Prediction model: optimism-corrected validation, calibration and decision curve (R-PVAL-01).",
      "ruleIds": [
        "R-PRD-01",
        "R-PVAL-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-071",
      "kind": "check",
      "definition": "Checked by the rule: Elastic-net prediction with an untouched test partition (R-PRD-01).",
      "ruleIds": [
        "R-PRD-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-074",
      "kind": "check",
      "definition": "Checked by the rules: The effect measure does not match what the outcome records (RF-EM-ENDPOINT); A conditional prevalence or risk difference is not estimated (RF-EM-SCALE-TARGET); Count outcome without an exposure offset (G-CNT-01); The effect measure does not match this binary-outcome route (RF-EM-FAMILY).",
      "ruleIds": [
        "RF-EM-ENDPOINT",
        "RF-EM-SCALE-TARGET",
        "G-CNT-01",
        "RF-EM-FAMILY"
      ],
      "conflictIds": []
    },
    {
      "code": "E-075",
      "kind": "practice",
      "definition": "Counts are analysed by Poisson regression without handling overdispersion, or without an exposure offset when exposure differs between units.",
      "ruleIds": [
        "R-ASC-04",
        "R-ASC-05",
        "R-ASC-11",
        "R-SENS-05",
        "RF-18",
        "G-CNT-01"
      ],
      "conflictIds": [
        "CONF-33"
      ]
    },
    {
      "code": "E-076",
      "kind": "check",
      "definition": "Checked by the rules: Mixed-model spline checks are not implemented (RF-FORM-MIXED); No prespecified sensitivity plan (G-SENS-01); Smallest comparison group under 30 (G-CMP-01).",
      "ruleIds": [
        "RF-FORM-MIXED",
        "G-SENS-01",
        "G-CMP-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-077",
      "kind": "practice",
      "definition": "Variables are chosen by stepwise, p-value, information-criterion or all-subsets selection with a liberal threshold (AIC or p about 0.157), or by univariable screening, without regard to the purpose of the model. Choosing confounders for a causal estimate this way is a separate error (E-161, E-234).",
      "ruleIds": [
        "RF-09"
      ],
      "conflictIds": [
        "CONF-18",
        "CONF-19"
      ]
    },
    {
      "code": "E-078",
      "kind": "conflict",
      "definition": "Named by the resolution of the conflict “Mean separation / LSD letters (agriculture)”.",
      "ruleIds": [],
      "conflictIds": [
        "CONF-04"
      ]
    },
    {
      "code": "E-080",
      "kind": "check",
      "definition": "Checked by the rule: Composite (PLS) path model, only with a declared composite or prediction rationale (R-CMP-AGR-10).",
      "ruleIds": [
        "R-CMP-AGR-10"
      ],
      "conflictIds": [
        "CONF-06"
      ]
    },
    {
      "code": "E-081",
      "kind": "conflict",
      "definition": "Named by the resolution of the conflict “5σ discovery threshold”.",
      "ruleIds": [],
      "conflictIds": [
        "CONF-09"
      ]
    },
    {
      "code": "E-082",
      "kind": "conflict",
      "definition": "Named by the resolution of the conflict “Taguchi S/N analysis”.",
      "ruleIds": [],
      "conflictIds": [
        "CONF-10"
      ]
    },
    {
      "code": "E-084",
      "kind": "check",
      "definition": "Checked by the rules: Random-effects pooling with Hartung-Knapp interval, tau, I-squared and prediction interval (R-INF-SYN-01); Bivariate random-effects model for diagnostic test accuracy (R-INF-SYN-02).",
      "ruleIds": [
        "R-INF-SYN-01",
        "R-INF-SYN-02"
      ],
      "conflictIds": []
    },
    {
      "code": "E-086",
      "kind": "check",
      "definition": "Checked by the rule: Equivalence or non-inferiority against a pre-specified margin (R-INF-EQV-01).",
      "ruleIds": [
        "R-INF-EQV-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-087",
      "kind": "conflict",
      "definition": "Named by the resolution of the conflict “Bar graphs with SE”.",
      "ruleIds": [],
      "conflictIds": [
        "CONF-11"
      ]
    },
    {
      "code": "E-090",
      "kind": "check",
      "definition": "Checked by the rules: 2x2 table, mid-p or unconditional exact, never Yates (R-CMP-03); r x c table, Pearson or exact conditional mid-p (R-CMP-04); No events or no non-events (RF-05); Parameters at least the number of events (RF-06); Sparse events or cells; penalization and precision warning (G-SPARSE-01); Sparse events or cells; Firth-type fit in each imputed dataset (G-SPARSE-MI-01); 2x2 expected counts do not permit the N-1 chi-square (G-TBL-01); r x c expected counts do not permit Pearson (G-TBL-02).",
      "ruleIds": [
        "R-CMP-03",
        "R-CMP-04",
        "RF-05",
        "RF-06",
        "G-SPARSE-01",
        "G-SPARSE-MI-01",
        "G-TBL-01",
        "G-TBL-02"
      ],
      "conflictIds": []
    },
    {
      "code": "E-091",
      "kind": "check",
      "definition": "Checked by the rules: Firth-type penalization on separation or sparse data (R-ASC-07); Separation prevents maximum-likelihood logistic inference (RF-SEP-01); Separation detected after a first fit (G-SPARSE-02).",
      "ruleIds": [
        "R-ASC-07",
        "RF-SEP-01",
        "G-SPARSE-02"
      ],
      "conflictIds": []
    },
    {
      "code": "E-092",
      "kind": "check",
      "definition": "Checked by the rule: Negative binomial theta failed and the Poisson fallback is overdispersed (RF-NB-THETA-01).",
      "ruleIds": [
        "RF-NB-THETA-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-105",
      "kind": "check",
      "definition": "Checked by the rule: Stale sections before a run (RF-17).",
      "ruleIds": [
        "RF-17"
      ],
      "conflictIds": []
    },
    {
      "code": "E-108",
      "kind": "conflict",
      "definition": "Named by the resolution of the conflict “Causal language bans in observational research”.",
      "ruleIds": [],
      "conflictIds": [
        "CONF-13"
      ]
    },
    {
      "code": "E-110",
      "kind": "check",
      "definition": "Checked by the rule: An imputation plan needs a multiple-imputation method (RF-CAP-MI).",
      "ruleIds": [
        "RF-CAP-MI"
      ],
      "conflictIds": []
    },
    {
      "code": "E-111",
      "kind": "check",
      "definition": "Checked by the rule: Descriptive tables without significance tests (R-DESC-01).",
      "ruleIds": [
        "R-DESC-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-120",
      "kind": "check",
      "definition": "Checked by the rule: Identifiable-person data needs the suppression threshold of 10 (G-SUP-01).",
      "ruleIds": [
        "G-SUP-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-130",
      "kind": "check",
      "definition": "Checked by the rule: Categorical predictor without an explicit reference level (G-REF-01).",
      "ruleIds": [
        "G-REF-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-142",
      "kind": "check",
      "definition": "Checked by the rules: Propensity score matching with balance and overlap (R-CAU-PS-01); Propensity score weighting with balance and overlap (R-CAU-PS-02); Propensity score overlap weighting with balance (R-CAU-PS-03).",
      "ruleIds": [
        "R-CAU-PS-01",
        "R-CAU-PS-02",
        "R-CAU-PS-03"
      ],
      "conflictIds": []
    },
    {
      "code": "E-144",
      "kind": "check",
      "definition": "Checked by the rule: Non-probability sample adjusted to declared population margins (R-SEL-ADJ-01).",
      "ruleIds": [
        "R-SEL-ADJ-01"
      ],
      "conflictIds": [
        "CONF-14"
      ]
    },
    {
      "code": "E-148",
      "kind": "check",
      "definition": "Checked by the rule: Non-probability sample adjusted to declared population margins (R-SEL-ADJ-01).",
      "ruleIds": [
        "R-SEL-ADJ-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-149",
      "kind": "check",
      "definition": "Checked by the rules: Respondent-driven sample: RDS-II and successive-sampling estimates with recruitment-aware intervals (R-RDS-EST-01); No simple-random-sampling standard errors for a respondent-driven sample (RF-RDS-SRS).",
      "ruleIds": [
        "R-RDS-EST-01",
        "RF-RDS-SRS"
      ],
      "conflictIds": [
        "CONF-15"
      ]
    },
    {
      "code": "E-150",
      "kind": "check",
      "definition": "Checked by the rules: Respondent-driven sample: RDS-II and successive-sampling estimates with recruitment-aware intervals (R-RDS-EST-01); Successive sampling needs a population size you declare (RF-RDS-SS-NO-N).",
      "ruleIds": [
        "R-RDS-EST-01",
        "RF-RDS-SS-NO-N"
      ],
      "conflictIds": []
    },
    {
      "code": "E-151",
      "kind": "check",
      "definition": "Checked by the rule: Respondent-driven sample: RDS-II and successive-sampling estimates with recruitment-aware intervals (R-RDS-EST-01).",
      "ruleIds": [
        "R-RDS-EST-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-152",
      "kind": "check",
      "definition": "Checked by the rule: Respondent-driven sample regression: unweighted and weighted fits with seed-tree clustered standard errors (R-RDS-REG-01).",
      "ruleIds": [
        "R-RDS-REG-01"
      ],
      "conflictIds": [
        "CONF-16"
      ]
    },
    {
      "code": "E-153",
      "kind": "check",
      "definition": "Checked by the rule: Snowball and time-location samples are not analysed with RDS estimators (RF-RDS-SNOWBALL).",
      "ruleIds": [
        "RF-RDS-SNOWBALL"
      ],
      "conflictIds": []
    },
    {
      "code": "E-157",
      "kind": "practice",
      "definition": "Missing outcome, exposure or confounder values are filled with a single value (mean, median, regression prediction or worst value) and the data are analysed as if observed.",
      "ruleIds": [
        "R-SENS-FILL-01",
        "RF-11",
        "RF-FILL-BASELINE-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-158",
      "kind": "check",
      "definition": "Checked by the rules: A declared single fill, shown beside the primary analysis as a labelled sensitivity analysis (R-SENS-FILL-01); Last observation carried forward (RF-LOCF-01).",
      "ruleIds": [
        "R-SENS-FILL-01",
        "RF-LOCF-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-159",
      "kind": "check",
      "definition": "Checked by the rule: A declared single fill, shown beside the primary analysis as a labelled sensitivity analysis (R-SENS-FILL-01).",
      "ruleIds": [
        "R-SENS-FILL-01"
      ],
      "conflictIds": [
        "CONF-22"
      ]
    },
    {
      "code": "E-161",
      "kind": "check",
      "definition": "Checked by the rules: Declared many-candidate double-selection comparison (R-CAU-11-DOUBLE-SELECTION); Stepwise and p-value variable selection (RF-09).",
      "ruleIds": [
        "R-CAU-11-DOUBLE-SELECTION",
        "RF-09"
      ],
      "conflictIds": []
    },
    {
      "code": "E-162",
      "kind": "check",
      "definition": "Checked by the rule: Restricted cubic spline as the default offered form (R-FORM-01).",
      "ruleIds": [
        "R-FORM-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-163",
      "kind": "check",
      "definition": "Checked by the rule: Outcome-derived optimal cut-point (RF-CUTPOINT-01).",
      "ruleIds": [
        "RF-CUTPOINT-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-165",
      "kind": "check",
      "definition": "Checked by the rule: Logistic regression with marginal standardization for a standardized prevalence or risk ratio and difference (R-ASC-12).",
      "ruleIds": [
        "R-ASC-12"
      ],
      "conflictIds": []
    },
    {
      "code": "E-166",
      "kind": "check",
      "definition": "Checked by the rule: Welch t-test or Welch ANOVA, no pre-tests (R-CMP-01).",
      "ruleIds": [
        "R-CMP-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-167",
      "kind": "check",
      "definition": "Checked by the rule: Rank comparisons with a tie-aware probability index (R-CMP-02).",
      "ruleIds": [
        "R-CMP-02"
      ],
      "conflictIds": []
    },
    {
      "code": "E-171",
      "kind": "conflict",
      "definition": "Named by the resolution of the conflict “Net reclassification index (TC-007)”.",
      "ruleIds": [],
      "conflictIds": [
        "CONF-27"
      ]
    },
    {
      "code": "E-172",
      "kind": "check",
      "definition": "Checked by the rule: Holm for a declared confirmatory family (R-MULT-01).",
      "ruleIds": [
        "R-MULT-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-173",
      "kind": "check",
      "definition": "Checked by the rule: Complete-case repeated-measures ANOVA (R-CMP-RM-01).",
      "ruleIds": [
        "R-CMP-RM-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-175",
      "kind": "conflict",
      "definition": "Named by the resolution of the conflict “Maximal vs parsimonious random effects (TC-007)”.",
      "ruleIds": [],
      "conflictIds": [
        "CONF-26"
      ]
    },
    {
      "code": "E-176",
      "kind": "check",
      "definition": "Checked by the rule: Stepped-wedge trial: period- and cluster-aware model with a recorded estimand (R-TRIAL-SW-01).",
      "ruleIds": [
        "R-TRIAL-SW-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-177",
      "kind": "check",
      "definition": "Checked by the rule: Randomised trial: adjusted marginal effect with a recorded estimand (R-TRIAL-ADJ-01).",
      "ruleIds": [
        "R-TRIAL-ADJ-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-178",
      "kind": "check",
      "definition": "Checked by the rule: Crossover trial: within-participant model with period effects and a recorded estimand (R-TRIAL-CROSSOVER-01).",
      "ruleIds": [
        "R-TRIAL-CROSSOVER-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-179",
      "kind": "check",
      "definition": "Checked by the rule: Factorial trial: main effects, simple effects and interaction with a recorded estimand (R-TRIAL-FACTORIAL-01).",
      "ruleIds": [
        "R-TRIAL-FACTORIAL-01"
      ],
      "conflictIds": [
        "CONF-31"
      ]
    },
    {
      "code": "E-180",
      "kind": "check",
      "definition": "Checked by the rule: Matched sets need conditional logistic regression (Stage 2) (P-MATCH-01).",
      "ruleIds": [
        "P-MATCH-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-181",
      "kind": "check",
      "definition": "Checked by the rule: Pilot effectiveness comparison is exploratory (G-PILOT-EXPLORATORY).",
      "ruleIds": [
        "G-PILOT-EXPLORATORY"
      ],
      "conflictIds": []
    },
    {
      "code": "E-182",
      "kind": "practice",
      "definition": "Observations beyond a data-driven limit are deleted after outcome data were seen, without a prespecified rule or a sensitivity analysis.",
      "ruleIds": [
        "G-PREP-OUTLIER-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-183",
      "kind": "practice",
      "definition": "Values below a limit of detection are replaced by a constant (limit/2, limit/sqrt(2), zero).",
      "ruleIds": [
        "G-PREP-LOD-01",
        "R-PREP-LOD-01"
      ],
      "conflictIds": [
        "CONF-21"
      ]
    },
    {
      "code": "E-184",
      "kind": "practice",
      "definition": "An outcome with zeros is transformed by log(y + constant) or a similar transformation that changes the estimand.",
      "ruleIds": [
        "R-ASC-TWOPART-01",
        "RF-10"
      ],
      "conflictIds": []
    },
    {
      "code": "E-185",
      "kind": "check",
      "definition": "Checked by the rules: Principal components requested to explore structure, or eigenvalue-only retention (G-FACTOR-01); Factor analysis: common-factor model, parallel analysis, oblique rotation (R-CMP-AGR-07); Confirmatory factor analysis: declared factors with fit indices and their references (R-CMP-AGR-08).",
      "ruleIds": [
        "G-FACTOR-01",
        "R-CMP-AGR-07",
        "R-CMP-AGR-08"
      ],
      "conflictIds": []
    },
    {
      "code": "E-186",
      "kind": "check",
      "definition": "Checked by the rule: Categorical agreement: table, observed and specific agreement, kappa with interval (R-CMP-AGR-01).",
      "ruleIds": [
        "R-CMP-AGR-01"
      ],
      "conflictIds": [
        "CONF-25"
      ]
    },
    {
      "code": "E-187",
      "kind": "check",
      "definition": "Checked by the rule: Cumulative-link model for ordinal outcomes (R-ASC-06).",
      "ruleIds": [
        "R-ASC-06"
      ],
      "conflictIds": [
        "CONF-24"
      ]
    },
    {
      "code": "E-188",
      "kind": "check",
      "definition": "Checked by the rule: Exposure-only adjustment comparison (R-ROLE-INSTRUMENT-01).",
      "ruleIds": [
        "R-ROLE-INSTRUMENT-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-189",
      "kind": "check",
      "definition": "Checked by the rules: Conventional regression cannot estimate a joint effect of exposures over time with treatment-confounder feedback (R-CAU-TVC-01); Inverse-probability-weighted marginal structural model for a sustained exposure at two to four times (R-CAU-MSM-01); The weighted marginal structural model does not handle censoring (R-CAU-MSM-02); Parametric g-formula for a sustained exposure at two to four times (R-CAU-GF-01); The g-formula does not handle censoring (R-CAU-GF-02).",
      "ruleIds": [
        "R-CAU-TVC-01",
        "R-CAU-MSM-01",
        "R-CAU-MSM-02",
        "R-CAU-GF-01",
        "R-CAU-GF-02"
      ],
      "conflictIds": []
    },
    {
      "code": "E-190",
      "kind": "check",
      "definition": "Checked by the rules: Causal mediation with natural direct and indirect effects (R-CAU-MED-01); Causal mediation wording needs the mediator to occur before the outcome (R-CAU-MED-02).",
      "ruleIds": [
        "R-CAU-MED-01",
        "R-CAU-MED-02"
      ],
      "conflictIds": []
    },
    {
      "code": "E-191",
      "kind": "check",
      "definition": "Checked by the rule: Observational exposure overlap and augmented sensitivity (R-CAU-15).",
      "ruleIds": [
        "R-CAU-15"
      ],
      "conflictIds": []
    },
    {
      "code": "E-192",
      "kind": "check",
      "definition": "Checked by the rule: Post-assignment conditioning is not an effect of randomised assignment (RF-CAU-POSTASSIGN).",
      "ruleIds": [
        "RF-CAU-POSTASSIGN"
      ],
      "conflictIds": []
    },
    {
      "code": "E-193",
      "kind": "check",
      "definition": "Checked by the rule: A risk needs complete follow-up (RF-RR-FOLLOWUP).",
      "ruleIds": [
        "RF-RR-FOLLOWUP"
      ],
      "conflictIds": []
    },
    {
      "code": "E-194",
      "kind": "conflict",
      "definition": "Named by the resolution of the conflict “Hartung–Knapp–Sidik–Jonkman with very few studies (TC-007)”.",
      "ruleIds": [],
      "conflictIds": [
        "CONF-20"
      ]
    },
    {
      "code": "E-196",
      "kind": "check",
      "definition": "Checked by the rule: Bivariate random-effects model for diagnostic test accuracy (R-INF-SYN-02).",
      "ruleIds": [
        "R-INF-SYN-02"
      ],
      "conflictIds": []
    },
    {
      "code": "E-198",
      "kind": "conflict",
      "definition": "Named by the resolution of the conflict “Fixed vs random effects in panels (TC-007)”.",
      "ruleIds": [],
      "conflictIds": [
        "CONF-29"
      ]
    },
    {
      "code": "E-200",
      "kind": "conflict",
      "definition": "Named by the resolution of the conflict “Imperfect detection in occupancy surveys (TC-007)”.",
      "ruleIds": [],
      "conflictIds": [
        "CONF-30"
      ]
    },
    {
      "code": "E-202",
      "kind": "check",
      "definition": "Checked by the rule: A confirmatory test after a step that may have chosen items by the outcome, on the same data (RF-PLAN-09).",
      "ruleIds": [
        "RF-PLAN-09"
      ],
      "conflictIds": []
    },
    {
      "code": "E-203",
      "kind": "practice",
      "definition": "A continuous variable enters the model as a straight line by habit, without prior justification or an assessment of its shape.",
      "ruleIds": [
        "R-FORM-01",
        "R-SENS-06",
        "G-FORM-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-204",
      "kind": "check",
      "definition": "Checked by the rule: Outcome-derived optimal cut-point (RF-CUTPOINT-01).",
      "ruleIds": [
        "RF-CUTPOINT-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-205",
      "kind": "check",
      "definition": "Checked by the rules: Linear regression (R-ASC-01); Arithmetic mean ratio regression (R-ASC-30); Geometric mean ratio regression (R-ASC-31); Nominal outcome regression (R-ASC-32); Nominal outcomes (multinomial) arrive in Stage 2 (P-NOM-01); Declared area estimates or spatial regression (R-SPAT-01); Single-season detection analysis with naive companion (R-SPAT-02).",
      "ruleIds": [
        "R-ASC-01",
        "R-ASC-30",
        "R-ASC-31",
        "R-ASC-32",
        "P-NOM-01",
        "R-SPAT-01",
        "R-SPAT-02"
      ],
      "conflictIds": []
    },
    {
      "code": "E-206",
      "kind": "check",
      "definition": "Checked by the rule: Complete-case repeated-measures ANOVA (R-CMP-RM-01).",
      "ruleIds": [
        "R-CMP-RM-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-208",
      "kind": "conflict",
      "definition": "Named by the resolution of the conflict “Log-transformed linear models vs count GLMs (ecology)”.",
      "ruleIds": [],
      "conflictIds": [
        "CONF-33"
      ]
    },
    {
      "code": "E-210",
      "kind": "check",
      "definition": "Checked by the rule: Leave-one-cluster-out refit range for a clustered model (R-SENS-03).",
      "ruleIds": [
        "R-SENS-03"
      ],
      "conflictIds": []
    },
    {
      "code": "E-211",
      "kind": "check",
      "definition": "Checked by the rule: Dichotomization without a design reason (RF-12).",
      "ruleIds": [
        "RF-12"
      ],
      "conflictIds": []
    },
    {
      "code": "E-212",
      "kind": "check",
      "definition": "Checked by the rules: Welch t-test or Welch ANOVA, no pre-tests (R-CMP-01); Declared common-variance Gaussian group comparisons (R-CMP-PLANNED-01); Declared unequal-variance Games-Howell comparisons (R-CMP-GH-01); Covariance alternatives shown for comparison, never used to choose (R-SENS-04).",
      "ruleIds": [
        "R-CMP-01",
        "R-CMP-PLANNED-01",
        "R-CMP-GH-01",
        "R-SENS-04"
      ],
      "conflictIds": []
    },
    {
      "code": "E-215",
      "kind": "check",
      "definition": "Checked by the rules: Logistic regression for a conditional odds ratio (R-ASC-02); Log-binomial, with a recorded modified-Poisson fallback, for a conditional prevalence or risk ratio (R-ASC-03); Modified Poisson directly, not only as log-binomial's recorded fallback (R-ASC-08); Logistic regression with marginal standardization for a standardized prevalence or risk ratio and difference (R-ASC-12); An odds ratio is not a prevalence or risk ratio (G-EFF-01); A case-control odds ratio with other, unknown or unrecorded control sampling has no population reading (G-CC-SAMPLING); A risk-set sampled case-control odds ratio is an exposure odds ratio (G-CC-RISK-SET); A case-base sampled odds ratio is not reported as a risk ratio (G-CC-CASE-BASE); Case-control sampling does not identify a population prevalence or risk measure here (RF-RR-CC).",
      "ruleIds": [
        "R-ASC-02",
        "R-ASC-03",
        "R-ASC-08",
        "R-ASC-12",
        "G-EFF-01",
        "G-CC-SAMPLING",
        "G-CC-RISK-SET",
        "G-CC-CASE-BASE",
        "RF-RR-CC"
      ],
      "conflictIds": [
        "CONF-40"
      ]
    },
    {
      "code": "E-216",
      "kind": "check",
      "definition": "Checked by the rules: Effect modification on a declared scale (R-SENS-02); Interaction without a declared scale (RF-16).",
      "ruleIds": [
        "R-SENS-02",
        "RF-16"
      ],
      "conflictIds": [
        "CONF-41"
      ]
    },
    {
      "code": "E-220",
      "kind": "check",
      "definition": "Checked by the rule: Cumulative-link model for ordinal outcomes (R-ASC-06).",
      "ruleIds": [
        "R-ASC-06"
      ],
      "conflictIds": []
    },
    {
      "code": "E-223",
      "kind": "check",
      "definition": "Checked by the rules: Justified data-driven adjustment-set sensitivity (R-DAG-STEPWISE-01); Stepwise and p-value variable selection (RF-09).",
      "ruleIds": [
        "R-DAG-STEPWISE-01",
        "RF-09"
      ],
      "conflictIds": [
        "CONF-42"
      ]
    },
    {
      "code": "E-229",
      "kind": "check",
      "definition": "Checked by the rule: Readiness checkpoint and step 7 not complete (RF-13).",
      "ruleIds": [
        "RF-13"
      ],
      "conflictIds": []
    },
    {
      "code": "E-234",
      "kind": "check",
      "definition": "Checked by the rules: Justified data-driven adjustment-set sensitivity (R-DAG-STEPWISE-01); Stepwise and p-value variable selection (RF-09).",
      "ruleIds": [
        "R-DAG-STEPWISE-01",
        "RF-09"
      ],
      "conflictIds": []
    },
    {
      "code": "E-235",
      "kind": "check",
      "definition": "Checked by the rules: A modifier measured after randomisation is an improper subgroup (RF-SUB-IMPROPER); Randomised trial: complier average causal effect with a recorded estimand (R-TRIAL-CACE-01).",
      "ruleIds": [
        "RF-SUB-IMPROPER",
        "R-TRIAL-CACE-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-236",
      "kind": "check",
      "definition": "Checked by the rule: Subgroup register with pre-specified, direction-less and post hoc labels (R-SENS-SUBREG).",
      "ruleIds": [
        "R-SENS-SUBREG"
      ],
      "conflictIds": []
    },
    {
      "code": "E-237",
      "kind": "check",
      "definition": "Checked by the rule: Subgroup register with pre-specified, direction-less and post hoc labels (R-SENS-SUBREG).",
      "ruleIds": [
        "R-SENS-SUBREG"
      ],
      "conflictIds": []
    },
    {
      "code": "E-241",
      "kind": "check",
      "definition": "Checked by the rule: Composite endpoint reported with every component (R-SENS-COMPOSITE).",
      "ruleIds": [
        "R-SENS-COMPOSITE"
      ],
      "conflictIds": []
    },
    {
      "code": "E-244",
      "kind": "conflict",
      "definition": "Named by the resolution of the conflict “Multiverse and specification curves (CONTESTED)”.",
      "ruleIds": [],
      "conflictIds": [
        "CONF-50"
      ]
    },
    {
      "code": "E-245",
      "kind": "check",
      "definition": "Checked by the rules: Conventional regression cannot estimate a joint effect of exposures over time with treatment-confounder feedback (R-CAU-TVC-01); Inverse-probability-weighted marginal structural model for a sustained exposure at two to four times (R-CAU-MSM-01); The weighted marginal structural model does not handle censoring (R-CAU-MSM-02); Parametric g-formula for a sustained exposure at two to four times (R-CAU-GF-01); The g-formula does not handle censoring (R-CAU-GF-02).",
      "ruleIds": [
        "R-CAU-TVC-01",
        "R-CAU-MSM-01",
        "R-CAU-MSM-02",
        "R-CAU-GF-01",
        "R-CAU-GF-02"
      ],
      "conflictIds": []
    },
    {
      "code": "E-295",
      "kind": "check",
      "definition": "Checked by the rule: Non-positive exposure in an offset column (RF-07).",
      "ruleIds": [
        "RF-07"
      ],
      "conflictIds": []
    },
    {
      "code": "E-309",
      "kind": "check",
      "definition": "Checked by the rule: Weight type not confirmed (G-SRV-01).",
      "ruleIds": [
        "G-SRV-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-312",
      "kind": "check",
      "definition": "Checked by the rules: Counts by calendar week under a declared week scheme (R-DESC-WEEK-01); Rows or additive counts by a declared source-calendar reporting period (R-DESC-PERIOD-01).",
      "ruleIds": [
        "R-DESC-WEEK-01",
        "R-DESC-PERIOD-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-318",
      "kind": "check",
      "definition": "Checked by the rule: Declared area boundaries or displaced-cluster spatial extraction (R-LOC-GEO-01).",
      "ruleIds": [
        "R-LOC-GEO-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-319",
      "kind": "check",
      "definition": "Checked by the rule: Declared area boundaries or displaced-cluster spatial extraction (R-LOC-GEO-01).",
      "ruleIds": [
        "R-LOC-GEO-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-320",
      "kind": "check",
      "definition": "Checked by the rule: Declared area boundaries or displaced-cluster spatial extraction (R-LOC-GEO-01).",
      "ruleIds": [
        "R-LOC-GEO-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-368",
      "kind": "check",
      "definition": "Checked by the rule: Qualitative interpretation is outside the analysis scope (RF-SCOPE-QUAL).",
      "ruleIds": [
        "RF-SCOPE-QUAL"
      ],
      "conflictIds": []
    },
    {
      "code": "E-370",
      "kind": "check",
      "definition": "Checked by the rule: Decision-analytic economic evaluation is not available (RF-SCOPE-ECON).",
      "ruleIds": [
        "RF-SCOPE-ECON"
      ],
      "conflictIds": []
    },
    {
      "code": "E-371",
      "kind": "check",
      "definition": "Checked by the rule: Stepped-wedge trial: period- and cluster-aware model with a recorded estimand (R-TRIAL-SW-01).",
      "ruleIds": [
        "R-TRIAL-SW-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-372",
      "kind": "check",
      "definition": "Checked by the rule: Stepped-wedge trial: period- and cluster-aware model with a recorded estimand (R-TRIAL-SW-01).",
      "ruleIds": [
        "R-TRIAL-SW-01"
      ],
      "conflictIds": []
    },
    {
      "code": "E-374",
      "kind": "check",
      "definition": "Checked by the rule: Declared area boundaries or displaced-cluster spatial extraction (R-LOC-GEO-01).",
      "ruleIds": [
        "R-LOC-GEO-01"
      ],
      "conflictIds": []
    }
  ],
  "changeLog": {
    "rules": [
      {
        "ruleId": "G-BASE-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "G-CC-CASE-BASE",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "G-CC-CASE-BASE",
        "version": 2,
        "edition": "1.2",
        "changedOn": "2026-10-24",
        "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "G-CC-RISK-SET",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "G-CC-RISK-SET",
        "version": 2,
        "edition": "1.2",
        "changedOn": "2026-10-24",
        "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "G-CC-SAMPLING",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "G-CC-SAMPLING",
        "version": 2,
        "edition": "1.2",
        "changedOn": "2026-10-24",
        "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "G-CMP-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "G-CNT-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "G-COMB-CONFIRM-01",
        "version": 1,
        "edition": "1.27",
        "changedOn": "2026-11-13",
        "summary": "Initial entry. A declared combination of sources has not been confirmed with its gained and lost rows (R-COMB-06).",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "data_cleaning_exploration"
        ]
      },
      {
        "ruleId": "G-COV-FEW",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "G-COV-MID",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "G-DEP-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "G-EFF-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "G-FACTOR-01",
        "version": 1,
        "edition": "1.27",
        "changedOn": "2026-11-13",
        "summary": "Initial entry. Principal components requested to explore structure, or eigenvalue-only retention (ST-10).",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "factor_analysis"
        ]
      },
      {
        "ruleId": "G-FORM-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "G-INVARIANCE-01",
        "version": 1,
        "edition": "1.27",
        "changedOn": "2026-11-13",
        "summary": "Initial entry. Scale score compared across groups without a measurement-invariance check (ST-10).",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "factor_analysis"
        ]
      },
      {
        "ruleId": "G-MISS-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "G-MULT-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "G-PILOT-EXPLORATORY",
        "version": 1,
        "edition": "1.4",
        "changedOn": "2026-11-02",
        "summary": "Initial retained entry for the existing reviewed study-intake and pilot implementation.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "G-PREP-LOD-01",
        "version": 1,
        "edition": "1.27",
        "changedOn": "2026-11-13",
        "summary": "Initial entry. Detection-limit substitution requested as the primary method (R-PREP-08).",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "missing_data_measurement"
        ]
      },
      {
        "ruleId": "G-PREP-OUTLIER-01",
        "version": 1,
        "edition": "1.27",
        "changedOn": "2026-11-13",
        "summary": "Initial entry. Outliers deleted by a data-driven rule after the outcome was displayed (R-PREP-07).",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "data_cleaning_exploration"
        ]
      },
      {
        "ruleId": "G-REF-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "G-REPL-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "G-SAMP-UNKNOWN",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "G-SAMP-UNKNOWN",
        "version": 2,
        "edition": "1.2",
        "changedOn": "2026-10-24",
        "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "G-SENS-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "G-SPARSE-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "G-SPARSE-01",
        "version": 2,
        "edition": "1.13",
        "changedOn": "2026-11-06",
        "summary": "The message, plain reason and fine-when no longer say the model is fitted with Firth-type penalization (false for any other selected template, such as the multiple-imputation logistic fit); they state the sparse-data risk and name the penalized fit as an alternative. The multiple-imputation logistic odds-ratio route is excluded from this row's trigger and has its own row, G-SPARSE-MI-01, which states what that route fits (a Firth-type penalized model in each imputed dataset, combined with Rubin's rules).",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "biostatistics_analysis"
        ]
      },
      {
        "ruleId": "G-SPARSE-02",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "G-SPARSE-MI-01",
        "version": 1,
        "edition": "1.13",
        "changedOn": "2026-11-06",
        "summary": "Initial entry. The sparse-data warning for the multiple-imputation logistic odds-ratio route, split from G-SPARSE-01 because that route fits a Firth-type penalized model in each imputed dataset (logistf, intercept correction), combines the fits with Rubin's rules and reports Wald t intervals, not profile penalized-likelihood intervals.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "biostatistics_analysis"
        ]
      },
      {
        "ruleId": "G-SRV-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "G-SUP-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "G-TBL-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "G-TBL-02",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "G-TRD-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "G-TRD-02",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "P-GOAL-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "P-MATCH-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "P-MATCH-01",
        "version": 2,
        "edition": "1.2",
        "changedOn": "2026-10-24",
        "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "P-NOM-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "P-REG-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "P-TTE-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "P-TTE-01",
        "version": 2,
        "edition": "1.5",
        "changedOn": "2026-11-02",
        "summary": "Proposed researcher-facing refusal for unsupported survival estimand, censoring and design combinations.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "survival_longitudinal"
        ]
      },
      {
        "ruleId": "P-TTE-01",
        "version": 3,
        "edition": "1.29",
        "changedOn": "2026-11-20",
        "summary": "The complement block of R-ASC-SURV-01 reads goal associate or compare, so the refusal no longer fires on a group comparison that the survival route now admits.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "survival_longitudinal"
        ]
      },
      {
        "ruleId": "R-ASC-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-ASC-01",
        "version": 2,
        "edition": "1.5",
        "changedOn": "2026-11-02",
        "summary": "Proposed explicit continuous estimand declaration and exclusions for dedicated ratio and nominal routes.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "core_analysis_workflow"
        ]
      },
      {
        "ruleId": "R-ASC-01",
        "version": 3,
        "edition": "1.5",
        "changedOn": "2026-11-02",
        "summary": "Exclude explicit MI from ordinary Gaussian regression.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "missing_data_measurement"
        ]
      },
      {
        "ruleId": "R-ASC-01",
        "version": 4,
        "edition": "1.7",
        "changedOn": "2026-11-03",
        "summary": "Declare the explicit alternative R-ASC-GAM-01 while preserving the existing analysis route.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "functional_form"
        ]
      },
      {
        "ruleId": "R-ASC-01",
        "version": 5,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "core_analysis_workflow",
          "model_assumptions",
          "visualization_diagnostics"
        ]
      },
      {
        "ruleId": "R-ASC-01",
        "version": 6,
        "edition": "1.29",
        "changedOn": "2026-11-20",
        "summary": "Stands back when the declared predictor form is the penalized smooth (gam_tp); the tie with R-ASC-GAM-01 is removed. A plain linear regression again gets one recommendation.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "model_assumptions"
        ]
      },
      {
        "ruleId": "R-ASC-01",
        "version": 7,
        "edition": "1.30",
        "changedOn": "2026-11-20",
        "summary": "Tie and alternative added for the generalized estimating equations row R-ASC-GEE-01; trigger unchanged.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "survival_longitudinal"
        ]
      },
      {
        "ruleId": "R-ASC-01",
        "version": 8,
        "edition": "1.32",
        "changedOn": "2026-11-24",
        "summary": "Offer the two-part overall mean difference as a choice when zeros arise from a separate process.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "model_assumptions"
        ]
      },
      {
        "ruleId": "R-ASC-02",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-ASC-02",
        "version": 2,
        "edition": "1.5",
        "changedOn": "2026-11-02",
        "summary": "Exclude explicit MI from ordinary logistic regression.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "missing_data_measurement"
        ]
      },
      {
        "ruleId": "R-ASC-02",
        "version": 3,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "effect_measures_reporting",
          "epidemiology_analysis"
        ]
      },
      {
        "ruleId": "R-ASC-02",
        "version": 4,
        "edition": "1.30",
        "changedOn": "2026-11-20",
        "summary": "Ties and alternatives added for R-ASC-33 and R-ASC-GEE-01; trigger unchanged.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "effect_measures_reporting",
          "epidemiology_analysis",
          "survival_longitudinal"
        ]
      },
      {
        "ruleId": "R-ASC-03",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-ASC-03",
        "version": 2,
        "edition": "1.10",
        "changedOn": "2026-11-04",
        "summary": "Exclude a declared multiple-imputation plan; its risk ratio is pooled by R-ASC-MI-02.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "missing_data_measurement",
          "effect_measures_reporting"
        ]
      },
      {
        "ruleId": "R-ASC-03",
        "version": 3,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "core_analysis_workflow",
          "effect_measures_reporting",
          "epidemiology_analysis"
        ]
      },
      {
        "ruleId": "R-ASC-04",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-ASC-04",
        "version": 2,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "core_analysis_workflow",
          "effect_measures_reporting",
          "model_assumptions"
        ]
      },
      {
        "ruleId": "R-ASC-04",
        "version": 3,
        "edition": "1.30",
        "changedOn": "2026-11-20",
        "summary": "Ties and alternatives added for R-ASC-34 and R-ASC-GEE-01; trigger unchanged.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "core_analysis_workflow",
          "effect_measures_reporting",
          "model_assumptions",
          "survival_longitudinal"
        ]
      },
      {
        "ruleId": "R-ASC-05",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-ASC-05",
        "version": 2,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "model_assumptions"
        ]
      },
      {
        "ruleId": "R-ASC-06",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-ASC-06",
        "version": 2,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "core_analysis_workflow",
          "model_assumptions"
        ]
      },
      {
        "ruleId": "R-ASC-07",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-ASC-07",
        "version": 2,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "biostatistics_analysis",
          "model_assumptions"
        ]
      },
      {
        "ruleId": "R-ASC-08",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-ASC-08",
        "version": 2,
        "edition": "1.10",
        "changedOn": "2026-11-04",
        "summary": "Exclude a declared multiple-imputation plan; its risk ratio is pooled by R-ASC-MI-02.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "missing_data_measurement",
          "effect_measures_reporting"
        ]
      },
      {
        "ruleId": "R-ASC-08",
        "version": 3,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "core_analysis_workflow",
          "effect_measures_reporting"
        ]
      },
      {
        "ruleId": "R-ASC-09",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-ASC-09",
        "version": 2,
        "edition": "1.5",
        "changedOn": "2026-11-02",
        "summary": "Proposed reciprocal effect-measure exclusions for the dedicated ratio and nominal routes.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "core_analysis_workflow"
        ]
      },
      {
        "ruleId": "R-ASC-09",
        "version": 3,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "model_assumptions",
          "survival_longitudinal"
        ]
      },
      {
        "ruleId": "R-ASC-09",
        "version": 4,
        "edition": "1.30",
        "changedOn": "2026-11-20",
        "summary": "One optional random slope for one numeric model variable, a fixed disclosed simplification ladder and four plan-time refusals; tie and alternative for R-ASC-GEE-01; trigger unchanged.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "model_assumptions",
          "survival_longitudinal"
        ]
      },
      {
        "ruleId": "R-ASC-10",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-ASC-10",
        "version": 2,
        "edition": "1.5",
        "changedOn": "2026-11-02",
        "summary": "Proposed expanded exact-right-censoring Cox companion with estimand and competing-event disclosure.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "model_assumptions",
          "survival_longitudinal"
        ]
      },
      {
        "ruleId": "R-ASC-10",
        "version": 3,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "model_assumptions",
          "survival_longitudinal"
        ]
      },
      {
        "ruleId": "R-ASC-11",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-ASC-11",
        "version": 2,
        "edition": "1.5",
        "changedOn": "2026-11-02",
        "summary": "Proposed person-time route update for declared follow-up and competing-risk scope.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "effect_measures_reporting",
          "survival_longitudinal"
        ]
      },
      {
        "ruleId": "R-ASC-11",
        "version": 3,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "effect_measures_reporting",
          "survival_longitudinal"
        ]
      },
      {
        "ruleId": "R-ASC-12",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-ASC-12",
        "version": 2,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "effect_measures_reporting"
        ]
      },
      {
        "ruleId": "R-ASC-30",
        "version": 1,
        "edition": "1.5",
        "changedOn": "2026-11-02",
        "summary": "Proposed independent-row Gamma log-link arithmetic mean ratio regression.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "core_analysis_workflow"
        ]
      },
      {
        "ruleId": "R-ASC-30",
        "version": 2,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "core_analysis_workflow"
        ]
      },
      {
        "ruleId": "R-ASC-31",
        "version": 1,
        "edition": "1.5",
        "changedOn": "2026-11-02",
        "summary": "Proposed independent-row log-scale geometric mean ratio regression.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "core_analysis_workflow"
        ]
      },
      {
        "ruleId": "R-ASC-31",
        "version": 2,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "core_analysis_workflow"
        ]
      },
      {
        "ruleId": "R-ASC-32",
        "version": 1,
        "edition": "1.5",
        "changedOn": "2026-11-02",
        "summary": "Proposed independent-row nominal outcome regression.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "core_analysis_workflow"
        ]
      },
      {
        "ruleId": "R-ASC-32",
        "version": 2,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "core_analysis_workflow"
        ]
      },
      {
        "ruleId": "R-ASC-33",
        "version": 1,
        "edition": "1.30",
        "changedOn": "2026-11-20",
        "summary": "Random-intercept logistic mixed model, offered as a tie with R-ASC-02 and with R-ASC-GEE-01.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "model_assumptions",
          "survival_longitudinal"
        ]
      },
      {
        "ruleId": "R-ASC-34",
        "version": 1,
        "edition": "1.30",
        "changedOn": "2026-11-20",
        "summary": "Random-intercept Poisson mixed model with optional offset, offered as a tie with R-ASC-04 and with R-ASC-GEE-01.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "model_assumptions",
          "survival_longitudinal"
        ]
      },
      {
        "ruleId": "R-ASC-COUNT-01",
        "version": 1,
        "edition": "1.6",
        "changedOn": "2026-11-03",
        "summary": "Offer constructed time-varying Cox only for a selected start/stop view and a post-origin grouping declaration.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "survival_longitudinal"
        ]
      },
      {
        "ruleId": "R-ASC-COUNT-01",
        "version": 2,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "survival_longitudinal"
        ]
      },
      {
        "ruleId": "R-ASC-GAM-01",
        "version": 1,
        "edition": "1.7",
        "changedOn": "2026-11-03",
        "summary": "Admit a declared independent-row Gaussian thin-plate GAM with unadjusted and adjusted contrasts, diagnostics and ordinary R.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "functional_form"
        ]
      },
      {
        "ruleId": "R-ASC-GAM-01",
        "version": 2,
        "edition": "1.11",
        "changedOn": "2026-11-05",
        "summary": "Add the cannot-do list (single smooth, no robust covariance, pointwise bands).",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-ASC-GAM-01",
        "version": 3,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "functional_form"
        ]
      },
      {
        "ruleId": "R-ASC-GAM-01",
        "version": 4,
        "edition": "1.29",
        "changedOn": "2026-11-20",
        "summary": "Fires only when the declared predictor form is gam_tp (not_null first). Before, it fired on every continuous associate plan and tied with R-ASC-01, so no method was recommended.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "functional_form"
        ]
      },
      {
        "ruleId": "R-ASC-GEE-01",
        "version": 1,
        "edition": "1.30",
        "changedOn": "2026-11-20",
        "summary": "New recommendation row. Generalized estimating equations (geepack) with an exchangeable or AR(1) working correlation the researcher chooses, CR2 or CR3 cluster-robust small-sample inference, the independence fit beside it, and a tie with the cluster-robust, count and mixed rows, including R-ASC-33 and R-ASC-34.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "survival_longitudinal",
          "model_assumptions"
        ]
      },
      {
        "ruleId": "R-ASC-IC-01",
        "version": 1,
        "edition": "1.5",
        "changedOn": "2026-11-02",
        "summary": "Proposed independent-subject interval-censored proportional-hazards route.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "interval_censored_survival"
        ]
      },
      {
        "ruleId": "R-ASC-IC-01",
        "version": 2,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "interval_censored_survival"
        ]
      },
      {
        "ruleId": "R-ASC-MI-01",
        "version": 1,
        "edition": "1.5",
        "changedOn": "2026-11-02",
        "summary": "Proposed explicit pooled Gaussian/logistic multiple-imputation route.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "missing_data_measurement"
        ]
      },
      {
        "ruleId": "R-ASC-MI-01",
        "version": 2,
        "edition": "1.10",
        "changedOn": "2026-11-04",
        "summary": "Gate the pooled Gaussian/logistic route to its effect measures (beta, or); a binary risk ratio is R-ASC-MI-02.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "missing_data_measurement"
        ]
      },
      {
        "ruleId": "R-ASC-MI-01",
        "version": 3,
        "edition": "1.11",
        "changedOn": "2026-11-05",
        "summary": "Describe each imputed dataset as analyzed separately with the m estimates combined by Rubin's rules; add the cannot-do list.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "missing_data_measurement"
        ]
      },
      {
        "ruleId": "R-ASC-MI-01",
        "version": 4,
        "edition": "1.13",
        "changedOn": "2026-11-06",
        "summary": "The method text lists the estimator parameter: maximum likelihood by default, or a Firth-type penalized fit with intercept correction in each imputed dataset when events are few, combined with Rubin's rules; delta sensitivity is not available with it.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "missing_data_measurement"
        ]
      },
      {
        "ruleId": "R-ASC-MI-01",
        "version": 5,
        "edition": "1.15",
        "changedOn": "2026-11-06",
        "summary": "With declared clusters, impute with the two-level normal model (mice 2l.pan) that includes the cluster and analyse a random-intercept model in each imputed copy.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "missing_data_measurement"
        ]
      },
      {
        "ruleId": "R-ASC-MI-01",
        "version": 6,
        "edition": "1.20",
        "changedOn": "2026-11-08",
        "summary": "With an interaction or a restricted cubic spline in the analysis model, the researcher may choose substantive-model-compatible imputation (smcfcs, Bartlett et al. 2015); the analysis model is fitted in each imputed dataset and combined by Rubin's rules.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "missing_data_measurement"
        ]
      },
      {
        "ruleId": "R-ASC-MI-01",
        "version": 7,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "missing_data_measurement"
        ]
      },
      {
        "ruleId": "R-ASC-MI-02",
        "version": 1,
        "edition": "1.10",
        "changedOn": "2026-11-04",
        "summary": "Pooled modified-Poisson risk ratio (HC3 sandwich) under the explicit multiple-imputation route.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "missing_data_measurement",
          "effect_measures_reporting"
        ]
      },
      {
        "ruleId": "R-ASC-MI-02",
        "version": 2,
        "edition": "1.11",
        "changedOn": "2026-11-05",
        "summary": "Same Rubin's-rules wording for the risk-ratio route.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "missing_data_measurement"
        ]
      },
      {
        "ruleId": "R-ASC-MI-02",
        "version": 3,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "effect_measures_reporting",
          "missing_data_measurement"
        ]
      },
      {
        "ruleId": "R-ASC-SURV-01",
        "version": 1,
        "edition": "1.5",
        "changedOn": "2026-11-02",
        "summary": "Proposed survival companion estimands and outputs.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "survival_longitudinal"
        ]
      },
      {
        "ruleId": "R-ASC-SURV-01",
        "version": 2,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "survival_longitudinal"
        ]
      },
      {
        "ruleId": "R-ASC-SURV-01",
        "version": 3,
        "edition": "1.29",
        "changedOn": "2026-11-20",
        "summary": "The goal leaf reads associate or compare. A group comparison of a right-censored time-to-event outcome found no method on staging (2026-11-19); it is the same analysis as the association route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "survival_longitudinal"
        ]
      },
      {
        "ruleId": "R-ASC-SURVEY-01",
        "version": 1,
        "edition": "1.5",
        "changedOn": "2026-11-02",
        "summary": "Proposed survey-weighted identity-link continuous mean regression.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "survey_science_analysis"
        ]
      },
      {
        "ruleId": "R-ASC-SURVEY-01",
        "version": 2,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "survey_science_analysis"
        ]
      },
      {
        "ruleId": "R-ASC-SURVEY-02",
        "version": 1,
        "edition": "1.5",
        "changedOn": "2026-11-02",
        "summary": "Proposed survey-weighted Gamma log-link continuous mean regression.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "survey_science_analysis"
        ]
      },
      {
        "ruleId": "R-ASC-SURVEY-02",
        "version": 2,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "survey_science_analysis"
        ]
      },
      {
        "ruleId": "R-ASC-SURVEY-RISK-01",
        "version": 1,
        "edition": "1.30",
        "changedOn": "2026-11-20",
        "summary": "New recommendation row. Design-based standardized risk or prevalence contrasts for a binary outcome (survey::svyglm quasibinomial, predictive margins, joint-covariance contrasts).",
        "signal": "new_evidence",
        "decision": "revise",
        "sourceIds": [
          "survey_science_analysis"
        ]
      },
      {
        "ruleId": "R-ASC-TWOPART-01",
        "version": 1,
        "edition": "1.32",
        "changedOn": "2026-11-23",
        "summary": "New recommendation row. Two-part model for a continuous outcome with exact zeros that the researcher declares to arise from a separate decision. Two stats::glm fits (logistic for any positive value, Gamma log link on the positive rows) give a standardized difference in overall mean outcome and both component effects. The linear row also targets an overall difference in means.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "model_assumptions",
          "core_analysis_workflow"
        ]
      },
      {
        "ruleId": "R-CAU-11-DOUBLE-SELECTION",
        "version": 1,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Joint draft admission; no human review recorded.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "causal_inference"
        ]
      },
      {
        "ruleId": "R-CAU-15",
        "version": 1,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Joint draft admission; no human review recorded.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "propensity_score_methods"
        ]
      },
      {
        "ruleId": "R-CAU-15",
        "version": 2,
        "edition": "1.28",
        "changedOn": "2026-11-18",
        "summary": "Severity plan_only to inform. As plan_only the rule replaced the selected regression on every observational causal question (decision-tree approval 2), contradicting its own routing, which keeps the regression primary and adds the labelled augmented-IPW companion; staging P37 could not be confirmed (2026-11-18).",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "propensity_score_methods"
        ]
      },
      {
        "ruleId": "R-CAU-GF-01",
        "version": 1,
        "edition": "1.27",
        "changedOn": "2026-11-13",
        "summary": "Initial entry. Parametric g-formula for a sustained exposure at two to four times (R-CAU-13, R-DAG-11).",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "causal_inference"
        ]
      },
      {
        "ruleId": "R-CAU-GF-02",
        "version": 1,
        "edition": "1.27",
        "changedOn": "2026-11-13",
        "summary": "Initial entry. The g-formula does not handle censoring (R-CAU-13).",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "causal_inference"
        ]
      },
      {
        "ruleId": "R-CAU-MED-01",
        "version": 1,
        "edition": "1.27",
        "changedOn": "2026-11-13",
        "summary": "Initial entry. Causal mediation with natural direct and indirect effects (R-CAU-14).",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "causal_inference"
        ]
      },
      {
        "ruleId": "R-CAU-MED-02",
        "version": 1,
        "edition": "1.27",
        "changedOn": "2026-11-13",
        "summary": "Initial entry. Causal mediation wording needs the mediator to occur before the outcome (R-CAU-14).",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "causal_inference"
        ]
      },
      {
        "ruleId": "R-CAU-MSM-01",
        "version": 1,
        "edition": "1.27",
        "changedOn": "2026-11-13",
        "summary": "Initial entry. Inverse-probability-weighted marginal structural model for a sustained exposure at two to four times (R-CAU-13, R-DAG-11).",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "causal_inference"
        ]
      },
      {
        "ruleId": "R-CAU-MSM-02",
        "version": 1,
        "edition": "1.27",
        "changedOn": "2026-11-13",
        "summary": "Initial entry. The weighted marginal structural model does not handle censoring (R-CAU-13).",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "causal_inference"
        ]
      },
      {
        "ruleId": "R-CAU-PS-01",
        "version": 1,
        "edition": "1.16",
        "changedOn": "2026-11-07",
        "summary": "Initial entry. Propensity score matching effect (MatchIt) with balance, overlap and sample-size diagnostics and a marginal effect (marginaleffects).",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "propensity_score_methods"
        ]
      },
      {
        "ruleId": "R-CAU-PS-01",
        "version": 2,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "propensity_score_methods"
        ]
      },
      {
        "ruleId": "R-CAU-PS-01",
        "version": 3,
        "edition": "1.25",
        "changedOn": "2026-11-10",
        "summary": "An empty answer now decides that the rule does not apply (an added not_null condition). Before, the empty optional answer left the rule pending and an ordinary question received no method. The result is unchanged when the answer is present.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "propensity_score_methods"
        ]
      },
      {
        "ruleId": "R-CAU-PS-02",
        "version": 1,
        "edition": "1.16",
        "changedOn": "2026-11-07",
        "summary": "Initial entry. Propensity score weighting effect (WeightIt) with balance, overlap and weight diagnostics and a marginal effect (marginaleffects).",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "propensity_score_methods"
        ]
      },
      {
        "ruleId": "R-CAU-PS-02",
        "version": 2,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "propensity_score_methods"
        ]
      },
      {
        "ruleId": "R-CAU-PS-02",
        "version": 3,
        "edition": "1.25",
        "changedOn": "2026-11-10",
        "summary": "An empty answer now decides that the rule does not apply (an added not_null condition). Before, the empty optional answer left the rule pending and an ordinary question received no method. The result is unchanged when the answer is present.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "propensity_score_methods"
        ]
      },
      {
        "ruleId": "R-CAU-PS-03",
        "version": 1,
        "edition": "1.16",
        "changedOn": "2026-11-07",
        "summary": "Initial entry. Overlap-weighted propensity score effect (WeightIt, cobalt) with balance and weight diagnostics.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "propensity_score_methods"
        ]
      },
      {
        "ruleId": "R-CAU-PS-03",
        "version": 2,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "propensity_score_methods"
        ]
      },
      {
        "ruleId": "R-CAU-PS-03",
        "version": 3,
        "edition": "1.25",
        "changedOn": "2026-11-10",
        "summary": "An empty answer now decides that the rule does not apply (an added not_null condition). Before, the empty optional answer left the rule pending and an ordinary question received no method. The result is unchanged when the answer is present.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "propensity_score_methods"
        ]
      },
      {
        "ruleId": "R-CAU-TVC-01",
        "version": 1,
        "edition": "1.27",
        "changedOn": "2026-11-13",
        "summary": "Initial entry. Conventional regression cannot estimate a joint effect of exposures over time with treatment-confounder feedback (R-DAG-11, R-CAU-13).",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "causal_inference"
        ]
      },
      {
        "ruleId": "R-CMP-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-CMP-01",
        "version": 2,
        "edition": "1.9",
        "changedOn": "2026-11-03",
        "summary": "Add explicit comparison ties without automatic selection.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "core_analysis_workflow"
        ]
      },
      {
        "ruleId": "R-CMP-01",
        "version": 3,
        "edition": "1.14",
        "changedOn": "2026-11-06",
        "summary": "Name the equivalence and non-inferiority comparison as a declared tie.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "core_analysis_workflow"
        ]
      },
      {
        "ruleId": "R-CMP-01",
        "version": 4,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "core_analysis_workflow",
          "model_assumptions"
        ]
      },
      {
        "ruleId": "R-CMP-02",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-CMP-02",
        "version": 2,
        "edition": "1.9",
        "changedOn": "2026-11-03",
        "summary": "Add explicit comparison ties without automatic selection.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "core_analysis_workflow"
        ]
      },
      {
        "ruleId": "R-CMP-02",
        "version": 3,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "core_analysis_workflow"
        ]
      },
      {
        "ruleId": "R-CMP-03",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-CMP-03",
        "version": 2,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "biostatistics_analysis",
          "epidemiology_analysis"
        ]
      },
      {
        "ruleId": "R-CMP-04",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-CMP-04",
        "version": 2,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "biostatistics_analysis"
        ]
      },
      {
        "ruleId": "R-CMP-AGR-01",
        "version": 1,
        "edition": "1.14",
        "changedOn": "2026-11-06",
        "summary": "Initial entry. Categorical agreement: table, observed and specific agreement, kappa with interval. Admitted with the agreement and reliability methods; the declaration is the researcher's own.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "biostatistics_analysis",
          "agreement_reliability"
        ]
      },
      {
        "ruleId": "R-CMP-AGR-01",
        "version": 2,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "agreement_reliability"
        ]
      },
      {
        "ruleId": "R-CMP-AGR-02",
        "version": 1,
        "edition": "1.14",
        "changedOn": "2026-11-06",
        "summary": "Initial entry. Reliability as an ICC with model, type and unit stated, plus SEM. Admitted with the agreement and reliability methods; the declaration is the researcher's own.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "biostatistics_analysis",
          "agreement_reliability"
        ]
      },
      {
        "ruleId": "R-CMP-AGR-02",
        "version": 2,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "agreement_reliability"
        ]
      },
      {
        "ruleId": "R-CMP-AGR-03",
        "version": 1,
        "edition": "1.14",
        "changedOn": "2026-11-06",
        "summary": "Initial entry. Method agreement: bias, limits of agreement and proportional bias. Admitted with the agreement and reliability methods; the declaration is the researcher's own.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "biostatistics_analysis",
          "agreement_reliability"
        ]
      },
      {
        "ruleId": "R-CMP-AGR-03",
        "version": 2,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "agreement_reliability"
        ]
      },
      {
        "ruleId": "R-CMP-AGR-04",
        "version": 1,
        "edition": "1.14",
        "changedOn": "2026-11-06",
        "summary": "Initial entry. Scale reliability: alpha with negative item-rest check and reverse-keying question. Admitted with the agreement and reliability methods; the declaration is the researcher's own.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "biostatistics_analysis",
          "agreement_reliability"
        ]
      },
      {
        "ruleId": "R-CMP-AGR-04",
        "version": 2,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "agreement_reliability"
        ]
      },
      {
        "ruleId": "R-CMP-AGR-04",
        "version": 3,
        "edition": "1.27",
        "changedOn": "2026-11-13",
        "summary": "Omega from a one-factor model beside alpha with fit indices and the tau-equivalence test (model.scale_omega).",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "agreement_reliability"
        ]
      },
      {
        "ruleId": "R-CMP-AGR-05",
        "version": 1,
        "edition": "1.14",
        "changedOn": "2026-11-06",
        "summary": "Initial entry. Method comparison: Passing-Bablok regression with slope and intercept intervals. Admitted with the agreement and reliability methods; the declaration is the researcher's own.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "biostatistics_analysis",
          "agreement_reliability"
        ]
      },
      {
        "ruleId": "R-CMP-AGR-05",
        "version": 2,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "agreement_reliability"
        ]
      },
      {
        "ruleId": "R-CMP-AGR-06",
        "version": 1,
        "edition": "1.14",
        "changedOn": "2026-11-06",
        "summary": "Initial entry. Method comparison: Deming regression with a stated or replicate-estimated error ratio. Admitted with the agreement and reliability methods; the declaration is the researcher's own.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "biostatistics_analysis",
          "agreement_reliability"
        ]
      },
      {
        "ruleId": "R-CMP-AGR-06",
        "version": 2,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "agreement_reliability"
        ]
      },
      {
        "ruleId": "R-CMP-AGR-07",
        "version": 1,
        "edition": "1.27",
        "changedOn": "2026-11-13",
        "summary": "Initial entry. Factor analysis: common-factor model, parallel analysis, oblique rotation (ST-10).",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "factor_analysis"
        ]
      },
      {
        "ruleId": "R-CMP-AGR-08",
        "version": 1,
        "edition": "1.27",
        "changedOn": "2026-11-13",
        "summary": "Initial entry. Confirmatory factor analysis: declared factors with fit indices and their references (ST-10).",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "factor_analysis"
        ]
      },
      {
        "ruleId": "R-CMP-AGR-09",
        "version": 1,
        "edition": "1.27",
        "changedOn": "2026-11-13",
        "summary": "Initial entry. Measurement invariance: configural, metric and scalar models across groups (ST-10).",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "factor_analysis"
        ]
      },
      {
        "ruleId": "R-CMP-AGR-10",
        "version": 1,
        "edition": "1.27",
        "changedOn": "2026-11-13",
        "summary": "Initial entry. Composite (PLS) path model, only with a declared composite or prediction rationale (ST-10).",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "factor_analysis"
        ]
      },
      {
        "ruleId": "R-CMP-GH-01",
        "version": 1,
        "edition": "1.9",
        "changedOn": "2026-11-03",
        "summary": "Offer declared unequal-variance Games-Howell all-pairs comparisons.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "core_analysis_workflow"
        ]
      },
      {
        "ruleId": "R-CMP-GH-01",
        "version": 2,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "core_analysis_workflow"
        ]
      },
      {
        "ruleId": "R-CMP-GH-01",
        "version": 3,
        "edition": "1.30",
        "changedOn": "2026-11-20",
        "summary": "Fires only when the researcher declared Games-Howell comparisons; no tie with R-CMP-PLANNED-01.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "core_analysis_workflow"
        ]
      },
      {
        "ruleId": "R-CMP-PLANNED-01",
        "version": 1,
        "edition": "1.9",
        "changedOn": "2026-11-03",
        "summary": "Offer declared common-variance Gaussian contrasts and explicit error control.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "core_analysis_workflow"
        ]
      },
      {
        "ruleId": "R-CMP-PLANNED-01",
        "version": 2,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "core_analysis_workflow"
        ]
      },
      {
        "ruleId": "R-CMP-PLANNED-01",
        "version": 3,
        "edition": "1.30",
        "changedOn": "2026-11-20",
        "summary": "Fires only when the researcher declared common-variance comparisons; no tie with R-CMP-GH-01.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "core_analysis_workflow"
        ]
      },
      {
        "ruleId": "R-CMP-RM-01",
        "version": 1,
        "edition": "1.9",
        "changedOn": "2026-11-03",
        "summary": "Offer complete-case repeated ANOVA with unconditional Huynh-Feldt correction.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "survival_longitudinal"
        ]
      },
      {
        "ruleId": "R-CMP-RM-01",
        "version": 2,
        "edition": "1.11",
        "changedOn": "2026-11-05",
        "summary": "Add the cannot-do list (complete cases only, 3 to 6 regular visits, no Mauchly-chosen correction).",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-CMP-RM-01",
        "version": 3,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "survival_longitudinal"
        ]
      },
      {
        "ruleId": "R-COMB-JOIN-01",
        "version": 1,
        "edition": "1.17",
        "changedOn": "2026-11-07",
        "summary": "Initial entry. Measures a declared exact linkage (unmatched rows, repeated keys, observed relationship, suggested normalization) before two sources are combined.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "data_cleaning_exploration"
        ]
      },
      {
        "ruleId": "R-COMB-LINK-01",
        "version": 1,
        "edition": "1.20",
        "changedOn": "2026-11-08",
        "summary": "Initial entry. Optional probabilistic record linkage of two files without a clean key (reclin2: blocking, Fellegi-Sunter EM estimation, threshold or one-to-one selection); counts and estimates only, no merged file.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "data_cleaning_exploration"
        ]
      },
      {
        "ruleId": "R-COMB-LINK-01",
        "version": 2,
        "edition": "1.27",
        "changedOn": "2026-11-13",
        "summary": "Phonetic comparator (stringdist Soundex code), a posterior threshold grid (link_by_threshold.csv) and a linked-versus-unlinked comparison with small cells withheld (link_compare.csv); the clerical review scores with reclin2.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "data_cleaning_exploration"
        ]
      },
      {
        "ruleId": "R-COV-00",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-COV-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-COV-02",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-COV-03",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-DAG-ADJ-01",
        "version": 1,
        "edition": "1.16",
        "changedOn": "2026-11-07",
        "summary": "Initial entry. Adjustment sets, adjustment-criterion check and covariate roles from the reviewed causal diagram (dagitty), with testable implications of the diagram and Holm adjustment.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "causal_dag_development"
        ]
      },
      {
        "ruleId": "R-DAG-ADJ-01",
        "version": 2,
        "edition": "1.27",
        "changedOn": "2026-11-13",
        "summary": "Paired adjustment-set comparison refits the same primary estimator with its own covariance estimator and reports not-run reasons otherwise; no selection-weighting remedy is run; the 0.1 practical threshold is EXTRAPOLATED with the Holm-adjusted p-value as the primary signal.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "causal_dag_development"
        ]
      },
      {
        "ruleId": "R-DAG-STEPWISE-01",
        "version": 1,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Joint draft admission; no human review recorded.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "causal_dag_development"
        ]
      },
      {
        "ruleId": "R-DESC-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-DESC-01",
        "version": 2,
        "edition": "1.7",
        "changedOn": "2026-11-03",
        "summary": "Declare the explicit alternative R-DESC-PREPOST-01 while preserving the existing analysis route.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "data_cleaning_exploration"
        ]
      },
      {
        "ruleId": "R-DESC-01",
        "version": 3,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "data_cleaning_exploration"
        ]
      },
      {
        "ruleId": "R-DESC-02",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-DESC-02",
        "version": 2,
        "edition": "1.17",
        "changedOn": "2026-11-07",
        "summary": "Wording for confirmed public-survey profiles, the weight divisor and pooled surveys; two new forbidden operations (an unconfirmed profile mapping, rescaling or merging pooled surveys).",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "survey_science_analysis"
        ]
      },
      {
        "ruleId": "R-DESC-02",
        "version": 3,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "survey_science_analysis"
        ]
      },
      {
        "ruleId": "R-DESC-02",
        "version": 4,
        "edition": "1.22",
        "changedOn": "2026-11-10",
        "summary": "State the optional PHIA manual and recent RITA3 incidence companions, their distinct units and intervals, and numeric-free legacy or unsupported states.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "survey_science_analysis",
          "rita_hiv_incidence"
        ]
      },
      {
        "ruleId": "R-DESC-02",
        "version": 5,
        "edition": "1.23",
        "changedOn": "2026-11-10",
        "summary": "Tighten duplicate explanatory prose to fit the method-card size budget while preserving the two incidence estimands, intervals and unavailable states.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "survey_science_analysis",
          "rita_hiv_incidence"
        ]
      },
      {
        "ruleId": "R-DESC-02",
        "version": 6,
        "edition": "1.24",
        "changedOn": "2026-11-10",
        "summary": "Cite the approved manual exception and distinguish fixed external RITA3 calibration from diagnosis survival re-estimated in each replicate.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "survey_science_analysis",
          "rita_hiv_incidence"
        ]
      },
      {
        "ruleId": "R-DESC-PERIOD-01",
        "version": 1,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Joint draft admission; no human review recorded.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "calendar_periods"
        ]
      },
      {
        "ruleId": "R-DESC-PREPOST-01",
        "version": 1,
        "edition": "1.7",
        "changedOn": "2026-11-03",
        "summary": "Describe selected single-group paired change without attributing programme effects or separately estimating regression to the mean.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "data_cleaning_exploration"
        ]
      },
      {
        "ruleId": "R-DESC-PREPOST-01",
        "version": 2,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "data_cleaning_exploration"
        ]
      },
      {
        "ruleId": "R-DESC-SURV-CIF-01",
        "version": 1,
        "edition": "1.15",
        "changedOn": "2026-11-06",
        "summary": "Initial entry. Descriptive cumulative incidence with competing events (Aalen-Johansen), Gray test when groups exist; no model is fitted.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "survival_longitudinal"
        ]
      },
      {
        "ruleId": "R-DESC-SURV-CIF-01",
        "version": 2,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "survival_longitudinal"
        ]
      },
      {
        "ruleId": "R-DESC-SURV-KM-01",
        "version": 1,
        "edition": "1.15",
        "changedOn": "2026-11-06",
        "summary": "Initial entry. Descriptive Kaplan-Meier survival: curve, landmark survival, median and restricted mean survival time, log-rank when groups exist; no model is fitted.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "survival_longitudinal"
        ]
      },
      {
        "ruleId": "R-DESC-SURV-KM-01",
        "version": 2,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "survival_longitudinal"
        ]
      },
      {
        "ruleId": "R-DESC-WEEK-01",
        "version": 1,
        "edition": "1.17",
        "changedOn": "2026-11-07",
        "summary": "Initial entry. Counts by calendar week under a declared week-numbering scheme (MMWR epidemiological week or ISO 8601), with missing and unreadable dates reported apart.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "calendar_weeks"
        ]
      },
      {
        "ruleId": "R-DESC-WEEK-01",
        "version": 2,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "calendar_weeks"
        ]
      },
      {
        "ruleId": "R-FORM-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-INF-EQV-01",
        "version": 1,
        "edition": "1.14",
        "changedOn": "2026-11-06",
        "summary": "Initial entry. Equivalence or non-inferiority against a pre-specified margin. Admitted with a researcher-chosen one-sided alpha; the risk difference uses the Miettinen-Nurminen score interval.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "biostatistics_analysis",
          "core_analysis_workflow"
        ]
      },
      {
        "ruleId": "R-INF-EQV-01",
        "version": 2,
        "edition": "1.27",
        "changedOn": "2026-11-13",
        "summary": "Time-to-event margins admitted (Cox hazard ratio, model.equivalence_survival); researcher-chosen alpha per design; per-protocol beside intention-to-treat for non-inferiority; margin called pre-specified only when the plan-lock verdict shows no outcome display; a declared trial design leaves the independent-group route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "core_analysis_workflow"
        ]
      },
      {
        "ruleId": "R-INF-SYN-01",
        "version": 1,
        "edition": "1.15",
        "changedOn": "2026-11-06",
        "summary": "Initial entry. Random-effects pooling of study-level effects (REML or Paule-Mandel, Hartung-Knapp interval), heterogeneity, prediction interval, small-study and meta-regression sections.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "meta_analysis_synthesis"
        ]
      },
      {
        "ruleId": "R-INF-SYN-02",
        "version": 1,
        "edition": "1.15",
        "changedOn": "2026-11-06",
        "summary": "Initial entry. Bivariate random-effects model for diagnostic test accuracy (sensitivity and specificity jointly).",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "meta_analysis_synthesis"
        ]
      },
      {
        "ruleId": "R-LOC-GEO-01",
        "version": 1,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Joint draft admission; no human review recorded.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "time_spatial_validation"
        ]
      },
      {
        "ruleId": "R-MISS-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-MISS-01",
        "version": 2,
        "edition": "1.5",
        "changedOn": "2026-11-02",
        "summary": "Complete-case readiness applies to complete-case declarations.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "missing_data_measurement"
        ]
      },
      {
        "ruleId": "R-MULT-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-MULT-01",
        "version": 2,
        "edition": "1.27",
        "changedOn": "2026-11-13",
        "summary": "Holm as the default family-wise procedure for an any-of claim with its dependence assumption recorded as not yet verified; fixed-sequence or gatekeeping order when a hierarchy is declared before outcome display; graphical procedures through graphicalMCP (R-MQ-04, R-MQ-05).",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "core_analysis_workflow"
        ]
      },
      {
        "ruleId": "R-MULT-02",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-MULT-02",
        "version": 2,
        "edition": "1.27",
        "changedOn": "2026-11-13",
        "summary": "Benjamini-Hochberg valid under independence or positive regression dependence, Benjamini-Yekutieli offered under unknown dependence; an unadjusted exploratory family is labelled exploratory: not error-controlled with its counts (R-MQ-03).",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "core_analysis_workflow"
        ]
      },
      {
        "ruleId": "R-NOGUIDE",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-PRD-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-PRD-01",
        "version": 2,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "diagnostics_prediction_analysis"
        ]
      },
      {
        "ruleId": "R-PREP-LOD-01",
        "version": 1,
        "edition": "1.27",
        "changedOn": "2026-11-13",
        "summary": "Initial entry. Values below a detection limit: censored-data likelihood primary, substitution as sensitivity (R-PREP-08).",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "missing_data_measurement"
        ]
      },
      {
        "ruleId": "R-PVAL-01",
        "version": 1,
        "edition": "1.18",
        "changedOn": "2026-11-07",
        "summary": "Initial entry. Internal validation of a prespecified binary prediction model: bootstrap optimism-corrected discrimination and calibration (rms), DeLong interval for the c-statistic (pROC) and an apparent decision curve (dcurves).",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "prediction_validation"
        ]
      },
      {
        "ruleId": "R-PVAL-01",
        "version": 2,
        "edition": "1.20",
        "changedOn": "2026-11-08",
        "summary": "The minimum development sample size comes from pmsampsize (Riley et al. 2019) when the researcher declared the anticipated performance before the analysis, and is reported as not assessed otherwise.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "prediction_validation"
        ]
      },
      {
        "ruleId": "R-PWR-01",
        "version": 1,
        "edition": "1.18",
        "changedOn": "2026-11-07",
        "summary": "Initial entry. Power and required sample size for a pre-specified effect (pwr), with the planned sample size shown beside the sample analysed.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "prediction_validation"
        ]
      },
      {
        "ruleId": "R-RDS-EST-01",
        "version": 1,
        "edition": "1.27",
        "changedOn": "2026-11-12",
        "summary": "Initial entry: RDS-II and successive-sampling estimates with recruitment-aware bootstrap intervals and diagnostics (R-RDS-02 to R-RDS-05).",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "respondent_driven_sampling"
        ]
      },
      {
        "ruleId": "R-RDS-REG-01",
        "version": 1,
        "edition": "1.27",
        "changedOn": "2026-11-12",
        "summary": "Initial entry: unweighted and inverse-network-size weighted regression with seed-tree clustered standard errors (R-RDS-06).",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "respondent_driven_sampling"
        ]
      },
      {
        "ruleId": "R-ROLE-INSTRUMENT-01",
        "version": 1,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Joint draft admission; no human review recorded.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "causal_dag_development"
        ]
      },
      {
        "ruleId": "R-ROLE-UNCERTAIN-01",
        "version": 1,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Joint draft admission; no human review recorded.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "causal_dag_development"
        ]
      },
      {
        "ruleId": "R-SEL-ADJ-01",
        "version": 1,
        "edition": "1.16",
        "changedOn": "2026-11-07",
        "summary": "Initial entry. Non-probability sample adjusted to declared population margins (post-stratification, raking or linear calibration with the survey package) shown beside the unadjusted value.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "survey_science_analysis"
        ]
      },
      {
        "ruleId": "R-SENS-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-SENS-02",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-SENS-02",
        "version": 2,
        "edition": "1.6",
        "changedOn": "2026-11-03",
        "summary": "Record the implemented bounded binary response-scale interaction companions and limits.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "post_estimation_margins_interactions"
        ]
      },
      {
        "ruleId": "R-SENS-02",
        "version": 3,
        "edition": "1.7",
        "changedOn": "2026-11-03",
        "summary": "Extend binary response-scale interactions to all supported categories of a multilevel modifier; retain pointwise and reference-selection limitations.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "post_estimation_margins_interactions"
        ]
      },
      {
        "ruleId": "R-SENS-03",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-SENS-04",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-SENS-05",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-SENS-06",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-SENS-COMPOSITE",
        "version": 1,
        "edition": "1.27",
        "changedOn": "2026-11-13",
        "summary": "Initial entry. Composite endpoint reported with every component (ST-17).",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "core_analysis_workflow"
        ]
      },
      {
        "ruleId": "R-SENS-FILL-01",
        "version": 1,
        "edition": "1.15",
        "changedOn": "2026-11-06",
        "summary": "Initial entry. Labelled single-fill sensitivity analysis (mean, median, mode, indicator, carry-forward) beside the primary analysis, never in place of it.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "missing_data_measurement",
          "sensitivity_analysis"
        ]
      },
      {
        "ruleId": "R-SENS-SUBREG",
        "version": 1,
        "edition": "1.19",
        "changedOn": "2026-11-07",
        "summary": "Initial entry. Subgroup register: each registered effect modifier labelled pre-specified, registered without a stated direction, post hoc, lock evidence not available or improper from the server's plan-lock verdict, counted, shown beside the overall effect, with the ICEMAN core credibility items.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "post_estimation_margins_interactions",
          "trial_estimands"
        ]
      },
      {
        "ruleId": "R-SPAT-01",
        "version": 1,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Joint draft admission; no human review recorded.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "geography_spatial_analysis"
        ]
      },
      {
        "ruleId": "R-SPAT-01",
        "version": 2,
        "edition": "1.25",
        "changedOn": "2026-11-10",
        "summary": "An empty answer now decides that the rule does not apply (an added not_null condition). Before, the empty optional answer left the rule pending and an ordinary question received no method. The result is unchanged when the answer is present.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "geography_spatial_analysis"
        ]
      },
      {
        "ruleId": "R-SPAT-02",
        "version": 1,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Joint draft admission; no human review recorded.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "ecology_analysis"
        ]
      },
      {
        "ruleId": "R-SPAT-02",
        "version": 2,
        "edition": "1.25",
        "changedOn": "2026-11-10",
        "summary": "An empty answer now decides that the rule does not apply (an added not_null condition). Before, the empty optional answer left the rule pending and an ordinary question received no method. The result is unchanged when the answer is present.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "ecology_analysis"
        ]
      },
      {
        "ruleId": "R-SPAT-03",
        "version": 1,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Joint draft admission; no human review recorded.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "geography_spatial_analysis"
        ]
      },
      {
        "ruleId": "R-SPAT-03",
        "version": 2,
        "edition": "1.25",
        "changedOn": "2026-11-10",
        "summary": "An empty answer now decides that the rule does not apply (an added not_null condition). Before, the empty optional answer left the rule pending and an ordinary question received no method. The result is unchanged when the answer is present.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "geography_spatial_analysis"
        ]
      },
      {
        "ruleId": "R-TRD-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "R-TRD-01",
        "version": 2,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Exclude explicitly declared propensity or spatial analyses from ordinary recommendations; preserve the selected specialist route.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "quasi_experimental_designs",
          "trend_joinpoint_analysis"
        ]
      },
      {
        "ruleId": "R-TRIAL-ADJ-01",
        "version": 1,
        "edition": "1.18",
        "changedOn": "2026-11-07",
        "summary": "Initial entry. Randomised-trial comparison with stratification factors and prespecified covariates, marginal effect with HC3 delta-method interval, unadjusted result beside it, and the ICH E9(R1) estimand record.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "trial_estimands"
        ]
      },
      {
        "ruleId": "R-TRIAL-CACE-01",
        "version": 1,
        "edition": "1.18",
        "changedOn": "2026-11-07",
        "summary": "Initial entry. Complier average causal effect by two-stage least squares with random assignment as the instrument (ivreg, HC3), the weak-instrument statistic and the all-randomised comparison beside it.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "trial_estimands"
        ]
      },
      {
        "ruleId": "R-TRIAL-CLUSTER-01",
        "version": 1,
        "edition": "1.19",
        "changedOn": "2026-11-07",
        "summary": "Initial entry. Cluster-randomised trial: random-intercept linear (Kenward-Roger) or logistic mixed model, cluster-mean comparison, ICC, with the ICH E9(R1) estimand record.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "trial_estimands"
        ]
      },
      {
        "ruleId": "R-TRIAL-CROSSOVER-01",
        "version": 1,
        "edition": "1.19",
        "changedOn": "2026-11-07",
        "summary": "Initial entry. Crossover trial: within-participant mixed model with treatment and period effects; carryover is not modelled and the report says so.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "trial_estimands"
        ]
      },
      {
        "ruleId": "R-TRIAL-FACTORIAL-01",
        "version": 1,
        "edition": "1.19",
        "changedOn": "2026-11-07",
        "summary": "Initial entry. Factorial trial: lm/glm with marginaleffects main effects or simple effects and the interaction on the stated scale.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "trial_estimands"
        ]
      },
      {
        "ruleId": "R-TRIAL-SW-01",
        "version": 1,
        "edition": "1.19",
        "changedOn": "2026-11-07",
        "summary": "Initial entry. Stepped-wedge trial: mixed model with calendar period and cluster random intercept; a closed-cohort design is not modelled and the report says so.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "trial_estimands"
        ]
      },
      {
        "ruleId": "RF-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-02",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-02",
        "version": 2,
        "edition": "1.2",
        "changedOn": "2026-10-24",
        "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-02",
        "version": 3,
        "edition": "1.5",
        "changedOn": "2026-11-02",
        "summary": "Proposed survey-design refusals allow admitted design-based continuous mean routes while unsupported survey and ordinary selections remain refused.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "survey_science_analysis"
        ]
      },
      {
        "ruleId": "RF-02",
        "version": 4,
        "edition": "1.30",
        "changedOn": "2026-11-20",
        "summary": "Admits the design-based binary survey route (model.survey_risk) for rr, rd, pr and pd.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "survey_science_analysis"
        ]
      },
      {
        "ruleId": "RF-03",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-04",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-05",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-06",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-07",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-08",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-09",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-10",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-11",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-11",
        "version": 2,
        "edition": "1.15",
        "changedOn": "2026-11-06",
        "summary": "Refuse the single-value fill only outside the labelled sensitivity declaration; the primary analysis is never a single fill.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "missing_data_measurement"
        ]
      },
      {
        "ruleId": "RF-12",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-13",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-14",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-15",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-16",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-17",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-18",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-20",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-BANDS-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-BANDS-01",
        "version": 2,
        "edition": "1.6",
        "changedOn": "2026-11-03",
        "summary": "Admit exact researcher-declared numeric grouping; keep undeclared threshold form refused.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "functional_form"
        ]
      },
      {
        "ruleId": "RF-BAYES-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-BAYES-01",
        "version": 2,
        "edition": "1.2",
        "changedOn": "2026-10-24",
        "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-CAP-MI",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-CAP-MI",
        "version": 2,
        "edition": "1.5",
        "changedOn": "2026-11-02",
        "summary": "Refuse imputation unless the pooled route is selected.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "missing_data_measurement"
        ]
      },
      {
        "ruleId": "RF-CAP-MI",
        "version": 3,
        "edition": "1.10",
        "changedOn": "2026-11-04",
        "summary": "The pooled risk-ratio entry (model.multiple_imputation_rr) also resolves the gate.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "missing_data_measurement"
        ]
      },
      {
        "ruleId": "RF-CAP-MI",
        "version": 4,
        "edition": "1.11",
        "changedOn": "2026-11-05",
        "summary": "The gate reads the plan-level selected analysis (modeling.method), not the per-item request.method, so a plan whose selected analysis is a pooled route is no longer refused for its supplementary items; the message names Step 8 and Step 7.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "missing_data_measurement"
        ]
      },
      {
        "ruleId": "RF-CAP-MI",
        "version": 5,
        "edition": "1.12",
        "changedOn": "2026-11-05",
        "summary": "Wording only. The title names the gate (an imputation plan needs a multiple-imputation method); the message says the model is fitted in each imputed dataset and combined with Rubin's rules, points to the Step 2 strategy and Step 8 method, and says other candidates are not offered under an imputation plan.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "missing_data_measurement"
        ]
      },
      {
        "ruleId": "RF-CAP-MI",
        "version": 6,
        "edition": "1.13",
        "changedOn": "2026-11-06",
        "summary": "The expert reason says separation stops the maximum-likelihood multiple-imputation fit and the sparse route fits a Firth-type penalized model in each imputed dataset.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "missing_data_measurement"
        ]
      },
      {
        "ruleId": "RF-CAU-POSTASSIGN",
        "version": 1,
        "edition": "1.21",
        "changedOn": "2026-11-10",
        "summary": "Joint draft admission; no human review recorded.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "causal_inference"
        ]
      },
      {
        "ruleId": "RF-CAU-POSTASSIGN",
        "version": 2,
        "edition": "1.25",
        "changedOn": "2026-11-10",
        "summary": "An empty answer now decides that the rule does not apply (an added not_null condition). Before, the empty optional answer left the rule pending and an ordinary question received no method. The result is unchanged when the answer is present.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "causal_inference"
        ]
      },
      {
        "ruleId": "RF-CLUSTER-COX",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-CLUSTER-COX",
        "version": 2,
        "edition": "1.2",
        "changedOn": "2026-10-24",
        "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-CLUSTER-FIRTH",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-CLUSTER-FIRTH",
        "version": 2,
        "edition": "1.2",
        "changedOn": "2026-10-24",
        "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-CLUSTER-ORDINAL",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-CLUSTER-ORDINAL",
        "version": 2,
        "edition": "1.2",
        "changedOn": "2026-10-24",
        "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-CLUSTER-POISSON",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-CLUSTER-POISSON",
        "version": 2,
        "edition": "1.2",
        "changedOn": "2026-10-24",
        "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-CLUSTER-RR",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-CLUSTER-RR",
        "version": 2,
        "edition": "1.2",
        "changedOn": "2026-10-24",
        "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-CLUSTER-STD",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-CLUSTER-STD",
        "version": 2,
        "edition": "1.2",
        "changedOn": "2026-10-24",
        "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-CLUSTER-TEST",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-CLUSTER-TEST",
        "version": 2,
        "edition": "1.2",
        "changedOn": "2026-10-24",
        "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-CMP-DEP-ROUTE",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-CMP-DEP-ROUTE",
        "version": 2,
        "edition": "1.25",
        "changedOn": "2026-11-10",
        "summary": "A declared randomised trial design (cluster, crossover, stepped wedge or factorial) with a continuous or binary outcome and no survey weights is a route that carries the design (R-TRIAL rules, model.trial_design), so the comparison goal is no longer refused for it.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "core_analysis_workflow"
        ]
      },
      {
        "ruleId": "RF-CRT-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-CUTPOINT-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-DEP-UNIT",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-DEP-UNIT",
        "version": 2,
        "edition": "1.2",
        "changedOn": "2026-10-24",
        "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-DESIGN-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-DESIGN-01",
        "version": 2,
        "edition": "1.2",
        "changedOn": "2026-10-24",
        "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-DESIGN-02",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-EFF-DESIGN",
        "version": 1,
        "edition": "1.5",
        "changedOn": "2026-11-02",
        "summary": "Proposed hard refusal for unsupported ordinary effect models under survey or repeated-row designs.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "core_analysis_workflow",
          "survival_longitudinal"
        ]
      },
      {
        "ruleId": "RF-EM-ENDPOINT",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-EM-ESTIMAND-UNANSWERED",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-EM-FAMILY",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-EM-SCALE-TARGET",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-FILL-BASELINE-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-FILL-BASELINE-01",
        "version": 2,
        "edition": "1.2",
        "changedOn": "2026-10-24",
        "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-FILL-BASELINE-01",
        "version": 3,
        "edition": "1.15",
        "changedOn": "2026-11-06",
        "summary": "The baseline-covariate fill is admitted only as a labelled sensitivity analysis (R-SENS-FILL-01); as a primary analysis it stays refused.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "missing_data_measurement"
        ]
      },
      {
        "ruleId": "RF-FISHER-DEFAULT-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-FORM-MIXED",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-FORM-MIXED",
        "version": 2,
        "edition": "1.2",
        "changedOn": "2026-10-24",
        "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-FORM-MIXED",
        "version": 3,
        "edition": "1.30",
        "changedOn": "2026-11-20",
        "summary": "Also refuses a recorded spline with the generalized linear mixed model (binary and count outcomes).",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "functional_form"
        ]
      },
      {
        "ruleId": "RF-IC-DESIGN",
        "version": 1,
        "edition": "1.5",
        "changedOn": "2026-11-02",
        "summary": "Proposed refusal for interval-censored designs outside the supported independent-subject scope.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "core_analysis_workflow",
          "survival_longitudinal"
        ]
      },
      {
        "ruleId": "RF-IC-DESIGN",
        "version": 2,
        "edition": "1.29",
        "changedOn": "2026-11-20",
        "summary": "The trigger reads modeling.templateId not_null first, so a plan with no method chosen decides the trigger false and is not reported at Run as a refusal that could not be decided.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "survival_longitudinal"
        ]
      },
      {
        "ruleId": "RF-LOCF-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-LOCF-01",
        "version": 2,
        "edition": "1.15",
        "changedOn": "2026-11-06",
        "summary": "Carry-forward as a labelled sensitivity analysis is admitted (R-SENS-FILL-01); as the primary analysis it stays refused.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "missing_data_measurement"
        ]
      },
      {
        "ruleId": "RF-METHOD-UNKNOWN",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-NB-THETA-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-NEST-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-NEST-02",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-NEST-02",
        "version": 2,
        "edition": "1.2",
        "changedOn": "2026-10-24",
        "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-ONESIDED-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-ONESIDED-01",
        "version": 2,
        "edition": "1.2",
        "changedOn": "2026-10-24",
        "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-PLAN-09",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-RDS-SNOWBALL",
        "version": 1,
        "edition": "1.27",
        "changedOn": "2026-11-12",
        "summary": "Initial entry: refuse population estimates from snowball and time-location samples without attendance frequencies (E-153).",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "respondent_driven_sampling"
        ]
      },
      {
        "ruleId": "RF-RDS-SRS",
        "version": 1,
        "edition": "1.27",
        "changedOn": "2026-11-12",
        "summary": "Initial entry: refuse simple-random-sampling standard errors for RDS population estimates (E-149).",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "respondent_driven_sampling"
        ]
      },
      {
        "ruleId": "RF-RDS-SS-NO-N",
        "version": 1,
        "edition": "1.27",
        "changedOn": "2026-11-12",
        "summary": "Initial entry: refuse successive sampling without a declared population size or range (E-150).",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "respondent_driven_sampling"
        ]
      },
      {
        "ruleId": "RF-RR-CC",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-RR-FOLLOWUP",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-SCOPE-ECON",
        "version": 1,
        "edition": "1.4",
        "changedOn": "2026-11-02",
        "summary": "Initial retained entry for the existing reviewed study-intake and pilot implementation.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-SCOPE-ECON",
        "version": 2,
        "edition": "1.29",
        "changedOn": "2026-11-20",
        "summary": "Wording of the second alternative. It states that Safi does not run decision-analytic economic evaluation, and no longer names a later release. The refusal is unchanged.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "health_economics_analysis"
        ]
      },
      {
        "ruleId": "RF-SCOPE-QUAL",
        "version": 1,
        "edition": "1.4",
        "changedOn": "2026-11-02",
        "summary": "Initial retained entry for the existing reviewed study-intake and pilot implementation.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-SEP-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-STD-TARGET",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-SUB-IMPROPER",
        "version": 1,
        "edition": "1.18",
        "changedOn": "2026-11-07",
        "summary": "Initial entry. Refuses effect wording within a modifier measured after randomisation or defined by the outcome (improper subgroup).",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "trial_estimands"
        ]
      },
      {
        "ruleId": "RF-SURV-DESIGN",
        "version": 1,
        "edition": "1.5",
        "changedOn": "2026-11-02",
        "summary": "Proposed refusal for survival designs outside supported scope.",
        "signal": null,
        "decision": null,
        "sourceIds": [
          "core_analysis_workflow",
          "survival_longitudinal"
        ]
      },
      {
        "ruleId": "RF-SURV-DESIGN",
        "version": 2,
        "edition": "1.29",
        "changedOn": "2026-11-20",
        "summary": "The trigger reads modeling.templateId not_null first, so a plan with no method chosen decides the trigger false and is not reported at Run as a refusal that could not be decided.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "survival_longitudinal"
        ]
      },
      {
        "ruleId": "RF-TRD-NOTIME",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-VIEW-01",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-VIEW-01",
        "version": 2,
        "edition": "1.2",
        "changedOn": "2026-10-24",
        "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-VIEW-02",
        "version": 1,
        "edition": "1.0",
        "changedOn": null,
        "summary": "Initial entry. The rule as it stands in rule-set edition 1.0.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-VIEW-02",
        "version": 2,
        "edition": "1.2",
        "changedOn": "2026-10-24",
        "summary": "State the actual trigger in the structured refusal explanation; evaluation is unchanged.",
        "signal": null,
        "decision": null,
        "sourceIds": []
      },
      {
        "ruleId": "RF-VIEW-02",
        "version": 3,
        "edition": "1.30",
        "changedOn": "2026-11-20",
        "summary": "The GEE and generalized linear mixed routes model the person; a compare goal with a binary or count outcome and the person as the cluster is no longer refused before a method is chosen.",
        "signal": "definitional_problem",
        "decision": "revise",
        "sourceIds": [
          "publication_informed_analysis_planning",
          "survival_longitudinal"
        ]
      }
    ],
    "edition": [
      {
        "ruleId": "R-ASC-TWOPART-01",
        "fromVersion": null,
        "toVersion": 1,
        "signal": "definitional_problem",
        "sourceIds": [
          "model_assumptions",
          "core_analysis_workflow"
        ],
        "decision": "revise",
        "testsChanged": [
          "orchestrator/tests/test_two_part_route_draft.py"
        ]
      },
      {
        "ruleId": "R-ASC-01",
        "fromVersion": 7,
        "toVersion": 8,
        "signal": "definitional_problem",
        "sourceIds": [
          "model_assumptions",
          "core_analysis_workflow"
        ],
        "decision": "revise",
        "testsChanged": [
          "orchestrator/tests/test_two_part_route_draft.py"
        ]
      },
      {
        "ruleId": "fields.yaml",
        "fromVersion": null,
        "toVersion": null,
        "signal": "definitional_problem",
        "sourceIds": [
          "model_assumptions",
          "core_analysis_workflow"
        ],
        "decision": "revise",
        "testsChanged": [
          "orchestrator/tests/test_two_part_route_draft.py"
        ]
      }
    ]
  },
  "challenges": [],
  "conflictResolutions": [
    {
      "id": "CONF-01",
      "section": "1.6",
      "label": "Significance stars and \"statistically significant\" labels",
      "eCodes": [],
      "ruleIds": [],
      "choice": "Report estimate and interval always; exact p-values; stars off by default and available only where the active style preset permits them (6.13, GS-07; STY-AEA forbids them, JD-02); never label without the estimate (Q-STARS)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-02",
      "section": "1.6",
      "label": "Multiplicity adjustment",
      "eCodes": [
        "E-063"
      ],
      "ruleIds": [
        "G-MULT-01",
        "R-CMP-GH-01",
        "R-CMP-PLANNED-01",
        "R-MULT-01",
        "R-MULT-02"
      ],
      "choice": "Decided by declared claim structure (E-063)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-03",
      "section": "1.6",
      "label": "Pseudoreplication strictness (ecology)",
      "eCodes": [
        "E-007"
      ],
      "ruleIds": [
        "G-REPL-01"
      ],
      "choice": "Declare experimental unit; model to that unit; unreplicated treatments allowed with explicit scope warning (E-007)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-04",
      "section": "1.6",
      "label": "Mean separation / LSD letters (agriculture)",
      "eCodes": [
        "E-078"
      ],
      "ruleIds": [],
      "choice": "Planned contrasts/trends default; adjusted pairwise for unstructured; LSD only labelled \"unadjusted, exploratory\" (E-078; Q-LETTERS)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-05",
      "section": "1.6",
      "label": "Alpha vs omega",
      "eCodes": [
        "E-058"
      ],
      "ruleIds": [
        "R-CMP-AGR-02"
      ],
      "choice": "Report omega with model fit and alpha alongside; check alpha's conditions (E-058)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-06",
      "section": "1.6",
      "label": "PLS-SEM vs covariance SEM",
      "eCodes": [
        "E-080"
      ],
      "ruleIds": [
        "R-CMP-AGR-10"
      ],
      "choice": "Follow the declared measurement model; PLS only for declared composite/prediction purposes (E-080; Q-PLS)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-07",
      "section": "1.6",
      "label": "TWFE for staggered DiD",
      "eCodes": [
        "E-049"
      ],
      "ruleIds": [
        "P-GOAL-01"
      ],
      "choice": "Run heterogeneity-robust estimators alongside TWFE and show both (E-049; Q-TWFE)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-08",
      "section": "1.6",
      "label": "Weighting in regression",
      "eCodes": [
        "E-009"
      ],
      "ruleIds": [
        "R-ASC-SURVEY-01",
        "R-ASC-SURVEY-02",
        "R-ASC-SURVEY-RISK-01",
        "R-DESC-02",
        "RF-02",
        "RF-STD-TARGET"
      ],
      "choice": "Purpose decides; descriptive → design-based; causal → user choice with both run (E-009)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-09",
      "section": "1.6",
      "label": "5σ discovery threshold",
      "eCodes": [
        "E-081"
      ],
      "ruleIds": [],
      "choice": "User-set with local and global significance reported (E-081)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-10",
      "section": "1.6",
      "label": "Taguchi S/N analysis",
      "eCodes": [
        "E-082"
      ],
      "ruleIds": [],
      "choice": "Model location and dispersion; S/N secondary with warning (E-082)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-11",
      "section": "1.6",
      "label": "Bar graphs with SE",
      "eCodes": [
        "E-087"
      ],
      "ruleIds": [],
      "choice": "Show data points by default when n per group is small; bars allowed with labelled intervals (E-087)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-12",
      "section": "1.6",
      "label": "GEE vs mixed models",
      "eCodes": [
        "E-012"
      ],
      "ruleIds": [],
      "choice": "Estimand decides; user states it (E-012)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-13",
      "section": "1.6",
      "label": "Causal language bans in observational research",
      "eCodes": [
        "E-108"
      ],
      "ruleIds": [],
      "choice": "Require explicit estimand and assumptions; wording calibrated to design (E-108)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-14",
      "section": "1.6",
      "label": "Representativeness of samples",
      "eCodes": [
        "E-004",
        "E-144"
      ],
      "ruleIds": [
        "G-SAMP-UNKNOWN",
        "R-SEL-ADJ-01"
      ],
      "choice": "Estimand decides (CONTESTED): population descriptions need probability selection or an adjustment with unchecked assumptions and sensitivity (R-SEL-02, R-SEL-05); within-sample comparisons run normally (R-SEL-03); population effect claims need transport (R-SEL-08) (E-144, E-004)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-15",
      "section": "1.6",
      "label": "RDS variance and design effect",
      "eCodes": [
        "E-149"
      ],
      "ruleIds": [
        "R-RDS-EST-01",
        "RF-RDS-SRS"
      ],
      "choice": "CONTESTED. A recruitment-aware bootstrap is required, named with its interval type, and the design effect is reported; the default method is Q-RDS-VAR (E-149)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-16",
      "section": "1.6",
      "label": "Weighting in RDS regression",
      "eCodes": [
        "E-152"
      ],
      "ruleIds": [
        "R-RDS-REG-01"
      ],
      "choice": "CONTESTED. Both shown, unweighted first, recruitment dependence handled (R-RDS-06; E-152)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-17",
      "section": "1.6",
      "label": "Complete-case analysis as primary (TC-007)",
      "eCodes": [
        "E-052"
      ],
      "ruleIds": [
        "G-MISS-01",
        "R-ASC-GAM-01",
        "R-ASC-MI-01",
        "R-ASC-MI-02",
        "R-MISS-01"
      ],
      "choice": "Primary method set by the estimand and the declared missingness assumption (R-BIAS-01 as changed): complete case is primary only for conditional regression coefficients of the analysis model when completeness is declared independent of the outcome given its covariates; for marginal or descriptive estimands MAR-based analysis or weighting stays primary; the other approach runs as sensitivity (E-052)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-18",
      "section": "1.6",
      "label": "Penalised regression in small development samples (TC-007)",
      "eCodes": [
        "E-077"
      ],
      "ruleIds": [
        "RF-09"
      ],
      "choice": "Penalised estimation recommended only when the minimum sample size is met; below it, the shortfall is shown and fewer candidate parameters or more data are recommended (E-077, R-INF-08)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-19",
      "section": "1.6",
      "label": "Backward elimination for explanatory models (TC-007)",
      "eCodes": [
        "E-077"
      ],
      "ruleIds": [
        "RF-09"
      ],
      "choice": "Allowed with stability output when the declared purpose is description/explanation and the events-per-parameter ratio is large; warned otherwise (E-077)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-20",
      "section": "1.6",
      "label": "Hartung–Knapp–Sidik–Jonkman with very few studies (TC-007)",
      "eCodes": [
        "E-194"
      ],
      "ruleIds": [],
      "choice": "REML + HKSJ default with the DL/Wald result as sensitivity and a caveat when k < 5 (E-194)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-21",
      "section": "1.6",
      "label": "Substitution for values below a limit of detection (TC-007)",
      "eCodes": [
        "E-183"
      ],
      "ruleIds": [
        "G-PREP-LOD-01",
        "R-PREP-LOD-01"
      ],
      "choice": "Censored-data method primary; substitution as sensitivity; substitution primary only with justification at ≤ 10% censored (ASSUMPTION threshold; Q-LOD; E-183)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-22",
      "section": "1.6",
      "label": "Missing-indicator method in prediction models (TC-007)",
      "eCodes": [
        "E-159"
      ],
      "ruleIds": [
        "R-SENS-FILL-01"
      ],
      "choice": "Purpose decides: biased for confounders (block, non-randomised); valid for RCT baseline covariates; for prediction, class d with an MI-based model as comparison (E-159)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-23",
      "section": "1.6",
      "label": "Sum scores vs measurement-model scores (TC-007)",
      "eCodes": [
        "E-058"
      ],
      "ruleIds": [
        "R-CMP-AGR-02"
      ],
      "choice": "Sum scores allowed; dimensionality and reliability checks shown (E-058, R-BIAS-07)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-24",
      "section": "1.6",
      "label": "Single ordinal items analysed as metric (TC-007)",
      "eCodes": [
        "E-187"
      ],
      "ruleIds": [
        "R-ASC-06"
      ],
      "choice": "Ordinal (cumulative-link) model recommended for single items with few categories; metric shown alongside (E-187)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-25",
      "section": "1.6",
      "label": "Cohen's kappa vs Gwet's AC1 (TC-007)",
      "eCodes": [
        "E-186"
      ],
      "ruleIds": [
        "R-CMP-AGR-01"
      ],
      "choice": "Agreement table, observed and specific agreement and kappa with CI always; AC1 shown as alternative (E-186)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-26",
      "section": "1.6",
      "label": "Maximal vs parsimonious random effects (TC-007)",
      "eCodes": [
        "E-175"
      ],
      "ruleIds": [],
      "choice": "Structure implied by the design is the default with a pre-specified simplification rule; intercept-only shown as sensitivity (E-175)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-27",
      "section": "1.6",
      "label": "Net reclassification index (TC-007)",
      "eCodes": [
        "E-171"
      ],
      "ruleIds": [],
      "choice": "Shown only with event/non-event components beside calibration, discrimination and net benefit changes; never alone (E-171)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-28",
      "section": "1.6",
      "label": "Gain score vs ANCOVA in non-randomised pre–post comparisons (TC-007)",
      "eCodes": [
        "E-066"
      ],
      "ruleIds": [],
      "choice": "Both shown with their assumptions; user chooses; choice recorded (E-066 as changed)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-29",
      "section": "1.6",
      "label": "Fixed vs random effects in panels (TC-007)",
      "eCodes": [
        "E-198"
      ],
      "ruleIds": [],
      "choice": "Estimand first; within–between model recommended; no automatic choice by Hausman test (E-198)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-30",
      "section": "1.6",
      "label": "Imperfect detection in occupancy surveys (TC-007)",
      "eCodes": [
        "E-200"
      ],
      "ruleIds": [],
      "choice": "Occupancy model when repeat visits exist, naive estimate shown with its assumption (E-200)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-31",
      "section": "1.6",
      "label": "Factorial trial estimands (TC-007)",
      "eCodes": [
        "E-179"
      ],
      "ruleIds": [
        "R-TRIAL-FACTORIAL-01"
      ],
      "choice": "Estimand elicited; interaction estimate always reported; no analysis switching by interaction test (E-179)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-32",
      "section": "1.6",
      "label": "Linear probability model vs logit/probit for binary outcomes (economics vs other social sciences)",
      "eCodes": [],
      "ruleIds": [],
      "choice": "CONTESTED. Logit or probit with average marginal effects by default; linear probability model with HC3 as a labelled sensitivity analysis in the economics profile; predictions outside 0–1 flagged (Q-FIT-DEFAULTS)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-33",
      "section": "1.6",
      "label": "Log-transformed linear models vs count GLMs (ecology)",
      "eCodes": [
        "E-075",
        "E-208"
      ],
      "ruleIds": [
        "G-CNT-01",
        "R-ASC-04",
        "R-ASC-05",
        "R-ASC-11",
        "R-SENS-05",
        "RF-18"
      ],
      "choice": "CONTESTED. Count GLM primary, with a simulation- or resampling-based error check when n is small or unbalanced (joint position of both camps, MF-405); log-linear model as a sensitivity analysis with its estimand (mean of log counts) stated (E-075, E-208)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-34",
      "section": "1.6",
      "label": "Transformation plus ANOVA vs GLMM for non-normal agricultural data",
      "eCodes": [],
      "ruleIds": [],
      "choice": "CONTESTED. Continuous yields: transformation allowed with the estimand stated; counts, binomial and percentage data: GLMM or beta regression first (6.9)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-35",
      "section": "1.6",
      "label": "Robust (sandwich) SE by default vs as a diagnostic",
      "eCodes": [],
      "ruleIds": [],
      "choice": "CONTESTED. HC3 primary where heteroscedasticity is plausible; divergence shown as a prompt to check the mean model, not as a test (R-FIT-16)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-36",
      "section": "1.6",
      "label": "Testing proportional hazards",
      "eCodes": [],
      "ruleIds": [],
      "choice": "CONTESTED. No test gates the analysis; scaled Schoenfeld plots always shown; RMST pre-specified (R-BIAS-03, R-FIT-04)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-37",
      "section": "1.6",
      "label": "Formal normality and equal-variance tests",
      "eCodes": [],
      "ruleIds": [],
      "choice": "CONTESTED. Plots by default; tests on request, labelled with their sample-size behaviour, never a switch (R-FIT-03, R-FIT-04)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-38",
      "section": "1.6",
      "label": "Blood-pressure categories",
      "eCodes": [],
      "ruleIds": [],
      "choice": "Both valid standards. The user selects the guideline and version; recorded; sensitivity under another standard offered; no silent default (R-FIT-12; Q-BP-DEFAULT)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-39",
      "section": "1.6",
      "label": "Box–Cox transformation with a data-chosen λ",
      "eCodes": [],
      "ruleIds": [],
      "choice": "CONTESTED. Box–Cox only as a diagnostic to choose among interpretable scales (log, square root, reciprocal, none); the data-driven choice is disclosed (R-FIT-13)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-40",
      "section": "1.6",
      "label": "Odds ratios from logistic regression as the reported effect (health cross-sectional and cohort studies; social-science logit)",
      "eCodes": [
        "E-215"
      ],
      "ruleIds": [
        "G-CC-CASE-BASE",
        "G-CC-RISK-SET",
        "G-CC-SAMPLING",
        "G-EFF-01",
        "R-ASC-02",
        "R-ASC-03",
        "R-ASC-08",
        "R-ASC-12",
        "RF-RR-CC"
      ],
      "choice": "PR/RR and RD (health) or AMEs (social sciences) primary by rule; OR shown labelled beside them; OR primary for case-control data or with a recorded reason (E-215; Q-MEASURE)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-41",
      "section": "1.6",
      "label": "Scale of interaction",
      "eCodes": [
        "E-216"
      ],
      "ruleIds": [
        "R-SENS-02",
        "RF-16"
      ],
      "choice": "Both scales reported for binary, count and time-to-event outcomes when effect modification is examined; the claim names its scale (E-216; Q-ADDITIVE)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-42",
      "section": "1.6",
      "label": "Choosing covariates by statistical criteria",
      "eCodes": [
        "E-223"
      ],
      "ruleIds": [
        "R-DAG-STEPWISE-01",
        "RF-09"
      ],
      "choice": "Roles first; data-driven selection allowed only as a labelled supplementary analysis (E-223)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-43",
      "section": "1.6",
      "label": "Does statistician input improve research? (CONTESTED)",
      "eCodes": [],
      "ruleIds": [],
      "choice": "The specification claims no quality gain from this evidence; it measures equivalence to expert statisticians (1.7; M-CON-01–M-CON-04)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-44",
      "section": "1.6",
      "label": "Rule update cadence (CONTESTED)",
      "eCodes": [],
      "ruleIds": [],
      "choice": "Continuous surveillance, rule-level decisions, batched versioned editions (1.9; R-LIT-10; Q-CADENCE)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-45",
      "section": "1.6",
      "label": "When to adjust for multiplicity (CONTESTED; refines the \"Multiplicity adjustment\" row)",
      "eCodes": [],
      "ruleIds": [],
      "choice": "Claim type decides: \"any of\" confirmatory → family-wise control; \"all of\" → no alpha adjustment, power note; \"each separately\" → none, per-comparison error stated; exploratory → count of tests shown, false-discovery control offered (R-MQ-03; Q-MULT-DEFAULTS)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-46",
      "section": "1.6",
      "label": "Scale of effect modification (CONTESTED)",
      "eCodes": [],
      "ruleIds": [],
      "choice": "Both scales for binary and time-to-event outcomes, with a scale statement (R-SUB-03)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-47",
      "section": "1.6",
      "label": "Interaction p-value as the gate for subgroup claims (CONTESTED)",
      "eCodes": [],
      "ruleIds": [],
      "choice": "Interaction estimate always shown; credibility table; no single gate (R-SUB-06)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-48",
      "section": "1.6",
      "label": "Adjusting for a pre-exposure collider (M-bias) (CONTESTED)",
      "eCodes": [],
      "ruleIds": [],
      "choice": "Diagram-derived sets. A pre-exposure collider that is not a confounder is not adjusted by default, and the adjusted estimate is shown as sensitivity; when a variable is both collider and confounder, both estimates are shown (R-DAG-04, R-DAG-10)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-49",
      "section": "1.6",
      "label": "Optional stopping with Bayes factors (CONTESTED)",
      "eCodes": [],
      "ruleIds": [],
      "choice": "Data-dependent stopping logged and disclosed unless the rule was declared first (R-PLAN-10; Q-BF-STOP)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-50",
      "section": "1.6",
      "label": "Multiverse and specification curves (CONTESTED)",
      "eCodes": [
        "E-244"
      ],
      "ruleIds": [],
      "choice": "Specifications tagged equivalent / non-equivalent / uncertain; only equivalent ones form the headline (R-ROB-05; E-244)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-51",
      "section": "1.6",
      "label": "Journal number rules that land a displayed p value on the significance threshold or a rounded interval bound on the null value",
      "eCodes": [],
      "ruleIds": [],
      "choice": "Guards GS-02 and GS-03 add the digits needed (6.13.3); the conflict is shown and recorded (REC-28); no override in release 1 (Q-STY-GUARD, decided by the owner on 2026-10-12; revisiting overrides stays open)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-52",
      "section": "1.6",
      "label": "Dash between interval limits",
      "eCodes": [],
      "ruleIds": [],
      "choice": "Dash kept for non-negative bounds; \"to\" whenever a bound is negative (GS-04)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    },
    {
      "id": "CONF-53",
      "section": "1.6",
      "label": "P values for secondary end points without a multiplicity plan",
      "eCodes": [
        "E-063"
      ],
      "ruleIds": [
        "G-MULT-01",
        "R-CMP-GH-01",
        "R-CMP-PLANNED-01",
        "R-MULT-01",
        "R-MULT-02"
      ],
      "choice": "Per preset; stored P values stay in the store and the package, and the number of tests is still disclosed (E-063)",
      "reviewState": "not_yet_reviewed",
      "reviewers": []
    }
  ],
  "surveillanceLog": []
}
