psytools 0.3.2 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (227) hide show
  1. package/README.md +54 -17
  2. package/SOURCES.md +5 -1
  3. package/dist/cjs/assessment.d.ts +6 -4
  4. package/dist/cjs/assessment.js +10 -6
  5. package/dist/cjs/errors.d.ts +4 -2
  6. package/dist/cjs/evaluation.d.ts +10 -5
  7. package/dist/cjs/evaluation.js +68 -31
  8. package/dist/cjs/i18n.d.ts +22 -2
  9. package/dist/cjs/i18n.js +138 -2
  10. package/dist/cjs/index.d.ts +6 -2
  11. package/dist/cjs/index.js +20 -15
  12. package/dist/cjs/inventories/aq10.js +5 -35
  13. package/dist/cjs/inventories/asrs6.js +6 -28
  14. package/dist/cjs/inventories/audit.js +39 -56
  15. package/dist/cjs/inventories/common.js +0 -10
  16. package/dist/cjs/inventories/dass21.js +19 -75
  17. package/dist/cjs/inventories/gad7.js +5 -23
  18. package/dist/cjs/inventories/index.d.ts +11 -2
  19. package/dist/cjs/inventories/index.js +22 -3
  20. package/dist/cjs/inventories/mini-ipip.js +25 -59
  21. package/dist/cjs/inventories/phq9.js +6 -30
  22. package/dist/cjs/inventories/who5.js +5 -31
  23. package/dist/cjs/locales/de/aq10.d.ts +4 -0
  24. package/dist/cjs/locales/de/aq10.js +53 -0
  25. package/dist/cjs/locales/de/asrs6.d.ts +4 -0
  26. package/dist/cjs/locales/de/asrs6.js +42 -0
  27. package/dist/cjs/locales/de/audit.d.ts +4 -0
  28. package/dist/cjs/locales/de/audit.js +80 -0
  29. package/dist/cjs/locales/de/dass21.d.ts +4 -0
  30. package/dist/cjs/locales/de/dass21.js +114 -0
  31. package/dist/cjs/locales/de/gad7.d.ts +4 -0
  32. package/dist/cjs/locales/de/gad7.js +46 -0
  33. package/dist/cjs/locales/de/mini-ipip.d.ts +4 -0
  34. package/dist/cjs/locales/de/mini-ipip.js +97 -0
  35. package/dist/cjs/locales/de/phq9.d.ts +4 -0
  36. package/dist/cjs/locales/de/phq9.js +56 -0
  37. package/dist/cjs/locales/de/who5.d.ts +4 -0
  38. package/dist/cjs/locales/de/who5.js +41 -0
  39. package/dist/cjs/locales/es/aq10.d.ts +4 -0
  40. package/dist/cjs/locales/es/aq10.js +53 -0
  41. package/dist/cjs/locales/es/asrs6.d.ts +4 -0
  42. package/dist/cjs/locales/es/asrs6.js +42 -0
  43. package/dist/cjs/locales/es/audit.d.ts +4 -0
  44. package/dist/cjs/locales/es/audit.js +80 -0
  45. package/dist/cjs/locales/es/dass21.d.ts +4 -0
  46. package/dist/cjs/locales/es/dass21.js +114 -0
  47. package/dist/cjs/locales/es/gad7.d.ts +4 -0
  48. package/dist/cjs/locales/es/gad7.js +46 -0
  49. package/dist/cjs/locales/es/mini-ipip.d.ts +4 -0
  50. package/dist/cjs/locales/es/mini-ipip.js +97 -0
  51. package/dist/cjs/locales/es/phq9.d.ts +4 -0
  52. package/dist/cjs/locales/es/phq9.js +56 -0
  53. package/dist/cjs/locales/es/who5.d.ts +4 -0
  54. package/dist/cjs/locales/es/who5.js +41 -0
  55. package/dist/cjs/locales/index.d.ts +12 -0
  56. package/dist/cjs/locales/index.js +63 -0
  57. package/dist/cjs/locales/tr/aq10.d.ts +4 -0
  58. package/dist/cjs/locales/tr/aq10.js +53 -0
  59. package/dist/cjs/locales/tr/asrs6.d.ts +4 -0
  60. package/dist/cjs/locales/tr/asrs6.js +42 -0
  61. package/dist/cjs/locales/tr/audit.d.ts +4 -0
  62. package/dist/cjs/locales/tr/audit.js +80 -0
  63. package/dist/cjs/locales/tr/dass21.d.ts +4 -0
  64. package/dist/cjs/locales/tr/dass21.js +114 -0
  65. package/dist/cjs/locales/tr/gad7.d.ts +4 -0
  66. package/dist/cjs/locales/tr/gad7.js +46 -0
  67. package/dist/cjs/locales/tr/mini-ipip.d.ts +4 -0
  68. package/dist/cjs/locales/tr/mini-ipip.js +97 -0
  69. package/dist/cjs/locales/tr/phq9.d.ts +4 -0
  70. package/dist/cjs/locales/tr/phq9.js +56 -0
  71. package/dist/cjs/locales/tr/who5.d.ts +4 -0
  72. package/dist/cjs/locales/tr/who5.js +41 -0
  73. package/dist/cjs/locales/zh/aq10.d.ts +4 -0
  74. package/dist/cjs/locales/zh/aq10.js +53 -0
  75. package/dist/cjs/locales/zh/asrs6.d.ts +4 -0
  76. package/dist/cjs/locales/zh/asrs6.js +42 -0
  77. package/dist/cjs/locales/zh/audit.d.ts +4 -0
  78. package/dist/cjs/locales/zh/audit.js +80 -0
  79. package/dist/cjs/locales/zh/dass21.d.ts +4 -0
  80. package/dist/cjs/locales/zh/dass21.js +114 -0
  81. package/dist/cjs/locales/zh/gad7.d.ts +4 -0
  82. package/dist/cjs/locales/zh/gad7.js +46 -0
  83. package/dist/cjs/locales/zh/mini-ipip.d.ts +4 -0
  84. package/dist/cjs/locales/zh/mini-ipip.js +97 -0
  85. package/dist/cjs/locales/zh/phq9.d.ts +4 -0
  86. package/dist/cjs/locales/zh/phq9.js +56 -0
  87. package/dist/cjs/locales/zh/who5.d.ts +4 -0
  88. package/dist/cjs/locales/zh/who5.js +41 -0
  89. package/dist/cjs/types.d.ts +60 -1
  90. package/dist/esm/assessment.d.ts +6 -4
  91. package/dist/esm/assessment.js +11 -7
  92. package/dist/esm/errors.d.ts +4 -2
  93. package/dist/esm/evaluation.d.ts +10 -5
  94. package/dist/esm/evaluation.js +68 -31
  95. package/dist/esm/i18n.d.ts +22 -2
  96. package/dist/esm/i18n.js +135 -1
  97. package/dist/esm/index.d.ts +6 -2
  98. package/dist/esm/index.js +2 -1
  99. package/dist/esm/inventories/aq10.js +5 -35
  100. package/dist/esm/inventories/asrs6.js +6 -28
  101. package/dist/esm/inventories/audit.js +39 -56
  102. package/dist/esm/inventories/common.js +0 -10
  103. package/dist/esm/inventories/dass21.js +19 -75
  104. package/dist/esm/inventories/gad7.js +5 -23
  105. package/dist/esm/inventories/index.d.ts +11 -2
  106. package/dist/esm/inventories/index.js +22 -3
  107. package/dist/esm/inventories/mini-ipip.js +25 -59
  108. package/dist/esm/inventories/phq9.js +6 -30
  109. package/dist/esm/inventories/who5.js +5 -31
  110. package/dist/esm/locales/de/aq10.d.ts +4 -0
  111. package/dist/esm/locales/de/aq10.js +51 -0
  112. package/dist/esm/locales/de/asrs6.d.ts +4 -0
  113. package/dist/esm/locales/de/asrs6.js +40 -0
  114. package/dist/esm/locales/de/audit.d.ts +4 -0
  115. package/dist/esm/locales/de/audit.js +78 -0
  116. package/dist/esm/locales/de/dass21.d.ts +4 -0
  117. package/dist/esm/locales/de/dass21.js +112 -0
  118. package/dist/esm/locales/de/gad7.d.ts +4 -0
  119. package/dist/esm/locales/de/gad7.js +44 -0
  120. package/dist/esm/locales/de/mini-ipip.d.ts +4 -0
  121. package/dist/esm/locales/de/mini-ipip.js +95 -0
  122. package/dist/esm/locales/de/phq9.d.ts +4 -0
  123. package/dist/esm/locales/de/phq9.js +54 -0
  124. package/dist/esm/locales/de/who5.d.ts +4 -0
  125. package/dist/esm/locales/de/who5.js +39 -0
  126. package/dist/esm/locales/es/aq10.d.ts +4 -0
  127. package/dist/esm/locales/es/aq10.js +51 -0
  128. package/dist/esm/locales/es/asrs6.d.ts +4 -0
  129. package/dist/esm/locales/es/asrs6.js +40 -0
  130. package/dist/esm/locales/es/audit.d.ts +4 -0
  131. package/dist/esm/locales/es/audit.js +78 -0
  132. package/dist/esm/locales/es/dass21.d.ts +4 -0
  133. package/dist/esm/locales/es/dass21.js +112 -0
  134. package/dist/esm/locales/es/gad7.d.ts +4 -0
  135. package/dist/esm/locales/es/gad7.js +44 -0
  136. package/dist/esm/locales/es/mini-ipip.d.ts +4 -0
  137. package/dist/esm/locales/es/mini-ipip.js +95 -0
  138. package/dist/esm/locales/es/phq9.d.ts +4 -0
  139. package/dist/esm/locales/es/phq9.js +54 -0
  140. package/dist/esm/locales/es/who5.d.ts +4 -0
  141. package/dist/esm/locales/es/who5.js +39 -0
  142. package/dist/esm/locales/index.d.ts +12 -0
  143. package/dist/esm/locales/index.js +59 -0
  144. package/dist/esm/locales/tr/aq10.d.ts +4 -0
  145. package/dist/esm/locales/tr/aq10.js +51 -0
  146. package/dist/esm/locales/tr/asrs6.d.ts +4 -0
  147. package/dist/esm/locales/tr/asrs6.js +40 -0
  148. package/dist/esm/locales/tr/audit.d.ts +4 -0
  149. package/dist/esm/locales/tr/audit.js +78 -0
  150. package/dist/esm/locales/tr/dass21.d.ts +4 -0
  151. package/dist/esm/locales/tr/dass21.js +112 -0
  152. package/dist/esm/locales/tr/gad7.d.ts +4 -0
  153. package/dist/esm/locales/tr/gad7.js +44 -0
  154. package/dist/esm/locales/tr/mini-ipip.d.ts +4 -0
  155. package/dist/esm/locales/tr/mini-ipip.js +95 -0
  156. package/dist/esm/locales/tr/phq9.d.ts +4 -0
  157. package/dist/esm/locales/tr/phq9.js +54 -0
  158. package/dist/esm/locales/tr/who5.d.ts +4 -0
  159. package/dist/esm/locales/tr/who5.js +39 -0
  160. package/dist/esm/locales/zh/aq10.d.ts +4 -0
  161. package/dist/esm/locales/zh/aq10.js +51 -0
  162. package/dist/esm/locales/zh/asrs6.d.ts +4 -0
  163. package/dist/esm/locales/zh/asrs6.js +40 -0
  164. package/dist/esm/locales/zh/audit.d.ts +4 -0
  165. package/dist/esm/locales/zh/audit.js +78 -0
  166. package/dist/esm/locales/zh/dass21.d.ts +4 -0
  167. package/dist/esm/locales/zh/dass21.js +112 -0
  168. package/dist/esm/locales/zh/gad7.d.ts +4 -0
  169. package/dist/esm/locales/zh/gad7.js +44 -0
  170. package/dist/esm/locales/zh/mini-ipip.d.ts +4 -0
  171. package/dist/esm/locales/zh/mini-ipip.js +95 -0
  172. package/dist/esm/locales/zh/phq9.d.ts +4 -0
  173. package/dist/esm/locales/zh/phq9.js +54 -0
  174. package/dist/esm/locales/zh/who5.d.ts +4 -0
  175. package/dist/esm/locales/zh/who5.js +39 -0
  176. package/dist/esm/types.d.ts +60 -1
  177. package/package.json +21 -1
  178. package/schema/assessment-definition.schema.json +15 -3
  179. package/src/assessment.ts +15 -9
  180. package/src/errors.ts +26 -2
  181. package/src/evaluation.ts +103 -30
  182. package/src/i18n.ts +177 -2
  183. package/src/index.ts +9 -1
  184. package/src/inventories/aq10.ts +5 -35
  185. package/src/inventories/asrs6.ts +6 -28
  186. package/src/inventories/audit.ts +39 -56
  187. package/src/inventories/common.ts +0 -10
  188. package/src/inventories/dass21.ts +19 -75
  189. package/src/inventories/gad7.ts +5 -23
  190. package/src/inventories/index.ts +27 -3
  191. package/src/inventories/mini-ipip.ts +25 -59
  192. package/src/inventories/phq9.ts +6 -30
  193. package/src/inventories/who5.ts +5 -31
  194. package/src/locales/de/aq10.ts +54 -0
  195. package/src/locales/de/asrs6.ts +43 -0
  196. package/src/locales/de/audit.ts +81 -0
  197. package/src/locales/de/dass21.ts +115 -0
  198. package/src/locales/de/gad7.ts +47 -0
  199. package/src/locales/de/mini-ipip.ts +98 -0
  200. package/src/locales/de/phq9.ts +57 -0
  201. package/src/locales/de/who5.ts +42 -0
  202. package/src/locales/es/aq10.ts +54 -0
  203. package/src/locales/es/asrs6.ts +43 -0
  204. package/src/locales/es/audit.ts +81 -0
  205. package/src/locales/es/dass21.ts +115 -0
  206. package/src/locales/es/gad7.ts +47 -0
  207. package/src/locales/es/mini-ipip.ts +98 -0
  208. package/src/locales/es/phq9.ts +57 -0
  209. package/src/locales/es/who5.ts +42 -0
  210. package/src/locales/index.ts +64 -0
  211. package/src/locales/tr/aq10.ts +54 -0
  212. package/src/locales/tr/asrs6.ts +43 -0
  213. package/src/locales/tr/audit.ts +81 -0
  214. package/src/locales/tr/dass21.ts +115 -0
  215. package/src/locales/tr/gad7.ts +47 -0
  216. package/src/locales/tr/mini-ipip.ts +98 -0
  217. package/src/locales/tr/phq9.ts +57 -0
  218. package/src/locales/tr/who5.ts +42 -0
  219. package/src/locales/zh/aq10.ts +54 -0
  220. package/src/locales/zh/asrs6.ts +43 -0
  221. package/src/locales/zh/audit.ts +81 -0
  222. package/src/locales/zh/dass21.ts +115 -0
  223. package/src/locales/zh/gad7.ts +47 -0
  224. package/src/locales/zh/mini-ipip.ts +98 -0
  225. package/src/locales/zh/phq9.ts +57 -0
  226. package/src/locales/zh/who5.ts +42 -0
  227. package/src/types.ts +63 -6
