Commit 656fadd
committed
fix: compilation errors, deprecation warnings, and add unit tests
- 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_01AMMKMRH8GhvCnNjrV6iWLn1 parent 21fc3f0 commit 656fadd
16 files changed
Lines changed: 1009 additions & 32 deletions
File tree
- src
- a2ml
- ambush
- assail
- kanren
- panll
- report
- tests
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
827 | 827 | | |
828 | 828 | | |
829 | 829 | | |
| 830 | + | |
| 831 | + | |
830 | 832 | | |
831 | 833 | | |
832 | 834 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
0 commit comments