NoReplyNeeded -> needsReply
This commit is contained in:
parent
47db17688d
commit
f446514ebe
2 changed files with 2 additions and 2 deletions
|
@ -267,7 +267,7 @@ class Condition(object):
|
||||||
|
|
||||||
# update stats:
|
# update stats:
|
||||||
story.stats['timeouts'] +=1
|
story.stats['timeouts'] +=1
|
||||||
if 'noReplyNeeded' not in self.vars or self.vars['noReplyNeeded'] is False:
|
if 'needsReply' in self.vars and self.vars['needsReply'] is True:
|
||||||
if story.currentReply is None or not story.currentReply.hasUtterances():
|
if story.currentReply is None or not story.currentReply.hasUtterances():
|
||||||
story.stats['silentTimeouts'] +=1
|
story.stats['silentTimeouts'] +=1
|
||||||
story.stats['consecutiveSilentTimeouts'] += 1
|
story.stats['consecutiveSilentTimeouts'] += 1
|
||||||
|
|
|
@ -927,7 +927,7 @@ class Graph {
|
||||||
'timeout': {
|
'timeout': {
|
||||||
'seconds': { 'type': 'number', 'value': 10, 'min': 0, 'step': 0.1, 'unit': "s" },
|
'seconds': { 'type': 'number', 'value': 10, 'min': 0, 'step': 0.1, 'unit': "s" },
|
||||||
'onlyIfNoReply': { 'type': 'checkbox', label: "Only if no reply", "title": "This timeout is only used if the participant doesn't say a word. If the participant starts speaking within the time of this timeout condition, only other conditions are applicable." },
|
'onlyIfNoReply': { 'type': 'checkbox', label: "Only if no reply", "title": "This timeout is only used if the participant doesn't say a word. If the participant starts speaking within the time of this timeout condition, only other conditions are applicable." },
|
||||||
'noReplyNeeded': { 'type': 'checkbox', label: "No reply needed", "title": "If checked, the timeout is not counted for consecutive-timeouts (for diversions)." },
|
'needsReply': { 'type': 'checkbox', label: "Reply needed", "title": "If checked, the timeout is counted if met. Used by consecutive-timeouts diversions." },
|
||||||
},
|
},
|
||||||
'replyContains': {
|
'replyContains': {
|
||||||
'delays.0.minReplyDuration': { 'type': 'number', 'value': 0, 'min': 0, 'step': 0.1, 'label': 'Delay 1 - reply duration', 'unit': "s", 'readonly': 'readonly' },
|
'delays.0.minReplyDuration': { 'type': 'number', 'value': 0, 'min': 0, 'step': 0.1, 'label': 'Delay 1 - reply duration', 'unit': "s", 'readonly': 'readonly' },
|
||||||
|
|
Loading…
Reference in a new issue