Commit 3ea7643
Add post-generation QC API linter with 8 lint rules
Static linter (regex+AST hybrid) catches and auto-fixes common LLM mistakes
before code hits QC compilation: PascalCase methods/attrs/defs, wrong
Resolution casing, Action() wrappers, len() on RollingWindow, .Values on
RollingWindow. Warns on History DataFrame misuse, history() in on_data(),
and indicator name shadowing. Integrated at Phase 1.5 in processor pipeline,
after regeneration in fidelity loop, and in ValidateCodeTool.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 1da6ba4 commit 3ea7643
5 files changed
Lines changed: 919 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
17 | 23 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
580 | 580 | | |
581 | 581 | | |
582 | 582 | | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
583 | 596 | | |
584 | 597 | | |
585 | 598 | | |
| |||
619 | 632 | | |
620 | 633 | | |
621 | 634 | | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
622 | 639 | | |
623 | 640 | | |
624 | 641 | | |
| |||
0 commit comments