Skip to content

Scorecard implementation notes

The January 2026 scorecard implementation added workbook loading, country enrichment, CSV exports, URL checks and source-content comparisons.

Implementation

The modules in processors/ cover distinct stages:

  • scorecard.py: load the workbook and retrieve country indicators.
  • scorecard_enricher.py: connect country assessments to document metadata.
  • scorecard_export.py: generate summary, source, indicator and regional exports.
  • scorecard_validator.py: check source URLs.
  • scorecard_diff.py: compare source content across runs.

The Scorecard Workflow documents how to use them; Architecture explains the wider pipeline.

Development record

An automated implementation review on 15 January 2026 recorded a field-name correction in the enricher, a duplicate hashing-function definition in the diff module, and a 20-test scorecard run. The original review contains the code comparisons and test output.

For subsequent development, see the software roadmap and API implementation history.