MCPcopy Create free account

hub / github.com/Infinity-AILab/DeepResearchEval / functions

Functions851 in github.com/Infinity-AILab/DeepResearchEval

↓ 341 callersMethodget
Get value from cache Args: key: Cache key default: Default value if key not found
point_quality/deepresearcharena/cache/file_cache.py:55
↓ 72 callersMethodexecute_tool_call
Execute a single tool call. :param server_name: Server name :param tool_name: Tool name :param arguments: Tool argume
factual_eval/libs/miroflow-tool/src/miroflow/tool/manager.py:235
↓ 64 callersMethoderror
(self)
factual_eval/libs/miroflow-contrib/src/miroflow/contrib/tracing/spans.py:86
↓ 29 callersMethoditems
Get all cache items
point_quality/deepresearcharena/cache/file_cache.py:124
↓ 28 callersMethodrun
(self, ctx: Context)
factual_eval/libs/miroflow-contrib/src/miroflow/contrib/pocket/core_v2.py:21
↓ 25 callersMethodkeys
Get all cache keys
point_quality/deepresearcharena/cache/file_cache.py:120
↓ 24 callersFunctionget_trace_provider
Get the global trace provider used by tracing utilities.
factual_eval/libs/miroflow-contrib/src/miroflow/contrib/tracing/setup.py:23
↓ 24 callersMethodlog_step
Record execution step
factual_eval/libs/miroflow/src/miroflow/logging/task_tracer.py:100
↓ 23 callersFunctionfetch_normalized_spans
( keep_span_id: bool = False, keep_trace_id: bool = False )
factual_eval/libs/miroflow-contrib/tests/tracing/testing_processor.py:102
↓ 17 callersFunctionbootstrap_logger
Configure only this logger, not the root logger
factual_eval/libs/miroflow/src/miroflow/logging/logger.py:15
↓ 15 callersMethod_create_tool_manager
Create a configured ToolManager instance.
factual_eval/libs/miroflow-tool/tests/test_python_server.py:31
↓ 13 callersMethod_create_tool_manager
Create a configured ToolManager instance.
factual_eval/libs/miroflow-tool/tests/test_searching_mcp_server.py:33
↓ 13 callersFunctionget_span
Create a minimal agent span for testing processors.
factual_eval/libs/miroflow-contrib/tests/tracing/test_trace_processor.py:21
↓ 13 callersFunctionrender_prompt
Render a prompt template by replacing {{variable}} placeholders with actual values. Args: template: Template string containing {{var
task_generation/prompts/templates.py:209
↓ 12 callersFunctioncustom_span
Create a new custom span, to which you can add your own metadata. The span will not be started automatically, you should either do `with custom_sp
factual_eval/libs/miroflow-contrib/src/miroflow/contrib/tracing/create.py:264
↓ 12 callersMethodget_cache
Get or create a cache instance Args: cache_name: Name of the cache Returns: Fil
point_quality/deepresearcharena/cache/cache_manager.py:29
↓ 12 callersFunctiontrace
Create a new trace. The trace will not be started automatically; you should either use it as a context manager (`with trace(...):`) or call `
factual_eval/libs/miroflow-contrib/src/miroflow/contrib/tracing/create.py:33
↓ 11 callersMethodcreate_span
Create a new span.
factual_eval/libs/miroflow-contrib/src/miroflow/contrib/tracing/provider.py:144
↓ 10 callersMethodexport
(self)
factual_eval/libs/miroflow-contrib/src/miroflow/contrib/tracing/spans.py:90
↓ 9 callersMethod_create_tool_manager
Create a configured ToolManager instance.
factual_eval/libs/miroflow-tool/tests/test_reading_mcp_server.py:24
↓ 9 callersMethodcall_tool
Call a tool while maintaining the session.
factual_eval/libs/miroflow-tool/src/miroflow/tool/mcp_servers/browser_session.py:41
↓ 9 callersFunctionget_trace
Create a minimal trace.
factual_eval/libs/miroflow-contrib/tests/tracing/test_trace_processor.py:32
↓ 9 callersMethodload
Load domain list. Returns: List of domain names Raises: FileNotFoundError: File does not exist
task_generation/generators/domain_loader.py:27
↓ 9 callersFunctionrobust_json_loads
Robust JSON parsing function, first try standard json, fallback to json5 if that fails Args: json_str (str): The JSON string to pars
factual_eval/libs/miroflow/src/miroflow/utils/parsing_utils.py:15
↓ 9 callersMethodset
Set value in cache Args: key: Cache key value: Value to cache
point_quality/deepresearcharena/cache/file_cache.py:69
↓ 8 callersMethod_create_tool_manager
Create a configured ToolManager instance.
factual_eval/libs/miroflow-tool/tests/test_audio_mcp_server.py:29
↓ 8 callersMethod_create_tool_manager
Create a configured ToolManager instance.
factual_eval/libs/miroflow-tool/tests/test_vision_mcp_server.py:41
↓ 8 callersFunctionapiCall
(url, options = {})
factual_eval/apps/visualize-trace/static/js/script.js:280
↓ 8 callersMethodget_all_tool_definitions
Connect to all configured servers and get their tool definitions. Returns a list suitable for passing to Prompt generators.
factual_eval/libs/miroflow-tool/src/miroflow/tool/manager.py:153
↓ 8 callersMethodon_span_end
(self, span: Span[Any])
factual_eval/libs/miroflow-contrib/src/miroflow/contrib/tracing/processors.py:239
↓ 8 callersMethodon_trace_start
(self, trace: Trace)
factual_eval/libs/miroflow-contrib/src/miroflow/contrib/tracing/processors.py:222
↓ 8 callersFunctionparse_llm_response_for_tool_calls
Parse tool_calls or <use_mcp_tool> tags from LLM response text. Returns a list containing tool call information.
factual_eval/libs/miroflow/src/miroflow/utils/parsing_utils.py:396
↓ 8 callersMethodremove
Remove key from cache Args: key: Cache key Returns: True if key was removed, Fa
point_quality/deepresearcharena/cache/file_cache.py:94
↓ 8 callersFunctionrenderContent
(content, isBrowserAgent = false)
factual_eval/apps/visualize-trace/static/js/script.js:260
↓ 8 callersMethodstart
(self, start: BaseNode[Any, Any])
factual_eval/libs/miroflow-contrib/src/miroflow/contrib/pocket/core.py:111
↓ 7 callersMethod_create_tool_manager
Create a configured ToolManager instance.
factual_eval/libs/miroflow-tool/tests/test_reasoning_mcp_server.py:30
↓ 7 callersMethodclose
Close the underlying HTTP client.
factual_eval/libs/miroflow-contrib/src/miroflow/contrib/tracing/processors.py:161
↓ 7 callersMethodconnect
Connect to the MCP server and initialize the session.
factual_eval/libs/miroflow-tool/src/miroflow/tool/mcp_servers/browser_session.py:28
↓ 7 callersMethodfinish
Finish the span. Args: reset_current: If true, the span will be reset as the current span.
factual_eval/libs/miroflow-contrib/src/miroflow/contrib/tracing/spans.py:58
↓ 7 callersFunctionget_trace_id
()
factual_eval/libs/miroflow/src/miroflow/llm/providers/util.py:15
↓ 7 callersMethodis_error
Check if response is an error sentinel.
task_generation/clients/api_client.py:96
↓ 7 callersFunctionsafe_parse_json
Safely parse JSON from text. First extracts JSON string, then attempts to parse as dictionary. Args: text: Text that may contai
task_generation/utils/json_utils.py:34
↓ 7 callersFunctionsave_json
Save data to a JSON file. Args: data: Data to save file_path: Target file path indent: Indentation spaces
task_generation/utils/file_utils.py:50
↓ 7 callersMethodshutdown
Called when the application stops. We signal our thread to stop, then join it.
factual_eval/libs/miroflow-contrib/src/miroflow/contrib/tracing/processors.py:248
↓ 7 callersFunctionupdateNavigationButtons
()
factual_eval/apps/visualize-trace/static/js/script.js:407
↓ 6 callersMethod_remove_tool_result_from_messages
(self, messages, keep_tool_result)
factual_eval/libs/miroflow/src/miroflow/llm/provider_client_base.py:238
↓ 6 callersMethodexport
(self, items: list[Trace | Span[Any]])
factual_eval/libs/miroflow-contrib/src/miroflow/contrib/tracing/processors.py:96
↓ 6 callersFunctionload_if_exists
Load file if it exists, otherwise return default value. Args: file_path: Path to the JSON file default: Default return value
task_generation/utils/file_utils.py:79
↓ 6 callersFunctionmock_processor
()
factual_eval/libs/miroflow-contrib/tests/tracing/test_trace_processor.py:193
↓ 5 callersFunctiongenerate_mcp_system_prompt
(date: datetime.datetime, mcp_servers: list[Any])
factual_eval/libs/miroflow/src/miroflow/utils/prompt_utils.py:8
↓ 5 callersMethodgenerate_response
Call LLM to generate response. Args: messages: List of messages in OpenAI format max_tokens: Maximum tokens
task_generation/clients/api_client.py:56
↓ 5 callersFunctiongeneration_span
Create a new generation span. The span will not be started automatically, you should either do `with generation_span() ...` or call `span.start()`
factual_eval/libs/miroflow-contrib/src/miroflow/contrib/tracing/create.py:159
↓ 5 callersMethodget
Generic get method for any cache Args: cache_name: Name of the cache key: Key to retrieve
point_quality/deepresearcharena/cache/cache_manager.py:125
↓ 5 callersMethodpost
(self, shared: SharedData, prep_res: _PrepResult, exec_res: Any)
factual_eval/libs/miroflow-contrib/src/miroflow/contrib/pocket/core.py:140
↓ 5 callersMethodsave
Persist TaskTracer to disk. used in a finally block, thus never raise Exception.
factual_eval/libs/miroflow/src/miroflow/logging/task_tracer.py:119
↓ 5 callersMethodset
Generic set method for any cache Args: cache_name: Name of the cache key: Key to store v
point_quality/deepresearcharena/cache/cache_manager.py:139
↓ 5 callersMethodtime_iso
Return the current time in ISO 8601 format.
factual_eval/libs/miroflow-contrib/src/miroflow/contrib/tracing/provider.py:117
↓ 4 callersMethod_assert_error_result
Assert that result indicates an error and contains expected error keywords.
factual_eval/libs/miroflow-tool/tests/test_python_server.py:510
↓ 4 callersMethod_assert_success_result
Assert that a result indicates success and contains expected keywords.
factual_eval/libs/miroflow-tool/tests/test_python_server.py:472
↓ 4 callersMethod_export_batches
Drains the queue and exports in batches. If force=True, export everything. Otherwise, export up to `max_batch_size` repeatedly until the queue
factual_eval/libs/miroflow-contrib/src/miroflow/contrib/tracing/processors.py:287
↓ 4 callersMethod_save_cache
Save cache to file
point_quality/deepresearcharena/cache/file_cache.py:47
↓ 4 callersFunctionagent_span
Create a new agent span. The span will not be started automatically, you should either do `with agent_span() ...` or call `span.start()` + `span.f
factual_eval/libs/miroflow-contrib/src/miroflow/contrib/tracing/create.py:89
↓ 4 callersMethodanalyze_browser_session_flow
Analyze browser session conversation flow
factual_eval/apps/visualize-trace/trace_analyzer.py:285
↓ 4 callersMethodclear
(self)
factual_eval/libs/miroflow-contrib/tests/tracing/testing_processor.py:61
↓ 4 callersMethodconvert_tool_definition_to_tool_call
(tools_definitions)
factual_eval/libs/miroflow/src/miroflow/llm/providers/gpt_openai_response_client.py:218
↓ 4 callersFunctionextract_json
Extract JSON string from text. Finds content between the first '{' and last '}'. Args: text: Text that may contain JSON Re
task_generation/utils/json_utils.py:14
↓ 4 callersFunctionfunction_span
Create a new function span. The span will not be started automatically, you should either do `with function_span() ...` or call `span.start()` + `
factual_eval/libs/miroflow-contrib/src/miroflow/contrib/tracing/create.py:126
↓ 4 callersMethodgenerate_llm_response
Generate response from LLM with error handling
point_quality/deepresearcharena/evaluator/base_evaluator.py:202
↓ 4 callersMethodprep_async
(self, shared: SharedData)
factual_eval/libs/miroflow-contrib/src/miroflow/contrib/pocket/core.py:153
↓ 4 callersFunctionrun_subtask
(span_id: str | None = None)
factual_eval/libs/miroflow-contrib/tests/tracing/test_tracing.py:154
↓ 4 callersFunctionshowError
(message)
factual_eval/apps/visualize-trace/static/js/script.js:78
↓ 4 callersFunctionshowSuccess
(message)
factual_eval/apps/visualize-trace/static/js/script.js:84
↓ 3 callersMethod_create_completion
Helper to create a completion, handling async and sync calls.
factual_eval/libs/miroflow/src/miroflow/llm/providers/gpt_openai_client.py:198
↓ 3 callersMethod_exec
(self, prep_res: _PrepResult)
factual_eval/libs/miroflow-contrib/src/miroflow/contrib/pocket/core.py:90
↓ 3 callersMethod_get_default_criteria
Get default criteria if generation failed
point_quality/deepresearcharena/evaluator/pointwise_core.py:177
↓ 3 callersMethod_orch_async
( self, shared: SharedData, params: Params | None = None )
factual_eval/libs/miroflow-contrib/src/miroflow/contrib/pocket/core.py:213
↓ 3 callersMethod_update_token_usage
Update cumulative token usage - OpenAI implementation
factual_eval/libs/miroflow/src/miroflow/llm/providers/gpt_openai_client.py:48
↓ 3 callersMethodclose
Close the session and connection.
factual_eval/libs/miroflow-tool/src/miroflow/tool/mcp_servers/browser_session.py:51
↓ 3 callersFunctionconfig_name
()
factual_eval/libs/miroflow/src/miroflow/prebuilt/config/__init__.py:17
↓ 3 callersFunctionconfig_path
()
factual_eval/libs/miroflow/src/miroflow/prebuilt/config/__init__.py:13
↓ 3 callersFunctiondebug_config
(cfg: omegaconf.DictConfig, logger: logging.Logger)
factual_eval/libs/miroflow/src/miroflow/prebuilt/config/__init__.py:21
↓ 3 callersFunctionensure_dir
Ensure the directory for a file exists, creating it if necessary. Args: file_path: Path to the file
task_generation/utils/file_utils.py:20
↓ 3 callersMethodexport
(self, items: list[Trace | Span[Any]])
factual_eval/libs/miroflow-contrib/src/miroflow/contrib/tracing/processors.py:30
↓ 3 callersMethodextract_json_from_analysis_output
Extract JSON from analysis output with specific tags
point_quality/deepresearcharena/evaluator/base_evaluator.py:184
↓ 3 callersFunctionfetch_events
()
factual_eval/libs/miroflow-contrib/tests/tracing/testing_processor.py:85
↓ 3 callersFunctionformatTimestamp
(timestamp)
factual_eval/apps/visualize-trace/static/js/script.js:90
↓ 3 callersMethodget_browser_agent_sessions
Get all browser agent sessions
factual_eval/apps/visualize-trace/trace_analyzer.py:118
↓ 3 callersMethodget_current_trace
(cls)
factual_eval/libs/miroflow-contrib/src/miroflow/contrib/tracing/scope.py:47
↓ 3 callersFunctionguess_mime_media_type_from_extension
Guess the MIME type based on the file extension.
factual_eval/libs/miroflow-tool/src/miroflow/tool/mcp_servers/vision_mcp_server.py:30
↓ 3 callersFunctionloadTraceFile
()
factual_eval/apps/visualize-trace/static/js/script.js:468
↓ 3 callersFunctionload_json
Load a JSON file. Args: file_path: Path to the JSON file Returns: Parsed Python object Raises: FileNotFoun
task_generation/utils/file_utils.py:32
↓ 3 callersMethodpost_async
( self, shared: SharedData, prep_res: _PrepResult, exec_res: _ExecResult )
factual_eval/libs/miroflow-contrib/src/miroflow/contrib/pocket/core.py:164
↓ 3 callersMethodprep
(self, shared: SharedData)
factual_eval/libs/miroflow-contrib/src/miroflow/contrib/pocket/core.py:37
↓ 3 callersFunctionrefreshFileList
(directory = null)
factual_eval/apps/visualize-trace/static/js/script.js:319
↓ 3 callersFunctionset_trace_provider
Set the global trace provider used by tracing utilities.
factual_eval/libs/miroflow-contrib/src/miroflow/contrib/tracing/setup.py:17
↓ 3 callersFunctionset_tracing_disabled
Set whether tracing is globally disabled.
factual_eval/libs/miroflow-contrib/src/miroflow/contrib/tracing/__init__.py:104
↓ 3 callersFunctionupdateActiveNavItem
(activeIndex, browserStepId = null)
factual_eval/apps/visualize-trace/static/js/script.js:1118
↓ 2 callersFunctionLLMClient
create LLMClientProvider from hydra configuration.
factual_eval/libs/miroflow/src/miroflow/llm/client.py:20
↓ 2 callersMethod_calculate_and_add_cost
Calculate and accumulate API call cost
point_quality/deepresearcharena/utils/llm_call.py:103
↓ 2 callersMethod_clean_user_content_from_response
Remove content between \\n\\nUser: and <use_mcp_tool> in assistant response (if no <use_mcp_tool>, remove to end)
factual_eval/libs/miroflow/src/miroflow/llm/providers/claude_openrouter_client.py:241
next →1–100 of 851, ranked by callers