Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Score store should allow multiple assessment types #11

Open
3 tasks
richford opened this issue Mar 15, 2023 · 1 comment
Open
3 tasks

Score store should allow multiple assessment types #11

richford opened this issue Mar 15, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@richford
Copy link
Contributor

  • Change scores getter to scoresByTask and make it nested by task
  • Create an allScores getter that is the union of scoresByTask
  • Create a helper function getTaskSpecificScores that takes in a single row of scores (i.e., a run) and generates a ROAR score, normed scores, comparison scores, etc. that are specific to each task. Something like
const getTaskSpecificScores = (run) => {
    if (run.taskId === 'swr') {
        return processSWRRun(run);
    } else if (run.taskId === 'pa') {
        return processPARun(run);
    } // etc.
}

and then, also in the helper file, we have to create the aforesaid functions processSWRRun and processPARun. This also requires that processXXXRun conforms to a specific API: input is a run and output is an object like

{
    roarScore: Number,
    subScores: {
        // These subtask IDs will differ in between tasks
        fsm: Number,
        lsm: Number,
        del: Number,
    },
    comparisonPercentile: Number,
    comparisonType: String (e.g. "Woodcock Johnson"),
    normedPercentile: Number,
    classifications: {
        // Here each field can differ depending on the task
        support: String,
        automaticity: String,
        fsm: String,
        lsm: String,
    }
}
@richford richford added the enhancement New feature or request label Mar 15, 2023
@richford
Copy link
Contributor Author

This is a meta-issue. We'll have to open up individual issues for each of the processABCRun functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants