This repository has been archived by the owner on Nov 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Add UBI Component #19
Open
sarahlc888
wants to merge
8
commits into
salesforce:master
Choose a base branch
from
sarahlc888:master
base: master
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Commits on Feb 12, 2021
-
Create a UBI component that distributions a constant amount of coin to each mobile agent every period, drawing from the planner agent's coin endowment (which currently can run into the negatives).
Configuration menu - View commit details
-
Copy full SHA for 84d6b67 - Browse repository at this point
Copy the full SHA 84d6b67View commit details -
Add action space to UBI component
Allow the planner agent to determine the UBI payment amount. In more detail: Convert UBI to have discretized amounts that the planner can choose from, define get_n_actions() to allow the planner’s actions to determine UBI payment amount, and define set_new_period_amt_model() to update the UBI payment amount each period.
Configuration menu - View commit details
-
Copy full SHA for c304e1a - Browse repository at this point
Copy the full SHA c304e1aView commit details -
Add observations in UBI component
Allow the planner and mobile agents to see the position in the UBI cycle as well as the UBI amount and previous UBI amount. Track the UBI payment amount of the previous step to use in observations. Also add additional reset steps (for correctness).
Configuration menu - View commit details
-
Copy full SHA for 183d2bf - Browse repository at this point
Copy the full SHA 183d2bfView commit details -
Add action mask and logging for UBI
Restrict planner actions so that the agent can only act/modify UBI on the appropriate day of the cycle. Also add logging that shows the size of UBI payments used at each time step.
Configuration menu - View commit details
-
Copy full SHA for 018bdd2 - Browse repository at this point
Copy the full SHA 018bdd2View commit details -
Create a version of PeriodicBracketTax that does not do lumpsum redistribution and instead adds revenue to the planner agent's coin endowment.
Configuration menu - View commit details
-
Copy full SHA for 1a38355 - Browse repository at this point
Copy the full SHA 1a38355View commit details
Commits on Feb 19, 2021
-
Fix bugs after testing UBI and SimpleRevenue components. Both appear to run and seem in working order.
Configuration menu - View commit details
-
Copy full SHA for fc28911 - Browse repository at this point
Copy the full SHA fc28911View commit details -
Require planner to choose a UBI payment amount that its current coin endowment can pay out without becoming negative. Also edit the NO-OP operation so that it sets UBI to 0. (Otherwise, maintaining a UBI rate may drive planner coin into the negatives.) This may change though.
Configuration menu - View commit details
-
Copy full SHA for 97f3860 - Browse repository at this point
Copy the full SHA 97f3860View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48b0376 - Browse repository at this point
Copy the full SHA 48b0376View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.