v1.1.0 #39
ChrisMcCarthyDev
started this conversation in
Show and tell
v1.1.0
#39
Replies: 2 comments
-
There is an issue with this build. The |
Beta Was this translation helpful? Give feedback.
0 replies
-
Bugfix release has been released. See Yawning-Titan v1.1.1. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
YAWNING-TITAN v1.1.0
🎉 What's New
Config Revamp
Game Mode
The
GameMode
classes have been remodelled. The remodelling and rebuild:To ingest an old-style game mode yaml config file:
Network & Node
The
Network
class has been refactored to subclassnetworkx.Graph
. This refactoring:NetworkInterface
class.Node
class as the nodes in place of the old string nodes. This further decouples network and node logic and node attribute lookups from theNetworkInterface
class.TinyDB for Network and Game Mode storage
Yawning-Titan now comes with it’s very own localised lightweight JSON database which is an extension of TinyDB; Think MongoDB without the deps.
The new
YawningTitanDB
abstract base class class extendsTinyDB
with:NetworkDB
andGameModeDB
are subclasses ofYawningTitanDB
which take and return instances ofNetworkDB
andGameModeDB
respectively.NetworkSchema
andGameModeSchema
are classes that implement the structure ofNetwork
andGameMode
by using a newYawningTitanQuery
class. This allows for full querying of theNetworkDB
andGameModeDB
.YawningTitanRun Class
Move to Jupyter Lab
Yawning-Titan now installs and uses Jupyter Lab instead of Jupyter Notbooks. This gives more of an IDE feel and allows the user to write Python scripts and Jupyter Notebooks all from the same tab and have them all saved in the Yawning-Titan users notebooks directory (
~/yawning_titan/notebooks
).New Demo Notebooks Added
Three additional demo notebooks have been included in this release:
Network
using theyawning_titan.networks.network.Network
andyawning_titan.networks.node.Node
classes.yawning_titan.networks.network_db.NetworkDB
with theyawning_titan.networks.network_db.NetworkQuery
andyawning_titan.networks.network_db.NetworkSchema
classes.yawning_titan.yawning_titan_run.YawningTitanRun
class.Adding the isolated state to the observation (GitHub Issue #12)
GitHub Issue: Suggestion: adding the isolated state to observation · Issue #12 · dstl/YAWNING-TITAN
Isolation cost/reward (GitHub Issue #9)
GitHub Issue: Isolation cost/reward · Issue #9 · dstl/YAWNING-TITAN
🐛 Bug Fixes
Incorrect reward for blue agent reaching max_steps (GitHub Issue #10)
This was an issue raised on the dstl/YAWNING-TITAN repo by a member of the community (john-cardiff - Overview). This fixed an issue whereby the Blue Agent was being rewarded incorrectly for reaching max steps.
GitHub Issue: Incorrect reward for blue agent reaching max_steps · Issue #10 · dstl/YAWNING-TITAN
🛠 Engineering Notes
Test Package Overhaul
The Yawning-Titan tests have been overhauled completely. A test
NetworkDB
andGameModeDB
are available as fixtures in the test package. These DBs are just patches of the mainNetworkDB
andGameModeDB
so they work in the exact same way. All tests now use these DBs for accessingGameMode
andNetwork
instances. All tests are now marked asunit_test
,integration_test
, ore2e_integration_test
.Release Wheel Builds
As part of releases moving forward we'll be building wheels for Windows, Linux, and MacOS on Python 3.8, 3.9, and 3.10.
✨ How to Install & Run
First time installing Yawning-Titan?
Windows
Unix
Updating an existing install?
Windows
Unix
Run Yawning-Titan in Jupyter Lab
Windows
Unix
Contributors
Full Changelog: v1.0.1...v1.1.0
Beta Was this translation helpful? Give feedback.
All reactions