-
Notifications
You must be signed in to change notification settings - Fork 790
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CLI compare_rep_weights to compare ledger and hardcoded weights (#2719)
* CLI compare_rep_weights to compare ledger and hardcoded rep weights * Clarify the basis of comparison are the hardcoded weights not the other way around (Serg comment) * Add const-qualifier to uint128_union::format_balance * Add standard deviation (sigma) to the output * Wrap sum in a lambda (Wes review) * Log each individual mismatch sample * Refactor and output outliers * Eat one line (Wes) * Wes review * Change threshold to 1-sigma, also present new representatives (not present in hardcoded) * Filter ledger weights to 99% cummulative weight (same as hardcoded) * Reserve known and use alias (Wes comments)
- Loading branch information
1 parent
793dd71
commit 3ee498b
Showing
5 changed files
with
189 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters