Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Dizzy-K/AutoPT
/ functions
Functions
201 in github.com/Dizzy-K/AutoPT
⨍
Functions
201
◇
Types & classes
37
↓ 1 callers
Function
_infer_legacy_metadata
( source_path: Path, benchmark_index: dict[str, dict[str, Any]], )
analysis/loader.py:275
↓ 1 callers
Method
_invoke_graph
(self, graph: Any, state: Any, recursion_limit: int)
runner/task_runner.py:152
↓ 1 callers
Function
_iter_jsonl_files
(path: Path)
analysis/loader.py:111
↓ 1 callers
Function
_iter_jsonl_results
(path: Path, benchmark_index: dict[str, dict[str, Any]])
analysis/loader.py:123
↓ 1 callers
Function
_load_benchmark_index
(benchmark_files: Sequence[str | Path])
analysis/loader.py:249
↓ 1 callers
Function
_load_merged_yaml
(path: Path, visited: set[Path] | None = None)
config/loader.py:80
↓ 1 callers
Function
_load_yaml_file
(path: Path)
config/loader.py:30
↓ 1 callers
Method
_looks_like_shell_command
(command: str)
tools/terminal.py:210
↓ 1 callers
Function
_match_benchmark_name
( benchmark_tokens: Sequence[str], benchmark_index: dict[str, dict[str, Any]], )
analysis/loader.py:307
↓ 1 callers
Method
_normalize_command
(self, command: str)
tools/terminal.py:175
↓ 1 callers
Function
_normalize_legacy_result
( payload: dict[str, Any], source_path: Path, benchmark_index: dict[str, dict[str, Any]], )
analysis/loader.py:207
↓ 1 callers
Function
_normalize_payload
( payload: dict[str, Any], source_path: Path, benchmark_index: dict[str, dict[str, Any]], )
analysis/loader.py:138
↓ 1 callers
Method
_normalize_scanner_parts
(parts: list[str])
tools/terminal.py:318
↓ 1 callers
Method
_read_until_marker
(self, marker: str)
tools/terminal.py:329
↓ 1 callers
Method
_remove_xray_poc_argument
(command: str)
tools/terminal.py:243
↓ 1 callers
Function
_replace_special_block
(text: str, new_content: str)
prompts/optimizer.py:27
↓ 1 callers
Method
_resolve_benchmarks
(benchmark_file: str | Path, benchmark_names: list[str])
runner/experiment_runner.py:105
↓ 1 callers
Method
_rewrite_scanner_command
(self, command: str)
tools/terminal.py:283
↓ 1 callers
Method
_status_from_history
(history: list[str])
runner/task_runner.py:147
↓ 1 callers
Function
_status_from_summary
(summary: Mapping[str, Any])
runner/result_schema.py:137
↓ 1 callers
Method
_strip_marker
(raw_output: str, marker: str)
tools/terminal.py:365
↓ 1 callers
Method
_strip_natural_language_prefixes
(cls, command: str)
tools/terminal.py:225
↓ 1 callers
Function
_write_csv
(path: Path, rows: list[dict[str, Any]])
analysis/cli.py:217
↓ 1 callers
Function
_write_matrix_csv
(path: Path, row_label: str, matrix: dict[str, Any])
analysis/cli.py:231
↓ 1 callers
Method
append_information
(self, information: str)
workflow/state.py:54
↓ 1 callers
Method
as_legacy_provider_config
(self)
config/schema.py:39
↓ 1 callers
Function
build_benchmark_prompt_layer
(benchmark: BenchmarkItem | None)
prompts/layers.py:45
↓ 1 callers
Function
build_default_tool_specs
( shell: InteractiveShell | None = None, runtime_config: RuntimeConfig | None = None, tools_config
tools/registry.py:57
↓ 1 callers
Function
build_experiment_report
( *, benchmark_file: str | Path, output_file: str | Path | None, repeat: int, benchmarks:
runner/result_schema.py:149
↓ 1 callers
Function
build_html_tool
()
tools/registry.py:49
↓ 1 callers
Function
build_nodes
( *, llm: "BaseChatModel", prompts: PromptBundle, tool_specs: list[ToolSpec], context: Wor
workflow/nodes.py:197
↓ 1 callers
Function
build_parser
Construct the full AutoPT CLI argument parser with all subcommands.
cli/main.py:56
↓ 1 callers
Function
build_parser
()
analysis/cli.py:23
↓ 1 callers
Function
build_provider_payload
(provider: str, model_name: str, config: AppConfig)
models/providers.py:30
↓ 1 callers
Method
build_task_requests
(self, request: ExperimentRequest)
runner/experiment_runner.py:59
↓ 1 callers
Function
build_terminal_tool
( shell: InteractiveShell | None = None, runtime_config: RuntimeConfig | None = None, tools_config
tools/registry.py:30
↓ 1 callers
Function
build_workflow_definition
Construct a WorkflowDefinition with explicit edge declarations.
workflow/builder.py:63
↓ 1 callers
Function
check_success_markers
(target: str, history: Iterable[Any], benchmark_name: str = "")
workflow/parser.py:116
↓ 1 callers
Function
classify_check_result
( target: str, history: Iterable[Any], check_count: int, benchmark_name: str, remaining_vu
workflow/parser.py:121
↓ 1 callers
Function
classify_failure
Return a list of failure reason labels for a normalized result.
analysis/failures.py:53
↓ 1 callers
Function
collect_failed_commands
( results: Iterable[NormalizedResult], *, group_by: str = "model_arch", )
analysis/failures.py:12
↓ 1 callers
Function
collect_stage_history
(history: Sequence[str], states: Sequence[str])
prompts/optimizer.py:39
↓ 1 callers
Method
debug_enabled
(self)
workflow/state.py:68
↓ 1 callers
Function
export_summary_rows
(summary: dict[str, Any])
analysis/summary.py:122
↓ 1 callers
Function
flatten_history
(history: Iterable[Any])
workflow/parser.py:20
↓ 1 callers
Method
from_dict
(cls, data: dict[str, Any])
benchmark/models.py:20
↓ 1 callers
Function
get_prompt_bundle
(name: str = "default", *, benchmark: BenchmarkItem | None = None)
prompts/registry.py:18
↓ 1 callers
Method
get_text
(self)
tools/web.py:25
↓ 1 callers
Method
get_text
(self)
tools/terminal.py:102
↓ 1 callers
Function
group_history_steps
(history: Iterable[Any])
analysis/history.py:62
↓ 1 callers
Function
handle_benchmark_command
(args: argparse.Namespace)
cli/main.py:273
↓ 1 callers
Function
handle_benchmark_list
(benchmark_file: str, *, verbose: bool = False)
cli/main.py:256
↓ 1 callers
Function
handle_doctor
( *, config_file: str | None = None, benchmark_file: str | None = None, model_identifier: str
cli/main.py:279
↓ 1 callers
Function
handle_experiment
( benchmark_file: str, benchmark_names: list[str] | None, model_identifiers: list[str], ip_add
cli/main.py:438
↓ 1 callers
Function
handle_inspect
( benchmark_file: str, benchmark_name: str, model_identifier: str | None = None, config_file:
cli/main.py:392
↓ 1 callers
Function
handle_run
( benchmark_file: str, benchmark_name: str, model_identifier: str | None, ip_addr: str, pr
cli/main.py:409
↓ 1 callers
Method
initial_state
(self)
workflow/state.py:81
↓ 1 callers
Function
iter_normalized_results
( paths: str | Path | Sequence[str | Path], *, benchmark_files: Sequence[str | Path] | None = None
analysis/loader.py:94
↓ 1 callers
Function
load_normalized_results
( paths: str | Path | Sequence[str | Path], *, benchmark_files: Sequence[str | Path] | None = None
analysis/loader.py:86
↓ 1 callers
Function
main
(argv: Sequence[str] | None = None)
cli/main.py:469
↓ 1 callers
Method
max_iterations_for
(self, sender: str)
workflow/state.py:57
↓ 1 callers
Function
metric_value
(results: Iterable[NormalizedResult], metric: str)
analysis/summary.py:180
↓ 1 callers
Method
optimize
( self, history: Sequence[str], *, states: Sequence[str] | None = None,
prompts/optimizer.py:60
↓ 1 callers
Function
parse_vulnerabilities
(text: str)
workflow/parser.py:24
↓ 1 callers
Method
recursion_limit
(self)
workflow/state.py:65
↓ 1 callers
Function
render_grouped_bar_chart
( matrix: dict[str, Any], *, output_path: str, title: str | None = None, ylabel: str | Non
analysis/plotting.py:8
↓ 1 callers
Method
run
(self, request: ExperimentRequest)
runner/experiment_runner.py:81
↓ 1 callers
Function
strip_ansi
(text: str)
workflow/parser.py:9
↓ 1 callers
Function
success_markers
(target: str, benchmark_name: str = "")
workflow/parser.py:79
↓ 1 callers
Function
summarize_failure_reasons
( results: Iterable[NormalizedResult], *, group_by: str = "model_arch", )
analysis/failures.py:25
↓ 1 callers
Function
summarize_solve_rate
( results: Iterable[NormalizedResult], *, bucket_field: str, )
analysis/summary.py:83
↓ 1 callers
Method
to_dict
(self)
runner/experiment_runner.py:43
Method
__enter__
(self)
tools/terminal.py:471
Method
__exit__
(self, exc_type, exc_val, exc_tb)
tools/terminal.py:474
Method
__init__
(self)
tools/web.py:16
Method
__init__
(self)
tools/terminal.py:93
Method
__init__
( self, config: RuntimeConfig | SSHConfig | None = None, *, scanner_provider:
tools/terminal.py:117
Method
__init__
(self, config: AppConfig, llm: Any | None = None)
prompts/optimizer.py:56
Function
agent_node
( state: WorkflowState, *, context: WorkflowContext, agent: Any, tools: list[Any], sen
workflow/nodes.py:52
Function
check_node
( state: WorkflowState, *, context: WorkflowContext, sender_name: str = "Check", )
workflow/nodes.py:153
Method
draw_graph_enabled
(self)
workflow/state.py:71
Method
execute_command
(self, command: str)
tools/terminal.py:462
Method
handle_data
(self, data: str)
tools/web.py:20
Method
handle_data
(self, data: str)
tools/terminal.py:97
Method
isopt
(self)
config/schema.py:69
Function
list_supported_providers
()
models/registry.py:28
Function
main
(argv: Sequence[str] | None = None)
analysis/cli.py:158
Function
optimize_prompt_bundle
( history: Sequence[str], *, config: AppConfig, states: Sequence[str] | None = None, promp
prompts/optimizer.py:114
Method
providers
(self)
config/schema.py:147
Function
read_html
(url: str)
tools/web.py:29
Method
reset_runtime
(self)
workflow/state.py:74
Function
route_next
Determine the next workflow node based on current sender and check count.
workflow/router.py:9
Method
ssh
(self)
config/schema.py:151
Method
summarize
(results: list[TaskResult])
runner/experiment_runner.py:120
Method
summary
(self)
runner/experiment_runner.py:40
Method
to_dict
(self)
tools/terminal.py:83
Method
to_dict
(self)
benchmark/models.py:31
Method
to_dict
(self)
models/providers.py:20
Method
to_dict
(self)
models/registry.py:19
Method
to_dict
(self)
prompts/templates.py:16
← previous
next →
101–200 of 201, ranked by callers