#2912 - Review comment actions following commit revertions

This commit is contained in:
Charlie Crane
2025-01-03 15:03:01 +00:00
parent 0ee454b13e
commit a0a5f2ca38
2 changed files with 0 additions and 29 deletions

View File

@@ -80,8 +80,6 @@ class ActionManager:
self.action_map = {i: (a["action"], a["options"]) for i, a in act_map.items()}
# make sure all numbers between 0 and N are represented as dict keys in action map
assert all([i in self.action_map.keys() for i in range(len(self.action_map))])
self.node_names: List[str] = [n["node_name"] for n in nodes]
"""List of node names in this action space. The list order is the mapping between node index and node name."""
def get_action(self, action: int) -> Tuple[str, Dict]:
"""Produce action in CAOS format."""