Skip to content

Packs / education-public

readability-score

score a text's readability (Flesch reading ease and Flesch-Kincaid grade) to match it to a class level

L2 Checks passed 3 of 3 runsv1.0.0Tech-Realm/space-education-public

Install

logicpacks pack use education-public/readability-score
get_pack education-public/readability-score

The second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.

Keys it needs (names only)

None.

Playbooks included

  • Spec: spec/SPEC.md (goal, steps, edge cases, don’ts)
  • Routes: python-stdlib
  • Checks: 2 in outcome/checks.yaml
  • Code: readability.py
  • Tools: python3

Usage, last 8 weeks

New: no recorded use yet.

Purpose (from spec/SPEC.md)

Goal

Score a text's readability (Flesch reading ease and Flesch-Kincaid grade) to match it to a class level.

Steps

  1. Save the text as plain text.
  2. Run readability.py.
  3. Rewrite long sentences and long words until the grade matches the class.

Edge cases

  • Formulas are for English; other languages need other formulas.
  • Heuristic syllable counts are approximate.

Don'ts

  • Don't optimise only for the score; check meaning still holds.

Routes (free first)

  1. python-stdlib: code/readability.py (no install).