Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/blackrock/HOLA
/ functions
Functions
1,098 in github.com/blackrock/HOLA
⨍
Functions
1,098
◇
Types & classes
115
↳
Endpoints
1
↓ 2 callers
Method
dimensionality
(&self)
opt_engine/src/strategies/sobol.rs:374
↓ 2 callers
Method
evict_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 callers
Function
extract_objectives
(objectives: &Bound<'_, PyList>)
hola-py/src/lib.rs:466
↓ 2 callers
Function
f64_map_to_json
Convert a `BTreeMap<String, f64>` to a JSON object, representing infinity as `"inf"`.
hola/src/hola_engine.rs:1465
↓ 2 callers
Method
filename
Generate the filename for a checkpoint at the given trial count.
opt_engine/src/persistence.rs:513
↓ 2 callers
Function
first_param
(seed)
hola-py/tests/test_hola.py:678
↓ 2 callers
Method
fit
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 callers
Method
forward
(&self, x: f64)
opt_engine/src/scales.rs:57
↓ 2 callers
Method
from_unit_cube
(&self, vec: &[f64])
opt_engine/src/strategies/random.rs:241
↓ 2 callers
Function
getMetric
(trial, field)
dashboard/app.js:806
↓ 2 callers
Function
getTrialRank
(trial)
dashboard/app.js:436
↓ 2 callers
Method
get_completed
Get a single completed trial by ID, computing its rank and Pareto front.
hola/src/hola_engine.rs:1186
↓ 2 callers
Function
group_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 callers
Function
load_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 callers
Method
load_multi
Load all multi-objective results.
hola-py/benchmarks/data/persistence.py:69
↓ 2 callers
Method
load_single
Load all single-objective results.
hola-py/benchmarks/data/persistence.py:63
↓ 2 callers
Function
multi_param_config
()
hola/tests/integration/server.rs:85
↓ 2 callers
Method
non_dominated_sort_all
Perform NSGA-II non-dominated sorting including infeasible trials.
opt_engine/src/leaderboard.rs:1110
↓ 2 callers
Function
normalizeSortValue
(v)
dashboard/app.js:1080
↓ 2 callers
Function
observation_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 callers
Method
optimize
( self, problem: SingleObjectiveProblem, budget: int, seed: int, )
hola-py/benchmarks/adapters/igr_adapter.py:39
↓ 2 callers
Function
options_request
( app: axum::Router, uri: &str, origin: &str, requested_method: &str, )
hola/tests/integration/server.rs:156
↓ 2 callers
Method
pareto_front_all
Compute the Pareto front including infeasible trials.
opt_engine/src/leaderboard.rs:831
↓ 2 callers
Method
pareto_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 callers
Function
plot_normalized_means
Bar plot of mean normalized score per optimizer, grouped by budget.
hola-py/benchmarks/plotting/single_objective.py:27
↓ 2 callers
Function
py_dict_to_json
(dict: &Bound<'_, PyDict>)
hola-py/src/lib.rs:1333
↓ 2 callers
Method
ranked_trials_all
Get all trials (including infeasible) with NSGA-II ranking information.
opt_engine/src/leaderboard.rs:1368
↓ 2 callers
Function
read_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 callers
Method
refit
(&mut self, space: &DynSpace, trials: &[(serde_json::Value, f64)])
hola/src/hola_engine.rs:589
↓ 2 callers
Function
renderConvergence
()
dashboard/app.js:534
↓ 2 callers
Function
renderParallel
()
dashboard/app.js:899
↓ 2 callers
Function
renderPareto
()
dashboard/app.js:678
↓ 2 callers
Function
renderTable
()
dashboard/app.js:1029
↓ 2 callers
Method
rescalarize
(&mut self, objectives: &[ObjectiveConfig])
hola/src/hola_engine.rs:1114
↓ 2 callers
Method
rescalarize
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 callers
Function
resolveParamValue
(rawVal, rangeInfo)
dashboard/app.js:973
↓ 2 callers
Function
run_with_seed
(seed)
hola-py/tests/test_hola.py:657
↓ 2 callers
Function
run_with_strategy
Run optimization and track convergence.
hola-py/examples/gmm_explore_exploit.py:33
↓ 2 callers
Method
save
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 callers
Function
score_of
(x: float)
hola-py/tests/test_hola.py:472
↓ 2 callers
Method
selection_count
(&self, n_trials: usize)
opt_engine/src/traits.rs:228
↓ 2 callers
Method
serve
( &self, py: Python<'_>, port: u16, background: bool, dashboard_path:
hola-py/src/lib.rs:1201
↓ 2 callers
Function
serve_with_options
Start the server with explicit host, auth, CORS, and checkpoint options.
hola/src/server.rs:689
↓ 2 callers
Function
setMode
(mode)
dashboard/app.js:444
↓ 2 callers
Function
sort_completed
Sort a Vec<CompletedTrial> by the given criterion.
hola/src/hola_engine.rs:1539
↓ 2 callers
Method
space_config
Get parameter metadata for dashboard auto-configuration.
hola/src/hola_engine.rs:2064
↓ 2 callers
Function
stopStream
()
dashboard/app.js:143
↓ 2 callers
Function
streamEvents
(controller)
dashboard/app.js:150
↓ 2 callers
Function
sync_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 callers
Function
tlp_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 callers
Method
top_k_for_refit
Return top-k trials as (candidate, scalarized_score) for strategy refit.
hola/src/hola_engine.rs:1090
↓ 2 callers
Method
total_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 callers
Method
try_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 callers
Function
two_group_objectives
Two priority-group objectives that force a vector leaderboard.
hola/src/hola_engine.rs:3580
↓ 2 callers
Method
update
(&mut self, candidate: &serde_json::Value, observation: f64)
hola/src/hola_engine.rs:560
↓ 2 callers
Function
validate_objectives
(objectives: &[ObjectiveConfig])
hola/src/hola_engine.rs:820
↓ 1 callers
Method
_build_objectives
(problem: MultiObjectiveProblem)
hola-py/benchmarks/adapters/hola_adapter.py:96
↓ 1 callers
Function
_classify_block
Classify a code block as 'exec', 'syntax', or 'skip'.
hola-py/tests/test_doc_examples.py:70
↓ 1 callers
Function
_collect_doc_blocks
Yield pytest params for all Python code blocks in docs.
hola-py/tests/test_doc_examples.py:81
↓ 1 callers
Function
_extract_python_blocks
Extract (line_number, code) tuples from a markdown file.
hola-py/tests/test_doc_examples.py:60
↓ 1 callers
Function
_extract_vec
(p: dict[str, float])
hola-py/benchmarks/functions/grouped_tlp.py:29
↓ 1 callers
Function
_make_hola_namespace
Build a namespace with all hola exports pre-imported.
hola-py/tests/test_doc_examples.py:98
↓ 1 callers
Function
_make_nd_bounds
(n: int, lo: float, hi: float)
hola-py/examples/gmm_explore_exploit.py:29
↓ 1 callers
Function
_run_multi_one
Execute one multi-objective run.
hola-py/benchmarks/runner/executor.py:126
↓ 1 callers
Function
_run_single_one
Execute one single-objective run. Must be top-level for pickling.
hola-py/benchmarks/runner/executor.py:43
↓ 1 callers
Function
_unit_bounds
(n: int)
hola-py/benchmarks/problems/grouped_tlp.py:20
↓ 1 callers
Function
adversarial_objective
Produce metrics with occasional extreme values.
hola-py/examples/dashboard_stress_test.py:43
↓ 1 callers
Function
aggregate_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 callers
Function
apiToken
()
dashboard/app.js:54
↓ 1 callers
Function
attachParetoTooltip
()
dashboard/app.js:828
↓ 1 callers
Method
best_all
Return the best trial including infeasible ones.
opt_engine/src/leaderboard.rs:605
↓ 1 callers
Method
best_for_objective
Get the best feasible trial for a single objective (ignoring others).
opt_engine/src/leaderboard.rs:958
↓ 1 callers
Method
bottom_k_all
Return the k worst trials, including infeasible.
opt_engine/src/leaderboard.rs:634
↓ 1 callers
Function
branin
Branin-Hoo. Domain: x1 in [-5, 10], x2 in [0, 15]. Min: 0.397887.
hola-py/benchmarks/functions/single_objective.py:55
↓ 1 callers
Function
buildHtml
()
dashboard/tests/xss_dom.test.mjs:51
↓ 1 callers
Function
build_cors
(origins: &[String])
hola/src/server.rs:574
↓ 1 callers
Function
canonicalize_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 callers
Function
captureUrlToken
()
dashboard/app.js:43
↓ 1 callers
Function
check_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 callers
Method
clamp
(&self, val: &serde_json::Value)
hola/src/hola_engine.rs:134
↓ 1 callers
Method
clamp
(&self, point: &String)
opt_engine/src/spaces/categorical.rs:59
↓ 1 callers
Method
clamp
(&self, point: &f64)
opt_engine/src/spaces/continuous.rs:68
↓ 1 callers
Method
clone
(&self)
opt_engine/src/strategies/sobol.rs:110
↓ 1 callers
Function
compareCellValues
(a, b, asc)
dashboard/app.js:1091
↓ 1 callers
Method
completed_for_tell
( &self, trial_id: u64, include_infeasible: bool, objectives: &[ObjectiveConfi
hola/src/hola_engine.rs:1237
↓ 1 callers
Method
completed_mo_runs
Return set of (problem, optimizer, budget, run_id) already completed.
hola-py/benchmarks/data/persistence.py:84
↓ 1 callers
Method
completed_so_runs
Return set of (problem, optimizer, budget, run_id) already completed.
hola-py/benchmarks/data/persistence.py:75
↓ 1 callers
Function
computeRanksIfMissing
(trials)
dashboard/app.js:324
↓ 1 callers
Function
compute_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 callers
Function
compute_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 callers
Function
compute_score_vector
Compute per-priority-group aggregated scores from raw metrics.
hola/src/hola_engine.rs:1514
↓ 1 callers
Function
compute_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 callers
Function
connectToServer
()
dashboard/app.js:93
↓ 1 callers
Method
contains
(&self, point: &String)
opt_engine/src/spaces/categorical.rs:55
↓ 1 callers
Function
dashboard_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 callers
Function
default_refit_interval
()
hola/src/hola_engine.rs:688
↓ 1 callers
Method
dimensionality
(&self)
opt_engine/src/strategies/random.rs:233
↓ 1 callers
Function
directed_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 callers
Method
enforce_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 callers
Function
example_1d
Optimize the 1D Forrester function.
hola-py/examples/basic_optimization.py:28
← previous
next →
201–300 of 1,098, ranked by callers