@memberjunction/testing-engine 6.2.0-edge.2 → 6.2.0-edge.4
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 +1 -1
- package/dist/drivers/AgentEvalDriver.d.ts +48 -4
- package/dist/drivers/AgentEvalDriver.d.ts.map +1 -1
- package/dist/drivers/AgentEvalDriver.js +78 -13
- package/dist/drivers/AgentEvalDriver.js.map +1 -1
- package/dist/drivers/PromptEvalDriver.d.ts.map +1 -1
- package/dist/drivers/PromptEvalDriver.js +3 -9
- package/dist/drivers/PromptEvalDriver.js.map +1 -1
- package/dist/drivers/RubricCalibrationTestDriver.d.ts +7 -1
- package/dist/drivers/RubricCalibrationTestDriver.d.ts.map +1 -1
- package/dist/drivers/RubricCalibrationTestDriver.js +9 -8
- package/dist/drivers/RubricCalibrationTestDriver.js.map +1 -1
- package/dist/drivers/agent-run-evidence.d.ts +99 -0
- package/dist/drivers/agent-run-evidence.d.ts.map +1 -0
- package/dist/drivers/agent-run-evidence.js +245 -0
- package/dist/drivers/agent-run-evidence.js.map +1 -0
- package/dist/drivers/calibration.d.ts.map +1 -1
- package/dist/drivers/calibration.js +3 -2
- package/dist/drivers/calibration.js.map +1 -1
- package/dist/drivers/control-tool-map.d.ts +23 -0
- package/dist/drivers/control-tool-map.d.ts.map +1 -0
- package/dist/drivers/control-tool-map.js +31 -0
- package/dist/drivers/control-tool-map.js.map +1 -0
- package/dist/eval/decision.d.ts +2 -0
- package/dist/eval/decision.d.ts.map +1 -1
- package/dist/eval/decision.js +20 -0
- package/dist/eval/decision.js.map +1 -1
- package/dist/oracles/LLMJudgeOracle.d.ts.map +1 -1
- package/dist/oracles/LLMJudgeOracle.js +27 -28
- package/dist/oracles/LLMJudgeOracle.js.map +1 -1
- package/dist/oracles/RubricOracle.d.ts +5 -1
- package/dist/oracles/RubricOracle.d.ts.map +1 -1
- package/dist/oracles/RubricOracle.js +18 -2
- package/dist/oracles/RubricOracle.js.map +1 -1
- package/dist/oracles/TraceValidatorOracle.js +1 -1
- package/dist/oracles/TraceValidatorOracle.js.map +1 -1
- package/dist/oracles/judge-trace.d.ts +6 -2
- package/dist/oracles/judge-trace.d.ts.map +1 -1
- package/dist/oracles/judge-trace.js +4 -2
- package/dist/oracles/judge-trace.js.map +1 -1
- package/dist/oracles/rubric-resolution.d.ts +7 -0
- package/dist/oracles/rubric-resolution.d.ts.map +1 -1
- package/dist/oracles/rubric-resolution.js +37 -9
- package/dist/oracles/rubric-resolution.js.map +1 -1
- package/dist/types.d.ts +9 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/judge-evidence.d.ts +95 -0
- package/dist/utils/judge-evidence.d.ts.map +1 -0
- package/dist/utils/judge-evidence.js +121 -0
- package/dist/utils/judge-evidence.js.map +1 -0
- package/package.json +15 -12
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview The labeled evidence a judge oracle sees for an agent run.
|
|
3
|
+
* @module @memberjunction/testing-engine
|
|
4
|
+
*
|
|
5
|
+
* An agent's answer is not always in its final payload. A conversational agent may answer in its
|
|
6
|
+
* `Message`, and an agent that builds something (a report, a component) may leave only a manifest in
|
|
7
|
+
* its payload while the substance lives in the artifacts it produced. A judge that sees only the
|
|
8
|
+
* payload then scores the manifest, not the work.
|
|
9
|
+
*
|
|
10
|
+
* This module turns those three sources into one bounded, clearly labeled evidence block. It is
|
|
11
|
+
* pure: the driver loads the sources (see `drivers/agent-run-evidence.ts`) and the judge trace
|
|
12
|
+
* renders the result (see `oracles/judge-trace.ts`).
|
|
13
|
+
*/
|
|
14
|
+
/** Size bounds for judge evidence, in characters. */
|
|
15
|
+
export interface JudgeEvidenceLimits {
|
|
16
|
+
/** The most characters any single item (message, payload, one artifact) may contribute. */
|
|
17
|
+
MaxCharsPerItem: number;
|
|
18
|
+
/** The most characters all items together may contribute. Items past the budget are omitted. */
|
|
19
|
+
MaxTotalChars: number;
|
|
20
|
+
}
|
|
21
|
+
/** Default bounds: a full component spec fits in one item; the whole block stays well inside a judge's context. */
|
|
22
|
+
export declare const DEFAULT_JUDGE_EVIDENCE_LIMITS: Readonly<JudgeEvidenceLimits>;
|
|
23
|
+
/** One artifact the agent run produced, as loaded from the database (and possibly expanded). */
|
|
24
|
+
export interface JudgeArtifactSource {
|
|
25
|
+
/** The artifact's name. */
|
|
26
|
+
Name: string;
|
|
27
|
+
/** The artifact type's name, e.g. `Component`, `Report`. */
|
|
28
|
+
TypeName?: string;
|
|
29
|
+
/** The artifact version number. */
|
|
30
|
+
VersionNumber?: number;
|
|
31
|
+
/** The version's content, as stored or as expanded. */
|
|
32
|
+
Content: string;
|
|
33
|
+
/** Where the content came from when it is not the stored version, e.g. `registry Skip`. */
|
|
34
|
+
ExpandedFrom?: string;
|
|
35
|
+
/** Why an expansion was attempted and failed; the stored content is used instead. */
|
|
36
|
+
ExpansionError?: string;
|
|
37
|
+
}
|
|
38
|
+
/** The sources a judge's evidence is built from. */
|
|
39
|
+
export interface JudgeEvidenceSources {
|
|
40
|
+
/** The agent run's `FinalPayload`, as stored (a JSON string) or already parsed. */
|
|
41
|
+
FinalPayload?: string | Record<string, unknown> | null;
|
|
42
|
+
/** The agent run's final `Message`. */
|
|
43
|
+
Message?: string | null;
|
|
44
|
+
/** The output artifacts the run produced. */
|
|
45
|
+
Artifacts?: JudgeArtifactSource[];
|
|
46
|
+
}
|
|
47
|
+
/** One labeled, bounded item of evidence. */
|
|
48
|
+
export interface JudgeEvidenceItem {
|
|
49
|
+
/** What the item is, e.g. `Agent final message`. */
|
|
50
|
+
Label: string;
|
|
51
|
+
/** The item's text, truncated with a marker when it exceeded its bound. */
|
|
52
|
+
Text: string;
|
|
53
|
+
/** True when `Text` was truncated or omitted. */
|
|
54
|
+
Truncated: boolean;
|
|
55
|
+
}
|
|
56
|
+
/** The evidence a judge oracle evaluates instead of the bare payload. */
|
|
57
|
+
export interface JudgeOutputEvidence {
|
|
58
|
+
/** The items, in the order the judge reads them: message, payload, artifacts. */
|
|
59
|
+
Items: JudgeEvidenceItem[];
|
|
60
|
+
/** True when any item was truncated or omitted. */
|
|
61
|
+
Truncated: boolean;
|
|
62
|
+
}
|
|
63
|
+
/** The marker appended to a truncated item. */
|
|
64
|
+
export declare function TruncationMarker(shown: number, total: number): string;
|
|
65
|
+
/**
|
|
66
|
+
* Bounds a text to `maxChars` characters, appending a marker that says how much was cut.
|
|
67
|
+
*
|
|
68
|
+
* @param text - The text to bound
|
|
69
|
+
* @param maxChars - The most characters of `text` to keep
|
|
70
|
+
* @returns The text and whether it was truncated
|
|
71
|
+
*/
|
|
72
|
+
export declare function TruncateForJudge(text: string, maxChars: number): {
|
|
73
|
+
Text: string;
|
|
74
|
+
Truncated: boolean;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* Builds the labeled evidence a judge evaluates for one agent run.
|
|
78
|
+
*
|
|
79
|
+
* Returns `undefined` when the evidence would add nothing to the payload the judge already sees:
|
|
80
|
+
* no artifacts, and at most one of payload and message. That keeps agents whose payload (or
|
|
81
|
+
* message) is the whole answer judged exactly as before.
|
|
82
|
+
*
|
|
83
|
+
* @param sources - The run's payload, message and output artifacts
|
|
84
|
+
* @param limits - Size bounds; defaults to {@link DEFAULT_JUDGE_EVIDENCE_LIMITS}
|
|
85
|
+
* @returns The evidence, or undefined when the bare output already says everything
|
|
86
|
+
*/
|
|
87
|
+
export declare function BuildJudgeOutputEvidence(sources: JudgeEvidenceSources, limits?: Partial<JudgeEvidenceLimits>): JudgeOutputEvidence | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* Renders evidence as delimited, labeled sections for a judge prompt.
|
|
90
|
+
*
|
|
91
|
+
* @param evidence - The evidence to render
|
|
92
|
+
* @returns One section per item, each headed `=== <label> ===`
|
|
93
|
+
*/
|
|
94
|
+
export declare function RenderJudgeEvidence(evidence: JudgeOutputEvidence): string;
|
|
95
|
+
//# sourceMappingURL=judge-evidence.d.ts.map
|
|
@@ -0,0 +1 @@
|
|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mD;IACnD,SAAS,EAAE,OAAO,CAAC;CACtB;AAED,+CAA+C;AAC/C,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAErE;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,OAAO,CAAA;CAAE,CAMrG;AAoCD;;;;;;;;;;GAUG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,oBAAoB,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,GAAG,mBAAmB,GAAG,SAAS,CAiC9I;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,mBAAmB,GAAG,MAAM,CAEzE"}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview The labeled evidence a judge oracle sees for an agent run.
|
|
3
|
+
* @module @memberjunction/testing-engine
|
|
4
|
+
*
|
|
5
|
+
* An agent's answer is not always in its final payload. A conversational agent may answer in its
|
|
6
|
+
* `Message`, and an agent that builds something (a report, a component) may leave only a manifest in
|
|
7
|
+
* its payload while the substance lives in the artifacts it produced. A judge that sees only the
|
|
8
|
+
* payload then scores the manifest, not the work.
|
|
9
|
+
*
|
|
10
|
+
* This module turns those three sources into one bounded, clearly labeled evidence block. It is
|
|
11
|
+
* pure: the driver loads the sources (see `drivers/agent-run-evidence.ts`) and the judge trace
|
|
12
|
+
* renders the result (see `oracles/judge-trace.ts`).
|
|
13
|
+
*/
|
|
14
|
+
/** Default bounds: a full component spec fits in one item; the whole block stays well inside a judge's context. */
|
|
15
|
+
export const DEFAULT_JUDGE_EVIDENCE_LIMITS = Object.freeze({
|
|
16
|
+
MaxCharsPerItem: 40_000,
|
|
17
|
+
MaxTotalChars: 120_000,
|
|
18
|
+
});
|
|
19
|
+
/** The marker appended to a truncated item. */
|
|
20
|
+
export function TruncationMarker(shown, total) {
|
|
21
|
+
return `\n…[truncated: showing ${shown} of ${total} characters]`;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Bounds a text to `maxChars` characters, appending a marker that says how much was cut.
|
|
25
|
+
*
|
|
26
|
+
* @param text - The text to bound
|
|
27
|
+
* @param maxChars - The most characters of `text` to keep
|
|
28
|
+
* @returns The text and whether it was truncated
|
|
29
|
+
*/
|
|
30
|
+
export function TruncateForJudge(text, maxChars) {
|
|
31
|
+
if (text.length <= maxChars) {
|
|
32
|
+
return { Text: text, Truncated: false };
|
|
33
|
+
}
|
|
34
|
+
const shown = Math.max(0, maxChars);
|
|
35
|
+
return { Text: text.slice(0, shown) + TruncationMarker(shown, text.length), Truncated: true };
|
|
36
|
+
}
|
|
37
|
+
/** The payload as readable JSON, or undefined when it is absent or an empty object. */
|
|
38
|
+
function payloadText(payload) {
|
|
39
|
+
if (payload == null) {
|
|
40
|
+
return undefined;
|
|
41
|
+
}
|
|
42
|
+
if (typeof payload === 'string') {
|
|
43
|
+
const trimmed = payload.trim();
|
|
44
|
+
if (!trimmed || trimmed === '{}' || trimmed === 'null') {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
try {
|
|
48
|
+
return JSON.stringify(JSON.parse(trimmed), null, 2);
|
|
49
|
+
}
|
|
50
|
+
catch {
|
|
51
|
+
return trimmed;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
return Object.keys(payload).length > 0 ? JSON.stringify(payload, null, 2) : undefined;
|
|
55
|
+
}
|
|
56
|
+
/** The label for one artifact item. */
|
|
57
|
+
function artifactLabel(artifact, index) {
|
|
58
|
+
const parts = [artifact.TypeName, artifact.VersionNumber != null ? `v${artifact.VersionNumber}` : undefined].filter(Boolean);
|
|
59
|
+
let label = `Artifact ${index + 1}: "${artifact.Name}"`;
|
|
60
|
+
if (parts.length) {
|
|
61
|
+
label += ` (${parts.join(', ')})`;
|
|
62
|
+
}
|
|
63
|
+
if (artifact.ExpandedFrom) {
|
|
64
|
+
label += ` — full content resolved from ${artifact.ExpandedFrom}`;
|
|
65
|
+
}
|
|
66
|
+
else if (artifact.ExpansionError) {
|
|
67
|
+
label += ` — stored content (expansion failed: ${artifact.ExpansionError})`;
|
|
68
|
+
}
|
|
69
|
+
return label;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Builds the labeled evidence a judge evaluates for one agent run.
|
|
73
|
+
*
|
|
74
|
+
* Returns `undefined` when the evidence would add nothing to the payload the judge already sees:
|
|
75
|
+
* no artifacts, and at most one of payload and message. That keeps agents whose payload (or
|
|
76
|
+
* message) is the whole answer judged exactly as before.
|
|
77
|
+
*
|
|
78
|
+
* @param sources - The run's payload, message and output artifacts
|
|
79
|
+
* @param limits - Size bounds; defaults to {@link DEFAULT_JUDGE_EVIDENCE_LIMITS}
|
|
80
|
+
* @returns The evidence, or undefined when the bare output already says everything
|
|
81
|
+
*/
|
|
82
|
+
export function BuildJudgeOutputEvidence(sources, limits) {
|
|
83
|
+
const bounds = {
|
|
84
|
+
MaxCharsPerItem: limits?.MaxCharsPerItem ?? DEFAULT_JUDGE_EVIDENCE_LIMITS.MaxCharsPerItem,
|
|
85
|
+
MaxTotalChars: limits?.MaxTotalChars ?? DEFAULT_JUDGE_EVIDENCE_LIMITS.MaxTotalChars,
|
|
86
|
+
};
|
|
87
|
+
const message = sources.Message?.trim() || undefined;
|
|
88
|
+
const payload = payloadText(sources.FinalPayload);
|
|
89
|
+
const artifacts = sources.Artifacts ?? [];
|
|
90
|
+
if (artifacts.length === 0 && !(message && payload)) {
|
|
91
|
+
return undefined;
|
|
92
|
+
}
|
|
93
|
+
const raw = [];
|
|
94
|
+
if (message) {
|
|
95
|
+
raw.push({ Label: 'Agent final message', Text: message });
|
|
96
|
+
}
|
|
97
|
+
if (payload) {
|
|
98
|
+
raw.push({ Label: 'Agent final payload (JSON)', Text: payload });
|
|
99
|
+
}
|
|
100
|
+
artifacts.forEach((artifact, index) => raw.push({ Label: artifactLabel(artifact, index), Text: artifact.Content }));
|
|
101
|
+
let remaining = bounds.MaxTotalChars;
|
|
102
|
+
const items = raw.map(item => {
|
|
103
|
+
if (remaining <= 0) {
|
|
104
|
+
return { Label: item.Label, Text: `[omitted: evidence budget of ${bounds.MaxTotalChars} characters exhausted]`, Truncated: true };
|
|
105
|
+
}
|
|
106
|
+
const bounded = TruncateForJudge(item.Text, Math.min(bounds.MaxCharsPerItem, remaining));
|
|
107
|
+
remaining -= Math.min(item.Text.length, bounds.MaxCharsPerItem, remaining);
|
|
108
|
+
return { Label: item.Label, Text: bounded.Text, Truncated: bounded.Truncated };
|
|
109
|
+
});
|
|
110
|
+
return { Items: items, Truncated: items.some(item => item.Truncated) };
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Renders evidence as delimited, labeled sections for a judge prompt.
|
|
114
|
+
*
|
|
115
|
+
* @param evidence - The evidence to render
|
|
116
|
+
* @returns One section per item, each headed `=== <label> ===`
|
|
117
|
+
*/
|
|
118
|
+
export function RenderJudgeEvidence(evidence) {
|
|
119
|
+
return evidence.Items.map(item => `=== ${item.Label} ===\n${item.Text}`).join('\n\n');
|
|
120
|
+
}
|
|
121
|
+
//# sourceMappingURL=judge-evidence.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"judge-evidence.js","sourceRoot":"","sources":["../../src/utils/judge-evidence.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAUH,mHAAmH;AACnH,MAAM,CAAC,MAAM,6BAA6B,GAAkC,MAAM,CAAC,MAAM,CAAC;IACtF,eAAe,EAAE,MAAM;IACvB,aAAa,EAAE,OAAO;CACzB,CAAC,CAAC;AA8CH,+CAA+C;AAC/C,MAAM,UAAU,gBAAgB,CAAC,KAAa,EAAE,KAAa;IACzD,OAAO,0BAA0B,KAAK,OAAO,KAAK,cAAc,CAAC;AACrE,CAAC;AAED;;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AAS,EAAE,OAAO,CAAC,SAAS,EAAE,CAAC;IACnF,CAAC,CAAC,CAAC;IAEH,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC;AAC3E,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,mBAAmB,CAAC,QAA6B;IAC7D,OAAO,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,IAAI,CAAC,KAAK,SAAS,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AAC1F,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/testing-engine",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "6.2.0-edge.
|
|
4
|
+
"version": "6.2.0-edge.4",
|
|
5
5
|
"description": "MemberJunction Testing Framework Engine - Core test execution and evaluation engine supporting multiple test types",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -17,17 +17,20 @@
|
|
|
17
17
|
"vitest": "^4.0.18"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@memberjunction/ai": "6.2.0-edge.
|
|
21
|
-
"@memberjunction/ai-agents": "6.2.0-edge.
|
|
22
|
-
"@memberjunction/ai-core-plus": "6.2.0-edge.
|
|
23
|
-
"@memberjunction/ai-prompts": "6.2.0-edge.
|
|
24
|
-
"@memberjunction/aiengine": "6.2.0-edge.
|
|
25
|
-
"@memberjunction/
|
|
26
|
-
"@memberjunction/core
|
|
27
|
-
"@memberjunction/
|
|
28
|
-
"@memberjunction/
|
|
29
|
-
"@memberjunction/
|
|
30
|
-
"@memberjunction/
|
|
20
|
+
"@memberjunction/ai": "6.2.0-edge.4",
|
|
21
|
+
"@memberjunction/ai-agents": "6.2.0-edge.4",
|
|
22
|
+
"@memberjunction/ai-core-plus": "6.2.0-edge.4",
|
|
23
|
+
"@memberjunction/ai-prompts": "6.2.0-edge.4",
|
|
24
|
+
"@memberjunction/aiengine": "6.2.0-edge.4",
|
|
25
|
+
"@memberjunction/component-registry-client-sdk": "6.2.0-edge.4",
|
|
26
|
+
"@memberjunction/core": "6.2.0-edge.4",
|
|
27
|
+
"@memberjunction/core-entities": "6.2.0-edge.4",
|
|
28
|
+
"@memberjunction/credentials": "6.2.0-edge.4",
|
|
29
|
+
"@memberjunction/global": "6.2.0-edge.4",
|
|
30
|
+
"@memberjunction/interactive-component-types": "6.2.0-edge.4",
|
|
31
|
+
"@memberjunction/rubrics": "6.2.0-edge.4",
|
|
32
|
+
"@memberjunction/rubrics-base": "6.2.0-edge.4",
|
|
33
|
+
"@memberjunction/testing-engine-base": "6.2.0-edge.4",
|
|
31
34
|
"debug": "^4.4.3",
|
|
32
35
|
"rxjs": "^7.8.2",
|
|
33
36
|
"zod": "^3.25.0"
|