promptlooper/backend/engine/scorers
John Lightner bc1d41e3a6 MAESTRO: Implement FormatScorer with json, markdown, length, and structure format checks
Adds format.py scorer supporting four validation modes:
- json: validates parseable JSON
- markdown: checks for headers (0.5) and lists (0.5)
- length: proportional scoring against min/max token bounds
- structure: JSON schema validation via jsonschema library

Includes 38 passing tests covering all format types, edge cases, and async delegation.
2026-04-07 03:00:56 -05:00
..
__init__.py MAESTRO: Implement FormatScorer with json, markdown, length, and structure format checks 2026-04-07 03:00:56 -05:00
base.py MAESTRO: Implement BaseScorer abstract class with sync/async scoring interface 2026-04-07 02:55:05 -05:00
embedding.py MAESTRO: Implement EmbeddingScorer with cosine similarity scoring via OpenAI-compatible embedding API 2026-04-07 02:58:00 -05:00
format.py MAESTRO: Implement FormatScorer with json, markdown, length, and structure format checks 2026-04-07 03:00:56 -05:00