Skip to content

Commit a24629b

Browse files
committed
Fix AISearcher bug with stepsPlayed
1 parent 9c58eda commit a24629b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

VSharp.Explorer/AISearcher.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ type internal AISearcher(oracle: Oracle, aiAgentTrainingMode: Option<AIAgentTrai
137137
afterFirstAIPeek <- true
138138
let state = availableStates |> Seq.tryFind (fun s -> s.internalId = stateId)
139139
lastCollectedStatistics <- statistics
140+
stepsPlayed <- stepsPlayed + 1u<step>
140141

141142
match state with
142143
| Some state -> Some state

0 commit comments

Comments
 (0)