@openagentsinc/conformance-kit 0.2.0-rc.7 → 0.2.1-rc.3
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.
- package/README.md +18 -8
- package/package.json +20 -6
- package/src/dse-extraction-laws.ts +273 -0
- package/src/graph-archive-laws.ts +267 -0
- package/src/graph-capability-delete-laws.ts +289 -0
- package/src/graph-fixtures.ts +40 -0
- package/src/graph-identity-laws.ts +267 -0
- package/src/graph-ranking-laws.ts +362 -0
- package/src/graph-rlm-laws.ts +243 -0
- package/src/index.ts +16 -0
- package/src/adapter-laws.test.ts +0 -36
- package/src/corpus-composition-laws.test.ts +0 -9
- package/src/event-log-laws.test.ts +0 -10
- package/src/recall-laws.test.ts +0 -10
- package/src/reducer-laws.test.ts +0 -17
- package/src/rlm-cap-laws.test.ts +0 -11
package/src/reducer-laws.test.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
applyUiChunk,
|
|
3
|
-
initialUiMessage,
|
|
4
|
-
reduceUiMessageStream,
|
|
5
|
-
UiMessageReducerError,
|
|
6
|
-
} from "@openagentsinc/agent-harness-contract";
|
|
7
|
-
|
|
8
|
-
import { runReducerLaws } from "./reducer-laws.ts";
|
|
9
|
-
|
|
10
|
-
// The kit run against the in-repo reference reducer proves the kit itself works.
|
|
11
|
-
runReducerLaws({
|
|
12
|
-
label: "ui-message-reducer",
|
|
13
|
-
initial: () => initialUiMessage(),
|
|
14
|
-
applyChunk: applyUiChunk,
|
|
15
|
-
isReducerError: (error) => error instanceof UiMessageReducerError,
|
|
16
|
-
reduceStream: (stream) => reduceUiMessageStream(stream),
|
|
17
|
-
});
|
package/src/rlm-cap-laws.test.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { makeRlm, rlmInlineCorpusSourceLayer } from "@openagentsinc/rlm";
|
|
2
|
-
|
|
3
|
-
import { runRlmCapLaws } from "./rlm-cap-laws.ts";
|
|
4
|
-
|
|
5
|
-
// The kit run against the in-repo reference RLM engine proves the kit itself
|
|
6
|
-
// works.
|
|
7
|
-
runRlmCapLaws({
|
|
8
|
-
label: "rlm-engine",
|
|
9
|
-
makeEngine: makeRlm,
|
|
10
|
-
corpusSourceLayer: rlmInlineCorpusSourceLayer,
|
|
11
|
-
});
|