Skip to content

Commit

Permalink
Merge pull request #275 from mpelz/patch-3
Browse files Browse the repository at this point in the history
Update conditional_logic.rst
  • Loading branch information
Kim Scott committed Jul 21, 2021
2 parents 3c210a1 + 479e269 commit 1bd22d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/exp-frame-base/conditional_logic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ Here's an example where we have an experimental "procedure" that depends on cond
"title": "Thank you!",
"text": "Thank you for participating in this study. Your child was in the "
},
"generateProperties": "function(expData, sequence, child, pastSessions, conditions) {if (conditions['1-study-procedure']['conditionNum'] == 0) {return {'debriefing': {'title': 'Thank you!', 'text': 'Your child was in the cats condition.'}};} else {return {'debriefing': {'title': 'Thank you!', 'text': 'Your child was in the dogs condition.'}};} }"
"generateProperties": "function(expData, sequence, child, pastSessions, conditions) {if (conditions['0-study-procedure']['conditionNum'] == 0) {return {'debriefing': {'title': 'Thank you!', 'text': 'Your child was in the cats condition.'}};} else {return {'debriefing': {'title': 'Thank you!', 'text': 'Your child was in the dogs condition.'}};} }"
},
"study-procedure": {
"sampler": "random-parameter-set",
Expand Down Expand Up @@ -315,4 +315,4 @@ Here's an example where we have an experimental "procedure" that depends on cond
]
}
Your debriefing information could also take into account other factors - for instance, if you were conducting a give-N task, you could actually give an automatic estimate of the child's knower-level or show a chart of their responses! As an exercise, try personalizing the debriefing text to use the child's name.
Your debriefing information could also take into account other factors - for instance, if you were conducting a give-N task, you could actually give an automatic estimate of the child's knower-level or show a chart of their responses! As an exercise, try personalizing the debriefing text to use the child's name.

0 comments on commit 1bd22d3

Please sign in to comment.