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

Debts test #800

Merged
merged 1 commit into from
Jul 26, 2023
Merged

Debts test #800

merged 1 commit into from
Jul 26, 2023

Conversation

ptulugu
Copy link
Contributor

@ptulugu ptulugu commented Jul 13, 2023

Debts generated by traffic between two nodes as well as between a node and the internet can be
tested by hardcoding an optimal path in code. Current accuracy threshold between calculated debt
and the actual debt is set to at least 85% accurate

@ptulugu ptulugu force-pushed the pranay/althea_blockchain branch 2 times, most recently from 3366189 to 179597d Compare July 18, 2023 19:19
@ptulugu ptulugu changed the title debts test wip Debts test Jul 18, 2023
@ptulugu ptulugu requested a review from jkilpatr July 24, 2023 20:01
Copy link
Member

@jkilpatr jkilpatr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, my only comment is that it would be nice if the main body of the test where broken into a few functions (only a few things look like they could reused, but it would be nice to have those easily available in their own tests)

I haven't seen this run successfully yet so I still need to watch the test.

integration_tests/src/debts.rs Outdated Show resolved Hide resolved
@ptulugu ptulugu force-pushed the pranay/althea_blockchain branch 4 times, most recently from a3a0f35 to 8798099 Compare July 26, 2023 19:30
Debts generated by traffic between two nodes as well as between a node and the internet can be
tested by hardcoding an optimal path in code. Current accuracy threshold between calculated debt
and the actual debt is set to at least 85% accurate
@ptulugu ptulugu merged commit ddd28e8 into master Jul 26, 2023
16 checks passed
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.

2 participants