An easy-to-use platform for EEG experimentation in the classroom
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

display of information

authored by

Yury Shevchenko and committed by
Teon L Brooks
320cf87a 11c1dbc5

+5 -5
+1 -1
app/components/styles/common.css
··· 68 68 } 69 69 70 70 .plotSegment { 71 - padding: 20% !important; 71 + padding: 0% !important; 72 72 font-size: 18px !important; 73 73 } 74 74
+4 -4
app/utils/behavior/compute.js
··· 22 22 let accuracy = e 23 23 .filter(row => row.condition === condition && row.correct) 24 24 .map(row => row.correct) 25 - accuracyPercent[condition] = accuracy.length ? accuracy.length / 1.5 : ss.mean(e.filter(r => r.condition === condition).map(r => r.accuracy)); 25 + accuracyPercent[condition] = accuracy.length ? accuracy.length / 0.75 : ss.mean(e.filter(r => r.condition === condition).map(r => r.accuracy)); 26 26 } 27 27 return { 28 28 subject: e.map(r => r.subject)[0], ··· 165 165 if(d.filter(l => l.accuracy).length > 0){ 166 166 return d.map(l => l.accuracy) 167 167 } else { 168 - return d.length / 1.5 168 + return d.length / 0.75 169 169 } 170 170 }).reduce( (acc, item) => acc.concat(item), []); 171 171 const xRaw = correctDataForCondition.map(d => { ··· 201 201 }) 202 202 } else { 203 203 return ({ 204 - accuracy: d.length / 1.5, 204 + accuracy: d.length / 0.75, 205 205 subject: d.map(r => r.subject)[0], 206 206 }) 207 207 } ··· 233 233 if(d.filter(l => l.accuracy).length > 0){ 234 234 return d.map(l => l.accuracy) 235 235 } else { 236 - return d.length / 1.5 236 + return d.length / 0.75 237 237 } 238 238 }).reduce( (acc, item) => acc.concat(item), []); 239 239 const xRaw = correctDataForCondition.map(d => {