Skip to content

Commit b2545ba

Browse files
fix: keep full-game strategy overridable by debug settings
1 parent e71e0b7 commit b2545ba

2 files changed

Lines changed: 0 additions & 6 deletions

File tree

src/hooks/useAnalysisController/useAnalysisController.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ export const useAnalysisController = (
8686
deepAnalysisController.progress.isAnalyzing
8787
? deepAnalysisController.config.targetDepth
8888
: 18,
89-
deepAnalysisController.progress.isAnalyzing,
9089
)
9190

9291
const availableMoves = useMemo(() => {

src/hooks/useAnalysisController/useEngineAnalysis.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ export const useEngineAnalysis = (
1515
currentMaiaModel: string,
1616
setAnalysisState: React.Dispatch<React.SetStateAction<number>>,
1717
targetDepth = 18,
18-
forceStagedStrategy = false,
1918
) => {
2019
const maia = useContext(MaiaEngineContext)
2120
const stockfish = useContext(StockfishEngineContext)
@@ -235,9 +234,6 @@ export const useEngineAnalysis = (
235234
chess.moves().length,
236235
targetDepth,
237236
{
238-
moveMapStrategy: forceStagedStrategy
239-
? 'staged-root-probe'
240-
: undefined,
241237
maiaCandidateMoves,
242238
forcedCandidateMoves,
243239
maiaPolicy,
@@ -282,7 +278,6 @@ export const useEngineAnalysis = (
282278
currentMaiaModel,
283279
setAnalysisState,
284280
targetDepth,
285-
forceStagedStrategy,
286281
stockfishDebugRerunToken,
287282
currentNode?.analysis.maia?.[currentMaiaModel]?.policy,
288283
currentNode?.mainChild?.move,

0 commit comments

Comments
 (0)