← Về thư mục
tests/hypogenic/test_scripts.py
- run_script · function · L24-L45 — def run_script( name: str, *arguments: str, cwd: Path | None = None, environment: dict[str, str] | None = None, ) -> subprocess.CompletedProcess[str]
- write_json · function · L48-L52 — def write_json(path: Path, document: Any) -> None
- file_sha256 · function · L55-L56 — def file_sha256(path: Path) -> str
- make_run_config · function · L59-L115 — def make_run_config(*, rates: bool = True) -> dict[str, Any]
- make_task_config · function · L118-L135 — def make_task_config() -> dict[str, Any]
- make_manifest · function · L138-L184 — def make_manifest(root: Path, *, duplicate_test: bool = False) -> dict[str, Any]
- SafetyAndHelpTests · class · L187-L286 — class SafetyAndHelpTests(unittest.TestCase)
- test_scripts_have_no_network_or_dynamic_execution_surface · method · L188-L220 — def test_scripts_have_no_network_or_dynamic_execution_surface(self) -> None
- test_all_cli_help_paths_work_without_site_packages · method · L222-L235 — def test_all_cli_help_paths_work_without_site_packages(self) -> None
- test_skill_metadata_progressive_disclosure_and_file_set · method · L237-L262 — def test_skill_metadata_progressive_disclosure_and_file_set(self) -> None
- test_example_run_config_validates_without_dependencies · method · L264-L276 — def test_example_run_config_validates_without_dependencies(self) -> None
- test_local_markdown_links_resolve · method · L278-L286 — def test_local_markdown_links_resolve(self) -> None
- ConfigAndPlanTests · class · L289-L406 — class ConfigAndPlanTests(unittest.TestCase)
- test_named_env_check_is_boolean_only · method · L290-L308 — def test_named_env_check_is_boolean_only(self) -> None
- test_task_config_and_cost_plan · method · L310-L347 — def test_task_config_and_cost_plan(self) -> None
- test_missing_prices_make_plan_unready · method · L349-L363 — def test_missing_prices_make_plan_unready(self) -> None
- test_secret_field_duplicate_key_and_traversal_are_rejected · method · L365-L406 — def test_secret_field_duplicate_key_and_traversal_are_rejected(self) -> None
- DatasetAuditTests · class · L409-L454 — class DatasetAuditTests(unittest.TestCase)
- test_manifest_audit_passes_and_does_not_echo_untrusted_text · method · L410-L429 — def test_manifest_audit_passes_and_does_not_echo_untrusted_text(self) -> None
- test_cross_split_duplicate_fails_with_hashed_evidence · method · L431-L454 — def test_cross_split_duplicate_fails_with_hashed_evidence(self) -> None
- OutputAndEvaluationTests · class · L457-L565 — class OutputAndEvaluationTests(unittest.TestCase)
- test_hypothesis_inspector_redacts_text_and_finds_normalized_duplicate · method · L458-L491 — def test_hypothesis_inspector_redacts_text_and_finds_normalized_duplicate(self) -> None
- test_result_inspection_and_metrics · method · L493-L538 — def test_result_inspection_and_metrics(self) -> None
- test_evaluation_plan_preserves_split_roles · method · L540-L565 — def test_evaluation_plan_preserves_split_roles(self) -> None