← Về thư mục
tests/pufferlib/test_scripts.py
- run_script · function · L23-L33 — def run_script(name: str, *arguments: str) -> subprocess.CompletedProcess[str]
- SyntheticEnvironmentTests · class · L36-L56 — class SyntheticEnvironmentTests(unittest.TestCase)
- test_seeded_trace_is_deterministic · method · L37-L42 — def test_seeded_trace_is_deterministic(self) -> None
- test_contract_validator · method · L44-L56 — def test_contract_validator(self) -> None
- CliTests · class · L59-L156 — class CliTests(unittest.TestCase)
- test_all_help_commands_are_dependency_free · method · L60-L74 — def test_all_help_commands_are_dependency_free(self) -> None
- test_serial_benchmark_is_bounded_json · method · L76-L92 — def test_serial_benchmark_is_bounded_json(self) -> None
- test_train_template_defaults_to_dry_run · method · L94-L100 — def test_train_template_defaults_to_dry_run(self) -> None
- test_source_profile_uses_torch_dry_run · method · L102-L109 — def test_source_profile_uses_torch_dry_run(self) -> None
- test_external_logger_requires_two_opt_ins · method · L111-L116 — def test_external_logger_requires_two_opt_ins(self) -> None
- test_external_logger_never_reads_credential_value · method · L118-L130 — def test_external_logger_never_reads_credential_value(self) -> None
- test_source_profile_rejects_neptune · method · L132-L144 — def test_source_profile_rejects_neptune(self) -> None
- test_repro_plan_separates_seeds · method · L146-L156 — def test_repro_plan_separates_seeds(self) -> None
- PlanValidationTests · class · L159-L199 — class PlanValidationTests(unittest.TestCase)
- test_default_plans_validate · method · L160-L163 — def test_default_plans_validate(self) -> None
- test_secret_key_is_rejected · method · L165-L169 — def test_secret_key_is_rejected(self) -> None
- test_external_environment_requires_attested_provenance · method · L171-L182 — def test_external_environment_requires_attested_provenance(self) -> None
- test_duplicate_json_key_is_rejected · method · L184-L199 — def test_duplicate_json_key_is_rejected(self) -> None
- CheckpointInspectorTests · class · L202-L240 — class CheckpointInspectorTests(unittest.TestCase)
- test_inspector_hashes_without_deserialization · method · L203-L240 — def test_inspector_hashes_without_deserialization(self) -> None