Using Action-based to create repeatable reward only when the action is executed

Open
#299 1 comment 0 reactions 1 assignee View on GitHub

@MarcCote is already working on this.

Since May 13, 2022.

Assessment

This issue has not been assessed yet.

Description

bug

Hi @MarcCote we have a follow-up question on issue #296 . Is there a way to make the reward repeatable but only occur once with the action? The problem when I tested the "eat apple", "take apple" approach is that the reward keeps occurring as long as the apple is in the inventory (i.e. until "drop apple"). We want the quest to be repeatable so that the agent is rewarded with each time it takes the apple, but only with the action "take". Is there a way to do that?

Dominant language
Jupyter Notebook
Stars
1.4k
Forks
207
Avg merge
8d 22h
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/TextWorld

All issues in microsoft/TextWorld

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.