Commit 361718e
committed
LCORE-1569,LCORE-1570: extend dump-configuration fixtures with new fields
The five tests in test_dump_configuration.py compare
Configuration.model_dump() output against hard-coded expected
dictionaries. Adding `context_windows` to InferenceConfiguration
(LCORE-1569) and `compaction` to the root Configuration
(LCORE-1570) shifts the dump shape, so the expected fixtures need
matching entries.
Update every dump-test expected dict to include:
* `inference.context_windows: {}` — the empty-by-default per-model
context-window registry.
* `compaction: { enabled: False, threshold_ratio: 0.7,
token_floor: 4096, buffer_turns: 4, buffer_max_ratio: 0.3 }` —
the defaults baked into the root Configuration's default_factory.
Fixture-only change. No production-code change. Caught by running
the full unit-test suite (`uv run pytest tests/unit/`) — the per-file
test runs I did originally only covered the new tests, which missed
this snapshot-shape coupling.1 parent 0ad8a96 commit 361718e
1 file changed
Lines changed: 40 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| 171 | + | |
171 | 172 | | |
172 | 173 | | |
173 | 174 | | |
| |||
190 | 191 | | |
191 | 192 | | |
192 | 193 | | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
193 | 201 | | |
194 | 202 | | |
195 | 203 | | |
| |||
511 | 519 | | |
512 | 520 | | |
513 | 521 | | |
| 522 | + | |
514 | 523 | | |
515 | 524 | | |
516 | 525 | | |
| |||
533 | 542 | | |
534 | 543 | | |
535 | 544 | | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
536 | 552 | | |
537 | 553 | | |
538 | 554 | | |
| |||
746 | 762 | | |
747 | 763 | | |
748 | 764 | | |
| 765 | + | |
749 | 766 | | |
750 | 767 | | |
751 | 768 | | |
| |||
768 | 785 | | |
769 | 786 | | |
770 | 787 | | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
771 | 795 | | |
772 | 796 | | |
773 | 797 | | |
| |||
961 | 985 | | |
962 | 986 | | |
963 | 987 | | |
| 988 | + | |
964 | 989 | | |
965 | 990 | | |
966 | 991 | | |
| |||
983 | 1008 | | |
984 | 1009 | | |
985 | 1010 | | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
986 | 1018 | | |
987 | 1019 | | |
988 | 1020 | | |
| |||
1166 | 1198 | | |
1167 | 1199 | | |
1168 | 1200 | | |
| 1201 | + | |
1169 | 1202 | | |
1170 | 1203 | | |
1171 | 1204 | | |
| |||
1188 | 1221 | | |
1189 | 1222 | | |
1190 | 1223 | | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
1191 | 1231 | | |
1192 | 1232 | | |
1193 | 1233 | | |
| |||
0 commit comments