Some answers came very fast, were all the same, or pointed in opposite directions, so these results may be less exact.
`:""}
Not a grade. A starting point for a conversation.
`;
requestAnimationFrame(()=>setTimeout(()=>R.querySelectorAll(".sr-row i").forEach(i=>i.style.width=i.dataset.w+"%"),60));
document.getElementById("srprint").onclick=()=>window.print();
document.getElementById("srredo").onclick=o.redo;
show("results");
}
function results(){
const {lanes, idx, flags} = score();
const exitI = EXITS.reduce((a,e,i)=> idx>=e.min?i:a,0), ex=EXITS[exitI];
const sorted=[...lanes].sort((a,b)=>b.pct-a.pct);
const strong=sorted.slice(0,2), weak=sorted.slice(-2).reverse();
const C=['#0E5E3F','#1D4F91'], W=['#B5650A','#9A4700'];
SR({eyebrow:`Your results · Chapter 1${group?' · '+group.replace(/[<>&]/g,''):''}`, title:`Group or team? ${ex.name}`, sub:ex.line,
areas:lanes.map((l,i)=>({name:l.name,hex:['#0E5E3F','#1D4F91','#7A45D1','#B5650A','#C0392B'][i],pct:l.pct})),strong:strong.map((l,i)=>({name:l.name,hex:C[i],line:l.best})),
weak:weak.map((l,i)=>({name:l.name,hex:W[i],line:'',tr:l.try})),
qs:[{"tag": "Pairs", "q": "Tell your partner about the best team you have ever been on. What made it a team and not just a group?"}, {"tag": "Pairs", "q": "Swap your lowest area. Would your manager guess the same weak spot for your group? Would they be right?"}, {"tag": "Whole class", "q": "Take a side: most meetings at your workplace could have been an email. Agree or disagree, and defend it."}, {"tag": "Whole class", "q": "How a group talks predicts success better than how smart its members are. Should companies hire for conversation skills over raw talent?"}],
flag:flags.length>0,
redo:()=>{ $('gname').value=''; checkStart(); show('intro'); }});
}
function SR(o){
const R=document.getElementById("results");
const card=x=>`
Some answers came very fast, were all the same, or pointed in opposite directions, so these results may be less exact.
`:""}
Not a grade. A starting point for a conversation.
`;
requestAnimationFrame(()=>setTimeout(()=>R.querySelectorAll(".sr-row i").forEach(i=>i.style.width=i.dataset.w+"%"),60));
document.getElementById("srprint").onclick=()=>window.print();
document.getElementById("srredo").onclick=o.redo;
show("results");
}
function results(){
const {lanes, idx, flags} = score();
const exitI = EXITS.reduce((a,e,i)=> idx>=e.min?i:a,0), ex=EXITS[exitI];
const sorted=[...lanes].sort((a,b)=>b.pct-a.pct);
const strong=sorted.slice(0,2), weak=sorted.slice(-2).reverse();
const C=['#0E5E3F','#1D4F91'], W=['#B5650A','#9A4700'];
SR({eyebrow:`Your results · Chapter 1${group?' · '+group.replace(/[<>&]/g,''):''}`, title:`Group or team? ${ex.name}`, sub:ex.line,
areas:lanes.map((l,i)=>({name:l.name,hex:['#0E5E3F','#1D4F91','#7A45D1','#B5650A','#C0392B'][i],pct:l.pct})),strong:strong.map((l,i)=>({name:l.name,hex:C[i],line:l.best})),
weak:weak.map((l,i)=>({name:l.name,hex:W[i],line:'',tr:l.try})),
qs:[{"tag": "Pairs", "q": "Tell your partner about the best team you have ever been on. What made it a team and not just a group?"}, {"tag": "Pairs", "q": "Swap your lowest area. Would your manager guess the same weak spot for your group? Would they be right?"}, {"tag": "Whole class", "q": "Take a side: most meetings at your workplace could have been an email. Agree or disagree, and defend it."}, {"tag": "Whole class", "q": "How a group talks predicts success better than how smart its members are. Should companies hire for conversation skills over raw talent?"}],
flag:flags.length>0,
redo:()=>{ $('gname').value=''; checkStart(); show('intro'); }});
}
function SR(o){
const R=document.getElementById("results");
const card=x=>`
Some answers came very fast, were all the same, or pointed in opposite directions, so these results may be less exact.
`:""}
Not a grade. A starting point for a conversation.
`;
requestAnimationFrame(()=>setTimeout(()=>R.querySelectorAll(".sr-row i").forEach(i=>i.style.width=i.dataset.w+"%"),60));
document.getElementById("srprint").onclick=()=>window.print();
document.getElementById("srredo").onclick=o.redo;
show("results");
}
function results(){
const {lanes, idx, flags} = score();
const exitI = EXITS.reduce((a,e,i)=> idx>=e.min?i:a,0), ex=EXITS[exitI];
const sorted=[...lanes].sort((a,b)=>b.pct-a.pct);
const strong=sorted.slice(0,2), weak=sorted.slice(-2).reverse();
const C=['#0E5E3F','#1D4F91'], W=['#B5650A','#9A4700'];
SR({eyebrow:`Your results · Chapter 1${group?' · '+group.replace(/[<>&]/g,''):''}`, title:`Group or team? ${ex.name}`, sub:ex.line,
areas:lanes.map((l,i)=>({name:l.name,hex:['#0E5E3F','#1D4F91','#7A45D1','#B5650A','#C0392B'][i],pct:l.pct})),strong:strong.map((l,i)=>({name:l.name,hex:C[i],line:l.best})),
weak:weak.map((l,i)=>({name:l.name,hex:W[i],line:'',tr:l.try})),
qs:[{"tag": "Pairs", "q": "Tell your partner about the best team you have ever been on. What made it a team and not just a group?"}, {"tag": "Pairs", "q": "Swap your lowest area. Would your manager guess the same weak spot for your group? Would they be right?"}, {"tag": "Whole class", "q": "Take a side: most meetings at your workplace could have been an email. Agree or disagree, and defend it."}, {"tag": "Whole class", "q": "How a group talks predicts success better than how smart its members are. Should companies hire for conversation skills over raw talent?"}],
flag:flags.length>0,
redo:()=>{ $('gname').value=''; checkStart(); show('intro'); }});
}