HF RL Explorer

Implement a production-grade rate limiter as a CLI tool at /usr/local/bin/ratelimit . The tool reads a JSON…

Implement a production-grade rate limiter as a CLI tool at /usr/local/bin/ratelimit . The tool reads a JSON…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input (stdin): Line-delimited JSON (one object per line, possibly empty lines). Each object represents an…

The task

**Input (stdin):** Line-delimited JSON (one object per line, possibly empty lines). Each object represents an event with: - `id` (string, required, non-empty) - `user_id` (string, required, non-empty, case-sensitive) - `timestamp` (string, required, ISO 8601 with timezone offset, e.g., `2024-01-15T10:30:00+05:00` or…

Part of ai-and/termgrade-environments.