π― Track your learning mistakes. Identify weak points. Improve efficiently.
Features β’ Installation β’ Usage β’ Contributing
|
Record subject, error description, and solution with automatic timestamps. View error breakdown and percentage by subject to identify weak points. Find mistakes quickly with keyword search across all entries. |
Modify or remove entries when needed with confirmation prompts. Data is saved instantly with automatic backup rotation (20 versions). Browse through large datasets with paginated view (10 items/page). |
# Step 1: Clone the repository
git clone https://github.com/minx-nie/Mistake-Tracker.git
cd Mistake-Tracker
# Step 2: Install the package
pip install -e .
# Step 3: Run the program
python -m mistake_tracker
β οΈ Important: You must runpip install -e .before usingpython -m mistake_tracker, otherwise you'll get "No module named mistake_tracker" error.
If you prefer not to install, run the standalone script directly:
git clone https://github.com/minx-nie/Mistake-Tracker.git
cd Mistake-Tracker
# Run standalone script (no install needed)
python Mistake_Tracker.pygit clone https://github.com/minx-nie/Mistake-Tracker.git
cd Mistake-Tracker
# Install with development dependencies
pip install -e ".[dev]"
# Setup pre-commit hooks
pre-commit install
# Run tests
pytest tests/ -vWhen you run the program, you'll see this menu:
ββββββββββββββββββββββββββββββββββββββββ
β π MISTAKE TRACKER β
β βββββββββββββββββββββββββββββββββββββββ£
β [1] β Add New Mistake β
β [2] π View Mistakes β
β [3] βοΈ Edit/Delete β
β [4] πͺ Exit β
ββββββββββββββββββββββββββββββββββββββββ
Choose (1-4):
Select 1 β Enter the details:
βββ β Add New Mistake βββ
Subject: math
Mistake: Wrong formula for area calculation
Fix: S = pi * r^2, not 2*pi*r
β
Mistake added successfully!
Select 2 β See statistics and list:
βββ π View Mistakes βββ
π Filter by keyword (Enter to skip):
π Statistics (Total: 15)
ββββββββββββββββββββββββββββββββββββββ
Subject β Count β Rate
ββββββββββββββββββββββΌββββββββΌβββββββ
Math β 10 β 66.7%
English β 3 β 20.0%
Coding β 2 β 13.3%
π All Mistakes
ββββββββββββββββββββββββββββββββββββββ
1. [Math] Wrong formula β S = pi*r^2 (2024-12-23)
2. [Math] Sign error β Check steps again (2024-12-22)
...
π‘ Tip: Enter a keyword to filter mistakes by subject, description, or fix.
Select 3 β Choose entry number β e to edit or d to delete:
βββ βοΈ Edit/Delete βββ
1. [Math] Wrong formula
2. [English] Grammar mistake
Choose number (0 = cancel): 1
(e)dit / (d)elete: e
π‘ Leave blank to keep current value.
Subject [math]:
Mistake [Wrong formula]: Wrong volume formula
Fix [S = pi*r^2]: V = 4/3 * pi * r^3
β
Updated.
Select 4 to safely exit the program. Your data is automatically saved!
| Tool | Purpose |
|---|---|
| Core language (3.9+) | |
| Testing framework | |
| Linting & formatting | |
| Type checking | |
| CI/CD |
Mistake-Tracker/
βββ π src/mistake_tracker/
β βββ __init__.py # Package init
β βββ __main__.py # Entry point
β βββ cli.py # CLI interface
β βββ data.py # Data management
βββ π tests/
β βββ test_tracker.py # Unit tests
βββ π .github/workflows/
β βββ ci.yml # GitHub Actions CI
βββ Mistake_Tracker.py # Standalone script (legacy)
βββ pyproject.toml # Project config
βββ ruff.toml # Linter config
βββ README.md
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Made with β€οΈ by minx-nie