MCPcopy Create free account

hub / github.com/andrewyng/openworker / functions

Functions8,537 in github.com/andrewyng/openworker

Functiontest_stop_during_thinking_keeps_partial_reasoning
(tmp_path)
tests/test_engine_stop.py:323
Functiontest_stop_mid_stream_keeps_partial_text
(tmp_path)
tests/test_engine_stop.py:68
Functiontest_stop_skips_remaining_tool_calls
(tmp_path)
tests/test_engine_stop.py:231
Functiontest_stop_while_awaiting_approval
(tmp_path)
tests/test_engine_stop.py:199
Functiontest_storage_reports_remaining_lifetime_and_blanks_stale_access
The SDK never computes expiry for tokens loaded from storage and treats a None expiry as valid-forever — so storage must (a) report the REMAINING
tests/test_mcp_oauth.py:207
Functiontest_storage_treats_unknown_token_age_as_stale
Tokens persisted before issued_at existed have unknown age — assume stale (blank access, keep refresh) rather than sending an hour-old bearer.
tests/test_mcp_oauth.py:242
Functiontest_store_crud_and_due
(tmp_path)
tests/test_automation.py:110
Functiontest_store_crud_and_persistence
(tmp_path)
tests/test_subscriptions.py:87
Functiontest_store_cursor_read_and_subscribe
(tmp_path)
tests/test_audit_export.py:112
Functiontest_store_managed_grant_stages_into_ephemeral_store
The staging store produces exactly the keys a fresh connect writes — account profile + default pointer for gmail, a bare default for notion —
tests/test_cloud_server.py:243
Functiontest_store_runs_history
(tmp_path)
tests/test_automation.py:128
Functiontest_stream_accumulates_signatures_across_chunks
()
tests/test_gemini_provider.py:549
Functiontest_stream_accumulates_split_tool_json
()
tests/test_anthropic_provider.py:404
Functiontest_stream_accumulates_thinking_and_signature
()
tests/test_anthropic_provider.py:601
Functiontest_stream_accumulates_tool_calls
()
tests/test_providers.py:264
Functiontest_stream_collects_function_calls_across_chunks
()
tests/test_gemini_provider.py:418
Functiontest_stream_falls_back_to_deltas_when_no_items_repeat_anywhere
()
tests/test_openai_responses.py:601
Functiontest_stream_final_turn_carries_tool_calls_and_sidecar
()
tests/test_openai_responses.py:558
Functiontest_stream_handles_enum_like_finish_reason
()
tests/test_gemini_provider.py:435
Functiontest_stream_joins_deltas_under_the_field_they_arrived_in
()
tests/test_reasoning_replay.py:67
Functiontest_stream_messages_match_the_protobuf_wire_format
()
tests/test_sandbox_openshell.py:66
Functiontest_stream_mixed_text_and_tool_blocks
()
tests/test_anthropic_provider.py:428
Functiontest_stream_passes_stream_flag
()
tests/test_anthropic_provider.py:456
Functiontest_stream_reasoning_content_deltas
DeepSeek-style thinking: reasoning_content deltas surface as reasoning chunks and land on the final turn — never mixed into the answer text.
tests/test_providers.py:560
Functiontest_stream_rebuilds_turn_when_terminal_output_is_empty
The subscription backend leaves `output` EMPTY on response.completed — items only ever stream. The turn must be rebuilt from the output_item.done
tests/test_openai_responses.py:578
Functiontest_stream_request_headers_and_body
(tmp_path, monkeypatch)
tests/test_codex_provider.py:307
Functiontest_stream_requests_stream_flag
()
tests/test_openai_responses.py:645
Functiontest_stream_terminal_event_carries_usage
()
tests/test_openai_responses.py:624
Functiontest_stream_text_deltas
()
tests/test_providers.py:255
Functiontest_stream_without_terminal_event_keeps_accumulated_text
()
tests/test_openai_responses.py:614
Functiontest_stream_yields_deltas_then_final_turn_from_completed_event
()
tests/test_openai_responses.py:529
Functiontest_stream_yields_reasoning_deltas_for_thought_parts
()
tests/test_gemini_provider.py:626
Functiontest_stream_yields_text_deltas_then_final_turn
()
tests/test_gemini_provider.py:402
Functiontest_stream_yields_text_deltas_then_final_turn
()
tests/test_anthropic_provider.py:375
Functiontest_streaming_emits_deltas
(tmp_path)
tests/test_engine.py:305
Functiontest_stub_marker_never_reaches_a_provider_and_survives_persistence
(tmp_path)
tests/test_truncation_continuation.py:223
Functiontest_stub_run_passes_all_gates_because_stub_knows_the_key
()
tests/test_shadow_eval.py:269
Methodtest_subdir_keys_to_repo
(self, repo)
tests/test_projects.py:55
Functiontest_subscribe_rejects_bare_channel_names
(tmp_path)
tests/test_subscriptions.py:48
Functiontest_subscribe_route_registers_at_the_cloud_first
(tmp_path, monkeypatch)
tests/test_subscriptions.py:337
Functiontest_subscribe_unsubscribe_and_recent_endpoints
(tmp_path)
tests/test_subscriptions.py:207
Functiontest_subscribed_coworker_overrides_router
(tmp_path, monkeypatch)
tests/test_mention_router.py:202
Functiontest_subscriptions_endpoint_and_collision
(tmp_path)
tests/test_subscriptions.py:188
Functiontest_successful_git_exit_alone_does_not_prove_verified_head
(handoff)
tests/test_team_git_handoff.py:118
Functiontest_successful_self_wake_ends_turn_without_another_model_call
(manager)
tests/test_team_live_gaps.py:227
Functiontest_summarize_span_passes_model_and_budget
()
tests/test_compaction.py:236
Functiontest_summarize_span_refuses_an_unusable_summary
OPE-189: 'not empty' accepted a 61-char next-action sentence as the coworker's whole memory of 75 turns. Empty, too short, and role-slipped replie
tests/test_compaction.py:245
Functiontest_summarizer_failure_attended_choose_trim
(tmp_path)
tests/test_compaction_engine.py:180
Functiontest_summarizer_failure_attended_prompts_retry_then_succeeds
(tmp_path)
tests/test_compaction_engine.py:161
Functiontest_summarizer_failure_unattended_auto_trims
(tmp_path)
tests/test_compaction_engine.py:148
Functiontest_summarizer_instruction_comes_after_the_transcript
OPE-189: recency decides. With the instruction only up front, the last thing the model read was the coworker mid-task and it continued that voice
tests/test_compaction.py:206
Functiontest_summarizer_messages_clip_tool_results_and_fold_prior
()
tests/test_compaction.py:196
Functiontest_summary_budget_config_and_env
OPE-189: the summariser's output ceiling is a setting, not a constant — on a reasoning model it is shared with the model's thinking.
tests/test_compaction_transcript.py:136
Functiontest_summary_quality_problem_names_the_fault
()
tests/test_compaction.py:258
Functiontest_summary_round_trip
(tmp_path)
tests/test_memory.py:76
Functiontest_superagent_surface_is_gone
(tmp_path)
tests/test_dm_routing.py:103
Functiontest_superseded_gate_never_executes_or_grants_permission
(tmp_path)
tests/test_team_live_gaps.py:236
Functiontest_surface_toggle_filters_picker_but_keeps_resolvable
(tmp_path, internal)
tests/test_persona_registry.py:111
Functiontest_surface_visibility
(tmp_path, monkeypatch)
tests/test_provider_router.py:529
Functiontest_swe_lead_can_answer_the_channels_it_listens_to
()
tests/test_reviewer_persona.py:48
Functiontest_swe_lead_is_reachable_on_github_and_slack
()
tests/test_configured_spawn.py:280
Functiontest_switch_model_appends_notice_only_midsession
(tmp_path)
tests/test_engine.py:386
Functiontest_switch_model_warns_when_images_meet_text_only_model
(tmp_path)
tests/test_engine.py:402
Functiontest_sync_connections_pre_restore_rows_fall_back_to_primary
Rows written before the broker stored the installations list carry only the primary install in tenant_metadata — restore that one.
tests/test_cloud.py:188
Functiontest_sync_connections_requires_sign_in_and_survives_errors
( secrets, config, monkeypatch )
tests/test_cloud.py:204
Functiontest_sync_connections_restores_github_installs
Gate: a fresh desktop rebuilds EVERY github install profile from the broker's metadata after sign-in — routing fields only, tokens mint on demand.
tests/test_cloud.py:154
Functiontest_system_becomes_cached_block_list
()
tests/test_anthropic_caching.py:21
Functiontest_systemd_unit_content
(tmp_path)
tests/test_remote_home.py:1648
Functiontest_taint_and_attribution_survive_the_read
(journal)
tests/test_team_journal.py:153
Functiontest_taint_travels_with_the_record
(store)
tests/test_team_store.py:104
Functiontest_target_invalid
()
tests/test_connectors.py:34
Functiontest_target_round_trip
()
tests/test_connectors.py:27
Functiontest_targeted_event_goes_only_to_the_named_session
(tmp_path, monkeypatch)
tests/test_subscriptions.py:389
Functiontest_task_engine_has_no_scheduling_tools
A scheduled run executes its instructions — it must not be able to (re)schedule. With instructions like 'every day at 5:32pm, prepare…', an agent
tests/test_automation.py:302
Functiontest_task_for_run_session
(tmp_path)
tests/test_standing_approvals.py:232
Functiontest_task_gets_own_thread_id
()
tests/test_automation.py:58
Functiontest_task_rule_helpers
()
tests/test_standing_approvals.py:61
Functiontest_task_rules_cover_connector_tools
(tmp_path)
tests/test_standing_approvals.py:170
Functiontest_team_card_payload_carries_models_for_the_machine_the_workers_run_on
(manager, monkeypatch)
tests/test_worker_connectors.py:495
Functiontest_team_options_lists_only_enabled_workers
(manager)
tests/test_team_wake.py:229
Functiontest_team_trait_parses_and_gates_capabilities
()
tests/test_team_wake.py:32
Functiontest_telegram_button_cannot_resolve_a_protected_approval
(tmp_path)
tests/test_telegram_approval_bypass.py:50
Functiontest_telegram_is_never_prefixed
(tmp_path)
tests/test_sender_attribution.py:89
Functiontest_telegram_message_mapper
()
tests/test_connectors.py:560
Functiontest_telegram_reply_can_still_answer_a_question
(tmp_path)
tests/test_telegram_approval_bypass.py:83
Functiontest_telegram_reply_cannot_resolve_a_protected_approval
(tmp_path)
tests/test_telegram_approval_bypass.py:41
Functiontest_telegram_send_message
(tmp_path)
tests/test_chat_tools.py:118
Functiontest_temp_file_is_never_group_or_world_readable_mid_write
The regression itself. Hooks `_restrict_to_user`, which both the old and the new writer call, and samples the temp's mode at that moment. Old
tests/test_secrets_file_mode.py:37
Functiontest_text_attachment_is_inlined
()
tests/test_attachments.py:65
Functiontest_text_pages_pin_version_and_replay
(manager, tmp_path)
tests/test_team_file_artifacts.py:59
Functiontest_the_agent_is_told_the_live_list_each_turn
(tmp_path)
tests/test_network_access.py:244
Functiontest_the_agent_is_told_what_it_now_has_and_what_the_sandbox_could_not_take
(tmp_path)
tests/test_network_access.py:101
Functiontest_the_app_never_installs_openshell_it_points_at_the_guide
UX-053 v6: the user installs Docker and OpenShell; the row links to NVIDIA's guide.
tests/test_sandbox_setup_job.py:69
Functiontest_the_catalogue_offers_sites_and_an_unknown_profile_is_refused
()
tests/test_sandbox_seatbelt.py:153
Functiontest_the_default_mode_asks_and_with_no_terminal_the_card_is_refused
(tmp_path: Path)
tests/test_run_cli.py:134
Functiontest_the_desktop_and_the_terminal_app_stay_direct
(monkeypatch)
tests/test_sandbox_selection.py:25
Functiontest_the_download_floor_outranks_a_command_allowlist
(tmp_path)
tests/test_auto_approve.py:950
Functiontest_the_download_reports_progress_and_can_be_cancelled
(monkeypatch)
tests/test_sandbox_setup_job.py:140
Functiontest_the_earlier_flag_names_are_gone
(tmp_path: Path, old: list[str])
tests/test_headless_run.py:392
Functiontest_the_environment_wins_over_the_config_and_unknown_names_are_refused
(monkeypatch)
tests/test_sandbox_selection.py:53
← previousnext →8,001–8,100 of 8,537, ranked by callers