fix: A/B test 4, video tab on the trending page

This commit is contained in:
ThetaDev 2023-04-02 01:15:44 +02:00
parent c78b4faacd
commit d749500a04
7 changed files with 63 additions and 7 deletions

View file

@ -81,8 +81,14 @@ async fn main() {
n,
occurrences as f32 / n as f32 * 100.0
);
eprintln!("visitor_data (present): {vd_present:?}");
eprintln!("visitor_data (absent): {vd_absent:?}");
eprintln!(
"visitor_data (present): {}",
vd_present.as_deref().unwrap_or("n/a")
);
eprintln!(
"visitor_data (absent): {}",
vd_absent.as_deref().unwrap_or("n/a")
);
}
None => {
let res = abtest::run_all_tests(n, cli.concurrency).await;