gabriel / muse public
test schema dev
AI Agent gabriel · 158 days ago · Apr 19, 2026 · Diff

test(schema): seven-tier coverage for all TypedDicts — SequenceSchema, TreeSchema, TensorSchema, SetSchema, MapSchema, DimensionSpec, CRDTDimensionSpec, DomainSchema

sha256:3c24c415b99833e4318f1f9c8573638bfc63c9cfdabb626b3034742e0d8c2784 sha
+74 symbols
sha256:24f95ab688e2e65c1826e9bfbf2692a2642f255fab1033dd0ae932e1671f981b snapshot
+74
symbols added
0
dead code introduced
Semantic Changes 74 symbols
~ tests/test_schema_supercharge.py .py 74 symbols added
+ TestCRDTDimensionSpec class class TestCRDTDimensionSpec L244–253
+ test_required_keys method method test_required_keys L245–248
+ test_valid_crdt_types method method test_valid_crdt_types L250–253
+ TestDataIntegrity class class TestDataIntegrity L384–406
+ test_domain_schema_version_string_preserved method method test_domain_schema_version_string_preserved L399–402
+ test_independent_merge_bool_survives_round_trip method method test_independent_merge_bool_survives_round_trip L394–397
+ test_set_element_type_preserved method method test_set_element_type_preserved L404–406
+ test_tensor_epsilon_survives_json_round_trip method method test_tensor_epsilon_survives_json_round_trip L385–388
+ test_tensor_rank_survives_json_round_trip method method test_tensor_rank_survives_json_round_trip L390–392
+ TestDimensionSpec class class TestDimensionSpec L227–236
+ test_independent_merge_is_bool method method test_independent_merge_is_bool L233–236
+ test_required_keys method method test_required_keys L228–231
+ TestDomainSchema class class TestDomainSchema L261–271
+ test_required_keys method method test_required_keys L262–265
+ test_valid_merge_modes method method test_valid_merge_modes L267–271
+ TestEndToEnd class class TestEndToEnd L333–350
+ test_crdt_primitive_importable method method test_crdt_primitive_importable L340–341
+ test_domain_schema_dict_passable_to_json_dumps method method test_domain_schema_dict_passable_to_json_dumps L343–346
+ test_element_schema_importable method method test_element_schema_importable L337–338
+ test_schema_importable_from_public_path method method test_schema_importable_from_public_path L334–335
+ test_sequence_schema_with_alphabet method method test_sequence_schema_with_alphabet L348–350
+ TestIntegration class class TestIntegration L279–325
+ test_all_element_schema_types_json_serialisable method method test_all_element_schema_types_json_serialisable L313–315
+ test_crdt_dimension_spec_json_round_trip method method test_crdt_dimension_spec_json_round_trip L309–311
+ test_dimension_spec_json_round_trip method method test_dimension_spec_json_round_trip L305–307
+ test_domain_schema_json_round_trip method method test_domain_schema_json_round_trip L299–303
+ test_domain_with_crdt_merge_mode method method test_domain_with_crdt_merge_mode L317–319
+ test_element_schema_includes_all_five_types method method test_element_schema_includes_all_five_types L280–290
+ test_map_schema_recursive_nesting method method test_map_schema_recursive_nesting L292–297
+ test_multiple_dimensions_in_domain method method test_multiple_dimensions_in_domain L321–325
+ TestMapSchema class class TestMapSchema L209–219
+ test_identity_is_by_key method method test_identity_is_by_key L215–219
+ test_required_keys method method test_required_keys L210–213
+ TestPerformance class class TestPerformance L443–457
+ test_10000_constructions_under_1s method method test_10000_constructions_under_1s L444–449
+ test_json_round_trip_10000_times_under_2s method method test_json_round_trip_10000_times_under_2s L451–457
+ TestSecurity class class TestSecurity L414–435
+ test_ansi_in_description_survives_json method method test_ansi_in_description_survives_json L421–425
+ test_hostile_string_in_domain_name_survives_json method method test_hostile_string_in_domain_name_survives_json L415–419
+ test_null_byte_in_element_type_survives_json method method test_null_byte_in_element_type_survives_json L427–430
+ test_unicode_in_dimension_name_survives_json method method test_unicode_in_dimension_name_survives_json L432–435
+ TestSequenceSchema class class TestSequenceSchema L112–141
+ test_alphabet_is_optional_list method method test_alphabet_is_optional_list L136–141
+ test_kind_literal_is_sequence method method test_kind_literal_is_sequence L118–122
+ test_required_keys method method test_required_keys L113–116
+ test_valid_diff_algorithms method method test_valid_diff_algorithms L124–128
+ test_valid_identity_values method method test_valid_identity_values L130–134
+ TestSetSchema class class TestSetSchema L191–201
+ test_required_keys method method test_required_keys L192–195
+ test_valid_identity_values method method test_valid_identity_values L197–201
+ TestStress class class TestStress L358–376
+ test_10000_domain_schema_constructions method method test_10000_domain_schema_constructions L359–362
+ test_deeply_nested_map_schema method method test_deeply_nested_map_schema L364–370
+ test_domain_with_100_dimensions method method test_domain_with_100_dimensions L372–376
+ TestTensorSchema class class TestTensorSchema L167–183
+ test_required_keys method method test_required_keys L168–171
+ test_valid_diff_modes method method test_valid_diff_modes L179–183
+ test_valid_dtypes method method test_valid_dtypes L173–177
+ TestTreeSchema class class TestTreeSchema L149–159
+ test_required_keys method method test_required_keys L150–153
+ test_valid_diff_algorithms method method test_valid_diff_algorithms L155–159
+ _crdt_dim function function _crdt_dim L83–91
+ _dim function function _dim L72–80
+ _domain function function _domain L94–104
+ _map function function _map L61–69
+ _seq function function _seq L29–38
+ _set function function _set L55–58
+ _tensor function function _tensor L47–52
+ _tree function function _tree L41–44
+ annotations import import annotations L15–15
+ json import import json L17–17
+ pytest import import pytest L21–21
+ time import import time L18–18
+ typing import import typing L19–19
← Older Oldest on dev
All commits
Newer → Latest on dev

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:3c24c415b99833e4318f1f9c8573638bfc63c9cfdabb626b3034742e0d8c2784 --body "your comment"