MCPcopy Create free account

hub / github.com/blackrock/HOLA / functions

Functions1,098 in github.com/blackrock/HOLA

↓ 4 callersMethodadd_real_log10
(mut self, name: &str, min: f64, max: f64)
hola/src/hola_engine.rs:290
↓ 4 callersFunctioncapped_from_sh
Run a tiny shell command through run_capped to obtain a real CappedOutput with a process-supplied ExitStatus for decision testing.
hola-cli/src/main.rs:605
↓ 4 callersMethodcardinality
(&self)
opt_engine/src/spaces/discrete.rs:44
↓ 4 callersMethodcompleted_trials
Return all trials as CompletedTrial with ranking and scoring.
hola/src/hola_engine.rs:1271
↓ 4 callersMethodfeasible_count
(&self)
opt_engine/src/leaderboard.rs:536
↓ 4 callersFunctionfmt
(v)
dashboard/app.js:1021
↓ 4 callersMethodfrom_unit_cube
(&self, vec: &[f64])
opt_engine/src/strategies/sobol.rs:382
↓ 4 callersMethodfrom_unit_cube
(&self, vec: &[f64])
opt_engine/src/spaces/discrete.rs:77
↓ 4 callersFunctioninvalid_checkpoint_path
(message: impl Into<String>)
hola/src/server.rs:241
↓ 4 callersFunctionmakeObjectiveLabel
(text)
dashboard/app.js:1203
↓ 4 callersMethodpareto_front
Get trials on a specific Pareto front.
hola/src/hola_engine.rs:2027
↓ 4 callersMethodranked_trials
Get all feasible trials with NSGA-II ranking information.
opt_engine/src/leaderboard.rs:1363
↓ 4 callersFunctionrust_to_py_completed
Convert a Rust CompletedTrial to a Python CompletedTrial.
hola-py/src/lib.rs:404
↓ 4 callersMethodsample
Sample from this Gaussian component. Uses the reparameterization: x = μ + L * z, where z ~ N(0, I).
opt_engine/src/strategies/gmm.rs:146
↓ 4 callersMethodsave
Save a checkpoint to disk.
hola-py/src/lib.rs:1050
↓ 4 callersMethodsave_json
Save checkpoint as JSON to a file. Uses atomic write (write-to-temp + fsync + rename) to prevent data loss.
opt_engine/src/persistence.rs:172
↓ 4 callersMethodselect_nsga2
Select top-k feasible trials using NSGA-II criteria. Selection is based on: 1. **Rank** (lower is better) - trials from earlier fronts are preferred
opt_engine/src/leaderboard.rs:1251
↓ 4 callersMethodset_max_size
Apply an optional retention cap to the underlying leaderboard. `None` leaves the leaderboard unbounded (default). `Some(n)` caps it at `n` trials usi
hola/src/hola_engine.rs:1003
↓ 4 callersMethodset_max_size
Set or clear the optional cap on the number of stored trials. # Eviction policy When a cap is set and a `push` would exceed it, the leaderboard evic
opt_engine/src/leaderboard.rs:244
↓ 4 callersMethodset_total_completed
Set the monotonic completed counter, clamping up to the number of currently stored trials. This is the mechanism for carrying the completed count acr
opt_engine/src/leaderboard.rs:326
↓ 4 callersMethodsorted_all
Return all trials sorted by observation, including infeasible.
opt_engine/src/leaderboard.rs:593
↓ 4 callersFunctiontime_it
(label: &str, f: impl FnOnce() -> T)
opt_engine/tests/integration/leaderboard_scalability.rs:52
↓ 4 callersMethodto_unit_cube
(&self, val: &serde_json::Value)
hola/src/hola_engine.rs:104
↓ 4 callersMethodto_unit_cube
(&self, point: &i64)
opt_engine/src/spaces/discrete.rs:68
↓ 4 callersMethodtop_k_all
Return the k trials with the lowest observations, including infeasible.
opt_engine/src/leaderboard.rs:571
↓ 4 callersMethodtop_k_scalarized
Scalarize multi-objective observations and return top-k feasible trials. The scalarizer function converts `BTreeMap<String, f64>` to a single `f64`.
opt_engine/src/leaderboard.rs:897
↓ 4 callersMethodtrial_count
Get the number of completed trials.
hola/src/hola_engine.rs:2022
↓ 4 callersFunctionunique_temp_path
Build a per-write-unique temp path in the same directory as `path`. A shared, deterministic temp name (e.g. `path.with_extension("tmp")`) lets two co
opt_engine/src/persistence.rs:418
↓ 4 callersFunctionwith_remote_auth
( request: reqwest::RequestBuilder, token: &Option<String>, )
hola-py/src/lib.rs:501
↓ 3 callersFunction_nd_bounds
(n: int, lo: float, hi: float)
hola-py/benchmarks/problems/single_objective.py:21
↓ 3 callersFunction_wfg_eval
Evaluate a WFG problem via pymoo, rescaling our [0, 1] inputs to pymoo's ``[0, 2i]`` decision-variable domain.
hola-py/benchmarks/functions/wfg.py:47
↓ 3 callersFunction_wfg_pareto_front
Generate the true Pareto front for a WFG problem via pymoo.
hola-py/benchmarks/functions/wfg.py:85
↓ 3 callersFunctionapply_paper_style
Apply matplotlib rcParams for publication-quality figures.
hola-py/benchmarks/plotting/style.py:40
↓ 3 callersMethodbest
Return the trial with the best (lowest) observation. Returns `None` if no feasible trials exist.
opt_engine/src/leaderboard.rs:600
↓ 3 callersMethodclamp
(&self, point: &i64)
opt_engine/src/spaces/discrete.rs:58
↓ 3 callersMethodclamp
(&self, point: &Self::Domain)
opt_engine/src/spaces/combinators.rs:38
↓ 3 callersFunctioncompleted_vec_to_pylist
( py: Python<'_>, trials: &[hola_engine::hola_engine::CompletedTrial], )
hola-py/src/lib.rs:1256
↓ 3 callersFunctioncompute_scores
Compute per-objective TLP scores φ_i from raw metrics. Each score is P_i × normalized_distance, matching the paper's formula.
hola/src/hola_engine.rs:1485
↓ 3 callersMethoddiagonal
Create a diagonal Gaussian component. Non-positive or non-finite variances are clamped to a small positive value so the covariance is always valid an
opt_engine/src/strategies/gmm.rs:135
↓ 3 callersFunctiondiscoverMetrics
()
dashboard/app.js:390
↓ 3 callersMethodfrom_unit_cube
(&self, vec: &[f64])
hola/src/hola_engine.rs:114
↓ 3 callersMethodfrom_unit_cube
(&self, vec: &[f64])
opt_engine/src/spaces/categorical.rs:80
↓ 3 callersFunctiongetCellValue
(trial, col)
dashboard/app.js:1069
↓ 3 callersFunctiongetTrialScore
(trial)
dashboard/app.js:423
↓ 3 callersFunctionget_color
Get color for an optimizer, with fallback.
hola-py/benchmarks/plotting/style.py:66
↓ 3 callersFunctionisSingleObjective
()
dashboard/app.js:408
↓ 3 callersFunctionjson_vec_to_completed_pylist
( py: Python<'_>, items: Vec<serde_json::Value>, )
hola-py/src/lib.rs:1268
↓ 3 callersMethodload_checkpoint_with_fallback
Load a checkpoint, preferring full checkpoints and falling back to legacy leaderboard-only files. This is used by CLI config `checkpoint.load_from`,
hola/src/hola_engine.rs:2193
↓ 3 callersFunctionobjective_score
Compute TLP score for a single value (shared by scalarize_raw and vectorize_raw).
hola/src/hola_engine.rs:2591
↓ 3 callersMethodpush_existing_trial
Append an existing trial record, preserving its ID and timestamp. This supports rebuilding a leaderboard with a different observation type while pres
opt_engine/src/leaderboard.rs:392
↓ 3 callersMethodpush_with_raw
Append a trial with raw metrics preserved for lazy re-scalarization.
opt_engine/src/leaderboard.rs:352
↓ 3 callersMethodpush_with_raw_trial_id
Append a trial with an externally assigned trial ID and raw metrics preserved for lazy re-scalarization.
opt_engine/src/leaderboard.rs:371
↓ 3 callersMethodpush_with_trial_id
Append a trial using an externally assigned trial ID. This is useful when trial IDs are issued before completion. The internal auto-assignment counte
opt_engine/src/leaderboard.rs:345
↓ 3 callersMethodreconcile_after_refit
(&mut self, live: &Self)
hola/src/hola_engine.rs:597
↓ 3 callersMethodrefit
(&mut self, space: &Self::Space, trials: &[(S::Domain, Self::Observation)])
opt_engine/src/strategies/gmm.rs:895
↓ 3 callersMethodreset_transient_trial_state_after_load
(&mut self)
hola/src/hola_engine.rs:1622
↓ 3 callersFunctionrun_capped
Run a child command, capturing stdout/stderr with a per-stream byte cap.
hola-cli/src/main.rs:241
↓ 3 callersFunctionscalar_checkpoint_config
(max_trials: Option<usize>)
hola/tests/integration/hola_engine.rs:1461
↓ 3 callersFunctionscalarize_observation
Sum of group costs → single scalar for strategy updates. Each group's cost already includes per-objective priority weights, so this is a plain sum: F
hola/src/hola_engine.rs:2580
↓ 3 callersFunctionscheduleReconnect
(controller)
dashboard/app.js:188
↓ 3 callersFunctionscoreVal
(t, g)
dashboard/app.js:334
↓ 3 callersFunctionserve
Start the server on the given port. Blocks until the server is shut down. If `dashboard_dir` is provided, the dashboard UI is served at `/`.
hola/src/server.rs:678
↓ 3 callersMethodset_refit_config
Set the refit configuration for this strategy instance.
opt_engine/src/strategies/gmm.rs:885
↓ 3 callersMethodsorted
Return feasible trials sorted by observation (ascending).
opt_engine/src/leaderboard.rs:588
↓ 3 callersFunctionsx
dashboard/app.js:719
↓ 3 callersFunctionsy
dashboard/app.js:720
↓ 3 callersMethodto_unit_cube
(&self, point: &String)
opt_engine/src/spaces/categorical.rs:73
↓ 3 callersMethodupdate_objectives
Update objectives mid-run, re-scalarizing all trials.
hola-py/src/lib.rs:1014
↓ 3 callersFunctionvector_global_rank
Compute a single trial's 0-indexed NSGA-II global rank from a cheap snapshot of `(trial_id, observation)` pairs, without cloning trials or building th
hola/src/hola_engine.rs:1426
↓ 2 callersFunction_allocate_free_port
Return a likely-available TCP port. There is an inherent TOCTOU race: the port may be claimed by another process between this call and the su
hola-py/tests/conftest.py:60
↓ 2 callersMethod_append_row
(self, path: Path, columns: list[str], row: dict[str, Any])
hola-py/benchmarks/data/persistence.py:54
↓ 2 callersFunction_ensure_jsdom_installed
Return True if dashboard/tests/node_modules/jsdom is present. Installs via `npm install` in dashboard/tests if missing. Returns False if npm/
hola-py/tests/test_dashboard_security.py:67
↓ 2 callersFunction_extract_vec
(p: dict[str, float])
hola-py/benchmarks/functions/wfg.py:35
↓ 2 callersFunction_free_port
()
hola-py/tests/test_server.py:175
↓ 2 callersFunction_make_seed
Deterministic seed from run parameters.
hola-py/benchmarks/runner/executor.py:32
↓ 2 callersFunction_register
(p: GroupedTlpProblem)
hola-py/benchmarks/problems/grouped_tlp.py:27
↓ 2 callersFunction_start_server
(cli_binary, config_path, port)
hola-py/tests/test_server.py:209
↓ 2 callersFunction_stop_server
(proc)
hola-py/tests/test_server.py:232
↓ 2 callersFunction_write_sobol_server_config
(tmp_path, *, load_from=None)
hola-py/tests/test_server.py:181
↓ 2 callersMethodadd_real_log
(mut self, name: &str, min: f64, max: f64)
hola/src/hola_engine.rs:280
↓ 2 callersMethodappend_multi
Append a multi-objective result row.
hola-py/benchmarks/data/persistence.py:50
↓ 2 callersMethodappend_single
Append a single-objective result row.
hola-py/benchmarks/data/persistence.py:43
↓ 2 callersFunctionbenchmark_sizes
()
opt_engine/tests/integration/leaderboard_scalability.rs:24
↓ 2 callersMethodbottom_k
Return the k trials with the highest (worst) observations. Excludes infeasible trials. Use `bottom_k_all()` to include them.
opt_engine/src/leaderboard.rs:612
↓ 2 callersFunctionbuild_completed_scalar
Build a CompletedTrial from a scalar leaderboard trial.
hola/src/hola_engine.rs:1351
↓ 2 callersFunctionbuild_completed_vector
Build a CompletedTrial from a vector leaderboard trial.
hola/src/hola_engine.rs:1372
↓ 2 callersFunctionbuild_id_index
Build a fresh `trial_id -> index` map from a slice of trials. On duplicate trial IDs the last occurrence wins, matching how `get` would observe the m
opt_engine/src/leaderboard.rs:170
↓ 2 callersMethodcancel
Cancel a pending trial.
hola-py/src/lib.rs:824
↓ 2 callersMethodcardinality
(&self)
opt_engine/src/spaces/categorical.rs:47
↓ 2 callersFunctioncheck_bearer
Enforce the bearer token when one is configured. Shared by the mutation and read authorization checks.
hola/src/server.rs:196
↓ 2 callersFunctioncheckpoint_save_failed
()
hola/src/server.rs:542
↓ 2 callersFunctioncompare_strategies
Compare Sobol vs GMM on a function.
hola-py/examples/gmm_explore_exploit.py:59
↓ 2 callersMethodcompleted_trial
Get a single completed trial by ID with scoring and ranking.
hola/src/hola_engine.rs:2039
↓ 2 callersFunctionconcurrency_test_config
Single-objective config with a deterministically seeded auto strategy, used by the concurrency stress tests so refit/exploration paths are exercised t
hola/tests/integration/hola_engine.rs:2232
↓ 2 callersFunctionconfigured_token
(cli_token: Option<String>)
hola-cli/src/main.rs:134
↓ 2 callersMethodcontains
(&self, val: &serde_json::Value)
hola/src/hola_engine.rs:124
↓ 2 callersMethodcontains
(&self, point: &Self::Domain)
opt_engine/src/test_helpers.rs:29
↓ 2 callersMethodcontains_trial_id
(&self, trial_id: u64)
hola/src/hola_engine.rs:1049
↓ 2 callersFunctioncreate_router_with_dashboard_and_options
Create the Axum router with the dashboard and explicit server options. Returns an error if any configured CORS origin is not a valid HTTP header valu
hola/src/server.rs:663
↓ 2 callersFunctiondeserialize_checked
Validate the format version from raw bytes, then fully deserialize them. Used by the capped file/reader load paths so the cheap version gate runs bef
opt_engine/src/persistence.rs:395
← previousnext →101–200 of 1,098, ranked by callers