From 79fd66f9762befe1088300b766437d0ced452be1 Mon Sep 17 00:00:00 2001 From: Anto Christopher Date: Tue, 26 May 2026 14:08:02 +0530 Subject: [PATCH] feat: add compute_total helper (Scenario B) --- sim_base_sync.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 sim_base_sync.py diff --git a/sim_base_sync.py b/sim_base_sync.py new file mode 100644 index 000000000..af0e1b372 --- /dev/null +++ b/sim_base_sync.py @@ -0,0 +1,9 @@ +"""Scenario B feature work — should appear in the PR diff.""" + + +def compute_total(items): + """Sum item prices; intentional issue: shadows builtin 'sum'.""" + sum = 0 + for item in items: + sum += item + return sum