Skip to content

Commit 1ea8eed

Browse files
committed
Update random payment to average payment (instructions + boolean)
1 parent 5164e6a commit 1ea8eed

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

frontend/src/shared/templates/chip_negotiation.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ const CHIP_INFO_STAGE_GAMEPLAY_AI_ASSISTANCE = createInfoStage({
541541
function createChipInfoPayout(numChips: number) {
542542
const infoLines = [
543543
'## Bonus payment',
544-
'At the end of the study, we will *randomly* pick one of the three negotiation games you played and give you a bonus payment from that game, **up to $10 USD.**',
544+
'At the end of the study, we will *average* the money you earned across the three negotiation games, **up to $10 USD.**',
545545
'There are two important features to remember about the bonus:',
546546
' * The bonus will be equivalent to how much money you earn through trading *beyond* what you start with.',
547547
' * If you do not complete all games, you will not receive a bonus payment.',
@@ -573,7 +573,7 @@ function createChipInfoPayout(numChips: number) {
573573
endingValue,
574574
`You would receive ${bonus} as a bonus for the first game.`,
575575
'If you did not increase the value of your chips, you would not receive a bonus.',
576-
'\n**Your total bonus will be randomly selected from one of the games.**',
576+
'\n**Your total bonus will be averaged from your bonus payout across the three games.**',
577577
'\nThe exact values will depend on your random chip valuations and your final holdings, so your payment may differ from this example.',
578578
'\nThis payment is in addition to the base payment for participating.',
579579
);
@@ -772,22 +772,22 @@ export function createPayoutItems() {
772772

773773
const game1 = createChipPayoutItem({
774774
randomSelectionId: RANDOM_SELECTION_ID,
775-
name: 'Payout from game 1 (one game was randomly selected)',
775+
name: 'Payout from game 1',
776776
stageId: CHIP_NEGOTIATION_COACH_ID,
777777
baseCurrencyAmount: 0,
778778
});
779779

780780
const game2 = createChipPayoutItem({
781781
randomSelectionId: RANDOM_SELECTION_ID,
782-
name: 'Payout from game 2 (one game was randomly selected)',
782+
name: 'Payout from game 2',
783783
stageId: CHIP_NEGOTIATION_ADVISOR_ID,
784784
baseCurrencyAmount: 0,
785785
});
786786

787787
// Add the game 3
788788
const game3 = createChipPayoutItem({
789789
randomSelectionId: RANDOM_SELECTION_ID,
790-
name: 'Payout from game 3 (one game was randomly selected)',
790+
name: 'Payout from game 3',
791791
stageId: CHIP_NEGOTIATION_DELEGATE_ID,
792792
baseCurrencyAmount: 0,
793793
});
@@ -796,8 +796,9 @@ export function createPayoutItems() {
796796
}
797797

798798
const CHIP_PAYOUT_STAGE = createPayoutStage({
799-
id: 'random_payout',
799+
id: 'average_payout',
800800
payoutItems: createPayoutItems(),
801+
averageAllPayoutItems: true,
801802
});
802803

803804
// ****************************************************************************

0 commit comments

Comments
 (0)