@@ -12,13 +12,9 @@ export const gad7 = {
12
12
  version: "1.0.0",
13
13
  title: {
14
14
  en: "Generalized Anxiety Disorder Scale (GAD-7)",
15
- tr: "Yaygın Anksiyete Bozukluğu Ölçeği (GAD-7)",
16
- de: "Generalisierte Angststörung Skala (GAD-7)",
17
15
  },
18
16
  description: {
19
17
  en: "A 7-item self-report questionnaire for screening and measuring the severity of generalized anxiety.",
20
- tr: "Yaygın anksiyeteyi taramak ve şiddetini ölçmek için kullanılan 7 maddelik bir öz bildirim ölçeği.",
21
- de: "Ein Selbstbeurteilungsfragebogen mit 7 Items zum Screening und zur Schweregradmessung generalisierter Angst.",
22
18
  },
23
19
  instructions: twoWeekInstructions,
24
20
  defaultLocale: "en",
@@ -28,56 +24,42 @@ export const gad7 = {
28
24
  id: "gad7-1",
29
25
  text: {
30
26
  en: "Feeling nervous, anxious, or on edge",
31
- tr: "Sinirli, kaygılı ya da çok gergin hissetme",
32
- de: "Nervosität, Ängstlichkeit oder Anspannung",
33
27
  },
34
28
  },
35
29
  {
36
30
  id: "gad7-2",
37
31
  text: {
38
32
  en: "Not being able to stop or control worrying",
39
- tr: "Endişelenmeyi durduramama ya da kontrol edememe",
40
- de: "Nicht in der Lage sein, Sorgen zu stoppen oder zu kontrollieren",
41
33
  },
42
34
  },
43
35
  {
44
36
  id: "gad7-3",
45
37
  text: {
46
38
  en: "Worrying too much about different things",
47
- tr: "Farklı konular hakkında çok fazla endişelenme",
48
- de: "Übermäßige Sorgen bezüglich verschiedener Angelegenheiten",
49
39
  },
50
40
  },
51
41
  {
52
42
  id: "gad7-4",
53
43
  text: {
54
44
  en: "Trouble relaxing",
55
- tr: "Gevşeyip rahatlamada güçlük",
56
- de: "Schwierigkeiten, sich zu entspannen",
57
45
  },
58
46
  },
59
47
  {
60
48
  id: "gad7-5",
61
49
  text: {
62
50
  en: "Being so restless that it is hard to sit still",
63
- tr: "Yerinde duramayacak kadar huzursuz olma",
64
- de: "Rastlosigkeit, sodass das Stillsitzen schwerfällt",
65
51
  },
66
52
  },
67
53
  {
68
54
  id: "gad7-6",
69
55
  text: {
70
56
  en: "Becoming easily annoyed or irritable",
71
- tr: "Çabuk kızma ya da kolayca sinirlenir olma",
72
- de: "Schnelle Verärgerung oder Gereiztheit",
73
57
  },
74
58
  },
75
59
  {
76
60
  id: "gad7-7",
77
61
  text: {
78
62
  en: "Feeling afraid, as if something awful might happen",
79
- tr: "Sanki çok kötü bir şey olacakmış gibi korkuya kapılma",
80
- de: "Angstgefühl, als könnte etwas Schlimmes passieren",
81
63
  },
82
64
  },
83
65
  ],
