47 lines
759 B
JavaScript
47 lines
759 B
JavaScript
export const psychForm = {
|
|
|
|
name: "Psycological Safety",
|
|
|
|
steps: [{
|
|
prompt: "If you make a mistake on this team, it's held against you.",
|
|
fields: [{
|
|
type: "range",
|
|
value: null,
|
|
}],
|
|
},
|
|
{
|
|
prompt: "It is safe to take a risk on this team.",
|
|
fields: [{
|
|
type: "range",
|
|
value: null,
|
|
}]
|
|
},
|
|
{
|
|
prompt: "Working with members on this team, my talents are valued.",
|
|
fields: [{
|
|
type: "range",
|
|
value: null,
|
|
}]
|
|
}],
|
|
|
|
}
|
|
|
|
|
|
// algo: () => {
|
|
|
|
// const values = [];
|
|
|
|
// steps.forEach(s => {
|
|
|
|
// s.fields.forEach(f => {
|
|
|
|
// values.push(f.value);
|
|
|
|
// });
|
|
|
|
// });
|
|
|
|
// const sum = values.reduce((p, c) => p + c, 0);
|
|
|
|
// return sum / values.length;
|
|
// }
|