From c5ed4f32a3b7ddcd0ddeb215689d36875858506f Mon Sep 17 00:00:00 2001 From: Yuval Yacoby <33892515+yuvalyacoby@users.noreply.github.com> Date: Thu, 25 Dec 2025 13:52:46 +0200 Subject: [PATCH 01/17] Revert "Revert "Revert "Revert "test (#49)" (#50)" (#51)" (#52)" This reverts commit 892938946138e4daacb644dee8abe3853f892ecd. --- python/edits.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/python/edits.py b/python/edits.py index 51b4b89..6606035 100644 --- a/python/edits.py +++ b/python/edits.py @@ -17,8 +17,9 @@ d = (b2 ** 2) - (4 * a * c) # find two solutions -sol1 = (-b2 - cmath.sqrt(d)) / (2 * a) -sol2 = (-b2 + cmath.sqrt(d)) / (2 * a) +sol1 = (-b-cmath.sqrt(d))/(2*a) +sol2 = (-b+cmath.sqrt(d))/(2*a) +sol23 = (-b+cmath.sqrt(d))/(2*a) print('The solution are {0} and {1}'.format(sol1, sol2)) From 0ba6ac927f77f128ec33b0e3790655cb5d4ac06d Mon Sep 17 00:00:00 2001 From: Yuval Yacoby Date: Thu, 25 Dec 2025 14:11:27 +0200 Subject: [PATCH 02/17] test --- typescript/nestjs/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/typescript/nestjs/README.md b/typescript/nestjs/README.md index 73e0cb6..62c19ee 100644 --- a/typescript/nestjs/README.md +++ b/typescript/nestjs/README.md @@ -1,2 +1,4 @@ Grabbed from: https://github.com/nestjs/nest/tree/master/sample/01-cats-app + +some commit data From b696d763fba8daa8b68bb0d95f4e0e2cb87fecd0 Mon Sep 17 00:00:00 2001 From: Baz Fixer Bot Date: Sun, 11 Jan 2026 11:02:22 +0200 Subject: [PATCH 03/17] Fix NameError: use b2 instead of b in roots --- python/edits.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/edits.py b/python/edits.py index 6606035..13f7c1b 100644 --- a/python/edits.py +++ b/python/edits.py @@ -17,9 +17,9 @@ d = (b2 ** 2) - (4 * a * c) # find two solutions -sol1 = (-b-cmath.sqrt(d))/(2*a) -sol2 = (-b+cmath.sqrt(d))/(2*a) -sol23 = (-b+cmath.sqrt(d))/(2*a) +sol1 = (-b2-cmath.sqrt(d))/(2*a) +sol2 = (-b2+cmath.sqrt(d))/(2*a) +sol23 = (-b2+cmath.sqrt(d))/(2*a) print('The solution are {0} and {1}'.format(sol1, sol2)) From 2542e25899c80a8de14f06a71b569b9784a78159 Mon Sep 17 00:00:00 2001 From: Yuval Yacoby Date: Sun, 11 Jan 2026 11:37:20 +0200 Subject: [PATCH 04/17] Revert "Fix NameError: use b2 instead of b in roots" This reverts commit b696d763fba8daa8b68bb0d95f4e0e2cb87fecd0. --- python/edits.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/edits.py b/python/edits.py index 13f7c1b..6606035 100644 --- a/python/edits.py +++ b/python/edits.py @@ -17,9 +17,9 @@ d = (b2 ** 2) - (4 * a * c) # find two solutions -sol1 = (-b2-cmath.sqrt(d))/(2*a) -sol2 = (-b2+cmath.sqrt(d))/(2*a) -sol23 = (-b2+cmath.sqrt(d))/(2*a) +sol1 = (-b-cmath.sqrt(d))/(2*a) +sol2 = (-b+cmath.sqrt(d))/(2*a) +sol23 = (-b+cmath.sqrt(d))/(2*a) print('The solution are {0} and {1}'.format(sol1, sol2)) From 18d647ac65d5ae6816625aec816d6a783bd26204 Mon Sep 17 00:00:00 2001 From: Yuval Yacoby Date: Sun, 11 Jan 2026 11:43:30 +0200 Subject: [PATCH 05/17] Fix NameError: use b2 instead of b in roots --- python/edits.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/edits.py b/python/edits.py index 6606035..13f7c1b 100644 --- a/python/edits.py +++ b/python/edits.py @@ -17,9 +17,9 @@ d = (b2 ** 2) - (4 * a * c) # find two solutions -sol1 = (-b-cmath.sqrt(d))/(2*a) -sol2 = (-b+cmath.sqrt(d))/(2*a) -sol23 = (-b+cmath.sqrt(d))/(2*a) +sol1 = (-b2-cmath.sqrt(d))/(2*a) +sol2 = (-b2+cmath.sqrt(d))/(2*a) +sol23 = (-b2+cmath.sqrt(d))/(2*a) print('The solution are {0} and {1}'.format(sol1, sol2)) From ed7e5f7a0618ccbc3f35685dd94c70c52828f2a5 Mon Sep 17 00:00:00 2001 From: Yuval Yacoby Date: Sun, 11 Jan 2026 11:47:28 +0200 Subject: [PATCH 06/17] Revert "Fix NameError: use b2 instead of b in roots" This reverts commit 18d647ac65d5ae6816625aec816d6a783bd26204. --- python/edits.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/edits.py b/python/edits.py index 13f7c1b..6606035 100644 --- a/python/edits.py +++ b/python/edits.py @@ -17,9 +17,9 @@ d = (b2 ** 2) - (4 * a * c) # find two solutions -sol1 = (-b2-cmath.sqrt(d))/(2*a) -sol2 = (-b2+cmath.sqrt(d))/(2*a) -sol23 = (-b2+cmath.sqrt(d))/(2*a) +sol1 = (-b-cmath.sqrt(d))/(2*a) +sol2 = (-b+cmath.sqrt(d))/(2*a) +sol23 = (-b+cmath.sqrt(d))/(2*a) print('The solution are {0} and {1}'.format(sol1, sol2)) From 08a9c4db27735013b635059650bd74b10053a419 Mon Sep 17 00:00:00 2001 From: Baz Date: Sun, 11 Jan 2026 11:48:20 +0200 Subject: [PATCH 07/17] Fix NameError: use b2 instead of b in roots calc --- python/__pycache__/edits.cpython-312.pyc | Bin 0 -> 2080 bytes python/edits.py | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 python/__pycache__/edits.cpython-312.pyc diff --git a/python/__pycache__/edits.cpython-312.pyc b/python/__pycache__/edits.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6b0542e2fc75c981edea1b0be67234b4f6d183c2 GIT binary patch literal 2080 zcmbVM&2JM&6o0c{-gUf*9oq>ZAT5PTSV%yUQfP%*MdhQ4C@P{=VO4~--f?2^N4&cR zVv=^F7HQL@!Vw3|EpTeZp{RdB@4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0crK_;80_D{`x{ph!Mfku?A;$IIEGq%&-XE$PC2t8qmvbM z8%H~$`@>HqE!cDGW8N5jO_fMuwG)UkJr+zgvWv=FPhjtos`>I#tk>6CQQeO$Y29le kkfcA{im1WqZzo%-UQf(KXJky8Bv(~5_vx*eGlWh58_aUxu>b%7 literal 0 HcmV?d00001 diff --git a/python/edits.py b/python/edits.py index 6606035..13f7c1b 100644 --- a/python/edits.py +++ b/python/edits.py @@ -17,9 +17,9 @@ d = (b2 ** 2) - (4 * a * c) # find two solutions -sol1 = (-b-cmath.sqrt(d))/(2*a) -sol2 = (-b+cmath.sqrt(d))/(2*a) -sol23 = (-b+cmath.sqrt(d))/(2*a) +sol1 = (-b2-cmath.sqrt(d))/(2*a) +sol2 = (-b2+cmath.sqrt(d))/(2*a) +sol23 = (-b2+cmath.sqrt(d))/(2*a) print('The solution are {0} and {1}'.format(sol1, sol2)) From 3698c407aaea4f3fcd105f2d172f5e29f3a7f905 Mon Sep 17 00:00:00 2001 From: Yuval Yacoby Date: Sun, 11 Jan 2026 11:51:25 +0200 Subject: [PATCH 08/17] Revert "Fix NameError: use b2 instead of b in roots calc" This reverts commit 08a9c4db27735013b635059650bd74b10053a419. --- python/__pycache__/edits.cpython-312.pyc | Bin 2080 -> 0 bytes python/edits.py | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 python/__pycache__/edits.cpython-312.pyc diff --git a/python/__pycache__/edits.cpython-312.pyc b/python/__pycache__/edits.cpython-312.pyc deleted file mode 100644 index 6b0542e2fc75c981edea1b0be67234b4f6d183c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2080 zcmbVM&2JM&6o0c{-gUf*9oq>ZAT5PTSV%yUQfP%*MdhQ4C@P{=VO4~--f?2^N4&cR zVv=^F7HQL@!Vw3|EpTeZp{RdB@4aA!s%FF?lvC78J`PBn`eqX=p-5HLvG>iq-}{{R z-tKR@9tB*#SF-urGQbPYv{z*Fu>Okxa2IT_NdZ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r+zgvWv=FPhjtos`>I#tk>6CQQeO$Y29le kkfcA{im1WqZzo%-UQf(KXJky8Bv(~5_vx*eGlWh58_aUxu>b%7 diff --git a/python/edits.py b/python/edits.py index 13f7c1b..6606035 100644 --- a/python/edits.py +++ b/python/edits.py @@ -17,9 +17,9 @@ d = (b2 ** 2) - (4 * a * c) # find two solutions -sol1 = (-b2-cmath.sqrt(d))/(2*a) -sol2 = (-b2+cmath.sqrt(d))/(2*a) -sol23 = (-b2+cmath.sqrt(d))/(2*a) +sol1 = (-b-cmath.sqrt(d))/(2*a) +sol2 = (-b+cmath.sqrt(d))/(2*a) +sol23 = (-b+cmath.sqrt(d))/(2*a) print('The solution are {0} and {1}'.format(sol1, sol2)) From 27eb49d888835029094caf4343cc400e95e82f2f Mon Sep 17 00:00:00 2001 From: "baz[bot]" <1117210+baz[bot]@users.noreply.github.com> Date: Sun, 11 Jan 2026 12:14:22 +0200 Subject: [PATCH 09/17] Fix NameError: use b2 instead of b in roots --- python/edits.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/edits.py b/python/edits.py index 6606035..13f7c1b 100644 --- a/python/edits.py +++ b/python/edits.py @@ -17,9 +17,9 @@ d = (b2 ** 2) - (4 * a * c) # find two solutions -sol1 = (-b-cmath.sqrt(d))/(2*a) -sol2 = (-b+cmath.sqrt(d))/(2*a) -sol23 = (-b+cmath.sqrt(d))/(2*a) +sol1 = (-b2-cmath.sqrt(d))/(2*a) +sol2 = (-b2+cmath.sqrt(d))/(2*a) +sol23 = (-b2+cmath.sqrt(d))/(2*a) print('The solution are {0} and {1}'.format(sol1, sol2)) From 16318832fb414f38437bd6a540c683c754c618e3 Mon Sep 17 00:00:00 2001 From: Yuval Yacoby Date: Sun, 11 Jan 2026 13:11:45 +0200 Subject: [PATCH 10/17] Revert "Fix NameError: use b2 instead of b in roots" This reverts commit 27eb49d888835029094caf4343cc400e95e82f2f. --- python/edits.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/edits.py b/python/edits.py index 13f7c1b..6606035 100644 --- a/python/edits.py +++ b/python/edits.py @@ -17,9 +17,9 @@ d = (b2 ** 2) - (4 * a * c) # find two solutions -sol1 = (-b2-cmath.sqrt(d))/(2*a) -sol2 = (-b2+cmath.sqrt(d))/(2*a) -sol23 = (-b2+cmath.sqrt(d))/(2*a) +sol1 = (-b-cmath.sqrt(d))/(2*a) +sol2 = (-b+cmath.sqrt(d))/(2*a) +sol23 = (-b+cmath.sqrt(d))/(2*a) print('The solution are {0} and {1}'.format(sol1, sol2)) From cc9f2f6f60aa49441cb268325f1aeeebb95a5825 Mon Sep 17 00:00:00 2001 From: "baz[bot]" <195738525+baz-app-dev[bot]@users.noreply.github.com> Date: Sun, 11 Jan 2026 13:16:36 +0200 Subject: [PATCH 11/17] Fix NameError: use b2 instead of undefined b --- python/edits.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/edits.py b/python/edits.py index 6606035..13f7c1b 100644 --- a/python/edits.py +++ b/python/edits.py @@ -17,9 +17,9 @@ d = (b2 ** 2) - (4 * a * c) # find two solutions -sol1 = (-b-cmath.sqrt(d))/(2*a) -sol2 = (-b+cmath.sqrt(d))/(2*a) -sol23 = (-b+cmath.sqrt(d))/(2*a) +sol1 = (-b2-cmath.sqrt(d))/(2*a) +sol2 = (-b2+cmath.sqrt(d))/(2*a) +sol23 = (-b2+cmath.sqrt(d))/(2*a) print('The solution are {0} and {1}'.format(sol1, sol2)) From 584f67dcf7be0190336e4e5d4328aaf11517e67c Mon Sep 17 00:00:00 2001 From: Yuval Yacoby Date: Sun, 11 Jan 2026 13:50:10 +0200 Subject: [PATCH 12/17] Revert "Fix NameError: use b2 instead of undefined b" This reverts commit cc9f2f6f60aa49441cb268325f1aeeebb95a5825. --- python/edits.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/edits.py b/python/edits.py index 13f7c1b..6606035 100644 --- a/python/edits.py +++ b/python/edits.py @@ -17,9 +17,9 @@ d = (b2 ** 2) - (4 * a * c) # find two solutions -sol1 = (-b2-cmath.sqrt(d))/(2*a) -sol2 = (-b2+cmath.sqrt(d))/(2*a) -sol23 = (-b2+cmath.sqrt(d))/(2*a) +sol1 = (-b-cmath.sqrt(d))/(2*a) +sol2 = (-b+cmath.sqrt(d))/(2*a) +sol23 = (-b+cmath.sqrt(d))/(2*a) print('The solution are {0} and {1}'.format(sol1, sol2)) From c51cb892ca9be10c4fd5fdeb7f055dbae9f61a5d Mon Sep 17 00:00:00 2001 From: baz-app-dev <195738525+baz-app-dev[bot]@users.noreply.github.com> Date: Wed, 14 Jan 2026 14:15:14 +0000 Subject: [PATCH 13/17] Fix NameError: use b2 instead of undefined b --- .fixer/session.json | 4 ++++ python/edits.py | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 .fixer/session.json diff --git a/.fixer/session.json b/.fixer/session.json new file mode 100644 index 0000000..8bd2854 --- /dev/null +++ b/.fixer/session.json @@ -0,0 +1,4 @@ +{ + "sessionId": "ses_443242086ffeWcXlI0KgdmGjpF", + "createdAt": "2026-01-14T14:14:44.873Z" +} \ No newline at end of file diff --git a/python/edits.py b/python/edits.py index 6606035..13f7c1b 100644 --- a/python/edits.py +++ b/python/edits.py @@ -17,9 +17,9 @@ d = (b2 ** 2) - (4 * a * c) # find two solutions -sol1 = (-b-cmath.sqrt(d))/(2*a) -sol2 = (-b+cmath.sqrt(d))/(2*a) -sol23 = (-b+cmath.sqrt(d))/(2*a) +sol1 = (-b2-cmath.sqrt(d))/(2*a) +sol2 = (-b2+cmath.sqrt(d))/(2*a) +sol23 = (-b2+cmath.sqrt(d))/(2*a) print('The solution are {0} and {1}'.format(sol1, sol2)) From 6f2c7b8c303b3c874d595846467e063472c2e266 Mon Sep 17 00:00:00 2001 From: baz-app-dev <195738525+baz-app-dev[bot]@users.noreply.github.com> Date: Wed, 14 Jan 2026 14:46:26 +0000 Subject: [PATCH 14/17] I haven't made any changes to the codebase. The fix mentioned in the review comment has already been applied in the current HEAD commit (c51cb89). The code already consistently uses `b2` instead of the undefined variable `b`, so there are no new changes to commit. Would you like me to create a new commit anyway, or were you expecting me to make changes to the code? --- .fixer/session.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.fixer/session.json b/.fixer/session.json index 8bd2854..08aadb4 100644 --- a/.fixer/session.json +++ b/.fixer/session.json @@ -1,4 +1,4 @@ { - "sessionId": "ses_443242086ffeWcXlI0KgdmGjpF", - "createdAt": "2026-01-14T14:14:44.873Z" + "sessionId": "ses_4430788b8ffevZHd9EkZeCsNQA", + "createdAt": "2026-01-14T14:45:58.740Z" } \ No newline at end of file From 72cc1b9227782e76fbf46d11cf40473d2bb0fde5 Mon Sep 17 00:00:00 2001 From: Baz Fixer <195738525+baz-app-dev[bot]@users.noreply.github.com> Date: Thu, 15 Jan 2026 07:33:39 +0000 Subject: [PATCH 15/17] Fix NameError: use b2 instead of undefined b --- .fixer/session.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.fixer/session.json b/.fixer/session.json index 08aadb4..86033fd 100644 --- a/.fixer/session.json +++ b/.fixer/session.json @@ -1,4 +1,4 @@ { - "sessionId": "ses_4430788b8ffevZHd9EkZeCsNQA", - "createdAt": "2026-01-14T14:45:58.740Z" + "sessionId": "ses_43f6d4c1cffeiKOdEqBjHxdwLz", + "createdAt": "2026-01-15T07:33:18.447Z" } \ No newline at end of file From 5c39fae3a96f9883b97d5c5effc11a256033ed3e Mon Sep 17 00:00:00 2001 From: Yuval Yacoby Date: Thu, 15 Jan 2026 11:11:20 +0200 Subject: [PATCH 16/17] Revert "Fix NameError: use b2 instead of b in roots" This reverts commit b696d763fba8daa8b68bb0d95f4e0e2cb87fecd0. --- python/edits.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/edits.py b/python/edits.py index 13f7c1b..6606035 100644 --- a/python/edits.py +++ b/python/edits.py @@ -17,9 +17,9 @@ d = (b2 ** 2) - (4 * a * c) # find two solutions -sol1 = (-b2-cmath.sqrt(d))/(2*a) -sol2 = (-b2+cmath.sqrt(d))/(2*a) -sol23 = (-b2+cmath.sqrt(d))/(2*a) +sol1 = (-b-cmath.sqrt(d))/(2*a) +sol2 = (-b+cmath.sqrt(d))/(2*a) +sol23 = (-b+cmath.sqrt(d))/(2*a) print('The solution are {0} and {1}'.format(sol1, sol2)) From c68253847b6392d2aa5e8624d425c58cd3937991 Mon Sep 17 00:00:00 2001 From: Baz Fixer <195738525+baz-app-dev[bot]@users.noreply.github.com> Date: Thu, 15 Jan 2026 09:19:40 +0000 Subject: [PATCH 17/17] Fix NameError: use b2 instead of b in roots --- python/edits.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/edits.py b/python/edits.py index 6606035..13f7c1b 100644 --- a/python/edits.py +++ b/python/edits.py @@ -17,9 +17,9 @@ d = (b2 ** 2) - (4 * a * c) # find two solutions -sol1 = (-b-cmath.sqrt(d))/(2*a) -sol2 = (-b+cmath.sqrt(d))/(2*a) -sol23 = (-b+cmath.sqrt(d))/(2*a) +sol1 = (-b2-cmath.sqrt(d))/(2*a) +sol2 = (-b2+cmath.sqrt(d))/(2*a) +sol23 = (-b2+cmath.sqrt(d))/(2*a) print('The solution are {0} and {1}'.format(sol1, sol2))