Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IBM/AssetOpsBench
/ functions
Functions
947 in github.com/IBM/AssetOpsBench
⨍
Functions
947
◇
Types & classes
171
↳
Endpoints
13
↓ 1 callers
Function
_w_mse
(targets, outputs, device="cpu")
src/servers/tsfm/metrics.py:199
↓ 1 callers
Function
_walk_dicts
(value: Any)
src/evaluation/metrics.py:68
↓ 1 callers
Function
_walk_dicts
(value: Any)
src/agent/opencode_agent/runner.py:284
↓ 1 callers
Function
_weighted_conformal_alpha
( scores, weights, score_observed, conformal_correction=False, max_score=np.inf )
src/servers/tsfm/anomaly.py:63
↓ 1 callers
Method
aclose
(self)
src/servers/wo/couch.py:45
↓ 1 callers
Function
all_databases
The databases this loader manages = the default manifest's keys (db name = key).
src/couchdb/init_data.py:102
↓ 1 callers
Function
build_methods
Build available method configs from CLI args.
src/benchmark/scenario_suite_runner.py:424
↓ 1 callers
Method
call
(self, name, tool, args)
src/mcphub/__init__.py:137
↓ 1 callers
Function
collection_config
Config for a collection; unknown keys default to generic JSON with no primary key.
src/couchdb/loader.py:60
↓ 1 callers
Function
compute_psd
Compute Power Spectral Density using Welch's method. Args: data: 1D time-domain signal fs: Sampling frequency in Hz
src/servers/vibration/dsp/fft_analysis.py:72
↓ 1 callers
Function
compute_removal_costs
(df)
src/servers/tsfm/dataquality.py:115
↓ 1 callers
Function
compute_spectrogram
Compute spectrogram (Short-Time Fourier Transform). Args: data: 1D time-domain signal fs: Sampling frequency in Hz n
src/servers/vibration/dsp/fft_analysis.py:107
↓ 1 callers
Function
create_workorder
Create a new work order (status WAPPR). Optionally pin `wonum` for reproducible ids and attach `aob_source` provenance (the agent/trigger that gen
src/servers/wo/workorders.py:359
↓ 1 callers
Function
evaluate_static_json_batch
Evaluate multiple gold/model answer pairs and aggregate metrics.
src/evaluation/scorers/static_json.py:395
↓ 1 callers
Function
exact_string_match
( scenario: Scenario, answer: str, trajectory_text: str )
src/evaluation/scorers/code_based.py:12
↓ 1 callers
Function
extract_answer_text
Extract likely final answer text from raw model output.
src/evaluation/scorers/static_json.py:68
↓ 1 callers
Function
fetch_vibration_timeseries
Fetch sensor time-series from CouchDB and return as numpy array. Queries CouchDB for documents matching the given asset_id and time range,
src/servers/vibration/couchdb_client.py:50
↓ 1 callers
Function
files_from
(s)
src/couchdb/loader.py:137
↓ 1 callers
Function
find_peaks_in_spectrum
Find dominant peaks in a frequency spectrum. Args: frequencies: Frequency axis in Hz magnitude: Magnitude spectrum (linear)
src/servers/vibration/dsp/fft_analysis.py:145
↓ 1 callers
Method
find_tools
Keyword search over loaded tool names + descriptions.
src/mcphub/__init__.py:225
↓ 1 callers
Method
fit
(self, y_cal_pred, y_cal_gt, X_cal=None, cal_timestamps=None)
src/servers/tsfm/anomaly.py:108
↓ 1 callers
Function
generate
Return (time_vector, acceleration_signal).
src/servers/vibration/sample_data/generate_synthetic_vibration.py:79
↓ 1 callers
Method
generate
(self, prompt: str, temperature: float = 0.0)
src/evaluation/tests/test_scorers.py:19
↓ 1 callers
Method
generate_with_usage
(self, prompt: str, temperature: float = 0.0)
src/llm/openai_compat.py:39
↓ 1 callers
Method
generate_with_usage
Generate text and report token usage. Default impl delegates to :meth:`generate` and reports zero usage — backends that can surface c
src/llm/base.py:30
↓ 1 callers
Method
generate_with_usage
(self, prompt: str, temperature: float = 0.0)
src/llm/litellm.py:39
↓ 1 callers
Method
generate_with_usage
(self, prompt: str, temperature: float = 0.0)
src/agent/direct_llm_agent/tests/test_runner.py:13
↓ 1 callers
Method
generate_with_usage
(self, prompt: str, temperature: float = 0.0)
src/agent/plan_execute/runner.py:53
↓ 1 callers
Method
generate_with_usage
(self, prompt: str, temperature: float = 0.0)
src/agent/tests/test_runner.py:158
↓ 1 callers
Function
get_registry_sites
Distinct site ids present in the asset registry (from each asset profile's `siteid`). Cached.
src/servers/iot/main.py:221
↓ 1 callers
Function
get_sensor_list
The sensors an asset actually measures = the UNION of measurement keys across ALL of the asset's reading documents. IoT data may be sparse /
src/servers/iot/main.py:161
↓ 1 callers
Function
init_data
Load a scenario's data (or the default) into CouchDB. Returns {collection: (db, n)}. Resolves the manifest first, so an unknown ``scenario_id`` r
src/couchdb/init_data.py:129
↓ 1 callers
Method
list_ids
(self)
src/servers/vibration/data_store.py:131
↓ 1 callers
Function
list_sensor_fields
Return the sensor field names available for an asset in CouchDB.
src/servers/vibration/couchdb_client.py:131
↓ 1 callers
Function
load_config
()
src/couchdb/loader.py:54
↓ 1 callers
Function
load_scenario_ids
Load scenario ids from a plain text file. The file format is intentionally simple: 11 12 14 Blank lines and lines b
src/benchmark/scenario_suite_runner.py:81
↓ 1 callers
Method
load_tools
Connect to servers and discover their tools. Returns tool count.
src/mcphub/__init__.py:178
↓ 1 callers
Function
main
()
src/benchmark/scenario_suite_runner.py:711
↓ 1 callers
Function
main
()
src/servers/fmsr/main.py:303
↓ 1 callers
Function
main
()
src/servers/vibration/main.py:550
↓ 1 callers
Function
main
()
src/servers/vibration/sample_data/generate_synthetic_vibration.py:122
↓ 1 callers
Function
main
()
src/servers/utilities/main.py:100
↓ 1 callers
Function
main
()
src/servers/wo/main.py:368
↓ 1 callers
Function
main
()
src/servers/tsfm/main.py:679
↓ 1 callers
Function
main
()
src/servers/iot/main.py:458
↓ 1 callers
Function
main
()
src/couchdb/init_data.py:157
↓ 1 callers
Function
main
(argv: list[str] | None = None)
src/evaluation/cli.py:88
↓ 1 callers
Function
main
()
src/agent/cli.py:143
↓ 1 callers
Function
main
()
src/agent/opencode_agent/cli.py:157
↓ 1 callers
Function
main
()
src/agent/direct_llm_agent/cli.py:73
↓ 1 callers
Function
main
()
src/agent/openai_agent/cli.py:62
↓ 1 callers
Function
main
()
src/agent/claude_agent/cli.py:60
↓ 1 callers
Function
main
()
src/agent/deep_agent/cli.py:66
↓ 1 callers
Function
main
()
src/agent/stirrup_agent/cli.py:105
↓ 1 callers
Function
main
()
examples/quickstart_tooluniverse.py:19
↓ 1 callers
Function
manifest_path
(scenario_id)
src/couchdb/init_data.py:60
↓ 1 callers
Function
method_output_paths
Return trajectory, report, and workspace roots nested by agent/model.
src/benchmark/scenario_suite_runner.py:63
↓ 1 callers
Function
model_dir_name
Return a filesystem-safe directory name for a model id.
src/benchmark/scenario_suite_runner.py:56
↓ 1 callers
Method
next_wonum
Allocate the next WONUM for a site from a counter doc. Reproducible across a benchmark run because allocation is sequential and seede
src/servers/wo/couch.py:102
↓ 1 callers
Function
normalize_value
Normalize scalar values for stable comparison.
src/evaluation/scorers/static_json.py:213
↓ 1 callers
Function
numeric_match
( scenario: Scenario, answer: str, trajectory_text: str )
src/evaluation/scorers/code_based.py:18
↓ 1 callers
Function
parse_csv
(path, cfg)
src/couchdb/loader.py:86
↓ 1 callers
Function
parse_json
(path)
src/couchdb/loader.py:110
↓ 1 callers
Function
print_answer
Print the final answer section.
src/agent/_cli_common.py:111
↓ 1 callers
Function
print_trajectory
Pretty-print turns, tool calls, and token totals to stdout.
src/agent/_cli_common.py:84
↓ 1 callers
Function
read_question
Read question.txt for a scenario.
src/benchmark/scenario_suite_runner.py:113
↓ 1 callers
Function
remove_lowest_cost
(df, row_costs, col_costs, preference_tie="row")
src/servers/tsfm/dataquality.py:122
↓ 1 callers
Method
reset
(self)
src/agent/plan_execute/runner.py:43
↓ 1 callers
Function
reset_and_load_couchdb
Reset CouchDB and load the scenario-specific data from scenario_root.
src/benchmark/scenario_suite_runner.py:298
↓ 1 callers
Method
run
Run OpenCode for *question* and return a benchmark result.
src/agent/opencode_agent/runner.py:618
↓ 1 callers
Method
run
(self, question: str)
src/agent/stirrup_agent/runner.py:144
↓ 1 callers
Function
run_agent_for_scenario
Run one scenario with one method.
src/benchmark/scenario_suite_runner.py:321
↓ 1 callers
Function
run_evaluation
Run the existing AssetOpsBench evaluator for one method.
src/benchmark/scenario_suite_runner.py:387
↓ 1 callers
Function
selected_methods
Resolve the requested method selection.
src/benchmark/scenario_suite_runner.py:499
↓ 1 callers
Function
semantic_similarity
( scenario: Scenario, answer: str, trajectory_text: str )
src/evaluation/scorers/semantic.py:13
↓ 1 callers
Function
setup_logging
Configure the root logger to stderr; INFO when verbose else WARNING.
src/agent/_cli_common.py:27
↓ 1 callers
Function
similarity_score
Return a partial similarity score in [0, 1].
src/evaluation/scorers/static_json.py:252
↓ 1 callers
Function
stage_scenario_workspace
Create a clean run workspace with only allowed scenario input files. The staged workspace intentionally excludes ``groundtruth.txt`` and any
src/benchmark/scenario_suite_runner.py:219
↓ 1 callers
Method
stop
(self)
src/mcphub/__init__.py:140
↓ 1 callers
Function
to_couchdb_docs
(t: np.ndarray, signal: np.ndarray)
src/servers/vibration/sample_data/generate_synthetic_vibration.py:110
↓ 1 callers
Function
validate_groundtruth_exists
Warn if groundtruth.txt is missing. The agent run itself only needs question.txt, but evaluation needs groundtruth.txt.
src/benchmark/scenario_suite_runner.py:132
↓ 1 callers
Function
validate_workspace_root_outside_repo
Reject CLI workspaces inside the repo to avoid report/trace leakage.
src/benchmark/scenario_suite_runner.py:156
↓ 1 callers
Function
write_report
(report: EvalReport, output: Path)
src/evaluation/report.py:141
Function
_Bias
(y_true, y_pred, axis=None)
src/servers/tsfm/metrics.py:68
Function
_MAE
(y_true, y_pred, axis=None)
src/servers/tsfm/metrics.py:20
Function
_MAPE
(y_true, y_pred, axis=None)
src/servers/tsfm/metrics.py:26
Function
_NRMSE
(y_true, y_pred, axis=None, norm="mean")
src/servers/tsfm/metrics.py:75
Function
_SMAPE
(y_true, y_pred, axis=None)
src/servers/tsfm/metrics.py:44
Function
_TILDEQ
(outputs, targets, axis=1)
src/servers/tsfm/metrics.py:186
Function
_TREND
(targets, outputs, axis=1)
src/servers/tsfm/metrics.py:234
Function
_WAPE
(y_true, y_pred, axis=None)
src/servers/tsfm/metrics.py:54
Method
__call__
( self, scenario: Scenario, answer: str, trajectory_text: str, )
src/evaluation/scorers/static_json.py:448
Method
__call__
( self, scenario: Scenario, answer: str, trajectory_text: str )
src/evaluation/scorers/llm_judge.py:94
Method
__enter__
(self)
src/mcphub/__init__.py:168
Method
__enter__
(self)
src/servers/wo/envelope.py:34
Method
__exit__
(self, *exc)
src/mcphub/__init__.py:171
Method
__exit__
(self, *exc)
src/servers/wo/envelope.py:38
Method
__init__
(self, model_id: str)
src/llm/openai_compat.py:30
Method
__init__
(self, model_id: str)
src/llm/litellm.py:33
Method
__init__
(self, base_url=None, api_key=None)
src/llm/tests/test_backends.py:26
← previous
next →
301–400 of 947, ranked by callers