Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NJU-LINK/DR3-Eval
/ functions
Functions
786 in github.com/NJU-LINK/DR3-Eval
⨍
Functions
786
◇
Types & classes
73
↓ 3 callers
Method
analyze_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 callers
Method
clear
Clear all memory items
src/core/progressive_memory.py:335
↓ 3 callers
Function
convert_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 callers
Function
e
()
docs/static/js/bulma-carousel.min.js:1
↓ 3 callers
Function
e
()
docs/static/js/bulma-slider.min.js:1
↓ 3 callers
Function
estimate_completion_time
Estimate completion time based on overall progress rate from all completed tasks
benchmarks/check_progress/common.py:115
↓ 3 callers
Method
estimate_tokens
Estimate token count for text
src/core/progressive_memory.py:115
↓ 3 callers
Method
format_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 callers
Method
get_log_dir
Get the log directory for the current benchmark and model.
benchmarks/common_benchmark.py:115
↓ 3 callers
Function
n
(c,l)
docs/static/js/fontawesome.all.min.js:5
↓ 3 callers
Function
parse_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 callers
Function
parse_match_result
(match)
benchmarks/evaluators/eval_utils.py:468
↓ 3 callers
Function
qc
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 3 callers
Function
read_data
(model_name)
docs/static/js/explorer-index.js:104
↓ 3 callers
Function
run_all_evaluations
Args: Returns: Dict with all results
eval.py:569
↓ 3 callers
Function
setup_logging
Configure logging for batch evaluation.
eval.py:136
↓ 3 callers
Function
strip_markdown_links
(markdown: str)
libs/miroflow-tools/src/miroflow_tools/mcp_servers/utils/url_unquote.py:60
↓ 3 callers
Function
tc
(c,l)
docs/static/js/fontawesome.all.min.js:5
↓ 3 callers
Method
update_config
(self, config_name: str = None, increment: int = 0)
eval.py:101
↓ 3 callers
Method
update_message_history
Update message history with tool calls data (llm client specific)
src/llm/providers/openai_client.py:412
↓ 3 callers
Function
v
(c,l)
docs/static/js/fontawesome.all.min.js:5
↓ 3 callers
Function
verify_answer_gaia_validation_text_103
( question: str, target: str, predicted_answer: str )
benchmarks/evaluators/eval_utils.py:349
↓ 3 callers
Function
wc
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callers
Function
Al
(n,V)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callers
Function
Gc
(c,l,h)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callers
Function
Hc
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callers
Function
Mc
(c,l)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callers
Function
Oc
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callers
Function
Qc
(c,l)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callers
Function
Sc
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callers
Function
W
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callers
Function
Zc
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callers
Function
Zl
()
docs/static/js/fontawesome.all.min.js:5
↓ 2 callers
Function
__webpack_require__
(moduleId)
docs/static/js/bulma-slider.js:16
↓ 2 callers
Function
_add_file_info
Add file information to FolderContents.
src/io/folder_processor.py:233
↓ 2 callers
Function
_calculate_averages
Calculates and adds average values to a summary block.
src/logging/summary_time_cost.py:58
↓ 2 callers
Method
_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 callers
Method
_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 callers
Method
_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 callers
Function
_classCallCheck
(instance, Constructor)
docs/static/js/bulma-slider.js:90
↓ 2 callers
Method
_create_client
Create LLM client with robust timeout and connection settings
src/llm/providers/openai_client.py:34
↓ 2 callers
Method
_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 callers
Function
_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 callers
Method
_estimate_tokens
Use tiktoken to estimate the number of tokens in text
src/llm/providers/anthropic_client.py:277
↓ 2 callers
Method
_estimate_tokens
Use tiktoken to estimate the number of tokens in text
src/llm/providers/openai_client.py:437
↓ 2 callers
Method
_evaluate_checklist_batch
(self, result_text: str, items: List[Dict], start_idx: int, total: int)
evaluators/format_compliance.py:176
↓ 2 callers
Method
_extract_claims_with_llm
evaluators/factual_accuracy.py:1144
↓ 2 callers
Method
_extract_core_identifiers
Extract core identifiers (e.g. paper abbreviations) from a title.
evaluators/citation_coverage.py:328
↓ 2 callers
Method
_extract_task_id
Extract task ID from filename
benchmarks/check_progress/common.py:365
↓ 2 callers
Function
_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 callers
Function
_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 callers
Method
_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 callers
Method
_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 callers
Method
_get_latest_task_files
Get the latest task file for each task ID in a run directory
benchmarks/check_progress/common.py:370
↓ 2 callers
Function
_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 callers
Method
_get_source_info
(self, source_key: str, source_folder: Optional[Path])
evaluators/factual_accuracy.py:1623
↓ 2 callers
Method
_get_source_key
(self, citations: List[str], source_type: str)
evaluators/factual_accuracy.py:1580
↓ 2 callers
Function
_inherits
(subClass, superClass)
docs/static/js/bulma-carousel.js:481
↓ 2 callers
Method
_is_judge_correct
Determine if LLM judge result indicates correct answer
benchmarks/check_progress/common.py:439
↓ 2 callers
Method
_is_task_completed
Check if a task is completed based on its data
benchmarks/check_progress/common.py:426
↓ 2 callers
Method
_load_useful_search
Load title list from useful_search.json or useful_search.jsonl.
evaluators/citation_coverage.py:157
↓ 2 callers
Function
_possibleConstructorReturn
(self, call)
docs/static/js/bulma-carousel.js:479
↓ 2 callers
Method
_remove_tool_result_from_messages
Remove tool results from messages
src/llm/base_client.py:162
↓ 2 callers
Function
_save_retrieval_result
Save retrieval result to the log file.
libs/miroflow-tools/src/miroflow_tools/mcp_servers/rag_mcp_server.py:138
↓ 2 callers
Method
_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 callers
Method
_stream_show_error
Send show_error event
src/core/orchestrator.py:148
↓ 2 callers
Function
_update_summary_data
Updates a summary block with data from a single result.
src/logging/summary_time_cost.py:36
↓ 2 callers
Function
_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 callers
Method
_verify_claims_batch
(self, claims: List[Dict], source_folder: Optional[Path])
evaluators/factual_accuracy.py:1456
↓ 2 callers
Method
_verify_image_with_gemini_thread
Verify claims against image content using Gemini multimodal model.
evaluators/factual_accuracy.py:1860
↓ 2 callers
Function
bootstrap_logger
Configure the miroflow_agent logger with consistent formatting
src/logging/task_logger.py:71
↓ 2 callers
Function
calculate_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 callers
Method
can_compress
Check if this item can be further compressed
src/core/progressive_memory.py:60
↓ 2 callers
Function
cl
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callers
Method
close
Close database connection.
libs/miroflow-tools/src/miroflow_tools/tools/rag_tool.py:1075
↓ 2 callers
Method
close
Close the session and connection.
libs/miroflow-tools/src/miroflow_tools/mcp_servers/browser_session.py:60
↓ 2 callers
Function
compress_video
(input_path: str, output_path: str, max_size_mb: float = 5.0)
evaluators/factual_accuracy.py:260
↓ 2 callers
Function
create_mcp_server_parameters
Define and return MCP server configuration list
src/config/settings.py:184
↓ 2 callers
Function
create_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 callers
Function
dc
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callers
Method
diverse_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 callers
Function
el
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callers
Method
ensure_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 callers
Function
execute_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 callers
Function
extract_content_from_message
Extract text content from a message, handling different content formats.
benchmarks/evaluators/eval_intermediate_insights.py:73
↓ 2 callers
Function
extract_json_from_text
Extract a JSON object from text, handling code blocks and truncation.
evaluators/utils/llm_client.py:24
↓ 2 callers
Function
extract_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 callers
Function
extract_metrics_from_existing
(existing_data)
eval.py:197
↓ 2 callers
Method
find_run_directories
Find all run directories in the target path
benchmarks/check_progress/common.py:327
↓ 2 callers
Method
format_final_summary_and_log
Format final summary information, including answers and token statistics
src/io/output_formatter.py:104
↓ 2 callers
Function
generate_agent_specific_system_prompt
(agent_type="")
src/utils/prompt_utils.py:1493
↓ 2 callers
Method
generate_agent_system_prompt
(self, date: Any, mcp_servers: List[Dict])
src/llm/providers/openai_client.py:434
↓ 2 callers
Function
generate_mcp_system_prompt
(date, mcp_servers)
src/utils/prompt_utils.py:37
↓ 2 callers
Method
generate_report
(self, combined_result: CombinedEvalResult)
evaluators/utils/run_all.py:280
↓ 2 callers
Function
generate_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 callers
Function
getRandomSubarray
(size, arr=null)
docs/static/js/explorer-index.js:115
↓ 2 callers
Method
get_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 callers
Function
get_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 callers
Method
get_content_by_title
Get long-context content by title with fuzzy matching.
evaluators/utils/document_loader.py:225
↓ 2 callers
Function
get_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
← previous
next →
101–200 of 786, ranked by callers