Skip to content
This repository was archived by the owner on Feb 9, 2026. It is now read-only.

Commit fcc6216

Browse files
authored
Merge branch 'main' into fix/BillingDetailCard
2 parents acf94d4 + 807838c commit fcc6216

File tree

4 files changed

+140
-102
lines changed

4 files changed

+140
-102
lines changed

backend/app/lib/algorithm2.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,10 @@ def process_warikan_json(input_data: Dict[str, Any]) -> List[Dict[str, Any]]:
174174
if amount == 0 or paid_by_user is None or paid_for_user is None:
175175
continue
176176

177-
#支払った人は貸しだから残高をマイナス
178-
sagaku[paid_by_user] -= amount
179-
#支払ってもらった人は借りだから残高をプラス
180-
sagaku[paid_for_user] += amount
177+
#支払った人は貸しだから残高をプラス
178+
sagaku[paid_by_user] += amount
179+
#支払ってもらった人は借りだから残高をマイナス
180+
sagaku[paid_for_user] -= amount
181181

182182
solve_input_data = [
183183
{"user": user_id, "amount": int(round(amount))}
@@ -196,7 +196,7 @@ def process_warikan_json(input_data: Dict[str, Any]) -> List[Dict[str, Any]]:
196196
output_json_list.append({
197197
"id": j,
198198
"amount": amnt,
199-
"paid_by": from_user,
200-
"paid_for": to_user
199+
"paid_by": to_user,
200+
"paid_for": from_user
201201
})
202202
return output_json_list

backend/poetry.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"@radix-ui/react-dialog": "^1.1.15",
1717
"@radix-ui/react-dropdown-menu": "^2.1.16",
1818
"@radix-ui/react-select": "^2.2.6",
19-
"@radix-ui/react-separator": "^1.1.7",
20-
"@radix-ui/react-slot": "^1.2.3",
19+
"@radix-ui/react-separator": "^1.1.8",
20+
"@radix-ui/react-slot": "^1.2.4",
2121
"@radix-ui/react-tabs": "^1.1.13",
2222
"@tailwindcss/vite": "^4.1.16",
2323
"class-variance-authority": "^0.7.1",
@@ -31,7 +31,7 @@
3131
"tailwindcss": "^4.1.16"
3232
},
3333
"devDependencies": {
34-
"@biomejs/biome": "2.3.3",
34+
"@biomejs/biome": "2.3.4",
3535
"@types/node": "^24.10.0",
3636
"@types/react": "^19.2.2",
3737
"@types/react-dom": "^19.2.2",
@@ -41,7 +41,7 @@
4141
"tw-animate-css": "^1.4.0",
4242
"typescript": "^5.9.3",
4343
"vite": "npm:rolldown-vite@7.1.14",
44-
"vitest": "^4.0.6"
44+
"vitest": "^4.0.7"
4545
},
4646
"pnpm": {
4747
"overrides": {

0 commit comments

Comments
 (0)