# DPUBGOOD PARAMETER FILE #
# 

### Experiment Scope Parameters ###
exp.id=60
numOfMatches=2

#### Generic Match Scope Parameters ####
match.0.type=DPubGood
match.0.groupSize=3
match.0.maxRounds=999
match.0.exchangeRate=0.01

# show total payoff on the history panel[true|false]
match.0.showTotalPayoff=false

#[totalrandom|random|zipper|rr|continue|fixed|RiskAversion]
match.0.matching=totalrandom

# show the match ending display dialog [true|false]
match.0.displayFinishedInfo=false

# History panel display mode [full|tabbed]
match.0.defaultView=tabbed

# Whether to allow user switch history panel display modes [true|false]
match.0.viewSwitchable=false

# Whether to show the round number in the history panel (generally turn off if running single round matches)
match.0.showRoundNumber=false

# Whether or not the 0th match is a practice match or not.  Payoffs for 
# practice matches are not included in a participant's total
match.0.practice=true


######### DPUBGOOD Specific Match Scope Parameters ############

# if set to true, the program will ask subjects to divide pieSize units among
# the group, any way they choose
match.0.splitThePie=true
match.0.pieSize=120

# the quantity of public good that a person has decays at (1-decayRate)*quantity every round
match.0.decayRate=0.10

# people are paid by summing their take of the proposal and A*G_t^alpha
match.0.A=1
match.0.alpha=0.5

# the amount of public good that everyone starts with
match.0.initialPubGood=13

# the price at which people purchase public good
# (if pubGoodPrice=2 and the public good portion of the proposal is 60, people get 30 units of public good)
match.0.pubGoodPrice=1

# ONLY USED WHEN match.x.splitThePie=false
# the committee will decide on different policies, and get paid
# based on which policy is chosen
match.0.numPolicies=1
match.0.policy.0=30,30,30
match.0.policy.0.name=Wubba Wubba

match.0.minValue=0
match.0.maxValue=100




# the status quo is the policy at which the bargaining begins
# EX:  match.0.statusQuo=1 means that the bargaining begins from 
#      the policy described by match.0.policy.1 above
# IF SET to statusQuo=random, a status quo is generated randomly for this match
#        (each policy with equal probability)
match.0.statusQuo=random

# the distribution is used to pick which committee member gets to make a proposal
# the sum of the entries in the distribution should be 1
# IF THERE IS NO DISTRIBUTION SPECIFIED, A UNIFORM DISTRIBUTION IS USED
match.0.distribution=.333,.333,.333

# the votes required is the number of of votes required for a proposal to pass
match.0.votesRequired=2

# the method used to determine whether the match continues after each vote
# [manual|auto]
#    manual:  A dialog box appears on the server controller asking whether to 
#             end the match or continue voting (presumably with a monitor rolling dice
#             to determine whether to end or not)
#     auto:   The computer randomly picks whether to end or not, based on a probability 
#             parameter delta
match.0.continueMethod=manual

# the probability with which the match will continue after each vote
# (ONLY USED WHEN continueMethod=auto !!!!)
match.0.delta=0.5

# whether or not the GUI will zero-index player numbers
#    true:  zero-index player numbers in the GUI
#    false: one-index player numbers in the GUI
#
match.0.gui.zeroIndex=false

####### GUI Parameters #######
#the following variables can be used in the GUI parameters below this line:
#  %playerNum% - the player number of the actual player
#  %yesLabel% - the text entered for the yesButtonLabel
#  %noLabel% - the text entered for the noButtonLabel
#
match.0.gui.tableSQToken=*Standing Policy*
match.0.gui.tablePlayerToken=Member
match.0.gui.proposeTopLabel=<html><p>You are committee member %playerNum%.</p><p>Please make your provisional proposal.</p><p>The old public goods holding of %oldPG% has decayed to %PG%.</p><p>The Standing Policy is displayed below in <font color="blue">blue.</font></p><p>Your payoff for each proposal is shown below in <font color="red">red</font>.</p></html>
match.0.gui.proposeInstrLabel=<html>Please make your provisional proposal by dividing %pieSize% among the group members.</html>
match.0.gui.pieLeftLabel=Total
match.0.gui.piePlayerToken=A
match.0.gui.pGoodToken=Public Good

