File tree Expand file tree Collapse file tree
are/simulation/scenarios/scenario_imported_from_json Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -381,14 +381,16 @@ def preprocess_scenario_from_config(
381381 # Preprocess the scenario
382382 if not config .oracle :
383383 # Create judge configuration using provided parameters
384- from are .simulation .validation .configs import (
385- GraphPerEventJudgeConfig ,
386- create_judge_engine ,
387- )
388-
389- judge_engine = create_judge_engine (config .judge_engine_config )
384+ # If judge_engine_config is None, skip judge creation entirely
385+ judge_config = None
386+ if config .judge_engine_config is not None :
387+ from are .simulation .validation .configs import (
388+ create_judge_engine ,
389+ GraphPerEventJudgeConfig ,
390+ )
390391
391- judge_config = GraphPerEventJudgeConfig (engine = judge_engine )
392+ judge_engine = create_judge_engine (config .judge_engine_config )
393+ judge_config = GraphPerEventJudgeConfig (engine = judge_engine )
392394
393395 preprocess_scenario (
394396 scenario = scenario ,
You can’t perform that action at this time.
0 commit comments