Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JuliusBrussee/caveman
/ functions
Functions
12,853 in github.com/JuliusBrussee/caveman
⨍
Functions
12,853
◇
Types & classes
1,364
↳
Endpoints
5
Method
test_observe_normalizes_the_scope_and_drops_an_invalid_one
(self)
packages/sdk/python/tests/test_middleware_v1_1.py:905
Method
test_off_and_endpoint_controls
(self)
packages/sdk/python/tests/test_middleware.py:94
Method
test_one_crlf_line_does_not_convert_an_lf_document
A single pasted CRLF line used to rewrite every ending in the file — and the backup with it, so the original bytes were unrecoverable.
tests/test_compress_safety.py:727
Method
test_one_shot_skill_does_not_switch_an_off_session_on
(self)
tests/test_mode_tracker.py:478
Function
test_opaque_payload_lists_are_filtered_to_well_typed_members
Mirrors TS forDoc: verify keeps only strings, escalation only objects. Wrong-typed members are dropped, never repaired.
packages/sdk/python/tests/test_runtime_policy.py:767
Function
test_openai_client_still_reaches_the_provider
(unreachable_runtime)
packages/middleware/python/tests/test_fail_open.py:80
Function
test_openai_recovery_answers_malformed_arguments
(asynchronous)
packages/middleware/python/tests/test_recovery_errors.py:351
Function
test_openai_responses_store_is_not_compressed_unless_opted_in
A stored Responses turn would outlive the call: provider_state_retained unless store=False or opted in.
packages/middleware/python/tests/test_contracts.py:328
Function
test_openai_self_emits_key_and_unknown_provider_orders_only
()
packages/sdk/python/tests/test_assembly.py:167
Function
test_openai_tool_name_conflict_disables_recovery_instead_of_raising
(caplog)
packages/middleware/python/tests/test_contracts.py:339
Function
test_openai_uses_the_sdks_own_http_library
D1: openai 2.x runs on httpx, 3.x on httpx2; the adapter follows the installed major.
packages/middleware/python/tests/test_contracts.py:292
Method
test_opencode_child_inherits_the_caller_environment
(self)
tests/test_compress_safety.py:802
Method
test_opencode_cleanup_failure_does_not_mask_the_real_error
(self)
tests/test_compress_safety.py:933
Method
test_opencode_non_object_agent_config_is_named
(self)
tests/test_compress_safety.py:854
Method
test_opencode_prompt_is_removed_when_write_fails
(self)
tests/test_compress_safety.py:959
Method
test_opencode_provider_uses_configured_model
(self)
tests/test_compress_safety.py:746
Method
test_opencode_runs_a_dedicated_deny_all_agent
(self)
tests/test_compress_safety.py:823
Method
test_opencode_runs_standalone_with_tools_denied
(self)
tests/test_compress_safety.py:783
Method
test_opencode_unparseable_inline_config_is_named
(self)
tests/test_compress_safety.py:843
Method
test_opentelemetry_is_opt_in_and_uses_spec_names
(self)
packages/sdk/python/tests/test_middleware_v1_1.py:566
Function
test_out_of_range_version_warns_once_and_skips
(family, lenient_runtime, monkeypatch, caplog)
packages/middleware/python/tests/test_behavior.py:623
Method
test_output_at_the_cap_raises_instead_of_returning_a_truncated_body
(self)
tests/test_call_claude_streaming.py:55
Method
test_output_at_the_length_cap_raises
(self)
tests/test_compress_safety.py:1237
Method
test_output_ceiling_fits_a_max_size_input
(self)
tests/test_call_claude_streaming.py:47
Function
test_overlapping_exports_serialize_without_duplicate_or_dropped_spans
()
packages/sdk/python/tests/test_exporter.py:231
Method
test_override_lowers_the_requested_ceiling
(self)
tests/test_call_claude_streaming.py:78
Method
test_oversized_file_is_rejected_before_provider_call
(self)
tests/test_compress_safety.py:1040
Method
test_parallel_sessions_keep_separate_modes
(self)
tests/test_mode_tracker.py:382
Function
test_parity
(op: dict[str, Any])
packages/sdk/python/tests/test_parity.py:375
Function
test_parity_fixtures_cover_surface
()
packages/sdk/python/tests/test_parity.py:417
Method
test_payloadless_invocation_behaves_as_before
(self)
tests/test_hooks.py:687
Method
test_permission_preserved_across_compression
(self)
tests/test_compress_safety.py:379
Method
test_plain_body_fix_cannot_return_frontmatter
(self)
tests/test_compress_frontmatter.py:107
Method
test_plain_body_fix_duplicate_frontmatter_rejected
(self)
tests/test_compress_frontmatter.py:145
Method
test_plain_body_invented_frontmatter_rejected
(self)
tests/test_compress_frontmatter.py:64
Method
test_plain_body_invented_list_frontmatter_rejected
(self)
tests/test_compress_frontmatter.py:97
Method
test_plain_body_trailing_commentary_rejected
(self)
tests/test_compress_frontmatter.py:117
Method
test_plain_prose_can_change_its_first_line
(self)
tests/test_compress_frontmatter.py:84
Method
test_plan_constraints
(self)
packages/sdk/python/tests/test_middleware_v1_1.py:161
Method
test_plugin_mirror_has_no_hub_blocking_shapes
(self)
tests/test_compress_hub_scan.py:74
Function
test_policy_without_an_experiment_applies_to_everything_past_the_guards
()
packages/sdk/python/tests/test_runtime_policy.py:689
Method
test_posts_chat_completion_to_configured_endpoint
(self)
tests/test_compress_safety.py:1169
Method
test_pre_rekey_backup_still_blocks_a_rerun
The #1351 rekey must not strand an existing backup: a file compressed before the key changed has its only original under the old parent-name
tests/test_compress_safety.py:106
Function
test_preflight_and_ready_surface_an_untested_framework
Strict version failures surface from preflight()/ready(), not from wrapping.
packages/middleware/python/tests/test_versions.py:92
Method
test_prepared_plan_does_not_claim_application
(self)
packages/sdk/python/tests/test_middleware_reports.py:47
Method
test_prev_restore_is_session_scoped
(self)
tests/test_mode_tracker.py:452
Method
test_price_affecting_keys_match_the_go_source_of_truth
(self)
shared/provider-catalog/tests/test_validate_catalog.py:43
Method
test_price_multiplier_is_inside_the_snapshot_identity
(self)
shared/provider-catalog/tests/test_validate_catalog.py:71
Method
test_process_failures_are_safe_actionable_and_do_not_fall_back
(self)
tests/test_compress_codex.py:109
Function
test_projection_applied_and_caller_input_untouched
(family, session, view, protocol_runtime)
packages/middleware/python/tests/test_behavior.py:548
Method
test_prompt_forbids_appended_trailer
(self)
tests/test_compress_frontmatter.py:161
Method
test_prompt_keeps_the_instruction_verb
(self)
tests/test_compress_frontmatter.py:165
Method
test_prose_rule_dotfile_still_compressible
`.cursorrules` is Cursor's legacy rule file — prose, and the one dotfile shape caveman is meant to compress.
tests/test_detect.py:130
Function
test_provider_calls_inside_a_trace_carry_continuity_headers
()
packages/sdk/python/tests/test_trace_continuity.py:55
Method
test_provider_cli_failure_includes_stderr
(self)
tests/test_compress_safety.py:1013
Function
test_provider_client_attaches_assembly_declaration_header
()
packages/sdk/python/tests/test_assembly.py:203
Function
test_provider_clients_off_the_cave_carry_no_continuity_headers
()
packages/sdk/python/tests/test_trace_continuity.py:120
Function
test_provider_credentials_never_follow_redirects
(status, origin, monkeypatch)
packages/sdk/python/tests/test_transport.py:69
Function
test_provider_projection_and_registered_recovery
(adapter, httpx2, protocol_runtime, protocol, asynchronous)
packages/middleware/python/tests/test_openai_native.py:51
Function
test_provider_request_can_send_tool_session_header
()
packages/sdk/python/tests/test_sdk.py:250
Method
test_provider_specific_environment_takes_precedence
(self)
tests/test_compress_safety.py:911
Function
test_pydantic_ai_host_tool_named_caveman_retrieve_keeps_the_run_alive
(caplog)
packages/middleware/python/tests/test_contracts.py:665
Function
test_python_client_exports_the_too_large_process_exit_contract
()
mem/py/tests/test_cavemem.py:13
Function
test_python_client_forwards_every_command
(monkeypatch: pytest.MonkeyPatch)
mem/py/tests/test_cavemem.py:17
Function
test_python_client_never_sends_stdin_to_a_binary_that_stores_it
A cavemem predating ``supersede --stdin`` reads argument two as the text. Sending such a build ``--stdin`` stores the literal flag and expires th
mem/py/tests/test_cavemem.py:44
Function
test_python_client_oversized_memory_reaches_stable_exit_contract
( monkeypatch: pytest.MonkeyPatch, tmp_path, )
mem/py/tests/test_cavemem.py:133
Function
test_python_client_propagates_process_and_json_failures
(monkeypatch: pytest.MonkeyPatch)
mem/py/tests/test_cavemem.py:162
Function
test_python_client_round_trips_non_ascii_memory
text=True with no encoding= encodes stdin and decodes stdout with the locale encoding; on a cp1252 Windows this raised before the binary ever
mem/py/tests/test_cavemem.py:108
Function
test_python_client_sends_a_replacement_argv_cannot_carry_over_stdin
argv cannot carry three kinds of replacement, each for its own reason. ``--stdin`` would be read as the flag — and ``subprocess`` lets the child
mem/py/tests/test_cavemem.py:74
Function
test_python_client_uses_path_default
(monkeypatch: pytest.MonkeyPatch)
mem/py/tests/test_cavemem.py:157
Method
test_question_does_not_activate
(self)
tests/test_mode_tracker.py:145
Function
test_raw_otlp_and_compression_share_the_redirect_guard
(monkeypatch)
packages/sdk/python/tests/test_transport.py:82
Method
test_readme_has_one_replaceable_benchmark_region
(self)
tests/test_benchmark_contract.py:56
Method
test_readme_publishes_no_uncommitted_output_percentage_or_accuracy
(self)
tests/test_benchmark_contract.py:66
Method
test_ready_stays_throwing_and_preflight_recovers
(self)
packages/sdk/python/tests/test_middleware_preflight.py:47
Method
test_real_compression_writes_backup_and_target
(self)
tests/test_compress_safety.py:287
Method
test_real_validation_backup_and_code_preservation
(self)
tests/test_compress_codex.py:147
Method
test_real_validation_repairs_or_leaves_original_untouched
(self)
tests/test_compress_codex.py:175
Method
test_receipt_usage_span_attributes_are_safe_non_negative_integers
(self)
packages/sdk/python/tests/test_middleware_v1_1.py:978
Method
test_receipts_never_take_optimize_slots
(self)
packages/sdk/python/tests/test_middleware_v1_1.py:1024
Method
test_record_mode_never_prepares_replacements
(self)
packages/sdk/python/tests/test_middleware.py:108
Function
test_record_span_canonicalizes_valid_ids_and_replaces_or_drops_malformed_ids
()
packages/sdk/python/tests/test_exporter.py:77
Function
test_record_span_emits_semconv_cache_creation_usage
()
packages/sdk/python/tests/test_exporter.py:284
Function
test_record_span_maps_genai_attributes_and_ids
()
packages/sdk/python/tests/test_exporter.py:44
Function
test_record_span_omits_malformed_counters_and_reserved_overrides
()
packages/sdk/python/tests/test_exporter.py:101
Method
test_recovery_binding_mutation_cannot_keep_attestation
(self)
packages/sdk/python/tests/test_middleware.py:80
Method
test_recovery_execute_takes_known_keys_and_refuses_malformed_arguments
(self)
packages/sdk/python/tests/test_middleware_v1_1.py:940
Function
test_recovery_name_conflict_is_reported_through_decline
TS parity: a name conflict reaches on_diagnostic and strict ready() raises it; nothing raises at wrap time.
packages/middleware/python/tests/test_contracts.py:20
Method
test_recovery_none_transform_cannot_inject_text
(self)
packages/sdk/python/tests/test_middleware_v1_1.py:373
Function
test_refresh_failure_keeps_last_known_good
()
packages/sdk/python/tests/test_runtime_policy.py:510
Function
test_refresh_response_is_capped_and_keeps_last_known_good
()
packages/sdk/python/tests/test_runtime_policy.py:538
Method
test_refusal_without_any_attempt_does_not_claim_retries
(self)
tests/test_compress_cli.py:58
Function
test_refused_recovery_is_a_native_tool_error_and_the_run_completes
(family, asynchronous, status, code, caplog)
packages/middleware/python/tests/test_recovery_errors.py:302
Method
test_refuses_to_open_through_a_symlinked_lock_path
(self)
tests/test_compress_concurrency.py:161
Method
test_refuses_when_lock_dir_itself_is_a_symlink
(self)
tests/test_compress_concurrency.py:177
Method
test_region_is_hidden_from_the_model_and_restored_byte_identical
(self)
tests/test_compress_safety.py:1120
Method
test_reinforcement_reflects_own_session
(self)
tests/test_mode_tracker.py:419
Method
test_rejected_input_leaves_no_lock_file_behind
(self)
tests/test_compress_concurrency.py:313
Method
test_rejected_session_id_writes_no_state_file
(self)
tests/test_hooks.py:706
Function
test_rejects_uncovered_or_malformed_versions
(installed)
packages/middleware/python/tests/test_versions.py:50
← previous
next →
12,501–12,600 of 12,853, ranked by callers