CaseSummarySpec: {
    label: string;
    map: {
        att: string;
        optionWeights?: Record<string, number>;
        type: "att";
    } | {
        steps: {
            [index: string]: {
                att: string;
                neg?: boolean;
                optionWeights?: Record<string, number>;
            };
        };
        type: "att-per-step";
    };
    reduce?: "+" | "*";
}

Type declaration

  • label: string

    display label, should be unique in all summaries

  • map: {
        att: string;
        optionWeights?: Record<string, number>;
        type: "att";
    } | {
        steps: {
            [index: string]: {
                att: string;
                neg?: boolean;
                optionWeights?: Record<string, number>;
            };
        };
        type: "att-per-step";
    }
  • Optional reduce?: "+" | "*"

    assumes addition (+) when not set