Member Junction
    Preparing search index...
    Index

    Constructors

    Accessors

    Methods

    • Kappa and alpha, withheld below the sample floor.

      Parameters

      • ratings: number[][]
      • OptionalminimumSample: number

      Returns AgreementResult

    • Mean, median, or trimmed mean of normalized scores, with spread.

      Parameters

      • scores: number[]
      • Optionalmethod: "Mean" | "Median" | "TrimmedMean"
      • Optionaltrim: number

      Returns ConsensusResult

    • Loads the subject's Submitted scores and returns the consensus. The caller does not pass the scores.

      Parameters

      • input: {
            contextEntityId?: string;
            contextEntityName?: string;
            contextRecordId?: string;
            major?: number;
            method?: "Mean" | "Median" | "TrimmedMean";
            rubricId?: string;
            rubricName?: string;
            subjectEntityId?: string;
            subjectEntityName?: string;
            subjectRecordId: string;
        }
        • OptionalcontextEntityId?: string
        • OptionalcontextEntityName?: string
        • OptionalcontextRecordId?: string
        • Optionalmajor?: number

          When omitted, the latest Published major. Scores from other majors are left out.

        • Optionalmethod?: "Mean" | "Median" | "TrimmedMean"
        • OptionalrubricId?: string
        • OptionalrubricName?: string
        • OptionalsubjectEntityId?: string
        • OptionalsubjectEntityName?: string
        • subjectRecordId: string

      Returns Promise<ConsensusResult>

    • Stores the payload as a Draft version. Throws when the stored status is anything else. Publishing stays a human action.

      Parameters

      Returns Promise<{ id: string; status: "Draft" }>

    • Item-analysis flags for a published major version's criteria.

      Parameters

      • criteria: { key: string; notApplicable: number; scores: number[] }[]

      Returns DiagnosticFlag[]

    • The version tree for a name, id, or a specific version. Does not score. A version id returns that version. Otherwise this is the latest Published version.

      Parameters

      • input: { rubricId?: string; rubricName?: string; versionId?: string }

      Returns Promise<RubricVersionSnapshot>

    • Creates a Draft and a task for the assignee. Does not score. The human fills the draft in and submits it later.

      Parameters

      • input: {
            assigneeId: string;
            drafts: EvaluationDraftStore;
            rubricId: string;
            rubricName: string;
            subjectEntityId: string;
            subjectRecordId: string;
            tasks: RubricTaskStore;
            versionId: string;
        }

      Returns Promise<{ evaluationId: string; taskId: string }>