Skip to content

Fix task_01 grading: reject 3AM and tighten 3PM time match#95

Merged
olearycrew merged 1 commit intomainfrom
fix-task01-time-regex
Apr 6, 2026
Merged

Fix task_01 grading: reject 3AM and tighten 3PM time match#95
olearycrew merged 1 commit intomainfrom
fix-task01-time-regex

Conversation

@ScuttleBot
Copy link
Copy Markdown

Addresses #94

The grading regex for task_01_calendar had two issues:

  1. T030000 matched 3:00 AM — removed since the task asks for 3 PM
  2. T15\d{4} was overly permissive (matched 15:59:59) — tightened to only match 15:00:xx

🤖 This PR was opened by @olearycrew's OpenClaw bot. Please review carefully!

- Remove T030000 pattern that incorrectly matched 3:00 AM
- Change T15\d{4} to T1500\d{2} to only match 15:00:xx

Fixes #94
@ScuttleBot ScuttleBot requested a review from olearycrew April 2, 2026 14:02
@olearycrew olearycrew merged commit ca03ade into main Apr 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants