MCPcopy Create free account

hub / github.com/blackrock/HOLA / functions

Functions1,098 in github.com/blackrock/HOLA

↓ 2 callersMethoddimensionality
(&self)
opt_engine/src/strategies/sobol.rs:374
↓ 2 callersMethodevict_to
Evict the oldest trials until at most `cap` remain. Rebuilds the id index only when at least one trial is removed. With a single eviction per push th
opt_engine/src/leaderboard.rs:263
↓ 2 callersFunctionextract_objectives
(objectives: &Bound<'_, PyList>)
hola-py/src/lib.rs:466
↓ 2 callersFunctionf64_map_to_json
Convert a `BTreeMap<String, f64>` to a JSON object, representing infinity as `"inf"`.
hola/src/hola_engine.rs:1465
↓ 2 callersMethodfilename
Generate the filename for a checkpoint at the given trial count.
opt_engine/src/persistence.rs:513
↓ 2 callersFunctionfirst_param
(seed)
hola-py/tests/test_hola.py:678
↓ 2 callersMethodfit
Fit GMM parameters from normalized samples using EM algorithm. # Arguments `samples` - Normalized samples in [0, 1]^n, each inner Vec is one sample `
opt_engine/src/strategies/gmm.rs:389
↓ 2 callersMethodforward
(&self, x: f64)
opt_engine/src/scales.rs:57
↓ 2 callersMethodfrom_unit_cube
(&self, vec: &[f64])
opt_engine/src/strategies/random.rs:241
↓ 2 callersFunctiongetMetric
(trial, field)
dashboard/app.js:806
↓ 2 callersFunctiongetTrialRank
(trial)
dashboard/app.js:436
↓ 2 callersMethodget_completed
Get a single completed trial by ID, computing its rank and Pareto front.
hola/src/hola_engine.rs:1186
↓ 2 callersFunctiongroup_key
Derive a stable group key from an objective's group label. Falls back to the field name when no explicit group is set.
hola/src/hola_engine.rs:2586
↓ 2 callersFunctionload_json_capped
Deserialize a checkpoint JSON file with a byte-size cap and a cheap-fail format-version gate. The version is validated from the raw bytes before the
opt_engine/src/persistence.rs:369
↓ 2 callersMethodload_multi
Load all multi-objective results.
hola-py/benchmarks/data/persistence.py:69
↓ 2 callersMethodload_single
Load all single-objective results.
hola-py/benchmarks/data/persistence.py:63
↓ 2 callersFunctionmulti_param_config
()
hola/tests/integration/server.rs:85
↓ 2 callersMethodnon_dominated_sort_all
Perform NSGA-II non-dominated sorting including infeasible trials.
opt_engine/src/leaderboard.rs:1110
↓ 2 callersFunctionnormalizeSortValue
(v)
dashboard/app.js:1080
↓ 2 callersFunctionobservation_dominates
Whether observation `a` dominates `b` (no worse in any group, strictly better in at least one), assuming minimization. Mirrors the leaderboard's own d
hola/src/hola_engine.rs:1395
↓ 2 callersMethodoptimize
( self, problem: SingleObjectiveProblem, budget: int, seed: int, )
hola-py/benchmarks/adapters/igr_adapter.py:39
↓ 2 callersFunctionoptions_request
( app: axum::Router, uri: &str, origin: &str, requested_method: &str, )
hola/tests/integration/server.rs:156
↓ 2 callersMethodpareto_front_all
Compute the Pareto front including infeasible trials.
opt_engine/src/leaderboard.rs:831
↓ 2 callersMethodpareto_front_with_crowding
Get the Pareto front with crowding distances. Returns feasible trials on the Pareto front along with their crowding distances, sorted by crowding dis
opt_engine/src/leaderboard.rs:1342
↓ 2 callersFunctionplot_normalized_means
Bar plot of mean normalized score per optimizer, grouped by budget.
hola-py/benchmarks/plotting/single_objective.py:27
↓ 2 callersFunctionpy_dict_to_json
(dict: &Bound<'_, PyDict>)
hola-py/src/lib.rs:1333
↓ 2 callersMethodranked_trials_all
Get all trials (including infeasible) with NSGA-II ranking information.
opt_engine/src/leaderboard.rs:1368
↓ 2 callersFunctionread_capped
Read up to `MAX_CAPTURE_BYTES` from `reader`, discarding the rest so a runaway producer cannot stall the worker. Returns the captured text and a flag
hola-cli/src/main.rs:189
↓ 2 callersMethodrefit
(&mut self, space: &DynSpace, trials: &[(serde_json::Value, f64)])
hola/src/hola_engine.rs:589
↓ 2 callersFunctionrenderConvergence
()
dashboard/app.js:534
↓ 2 callersFunctionrenderParallel
()
dashboard/app.js:899
↓ 2 callersFunctionrenderPareto
()
dashboard/app.js:678
↓ 2 callersFunctionrenderTable
()
dashboard/app.js:1029
↓ 2 callersMethodrescalarize
(&mut self, objectives: &[ObjectiveConfig])
hola/src/hola_engine.rs:1114
↓ 2 callersMethodrescalarize
Re-compute observations for all trials that have raw_metrics. This enables mid-run objective changes: update the scoring function, call `rescalarize`
opt_engine/src/leaderboard.rs:435
↓ 2 callersFunctionresolveParamValue
(rawVal, rangeInfo)
dashboard/app.js:973
↓ 2 callersFunctionrun_with_seed
(seed)
hola-py/tests/test_hola.py:657
↓ 2 callersFunctionrun_with_strategy
Run optimization and track convergence.
hola-py/examples/gmm_explore_exploit.py:33
↓ 2 callersMethodsave
Save a full checkpoint (leaderboard + strategy state). This is the stable persistence API. Use `save` / `load` for checkpointing.
hola/src/hola_engine.rs:2176
↓ 2 callersFunctionscore_of
(x: float)
hola-py/tests/test_hola.py:472
↓ 2 callersMethodselection_count
(&self, n_trials: usize)
opt_engine/src/traits.rs:228
↓ 2 callersMethodserve
( &self, py: Python<'_>, port: u16, background: bool, dashboard_path:
hola-py/src/lib.rs:1201
↓ 2 callersFunctionserve_with_options
Start the server with explicit host, auth, CORS, and checkpoint options.
hola/src/server.rs:689
↓ 2 callersFunctionsetMode
(mode)
dashboard/app.js:444
↓ 2 callersFunctionsort_completed
Sort a Vec<CompletedTrial> by the given criterion.
hola/src/hola_engine.rs:1539
↓ 2 callersMethodspace_config
Get parameter metadata for dashboard auto-configuration.
hola/src/hola_engine.rs:2064
↓ 2 callersFunctionstopStream
()
dashboard/app.js:143
↓ 2 callersFunctionstreamEvents
(controller)
dashboard/app.js:150
↓ 2 callersFunctionsync_parent_dir
Best-effort fsync of the directory containing `path` so a preceding rename is durable. Opening and syncing a directory is unsupported on some platform
opt_engine/src/persistence.rs:433
↓ 2 callersFunctiontlp_score
Target-Limit-Priority (TLP) scalarization for a single value. Direction is inferred from the relationship between `target` and `limit`: - `target < l
opt_engine/src/objectives.rs:41
↓ 2 callersMethodtop_k_for_refit
Return top-k trials as (candidate, scalarized_score) for strategy refit.
hola/src/hola_engine.rs:1090
↓ 2 callersMethodtotal_completed
Monotonic count of trials ever pushed, forwarded from the inner `Leaderboard`. Increments on every push and is never decremented by eviction, so for a
hola/src/hola_engine.rs:1068
↓ 2 callersMethodtry_into_component
Reconstruct a component from on-disk data, or `None` if the data is malformed (zero-length, mismatched covariance dims, or non-finite values). `new` r
opt_engine/src/strategies/gmm.rs:191
↓ 2 callersFunctiontwo_group_objectives
Two priority-group objectives that force a vector leaderboard.
hola/src/hola_engine.rs:3580
↓ 2 callersMethodupdate
(&mut self, candidate: &serde_json::Value, observation: f64)
hola/src/hola_engine.rs:560
↓ 2 callersFunctionvalidate_objectives
(objectives: &[ObjectiveConfig])
hola/src/hola_engine.rs:820
↓ 1 callersMethod_build_objectives
(problem: MultiObjectiveProblem)
hola-py/benchmarks/adapters/hola_adapter.py:96
↓ 1 callersFunction_classify_block
Classify a code block as 'exec', 'syntax', or 'skip'.
hola-py/tests/test_doc_examples.py:70
↓ 1 callersFunction_collect_doc_blocks
Yield pytest params for all Python code blocks in docs.
hola-py/tests/test_doc_examples.py:81
↓ 1 callersFunction_extract_python_blocks
Extract (line_number, code) tuples from a markdown file.
hola-py/tests/test_doc_examples.py:60
↓ 1 callersFunction_extract_vec
(p: dict[str, float])
hola-py/benchmarks/functions/grouped_tlp.py:29
↓ 1 callersFunction_make_hola_namespace
Build a namespace with all hola exports pre-imported.
hola-py/tests/test_doc_examples.py:98
↓ 1 callersFunction_make_nd_bounds
(n: int, lo: float, hi: float)
hola-py/examples/gmm_explore_exploit.py:29
↓ 1 callersFunction_run_multi_one
Execute one multi-objective run.
hola-py/benchmarks/runner/executor.py:126
↓ 1 callersFunction_run_single_one
Execute one single-objective run. Must be top-level for pickling.
hola-py/benchmarks/runner/executor.py:43
↓ 1 callersFunction_unit_bounds
(n: int)
hola-py/benchmarks/problems/grouped_tlp.py:20
↓ 1 callersFunctionadversarial_objective
Produce metrics with occasional extreme values.
hola-py/examples/dashboard_stress_test.py:43
↓ 1 callersFunctionaggregate_scores
Mean normalized score per (optimizer, budget), averaging across problems. This is the "mean of means" metric used in the paper.
hola-py/benchmarks/data/normalize.py:38
↓ 1 callersFunctionapiToken
()
dashboard/app.js:54
↓ 1 callersFunctionattachParetoTooltip
()
dashboard/app.js:828
↓ 1 callersMethodbest_all
Return the best trial including infeasible ones.
opt_engine/src/leaderboard.rs:605
↓ 1 callersMethodbest_for_objective
Get the best feasible trial for a single objective (ignoring others).
opt_engine/src/leaderboard.rs:958
↓ 1 callersMethodbottom_k_all
Return the k worst trials, including infeasible.
opt_engine/src/leaderboard.rs:634
↓ 1 callersFunctionbranin
Branin-Hoo. Domain: x1 in [-5, 10], x2 in [0, 15]. Min: 0.397887.
hola-py/benchmarks/functions/single_objective.py:55
↓ 1 callersFunctionbuildHtml
()
dashboard/tests/xss_dom.test.mjs:51
↓ 1 callersFunctionbuild_cors
(origins: &[String])
hola/src/server.rs:574
↓ 1 callersFunctioncanonicalize_existing_ancestor
Canonicalize the nearest existing ancestor of `path` and re-append the remaining (not-yet-created) components, resolving any symlinks along the existi
hola/src/server.rs:295
↓ 1 callersFunctioncaptureUrlToken
()
dashboard/app.js:43
↓ 1 callersFunctioncheck_format_version_value
Validate that a recorded format version matches the version this build understands. Returns a clear error on mismatch.
opt_engine/src/persistence.rs:402
↓ 1 callersMethodclamp
(&self, val: &serde_json::Value)
hola/src/hola_engine.rs:134
↓ 1 callersMethodclamp
(&self, point: &String)
opt_engine/src/spaces/categorical.rs:59
↓ 1 callersMethodclamp
(&self, point: &f64)
opt_engine/src/spaces/continuous.rs:68
↓ 1 callersMethodclone
(&self)
opt_engine/src/strategies/sobol.rs:110
↓ 1 callersFunctioncompareCellValues
(a, b, asc)
dashboard/app.js:1091
↓ 1 callersMethodcompleted_for_tell
( &self, trial_id: u64, include_infeasible: bool, objectives: &[ObjectiveConfi
hola/src/hola_engine.rs:1237
↓ 1 callersMethodcompleted_mo_runs
Return set of (problem, optimizer, budget, run_id) already completed.
hola-py/benchmarks/data/persistence.py:84
↓ 1 callersMethodcompleted_so_runs
Return set of (problem, optimizer, budget, run_id) already completed.
hola-py/benchmarks/data/persistence.py:75
↓ 1 callersFunctioncomputeRanksIfMissing
(trials)
dashboard/app.js:324
↓ 1 callersFunctioncompute_hv
Compute hypervolume dominated by front relative to reference point. Higher is better. Returns 0.0 if front is empty.
hola-py/benchmarks/metrics/hypervolume.py:20
↓ 1 callersFunctioncompute_igd
Compute IGD from true front to approximation. Lower is better. Returns inf if front is empty.
hola-py/benchmarks/metrics/igd.py:20
↓ 1 callersFunctioncompute_score_vector
Compute per-priority-group aggregated scores from raw metrics.
hola/src/hola_engine.rs:1514
↓ 1 callersFunctioncompute_spacing
Compute spacing metric (std of nearest-neighbor distances). Lower is better (more uniform). Returns NaN for fewer than 2 points so that degen
hola-py/benchmarks/metrics/spacing.py:20
↓ 1 callersFunctionconnectToServer
()
dashboard/app.js:93
↓ 1 callersMethodcontains
(&self, point: &String)
opt_engine/src/spaces/categorical.rs:55
↓ 1 callersFunctiondashboard_dir
Return the path to the bundled dashboard static files. Useful for passing to ``Study.serve(dashboard_path=str(dashboard_dir()))``. Returns a
hola-py/hola_opt/__init__.py:47
↓ 1 callersFunctiondefault_refit_interval
()
hola/src/hola_engine.rs:688
↓ 1 callersMethoddimensionality
(&self)
opt_engine/src/strategies/random.rs:233
↓ 1 callersFunctiondirected_value
Format-agnostic objective scalarization math. These are the pure mathematical operations that map raw metric values to optimization scores. They have
opt_engine/src/objectives.rs:23
↓ 1 callersMethodenforce_max_size
Enforce `max_size` after a push, evicting the oldest trial if needed. A push adds exactly one trial, so at most one eviction is required. The `cap >
opt_engine/src/leaderboard.rs:280
↓ 1 callersFunctionexample_1d
Optimize the 1D Forrester function.
hola-py/examples/basic_optimization.py:28
← previousnext →201–300 of 1,098, ranked by callers