Repository navigation
DriftSync 2.0 Release
DriftSync v2.0 — Release Notes
What's New
Interactive GUI Application
The project now ships as a full standalone Pygame application (launch.py) with a polished dark-themed interface.
- No manual setup required
- Dependencies are automatically installed on first run
Named & Dated Run Folders
Each experiment run is now saved to its own isolated folder under:
driftsync/results/
Runs are named using the user-provided label + timestamp, for example:
MyTest_2026-03-07_14-30/
Improvements:
- Runs no longer overwrite each other
- Checkpoints are scoped per run
In-App Results Viewer ("Previous Runs")
You can now browse all saved experiment runs directly inside the application.
Features include:
- Each run appears as a named tab in the Previous Runs screen
- Clicking a tab loads that run's:
- plots
- model comparison table
No need to manually open the results directory.
Configurable Experiment Parameters
Before starting a demo run you can configure:
Run name
- Free-text label used to name the results folder
Trials per session
- Adjustable: 50 – 500
- Step: 25
- Default: 150
Number of sessions
- Adjustable: 5 – 50
- Step: 5
- Default: 15
7-Page Educational Guide
A built-in "What Is This?" section explains the entire system, including:
- Cognitive drift
- Task mechanics
- All 11 AI input features
- LSTM and Transformer architecture
- Uncertainty estimation
- How to interpret output plots
Live Training Metrics
The Demo screen now displays real-time training performance.
Displayed metrics include:
- Loss
- AUC
- F1 Score
Both the LSTM and Transformer models show live sparkline charts for each epoch during training.
Bug Fixes
Play Task crash
- Closing the task simulator window no longer terminates the entire application
sys.exit()replaced with a proper return signal
Checkpoint naming mismatch
compare.pyandinference_engine.pynow correctly locate checkpoints saved by the trainer
Live metrics epoch number
- Epoch count is now displayed correctly for both LSTM and Transformer metric callbacks
PyTorch scheduler compatibility
- Removed deprecated
verboseargument fromReduceLROnPlateau - Prevents crashes on newer PyTorch versions
Windows encoding error
- Logger now uses UTF-8 encoding to prevent
UnicodeEncodeErroroncp1252terminals
Pygame import crash
LiveDriftSimulatoris now lazily imported- The inference engine can run without Pygame installed
Build & Distribution
PyInstaller support
Added:
DriftSync.spec
Includes proper collect_all handling for:
- PyTorch
- NumPy
- scikit-learn
- Matplotlib
- Pygame
Executable runtime detection
launch.py now detects when running inside a PyInstaller bundle (sys.frozen) and:
- Skips the pip installer
- Prevents the executable from attempting to run itself as Python
Working directory fix
The application now resolves the working directory to the executable location rather than the temporary extraction folder used by PyInstaller.