MCPcopy Create free account

hub / github.com/HKUDS/ClawWork / functions

Functions540 in github.com/HKUDS/ClawWork

↓ 54 callersFunctionxmlFind
(node, ln)
frontend/src/pages/Artifacts.jsx:80
↓ 47 callersFunctionlog_message
Log messages to both console and file
scripts/calculate_task_values.py:35
↓ 41 callersFunctionlog_message
Log messages to both console and file
scripts/estimate_task_hours.py:29
↓ 41 callersMethodterminal_print
Print message to terminal log file (and optionally console) This captures the exact formatted output with emojis Arg
livebench/utils/logger.py:185
↓ 37 callersMethod_log
Log message to terminal
livebench/agent/wrapup_workflow.py:368
↓ 33 callersFunctionlog_message
Log messages to both console and file
eval/generate_meta_prompts.py:31
↓ 32 callersMethoderror
Log error message Args: message: Error message context: Additional context dictionary ex
livebench/utils/logger.py:65
↓ 22 callersMethodtrack_api_call
Track API call cost (e.g., JINA search, OCR) based on token usage Args: tokens: Number of tokens used price_
livebench/agent/economic_tracker.py:203
↓ 20 callersMethodend_task
End tracking for current task and save consolidated task record
livebench/agent/economic_tracker.py:146
↓ 19 callersMethodstart_task
Start tracking costs for a new task Args: task_id: Unique identifier for the task date: Date task was assign
livebench/agent/economic_tracker.py:117
↓ 19 callersMethodtrack_tokens
Track token usage and calculate cost Args: input_tokens: Number of input tokens output_tokens: Number of out
livebench/agent/economic_tracker.py:158
↓ 18 callersMethodadd_work_income
Add income from completed work with evaluation score threshold Payment is only awarded if evaluation_score >= min_evaluation
livebench/agent/economic_tracker.py:358
↓ 18 callersFunctionxmlFindAll
(node, ln)
frontend/src/pages/Artifacts.jsx:79
↓ 17 callersMethodwarning
Log warning message Args: message: Warning message context: Additional context dictionary
livebench/utils/logger.py:85
↓ 16 callersFunctionread_jsonl
(path: Path)
scripts/generate_static_data.py:36
↓ 14 callersFunctionlog_message
Log messages with timestamp
scripts/recalculate_agent_economics.py:25
↓ 13 callersMethodinfo
Log info message Args: message: Info message context: Additional context dictionary prin
livebench/utils/logger.py:102
↓ 13 callersMethodinitialize
Initialize tracker, load existing state or create new
livebench/agent/economic_tracker.py:85
↓ 12 callersMethodget_balance
Get current balance
livebench/agent/economic_tracker.py:515
↓ 11 callersMethodrun
Run the wrap-up workflow Args: date: Current date (YYYY-MM-DD) task: Current task dictionary (may be
livebench/agent/wrapup_workflow.py:375
↓ 10 callersFunctionget
(url)
frontend/src/api.js:15
↓ 10 callersFunctionliveUrl
(path)
frontend/src/api.js:13
↓ 10 callersFunctionlog_error
Convenience function to log error
livebench/utils/logger.py:217
↓ 10 callersFunctionstaticUrl
(path)
frontend/src/api.js:12
↓ 10 callersFunctionwrite_json
(path: Path, data)
scripts/generate_static_data.py:51
↓ 9 callersMethodget_survival_status
Get survival status based on balance Returns: Status: "thriving", "stable", "struggling", or "bankrupt"
livebench/agent/economic_tracker.py:524
↓ 8 callersFunctionresolveColor
(node, themeColors, phClr)
frontend/src/pages/Artifacts.jsx:124
↓ 7 callersMethod_sync_compat_attrs
(self)
livebench/tools/productivity/code_execution_sandbox.py:492
↓ 7 callersFunctionbuildResponse
* Build API Gateway-compatible response
livebench/data/agent_data/kimi-k2.5-test-openrouter-10dollar-1/sandbox/2027-07-09/exports.js:142
↓ 7 callersMethodget_provider
(self)
livebench/tools/productivity/code_execution_sandbox.py:532
↓ 6 callersMethodget_instance
Get or create the singleton session sandbox instance.
livebench/tools/productivity/code_execution_sandbox.py:462
↓ 6 callersMethodget_task_costs
Get cost breakdown for a specific task Args: task_id: Task identifier Returns:
livebench/agent/economic_tracker.py:740
↓ 5 callersMethod_ensure_backend
(self, timeout: int = 3600)
livebench/tools/productivity/code_execution_sandbox.py:500
↓ 5 callersMethod_get_task_by_id
Get task by ID from filtered task list Args: task_id: Task identifier Returns: Task dictionary or N
livebench/work/task_manager.py:450
↓ 5 callersFunctionget_logger
Get the global logger instance
livebench/utils/logger.py:212
↓ 5 callersMethodload_tasks
Load tasks from configured source (parquet, jsonl, or inline) Returns: Number of tasks loaded Raises:
livebench/work/task_manager.py:99
↓ 5 callersMethodselect_daily_task
Select a task for the given date Args: date: Date string (YYYY-MM-DD) signature: Agent signature (optional,
livebench/work/task_manager.py:302
↓ 4 callersMethod_write_log
Write log entry to file
livebench/utils/logger.py:41
↓ 4 callersFunctionagent_dirs
()
scripts/generate_static_data.py:58
↓ 4 callersMethodclose
Close all server connections
livebench/langchain_mcp_adapters/client.py:172
↓ 4 callersMethodensure_started
(self, timeout: int = 3600)
livebench/tools/productivity/code_execution_sandbox.py:105
↓ 4 callersMethodensure_started
(self, timeout: int = 3600)
livebench/tools/productivity/code_execution_sandbox.py:246
↓ 4 callersMethodget_daily_summary
Get cost summary for a specific date Args: date: Date string (YYYY-MM-DD) Returns:
livebench/agent/economic_tracker.py:780
↓ 4 callersFunctionget_safe_filename
Convert category name to safe filename
eval/generate_meta_prompts.py:266
↓ 4 callersMethodis_bankrupt
Check if agent is bankrupt
livebench/agent/economic_tracker.py:540
↓ 3 callersMethod_apply_filters
Apply agent-specific filters to task list
livebench/work/task_manager.py:260
↓ 3 callersMethod_log_evaluation
Log evaluation result Args: artifact_path: Single path (str) or list of paths
livebench/work/evaluator.py:153
↓ 3 callersFunctionaddToQueue
(id: string, message: string | React.ReactElement, priority: number = 0)
livebench/data/agent_data/kimi-k2.5-test-openrouter-10dollar-1/sandbox/2026-06-25/ScreenReaderStatusMessage.tsx:58
↓ 3 callersFunctionapplyColorMods
(hex, parentEl)
frontend/src/pages/Artifacts.jsx:55
↓ 3 callersMethodbroadcast
Broadcast message to all connected clients
livebench/api/server.py:167
↓ 3 callersMethodcleanup
(self)
livebench/tools/productivity/code_execution_sandbox.py:80
↓ 3 callersMethoddebug
Log debug message Args: message: Debug message context: Additional context dictionary pr
livebench/utils/logger.py:119
↓ 3 callersMethoddownload_artifact
(self, remote_path: str, local_dir: str)
livebench/tools/productivity/code_execution_sandbox.py:74
↓ 3 callersMethodevaluate_artifact
Evaluate a work artifact and determine payment Args: signature: Agent signature task: Task dictionary (must
livebench/work/evaluator.py:56
↓ 3 callersFunctiongetPreviewableArtifacts
Extract previewable artifacts from a task's evaluation data
frontend/src/pages/WorkView.jsx:22
↓ 3 callersMethodget_cost_analytics
Get detailed cost analytics across all tasks and dates Returns: Dictionary with cost breakdown by channel, date,
livebench/agent/economic_tracker.py:577
↓ 3 callersMethodget_daily_cost
Get total daily token cost
livebench/agent/economic_tracker.py:548
↓ 3 callersMethodget_net_worth
Get net worth (balance + portfolio value)
livebench/agent/economic_tracker.py:519
↓ 3 callersMethodget_or_create_sandbox
Ensure a provider backend is ready and return its native handle.
livebench/tools/productivity/code_execution_sandbox.py:527
↓ 3 callersMethodget_summary
Get comprehensive economic summary Returns: Dictionary with all economic metrics
livebench/agent/economic_tracker.py:552
↓ 3 callersFunctionhue2rgb
(p, q, t)
frontend/src/pages/Artifacts.jsx:50
↓ 3 callersFunctionload_config
Load configuration from JSON file
livebench/main.py:27
↓ 3 callersFunctionload_jsonl
Load all records from a JSONL file; skip malformed lines.
scripts/derive_task_completions.py:42
↓ 3 callersFunctionload_jsonl
Load a JSONL file, return list of dicts.
scripts/domain_earnings_analysis.py:58
↓ 3 callersFunctionparseBg
(bgEl, tc, themeBgFills)
frontend/src/pages/Artifacts.jsx:161
↓ 3 callersFunctionparseGradient
(gradFill, tc, phClr)
frontend/src/pages/Artifacts.jsx:143
↓ 3 callersFunctionread_jsonl
(path: Path)
scripts/backfill_balance_task_info.py:31
↓ 3 callersFunctionread_pdf_as_images
Convert PDF to list of PNG images, combining 4 pages into one image to save resources. Uses pdf2image to convert PDF pages to images, th
livebench/tools/productivity/file_reading.py:377
↓ 3 callersFunctionread_pptx_as_images
Convert PPTX to list of PNG images (one per slide). Uses LibreOffice to convert PPTX → PDF, then pdf2image to convert PDF → PNG images.
livebench/tools/productivity/file_reading.py:291
↓ 3 callersFunctionresolveRelPath
(base, rel)
frontend/src/pages/Artifacts.jsx:81
↓ 3 callersMethodsave_daily_state
Save end-of-day economic state Args: date: Date string (YYYY-MM-DD) work_income: Today's work income (actual
livebench/agent/economic_tracker.py:438
↓ 3 callersFunctionuseDisplayName
()
frontend/src/DisplayNamesContext.jsx:14
↓ 2 callersFunction_check_clawwork_enabled
Exit with an error if clawwork is not enabled in config.
clawmode_integration/cli.py:170
↓ 2 callersMethod_fallback_result
Return a safe default classification.
clawmode_integration/task_classifier.py:155
↓ 2 callersMethod_format_cost_line
Return a short cost footer for the current task.
clawmode_integration/agent_loop.py:254
↓ 2 callersFunction_get_global_state
Get global state from parent module
livebench/tools/productivity/file_reading.py:29
↓ 2 callersFunction_load_task_completions_by_task_id
Load task_completions.jsonl indexed by task_id → entry dict.
livebench/api/server.py:71
↓ 2 callersMethod_log_message
Log messages to log file
livebench/agent/live_agent.py:383
↓ 2 callersMethod_log_task_assignment
Log task assignment to agent's task log
livebench/work/task_manager.py:544
↓ 2 callersFunction_make_agent_loop
Create a ClawWorkAgentLoop from nanobot config. Shared by both the ``agent`` and ``gateway`` commands. Returns ``(agent_loop, state, bus)``.
clawmode_integration/cli.py:133
↓ 2 callersMethod_print_final_summary
Print final simulation summary
livebench/agent/live_agent.py:1204
↓ 2 callersFunction_print_response
(text: str)
clawmode_integration/cli.py:224
↓ 2 callersMethod_read_docx_content
Extract text content from DOCX file Args: path: Path to DOCX file Returns: Extr
livebench/work/llm_evaluator.py:280
↓ 2 callersMethod_read_xlsx_content
Extract data from XLSX file Args: path: Path to XLSX file Returns: Formatted te
livebench/work/llm_evaluator.py:326
↓ 2 callersMethod_save_balance_record
Save balance record to file
livebench/agent/economic_tracker.py:476
↓ 2 callersFunction_thinking_ctx
()
clawmode_integration/cli.py:218
↓ 2 callersMethod_validate_task_schema
Validate task has required fields Args: task: Task dictionary identifier: Line number or index for error mes
livebench/work/task_manager.py:237
↓ 2 callersFunctioncleanup_session_sandbox
Clean up session sandbox resources.
livebench/tools/productivity/code_execution_sandbox.py:736
↓ 2 callersMethodensure_started
(self, timeout: int = 3600)
livebench/tools/productivity/code_execution_sandbox.py:65
↓ 2 callersMethodexecute_code
(self, code: str)
livebench/tools/productivity/code_execution_sandbox.py:68
↓ 2 callersFunctionfetchAgentTasks
(sig)
frontend/src/api.js:31
↓ 2 callersFunctionfetchAgents
()
frontend/src/api.js:19
↓ 2 callersFunctionfetchLeaderboard
()
frontend/src/api.js:22
↓ 2 callersFunctionfmt
(v)
frontend/src/pages/Leaderboard.jsx:765
↓ 2 callersFunctionformatDuration
(secs)
frontend/src/pages/WorkView.jsx:13
↓ 2 callersFunctiongenerate_meta_prompt_for_category
Use GPT-4o to generate evaluation guidelines for a specific category
eval/generate_meta_prompts.py:182
↓ 2 callersFunctiongetActivityIcon
(activity)
frontend/src/pages/Dashboard.jsx:96
↓ 2 callersFunctiongetArtifactFileUrl
(path)
frontend/src/api.js:53
↓ 2 callersFunctiongetFileIcon
(ext)
frontend/src/components/FilePreview.jsx:20
↓ 2 callersFunctiongetFileUrl
(path)
frontend/src/pages/Artifacts.jsx:481
next →1–100 of 540, ranked by callers