Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: files changed src/openhuman/agent/harness/tool_filter_tests.rs

Steven Enamakel6ed5677e186f
diff --git a/src/openhuman/agent/harness/tool_filter_tests.rs b/src/openhuman/agent/harness/tool_filter_tests.rs
index 4492c6d6c7..8bad35ae11 100644
--- a/src/openhuman/agent/harness/tool_filter_tests.rs
+++ b/src/openhuman/agent/harness/tool_filter_tests.rs
@@ -309,3 +309,30 @@ fn adapter_ranking_matches_the_pre_extraction_snapshot() {
);
}
}
+
+// TEMP baseline capture — removed after migration.
+#[test]
+fn zz_baseline_ranking_capture() {
+ let cases: &[(&str, &str, usize)] = &[
+ ("github", "Create a pull request from feature/auth-fix to main in the openhuman repo", 15),
+ ("github", "Find all open pull requests assigned to the current user in the openhuman repo", 15),
+ ("gmail", "Send an email to [email protected] with subject 'Q2 Report' and body attached", 10),
+ ("gmail", "Delete all promotional emails received in the last week", 10),
+ ("slack", "Post a message to the #general channel saying the deploy is complete", 15),
+ ("notion", "Create a new page in the Engineering workspace titled 'Sprint Plan'", 15),
+ ("notion", "create a notion page with the meeting notes and give me the link", 12),
+ ("googlesheets", "add a row with today's sales to the revenue sheet", 15),
+ ("googledrive", "upload a file to the shared design folder", 15),
+ ("reddit", "comment on the top post in r/rust", 15),
+ ("facebook", "post a status update to my page", 15),
+ ("instagram", "schedule a post with this photo and caption", 15),
+ ];
+ for (tk, q, k) in cases {
+ let actions = load_real_toolkit(tk);
+ let hits = filter_actions_by_prompt(q, &actions, *k);
+ println!("CASE {tk} | {q} | k={k}");
+ for &i in &hits {
+ println!(" {i} {}", actions[i].name);
+ }
+ }
+}