MCPcopy Create free account

hub / github.com/dbt-labs/ade-bench / functions

Functions626 in github.com/dbt-labs/ade-bench

Method_profiler_metadata_output_path
(self)
ade_bench/harness.py:166
Method_recording_path
(self)
ade_bench/terminal/tmux_session.py:67
Method_results_output_path
(self)
ade_bench/harness.py:145
Method_run_agent_commands
(self, task_prompt: str)
tests/agents/installed_agents/test_abstract_installed_agent.py:22
Method_run_agent_commands
(self, task_prompt: str)
ade_bench/agents/installed_agents/claude_code/claude_code_agent.py:34
Method_run_agent_commands
(self, task_prompt: str)
ade_bench/agents/installed_agents/gemini_cli/gemini_cli_agent.py:34
Method_run_metadata_output_path
(self)
ade_bench/harness.py:149
Method_run_path
(self)
ade_bench/harness.py:141
Method_shared_path
(self)
ade_bench/handlers/trial_handler.py:280
Method_task_config_path
(self)
ade_bench/handlers/trial_handler.py:210
Method_task_output_path
(self)
ade_bench/handlers/trial_handler.py:363
Method_tmux_start_session
(self)
ade_bench/terminal/tmux_session.py:71
Function_update_project_profile
Update the dbt_project.yml file with task-specific Snowflake credentials.
ade_bench/setup/dbt_setup.py:34
Function_update_snowflake_creds
Update the profiles.yml file with task-specific Snowflake credentials.
ade_bench/setup/dbt_setup.py:12
Method_upload_results_to_s3
Upload entire run directory to S3 bucket.
ade_bench/harness.py:1283
Method_z
(val: int)
ade_bench/parsers/dbt_parser.py:66
Methodaccuracy
(self)
ade_bench/harness_models.py:180
Methodadd_exclusions
Add files to exclusion list.
scripts_python/duckdb_utils.py:35
Methodagent_logging_dir
(self)
ade_bench/handlers/trial_handler.py:406
Methodagent_name
(self)
ade_bench/agents/agent_factory.py:25
Methodagent_name
(self)
ade_bench/agents/agent_factory.py:47
Methodagent_pane_path
(self)
ade_bench/handlers/trial_handler.py:386
Methodaws_region
(self)
ade_bench/config.py:29
Functionbreakpoint
Debug breakpoint that cleanly halts task execution. Args: message: Optional message to display before halting logger: Option
ade_bench/utils/debug_breakpoint.py:12
Methodcall
(self, prompt: str, **kwargs)
ade_bench/llms/base_llm.py:21
Methodcatalog
Load catalog on demand.
ade_bench/database/pool_manager.py:59
Functioncheck_all
Just run all of the checks.
ade_bench/cli/ab/check.py:79
Functioncheck_callback
()
ade_bench/cli/ab/check.py:74
Functioncheck_result_callback
Print check results.
ade_bench/cli/ab/check.py:66
Methodchoices
(cls)
ade_bench/handlers/trial_handler.py:47
Methodcleanup_timeout_sec
Timeout for cleanup operations in seconds.
ade_bench/config.py:70
Methodclient_container_name
(self)
ade_bench/handlers/trial_handler.py:233
Methodclient_image_name
(self)
ade_bench/handlers/trial_handler.py:237
Methodcommands_path
(self)
ade_bench/handlers/trial_handler.py:394
Methodcopy_to_container
Copy files or directories to a running docker container.
ade_bench/terminal/docker_compose_manager.py:181
Methodcount_tokens
(self, messages: list[dict])
ade_bench/llms/base_llm.py:25
Methoddb_host
(self)
ade_bench/config.py:38
Methoddb_name
(self)
ade_bench/config.py:42
Methoddb_password
(self)
ade_bench/config.py:50
Methoddb_user
(self)
ade_bench/config.py:46
Methoddefault_agent_timeout_sec
Default timeout for agent task execution in seconds.
ade_bench/config.py:60
Methoddefault_test_timeout_sec
Default timeout for test execution in seconds.
ade_bench/config.py:65
Methoddiscover_duckdb_files
Discover DuckDB files in the configured source directory.
scripts_python/duckdb_utils.py:39
Methoddocker_compose_path
(self)
ade_bench/handlers/trial_handler.py:296
Methoddocker_image_prefix
(self)
ade_bench/handlers/trial_handler.py:227
Functionduckdb_to_snowflake
Migrate DuckDB databases to Snowflake.
ade_bench/cli/ab/migrate.py:10
Methodextract_tools_used
Extract deduplicated tool names from Claude Code agent logs. Filters out generic tools (Bash, Edit, Glob, etc.) and expands
ade_bench/agents/installed_agents/claude_code/claude_code_agent.py:100
Methodfile_diff_exclude_paths
List of path patterns to exclude from file diffing.
ade_bench/config.py:76
Functionfind_diff_logs
Find all file_diff_log.txt files in the experiment directory.
scripts_python/render_file_diffs.py:14
Methodformat_agent_log
Format the Claude Code agent's log file into a human-readable string. Also generates an HTML transcript at log_path.parent / "transc
ade_bench/agents/installed_agents/claude_code/claude_code_agent.py:61
Methodformat_readable_log
Format the parsed turns into a readable text string.
ade_bench/agents/installed_agents/claude_code/log_formatter.py:231
Methodfrom_container_name
(cls, session_name: str, container_name: str)
ade_bench/terminal/tmux_session.py:57
Methodfrom_dict
Create from dictionary.
ade_bench/handlers/file_diff_handler.py:37
Methodfrom_dict
Create snapshot from dictionary.
ade_bench/handlers/file_diff_handler.py:80
Methodgenerate_html_transcript
Generate an HTML transcript from the log file. Override this method in subclasses to provide HTML transcript generation. The
ade_bench/agents/log_formatter.py:61
Methodget_agent
(self, **kwargs)
ade_bench/agents/agent_factory.py:50
Methodget_asciinema_timestamp
(self)
ade_bench/terminal/tmux_session.py:215
Methodget_database
Get a copy of a database file for use outside of containers. Note: For container use, it's more efficient to use find_database_file(
ade_bench/database/pool_manager.py:79
Methodget_database_info
Get information about a specific database.
ade_bench/database/pool_manager.py:253
Methodget_default_timeouts
Get default timeouts when no task context is available.
ade_bench/utils/timeout_manager.py:58
Methodget_diff_count
Get the number of diffs created.
ade_bench/handlers/file_diff_handler.py:378
Methodget_latest_snapshot
Get the most recent snapshot.
ade_bench/handlers/file_diff_handler.py:370
Methodget_session
Get an existing tmux session by name.
ade_bench/terminal/terminal.py:66
Methodhas_variant
Check if this task has a variant matching the given db_type and project_type.
ade_bench/utils/task_scanner.py:45
Functioninteract
Launch an interactive shell into a task environment. This command sets up the task environment exactly like the harness would, then drop
ade_bench/cli/ab/interact.py:15
Functioninteract
Launch an interactive shell into a task environment. This command sets up the task environment exactly like the harness would, then drop
ade_bench/cli/ab/main.py:230
Functionlist
List available tasks with their details and prompts.
ade_bench/cli/ab/tasks.py:58
Methodlist_databases
List all available shared databases.
ade_bench/database/pool_manager.py:199
Methodload_from_file
Load FileDiffHandler from an optimized diff log file.
ade_bench/handlers/file_diff_handler.py:383
Methodlogging_path
(self)
ade_bench/terminal/tmux_session.py:63
Functionmain
ADE-bench: Analytics and Data Engineering Benchmark
ade_bench/cli/ab/main.py:51
Methodn_resolved
(self)
ade_bench/harness_models.py:160
Methodn_unresolved
(self)
ade_bench/harness_models.py:165
Functionno_recording_path
(self)
ade_bench/cli/ab/interact.py:175
Methodoptions_str
(cls)
ade_bench/handlers/trial_handler.py:51
Methodparse
Parse Claude agent response to extract metrics. Returns a dictionary with the following keys: - runtime_ms: The higher of du
ade_bench/parsers/claude_parser.py:10
Methodparse
(self, content: str)
ade_bench/parsers/base_parser.py:31
Methodparse
Parse Macro agent response to extract metrics. Returns a dictionary with the following keys: - runtime_ms: Currently set to
ade_bench/parsers/macro_parser.py:11
Methodparse
Parse Gemini agent response to extract metrics. Gemini outputs JSON at the end with format: {"response": "...", "stats": {"m
ade_bench/parsers/gemini_parser.py:10
Methodparse
Parse Codex agent response to extract metrics. Codex outputs JSON lines with format: {"type":"turn.completed","usage":{"inpu
ade_bench/parsers/codex_parser.py:10
Methodpass_at_k
Calculate pass@k metrics for different k values. For each k, returns the percentage of tasks where at least one attempt was
ade_bench/harness_models.py:136
Methodperform_task
( self, task_prompt: str, session: TmuxSession, logging_dir: Path | None = Non
ade_bench/agents/sage_agent.py:72
Methodperform_task
( self, task_prompt: str, session: TmuxSession, logging_dir: Path | None = Non
ade_bench/agents/base_agent.py:94
Methodperform_task
( self, task_prompt: str, session: TmuxSession, logging_dir: Path | None = Non
ade_bench/agents/none_agent.py:19
Methodperform_task
( self, task_prompt: str, session: TmuxSession, logging_dir: Path | None = Non
ade_bench/agents/installed_agents/abstract_installed_agent.py:162
Methodpost_agent_pane_path
(self)
ade_bench/handlers/trial_handler.py:390
Methodpre_agent_pane_path
(self)
ade_bench/handlers/trial_handler.py:382
Methodprofiler_output_path
(self)
ade_bench/harness.py:157
Methodraw_piped_pane_path
(self)
ade_bench/handlers/trial_handler.py:378
Methodrecording_path
(self)
ade_bench/handlers/trial_handler.py:402
Methodregister_database
Register a new database in the shared pool. Args: db_path: Path to the database file description: Descriptio
ade_bench/database/pool_manager.py:135
Methodremove_database
Remove a database from the shared pool.
ade_bench/database/pool_manager.py:228
Methodresolved_ids
(self)
ade_bench/harness_models.py:170
Methodresults_path
(self)
ade_bench/handlers/trial_handler.py:398
Functionrun
Run ADE-bench with specified tasks and configuration. Example: ab run airbnb001 --db duckdb --project-type dbt --agent sage
ade_bench/cli/ab/main.py:60
Methodrun_setup
()
ade_bench/harness.py:660
Methodrun_sql_py_path
Path to the run_sql.py utility script.
ade_bench/handlers/trial_handler.py:461
Methodrun_sql_sh_path
Path to the run_sql.sh utility script.
ade_bench/handlers/trial_handler.py:466
Methodrun_tests_path
(self)
ade_bench/handlers/trial_handler.py:350
Methods3_bucket_name
(self)
ade_bench/config.py:33
← previousnext →401–500 of 626, ranked by callers