# readability-score

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

- **Space:** education-public (https://github.com/Tech-Realm/space-education-public/tree/main/readability-score)
- **Level:** L2 (as the registry reports it)
- **Keys it needs (names only):** none
- **Tools:** python3
- **Routes:** python-stdlib; checks: 2
- **Uses:** new (no recorded use yet)
- **Install:** `logicpacks pack use education-public/readability-score` or MCP `get_pack education-public/readability-score`
- **Files:** CHANGELOG.md, code/readability.py, outcome/EVIDENCE.md, outcome/checks.yaml, outcome/fixtures/easy.txt, outcome/fixtures/hard.txt, outcome/results.json, pack.yaml, refs/refs.yaml, spec/SPEC.md, spec/source.md

## Purpose (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).



---

Canonical URL: https://logicpacks.io/packs/education-public/readability-score

Developed by TechRealm (techrealm.online), the software team. Operated by Al Jash Trading (Establishment), Abu Dhabi, since 1994, the legal entity that hosts and is responsible for the service. Economic licence CN-1030597, Abu Dhabi Registration Authority. Address: Office 5, Bani Yas West 4, Bani Yas, Abu Dhabi, UAE. Website: https://aljashtrading.com. Contact: hello@logicpacks.io, security@logicpacks.io, WhatsApp +1 713 632 2262 (https://wa.me/17136322262).

Machine-readable index: [/llms.txt](/llms.txt). Plain facts: [/about.md](/about.md). Safety: [/safety.md](/safety.md).
