ResearchKit / ResearchKit/ResearchKit

Range of Motion tasks not referencing ORKFileResult

Open
#1,330 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Objective-C
Stars
5.7k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

The RangeOfMotion tasks are not including a reference to a ORKFileResult in the step results. This means that the file cannot be retrieved.

Based on current documentation it seems that simply providing an ORKRecorderConfiguration, as the RoM task does, should be sufficient to do this. However, although the file is written, the reference is not included in step results.

Any suggestions?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the ORKRecorder.m code around line 248 and compare it with the RangeOfMotion task's step-result handling. Reproduce a RangeOfMotion task using an ORKRecorderConfiguration, then verify whether the written file is represented by an ORKFileResult in the step results. Done means the file reference is available to retrieve from those results.

Written by the indexing model from the issue text.

Assessment

Tech stack
objective-c
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.