Merge nucleic/fuzzy-dewy-urchin-hpvd into dev

This commit is contained in:
2026-08-02 16:31:06 -07:00
parent 8f5acb7755
commit f89561b6a8
3 changed files with 19 additions and 1 deletions
+10
View File
@@ -131,6 +131,16 @@ class RebuildSolHighTests(unittest.TestCase):
self.assertNotIn("--resume-from", commands)
self.assertNotIn("--model ", commands)
def test_training_commands_default_to_invoking_interpreter(self):
args = rebuild_sol_high.build_parser().parse_args(["train-commands"])
self.assertEqual(args.python, sys.executable)
self.assertTrue(
rebuild_sol_high.train_commands(args.python).startswith(
f'"{sys.executable}" ml/purpose-classifier/train.py'
)
)
def test_complete_stage_promotes_public_and_combined_datasets(self):
with tempfile.TemporaryDirectory() as directory:
root = Path(directory)