-
Notifications
You must be signed in to change notification settings - Fork 11
LaunchDesk Class - Debugging Exercise #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
a4ea55b
409e77e
d472b8f
f597227
4f33fc4
915da13
44c414e
c8f7f75
52d25e5
cef5222
855c33c
95bf7b7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -4,7 +4,7 @@ | |||||||||
| "private": true, | ||||||||||
| "description": "A polished but intentionally broken website launch readiness checker for debugging practice.", | ||||||||||
| "scripts": { | ||||||||||
| "dev": "python3 -m http.server 5173", | ||||||||||
| "dev": "python -m http.server 5173", | ||||||||||
| "start": "python3 -m http.server 5173" | ||||||||||
|
Comment on lines
+7
to
8
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Inconsistent Python command between The 🔧 Proposed fix- "dev": "python -m http.server 5173",
+ "dev": "python3 -m http.server 5173",
"start": "python3 -m http.server 5173"📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||
| } | ||||||||||
| } | ||||||||||
| } | ||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix incomplete: "Due soon" metric includes overdue items.
The current logic
daysUntil(check.dueDate) <= 7will incorrectly count items with negative days (overdue items). According to the instructor guide (lines 181-184), the fix should also verify that days are non-negative.🐛 Complete the fix
This ensures only items due in the future within 7 days are counted, excluding overdue items.
📝 Committable suggestion
🤖 Prompt for AI Agents