Logicytics: Flag Promotions, Device Auto-Detection, and Core Cleanup - Version 3.5.1
Major Updates and Enhancements
Flag System & Model Handling Improvements
Automatic Device Detection:
-
vulnscan.py
:- Introduced automatic CPU/GPU detection when loading PyTorch models.
- Implemented
torch.load(..., map_location=...)
to prevent CUDA-only crashes. - Ensures safe execution across systems lacking GPU acceleration.
Flag Updates and New Features:
-
Flag Enhancements:
- Promoted
--performance-check
flag from Beta to Stable. - Removed unstable memory usage reporting due to inconsistent values and external process interference.
- Introduced new
--usage
flag for tracking user flag interaction history.
- Promoted
-
Debug Mode Improvements:
- Fixed crash when Git is missing by validating its existence before use.
- Resolved false positives in
--debug
file diffing (ignored vs extra). - Synchronized debug file comparison logic with internal
_dev.py
behavior. - Extended Python 3.13 compatibility to prevent future errors.
- Improved logging clarity and structure for traceable debugging.
Core Refactors & Codebase Simplification
File & Directory Fixes:
- Renamed previously buggy
vulnscan
folder to avoid automatic inclusion during zipping. - Addressed crash caused by uninitialized logging directories—
Logger
now ensures correct creation.
Feature Removal:
-
Removed the
--backup
flag entirely.- It introduced complexity and redundancy - Git handles all historical tracking better.
- Refactored backup-related logic and removed dead code linked to the feature.
Planning & Maintenance Updates
- Promoted
Match.generate_summary_and_graph()
out of beta after patches and testing. - Updated
PLANS.md
with roadmap changes and clarified deprecation of backup. - Performed basic cleanup tied to removed features and older implementation quirks.
Base Change
- Implemented cross-platform model loading with automatic device detection in
vulnscan.py
. - Promoted
--performance-check
andgenerate_summary_and_graph()
from beta to stable. - Introduced
--usage
flag for historical usage stats. - Removed memory usage metrics and the
--backup
feature for clarity and stability. - Refactored debug logic to align with dev tools and fix Git and Python edge cases.
- Fixed zipping errors and init directory issues for consistent startup.
What's Changed
- v3.5.1 Patch by @DefinetlyNotAI in #234
Full Changelog: v3.5.0...v3.5.1