SYMBOL INDEX (502 symbols across 69 files) FILE: data/raw_test_repo/example.py function main (line 8) | def main(): FILE: data/raw_test_repo/inventory/inventory_manager.py class Store (line 6) | class Store: method __init__ (line 8) | def __init__(self, cap: int=20): method put (line 13) | def put(self, obj: Item, pos: Optional[int]=None) ->bool: method rm (line 34) | def rm(self, code: str) ->bool: method get (line 43) | def get(self, code: str) ->Optional[Item]: method get_at (line 46) | def get_at(self, pos: int) ->Optional[Item]: method ls (line 52) | def ls(self) ->List[Item]: method find (line 55) | def find(self, code: str) ->Optional[int]: FILE: data/raw_test_repo/models/product.py class Item (line 7) | class Item: method check (line 56) | def check(self) -> bool: method mod (line 79) | def mod(self, n: int=1) -> bool: FILE: data/raw_test_repo/payment/payment_processor.py class TxStatus (line 9) | class TxStatus(Enum): class Tx (line 17) | class Tx: class Handler (line 25) | class Handler(ABC): method proc (line 28) | def proc(self, amt: Decimal) ->Tx: method rev (line 32) | def rev(self, tx: Tx) ->bool: class Cash (line 36) | class Cash(Handler): method __init__ (line 38) | def __init__(self): method add (line 41) | def add(self, amt: Decimal) ->None: method proc (line 44) | def proc(self, amt: Decimal) ->Tx: method rev (line 52) | def rev(self, tx: Tx) ->bool: method ret (line 59) | def ret(self) ->Decimal: FILE: data/raw_test_repo/vending_machine.py class SysErr (line 9) | class SysErr(Exception): class Sys (line 13) | class Sys: method __init__ (line 15) | def __init__(self, h: Optional[Handler]=None): method ls (line 20) | def ls(self) ->List[Tuple[int, Item]]: method pick (line 28) | def pick(self, pos: int) ->Optional[Item]: method add_money (line 36) | def add_money(self, amt: Decimal) ->None: method buy (line 41) | def buy(self, pos: int) ->Tuple[Item, Optional[Decimal]]: method cancel (line 55) | def cancel(self) ->Optional[Decimal]: FILE: data/raw_test_repo_simple/helper.py class HelperClass (line 2) | class HelperClass: method __init__ (line 25) | def __init__(self): method process_data (line 28) | def process_data(self): method _internal_process (line 40) | def _internal_process(self): method get_result (line 46) | def get_result(self): class DataProcessor (line 52) | class DataProcessor: method process (line 81) | def process(): method _internal_process (line 95) | def _internal_process(self): FILE: data/raw_test_repo_simple/inner/inner_functions.py function inner_function (line 2) | def inner_function(): function get_random_quote (line 18) | def get_random_quote(): function generate_timestamp (line 34) | def generate_timestamp(): function get_system_status (line 45) | def get_system_status(): function fetch_user_message (line 61) | def fetch_user_message(): FILE: data/raw_test_repo_simple/main.py function main_function (line 5) | def main_function(): function utility_function (line 25) | def utility_function(): FILE: data/raw_test_repo_simple/processor.py class AdvancedProcessor (line 6) | class AdvancedProcessor: method __init__ (line 27) | def __init__(self): method run (line 31) | def run(self): method process_result (line 52) | def process_result(self): FILE: data/raw_test_repo_simple/test_file.py function test_function (line 2) | def test_function(): FILE: eval_completeness.py function run_docstring_tests (line 9) | def run_docstring_tests(source_file: str) -> Dict[str, Any]: function process_directory (line 101) | def process_directory(directory_path: str) -> Dict[str, Any]: function print_evaluation_results (line 190) | def print_evaluation_results(results: Dict[str, Any]) -> None: FILE: generate_docstrings.py function generate_test_docstring (line 56) | def generate_test_docstring(component: CodeComponent) -> str: function generate_docstring_for_component (line 117) | def generate_docstring_for_component(component: CodeComponent, orchestra... function set_docstring_in_file (line 205) | def set_docstring_in_file(file_path: str, component: CodeComponent, docs... function set_node_docstring (line 285) | def set_node_docstring(node: ast.AST, docstring: str): function main (line 344) | def main(): FILE: run_web_ui.py function check_dependencies (line 35) | def check_dependencies(): function main (line 52) | def main(): FILE: src/agent/__init__.py function __getattr__ (line 10) | def __getattr__(name): FILE: src/agent/base.py class BaseAgent (line 10) | class BaseAgent(ABC): method __init__ (line 13) | def __init__(self, name: str, config_path: Optional[str] = None): method _initialize_llm (line 27) | def _initialize_llm(self, agent_name: str, config_path: Optional[str] ... method add_to_memory (line 63) | def add_to_memory(self, role: str, content: str) -> None: method refresh_memory (line 73) | def refresh_memory(self, new_memory: list[Dict[str, Any]]) -> None: method clear_memory (line 84) | def clear_memory(self) -> None: method memory (line 89) | def memory(self) -> list[Dict[str, Any]]: method generate_response (line 97) | def generate_response(self, messages: Optional[List[Dict[str, Any]]] =... method process (line 113) | def process(self, *args, **kwargs) -> Any: FILE: src/agent/llm/base.py class BaseLLM (line 5) | class BaseLLM(ABC): method generate (line 9) | def generate( method format_message (line 28) | def format_message(self, role: str, content: str) -> Dict[str, str]: FILE: src/agent/llm/claude_llm.py class ClaudeLLM (line 8) | class ClaudeLLM(BaseLLM): method __init__ (line 11) | def __init__( method _count_tokens (line 49) | def _count_tokens(self, text: str) -> int: method _count_messages_tokens (line 76) | def _count_messages_tokens(self, messages: List[Dict[str, str]], syste... method generate (line 125) | def generate( method format_message (line 174) | def format_message(self, role: str, content: str) -> Dict[str, str]: method _convert_to_claude_message (line 187) | def _convert_to_claude_message(self, message: Dict[str, str]) -> Dict[... FILE: src/agent/llm/factory.py class LLMFactory (line 12) | class LLMFactory: method create_llm (line 16) | def create_llm(config: Dict[str, Any]) -> BaseLLM: method load_config (line 80) | def load_config(config_path: Optional[str] = None) -> Dict[str, Any]: FILE: src/agent/llm/gemini_llm.py class GeminiLLM (line 8) | class GeminiLLM(BaseLLM): method __init__ (line 11) | def __init__( method _count_tokens (line 59) | def _count_tokens(self, text: str) -> int: method _count_messages_tokens (line 84) | def _count_messages_tokens(self, messages: List[Dict[str, str]]) -> int: method _convert_messages_to_gemini_format (line 108) | def _convert_messages_to_gemini_format(self, messages: List[Dict[str, ... method generate (line 145) | def generate( method format_message (line 205) | def format_message(self, role: str, content: str) -> Dict[str, str]: FILE: src/agent/llm/huggingface_llm.py class HuggingFaceLLM (line 8) | class HuggingFaceLLM(BaseLLM): method __init__ (line 11) | def __init__( method _count_tokens (line 43) | def _count_tokens(self, messages: List[Dict[str, str]]) -> int: method _truncate_messages (line 65) | def _truncate_messages(self, messages: List[Dict[str, str]]) -> List[D... method generate (line 125) | def generate( method format_message (line 207) | def format_message(self, role: str, content: str) -> Dict[str, str]: method _messages_to_prompt (line 229) | def _messages_to_prompt(self, messages: List[Dict[str, str]]) -> str: FILE: src/agent/llm/openai_llm.py class OpenAILLM (line 8) | class OpenAILLM(BaseLLM): method __init__ (line 11) | def __init__( method _count_tokens (line 56) | def _count_tokens(self, text: str) -> int: method _count_messages_tokens (line 77) | def _count_messages_tokens(self, messages: List[Dict[str, str]]) -> int: method generate (line 104) | def generate( method format_message (line 144) | def format_message(self, role: str, content: str) -> Dict[str, str]: FILE: src/agent/llm/rate_limiter.py class RateLimiter (line 13) | class RateLimiter: method __init__ (line 20) | def __init__( method _clean_old_entries (line 65) | def _clean_old_entries(self, usage_queue: deque, current_time: float): method _get_usage_count (line 79) | def _get_usage_count(self, usage_queue: deque): method wait_if_needed (line 83) | def wait_if_needed(self, input_tokens: int, estimated_output_tokens: O... method record_request (line 144) | def record_request(self, input_tokens: int, output_tokens: int): method print_usage_stats (line 179) | def print_usage_stats(self): FILE: src/agent/orchestrator.py class DummyVisualizer (line 16) | class DummyVisualizer: method reset (line 19) | def reset(self): method set_current_component (line 23) | def set_current_component(self, component, file_path): method update (line 27) | def update(self, agent_name, status): class Orchestrator (line 31) | class Orchestrator(BaseAgent): method __init__ (line 34) | def __init__(self, repo_path: str, config_path: Optional[str] = None, ... method _parse_verifier_response (line 82) | def _parse_verifier_response(self, response: str) -> Dict[str, Any]: method process (line 128) | def process( method _update_context (line 272) | def _update_context(self, search_results: Dict[str, Any], token_consum... method _constrain_context_length (line 367) | def _constrain_context_length(self, max_input_tokens: int = 10000, tok... FILE: src/agent/reader.py class CodeComponentType (line 9) | class CodeComponentType(Enum): class InformationRequest (line 18) | class InformationRequest: class Reader (line 25) | class Reader(BaseAgent): method __init__ (line 28) | def __init__(self, config_path: Optional[str] = None): method process (line 129) | def process(self, focal_component: str, context: str = "") -> str: FILE: src/agent/searcher.py class ParsedInfoRequest (line 14) | class ParsedInfoRequest: class Searcher (line 34) | class Searcher(BaseAgent): method __init__ (line 37) | def __init__(self, repo_path: str, config_path: Optional[str] = None): method process (line 48) | def process( method _parse_reader_response (line 103) | def _parse_reader_response(self, reader_response: str) -> ParsedInfoRe... method _parse_comma_list (line 151) | def _parse_comma_list(self, text: str | None) -> List[str]: method _gather_internal_info (line 164) | def _gather_internal_info( method _gather_external_info (line 312) | def _gather_external_info(self, queries: List[str]) -> Dict[str, str]: FILE: src/agent/tool/ast.py class ASTUtility (line 8) | class ASTUtility(ABC): method _get_component_name_from_code (line 12) | def _get_component_name_from_code(self, code_snippet: str) -> Optional... method _is_code_similar (line 30) | def _is_code_similar(self, code1: str, code2: str, threshold: float = ... function _get_component_name_from_code (line 65) | def _get_component_name_from_code(code_snippet: str) -> Optional[str]: class ParentNodeTransformer (line 99) | class ParentNodeTransformer(ast.NodeTransformer): method visit (line 101) | def visit(self, node): class CallGraphBuilder (line 106) | class CallGraphBuilder(ASTUtility): method __init__ (line 113) | def __init__(self, repo_path: str): method _parse_file (line 127) | def _parse_file(self, file_path: str) -> ast.AST: method _get_signature_from_code (line 148) | def _get_signature_from_code(self, code: str, is_class: bool = False) ... method _get_node_code (line 181) | def _get_node_code(self, file_path: str, node: ast.AST) -> str: method _is_method (line 193) | def _is_method(self, node: ast.FunctionDef) -> bool: method _build_call_graph (line 202) | def _build_call_graph(self): method _get_component_name_from_code (line 232) | def _get_component_name_from_code(self, code_snippet: str) -> Optional... method get_child_function (line 243) | def get_child_function(self, code_component: str, file_path: str, chil... method _resolve_instance_type (line 294) | def _resolve_instance_type(self, node: ast.AST, instance_name: str) ->... method _get_class_node (line 330) | def _get_class_node(self, method_node: ast.FunctionDef) -> Optional[as... method get_child_method (line 339) | def get_child_method(self, code_component: str, file_path: str, method get_child_class (line 465) | def get_child_class(self, code_component: str, file_path: str, child_c... method get_child_class_init (line 524) | def get_child_class_init(self, code_component: str, file_path: str, ch... method _get_class_of_method (line 580) | def _get_class_of_method(self, method_node: ast.FunctionDef) -> Option... method get_parent (line 589) | def get_parent(self, code_component: str, file_path: str, class_name: ... class ASTNodeAnalyzer (line 707) | class ASTNodeAnalyzer: method __init__ (line 715) | def __init__(self, repo_path: str): method get_child_function (line 725) | def get_child_function(self, focal_node: ast.AST, file_tree: ast.AST, method get_child_method (line 749) | def get_child_method(self, focal_node: ast.AST, file_tree: ast.AST, method get_child_class_init (line 846) | def get_child_class_init(self, focal_node: ast.AST, file_tree: ast.AST, method get_parent_components (line 880) | def get_parent_components(self, focal_node: ast.AST, file_tree: ast.AST, FILE: src/agent/tool/internal_traverse.py class ASTNodeAnalyzer (line 7) | class ASTNodeAnalyzer: method __init__ (line 13) | def __init__(self, repo_path: str): method get_component_by_path (line 22) | def get_component_by_path( method _get_class_component (line 63) | def _get_class_component(self, ast_node: ast.AST, ast_tree: ast.AST, d... method _get_function_component (line 114) | def _get_function_component(self, ast_node: ast.AST, ast_tree: ast.AST... method _get_method_component (line 164) | def _get_method_component(self, ast_node: ast.AST, ast_tree: ast.AST, ... method get_child_class_init (line 226) | def get_child_class_init( method get_child_function (line 276) | def get_child_function( method get_child_method (line 295) | def get_child_method( method get_parent_components (line 314) | def get_parent_components( method _find_class_init_in_node (line 377) | def _find_class_init_in_node(self, ast_node: ast.AST, class_name: str)... method _find_function_call_in_node (line 393) | def _find_function_call_in_node(self, ast_node: ast.AST, function_name... method _find_method_call_in_node (line 411) | def _find_method_call_in_node( method _find_class_for_prefix (line 437) | def _find_class_for_prefix(self, ast_tree: ast.AST, prefix: Optional[s... method _get_component_name (line 474) | def _get_component_name(self, ast_node: ast.AST) -> Optional[str]: method _contains_call_to (line 488) | def _contains_call_to(self, ast_node: ast.AST, component_name: str) ->... method _get_call_name (line 506) | def _get_call_name(self, call_node: ast.Call) -> Optional[str]: method _format_call_node (line 522) | def _format_call_node(self, call_node: ast.Call) -> str: method _get_node_source (line 535) | def _get_node_source(self, file_path: str, node: ast.AST) -> str: method _get_end_line (line 569) | def _get_end_line(self, node: ast.AST, file_content: str) -> int: FILE: src/agent/tool/perplexity_api.py class PerplexityResponse (line 9) | class PerplexityResponse: class PerplexityAPI (line 14) | class PerplexityAPI: method __init__ (line 17) | def __init__(self, api_key: str | None = None, config_path: str = "con... method _load_config (line 35) | def _load_config(self, config_path: str) -> Dict[str, Any]: method query (line 45) | def query(self, method batch_query (line 99) | def batch_query(self, FILE: src/agent/verifier.py class Verifier (line 7) | class Verifier(BaseAgent): method __init__ (line 10) | def __init__(self, config_path: Optional[str] = None): method process (line 62) | def process( FILE: src/agent/workflow.py function generate_docstring (line 7) | def generate_docstring( FILE: src/agent/writer.py class Writer (line 7) | class Writer(BaseAgent): method __init__ (line 10) | def __init__(self, config_path: Optional[str] = None): method is_class_component (line 119) | def is_class_component(code: str) -> bool: method get_custom_prompt (line 130) | def get_custom_prompt(self, code: str) -> str: method extract_docstring (line 143) | def extract_docstring(self, response: str) -> str: method process (line 165) | def process( FILE: src/analyze_helpfulness_significance.py function load_results (line 21) | def load_results(filepath: str) -> Dict[str, Any]: function get_system_scores (line 27) | def get_system_scores(results: Dict[str, Any], system: str) -> Dict[str,... function get_paired_scores (line 49) | def get_paired_scores(results: Dict[str, Any], system1: str, system2: st... function run_significance_tests (line 79) | def run_significance_tests(results: Dict[str, Any]) -> Dict[str, Any]: function format_significance_markdown (line 166) | def format_significance_markdown(significance_results: Dict[str, Any]) -... function update_markdown_report (line 193) | def update_markdown_report(stats_path: str, significance_md: str): function main (line 205) | def main(): FILE: src/data/parse/data_process.py function is_english (line 10) | def is_english(text): function is_high_quality_file_docstring (line 17) | def is_high_quality_file_docstring(docstring): function is_high_quality_class_docstring (line 27) | def is_high_quality_class_docstring(docstring): function is_high_quality_function_docstring (line 44) | def is_high_quality_function_docstring(docstring): function is_high_quality_docstring (line 62) | def is_high_quality_docstring(docstring, doc_type): function get_repo_name_from_path (line 80) | def get_repo_name_from_path(path): function extract_docstrings_from_file (line 93) | def extract_docstrings_from_file(file_path): function add_parent_references (line 183) | def add_parent_references(tree): function gather_python_files (line 189) | def gather_python_files(top_dir): function process_all_repos (line 197) | def process_all_repos(top_dir, output_file): function main (line 294) | def main(): FILE: src/data/parse/downloader.py class GitHubRepoDownloader (line 14) | class GitHubRepoDownloader: method __init__ (line 15) | def __init__(self, config_path: str): method _load_config (line 23) | def _load_config(self, config_path: str) -> Dict[str, Any]: method setup_logging (line 37) | def setup_logging(self): method build_query (line 48) | def build_query(self) -> str: method clone_repository (line 121) | def clone_repository(self, repo, output_dir: Path) -> bool: method run (line 160) | def run(self): FILE: src/data/parse/repo_tree.py class ProjectStructureGenerator (line 9) | class ProjectStructureGenerator: method __init__ (line 10) | def __init__(self, ignore_patterns: List[str] = None): method should_ignore (line 17) | def should_ignore(self, path: str) -> bool: method generate_structure (line 26) | def generate_structure(self, root_path: str, max_depth: Optional[int] ... method format_structure (line 67) | def format_structure(self, structure: Dict, indent: int = 0) -> str: function main (line 89) | def main(): FILE: src/dependency_analyzer/ast_parser.py class CodeComponent (line 31) | class CodeComponent: method to_dict (line 68) | def to_dict(self) -> Dict[str, Any]: method from_dict (line 83) | def from_dict(data: Dict[str, Any]) -> 'CodeComponent': class ImportCollector (line 100) | class ImportCollector(ast.NodeVisitor): method __init__ (line 103) | def __init__(self): method visit_Import (line 107) | def visit_Import(self, node: ast.Import): method visit_ImportFrom (line 113) | def visit_ImportFrom(self, node: ast.ImportFrom): class MethodDependencyCollector (line 127) | class MethodDependencyCollector(ast.NodeVisitor): method __init__ (line 133) | def __init__(self, class_id: str, method_id: str, class_methods: Dict[... method visit_Attribute (line 139) | def visit_Attribute(self, node: ast.Attribute): method get_method_dependencies (line 151) | def get_method_dependencies(self) -> Set[str]: class DependencyCollector (line 169) | class DependencyCollector(ast.NodeVisitor): method __init__ (line 175) | def __init__(self, imports, from_imports, current_module, repo_modules): method visit_ClassDef (line 185) | def visit_ClassDef(self, node: ast.ClassDef): method visit_Assign (line 202) | def visit_Assign(self, node: ast.Assign): method visit_Call (line 210) | def visit_Call(self, node: ast.Call): method visit_Name (line 221) | def visit_Name(self, node: ast.Name): method visit_Attribute (line 227) | def visit_Attribute(self, node: ast.Attribute): method _process_attribute (line 232) | def _process_attribute(self, node: ast.Attribute): method _add_dependency (line 276) | def _add_dependency(self, name): function add_parent_to_nodes (line 305) | def add_parent_to_nodes(tree: ast.AST) -> None: class DependencyParser (line 317) | class DependencyParser: method __init__ (line 322) | def __init__(self, repo_path: str): method parse_repository (line 328) | def parse_repository(self): method _file_to_module_path (line 359) | def _file_to_module_path(self, file_path: str) -> str: method _parse_file (line 365) | def _parse_file(self, file_path: str, relative_path: str, module_path:... method _collect_components (line 386) | def _collect_components(self, tree: ast.AST, file_path: str, relative_... method _resolve_dependencies (line 482) | def _resolve_dependencies(self): method _add_class_method_dependencies (line 566) | def _add_class_method_dependencies(self): method _get_source_segment (line 595) | def _get_source_segment(self, source: str, node: ast.AST) -> str: method _get_docstring (line 613) | def _get_docstring(self, source: str, node: ast.AST) -> str: method save_dependency_graph (line 631) | def save_dependency_graph(self, output_path: str): method load_dependency_graph (line 647) | def load_dependency_graph(self, input_path: str): FILE: src/dependency_analyzer/topo_sort.py function detect_cycles (line 15) | def detect_cycles(graph: Dict[str, Set[str]]) -> List[List[str]]: function resolve_cycles (line 75) | def resolve_cycles(graph: Dict[str, Set[str]]) -> Dict[str, Set[str]]: function topological_sort (line 118) | def topological_sort(graph: Dict[str, Set[str]]) -> List[str]: function dependency_first_dfs (line 168) | def dependency_first_dfs(graph: Dict[str, Set[str]]) -> List[str]: function build_graph_from_components (line 236) | def build_graph_from_components(components: Dict[str, Any]) -> Dict[str,... FILE: src/evaluate_helpfulness.py function main (line 23) | def main(): FILE: src/evaluator/base.py class BaseEvaluator (line 6) | class BaseEvaluator(ABC): method __init__ (line 20) | def __init__(self, name: str, description: str): method score (line 26) | def score(self) -> float: method score (line 36) | def score(self, value: float) -> None: method evaluate (line 51) | def evaluate(self, node: ast.AST) -> float: FILE: src/evaluator/completeness.py class CompletenessEvaluator (line 9) | class CompletenessEvaluator(BaseEvaluator): method __init__ (line 23) | def __init__(self, name: str, description: str): method evaluate (line 29) | def evaluate(self, node: ast.AST) -> float: class ClassCompletenessEvaluator (line 57) | class ClassCompletenessEvaluator(CompletenessEvaluator): method __init__ (line 89) | def __init__(self): method evaluate_summary (line 111) | def evaluate_summary(docstring: str) -> bool: method evaluate_description (line 125) | def evaluate_description(docstring: str) -> bool: method evaluate_attributes (line 171) | def evaluate_attributes(docstring: str) -> bool: method evaluate_parameters (line 188) | def evaluate_parameters(docstring: str) -> bool: method evaluate_examples (line 205) | def evaluate_examples(docstring: str) -> bool: method _has_attributes (line 221) | def _has_attributes(self, node: ast.ClassDef) -> bool: method _get_required_sections (line 260) | def _get_required_sections(self, node: ast.ClassDef) -> List[str]: method _has_init_parameters (line 285) | def _has_init_parameters(self, node: ast.ClassDef) -> bool: method evaluate (line 301) | def evaluate(self, node: ast.ClassDef) -> float: method evaluate_using_string (line 359) | def evaluate_using_string(self, docstring: str, element_required: Dict... class FunctionCompletenessEvaluator (line 386) | class FunctionCompletenessEvaluator(CompletenessEvaluator): method __init__ (line 421) | def __init__(self): method evaluate_summary (line 443) | def evaluate_summary(docstring: str) -> bool: method evaluate_description (line 457) | def evaluate_description(docstring: str) -> bool: method evaluate_args (line 504) | def evaluate_args(docstring: str) -> bool: method evaluate_returns (line 521) | def evaluate_returns(docstring: str) -> bool: method evaluate_raises (line 538) | def evaluate_raises(docstring: str) -> bool: method evaluate_examples (line 555) | def evaluate_examples(docstring: str) -> bool: method evaluate (line 571) | def evaluate(self, node: ast.FunctionDef) -> float: method evaluate_using_string (line 637) | def evaluate_using_string(self, docstring: str, element_required: Dict... method _get_required_sections (line 664) | def _get_required_sections(self, node: ast.FunctionDef) -> List[str]: method _has_return_statement (line 695) | def _has_return_statement(self, node: ast.FunctionDef) -> bool: method _has_raise_statement (line 728) | def _has_raise_statement(self, node: ast.FunctionDef) -> bool: FILE: src/evaluator/evaluation_common.py class ScoreLevel (line 8) | class ScoreLevel(Enum): class SummaryEvaluationExample (line 17) | class SummaryEvaluationExample: class DescriptionEvaluationExample (line 24) | class DescriptionEvaluationExample: class ParameterEvaluationExample (line 31) | class ParameterEvaluationExample: FILE: src/evaluator/helper/context_finder.py class UsageLocation (line 9) | class UsageLocation: method __init__ (line 11) | def __init__(self, file_path: str, line_number: int, usage_type: str): method to_dict (line 16) | def to_dict(self) -> Dict: method from_dict (line 27) | def from_dict(cls, data: Dict) -> 'UsageLocation': class ContextSearcher (line 31) | class ContextSearcher: method __init__ (line 37) | def __init__(self, repo_path: str): method _get_cache_key (line 48) | def _get_cache_key(self, file_path: str, signature: str) -> str: method _load_from_cache (line 55) | def _load_from_cache(self, cache_key: str) -> Optional[List[UsageLocat... method _save_to_cache (line 64) | def _save_to_cache(self, cache_key: str, locations: List[UsageLocation]): method find_usages (line 70) | def find_usages(self, target_file: str, signature: str) -> List[UsageL... method _parse_signature (line 130) | def _parse_signature(self, signature: str) -> Tuple[str, str]: method _find_usages_in_file (line 152) | def _find_usages_in_file(self, content: str, file_path: str, name: str, class ContextPreparer (line 190) | class ContextPreparer: method __init__ (line 196) | def __init__(self, repo_path: str): method prepare_contexts (line 206) | def prepare_contexts(self, target_file: str, signature: str) -> List[T... method _prepare_single_context (line 229) | def _prepare_single_context(self, location: UsageLocation) -> Tuple[Op... FILE: src/evaluator/helpfulness_attributes.py class ScoreLevel (line 7) | class ScoreLevel(Enum): class EvaluationExample (line 16) | class EvaluationExample: class DocstringAttributeEvaluator (line 24) | class DocstringAttributeEvaluator: method __init__ (line 33) | def __init__(self): method _initialize_criteria (line 38) | def _initialize_criteria(self) -> Dict[str, Any]: method _initialize_examples (line 86) | def _initialize_examples(self) -> List[EvaluationExample]: method get_evaluation_prompt (line 164) | def get_evaluation_prompt(self, class_signature: str, init_function: str, method parse_llm_response (line 255) | def parse_llm_response(self, response: str) -> Tuple[int, str]: method get_criteria_description (line 288) | def get_criteria_description(self) -> str: method get_score_criteria (line 292) | def get_score_criteria(self, level: ScoreLevel) -> str: method get_examples (line 296) | def get_examples(self) -> List[EvaluationExample]: FILE: src/evaluator/helpfulness_description.py class DescriptionAspect (line 9) | class DescriptionAspect(Enum): class AspectCriteria (line 17) | class AspectCriteria: class DocstringDescriptionEvaluator (line 24) | class DocstringDescriptionEvaluator: method __init__ (line 38) | def __init__(self): method _initialize_criteria (line 42) | def _initialize_criteria(self) -> Dict[DescriptionAspect, AspectCriter... method get_evaluation_prompt (line 119) | def get_evaluation_prompt(self, code_implementation: str, docstring: s... method parse_llm_response (line 210) | def parse_llm_response(self, response: str) -> Tuple[int, str]: method _extract_description (line 259) | def _extract_description(self, docstring: str) -> str: FILE: src/evaluator/helpfulness_evaluator.py class EvaluationResult (line 20) | class EvaluationResult: class DocstringHelpfulnessEvaluator (line 28) | class DocstringHelpfulnessEvaluator: method __init__ (line 41) | def __init__(self, data_path: str, output_dir: str, api_key: str, mode... method sample_components (line 68) | def sample_components(self, n: int = 50, seed: int = 42) -> List[str]: method evaluate_component (line 106) | def evaluate_component(self, component_id: str) -> List[EvaluationResu... method run_evaluation (line 178) | def run_evaluation(self, n_samples: int = 50, seed: int = 42) -> Dict[... method calculate_statistics (line 234) | def calculate_statistics(self, results: Dict[str, Any]) -> Dict[str, A... method format_statistics_markdown (line 284) | def format_statistics_markdown(self, stats: Dict[str, Any]) -> str: function main (line 326) | def main(): FILE: src/evaluator/helpfulness_evaluator_ablation.py class EvaluationResult (line 20) | class EvaluationResult: class DocstringHelpfulnessEvaluatorAblation (line 28) | class DocstringHelpfulnessEvaluatorAblation: method __init__ (line 42) | def __init__(self, data_path: str, output_dir: str, api_key: str, mode... method sample_components (line 69) | def sample_components(self, n: Optional[int] = 50, seed: int = 42) -> ... method evaluate_component (line 112) | def evaluate_component(self, component_id: str) -> List[EvaluationResu... method run_evaluation (line 184) | def run_evaluation(self, n_samples: int = 50, seed: int = 42) -> Dict[... method calculate_statistics (line 240) | def calculate_statistics(self, results: Dict[str, Any]) -> Dict[str, A... method format_statistics_markdown (line 290) | def format_statistics_markdown(self, stats: Dict[str, Any]) -> str: function main (line 332) | def main(): FILE: src/evaluator/helpfulness_examples.py function get_callable_name (line 10) | def get_callable_name(node: Union[ast.Name, ast.Attribute]) -> str: class FunctionCallExample (line 26) | class FunctionCallExample: class ClassCallExample (line 34) | class ClassCallExample: class MethodCallExample (line 43) | class MethodCallExample: class BaseExampleEvaluator (line 50) | class BaseExampleEvaluator(ABC): method get_evaluation_prompt (line 59) | def get_evaluation_prompt(self, context_code: str, signature: str, exa... method evaluate_prediction (line 74) | def evaluate_prediction(self, prediction: str, ground_truth: str) -> T... class FunctionExampleEvaluator (line 89) | class FunctionExampleEvaluator(BaseExampleEvaluator): method get_evaluation_prompt (line 95) | def get_evaluation_prompt(self, context_code: str, signature: str, exa... method evaluate_prediction (line 132) | def evaluate_prediction(self, prediction: str, ground_truth: str) -> T... method _compare_ast_nodes (line 194) | def _compare_ast_nodes(self, node1: ast.AST, node2: ast.AST) -> bool: class ClassExampleEvaluator (line 225) | class ClassExampleEvaluator(BaseExampleEvaluator): method get_evaluation_prompt (line 231) | def get_evaluation_prompt(self, context_code: str, signature: str, exa... method _compare_ast_nodes (line 268) | def _compare_ast_nodes(self, node1: ast.AST, node2: ast.AST) -> bool: method _get_func_name (line 279) | def _get_func_name(self, node: Union[ast.Name, ast.Attribute]) -> str: method evaluate_prediction (line 293) | def evaluate_prediction(self, prediction: str, ground_truth: str) -> T... method _compare_ast_nodes (line 352) | def _compare_ast_nodes(self, node1: ast.AST, node2: ast.AST) -> bool: class MethodExampleEvaluator (line 357) | class MethodExampleEvaluator(BaseExampleEvaluator): method get_evaluation_prompt (line 363) | def get_evaluation_prompt(self, context_code: str, signature: str, exa... method evaluate_prediction (line 406) | def evaluate_prediction(self, prediction: str, ground_truth: str) -> T... method _compare_ast_nodes (line 473) | def _compare_ast_nodes(self, node1: ast.AST, node2: ast.AST) -> bool: FILE: src/evaluator/helpfulness_parameters.py class DocstringParametersEvaluator (line 9) | class DocstringParametersEvaluator: method __init__ (line 18) | def __init__(self): method _initialize_criteria (line 23) | def _initialize_criteria(self) -> Dict[str, Any]: method _initialize_examples (line 70) | def _initialize_examples(self) -> List[ParameterEvaluationExample]: method get_evaluation_prompt (line 136) | def get_evaluation_prompt(self, code_component: str, docstring: str, e... method parse_llm_response (line 232) | def parse_llm_response(self, response: str) -> Tuple[int, str]: method get_criteria_description (line 291) | def get_criteria_description(self) -> str: method get_score_criteria (line 295) | def get_score_criteria(self, level: ScoreLevel) -> str: method get_examples (line 299) | def get_examples(self) -> List[ParameterEvaluationExample]: FILE: src/evaluator/helpfulness_summary.py class DocstringSummaryEvaluator (line 9) | class DocstringSummaryEvaluator: method __init__ (line 18) | def __init__(self): method _initialize_criteria (line 23) | def _initialize_criteria(self) -> Dict[str, Any]: method _initialize_examples (line 76) | def _initialize_examples(self) -> List[SummaryEvaluationExample]: method get_evaluation_prompt (line 159) | def get_evaluation_prompt(self, code_component: str, docstring: str, e... method parse_llm_response (line 250) | def parse_llm_response(self, response: str) -> Tuple[int, str]: method get_criteria_description (line 314) | def get_criteria_description(self) -> str: method get_score_criteria (line 318) | def get_score_criteria(self, level: ScoreLevel) -> str: method get_examples (line 322) | def get_examples(self) -> List[SummaryEvaluationExample]: FILE: src/evaluator/segment.py function parse_google_style_docstring (line 4) | def parse_google_style_docstring(docstring): FILE: src/evaluator/truthfulness.py function extract_components_from_docstring (line 29) | def extract_components_from_docstring(docstring: str) -> List[str]: function load_dependency_graph (line 103) | def load_dependency_graph(repo_name: str) -> Dict[str, Any]: function check_component_existence (line 121) | def check_component_existence( function main (line 163) | def main(): function generate_summary_report (line 229) | def generate_summary_report(results: Dict[str, Dict[str, Dict[str, Any]]]): FILE: src/visualizer/progress.py class ProgressVisualizer (line 16) | class ProgressVisualizer: method __init__ (line 19) | def __init__(self, components: Dict[str, any], sorted_order: List[str]): method initialize (line 35) | def initialize(self): method update (line 50) | def update(self, component_id: str = None, status: str = "processing"): method finalize (line 68) | def finalize(self): method _clear_screen (line 98) | def _clear_screen(self): method _print_header (line 103) | def _print_header(self): method _print_component_status (line 111) | def _print_component_status(self): method show_dependency_stats (line 167) | def show_dependency_stats(self): FILE: src/visualizer/status.py class StatusVisualizer (line 8) | class StatusVisualizer: method __init__ (line 11) | def __init__(self): method _clear_screen (line 41) | def _clear_screen(self): method _get_agent_color (line 46) | def _get_agent_color(self, agent: str) -> str: method set_current_component (line 50) | def set_current_component(self, focal_component: str, file_path: str): method _display_component_info (line 67) | def _display_component_info(self): method update (line 73) | def update(self, active_agent: str, status_message: str = ""): method reset (line 141) | def reset(self): FILE: src/visualizer/web_bridge.py class WebSocketManager (line 16) | class WebSocketManager: method __new__ (line 23) | def __new__(cls): method set_socket (line 29) | def set_socket(cls, socket): method is_enabled (line 35) | def is_enabled(cls): method emit (line 40) | def emit(cls, event, data): method disable (line 49) | def disable(cls): class WebStatusAdapter (line 54) | class WebStatusAdapter: method __init__ (line 57) | def __init__(self, original_visualizer): method set_active_agent (line 72) | def set_active_agent(self, agent_name): method set_status_message (line 95) | def set_status_message(self, message): method set_current_component (line 118) | def set_current_component(self, focal_component, file_path): class WebProgressAdapter (line 146) | class WebProgressAdapter: method __init__ (line 149) | def __init__(self, original_visualizer): method update (line 164) | def update(self, component_id=None, status="processing"): method mark_complete (line 201) | def mark_complete(self, component_id): function patch_visualizers (line 224) | def patch_visualizers(): FILE: src/web/app.py function create_app (line 25) | def create_app(debug=True): FILE: src/web/config_handler.py function get_default_config (line 15) | def get_default_config(): function validate_config (line 48) | def validate_config(config): function save_config (line 72) | def save_config(config): FILE: src/web/process_handler.py class OutputHandler (line 26) | class OutputHandler(threading.Thread): method __init__ (line 29) | def __init__(self, process, socketio): method run (line 42) | def run(self): function start_generation_process (line 206) | def start_generation_process(socketio, repo_path: str, config_path: str): function stop_generation_process (line 294) | def stop_generation_process(): FILE: src/web/run.py function main (line 16) | def main(): FILE: src/web/static/js/completeness.js function updateCompletenessView (line 14) | function updateCompletenessView(completenessData) { FILE: src/web/static/js/config.js function loadDefaultConfig (line 12) | function loadDefaultConfig() { function applyConfigToForm (line 31) | function applyConfigToForm(config) { function buildConfigFromForm (line 59) | function buildConfigFromForm() { FILE: src/web/static/js/log-handler.js constant MAX_LOG_LINES (line 10) | const MAX_LOG_LINES = 5000; function addLogMessage (line 18) | function addLogMessage(level, message) { FILE: src/web/static/js/main.js function testApiConnection (line 50) | function testApiConnection() { function checkProcessStatus (line 117) | function checkProcessStatus() { function setupSocketHandlers (line 151) | function setupSocketHandlers() { function startGeneration (line 225) | function startGeneration() { function stopGeneration (line 292) | function stopGeneration() { function showConfigView (line 329) | function showConfigView() { function showRunningView (line 339) | function showRunningView() { function showMessage (line 371) | function showMessage(type, message) { function startTimer (line 399) | function startTimer() { function stopTimer (line 425) | function stopTimer() { function loadCompletenessData (line 435) | function loadCompletenessData() { FILE: src/web/static/js/repo-structure.js function updateRepoStructure (line 27) | function updateRepoStructure(repoStructure) { function zoomToNode (line 191) | function zoomToNode(svg, node, width, height) { function updateFileStatus (line 224) | function updateFileStatus(file_path, status) { FILE: src/web/static/js/status-visualizer.js function initAgentWorkflow (line 36) | function initAgentWorkflow() { function updateStatusVisualizer (line 179) | function updateStatusVisualizer(status) { function updateAgentWorkflow (line 219) | function updateAgentWorkflow(activeAgent) { function updateProgress (line 282) | function updateProgress(progress) { FILE: src/web/visualization_handler.py class VisualizationState (line 18) | class VisualizationState: method __new__ (line 23) | def __new__(cls): function get_current_status (line 48) | def get_current_status(): function update_agent_status (line 61) | def update_agent_status(active_agent: str, status_message: str): function update_component_focus (line 72) | def update_component_focus(component_path: str, file_path: str): function update_progress (line 84) | def update_progress(total: int, processed: int, current: str, components... function add_log_message (line 99) | def add_log_message(message: str): function get_repo_structure (line 111) | def get_repo_structure(repo_path: str) -> Dict[str, Any]: function update_file_status (line 156) | def update_file_status(file_path: str, status: str): function get_completeness_data (line 179) | def get_completeness_data(repo_path: str) -> Dict[str, Any]: FILE: src/web_eval/app.py function extract_component_filter (line 31) | def extract_component_filter(docstring, component): function index (line 50) | def index(): function test_api (line 59) | def test_api(): function evaluate (line 109) | def evaluate(): function results (line 131) | def results(): function evaluate_helpfulness (line 138) | def evaluate_helpfulness(): function refresh_evaluation (line 234) | def refresh_evaluation(): function run_docstring_tests (line 252) | def run_docstring_tests(source_file: str) -> Dict[str, Any]: function process_directory (line 353) | def process_directory(directory_path: str) -> Dict[str, Any]: FILE: src/web_eval/helpers.py function parse_llm_score_from_text (line 9) | def parse_llm_score_from_text(text: str) -> Tuple[int, str]: function parse_google_style_docstring (line 58) | def parse_google_style_docstring(docstring: str) -> Dict[str, str]: function extract_docstring_component (line 163) | def extract_docstring_component(docstring: str, component: str) -> Optio... FILE: src/web_eval/test_docstring_parser.py function test_and_print_result (line 11) | def test_and_print_result(test_name: str, docstring: str) -> Dict[str, A... function test_extract_component (line 46) | def test_extract_component(docstring: str) -> None: function main (line 72) | def main(): FILE: tool/remove_docstrings.py class DocstringRemover (line 14) | class DocstringRemover(ast.NodeTransformer): method visit_ClassDef (line 19) | def visit_ClassDef(self, node): method visit_FunctionDef (line 31) | def visit_FunctionDef(self, node): method visit_AsyncFunctionDef (line 43) | def visit_AsyncFunctionDef(self, node): function find_python_files (line 56) | def find_python_files(directory: str) -> List[str]: function remove_docstrings_from_file (line 68) | def remove_docstrings_from_file(file_path: str, dry_run: bool = False) -... function main (line 105) | def main():