← Về thư mục
tests/test_review_service.py
- FakeStore · class · L16-L77 — class FakeStore
- init · method · L17-L27 — def init(self) -> None
- get_setting · method · L29-L30 — def get_setting(self, key, default=None)
- list_model_profiles · method · L32-L33 — def list_model_profiles(self)
- add_step · method · L35-L36 — def add_step(self, **fields)
- update_step · method · L38-L40 — def update_step(self, step_id, **fields)
- list_artifacts · method · L42-L44 — def list_artifacts(self, filters)
- resolve_artifact_path · method · L46-L47 — def resolve_artifact_path(self, artifact_id)
- list_cells · method · L49-L51 — def list_cells(self, root_frame_id)
- step_count · method · L53-L55 — def step_count(self, root_frame_id)
- list_steps · method · L57-L59 — def list_steps(self, frame_id, *, start=0, limit=200)
- add_frame_tokens · method · L61-L62 — def add_frame_tokens(self, frame_id, *, input_tokens, output_tokens)
- get_frame · method · L64-L65 — def get_frame(self, frame_id)
- update_frame · method · L67-L68 — def update_frame(self, frame_id, **fields)
- message_count · method · L70-L72 — def message_count(self, root_frame_id)
- list_messages · method · L74-L77 — def list_messages(self, root_frame_id, *, start=0, limit=1000)
- FakeState · class · L80-L89 — class FakeState
- init · method · L81-L84 — def init(self, root_frame_id="frame") -> None
- execution_barrier · method · L87-L89 — def execution_barrier(self)
- FakeJob · class · L92-L112 — class FakeJob
- init · method · L93-L100 — def init(self, job_id, root_frame_id) -> None
- finish · method · L102-L106 — def finish(self, result=None, error=None)
- wait_result · method · L108-L112 — def wait_result(self)
- BusyError · class · L115-L118 — class BusyError(Exception)
- init · method · L116-L118 — def init(self, code, message)
- ImmediateThreads · class · L121-L133 — class ImmediateThreads
- init · method · L122-L123 — def init(self) -> None
- call · method · L125-L133 — def call(self, *, target, name, daemon)
- ImmediateThread · class · L129-L131 — class ImmediateThread
- start · method · L130-L131 — def start(inner_self)
- HeldThreads · class · L136-L156 — class HeldThreads
- init · method · L137-L138 — def init(self) -> None
- call · method · L140-L153 — def call(self, *, target, name, daemon)
- HeldThread · class · L149-L151 — class HeldThread
- start · method · L150-L151 — def start(inner_self)
- run · method · L155-L156 — def run(self, index=0)
- _service · function · L159-L229 — def _service( store=None, *, state=None, review_box=None, providers_box=None, run_reviewer=None, thread_factory=None, jobs=None, now=None, )
- emitter_for · function · L191-L197 — def emitter_for(root_frame_id)
- emit · function · L194-L195 — def emit(event)
- test_auto_setting_precedence_and_late_model_provider_resolution · function · L232-L274 — def test_auto_setting_precedence_and_late_model_provider_resolution()
- test_artifact_excerpt_preserves_type_extension_limit_and_decode · function · L277-L295 — def test_artifact_excerpt_preserves_type_extension_limit_and_decode(tmp_path)
- test_run_builds_evidence_persists_usage_and_streams_exact_steps · function · L298-L394 — def test_run_builds_evidence_persists_usage_and_streams_exact_steps(tmp_path)
- review · function · L351-L359 — def review(evidence, cfg)
- test_run_honors_pre_provider_cancel_without_starting_provider · function · L397-L420 — def test_run_honors_pre_provider_cancel_without_starting_provider()
- test_run_provider_error_is_a_nonfatal_unavailable_step · function · L423-L451 — def test_run_provider_error_is_a_nonfatal_unavailable_step()
- test_cancelled_provider_finishes_asynchronously_and_blocks_duplicates · function · L454-L496 — def test_cancelled_provider_finishes_asynchronously_and_blocks_duplicates()
- slow_review · function · L458-L461 — def slow_review(_evidence, _cfg)
- test_submit_manual_review_preserves_status_tail_and_job_pruning · function · L499-L547 — def test_submit_manual_review_preserves_status_tail_and_job_pruning()
- manual_runner · function · L511-L513 — def manual_runner(_state, _emit, **kwargs)
- test_submit_reserves_cancel_before_state_and_rejects_duplicate · function · L550-L571 — def test_submit_reserves_cancel_before_state_and_rejects_duplicate()
- test_submit_thread_start_failure_cleans_reservation_and_job · function · L574-L591 — def test_submit_thread_start_failure_cleans_reservation_and_job()
- FailingThreads · class · L575-L581 — class FailingThreads
- call · method · L576-L581 — def call(self, **_kwargs)
- FailingThread · class · L577-L579 — class FailingThread
- start · method · L578-L579 — def start(inner_self)
- test_a_review_advances_the_governance_ledger · function · L594-L640 — def test_a_review_advances_the_governance_ledger(tmp_path)