Files
graphify/tests/fixtures/sample_calls.py
T
Safi e7a03a0539 feat: cache, multi-language extraction, MCP, memory feedback
call-graph INFERRED edges, multi-language semantic extraction, SHA256 cache,
MCP stdio server with shortest_path, Q&A memory feedback loop
2026-04-04 18:56:38 +01:00

27 lines
519 B
Python

"""Fixture: functions and methods that call each other — for call-graph extraction tests."""
def compute_score(data):
return sum(data)
def normalize(value):
return value / 100.0
def run_analysis(data):
score = compute_score(data)
return normalize(score)
class Analyzer:
def process(self, data):
return run_analysis(data)
def score(self, data):
return compute_score(data)
def full_pipeline(self, data):
raw = self.score(data)
return normalize(raw)