Commit b59059a
committed
feat(learning): boundary filter — only dotted aspects reach domain_hints / primary_domain
Two sites enforce: a string is a valid domain key iff it contains '.'.
- gnn_augment_tactics filters state.metadata["aspects"] before sending
to /gnn/rank, so structural tags like "axiom"/"constructor" never
pollute Julia's PROVER_DOMAIN_WEIGHTS key space.
- primary_domain in meta_controller skips non-dotted aspects when
selecting the canonical domain for outcome recording.
Adds two unit tests confirming primary_domain skips "axiom" and falls
through to "unspecified" when only structural tags are present. Parser
literals (8 sites listed in THEOREM-METADATA-MIGRATION.md) remain
unchanged and harmless under this filter.
https://claude.ai/code/session_01YPqu7gti4azBach6ZvpRFJ1 parent 4f0477b commit b59059a
2 files changed
Lines changed: 20 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
756 | 756 | | |
757 | 757 | | |
758 | 758 | | |
| 759 | + | |
| 760 | + | |
759 | 761 | | |
760 | | - | |
| 762 | + | |
| 763 | + | |
761 | 764 | | |
762 | 765 | | |
763 | 766 | | |
| |||
772 | 775 | | |
773 | 776 | | |
774 | 777 | | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
775 | 790 | | |
776 | 791 | | |
777 | 792 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1540 | 1540 | | |
1541 | 1541 | | |
1542 | 1542 | | |
| 1543 | + | |
| 1544 | + | |
| 1545 | + | |
| 1546 | + | |
1543 | 1547 | | |
1544 | 1548 | | |
1545 | 1549 | | |
| |||
0 commit comments