Monitors.Test
Path:
pi-cybernetic/test/monitors.test.tsRelative: test/monitors.test.tsSubproject: pi-cyberneticCategory: cybernetic-testsLines: 97Bytes: 3,898Imports: 5Exports: 0has tests
Content Preview
- import { describe, expect, test } from "bun:test";
- import { LoopDetector } from "../src/monitors/loop-detector.ts";
- import {
- ConfidenceCalibrator,
- extractStatedConfidence,
- } from "../src/monitors/confidence-calibrator.ts";
- import { DriftDetector } from "../src/monitors/drift-detector.ts";
- import { EntropyMonitor } from "../src/monitors/entropy-monitor.ts";
- describe("LoopDetector (P5)", () => {
- test("detects identical action within 3 repetitions", () => {
- const detector = new LoopDetec