The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(scenarios): remove unused subagent_storm scenario files
Steven Enamakel92cbab56c3d1
diff --git a/crates/openhuman-core/src/bin/library_profile/scenarios/subagent_storm.rs b/crates/openhuman-core/src/bin/library_profile/scenarios/subagent_storm.rsindex 5ce4c13d63..caccb32978 100644--- a/crates/openhuman-core/src/bin/library_profile/scenarios/subagent_storm.rs+++ b/crates/openhuman-core/src/bin/library_profile/scenarios/subagent_storm.rs@@ -158,29 +158,5 @@ pub async fn run() -> Result<ProfileResult> {}#[cfg(test)]-mod tests {- use super::*;-- #[test]- fn percentiles_nearest_rank() {- let v: Vec<u128> = (1..=100).collect();- assert_eq!(percentile(&v, 50), 50);- assert_eq!(percentile(&v, 95), 95);- assert_eq!(percentile(&v, 99), 99);- assert_eq!(percentile(&v, 100), 100);- assert_eq!(percentile(&[], 50), 0);- }-- #[test]- fn latency_summary_none_when_empty() {- assert!(latency_summary(Vec::new()).is_none());- let s = latency_summary(vec![10, 20, 30]).unwrap();- assert_eq!(s.max, 30);- assert_eq!(s.p50, 20);- }-- #[test]- fn env_usize_falls_back_on_zero_or_unset() {- assert_eq!(env_usize("OPENHUMAN_PROFILE_STORM_UNSET_XYZ", 8), 8);- }-}+#[path = "subagent_storm_tests.rs"]+mod tests;diff --git a/crates/openhuman-core/src/bin/library_profile/scenarios/subagent_storm_tests.rs b/crates/openhuman-core/src/bin/library_profile/scenarios/subagent_storm_tests.rsnew file mode 100644index 0000000000..0f96a01bad--- /dev/null+++ b/crates/openhuman-core/src/bin/library_profile/scenarios/subagent_storm_tests.rs@@ -0,0 +1,23 @@++#[test]+fn percentiles_nearest_rank() {+ let v: Vec<u128> = (1..=100).collect();+ assert_eq!(percentile(&v, 50), 50);+ assert_eq!(percentile(&v, 95), 95);+ assert_eq!(percentile(&v, 99), 99);+ assert_eq!(percentile(&v, 100), 100);+ assert_eq!(percentile(&[], 50), 0);+}++#[test]+fn latency_summary_none_when_empty() {+ assert!(latency_summary(Vec::new()).is_none());+ let s = latency_summary(vec![10, 20, 30]).unwrap();+ assert_eq!(s.max, 30);+ assert_eq!(s.p50, 20);+}++#[test]+fn env_usize_falls_back_on_zero_or_unset() {+ assert_eq!(env_usize("OPENHUMAN_PROFILE_STORM_UNSET_XYZ", 8), 8);+}