@@ -88,25 +70,25 @@ export const gad7 = {
88
70
  id: "minimal",
89
71
  min: 0,
90
72
  max: 4,
91
- label: { en: "Minimal anxiety", tr: "Minimal anksiyete", de: "Minimale Angst" },
73
+ label: { en: "Minimal anxiety" },
92
74
  },
93
75
  {
94
76
  id: "mild",
95
77
  min: 5,
96
78
  max: 9,
97
- label: { en: "Mild anxiety", tr: "Hafif anksiyete", de: "Leichte Angst" },
79
+ label: { en: "Mild anxiety" },
98
80
  },
99
81
  {
100
82
  id: "moderate",
101
83
  min: 10,
102
84
  max: 14,
103
- label: { en: "Moderate anxiety", tr: "Orta düzeyde anksiyete", de: "Mittelgradige Angst" },
85
+ label: { en: "Moderate anxiety" },
104
86
  },
105
87
  {
106
88
  id: "severe",
107
89
  min: 15,
108
90
  max: 21,
109
- label: { en: "Severe anxiety", tr: "Şiddetli anksiyete", de: "Schwere Angst" },
91
+ label: { en: "Severe anxiety" },
110
92
  },
111
93
  ],
112
94
  },
@@ -114,7 +96,7 @@ export const gad7 = {
114
96
  reference: "Spitzer, R. L., Kroenke, K., Williams, J. B., & Löwe, B. (2006). A brief measure for assessing generalized anxiety disorder: the GAD-7. Archives of Internal Medicine, 166(10), 1092-1097.",
115
97
  license: "Free — no permission required to reproduce, translate, display or distribute (Pfizer educational grant)",
116
98
  licenseFlag: "free",
117
- translationProvenance: "en: reproduced from the original. tr/de: AI translation (Anthropic Claude, claude-fable-5) from the original English; official translations were not consulted and the texts are unverified. See SOURCES.md.",
99
+ translationProvenance: "en: reproduced from the original. Other locales (tr, de, zh, es): AI translation (Anthropic Claude, claude-fable-5) from the original English; official translations were not consulted and the texts are unverified. See SOURCES.md.",
118
100
  timeframe: "past 2 weeks",
119
101
  },
