swarmauri_evaluatorpool_accessibility 0.3.0.dev17__tar.gz → 0.11.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- swarmauri_evaluatorpool_accessibility-0.11.0/NOTICE +7 -0
- swarmauri_evaluatorpool_accessibility-0.11.0/PKG-INFO +432 -0
- swarmauri_evaluatorpool_accessibility-0.11.0/README.md +398 -0
- {swarmauri_evaluatorpool_accessibility-0.3.0.dev17 → swarmauri_evaluatorpool_accessibility-0.11.0}/pyproject.toml +60 -9
- {swarmauri_evaluatorpool_accessibility-0.3.0.dev17 → swarmauri_evaluatorpool_accessibility-0.11.0}/swarmauri_evaluatorpool_accessibility/AccessibilityEvaluatorPool.py +20 -7
- {swarmauri_evaluatorpool_accessibility-0.3.0.dev17 → swarmauri_evaluatorpool_accessibility-0.11.0}/swarmauri_evaluatorpool_accessibility/AutomatedReadabilityIndexEvaluator.py +26 -8
- {swarmauri_evaluatorpool_accessibility-0.3.0.dev17 → swarmauri_evaluatorpool_accessibility-0.11.0}/swarmauri_evaluatorpool_accessibility/ColemanLiauIndexEvaluator.py +16 -6
- {swarmauri_evaluatorpool_accessibility-0.3.0.dev17 → swarmauri_evaluatorpool_accessibility-0.11.0}/swarmauri_evaluatorpool_accessibility/FleschKincaidGradeEvaluator.py +45 -18
- {swarmauri_evaluatorpool_accessibility-0.3.0.dev17 → swarmauri_evaluatorpool_accessibility-0.11.0}/swarmauri_evaluatorpool_accessibility/FleschReadingEaseEvaluator.py +20 -9
- {swarmauri_evaluatorpool_accessibility-0.3.0.dev17 → swarmauri_evaluatorpool_accessibility-0.11.0}/swarmauri_evaluatorpool_accessibility/GunningFogEvaluator.py +15 -6
- {swarmauri_evaluatorpool_accessibility-0.3.0.dev17 → swarmauri_evaluatorpool_accessibility-0.11.0}/swarmauri_evaluatorpool_accessibility/__init__.py +3 -1
- swarmauri_evaluatorpool_accessibility-0.3.0.dev17/PKG-INFO +0 -147
- swarmauri_evaluatorpool_accessibility-0.3.0.dev17/README.md +0 -115
- {swarmauri_evaluatorpool_accessibility-0.3.0.dev17 → swarmauri_evaluatorpool_accessibility-0.11.0}/LICENSE +0 -0
|
@@ -0,0 +1,432 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: swarmauri_evaluatorpool_accessibility
|
|
3
|
+
Version: 0.11.0
|
|
4
|
+
Summary: A package providing accessibility and readability evaluators for SwarmAuri
|
|
5
|
+
License-Expression: Apache-2.0
|
|
6
|
+
License-File: LICENSE
|
|
7
|
+
License-File: NOTICE
|
|
8
|
+
Keywords: accessibility,readability,evaluator,swarmauri,flesch-kincaid,gunning-fog,coleman-liau,automated-readability-index,flesch-reading-ease,text-analysis,nlp,sdk,standards,evaluatorpool,evaluation
|
|
9
|
+
Author: Jacob Stewart
|
|
10
|
+
Author-email: jacob@swarmauri.com
|
|
11
|
+
Requires-Python: >=3.10,<3.15
|
|
12
|
+
Classifier: Natural Language :: English
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
15
|
+
Classifier: Topic :: Text Processing :: Linguistic
|
|
16
|
+
Classifier: Topic :: Software Development :: Quality Assurance
|
|
17
|
+
Classifier: Programming Language :: Python
|
|
18
|
+
Classifier: Programming Language :: Python :: 3
|
|
19
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
25
|
+
Requires-Dist: beautifulsoup4
|
|
26
|
+
Requires-Dist: markdown
|
|
27
|
+
Requires-Dist: nltk
|
|
28
|
+
Requires-Dist: pydantic
|
|
29
|
+
Requires-Dist: swarmauri_base
|
|
30
|
+
Requires-Dist: swarmauri_core
|
|
31
|
+
Requires-Dist: swarmauri_standard
|
|
32
|
+
Description-Content-Type: text/markdown
|
|
33
|
+
|
|
34
|
+
# swarmauri_evaluatorpool_accessibility
|
|
35
|
+
|
|
36
|
+
<!-- readme-standards:begin branding -->
|
|
37
|
+
<p align="center"><a href="https://github.com/swarmauri/swarmauri-sdk"><img src="https://raw.githubusercontent.com/swarmauri/swarmauri-sdk/master/assets/swarmauri.brand.theme.svg" alt="Swarmauri SDK" width="300"></a></p>
|
|
38
|
+
<p align="center"><strong>swarmauri_evaluatorpool_accessibility</strong></p>
|
|
39
|
+
<p align="center">A package providing accessibility and readability evaluators for SwarmAuri</p>
|
|
40
|
+
<p align="center">
|
|
41
|
+
<a href="https://pypi.org/project/swarmauri_evaluatorpool_accessibility/"><img alt="pypi: swarmauri_evaluatorpool_accessibility" src="https://img.shields.io/pypi/v/swarmauri_evaluatorpool_accessibility?labelColor=1E293B&color=1D4ED8"></a>
|
|
42
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_evaluatorpool_accessibility/pyproject.toml"><img alt="Source version: 0.11.0" src="https://img.shields.io/static/v1?label=Source%20version&message=0.11.0&labelColor=1E293B&color=4338CA"></a>
|
|
43
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_evaluatorpool_accessibility/pyproject.toml"><img alt="Python: >=3.10,<3.15" src="https://img.shields.io/static/v1?label=Python&message=%3E%3D3.10%2C%3C3.15&labelColor=1E293B&color=0F766E"></a>
|
|
44
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_evaluatorpool_accessibility/pyproject.toml"><img alt="Layer: standards" src="https://img.shields.io/static/v1?label=Layer&message=standards&labelColor=1E293B&color=6D28D9"></a>
|
|
45
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_evaluatorpool_accessibility/README.md#lifecycle-and-migration"><img alt="Lifecycle: active" src="https://img.shields.io/static/v1?label=Lifecycle&message=active&labelColor=1E293B&color=166534"></a>
|
|
46
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_evaluatorpool_accessibility/LICENSE"><img alt="License: Apache-2.0" src="https://img.shields.io/static/v1?label=License&message=Apache-2.0&labelColor=1E293B&color=86198F"></a>
|
|
47
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_evaluatorpool_accessibility/NOTICE"><img alt="Notice: attribution" src="https://img.shields.io/static/v1?label=Notice&message=attribution&labelColor=1E293B&color=86198F"></a>
|
|
48
|
+
</p>
|
|
49
|
+
<p align="center">
|
|
50
|
+
<a href="https://pypi.org/project/swarmauri_evaluatorpool_accessibility/"><img alt="Monthly PyPI downloads: swarmauri_evaluatorpool_accessibility" src="https://img.shields.io/pypi/dm/swarmauri_evaluatorpool_accessibility?labelColor=1E293B&color=0E7490"></a>
|
|
51
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_evaluatorpool_accessibility/README.md"><img alt="README hits: swarmauri_evaluatorpool_accessibility" src="https://hits.sh/github.com/swarmauri/swarmauri-sdk/pkgs/40-standards/swarmauri_evaluatorpool_accessibility/README.md.svg?label=README%20hits&labelColor=1E293B&color=0E7490"></a>
|
|
52
|
+
</p>
|
|
53
|
+
<p align="center">
|
|
54
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/actions/workflows/readme-standards.yml"><img alt="README standards: CI gate" src="https://img.shields.io/static/v1?label=README%20standards&message=CI%20gate&labelColor=1E293B&color=1D4ED8"></a>
|
|
55
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_evaluatorpool_accessibility/tests/unit/test_readme_sources.py"><img alt="Tests: example source" src="https://img.shields.io/static/v1?label=Tests&message=example%20source&labelColor=1E293B&color=0F766E"></a>
|
|
56
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_evaluatorpool_accessibility/README.md#certification-status"><img alt="Certification: not certified" src="https://img.shields.io/static/v1?label=Certification&message=not%20certified&labelColor=1E293B&color=92400E"></a>
|
|
57
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/tools/readme/POLICY.md"><img alt="Governance: repository policy" src="https://img.shields.io/static/v1?label=Governance&message=repository%20policy&labelColor=1E293B&color=4338CA"></a>
|
|
58
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/actions/workflows/readme-standards.yml"><img alt="Evidence: source and CI" src="https://img.shields.io/static/v1?label=Evidence&message=source%20and%20CI&labelColor=1E293B&color=6D28D9"></a>
|
|
59
|
+
</p>
|
|
60
|
+
<p align="center"><a href="#overview">Overview</a> · <a href="#installation">Installation</a> · <a href="#quick-start">Quick Start</a> · <a href="#usage">Usage</a> · <a href="#public-api-and-import-surfaces">API</a> · <a href="#contributing">Contributing</a> · <a href="#governance">Governance</a> · <a href="#license">License</a></p>
|
|
61
|
+
<!-- readme-standards:end branding -->
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## Overview
|
|
66
|
+
|
|
67
|
+
### Summary
|
|
68
|
+
|
|
69
|
+
Accessibility-focused evaluator pool for Swarmauri programs. The pool bundles a
|
|
70
|
+
set of classic readability metrics (Automated Readability Index, Coleman?Liau,
|
|
71
|
+
Flesch?Kincaid Grade, Flesch Reading Ease, and Gunning Fog) and normalises their
|
|
72
|
+
scores onto a single 0?1 scale where higher values mean easier-to-read content.
|
|
73
|
+
|
|
74
|
+
### Why This Package
|
|
75
|
+
|
|
76
|
+
`swarmauri_evaluatorpool_accessibility` isolates this responsibility: A package providing accessibility and readability evaluators for SwarmAuri. Its [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_evaluatorpool_accessibility/swarmauri_evaluatorpool_accessibility/__init__.py) exposes `AccessibilityEvaluatorPool`, `AutomatedReadabilityIndexEvaluator`, `ColemanLiauIndexEvaluator`, `FleschKincaidGradeEvaluator`, `FleschReadingEaseEvaluator`, `GunningFogEvaluator`, allowing consumers to select this package without treating adjacent packages as part of its public contract.
|
|
77
|
+
|
|
78
|
+
### When to Use
|
|
79
|
+
|
|
80
|
+
Choose `swarmauri_evaluatorpool_accessibility` when your integration needs a package providing accessibility and readability evaluators for SwarmAuri. Match the imports below to your application boundary and install its declared dependencies before using the example.
|
|
81
|
+
|
|
82
|
+
### Features
|
|
83
|
+
|
|
84
|
+
- `AccessibilityEvaluatorPool`: Pool that aggregates classic readability / accessibility metrics.
|
|
85
|
+
- `AutomatedReadabilityIndexEvaluator`: Computes the Automated Readability Index (ARI) for a Program’s textual
|
|
86
|
+
- `ColemanLiauIndexEvaluator`: Coleman–Liau Index evaluator compliant with the Program/Evaluator
|
|
87
|
+
- `FleschKincaidGradeEvaluator`: Evaluator that computes the Flesch-Kincaid Grade Level of text.
|
|
88
|
+
- `FleschReadingEaseEvaluator`: Evaluator that computes the Flesch Reading Ease score for text content.
|
|
89
|
+
- `GunningFogEvaluator`: Evaluator that computes the Gunning Fog Index (GFI) for text readability.
|
|
90
|
+
|
|
91
|
+
### Non-Goals
|
|
92
|
+
|
|
93
|
+
`swarmauri_evaluatorpool_accessibility` owns a package providing accessibility and readability evaluators for SwarmAuri. Its imports do not by themselves configure credentials, deploy a service, or certify the behavior of its consumers. Dependencies and neighboring packages retain their own documented responsibilities.
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
## Getting Started
|
|
98
|
+
|
|
99
|
+
### Prerequisites
|
|
100
|
+
|
|
101
|
+
Python `>=3.10,<3.15` is required. The [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_evaluatorpool_accessibility/pyproject.toml) declares runtime dependencies including `swarmauri-core`, `swarmauri-base`, `swarmauri-standard`, `nltk`, `beautifulsoup4`, `markdown`, `pydantic`. Read the example’s inputs and service requirements before execution.
|
|
102
|
+
|
|
103
|
+
### Installation
|
|
104
|
+
|
|
105
|
+
#### uv
|
|
106
|
+
|
|
107
|
+
<!-- readme-standards:begin installation.uv -->
|
|
108
|
+
```bash
|
|
109
|
+
uv add swarmauri_evaluatorpool_accessibility
|
|
110
|
+
```
|
|
111
|
+
<!-- readme-standards:end installation.uv -->
|
|
112
|
+
|
|
113
|
+
```bash
|
|
114
|
+
# Install into the current environment
|
|
115
|
+
uv pip install swarmauri_evaluatorpool_accessibility
|
|
116
|
+
|
|
117
|
+
# Or add it to the project pyproject.toml
|
|
118
|
+
uv add swarmauri_evaluatorpool_accessibility
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
#### pip
|
|
122
|
+
|
|
123
|
+
<!-- readme-standards:begin installation.pip -->
|
|
124
|
+
```bash
|
|
125
|
+
python -m pip install swarmauri_evaluatorpool_accessibility
|
|
126
|
+
```
|
|
127
|
+
<!-- readme-standards:end installation.pip -->
|
|
128
|
+
|
|
129
|
+
```bash
|
|
130
|
+
pip install swarmauri_evaluatorpool_accessibility
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
#### Poetry
|
|
134
|
+
|
|
135
|
+
<!-- readme-standards:begin installation.poetry -->
|
|
136
|
+
```bash
|
|
137
|
+
poetry add swarmauri_evaluatorpool_accessibility
|
|
138
|
+
```
|
|
139
|
+
<!-- readme-standards:end installation.poetry -->
|
|
140
|
+
|
|
141
|
+
```bash
|
|
142
|
+
poetry add swarmauri_evaluatorpool_accessibility
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
### Quick Start
|
|
146
|
+
|
|
147
|
+
#### Example
|
|
148
|
+
|
|
149
|
+
<!-- readme-standards:begin example.quick-start -->
|
|
150
|
+
Source: [docs/readme/quick_start.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_evaluatorpool_accessibility/docs/readme/quick_start.py).
|
|
151
|
+
|
|
152
|
+
```python
|
|
153
|
+
from swarmauri_evaluatorpool_accessibility.AccessibilityEvaluatorPool import (
|
|
154
|
+
AccessibilityEvaluatorPool,
|
|
155
|
+
)
|
|
156
|
+
from swarmauri_standard.programs.Program import Program
|
|
157
|
+
|
|
158
|
+
program = Program(
|
|
159
|
+
content={"example.txt": "This is a simple sentence. Here is another one."}
|
|
160
|
+
)
|
|
161
|
+
|
|
162
|
+
pool = AccessibilityEvaluatorPool()
|
|
163
|
+
pool.initialize() # spin up the thread pool once before evaluating
|
|
164
|
+
|
|
165
|
+
results = pool.evaluate([program])
|
|
166
|
+
result = results[0]
|
|
167
|
+
|
|
168
|
+
print(f"Aggregate accessibility score: {result.score:.2f}")
|
|
169
|
+
print("Per-evaluator scores:", result.metadata["evaluator_scores"])
|
|
170
|
+
flesch_meta = result.metadata["evaluator_metadata"].get(
|
|
171
|
+
"FleschReadingEaseEvaluator", {}
|
|
172
|
+
)
|
|
173
|
+
print(
|
|
174
|
+
"Flesch interpretation:",
|
|
175
|
+
flesch_meta.get(
|
|
176
|
+
"readability_interpretation", flesch_meta.get("error", "not available")
|
|
177
|
+
),
|
|
178
|
+
)
|
|
179
|
+
|
|
180
|
+
pool.shutdown() # release resources when finished
|
|
181
|
+
```
|
|
182
|
+
<!-- readme-standards:end example.quick-start -->
|
|
183
|
+
|
|
184
|
+
#### Expected Result
|
|
185
|
+
|
|
186
|
+
The example demonstrates the documented `swarmauri_evaluatorpool_accessibility` source boundary or workflow. Complete its required configuration first. README CI checks the maintained source’s syntax and declarations; it does not claim that external services or the application workflow were exercised.
|
|
187
|
+
|
|
188
|
+
---
|
|
189
|
+
|
|
190
|
+
## Usage
|
|
191
|
+
|
|
192
|
+
### Common Workflows
|
|
193
|
+
|
|
194
|
+
<!-- readme-standards:begin example.usage -->
|
|
195
|
+
Source: [docs/readme/usage.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_evaluatorpool_accessibility/docs/readme/usage.py).
|
|
196
|
+
|
|
197
|
+
```python
|
|
198
|
+
from swarmauri_evaluatorpool_accessibility.AccessibilityEvaluatorPool import (
|
|
199
|
+
AccessibilityEvaluatorPool,
|
|
200
|
+
)
|
|
201
|
+
from swarmauri_standard.programs.Program import Program
|
|
202
|
+
|
|
203
|
+
program = Program(
|
|
204
|
+
content={"example.txt": "This is a simple sentence. Here is another one."}
|
|
205
|
+
)
|
|
206
|
+
|
|
207
|
+
pool = AccessibilityEvaluatorPool()
|
|
208
|
+
pool.initialize() # spin up the thread pool once before evaluating
|
|
209
|
+
|
|
210
|
+
results = pool.evaluate([program])
|
|
211
|
+
result = results[0]
|
|
212
|
+
|
|
213
|
+
print(f"Aggregate accessibility score: {result.score:.2f}")
|
|
214
|
+
print("Per-evaluator scores:", result.metadata["evaluator_scores"])
|
|
215
|
+
flesch_meta = result.metadata["evaluator_metadata"].get(
|
|
216
|
+
"FleschReadingEaseEvaluator", {}
|
|
217
|
+
)
|
|
218
|
+
print(
|
|
219
|
+
"Flesch interpretation:",
|
|
220
|
+
flesch_meta.get(
|
|
221
|
+
"readability_interpretation", flesch_meta.get("error", "not available")
|
|
222
|
+
),
|
|
223
|
+
)
|
|
224
|
+
|
|
225
|
+
pool.shutdown() # release resources when finished
|
|
226
|
+
```
|
|
227
|
+
<!-- readme-standards:end example.usage -->
|
|
228
|
+
|
|
229
|
+
`AccessibilityEvaluatorPool` is a registered `EvaluatorPoolBase` component. It
|
|
230
|
+
expects a sequence of Swarmauri `Program` objects, runs the configured
|
|
231
|
+
evaluators concurrently, then returns standard `EvalResultBase` instances with
|
|
232
|
+
the aggregated score and detailed metadata for every evaluator.
|
|
233
|
+
|
|
234
|
+
**Result structure**
|
|
235
|
+
|
|
236
|
+
Each entry returned from `evaluate` is an `EvalResultBase` with:
|
|
237
|
+
|
|
238
|
+
- `score`: the weighted mean of the evaluator scores mapped to the 0?1 range.
|
|
239
|
+
- `metadata["evaluator_scores"]`: raw scores keyed by evaluator name.
|
|
240
|
+
- `metadata["evaluator_metadata"]`: evaluator-specific metadata (e.g. sentence
|
|
241
|
+
counts, syllable estimates, interpretation strings).
|
|
242
|
+
- `metadata["aggregate_score"]`: mirrors `.score` for convenience.
|
|
243
|
+
|
|
244
|
+
You can customise the weighting of each evaluator by passing a `weights`
|
|
245
|
+
dictionary (name ? float) when constructing the pool.
|
|
246
|
+
|
|
247
|
+
### Configuration
|
|
248
|
+
|
|
249
|
+
The [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_evaluatorpool_accessibility/swarmauri_evaluatorpool_accessibility/__init__.py) references configuration keys `NLTK_DATA_DIR`. Consult the constructor or function signature before supplying them; a referenced key is not necessarily a global environment variable.
|
|
250
|
+
|
|
251
|
+
### Error Handling
|
|
252
|
+
|
|
253
|
+
The inspected `swarmauri_evaluatorpool_accessibility` source raises `RuntimeError`. Handle these at the calling boundary and consult the implementation for the triggering conditions.
|
|
254
|
+
|
|
255
|
+
### Best Practices
|
|
256
|
+
|
|
257
|
+
Use the explicit `swarmauri_evaluatorpool_accessibility` imports documented below and keep collaborator configuration with the caller. Run the package’s relevant tests after changing `AccessibilityEvaluatorPool`, `AutomatedReadabilityIndexEvaluator`, `ColemanLiauIndexEvaluator`, `FleschKincaidGradeEvaluator`, `FleschReadingEaseEvaluator`, `GunningFogEvaluator`; an import or successful installation alone does not establish its runtime guarantees.
|
|
258
|
+
|
|
259
|
+
---
|
|
260
|
+
|
|
261
|
+
## Package Boundary
|
|
262
|
+
|
|
263
|
+
### What It Owns
|
|
264
|
+
|
|
265
|
+
`swarmauri_evaluatorpool_accessibility` is located in `standards` and owns a package providing accessibility and readability evaluators for SwarmAuri. Source-declared APIs include `AccessibilityEvaluatorPool`, `AutomatedReadabilityIndexEvaluator`, `ColemanLiauIndexEvaluator`, `FleschKincaidGradeEvaluator`, `FleschReadingEaseEvaluator`, `GunningFogEvaluator`. The [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_evaluatorpool_accessibility/pyproject.toml) records its direct dependency boundary.
|
|
266
|
+
|
|
267
|
+
### Public API and Import Surfaces
|
|
268
|
+
|
|
269
|
+
Import namespace: `swarmauri_evaluatorpool_accessibility`.
|
|
270
|
+
|
|
271
|
+
Source-declared exports or types: `AccessibilityEvaluatorPool`, `AutomatedReadabilityIndexEvaluator`, `ColemanLiauIndexEvaluator`, `FleschKincaidGradeEvaluator`, `FleschReadingEaseEvaluator`, `GunningFogEvaluator`.
|
|
272
|
+
|
|
273
|
+
Inspect [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_evaluatorpool_accessibility/swarmauri_evaluatorpool_accessibility/__init__.py) for exact signatures; this inventory does not designate every internal module as stable.
|
|
274
|
+
|
|
275
|
+
### Entry Points
|
|
276
|
+
|
|
277
|
+
<!-- readme-standards:begin entry-points -->
|
|
278
|
+
- `swarmauri.evaluator_pools` → `AccessibilityEvaluatorPool` → `swarmauri_evaluatorpool_accessibility:AccessibilityEvaluatorPool`
|
|
279
|
+
- `swarmauri.evaluators` → `AutomatedReadabilityIndexEvaluator` → `swarmauri_evaluatorpool_accessibility:AutomatedReadabilityIndexEvaluator`
|
|
280
|
+
- `swarmauri.evaluators` → `ColemanLiauIndexEvaluator` → `swarmauri_evaluatorpool_accessibility:ColemanLiauIndexEvaluator`
|
|
281
|
+
- `swarmauri.evaluators` → `FleschKincaidGradeEvaluator` → `swarmauri_evaluatorpool_accessibility:FleschKincaidGradeEvaluator`
|
|
282
|
+
- `swarmauri.evaluators` → `FleschReadingEaseEvaluator` → `swarmauri_evaluatorpool_accessibility:FleschReadingEaseEvaluator`
|
|
283
|
+
- `swarmauri.evaluators` → `GunningFogEvaluator` → `swarmauri_evaluatorpool_accessibility:GunningFogEvaluator`
|
|
284
|
+
<!-- readme-standards:end entry-points -->
|
|
285
|
+
|
|
286
|
+
### Injected Dependencies
|
|
287
|
+
|
|
288
|
+
The direct installation dependencies of `swarmauri_evaluatorpool_accessibility` are `swarmauri-core`, `swarmauri-base`, `swarmauri-standard`, `nltk`, `beautifulsoup4`, `markdown`, `pydantic`. These declarations do not imply automatic provider selection. Pass collaborators through the explicit constructors or call signatures in [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_evaluatorpool_accessibility/swarmauri_evaluatorpool_accessibility/__init__.py).
|
|
289
|
+
|
|
290
|
+
### Protocol Consumers
|
|
291
|
+
|
|
292
|
+
No direct package-manifest dependency on `swarmauri_evaluatorpool_accessibility` was found in the audited three-repository inventory. External consumers may still use its documented imports or commands.
|
|
293
|
+
|
|
294
|
+
### Extensions
|
|
295
|
+
|
|
296
|
+
For `swarmauri_evaluatorpool_accessibility`, use the source-declared public interfaces (`AccessibilityEvaluatorPool`, `AutomatedReadabilityIndexEvaluator`, `ColemanLiauIndexEvaluator`, `FleschKincaidGradeEvaluator`, `FleschReadingEaseEvaluator`, `GunningFogEvaluator`) when composing or extending behavior. Its entry-point section below is authoritative for registered plugins; no additional extension loader is inferred from the package name.
|
|
297
|
+
|
|
298
|
+
---
|
|
299
|
+
|
|
300
|
+
## Operations and Readiness
|
|
301
|
+
|
|
302
|
+
### Operational Requirements
|
|
303
|
+
|
|
304
|
+
Operate `swarmauri_evaluatorpool_accessibility` according to its actual entry points and collaborators. The dependency and Python requirements in the [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_evaluatorpool_accessibility/pyproject.toml) are prerequisites; deployment topology, credentials, and readiness remain the responsibility of the consuming application unless explicitly documented above.
|
|
305
|
+
|
|
306
|
+
### Health and Observability
|
|
307
|
+
|
|
308
|
+
This README does not establish a standalone health endpoint for `swarmauri_evaluatorpool_accessibility`. Observe the concrete caller’s results, exceptions, and existing test reports. An application that embeds this package must define its own health and telemetry contract.
|
|
309
|
+
|
|
310
|
+
### Security and Resource Limits
|
|
311
|
+
|
|
312
|
+
Apply the input, credential, and resource constraints implemented in [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_evaluatorpool_accessibility/swarmauri_evaluatorpool_accessibility/__init__.py). The `swarmauri_evaluatorpool_accessibility` README gate is a documentation check, not a security review or a substitute for the implementation’s limits and caller authorization.
|
|
313
|
+
|
|
314
|
+
### Compatibility
|
|
315
|
+
|
|
316
|
+
This source version of `swarmauri_evaluatorpool_accessibility` declares Python `>=3.10,<3.15`. Consult its dependency constraints before upgrading. Source-version and registry-version badges have separate meanings; this migration makes no additional platform or interoperability certification claim.
|
|
317
|
+
|
|
318
|
+
---
|
|
319
|
+
|
|
320
|
+
## Verification
|
|
321
|
+
|
|
322
|
+
### Tests
|
|
323
|
+
|
|
324
|
+
Run `python -m pytest tests/unit/test_readme_sources.py` from the `swarmauri_evaluatorpool_accessibility` package directory for the maintained example source checks (Python compilation and non-Python file presence). Existing package tests include:
|
|
325
|
+
|
|
326
|
+
- [tests/i9n/test_i9n__init__.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_evaluatorpool_accessibility/tests/i9n/test_i9n__init__.py)
|
|
327
|
+
- [tests/unit/test_AccessibilityEvaluatorPool.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_evaluatorpool_accessibility/tests/unit/test_AccessibilityEvaluatorPool.py)
|
|
328
|
+
- [tests/unit/test_AutomatedReadabilityIndexEvaluator.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_evaluatorpool_accessibility/tests/unit/test_AutomatedReadabilityIndexEvaluator.py)
|
|
329
|
+
- [tests/unit/test_ColemanLiauIndexEvaluator.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_evaluatorpool_accessibility/tests/unit/test_ColemanLiauIndexEvaluator.py)
|
|
330
|
+
- [tests/unit/test_FleschKincaidGradeEvaluator.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_evaluatorpool_accessibility/tests/unit/test_FleschKincaidGradeEvaluator.py)
|
|
331
|
+
|
|
332
|
+
The repository README gate also checks the required heading tree, metadata, managed fragments, and referenced files.
|
|
333
|
+
|
|
334
|
+
### Certification Status
|
|
335
|
+
|
|
336
|
+
No external certification is asserted for `swarmauri_evaluatorpool_accessibility` by this documentation migration. README conformance, example syntax, runtime tests, and protocol or security certification are distinct evidence scopes.
|
|
337
|
+
|
|
338
|
+
### Evidence
|
|
339
|
+
|
|
340
|
+
The [README standards CI](https://github.com/swarmauri/swarmauri-sdk/actions/workflows/readme-standards.yml) records mechanical documentation results for its tested commit. The [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_evaluatorpool_accessibility/swarmauri_evaluatorpool_accessibility/__init__.py) and example sources support the package-boundary description; external runtime behavior requires its own test evidence.
|
|
341
|
+
|
|
342
|
+
---
|
|
343
|
+
|
|
344
|
+
## FAQ
|
|
345
|
+
|
|
346
|
+
### Why
|
|
347
|
+
|
|
348
|
+
**Why select this package?** `swarmauri_evaluatorpool_accessibility` provides a package providing accessibility and readability evaluators for SwarmAuri; use its own API boundary rather than assuming neighboring packages are bundled or configured automatically.
|
|
349
|
+
|
|
350
|
+
### How
|
|
351
|
+
|
|
352
|
+
**How do I start?** Install or synchronize the environment under Getting Started, follow the maintained example for `swarmauri_evaluatorpool_accessibility`, and consult [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_evaluatorpool_accessibility/swarmauri_evaluatorpool_accessibility/__init__.py) for the exact types and signatures involved.
|
|
353
|
+
|
|
354
|
+
### When
|
|
355
|
+
|
|
356
|
+
**When should I validate an upgrade?** Recheck `swarmauri_evaluatorpool_accessibility` whenever its source version, declared collaborators, configuration, or caller changes. Run relevant behavioral tests in addition to the README gate before promotion.
|
|
357
|
+
|
|
358
|
+
---
|
|
359
|
+
|
|
360
|
+
## Documentation and Related Packages
|
|
361
|
+
|
|
362
|
+
### More Documentation
|
|
363
|
+
|
|
364
|
+
The [repository contribution guide](https://github.com/swarmauri/swarmauri-sdk/blob/master/CONTRIBUTING.md), [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_evaluatorpool_accessibility/swarmauri_evaluatorpool_accessibility/__init__.py), and [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_evaluatorpool_accessibility/pyproject.toml) provide the supporting context for `swarmauri_evaluatorpool_accessibility`. The [README policy](https://github.com/groupsum/readme-standards/blob/master/docs/outline.md) defines the common document structure.
|
|
365
|
+
|
|
366
|
+
### Related Packages
|
|
367
|
+
|
|
368
|
+
- [swarmauri_base](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/20-bases/swarmauri_base/README.md): Reusable Swarmauri base classes, mixins, and dynamic Pydantic component models for composable intelligence infrastructure.
|
|
369
|
+
- [swarmauri_core](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/10-interfaces/swarmauri_core/README.md): Core interface contracts and shared types for Swarmauri composable intelligence infrastructure components.
|
|
370
|
+
- [swarmauri_standard](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/30-standard-kernel/swarmauri_standard/README.md): First-party Swarmauri standard components for agents, tools, parsers, vectors, model adapters, and composable intelligence workflows.
|
|
371
|
+
|
|
372
|
+
### Project Links
|
|
373
|
+
|
|
374
|
+
<!-- readme-standards:begin project-links -->
|
|
375
|
+
- [pypi: swarmauri_evaluatorpool_accessibility](https://pypi.org/project/swarmauri_evaluatorpool_accessibility/)
|
|
376
|
+
<!-- readme-standards:end project-links -->
|
|
377
|
+
|
|
378
|
+
---
|
|
379
|
+
|
|
380
|
+
## Contributing
|
|
381
|
+
|
|
382
|
+
### How to Contribute
|
|
383
|
+
|
|
384
|
+
If you want to contribute to swarmauri-sdk, read up on our [guidelines for contributing](https://github.com/swarmauri/swarmauri-sdk/blob/master/contributing.md) that will help you get started.
|
|
385
|
+
|
|
386
|
+
### Development Setup
|
|
387
|
+
|
|
388
|
+
Work from the `pkgs/40-standards/swarmauri_evaluatorpool_accessibility` checkout. Synchronize its declared development environment with uv, then run the relevant package tests and `python -m pytest tests/unit/test_readme_sources.py`. The repository’s dedicated README job installs `readme-standards==0.1.3` without resolving unrelated runtime packages.
|
|
389
|
+
|
|
390
|
+
### Notes for Maintainers
|
|
391
|
+
|
|
392
|
+
- The pool automatically registers the bundled evaluators when no explicit list
|
|
393
|
+
is provided. You can pass your own evaluators that satisfy the `IEvaluate`
|
|
394
|
+
interface to override or extend the defaults.
|
|
395
|
+
- `FleschReadingEaseEvaluator` downloads NLTK's `punkt` tokenizer and
|
|
396
|
+
`cmudict` pronunciation dictionary on first use. Set `NLTK_DATA_DIR` to point
|
|
397
|
+
to a writable cache location if required. When these resources are not
|
|
398
|
+
available the evaluator reports an `"error"` entry in its metadata instead of
|
|
399
|
+
raising an exception.
|
|
400
|
+
|
|
401
|
+
---
|
|
402
|
+
|
|
403
|
+
## Governance
|
|
404
|
+
|
|
405
|
+
### Ownership and Decision Making
|
|
406
|
+
|
|
407
|
+
Changes to `swarmauri_evaluatorpool_accessibility` follow the maintainer review process of [swarmauri/swarmauri-sdk](https://github.com/swarmauri/swarmauri-sdk) and its contribution guide. Author attribution remains in the [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_evaluatorpool_accessibility/pyproject.toml); this README does not assign new publishing or administrative authority.
|
|
408
|
+
|
|
409
|
+
### Standards and Policies
|
|
410
|
+
|
|
411
|
+
`swarmauri_evaluatorpool_accessibility` follows the versioned [package-guide-v1 outline](https://github.com/groupsum/readme-standards/blob/master/docs/outline.md). All fixed headings, hierarchy, order, separators, and package-specific branding are checked by CI; reviewers assess the accuracy and usefulness of authored claims.
|
|
412
|
+
|
|
413
|
+
### Lifecycle and Migration
|
|
414
|
+
|
|
415
|
+
The `swarmauri_evaluatorpool_accessibility` source version is `0.11.0`.
|
|
416
|
+
|
|
417
|
+
---
|
|
418
|
+
|
|
419
|
+
## License and Attribution
|
|
420
|
+
|
|
421
|
+
### License
|
|
422
|
+
|
|
423
|
+
<!-- readme-standards:begin license -->
|
|
424
|
+
Licensed under `Apache-2.0`. See [LICENSE](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_evaluatorpool_accessibility/LICENSE).
|
|
425
|
+
<!-- readme-standards:end license -->
|
|
426
|
+
|
|
427
|
+
### Notices
|
|
428
|
+
|
|
429
|
+
<!-- readme-standards:begin notices -->
|
|
430
|
+
See [NOTICE](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_evaluatorpool_accessibility/NOTICE) for attribution.
|
|
431
|
+
<!-- readme-standards:end notices -->
|
|
432
|
+
|