Files
wehub-resource-sync d88fd01084
CI / test (3.10) (push) Failing after 1s
CI / test (3.12) (push) Failing after 0s
CI / skillgen-check (push) Failing after 0s
CI / security-scan (push) Failing after 0s
chore: import upstream snapshot with attribution
2026-07-13 12:09:14 +08:00

27 lines
517 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)