Spaces:
Sleeping
Sleeping
| """Per-function interpretation implementations (spec v0.4 Β§2.1-Β§2.5). | |
| Importing this package registers every function with the dispatcher (each | |
| submodule is decorated with `@applies_to_commands(...)` at module-load | |
| time). The interpretation pipeline imports this package once at startup so | |
| registration is a side-effect of normal import. | |
| Phases: | |
| - P-B (this module): explain β plain-language firing explanation | |
| - P-F: group β clustering | |
| - P-G: contextualize β severity contextualization | |
| - P-H: cross β cross-item pattern recognition | |
| - P-I: narrative β surviving-set narrative | |
| - P-J: explain extension for diff | |
| - P-K: explain/group/contextualize for shacl | |
| """ | |
| from __future__ import annotations | |
| # Side-effect imports β each module's decorator registers with the dispatcher. | |
| from uofa_cli.interpretation.functions import explain # noqa: F401 | |
| from uofa_cli.interpretation.functions import group # noqa: F401 | |
| from uofa_cli.interpretation.functions import contextualize # noqa: F401 | |
| from uofa_cli.interpretation.functions import cross # noqa: F401 | |
| from uofa_cli.interpretation.functions import narrative # noqa: F401 | |
| __all__ = ["explain", "group", "contextualize", "cross", "narrative"] | |