agentskit.js

replayBisect

Auto-generated API reference for replayBisect.

Function: replayBisect()

replayBisect(history, oracle, opts?): Promise<BisectVerdict>

Defined in: observability/src/replay-bisect.ts:28

Locate the earliest change that flips the run from pass to fail. Convention: index 0 is the oldest known-good change; higher indices are newer. The oracle returns 'fail' for any index β‰₯ the culprit and 'pass' before. Returns the first failing index, or all_clean / all_broken when no transition exists.

#Parameters

#history

readonly object[]

#oracle

ReplayOracle

#opts?

BisectOpts = \{\}

#Returns

Promise<BisectVerdict>

Explore nearby

✎ Edit this page on GitHubΒ·Found a problem? Open an issue β†’Β·How to contribute β†’

On this page