latest alpha and trigger

This commit is contained in:
Andrew Clark 2020-08-14 14:55:29 -04:00
parent 752a8f9bb1
commit 60db146eb5
7 changed files with 408 additions and 1296 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -9,17 +9,41 @@ initial_values = {
'supply': 22392.22, # Honey total supply balance as of 8-5-2020
}
# andrew TODO
# <There alpha to their half life then rescale half life to our alpha >
# Explaing how alpha works, refine alpha notebook and v3.
# Alpha from solidity code - uint256 _decay = 9999599; // 3 days halftime. halftime_alpha = (1/2)**(1/t)
# Half life associated with solidity code alpha (in number of blocks on xDai).
# Our simulation is associated with timesteps, so our half life is based of of days.
# Parameters
params = {
'beta': [0.2], # maximum share of funds a proposal can take
'rho': [0.0025], # tuning param for the trigger function
'alpha': [0.875], # timescale set in days with 3 day halflife (from comments in contract comments)
'alpha': [2**(-1/3)], # timescale set in days with 3 day halflife (see above)
'gamma': [0.001], # expansion of supply per per day
'sensitivity': [.75],
'tmin': [1], #unit days; minimum periods passed before a proposal can pass
'min_supp': [1], #number of tokens that must be stake for a proposal to be a candidate
'base_completion_rate': [45],
'base_failure_rate': [180],
'base_engagement_rate' :[0.3],
'lowest_affinity_to_support': [0.3],
}
'base_completion_rate': [45], # expected number of days to complete a proposals.
'base_failure_rate': [180], # expected number of days until a proposal will fail
'base_engagement_rate' :[0.3], # Probability of being active on a certain day if 100% sentiment (Andrew AUDIT)
'lowest_affinity_to_support': [0.3], # lowest affinity to required to support a proposal
}
# Pull out trigger stuff from v3 and add to notebook. Link to and trigger notebook.
# ANDREW AUDIT explanations
# add metrics - think about health matrics of the system
# fraction of supply of use for voting (effectiev supply over total supply)
# fraction of supply in the funding pool
# fraction of projects that are active vs completed vs killed
# Fraction of projects in each of the states
# fraction of money in the different states
# cadCAD model is micro founded, metrics are macro or at the insitutional level. If you are interested in insitutional dynamics, link to cryptoeconomics paper
# write what metrics are: views on a complex data structure.
# Update differential spec