@dalmia/calibrate-mcp 0.0.84 → 0.0.86

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/bin/mcp-server.js +152 -46
  2. package/bin/mcp-server.js.map +23 -18
  3. package/esm/funcs/annotationTasksGetAgreement.js +1 -6
  4. package/esm/funcs/annotationTasksGetAgreement.js.map +1 -1
  5. package/esm/landing-page.js +1 -1
  6. package/esm/lib/config.d.ts +2 -2
  7. package/esm/lib/config.js +2 -2
  8. package/esm/mcp-server/mcp-server.js +1 -1
  9. package/esm/mcp-server/server.js +1 -1
  10. package/esm/mcp-server/tools/annotationTasksGetAgreement.js +1 -1
  11. package/esm/models/annotatorresponse.d.ts +2 -0
  12. package/esm/models/annotatorresponse.d.ts.map +1 -1
  13. package/esm/models/annotatorresponse.js +3 -0
  14. package/esm/models/annotatorresponse.js.map +1 -1
  15. package/esm/models/answersummary.d.ts +8 -0
  16. package/esm/models/answersummary.d.ts.map +1 -0
  17. package/esm/models/answersummary.js +10 -0
  18. package/esm/models/answersummary.js.map +1 -0
  19. package/esm/models/evaluatoragreement.d.ts +41 -0
  20. package/esm/models/evaluatoragreement.d.ts.map +1 -0
  21. package/esm/models/evaluatoragreement.js +42 -0
  22. package/esm/models/evaluatoragreement.js.map +1 -0
  23. package/esm/models/evaluatorswithhumansblock.d.ts +7 -0
  24. package/esm/models/evaluatorswithhumansblock.d.ts.map +1 -0
  25. package/esm/models/evaluatorswithhumansblock.js +9 -0
  26. package/esm/models/evaluatorswithhumansblock.js.map +1 -0
  27. package/esm/models/humanagreementblock.d.ts +0 -3
  28. package/esm/models/humanagreementblock.d.ts.map +1 -1
  29. package/esm/models/humanagreementblock.js +0 -2
  30. package/esm/models/humanagreementblock.js.map +1 -1
  31. package/esm/models/interannotatoragreement.d.ts +34 -0
  32. package/esm/models/interannotatoragreement.d.ts.map +1 -0
  33. package/esm/models/interannotatoragreement.js +34 -0
  34. package/esm/models/interannotatoragreement.js.map +1 -0
  35. package/esm/models/kappaofanswerkind.d.ts +60 -0
  36. package/esm/models/kappaofanswerkind.d.ts.map +1 -0
  37. package/esm/models/kappaofanswerkind.js +52 -0
  38. package/esm/models/kappaofanswerkind.js.map +1 -0
  39. package/esm/models/taskagreementannotationtaskstaskuuidagreementgetop.d.ts +0 -20
  40. package/esm/models/taskagreementannotationtaskstaskuuidagreementgetop.d.ts.map +1 -1
  41. package/esm/models/taskagreementannotationtaskstaskuuidagreementgetop.js +0 -15
  42. package/esm/models/taskagreementannotationtaskstaskuuidagreementgetop.js.map +1 -1
  43. package/esm/models/taskagreementresponse.d.ts +4 -5
  44. package/esm/models/taskagreementresponse.d.ts.map +1 -1
  45. package/esm/models/taskagreementresponse.js +6 -6
  46. package/esm/models/taskagreementresponse.js.map +1 -1
  47. package/esm/tool-names.js +1 -1
  48. package/esm/tool-names.js.map +1 -1
  49. package/package.json +1 -1
  50. package/src/funcs/annotationTasksGetAgreement.ts +1 -6
  51. package/src/landing-page.ts +1 -1
  52. package/src/lib/config.ts +2 -2
  53. package/src/mcp-server/mcp-server.ts +1 -1
  54. package/src/mcp-server/server.ts +1 -1
  55. package/src/mcp-server/tools/annotationTasksGetAgreement.ts +1 -1
  56. package/src/models/annotatorresponse.ts +9 -0
  57. package/src/models/answersummary.ts +19 -0
  58. package/src/models/evaluatoragreement.ts +85 -0
  59. package/src/models/evaluatorswithhumansblock.ts +21 -0
  60. package/src/models/humanagreementblock.ts +0 -5
  61. package/src/models/interannotatoragreement.ts +69 -0
  62. package/src/models/kappaofanswerkind.ts +101 -0
  63. package/src/models/taskagreementannotationtaskstaskuuidagreementgetop.ts +0 -28
  64. package/src/models/taskagreementresponse.ts +14 -9
  65. package/src/tool-names.ts +1 -1
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
- import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
4
+ import { encodeSimple } from "../lib/encodings.js";
5
5
  import { compactMap } from "../lib/primitives.js";
6
6
  import { safeParse } from "../lib/schemas.js";
7
7
  import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
@@ -31,10 +31,6 @@ async function $do(client$, request, options) {
31
31
  }),
32
32
  };
33
33
  const path$ = pathToFunc("/annotation-tasks/{task_uuid}/agreement")(pathParams$);
