Skip to content

Commit 965c4a7

Browse files
authored
Update entrance_mixins.py
1 parent bb04b97 commit 965c4a7

1 file changed

Lines changed: 25 additions & 16 deletions

File tree

src/pyob/entrance_mixins.py

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@
1111

1212
class EntranceMixin:
1313
"""
14-
Mixin providing core iteration logic.
14+
Mixin providing core iteration logic.
1515
Attributes are declared here to satisfy strict Mypy checks.
1616
"""
17-
# --- TYPE ANNOTATIONS FOR MYPY (Fixes 23 errors) ---
1817
target_dir: str
1918
pyob_dir: str
2019
ENGINE_FILES: list[str]
@@ -31,20 +30,30 @@ class EntranceMixin:
3130
manual_target_file: Optional[str]
3231
key_cooldowns: dict[str, float]
3332

34-
def pick_target_file(self) -> str: return ""
35-
def _read_file(self, path: str) -> str: return ""
36-
def _extract_path_from_llm_response(self, text: str) -> str: return ""
37-
def get_valid_llm_response(self, p: str, v: Callable[[str], bool], context: str) -> str: return ""
38-
def update_analysis_for_single_file(self, abs_p: str, rel_p: str): pass
39-
def update_ledger_for_file(self, rel_p: str, code: str): pass
40-
def detect_symbolic_ripples(self, o: str, n: str, p: str) -> list[str]: return []
41-
def _run_final_verification_and_heal(self, b: dict) -> bool: return False
42-
def handle_git_librarian(self, p: str, i: int): pass
43-
def append_to_history(self, p: str, o: str, n: str): pass
44-
def wrap_up_evolution_session(self): pass
45-
def generate_pr_summary(self, rel_path: str, diff_text: str) -> dict: return {}
46-
# ---------------------------------------------------
47-
33+
def pick_target_file(self) -> str:
34+
return ""
35+
def _read_file(self, path: str) -> str:
36+
return ""
37+
def _extract_path_from_llm_response(self, text: str) -> str:
38+
return ""
39+
def get_valid_llm_response(self, p: str, v: Callable[[str], bool], context: str) -> str:
40+
return ""
41+
def update_analysis_for_single_file(self, abs_p: str, rel_p: str):
42+
pass
43+
def update_ledger_for_file(self, rel_p: str, code: str):
44+
pass
45+
def detect_symbolic_ripples(self, o: str, n: str, p: str) -> list[str]:
46+
return []
47+
def _run_final_verification_and_heal(self, b: dict) -> bool:
48+
return False
49+
def handle_git_librarian(self, p: str, i: int):
50+
pass
51+
def append_to_history(self, p: str, o: str, n: str):
52+
pass
53+
def wrap_up_evolution_session(self):
54+
pass
55+
def generate_pr_summary(self, rel_path: str, diff_text: str) -> dict:
56+
return {}
4857
def execute_targeted_iteration(self, iteration: int):
4958
"""Orchestrates a single targeted evolution step."""
5059
backup_state = self.llm_engine.backup_workspace()

0 commit comments

Comments
 (0)