Commit fd5b0b7
Fix round 2 review findings: fallback matching, parser regex, docstring
- P1: Simplify _finding_key() to (severity, summary_fingerprint) — file path
excluded from primary key to prevent false "addressed" when location shifts
or disappears between review rounds
- P1: Fix parser regex to reliably match **Severity:** P1 format (4 capture
groups covering **P1**, **Severity:** P1, **Severity: P1**, Severity: P1)
- P2: Fix _finding_key() docstring to match actual implementation
- P2: Fix test_matching_with_missing_location to assert correct behavior
(no false addressed) instead of accepting the bug
- Add 3 positive parser format tests (bold, bold-label, plain-label)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent c0904eb commit fd5b0b7
2 files changed
Lines changed: 53 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
417 | 417 | | |
418 | 418 | | |
419 | 419 | | |
420 | | - | |
421 | | - | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
422 | 423 | | |
423 | 424 | | |
424 | | - | |
425 | | - | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
426 | 429 | | |
427 | 430 | | |
428 | 431 | | |
| |||
475 | 478 | | |
476 | 479 | | |
477 | 480 | | |
478 | | - | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
479 | 488 | | |
480 | 489 | | |
481 | 490 | | |
| |||
510 | 519 | | |
511 | 520 | | |
512 | 521 | | |
513 | | - | |
| 522 | + | |
514 | 523 | | |
515 | 524 | | |
516 | | - | |
517 | | - | |
518 | | - | |
519 | | - | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
520 | 535 | | |
521 | 536 | | |
522 | | - | |
523 | | - | |
524 | | - | |
525 | | - | |
| 537 | + | |
526 | 538 | | |
527 | 539 | | |
528 | 540 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
774 | 774 | | |
775 | 775 | | |
776 | 776 | | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
777 | 798 | | |
778 | 799 | | |
779 | 800 | | |
| |||
876 | 897 | | |
877 | 898 | | |
878 | 899 | | |
879 | | - | |
| 900 | + | |
880 | 901 | | |
881 | 902 | | |
882 | 903 | | |
| |||
888 | 909 | | |
889 | 910 | | |
890 | 911 | | |
891 | | - | |
892 | | - | |
893 | | - | |
894 | | - | |
895 | | - | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
896 | 917 | | |
897 | 918 | | |
898 | 919 | | |
| |||
0 commit comments