Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HKUDS/ClawWork
/ functions
Functions
540 in github.com/HKUDS/ClawWork
⨍
Functions
540
◇
Types & classes
33
↳
Endpoints
14
↓ 1 callers
Function
demonstrate_new_capabilities
Demonstrate what's now possible with new format
scripts/analyze_economic_improvements.py:76
↓ 1 callers
Function
derive_record
Build a single task_completions entry from all available sources.
scripts/derive_task_completions.py:159
↓ 1 callers
Function
derive_task_completions
Derive task_completions records for an agent directory and (unless dry_run) write them to economic/task_completions.jsonl. Returns the l
scripts/derive_task_completions.py:208
↓ 1 callers
Method
disconnect
(self, websocket: WebSocket)
livebench/api/server.py:164
↓ 1 callers
Function
estimate_hours_for_task
Use GPT-5.2 to estimate hours needed for a specific task
scripts/estimate_task_hours.py:130
↓ 1 callers
Method
evaluate_artifact
Evaluate work artifact(s) using LLM and category-specific criteria Args: task: Task dictionary with occupation, sector,
livebench/work/llm_evaluator.py:75
↓ 1 callers
Function
extract_date
Extract date from filename like '2027-09-06.log'.
scripts/cleanup_failed_runs.py:61
↓ 1 callers
Function
fetchAgentDetail
(sig)
frontend/src/api.js:25
↓ 1 callers
Function
fetchAgentDetails
()
frontend/src/pages/Dashboard.jsx:23
↓ 1 callers
Function
fetchAgentEconomic
(sig)
frontend/src/api.js:28
↓ 1 callers
Function
fetchAgentLearning
(sig)
frontend/src/api.js:34
↓ 1 callers
Function
fetchAgentsData
()
frontend/src/App.jsx:58
↓ 1 callers
Function
fetchDisplayNames
()
frontend/src/api.js:40
↓ 1 callers
Function
fetchEconomicData
()
frontend/src/pages/Dashboard.jsx:35
↓ 1 callers
Function
fetchHiddenAgents
()
frontend/src/api.js:37
↓ 1 callers
Function
fetchLearningData
()
frontend/src/pages/LearningView.jsx:21
↓ 1 callers
Function
fetchTasks
()
frontend/src/pages/WorkView.jsx:259
↓ 1 callers
Function
fetchTerminalLog
(sig, date)
frontend/src/api.js:46
↓ 1 callers
Method
force_assign_task
Force-assign a specific task to a date, bypassing the 'used' check. Used in exhaust mode to pre-select a task before run_daily_sessio
livebench/work/task_manager.py:614
↓ 1 callers
Function
formatBytes
(b)
frontend/src/components/FilePreview.jsx:17
↓ 1 callers
Function
formatWallClockTime
(secs)
frontend/src/pages/Dashboard.jsx:111
↓ 1 callers
Function
format_result_for_logging
Format tool result for logging (handles binary data gracefully)
livebench/agent/message_formatter.py:9
↓ 1 callers
Function
format_tool_result_message
Format tool result into proper message format
livebench/agent/message_formatter.py:35
↓ 1 callers
Function
gen_agent_detail
(agent_dir: Path)
scripts/generate_static_data.py:187
↓ 1 callers
Function
gen_agent_economic
(agent_dir: Path)
scripts/generate_static_data.py:319
↓ 1 callers
Function
gen_agent_learning
(agent_dir: Path)
scripts/generate_static_data.py:297
↓ 1 callers
Function
gen_agent_tasks
Build task list from task_completions.jsonl (authoritative — no duplicates). task metadata is looked up from tasks.jsonl (first occurrence per ta
scripts/generate_static_data.py:223
↓ 1 callers
Function
gen_agents
()
scripts/generate_static_data.py:89
↓ 1 callers
Function
gen_artifacts
()
scripts/generate_static_data.py:346
↓ 1 callers
Function
gen_leaderboard
()
scripts/generate_static_data.py:112
↓ 1 callers
Function
gen_settings
()
scripts/generate_static_data.py:406
↓ 1 callers
Function
gen_terminal_logs
(agent_dir: Path)
scripts/generate_static_data.py:387
↓ 1 callers
Function
generate_full_tracks
()
livebench/data/agent_data/Gemini 3.1 Pro Preview/sandbox/2027-05-05/produce_track.py:10
↓ 1 callers
Function
generate_summary_report
Generate a summary report of all generated meta-prompts
eval/generate_meta_prompts.py:288
↓ 1 callers
Function
generate_summary_report
Generate a summary report of all estimates
scripts/estimate_task_hours.py:215
↓ 1 callers
Function
generate_value_summary
Generate summary statistics for task values
scripts/calculate_task_values.py:292
↓ 1 callers
Function
getConnectionStatusColor
()
frontend/src/components/Sidebar.jsx:44
↓ 1 callers
Function
getConnectionStatusLabel
()
frontend/src/components/Sidebar.jsx:55
↓ 1 callers
Function
getLayoutDoc
(layoutFile)
frontend/src/pages/Artifacts.jsx:366
↓ 1 callers
Function
getMasterDecorations
(masterFile)
frontend/src/pages/Artifacts.jsx:376
↓ 1 callers
Function
getPageNumbers
()
frontend/src/pages/WorkView.jsx:352
↓ 1 callers
Function
getShapeRadius
(sp)
frontend/src/pages/Artifacts.jsx:219
↓ 1 callers
Function
getStatusColor
(status)
frontend/src/components/Sidebar.jsx:29
↓ 1 callers
Function
getStatusColor
(status)
frontend/src/pages/Dashboard.jsx:66
↓ 1 callers
Function
getStatusEmoji
(status)
frontend/src/pages/Dashboard.jsx:81
↓ 1 callers
Function
getStatusIcon
(task)
frontend/src/pages/WorkView.jsx:308
↓ 1 callers
Function
getStatusText
(evaluation)
frontend/src/pages/WorkView.jsx:317
↓ 1 callers
Function
get_agents
List all agent directories.
scripts/cleanup_failed_runs.py:67
↓ 1 callers
Method
get_all_task_ids
Get all task IDs in the filtered task list (for exhaust mode)
livebench/work/task_manager.py:610
↓ 1 callers
Function
get_all_tools
Get list of all LiveBench tools Returns: - 4 core tools (decide_activity, submit_work, learn, get_status) - 6 productivity tools (search_
livebench/tools/direct_tools.py:529
↓ 1 callers
Function
get_live_agent_system_prompt
Generate system prompt for LiveBench agent with economic awareness Focus: Work and Learn capabilities only Args: date: Current s
livebench/prompts/live_agent_prompt.py:12
↓ 1 callers
Method
get_session_cost
Get current session token cost
livebench/agent/economic_tracker.py:544
↓ 1 callers
Method
get_session_id
(self)
livebench/tools/productivity/code_execution_sandbox.py:83
↓ 1 callers
Function
get_session_sandbox_provider
Return the active provider (or requested provider before initialization).
livebench/tools/productivity/code_execution_sandbox.py:731
↓ 1 callers
Method
get_total_earnings
Get total work earnings for an agent Args: signature: Agent signature Returns: Total earnings
livebench/work/evaluator.py:223
↓ 1 callers
Function
get_unique_occupations
Extract unique occupations from tasks
scripts/calculate_task_values.py:79
↓ 1 callers
Function
handleWebSocketMessage
(message)
frontend/src/App.jsx:67
↓ 1 callers
Function
hexToRgb
(hex)
frontend/src/pages/Artifacts.jsx:28
↓ 1 callers
Function
hslToRgb
(h, s, l)
frontend/src/pages/Artifacts.jsx:48
↓ 1 callers
Method
initialize
Initialize agent components
livebench/agent/live_agent.py:192
↓ 1 callers
Function
isActive
(path)
frontend/src/components/Sidebar.jsx:19
↓ 1 callers
Method
is_active
(self)
livebench/tools/productivity/code_execution_sandbox.py:537
↓ 1 callers
Function
is_failed_run
Check if a terminal log indicates a failed run. Returns failure reason or None.
scripts/cleanup_failed_runs.py:47
↓ 1 callers
Function
listener
(messages: Array<{ id: string; message: string | React.ReactElement }>)
livebench/data/agent_data/kimi-k2.5-test-openrouter-10dollar-1/sandbox/2026-06-25/ScreenReaderStatusMessage.tsx:176
↓ 1 callers
Function
loadRels
(relsPath, zip)
frontend/src/pages/Artifacts.jsx:88
↓ 1 callers
Function
load_balance
Load economic/balance.jsonl keyed by task_id. Used as fallback source for wall-clock time.
scripts/derive_task_completions.py:104
↓ 1 callers
Function
load_balance_history
Load balance history from economic/balance.jsonl
scripts/recalculate_agent_economics.py:74
↓ 1 callers
Function
load_existing_estimates
Load already processed task IDs from the output file
scripts/estimate_task_hours.py:195
↓ 1 callers
Function
load_gdpval_data
Load the gdpval parquet file
scripts/estimate_task_hours.py:37
↓ 1 callers
Function
load_task_completions_by_date
Load task_completions.jsonl, summing wall_clock_seconds per date.
scripts/generate_static_data.py:77
↓ 1 callers
Function
load_task_hours
Load task hour estimates from JSONL file
scripts/calculate_task_values.py:43
↓ 1 callers
Function
load_task_values
Load task values from JSONL file
scripts/recalculate_agent_economics.py:31
↓ 1 callers
Function
load_task_values
Load task_id -> task_value_usd mapping and full pool metadata.
scripts/generate_static_data.py:17
↓ 1 callers
Function
load_task_values
Load task_values.jsonl -> {task_id: {task_value_usd, occupation, sector}}
scripts/domain_earnings_analysis.py:36
↓ 1 callers
Function
load_tasks
Load task assignments from work/tasks.jsonl
scripts/recalculate_agent_economics.py:55
↓ 1 callers
Function
load_tasks
Load task assignments from work/tasks.jsonl. Returns {task_id: record} with the most recent assignment per task_id (handles re-runs where
scripts/derive_task_completions.py:57
↓ 1 callers
Function
load_token_costs
Parse economic/token_costs.jsonl into two indexes: cost_records : {task_id: record} — records with timestamp_start/timestamp_end incom
scripts/derive_task_completions.py:75
↓ 1 callers
Function
load_wage_data
Load hourly wage data from CSV file
scripts/calculate_task_values.py:57
↓ 1 callers
Function
main
Main execution function
eval/generate_meta_prompts.py:319
↓ 1 callers
Function
main
Main execution function
scripts/recalculate_agent_economics.py:320
↓ 1 callers
Function
main
Main execution function
scripts/estimate_task_hours.py:286
↓ 1 callers
Function
main
()
scripts/build_e2b_template.py:334
↓ 1 callers
Function
main
()
scripts/test_e2b_template.py:143
↓ 1 callers
Function
main
()
scripts/generate_static_data.py:424
↓ 1 callers
Function
main
Main execution function
scripts/calculate_task_values.py:374
↓ 1 callers
Function
main
()
scripts/backfill_balance_task_info.py:143
↓ 1 callers
Function
main
Run all tests
scripts/test_task_value_integration.py:181
↓ 1 callers
Function
main
()
scripts/cleanup_failed_runs.py:146
↓ 1 callers
Function
main
()
scripts/derive_task_completions.py:297
↓ 1 callers
Function
main
()
scripts/domain_earnings_analysis.py:203
↓ 1 callers
Function
main
Main execution function
livebench/main.py:49
↓ 1 callers
Function
match_occupation_to_wage
Use GPT-5.2 to match a GDPVal occupation to a BLS wage occupation
scripts/calculate_task_values.py:142
↓ 1 callers
Function
parsePptxTheme
(zip)
frontend/src/pages/Artifacts.jsx:99
↓ 1 callers
Function
parseShapeFill
(sp, tc)
frontend/src/pages/Artifacts.jsx:197
↓ 1 callers
Function
parseShapeOutline
(sp, tc)
frontend/src/pages/Artifacts.jsx:207
↓ 1 callers
Function
parseTable
(gf, tc)
frontend/src/pages/Artifacts.jsx:304
↓ 1 callers
Function
print_agent_table
Print formatted table for one agent.
scripts/domain_earnings_analysis.py:175
↓ 1 callers
Function
print_summary
Print summary of corrections
scripts/recalculate_agent_economics.py:260
↓ 1 callers
Function
processQueue
()
livebench/data/agent_data/kimi-k2.5-test-openrouter-10dollar-1/sandbox/2026-06-25/ScreenReaderStatusMessage.tsx:36
↓ 1 callers
Function
recalculate_balance_history
Recalculate balance history by scaling actual payments This preserves evaluation logic (0.6 cliff, etc.) by scaling actual payments rath
scripts/recalculate_agent_economics.py:108
← previous
next →
201–300 of 540, ranked by callers