feat: 完善中文心理测评平台

This commit is contained in:
mikemoi
2026-06-22 22:59:01 +02:00
commit 9227c687fc
160 changed files with 16974 additions and 0 deletions
+92
View File
@@ -0,0 +1,92 @@
import { Questionnaire } from '@/types';
const optionsByQuestion: Record<number, { id: number; content: string; value: string }[]> = {
1: [
{ id: 1, content: '0.10元', value: 'A' },
{ id: 2, content: '0.05元', value: 'B' },
{ id: 3, content: '0.01元', value: 'C' },
{ id: 4, content: '0.50元', value: 'D' },
],
2: [
{ id: 1, content: '5分钟', value: 'A' },
{ id: 2, content: '20分钟', value: 'B' },
{ id: 3, content: '100分钟', value: 'C' },
{ id: 4, content: '500分钟', value: 'D' },
],
3: [
{ id: 1, content: '24天', value: 'A' },
{ id: 2, content: '47天', value: 'B' },
{ id: 3, content: '48天', value: 'C' },
{ id: 4, content: '12天', value: 'D' },
],
4: [
{ id: 1, content: '4天', value: 'A' },
{ id: 2, content: '6天', value: 'B' },
{ id: 3, content: '9天', value: 'C' },
{ id: 4, content: '18天', value: 'D' },
],
5: [
{ id: 1, content: '30人', value: 'A' },
{ id: 2, content: '29人', value: 'B' },
{ id: 3, content: '31人', value: 'C' },
{ id: 4, content: '15人', value: 'D' },
],
6: [
{ id: 1, content: '10元', value: 'A' },
{ id: 2, content: '20元', value: 'B' },
{ id: 3, content: '0元', value: 'C' },
{ id: 4, content: '30元', value: 'D' },
],
7: [
{ id: 1, content: '第一名', value: 'A' },
{ id: 2, content: '第二名', value: 'B' },
{ id: 3, content: '第三名', value: 'C' },
{ id: 4, content: '无法判断', value: 'D' },
],
};
export const crt: Questionnaire = {
id: 'crt',
title: 'CRT 认知反思测试(7题)',
description: '评估抑制直觉答案、进行反思推理的倾向',
category: '认知',
tags: [],
time: '3-6分钟',
details: {
introduction:
'CRT 用于观察人在面对直觉上很容易答错的问题时,是否会停下来重新检查并进行反思推理。本项目采用7题单选版,方便在当前测评工具中作答和计分。',
questionCount: '7个项目',
evaluationTime: '通常为3-6分钟',
instructions:
'请不要急着选择第一眼看到的答案。每题只有一个正确答案,建议在心里算清楚后再作答。',
scoringMethod: [
'每题答对1分,答错0分,总分0-7分。',
'分数越高,表示越能抑制直觉错误并进行反思推理。',
'CRT 会受到题目熟悉度、数学经验和注意力状态影响。',
],
dimensions: [
{ name: '认知反思', description: '发现直觉答案可能错误,并切换到更慢、更审慎的推理。' },
],
notes: [
'CRT 不是完整智力测验,也不能代表全部认知能力。',
'如果之前见过题目,结果会明显偏高。',
'建议把结果作为思维风格参考,而不是能力标签。',
],
references: [
{
text: 'Frederick, S. (2005). Cognitive Reflection and Decision Making.',
url: 'https://sjdm.org/dmidi/Cognitive_Reflection_Test.html',
},
],
},
questions: [
{ id: 1, content: '球拍和球一共1.10元。球拍比球贵1.00元。球多少钱?' },
{ id: 2, content: '5台机器用5分钟生产5个零件。100台机器生产100个零件需要多久?' },
{ id: 3, content: '湖里有一片睡莲,每天面积翻倍。48天覆盖整个湖,覆盖半个湖需要多少天?' },
{ id: 4, content: '小明6天喝完一桶水,小红12天喝完一桶水。两人一起喝完一桶水需要多久?' },
{ id: 5, content: '小李考试成绩是全班第15高,同时也是第15低。班上一共有多少人?' },
{ id: 6, content: '一个人60元买入一只猪,70元卖出;又80元买回,90元卖出。总共赚了多少钱?' },
{ id: 7, content: '跑步比赛中,你超过了第二名。现在你是第几名?' },
],
renderOptions: (id: number) => optionsByQuestion[id] || optionsByQuestion[1],
};