v0.4.1 - Order Consolidation, Grid Edge Handling & Partial Order Fixes
Release v0.4.1
Key Features
-
Code Consolidation: Eliminated ~1,000 lines of duplicate code
- Extracted shared DEXBot class to modules/dexbot_class.js
- Refactored bot.js and dexbot.js to thin wrappers
-
Conditional Rotation: Smart order placement at grid boundaries
- Creates new orders instead of rotating when below target count
- Handles grid edge cases gracefully
-
Partial Order Fixes: Enforced state machine invariants
- PARTIAL orders guaranteed to have size > 0
- Proper state transitions: ACTIVE → PARTIAL → SPREAD
-
Repository Analytics: Interactive visualization of git history
- Charts showing added/deleted lines over time
- Daily and cumulative statistics
Files Changed
- 10 files changed, 2,101 insertions(+), 1,875 deletions(-)
- New: modules/dexbot_class.js, scripts/analyze-repo-stats.js, test files
See CHANGELOG.md for complete details.