Skip to content

feat: group alias/family/schema stores + parser#209

Merged
tazlin merged 3 commits intomainfrom
text-family-schemas
Apr 22, 2026
Merged

feat: group alias/family/schema stores + parser#209
tazlin merged 3 commits intomainfrom
text-family-schemas

Conversation

@tazlin
Copy link
Copy Markdown
Member

@tazlin tazlin commented Apr 22, 2026

  • Introduce file-backed stores for group aliases, related-group families, and per-group naming schemas to allow admin-controlled grouping and metadata (new modules: group_aliases, group_families, group_schema_store).
  • Enhance the text model parser to expose extras (ExtraNamePart/ExtraPartType), recognize date suffixes and leading version tokens, and surface extras in inferred name schemas.
  • Wire alias/schema/family stores into the ModelReferenceManager and update grouping utilities to accept an alias_store so canonical names can be resolved during grouping.
  • Add new TextModelGroupNameSchema and a name_schema_exception field on model records, small JSON formatting tweaks, and updated tests to cover parser/grouping behavior.

- Introduce file-backed stores for group aliases, related-group families, and per-group naming schemas to allow admin-controlled grouping and metadata (new modules: group_aliases, group_families, group_schema_store).
- Enhance the text model parser to expose extras (ExtraNamePart/ExtraPartType), recognize date suffixes and leading version tokens, and surface extras in inferred name schemas.
- Wire alias/schema/family stores into the ModelReferenceManager and update grouping utilities to accept an alias_store so canonical names can be resolved during grouping.
- Add new TextModelGroupNameSchema and a name_schema_exception field on model records, small JSON formatting tweaks, and updated tests to cover parser/grouping behavior.
@tazlin tazlin force-pushed the text-family-schemas branch from 7caa1cd to 984cb30 Compare April 22, 2026 17:54
tazlin added 2 commits April 22, 2026 13:58
- Convert several test docstrings in tests/statistics_and_audit/test_extras_and_aliases.py to raw string literals (r"""...""") and condense/clarify a number of multi-line docstrings so regex backslashes and examples don't require extra escaping and the intent is more concise.
- Also remove the moot test_extra_fields_forbidden from tests/statistics_and_audit/test_group_families.py which checked rejection of unknown fields on GroupFamily.
@tazlin tazlin merged commit 5f047b5 into main Apr 22, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant