All problems
Medium

Verify HSTS max-age units across routes

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.

Audit HSTS max-age values in csp_routes.csv alongside csp_edge.log. Rule: after converting max_age_value using hsts_unit ('seconds', 'days', or 'ms'), every route must have max_age >= 31536000 seconds (365 days). If any route is below 31536000 seconds, set status to 'conflict_detected' and put its route_id in flagged_items. Otherwise keep 'completed'. Return in result: compliant_daily_views=<sum of daily_views for compliant routes>.

Files you work with
csp_routes.csv csp_edge.log
Your AI must return
compliant_daily_views
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
Thursday 26/11 note for summing daily views across compliant routes. Exclude the admin portal application and also exclude routes with fewer than 500 daily views. Ignore the rejected October proposal to exclude documentation routes. Still verify HSTS max-age unit conversions on every row.

Rooms with this problem

  1. Software & IT Practitioner 8 Medium