peerbench 0.0.2-alpha.2 → 0.0.2

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.
@@ -1,19 +1,9 @@
1
1
  import {
2
2
  SimpleSystemPromptSchemaV1
3
- } from "../chunk-ZXTQJFGL.js";
3
+ } from "../chunk-Q6GSOHOP.js";
4
4
  import {
5
5
  defineRunner
6
6
  } from "../chunk-QY5MPNNB.js";
7
- import {
8
- AbstractLLMProvider
9
- } from "../chunk-R76XA2K6.js";
10
- import {
11
- LLMAsAJudgeScorer,
12
- MCQScorer
13
- } from "../chunk-ZEWI24CV.js";
14
- import {
15
- PEERBENCH_NAMESPACE
16
- } from "../chunk-UHHHSYVE.js";
17
7
  import {
18
8
  BaseResponseSchemaV1,
19
9
  BaseScoreSchemaV1,
@@ -29,6 +19,16 @@ import {
29
19
  import {
30
20
  JSONFileStorage
31
21
  } from "../chunk-ERALDEZY.js";
22
+ import {
23
+ LLMAsAJudgeScorer,
24
+ MCQScorer
25
+ } from "../chunk-ZEWI24CV.js";
26
+ import {
27
+ AbstractLLMProvider
28
+ } from "../chunk-R76XA2K6.js";
29
+ import {
30
+ PEERBENCH_NAMESPACE
31
+ } from "../chunk-UHHHSYVE.js";
32
32
  import {
33
33
  idGeneratorUUIDv7
34
34
  } from "../chunk-4UBK6452.js";
@@ -1,10 +1,10 @@
1
+ import {
2
+ buildSchemaDefiner
3
+ } from "./chunk-OQE6TQXZ.js";
1
4
  import {
2
5
  CATEGORIES,
3
6
  PEERBENCH_NAMESPACE
4
7
  } from "./chunk-UHHHSYVE.js";
5
- import {
6
- buildSchemaDefiner
7
- } from "./chunk-OQE6TQXZ.js";
8
8
  import {
9
9
  IdSchema
10
10
  } from "./chunk-NUEOE3K5.js";
@@ -41,4 +41,4 @@ export {
41
41
  defineSystemPromptSchema,
42
42
  SimpleSystemPromptSchemaV1
43
43
  };
44
- //# sourceMappingURL=chunk-ZXTQJFGL.js.map
44
+ //# sourceMappingURL=chunk-Q6GSOHOP.js.map
package/dist/index.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  defineRunner
3
3
  } from "./chunk-QY5MPNNB.js";
4
+ import {
5
+ ScoringMethod
6
+ } from "./chunk-HMQYGCKI.js";
4
7
  import {
5
8
  CATEGORIES,
6
9
  PEERBENCH_NAMESPACE
7
10
  } from "./chunk-UHHHSYVE.js";
8
- import {
9
- ScoringMethod
10
- } from "./chunk-HMQYGCKI.js";
11
11
  import {
12
12
  RateLimiter,
13
13
  bufferToString,
@@ -2,9 +2,9 @@ import {
2
2
  BaseSystemPromptSchemaV1,
3
3
  SimpleSystemPromptSchemaV1,
4
4
  defineSystemPromptSchema
5
- } from "../../chunk-ZXTQJFGL.js";
6
- import "../../chunk-UHHHSYVE.js";
5
+ } from "../../chunk-Q6GSOHOP.js";
7
6
  import "../../chunk-OQE6TQXZ.js";
7
+ import "../../chunk-UHHHSYVE.js";
8
8
  import "../../chunk-NUEOE3K5.js";
9
9
  import "../../chunk-PZ5AY32C.js";
10
10
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "peerbench",
3
- "version": "0.0.2-alpha.2",
3
+ "version": "0.0.2",
4
4
  "description": "Tooling help work with AI benchmarking data and create trustworthy AI",
5
5
  "keywords": [
6
6
  "ai",
@@ -41,14 +41,6 @@
41
41
  "types": "./dist/schemas/index.d.ts",
42
42
  "import": "./dist/schemas/index.js"
43
43
  },
44
- "./schemas/llm": {
45
- "types": "./dist/schemas/llm/index.d.ts",
46
- "import": "./dist/schemas/llm/index.js"
47
- },
48
- "./schemas/extensions": {
49
- "types": "./dist/schemas/extensions/index.d.ts",
50
- "import": "./dist/schemas/extensions/index.js"
51
- },
52
44
  "./scorers": {
53
45
  "types": "./dist/scorers/index.d.ts",
54
46
  "import": "./dist/scorers/index.js"
@@ -60,11 +52,30 @@
60
52
  "./aggregators": {
61
53
  "types": "./dist/aggregators/index.d.ts",
62
54
  "import": "./dist/aggregators/index.js"
55
+ },
56
+ "./schemas/*": {
57
+ "types": "./dist/schemas/*/index.d.ts",
58
+ "import": "./dist/schemas/*/index.js"
59
+ },
60
+ "./schemas/llm": {
61
+ "types": "./dist/schemas/llm/index.d.ts",
62
+ "import": "./dist/schemas/llm/index.js"
63
+ },
64
+ "./schemas/extensions": {
65
+ "types": "./dist/schemas/extensions/index.d.ts",
66
+ "import": "./dist/schemas/extensions/index.js"
63
67
  }
64
68
  },
65
69
  "files": [
66
70
  "dist"
67
71
  ],
72
+ "typesVersions": {
73
+ "*": {
74
+ "schemas/*": [
75
+ "./dist/schemas/*"
76
+ ]
77
+ }
78
+ },
68
79
  "scripts": {
69
80
  "lint": "tsc && eslint",
70
81
  "dev": "tsup --silent --watch --onSuccess 'tsc-alias -p tsconfig.json -f'",