Corrected error causing response handling stdev anomaly, adjusted test size for blockages
This commit is contained in:
parent
c69e740366
commit
a00d97dfe9
|
@ -973,7 +973,7 @@ fn stats_test_invitations() {
|
|||
|
||||
#[test]
|
||||
fn stats_test_blockage_migration_5() {
|
||||
let mut th = TestHarness::new_buckets(10, 10);
|
||||
let mut th = TestHarness::new_buckets(15, 15);
|
||||
let mut credentials: Vec<cred::Lox> = Vec::new();
|
||||
for _ in 0..1000 {
|
||||
let cred = th.open_invite().1 .0;
|
||||
|
@ -995,7 +995,7 @@ fn stats_test_blockage_migration_5() {
|
|||
|
||||
#[test]
|
||||
fn stats_test_blockage_migration_10() {
|
||||
let mut th = TestHarness::new_buckets(10, 10);
|
||||
let mut th = TestHarness::new_buckets(15, 15);
|
||||
let mut credentials: Vec<cred::Lox> = Vec::new();
|
||||
for _ in 0..1000 {
|
||||
let cred = th.open_invite().1 .0;
|
||||
|
@ -1017,9 +1017,9 @@ fn stats_test_blockage_migration_10() {
|
|||
|
||||
#[test]
|
||||
fn stats_test_blockage_migration_15() {
|
||||
let mut th = TestHarness::new_buckets(10, 10);
|
||||
let mut th = TestHarness::new_buckets(15, 15);
|
||||
let mut credentials: Vec<cred::Lox> = Vec::new();
|
||||
for _ in 0..100 {
|
||||
for _ in 0..10000 {
|
||||
let cred = th.open_invite().1 .0;
|
||||
th.advance_days(30);
|
||||
let (_, migcred) = th.trust_promotion(&cred);
|
||||
|
@ -1039,9 +1039,9 @@ fn stats_test_blockage_migration_15() {
|
|||
|
||||
#[test]
|
||||
fn stats_test_blockage_migration_20() {
|
||||
let mut th = TestHarness::new_buckets(10, 10);
|
||||
let mut th = TestHarness::new_buckets(15, 15);
|
||||
let mut credentials: Vec<cred::Lox> = Vec::new();
|
||||
for _ in 0..100 {
|
||||
for _ in 0..10000 {
|
||||
let cred = th.open_invite().1 .0;
|
||||
th.advance_days(30);
|
||||
let (_, migcred) = th.trust_promotion(&cred);
|
||||
|
@ -1061,9 +1061,9 @@ fn stats_test_blockage_migration_20() {
|
|||
|
||||
#[test]
|
||||
fn stats_test_blockage_migration_25() {
|
||||
let mut th = TestHarness::new_buckets(10, 10);
|
||||
let mut th = TestHarness::new_buckets(15, 15);
|
||||
let mut credentials: Vec<cred::Lox> = Vec::new();
|
||||
for _ in 0..100 {
|
||||
for _ in 0..10000 {
|
||||
let cred = th.open_invite().1 .0;
|
||||
th.advance_days(30);
|
||||
let (_, migcred) = th.trust_promotion(&cred);
|
||||
|
@ -1083,9 +1083,9 @@ fn stats_test_blockage_migration_25() {
|
|||
|
||||
#[test]
|
||||
fn stats_test_blockage_migration_30() {
|
||||
let mut th = TestHarness::new_buckets(10, 10);
|
||||
let mut th = TestHarness::new_buckets(15, 15);
|
||||
let mut credentials: Vec<cred::Lox> = Vec::new();
|
||||
for _ in 0..100 {
|
||||
for _ in 0..10000 {
|
||||
let cred = th.open_invite().1 .0;
|
||||
th.advance_days(30);
|
||||
let (_, migcred) = th.trust_promotion(&cred);
|
||||
|
@ -1105,9 +1105,9 @@ fn stats_test_blockage_migration_30() {
|
|||
|
||||
#[test]
|
||||
fn stats_test_blockage_migration_35() {
|
||||
let mut th = TestHarness::new_buckets(10, 10);
|
||||
let mut th = TestHarness::new_buckets(15, 15);
|
||||
let mut credentials: Vec<cred::Lox> = Vec::new();
|
||||
for _ in 0..100 {
|
||||
for _ in 0..10000 {
|
||||
let cred = th.open_invite().1 .0;
|
||||
th.advance_days(30);
|
||||
let (_, migcred) = th.trust_promotion(&cred);
|
||||
|
@ -1127,9 +1127,9 @@ fn stats_test_blockage_migration_35() {
|
|||
|
||||
#[test]
|
||||
fn stats_test_blockage_migration_40() {
|
||||
let mut th = TestHarness::new_buckets(10, 10);
|
||||
let mut th = TestHarness::new_buckets(15, 15);
|
||||
let mut credentials: Vec<cred::Lox> = Vec::new();
|
||||
for _ in 0..100 {
|
||||
for _ in 0..10000 {
|
||||
let cred = th.open_invite().1 .0;
|
||||
th.advance_days(30);
|
||||
let (_, migcred) = th.trust_promotion(&cred);
|
||||
|
@ -1256,7 +1256,7 @@ fn print_stats_test_results(
|
|||
let resp_std_dev = standard_deviation(&resp_size, Some(mean_resp_size));
|
||||
let mean_resp_t_size = mean(&resp_t_size);
|
||||
let resp_t_std_dev = standard_deviation(&resp_t_size, Some(mean_resp_t_size));
|
||||
let mean_resp_handle_t_size = mean(&resp_t_size);
|
||||
let mean_resp_handle_t_size = mean(&resp_handle_t_size);
|
||||
let resp_handle_t_std_dev =
|
||||
standard_deviation(&resp_handle_t_size, Some(mean_resp_handle_t_size));
|
||||
|
||||
|
|
Loading…
Reference in New Issue