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

Make the offer process learned (rather than rules-based) #37

Open
thobson88 opened this issue Jun 16, 2023 · 2 comments · May be fixed by #56
Open

Make the offer process learned (rather than rules-based) #37

thobson88 opened this issue Jun 16, 2023 · 2 comments · May be fixed by #56
Labels
enhancement New feature or request

Comments

@thobson88
Copy link
Collaborator

Currently offers are determined by fixed rules based on the agent's inventory.

For truly emergent trading, we need decisions on offers to be part of the action space.

@edchapman88 edchapman88 added the enhancement New feature or request label Jun 29, 2023
@edchapman88
Copy link
Collaborator

edchapman88 commented Aug 1, 2023

Suggested process:

  • Trader uses the wrapped Forager's posted_offer field to resolve possible trades (this process must ensure offers are still valid at this point)
  • As before, Trader's are ensured to only trade once using the traded vec
  • automatic resource consumption takes place
  • Forager takes an action based on agent_state (which now should include posted_offer)
  • check posted_offer is valid, given the inventory levels of the agent (if not, set to trivial - agent must learn which offers are possible given resource levels)

@edchapman88
Copy link
Collaborator

Useful analysis:

  • episode vs. automatic posted_offer cancellation (due to incorrectly judged offer action)
  • episode vs. average time with offer posted
  • episode vs. rate of successful trades

@edchapman88 edchapman88 linked a pull request Sep 15, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants