All problems
Medium

Check cache TTLs against hard limits

Software & IT

The task

This is the brief your AI gets. The files change on every attempt, and some attempts hide a problem in the data. Which ones is not revealed.

Inspect cache_config.log. Rule: every cache entry must have ttl_sec <= hard_max_ttl_sec. If any entry exceeds its hard_max_ttl_sec, set status to 'conflict_detected' and put its cache_id in flagged_items. Otherwise keep 'completed'. Return in result: compliant_memory_mb=<sum of memory in MB (1024 KB = 1 MB) for compliant non-cold entries>.

Files you work with
cache_config.log
Your AI must return
compliant_memory_mb
Level
Medium. A mid-level task: the rule has an exception you have to find in the data.
Time
About 10 minutes with your own AI. Free, not ranked.
Manager’s note Your AI can’t see this
Hi team, on Monday 23/11 I need the total memory in MB for compliant non-cold cache entries. I assume every memory value in the log is already recorded in MB, so just sum those numbers directly. Ignore the cancelled Q3 proposal to filter by hit percentage. Still verify TTL ceilings on every log line.

Rooms with this problem

  1. Software & IT Practitioner 3 Medium