Now let's take a silly one
0

Configure Feed

Select the types of activity you want to include in your feed.

at main 551 B View raw
1mod harness; 2pub mod trace; 3mod workload; 4 5pub use trace::{Outcome, Projection, RepoCollaborators, Snapshot, Step, Trace}; 6 7use std::sync::Arc; 8 9use harness::Harness; 10 11pub async fn run(seed: u64, rounds: u32) -> Trace { 12 let stranger_pool = (rounds as usize) * 2 + 16; 13 let harness = Arc::new(Harness::build(seed, stranger_pool)); 14 let plan = workload::plan(seed, rounds, harness.subjects.len()); 15 workload::execute(harness, seed, plan).await 16} 17 18pub fn predict(seed: u64, rounds: u32) -> Projection { 19 workload::predict(seed, rounds) 20}