@tangle-network/agent-eval 2.0.22 → 2.0.24
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/CHANGELOG.md +54 -0
- package/dist/adapters/http.d.ts +1 -1
- package/dist/analyst/index.js +3 -3
- package/dist/app-grade/index.d.ts +1 -1
- package/dist/{benchmark-command-pmeFawvb.js → benchmark-command-Cad4mBro.js} +5 -5
- package/dist/{benchmark-command-pmeFawvb.js.map → benchmark-command-Cad4mBro.js.map} +1 -1
- package/dist/benchmarks/index.d.ts +1 -1
- package/dist/benchmarks/index.js +2 -2
- package/dist/campaign/index.d.ts +2 -2
- package/dist/campaign/index.js +6 -6
- package/dist/{campaign-DPB35MjP.js → campaign-VRqINMNu.js} +313 -8
- package/dist/campaign-VRqINMNu.js.map +1 -0
- package/dist/{campaign-evidence-71uzJMVY.js → campaign-evidence-tY94JzUe.js} +45 -2
- package/dist/campaign-evidence-tY94JzUe.js.map +1 -0
- package/dist/cli.js +2 -2
- package/dist/contract/index.d.ts +4 -4
- package/dist/contract/index.js +6 -6
- package/dist/{define-agent-eval-Bh8tJHZI.d.ts → define-agent-eval-BPg0IRdI.d.ts} +3 -3
- package/dist/{define-agent-eval-Bh8tJHZI.d.ts.map → define-agent-eval-BPg0IRdI.d.ts.map} +1 -1
- package/dist/{define-agent-eval-CBhYD7Gq.js → define-agent-eval-Dto1p8Pd.js} +3 -3
- package/dist/{define-agent-eval-CBhYD7Gq.js.map → define-agent-eval-Dto1p8Pd.js.map} +1 -1
- package/dist/{dspy-rlm-engine-DFgGrKzg.js → dspy-rlm-engine-DA4uW64o.js} +2 -2
- package/dist/{dspy-rlm-engine-DFgGrKzg.js.map → dspy-rlm-engine-DA4uW64o.js.map} +1 -1
- package/dist/experiment/index.js +1 -1
- package/dist/{external-optimizer-process-DkOMkeHW.js → external-optimizer-process-BfRVOfBK.js} +2 -2
- package/dist/{external-optimizer-process-DkOMkeHW.js.map → external-optimizer-process-BfRVOfBK.js.map} +1 -1
- package/dist/{external-optimizer-subprocess-CFIiwHSE.js → external-optimizer-subprocess-D2_gmU9_.js} +8 -3
- package/dist/external-optimizer-subprocess-D2_gmU9_.js.map +1 -0
- package/dist/{findings-store-DcBkRLDk.js → findings-store-Daqo7ksI.js} +2 -2
- package/dist/{findings-store-DcBkRLDk.js.map → findings-store-Daqo7ksI.js.map} +1 -1
- package/dist/{index-Cq_5SLfF.d.ts → index-0GNQgbji.d.ts} +4 -4
- package/dist/{index-Cq_5SLfF.d.ts.map → index-0GNQgbji.d.ts.map} +1 -1
- package/dist/{index-C1jQ7qqy.d.ts → index-AUyYKA-x.d.ts} +4 -4
- package/dist/{index-C1jQ7qqy.d.ts.map → index-AUyYKA-x.d.ts.map} +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +7 -7
- package/dist/{llm-judge-DRHTRT66.js → llm-judge-DyHMJrDb.js} +2 -2
- package/dist/{llm-judge-DRHTRT66.js.map → llm-judge-DyHMJrDb.js.map} +1 -1
- package/dist/multishot/index.d.ts +2 -2
- package/dist/multishot/index.js +3 -3
- package/dist/openapi.json +1 -1
- package/dist/{optimization-method-B-NFaHom.js → optimization-method-4F1Npdy5.js} +2 -2
- package/dist/{optimization-method-B-NFaHom.js.map → optimization-method-4F1Npdy5.js.map} +1 -1
- package/dist/{run-improvement-loop-D9IAZviC.d.ts → run-improvement-loop-B9m24xsg.d.ts} +58 -5
- package/dist/run-improvement-loop-B9m24xsg.d.ts.map +1 -0
- package/dist/search/index.d.ts +21 -6
- package/dist/search/index.d.ts.map +1 -1
- package/dist/search/index.js +73 -31
- package/dist/search/index.js.map +1 -1
- package/dist/{self-improve-DZ8W-QY-.d.ts → self-improve-CcL0tRSr.d.ts} +2 -2
- package/dist/{self-improve-DZ8W-QY-.d.ts.map → self-improve-CcL0tRSr.d.ts.map} +1 -1
- package/dist/{self-improve-Dm9PvLF2.js → self-improve-e5hx2cCo.js} +3 -3
- package/dist/{self-improve-Dm9PvLF2.js.map → self-improve-e5hx2cCo.js.map} +1 -1
- package/dist/{skillopt-optimization-method-QZoNbg57.js → skillopt-optimization-method-Qx0HYCHY.js} +984 -907
- package/dist/skillopt-optimization-method-Qx0HYCHY.js.map +1 -0
- package/dist/{tree-DBvepwFt.js → tree-CK9h-xZF.js} +5 -4
- package/dist/tree-CK9h-xZF.js.map +1 -0
- package/dist/wire/index.d.ts +2 -2
- package/docs/campaign-proposers.md +31 -0
- package/docs/public-api.md +5 -4
- package/docs/search-ledger.md +4 -3
- package/package.json +1 -1
- package/dist/campaign-DPB35MjP.js.map +0 -1
- package/dist/campaign-evidence-71uzJMVY.js.map +0 -1
- package/dist/external-optimizer-subprocess-CFIiwHSE.js.map +0 -1
- package/dist/run-improvement-loop-D9IAZviC.d.ts.map +0 -1
- package/dist/skillopt-optimization-method-QZoNbg57.js.map +0 -1
- package/dist/tree-DBvepwFt.js.map +0 -1
|
@@ -2446,10 +2446,10 @@ const META_SEARCH_SCORE_SOURCE = {
|
|
|
2446
2446
|
* cells. Pure; it reads the test split, so a policy view (which holds no test
|
|
2447
2447
|
* cells) cannot call it; an outer search reads it from a closed inner search.
|
|
2448
2448
|
*/
|
|
2449
|
-
function metaSearchScore(state) {
|
|
2450
|
-
return scoreSearch(state, state.closed?.claim ? verifySearchClaim(state) : null);
|
|
2449
|
+
function metaSearchScore(state, options = {}) {
|
|
2450
|
+
return scoreSearch(state, state.closed?.claim ? verifySearchClaim(state) : null, options.requireVerifiedClaim);
|
|
2451
2451
|
}
|
|
2452
|
-
function scoreSearch(state, verification) {
|
|
2452
|
+
function scoreSearch(state, verification, requireVerifiedClaim = false) {
|
|
2453
2453
|
const header = state.header;
|
|
2454
2454
|
if (!header) throw new Error(`search ${state.searchId} has not been opened`);
|
|
2455
2455
|
const { spend: audit } = state.audit;
|
|
@@ -2470,6 +2470,7 @@ function scoreSearch(state, verification) {
|
|
|
2470
2470
|
const claim = closed.claim;
|
|
2471
2471
|
if (!claim) return unscored("no-claim", `the search closed (${closed.reason}) without a claim on a test split`);
|
|
2472
2472
|
if (verification?.status === "mismatch") return unscored("claim-mismatch", `the claim differs from what its ledger supports: ${verification.differences.join("; ")}`, claim.decision);
|
|
2473
|
+
if (requireVerifiedClaim && verification?.status !== "verified") return unscored("claim-unverified", verification?.reason ?? "the claim did not produce a verification receipt", claim.decision);
|
|
2473
2474
|
if (claim.decision === "test-cannot-resolve") return unscored("test-cannot-resolve", claim.reason, claim.decision);
|
|
2474
2475
|
const root = state.rootNodeId;
|
|
2475
2476
|
const nodeId = claim.decision === "ship" ? claim.selected : claim.finalists.find((finalist) => state.node(finalist.nodeId)?.status !== "invalid")?.nodeId ?? null;
|
|
@@ -4124,4 +4125,4 @@ function tree(state) {
|
|
|
4124
4125
|
}
|
|
4125
4126
|
export { vectorEmbedding as _, skillCalibration as a, editCreditText as b, META_SEARCH_SCORE_SOURCE as c, searchPolicyGenome as d, landscape as f, surfaceTextEdits as g, lineageEdits as h, nextUnitExtension as i, metaSearch as l, formatLandscape as m, taskMatrix as n, skillManifold as o, draftOnPlateau as p, formatSkillManifold as r, renderMetaSearchText as s, tree as t, metaSearchScore as u, front as v, editCredit as y };
|
|
4126
4127
|
|
|
4127
|
-
//# sourceMappingURL=tree-
|
|
4128
|
+
//# sourceMappingURL=tree-CK9h-xZF.js.map
|