MCPcopy Create free account

hub / github.com/NJU-LINK/DR3-Eval / functions

Functions786 in github.com/NJU-LINK/DR3-Eval

↓ 3 callersMethodanalyze_audio
Main entry point for enhanced audio understanding. Args: audio_path: Path to audio file (local or URL) quest
libs/miroflow-tools/src/miroflow_tools/tools/enhanced_audio.py:109
↓ 3 callersMethodclear
Clear all memory items
src/core/progressive_memory.py:335
↓ 3 callersFunctionconvert_html_to_md
Placeholder for HTML to Markdown conversion function In the original class, this would call self._convert()
src/io/input_handler.py:405
↓ 3 callersFunctione
()
docs/static/js/bulma-carousel.min.js:1
↓ 3 callersFunctione
()
docs/static/js/bulma-slider.min.js:1
↓ 3 callersFunctionestimate_completion_time
Estimate completion time based on overall progress rate from all completed tasks
benchmarks/check_progress/common.py:115
↓ 3 callersMethodestimate_tokens
Estimate token count for text
src/core/progressive_memory.py:115
↓ 3 callersMethodformat_tool_result_for_user
Format tool execution results to be fed back to LLM as user messages. Only includes necessary information (results or errors).
src/io/output_formatter.py:79
↓ 3 callersMethodget_log_dir
Get the log directory for the current benchmark and model.
benchmarks/common_benchmark.py:115
↓ 3 callersFunctionn
(c,l)
docs/static/js/fontawesome.all.min.js:5
↓ 3 callersFunctionparse_citation_details
- [Doc: llama.pdf, Page 34] - [vision_understanding_advanced: image2.jpg, reasoning] - [RAG-1] Returns: Dict with k
evaluators/factual_accuracy.py:99
↓ 3 callersFunctionparse_match_result
(match)
benchmarks/evaluators/eval_utils.py:468
↓ 3 callersFunctionqc
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 3 callersFunctionread_data
(model_name)
docs/static/js/explorer-index.js:104
↓ 3 callersFunctionrun_all_evaluations
Args: Returns: Dict with all results
eval.py:569
↓ 3 callersFunctionsetup_logging
Configure logging for batch evaluation.
eval.py:136
↓ 3 callersFunctionstrip_markdown_links
(markdown: str)
libs/miroflow-tools/src/miroflow_tools/mcp_servers/utils/url_unquote.py:60
↓ 3 callersFunctiontc
(c,l)
docs/static/js/fontawesome.all.min.js:5
↓ 3 callersMethodupdate_config
(self, config_name: str = None, increment: int = 0)
eval.py:101
↓ 3 callersMethodupdate_message_history
Update message history with tool calls data (llm client specific)
src/llm/providers/openai_client.py:412
↓ 3 callersFunctionv
(c,l)
docs/static/js/fontawesome.all.min.js:5
↓ 3 callersFunctionverify_answer_gaia_validation_text_103
( question: str, target: str, predicted_answer: str )
benchmarks/evaluators/eval_utils.py:349
↓ 3 callersFunctionwc
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callersFunctionAl
(n,V)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callersFunctionGc
(c,l,h)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callersFunctionHc
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callersFunctionMc
(c,l)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callersFunctionOc
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callersFunctionQc
(c,l)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callersFunctionSc
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callersFunctionW
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callersFunctionZc
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callersFunctionZl
()
docs/static/js/fontawesome.all.min.js:5
↓ 2 callersFunction__webpack_require__
(moduleId)
docs/static/js/bulma-slider.js:16
↓ 2 callersFunction_add_file_info
Add file information to FolderContents.
src/io/folder_processor.py:233
↓ 2 callersFunction_calculate_averages
Calculates and adds average values to a summary block.
src/logging/summary_time_cost.py:58
↓ 2 callersMethod_call_audio_service
Call appropriate audio service based on provider. Args: audio_path: Path to audio file question: Optional qu
libs/miroflow-tools/src/miroflow_tools/tools/enhanced_audio.py:191
↓ 2 callersMethod_call_video_service
Call appropriate video service based on provider. Args: video_path: Path to video file question: Question ab
libs/miroflow-tools/src/miroflow_tools/tools/enhanced_video.py:214
↓ 2 callersMethod_call_vllm
Call the VLLM provider API. Supports multiple providers: - openai: GPT-4V, GPT-4o, etc. - anthropic: Claude
libs/miroflow-tools/src/miroflow_tools/tools/enhanced_vqa.py:199
↓ 2 callersFunction_classCallCheck
(instance, Constructor)
docs/static/js/bulma-slider.js:90
↓ 2 callersMethod_create_client
Create LLM client with robust timeout and connection settings
src/llm/providers/openai_client.py:34
↓ 2 callersMethod_create_message
Send message to OpenAI API. :param system_prompt: System prompt string. :param messages_history: Message history list.
src/llm/providers/openai_client.py:145
↓ 2 callersFunction_encode_audio_file
Encode audio file to base64 and determine format.
libs/miroflow-tools/src/miroflow_tools/mcp_servers/audio_mcp_server.py:109
↓ 2 callersMethod_estimate_tokens
Use tiktoken to estimate the number of tokens in text
src/llm/providers/anthropic_client.py:277
↓ 2 callersMethod_estimate_tokens
Use tiktoken to estimate the number of tokens in text
src/llm/providers/openai_client.py:437
↓ 2 callersMethod_evaluate_checklist_batch
(self, result_text: str, items: List[Dict], start_idx: int, total: int)
evaluators/format_compliance.py:176
↓ 2 callersMethod_extract_claims_with_llm
evaluators/factual_accuracy.py:1144
↓ 2 callersMethod_extract_core_identifiers
Extract core identifiers (e.g. paper abbreviations) from a title.
evaluators/citation_coverage.py:328
↓ 2 callersMethod_extract_task_id
Extract task ID from filename
benchmarks/check_progress/common.py:365
↓ 2 callersFunction_get_audio_duration
Get audio duration in seconds. Tries to use wave (for .wav), then falls back to mutagen (for mp3, etc).
libs/miroflow-tools/src/miroflow_tools/mcp_servers/audio_mcp_server.py:77
↓ 2 callersFunction_get_audio_extension
Determine the appropriate audio file extension from URL or content type. Args: url: The URL of the audio file content_type:
libs/miroflow-tools/src/miroflow_tools/mcp_servers/audio_mcp_server.py:36
↓ 2 callersMethod_get_embedding
Get embedding for a single text with retry logic for rate limiting.
libs/miroflow-tools/src/miroflow_tools/tools/rag_tool.py:533
↓ 2 callersMethod_get_embedding_dimension
Get the embedding dimension from stored embeddings or use default.
libs/miroflow-tools/src/miroflow_tools/tools/rag_tool.py:526
↓ 2 callersMethod_get_latest_task_files
Get the latest task file for each task ID in a run directory
benchmarks/check_progress/common.py:370
↓ 2 callersFunction_get_metadata
Extract metadata from media files using exiftool Args: local_path: Path to the media file Returns: Dictionary of metada
src/io/input_handler.py:812
↓ 2 callersMethod_get_source_info
(self, source_key: str, source_folder: Optional[Path])
evaluators/factual_accuracy.py:1623
↓ 2 callersMethod_get_source_key
(self, citations: List[str], source_type: str)
evaluators/factual_accuracy.py:1580
↓ 2 callersFunction_inherits
(subClass, superClass)
docs/static/js/bulma-carousel.js:481
↓ 2 callersMethod_is_judge_correct
Determine if LLM judge result indicates correct answer
benchmarks/check_progress/common.py:439
↓ 2 callersMethod_is_task_completed
Check if a task is completed based on its data
benchmarks/check_progress/common.py:426
↓ 2 callersMethod_load_useful_search
Load title list from useful_search.json or useful_search.jsonl.
evaluators/citation_coverage.py:157
↓ 2 callersFunction_possibleConstructorReturn
(self, call)
docs/static/js/bulma-carousel.js:479
↓ 2 callersMethod_remove_tool_result_from_messages
Remove tool results from messages
src/llm/base_client.py:162
↓ 2 callersFunction_save_retrieval_result
Save retrieval result to the log file.
libs/miroflow-tools/src/miroflow_tools/mcp_servers/rag_mcp_server.py:138
↓ 2 callersMethod_should_block_hf_scraping
Check if we should block scraping of Hugging Face datasets/spaces. :param tool_name: The name of the tool being called :param
libs/miroflow-tools/src/miroflow_tools/manager.py:98
↓ 2 callersMethod_stream_show_error
Send show_error event
src/core/orchestrator.py:148
↓ 2 callersFunction_update_summary_data
Updates a summary block with data from a single result.
src/logging/summary_time_cost.py:36
↓ 2 callersFunction_validate_path
Validate if the given path is allowed for RAG operations. Returns: Tuple of (is_valid, error_message_or_corrected_path)
libs/miroflow-tools/src/miroflow_tools/mcp_servers/rag_mcp_server.py:84
↓ 2 callersMethod_verify_claims_batch
(self, claims: List[Dict], source_folder: Optional[Path])
evaluators/factual_accuracy.py:1456
↓ 2 callersMethod_verify_image_with_gemini_thread
Verify claims against image content using Gemini multimodal model.
evaluators/factual_accuracy.py:1860
↓ 2 callersFunctionbootstrap_logger
Configure the miroflow_agent logger with consistent formatting
src/logging/task_logger.py:71
↓ 2 callersFunctioncalculate_match_score
Calculate how well the content matches the insight. Returns: - score: 0.0 to 1.0 - match_type: 'exact', 'partial', 'keyword', 'n
benchmarks/evaluators/eval_intermediate_insights.py:226
↓ 2 callersMethodcan_compress
Check if this item can be further compressed
src/core/progressive_memory.py:60
↓ 2 callersFunctioncl
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callersMethodclose
Close database connection.
libs/miroflow-tools/src/miroflow_tools/tools/rag_tool.py:1075
↓ 2 callersMethodclose
Close the session and connection.
libs/miroflow-tools/src/miroflow_tools/mcp_servers/browser_session.py:60
↓ 2 callersFunctioncompress_video
(input_path: str, output_path: str, max_size_mb: float = 5.0)
evaluators/factual_accuracy.py:260
↓ 2 callersFunctioncreate_mcp_server_parameters
Define and return MCP server configuration list
src/config/settings.py:184
↓ 2 callersFunctioncreate_pipeline_components
Creates and initializes the core components of the agent pipeline. Args: cfg: The Hydra configuration object. Returns:
src/core/pipeline.py:179
↓ 2 callersFunctiondc
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callersMethoddiverse_search
Search with document diversity - ensures results come from multiple documents. This method prioritizes getting results from
libs/miroflow-tools/src/miroflow_tools/tools/rag_tool.py:885
↓ 2 callersFunctionel
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callersMethodensure_summary_context
Check if current message_history + summary_prompt will exceed context If it will exceed, remove the last assistant-user pair and retu
src/llm/providers/openai_client.py:460
↓ 2 callersFunctionexecute_task_pipeline
Executes the full pipeline for a single task. Args: cfg: The Hydra configuration object. task_description: The description o
src/core/pipeline.py:36
↓ 2 callersFunctionextract_content_from_message
Extract text content from a message, handling different content formats.
benchmarks/evaluators/eval_intermediate_insights.py:73
↓ 2 callersFunctionextract_json_from_text
Extract a JSON object from text, handling code blocks and truncation.
evaluators/utils/llm_client.py:24
↓ 2 callersFunctionextract_llm_response_text
Extract text from LLM response, excluding <use_mcp_tool> tags. Stop immediately when this opening tag is encountered.
src/utils/parsing_utils.py:66
↓ 2 callersFunctionextract_metrics_from_existing
(existing_data)
eval.py:197
↓ 2 callersMethodfind_run_directories
Find all run directories in the target path
benchmarks/check_progress/common.py:327
↓ 2 callersMethodformat_final_summary_and_log
Format final summary information, including answers and token statistics
src/io/output_formatter.py:104
↓ 2 callersFunctiongenerate_agent_specific_system_prompt
(agent_type="")
src/utils/prompt_utils.py:1493
↓ 2 callersMethodgenerate_agent_system_prompt
(self, date: Any, mcp_servers: List[Dict])
src/llm/providers/openai_client.py:434
↓ 2 callersFunctiongenerate_mcp_system_prompt
(date, mcp_servers)
src/utils/prompt_utils.py:37
↓ 2 callersMethodgenerate_report
(self, combined_result: CombinedEvalResult)
evaluators/utils/run_all.py:280
↓ 2 callersFunctiongenerate_turn_by_turn_log
Parse the JSON log file and generate a human-readable turn-by-turn log. Args: log_file_path: Path to the JSON log file o
src/runners/folder_task.py:117
↓ 2 callersFunctiongetRandomSubarray
(size, arr=null)
docs/static/js/explorer-index.js:115
↓ 2 callersMethodget_all_tool_definitions
Connect to all configured servers and get their tool definitions. Returns a list suitable for passing to the Prompt generator.
libs/miroflow-tools/src/miroflow_tools/manager.py:115
↓ 2 callersFunctionget_completed_tasks
Get set of task numbers that have already been completed. Directory structure: result/<run_batch>/<dataset>/<context_size>/<model>/<task_numb
src/runners/batch_tasks.py:310
↓ 2 callersMethodget_content_by_title
Get long-context content by title with fuzzy matching.
evaluators/utils/document_loader.py:225
↓ 2 callersFunctionget_results_dir_for_folder
Determine the results directory based on folder path structure. For paths like 'data/bench_case1104/001', returns 'results/bench_case110
src/runners/folder_task.py:552
← previousnext →101–200 of 786, ranked by callers