Skip to content

Commit

Permalink
added logs
Browse files Browse the repository at this point in the history
  • Loading branch information
MalteUniOldenburg committed Mar 28, 2024
1 parent 64c0c3e commit 7ee9edd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mango_library/negotiation/winzent/winzent_base_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -941,14 +941,14 @@ def handle_message(self, content, meta):
content.id):
self.governor.message_journal.add(content)
if content.is_answer:
print("is answer")
# print("is answer")
req = xboole.Requirement(content,
content.sender, ttl=self._current_ttl)
asyncio.create_task(self.handle_external_reply(req,
# message_path=meta["ontology"]
))
else:
print("is request")
# print("is request")
req = xboole.Requirement(content,
content.sender, ttl=self._current_ttl)
asyncio.create_task(self.handle_external_request(req,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ def solve(self, power_balance, initiator):
try:
most_ethical_requirements.ledger[self.start_time].remove(self.initial_requirement)
except Exception as e:
print("JUP; EXCEPTION TIME!")
print(e)
print("removed initial req")
most_ethical_requirements.ledger[self.start_time].sort(key=get_ethics_score_from_req, reverse=True)
Expand Down

0 comments on commit 7ee9edd

Please sign in to comment.