Initial commit

This commit is contained in:
Cuzyoung
2026-05-08 18:14:01 +00:00
commit d2b05a3322
243 changed files with 31492 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
"""ReflACT Optimizer -- skill update operations.
Analogous to the optimizer in neural network training: applies the computed
"gradient" (patches) to the current skill document to produce an updated
candidate skill.
Modules
-------
- skill: edit application (optimizer.step() / parameter update)
- clip: edit ranking and selection (gradient clipping)
- meta_reflect: epoch-level macro refinement (momentum)
- slow_update: longitudinal comparison and guidance (EMA / regularization)
"""
from reflact.optimizer.skill import apply_edit, apply_patch # noqa: F401
from reflact.optimizer.clip import rank_and_select # noqa: F401