← Về thư mục
tests/test_datapro_index.py
- _store · function · L22-L23 — def _store(tmp_path: Path) -> Store
- _search · function · L26-L31 — def _search(store: Store, needle: str, *, limit: int = 1000) -> dict
- _table_names · function · L34-L43 — def _table_names(store: Store) -> tuple[str, str]
- test_every_returned_field_is_indexed_without_a_schema_whitelist · function · L127-L157 — def test_every_returned_field_is_indexed_without_a_schema_whitelist( tmp_path, query, content, sentinel, entry_count )
- test_original_key_and_scalar_characters_are_searchable_without_json_escaping · function · L170-L182 — def test_original_key_and_scalar_characters_are_searchable_without_json_escaping( tmp_path, field, value )
- test_nul_bearing_keys_and_scalars_are_searchable_on_both_sides · function · L185-L207 — def test_nul_bearing_keys_and_scalars_are_searchable_on_both_sides(tmp_path)
- test_large_nested_wrapper_is_stored_once_but_context_projection_survives · function · L210-L285 — def test_large_nested_wrapper_is_stored_once_but_context_projection_survives( tmp_path, )
- test_redacted_mapping_key_collision_preserves_every_non_secret_value · function · L288-L318 — def test_redacted_mapping_key_collision_preserves_every_non_secret_value(tmp_path)
- test_short_credential_embedded_in_mapping_key_is_fully_redacted · function · L321-L349 — def test_short_credential_embedded_in_mapping_key_is_fully_redacted(tmp_path)
- test_complete_result_envelope_indexes_content_text_and_future_fields · function · L352-L379 — def test_complete_result_envelope_indexes_content_text_and_future_fields(tmp_path)
- test_large_result_indexes_all_257_entries_without_truncation · function · L382-L404 — def test_large_result_indexes_all_257_entries_without_truncation(tmp_path)
- test_pathological_entry_count_fails_closed_without_partial_index · function · L407-L422 — def test_pathological_entry_count_fails_closed_without_partial_index(tmp_path)
- test_query_text_is_part_of_the_searchable_index · function · L425-L442 — def test_query_text_is_part_of_the_searchable_index(tmp_path)
- test_reingest_is_idempotent_but_duplicate_occurrences_do_not_collapse · function · L445-L466 — def test_reingest_is_idempotent_but_duplicate_occurrences_do_not_collapse(tmp_path)
- test_entry_failure_rolls_back_batch_and_prior_entries_then_retry_is_complete · function · L469-L506 — def test_entry_failure_rolls_back_batch_and_prior_entries_then_retry_is_complete( tmp_path, )
- test_only_a_strict_integer_zero_result_reaches_the_index · function · L510-L544 — def test_only_a_strict_integer_zero_result_reaches_the_index(tmp_path, code)
- test_unknown_nested_leaf_explosion_fails_closed_without_partial_index · function · L547-L566 — def test_unknown_nested_leaf_explosion_fails_closed_without_partial_index(tmp_path)
- test_frame_scope_is_canonical_and_deleting_artifact_removes_its_index · function · L569-L611 — def test_frame_scope_is_canonical_and_deleting_artifact_removes_its_index(tmp_path)
- test_identical_real_call_occurrences_keep_independent_artifact_lifecycles · function · L614-L656 — def test_identical_real_call_occurrences_keep_independent_artifact_lifecycles( tmp_path, )
- test_session_and_project_deletion_remove_their_datapro_index_rows · function · L659-L693 — def test_session_and_project_deletion_remove_their_datapro_index_rows(tmp_path)
- test_agent_sql_cannot_read_or_discover_the_internal_datapro_index · function · L696-L716 — def test_agent_sql_cannot_read_or_discover_the_internal_datapro_index(tmp_path)
- test_matching_child_is_not_hidden_by_its_own_batch_text · function · L719-L743 — def test_matching_child_is_not_hidden_by_its_own_batch_text(tmp_path)
- test_index_capacity_failure_is_reported_not_silently_dropped · function · L746-L768 — def test_index_capacity_failure_is_reported_not_silently_dropped(tmp_path)
- test_linking_a_deleted_artifact_drops_the_batch · function · L771-L786 — def test_linking_a_deleted_artifact_drops_the_batch(tmp_path)