Skip to content

Reproduce the analysis

The review ranking discussed in the article is produced by a small Python script that reads the per-aspect "range" review files and prints the consensus ranking.

Requirements

  • Python 3.11+
  • A Google API key, read from GOOGLE_API_KEY (an environment variable or a local, uncommitted .env). It is not included here.

Run

export GOOGLE_API_KEY=...
python consensus_ranking.py

The script reads the review files in its own folder, extracts per-aspect vectors, and prints the ranking discussed in the article.

The script is consensus_ranking.py, run over the reviews in the analyse/ folder.

License

Scripts and SVG sources are licensed MIT; the prose and charts are CC BY 4.0.