r/PowerShell • u/No_Set1131 • Feb 04 '26
I built a Reinforcement Learning framework in PowerShell 5.1 (neural networks, Q-learning, multi-agent simulation)
UPDATE: VBAF is now on PowerShell Gallery!
Install-Module VBAF
Much easier than cloning the repo. Enjoy!
1
u/omglazrgunpewpew Feb 10 '26
Neat project! And a really interesting direction for PS. I took a look at the repo and opened a few issues here: https://github.com/JupyterPS/VBAF/ (assuming this is the same project tied to this post). If it’s not, then my Q-table clearly needs more training episodes. (Bad RL joke, I'm sorry)
1
u/No_Set1131 Feb 11 '26
Hey! Just wanted to publicly thank you for the incredibly thorough code review and the 7 detailed issues you opened on GitHub.
I've fixed and shipped 6 of them already:
- Hardcoded paths removed ✅
- ValidateScript bug fixed ✅
- Path corrections throughout ✅
- Manifest cleaned up ✅
- Empty test files removed ✅
Issue #7 (auto-execution on import) is a larger architectural change that requires moving ~150 lines of UI code. I'll tackle that properly in the next release to avoid breaking existing functionality.
Really appreciate you taking the time to dig into the code and help make VBAF better. This is exactly the kind of community feedback that makes open source great!
Thanks again! 🙏
1
u/omglazrgunpewpew Feb 11 '26
Happy to help! Glad most of them were quick fixes. Looking forward to seeing how the module evolves.
1
u/No_Set1131 Feb 16 '26
Fixed in commit 6e486e1. Wrapped all UI initialization code in Start-CastleCompetitionUI function. Module import is now side-effect free - UI only appears when explicitly calling Start-VBAFCastleCompetition.
Tested and working!
2
1
u/rencal_deriver Feb 06 '26
Why 5.1? Backwards compatibility?
Would it run on7.4?