# The labelling of the graph of public good values
match.0.gui.graphTitleLabel=Value of Public Goods
match.0.gui.graphXLabelText=Quantity of Public Good
match.0.gui.graphYLabelText=Value

#the following variables can be used in the GUI parameters below this line:
#  %proposer% - the player number of the person whose provisional 
#               proposal was chosen to be the actual proposal
#  %proposal% - the name of the proposal chosen by the proposer
#  %sqName% - the name of the policy which is the current status quo
#  %numRequired% - the number of votes required for a proposal to pass
#  %vote% - the text of the label from the button that the player voted with ("yes" or "no" most cases)
#
match.0.gui.voteTopLabel=<html><p>You are committee member %playerNum%.</p><p>The proposer for this round was committee member %proposer%.</p><p>The proposer chose %proposal%, which is displayed below.</p><p>Your payoff for each proposal is shown in <font color="red">red</font>.</p></html>
match.0.gui.voteInstrLabel=<html><p>Please click the button below corresponding to your vote on this proposal.</p></html>
match.0.gui.yesButtonLabel=<html><font color="#BF34B4">Proposed Policy (%proposal%)</font></html>	
match.0.gui.noButtonLabel=<html><font color="blue">Standing Policy (%sqName%)</font></html>
# the abbreviations used in the history panel vote summary for each possible vote
match.0.gui.yesButtonLabelAbbreviation=Pr
match.0.gui.noButtonLabelAbbreviation=St

match.0.gui.waitLabel=<html>You voted for %vote%.  Please wait until everyone votes for the match to continue...</html>

#the following variables can be used in the GUI parameters below this line:
#  %yesVotes% - the number of group members who voted 'yes'
#  %noVotes% - the number of group members who voted 'no'
#  %winningProposal% - the name of the proposal which was the final accepted proposal
#                      (or the status quo if all rounds of voting were 'no')
#  %payoff% - the player's payoff for the winning proposal.
#
match.0.gui.updatePassLabel=<html><p>You are committee member %playerNum%.</p><p>There were %yesVotes% votes for the Proposed Policy and %noVotes% votes for the Standing Policy.</p><p>Since the Proposed Policy won a majority of votes, it will become the Standing Policy in the next round.</p></html>
match.0.gui.updateNotPassLabel=<html><p>You are committee member %playerNum%.</p><p>There were %yesVotes% votes for the Proposed Policy and %noVotes% votes for the Standing Policy.</p><p>Since the Standing Policy won a majority of votes, it will remain the Standing Policy in the next round.</p></html>
match.0.gui.payoffLabel=<html><p>You received your payoff value from %winningProposal%:  %policyPrivatePortion% + %A% * (%PG% + %policyPublicPortion%) ^ %alpha% = <font color="green">%payoff%</font></p></html>

match.0.gui.tableStatusQuoLabel=<html><font color="blue">Standing Policy</font></html>
match.0.gui.tableProposalLabel=<html><font color="#BF34B4">Proposed Policy</font></html>
match.0.gui.tableResultsLabel=Voting Results

match.0.gui.showRound=true
match.0.gui.showStatusQuo=true
match.0.gui.statusQuoHLabel=Standing Policy
match.0.gui.showYourNumber=true
match.0.gui.yourNumberHLabel=Your Member #
match.0.gui.showPG=true
match.0.gui.PGHLabel=Public Good Holdings
match.0.gui.showYourProposal=true
match.0.gui.yourProposalHLabel=Your Proposal
match.0.gui.showActualProposal=true
match.0.gui.actualProposalHLabel=Proposed Policy
match.0.gui.showProposer=true
match.0.gui.proposerHLabel=Proposer
match.0.gui.showYourVote=true
match.0.gui.yourVoteHLabel=Your Vote
match.0.gui.showVoteTotal=true
match.0.gui.voteTotalHLabel=Vote Totals
match.0.gui.showOutcome=true
match.0.gui.outcomeHLabel=Outcome
match.0.gui.showPayoff=true
match.0.gui.payoffHLabel=Payoff


#### SETTER-SPECIFIC PARAMETERS ####
match.1.groupSize=3
match.1.type=Setter
# the amount a player gets paid if the proposal fails
match.1.defaultPayoff=12

# the 'favorite numbers' for every committee in each round
# Should be a series of groupSize numbers in [0,100]
match.1.round.0.favNumbers=20,40,60
match.1.round.1.favNumbers=21,41,61
