Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[POGO] Missing entity actions #35

Open
mpatsift opened this issue Nov 4, 2021 · 4 comments
Open

[POGO] Missing entity actions #35

mpatsift opened this issue Nov 4, 2021 · 4 comments

Comments

@mpatsift
Copy link

mpatsift commented Nov 4, 2021

As reported previously in email (19 Oct 21, 26 Oct 21, 4 Nov 21), our agent only "sees" every third or so action taken by other entities when calling SENSE_ACTOR_ACTIONS.

@mpatsift
Copy link
Author

mpatsift commented Nov 4, 2021

Email from 19 Oct 21:

Hi Stephen and Eric -

I’m not sure whether our agent is seeing all of the actions taken by the other agents. Is there some source of ground truth I can use to check our plumbing?

Eg, in attached log “stepnumber” generally advances by three btwn our sensing and I don’t see any “BREAK_BLOCK” commands although the agent does appear to be removing some logs before our agent can get to them. (Fwiw, I’ve seen “BREAK_BLOCK” in other logs.)

My code should be calling SENSE_ACTOR_ACTIONS after every command (right before it sends SENSE_ALL).

I’m afraid I’m getting this question out just in time to leave town for three days.. If you have followup questions, Dave should be able to help.

Thanks,

Mike

@mpatsift
Copy link
Author

mpatsift commented Nov 4, 2021

Email from 26 Oct 21:

Hi Stephen -

Would you like more information from me? I’m not sure where I can dig to find the seemingly missing observations.

Thanks,

Mike

@mpatsift
Copy link
Author

mpatsift commented Nov 8, 2021

Hi Stephen -

As I wrote in email yday am (7 Nov 21), I have an example run which seems to show that we're not always getting the pogoist's break_block action. Full log is attached to the email.

Thanks,

Mike

Email from 7 Nov 21:

I’m still confused or something is wrong.

Attached is full pal-tournament.log from a run using the pogo_100_PN configs.

In the first game, our agent plans to place a tree tap on a log at 62,17,47, but at run-time finds that the log has disappeared before it performs the place-tree-tap action. Obvious explanation is that the pogoist has performed a break_block on that log, but it doesn’t appear in the actions reported at our bridge:

[2021-11-06 21:56:57] prsinterface[15413] send_message: Sending message to openmind: (domain-fact (name "62,17,47" minecraft.log))
[2021-11-06 21:56:59] ACTION[entity-42]: {'action': <Literal {'action': 'MOVE', 'args': 'east', 'result': 'SUCCESS', 'stepNumber': 18}>, 'entityID': <Literal 42>}
[2021-11-06 21:56:59] prsinterface[17365] send_message: Sending message to openmind: (domain-fact (name "62,17,47" minecraft.log))
[2021-11-06 21:57:01] ACTION[entity-42]: {'action': <Literal {'action': 'MOVE', 'args': 'east', 'result': 'SUCCESS', 'stepNumber': 18}>, 'entityID': <Literal 42>}
[2021-11-06 21:57:01] prsinterface[19415] send_message: Sending message to openmind: (domain-fact (name "62,17,47" minecraft.log))
[2021-11-06 21:57:03] ACTION[entity-42]: {'action': <Literal {'action': 'TP_TO', 'args': '62,17,48', 'result': 'SUCCESS', 'stepNumber': 24}>, 'entityID': <Literal 42>}
[2021-11-06 21:57:03] prsinterface[21360] send_message: Sending message to openmind: (domain-fact (name "62,17,47" minecraft.log))
[2021-11-06 21:57:05] ACTION[entity-42]: {'action': <Literal {'action': 'TP_TO', 'args': '62,17,48', 'result': 'SUCCESS', 'stepNumber': 24}>, 'entityID': <Literal 42>}
[2021-11-06 21:57:05] prsinterface[23367] send_message: Sending message to openmind: (domain-fact (name "62,17,47" minecraft.log))
[2021-11-06 21:57:07] ACTION[entity-42]: {'action': <Literal {'action': 'TP_TO', 'args': '62,17,48', 'result': 'SUCCESS', 'stepNumber': 24}>, 'entityID': <Literal 42>}
[2021-11-06 21:57:09] ACTION[entity-42]: {'action': <Literal {'action': 'TP_TO', 'args': '62,17,48', 'result': 'SUCCESS', 'stepNumber': 24}>, 'entityID': <Literal 42>}
[2021-11-06 21:57:11] ACTION[entity-42]: {'action': <Literal {'action': 'MOVE', 'args': 'west', 'result': 'SUCCESS', 'stepNumber': 36}>, 'entityID': <Literal 42>}
[2021-11-06 21:57:13] ACTION[entity-42]: {'action': <Literal {'action': 'MOVE', 'args': 'west', 'result': 'SUCCESS', 'stepNumber': 36}>, 'entityID': <Literal 42>}
[2021-11-06 21:57:13] prsinterface[31424] send_message: Sending message to openmind: (domain-fact (entityname "62,17,47" item.tile.sapling.oak))

This excerpt includes entity actions and facts related to loc 62,17,47. You can see that our agent gets multiple reports of the pogoist’s ‘TP_TO’ at stepNumber 24, including one after the log at 62,17,47 has disappeared, but OM never gets a report of a break_block.

@musliner
Copy link

musliner commented Mar 21, 2022

is it plausible/correct that we do not see actor actions if we are not in the same room? that at least seems to be the case in an example I'm looking at in musliner@openmind0:~/openmind/code/test/results/pal-tournament-v2-nonov2-2022-03-21-145347-openmind0
where pogoist is near a platinum block when we move into other room, and when we return the platinum is gone, but no break- reported. game 5, 15:04:31 is the return to missing block

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants