omniopt2 8458__tar.gz → 8461__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of omniopt2 might be problematic. Click here for more details.
- {omniopt2-8458 → omniopt2-8461}/.omniopt.py +9 -4
- {omniopt2-8458 → omniopt2-8461}/PKG-INFO +1 -1
- {omniopt2-8458 → omniopt2-8461}/omniopt2.egg-info/PKG-INFO +1 -1
- {omniopt2-8458 → omniopt2-8461}/pyproject.toml +1 -1
- {omniopt2-8458 → omniopt2-8461}/.colorfunctions.sh +0 -0
- {omniopt2-8458 → omniopt2-8461}/.dockerignore +0 -0
- {omniopt2-8458 → omniopt2-8461}/.general.sh +0 -0
- {omniopt2-8458 → omniopt2-8461}/.gitignore +0 -0
- {omniopt2-8458 → omniopt2-8461}/.helpers.py +0 -0
- {omniopt2-8458 → omniopt2-8461}/.omniopt_plot_cpu_ram_usage.py +0 -0
- {omniopt2-8458 → omniopt2-8461}/.omniopt_plot_general.py +0 -0
- {omniopt2-8458 → omniopt2-8461}/.omniopt_plot_gpu_usage.py +0 -0
- {omniopt2-8458 → omniopt2-8461}/.omniopt_plot_kde.py +0 -0
- {omniopt2-8458 → omniopt2-8461}/.omniopt_plot_scatter.py +0 -0
- {omniopt2-8458 → omniopt2-8461}/.omniopt_plot_scatter_generation_method.py +0 -0
- {omniopt2-8458 → omniopt2-8461}/.omniopt_plot_scatter_hex.py +0 -0
- {omniopt2-8458 → omniopt2-8461}/.omniopt_plot_time_and_exit_code.py +0 -0
- {omniopt2-8458 → omniopt2-8461}/.omniopt_plot_trial_index_result.py +0 -0
- {omniopt2-8458 → omniopt2-8461}/.omniopt_plot_worker.py +0 -0
- {omniopt2-8458 → omniopt2-8461}/.random_generator.py +0 -0
- {omniopt2-8458 → omniopt2-8461}/.shellscript_functions +0 -0
- {omniopt2-8458 → omniopt2-8461}/.tests/pylint.rc +0 -0
- {omniopt2-8458 → omniopt2-8461}/.tpe.py +0 -0
- {omniopt2-8458 → omniopt2-8461}/LICENSE +0 -0
- {omniopt2-8458 → omniopt2-8461}/MANIFEST.in +0 -0
- {omniopt2-8458 → omniopt2-8461}/README.md +0 -0
- {omniopt2-8458 → omniopt2-8461}/apt-dependencies.txt +0 -0
- {omniopt2-8458 → omniopt2-8461}/omniopt +0 -0
- {omniopt2-8458 → omniopt2-8461}/omniopt2.egg-info/SOURCES.txt +0 -0
- {omniopt2-8458 → omniopt2-8461}/omniopt2.egg-info/dependency_links.txt +0 -0
- {omniopt2-8458 → omniopt2-8461}/omniopt2.egg-info/requires.txt +0 -0
- {omniopt2-8458 → omniopt2-8461}/omniopt2.egg-info/top_level.txt +0 -0
- {omniopt2-8458 → omniopt2-8461}/omniopt_docker +0 -0
- {omniopt2-8458 → omniopt2-8461}/omniopt_evaluate +0 -0
- {omniopt2-8458 → omniopt2-8461}/omniopt_plot +0 -0
- {omniopt2-8458 → omniopt2-8461}/omniopt_share +0 -0
- {omniopt2-8458 → omniopt2-8461}/requirements.txt +0 -0
- {omniopt2-8458 → omniopt2-8461}/setup.cfg +0 -0
- {omniopt2-8458 → omniopt2-8461}/setup.py +0 -0
- {omniopt2-8458 → omniopt2-8461}/test_requirements.txt +0 -0
|
@@ -3306,7 +3306,7 @@ def parse_experiment_parameters() -> None:
|
|
|
3306
3306
|
# Remove duplicates by 'name' key preserving order
|
|
3307
3307
|
params = list({p['name']: p for p in params}.values())
|
|
3308
3308
|
|
|
3309
|
-
experiment_parameters = params
|
|
3309
|
+
experiment_parameters = params # type: ignore[assignment]
|
|
3310
3310
|
|
|
3311
3311
|
def check_factorial_range() -> None:
|
|
3312
3312
|
if args.model and args.model == "FACTORIAL":
|
|
@@ -8471,16 +8471,21 @@ def get_model_from_name(name: str) -> Any:
|
|
|
8471
8471
|
return gen
|
|
8472
8472
|
raise ValueError(f"Unknown or unsupported model: {name}")
|
|
8473
8473
|
|
|
8474
|
-
def get_name_from_model(model: Any) ->
|
|
8474
|
+
def get_name_from_model(model: Any) -> str:
|
|
8475
8475
|
if not isinstance(SUPPORTED_MODELS, (list, set, tuple)):
|
|
8476
|
-
|
|
8476
|
+
raise RuntimeError("get_model_from_name: SUPPORTED_MODELS was not a list, set or tuple. Cannot continue")
|
|
8477
8477
|
|
|
8478
8478
|
model_str = model.value if hasattr(model, "value") else str(model)
|
|
8479
8479
|
|
|
8480
8480
|
model_str_lower = model_str.lower()
|
|
8481
8481
|
model_map = {m.lower(): m for m in SUPPORTED_MODELS}
|
|
8482
8482
|
|
|
8483
|
-
|
|
8483
|
+
ret = model_map.get(model_str_lower, None)
|
|
8484
|
+
|
|
8485
|
+
if ret is None:
|
|
8486
|
+
raise RuntimeError("get_name_from_model: failed to get Model")
|
|
8487
|
+
|
|
8488
|
+
return ret
|
|
8484
8489
|
|
|
8485
8490
|
def parse_generation_strategy_string(gen_strat_str: str) -> tuple[list[dict[str, int]], int]:
|
|
8486
8491
|
gen_strat_list = []
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|