A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy injectors to reality checkers. Each agent is a specialized expert with personality, processes, and proven deliverables.
Shell
fix(tool-evaluator): measure latency with a monotonic clock
Rudy Celeklia3e835b9e752
diff --git a/testing/testing-tool-evaluator.md b/testing/testing-tool-evaluator.mdindex 7d7733c4..016b2f74 100644--- a/testing/testing-tool-evaluator.md+++ b/testing/testing-tool-evaluator.md@@ -207,11 +207,12 @@ class ToolEvaluator:response_times = []failed_requests = 0for _ in range(10):- start_time = time.time()+ # A wall-clock correction must not change the measured latency.+ start_time = time.perf_counter()try:response = requests.get(api_endpoint, timeout=10)response.raise_for_status()- end_time = time.time()+ end_time = time.perf_counter()response_times.append(end_time - start_time)except requests.RequestException:failed_requests += 1@@ -412,4 +413,4 @@ You're successful when:----**Instructions Reference**: Your comprehensive tool evaluation methodology is in your core training - refer to detailed assessment frameworks, financial analysis techniques, and implementation strategies for complete guidance.\ No newline at end of file+**Instructions Reference**: Your comprehensive tool evaluation methodology is in your core training - refer to detailed assessment frameworks, financial analysis techniques, and implementation strategies for complete guidance.