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

Add payment history for probability calculation in path finding #228

Open
wants to merge 29 commits into
base: yukang-more-on-payment-session
Choose a base branch
from

Conversation

chenyukang
Copy link
Collaborator

@chenyukang chenyukang commented Oct 14, 2024

  1. Record payment history
  2. Add probability calculation based on payment history

@chenyukang chenyukang marked this pull request as draft October 14, 2024 09:01
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 37.43017% with 112 lines in your changes missing coverage. Please review.

Project coverage is 40.50%. Comparing base (58fa34e) to head (1e4498f).

Files with missing lines Patch % Lines
src/fiber/graph.rs 10.00% 72 Missing ⚠️
src/fiber/history.rs 73.07% 21 Missing ⚠️
src/fiber/network.rs 9.52% 19 Missing ⚠️
Additional details and impacted files
@@                        Coverage Diff                         @@
##           yukang-more-on-payment-session     #228      +/-   ##
==================================================================
- Coverage                           40.51%   40.50%   -0.02%     
==================================================================
  Files                                  51       52       +1     
  Lines                               37370    37532     +162     
==================================================================
+ Hits                                15141    15201      +60     
- Misses                              22229    22331     +102     
Flag Coverage Δ
unittests 40.50% <37.43%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@chenyukang chenyukang force-pushed the yukang-add-payment-history branch 3 times, most recently from 67b9bff to 6da4d68 Compare October 21, 2024 03:42
@chenyukang chenyukang marked this pull request as ready for review October 21, 2024 11:24
src/fiber/history.rs Outdated Show resolved Hide resolved
src/fiber/history.rs Outdated Show resolved Hide resolved
@chenyukang chenyukang changed the title [WIP] Add payment history for probability eval Add payment history for probability calculation in path finding Oct 21, 2024
@chenyukang chenyukang force-pushed the yukang-add-payment-history branch 2 times, most recently from b56a8c0 to eb40f46 Compare October 22, 2024 12:20
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

Successfully merging this pull request may close these issues.

3 participants