Let bulk remote assignments identify subjects by an instance's custom identifying fields
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 1-2 天
- 新手友好度
- 48/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- nodejs, react, typescript
- 领域
- backend, frontend, full-stack
调研方向
Start by reading the bulk assignment wizard’s column mapping and deriveCustomFieldsSubjectId in packages/subject-utils; check where the instance’s CUSTOM_FIELDS setting and BULK_ASSIGNMENT_MAX_SUBJECTS are used. Verify that mapped raw identifiers derive the same ids as Start Session, that the mapping is hidden when CUSTOM_FIELDS is unavailable, and that a 500-row assignment gives progress feedback or runs derivation off the main thread.
由索引模型根据 Issue 内容生成。
描述
Bulk remote assignments cannot identify subjects by an instance's custom identifying fields. The wizard's column mapping is built around the four Personal Info fields (first name, last name, date of birth, sex), so it can match a spreadsheet only by subject id or by those four columns.
Until this is built, staff bulk-assign CUSTOM_FIELDS subjects by their stored id. A site that holds only a spreadsheet of raw identifiers cannot bulk-assign a subject until that subject has been through Start Session once.
What it needs
- Mapping: a column for each field the administrator defined, in the defined order, beside the existing Personal Info mapping.
- Derivation: each row's id is derived with the same normalization, JSON-array encoding, salt and PBKDF2 iteration count as
deriveCustomFieldsSubjectIdinpackages/subject-utils, so a derived id matches the one Start Session stores. - Cost: at 600,000 PBKDF2 iterations, one derivation took about 53 ms on a laptop, so a full 500-row assignment (
BULK_ASSIGNMENT_MAX_SUBJECTS) takes about 27 seconds. The wizard needs progress feedback, or derivation needs to move off the main thread. - Visibility: the mapping is offered only while the instance offers
CUSTOM_FIELDS.
- 主要语言
- TypeScript
- 星标
- 119
- 派生
- 19
- 平均合并
- 1 天 18 小时
- 30 天内合并 PR
- 61
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
DouglasNeuroInformatics/OpenDataCapture 的其他 Issue
-
Area: API Bug Difficulty: Low Priority: Low
难度 2/5 1-3 小时 新手友好度 62/100
DouglasNeuroInformatics/OpenDataCapture#1937 ·
维护者通常 1 天内回复
-
Area: Infrastructure Bug Difficulty: Low Priority: Medium Security
难度 2/5 1-3 小时 新手友好度 72/100
DouglasNeuroInformatics/OpenDataCapture#1916 ·
维护者通常 1 天内回复
-
Area: Infrastructure Chore Difficulty: Low Priority: Medium
难度 2/5 1-3 小时 新手友好度 70/100
DouglasNeuroInformatics/OpenDataCapture#1835 ·
维护者通常 1 天内回复
-
Area: Instruments Bug Difficulty: Low Priority: Low
难度 2/5 1-3 小时 新手友好度 78/100
DouglasNeuroInformatics/OpenDataCapture#1824 · 1 条评论 ·
维护者通常 1 天内回复
-
Completing a series instrument logs a TypeError "Cannot read properties of undefined (reading 'kind')"可能已有人在做 @SAY-5 于 3 天前认领。 未关闭Area: Shared Bug Difficulty: Low Priority: Low
难度 2/5 1-3 小时 新手友好度 70/100
DouglasNeuroInformatics/OpenDataCapture#1813 · 1 条评论 ·
维护者通常 1 天内回复
查看 DouglasNeuroInformatics/OpenDataCapture 的全部 Issue
相似的 Issue
-
infra needs-triage
难度 2/5 1 小时以内 新手友好度 82/100
LucasSantana-Dev/Lucky#3331 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
kOaDT/oss-oopssec-store#381 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
nocobase/nocobase#11669 · 1 条评论 ·
维护者通常 1 天内回复
-
iOS: Clear Context (/clear) and model picker fallback use negative agent check instead of isClaude未关闭
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复