120
102
  };
@@ -15,6 +15,15 @@ export declare const inventories: Readonly<Record<string, AssessmentDefinition>>
15
15
  export type InventoryId = "phq9" | "gad7" | "dass21" | "who5" | "asrs6" | "aq10" | "audit" | "mini-ipip";
16
16
  /**
17
17
  * Instantiates a predefined inventory as an `Assessment`.
18
- * @throws PsytoolsError `unknown_inventory`
18
+ *
19
+ * Base definitions carry English only; other languages live in separate
20
+ * locale-pack modules that are dynamically imported — and only then held
21
+ * in memory — when listed in `options.locales` (data minimization by
22
+ * default). The returned assessment's definition is still one complete,
23
+ * serializable JSON object containing exactly the requested locales.
24
+ *
25
+ * @throws PsytoolsError `unknown_inventory` | `unknown_locale`
19
26
  */
20
- export declare function loadInventory(id: InventoryId | string): Assessment;
27
+ export declare function loadInventory(id: InventoryId | string, options?: {
28
+ locales?: string[];
29
+ }): Promise<Assessment>;
@@ -1,5 +1,7 @@
1
1
  import { Assessment } from "../assessment.js";
2
2
  import { PsytoolsError } from "../errors.js";
3
+ import { applyLocale } from "../i18n.js";
4
+ import { availableLocales, localePacks } from "../locales/index.js";
3
5
  import { phq9 } from "./phq9.js";
4
6
  import { gad7 } from "./gad7.js";
5
7
  import { dass21 } from "./dass21.js";
@@ -23,13 +25,30 @@ export const inventories = {
23
25
  };
24
26
  /**
25
27
  * Instantiates a predefined inventory as an `Assessment`.
26
- * @throws PsytoolsError `unknown_inventory`
28
+ *
29
+ * Base definitions carry English only; other languages live in separate
30
+ * locale-pack modules that are dynamically imported — and only then held
31
+ * in memory — when listed in `options.locales` (data minimization by
32
+ * default). The returned assessment's definition is still one complete,
33
+ * serializable JSON object containing exactly the requested locales.
34
+ *
35
+ * @throws PsytoolsError `unknown_inventory` | `unknown_locale`
27
36
  */
28
- export function loadInventory(id) {
37
+ export async function loadInventory(id, options) {
29
38
  const definition = inventories[id];
30
39
  if (!definition) {
31
40
  const known = Object.keys(inventories).join(", ");
32
41
  throw new PsytoolsError("unknown_inventory", `Unknown inventory "${id}" (available: ${known})`);
33
42
  }
34
- return new Assessment(definition);
43
+ let merged = definition;
44
+ for (const locale of options?.locales ?? []) {
45
+ if (locale === definition.defaultLocale)
46
+ continue;
47
+ const loader = localePacks[id]?.[locale];
48
+ if (!loader) {
49
+ throw new PsytoolsError("unknown_locale", `No "${locale}" locale pack for inventory "${id}" (available: ${availableLocales(id).join(", ")})`);
50
+ }
51
+ merged = applyLocale(merged, (await loader()).default);
52
+ }
53
+ return new Assessment(merged);
35
54
  }
@@ -12,44 +12,44 @@ export const miniIpip = {
12
12
  version: "1.0.0",
13
13
  title: {
14
14
  en: "Mini-IPIP Big Five Personality Scale",
15
- tr: "Mini-IPIP Beş Faktör Kişilik Ölçeği",
16
- de: "Mini-IPIP Big-Five-Persönlichkeitsskala",
17
15
  },
18
16
  description: {
19
17
  en: "A 20-item public-domain measure of the Big Five personality traits (extraversion, agreeableness, conscientiousness, neuroticism, openness), drawn from the International Personality Item Pool.",
20
- tr: "Uluslararası Kişilik Madde Havuzu'ndan (IPIP) türetilmiş, Beş Faktör kişilik özelliklerini (dışadönüklük, uyumluluk, sorumluluk, duygusal dengesizlik, deneyime açıklık) ölçen 20 maddelik kamu malı bir ölçek.",
21
- de: "Ein gemeinfreies 20-Item-Instrument zur Messung der Big-Five-Persönlichkeitsmerkmale (Extraversion, Verträglichkeit, Gewissenhaftigkeit, Neurotizismus, Offenheit) aus dem International Personality Item Pool.",
22
18
  },
23
19
  instructions: {
24
20
  en: "Describe yourself as you generally are now, not as you wish to be in the future. Indicate how accurately each statement describes you.",
25
- tr: "Kendinizi gelecekte olmak istediğiniz gibi değil, şu anda genel olarak olduğunuz gibi tanımlayın. Her ifadenin sizi ne kadar doğru tanımladığını belirtin.",
26
- de: "Beschreiben Sie sich so, wie Sie im Allgemeinen jetzt sind, nicht wie Sie in Zukunft sein möchten. Geben Sie an, wie zutreffend jede Aussage Sie beschreibt.",
27
21
  },
28
22
  defaultLocale: "en",
29
23
  options: [
30
24
  {
31
25
  value: 1,
32
- label: { en: "Very inaccurate", tr: "Bana hiç uymuyor", de: "Trifft überhaupt nicht zu" },
26
+ label: {
27
+ en: "Very inaccurate",
28
+ },
33
29
  },
34
30
  {
35
31
  value: 2,
36
- label: { en: "Moderately inaccurate", tr: "Bana pek uymuyor", de: "Trifft eher nicht zu" },
32
+ label: {
33
+ en: "Moderately inaccurate",
34
+ },
37
35
  },
38
36
  {
39
37
  value: 3,
40
38
  label: {
41
39
  en: "Neither accurate nor inaccurate",
42
- tr: "Ne uyuyor ne uymuyor",
43
- de: "Weder zutreffend noch unzutreffend",
44
40
  },
45
41
  },
46
42
  {
47
43
  value: 4,
48
- label: { en: "Moderately accurate", tr: "Bana oldukça uyuyor", de: "Trifft eher zu" },
44
+ label: {
45
+ en: "Moderately accurate",
46
+ },
49
47
  },
50
48
  {
51
49
  value: 5,
52
- label: { en: "Very accurate", tr: "Bana tamamen uyuyor", de: "Trifft voll und ganz zu" },
50
+ label: {
51
+ en: "Very accurate",
52
+ },
53
53
  },
54
54
  ],
55
55
  questions: [
@@ -57,48 +57,36 @@ export const miniIpip = {
57
57
  id: "mini-ipip-1",
58
58
  text: {
59
59
  en: "I am the life of the party",
60
- tr: "Bulunduğum ortamın neşe kaynağıyımdır",
61
- de: "Ich bin der Mittelpunkt jeder Party",
62
60
  },
63
61
  },
64
62
  {
65
63
  id: "mini-ipip-2",
66
64
  text: {
67
65
  en: "I sympathize with others' feelings",
68
- tr: "Başkalarının duygularını paylaşırım",
69
- de: "Ich fühle mit anderen mit",
70
66
  },
71
67
  },
72
68
  {
73
69
  id: "mini-ipip-3",
74
70
  text: {
75
71
  en: "I get chores done right away",
76
- tr: "Günlük işlerimi hemen hallederim",
77
- de: "Ich erledige anstehende Aufgaben sofort",
78
72
  },
79
73
  },
80
74
  {
81
75
  id: "mini-ipip-4",
82
76
  text: {
83
77
  en: "I have frequent mood swings",
84
- tr: "Ruh halim sık sık değişir",
85
- de: "Meine Stimmung schwankt häufig",
86
78
  },
87
79
  },
88
80
  {
89
81
  id: "mini-ipip-5",
90
82
  text: {
91
83
  en: "I have a vivid imagination",
92
- tr: "Canlı bir hayal gücüm vardır",
93
- de: "Ich habe eine lebhafte Fantasie",
94
84
  },
95
85
  },
96
86
  {
97
87
  id: "mini-ipip-6",
98
88
  text: {
99
89
  en: "I don't talk a lot",
100
- tr: "Çok konuşmam",
101
- de: "Ich rede nicht viel",
102
90
  },
103
91
  reverseScored: true,
104
92
  },
@@ -106,8 +94,6 @@ export const miniIpip = {
106
94
  id: "mini-ipip-7",
107
95
  text: {
108
96
  en: "I am not interested in other people's problems",
109
- tr: "Başkalarının sorunlarıyla ilgilenmem",
110
- de: "Die Probleme anderer Menschen interessieren mich nicht",
111
97
  },
112
98
  reverseScored: true,
113
99
  },
@@ -115,8 +101,6 @@ export const miniIpip = {
115
101
  id: "mini-ipip-8",
116
102
  text: {
117
103
  en: "I often forget to put things back in their proper place",
118
- tr: "Eşyaları yerine koymayı sık sık unuturum",
119
- de: "Ich vergesse oft, Dinge an ihren Platz zurückzulegen",
120
104
  },
121
105
  reverseScored: true,
122
106
  },
@@ -124,8 +108,6 @@ export const miniIpip = {
124
108
  id: "mini-ipip-9",
125
109
  text: {
126
110
  en: "I am relaxed most of the time",
127
- tr: "Çoğu zaman rahat ve sakinimdir",
128
- de: "Ich bin die meiste Zeit entspannt",
129
111
  },
130
112
  reverseScored: true,
131
113
  },
@@ -133,8 +115,6 @@ export const miniIpip = {
133
115
  id: "mini-ipip-10",
134
116
  text: {
135
117
  en: "I am not interested in abstract ideas",
136
- tr: "Soyut fikirlerle ilgilenmem",
137
- de: "Ich interessiere mich nicht für abstrakte Ideen",
138
118
  },
139
119
  reverseScored: true,
140
120
  },
@@ -142,40 +122,30 @@ export const miniIpip = {
142
122
  id: "mini-ipip-11",
143
123
  text: {
144
124
  en: "I talk to a lot of different people at parties",
145
- tr: "Sosyal ortamlarda birçok farklı insanla konuşurum",
146
- de: "Auf Partys spreche ich mit vielen verschiedenen Leuten",
147
125
  },
148
126
  },
149
127
  {
150
128
  id: "mini-ipip-12",
151
129
  text: {
152
130
  en: "I feel others' emotions",
153
- tr: "Başkalarının duygularını hissederim",
154
- de: "Ich spüre die Gefühle anderer",
155
131
  },
156
132
  },
157
133
  {
158
134
  id: "mini-ipip-13",
159
135
  text: {
160
136
  en: "I like order",
161
- tr: "Düzeni severim",
162
- de: "Ich mag Ordnung",
163
137
  },
164
138
  },
165
139
  {
166
140
  id: "mini-ipip-14",
167
141
  text: {
168
142
  en: "I get upset easily",
169
- tr: "Kolayca keyfim kaçar",
170
- de: "Ich rege mich leicht auf",
171
143
  },
172
144
  },
173
145
  {
174
146
  id: "mini-ipip-15",
175
147
  text: {
176
148
  en: "I have difficulty understanding abstract ideas",
177
- tr: "Soyut fikirleri anlamakta zorlanırım",
178
- de: "Es fällt mir schwer, abstrakte Ideen zu verstehen",
179
149
  },
180
150
  reverseScored: true,
181
151
  },
@@ -183,8 +153,6 @@ export const miniIpip = {
183
153
  id: "mini-ipip-16",
184
154
  text: {
185
155
  en: "I keep in the background",
186
- tr: "Arka planda kalmayı tercih ederim",
187
- de: "Ich halte mich im Hintergrund",
188
156
  },
189
157
  reverseScored: true,
190
158
  },
@@ -192,8 +160,6 @@ export const miniIpip = {
192
160
  id: "mini-ipip-17",
193
161
  text: {
194
162
  en: "I am not really interested in others",
195
- tr: "Başkalarıyla pek ilgilenmem",
196
- de: "Ich interessiere mich nicht wirklich für andere",
197
163
  },
198
164
  reverseScored: true,
199
165
  },
@@ -201,8 +167,6 @@ export const miniIpip = {
201
167
  id: "mini-ipip-18",
202
168
  text: {
203
169
  en: "I make a mess of things",
204
- tr: "Ortalığı dağınık bırakırım",
205
- de: "Bei mir geht alles drunter und drüber",
206
170
  },
207
171
  reverseScored: true,
208
172
  },
@@ -210,8 +174,6 @@ export const miniIpip = {
210
174
  id: "mini-ipip-19",
211
175
  text: {
212
176
  en: "I seldom feel blue",
213
- tr: "Nadiren hüzünlenirim",
214
- de: "Ich fühle mich selten niedergeschlagen",
215
177
  },
216
178
  reverseScored: true,
217
179
  },
@@ -219,8 +181,6 @@ export const miniIpip = {
219
181
  id: "mini-ipip-20",
220
182
  text: {
221
183
  en: "I do not have a good imagination",
222
- tr: "İyi bir hayal gücüm yoktur",
223
- de: "Ich habe keine gute Vorstellungskraft",
224
184
  },
225
185
  reverseScored: true,
226
186
  },
@@ -230,30 +190,36 @@ export const miniIpip = {
230
190
  subscales: [
231
191
  {
232
192
  id: "extraversion",
233
- label: { en: "Extraversion", tr: "Dışadönüklük", de: "Extraversion" },
193
+ label: {
194
+ en: "Extraversion",
195
+ },
234
196
  questionIds: ["mini-ipip-1", "mini-ipip-6", "mini-ipip-11", "mini-ipip-16"],
235
197
  },
236
198
  {
237
199
  id: "agreeableness",
238
- label: { en: "Agreeableness", tr: "Uyumluluk", de: "Verträglichkeit" },
200
+ label: {
201
+ en: "Agreeableness",
202
+ },
239
203
  questionIds: ["mini-ipip-2", "mini-ipip-7", "mini-ipip-12", "mini-ipip-17"],
240
204
  },
241
205
  {
242
206
  id: "conscientiousness",
243
- label: { en: "Conscientiousness", tr: "Sorumluluk", de: "Gewissenhaftigkeit" },
207
+ label: {
208
+ en: "Conscientiousness",
209
+ },
244
210
  questionIds: ["mini-ipip-3", "mini-ipip-8", "mini-ipip-13", "mini-ipip-18"],
245
211
  },
246
212
  {
247
213
  id: "neuroticism",
248
- label: { en: "Neuroticism", tr: "Duygusal Dengesizlik", de: "Neurotizismus" },
214
+ label: {
215
+ en: "Neuroticism",
216
+ },
249
217
  questionIds: ["mini-ipip-4", "mini-ipip-9", "mini-ipip-14", "mini-ipip-19"],
250
218
  },
251
219
  {
252
220
  id: "openness",
253
221
  label: {
254
222
  en: "Openness (Intellect/Imagination)",
255
- tr: "Deneyime Açıklık",
256
- de: "Offenheit (Intellekt/Vorstellungskraft)",
257
223
  },
258
224
  questionIds: ["mini-ipip-5", "mini-ipip-10", "mini-ipip-15", "mini-ipip-20"],
259
225
  },
@@ -263,7 +229,7 @@ export const miniIpip = {
263
229
  reference: "Donnellan, M. B., Oswald, F. L., Baird, B. M., & Lucas, R. E. (2006). The Mini-IPIP scales: tiny-yet-effective measures of the Big Five factors of personality. Psychological Assessment, 18(2), 192-203.",
264
230
  license: "Free — public domain (International Personality Item Pool, ipip.ori.org), created explicitly to be free of copyright restrictions",
265
231
  licenseFlag: "free",
266
- translationProvenance: "en: reproduced from the original. tr/de: AI translation (Anthropic Claude, claude-fable-5) from the original English; official translations were not consulted and the texts are unverified. See SOURCES.md.",
232
+ translationProvenance: "en: reproduced from the original. Other locales (tr, de, zh, es): AI translation (Anthropic Claude, claude-fable-5) from the original English; official translations were not consulted and the texts are unverified. See SOURCES.md.",
267
233
  note: "Descriptive personality traits, not a clinical screen — no cutoff bands are defined.",
268
234
  },
269
235
  };
@@ -13,13 +13,9 @@ export const phq9 = {
13
13
  version: "1.0.0",
14
14
  title: {
15
15
  en: "Patient Health Questionnaire (PHQ-9)",
16
- tr: "Hasta Sağlığı Anketi (PHQ-9)",
17
- de: "Gesundheitsfragebogen für Patienten (PHQ-9)",
18
16
  },
19
17
  description: {
20
18
  en: "A 9-item self-report questionnaire for screening and measuring the severity of depression.",
21
- tr: "Depresyonu taramak ve şiddetini ölçmek için kullanılan 9 maddelik bir öz bildirim ölçeği.",
22
- de: "Ein Selbstbeurteilungsfragebogen mit 9 Items zum Screening und zur Schweregradmessung von Depression.",
23
19
  },
24
20
  instructions: twoWeekInstructions,
25
21
  defaultLocale: "en",
@@ -29,72 +25,54 @@ export const phq9 = {
29
25
  id: "phq9-1",
30
26
  text: {
31
27
  en: "Little interest or pleasure in doing things",
32
- tr: "İşleri yapmaya karşı çok az ilgi ya da zevk duyma",
33
- de: "Wenig Interesse oder Freude an Ihren Tätigkeiten",
34
28
  },
35
29
  },
36
30
  {
37
31
  id: "phq9-2",
38
32
  text: {
39
33
  en: "Feeling down, depressed, or hopeless",
40
- tr: "Kendini kederli, çökkün ya da umutsuz hissetme",
41
- de: "Niedergeschlagenheit, Schwermut oder Hoffnungslosigkeit",
42
34
  },
43
35
  },
44
36
  {
45
37
  id: "phq9-3",
46
38
  text: {
47
39
  en: "Trouble falling or staying asleep, or sleeping too much",
48
- tr: "Uykuya dalmada ya da uykuyu sürdürmede güçlük ya da çok fazla uyuma",
49
- de: "Schwierigkeiten ein- oder durchzuschlafen oder vermehrter Schlaf",
50
40
  },
51
41
  },
52
42
  {
53
43
  id: "phq9-4",
54
44
  text: {
55
45
  en: "Feeling tired or having little energy",
56
- tr: "Kendini yorgun hissetme ya da çok az enerjiye sahip olma",
57
- de: "Müdigkeit oder Gefühl, keine Energie zu haben",
58
46
  },
59
47
  },
60
48
  {
61
49
  id: "phq9-5",
62
50
  text: {
63
51
  en: "Poor appetite or overeating",
64
- tr: "İştahsızlık ya da aşırı yeme",
65
- de: "Verminderter Appetit oder übermäßiges Bedürfnis zu essen",
66
52
  },
67
53
  },
68
54
  {
69
55
  id: "phq9-6",
70
56
  text: {
71
57
  en: "Feeling bad about yourself — or that you are a failure or have let yourself or your family down",
72
- tr: "Kendiniz hakkında kötü hissetme — kendinizi başarısız biri olarak görme ya da kendinizi veya ailenizi hayal kırıklığına uğrattığınızı düşünme",
73
- de: "Schlechte Meinung von sich selbst; Gefühl, ein Versager zu sein oder die Familie enttäuscht zu haben",
74
58
  },
75
59
  },
76
60
  {
77
61
  id: "phq9-7",
78
62
  text: {
79
63
  en: "Trouble concentrating on things, such as reading the newspaper or watching television",
80
- tr: "Gazete okumak ya da televizyon seyretmek gibi işlere konsantre olmada güçlük",
81
- de: "Schwierigkeiten, sich auf etwas zu konzentrieren, z. B. beim Zeitunglesen oder Fernsehen",
82
64
  },
83
65
  },
84
66
  {
85
67
  id: "phq9-8",
86
68
  text: {
87
69
  en: "Moving or speaking so slowly that other people could have noticed? Or the opposite — being so fidgety or restless that you have been moving around a lot more than usual",
88
- tr: "Diğer insanların fark edebileceği kadar yavaş hareket etme ya da yavaş konuşma? Ya da tam tersi — her zamankinden çok daha fazla hareket edecek kadar kıpır kıpır ya da huzursuz olma",
89
- de: "Waren Ihre Bewegungen oder Ihre Sprache so verlangsamt, dass es auch anderen auffallen würde? Oder waren Sie im Gegenteil „zappelig“ oder ruhelos und hatten dadurch einen stärkeren Bewegungsdrang als sonst?",
90
70
  },
91
71
  },
92
72
  {
93
73
  id: "phq9-9",
94
74
  text: {
95
75
  en: "Thoughts that you would be better off dead or of hurting yourself in some way",
96
- tr: "Ölmüş olmanın ya da kendinize bir şekilde zarar vermenin daha iyi olacağına dair düşünceler",
97
- de: "Gedanken, dass Sie lieber tot wären oder sich Leid zufügen möchten",
98
76
  },
99
77
  },
100
78
  ],
@@ -105,31 +83,31 @@ export const phq9 = {
105
83
  id: "minimal",
106
84
  min: 0,
107
85
  max: 4,
108
- label: { en: "Minimal depression", tr: "Minimal depresyon", de: "Minimale Depression" },
86
+ label: { en: "Minimal depression" },
109
87
  },
110
88
  {
111
89
  id: "mild",
112
90
  min: 5,
113
91
  max: 9,
114
- label: { en: "Mild depression", tr: "Hafif depresyon", de: "Leichte Depression" },
92
+ label: { en: "Mild depression" },
115
93
  },
116
94
  {
117
95
  id: "moderate",
118
96
  min: 10,
119
97
  max: 14,
120
- label: { en: "Moderate depression", tr: "Orta düzeyde depresyon", de: "Mittelgradige Depression" },
98
+ label: { en: "Moderate depression" },
121
99
  },
122
100
  {
123
101
  id: "moderately-severe",
124
102
  min: 15,
125
103
  max: 19,
126
- label: { en: "Moderately severe depression", tr: "Orta-şiddetli düzeyde depresyon", de: "Mittelschwere Depression" },
104
+ label: { en: "Moderately severe depression" },
127
105
  },
128
106
  {
129
107
  id: "severe",
130
108
  min: 20,
131
109
  max: 27,
132
- label: { en: "Severe depression", tr: "Şiddetli depresyon", de: "Schwere Depression" },
110
+ label: { en: "Severe depression" },
133
111
  },
134
112
  ],
135
113
  flags: [
@@ -139,8 +117,6 @@ export const phq9 = {
139
117
  minValue: 1,
140
118
  label: {
141
119
  en: "Self-harm or suicidal ideation reported (item 9) — requires clinical attention",
142
- tr: "Kendine zarar verme ya da intihar düşüncesi bildirildi (9. madde) — klinik değerlendirme gerektirir",
143
- de: "Selbstverletzungs- oder Suizidgedanken angegeben (Item 9) — erfordert klinische Abklärung",
144
120
  },
145
121
  },
146
122
  ],
@@ -149,7 +125,7 @@ export const phq9 = {
149
125
  reference: "Kroenke, K., Spitzer, R. L., & Williams, J. B. (2001). The PHQ-9: validity of a brief depression severity measure. Journal of General Internal Medicine, 16(9), 606-613.",
150
126
  license: "Free — no permission required to reproduce, translate, display or distribute (Pfizer educational grant)",
151
127
  licenseFlag: "free",
152
- translationProvenance: "en: reproduced from the original. tr/de: AI translation (Anthropic Claude, claude-fable-5) from the original English; official translations were not consulted and the texts are unverified. See SOURCES.md.",
128
+ translationProvenance: "en: reproduced from the original. Other locales (tr, de, zh, es): AI translation (Anthropic Claude, claude-fable-5) from the original English; official translations were not consulted and the texts are unverified. See SOURCES.md.",
153
129
  timeframe: "past 2 weeks",
154
130
  },
155
131
  };