Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/claw-bench/claw-bench
/ functions
Functions
7,113 in github.com/claw-bench/claw-bench
⨍
Functions
7,113
◇
Types & classes
369
↳
Endpoints
89
↓ 3 callers
Method
send_message
(self, message: str, attachments: list | None = None)
src/claw_bench/adapters/openclaw.py:261
↓ 3 callers
Method
send_message
(self, message: str, attachments: list | None = None)
src/claw_bench/adapters/dryrun.py:35
↓ 3 callers
Method
send_message
( self, message: str, attachments: list | None = None )
src/claw_bench/adapters/base.py:29
↓ 3 callers
Method
stop
Stop and remove the container.
src/claw_bench/core/sandbox.py:55
↓ 3 callers
Method
submit
Submit a task for execution. Returns immediately with a Job handle.
src/claw_bench/core/queue.py:95
↓ 3 callers
Method
task_completed
(self, user_id: str, tokens_used: int = 0)
src/claw_bench/core/resource_monitor.py:102
↓ 3 callers
Method
to_dict
Serialize to dictionary.
tasks/code-assistance/code-014-multi-file-refactor/environment/data/app/models.py:20
↓ 3 callers
Function
validate_all_profiles
Validate all preset weight profiles are internally consistent.
src/claw_bench/core/config_validator.py:213
↓ 2 callers
Function
_available_adapters
Combine built-in adapters with any discovered plugin adapters.
src/claw_bench/adapters/registry.py:85
↓ 2 callers
Function
_cleanup_old
(timestamps: List[float], window_s: float)
src/claw_bench/server/submit_api.py:60
↓ 2 callers
Function
_compute_rank
Compute global rank and tier rank. Returns (rank, total, tier_rank, tier_total).
src/claw_bench/server/submit_api.py:798
↓ 2 callers
Method
_create_client
(self)
src/claw_bench/adapters/openclaw.py:104
↓ 2 callers
Function
_create_expert_token
(username: str)
src/claw_bench/server/admin.py:394
↓ 2 callers
Method
_disk_path
(self, key_str: str)
src/claw_bench/core/cache.py:166
↓ 2 callers
Function
_docker_available
Check if Docker is available and running.
src/claw_bench/core/sandbox_runner.py:184
↓ 2 callers
Method
_evict_oldest
Remove the least-recently-created entry.
src/claw_bench/core/cache.py:176
↓ 2 callers
Function
_format_error
Format an error response -- duplicated helper.
tasks/code-assistance/code-014-multi-file-refactor/environment/data/app/views.py:12
↓ 2 callers
Function
_format_response
Format a response dict -- duplicated helper.
tasks/code-assistance/code-014-multi-file-refactor/environment/data/app/views.py:4
↓ 2 callers
Function
_generate_json
Generate a JSON report.
src/claw_bench/cli/report.py:219
↓ 2 callers
Function
_get_active_model
()
src/claw_bench/server/task_generator.py:151
↓ 2 callers
Function
_get_day
()
src/claw_bench/server/submit_api.py:56
↓ 2 callers
Function
_get_or_create_token
()
src/claw_bench/server/admin.py:37
↓ 2 callers
Function
_has_cjk
Check if text contains Chinese/Japanese/Korean characters.
src/claw_bench/server/submit_api.py:774
↓ 2 callers
Function
_is_done
Check if the agent signalled task completion.
src/claw_bench/adapters/openclaw.py:79
↓ 2 callers
Function
_normalize
Normalize markdown table whitespace so both `| --- |` and `|---|` match.
tasks/file-operations/file-001-csv-to-markdown/verifier/test_output.py:77
↓ 2 callers
Function
_normalize_task_data
(config: dict, task_path: Path)
src/claw_bench/cli/validate.py:69
↓ 2 callers
Function
_record_submission
(ip: str, fingerprint: str)
src/claw_bench/server/submit_api.py:114
↓ 2 callers
Method
_refill
(self)
src/claw_bench/core/rate_limiter.py:30
↓ 2 callers
Function
_require_age
()
src/claw_bench/utils/crypto.py:21
↓ 2 callers
Function
_save_checkpoint
Incrementally save completed results to enable resume.
src/claw_bench/core/runner.py:309
↓ 2 callers
Function
_scan_tasks_from_disk
Scan tasks/ directory and add any task IDs not already in TASK_ID_TO_DOMAIN.
src/claw_bench/server/submit_api.py:508
↓ 2 callers
Function
_to_min
(t)
tasks/calendar/cal-015-multi-person-availability/verifier/test_output.py:31
↓ 2 callers
Function
_trigger_rebuild_async
Trigger frontend rebuild in background with 60s cooldown.
src/claw_bench/server/submit_api.py:747
↓ 2 callers
Function
_update_index
Rebuild the lightweight registry.json index.
src/claw_bench/core/moltbook_registry.py:245
↓ 2 callers
Function
_validate_task_dir
Validate a single task directory structure and configuration.
src/claw_bench/cli/validate.py:79
↓ 2 callers
Function
count_crossings
(values, level)
tasks/scientific-computing/sci-001-ode-solver/verifier/test_output.py:75
↓ 2 callers
Function
difficultyBar
(l1: number, l2: number, l3: number, l4: number)
leaderboard/src/app/domains/DomainsContent.tsx:79
↓ 2 callers
Function
fillTemplate
(s: string, vars: Record<string, string | number>)
leaderboard/src/app/getting-started/GettingStartedContent.tsx:6
↓ 2 callers
Function
getVal
(row: BenchResultData, col: SortColumn)
leaderboard/src/app/LeaderboardTable.tsx:194
↓ 2 callers
Function
get_adapter
Create an adapter instance by name. Resolves built-in adapters and discovered plugin adapters, applying aliases such as ``oracle`` -> ``dryru
src/claw_bench/adapters/registry.py:90
↓ 2 callers
Method
get_metrics
(self)
src/claw_bench/adapters/dryrun.py:98
↓ 2 callers
Method
get_post
Retrieve a post by ID.
tasks/multimodal/mm-007-architecture-doc/environment/data/project/services.py:63
↓ 2 callers
Method
get_quota
(self, user_id: str)
src/claw_bench/core/resource_monitor.py:61
↓ 2 callers
Method
get_user
(self, user_id: int)
tasks/multimodal/mm-007-architecture-doc/environment/data/project/service.py:24
↓ 2 callers
Function
groupBy
(items: T[], keyFn: (item: T) => string)
leaderboard/src/app/profiles/page.tsx:87
↓ 2 callers
Method
invalidate
Remove entries. If task_id given, only that task; else all.
src/claw_bench/core/cache.py:138
↓ 2 callers
Method
is_admin
Check if the user has admin privileges. Returns: True if user role is 'admin', False otherwise.
tasks/cross-domain/xdom-012-automated-docs-generator/environment/data/models.py:32
↓ 2 callers
Function
list_adapters
Return the names of all available adapters.
src/claw_bench/adapters/registry.py:80
↓ 2 callers
Method
list_all
(self)
tasks/multimodal/mm-007-architecture-doc/environment/data/project/repository.py:20
↓ 2 callers
Method
list_users
(self)
tasks/multimodal/mm-007-architecture-doc/environment/data/project/api.py:30
↓ 2 callers
Method
load_skills
(self, skills_dir)
tests/unit/test_runner_edge_cases.py:476
↓ 2 callers
Function
ngram_counts
(tokens, n)
tasks/content-analysis/cont-005-translation-qa/verifier/test_output.py:13
↓ 2 callers
Function
normalize_adapter_name
Return the canonical adapter key for *name*.
src/claw_bench/adapters/registry.py:35
↓ 2 callers
Function
on_task_complete
(result, completed: int, total: int)
src/claw_bench/cli/run.py:378
↓ 2 callers
Function
openReview
(genId: string)
leaderboard/src/app/admin/page.tsx:459
↓ 2 callers
Function
polygon
(scores: Record<string, number>)
leaderboard/src/app/compare/CompareContent.tsx:35
↓ 2 callers
Function
regenerateTask
(genId: string)
leaderboard/src/app/admin/page.tsx:493
↓ 2 callers
Method
run_task
Execute a single task in a sandbox container. Falls back to local execution if Docker is unavailable or ``use_sandbox`` is False.
src/claw_bench/core/sandbox_runner.py:44
↓ 2 callers
Function
scoreClass
(score: number)
leaderboard/src/app/capabilities/CapabilitiesContent.tsx:49
↓ 2 callers
Function
shingles
(t, n=3)
tasks/multi-agent/mag-002-research-debate/verifier/test_output.py:18
↓ 2 callers
Method
supports_skills
(self)
tests/unit/test_runner_edge_cases.py:473
↓ 2 callers
Function
tabStyle
(active: boolean)
leaderboard/src/app/expert-submit/ExpertSubmitContent.tsx:464
↓ 2 callers
Function
tr
(cat: string)
leaderboard/src/app/compare/CompareContent.tsx:145
↓ 2 callers
Function
validate_format
(fmt)
tasks/debugging/debug-004/environment/data/utils.py:4
↓ 2 callers
Function
x
(cost: number)
leaderboard/src/app/pareto/ParetoContent.tsx:36
↓ 2 callers
Function
y
(score: number)
leaderboard/src/app/pareto/ParetoContent.tsx:37
↓ 1 callers
Method
__init__
(self, workspace_action=None)
tests/unit/test_runner_edge_cases.py:24
↓ 1 callers
Function
_build_generation_prompt
(proposal: dict, task_id: str, task_dir_name: str, difficulty: str)
src/claw_bench/server/task_generator.py:280
↓ 1 callers
Function
_build_generation_prompt
Build the prompt that instructs the LLM to generate task files.
scripts/generate_task_from_proposal.py:304
↓ 1 callers
Function
_call_llm
Call the LLM via OpenAI-compatible API.
src/claw_bench/server/task_generator.py:246
↓ 1 callers
Method
_chat
Make a single chat completion call with retry on transient errors.
src/claw_bench/adapters/openclaw.py:168
↓ 1 callers
Function
_check_config_models_yaml
Check that config/models.yaml exists.
src/claw_bench/cli/doctor.py:89
↓ 1 callers
Function
_check_password
(stored: str, password: str)
src/claw_bench/server/admin.py:389
↓ 1 callers
Function
_check_rate_limits
(ip: str, fingerprint: str)
src/claw_bench/server/submit_api.py:75
↓ 1 callers
Function
_check_skills_curated
Check that skills/curated/ has skill files for all domains. Returns (all_ok, missing_domains).
src/claw_bench/cli/doctor.py:95
↓ 1 callers
Function
_compute_dimension_scores
Compute real 5-dimension scores from per-task results grouped by domain.
src/claw_bench/server/submit_api.py:649
↓ 1 callers
Function
_compute_dual_track_scores
Compute foundation score, subject-matter score, and breakdown by subject domain.
src/claw_bench/server/submit_api.py:622
↓ 1 callers
Method
_create_session
Create a new session for an authenticated user.
tasks/security/sec-001-detect-hardcoded-credentials/environment/data/auth_service.py:42
↓ 1 callers
Function
_default_model_for_framework
Return a non-empty model label for run metadata.
src/claw_bench/cli/run.py:99
↓ 1 callers
Function
_default_output_dir
Resolve the results output directory.
src/claw_bench/cli/run.py:92
↓ 1 callers
Function
_detect_github_user
Auto-detect GitHub username via ``gh api user``.
src/claw_bench/cli/moltbook.py:22
↓ 1 callers
Function
_detect_special_region
Handle Taiwan, Hong Kong, Macau — all map to China.
src/claw_bench/server/geoip.py:53
↓ 1 callers
Function
_domain_breakdown
Compute mean score per domain from task results.
scripts/generate_sample_results.py:184
↓ 1 callers
Function
_execute
(task: TaskConfig, run_idx: int)
src/claw_bench/core/runner.py:372
↓ 1 callers
Method
_execute
Execute a job with concurrency control and rate limiting.
src/claw_bench/core/queue.py:156
↓ 1 callers
Function
_extract_bash
Extract the first ```bash ... ``` code block from *text*.
src/claw_bench/adapters/openclaw.py:73
↓ 1 callers
Method
_extract_workspace
Extract the absolute workspace path from the injected prompt.
tests/integration/test_full_pipeline.py:68
↓ 1 callers
Function
_fallback_instruction
(proposal: dict)
scripts/generate_task_from_proposal.py:501
↓ 1 callers
Function
_fallback_setup_sh
()
scripts/generate_task_from_proposal.py:519
↓ 1 callers
Function
_fallback_solution
()
scripts/generate_task_from_proposal.py:558
↓ 1 callers
Function
_fallback_task_toml
(task_id: str, domain: str, difficulty: str, proposal: dict)
scripts/generate_task_from_proposal.py:482
↓ 1 callers
Function
_fallback_verifier
(proposal: dict)
scripts/generate_task_from_proposal.py:530
↓ 1 callers
Function
_find_claw_file
Find existing result file for a clawId.
src/claw_bench/server/submit_api.py:1032
↓ 1 callers
Function
_generate_fallback
Generate minimal fallback content for missing files.
src/claw_bench/server/task_generator.py:437
↓ 1 callers
Function
_generate_skills_gain
Generate 3-condition SkillsBench comparison data for each framework.
scripts/generate_sample_results.py:291
↓ 1 callers
Function
_generate_task_id
(domain: str)
src/claw_bench/server/task_generator.py:205
↓ 1 callers
Function
_get_admin_token
()
src/claw_bench/server/task_generator.py:55
↓ 1 callers
Function
_get_client_ip
(request: Request)
src/claw_bench/server/submit_api.py:65
↓ 1 callers
Function
_get_expert_token
()
src/claw_bench/server/task_generator.py:75
↓ 1 callers
Function
_get_process_memory_mb
Get current process RSS in MB.
src/claw_bench/core/resource_monitor.py:158
← previous
next →
201–300 of 7,113, ranked by callers