Skip to content

Commit

Permalink
add evaluation scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Frost, Emilie committed Sep 29, 2024
1 parent de688d2 commit 3cdcd09
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions mango_library/coalition/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,6 @@ def handle_coalition_response_msg(
sender_addr: ContainerAddress

self._part_to_state[(sender_addr, sender_id)] = content.accept
print('coalition response', len(self._part_to_state), len(self._participants))

if (
len(self._part_to_state) == len(self._participants)
Expand Down Expand Up @@ -418,7 +417,6 @@ async def _send_assignments(self, agent_context: RoleContext):
)

async def _send_coalition_build_confirms(self, agent_context, accepted_participants):
print('send build confirms, all assignments received')
for part in accepted_participants:
agent_context.schedule_instant_acl_message(
content=CoalitionBuildConfirm(coalition_id=self._coal_id),
Expand Down Expand Up @@ -507,8 +505,6 @@ def handle_assignment(
:param content: the assignment
:param meta: the meta data
"""
if self.context.addr == 'generation_agent_1':
print('Coalition!', content)
assignment = self.context.get_or_create_model(CoalitionModel)
assignment.add(content.coalition_id, content)
self.context.update(assignment)
Expand Down

0 comments on commit 3cdcd09

Please sign in to comment.