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
John Lightner
3cc1e22e3f
MAESTRO: Implement EmbeddingScorer with cosine similarity scoring via OpenAI-compatible embedding API
2026-04-07 02:58:00 -05:00
John Lightner
405bbf8206
MAESTRO: Implement BaseScorer abstract class with sync/async scoring interface
...
Adds backend/engine/scorers/base.py with abstract name property, score() method,
and score_async() default implementation. Updates scorers __init__.py to export
BaseScorer. Includes 9 tests covering instantiation guards, sync/async dispatch,
context dict usage, and partial implementation rejection.
2026-04-07 02:55:05 -05:00
John Lightner
cb4af5f707
MAESTRO: Create full directory structure with placeholder files
...
Set up all directories from the spec's Project Structure section:
- backend/ with routers/, engine/adapters/, engine/scorers/, mcp/,
websocket/, tests/ (all with __init__.py)
- frontend/src/ with pages/, components/, api/ (.gitkeep)
- docker/ (.gitkeep)
- alembic/versions/ (.gitkeep)
2026-04-07 01:40:27 -05:00