The Big One #43

Merged
k.marinus merged 93 commits from feat/reset-experiment-and-phase into dev 2026-01-26 19:20:45 +00:00
Showing only changes of commit 7c10c50336 - Show all commits

View File

@@ -80,7 +80,6 @@ class UserInterruptAgent(BaseAgent):
- type: "next_phase", context: None, indicates to the BDI Core to - type: "next_phase", context: None, indicates to the BDI Core to
- type: "pause", context: boolean indicating whether to pause - type: "pause", context: boolean indicating whether to pause
- type: "reset_phase", context: None, indicates to the BDI Core to - type: "reset_phase", context: None, indicates to the BDI Core to
- type: "reset_experiment", context: None, indicates to the BDI Core to
""" """
while True: while True:
topic, body = await self.sub_socket.recv_multipart() topic, body = await self.sub_socket.recv_multipart()
@@ -162,7 +161,7 @@ class UserInterruptAgent(BaseAgent):
else: else:
self.logger.info("Sent resume command.") self.logger.info("Sent resume command.")
case "next_phase" | "reset_phase" | "reset_experiment": case "next_phase" | "reset_phase":
await self._send_experiment_control_to_bdi_core(event_type) await self._send_experiment_control_to_bdi_core(event_type)
case _: case _:
self.logger.warning( self.logger.warning(
@@ -359,8 +358,6 @@ class UserInterruptAgent(BaseAgent):
thread = "force_next_phase" thread = "force_next_phase"
case "reset_phase": case "reset_phase":
thread = "reset_current_phase" thread = "reset_current_phase"
case "reset_experiment":
thread = "reset_experiment"
case _: case _:
self.logger.warning( self.logger.warning(
"Received unknown experiment control type '%s' to send to BDI Core.", "Received unknown experiment control type '%s' to send to BDI Core.",