Commit 0616ed0
authored
v0.3 Implementation
### **What's added:**
+ Added new **github, predict and train** CLI commands
+ Reworked the **check and explain** CLI commands
+ Added GitHub integration for searching and reporting issues via CLI
+ Added ML capabilities with an engine for error prediction and pattern training, including `NeuralNetwork`, `ErrorEmbedding`, `FeatureExtractor`, and `MLEngine`
+ Added monitoring and prediction features: file watching, static analysis (**SimpleChecker for AST-based checks**), and ML-based error prediction with severity and confidence scoring
+ Added storage and caching: `ConfigManager` for settings (e.g., AI providers, API keys), `HistoryManager` (SQLite-based for error history), `PatternManager` (JSON-based), and `CacheManager`
+ Added data models: Error, Pattern, Prediction, and TrainingData dataclasses
+ Added utilities: logging, path validation, and enhanced helpers (e.g., detect_all_errors for syntax and semantic issues)
+ Added comprehensive testing: unit tests for models, parsers, predictor, trainer, GitHub; integration tests for CLI commands and end-to-end; performance tests for load time, memory, and prediction speed
+ Added CI/CD workflow (pypi-publish.yml)
+ Enhanced error explanation logic with structured output and pattern-based fixes
+ Enhanced CLI usability with rich formatting, input validation, command grouping, and version display
+ Reworked codebase structure
+ Updated dependencies in **requirements.txt** and **pyproject.toml**
+ Updated **setup.py** for new package structure, metadata, and simplified install_requires
+ Updated **__init__.py** files for better exports and dynamic attribute access
### **What's removed:**
- Removed monolithic parser (**core/parser.py**) and watcher (**core/watcher.py**), replaced with modular designs
- Removed old AI logic (**ai/__init__.py, ai/prompts.py, ai/providers.py**), moved to `integrations/ai/`
- Removed patterns directory (**patterns/__init__.py** and language-specific JSON files), integrated into `storage/patterns.py`File tree
99 files changed
+4780
-1747
lines changed- .github/workflows
- debugbuddy
- ai
- cli
- commands
- core
- parsers
- integrations
- ai
- github
- models
- monitoring
- storage
- utils
- docs
- patterns
- custom
- tests
- fixtures/errors
- integration
- performance
- unit
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
99 files changed
+4780
-1747
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | | - | |
20 | | - | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | 26 | | |
66 | 27 | | |
67 | 28 | | |
68 | 29 | | |
69 | 30 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
91 | 39 | | |
92 | 40 | | |
93 | 41 | | |
| |||
158 | 106 | | |
159 | 107 | | |
160 | 108 | | |
161 | | - | |
| 109 | + | |
162 | 110 | | |
163 | 111 | | |
164 | 112 | | |
| |||
180 | 128 | | |
181 | 129 | | |
182 | 130 | | |
183 | | - | |
| 131 | + | |
184 | 132 | | |
185 | 133 | | |
186 | 134 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments