diff --git a/control-plane/src/reasoning_budget.rs b/control-plane/src/reasoning_budget.rs index 4e05fd65..b3ce8e82 100644 --- a/control-plane/src/reasoning_budget.rs +++ b/control-plane/src/reasoning_budget.rs @@ -79,9 +79,9 @@ pub struct Run { #[cfg(test)] mod tests; -mod reasoning_budget; +mod budget_fn; #[allow(unused_imports)] -pub use reasoning_budget::*; +pub use budget_fn::*; mod run; #[allow(unused_imports)] pub use run::*; diff --git a/control-plane/src/reasoning_budget/reasoning_budget.rs b/control-plane/src/reasoning_budget/budget_fn.rs similarity index 100% rename from control-plane/src/reasoning_budget/reasoning_budget.rs rename to control-plane/src/reasoning_budget/budget_fn.rs diff --git a/scripts/dev/split_module.py b/scripts/dev/split_module.py index 5d2fdba5..05015b7c 100644 --- a/scripts/dev/split_module.py +++ b/scripts/dev/split_module.py @@ -56,7 +56,7 @@ def process(path, target, dry_run, loaded): directory = child_dir(path) explicit = directory.name if path.name in loaded else None reserved = {p.stem for p in directory.glob("*.rs")} if directory.is_dir() else set() - result = plan_split(read(path), target, explicit, reserved | {"tests"}) + result = plan_split(read(path), target, explicit, reserved | {"tests", path.stem}) if result is None: return "skipped", "no fn or impl to move" if not dry_run: