psytools 0.5.1 → 0.5.3
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.
- package/README.md +45 -13
- package/SOURCES.md +82 -6
- package/dist/cjs/index.d.ts +2 -2
- package/dist/cjs/index.js +10 -1
- package/dist/cjs/inventories/aq10.js +1 -0
- package/dist/cjs/inventories/asrs6.js +1 -0
- package/dist/cjs/inventories/audit.js +1 -0
- package/dist/cjs/inventories/cesd.d.ts +11 -0
- package/dist/cjs/inventories/cesd.js +205 -0
- package/dist/cjs/inventories/common.d.ts +11 -0
- package/dist/cjs/inventories/common.js +26 -1
- package/dist/cjs/inventories/dass21.js +1 -0
- package/dist/cjs/inventories/ecr-r.d.ts +16 -0
- package/dist/cjs/inventories/ecr-r.js +112 -0
- package/dist/cjs/inventories/erq.d.ts +16 -0
- package/dist/cjs/inventories/erq.js +77 -0
- package/dist/cjs/inventories/flourishing.d.ts +12 -0
- package/dist/cjs/inventories/flourishing.js +51 -0
- package/dist/cjs/inventories/gad7.js +1 -0
- package/dist/cjs/inventories/hsps.d.ts +14 -0
- package/dist/cjs/inventories/hsps.js +81 -0
- package/dist/cjs/inventories/index.d.ts +21 -4
- package/dist/cjs/inventories/index.js +44 -2
- package/dist/cjs/inventories/k10.d.ts +12 -0
- package/dist/cjs/inventories/k10.js +60 -0
- package/dist/cjs/inventories/k6.d.ts +12 -0
- package/dist/cjs/inventories/k6.js +55 -0
- package/dist/cjs/inventories/mini-ipip.js +1 -0
- package/dist/cjs/inventories/phq9.js +1 -0
- package/dist/cjs/inventories/rses.d.ts +11 -0
- package/dist/cjs/inventories/rses.js +61 -0
- package/dist/cjs/inventories/swls.d.ts +12 -0
- package/dist/cjs/inventories/swls.js +57 -0
- package/dist/cjs/inventories/who5.js +1 -0
- package/dist/cjs/locales/de/cesd.d.ts +4 -0
- package/dist/cjs/locales/de/cesd.js +43 -0
- package/dist/cjs/locales/de/erq.d.ts +4 -0
- package/dist/cjs/locales/de/erq.js +36 -0
- package/dist/cjs/locales/de/flourishing.d.ts +4 -0
- package/dist/cjs/locales/de/flourishing.js +30 -0
- package/dist/cjs/locales/de/k10.d.ts +4 -0
- package/dist/cjs/locales/de/k10.js +36 -0
- package/dist/cjs/locales/de/k6.d.ts +4 -0
- package/dist/cjs/locales/de/k6.js +31 -0
- package/dist/cjs/locales/de/rses.d.ts +4 -0
- package/dist/cjs/locales/de/rses.js +34 -0
- package/dist/cjs/locales/de/swls.d.ts +4 -0
- package/dist/cjs/locales/de/swls.js +36 -0
- package/dist/cjs/locales/es/cesd.d.ts +4 -0
- package/dist/cjs/locales/es/cesd.js +43 -0
- package/dist/cjs/locales/es/erq.d.ts +4 -0
- package/dist/cjs/locales/es/erq.js +36 -0
- package/dist/cjs/locales/es/flourishing.d.ts +4 -0
- package/dist/cjs/locales/es/flourishing.js +46 -0
- package/dist/cjs/locales/es/k10.d.ts +4 -0
- package/dist/cjs/locales/es/k10.js +56 -0
- package/dist/cjs/locales/es/k6.d.ts +4 -0
- package/dist/cjs/locales/es/k6.js +43 -0
- package/dist/cjs/locales/es/rses.d.ts +4 -0
- package/dist/cjs/locales/es/rses.js +54 -0
- package/dist/cjs/locales/es/swls.d.ts +4 -0
- package/dist/cjs/locales/es/swls.js +46 -0
- package/dist/cjs/locales/index.js +51 -0
- package/dist/cjs/locales/tr/cesd.d.ts +4 -0
- package/dist/cjs/locales/tr/cesd.js +43 -0
- package/dist/cjs/locales/tr/ecr-r.d.ts +12 -0
- package/dist/cjs/locales/tr/ecr-r.js +70 -0
- package/dist/cjs/locales/tr/erq.d.ts +10 -0
- package/dist/cjs/locales/tr/erq.js +42 -0
- package/dist/cjs/locales/tr/flourishing.d.ts +4 -0
- package/dist/cjs/locales/tr/flourishing.js +46 -0
- package/dist/cjs/locales/tr/hsps.d.ts +10 -0
- package/dist/cjs/locales/tr/hsps.js +55 -0
- package/dist/cjs/locales/tr/k10.d.ts +4 -0
- package/dist/cjs/locales/tr/k10.js +56 -0
- package/dist/cjs/locales/tr/k6.d.ts +4 -0
- package/dist/cjs/locales/tr/k6.js +43 -0
- package/dist/cjs/locales/tr/rses.d.ts +4 -0
- package/dist/cjs/locales/tr/rses.js +54 -0
- package/dist/cjs/locales/tr/swls.d.ts +4 -0
- package/dist/cjs/locales/tr/swls.js +46 -0
- package/dist/cjs/locales/zh/cesd.d.ts +4 -0
- package/dist/cjs/locales/zh/cesd.js +43 -0
- package/dist/cjs/locales/zh/erq.d.ts +4 -0
- package/dist/cjs/locales/zh/erq.js +36 -0
- package/dist/cjs/locales/zh/flourishing.d.ts +4 -0
- package/dist/cjs/locales/zh/flourishing.js +46 -0
- package/dist/cjs/locales/zh/k10.d.ts +4 -0
- package/dist/cjs/locales/zh/k10.js +56 -0
- package/dist/cjs/locales/zh/k6.d.ts +4 -0
- package/dist/cjs/locales/zh/k6.js +43 -0
- package/dist/cjs/locales/zh/rses.d.ts +4 -0
- package/dist/cjs/locales/zh/rses.js +54 -0
- package/dist/cjs/locales/zh/swls.d.ts +4 -0
- package/dist/cjs/locales/zh/swls.js +46 -0
- package/dist/cjs/types.d.ts +19 -3
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/inventories/aq10.js +1 -0
- package/dist/esm/inventories/asrs6.js +1 -0
- package/dist/esm/inventories/audit.js +1 -0
- package/dist/esm/inventories/cesd.d.ts +11 -0
- package/dist/esm/inventories/cesd.js +202 -0
- package/dist/esm/inventories/common.d.ts +11 -0
- package/dist/esm/inventories/common.js +25 -0
- package/dist/esm/inventories/dass21.js +1 -0
- package/dist/esm/inventories/ecr-r.d.ts +16 -0
- package/dist/esm/inventories/ecr-r.js +109 -0
- package/dist/esm/inventories/erq.d.ts +16 -0
- package/dist/esm/inventories/erq.js +74 -0
- package/dist/esm/inventories/flourishing.d.ts +12 -0
- package/dist/esm/inventories/flourishing.js +48 -0
- package/dist/esm/inventories/gad7.js +1 -0
- package/dist/esm/inventories/hsps.d.ts +14 -0
- package/dist/esm/inventories/hsps.js +78 -0
- package/dist/esm/inventories/index.d.ts +21 -4
- package/dist/esm/inventories/index.js +35 -2
- package/dist/esm/inventories/k10.d.ts +12 -0
- package/dist/esm/inventories/k10.js +57 -0
- package/dist/esm/inventories/k6.d.ts +12 -0
- package/dist/esm/inventories/k6.js +52 -0
- package/dist/esm/inventories/mini-ipip.js +1 -0
- package/dist/esm/inventories/phq9.js +1 -0
- package/dist/esm/inventories/rses.d.ts +11 -0
- package/dist/esm/inventories/rses.js +58 -0
- package/dist/esm/inventories/swls.d.ts +12 -0
- package/dist/esm/inventories/swls.js +54 -0
- package/dist/esm/inventories/who5.js +1 -0
- package/dist/esm/locales/de/cesd.d.ts +4 -0
- package/dist/esm/locales/de/cesd.js +41 -0
- package/dist/esm/locales/de/erq.d.ts +4 -0
- package/dist/esm/locales/de/erq.js +34 -0
- package/dist/esm/locales/de/flourishing.d.ts +4 -0
- package/dist/esm/locales/de/flourishing.js +28 -0
- package/dist/esm/locales/de/k10.d.ts +4 -0
- package/dist/esm/locales/de/k10.js +34 -0
- package/dist/esm/locales/de/k6.d.ts +4 -0
- package/dist/esm/locales/de/k6.js +29 -0
- package/dist/esm/locales/de/rses.d.ts +4 -0
- package/dist/esm/locales/de/rses.js +32 -0
- package/dist/esm/locales/de/swls.d.ts +4 -0
- package/dist/esm/locales/de/swls.js +34 -0
- package/dist/esm/locales/es/cesd.d.ts +4 -0
- package/dist/esm/locales/es/cesd.js +41 -0
- package/dist/esm/locales/es/erq.d.ts +4 -0
- package/dist/esm/locales/es/erq.js +34 -0
- package/dist/esm/locales/es/flourishing.d.ts +4 -0
- package/dist/esm/locales/es/flourishing.js +44 -0
- package/dist/esm/locales/es/k10.d.ts +4 -0
- package/dist/esm/locales/es/k10.js +54 -0
- package/dist/esm/locales/es/k6.d.ts +4 -0
- package/dist/esm/locales/es/k6.js +41 -0
- package/dist/esm/locales/es/rses.d.ts +4 -0
- package/dist/esm/locales/es/rses.js +52 -0
- package/dist/esm/locales/es/swls.d.ts +4 -0
- package/dist/esm/locales/es/swls.js +44 -0
- package/dist/esm/locales/index.js +51 -0
- package/dist/esm/locales/tr/cesd.d.ts +4 -0
- package/dist/esm/locales/tr/cesd.js +41 -0
- package/dist/esm/locales/tr/ecr-r.d.ts +12 -0
- package/dist/esm/locales/tr/ecr-r.js +68 -0
- package/dist/esm/locales/tr/erq.d.ts +10 -0
- package/dist/esm/locales/tr/erq.js +40 -0
- package/dist/esm/locales/tr/flourishing.d.ts +4 -0
- package/dist/esm/locales/tr/flourishing.js +44 -0
- package/dist/esm/locales/tr/hsps.d.ts +10 -0
- package/dist/esm/locales/tr/hsps.js +53 -0
- package/dist/esm/locales/tr/k10.d.ts +4 -0
- package/dist/esm/locales/tr/k10.js +54 -0
- package/dist/esm/locales/tr/k6.d.ts +4 -0
- package/dist/esm/locales/tr/k6.js +41 -0
- package/dist/esm/locales/tr/rses.d.ts +4 -0
- package/dist/esm/locales/tr/rses.js +52 -0
- package/dist/esm/locales/tr/swls.d.ts +4 -0
- package/dist/esm/locales/tr/swls.js +44 -0
- package/dist/esm/locales/zh/cesd.d.ts +4 -0
- package/dist/esm/locales/zh/cesd.js +41 -0
- package/dist/esm/locales/zh/erq.d.ts +4 -0
- package/dist/esm/locales/zh/erq.js +34 -0
- package/dist/esm/locales/zh/flourishing.d.ts +4 -0
- package/dist/esm/locales/zh/flourishing.js +44 -0
- package/dist/esm/locales/zh/k10.d.ts +4 -0
- package/dist/esm/locales/zh/k10.js +54 -0
- package/dist/esm/locales/zh/k6.d.ts +4 -0
- package/dist/esm/locales/zh/k6.js +41 -0
- package/dist/esm/locales/zh/rses.d.ts +4 -0
- package/dist/esm/locales/zh/rses.js +52 -0
- package/dist/esm/locales/zh/swls.d.ts +4 -0
- package/dist/esm/locales/zh/swls.js +44 -0
- package/dist/esm/types.d.ts +19 -3
- package/package.json +18 -2
- package/schema/assessment-definition.schema.json +5 -0
- package/src/index.ts +10 -0
- package/src/inventories/aq10.ts +1 -0
- package/src/inventories/asrs6.ts +1 -0
- package/src/inventories/audit.ts +1 -0
- package/src/inventories/cesd.ts +208 -0
- package/src/inventories/common.ts +27 -0
- package/src/inventories/dass21.ts +1 -0
- package/src/inventories/ecr-r.ts +117 -0
- package/src/inventories/erq.ts +81 -0
- package/src/inventories/flourishing.ts +54 -0
- package/src/inventories/gad7.ts +1 -0
- package/src/inventories/hsps.ts +86 -0
- package/src/inventories/index.ts +47 -5
- package/src/inventories/k10.ts +62 -0
- package/src/inventories/k6.ts +57 -0
- package/src/inventories/mini-ipip.ts +1 -0
- package/src/inventories/phq9.ts +1 -0
- package/src/inventories/rses.ts +64 -0
- package/src/inventories/swls.ts +60 -0
- package/src/inventories/who5.ts +1 -0
- package/src/locales/de/cesd.ts +44 -0
- package/src/locales/de/erq.ts +37 -0
- package/src/locales/de/flourishing.ts +31 -0
- package/src/locales/de/k10.ts +37 -0
- package/src/locales/de/k6.ts +32 -0
- package/src/locales/de/rses.ts +35 -0
- package/src/locales/de/swls.ts +37 -0
- package/src/locales/es/cesd.ts +44 -0
- package/src/locales/es/erq.ts +37 -0
- package/src/locales/es/flourishing.ts +47 -0
- package/src/locales/es/k10.ts +57 -0
- package/src/locales/es/k6.ts +44 -0
- package/src/locales/es/rses.ts +55 -0
- package/src/locales/es/swls.ts +47 -0
- package/src/locales/index.ts +51 -0
- package/src/locales/tr/cesd.ts +44 -0
- package/src/locales/tr/ecr-r.ts +71 -0
- package/src/locales/tr/erq.ts +43 -0
- package/src/locales/tr/flourishing.ts +47 -0
- package/src/locales/tr/hsps.ts +56 -0
- package/src/locales/tr/k10.ts +57 -0
- package/src/locales/tr/k6.ts +44 -0
- package/src/locales/tr/rses.ts +55 -0
- package/src/locales/tr/swls.ts +47 -0
- package/src/locales/zh/cesd.ts +44 -0
- package/src/locales/zh/erq.ts +37 -0
- package/src/locales/zh/flourishing.ts +47 -0
- package/src/locales/zh/k10.ts +57 -0
- package/src/locales/zh/k6.ts +44 -0
- package/src/locales/zh/rses.ts +55 -0
- package/src/locales/zh/swls.ts +47 -0
- package/src/types.ts +34 -3
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
/** Simplified Chinese locale pack for swls. AI translation (Anthropic Claude, claude-sonnet-5), unverified — see SOURCES.md. */
|
|
4
|
+
const pack = {
|
|
5
|
+
"id": "swls",
|
|
6
|
+
"locale": "zh",
|
|
7
|
+
"title": "生活满意度量表(SWLS)",
|
|
8
|
+
"description": "一份包含5个条目的量表,用于测量总体生活满意度。",
|
|
9
|
+
"instructions": "以下是五条陈述,您可能同意或不同意。请对每个条目表明您的同意程度。请如实、坦诚地作答。",
|
|
10
|
+
"options": [
|
|
11
|
+
"非常不同意",
|
|
12
|
+
"不同意",
|
|
13
|
+
"有点不同意",
|
|
14
|
+
"既不同意也不反对",
|
|
15
|
+
"有点同意",
|
|
16
|
+
"同意",
|
|
17
|
+
"非常同意"
|
|
18
|
+
],
|
|
19
|
+
"questions": {
|
|
20
|
+
"swls-1": {
|
|
21
|
+
"text": "在大多数方面,我的生活都接近我理想的状态"
|
|
22
|
+
},
|
|
23
|
+
"swls-2": {
|
|
24
|
+
"text": "我的生活条件非常好"
|
|
25
|
+
},
|
|
26
|
+
"swls-3": {
|
|
27
|
+
"text": "我对自己的生活感到满意"
|
|
28
|
+
},
|
|
29
|
+
"swls-4": {
|
|
30
|
+
"text": "到目前为止,我已经得到了我人生中想要的重要东西"
|
|
31
|
+
},
|
|
32
|
+
"swls-5": {
|
|
33
|
+
"text": "如果能重新来过,我几乎不会做任何改变"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"bands": {
|
|
37
|
+
"extremely-dissatisfied": "极度不满意",
|
|
38
|
+
"dissatisfied": "不满意",
|
|
39
|
+
"slightly-dissatisfied": "略微不满意",
|
|
40
|
+
"neutral": "中等",
|
|
41
|
+
"slightly-satisfied": "略微满意",
|
|
42
|
+
"satisfied": "满意",
|
|
43
|
+
"extremely-satisfied": "极度满意"
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
exports.default = pack;
|
package/dist/cjs/types.d.ts
CHANGED
|
@@ -132,6 +132,12 @@ export interface CountScoring {
|
|
|
132
132
|
}
|
|
133
133
|
/** Declarative, serializable scoring rules built into psytools. */
|
|
134
134
|
export type ScoringDefinition = SumScoring | SubscaleScoring | CountScoring;
|
|
135
|
+
/**
|
|
136
|
+
* Categories used by the bundled inventories to describe what an
|
|
137
|
+
* instrument measures. `AssessmentDefinition.categories` accepts any
|
|
138
|
+
* string, so custom assessments are free to define their own taxonomy.
|
|
139
|
+
*/
|
|
140
|
+
export type InventoryCategory = "depression" | "anxiety" | "stress" | "well-being" | "adhd" | "autism" | "substance-use" | "personality" | "attachment" | "relationships" | "emotion-regulation" | "sensory-processing" | "distress" | "self-esteem";
|
|
135
141
|
/**
|
|
136
142
|
* The complete, serializable description of an assessment.
|
|
137
143
|
*
|
|
@@ -143,6 +149,12 @@ export interface AssessmentDefinition {
|
|
|
143
149
|
id: string;
|
|
144
150
|
/** Version of this definition (semver or free-form), for provenance. */
|
|
145
151
|
version?: string;
|
|
152
|
+
/**
|
|
153
|
+
* What the assessment measures, for filtering and display. Bundled
|
|
154
|
+
* inventories use `InventoryCategory` values; custom definitions may use
|
|
155
|
+
* any strings.
|
|
156
|
+
*/
|
|
157
|
+
categories?: string[];
|
|
146
158
|
title: LocalizedText;
|
|
147
159
|
description?: LocalizedText;
|
|
148
160
|
/** Instructions shown to the respondent (incl. the recall timeframe). */
|
|
@@ -161,17 +173,21 @@ export interface AssessmentDefinition {
|
|
|
161
173
|
* One language for one inventory, shipped as a separate lazily-loadable
|
|
162
174
|
* module so that only requested locales are bundled and held in memory.
|
|
163
175
|
* Merge into a base definition with `applyLocale`.
|
|
176
|
+
*
|
|
177
|
+
* Packs are partial: every field but `id`/`locale` is optional, so the same
|
|
178
|
+
* shape also works as a small local override (e.g. reword one question) via
|
|
179
|
+
* `loadInventory(id, { overrides })` — no need to restate the whole pack.
|
|
164
180
|
*/
|
|
165
181
|
export interface InventoryLocalePack {
|
|
166
182
|
/** Id of the inventory this pack translates. */
|
|
167
183
|
id: string;
|
|
168
184
|
/** BCP-47 language tag of the pack, e.g. `"tr"`. */
|
|
169
185
|
locale: string;
|
|
170
|
-
title
|
|
186
|
+
title?: string;
|
|
171
187
|
description?: string;
|
|
172
188
|
instructions?: string;
|
|
173
|
-
/** Labels of the assessment-level option scale, by option index. */
|
|
174
|
-
options
|
|
189
|
+
/** Labels of the assessment-level option scale, by option index. Length must match the option scale's when present. */
|
|
190
|
+
options?: string[];
|
|
175
191
|
/** Per-question texts (and option labels for question-level scales), by question id. */
|
|
176
192
|
questions: Record<string, {
|
|
177
193
|
text: string;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { LocalizedText, AssessmentOption, AssessmentQuestion, AssessmentDefinition, ScoreBand, ScoreFlag, SumScoring, SubscaleDefinition, SubscaleScoring, CountScoringItem, CountScoring, MissingDataPolicy, MissingDataStrategy, ScoringDefinition, ValidationIssueCode, AnswerMap, InventoryLocalePack, ResponseStatus, ResponseData, ValidationIssue, ValidationResult, BandResult, TriggeredFlag, ScaleScore, ScaleResult, MultiScaleResult, CategoricalResult, CustomResult, EvaluationResult, Evaluator, LocalizedAssessmentView, } from "./types.ts";
|
|
1
|
+
export type { LocalizedText, AssessmentOption, AssessmentQuestion, AssessmentDefinition, InventoryCategory, ScoreBand, ScoreFlag, SumScoring, SubscaleDefinition, SubscaleScoring, CountScoringItem, CountScoring, MissingDataPolicy, MissingDataStrategy, ScoringDefinition, ValidationIssueCode, AnswerMap, InventoryLocalePack, ResponseStatus, ResponseData, ValidationIssue, ValidationResult, BandResult, TriggeredFlag, ScaleScore, ScaleResult, MultiScaleResult, CategoricalResult, CustomResult, EvaluationResult, Evaluator, LocalizedAssessmentView, } from "./types.ts";
|
|
2
2
|
export { PsytoolsError } from "./errors.ts";
|
|
3
3
|
export type { PsytoolsErrorCode } from "./errors.ts";
|
|
4
4
|
export { localizeText, collectLocales, pickLocales, applyLocale } from "./i18n.ts";
|
|
@@ -8,5 +8,5 @@ export { Assessment, validateDefinition } from "./assessment.ts";
|
|
|
8
8
|
export { AssessmentResponse } from "./response.ts";
|
|
9
9
|
export { evaluate } from "./evaluation.ts";
|
|
10
10
|
export type { EvaluateOptions } from "./evaluation.ts";
|
|
11
|
-
export { phq9, gad7, dass21, who5, asrs6, aq10, audit, miniIpip, inventories, loadInventory, twoWeekFrequencyOptions, twoWeekInstructions, } from "./inventories/index.ts";
|
|
11
|
+
export { phq9, gad7, dass21, who5, asrs6, aq10, audit, miniIpip, cesd, ecrR, erq, hsps, swls, flourishing, k10, k6, rses, inventories, loadInventory, twoWeekFrequencyOptions, twoWeekInstructions, } from "./inventories/index.ts";
|
|
12
12
|
export type { InventoryId } from "./inventories/index.ts";
|
package/dist/esm/index.js
CHANGED
|
@@ -4,4 +4,4 @@ export { localePacks, availableLocales } from "./locales/index.js";
|
|
|
4
4
|
export { Assessment, validateDefinition } from "./assessment.js";
|
|
5
5
|
export { AssessmentResponse } from "./response.js";
|
|
6
6
|
export { evaluate } from "./evaluation.js";
|
|
7
|
-
export { phq9, gad7, dass21, who5, asrs6, aq10, audit, miniIpip, inventories, loadInventory, twoWeekFrequencyOptions, twoWeekInstructions, } from "./inventories/index.js";
|
|
7
|
+
export { phq9, gad7, dass21, who5, asrs6, aq10, audit, miniIpip, cesd, ecrR, erq, hsps, swls, flourishing, k10, k6, rses, inventories, loadInventory, twoWeekFrequencyOptions, twoWeekInstructions, } from "./inventories/index.js";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { AssessmentDefinition } from "../types.ts";
|
|
2
|
+
/**
|
|
3
|
+
* CES-D — Center for Epidemiologic Studies Depression Scale.
|
|
4
|
+
*
|
|
5
|
+
* 20 items, 0–3 past-week frequency scale, total score 0–60. Items 4, 8,
|
|
6
|
+
* 12 and 16 are positively worded and reverse scored. Scores of 16 or
|
|
7
|
+
* above indicate elevated depressive symptoms (Radloff, 1977). Developed
|
|
8
|
+
* at the U.S. National Institute of Mental Health; the scale is in the
|
|
9
|
+
* public domain.
|
|
10
|
+
*/
|
|
11
|
+
export declare const cesd: AssessmentDefinition;
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CES-D — Center for Epidemiologic Studies Depression Scale.
|
|
3
|
+
*
|
|
4
|
+
* 20 items, 0–3 past-week frequency scale, total score 0–60. Items 4, 8,
|
|
5
|
+
* 12 and 16 are positively worded and reverse scored. Scores of 16 or
|
|
6
|
+
* above indicate elevated depressive symptoms (Radloff, 1977). Developed
|
|
7
|
+
* at the U.S. National Institute of Mental Health; the scale is in the
|
|
8
|
+
* public domain.
|
|
9
|
+
*/
|
|
10
|
+
export const cesd = {
|
|
11
|
+
id: "cesd",
|
|
12
|
+
version: "1.0.0",
|
|
13
|
+
categories: ["depression"],
|
|
14
|
+
title: {
|
|
15
|
+
en: "Center for Epidemiologic Studies Depression Scale (CES-D)",
|
|
16
|
+
},
|
|
17
|
+
description: {
|
|
18
|
+
en: "A 20-item self-report scale designed to measure depressive symptomatology in the general population.",
|
|
19
|
+
},
|
|
20
|
+
instructions: {
|
|
21
|
+
en: "Please read each statement carefully, then indicate how often you felt or behaved this way during the past week, including today.",
|
|
22
|
+
},
|
|
23
|
+
defaultLocale: "en",
|
|
24
|
+
options: [
|
|
25
|
+
{
|
|
26
|
+
value: 0,
|
|
27
|
+
label: {
|
|
28
|
+
en: "Rarely or none of the time (less than 1 day)",
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
value: 1,
|
|
33
|
+
label: {
|
|
34
|
+
en: "Some or a little of the time (1-2 days)",
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
value: 2,
|
|
39
|
+
label: {
|
|
40
|
+
en: "Occasionally or a moderate amount of the time (3-4 days)",
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
value: 3,
|
|
45
|
+
label: {
|
|
46
|
+
en: "Most or all of the time (5-7 days)",
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
],
|
|
50
|
+
questions: [
|
|
51
|
+
{
|
|
52
|
+
id: "cesd-1",
|
|
53
|
+
text: {
|
|
54
|
+
en: "I was bothered by things that usually don't bother me",
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
id: "cesd-2",
|
|
59
|
+
text: {
|
|
60
|
+
en: "I did not feel like eating; my appetite was poor",
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
id: "cesd-3",
|
|
65
|
+
text: {
|
|
66
|
+
en: "I felt that I could not shake off the blues even with help from my family and friends",
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
id: "cesd-4",
|
|
71
|
+
text: {
|
|
72
|
+
en: "I felt that I was just as good as other people",
|
|
73
|
+
},
|
|
74
|
+
reverseScored: true,
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
id: "cesd-5",
|
|
78
|
+
text: {
|
|
79
|
+
en: "I had trouble keeping my mind on what I was doing",
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
id: "cesd-6",
|
|
84
|
+
text: {
|
|
85
|
+
en: "I felt depressed",
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
id: "cesd-7",
|
|
90
|
+
text: {
|
|
91
|
+
en: "I felt that everything I did was an effort",
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
id: "cesd-8",
|
|
96
|
+
text: {
|
|
97
|
+
en: "I felt hopeful about the future",
|
|
98
|
+
},
|
|
99
|
+
reverseScored: true,
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
id: "cesd-9",
|
|
103
|
+
text: {
|
|
104
|
+
en: "I thought my life had been a failure",
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
id: "cesd-10",
|
|
109
|
+
text: {
|
|
110
|
+
en: "I felt fearful",
|
|
111
|
+
},
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
id: "cesd-11",
|
|
115
|
+
text: {
|
|
116
|
+
en: "My sleep was restless",
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
id: "cesd-12",
|
|
121
|
+
text: {
|
|
122
|
+
en: "I was happy",
|
|
123
|
+
},
|
|
124
|
+
reverseScored: true,
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
id: "cesd-13",
|
|
128
|
+
text: {
|
|
129
|
+
en: "I talked less than usual",
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
id: "cesd-14",
|
|
134
|
+
text: {
|
|
135
|
+
en: "I felt lonely",
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
id: "cesd-15",
|
|
140
|
+
text: {
|
|
141
|
+
en: "People were unfriendly",
|
|
142
|
+
},
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
id: "cesd-16",
|
|
146
|
+
text: {
|
|
147
|
+
en: "I enjoyed life",
|
|
148
|
+
},
|
|
149
|
+
reverseScored: true,
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
id: "cesd-17",
|
|
153
|
+
text: {
|
|
154
|
+
en: "I had crying spells",
|
|
155
|
+
},
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
id: "cesd-18",
|
|
159
|
+
text: {
|
|
160
|
+
en: "I felt sad",
|
|
161
|
+
},
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
id: "cesd-19",
|
|
165
|
+
text: {
|
|
166
|
+
en: "I felt that people disliked me",
|
|
167
|
+
},
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
id: "cesd-20",
|
|
171
|
+
text: {
|
|
172
|
+
en: "I could not get \"going\"",
|
|
173
|
+
},
|
|
174
|
+
},
|
|
175
|
+
],
|
|
176
|
+
scoring: {
|
|
177
|
+
kind: "sum",
|
|
178
|
+
missing: { strategy: "prorate", minAnswered: 16 },
|
|
179
|
+
bands: [
|
|
180
|
+
{
|
|
181
|
+
id: "below-cutoff",
|
|
182
|
+
min: 0,
|
|
183
|
+
max: 15,
|
|
184
|
+
label: { en: "Below the clinical cutoff" },
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
id: "elevated",
|
|
188
|
+
min: 16,
|
|
189
|
+
max: 60,
|
|
190
|
+
label: { en: "Elevated depressive symptoms (at or above the cutoff of 16)" },
|
|
191
|
+
},
|
|
192
|
+
],
|
|
193
|
+
},
|
|
194
|
+
meta: {
|
|
195
|
+
reference: "Radloff, L. S. (1977). The CES-D Scale: A self-report depression scale for research in the general population. Applied Psychological Measurement, 1(3), 385-401.",
|
|
196
|
+
license: "Free — developed at the U.S. National Institute of Mental Health; the scale is in the public domain and may be used without permission",
|
|
197
|
+
licenseFlag: "free",
|
|
198
|
+
translationProvenance: "en: reproduced from the original instrument (via the NIDA Seek, Test, Treat and Retain data harmonization packet). 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.",
|
|
199
|
+
timeframe: "past week",
|
|
200
|
+
scoringNote: "The >=16 cutoff for elevated depressive symptoms follows Radloff (1977); it screens for risk and is not a diagnosis. The prorating threshold (>=16 of 20 items) is an implementation choice, not part of the published scoring.",
|
|
201
|
+
},
|
|
202
|
+
};
|
|
@@ -6,3 +6,14 @@ import type { AssessmentOption, LocalizedText } from "../types.ts";
|
|
|
6
6
|
export declare const twoWeekFrequencyOptions: AssessmentOption[];
|
|
7
7
|
/** Instructions shared by PHQ-9 and GAD-7. */
|
|
8
8
|
export declare const twoWeekInstructions: LocalizedText;
|
|
9
|
+
/**
|
|
10
|
+
* The fully labeled 1–7 agreement scale shared by the Diener scales
|
|
11
|
+
* (SWLS, Flourishing Scale).
|
|
12
|
+
*/
|
|
13
|
+
export declare const sevenPointAgreementOptions: AssessmentOption[];
|
|
14
|
+
/**
|
|
15
|
+
* The past-30-days frequency labels shared by the Kessler distress
|
|
16
|
+
* scales. K10 stores them as 1–5 (sum 10–50), K6 as 0–4 (sum 0–24),
|
|
17
|
+
* matching each instrument's published scoring convention.
|
|
18
|
+
*/
|
|
19
|
+
export declare const kesslerFrequencyLabels: string[];
|
|
@@ -32,3 +32,28 @@ export const twoWeekFrequencyOptions = [
|
|
|
32
32
|
export const twoWeekInstructions = {
|
|
33
33
|
en: "Over the last 2 weeks, how often have you been bothered by any of the following problems?",
|
|
34
34
|
};
|
|
35
|
+
/**
|
|
36
|
+
* The fully labeled 1–7 agreement scale shared by the Diener scales
|
|
37
|
+
* (SWLS, Flourishing Scale).
|
|
38
|
+
*/
|
|
39
|
+
export const sevenPointAgreementOptions = [
|
|
40
|
+
{ value: 1, label: { en: "Strongly disagree" } },
|
|
41
|
+
{ value: 2, label: { en: "Disagree" } },
|
|
42
|
+
{ value: 3, label: { en: "Slightly disagree" } },
|
|
43
|
+
{ value: 4, label: { en: "Neither agree nor disagree" } },
|
|
44
|
+
{ value: 5, label: { en: "Slightly agree" } },
|
|
45
|
+
{ value: 6, label: { en: "Agree" } },
|
|
46
|
+
{ value: 7, label: { en: "Strongly agree" } },
|
|
47
|
+
];
|
|
48
|
+
/**
|
|
49
|
+
* The past-30-days frequency labels shared by the Kessler distress
|
|
50
|
+
* scales. K10 stores them as 1–5 (sum 10–50), K6 as 0–4 (sum 0–24),
|
|
51
|
+
* matching each instrument's published scoring convention.
|
|
52
|
+
*/
|
|
53
|
+
export const kesslerFrequencyLabels = [
|
|
54
|
+
"None of the time",
|
|
55
|
+
"A little of the time",
|
|
56
|
+
"Some of the time",
|
|
57
|
+
"Most of the time",
|
|
58
|
+
"All of the time",
|
|
59
|
+
];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { AssessmentDefinition } from "../types.ts";
|
|
2
|
+
/**
|
|
3
|
+
* ECR-R — Experiences in Close Relationships-Revised (adult attachment).
|
|
4
|
+
*
|
|
5
|
+
* 36 items on a 1–7 agreement scale: items 1–18 form the attachment
|
|
6
|
+
* anxiety subscale, items 19–36 attachment avoidance (Fraley, Waller &
|
|
7
|
+
* Brennan, 2000). Subscale results are reported as sums (18–126); the
|
|
8
|
+
* published convention is the item mean — divide by 18. The dimensions
|
|
9
|
+
* are continuous; no clinical cutoffs exist, so no bands are defined.
|
|
10
|
+
*
|
|
11
|
+
* Research use only: the items are published for use in the public
|
|
12
|
+
* domain for non-commercial research; commercial use requires the
|
|
13
|
+
* authors' permission. The Turkish locale pack reproduces the validated
|
|
14
|
+
* YİYE-II adaptation (Selçuk, Günaydın, Sümer & Uysal, 2005).
|
|
15
|
+
*/
|
|
16
|
+
export declare const ecrR: AssessmentDefinition;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
const agreementOptions = [
|
|
2
|
+
{ value: 1, label: { en: "1 — Strongly disagree" } },
|
|
3
|
+
{ value: 2, label: { en: "2" } },
|
|
4
|
+
{ value: 3, label: { en: "3" } },
|
|
5
|
+
{ value: 4, label: { en: "4 — Neutral / mixed" } },
|
|
6
|
+
{ value: 5, label: { en: "5" } },
|
|
7
|
+
{ value: 6, label: { en: "6" } },
|
|
8
|
+
{ value: 7, label: { en: "7 — Strongly agree" } },
|
|
9
|
+
];
|
|
10
|
+
/**
|
|
11
|
+
* ECR-R — Experiences in Close Relationships-Revised (adult attachment).
|
|
12
|
+
*
|
|
13
|
+
* 36 items on a 1–7 agreement scale: items 1–18 form the attachment
|
|
14
|
+
* anxiety subscale, items 19–36 attachment avoidance (Fraley, Waller &
|
|
15
|
+
* Brennan, 2000). Subscale results are reported as sums (18–126); the
|
|
16
|
+
* published convention is the item mean — divide by 18. The dimensions
|
|
17
|
+
* are continuous; no clinical cutoffs exist, so no bands are defined.
|
|
18
|
+
*
|
|
19
|
+
* Research use only: the items are published for use in the public
|
|
20
|
+
* domain for non-commercial research; commercial use requires the
|
|
21
|
+
* authors' permission. The Turkish locale pack reproduces the validated
|
|
22
|
+
* YİYE-II adaptation (Selçuk, Günaydın, Sümer & Uysal, 2005).
|
|
23
|
+
*/
|
|
24
|
+
export const ecrR = {
|
|
25
|
+
id: "ecr-r",
|
|
26
|
+
version: "1.0.0",
|
|
27
|
+
categories: ["attachment", "relationships"],
|
|
28
|
+
title: {
|
|
29
|
+
en: "Experiences in Close Relationships-Revised (ECR-R)",
|
|
30
|
+
},
|
|
31
|
+
description: {
|
|
32
|
+
en: "A 36-item self-report measure of adult romantic attachment along two dimensions: attachment-related anxiety and attachment-related avoidance.",
|
|
33
|
+
},
|
|
34
|
+
instructions: {
|
|
35
|
+
en: "The statements below concern how you feel in emotionally intimate relationships. We are interested in how you generally experience relationships, not just in what is happening in a current relationship. Respond to each statement by indicating how much you agree or disagree with it.",
|
|
36
|
+
},
|
|
37
|
+
defaultLocale: "en",
|
|
38
|
+
options: agreementOptions,
|
|
39
|
+
questions: [
|
|
40
|
+
{ id: "ecr-r-1", text: { en: "I'm afraid that I will lose my partner's love." } },
|
|
41
|
+
{ id: "ecr-r-2", text: { en: "I often worry that my partner will not want to stay with me." } },
|
|
42
|
+
{ id: "ecr-r-3", text: { en: "I often worry that my partner doesn't really love me." } },
|
|
43
|
+
{ id: "ecr-r-4", text: { en: "I worry that romantic partners won't care about me as much as I care about them." } },
|
|
44
|
+
{ id: "ecr-r-5", text: { en: "I often wish that my partner's feelings for me were as strong as my feelings for him or her." } },
|
|
45
|
+
{ id: "ecr-r-6", text: { en: "I worry a lot about my relationships." } },
|
|
46
|
+
{ id: "ecr-r-7", text: { en: "When my partner is out of sight, I worry that he or she might become interested in someone else." } },
|
|
47
|
+
{ id: "ecr-r-8", text: { en: "When I show my feelings for romantic partners, I'm afraid they will not feel the same about me." } },
|
|
48
|
+
{ id: "ecr-r-9", text: { en: "I rarely worry about my partner leaving me." }, reverseScored: true },
|
|
49
|
+
{ id: "ecr-r-10", text: { en: "My romantic partner makes me doubt myself." } },
|
|
50
|
+
{ id: "ecr-r-11", text: { en: "I do not often worry about being abandoned." }, reverseScored: true },
|
|
51
|
+
{ id: "ecr-r-12", text: { en: "I find that my partner(s) don't want to get as close as I would like." } },
|
|
52
|
+
{ id: "ecr-r-13", text: { en: "Sometimes romantic partners change their feelings about me for no apparent reason." } },
|
|
53
|
+
{ id: "ecr-r-14", text: { en: "My desire to be very close sometimes scares people away." } },
|
|
54
|
+
{ id: "ecr-r-15", text: { en: "I'm afraid that once a romantic partner gets to know me, he or she won't like who I really am." } },
|
|
55
|
+
{ id: "ecr-r-16", text: { en: "It makes me mad that I don't get the affection and support I need from my partner." } },
|
|
56
|
+
{ id: "ecr-r-17", text: { en: "I worry that I won't measure up to other people." } },
|
|
57
|
+
{ id: "ecr-r-18", text: { en: "My partner only seems to notice me when I'm angry." } },
|
|
58
|
+
{ id: "ecr-r-19", text: { en: "I prefer not to show a partner how I feel deep down." } },
|
|
59
|
+
{ id: "ecr-r-20", text: { en: "I feel comfortable sharing my private thoughts and feelings with my partner." }, reverseScored: true },
|
|
60
|
+
{ id: "ecr-r-21", text: { en: "I find it difficult to allow myself to depend on romantic partners." } },
|
|
61
|
+
{ id: "ecr-r-22", text: { en: "I am very comfortable being close to romantic partners." }, reverseScored: true },
|
|
62
|
+
{ id: "ecr-r-23", text: { en: "I don't feel comfortable opening up to romantic partners." } },
|
|
63
|
+
{ id: "ecr-r-24", text: { en: "I prefer not to be too close to romantic partners." } },
|
|
64
|
+
{ id: "ecr-r-25", text: { en: "I get uncomfortable when a romantic partner wants to be very close." } },
|
|
65
|
+
{ id: "ecr-r-26", text: { en: "I find it relatively easy to get close to my partner." }, reverseScored: true },
|
|
66
|
+
{ id: "ecr-r-27", text: { en: "It's not difficult for me to get close to my partner." }, reverseScored: true },
|
|
67
|
+
{ id: "ecr-r-28", text: { en: "I usually discuss my problems and concerns with my partner." }, reverseScored: true },
|
|
68
|
+
{ id: "ecr-r-29", text: { en: "It helps to turn to my romantic partner in times of need." }, reverseScored: true },
|
|
69
|
+
{ id: "ecr-r-30", text: { en: "I tell my partner just about everything." }, reverseScored: true },
|
|
70
|
+
{ id: "ecr-r-31", text: { en: "I talk things over with my partner." }, reverseScored: true },
|
|
71
|
+
{ id: "ecr-r-32", text: { en: "I am nervous when partners get too close to me." } },
|
|
72
|
+
{ id: "ecr-r-33", text: { en: "I feel comfortable depending on romantic partners." }, reverseScored: true },
|
|
73
|
+
{ id: "ecr-r-34", text: { en: "I find it easy to depend on romantic partners." }, reverseScored: true },
|
|
74
|
+
{ id: "ecr-r-35", text: { en: "It's easy for me to be affectionate with my partner." }, reverseScored: true },
|
|
75
|
+
{ id: "ecr-r-36", text: { en: "My partner really understands me and my needs." }, reverseScored: true },
|
|
76
|
+
],
|
|
77
|
+
scoring: {
|
|
78
|
+
kind: "subscales",
|
|
79
|
+
missing: { strategy: "prorate", minAnswered: 14 },
|
|
80
|
+
subscales: [
|
|
81
|
+
{
|
|
82
|
+
id: "anxiety",
|
|
83
|
+
label: { en: "Attachment-related anxiety" },
|
|
84
|
+
questionIds: [
|
|
85
|
+
"ecr-r-1", "ecr-r-2", "ecr-r-3", "ecr-r-4", "ecr-r-5", "ecr-r-6",
|
|
86
|
+
"ecr-r-7", "ecr-r-8", "ecr-r-9", "ecr-r-10", "ecr-r-11", "ecr-r-12",
|
|
87
|
+
"ecr-r-13", "ecr-r-14", "ecr-r-15", "ecr-r-16", "ecr-r-17", "ecr-r-18",
|
|
88
|
+
],
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
id: "avoidance",
|
|
92
|
+
label: { en: "Attachment-related avoidance" },
|
|
93
|
+
questionIds: [
|
|
94
|
+
"ecr-r-19", "ecr-r-20", "ecr-r-21", "ecr-r-22", "ecr-r-23", "ecr-r-24",
|
|
95
|
+
"ecr-r-25", "ecr-r-26", "ecr-r-27", "ecr-r-28", "ecr-r-29", "ecr-r-30",
|
|
96
|
+
"ecr-r-31", "ecr-r-32", "ecr-r-33", "ecr-r-34", "ecr-r-35", "ecr-r-36",
|
|
97
|
+
],
|
|
98
|
+
},
|
|
99
|
+
],
|
|
100
|
+
},
|
|
101
|
+
meta: {
|
|
102
|
+
reference: "Fraley, R. C., Waller, N. G., & Brennan, K. A. (2000). An item response theory analysis of self-report measures of adult attachment. Journal of Personality and Social Psychology, 78(2), 350-365.",
|
|
103
|
+
trAdaptation: "Selçuk, E., Günaydın, G., Sümer, N., & Uysal, A. (2005). Yetişkin bağlanma boyutları için yeni bir ölçüm: Yakın İlişkilerde Yaşantılar Envanteri-II'nin Türk örnekleminde psikometrik açıdan değerlendirilmesi. Türk Psikoloji Yazıları, 8, 1-11.",
|
|
104
|
+
license: "Research only — published for use in the public domain for non-commercial research; commercial use requires the authors' permission (labs.psychology.illinois.edu/~rcfraley/measures). The Turkish adaptation is distributed for scientific research only, not for clinical diagnosis or personnel selection (nebisumer.com)",
|
|
105
|
+
licenseFlag: "research-only",
|
|
106
|
+
translationProvenance: "en: reproduced from the original instrument (Fraley, Waller & Brennan, 2000). tr: reproduced from the published Turkish adaptation (YİYE-II, Selçuk et al., 2005, via nebisumer.com) — a validated translation; the Turkish source interleaves the same items (odd = anxiety, even = avoidance) while this definition keeps the original English item order. See SOURCES.md.",
|
|
107
|
+
scoringNote: "Subscale results are sums over 18 items (range 18-126); the published convention reports the item mean — divide by 18. The prorating threshold (>=14 of 18 per subscale) is an implementation choice, not part of the published scoring.",
|
|
108
|
+
},
|
|
109
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { AssessmentDefinition } from "../types.ts";
|
|
2
|
+
/**
|
|
3
|
+
* ERQ — Emotion Regulation Questionnaire (Gross & John, 2003).
|
|
4
|
+
*
|
|
5
|
+
* 10 items on a 1–7 agreement scale, two subscales: cognitive reappraisal
|
|
6
|
+
* (items 1, 3, 5, 7, 8, 10) and expressive suppression (items 2, 4, 6, 9).
|
|
7
|
+
* No reversals; subscale results are sums (the published convention is the
|
|
8
|
+
* item mean — divide by 6 and 4 respectively). The strategies are
|
|
9
|
+
* descriptive individual differences — no clinical cutoffs exist, so no
|
|
10
|
+
* bands are defined. The authors instruct not to change the item order:
|
|
11
|
+
* items 1 and 3 define the terms "positive emotion" and "negative emotion".
|
|
12
|
+
*
|
|
13
|
+
* Research use only: distributed by the authors for non-commercial
|
|
14
|
+
* research (Stanford Psychophysiology Laboratory).
|
|
15
|
+
*/
|
|
16
|
+
export declare const erq: AssessmentDefinition;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
const agreementOptions = [
|
|
2
|
+
{ value: 1, label: { en: "1 — Strongly disagree" } },
|
|
3
|
+
{ value: 2, label: { en: "2" } },
|
|
4
|
+
{ value: 3, label: { en: "3" } },
|
|
5
|
+
{ value: 4, label: { en: "4 — Neutral" } },
|
|
6
|
+
{ value: 5, label: { en: "5" } },
|
|
7
|
+
{ value: 6, label: { en: "6" } },
|
|
8
|
+
{ value: 7, label: { en: "7 — Strongly agree" } },
|
|
9
|
+
];
|
|
10
|
+
/**
|
|
11
|
+
* ERQ — Emotion Regulation Questionnaire (Gross & John, 2003).
|
|
12
|
+
*
|
|
13
|
+
* 10 items on a 1–7 agreement scale, two subscales: cognitive reappraisal
|
|
14
|
+
* (items 1, 3, 5, 7, 8, 10) and expressive suppression (items 2, 4, 6, 9).
|
|
15
|
+
* No reversals; subscale results are sums (the published convention is the
|
|
16
|
+
* item mean — divide by 6 and 4 respectively). The strategies are
|
|
17
|
+
* descriptive individual differences — no clinical cutoffs exist, so no
|
|
18
|
+
* bands are defined. The authors instruct not to change the item order:
|
|
19
|
+
* items 1 and 3 define the terms "positive emotion" and "negative emotion".
|
|
20
|
+
*
|
|
21
|
+
* Research use only: distributed by the authors for non-commercial
|
|
22
|
+
* research (Stanford Psychophysiology Laboratory).
|
|
23
|
+
*/
|
|
24
|
+
export const erq = {
|
|
25
|
+
id: "erq",
|
|
26
|
+
version: "1.0.0",
|
|
27
|
+
categories: ["emotion-regulation"],
|
|
28
|
+
title: {
|
|
29
|
+
en: "Emotion Regulation Questionnaire (ERQ)",
|
|
30
|
+
},
|
|
31
|
+
description: {
|
|
32
|
+
en: "A 10-item measure of individual differences in the habitual use of two emotion regulation strategies: cognitive reappraisal and expressive suppression.",
|
|
33
|
+
},
|
|
34
|
+
instructions: {
|
|
35
|
+
en: "We would like to ask you some questions about your emotional life, in particular, how you control (that is, regulate and manage) your emotions. The questions below involve two distinct aspects of your emotional life. One is your emotional experience, or what you feel like inside. The other is your emotional expression, or how you show your emotions in the way you talk, gesture, or behave. Although some of the following questions may seem similar to one another, they differ in important ways.",
|
|
36
|
+
},
|
|
37
|
+
defaultLocale: "en",
|
|
38
|
+
options: agreementOptions,
|
|
39
|
+
questions: [
|
|
40
|
+
{ id: "erq-1", text: { en: "When I want to feel more positive emotion (such as joy or amusement), I change what I'm thinking about." } },
|
|
41
|
+
{ id: "erq-2", text: { en: "I keep my emotions to myself." } },
|
|
42
|
+
{ id: "erq-3", text: { en: "When I want to feel less negative emotion (such as sadness or anger), I change what I'm thinking about." } },
|
|
43
|
+
{ id: "erq-4", text: { en: "When I am feeling positive emotions, I am careful not to express them." } },
|
|
44
|
+
{ id: "erq-5", text: { en: "When I'm faced with a stressful situation, I make myself think about it in a way that helps me stay calm." } },
|
|
45
|
+
{ id: "erq-6", text: { en: "I control my emotions by not expressing them." } },
|
|
46
|
+
{ id: "erq-7", text: { en: "When I want to feel more positive emotion, I change the way I'm thinking about the situation." } },
|
|
47
|
+
{ id: "erq-8", text: { en: "I control my emotions by changing the way I think about the situation I'm in." } },
|
|
48
|
+
{ id: "erq-9", text: { en: "When I am feeling negative emotions, I make sure not to express them." } },
|
|
49
|
+
{ id: "erq-10", text: { en: "When I want to feel less negative emotion, I change the way I'm thinking about the situation." } },
|
|
50
|
+
],
|
|
51
|
+
scoring: {
|
|
52
|
+
kind: "subscales",
|
|
53
|
+
missing: { strategy: "require-complete" },
|
|
54
|
+
subscales: [
|
|
55
|
+
{
|
|
56
|
+
id: "reappraisal",
|
|
57
|
+
label: { en: "Cognitive reappraisal" },
|
|
58
|
+
questionIds: ["erq-1", "erq-3", "erq-5", "erq-7", "erq-8", "erq-10"],
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
id: "suppression",
|
|
62
|
+
label: { en: "Expressive suppression" },
|
|
63
|
+
questionIds: ["erq-2", "erq-4", "erq-6", "erq-9"],
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
},
|
|
67
|
+
meta: {
|
|
68
|
+
reference: "Gross, J. J., & John, O. P. (2003). Individual differences in two emotion regulation processes: Implications for affect, relationships, and well-being. Journal of Personality and Social Psychology, 85(2), 348-362.",
|
|
69
|
+
license: "Research only — distributed by the authors free of charge for non-commercial research (Stanford Psychophysiology Laboratory); commercial use is not licensed",
|
|
70
|
+
licenseFlag: "research-only",
|
|
71
|
+
translationProvenance: "en: reproduced from the original instrument (Gross & John, 2003; official Stanford SPL distribution). 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. A validated Turkish adaptation exists (Ulaşan Özgüle, 2011) but uses a 6-point response scale and a different item order, so it cannot be represented as a locale pack of this definition. See SOURCES.md.",
|
|
72
|
+
scoringNote: "Subscale results are sums (reappraisal 6-42, suppression 4-28); the published convention reports item means — divide by 6 and 4 respectively.",
|
|
73
|
+
},
|
|
74
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { AssessmentDefinition } from "../types.ts";
|
|
2
|
+
/**
|
|
3
|
+
* FS — Flourishing Scale (Diener et al., 2010).
|
|
4
|
+
*
|
|
5
|
+
* 8 items on a fully labeled 1–7 agreement scale, total score 8–56;
|
|
6
|
+
* higher scores indicate more self-perceived psychological resources and
|
|
7
|
+
* strengths. No published cutoffs exist, so no bands are defined.
|
|
8
|
+
* Copyrighted by the authors but free to use without permission by
|
|
9
|
+
* researchers and practitioners with credit; commercial use is not
|
|
10
|
+
* licensed.
|
|
11
|
+
*/
|
|
12
|
+
export declare const flourishing: AssessmentDefinition;
|