Amity
Logs — Analyzer
“If it’s moving over 50, it’s not a seal.” — Harbor Patrol
Challenge:
Count anomalies where speed > 50 mph.
Telemetry • QA
Task:
Implement
analyze_logs(logs)
returning the count of entries with speed >
50
.
logs
is a list of tuples like
[("sighting1", 30), ("sighting2", 60)]
.
Click
Run Unit Tests
. If all tests pass, you’ll get the flag.
def analyze_logs(logs): # Your code here return 0 # Test runner do not edit below run_selected_test()
Run Unit Tests
Output or flag will appear here...