Commit 5fdb84b
[GREEN] feat(oracle): Add AutoFixer with Extreme TDD tests (Refs GH-123)
AutoFixer: Automatic code transformation based on oracle classifications
- Uses 97% accurate oracle to classify errors
- Applies category-specific transformation rules
- Supports BorrowChecker, TypeMismatch, MissingImport fixes
Transform Rules:
- pre_compute_is_some: Fix borrow-after-move for .is_some()
- regex_new_str: Fix Regex::new() with String instead of &str
- add_command_factory: Add CommandFactory for clap print_help()
Extreme TDD Tests (14 total):
- 13 unit tests covering all transformation rules
- 1 integration test for training from corpus
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent a5ae8da commit 5fdb84b
File tree
4 files changed
+739
-1
lines changed- crates/depyler-oracle/src
- examples
- scripts
4 files changed
+739
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
| 369 | + | |
369 | 370 | | |
370 | | - | |
| 371 | + | |
371 | 372 | | |
372 | 373 | | |
373 | 374 | | |
| |||
0 commit comments