← Về thư mục
tests/hypothesis-generation/test_scripts.py
- load_asset_json · function · L46-L47 — def load_asset_json(name: str) -> dict
- valid_record · function · L50-L51 — def valid_record() -> dict
- assert_no_decision_keys · function · L54-L65 — def assert_no_decision_keys(test: unittest.TestCase, report: dict) -> None
- HypothesisSchemaTests · class · L68-L120 — class HypothesisSchemaTests(unittest.TestCase)
- test_template_is_valid_and_keeps_candidates_distinct · method · L69-L94 — def test_template_is_valid_and_keeps_candidates_distinct(self) -> None
- test_non_candidate_status_is_rejected · method · L96-L100 — def test_non_candidate_status_is_rejected(self) -> None
- test_causal_question_requires_estimand · method · L102-L110 — def test_causal_question_requires_estimand(self) -> None
- test_external_sensitive_data_declaration_blocks_record · method · L112-L120 — def test_external_sensitive_data_declaration_blocks_record(self) -> None
- OperationalizationTests · class · L123-L141 — class OperationalizationTests(unittest.TestCase)
- test_template_is_valid_with_visible_measurement_gaps · method · L124-L132 — def test_template_is_valid_with_visible_measurement_gaps(self) -> None
- test_applicable_measurement_requires_validity_source · method · L134-L141 — def test_applicable_measurement_requires_validity_source(self) -> None
- PredictionMatrixTests · class · L144-L168 — class PredictionMatrixTests(unittest.TestCase)
- test_template_cross_checks_against_record · method · L145-L151 — def test_template_cross_checks_against_record(self) -> None
- test_identical_focal_and_rival_expectations_are_rejected · method · L153-L161 — def test_identical_focal_and_rival_expectations_are_rejected(self) -> None
- test_csv_requires_exact_header · method · L163-L168 — def test_csv_requires_exact_header(self) -> None
- CausalClaimLintTests · class · L171-L202 — class CausalClaimLintTests(unittest.TestCase)
- test_unmarked_causal_language_is_invalid · method · L172-L176 — def test_unmarked_causal_language_is_invalid(self) -> None
- test_fully_annotated_causal_claim_is_structurally_valid · method · L178-L192 — def test_fully_annotated_causal_claim_is_structurally_valid(self) -> None
- test_associational_tag_cannot_hide_causal_verb · method · L194-L202 — def test_associational_tag_cannot_hide_causal_verb(self) -> None
- FalsificationControlTests · class · L205-L225 — class FalsificationControlTests(unittest.TestCase)
- test_template_is_valid_pending_human_review · method · L206-L214 — def test_template_is_valid_pending_human_review(self) -> None
- test_identical_discriminating_expectations_are_invalid · method · L216-L225 — def test_identical_discriminating_expectations_are_invalid(self) -> None
- EvidenceLedgerTests · class · L228-L256 — class EvidenceLedgerTests(unittest.TestCase)
- test_synthetic_ledger_and_boundary_cross_check · method · L229-L242 — def test_synthetic_ledger_and_boundary_cross_check(self) -> None
- test_comprehensive_search_label_still_requires_human_review · method · L244-L256 — def test_comprehensive_search_label_still_requires_human_review(self) -> None
- ScaffoldTests · class · L259-L277 — class ScaffoldTests(unittest.TestCase)
- test_scaffold_contains_all_candidates_without_selection · method · L260-L266 — def test_scaffold_contains_all_candidates_without_selection(self) -> None
- test_unresolved_gate_blocks_scaffold · method · L268-L277 — def test_unresolved_gate_blocks_scaffold(self) -> None
- FileSafetyAndStaticTests · class · L280-L391 — class FileSafetyAndStaticTests(unittest.TestCase)
- test_duplicate_json_keys_are_rejected · method · L281-L286 — def test_duplicate_json_keys_are_rejected(self) -> None
- test_oversized_json_is_rejected_before_parsing · method · L288-L293 — def test_oversized_json_is_rejected_before_parsing(self) -> None
- test_symlink_input_is_rejected · method · L295-L306 — def test_symlink_input_is_rejected(self) -> None
- test_private_output_refuses_implicit_overwrite · method · L308-L316 — def test_private_output_refuses_implicit_overwrite(self) -> None
- test_scripts_have_no_network_dynamic_execution_or_secret_access · method · L318-L358 — def test_scripts_have_no_network_dynamic_execution_or_secret_access(self) -> None
- test_assets_parse_and_source_ledger_is_dated · method · L360-L372 — def test_assets_parse_and_source_ledger_is_dated(self) -> None
- test_skill_frontmatter_and_progressive_disclosure · method · L374-L383 — def test_skill_frontmatter_and_progressive_disclosure(self) -> None
- test_removed_external_schematic_and_latex_assets_stay_absent · method · L385-L391 — def test_removed_external_schematic_and_latex_assets_stay_absent(self) -> None