Commit e5b2b82
fix: address Devin review feedback — triage false positives and embedding default
- `#` comment prefix: exclude Rust attributes (#[...], #![...]), C
preprocessor directives (#include, #define, etc.) from comment detection
- `generated/` match: use boundary-aware checks (starts_with or /generated/)
to avoid false positives on paths like `user_generated/`
- Embedding model default: fall back to primary model instead of hardcoding
OpenAI's text-embedding-3-small, respecting self-hosted provider support
- 4 new tests for the triage fixes
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent a05f873 commit e5b2b82
2 files changed
+68
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
913 | 913 | | |
914 | 914 | | |
915 | 915 | | |
916 | | - | |
917 | | - | |
918 | | - | |
919 | | - | |
| 916 | + | |
920 | 917 | | |
921 | 918 | | |
922 | 919 | | |
| |||
1633 | 1630 | | |
1634 | 1631 | | |
1635 | 1632 | | |
| 1633 | + | |
1636 | 1634 | | |
1637 | 1635 | | |
1638 | | - | |
| 1636 | + | |
1639 | 1637 | | |
1640 | 1638 | | |
1641 | 1639 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
45 | 51 | | |
46 | 52 | | |
47 | 53 | | |
| |||
108 | 114 | | |
109 | 115 | | |
110 | 116 | | |
111 | | - | |
112 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
113 | 121 | | |
114 | 122 | | |
115 | 123 | | |
| |||
171 | 179 | | |
172 | 180 | | |
173 | 181 | | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
174 | 190 | | |
175 | 191 | | |
176 | 192 | | |
| |||
638 | 654 | | |
639 | 655 | | |
640 | 656 | | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
641 | 703 | | |
642 | 704 | | |
643 | 705 | | |
| |||
0 commit comments