MCPcopy Create free account

hub / github.com/claw-bench/claw-bench / functions

Functions7,113 in github.com/claw-bench/claw-bench

Functiondelete_result
(filename: str, _: str = Depends(verify_admin))
src/claw_bench/server/admin.py:152
Functiondelete_user
Delete a user by ID.
tasks/security/sec-015-full-security-assessment/environment/data/app.py:87
Functiondelete_user_by_email
Delete a user by email — VULNERABLE (string concatenation).
tasks/security/sec-004-sql-injection-detection/environment/data/queries.py:40
Functiondeployment
(architecture)
tasks/planning/plan-005/verifier/test_output.py:34
Functiondiff_report
(workspace)
tasks/multimodal/mm-014-structured-diff-reporter/verifier/test_output.py:15
Functiondiff_report
Read and parse diff_report.json.
tasks/web-browsing/web-010-html-diff-report/verifier/test_output.py:16
Functiondiff_text
Read and return the generated diff.txt contents.
tasks/file-operations/file-014-file-diff/verifier/test_output.py:15
Functiondigest
Load and return the digest.json contents.
tasks/email/eml-016-weekly-digest-generator/verifier/test_output.py:16
Functiondiscover_tasks
Find all task directories with oracle solutions.
tests/slow/test_all_oracles.py:16
Functiondispatch_log
(workspace)
tasks/workflow-automation/wfl-015-notification-dispatcher/verifier/test_output.py:15
Functiondispatch_map
(dispatch_log)
tasks/workflow-automation/wfl-015-notification-dispatcher/verifier/test_output.py:28
Functiondisplaced
(workspace)
tasks/calendar/cal-012-calendar-merge/verifier/test_output.py:24
Methoddisplay_name
Human-readable summary like ``openclaw / claude-sonnet-4.5 (+3 skills, 2 MCP)``.
src/claw_bench/core/agent_profile.py:45
Functiondivide
(a, b)
tasks/multi-agent/mag-001-code-review-pipeline/environment/data/calculator.py:16
Functiondoc_text
(workspace)
tasks/multimodal/mm-003-code-doc-extraction/verifier/test_output.py:14
Functiondoctor_cmd
Check system prerequisites for running claw-bench.
src/claw_bench/cli/doctor.py:145
Functiondomains
List all domains with task counts and difficulty distribution.
src/claw_bench/cli/list_cmd.py:217
Functionemail
(workspace)
tasks/communication/comm-001-format-message/verifier/test_output.py:34
Functionemail_lines
Read and return the lines from emails.txt.
tasks/file-operations/file-006-extract-emails/verifier/test_output.py:16
Functionendpoints
(api_design)
tasks/planning/plan-004/verifier/test_output.py:27
Functionenriched_rows
(workspace)
tasks/data-analysis/data-007/verifier/test_output.py:14
Functionenv_content
(workspace)
tasks/real-tools/tool-003/verifier/test_output.py:29
Functionenv_vars
(env_content)
tasks/real-tools/tool-003/verifier/test_output.py:36
Functionequipment_request
Read and return the equipment_request.json contents.
tasks/workflow-automation/wfl-016-onboarding-checklist/verifier/test_output.py:32
Functionerrors_text
Read and return the generated errors.txt contents.
tasks/file-operations/file-011-log-filtering/verifier/test_output.py:15
Functionevents
Load original events.
tasks/workflow-automation/wfl-006-event-driven-workflow/verifier/test_output.py:25
Functionexecution_log
Load the execution log.
tasks/workflow-automation/wfl-004-retry-with-backoff/verifier/test_output.py:16
Functionexpected_rows
(db_connection)
tasks/database/db-001/verifier/test_output.py:41
Functionexpected_targets
(workspace)
tasks/multimodal/mm-009-markdown-report/verifier/test_output.py:35
Functionexpected_totals
Compute expected per-person totals from the source CSV.
tasks/multimodal/mm-009-markdown-report/verifier/test_output.py:25
Functionexpert_login
Login as an expert and get a session token.
src/claw_bench/server/admin.py:492
Functionexpert_profile
Get current expert's profile.
src/claw_bench/server/admin.py:513
Functionexpert_register
Register a new expert account with an invite code.
src/claw_bench/server/admin.py:443
Functionfactorial
Compute the factorial of n. Expected: factorial(5) == 120, factorial(0) == 1, factorial(1) == 1 Bug: off-by-one in range causes incorrect res
tasks/code-assistance/code-009-debug-calculator/environment/data/calculator.py:6
Functionfeed_items
Read and parse feed_items.json.
tasks/web-browsing/web-009-rss-feed-parser/verifier/test_output.py:17
Functionfibonacci
Compute the nth Fibonacci number (0-indexed). fibonacci(0) = 0, fibonacci(1) = 1, fibonacci(2) = 1, ...
tasks/code-assistance/code-015-performance-optimization/environment/data/slow.py:45
Functionfields
(workspace)
tasks/web-browsing/web-004-form-inventory/verifier/test_output.py:15
Functionfile_001_task
Load the file-001 task config.
tests/integration/test_full_pipeline.py:105
Functionfilter_outliers
(data, threshold=2.0)
tasks/multi-agent/mag-001-code-review-pipeline/environment/data/data_processor.py:11
Functionfilter_positive
Return only positive numbers from the input list.
tasks/code-assistance/code-006-refactor-comprehensions/environment/data/process.py:29
Functionfilter_records
Filter a list of records by a field value. Returns only records where the specified field matches the given value. Comparison is done with eq
tasks/multimodal/mm-003-code-doc-extraction/environment/data/data_processor.py:155
Functionfiltered_inbox
Load and return the filtered_inbox.json contents.
tasks/email/eml-007-filter-sort-inbox/verifier/test_output.py:17
Functionfiltered_rows
(workspace)
tasks/data-analysis/data-002/verifier/test_output.py:14
Functionfinal_state
Read and parse the final_state.json file.
tasks/memory/mem-009-sequential-state-tracking/verifier/test_output.py:29
Methodfind_by_owner
(self, user_id: int)
tasks/multimodal/mm-007-architecture-doc/environment/data/project/repository.py:68
Functionfind_by_profile_id
Reverse-lookup: find the identity whose current profile matches.
src/claw_bench/core/moltbook_registry.py:127
Functionfind_common_elements
(list_a, list_b)
tasks/debugging/debug-005/environment/data/slow_search.py:10
Functionfind_duplicates
(items)
tasks/debugging/debug-005/environment/data/slow_search.py:1
Functionfind_duplicates
Find all duplicate values in a list. Returns a sorted list of values that appear more than once.
tasks/code-assistance/code-015-performance-optimization/environment/data/slow.py:4
Functionfindings
Load and return the findings JSON.
tasks/security/sec-001-detect-hardcoded-credentials/verifier/test_output.py:16
Functionfixed_module
(fixed_path)
tasks/debugging/debug-003/verifier/test_output.py:22
Functionfixed_module
(fixed_path)
tasks/debugging/debug-001/verifier/test_output.py:29
Functionfixed_module
(fixed_path)
tasks/debugging/debug-002/verifier/test_output.py:21
Functionfixed_module
(fixed_path)
tasks/debugging/debug-005/verifier/test_output.py:22
Functionfixed_path
(workspace)
tasks/debugging/debug-003/verifier/test_output.py:17
Functionfixed_path
(workspace)
tasks/debugging/debug-001/verifier/test_output.py:18
Functionfixed_path
(workspace)
tasks/debugging/debug-002/verifier/test_output.py:16
Functionfixed_path
(workspace)
tasks/debugging/debug-005/verifier/test_output.py:17
Functionfixed_source
(fixed_path)
tasks/debugging/debug-001/verifier/test_output.py:23
Functionflatten
Flatten a list of lists into a single list.
tasks/code-assistance/code-003-add-type-annotations/environment/data/utils.py:13
Functionforeign_keys
Get foreign keys for all tables.
tasks/database/db-003/verifier/test_output.py:45
Functionformat_currency
Format a numeric amount as a currency string. Args: amount: The monetary amount. currency: Currency code, defaults to 'USD'.
tasks/cross-domain/xdom-012-automated-docs-generator/environment/data/utils.py:12
Functionformat_datetime
Format a datetime object as a string. Args: dt: The datetime object to format. fmt: strftime format string. Returns:
tasks/cross-domain/xdom-012-automated-docs-generator/environment/data/utils.py:83
Functionformat_display_name
Format a user's display name.
tasks/cross-domain/xdom-002-code-review-report/environment/data/pull_request.py:37
Functionformat_log_entry
Format a log entry string.
tasks/cross-domain/xdom-008-security-audit-remediation/environment/data/utils.py:20
Functionformatted
(workspace)
tasks/document-editing/doc-001-text-formatting/verifier/test_output.py:15
Functionformatted_md
Read and return the generated formatted.md contents.
tasks/document-editing/doc-009-markdown-table-formatter/verifier/test_output.py:16
Functionforms
(workspace)
tasks/web-browsing/web-013-form-data-extractor/verifier/test_output.py:15
Functionframeworks
List available agent framework adapters.
src/claw_bench/cli/list_cmd.py:79
Functionfree_slots
(workspace)
tasks/calendar/cal-009-find-free-slots/verifier/test_output.py:16
Functionfreq_csv
Read and parse the frequencies.csv file.
tasks/file-operations/file-009-word-frequency/verifier/test_output.py:16
FunctiongenerateStaticParams
()
leaderboard/src/app/moltbook/[clawId]/page.tsx:5
Functiongenerate_invite_codes
Generate a new invite code (each expert can create multiple).
src/claw_bench/server/admin.py:529
Functiongenerate_task_from_proposal
Trigger LLM task generation from an existing proposal. The generation runs in the background. Poll GET /generated-tasks/{id} to check status.
src/claw_bench/server/task_generator.py:584
Functiongenerate_token
Generate a session token.
tasks/cross-domain/xdom-008-security-audit-remediation/environment/data/auth.py:20
Methodget
(self, task_id: int)
tasks/multimodal/mm-007-architecture-doc/environment/data/project/repository.py:36
Methodget
(self, project_id: int)
tasks/multimodal/mm-007-architecture-doc/environment/data/project/repository.py:59
FunctiongetInitialLang
()
leaderboard/src/app/i18n.tsx:562
Functionget_best_score
Return the best overall score across all runs.
src/claw_bench/core/moltbook_registry.py:189
Methodget_capabilities_metadata
Return arbitrary capabilities metadata for agent profiling.
src/claw_bench/adapters/base.py:55
Functionget_config
(name: str, _: str = Depends(verify_admin))
src/claw_bench/server/admin.py:323
Functionget_config
()
tasks/debugging/debug-004/environment/data/config.py:8
Functionget_current_user
Get the current user for a token without raising errors. Args: token: The session token. Returns: The User object if token i
tasks/cross-domain/xdom-012-automated-docs-generator/environment/data/auth.py:95
Functionget_current_user
Decode JWT token and return the current user.
tasks/multimodal/mm-007-architecture-doc/environment/data/project/auth.py:39
Functionget_db
Yield a database session and ensure it is closed after use.
tasks/multimodal/mm-007-architecture-doc/environment/data/project/database.py:16
Functionget_even_numbers
Return a list of even numbers from the input list.
tasks/code-assistance/code-006-refactor-comprehensions/environment/data/process.py:4
Functionget_file_content
Read a file and return its content.
tasks/cross-domain/xdom-008-security-audit-remediation/environment/data/api.py:7
Functionget_generated_task
Get a single generated task with full file contents (for review).
src/claw_bench/server/task_generator.py:648
Methodget_job
(self, job_id: str)
src/claw_bench/core/queue.py:206
Functionget_leaderboard
Return all benchmark results for the leaderboard.
src/claw_bench/server/app.py:96
Functionget_lengths
Return a list of string lengths.
tasks/code-assistance/code-006-refactor-comprehensions/environment/data/process.py:21
Functionget_login_history
Get login history — VULNERABLE (% string formatting).
tasks/security/sec-004-sql-injection-detection/environment/data/queries.py:82
Methodget_mcp_servers
Return list of MCP server names this adapter connects to.
src/claw_bench/adapters/base.py:47
Methodget_memory_modules
Return list of memory module names active in this adapter.
src/claw_bench/adapters/base.py:51
Methodget_metrics
(self)
tests/integration/test_full_pipeline.py:80
Methodget_metrics
(self)
tests/unit/test_adapters.py:68
Methodget_metrics
(self)
tests/unit/test_runner_edge_cases.py:44
Functionget_order
Retrieve an order by ID. Args: order_id: The order's unique identifier. Returns: The Order object if found, None otherwise.
tasks/cross-domain/xdom-012-automated-docs-generator/environment/data/database.py:148
Functionget_order_status
GET /api/orders/{id} - Get order status. Args: auth_token: Authentication token. order_id: The order ID to look up. Returns:
tasks/cross-domain/xdom-012-automated-docs-generator/environment/data/api.py:102
Functionget_orders_for_user
Fetch orders for a user — SAFE (parameterized).
tasks/security/sec-004-sql-injection-detection/environment/data/queries.py:49
← previousnext →701–800 of 7,113, ranked by callers