MCPcopy Create free account

hub / github.com/IBM/AssetOpsBench / functions

Functions947 in github.com/IBM/AssetOpsBench

Method__init__
(self, path: str | os.PathLike[str])
src/observability/file_exporter.py:34
Method__init__
(self)
src/mcphub/__init__.py:74
Method__init__
(self, servers: Optional[Dict[str, List[str]]] = None, env: Optional[dict] = None)
src/mcphub/__init__.py:156
Method__init__
(self)
src/servers/vibration/data_store.py:96
Method__init__
( self, base_url: str, db: str, *, username: Optional[str] = None,
src/servers/wo/couch.py:26
Method__init__
(self)
src/servers/wo/tests/test_workorders.py:19
Method__init__
( self, nonconformity_score="absolute_error", false_alarm=0.05, weighting="uni
src/servers/tsfm/anomaly.py:79
Method__init__
( self, default_scorer: str = "llm_judge", judge_model: str | None = None, )
src/evaluation/evaluator.py:33
Method__init__
(self, name: str = "static_json")
src/evaluation/scorers/static_json.py:445
Method__init__
(self, llm: LLMBackend, name: str = "llm_judge")
src/evaluation/scorers/llm_judge.py:90
Method__init__
(self, response: str)
src/evaluation/tests/test_scorers.py:16
Method__init__
( self, llm: LLMBackend, server_paths: dict[str, Path | str] | None = None, )
src/agent/runner.py:35
Method__init__
( self, llm=None, server_paths: dict[str, Path | str] | None = None, model: st
src/agent/opencode_agent/runner.py:570
Method__init__
( self, llm: LLMBackend, server_paths: dict[str, Path | str] | None = None, )
src/agent/direct_llm_agent/runner.py:73
Method__init__
( self, llm=None, server_paths: dict[str, Path | str] | None = None, model: st
src/agent/openai_agent/runner.py:192
Method__init__
( self, llm=None, server_paths: dict[str, Path | str] | None = None, model: st
src/agent/claude_agent/runner.py:97
Method__init__
( self, llm: LLMBackend, server_paths: dict[str, Path | str] | None = None, )
src/agent/plan_execute/executor.py:50
Method__init__
(self, llm: LLMBackend)
src/agent/plan_execute/planner.py:109
Method__init__
( self, llm: LLMBackend, server_paths: dict[str, Path | str] | None = None, )
src/agent/plan_execute/runner.py:100
Method__init__
(self, response: str = "")
src/agent/tests/conftest.py:11
Method__init__
(self, responses: list[str])
src/agent/tests/conftest.py:21
Method__init__
(self, response: str = "{}")
src/agent/tests/test_runner.py:90
Method__init__
(self, items: list[tuple[str, int, int]])
src/agent/tests/test_runner.py:152
Method__init__
( self, llm=None, server_paths: dict[str, Path | str] | None = None, model: st
src/agent/deep_agent/runner.py:159
Method__init__
( self, llm=None, server_paths=None, model: str = _DEFAULT_MODEL, code
src/agent/stirrup_agent/runner.py:67
Function_always_fail_scorer
(scenario: Scenario, answer: str, trajectory_text: str)
src/evaluation/tests/test_runner.py:49
Function_always_pass_scorer
(scenario: Scenario, answer: str, trajectory_text: str)
src/evaluation/tests/test_runner.py:13
Function_build_parser
()
src/agent/cli.py:21
Function_build_parser
()
src/agent/opencode_agent/cli.py:19
Function_build_parser
()
src/agent/direct_llm_agent/cli.py:18
Function_build_parser
()
src/agent/openai_agent/cli.py:19
Function_build_parser
()
src/agent/claude_agent/cli.py:19
Function_build_parser
()
src/agent/deep_agent/cli.py:19
Function_build_parser
()
src/agent/stirrup_agent/cli.py:20
Function_call_relevancy
Query the LLM for FM↔sensor relevancy. Retries up to _MAX_RETRIES times.
src/servers/fmsr/main.py:157
Method_capture_tool_output
( input_data, tool_use_id: str, context )
src/agent/claude_agent/runner.py:141
Method_chat_model
LangChain chat model, built once per runner instance.
src/agent/deep_agent/runner.py:171
Function_cosine_similarity_matrix
(A, B, axis=1)
src/servers/tsfm/metrics.py:81
Function_factory
(**overrides)
src/evaluation/tests/conftest.py:15
Function_factory
(response: str = "")
src/agent/tests/conftest.py:32
Function_fail_scorer
(scenario: Scenario, answer: str, trajectory_text: str)
src/evaluation/tests/test_evaluator.py:77
Method_flush_tool_outputs
Patch any pending hook outputs onto the last turn's tool calls.
src/agent/claude_agent/runner.py:165
Function_reset_ctx
()
src/observability/tests/test_persistence.py:37
Function_run
(args: argparse.Namespace)
src/agent/cli.py:79
Function_run
(args: argparse.Namespace)
src/agent/opencode_agent/cli.py:132
Function_run
(args: argparse.Namespace)
src/agent/direct_llm_agent/cli.py:59
Function_run
(args: argparse.Namespace)
src/agent/openai_agent/cli.py:52
Function_run
(args: argparse.Namespace)
src/agent/claude_agent/cli.py:50
Function_run
(args: argparse.Namespace)
src/agent/deep_agent/cli.py:53
Function_run
(args: argparse.Namespace)
src/agent/stirrup_agent/cli.py:89
Function_stub_scorer
(scenario: Scenario, answer: str, trajectory_text: str)
src/evaluation/tests/test_evaluator.py:13
Function_sub
(m: re.Match)
src/agent/plan_execute/executor.py:341
Function_tildeq_loss
(target, output)
src/servers/tsfm/metrics.py:179
Function_trend_loss
(targets, outputs, alpha=0.5, device="cpu")
src/servers/tsfm/metrics.py:213
Methodall_tool_calls
(self)
src/agent/models.py:64
Functionapprove_workorder
Approve a work order (status → APPR).
src/servers/wo/workorders.py:471
Functionapprove_workorder
Approve a work order (-> APPR).
src/servers/wo/main.py:292
Functionassess_vibration_severity
Classify vibration severity per ISO 10816. IMPORTANT: expects RMS velocity in mm/s (not acceleration in g). The diagnose_vibration tool perfo
src/servers/vibration/main.py:278
Functionasset_sensors
List the INSTALLED sensors for an asset, by name (installed is assumed). This is the registry inventory — distinct from sensors(), which lists onl
src/servers/iot/main.py:390
Functionassets
Returns the assets registered at a given site, from the asset registry filtered by `siteid`. Each returned id is the asset's telemetry id (`iot_as
src/servers/iot/main.py:258
Functionassign_technician
Append a planned-labor (`wplabor`) line assigning a technician to the work order.
src/servers/wo/workorders.py:490
Functionassign_technician
Assign a technician (adds a wplabor line).
src/servers/wo/main.py:301
Functioncalculate_bearing_frequencies
Compute bearing characteristic frequencies (BPFO, BPFI, BSF, FTF) from geometry. Args: rpm: Shaft speed in revolutions per minute.
src/servers/vibration/main.py:301
Functioncancel_workorder
Cancel a work order (status → CAN).
src/servers/wo/workorders.py:478
Functioncancel_workorder
Cancel a work order (-> CAN).
src/servers/wo/main.py:330
Functioncapture_scorer
( scenario: Scenario, answer: str, trajectory_text: str )
src/evaluation/tests/test_evaluator.py:43
Functionchiller_triage
Sensors -> failure modes -> mode/sensor mapping -> (optional) work order.
src/mcphub/workflows.py:16
Functionclose_workorder
Close a work order (status → COMP), recording actual hours, failure code, resolution, and stamping `actfinish`.
src/servers/wo/workorders.py:519
Functionclose_workorder
Close a work order (-> COMP) with actuals and resolution.
src/servers/wo/main.py:316
Functioncompute_envelope_spectrum
Compute the envelope spectrum for bearing fault detection. Args: data_id: Reference to a stored signal (from get_vibration_data).
src/servers/vibration/main.py:243
Functioncompute_fft_spectrum
Compute FFT amplitude spectrum of a stored vibration signal. Returns a compact summary (top N peaks + statistics), not the full array. Args:
src/servers/vibration/main.py:205
Functioncouchdb_client
()
src/servers/iot/tests/test_couchdb.py:24
Functioncreate
(**kwargs)
src/llm/tests/test_backends.py:16
Functioncurrent_date_time
Provides the current date time as a JSON object.
src/servers/utilities/main.py:73
Functioncurrent_time_english
Returns the current time in English text.
src/servers/utilities/main.py:89
Methoddelete
(self, doc_id, rev)
src/servers/wo/tests/test_workorders.py:34
Functiondiagnose_vibration
Full automated vibration diagnosis pipeline. 1. Compute FFT and extract shaft-frequency features (requires rpm) 2. Optionally perform envelop
src/servers/vibration/main.py:337
Functiondrop_database
(db)
src/couchdb/loader.py:210
Methodduration_s
(self)
src/servers/vibration/data_store.py:51
Methodexport
(self, spans: Sequence[ReadableSpan])
src/observability/file_exporter.py:39
Functionfake_query
(prompt, options)
src/agent/claude_agent/tests/test_runner.py:99
Functionfake_run
(*args, **kwargs)
src/benchmark/tests/test_scenario_suite_runner.py:372
Methodfind
(self, selector, fields=None, sort=None, limit=200, skip=0)
src/servers/wo/tests/test_workorders.py:72
Methodfrom_raw
(cls, raw: dict)
src/evaluation/models.py:50
Methodgenerate
(self, prompt: str, temperature: float = 0.0)
src/llm/openai_compat.py:36
Methodgenerate
(self, prompt: str, temperature: float = 0.0)
src/llm/litellm.py:36
Methodgenerate
(self, prompt: str, temperature: float = 0.0)
src/agent/tests/conftest.py:14
Methodgenerate
(self, prompt: str, temperature: float = 0.0)
src/agent/tests/conftest.py:24
Methodgenerate
(self, prompt: str, **_kw)
src/agent/tests/test_runner.py:94
Methodgenerate
(self, prompt: str, temperature: float = 0.0)
src/agent/tests/test_runner.py:155
Functiongenerate_work_order
Alias for create_workorder, named to match the AssetOpsBench WO Agent.
src/servers/wo/workorders.py:413
Functiongenerate_work_order
Create a work order (status WAPPR). Attach aob_source provenance (agent/trigger/evidence).
src/servers/wo/main.py:238
Functionget
(name: str)
src/evaluation/scorers/__init__.py:31
Functionget_ai_tasks
Returns the list of supported AI task types for time-series analysis. Tasks: tsfm_integrated_tsad, tsfm_forecasting, tsfm_forecasting_finetune,
src/servers/tsfm/main.py:127
Functionget_asset
Return registry/nameplate details for one asset (Maximo MXASSET-aligned: description, assettype, status, location, installdate, vintage) plus inst
src/servers/iot/main.py:352
Functionget_asset_list
Helper to fetch unique asset IDs from CouchDB. Result is cached after the first successful call to avoid repeated full-table scans.
src/servers/iot/main.py:135
Functionget_failure_mode_sensor_mapping
For each (failure_mode, sensor) pair determines whether the sensor can detect the failure. Returns a bidirectional mapping (fm→sensors, sensor→fms
src/servers/fmsr/main.py:239
Functionget_failure_modes
Returns a list of known failure modes for the given asset. For chillers and AHUs returns a curated list. For other assets queries the LLM.
src/servers/fmsr/main.py:214
Methodget_model
(self, model_name: str | None)
src/agent/openai_agent/runner.py:68
Functionget_my_assigned_workorders
Work orders with a `wplabor` line for the given labor (technician).
src/servers/wo/workorders.py:333
← previousnext →401–500 of 947, ranked by callers