Troubleshooting
Troubleshoot composite index construction — Global Impact Catalyst
Troubleshoot composite index construction — Global Impact Catalyst Application: Global Impact Catalyst Status: Substantive initial guide; implementation and exact controls not yet certified. Signs of trouble Composite index constr
Application: Global Impact Catalyst
Component: Indicator Registry / Analysis — composite-index methodology
Article type: Troubleshooting
Source-reviewed application version: 2.0.0 (commit e75808a0aa272656b1fdbacd2491c30fd6b987dc)
Reviewed related components: Indicator Registry 1.4.0; Analysis 1.7.0
Last verified installed version for composite-index construction: Not established
Validation status: Source-informed guidance and synthetic offline tests; staging and independent scientific acceptance pending
Updated: 26 November 2026
Estimated reading time: 19–23 minutes
Overview. A composite score may be numerically reproducible yet misleading if its inputs use incompatible populations, reversed indicator directions, unstable normalization ranges, arbitrary weights, inappropriate imputation, or an aggregation rule that conceals serious underperformance. This guide traces defects from raw observations to published interpretation, distinguishes calculation failures from scientific disagreements, and gives analysts an evidence-preserving recovery procedure. It does not assume that a named composite-index editor, API endpoint, or public dashboard exists in an installed GIC release.
Goal
Find and correct the earliest unsupported step in a composite-index calculation without changing the evidence to fit an expected score. The acceptance criterion is that an independent analyst can reconstruct every output from the exact source records, locked indicator definitions, direction and normalization rules, weights, aggregation function, missing-value policy, and versioned calculations; the report must still disclose sensitivity, validity limitations, and authorization status.
Separate three decisions: integrity (were the records and transformations preserved?), reproducibility (does independent recalculation agree?), and scientific adequacy (does the chosen index plausibly measure the proposed construct?). None automatically implies the next.
Requirements
- An authorized workspace and initiative, immutable input snapshot or source-version IDs, and the analyst’s permitted scope; use a non-identifying fixture when access is restricted.
- Indicator register describing definitions, units, directions, target population, time periods, geographic coverage, data provenance, quality profile, and revision or definition hash.
- A versioned method specification: missing-value treatment, goalposts or reference distribution, normalization, whether outliers are capped, weights and their rationale, aggregation formula, rounding, ties, and score direction.
- The originally reported scores, ranks and publication status; an independent calculator and a comparison tolerance set before investigation.
- Incident record with symptom, impact, permission boundary, first failing stage, evidence hashes, repair owner, and reviewer; access to release and rollback procedures where applicable.
Do not use production participant-level data in a public reproduction. Obtain separate permission before distributing derived or de-identified files; pseudonymization alone is not a license to publish.
Symptoms
| Observed symptom | Likely first check | Risk |
|---|---|---|
| Same input yields a different composite score | Source revision, normalization goalposts, formula version, rounding order and deterministic sort | Reproducibility failure |
| “Good” values lower the score or “bad” values raise it | Indicator direction, unit transformation and reversed min–max formula | Incorrect interpretation |
| Rank changes sharply after a minor method adjustment | Weights, aggregation and zero/near-zero components; report rank ranges | Method-dependent conclusion |
| A country/site disappears or becomes zero | Missingness, exclusion rule, wrong join key, duplicate, or zero substituted for missing | Coverage distortion |
| Weights appear valid but total contribution exceeds 100% | Weight sum, indicator duplication, nested dimension weights and denominator | Arithmetic or model specification defect |
| Geometric aggregation fails | Zero or negative normalized component; domain rule, not a cache defect | Undefined result |
| Index is displayed as verified or public unexpectedly | Review approvals, release hash, tenant permissions and publication transition | Governance/privacy incident |
Cause
Diagnose cause at the first mismatching stage, not from the final chart alone. The following categories are distinct and may coexist:
- Source and selection: incorrect workspace or period; revised or superseded observations; conflicting site IDs; reused historical data with a changed population; joins that multiply rows; stale source versions; missing values silently replaced with zero.
- Indicator and unit design: percent used as a fraction (60 versus 0.60); PM₂.₅ values expressed in different units; a lower-is-better variable incorrectly oriented; double-counted correlated indicators; an ambiguous construct without theoretical justification.
- Normalization: changed min–max reference ranges across reporting years; dynamic sample goalposts generating artificial movements; undocumented winsorization or clipping; reversed formula; an out-of-range value that should be flagged instead of concealed.
- Weight and aggregation: weights not summing to one; dimension-level and indicator-level weights compounded incorrectly; arithmetic compensation masking a weak dimension; geometric mean applied to zero or negative normalized inputs; rounding before ranking.
- Evaluation and governance: results from a prior calculation displayed after a revision; expected formula or source hash not bound to report; workflow success treated as scientific approval; restricted records exposed through an export or public response.
Root-cause rule: preserve the original result, compare raw input snapshot → eligible observations → normalized variables → weighted components → aggregate score → rank → published output, and mark the first point of divergence. A change in rank under a legitimate alternative method is a sensitivity finding, not automatically a software defect.
Severity and containment
| Level | Examples | Immediate action |
|---|---|---|
| Critical | Restricted records exposed; unapproved public release; cross-tenant data in a package | Restrict delivery and public access using authorized controls, preserve evidence, notify privacy/security owner; do not copy sensitive payloads into tickets |
| High | Material score error in a published decision, inverted indicator direction, false assurance wording | Pause or label the affected claim, preserve old snapshot, initiate governed correction/withdrawal workflow |
| Moderate | Non-public analytical mismatch, missing component, unstable rank | Hold promotion; reproduce on approved or synthetic data; document alternative methods |
| Low | Rounding or display mismatch within a prespecified tolerance | Check raw values and presentation policy; document if no substantive impact |
Do not delete source history, silently overwrite records, or downgrade a privacy incident into a numerical investigation.
Source-reviewed Global Impact Catalyst boundary
The reviewed GIC registry implementation exposes register_indicator_definition(...), immutable definition versions, formula metadata, declared direction, and AGGREGATION_METHODS including weighted_mean. The reviewed analysis module includes comparison sets, scenarios, uncertainty and sensitivity functions. These support parts of a governed indicator workflow, but do not establish a dedicated end-to-end composite-index executor or a verified user interface. Do not invent a REST route, shortcode, export button, feature flag, or plugin setting from this article.
The Indicator Registry documentation distinguishes versioned definitions from claims in an initiative contract. Inspect actual deployment and installed code before asserting any specific behavior; registry consistency checks do not certify a scientific indicator. Treat the v2.0.0 release-source note as source context, not evidence of the version currently deployed.
Troubleshooting
- Freeze the case. Record record/initiative IDs, analysis or report revision, extraction time, source hashes, published value, audience, decision status, and authorization scope. Make the reproduction read-only.
- Reconcile selection. Compare counts, country/site codes, measurement windows, supersession rules, duplicates, and exclusions against the declared population. Preserve missingness flags.
- Inspect component definitions. Match each name to the exact versioned unit, direction, measurement or numerator/denominator, reference bounds, and value type.
- Recreate normalization independently. Use unrounded input values. Check direction and boundary policy; fail explicitly on unsupported or unbounded values.
- Audit weighting and aggregation. Verify nonnegative weights sum to 1, compare weighted components, and test arithmetic and geometric formulas only where their assumptions are valid.
- Recalculate rank and sensitivity. Hold the data fixed while changing one assumption at a time; separately test combined plausible alternatives and document reversals.
- Reconcile output and publication. Compare report JSON and rendered values to the calculation snapshot; check privacy, source version and approval state. Escalate if any stage lacks traceability.
Check source identity, revisions and missing records
Use a data inventory with fields source_id, source_version_id, indicator_definition_version_id, entity_id, period, value, unit, data_state and exclusion_reason. Confirm each belongs to the intended workspace and source permissions. A dataset that appears complete may still be incomplete for a multi-dimensional index if any component is absent for one entity.
Differentiate zero from missing: zero may be a genuine observation, while null signifies no measured value. Never silently substitute one for the other. If imputation is justified, retain the original missing flag, model/version, input records, uncertainty and a separate no-imputation sensitivity result. Require both the intended period and an explicit policy for revisions.
Check normalization and indicator direction
Min–max scaling with fixed bounds L and U, where U > L, uses:
Higher-is-better: z = (x - L) / (U - L)
Lower-is-better: z = (U - x) / (U - L)
Check bounds, unit compatibility and reference period before normalization. For the synthetic case, renewable-energy share is higher-is-better over 0–100%, annual PM₂.₅ is lower-is-better over 0–20 µg/m³, and improved-water service share is higher-is-better over 0–100%. The 0–20 air-pollution range is an illustrative normalization convention, not a medical or regulatory standard. If an observation lies outside the fixed range, the demonstration rejects it; an alternative product policy must be explicitly justified and preserved, not silently applied.
Diagnostic pattern: if PM₂.₅ is 8 µg/m³ and its normalized value is 0.4 instead of 0.6, the direction was likely reversed. If an input of 60% yields a normalized value of 60 rather than 0.60, check percentage conversion or goalpost use.
Check weights, formula and numerical tolerance
For normalized component values z_i and prespecified weights w_i:
Arithmetic: I = sum(w_i * z_i)
Geometric: I = exp(sum(w_i * ln(z_i)))
Constraints: w_i >= 0; sum(w_i) = 1.
For geometric aggregation, z_i > 0 whenever w_i > 0.
The arithmetic result permits compensation between high and low dimensions. The geometric result penalizes imbalance but is undefined with nonpositive components carrying positive weights in the companion implementation. Do not automatically add an epsilon or drop a zero to “fix” a calculation; doing so changes the model. Set numerical tolerance on full-precision results (for example, 1e-10 for independent 64-bit calculations using the identical algorithm), then format to four decimal places only for display. Scientific or published-data tolerance can differ and must be separately specified.
Worked diagnostic: three synthetic sites in 2024
Every observation in this table is invented for troubleshooting. It must not be cited as a real monitoring, water-access or renewable-energy study. The companion synthetic_composite_index_2024.csv is its authoritative input snapshot.
| Site | Renewables (%) | PM₂.₅ (µg/m³) | Water access (%) | Normalized components (R, PM, W) |
|---|---|---|---|---|
| Illustrative A | 60 | 8 | 80 | 0.60, 0.60, 0.80 |
| Illustrative B | 90 | 16 | 60 | 0.90, 0.20, 0.60 |
| Illustrative C | 30 | 4 | 95 | 0.30, 0.80, 0.95 |
The calculation compares equal-weight arithmetic averaging, equal-weight geometric averaging, and a hypothetical arithmetic weighting of 0.50 renewables, 0.30 air quality and 0.20 water access:
| Site | Equal arithmetic | Equal geometric | Renewables-priority arithmetic |
|---|---|---|---|
| Illustrative A | 0.6667 | 0.6604 | 0.6400 |
| Illustrative B | 0.5667 | 0.4762 | 0.6300 |
| Illustrative C | 0.6833 | 0.6109 | 0.5800 |
Expected ranks: equal arithmetic C > A > B; equal geometric A > C > B; renewables-priority arithmetic A > B > C. If your independent calculation does not reproduce these values, inspect the stage-specific causes above. If it does, the rank reversals are legitimate demonstrations of methodological sensitivity, not necessarily computation bugs.
Check sensitivity, uncertainty and rank interpretation
Perform one-factor-at-a-time and prespecified combined tests for normalization bounds, plausible weights, aggregation families, missing-value treatment and influential observations. Report every entity’s score range, rank range, and the frequency of top rank across the declared scenario set; do not describe that frequency as a sampling probability or statistical confidence interval. For example, shifting PM₂.₅ by ±2 µg/m³ in this illustrative setup changes an equal-weight arithmetic score by ±0.0333 when the observation stays within bounds. This is deterministic perturbation, not measured instrument uncertainty.
Look for double counting: two strongly correlated indicators may overemphasize one construct even if their weights each sum correctly. Consider whether weighting reflects normative priorities, empirical structure, or explicit stakeholder choices. A stable rank under one sensitivity test does not prove construct validity, fairness, national representativeness, or causality.
Inspect reproducibility artifacts and a read-only local diagnostic
The companion program is an independent educational checker, not a GIC API or plugin feature. Run it against the included synthetic CSV from a local shell:
python3 composite_validator.py synthetic_composite_index_2024.csv --output example_audit.json
python3 index_troubleshoot.py synthetic_composite_index_2024.csv --output incident_diagnostic.json
python3 -m unittest discover -s . -p 'test_*.py' -q
composite_validator.py recomputes raw-to-normalized values, three aggregation scenarios, ordered ranks and the input-file SHA-256. index_troubleshoot.py adds explicit site-count, score, ranking-reversal, score-domain and review-boundary checks. The tools refuse invalid synthetic input; they do not inspect a live GIC workspace and cannot authorize publication. Preserve their script revisions and hashes with the incident.
Distinguish genuine defects from unsupported claims
| Observation | Technical finding | Required reporting language |
|---|---|---|
| Same inputs and method fail to reproduce the score | Calculation, data-version or serialization defect until resolved | “Score under investigation; do not rely on current version” |
| Different defensible methods give different winners | Methodological instability or normative trade-off, not necessarily a bug | Report full sensitivity and avoid unconditional “best performer” claims |
| Every calculation reproduces but construct lacks validation | Technical PASS; scientific adequacy not established | “Illustrative index; not validated as a measure of sustainability” |
| Index is described as causing observed outcomes | Causal identification not supplied by arithmetic | Remove causal wording or establish a separate defensible study design |
| Data is reproducible but cannot lawfully be shared | Governance/rights blocker | Private verification only; public release blocked |
Resolution
- Quarantine the faulty output through a documented, authorized publication or correction workflow. Preserve the old score, its inputs and method hash; never overwrite silently.
- Repair the first failing layer: restore correct source or revision; fix unit or direction; freeze and review goalposts; repair weight specification; implement an explicit missingness decision; or correct calculation code and add a regression test.
- Recalculate from the authoritative source snapshot using a new method or dataset version where changes are material. Record old/new results side by side, including rank sensitivity.
- Re-run governance checks: permissions, evidence rights, independent review, status transitions and the specific subject hash. A successful save is not an approval decision.
- Release only after acceptance by appropriate owners. Notify affected consumers when a published conclusion or prior decision changes; preserve withdrawal/correction history.
If the error involves tenant isolation or restricted evidence, prioritize incident response and access control over routine score recalculation. If the difference results only from defensible alternative weighting, document that result rather than “repairing” it away.
Verification
Mark each line PASS, FAIL, or NOT_RUN with a timestamp, reviewer and linked artifact. The release gate is not met if a material line is FAIL or NOT_RUN:
| Acceptance check | Evidence required | Blocker |
|---|---|---|
| Correct record, workspace, reporting period, permissions and source version | Input manifest and authorized extraction receipt | Wrong population/tenant or missing lineage |
| Indicator definitions, units and directions are pinned | Definition IDs, versions, hash and dictionary | Incompatible inputs or undefined construct |
| Missing values and boundary handling are documented | Exclusion or imputation register and sensitivity | Zero substituted for missing or unexplained clipping |
| Weights and normalization reproduce every component | Unrounded contribution table and independent recalculation | Arithmetic mismatch or unapproved formula change |
| All final scores and ranks match the locked method | Difference report with prespecified numeric tolerance | Recalculation mismatch |
| Sensitivity and uncertainty boundaries are disclosed | Alternative runs, rank reversals, assumptions | Overstated robustness |
| Review, privacy and publication gates were tested | Reviewer identity, versioned approval and negative access tests | Unreviewed or unauthorized dissemination |
Staging acceptance and negative tests
Use the attached staging_acceptance_matrix.csv to run genuine installed-product checks. Recommended negative cases include: unauthorized cross-tenant read, revoked access, a stale definition hash, a missing source, duplicate site-year rows, zero-for-missing substitution, out-of-range inputs, a negative or nonunit weight sum, zero geometric component, method revision without review, misleading rank-only publication, and an approved draft whose subject has changed. These are acceptance requirements, not claims that the installed GIC release already enforces every rule.
Escalation and incident handoff
Submit an incident packet with a nonsecret case ID; workspace and artifact identifiers (not private payloads); impact and first-failure classification; observed versus independently reconstructed values; expected calculation formula and method revision; source/data hashes; error and exclusion details; permission/publication status; list of corrective changes; before-and-after results; review decisions; unresolved scientific caveats; and rollback or withdrawal instructions. Identify both a technical owner and an evidence/method reviewer. If an export or dashboard may have propagated a faulty conclusion, enumerate recipients and downstream versions without leaking personal data.
Reporting boundary and known limitations
Composite scores compress multidimensional evidence. Their values depend on choices about indicator coverage, goalposts, weights, compensability and data quality; a single value does not prove overall sustainability, population welfare, program effectiveness, causation, regulatory conformity, SDG certification or third-party assurance. The example is entirely synthetic, is not a UNDP HDI reproduction, and must not be presented as an official country or environmental comparison. The local validator tests a fixed teaching specification, not an installed composite-index product.
Until deployment is inspected, leave Last verified installed version as not established. A source-reviewed v2.0.0 release note does not fill that editor field, and an offline PASS does not establish independent scientific approval. Do not put confidential case content, access tokens, private reviewer details, or unlicensed source extracts into public documentation.
References and source evidence
- OECD/European Commission Joint Research Centre (2008). Handbook on Constructing Composite Indicators: Methodology and User Guide. Official framework for indicator selection, normalization, weighting, aggregation, uncertainty and sensitivity analysis.
- European Commission, Joint Research Centre. Composite Indicators: 10-Step Guide. Emphasizes iterative coherence and sensitivity checks.
- United Nations Development Programme. Human Development Index — methodology overview. Illustrates dimension normalization and geometric aggregation; its official methodology is distinct from this synthetic exercise.
- Global Impact Catalyst.
python/global_impact_registry.py;docs/indicator-registry.md; source-reviewed registry version 1.4.0, pinned commite75808a. - Global Impact Catalyst.
python/global_impact_analysis.py; Claim governance; analysis version 1.7.0 and its interpretive limits. - Global Impact Catalyst. Release source v2.0.0 (source documentation, not installed-version verification).
- Companion package:
synthetic_composite_index_2024.csv,composite_validator.py,index_troubleshoot.py,example_audit.json,incident_diagnostic.json, unit tests and verification manifest. These are project-authored training artifacts and not external scientific observations.
