Commit fbbff87
fix: compilation errors, deprecation warnings, and add unit tests (#17)
- Fix WeakPoint struct initializations missing `file` and `line` fields
across src/kanren/core.rs, src/a2ml/mod.rs, and all test files
- Migrate report/gui.rs from deprecated egui API (TopBottomPanel,
SidePanel, CentralPanel::show, ScrollArea::id_source) to current
Panel::top/left/show_inside and id_salt
- Fix version mismatch: main.rs command version now matches Cargo.toml
(2.1.0)
- Fix stale repository URL in Cargo.toml (panic-attacker → panic-attack)
- Add `log` crate and replace raw println!/eprintln! with structured
logging in groove.rs, kanren/rules.rs, assail/analyzer.rs, notify.rs,
ambush/mod.rs
- Remove useless usize >= 0 comparisons in property_tests.rs
- Add 11 unit tests for assail/analyzer.rs covering language detection,
unsafe code detection, panic path thresholds, command injection, eval
detection, empty directory handling, and excluded directory skipping
- Add 13 unit tests for panll/mod.rs covering axis/category labels,
export format, image/temporal diff serialization, and write_export I/O
All 381 tests pass with zero warnings.
https://claude.ai/code/session_01AMMKMRH8GhvCnNjrV6iWLn
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>1 parent 8134738 commit fbbff87
2 files changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
827 | 827 | | |
828 | 828 | | |
829 | 829 | | |
830 | | - | |
831 | | - | |
| 830 | + | |
| 831 | + | |
832 | 832 | | |
833 | 833 | | |
834 | 834 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments