Uses of Interface
com.tnsai.refinement.StopHook
Packages that use StopHook
Package
Description
Iterative refinement loop for persistent output improvement.
-
Uses of StopHook in com.tnsai.refinement
Methods in com.tnsai.refinement that return StopHookModifier and TypeMethodDescriptionstatic StopHookCombine multiple stop hooks with AND logic.static StopHookCombine multiple stop hooks with OR logic.static StopHookStop based on custom condition.static StopHookStopHook.onAllTestsPass()Stop when all tests pass.static StopHookStopHook.onCompileSuccess()Stop when the output compiles successfully.static StopHookStopHook.onCostExceeds(int maxTokens) Stop if cost (tokens) exceeds budget.static StopHookStopHook.onNoImprovement(int consecutiveIterations) Stop if no improvement for N iterations.static StopHookStopHook.onScoreAbove(double threshold) Stop when score exceeds threshold.Methods in com.tnsai.refinement with parameters of type StopHook