Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weighted contributions extra details #57

Open
3 tasks
lgainsbrook opened this issue Sep 30, 2024 · 0 comments
Open
3 tasks

Weighted contributions extra details #57

lgainsbrook opened this issue Sep 30, 2024 · 0 comments

Comments

@lgainsbrook
Copy link
Contributor

lgainsbrook commented Sep 30, 2024

Weighted contributions are split between several issues: add expense with weighted contributions and display summary. This is leftover information that is useful but I'm not sure where it best fits.

Notifications:

  • Participants should receive notifications when the expense calculation changes, such as when new expenses are added or when their weighted contributions are updated.

User Interface:

  • The interface should be user-friendly, allowing users to easily enter expenses, assign weights, and view summaries.
  • There should be clear labels and instructions for entering and modifying weighted contributions and understanding the final amounts owed or received.

Accuracy and Validation:

  • The system should ensure that all calculations are accurate and that the sum of what participants owe matches the total expenses.
  • There should be error handling to manage cases where contributions or weights are entered incorrectly.

Accessibility:

  • The feature should be accessible on various devices, including mobile and desktop, ensuring that users can manage and view expenses from any platform.

Example Scenario:
Expense Entry:

  • Alice, Bob, and Carol go out for dinner costing $150.
  • Alice specifies that she will pay $100, Bob $30, and Carol $20.

Weighted Contributions:

  • Alice’s contribution is weighted as 66.67% of the total bill, Bob’s as 20%, and Carol’s as 13.33%.

Calculation:

  • The system calculates how much each person owes based on their weighted contribution.
  • Alice’s share of the bill (66.67% of $150) is $100, Bob’s share is $30, and Carol’s share is $20.
  • Based on the payments made, the system determines that Alice overpaid by $50, Bob underpaid by $20, and Carol underpaid by $30.

Display Results:

  • The summary shows Alice should receive $50 from Bob and $30 from Carol.
  • Bob owes Alice $20 and Carol owes Alice $30.
@lgainsbrook lgainsbrook changed the title Weighted contributions draft Weighted contributions extra details Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant