mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-12-03 10:18:18 +00:00
refactor(memory): the memory store and the spend meter leave the plane package (C1)
openultrasast.plane.memory and openultrasast.plane.budget are now
openultrasast.memory and openultrasast.budget; every importer follows. A pure move:
no behaviour changes. The two renames themselves were swept into 1aad435 by mistake
(they were staged when that spec commit was made), so the three commits between it
and this one do not import; this commit completes the move.
memory.py still reaches into the plane in two lazy imports (results_root in
open_store, the reconciler in seed); the cut of the plane has to settle both.
Checked: ruff, ruff format, mypy; 163 test files around memory, budget, plane, learn
and hunt passed across three runs by the implementing agent, and the six closest
files again before this commit. The whole suite was not run locally.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
co-authored by
Claude Fable 5.2
parent
e22bd420d9
commit
b975acb7e0
@@ -10,6 +10,7 @@ import random
|
||||
import pytest
|
||||
from learn_fixtures import ScriptedChat, corpus
|
||||
|
||||
from openultrasast.budget import MeteredClient
|
||||
from openultrasast.learn.evaluate import (
|
||||
Prediction,
|
||||
candidate_from_example,
|
||||
@@ -28,7 +29,6 @@ from openultrasast.learn.evaluate import (
|
||||
from openultrasast.learn.folds import compile_split, outer_folds
|
||||
from openultrasast.learn.program import SIGNATURE, Caller, Program, ProgramSpec
|
||||
from openultrasast.learn.schema import SCHEMA_VERSION, feature_set_digest
|
||||
from openultrasast.plane.budget import MeteredClient
|
||||
|
||||
|
||||
def _preds(n: int = 300, *, folds: int = 3, seed: int = 0, unsure_every: int = 0) -> list[Prediction]:
|
||||
|
||||
Reference in New Issue
Block a user