agent-afk 5.268.1 → 5.269.0

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.
@@ -0,0 +1,17 @@
1
+ export declare const ZERO_TOLERANCE = 1e-9;
2
+ export interface ProbeSignFlipResult {
3
+ nPaired: number;
4
+ nUnpaired: number;
5
+ nNonzero: number;
6
+ meanDelta: number;
7
+ probeDiffs: number[];
8
+ p: number | null;
9
+ minAchievableP: number | null;
10
+ underpoweredForSig: boolean;
11
+ method: 'exact' | 'montecarlo';
12
+ }
13
+ export interface ArmSamples {
14
+ baseline: number[];
15
+ candidate: number[];
16
+ }
17
+ export declare function computeProbeSignFlip(pairedEpisodeData: Map<string, ArmSamples>, episodeOrder: string[]): ProbeSignFlipResult;
@@ -0,0 +1,3 @@
1
+ import type { Prediction, VerifiedPrediction } from './types.js';
2
+ export declare function scoredOn(vp: VerifiedPrediction): string;
3
+ export declare function renderVerifiedPredictionTable(predictions: Prediction[], verified: VerifiedPrediction[]): string[];
@@ -0,0 +1,4 @@
1
+ import type { ArmImbalance } from './run.failures.js';
2
+ import type { VerifiedPrediction } from './types.js';
3
+ export declare function fmtP(p: number): string;
4
+ export declare function renderProbeSignFlipSection(verified: VerifiedPrediction[], armImbalance?: ArmImbalance): string[];
@@ -196,6 +196,7 @@ export interface VerifiedPrediction {
196
196
  crossCheckAgreement?: number;
197
197
  crossCheckTooFew?: boolean;
198
198
  verdictReason?: 'judges disagree';
199
+ probeSignFlip?: import('./probe-signflip.js').ProbeSignFlipResult;
199
200
  }
200
201
  export interface DiscoveredDifference {
201
202
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-afk",
3
- "version": "5.268.1",
3
+ "version": "5.269.0",
4
4
  "description": "Open-source coding-agent harness you can actually change — own the loop (prompts, gates, routing, skills, terminal states), use any model, run long tasks while you're away.",
5
5
  "main": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",