vomebook commited on
Commit ·
bcb0c5c
1
Parent(s): 6aa6e9f
Group backend cache contracts
Browse filesFiles changed (6)
- quality/mutation-reviews/mutation-equivalent-mutation-gate.json+1-1
- scripts/check_search_words_mutation.py+1-1
- tests/search/backend/README.txt+2
- tests/test_cache_and_malformed.py → tests/search/backend/test_cache_and_malformed.pyRenamed
- tests/test_cache_core_contract.py → tests/search/backend/test_cache_core_contract.pyRenamed
- tests/test_mutation_gate_main.py+2-1
1234567{"tool": "mutmut 3.8.1","source": "scripts/check_search_words_mutation.py","source_sha256": "1147a2e1ddd9ad5290115f5284edb1c1d8c0f868e9e264aeab20e8bc8e6851c6","scope": "Only ordinary built-in dicts with built-in string keys and integer values, without concurrent mutation, dict subclasses, tracing, introspection, or monkeypatching. Comparison is the return value and exceptions of mutation_errors. The initial required-field validation is executed unchanged. These survivors remain survivors, not killed.","equivalent": {"scripts.check_search_words_mutation.x_mutation_errors__mutmut_22": {1234567{"tool": "mutmut 3.8.1","source": "scripts/check_search_words_mutation.py","source_sha256": "e41eebdb1077fe063dd53b91bfac2888ff06300e80ec0a469a93bc90913e108f","scope": "Only ordinary built-in dicts with built-in string keys and integer values, without concurrent mutation, dict subclasses, tracing, introspection, or monkeypatching. Comparison is the return value and exceptions of mutation_errors. The initial required-field validation is executed unchanged. These survivors remain survivors, not killed.","equivalent": {"scripts.check_search_words_mutation.x_mutation_errors__mutmut_22": {
61 unmodified lines6263646566676861 unmodified lines"data_formats": ("test_data_formats_contract.py", [], []),"search_indexes": ("test_native_search_indexes.py", [], []),"reader_identity": ("test_reader_identity_contract.py", [], []),"cache_core": ("test_cache_core_contract.py", [], []),"reader_index": ("test_reader_index_contract.py", [], []),"upstream_http": ("test_upstream_http.py", [], []),"search_execution": ("search/backend/test_search_execution.py", EXECUTION_TESTS, []),61 unmodified lines6263646566676861 unmodified lines"data_formats": ("test_data_formats_contract.py", [], []),"search_indexes": ("test_native_search_indexes.py", [], []),"reader_identity": ("test_reader_identity_contract.py", [], []),"cache_core": ("search/backend/test_cache_core_contract.py", [], []),"reader_index": ("test_reader_index_contract.py", [], []),"upstream_http": ("test_upstream_http.py", [], []),"search_execution": ("search/backend/test_search_execution.py", EXECUTION_TESTS, []),
18 unmodified lines19202122232418 unmodified linespython -B -m unittest -v tests.search.backend.test_search_words_contractpython -B scripts/check_search_words_mutation.py --module search_wordspython -B scripts/check_search_words_mutation.py --module search_matchingThe full integration and isolated pure contracts retain theiroriginal assertions. The mutation command uses the complete existing source18 unmodified lines192021222324252618 unmodified linespython -B -m unittest -v tests.search.backend.test_search_words_contractpython -B scripts/check_search_words_mutation.py --module search_wordspython -B scripts/check_search_words_mutation.py --module search_matchingpython -B -m unittest -v tests.search.backend.test_cache_and_malformed tests.search.backend.test_cache_core_contractpython -B scripts/check_search_words_mutation.py --module cache_coreThe full integration and isolated pure contracts retain theiroriginal assertions. The mutation command uses the complete existing source
296 unmodified lines297298299300301302303296 unmodified linesdef test_full_selected_and_native_contracts_and_dependencies_are_copied(self):for module in ('search_words', 'search_matching', 'search_execution', 'search_indexes', 'reader_identity','search_projection', 'search_candidates', 'search_bootstrap', 'search_filters', 'folder_tree'):with self.subTest(module=module):self.prepare_module(module)self.calls.clear()296 unmodified lines297298299300301302303304296 unmodified linesdef test_full_selected_and_native_contracts_and_dependencies_are_copied(self):for module in ('search_words', 'search_matching', 'search_execution', 'search_indexes', 'reader_identity','search_projection', 'search_candidates', 'search_bootstrap', 'search_filters', 'folder_tree','cache_core'):with self.subTest(module=module):self.prepare_module(module)self.calls.clear()
quality/mutation-reviews/mutation-equivalent-mutation-gate.json+1-1
scripts/check_search_words_mutation.py+1-1
tests/search/backend/README.txt+2
tests/test_cache_and_malformed.py → tests/search/backend/test_cache_and_malformed.pyRenamed
tests/test_cache_core_contract.py → tests/search/backend/test_cache_core_contract.pyRenamed
tests/test_mutation_gate_main.py+2-1