← Về thư mục
tests/autoskill/test_run.py
- _write_skill · function · L13-L16 — def _write_skill(root: Path, name: str, description: str) -> None
- _screenpipe_client_with_events · function · L19-L32 — def _screenpipe_client_with_events(events)
- handler · function · L20-L31 — def handler(request)
- _keyword_embedder · function · L35-L37 — def _keyword_embedder(text)
- StubBackend · class · L40-L47 — class StubBackend
- init · method · L41-L43 — def init(self, response_fn)
- call · method · L45-L47 — def call(self, prompt)
- _base_config · function · L50-L53 — def _base_config()
- _events_two_sessions · function · L56-L62 — def _events_two_sessions(app="Chrome"): # two sessions of the same app, separated by > idle_gap
- test_run_writes_report_into_timestamped_proposed_dir · function · L65-L86 — def test_run_writes_report_into_timestamped_proposed_dir(tmp_path)
- test_run_writes_new_skill_draft_for_novel_verdict · function · L89-L107 — def test_run_writes_new_skill_draft_for_novel_verdict(tmp_path)
- test_run_writes_composition_recipe_for_compose_verdict · function · L110-L128 — def test_run_writes_composition_recipe_for_compose_verdict(tmp_path)
- test_run_dry_run_does_not_call_backend · function · L131-L149 — def test_run_dry_run_does_not_call_backend(tmp_path)
- test_run_redacts_secrets_from_event_text_before_any_llm_call · function · L152-L185 — def test_run_redacts_secrets_from_event_text_before_any_llm_call(tmp_path)
- capture · function · L167-L169 — def capture(prompt, n)
- test_run_raises_actionable_error_when_screenpipe_unreachable · function · L188-L207 — def test_run_raises_actionable_error_when_screenpipe_unreachable(tmp_path)
- handler · function · L192-L193 — def handler(request)
- test_run_skips_clusters_below_min_cluster_size · function · L210-L229 — def test_run_skips_clusters_below_min_cluster_size(tmp_path)