34
- const query$ = encodeFormQuery({
35
- "bucket": payload$.bucket,
36
- "days": payload$.days,
37
- });
38
34
  const headers$ = new Headers(compactMap({
39
35
  Accept: "application/json",
40
36
  "X-API-Key": encodeSimple("X-API-Key", payload$.xAPIKey, {
@@ -68,7 +64,6 @@ async function $do(client$, request, options) {
68
64
  baseURL: options?.serverURL,
69
65
  path: path$,
70
66
  headers: headers$,
71
- query: query$,
72
67
  body: body$,
73
68
  userAgent: client$._options.userAgent,
74
69
  timeoutMs: options?.timeoutMs || client$._options.timeoutMs
@@ -1 +1 @@
1
- {"version":3,"file":"annotationTasksGetAgreement.js","sourceRoot":"","sources":["../../src/funcs/annotationTasksGetAgreement.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAU3C,OAAO,EAEL,iEAAiE,GAClE,MAAM,iEAAiE,CAAC;AACzE,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGxD;;;;;GAKG;AACH,MAAM,UAAU,2BAA2B,CACzC,OAAyB,EACzB,OAAgE,EAChE,OAAwB;IAaxB,OAAO,IAAI,UAAU,CAAC,GAAG,CACvB,OAAO,EACP,OAAO,EACP,OAAO,CACR,C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I,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACjB,OAAO,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;IAChE,CAAC;IACD,OAAO,CAAC,QAAQ,EAAE;YAChB,MAAM,EAAE,UAAU;YAClB,SAAS,EAAE,IAAI;YACf,QAAQ,EAAE,QAAQ,CAAC,KAAK;SACzB,CAAC,CAAC;AACL,CAAC"}
1
+ {"version":3,"file":"annotationTasksGetAgreement.js","sourceRoot":"","sources":["../../src/funcs/annotationTasksGetAgreement.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAU3C,OAAO,EAEL,iEAAiE,GAClE,MAAM,iEAAiE,CAAC;AACzE,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGxD;;;;;GAKG;AACH,MAAM,UAAU,2BAA2B,CACzC,OAAyB,EACzB,OAAgE,EAChE,OAAwB;IAaxB,OAAO,IAAI,UAAU,CAAC,GAAG,CACvB,OAAO,EACP,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,OAAyB,EACzB,OAAgE,EAChE,OAAwB;IAgBxB,MAAM,OAAO,GAAG,SAAS,CACvB,OAAO,EACP,CAAC,MAAM,EAAE,EAAE,CACT,iEAAiE,CAAC,KAAK,CACrE,MAAM,CACP,EACH,yBAAyB,CAC1B,CAAC;IACF,IAAI,CAAC,OAAO,CAAC,EAAE,EAAE,CAAC;QAChB,OAAO,CAAC,OAAO,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N;KACF,CAAC;IAEF,MAAM,UAAU,GAAG,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE;QACjD,QAAQ,EAAE,eAAe;QACzB,MAAM,EAAE,KAAK;QACb,OAAO,EAAE,OAAO,EAAE,SAAS;QAC3B,IAAI,EAAE,KAAK;QACX,OAAO,EAAE,QAAQ;QACjB,IAAI,EAAE,KAAK;QACX,SAAS,EAAE,OAAO,CAAC,QAAQ,CAAC,SAAS;QACrC,SAAS,EAAE,OAAO,EAAE,SAAS,IAAI,OAAO,CAAC,QAAQ,CAAC,SAAS;eACtD,CAAC,CAAC;KACR,EAAE,OAAO,CAAC,CAAC;IACZ,IAAI,CAAC,UAAU,CAAC,EAAE,EAAE,CAAC;QACnB,OAAO,CAAC,UAAU,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;IAC7C,CAAC;IACD,MAAM,IAAI,GAAG,UAAU,CAAC,KAAK,CAAC;IAE9B,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE;QACvC,OAAO;QACP,UAAU,EAAE,EAAE;QACd,WAAW,EAAE,OAAO,CAAC,WAAW;QAChC,UAAU,EAAE,OAAO,CAAC,UAAU;KAC/B,CAAC,CAAC;IACH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACjB,OAAO,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;IAChE,CAAC;IACD,OAAO,CAAC,QAAQ,EAAE;YAChB,MAAM,EAAE,UAAU;YAClB,SAAS,EAAE,IAAI;YACf,QAAQ,EAAE,QAAQ,CAAC,KAAK;SACzB,CAAC,CAAC;AACL,CAAC"}
@@ -915,7 +915,7 @@ http_headers = { "api-key-auth" = "YOUR_API_KEY_AUTH" }`;
915
915
  <h1>Instructions</h1>
916
916
  <p>One-click installation for Claude Desktop users</p>
917
917
  <div class="instruction-item">
918
- <a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.84/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
918
+ <a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.86/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
919
919
  📥 Download MCP Bundle
920
920
  </a>
921
921
  </div>
@@ -35,8 +35,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
35
35
  export declare const SDK_METADATA: {
36
36
  readonly language: "typescript";
37
37
  readonly openapiDocVersion: "0.1.0";
38
- readonly sdkVersion: "0.0.84";
38
+ readonly sdkVersion: "0.0.86";
39
39
  readonly genVersion: "2.915.1";
40
- readonly userAgent: "speakeasy-sdk/mcp-typescript 0.0.84 2.915.1 0.1.0 @dalmia/calibrate-mcp";
40
+ readonly userAgent: "speakeasy-sdk/mcp-typescript 0.0.86 2.915.1 0.1.0 @dalmia/calibrate-mcp";
41
41
  };
42
42
  //# sourceMappingURL=config.d.ts.map
package/esm/lib/config.js CHANGED
@@ -27,8 +27,8 @@ export function serverURLFromOptions(options) {
27
27
  export const SDK_METADATA = {
28
28
  language: "typescript",
29
29
  openapiDocVersion: "0.1.0",
30
- sdkVersion: "0.0.84",
30
+ sdkVersion: "0.0.86",
31
31
  genVersion: "2.915.1",
32
- userAgent: "speakeasy-sdk/mcp-typescript 0.0.84 2.915.1 0.1.0 @dalmia/calibrate-mcp",
32
+ userAgent: "speakeasy-sdk/mcp-typescript 0.0.86 2.915.1 0.1.0 @dalmia/calibrate-mcp",
33
33
  };
34
34
  //# sourceMappingURL=config.js.map
@@ -18,7 +18,7 @@ const routes = buildRouteMap({
18
18
  export const app = buildApplication(routes, {
19
19
  name: "mcp",
20
20
  versionInfo: {
21
- currentVersion: "0.0.84",
21
+ currentVersion: "0.0.86",
22
22
  },
23
23
  });
24
24
  run(app, process.argv.slice(2), buildContext(process));
@@ -55,7 +55,7 @@ import { tool$workspaceCurrent } from "./tools/workspaceCurrent.js";
55
55
  export function createMCPServer(deps) {
56
56
  const server = new McpServer({
57
57
  name: "CalibrateMcp",
58
- version: "0.0.84",
58
+ version: "0.0.86",
59
59
  });
60
60
  const getClient = deps.getSDK || (() => new CalibrateMcpCore({
61
61
  security: deps.security,
@@ -9,7 +9,7 @@ const args = {
9
9
  };
10
10
  export const tool$annotationTasksGetAgreement = {
11
11
  name: "get-annotation-agreement",
12
- description: `Get human-vs-human and human-vs-evaluator agreement metrics for a task, with a trend series.
12
+ description: `Get human-vs-human and human-vs-evaluator agreement metrics for a task, with a chance-corrected kappa for each evaluator.
13
13
  `,
14
14
  scopes: ["read"],
15
15
  annotations: {
@@ -1,4 +1,5 @@
1
1
  import * as z from "zod";
2
+ import { KappaOfAnswerKind } from "./kappaofanswerkind.js";
2
3
  export type AnnotatorResponse = {
3
4
  uuid: string;
4
5
  name: string;
@@ -7,6 +8,7 @@ export type AnnotatorResponse = {
7
8
  jobs_count?: number | null | undefined;
8
9
  current_agreement?: number | null | undefined;
9
10
  pair_count?: number | null | undefined;
11
+ kappa_by_kind?: Array<KappaOfAnswerKind> | null | undefined;
10
12
  };
11
13
  export declare const AnnotatorResponse$zodSchema: z.ZodType<AnnotatorResponse>;
12
14
  //# sourceMappingURL=annotatorresponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"annotatorresponse.d.ts","sourceRoot":"","sources":["../../src/models/annotatorresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9C,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAmBjE,CAAC"}
1
+ {"version":3,"file":"annotatorresponse.d.ts","sourceRoot":"","sources":["../../src/models/annotatorresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAEhC,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9C,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,aAAa,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;CAC7D,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAuBjE,CAAC"}
@@ -2,11 +2,14 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
  import * as z from "zod";
5
+ import { KappaOfAnswerKind$zodSchema, } from "./kappaofanswerkind.js";
5
6
  export const AnnotatorResponse$zodSchema = z
6
7
  .object({
7
8
  created_at: z.string().describe("When the annotator was created (ISO 8601 UTC)"),
8
9
  current_agreement: z.number().nullable().optional().describe("Latest pairwise mean agreement with other annotators, from 0 to 1"),
9
10
  jobs_count: z.int().nullable().optional().describe("Number of labelling jobs assigned to this annotator"),
11
+ kappa_by_kind: z.array(KappaOfAnswerKind$zodSchema).nullable().optional()
12
+ .describe("Agreement with the other annotators and its kappa, one entry for each kind of answer compared, binary answers first. The kinds are never combined into one kappa"),
10
13
  name: z.string().describe("Annotator name"),
11
14
  pair_count: z.int().nullable().optional().describe("Number of comparable annotation pairs behind the current agreement score"),
12
15
  updated_at: z.string().describe("When the annotator was last updated (ISO 8601 UTC)"),
@@ -1 +1 @@
1
- {"version":3,"file":"annotatorresponse.js","sourceRoot":"","sources":["../../src/models/annotatorresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAYzB,MAAM,CAAC,MAAM,2BAA2B,GAAiC,CAAC;KACvE,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAC7B,+CAA+C,CAChD;IACD,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC1D,mEAAmE,CACpE;IACD,UAAU,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAChD,qDAAqD,CACtD;IACD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,gBAAgB,CAAC;IAC3C,UAAU,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAChD,0EAA0E,CAC3E;IACD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAC7B,oDAAoD,CACrD;IACD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,cAAc,CAAC;CAC1C,CAAC,CAAC"}
1
+ {"version":3,"file":"annotatorresponse.js","sourceRoot":"","sources":["../../src/models/annotatorresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,2BAA2B,GAC5B,MAAM,wBAAwB,CAAC;AAahC,MAAM,CAAC,MAAM,2BAA2B,GAAiC,CAAC;KACvE,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAC7B,+CAA+C,CAChD;IACD,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC1D,mEAAmE,CACpE;IACD,UAAU,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAChD,qDAAqD,CACtD;IACD,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;SACtE,QAAQ,CACP,kKAAkK,CACnK;IACH,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,gBAAgB,CAAC;IAC3C,UAAU,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAChD,0EAA0E,CAC3E;IACD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAC7B,oDAAoD,CACrD;IACD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,cAAc,CAAC;CAC1C,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import * as z from "zod";
2
+ export type AnswerSummary = {
3
+ count: number;
4
+ true_count: number | null;
5
+ mean: number | null;
6
+ };
7
+ export declare const AnswerSummary$zodSchema: z.ZodType<AnswerSummary>;
8
+ //# sourceMappingURL=answersummary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"answersummary.d.ts","sourceRoot":"","sources":["../../src/models/answersummary.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAM3D,CAAC"}
@@ -0,0 +1,10 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import * as z from "zod";
5
+ export const AnswerSummary$zodSchema = z.object({
6
+ count: z.int().describe("How many answers there are"),
7
+ mean: z.number().nullable().describe("Mean of the rating answers"),
8
+ true_count: z.int().nullable().describe("How many pass/fail answers are a pass"),
9
+ });
10
+ //# sourceMappingURL=answersummary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"answersummary.js","sourceRoot":"","sources":["../../src/models/answersummary.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAQzB,MAAM,CAAC,MAAM,uBAAuB,GAA6B,CAAC,CAAC,MAAM,CAAC;IACxE,KAAK,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,4BAA4B,CAAC;IACrD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,4BAA4B,CAAC;IAClE,UAAU,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACrC,uCAAuC,CACxC;CACF,CAAC,CAAC"}
@@ -0,0 +1,41 @@
1
+ import * as z from "zod";
2
+ import { ClosedEnum } from "../types/enums.js";
3
+ import { AnswerSummary } from "./answersummary.js";
4
+ import { InterAnnotatorAgreement } from "./interannotatoragreement.js";
5
+ export declare const EvaluatorAgreementKappaType: {
6
+ readonly Fleiss: "fleiss";
7
+ readonly LinearWeightedFleiss: "linear_weighted_fleiss";
8
+ readonly Cohen: "cohen";
9
+ readonly LinearWeightedCohen: "linear_weighted_cohen";
10
+ };
11
+ export type EvaluatorAgreementKappaType = ClosedEnum<typeof EvaluatorAgreementKappaType>;
12
+ export declare const EvaluatorAgreementKappaType$zodSchema: z.ZodEnum<{
13
+ fleiss: "fleiss";
14
+ linear_weighted_fleiss: "linear_weighted_fleiss";
15
+ cohen: "cohen";
16
+ linear_weighted_cohen: "linear_weighted_cohen";
17
+ }>;
18
+ export declare const EvaluatorAgreementKappaBlankReason: {
19
+ readonly TooFewItems: "too_few_items";
20
+ readonly EveryoneAgreed: "everyone_agreed";
21
+ };
22
+ export type EvaluatorAgreementKappaBlankReason = ClosedEnum<typeof EvaluatorAgreementKappaBlankReason>;
23
+ export declare const EvaluatorAgreementKappaBlankReason$zodSchema: z.ZodEnum<{
24
+ too_few_items: "too_few_items";
25
+ everyone_agreed: "everyone_agreed";
26
+ }>;
27
+ export type EvaluatorAgreement = {
28
+ kappa: number | null;
29
+ kappa_type: EvaluatorAgreementKappaType | null;
30
+ kappa_blank_reason: EvaluatorAgreementKappaBlankReason | null;
31
+ chance_agreement: number | null;
32
+ evaluator_id: string;
33
+ name: string | null;
34
+ current: number | null;
35
+ pair_count: number;
36
+ inter_annotator: InterAnnotatorAgreement;
37
+ result: AnswerSummary;
38
+ human_result: AnswerSummary | null;
39
+ };
40
+ export declare const EvaluatorAgreement$zodSchema: z.ZodType<EvaluatorAgreement>;
41
+ //# sourceMappingURL=evaluatoragreement.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"evaluatoragreement.d.ts","sourceRoot":"","sources":["../../src/models/evaluatoragreement.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAA2B,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EACL,uBAAuB,EAExB,MAAM,8BAA8B,CAAC;AAEtC,eAAO,MAAM,2BAA2B;;;;;CAK9B,CAAC;AACX,MAAM,MAAM,2BAA2B,GAAG,UAAU,CAClD,OAAO,2BAA2B,CACnC,CAAC;AAEF,eAAO,MAAM,qCAAqC;;;;;EAKhD,CAAC;AAEH,eAAO,MAAM,kCAAkC;;;CAGrC,CAAC;AACX,MAAM,MAAM,kCAAkC,GAAG,UAAU,CACzD,OAAO,kCAAkC,CAC1C,CAAC;AAEF,eAAO,MAAM,4CAA4C;;;EAGvD,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,UAAU,EAAE,2BAA2B,GAAG,IAAI,CAAC;IAC/C,kBAAkB,EAAE,kCAAkC,GAAG,IAAI,CAAC;IAC9D,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,uBAAuB,CAAC;IACzC,MAAM,EAAE,aAAa,CAAC;IACtB,YAAY,EAAE,aAAa,GAAG,IAAI,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CA4BnE,CAAC"}
@@ -0,0 +1,42 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import * as z from "zod";
5
+ import { AnswerSummary$zodSchema } from "./answersummary.js";
6
+ import { InterAnnotatorAgreement$zodSchema, } from "./interannotatoragreement.js";
7
+ export const EvaluatorAgreementKappaType = {
8
+ Fleiss: "fleiss",
9
+ LinearWeightedFleiss: "linear_weighted_fleiss",
10
+ Cohen: "cohen",
11
+ LinearWeightedCohen: "linear_weighted_cohen",
12
+ };
13
+ export const EvaluatorAgreementKappaType$zodSchema = z.enum([
14
+ "fleiss",
15
+ "linear_weighted_fleiss",
16
+ "cohen",
17
+ "linear_weighted_cohen",
18
+ ]);
19
+ export const EvaluatorAgreementKappaBlankReason = {
20
+ TooFewItems: "too_few_items",
21
+ EveryoneAgreed: "everyone_agreed",
22
+ };
23
+ export const EvaluatorAgreementKappaBlankReason$zodSchema = z.enum([
24
+ "too_few_items",
25
+ "everyone_agreed",
26
+ ]);
27
+ export const EvaluatorAgreement$zodSchema = z
28
+ .object({
29
+ chance_agreement: z.number().nullable().describe("Agreement expected by chance alone, which `kappa` corrects for, on the same scale as the agreement"),
30
+ current: z.number().nullable().describe("Current mean agreement between this evaluator's judge and the annotators"),
31
+ evaluator_id: z.string().describe("ID of the evaluator"),
32
+ human_result: AnswerSummary$zodSchema.nullable().describe("The annotators' answers for this evaluator"),
33
+ inter_annotator: InterAnnotatorAgreement$zodSchema,
34
+ kappa: z.number().nullable().describe("Agreement corrected for the agreement expected by chance, where 1 is perfect agreement, 0 is chance level, and below 0 is worse than chance"),
35
+ kappa_blank_reason: EvaluatorAgreementKappaBlankReason$zodSchema.nullable()
36
+ .describe("Why `kappa` is blank when answers were compared:\n\n- `too_few_items`: every evaluator compared these answers on only one item, and one item cannot show the agreement expected by chance\n- `everyone_agreed`: every compared answer is the same, so agreement cannot be told apart from chance\n"),
37
+ kappa_type: EvaluatorAgreementKappaType$zodSchema.nullable().describe("The kind of kappa reported in `kappa`:\n\n- `fleiss`: Fleiss' kappa between three or more annotators\n- `linear_weighted_fleiss`: Fleiss' kappa between three or more annotators, giving partial credit to close ratings\n- `cohen`: Cohen's kappa between exactly two annotators, between a judge and the annotators, or between one annotator and the others\n- `linear_weighted_cohen`: Cohen's kappa between exactly two annotators, between a judge and the annotators, or between one annotator and the others, giving partial credit to close ratings\n"),
38
+ name: z.string().nullable().describe("Name of the evaluator"),
39
+ pair_count: z.int().describe("How many judge and annotator pairs the current value averages over"),
40
+ result: AnswerSummary$zodSchema,
41
+ });
42
+ //# sourceMappingURL=evaluatoragreement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CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACnC,6IAA6I,CAC9I;IACD,kBAAkB,EAAE,4CAA4C,CAAC,QAAQ,EAAE;SACxE,QAAQ,CACP,oSAAoS,CACrS;IACH,UAAU,EAAE,qCAAqC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACnE,giBAAgiB,CACjiB;IACD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,uBAAuB,CAAC;IAC7D,UAAU,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,CAC1B,oEAAoE,CACrE;IACD,MAAM,EAAE,uBAAuB;CAChC,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import * as z from "zod";
2
+ export type EvaluatorsWithHumansBlock = {
3
+ current: number | null;
4
+ pair_count: number;
5
+ };
6
+ export declare const EvaluatorsWithHumansBlock$zodSchema: z.ZodType<EvaluatorsWithHumansBlock>;
7
+ //# sourceMappingURL=evaluatorswithhumansblock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"evaluatorswithhumansblock.d.ts","sourceRoot":"","sources":["../../src/models/evaluatorswithhumansblock.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,yBAAyB,GAAG;IACtC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,yBAAyB,CAQzB,CAAC"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import * as z from "zod";
5
+ export const EvaluatorsWithHumansBlock$zodSchema = z.object({
6
+ current: z.number().nullable().describe("Current mean agreement between the evaluators and the annotators, weighted by how many pairs each evaluator compared"),
7
+ pair_count: z.int().describe("How many evaluator and annotator pairs the current value averages over"),
8
+ });
9
+ //# sourceMappingURL=evaluatorswithhumansblock.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"evaluatorswithhumansblock.js","sourceRoot":"","sources":["../../src/models/evaluatorswithhumansblock.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAOzB,MAAM,CAAC,MAAM,mCAAmC,GAE5C,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACrC,sHAAsH,CACvH;IACD,UAAU,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,CAC1B,wEAAwE,CACzE;CACF,CAAC,CAAC"}
@@ -2,9 +2,6 @@ import * as z from "zod";
2
2
  export type HumanAgreementBlock = {
3
3
  current: number | null;
4
4
  pair_count: number;
5
- series: Array<{
6
- [k: string]: any;
7
- }>;
8
5
  AdditionalProperties?: {
9
6
  [k: string]: any;
10
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"humanagreementblock.d.ts","sourceRoot":"","sources":["../../src/models/humanagreementblock.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,KAAK,CAAC;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC,CAAC;IACpC,oBAAoB,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;CAC7C,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAetE,CAAC;AAEJ,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAAC,GAAG,CAW/D,CAAC"}
1
+ {"version":3,"file":"humanagreementblock.d.ts","sourceRoot":"","sources":["../../src/models/humanagreementblock.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,oBAAoB,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;CAC7C,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAYtE,CAAC;AAEJ,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAAC,GAAG,CAU/D,CAAC"}
@@ -6,13 +6,11 @@ import { collectExtraKeys as collectExtraKeys$ } from "../lib/schemas.js";
6
6
  export const HumanAgreementBlock$zodSchema = collectExtraKeys$(z.object({
7
7
  current: z.number().nullable().describe("Current mean pairwise agreement among annotators"),
8
8
  pair_count: z.int().describe("How many annotator pairs the current value averages over"),
9
- series: z.array(z.record(z.string(), z.any())).describe("Agreement over time, one point per time bucket"),
10
9
  }).catchall(z.any()), "AdditionalProperties", true);
11
10
  export const HumanAgreementBlock$zodSchemaOutbound = z.object({
12
11
  AdditionalProperties: z.record(z.string(), z.any()).optional(),
13
12
  current: z.nullable(z.number()),
14
13
  pair_count: z.int(),
15
- series: z.array(z.record(z.string(), z.any())),
16
14
  }).transform((v) => {
17
15
  const { AdditionalProperties, ...rest } = v;
18
16
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"humanagreementblock.js","sourceRoot":"","sources":["../../src/models/humanagreementblock.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,gBAAgB,IAAI,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAS1E,MAAM,CAAC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AEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,gBAAgB,IAAI,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAQ1E,MAAM,CAAC,MAAM,6BAA6B,GACxC,iBAAiB,CACf,CAAC,CAAC,MAAM,CAAC;IACP,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACrC,kDAAkD,CACnD;IACD,UAAU,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,CAC1B,0DAA0D,CAC3D;CACF,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,EACpB,sBAAsB,EACtB,IAAI,CACL,CAAC;AAEJ,MAAM,CAAC,MAAM,qCAAqC,GAAmB,CAAC,CAAC,MAAM,CAAC;IAC5E,oBAAoB,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9D,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC/B,UAAU,EAAE,CAAC,CAAC,GAAG,EAAE;CACpB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,MAAM,EAAE,oBAAoB,EAAE,GAAG,IAAI,EAAE,GAAG,CAAC,CAAC;IAC5C,OAAO;QACL,GAAG,IAAI;QACP,GAAG,oBAAoB;KACxB,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -0,0 +1,34 @@
1
+ import * as z from "zod";
2
+ import { ClosedEnum } from "../types/enums.js";
3
+ export declare const InterAnnotatorAgreementKappaType: {
4
+ readonly Fleiss: "fleiss";
5
+ readonly LinearWeightedFleiss: "linear_weighted_fleiss";
6
+ readonly Cohen: "cohen";
7
+ readonly LinearWeightedCohen: "linear_weighted_cohen";
8
+ };
9
+ export type InterAnnotatorAgreementKappaType = ClosedEnum<typeof InterAnnotatorAgreementKappaType>;
10
+ export declare const InterAnnotatorAgreementKappaType$zodSchema: z.ZodEnum<{
11
+ fleiss: "fleiss";
12
+ linear_weighted_fleiss: "linear_weighted_fleiss";
13
+ cohen: "cohen";
14
+ linear_weighted_cohen: "linear_weighted_cohen";
15
+ }>;
16
+ export declare const InterAnnotatorAgreementKappaBlankReason: {
17
+ readonly TooFewItems: "too_few_items";
18
+ readonly EveryoneAgreed: "everyone_agreed";
19
+ };
20
+ export type InterAnnotatorAgreementKappaBlankReason = ClosedEnum<typeof InterAnnotatorAgreementKappaBlankReason>;
21
+ export declare const InterAnnotatorAgreementKappaBlankReason$zodSchema: z.ZodEnum<{
22
+ too_few_items: "too_few_items";
23
+ everyone_agreed: "everyone_agreed";
24
+ }>;
25
+ export type InterAnnotatorAgreement = {
26
+ kappa: number | null;
27
+ kappa_type: InterAnnotatorAgreementKappaType | null;
28
+ kappa_blank_reason: InterAnnotatorAgreementKappaBlankReason | null;
29
+ chance_agreement: number | null;
30
+ current: number | null;
31
+ pair_count: number;
32
+ };
33
+ export declare const InterAnnotatorAgreement$zodSchema: z.ZodType<InterAnnotatorAgreement>;
34
+ //# sourceMappingURL=interannotatoragreement.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interannotatoragreement.d.ts","sourceRoot":"","sources":["../../src/models/interannotatoragreement.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,eAAO,MAAM,gCAAgC;;;;;CAKnC,CAAC;AACX,MAAM,MAAM,gCAAgC,GAAG,UAAU,CACvD,OAAO,gCAAgC,CACxC,CAAC;AAEF,eAAO,MAAM,0CAA0C;;;;;EAKrD,CAAC;AAEH,eAAO,MAAM,uCAAuC;;;CAG1C,CAAC;AACX,MAAM,MAAM,uCAAuC,GAAG,UAAU,CAC9D,OAAO,uCAAuC,CAC/C,CAAC;AAEF,eAAO,MAAM,iDAAiD;;;EAG5D,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG;IACpC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,UAAU,EAAE,gCAAgC,GAAG,IAAI,CAAC;IACpD,kBAAkB,EAAE,uCAAuC,GAAG,IAAI,CAAC;IACnE,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,uBAAuB,CAqBvB,CAAC"}
@@ -0,0 +1,34 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import * as z from "zod";
5
+ export const InterAnnotatorAgreementKappaType = {
6
+ Fleiss: "fleiss",
7
+ LinearWeightedFleiss: "linear_weighted_fleiss",
8
+ Cohen: "cohen",
9
+ LinearWeightedCohen: "linear_weighted_cohen",
10
+ };
11
+ export const InterAnnotatorAgreementKappaType$zodSchema = z.enum([
12
+ "fleiss",
13
+ "linear_weighted_fleiss",
14
+ "cohen",
15
+ "linear_weighted_cohen",
16
+ ]);
17
+ export const InterAnnotatorAgreementKappaBlankReason = {
18
+ TooFewItems: "too_few_items",
19
+ EveryoneAgreed: "everyone_agreed",
20
+ };
21
+ export const InterAnnotatorAgreementKappaBlankReason$zodSchema = z.enum([
22
+ "too_few_items",
23
+ "everyone_agreed",
24
+ ]);
25
+ export const InterAnnotatorAgreement$zodSchema = z.object({
26
+ chance_agreement: z.number().nullable().describe("Agreement expected by chance alone, which `kappa` corrects for, on the same scale as the agreement"),
27
+ current: z.number().nullable().describe("Current mean pairwise agreement among annotators on this evaluator"),
28
+ kappa: z.number().nullable().describe("Agreement corrected for the agreement expected by chance, where 1 is perfect agreement, 0 is chance level, and below 0 is worse than chance"),
29
+ kappa_blank_reason: InterAnnotatorAgreementKappaBlankReason$zodSchema
30
+ .nullable().describe("Why `kappa` is blank when answers were compared:\n\n- `too_few_items`: every evaluator compared these answers on only one item, and one item cannot show the agreement expected by chance\n- `everyone_agreed`: every compared answer is the same, so agreement cannot be told apart from chance\n"),
31
+ kappa_type: InterAnnotatorAgreementKappaType$zodSchema.nullable().describe("The kind of kappa reported in `kappa`:\n\n- `fleiss`: Fleiss' kappa between three or more annotators\n- `linear_weighted_fleiss`: Fleiss' kappa between three or more annotators, giving partial credit to close ratings\n- `cohen`: Cohen's kappa between exactly two annotators, between a judge and the annotators, or between one annotator and the others\n- `linear_weighted_cohen`: Cohen's kappa between exactly two annotators, between a judge and the annotators, or between one annotator and the others, giving partial credit to close ratings\n"),
32
+ pair_count: z.int().describe("How many annotator pairs the current value averages over"),
33
+ });
34
+ //# sourceMappingURL=interannotatoragreement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interannotatoragreement.js","sourceRoot":"","sources":["../../src/models/interannotatoragreement.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,MAAM,CAAC,MAAM,gCAAgC,GAAG;IAC9C,MAAM,EAAE,QAAQ;IAChB,oBAAoB,EAAE,wBAAwB;IAC9C,KAAK,EAAE,OAAO;IACd,mBAAmB,EAAE,uBAAuB;CACpC,CAAC;AAKX,MAAM,CAAC,MAAM,0CAA0C,GAAG,CAAC,CAAC,IAAI,CAAC;IAC/D,QAAQ;IACR,wBAAwB;IACxB,OAAO;IACP,uBAAuB;CACxB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,uCAAuC,GAAG;IACrD,WAAW,EAAE,eAAe;IAC5B,cAAc,EAAE,iBAAiB;CACzB,CAAC;AAKX,MAAM,CAAC,MAAM,iDAAiD,GAAG,CAAC,CAAC,IAAI,CAAC;IACtE,eAAe;IACf,iBAAiB;CAClB,CAAC,CAAC;AAWH,MAAM,CAAC,MAAM,iCAAiC,GAE1C,CAAC,CAAC,MAAM,CAAC;IACX,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC9C,oGAAoG,CACrG;IACD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACrC,oEAAoE,CACrE;IACD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACnC,6IAA6I,CAC9I;IACD,kBAAkB,EAAE,iDAAiD;SAClE,QAAQ,EAAE,CAAC,QAAQ,CAClB,oSAAoS,CACrS;IACH,UAAU,EAAE,0CAA0C,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACxE,giBAAgiB,CACjiB;IACD,UAAU,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,CAC1B,0DAA0D,CAC3D;CACF,CAAC,CAAC"}
@@ -0,0 +1,60 @@
1
+ import * as z from "zod";
2
+ import { ClosedEnum } from "../types/enums.js";
3
+ export declare const KappaOfAnswerKindKappaType: {
4
+ readonly Fleiss: "fleiss";
5
+ readonly LinearWeightedFleiss: "linear_weighted_fleiss";
6
+ readonly Cohen: "cohen";
7
+ readonly LinearWeightedCohen: "linear_weighted_cohen";
8
+ };
9
+ export type KappaOfAnswerKindKappaType = ClosedEnum<typeof KappaOfAnswerKindKappaType>;
10
+ export declare const KappaOfAnswerKindKappaType$zodSchema: z.ZodEnum<{
11
+ fleiss: "fleiss";
12
+ linear_weighted_fleiss: "linear_weighted_fleiss";
13
+ cohen: "cohen";
14
+ linear_weighted_cohen: "linear_weighted_cohen";
15
+ }>;
16
+ export declare const KappaOfAnswerKindKappaBlankReason: {
17
+ readonly TooFewItems: "too_few_items";
18
+ readonly EveryoneAgreed: "everyone_agreed";
19
+ };
20
+ export type KappaOfAnswerKindKappaBlankReason = ClosedEnum<typeof KappaOfAnswerKindKappaBlankReason>;
21
+ export declare const KappaOfAnswerKindKappaBlankReason$zodSchema: z.ZodEnum<{
22
+ too_few_items: "too_few_items";
23
+ everyone_agreed: "everyone_agreed";
24
+ }>;
25
+ /**
26
+ * Which answers this entry covers:
27
+ *
28
+ * @remarks
29
+ *
30
+ * - `binary`: answers that either match or do not, such as pass or fail
31
+ * - `rating`: ratings on a scale
32
+ */
33
+ export declare const AnswerKind: {
34
+ readonly Binary: "binary";
35
+ readonly Rating: "rating";
36
+ };
37
+ /**
38
+ * Which answers this entry covers:
39
+ *
40
+ * @remarks
41
+ *
42
+ * - `binary`: answers that either match or do not, such as pass or fail
43
+ * - `rating`: ratings on a scale
44
+ */
45
+ export type AnswerKind = ClosedEnum<typeof AnswerKind>;
46
+ export declare const AnswerKind$zodSchema: z.ZodEnum<{
47
+ binary: "binary";
48
+ rating: "rating";
49
+ }>;
50
+ export type KappaOfAnswerKind = {
51
+ kappa: number | null;
52
+ kappa_type: KappaOfAnswerKindKappaType | null;
53
+ kappa_blank_reason: KappaOfAnswerKindKappaBlankReason | null;
54
+ chance_agreement: number | null;
55
+ answer_kind: AnswerKind;
56
+ agreement: number | null;
57
+ pair_count: number;
58
+ };
59
+ export declare const KappaOfAnswerKind$zodSchema: z.ZodType<KappaOfAnswerKind>;
60
+ //# sourceMappingURL=kappaofanswerkind.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kappaofanswerkind.d.ts","sourceRoot":"","sources":["../../src/models/kappaofanswerkind.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,eAAO,MAAM,0BAA0B;;;;;CAK7B,CAAC;AACX,MAAM,MAAM,0BAA0B,GAAG,UAAU,CACjD,OAAO,0BAA0B,CAClC,CAAC;AAEF,eAAO,MAAM,oCAAoC;;;;;EAK/C,CAAC;AAEH,eAAO,MAAM,iCAAiC;;;CAGpC,CAAC;AACX,MAAM,MAAM,iCAAiC,GAAG,UAAU,CACxD,OAAO,iCAAiC,CACzC,CAAC;AAEF,eAAO,MAAM,2CAA2C;;;EAGtD,CAAC;AAEH;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU;;;CAGb,CAAC;AACX;;;;;;;GAOG;AACH,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;AAEvD,eAAO,MAAM,oBAAoB;;;EAKhC,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,UAAU,EAAE,0BAA0B,GAAG,IAAI,CAAC;IAC9C,kBAAkB,EAAE,iCAAiC,GAAG,IAAI,CAAC;IAC7D,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,WAAW,EAAE,UAAU,CAAC;IACxB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAwBjE,CAAC"}
@@ -0,0 +1,52 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import * as z from "zod";
5
+ export const KappaOfAnswerKindKappaType = {
6
+ Fleiss: "fleiss",
7
+ LinearWeightedFleiss: "linear_weighted_fleiss",
8
+ Cohen: "cohen",
9
+ LinearWeightedCohen: "linear_weighted_cohen",
10
+ };
11
+ export const KappaOfAnswerKindKappaType$zodSchema = z.enum([
12
+ "fleiss",
13
+ "linear_weighted_fleiss",
14
+ "cohen",
15
+ "linear_weighted_cohen",
16
+ ]);
17
+ export const KappaOfAnswerKindKappaBlankReason = {
18
+ TooFewItems: "too_few_items",
19
+ EveryoneAgreed: "everyone_agreed",
20
+ };
21
+ export const KappaOfAnswerKindKappaBlankReason$zodSchema = z.enum([
22
+ "too_few_items",
23
+ "everyone_agreed",
24
+ ]);
25
+ /**
26
+ * Which answers this entry covers:
27
+ *
28
+ * @remarks
29
+ *
30
+ * - `binary`: answers that either match or do not, such as pass or fail
31
+ * - `rating`: ratings on a scale
32
+ */
33
+ export const AnswerKind = {
34
+ Binary: "binary",
35
+ Rating: "rating",
36
+ };
37
+ export const AnswerKind$zodSchema = z.enum([
38
+ "binary",
39
+ "rating",
40
+ ]).describe("Which answers this entry covers:\n\n- `binary`: answers that either match or do not, such as pass or fail\n- `rating`: ratings on a scale\n");
41
+ export const KappaOfAnswerKind$zodSchema = z
42
+ .object({
43
+ agreement: z.number().nullable().describe("Mean agreement with the other annotators over the pairs `kappa` is worked out from, from 0 to 1. When `kappa_blank_reason` is `too_few_items`, over every compared pair of this kind"),
44
+ answer_kind: AnswerKind$zodSchema.describe("Which answers this entry covers:\n\n- `binary`: answers that either match or do not, such as pass or fail\n- `rating`: ratings on a scale\n"),
45
+ chance_agreement: z.number().nullable().describe("Agreement expected by chance alone, which `kappa` corrects for, on the same scale as the agreement"),
46
+ kappa: z.number().nullable().describe("Agreement corrected for the agreement expected by chance, where 1 is perfect agreement, 0 is chance level, and below 0 is worse than chance"),
47
+ kappa_blank_reason: KappaOfAnswerKindKappaBlankReason$zodSchema.nullable()
48
+ .describe("Why `kappa` is blank when answers were compared:\n\n- `too_few_items`: every evaluator compared these answers on only one item, and one item cannot show the agreement expected by chance\n- `everyone_agreed`: every compared answer is the same, so agreement cannot be told apart from chance\n"),
49
+ kappa_type: KappaOfAnswerKindKappaType$zodSchema.nullable().describe("The kind of kappa reported in `kappa`:\n\n- `fleiss`: Fleiss' kappa between three or more annotators\n- `linear_weighted_fleiss`: Fleiss' kappa between three or more annotators, giving partial credit to close ratings\n- `cohen`: Cohen's kappa between exactly two annotators, between a judge and the annotators, or between one annotator and the others\n- `linear_weighted_cohen`: Cohen's kappa between exactly two annotators, between a judge and the annotators, or between one annotator and the others, giving partial credit to close ratings\n"),
50
+ pair_count: z.int().describe("How many compared pairs `agreement` averages over"),
51
+ });
52
+ //# sourceMappingURL=kappaofanswerkind.js.map
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AAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACnC,6IAA6I,CAC9I;IACD,kBAAkB,EAAE,2CAA2C,CAAC,QAAQ,EAAE;SACvE,QAAQ,CACP,oSAAoS,CACrS;IACH,UAAU,EAAE,oCAAoC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAClE,giBAAgiB,CACjiB;IACD,UAAU,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,CAC1B,mDAAmD,CACpD;CACF,CAAC,CAAC"}
@@ -1,28 +1,8 @@
1
1
  import * as z from "zod";
2
- import { ClosedEnum } from "../types/enums.js";
3
2
  import { HTTPValidationError } from "./httpvalidationerror.js";
4
3
  import { TaskAgreementResponse } from "./taskagreementresponse.js";
5
- /**
6
- * How to bucket points in the trend series
7
- */
8
- export declare const Bucket: {
9
- readonly Week: "week";
10
- readonly Month: "month";
11
- readonly Year: "year";
12
- };
13
- /**
14
- * How to bucket points in the trend series
15
- */
16
- export type Bucket = ClosedEnum<typeof Bucket>;
17
- export declare const Bucket$zodSchema: z.ZodEnum<{
18
- week: "week";
19
- month: "month";
20
- year: "year";
21
- }>;
22
4
  export type TaskAgreementAnnotationTasksTaskUuidAgreementGetRequest = {
23
5
  task_uuid: string;
24
- bucket?: Bucket | undefined;
25
- days?: number | undefined;
26
6
  xAPIKey?: string | null | undefined;
27
7
  };
28
8
  export declare const TaskAgreementAnnotationTasksTaskUuidAgreementGetRequest$zodSchema: z.ZodType<TaskAgreementAnnotationTasksTaskUuidAgreementGetRequest>;
@@ -1 +1 @@
1
- {"version":3,"file":"taskagreementannotationtaskstaskuuidagreementgetop.d.ts","sourceRoot":"","sources":["../../src/models/taskagreementannotationtaskstaskuuidagreementgetop.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,EAEtB,MAAM,4BAA4B,CAAC;AAEpC;;GAEG;AACH,eAAO,MAAM,MAAM;;;;CAIT,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;AAE/C,eAAO,MAAM,gBAAgB;;;;EAI0B,CAAC;AAExD,MAAM,MAAM,uDAAuD,GAAG;IACpE,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACrC,CAAC;AAEF,eAAO,MAAM,iEAAiE,EAC5E,CAAC,CAAC,OAAO,CAAC,uDAAuD,CAWhE,CAAC;AAEJ,MAAM,MAAM,wDAAwD,GAChE,qBAAqB,GACrB,mBAAmB,CAAC;AAExB,eAAO,MAAM,kEAAkE,EAC7E,CAAC,CAAC,OAAO,CAAC,wDAAwD,CAKjE,CAAC"}
1
+ {"version":3,"file":"taskagreementannotationtaskstaskuuidagreementgetop.d.ts","sourceRoot":"","sources":["../../src/models/taskagreementannotationtaskstaskuuidagreementgetop.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,EAEtB,MAAM,4BAA4B,CAAC;AAEpC,MAAM,MAAM,uDAAuD,GAAG;IACpE,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACrC,CAAC;AAEF,eAAO,MAAM,iEAAiE,EAC5E,CAAC,CAAC,OAAO,CAAC,uDAAuD,CAKhE,CAAC;AAEJ,MAAM,MAAM,wDAAwD,GAChE,qBAAqB,GACrB,mBAAmB,CAAC;AAExB,eAAO,MAAM,kEAAkE,EAC7E,CAAC,CAAC,OAAO,CAAC,wDAAwD,CAKjE,CAAC"}
@@ -4,22 +4,7 @@
4
4
  import * as z from "zod";
5
5
  import { HTTPValidationError$zodSchema, } from "./httpvalidationerror.js";
6
6
  import { TaskAgreementResponse$zodSchema, } from "./taskagreementresponse.js";
7
- /**
8
- * How to bucket points in the trend series
9
- */
10
- export const Bucket = {
11
- Week: "week",
12
- Month: "month",
13
- Year: "year",
14
- };
15
- export const Bucket$zodSchema = z.enum([
16
- "week",
17
- "month",
18
- "year",
19
- ]).describe("How to bucket points in the trend series");
20
7
  export const TaskAgreementAnnotationTasksTaskUuidAgreementGetRequest$zodSchema = z.object({
21
- bucket: Bucket$zodSchema.default("week").describe("How to bucket points in the trend series"),
22
- days: z.int().default(90).describe("Trailing window in days for the trend series"),
23
8
  task_uuid: z.string().describe("Annotation task to act on"),
24
9
  xAPIKey: z.string().nullable().optional(),
25
10
  });