37 lines
1.2 KiB
JavaScript
37 lines
1.2 KiB
JavaScript
"use strict";
|
|
/**
|
|
* @ruvector/rvf-solver — Self-learning temporal solver with AGI capabilities.
|
|
*
|
|
* Provides Thompson Sampling policy learning, ReasoningBank pattern
|
|
* distillation, and SHAKE-256 tamper-evident witness chains.
|
|
*
|
|
* @example
|
|
* ```ts
|
|
* import { RvfSolver } from '@ruvector/rvf-solver';
|
|
*
|
|
* const solver = await RvfSolver.create();
|
|
*
|
|
* // Train on 100 puzzles
|
|
* const result = solver.train({ count: 100, minDifficulty: 1, maxDifficulty: 5 });
|
|
* console.log(`Accuracy: ${(result.accuracy * 100).toFixed(1)}%`);
|
|
*
|
|
* // Run full acceptance test
|
|
* const manifest = solver.acceptance({ cycles: 3 });
|
|
* console.log(`Mode C passed: ${manifest.allPassed}`);
|
|
*
|
|
* // Get policy state
|
|
* const policy = solver.policy();
|
|
* console.log(`Context buckets: ${Object.keys(policy?.contextStats ?? {}).length}`);
|
|
*
|
|
* // Get witness chain
|
|
* const chain = solver.witnessChain();
|
|
* console.log(`Witness chain: ${chain?.length ?? 0} bytes`);
|
|
*
|
|
* solver.destroy();
|
|
* ```
|
|
*/
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.RvfSolver = void 0;
|
|
var solver_1 = require("./solver");
|
|
Object.defineProperty(exports, "RvfSolver", { enumerable: true, get: function () { return solver_1.RvfSolver; } });
|
|
//# sourceMappingURL=index.js.map
|