MCPcopy Create free account

hub / github.com/IBM/AssetOpsBench / functions

Functions947 in github.com/IBM/AssetOpsBench

↓ 1 callersFunction_w_mse
(targets, outputs, device="cpu")
src/servers/tsfm/metrics.py:199
↓ 1 callersFunction_walk_dicts
(value: Any)
src/evaluation/metrics.py:68
↓ 1 callersFunction_walk_dicts
(value: Any)
src/agent/opencode_agent/runner.py:284
↓ 1 callersFunction_weighted_conformal_alpha
( scores, weights, score_observed, conformal_correction=False, max_score=np.inf )
src/servers/tsfm/anomaly.py:63
↓ 1 callersMethodaclose
(self)
src/servers/wo/couch.py:45
↓ 1 callersFunctionall_databases
The databases this loader manages = the default manifest's keys (db name = key).
src/couchdb/init_data.py:102
↓ 1 callersFunctionbuild_methods
Build available method configs from CLI args.
src/benchmark/scenario_suite_runner.py:424
↓ 1 callersMethodcall
(self, name, tool, args)
src/mcphub/__init__.py:137
↓ 1 callersFunctioncollection_config
Config for a collection; unknown keys default to generic JSON with no primary key.
src/couchdb/loader.py:60
↓ 1 callersFunctioncompute_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 callersFunctioncompute_removal_costs
(df)
src/servers/tsfm/dataquality.py:115
↓ 1 callersFunctioncompute_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 callersFunctioncreate_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 callersFunctionevaluate_static_json_batch
Evaluate multiple gold/model answer pairs and aggregate metrics.
src/evaluation/scorers/static_json.py:395
↓ 1 callersFunctionexact_string_match
( scenario: Scenario, answer: str, trajectory_text: str )
src/evaluation/scorers/code_based.py:12
↓ 1 callersFunctionextract_answer_text
Extract likely final answer text from raw model output.
src/evaluation/scorers/static_json.py:68
↓ 1 callersFunctionfetch_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 callersFunctionfiles_from
(s)
src/couchdb/loader.py:137
↓ 1 callersFunctionfind_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 callersMethodfind_tools
Keyword search over loaded tool names + descriptions.
src/mcphub/__init__.py:225
↓ 1 callersMethodfit
(self, y_cal_pred, y_cal_gt, X_cal=None, cal_timestamps=None)
src/servers/tsfm/anomaly.py:108
↓ 1 callersFunctiongenerate
Return (time_vector, acceleration_signal).
src/servers/vibration/sample_data/generate_synthetic_vibration.py:79
↓ 1 callersMethodgenerate
(self, prompt: str, temperature: float = 0.0)
src/evaluation/tests/test_scorers.py:19
↓ 1 callersMethodgenerate_with_usage
(self, prompt: str, temperature: float = 0.0)
src/llm/openai_compat.py:39
↓ 1 callersMethodgenerate_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 callersMethodgenerate_with_usage
(self, prompt: str, temperature: float = 0.0)
src/llm/litellm.py:39
↓ 1 callersMethodgenerate_with_usage
(self, prompt: str, temperature: float = 0.0)
src/agent/direct_llm_agent/tests/test_runner.py:13
↓ 1 callersMethodgenerate_with_usage
(self, prompt: str, temperature: float = 0.0)
src/agent/plan_execute/runner.py:53
↓ 1 callersMethodgenerate_with_usage
(self, prompt: str, temperature: float = 0.0)
src/agent/tests/test_runner.py:158
↓ 1 callersFunctionget_registry_sites
Distinct site ids present in the asset registry (from each asset profile's `siteid`). Cached.
src/servers/iot/main.py:221
↓ 1 callersFunctionget_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 callersFunctioninit_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 callersMethodlist_ids
(self)
src/servers/vibration/data_store.py:131
↓ 1 callersFunctionlist_sensor_fields
Return the sensor field names available for an asset in CouchDB.
src/servers/vibration/couchdb_client.py:131
↓ 1 callersFunctionload_config
()
src/couchdb/loader.py:54
↓ 1 callersFunctionload_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 callersMethodload_tools
Connect to servers and discover their tools. Returns tool count.
src/mcphub/__init__.py:178
↓ 1 callersFunctionmain
()
src/benchmark/scenario_suite_runner.py:711
↓ 1 callersFunctionmain
()
src/servers/fmsr/main.py:303
↓ 1 callersFunctionmain
()
src/servers/vibration/main.py:550
↓ 1 callersFunctionmain
()
src/servers/vibration/sample_data/generate_synthetic_vibration.py:122
↓ 1 callersFunctionmain
()
src/servers/utilities/main.py:100
↓ 1 callersFunctionmain
()
src/servers/wo/main.py:368
↓ 1 callersFunctionmain
()
src/servers/tsfm/main.py:679
↓ 1 callersFunctionmain
()
src/servers/iot/main.py:458
↓ 1 callersFunctionmain
()
src/couchdb/init_data.py:157
↓ 1 callersFunctionmain
(argv: list[str] | None = None)
src/evaluation/cli.py:88
↓ 1 callersFunctionmain
()
src/agent/cli.py:143
↓ 1 callersFunctionmain
()
src/agent/opencode_agent/cli.py:157
↓ 1 callersFunctionmain
()
src/agent/direct_llm_agent/cli.py:73
↓ 1 callersFunctionmain
()
src/agent/openai_agent/cli.py:62
↓ 1 callersFunctionmain
()
src/agent/claude_agent/cli.py:60
↓ 1 callersFunctionmain
()
src/agent/deep_agent/cli.py:66
↓ 1 callersFunctionmain
()
src/agent/stirrup_agent/cli.py:105
↓ 1 callersFunctionmain
()
examples/quickstart_tooluniverse.py:19
↓ 1 callersFunctionmanifest_path
(scenario_id)
src/couchdb/init_data.py:60
↓ 1 callersFunctionmethod_output_paths
Return trajectory, report, and workspace roots nested by agent/model.
src/benchmark/scenario_suite_runner.py:63
↓ 1 callersFunctionmodel_dir_name
Return a filesystem-safe directory name for a model id.
src/benchmark/scenario_suite_runner.py:56
↓ 1 callersMethodnext_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 callersFunctionnormalize_value
Normalize scalar values for stable comparison.
src/evaluation/scorers/static_json.py:213
↓ 1 callersFunctionnumeric_match
( scenario: Scenario, answer: str, trajectory_text: str )
src/evaluation/scorers/code_based.py:18
↓ 1 callersFunctionparse_csv
(path, cfg)
src/couchdb/loader.py:86
↓ 1 callersFunctionparse_json
(path)
src/couchdb/loader.py:110
↓ 1 callersFunctionprint_answer
Print the final answer section.
src/agent/_cli_common.py:111
↓ 1 callersFunctionprint_trajectory
Pretty-print turns, tool calls, and token totals to stdout.
src/agent/_cli_common.py:84
↓ 1 callersFunctionread_question
Read question.txt for a scenario.
src/benchmark/scenario_suite_runner.py:113
↓ 1 callersFunctionremove_lowest_cost
(df, row_costs, col_costs, preference_tie="row")
src/servers/tsfm/dataquality.py:122
↓ 1 callersMethodreset
(self)
src/agent/plan_execute/runner.py:43
↓ 1 callersFunctionreset_and_load_couchdb
Reset CouchDB and load the scenario-specific data from scenario_root.
src/benchmark/scenario_suite_runner.py:298
↓ 1 callersMethodrun
Run OpenCode for *question* and return a benchmark result.
src/agent/opencode_agent/runner.py:618
↓ 1 callersMethodrun
(self, question: str)
src/agent/stirrup_agent/runner.py:144
↓ 1 callersFunctionrun_agent_for_scenario
Run one scenario with one method.
src/benchmark/scenario_suite_runner.py:321
↓ 1 callersFunctionrun_evaluation
Run the existing AssetOpsBench evaluator for one method.
src/benchmark/scenario_suite_runner.py:387
↓ 1 callersFunctionselected_methods
Resolve the requested method selection.
src/benchmark/scenario_suite_runner.py:499
↓ 1 callersFunctionsemantic_similarity
( scenario: Scenario, answer: str, trajectory_text: str )
src/evaluation/scorers/semantic.py:13
↓ 1 callersFunctionsetup_logging
Configure the root logger to stderr; INFO when verbose else WARNING.
src/agent/_cli_common.py:27
↓ 1 callersFunctionsimilarity_score
Return a partial similarity score in [0, 1].
src/evaluation/scorers/static_json.py:252
↓ 1 callersFunctionstage_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 callersMethodstop
(self)
src/mcphub/__init__.py:140
↓ 1 callersFunctionto_couchdb_docs
(t: np.ndarray, signal: np.ndarray)
src/servers/vibration/sample_data/generate_synthetic_vibration.py:110
↓ 1 callersFunctionvalidate_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 callersFunctionvalidate_workspace_root_outside_repo
Reject CLI workspaces inside the repo to avoid report/trace leakage.
src/benchmark/scenario_suite_runner.py:156
↓ 1 callersFunctionwrite_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
← previousnext →301–400 of 947, ranked by callers