← Về thư mục
tests/test_auto_mode_storage.py
- _store · function · L22-L23 — def _store(tmp_path, name: str = "openai4s.db") -> Store
- _selection · function · L26-L32 — def _selection() -> dict
- _start · function · L35-L61 — def _start(store: Store, **overrides)
- _sha · function · L64-L68 — def _sha(value: object) -> str
- _canonical · function · L71-L72 — def _canonical(value: object) -> str
- _pass_review · function · L75-L110 — def _pass_review( store: Store, *, review_run_id: str = "review-pass-1", audit_id: str = "audit-pass-1", candidate_id: str = "candidate-1", candidate_snapshot_sha256: str = "a" * 64, evidence_snapshot: dict | None = None, ) -> dict
- _verified_projection · function · L113-L134 — def _verified_projection(tmp_path, name: str = "portable-source.db") -> dict
- _auto_row_counts · function · L137-L151 — def _auto_row_counts(store: Store) -> dict[str, int]
- _quarantine_value · function · L154-L159 — def _quarantine_value() -> str
- test_v25_installs_all_auto_mode_tables_and_repository_constructor_is_passive · function · L162-L202 — def test_v25_installs_all_auto_mode_tables_and_repository_constructor_is_passive( tmp_path, )
- test_start_run_creates_budget_state_and_missing_row_is_legacy · function · L205-L217 — def test_start_run_creates_budget_state_and_missing_row_is_legacy(tmp_path)
- test_selection_is_nullable_revisioned_and_compare_and_swap · function · L220-L277 — def test_selection_is_nullable_revisioned_and_compare_and_swap(tmp_path)
- test_run_candidate_and_terminal_transitions_are_atomic_idempotent_and_immutable · function · L280-L399 — def test_run_candidate_and_terminal_transitions_are_atomic_idempotent_and_immutable( tmp_path, )
- test_review_completion_and_findings_roll_back_with_its_durable_event · function · L402-L529 — def test_review_completion_and_findings_roll_back_with_its_durable_event(tmp_path)
- test_checkpoint_cursor_and_portable_projection_survive_reopen_and_import_quarantine · function · L532-L623 — def test_checkpoint_cursor_and_portable_projection_survive_reopen_and_import_quarantine( tmp_path, )
- test_direct_import_requires_a_canonical_quarantined_session_and_writes_nothing · function · L627-L653 — def test_direct_import_requires_a_canonical_quarantined_session_and_writes_nothing( tmp_path, quarantine_state, )
- test_direct_import_rejects_existing_selection_or_history_without_partial_writes · function · L657-L704 — def test_direct_import_rejects_existing_selection_or_history_without_partial_writes( tmp_path, preexisting, )
- test_successful_direct_import_remains_inert_for_selection_and_local_runs · function · L707-L752 — def test_successful_direct_import_remains_inert_for_selection_and_local_runs(tmp_path)
- test_verified_rejects_tampered_reviewer_identity_attempt_and_start_event · function · L766-L857 — def test_verified_rejects_tampered_reviewer_identity_attempt_and_start_event( tmp_path, tamper, )
- test_verified_rejects_tampered_completed_review_proof · function · L872-L1007 — def test_verified_rejects_tampered_completed_review_proof(tmp_path, tamper)
- test_verified_read_boundaries_fail_closed_after_proof_tamper · function · L1029-L1063 — def test_verified_read_boundaries_fail_closed_after_proof_tamper(tmp_path, tamper_sql)
- test_started_review_reopens_idempotently_and_blocks_terminal_until_completed · function · L1066-L1196 — def test_started_review_reopens_idempotently_and_blocks_terminal_until_completed( tmp_path, )