chore(conductor): Complete Source-Wide Redundancy Audit

This commit is contained in:
2026-05-07 23:27:40 -04:00
parent ba1d5c76c0
commit 77e892d316
5 changed files with 435 additions and 6 deletions
+20
View File
@@ -0,0 +1,20 @@
import ast
import os
from pathlib import Path
symbols = []
for root in ['src', 'simulation']:
for p in Path(root).rglob('*.py'):
try:
code = p.read_text(encoding='utf-8')
tree = ast.parse(code)
for node in tree.body:
if isinstance(node, (ast.FunctionDef, ast.AsyncFunctionDef, ast.ClassDef)):
if not node.name.startswith('_'):
symbols.append((node.name, str(p)))
except Exception:
continue
print(f"TOTAL_SYMBOLS:{len(symbols)}")
for name, path in symbols:
print(f"SYMBOL:{name}|PATH:{path}")