Knowtation web client
    Preparing search index...

    Function decision

    • The decision on a proposal: an unsaved change first, then the saved review status.

      Parameters

      • p: {
            band?: string | null;
            chosen: boolean;
            confidence?: number | null;
            human_verified?: boolean | null;
            id: string;
            property: string;
            provenance?: "observed" | "declared" | "inferred" | "reviewed" | null;
            rationale?: string | null;
            raw_score?: number | null;
            source_id?: string | null;
            source_kind: "profiler" | "rule" | "recogniser" | "llm" | "human";
            source_version?: string | null;
            status?: "proposed" | "accepted" | "edited" | "rejected" | null;
            target: string;
            value: string;
        }
        • Optionalband?: string | null

          Band

        • chosen: boolean

          Chosen

          false
          
        • Optionalconfidence?: number | null

          Confidence

        • Optionalhuman_verified?: boolean | null

          Human Verified

        • id: string

          Id

        • property: string

          Property

        • Optionalprovenance?: "observed" | "declared" | "inferred" | "reviewed" | null

          Where the value comes from.

        • Optionalrationale?: string | null

          Rationale

        • Optionalraw_score?: number | null

          Raw Score

        • Optionalsource_id?: string | null

          Source Id

        • source_kind: "profiler" | "rule" | "recogniser" | "llm" | "human"
        • Optionalsource_version?: string | null

          Source Version

        • Optionalstatus?: "proposed" | "accepted" | "edited" | "rejected" | null
        • target: string

          Target

          Id of the dataset, resource or element.

        • value: string

          Value

      • pending: {
            action: "accept" | "edit" | "reject";
            property: string;
            proposal_id?: string | null;
            target: string;
            value?: string | null;
        }[]
        • action: "accept" | "edit" | "reject"

          Action

        • property: string

          Property

        • Optionalproposal_id?: string | null

          Proposal Id

        • target: string

          Target

        • Optionalvalue?: string | null

          Value

      Returns Decision