Kind: Class
Source: atloria-monorepo/libs/agent-core/src/autonomous/circle-detector.ts
Methods
| Method | Signature | Returns |
|---|---|---|
recordTurn | recordTurn(record: TurnRecord) | void |
analyze | analyze() | CircleDetectionResult |
getProgressDelta | getProgressDelta() | number |
suggestBudgetExtension | suggestBudgetExtension(currentTurn: number, maxTurns: number) | number |
reset | reset() | void |
getWindow | getWindow() | readonly TurnRecord[] |
Where it refuses work
CircleDetectorstops the work with an early return whenthis.window.length < this.minTurnsBeforeDetection.CircleDetectorstops the work with an early return whensignals.length === 0.CircleDetectorstops the work with an early return whencurrentTurn < Math.floor(maxTurns * 0.8).
Was this page helpful?