File tree Expand file tree Collapse file tree
src/hooks/useAnalysisController Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ export const useAnalysisController = (
8686 deepAnalysisController . progress . isAnalyzing
8787 ? deepAnalysisController . config . targetDepth
8888 : 18 ,
89+ deepAnalysisController . progress . isAnalyzing ,
8990 )
9091
9192 const availableMoves = useMemo ( ( ) => {
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ export const useEngineAnalysis = (
1515 currentMaiaModel : string ,
1616 setAnalysisState : React . Dispatch < React . SetStateAction < number > > ,
1717 targetDepth = 18 ,
18+ forceStagedStrategy = false ,
1819) => {
1920 const maia = useContext ( MaiaEngineContext )
2021 const stockfish = useContext ( StockfishEngineContext )
@@ -234,6 +235,9 @@ export const useEngineAnalysis = (
234235 chess . moves ( ) . length ,
235236 targetDepth ,
236237 {
238+ moveMapStrategy : forceStagedStrategy
239+ ? 'staged-root-probe'
240+ : undefined ,
237241 maiaCandidateMoves,
238242 forcedCandidateMoves,
239243 maiaPolicy,
@@ -278,6 +282,7 @@ export const useEngineAnalysis = (
278282 currentMaiaModel ,
279283 setAnalysisState ,
280284 targetDepth ,
285+ forceStagedStrategy ,
281286 stockfishDebugRerunToken ,
282287 currentNode ?. analysis . maia ?. [ currentMaiaModel ] ?. policy ,
283288 currentNode ?. mainChild ?. move ,
You can’t perform that action at this time.
0 commit comments