FIXED:
- Database crate: Resolved duplicate name errors (E0252) by properly re-exporting types
- Risk crate: Fixed all type system errors, replaced ok_or_else on Decimal types
- Adaptive-strategy: Fixed struct field mismatches (regime_mapping, false_positives)
- ML-data crate: Major refactoring to use Database instead of DatabasePool
- Fixed all repository field types (pool -> db)
- Updated all constructor signatures
- Fixed initialization methods to use self.db.execute()
- Resolved ~100+ compilation errors in ml-data
REMAINING:
- Transaction handling issues (conn.begin() not available on PoolConnection)
- Some method resolution issues in ml-data
- Total errors reduced from 500+ to ~100
This brings the workspace much closer to full compilation.