defineAgent
Optional
Called when a simulation run driving this agent ends. Read the simulator's verdict via ctx.simulatorVerdict and veto a pass from your own checks with ctx.fail(reason). Never called for normal sessions.
ctx.simulatorVerdict
ctx.fail(reason)
See
defineAgent