batch_manifest dict is included when provided.
(self)
| 2699 | self.assertEqual(data["reason"], "bulk re-run after mandoc emphasis fix") |
| 2700 | |
| 2701 | def test_batch_manifest_embedded(self) -> None: |
| 2702 | """batch_manifest dict is included when provided.""" |
| 2703 | |
| 2704 | manifest_dict = { |
| 2705 | "version": 1, |
| 2706 | "model": "openai/test-model", |
| 2707 | "batch_size": 50, |
| 2708 | "total_batches": 1, |
| 2709 | "batches": [], |
| 2710 | } |
| 2711 | report = self._make_report(batch_manifest=manifest_dict) |
| 2712 | _write_report(self._run_dir, report) |
| 2713 | |
| 2714 | data = self._read_report() |
| 2715 | self.assertEqual(data["batch_manifest"]["model"], "openai/test-model") |
| 2716 | self.assertEqual(data["batch_manifest"]["batch_size"], 50) |
| 2717 | |
| 2718 | def test_standalone_manifest_cleaned_up(self) -> None: |
| 2719 | """_write_report removes batch-manifest.json if it exists.""" |
nothing calls this directly
no test coverage detected