Repository navigation
What's Changed
Added Spec Generator
-
Introduced
spec_generatorfor automatic task specification and synthetic dataset generation. -
Added distribution-aware generation with configurable coverage strategies.
-
Implemented example validation, deduplication, and feedback-controlled generation.
New optimizer - SAPO
Segment-level APO (SAPO) - a modular optimization strategy over explicit prompt segments. Instead of one global rewrite, the method diagnoses weak and strong segments from ranked evidence and synthesizes candidates that preserve strengths while fixing weaknesses.