From 67eb39b292cfe45eea02bfd7efedd86c40299ae8 Mon Sep 17 00:00:00 2001 From: Anto Christopher Date: Tue, 26 May 2026 14:25:50 +0530 Subject: [PATCH 1/2] A: fix: rename to fetch_user_profile (P2) --- sim_a.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sim_a.py b/sim_a.py index 495e7eb6d..2f3a7bfc7 100644 --- a/sim_a.py +++ b/sim_a.py @@ -1,7 +1,6 @@ -"""Scenario A — typo on local feature branch (P1).""" +"""Scenario A — typo fixed on origin/feature (P2).""" -def fetch_user_profle(user_id): - """Misspelled function name should be flagged.""" - unused_local = 42 +def fetch_user_profile(user_id): + """Renamed to fix the typo.""" return {"id": user_id, "active": True} From 0bb0be85390288d56fc1c5bf407b06dcd6321793 Mon Sep 17 00:00:00 2001 From: Anto Christopher Date: Tue, 26 May 2026 14:25:50 +0530 Subject: [PATCH 2/2] A: feat: add fetch_user_profle (typo, P1) --- sim_a.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 sim_a.py diff --git a/sim_a.py b/sim_a.py new file mode 100644 index 000000000..495e7eb6d --- /dev/null +++ b/sim_a.py @@ -0,0 +1,7 @@ +"""Scenario A — typo on local feature branch (P1).""" + + +def fetch_user_profle(user_id): + """Misspelled function name should be flagged.""" + unused_local = 42 + return {"id": user_id, "active": True}