Skip to content

Commit 8d75000

Browse files
docs: add bugs fixed and new issues summary
- Documents 2 bugs fixed (guess number, rock paper scissors) - Documents 8 new high-quality issues created - Includes priority recommendations - Links to all resources Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
1 parent d10c0b9 commit 8d75000

1 file changed

Lines changed: 196 additions & 0 deletions

File tree

BUGS_FIXED_AND_NEW_ISSUES.md

Lines changed: 196 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,196 @@
1+
# ✅ Bugs Fixed & New Issues Created
2+
3+
**Date:** February 19, 2026
4+
**Bugs Fixed:** 2
5+
**New Issues Created:** 8
6+
**Total Repository Issues:** 180+
7+
8+
---
9+
10+
## 🐛 Bugs Fixed
11+
12+
### #66 - Guess Number Game Input Validation ✅ FIXED
13+
14+
**Issue:** Game crashed when user entered non-integer input
15+
16+
**Fix Applied:**
17+
- Added `get_valid_input()` helper function
18+
- Wrapped input in try-except block
19+
- Added helpful error messages
20+
- Added game settings (min/max range)
21+
- Improved UX with emojis and formatting
22+
- Added docstrings and type hints
23+
24+
**File:** basics/11_projects/01_guess_number.py
25+
26+
**Status:** ✅ Fixed on bugfix/66-guess-number-validation branch
27+
28+
---
29+
30+
### #67 - Rock Paper Scissors Input Validation ✅ FIXED
31+
32+
**Issue:** Game crashed or behaved incorrectly with invalid input
33+
34+
**Fix Applied:**
35+
- Added `get_valid_choice()` function
36+
- Validate input is R, P, or S only
37+
- Added helpful error messages
38+
- Added `get_winner()` function for cleaner logic
39+
- Added score tracking
40+
- Added play again functionality
41+
- Improved output formatting with emojis
42+
- Added docstrings and type hints
43+
44+
**File:** basics/11_projects/03_rock_paper_scissors.py
45+
46+
**Status:** ✅ Fixed on bugfix/67-rps-input-validation branch
47+
48+
---
49+
50+
## 🆕 New Issues Created
51+
52+
### Bug Issues (1)
53+
54+
| # | Title | Difficulty | Priority |
55+
|---|-------|------------|----------|
56+
| 180 | FastAPI datetime serialization may fail with Pydantic v2 | Intermediate | Medium |
57+
58+
**URL:** https://github.com/hackdartstorm/Python/issues/180
59+
60+
---
61+
62+
### Security Issues (1)
63+
64+
| # | Title | Difficulty | Priority |
65+
|---|-------|------------|----------|
66+
| 181 | Remove hardcoded database path in Flask REST API | Intermediate | High |
67+
68+
**URL:** https://github.com/hackdartstorm/Python/issues/181
69+
70+
---
71+
72+
### Performance Issues (1)
73+
74+
| # | Title | Difficulty | Impact |
75+
|---|-------|------------|--------|
76+
| 182 | Optimize prime checking from O(n) to O(√n) | Intermediate | 500x speedup |
77+
78+
**URL:** https://github.com/hackdartstorm/Python/issues/182
79+
80+
---
81+
82+
### Feature Issues (2)
83+
84+
| # | Title | Difficulty |
85+
|---|-------|------------|
86+
| 183 | Add input validation utility module | Intermediate |
87+
| 191 | Add example .env file for configuration | Beginner |
88+
89+
**URLs:**
90+
- https://github.com/hackdartstorm/Python/issues/183
91+
- https://github.com/hackdartstorm/Python/issues/191
92+
93+
---
94+
95+
### Documentation Issues (1)
96+
97+
| # | Title | Difficulty |
98+
|---|-------|------------|
99+
| 190 | Add comprehensive troubleshooting guide | Beginner |
100+
101+
**URL:** https://github.com/hackdartstorm/Python/issues/190
102+
103+
---
104+
105+
### Refactoring Issues (1)
106+
107+
| # | Title | Difficulty |
108+
|---|-------|------------|
109+
| 192 | Replace deprecated Flask query.get() with get_or_404() | Beginner |
110+
111+
**URL:** https://github.com/hackdartstorm/Python/issues/192
112+
113+
---
114+
115+
### Testing Issues (1)
116+
117+
| # | Title | Difficulty |
118+
|---|-------|------------|
119+
| 193 | Add integration tests for FastAPI endpoints | Intermediate |
120+
121+
**URL:** https://github.com/hackdartstorm/Python/issues/193
122+
123+
---
124+
125+
## 📊 Issue Summary
126+
127+
| Category | Count |
128+
|----------|-------|
129+
| Bugs Fixed | 2 |
130+
| New Bug Issues | 1 |
131+
| New Security Issues | 1 |
132+
| New Performance Issues | 1 |
133+
| New Feature Issues | 2 |
134+
| New Documentation Issues | 1 |
135+
| New Refactoring Issues | 1 |
136+
| New Testing Issues | 1 |
137+
| **Total New Issues** | **8** |
138+
139+
---
140+
141+
## 🎯 Priority Recommendations
142+
143+
### Week 1: Critical 🔴
144+
1. #181 - Database configuration (security)
145+
2. #180 - FastAPI datetime (bug)
146+
147+
### Week 2: Performance & Quality 🟡
148+
3. #182 - Prime algorithm optimization
149+
4. #192 - Flask refactor (deprecated method)
150+
5. #183 - Validation utilities
151+
152+
### Week 3: Documentation & Testing 🟢
153+
6. #190 - Troubleshooting guide
154+
7. #193 - FastAPI integration tests
155+
8. #191 - Environment configuration
156+
157+
---
158+
159+
## 📁 Files Modified
160+
161+
| File | Changes | Status |
162+
|------|---------|--------|
163+
| basics/11_projects/01_guess_number.py | Input validation, error handling | ✅ Fixed |
164+
| basics/11_projects/03_rock_paper_scissors.py | Input validation, score tracking | ✅ Fixed |
165+
166+
---
167+
168+
## 📁 New Files Created
169+
170+
| File | Purpose | Status |
171+
|------|---------|--------|
172+
| .github/workflows/ci-cd.yml | CI/CD pipeline | Created |
173+
| .github/workflows/quality-report.yml | Quality reports | Created |
174+
| .pre-commit-config.yaml | Pre-commit hooks | Created |
175+
| Dockerfile | Docker environment | Created |
176+
| docker-compose.yml | Docker compose | Created |
177+
| pyproject.toml | Project config | Created |
178+
| tests/__init__.py | Test package | Created |
179+
| tests/test_examples.py | Example tests | Created |
180+
| tools/validate.py | Validation tools | Created |
181+
| ROADMAP.md | Project roadmap | Created |
182+
| exercises/README.md | Exercise guide | Created |
183+
184+
---
185+
186+
## 🔗 Quick Links
187+
188+
- [All Open Issues](https://github.com/hackdartstorm/Python/issues?q=is%3Aissue+is%3Aopen)
189+
- [Bug Fixes Branch](https://github.com/hackdartstorm/Python/pulls?q=bugfix)
190+
- [Project Roadmap](ROADMAP.md)
191+
- [Contributing Guide](CONTRIBUTING.md)
192+
193+
---
194+
195+
**Status:** ✅ 2 bugs fixed, 8 new high-quality issues created
196+
**Ready for:** Contributors to start working on new issues!

0 commit comments

Comments
 (0)