@agentplat/mesh-sim 0.3.0-alpha.5 → 0.3.0-beta.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.
- package/README.md +15 -0
- package/dist/collective-evaluation.d.ts +38 -0
- package/dist/collective-evaluation.d.ts.map +1 -0
- package/dist/collective-evaluation.js +730 -0
- package/dist/collective-evaluation.js.map +1 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -2
- package/dist/index.js.map +1 -1
- package/package.json +8 -4
package/README.md
CHANGED
|
@@ -92,3 +92,18 @@ Cryptographic handles, private keys and callbacks are runtime dependencies and
|
|
|
92
92
|
are excluded from configuration digests, snapshots and traces. Replays within
|
|
93
93
|
one test or process may reuse the same generated key handles; private material
|
|
94
94
|
is never serialized.
|
|
95
|
+
|
|
96
|
+
## Registered collective evaluation
|
|
97
|
+
|
|
98
|
+
The Beta 2 evaluation driver builds the versioned resource-allocation and
|
|
99
|
+
recovery mission at 4–500 agents. The governed runner executes the portable
|
|
100
|
+
authority, Work Contract, budget and permit reducers with local observations;
|
|
101
|
+
the fair centralized runner executes the existing `MultiAgentSession`
|
|
102
|
+
round-robin scheduler over the same recorded decision policy. Both emit the
|
|
103
|
+
same interaction-accounting contract and per-seed digest-bound samples.
|
|
104
|
+
|
|
105
|
+
`runRegisteredCollectiveEvaluationV1` runs every pre-registered seed twice and
|
|
106
|
+
records exact replay. Its fault and adversary schedules are interpreted at
|
|
107
|
+
driver boundaries; production reducers contain no experiment bypass. The
|
|
108
|
+
500-agent mission remains below 5,000 interactions and records its observed
|
|
109
|
+
directed topology instead of inferring an asymptotic claim.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { type CollectiveDigestV1 } from '@agentplat/collective-control';
|
|
2
|
+
import { type CollectiveEvaluationReportV1, type CollectiveEvaluationRunnerV1, type CollectiveEvaluationSampleV1, type CollectiveEvaluationStratumV1, type CollectiveMissionV1, type ExperimentRegistrationV1, type RoleCoherenceReportV1 } from '@agentplat/collective-control/evaluation';
|
|
3
|
+
export declare const COLLECTIVE_REFERENCE_MISSION_VERSION: 1;
|
|
4
|
+
export declare const COLLECTIVE_REFERENCE_DECISION_POLICY_VERSION: 1;
|
|
5
|
+
export declare const COLLECTIVE_REFERENCE_SCHEDULE_VERSION: 1;
|
|
6
|
+
export interface CollectiveReferenceRegistrationInputV1 {
|
|
7
|
+
readonly registrationId: string;
|
|
8
|
+
readonly sourceCommit: string;
|
|
9
|
+
readonly dirtyWorktree: boolean;
|
|
10
|
+
readonly runner: CollectiveEvaluationRunnerV1;
|
|
11
|
+
readonly stratum: CollectiveEvaluationStratumV1;
|
|
12
|
+
readonly seeds: readonly number[];
|
|
13
|
+
readonly mission: CollectiveMissionV1;
|
|
14
|
+
readonly implementationDigest: CollectiveDigestV1;
|
|
15
|
+
readonly fixtureDigest: CollectiveDigestV1;
|
|
16
|
+
readonly aggregationSeed: number;
|
|
17
|
+
readonly bootstrapResamples?: number;
|
|
18
|
+
}
|
|
19
|
+
export declare function createReferenceCollectiveMissionV1(input: {
|
|
20
|
+
readonly agentCount: number;
|
|
21
|
+
readonly maximumInteractions?: number;
|
|
22
|
+
readonly maximumDegree?: number;
|
|
23
|
+
}): CollectiveMissionV1;
|
|
24
|
+
export declare function createReferenceExperimentRegistrationV1(input: CollectiveReferenceRegistrationInputV1): ExperimentRegistrationV1;
|
|
25
|
+
export declare function runRegisteredCollectiveEvaluationV1(input: {
|
|
26
|
+
readonly registration: ExperimentRegistrationV1;
|
|
27
|
+
readonly mission: CollectiveMissionV1;
|
|
28
|
+
}): Promise<CollectiveEvaluationReportV1>;
|
|
29
|
+
export declare function runCollectiveEvaluationSampleV1(input: {
|
|
30
|
+
readonly registration: ExperimentRegistrationV1;
|
|
31
|
+
readonly mission: CollectiveMissionV1;
|
|
32
|
+
readonly seed: number;
|
|
33
|
+
}): Promise<CollectiveEvaluationSampleV1>;
|
|
34
|
+
export declare function runReferenceRoleCoherenceV1(input: {
|
|
35
|
+
readonly mission: CollectiveMissionV1;
|
|
36
|
+
readonly seed: number;
|
|
37
|
+
}): RoleCoherenceReportV1;
|
|
38
|
+
//# sourceMappingURL=collective-evaluation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collective-evaluation.d.ts","sourceRoot":"","sources":["../src/collective-evaluation.ts"],"names":[],"mappings":"AAAA,OAAO,EAcL,KAAK,kBAAkB,EAKxB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAcL,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAGlC,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC3B,MAAM,0CAA0C,CAAC;AAKlD,eAAO,MAAM,oCAAoC,EAAG,CAAU,CAAC;AAC/D,eAAO,MAAM,4CAA4C,EAAG,CAAU,CAAC;AACvE,eAAO,MAAM,qCAAqC,EAAG,CAAU,CAAC;AAEhE,MAAM,WAAW,sCAAsC;IACrD,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC;IAChC,QAAQ,CAAC,MAAM,EAAE,4BAA4B,CAAC;IAC9C,QAAQ,CAAC,OAAO,EAAE,6BAA6B,CAAC;IAChD,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,QAAQ,CAAC,OAAO,EAAE,mBAAmB,CAAC;IACtC,QAAQ,CAAC,oBAAoB,EAAE,kBAAkB,CAAC;IAClD,QAAQ,CAAC,aAAa,EAAE,kBAAkB,CAAC;IAC3C,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,CAAC;CACtC;AAED,wBAAgB,kCAAkC,CAAC,KAAK,EAAE;IACx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