Non-autoregressive System 1 decision engine. Typed choice, score and yes/no decisions over any text in a single forward pass, in 100+ languages, with a router that picks the right checkpoint per request.
Python calibrationclassificationdecision-modelhuggingfacejevmodernbertmultilingualnlppythonpytorchroutingtyped-decisionszero-shot
feat(java): WindowPlan, how a long-state scan is sized
Adeshina Lasisia020bd46e6f5
diff --git a/.github/workflows/java.yml b/.github/workflows/java.ymlindex c5aaf629..150f7583 100644--- a/.github/workflows/java.yml+++ b/.github/workflows/java.yml@@ -289,18 +289,19 @@ jobs:graph: falsefamilies: >---only tokenizer_ids.json --only sequences.json --only decode.json- --only decode_text.json+ --only decode_text.json --only window_plan.jsontests: >---tests com.convaiinnovations.laya.tokenizer.TokenizerParityTest--tests com.convaiinnovations.laya.sequence.SequenceParityTest--tests com.convaiinnovations.laya.decode.DecoderParityTest--tests com.convaiinnovations.laya.tokenizer.PreTokenizerTablesTest--tests com.convaiinnovations.laya.tokenizer.TokenDecoderTest- # Measured locally. The margin is deliberately smaller than the 8 the 183/175 pair- # used, because the smallest class in this cell is PreTokenizerTablesTest at 5 tests- # and a margin of 8 let that whole class be dropped with the floor still green- # (measured: 369 of 374, exit 0). A floor below the total minus the smallest class- # does not bind any single class.+ --tests com.convaiinnovations.laya.sequence.WindowPlanTest+ # Measured locally: 444. The margin is deliberately smaller than the 8 the 183/175+ # pair used, because the smallest class in this cell is PreTokenizerTablesTest at 5+ # tests and a margin of 8 let that whole class be dropped with the floor still green+ # (measured at the time: 369 of 374, exit 0). A floor below the total minus the+ # smallest class does not bind any single class, so this stays within 5 of the total.## What this does NOT protect, despite an earlier version of this comment saying so:# the window SLICES. A count floor cannot see them -- the 403 slice assertions live@@ -308,7 +309,7 @@ jobs:# slices into a single test, and a slice list that emptied would still register its# test. The slices are guarded inside the suite instead, by the `total >= 400`# assertion in TokenDecoderTest and the `cases.size() >= 23` corpus floor beside it.- min-tests: 374+ min-tests: 440timeout: 25# The one cell that needs the traced graph, and the only checkpoint the end-to-end# golden was recorded from.diff --git a/laya-java/CHANGELOG.md b/laya-java/CHANGELOG.mdindex 6f0f6b7a..0d7c08e9 100644--- a/laya-java/CHANGELOG.md+++ b/laya-java/CHANGELOG.md@@ -20,6 +20,13 @@ see [Installing](README.md#installing).`confidence` alongside `answerConfidence`.- Python-compatible tokenization (BPE and Metaspace, added tokens, normalizers), sequencebuilding, collation, answer decoding and calibration.+- `sequence.WindowPlan`: how a scan over a state longer than one sequence is sized —+ `stateRoom`, `budget` and `batchCap`, ported from `laya.common`. The window is capped at the+ room the questions leave, and at the *smallest* room when several are asked, because a window+ wider than that is re-truncated on the way in: its tail would reach no model while the reported+ span said it did. `Budget` carries the reference's `RuntimeWarning` text as data as well as+ logging it, since every clamp here is a decision the caller cannot otherwise see — their window+ shrinks, their stride shrinks with it, and the forward-pass count can triple.- `Tokenizer.decode(int[])` and `decode(int[], boolean skipSpecialTokens)`: ids back to text,matching the `tokenizers` crate's `ByteLevel`, `Replace`, `ByteFallback`, `Fuse`, `Strip` and`Sequence` decoders. Byte-exact against the reference over both shipped checkpoints, includingdiff --git a/laya-java/fixtures/window_plan.json b/laya-java/fixtures/window_plan.jsonnew file mode 100644index 00000000..f858bcc3--- /dev/null+++ b/laya-java/fixtures/window_plan.json@@ -0,0 +1,6672 @@+{+ "by": {+ "english": {+ "default_max_len": 512,+ "default_head_max_len": 192,+ "state_room": [+ {+ "options": 1,+ "room": 482,+ "room_tight": 226+ },+ {+ "options": 2,+ "room": 462,+ "room_tight": 206+ },+ {+ "options": 5,+ "room": 402,+ "room_tight": 146+ },+ {+ "options": 20,+ "room": 342,+ "room_tight": 146+ },+ {+ "options": 40,+ "room": 342,+ "room_tight": 86+ },+ {+ "options": 60,+ "room": 262,+ "room_tight": 6+ },+ {+ "options": 100,+ "room": 102,+ "room_tight": 0+ },+ {+ "options": 150,+ "room": 0,+ "room_tight": 0+ }+ ],+ "option_counts": {+ "roomy": 2,+ "mild": 48,+ "hard": 88+ },+ "cases": [+ {+ "case": "no-questions",+ "rooms": [],+ "options": [],+ "max_len": 512,+ "head_max_len": 192,+ "window": null,+ "stride": null,+ "result": {+ "window": 312,+ "stride": 156,+ "room": 312+ },+ "warnings": []+ },+ {+ "case": "no-questions-explicit-window",+ "rooms": [],+ "options": [],+ "max_len": 512,+ "head_max_len": 192,+ "window": 128,+ "stride": null,+ "result": {+ "window": 128,+ "stride": 64,+ "room": 128+ },+ "warnings": []+ },+ {+ "case": "no-questions-explicit-stride",+ "rooms": [],+ "options": [],+ "max_len": 512,+ "head_max_len": 192,+ "window": 128,+ "stride": 32,+ "result": {+ "window": 128,+ "stride": 32,+ "room": 128+ },+ "warnings": []+ },+ {+ "case": "roomy-default",+ "rooms": [+ "roomy"+ ],+ "options": [+ 2+ ],+ "max_len": 512,+ "head_max_len": 192,+ "window": null,+ "stride": null,+ "result": {+ "window": 312,+ "stride": 156,+ "room": 462+ },+ "warnings": []+ },+ {+ "case": "roomy-explicit-window",+ "rooms": [+ "roomy"+ ],+ "options": [+ 2+ ],+ "max_len": 512,+ "head_max_len": 192,+ "window": 100,+ "stride": null,+ "result": {+ "window": 100,+ "stride": 50,+ "room": 462+ },+ "warnings": []+ },+ {+ "case": "roomy-explicit-stride",+ "rooms": [+ "roomy"+ ],+ "options": [+ 2+ ],+ "max_len": 512,+ "head_max_len": 192,+ "window": 100,+ "stride": 25,+ "result": {+ "window": 100,+ "stride": 25,+ "room": 462+ },+ "warnings": []+ },+ {+ "case": "stride-equals-window",+ "rooms": [+ "roomy"+ ],+ "options": [+ 2+ ],+ "max_len": 512,+ "head_max_len": 192,+ "window": 100,+ "stride": 100,+ "result": {+ "window": 100,+ "stride": 100,+ "room": 462+ },+ "warnings": []+ },+ {+ "case": "stride-one",+ "rooms": [+ "roomy"+ ],+ "options": [+ 2+ ],+ "max_len": 512,+ "head_max_len": 192,+ "window": 100,+ "stride": 1,+ "result": {+ "window": 100,+ "stride": 1,+ "room": 462+ },+ "warnings": []+ },+ {+ "case": "explicit-window-over-room",+ "rooms": [+ "hard"+ ],+ "options": [+ 88+ ],+ "max_len": 512,+ "head_max_len": 192,+ "window": 100000,+ "stride": null,+ "result": {+ "window": 150,+ "stride": 75,+ "room": 150+ },+ "warnings": [+ "laya: predict_long: window=100000 is wider than the 150 state tokens these questions leave inside max_len=512, so every window would be truncated to 150 on the way to the model; scanning with window=150 instead"+ ]+ },+ {+ "case": "explicit-window-over-room-mild",+ "rooms": [+ "mild"+ ],+ "options": [+ 48+ ],+ "max_len": 512,+ "head_max_len": 192,+ "window": 100000,+ "stride": null,+ "result": {+ "window": 310,+ "stride": 155,+ "room": 310+ },+ "warnings": [+ "laya: predict_long: window=100000 is wider than the 310 state tokens these questions leave inside max_len=512, so every window would be truncated to 310 on the way to the model; scanning with window=310 instead"+ ]+ },+ {+ "case": "default-clamped-mild",+ "rooms": [+ "mild"+ ],+ "options": [+ 48+ ],+ "max_len": 512,+ "head_max_len": 192,+ "window": null,+ "stride": null,+ "result": {+ "window": 310,+ "stride": 155,+ "room": 310+ },+ "warnings": []+ },+ {+ "case": "default-clamped-hard",+ "rooms": [+ "hard"+ ],+ "options": [+ 88+ ],+ "max_len": 512,+ "head_max_len": 192,+ "window": null,+ "stride": null,+ "result": {+ "window": 150,+ "stride": 75,+ "room": 150+ },+ "warnings": [+ "laya: predict_long: these questions leave only 150 of max_len=512 for the state (their heads take the rest), so the scan window is capped 312 -> 150 and roughly 2.1x as many windows -- each a full forward pass -- are needed to read the document. Fewer or shorter options, a larger max_len, or laya.shortlist.predict_shortlist for a large label set will all cost less than scanning at this width"+ ]+ },+ {+ "case": "stride-valid-for-requested-window",+ "rooms": [+ "hard"+ ],+ "options": [+ 88+ ],+ "max_len": 512,+ "head_max_len": 192,+ "window": 100000,+ "stride": 50000,+ "result": {+ "window": 150,+ "stride": 75,+ "room": 150+ },+ "warnings": [+ "laya: predict_long: window=100000 is wider than the 150 state tokens these questions leave inside max_len=512, so every window would be truncated to 150 on the way to the model; scanning with window=150 instead",+ "laya: predict_long: stride=50000 was a 50% step for the window=100000 you asked for, but the window was reduced to 150 to fit the room these questions leave; scanning with stride=75 instead"+ ]+ },+ {+ "case": "stride-past-requested-window",+ "rooms": [+ "roomy"+ ],+ "options": [+ 2+ ],+ "max_len": 512,+ "head_max_len": 192,+ "window": 100,+ "stride": 150,+ "error": "predict_long: stride=150 steps past the 100-token window, so 50 tokens between every pair of windows would be read by no window at all; pass stride <= 100",+ "warnings": []+ },+ {+ "case": "stride-past-default-window",+ "rooms": [+ "roomy"+ ],+ "options": [+ 2+ ],+ "max_len": 512,+ "head_max_len": 192,+ "window": null,+ "stride": 100000,+ "error": "predict_long: stride=100000 steps past the 312-token window, so 99688 tokens between every pair of windows would be read by no window at all; pass stride <= 312",+ "warnings": []+ },+ {+ "case": "window-zero-is-unset",+ "rooms": [+ "roomy"+ ],+ "options": [+ 2+ ],+ "max_len": 512,+ "head_max_len": 192,+ "window": 0,+ "stride": null,+ "result": {+ "window": 312,+ "stride": 156,+ "room": 462+ },+ "warnings": []+ },+ {+ "case": "window-negative-is-unset",+ "rooms": [+ "roomy"+ ],+ "options": [+ 2+ ],+ "max_len": 512,+ "head_max_len": 192,+ "window": -5,+ "stride": null,+ "result": {+ "window": 312,+ "stride": 156,+ "room": 462+ },+ "warnings": []+ },+ {+ "case": "stride-zero-is-unset",+ "rooms": [+ "roomy"+ ],+ "options": [+ 2+ ],+ "max_len": 512,+ "head_max_len": 192,+ "window": 100,+ "stride": 0,+ "result": {+ "window": 100,+ "stride": 50,+ "room": 462+ },+ "warnings": []+ },+ {+ "case": "stride-negative-is-unset",+ "rooms": [+ "roomy"+ ],+ "options": [+ 2+ ],+ "max_len": 512,+ "head_max_len": 192,+ "window": 100,+ "stride": -3,+ "result": {+ "window": 100,+ "stride": 50,+ "room": 462+ },+ "warnings": []+ },+ {+ "case": "smallest-room-decides",+ "rooms": [+ "roomy",+ "hard"+ ],+ "options": [+ 2,+ 88+ ],+ "max_len": 512,+ "head_max_len": 192,+ "window": null,+ "stride": null,+ "result": {+ "window": 150,+ "stride": 75,+ "room": 150+ },+ "warnings": [+ "laya: predict_long: these questions leave only 150 of max_len=512 for the state (their heads take the rest), so the scan window is capped 312 -> 150 and roughly 2.1x as many windows -- each a full forward pass -- are needed to read the document. Fewer or shorter options, a larger max_len, or laya.shortlist.predict_shortlist for a large label set will all cost less than scanning at this width"+ ]+ },+ {+ "case": "smallest-room-decides-reversed",+ "rooms": [+ "hard",+ "roomy"+ ],+ "options": [+ 88,+ 2+ ],+ "max_len": 512,+ "head_max_len": 192,+ "window": null,+ "stride": null,+ "result": {+ "window": 150,+ "stride": 75,+ "room": 150+ },+ "warnings": [+ "laya: predict_long: these questions leave only 150 of max_len=512 for the state (their heads take the rest), so the scan window is capped 312 -> 150 and roughly 2.1x as many windows -- each a full forward pass -- are needed to read the document. Fewer or shorter options, a larger max_len, or laya.shortlist.predict_shortlist for a large label set will all cost less than scanning at this width"+ ]+ },+ {+ "case": "no-room-at-all",+ "rooms": [+ "hard"+ ],+ "options": [+ 88+ ],+ "max_len": 220,+ "head_max_len": 512,+ "window": null,+ "stride": null,+ "error": "predict_long: the questions' options fill the whole sequence (max_len=220, head_max_len=512), leaving no room for the state; no window can carry any of it. A label set this large is what laya.shortlist.predict_shortlist is for",+ "warnings": []+ },+ {+ "case": "no-room-at-all-roomy-question",+ "rooms": [+ "roomy"+ ],+ "options": [+ 2+ ],+ "max_len": 8,+ "head_max_len": 512,+ "window": null,+ "stride": null,+ "error": "predict_long: the questions' options fill the whole sequence (max_len=8, head_max_len=512), leaving no room for the state; no window can carry any of it. A label set this large is what laya.shortlist.predict_shortlist is for",+ "warnings": []+ },+ {+ "case": "tiny-max-len",+ "rooms": [+ "roomy"+ ],+ "options": [+ 2+ ],+ "max_len": 96,+ "head_max_len": 32,+ "window": null,+ "stride": null,+ "result": {+ "window": 64,+ "stride": 32,+ "room": 70+ },+ "warnings": []+ }+ ]+ },+ "multilingual": {+ "default_max_len": 1024,+ "default_head_max_len": 256,+ "state_room": [+ {+ "options": 1,+ "room": 992,+ "room_tight": 224+ },+ {+ "options": 2,+ "room": 970,+ "room_tight": 202+ },+ {+ "options": 5,+ "room": 904,+ "room_tight": 136+ },+ {+ "options": 20,+ "room": 774,+ "room_tight": 146+ },+ {+ "options": 40,+ "room": 774,+ "room_tight": 86+ },+ {+ "options": 60,+ "room": 774,+ "room_tight": 6+ },+ {+ "options": 100,+ "room": 614,+ "room_tight": 0+ },+ {+ "options": 150,+ "room": 414,+ "room_tight": 0+ }+ ],+ "option_counts": {+ "roomy": 2,+ "mild": 64,+ "hard": 160+ },+ "cases": [+ {+ "case": "no-questions",+ "rooms": [],+ "options": [],+ "max_len": 1024,+ "head_max_len": 256,+ "window": null,+ "stride": null,+ "result": {+ "window": 760,+ "stride": 380,+ "room": 760+ },+ "warnings": []+ },+ {+ "case": "no-questions-explicit-window",+ "rooms": [],+ "options": [],+ "max_len": 1024,+ "head_max_len": 256,+ "window": 128,+ "stride": null,+ "result": {+ "window": 128,+ "stride": 64,+ "room": 128+ },+ "warnings": []+ },+ {+ "case": "no-questions-explicit-stride",+ "rooms": [],+ "options": [],+ "max_len": 1024,+ "head_max_len": 256,+ "window": 128,+ "stride": 32,+ "result": {+ "window": 128,+ "stride": 32,+ "room": 128+ },+ "warnings": []+ },+ {+ "case": "roomy-default",+ "rooms": [+ "roomy"+ ],+ "options": [+ 2+ ],+ "max_len": 1024,+ "head_max_len": 256,+ "window": null,+ "stride": null,+ "result": {+ "window": 760,+ "stride": 380,+ "room": 970+ },+ "warnings": []+ },+ {+ "case": "roomy-explicit-window",+ "rooms": [+ "roomy"+ ],+ "options": [+ 2+ ],+ "max_len": 1024,+ "head_max_len": 256,+ "window": 100,+ "stride": null,+ "result": {+ "window": 100,+ "stride": 50,+ "room": 970+ },+ "warnings": []+ },+ {+ "case": "roomy-explicit-stride",+ "rooms": [+ "roomy"+ ],+ "options": [+ 2+ ],+ "max_len": 1024,+ "head_max_len": 256,+ "window": 100,+ "stride": 25,+ "result": {+ "window": 100,+ "stride": 25,+ "room": 970+ },+ "warnings": []+ },+ {+ "case": "stride-equals-window",+ "rooms": [+ "roomy"+ ],+ "options": [+ 2+ ],+ "max_len": 1024,+ "head_max_len": 256,+ "window": 100,+ "stride": 100,+ "result": {+ "window": 100,+ "stride": 100,+ "room": 970+ },+ "warnings": []+ },+ {+ "case": "stride-one",+ "rooms": [+ "roomy"+ ],+ "options": [+ 2+ ],+ "max_len": 1024,+ "head_max_len": 256,+ "window": 100,+ "stride": 1,+ "result": {+ "window": 100,+ "stride": 1,+ "room": 970+ },+ "warnings": []+ },+ {+ "case": "explicit-window-over-room",+ "rooms": [+ "hard"+ ],+ "options": [+ 160+ ],+ "max_len": 1024,+ "head_max_len": 256,+ "window": 100000,+ "stride": null,+ "result": {+ "window": 374,+ "stride": 187,+ "room": 374+ },+ "warnings": [+ "laya: predict_long: window=100000 is wider than the 374 state tokens these questions leave inside max_len=1024, so every window would be truncated to 374 on the way to the model; scanning with window=374 instead"+ ]+ },+ {+ "case": "explicit-window-over-room-mild",+ "rooms": [+ "mild"+ ],+ "options": [+ 64+ ],+ "max_len": 1024,+ "head_max_len": 256,+ "window": 100000,+ "stride": null,+ "result": {+ "window": 758,+ "stride": 379,+ "room": 758+ },+ "warnings": [+ "laya: predict_long: window=100000 is wider than the 758 state tokens these questions leave inside max_len=1024, so every window would be truncated to 758 on the way to the model; scanning with window=758 instead"+ ]+ },+ {+ "case": "default-clamped-mild",+ "rooms": [+ "mild"+ ],+ "options": [+ 64+ ],+ "max_len": 1024,+ "head_max_len": 256,+ "window": null,+ "stride": null,+ "result": {+ "window": 758,+ "stride": 379,+ "room": 758+ },+ "warnings": []+ },+ {+ "case": "default-clamped-hard",+ "rooms": [+ "hard"+ ],+ "options": [+ 160+ ],+ "max_len": 1024,+ "head_max_len": 256,+ "window": null,+ "stride": null,+ "result": {+ "window": 374,+ "stride": 187,+ "room": 374+ },+ "warnings": [+ "laya: predict_long: these questions leave only 374 of max_len=1024 for the state (their heads take the rest), so the scan window is capped 760 -> 374 and roughly 2.0x as many windows -- each a full forward pass -- are needed to read the document. Fewer or shorter options, a larger max_len, or laya.shortlist.predict_shortlist for a large label set will all cost less than scanning at this width"+ ]+ },+ {+ "case": "stride-valid-for-requested-window",+ "rooms": [+ "hard"+ ],+ "options": [+ 160+ ],+ "max_len": 1024,+ "head_max_len": 256,+ "window": 100000,+ "stride": 50000,+ "result": {+ "window": 374,+ "stride": 187,+ "room": 374+ },+ "warnings": [+ "laya: predict_long: window=100000 is wider than the 374 state tokens these questions leave inside max_len=1024, so every window would be truncated to 374 on the way to the model; scanning with window=374 instead",+ "laya: predict_long: stride=50000 was a 50% step for the window=100000 you asked for, but the window was reduced to 374 to fit the room these questions leave; scanning with stride=187 instead"+ ]+ },+ {+ "case": "stride-past-requested-window",+ "rooms": [+ "roomy"+ ],+ "options": [+ 2+ ],+ "max_len": 1024,+ "head_max_len": 256,+ "window": 100,+ "stride": 150,+ "error": "predict_long: stride=150 steps past the 100-token window, so 50 tokens between every pair of windows would be read by no window at all; pass stride <= 100",+ "warnings": []+ },+ {+ "case": "stride-past-default-window",+ "rooms": [+ "roomy"+ ],+ "options": [+ 2+ ],+ "max_len": 1024,+ "head_max_len": 256,+ "window": null,+ "stride": 100000,+ "error": "predict_long: stride=100000 steps past the 760-token window, so 99240 tokens between every pair of windows would be read by no window at all; pass stride <= 760",+ "warnings": []+ },+ {+ "case": "window-zero-is-unset",+ "rooms": [+ "roomy"+ ],+ "options": [+ 2+ ],+ "max_len": 1024,+ "head_max_len": 256,+ "window": 0,+ "stride": null,+ "result": {+ "window": 760,+ "stride": 380,+ "room": 970+ },+ "warnings": []+ },+ {+ "case": "window-negative-is-unset",+ "rooms": [+ "roomy"+ ],+ "options": [+ 2+ ],+ "max_len": 1024,+ "head_max_len": 256,+ "window": -5,+ "stride": null,+ "result": {+ "window": 760,+ "stride": 380,+ "room": 970+ },+ "warnings": []+ },+ {+ "case": "stride-zero-is-unset",+ "rooms": [+ "roomy"+ ],+ "options": [+ 2+ ],+ "max_len": 1024,+ "head_max_len": 256,+ "window": 100,+ "stride": 0,+ "result": {+ "window": 100,+ "stride": 50,+ "room": 970+ },+ "warnings": []+ },+ {+ "case": "stride-negative-is-unset",+ "rooms": [+ "roomy"+ ],+ "options": [+ 2+ ],+ "max_len": 1024,+ "head_max_len": 256,+ "window": 100,+ "stride": -3,+ "result": {+ "window": 100,+ "stride": 50,+ "room": 970+ },+ "warnings": []+ },+ {+ "case": "smallest-room-decides",+ "rooms": [+ "roomy",+ "hard"+ ],+ "options": [+ 2,+ 160+ ],+ "max_len": 1024,+ "head_max_len": 256,+ "window": null,+ "stride": null,+ "result": {+ "window": 374,+ "stride": 187,+ "room": 374+ },+ "warnings": [+ "laya: predict_long: these questions leave only 374 of max_len=1024 for the state (their heads take the rest), so the scan window is capped 760 -> 374 and roughly 2.0x as many windows -- each a full forward pass -- are needed to read the document. Fewer or shorter options, a larger max_len, or laya.shortlist.predict_shortlist for a large label set will all cost less than scanning at this width"+ ]+ },+ {+ "case": "smallest-room-decides-reversed",+ "rooms": [+ "hard",+ "roomy"+ ],+ "options": [+ 160,+ 2+ ],+ "max_len": 1024,+ "head_max_len": 256,+ "window": null,+ "stride": null,+ "result": {+ "window": 374,+ "stride": 187,+ "room": 374+ },+ "warnings": [+ "laya: predict_long: these questions leave only 374 of max_len=1024 for the state (their heads take the rest), so the scan window is capped 760 -> 374 and roughly 2.0x as many windows -- each a full forward pass -- are needed to read the document. Fewer or shorter options, a larger max_len, or laya.shortlist.predict_shortlist for a large label set will all cost less than scanning at this width"+ ]+ },+ {+ "case": "no-room-at-all",+ "rooms": [+ "hard"+ ],+ "options": [+ 160+ ],+ "max_len": 220,+ "head_max_len": 512,+ "window": null,+ "stride": null,+ "error": "predict_long: the questions' options fill the whole sequence (max_len=220, head_max_len=512), leaving no room for the state; no window can carry any of it. A label set this large is what laya.shortlist.predict_shortlist is for",+ "warnings": []+ },+ {+ "case": "no-room-at-all-roomy-question",+ "rooms": [+ "roomy"+ ],+ "options": [+ 2+ ],+ "max_len": 8,+ "head_max_len": 512,+ "window": null,+ "stride": null,+ "error": "predict_long: the questions' options fill the whole sequence (max_len=8, head_max_len=512), leaving no room for the state; no window can carry any of it. A label set this large is what laya.shortlist.predict_shortlist is for",+ "warnings": []+ },+ {+ "case": "tiny-max-len",+ "rooms": [+ "roomy"+ ],+ "options": [+ 2+ ],+ "max_len": 96,+ "head_max_len": 32,+ "window": null,+ "stride": null,+ "result": {+ "window": 64,+ "stride": 32,+ "room": 70+ },+ "warnings": []+ }+ ]+ }+ },+ "batch_cap": [+ {+ "n_windows": 1,+ "window": 23,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 23,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 23,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 23,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 1,+ "window": 23,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 1,+ "window": 23,+ "config_budget": 312,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 23,+ "config_budget": 312,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 23,+ "config_budget": 312,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 23,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 1,+ "window": 23,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 1,+ "window": 23,+ "config_budget": 504,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 23,+ "config_budget": 504,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 23,+ "config_budget": 504,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 23,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 1,+ "window": 23,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 1,+ "window": 43,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 43,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 43,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 43,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 1,+ "window": 43,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 1,+ "window": 43,+ "config_budget": 312,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 43,+ "config_budget": 312,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 43,+ "config_budget": 312,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 43,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 1,+ "window": 43,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 1,+ "window": 43,+ "config_budget": 504,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 43,+ "config_budget": 504,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 43,+ "config_budget": 504,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 43,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 1,+ "window": 43,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 1,+ "window": 64,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 64,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 64,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 64,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 1,+ "window": 64,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 1,+ "window": 64,+ "config_budget": 312,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 64,+ "config_budget": 312,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 64,+ "config_budget": 312,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 64,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 1,+ "window": 64,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 1,+ "window": 64,+ "config_budget": 504,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 64,+ "config_budget": 504,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 64,+ "config_budget": 504,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 64,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 1,+ "window": 64,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 1,+ "window": 102,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 102,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 102,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 102,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 1,+ "window": 102,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 1,+ "window": 102,+ "config_budget": 312,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 102,+ "config_budget": 312,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 102,+ "config_budget": 312,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 102,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 1,+ "window": 102,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 1,+ "window": 102,+ "config_budget": 504,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 102,+ "config_budget": 504,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 102,+ "config_budget": 504,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 102,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 1,+ "window": 102,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 1,+ "window": 312,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 312,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 312,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 312,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 1,+ "window": 312,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 1,+ "window": 312,+ "config_budget": 312,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 312,+ "config_budget": 312,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 312,+ "config_budget": 312,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 312,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 1,+ "window": 312,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 1,+ "window": 312,+ "config_budget": 504,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 312,+ "config_budget": 504,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 312,+ "config_budget": 504,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 312,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 1,+ "window": 312,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 1,+ "window": 504,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 504,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 504,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 504,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 1,+ "window": 504,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 1,+ "window": 504,+ "config_budget": 312,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 504,+ "config_budget": 312,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 504,+ "config_budget": 312,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 504,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 1,+ "window": 504,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 1,+ "window": 504,+ "config_budget": 504,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 504,+ "config_budget": 504,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 504,+ "config_budget": 504,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 1,+ "window": 504,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 1,+ "window": 504,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 2,+ "window": 23,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 23,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 23,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 23,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 2,+ "window": 23,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 2,+ "window": 23,+ "config_budget": 312,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 23,+ "config_budget": 312,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 23,+ "config_budget": 312,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 23,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 2,+ "window": 23,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 2,+ "window": 23,+ "config_budget": 504,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 23,+ "config_budget": 504,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 23,+ "config_budget": 504,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 23,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 2,+ "window": 23,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 2,+ "window": 43,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 43,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 43,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 43,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 2,+ "window": 43,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 2,+ "window": 43,+ "config_budget": 312,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 43,+ "config_budget": 312,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 43,+ "config_budget": 312,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 43,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 2,+ "window": 43,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 2,+ "window": 43,+ "config_budget": 504,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 43,+ "config_budget": 504,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 43,+ "config_budget": 504,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 43,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 2,+ "window": 43,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 2,+ "window": 64,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 64,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 64,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 64,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 2,+ "window": 64,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 2,+ "window": 64,+ "config_budget": 312,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 64,+ "config_budget": 312,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 64,+ "config_budget": 312,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 64,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 2,+ "window": 64,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 2,+ "window": 64,+ "config_budget": 504,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 64,+ "config_budget": 504,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 64,+ "config_budget": 504,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 64,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 2,+ "window": 64,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 2,+ "window": 102,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 102,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 102,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 102,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 2,+ "window": 102,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 2,+ "window": 102,+ "config_budget": 312,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 102,+ "config_budget": 312,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 102,+ "config_budget": 312,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 102,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 2,+ "window": 102,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 2,+ "window": 102,+ "config_budget": 504,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 102,+ "config_budget": 504,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 102,+ "config_budget": 504,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 102,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 2,+ "window": 102,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 2,+ "window": 312,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 312,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 312,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 312,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 2,+ "window": 312,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 2,+ "window": 312,+ "config_budget": 312,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 312,+ "config_budget": 312,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 312,+ "config_budget": 312,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 312,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 2,+ "window": 312,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 2,+ "window": 312,+ "config_budget": 504,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 312,+ "config_budget": 504,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 312,+ "config_budget": 504,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 312,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 2,+ "window": 312,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 2,+ "window": 504,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 504,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 504,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 504,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 2,+ "window": 504,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 2,+ "window": 504,+ "config_budget": 312,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 504,+ "config_budget": 312,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 504,+ "config_budget": 312,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 504,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 2,+ "window": 504,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 2,+ "window": 504,+ "config_budget": 504,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 504,+ "config_budget": 504,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 504,+ "config_budget": 504,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 2,+ "window": 504,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 2,+ "window": 504,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 3,+ "window": 23,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 3,+ "window": 23,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 3,+ "window": 23,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 3,+ "window": 23,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 23,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 3,+ "window": 23,+ "config_budget": 312,+ "batch_size": null,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 23,+ "config_budget": 312,+ "batch_size": 0,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 23,+ "config_budget": 312,+ "batch_size": -1,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 23,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 23,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 3,+ "window": 23,+ "config_budget": 504,+ "batch_size": null,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 23,+ "config_budget": 504,+ "batch_size": 0,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 23,+ "config_budget": 504,+ "batch_size": -1,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 23,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 23,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 3,+ "window": 43,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 3,+ "window": 43,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 3,+ "window": 43,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 3,+ "window": 43,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 43,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 3,+ "window": 43,+ "config_budget": 312,+ "batch_size": null,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 43,+ "config_budget": 312,+ "batch_size": 0,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 43,+ "config_budget": 312,+ "batch_size": -1,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 43,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 43,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 3,+ "window": 43,+ "config_budget": 504,+ "batch_size": null,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 43,+ "config_budget": 504,+ "batch_size": 0,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 43,+ "config_budget": 504,+ "batch_size": -1,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 43,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 43,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 3,+ "window": 64,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 3,+ "window": 64,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 3,+ "window": 64,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 3,+ "window": 64,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 64,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 3,+ "window": 64,+ "config_budget": 312,+ "batch_size": null,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 64,+ "config_budget": 312,+ "batch_size": 0,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 64,+ "config_budget": 312,+ "batch_size": -1,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 64,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 64,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 3,+ "window": 64,+ "config_budget": 504,+ "batch_size": null,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 64,+ "config_budget": 504,+ "batch_size": 0,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 64,+ "config_budget": 504,+ "batch_size": -1,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 64,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 64,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 3,+ "window": 102,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 3,+ "window": 102,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 3,+ "window": 102,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 3,+ "window": 102,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 102,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 3,+ "window": 102,+ "config_budget": 312,+ "batch_size": null,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 102,+ "config_budget": 312,+ "batch_size": 0,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 102,+ "config_budget": 312,+ "batch_size": -1,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 102,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 102,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 3,+ "window": 102,+ "config_budget": 504,+ "batch_size": null,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 102,+ "config_budget": 504,+ "batch_size": 0,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 102,+ "config_budget": 504,+ "batch_size": -1,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 102,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 102,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 3,+ "window": 312,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 3,+ "window": 312,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 3,+ "window": 312,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 3,+ "window": 312,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 312,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 3,+ "window": 312,+ "config_budget": 312,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 3,+ "window": 312,+ "config_budget": 312,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 3,+ "window": 312,+ "config_budget": 312,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 3,+ "window": 312,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 312,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 3,+ "window": 312,+ "config_budget": 504,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 3,+ "window": 312,+ "config_budget": 504,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 3,+ "window": 312,+ "config_budget": 504,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 3,+ "window": 312,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 312,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 3,+ "window": 504,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 3,+ "window": 504,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 3,+ "window": 504,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 3,+ "window": 504,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 504,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 3,+ "window": 504,+ "config_budget": 312,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 3,+ "window": 504,+ "config_budget": 312,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 3,+ "window": 504,+ "config_budget": 312,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 3,+ "window": 504,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 504,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 3,+ "window": 504,+ "config_budget": 504,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 3,+ "window": 504,+ "config_budget": 504,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 3,+ "window": 504,+ "config_budget": 504,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 3,+ "window": 504,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 3,+ "window": 504,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 5,+ "window": 23,+ "config_budget": 64,+ "batch_size": null,+ "cap": 2+ },+ {+ "n_windows": 5,+ "window": 23,+ "config_budget": 64,+ "batch_size": 0,+ "cap": 2+ },+ {+ "n_windows": 5,+ "window": 23,+ "config_budget": 64,+ "batch_size": -1,+ "cap": 2+ },+ {+ "n_windows": 5,+ "window": 23,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 23,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 5,+ "window": 23,+ "config_budget": 312,+ "batch_size": null,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 23,+ "config_budget": 312,+ "batch_size": 0,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 23,+ "config_budget": 312,+ "batch_size": -1,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 23,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 23,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 5,+ "window": 23,+ "config_budget": 504,+ "batch_size": null,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 23,+ "config_budget": 504,+ "batch_size": 0,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 23,+ "config_budget": 504,+ "batch_size": -1,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 23,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 23,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 5,+ "window": 43,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 5,+ "window": 43,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 5,+ "window": 43,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 5,+ "window": 43,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 43,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 5,+ "window": 43,+ "config_budget": 312,+ "batch_size": null,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 43,+ "config_budget": 312,+ "batch_size": 0,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 43,+ "config_budget": 312,+ "batch_size": -1,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 43,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 43,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 5,+ "window": 43,+ "config_budget": 504,+ "batch_size": null,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 43,+ "config_budget": 504,+ "batch_size": 0,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 43,+ "config_budget": 504,+ "batch_size": -1,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 43,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 43,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 5,+ "window": 64,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 5,+ "window": 64,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 5,+ "window": 64,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 5,+ "window": 64,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 64,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 5,+ "window": 64,+ "config_budget": 312,+ "batch_size": null,+ "cap": 2+ },+ {+ "n_windows": 5,+ "window": 64,+ "config_budget": 312,+ "batch_size": 0,+ "cap": 2+ },+ {+ "n_windows": 5,+ "window": 64,+ "config_budget": 312,+ "batch_size": -1,+ "cap": 2+ },+ {+ "n_windows": 5,+ "window": 64,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 64,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 5,+ "window": 64,+ "config_budget": 504,+ "batch_size": null,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 64,+ "config_budget": 504,+ "batch_size": 0,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 64,+ "config_budget": 504,+ "batch_size": -1,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 64,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 64,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 5,+ "window": 102,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 5,+ "window": 102,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 5,+ "window": 102,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 5,+ "window": 102,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 102,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 5,+ "window": 102,+ "config_budget": 312,+ "batch_size": null,+ "cap": 2+ },+ {+ "n_windows": 5,+ "window": 102,+ "config_budget": 312,+ "batch_size": 0,+ "cap": 2+ },+ {+ "n_windows": 5,+ "window": 102,+ "config_budget": 312,+ "batch_size": -1,+ "cap": 2+ },+ {+ "n_windows": 5,+ "window": 102,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 102,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 5,+ "window": 102,+ "config_budget": 504,+ "batch_size": null,+ "cap": 2+ },+ {+ "n_windows": 5,+ "window": 102,+ "config_budget": 504,+ "batch_size": 0,+ "cap": 2+ },+ {+ "n_windows": 5,+ "window": 102,+ "config_budget": 504,+ "batch_size": -1,+ "cap": 2+ },+ {+ "n_windows": 5,+ "window": 102,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 102,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 5,+ "window": 312,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 5,+ "window": 312,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 5,+ "window": 312,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 5,+ "window": 312,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 312,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 5,+ "window": 312,+ "config_budget": 312,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 5,+ "window": 312,+ "config_budget": 312,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 5,+ "window": 312,+ "config_budget": 312,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 5,+ "window": 312,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 312,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 5,+ "window": 312,+ "config_budget": 504,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 5,+ "window": 312,+ "config_budget": 504,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 5,+ "window": 312,+ "config_budget": 504,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 5,+ "window": 312,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 312,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 5,+ "window": 504,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 5,+ "window": 504,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 5,+ "window": 504,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 5,+ "window": 504,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 504,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 5,+ "window": 504,+ "config_budget": 312,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 5,+ "window": 504,+ "config_budget": 312,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 5,+ "window": 504,+ "config_budget": 312,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 5,+ "window": 504,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 504,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 5,+ "window": 504,+ "config_budget": 504,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 5,+ "window": 504,+ "config_budget": 504,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 5,+ "window": 504,+ "config_budget": 504,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 5,+ "window": 504,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 5,+ "window": 504,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 11,+ "window": 23,+ "config_budget": 64,+ "batch_size": null,+ "cap": 4+ },+ {+ "n_windows": 11,+ "window": 23,+ "config_budget": 64,+ "batch_size": 0,+ "cap": 4+ },+ {+ "n_windows": 11,+ "window": 23,+ "config_budget": 64,+ "batch_size": -1,+ "cap": 4+ },+ {+ "n_windows": 11,+ "window": 23,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 11,+ "window": 23,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 11,+ "window": 23,+ "config_budget": 312,+ "batch_size": null,+ "cap": 1+ },+ {+ "n_windows": 11,+ "window": 23,+ "config_budget": 312,+ "batch_size": 0,+ "cap": 1+ },+ {+ "n_windows": 11,+ "window": 23,+ "config_budget": 312,+ "batch_size": -1,+ "cap": 1+ },+ {+ "n_windows": 11,+ "window": 23,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 11,+ "window": 23,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 11,+ "window": 23,+ "config_budget": 504,+ "batch_size": null,+ "cap": 1+ },+ {+ "n_windows": 11,+ "window": 23,+ "config_budget": 504,+ "batch_size": 0,+ "cap": 1+ },+ {+ "n_windows": 11,+ "window": 23,+ "config_budget": 504,+ "batch_size": -1,+ "cap": 1+ },+ {+ "n_windows": 11,+ "window": 23,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 11,+ "window": 23,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 11,+ "window": 43,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 11,+ "window": 43,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 11,+ "window": 43,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 11,+ "window": 43,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 11,+ "window": 43,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 11,+ "window": 43,+ "config_budget": 312,+ "batch_size": null,+ "cap": 2+ },+ {+ "n_windows": 11,+ "window": 43,+ "config_budget": 312,+ "batch_size": 0,+ "cap": 2+ },+ {+ "n_windows": 11,+ "window": 43,+ "config_budget": 312,+ "batch_size": -1,+ "cap": 2+ },+ {+ "n_windows": 11,+ "window": 43,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 11,+ "window": 43,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 11,+ "window": 43,+ "config_budget": 504,+ "batch_size": null,+ "cap": 1+ },+ {+ "n_windows": 11,+ "window": 43,+ "config_budget": 504,+ "batch_size": 0,+ "cap": 1+ },+ {+ "n_windows": 11,+ "window": 43,+ "config_budget": 504,+ "batch_size": -1,+ "cap": 1+ },+ {+ "n_windows": 11,+ "window": 43,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 11,+ "window": 43,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 11,+ "window": 64,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 11,+ "window": 64,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 11,+ "window": 64,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 11,+ "window": 64,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 11,+ "window": 64,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 11,+ "window": 64,+ "config_budget": 312,+ "batch_size": null,+ "cap": 3+ },+ {+ "n_windows": 11,+ "window": 64,+ "config_budget": 312,+ "batch_size": 0,+ "cap": 3+ },+ {+ "n_windows": 11,+ "window": 64,+ "config_budget": 312,+ "batch_size": -1,+ "cap": 3+ },+ {+ "n_windows": 11,+ "window": 64,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 11,+ "window": 64,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 11,+ "window": 64,+ "config_budget": 504,+ "batch_size": null,+ "cap": 2+ },+ {+ "n_windows": 11,+ "window": 64,+ "config_budget": 504,+ "batch_size": 0,+ "cap": 2+ },+ {+ "n_windows": 11,+ "window": 64,+ "config_budget": 504,+ "batch_size": -1,+ "cap": 2+ },+ {+ "n_windows": 11,+ "window": 64,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 11,+ "window": 64,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 11,+ "window": 102,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 11,+ "window": 102,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 11,+ "window": 102,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 11,+ "window": 102,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 11,+ "window": 102,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 11,+ "window": 102,+ "config_budget": 312,+ "batch_size": null,+ "cap": 4+ },+ {+ "n_windows": 11,+ "window": 102,+ "config_budget": 312,+ "batch_size": 0,+ "cap": 4+ },+ {+ "n_windows": 11,+ "window": 102,+ "config_budget": 312,+ "batch_size": -1,+ "cap": 4+ },+ {+ "n_windows": 11,+ "window": 102,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 11,+ "window": 102,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 11,+ "window": 102,+ "config_budget": 504,+ "batch_size": null,+ "cap": 3+ },+ {+ "n_windows": 11,+ "window": 102,+ "config_budget": 504,+ "batch_size": 0,+ "cap": 3+ },+ {+ "n_windows": 11,+ "window": 102,+ "config_budget": 504,+ "batch_size": -1,+ "cap": 3+ },+ {+ "n_windows": 11,+ "window": 102,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 11,+ "window": 102,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 11,+ "window": 312,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 11,+ "window": 312,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 11,+ "window": 312,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 11,+ "window": 312,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 11,+ "window": 312,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 11,+ "window": 312,+ "config_budget": 312,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 11,+ "window": 312,+ "config_budget": 312,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 11,+ "window": 312,+ "config_budget": 312,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 11,+ "window": 312,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 11,+ "window": 312,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 11,+ "window": 312,+ "config_budget": 504,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 11,+ "window": 312,+ "config_budget": 504,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 11,+ "window": 312,+ "config_budget": 504,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 11,+ "window": 312,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 11,+ "window": 312,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 11,+ "window": 504,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 11,+ "window": 504,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 11,+ "window": 504,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 11,+ "window": 504,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 11,+ "window": 504,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 11,+ "window": 504,+ "config_budget": 312,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 11,+ "window": 504,+ "config_budget": 312,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 11,+ "window": 504,+ "config_budget": 312,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 11,+ "window": 504,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 11,+ "window": 504,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 11,+ "window": 504,+ "config_budget": 504,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 11,+ "window": 504,+ "config_budget": 504,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 11,+ "window": 504,+ "config_budget": 504,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 11,+ "window": 504,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 11,+ "window": 504,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 29,+ "window": 23,+ "config_budget": 64,+ "batch_size": null,+ "cap": 10+ },+ {+ "n_windows": 29,+ "window": 23,+ "config_budget": 64,+ "batch_size": 0,+ "cap": 10+ },+ {+ "n_windows": 29,+ "window": 23,+ "config_budget": 64,+ "batch_size": -1,+ "cap": 10+ },+ {+ "n_windows": 29,+ "window": 23,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 29,+ "window": 23,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 29,+ "window": 23,+ "config_budget": 312,+ "batch_size": null,+ "cap": 3+ },+ {+ "n_windows": 29,+ "window": 23,+ "config_budget": 312,+ "batch_size": 0,+ "cap": 3+ },+ {+ "n_windows": 29,+ "window": 23,+ "config_budget": 312,+ "batch_size": -1,+ "cap": 3+ },+ {+ "n_windows": 29,+ "window": 23,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 29,+ "window": 23,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 29,+ "window": 23,+ "config_budget": 504,+ "batch_size": null,+ "cap": 2+ },+ {+ "n_windows": 29,+ "window": 23,+ "config_budget": 504,+ "batch_size": 0,+ "cap": 2+ },+ {+ "n_windows": 29,+ "window": 23,+ "config_budget": 504,+ "batch_size": -1,+ "cap": 2+ },+ {+ "n_windows": 29,+ "window": 23,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 29,+ "window": 23,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 29,+ "window": 43,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 29,+ "window": 43,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 29,+ "window": 43,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 29,+ "window": 43,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 29,+ "window": 43,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 29,+ "window": 43,+ "config_budget": 312,+ "batch_size": null,+ "cap": 4+ },+ {+ "n_windows": 29,+ "window": 43,+ "config_budget": 312,+ "batch_size": 0,+ "cap": 4+ },+ {+ "n_windows": 29,+ "window": 43,+ "config_budget": 312,+ "batch_size": -1,+ "cap": 4+ },+ {+ "n_windows": 29,+ "window": 43,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 29,+ "window": 43,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 29,+ "window": 43,+ "config_budget": 504,+ "batch_size": null,+ "cap": 3+ },+ {+ "n_windows": 29,+ "window": 43,+ "config_budget": 504,+ "batch_size": 0,+ "cap": 3+ },+ {+ "n_windows": 29,+ "window": 43,+ "config_budget": 504,+ "batch_size": -1,+ "cap": 3+ },+ {+ "n_windows": 29,+ "window": 43,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 29,+ "window": 43,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 29,+ "window": 64,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 29,+ "window": 64,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 29,+ "window": 64,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 29,+ "window": 64,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 29,+ "window": 64,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 29,+ "window": 64,+ "config_budget": 312,+ "batch_size": null,+ "cap": 6+ },+ {+ "n_windows": 29,+ "window": 64,+ "config_budget": 312,+ "batch_size": 0,+ "cap": 6+ },+ {+ "n_windows": 29,+ "window": 64,+ "config_budget": 312,+ "batch_size": -1,+ "cap": 6+ },+ {+ "n_windows": 29,+ "window": 64,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 29,+ "window": 64,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 29,+ "window": 64,+ "config_budget": 504,+ "batch_size": null,+ "cap": 4+ },+ {+ "n_windows": 29,+ "window": 64,+ "config_budget": 504,+ "batch_size": 0,+ "cap": 4+ },+ {+ "n_windows": 29,+ "window": 64,+ "config_budget": 504,+ "batch_size": -1,+ "cap": 4+ },+ {+ "n_windows": 29,+ "window": 64,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 29,+ "window": 64,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 29,+ "window": 102,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 29,+ "window": 102,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 29,+ "window": 102,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 29,+ "window": 102,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 29,+ "window": 102,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 29,+ "window": 102,+ "config_budget": 312,+ "batch_size": null,+ "cap": 10+ },+ {+ "n_windows": 29,+ "window": 102,+ "config_budget": 312,+ "batch_size": 0,+ "cap": 10+ },+ {+ "n_windows": 29,+ "window": 102,+ "config_budget": 312,+ "batch_size": -1,+ "cap": 10+ },+ {+ "n_windows": 29,+ "window": 102,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 29,+ "window": 102,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 29,+ "window": 102,+ "config_budget": 504,+ "batch_size": null,+ "cap": 6+ },+ {+ "n_windows": 29,+ "window": 102,+ "config_budget": 504,+ "batch_size": 0,+ "cap": 6+ },+ {+ "n_windows": 29,+ "window": 102,+ "config_budget": 504,+ "batch_size": -1,+ "cap": 6+ },+ {+ "n_windows": 29,+ "window": 102,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 29,+ "window": 102,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 29,+ "window": 312,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 29,+ "window": 312,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 29,+ "window": 312,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 29,+ "window": 312,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 29,+ "window": 312,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 29,+ "window": 312,+ "config_budget": 312,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 29,+ "window": 312,+ "config_budget": 312,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 29,+ "window": 312,+ "config_budget": 312,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 29,+ "window": 312,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 29,+ "window": 312,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 29,+ "window": 312,+ "config_budget": 504,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 29,+ "window": 312,+ "config_budget": 504,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 29,+ "window": 312,+ "config_budget": 504,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 29,+ "window": 312,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 29,+ "window": 312,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 29,+ "window": 504,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 29,+ "window": 504,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 29,+ "window": 504,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 29,+ "window": 504,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 29,+ "window": 504,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 29,+ "window": 504,+ "config_budget": 312,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 29,+ "window": 504,+ "config_budget": 312,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 29,+ "window": 504,+ "config_budget": 312,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 29,+ "window": 504,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 29,+ "window": 504,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 29,+ "window": 504,+ "config_budget": 504,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 29,+ "window": 504,+ "config_budget": 504,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 29,+ "window": 504,+ "config_budget": 504,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 29,+ "window": 504,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 29,+ "window": 504,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 36,+ "window": 23,+ "config_budget": 64,+ "batch_size": null,+ "cap": 13+ },+ {+ "n_windows": 36,+ "window": 23,+ "config_budget": 64,+ "batch_size": 0,+ "cap": 13+ },+ {+ "n_windows": 36,+ "window": 23,+ "config_budget": 64,+ "batch_size": -1,+ "cap": 13+ },+ {+ "n_windows": 36,+ "window": 23,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 36,+ "window": 23,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 36,+ "window": 23,+ "config_budget": 312,+ "batch_size": null,+ "cap": 3+ },+ {+ "n_windows": 36,+ "window": 23,+ "config_budget": 312,+ "batch_size": 0,+ "cap": 3+ },+ {+ "n_windows": 36,+ "window": 23,+ "config_budget": 312,+ "batch_size": -1,+ "cap": 3+ },+ {+ "n_windows": 36,+ "window": 23,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 36,+ "window": 23,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 36,+ "window": 23,+ "config_budget": 504,+ "batch_size": null,+ "cap": 2+ },+ {+ "n_windows": 36,+ "window": 23,+ "config_budget": 504,+ "batch_size": 0,+ "cap": 2+ },+ {+ "n_windows": 36,+ "window": 23,+ "config_budget": 504,+ "batch_size": -1,+ "cap": 2+ },+ {+ "n_windows": 36,+ "window": 23,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 36,+ "window": 23,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 36,+ "window": 43,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 36,+ "window": 43,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 36,+ "window": 43,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 36,+ "window": 43,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 36,+ "window": 43,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 36,+ "window": 43,+ "config_budget": 312,+ "batch_size": null,+ "cap": 5+ },+ {+ "n_windows": 36,+ "window": 43,+ "config_budget": 312,+ "batch_size": 0,+ "cap": 5+ },+ {+ "n_windows": 36,+ "window": 43,+ "config_budget": 312,+ "batch_size": -1,+ "cap": 5+ },+ {+ "n_windows": 36,+ "window": 43,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 36,+ "window": 43,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 36,+ "window": 43,+ "config_budget": 504,+ "batch_size": null,+ "cap": 3+ },+ {+ "n_windows": 36,+ "window": 43,+ "config_budget": 504,+ "batch_size": 0,+ "cap": 3+ },+ {+ "n_windows": 36,+ "window": 43,+ "config_budget": 504,+ "batch_size": -1,+ "cap": 3+ },+ {+ "n_windows": 36,+ "window": 43,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 36,+ "window": 43,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 36,+ "window": 64,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 36,+ "window": 64,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 36,+ "window": 64,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 36,+ "window": 64,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 36,+ "window": 64,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 36,+ "window": 64,+ "config_budget": 312,+ "batch_size": null,+ "cap": 8+ },+ {+ "n_windows": 36,+ "window": 64,+ "config_budget": 312,+ "batch_size": 0,+ "cap": 8+ },+ {+ "n_windows": 36,+ "window": 64,+ "config_budget": 312,+ "batch_size": -1,+ "cap": 8+ },+ {+ "n_windows": 36,+ "window": 64,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 36,+ "window": 64,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 36,+ "window": 64,+ "config_budget": 504,+ "batch_size": null,+ "cap": 5+ },+ {+ "n_windows": 36,+ "window": 64,+ "config_budget": 504,+ "batch_size": 0,+ "cap": 5+ },+ {+ "n_windows": 36,+ "window": 64,+ "config_budget": 504,+ "batch_size": -1,+ "cap": 5+ },+ {+ "n_windows": 36,+ "window": 64,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 36,+ "window": 64,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 36,+ "window": 102,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 36,+ "window": 102,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 36,+ "window": 102,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 36,+ "window": 102,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 36,+ "window": 102,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 36,+ "window": 102,+ "config_budget": 312,+ "batch_size": null,+ "cap": 12+ },+ {+ "n_windows": 36,+ "window": 102,+ "config_budget": 312,+ "batch_size": 0,+ "cap": 12+ },+ {+ "n_windows": 36,+ "window": 102,+ "config_budget": 312,+ "batch_size": -1,+ "cap": 12+ },+ {+ "n_windows": 36,+ "window": 102,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 36,+ "window": 102,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 36,+ "window": 102,+ "config_budget": 504,+ "batch_size": null,+ "cap": 8+ },+ {+ "n_windows": 36,+ "window": 102,+ "config_budget": 504,+ "batch_size": 0,+ "cap": 8+ },+ {+ "n_windows": 36,+ "window": 102,+ "config_budget": 504,+ "batch_size": -1,+ "cap": 8+ },+ {+ "n_windows": 36,+ "window": 102,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 36,+ "window": 102,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 36,+ "window": 312,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 36,+ "window": 312,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 36,+ "window": 312,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 36,+ "window": 312,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 36,+ "window": 312,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 36,+ "window": 312,+ "config_budget": 312,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 36,+ "window": 312,+ "config_budget": 312,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 36,+ "window": 312,+ "config_budget": 312,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 36,+ "window": 312,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 36,+ "window": 312,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 36,+ "window": 312,+ "config_budget": 504,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 36,+ "window": 312,+ "config_budget": 504,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 36,+ "window": 312,+ "config_budget": 504,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 36,+ "window": 312,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 36,+ "window": 312,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 36,+ "window": 504,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 36,+ "window": 504,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 36,+ "window": 504,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 36,+ "window": 504,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 36,+ "window": 504,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 36,+ "window": 504,+ "config_budget": 312,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 36,+ "window": 504,+ "config_budget": 312,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 36,+ "window": 504,+ "config_budget": 312,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 36,+ "window": 504,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 36,+ "window": 504,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 36,+ "window": 504,+ "config_budget": 504,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 36,+ "window": 504,+ "config_budget": 504,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 36,+ "window": 504,+ "config_budget": 504,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 36,+ "window": 504,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 36,+ "window": 504,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 100,+ "window": 23,+ "config_budget": 64,+ "batch_size": null,+ "cap": 35+ },+ {+ "n_windows": 100,+ "window": 23,+ "config_budget": 64,+ "batch_size": 0,+ "cap": 35+ },+ {+ "n_windows": 100,+ "window": 23,+ "config_budget": 64,+ "batch_size": -1,+ "cap": 35+ },+ {+ "n_windows": 100,+ "window": 23,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 100,+ "window": 23,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 100,+ "window": 23,+ "config_budget": 312,+ "batch_size": null,+ "cap": 8+ },+ {+ "n_windows": 100,+ "window": 23,+ "config_budget": 312,+ "batch_size": 0,+ "cap": 8+ },+ {+ "n_windows": 100,+ "window": 23,+ "config_budget": 312,+ "batch_size": -1,+ "cap": 8+ },+ {+ "n_windows": 100,+ "window": 23,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 100,+ "window": 23,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 100,+ "window": 23,+ "config_budget": 504,+ "batch_size": null,+ "cap": 5+ },+ {+ "n_windows": 100,+ "window": 23,+ "config_budget": 504,+ "batch_size": 0,+ "cap": 5+ },+ {+ "n_windows": 100,+ "window": 23,+ "config_budget": 504,+ "batch_size": -1,+ "cap": 5+ },+ {+ "n_windows": 100,+ "window": 23,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 100,+ "window": 23,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 100,+ "window": 43,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 100,+ "window": 43,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 100,+ "window": 43,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 100,+ "window": 43,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 100,+ "window": 43,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 100,+ "window": 43,+ "config_budget": 312,+ "batch_size": null,+ "cap": 14+ },+ {+ "n_windows": 100,+ "window": 43,+ "config_budget": 312,+ "batch_size": 0,+ "cap": 14+ },+ {+ "n_windows": 100,+ "window": 43,+ "config_budget": 312,+ "batch_size": -1,+ "cap": 14+ },+ {+ "n_windows": 100,+ "window": 43,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 100,+ "window": 43,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 100,+ "window": 43,+ "config_budget": 504,+ "batch_size": null,+ "cap": 9+ },+ {+ "n_windows": 100,+ "window": 43,+ "config_budget": 504,+ "batch_size": 0,+ "cap": 9+ },+ {+ "n_windows": 100,+ "window": 43,+ "config_budget": 504,+ "batch_size": -1,+ "cap": 9+ },+ {+ "n_windows": 100,+ "window": 43,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 100,+ "window": 43,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 100,+ "window": 64,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 100,+ "window": 64,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 100,+ "window": 64,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 100,+ "window": 64,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 100,+ "window": 64,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 100,+ "window": 64,+ "config_budget": 312,+ "batch_size": null,+ "cap": 21+ },+ {+ "n_windows": 100,+ "window": 64,+ "config_budget": 312,+ "batch_size": 0,+ "cap": 21+ },+ {+ "n_windows": 100,+ "window": 64,+ "config_budget": 312,+ "batch_size": -1,+ "cap": 21+ },+ {+ "n_windows": 100,+ "window": 64,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 100,+ "window": 64,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 100,+ "window": 64,+ "config_budget": 504,+ "batch_size": null,+ "cap": 13+ },+ {+ "n_windows": 100,+ "window": 64,+ "config_budget": 504,+ "batch_size": 0,+ "cap": 13+ },+ {+ "n_windows": 100,+ "window": 64,+ "config_budget": 504,+ "batch_size": -1,+ "cap": 13+ },+ {+ "n_windows": 100,+ "window": 64,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 100,+ "window": 64,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 100,+ "window": 102,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 100,+ "window": 102,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 100,+ "window": 102,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 100,+ "window": 102,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 100,+ "window": 102,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 100,+ "window": 102,+ "config_budget": 312,+ "batch_size": null,+ "cap": 33+ },+ {+ "n_windows": 100,+ "window": 102,+ "config_budget": 312,+ "batch_size": 0,+ "cap": 33+ },+ {+ "n_windows": 100,+ "window": 102,+ "config_budget": 312,+ "batch_size": -1,+ "cap": 33+ },+ {+ "n_windows": 100,+ "window": 102,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 100,+ "window": 102,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 100,+ "window": 102,+ "config_budget": 504,+ "batch_size": null,+ "cap": 21+ },+ {+ "n_windows": 100,+ "window": 102,+ "config_budget": 504,+ "batch_size": 0,+ "cap": 21+ },+ {+ "n_windows": 100,+ "window": 102,+ "config_budget": 504,+ "batch_size": -1,+ "cap": 21+ },+ {+ "n_windows": 100,+ "window": 102,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 100,+ "window": 102,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 100,+ "window": 312,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 100,+ "window": 312,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 100,+ "window": 312,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 100,+ "window": 312,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 100,+ "window": 312,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 100,+ "window": 312,+ "config_budget": 312,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 100,+ "window": 312,+ "config_budget": 312,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 100,+ "window": 312,+ "config_budget": 312,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 100,+ "window": 312,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 100,+ "window": 312,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 100,+ "window": 312,+ "config_budget": 504,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 100,+ "window": 312,+ "config_budget": 504,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 100,+ "window": 312,+ "config_budget": 504,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 100,+ "window": 312,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 100,+ "window": 312,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 100,+ "window": 504,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 100,+ "window": 504,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 100,+ "window": 504,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 100,+ "window": 504,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 100,+ "window": 504,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 100,+ "window": 504,+ "config_budget": 312,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 100,+ "window": 504,+ "config_budget": 312,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 100,+ "window": 504,+ "config_budget": 312,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 100,+ "window": 504,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 100,+ "window": 504,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 100,+ "window": 504,+ "config_budget": 504,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 100,+ "window": 504,+ "config_budget": 504,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 100,+ "window": 504,+ "config_budget": 504,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 100,+ "window": 504,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 100,+ "window": 504,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 413,+ "window": 23,+ "config_budget": 64,+ "batch_size": null,+ "cap": 142+ },+ {+ "n_windows": 413,+ "window": 23,+ "config_budget": 64,+ "batch_size": 0,+ "cap": 142+ },+ {+ "n_windows": 413,+ "window": 23,+ "config_budget": 64,+ "batch_size": -1,+ "cap": 142+ },+ {+ "n_windows": 413,+ "window": 23,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 413,+ "window": 23,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 413,+ "window": 23,+ "config_budget": 312,+ "batch_size": null,+ "cap": 30+ },+ {+ "n_windows": 413,+ "window": 23,+ "config_budget": 312,+ "batch_size": 0,+ "cap": 30+ },+ {+ "n_windows": 413,+ "window": 23,+ "config_budget": 312,+ "batch_size": -1,+ "cap": 30+ },+ {+ "n_windows": 413,+ "window": 23,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 413,+ "window": 23,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 413,+ "window": 23,+ "config_budget": 504,+ "batch_size": null,+ "cap": 19+ },+ {+ "n_windows": 413,+ "window": 23,+ "config_budget": 504,+ "batch_size": 0,+ "cap": 19+ },+ {+ "n_windows": 413,+ "window": 23,+ "config_budget": 504,+ "batch_size": -1,+ "cap": 19+ },+ {+ "n_windows": 413,+ "window": 23,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 413,+ "window": 23,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 413,+ "window": 43,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 413,+ "window": 43,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 413,+ "window": 43,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 413,+ "window": 43,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 413,+ "window": 43,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 413,+ "window": 43,+ "config_budget": 312,+ "batch_size": null,+ "cap": 56+ },+ {+ "n_windows": 413,+ "window": 43,+ "config_budget": 312,+ "batch_size": 0,+ "cap": 56+ },+ {+ "n_windows": 413,+ "window": 43,+ "config_budget": 312,+ "batch_size": -1,+ "cap": 56+ },+ {+ "n_windows": 413,+ "window": 43,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 413,+ "window": 43,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 413,+ "window": 43,+ "config_budget": 504,+ "batch_size": null,+ "cap": 35+ },+ {+ "n_windows": 413,+ "window": 43,+ "config_budget": 504,+ "batch_size": 0,+ "cap": 35+ },+ {+ "n_windows": 413,+ "window": 43,+ "config_budget": 504,+ "batch_size": -1,+ "cap": 35+ },+ {+ "n_windows": 413,+ "window": 43,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 413,+ "window": 43,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 413,+ "window": 64,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 413,+ "window": 64,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 413,+ "window": 64,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 413,+ "window": 64,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 413,+ "window": 64,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 413,+ "window": 64,+ "config_budget": 312,+ "batch_size": null,+ "cap": 85+ },+ {+ "n_windows": 413,+ "window": 64,+ "config_budget": 312,+ "batch_size": 0,+ "cap": 85+ },+ {+ "n_windows": 413,+ "window": 64,+ "config_budget": 312,+ "batch_size": -1,+ "cap": 85+ },+ {+ "n_windows": 413,+ "window": 64,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 413,+ "window": 64,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 413,+ "window": 64,+ "config_budget": 504,+ "batch_size": null,+ "cap": 53+ },+ {+ "n_windows": 413,+ "window": 64,+ "config_budget": 504,+ "batch_size": 0,+ "cap": 53+ },+ {+ "n_windows": 413,+ "window": 64,+ "config_budget": 504,+ "batch_size": -1,+ "cap": 53+ },+ {+ "n_windows": 413,+ "window": 64,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 413,+ "window": 64,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 413,+ "window": 102,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 413,+ "window": 102,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 413,+ "window": 102,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 413,+ "window": 102,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 413,+ "window": 102,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 413,+ "window": 102,+ "config_budget": 312,+ "batch_size": null,+ "cap": 136+ },+ {+ "n_windows": 413,+ "window": 102,+ "config_budget": 312,+ "batch_size": 0,+ "cap": 136+ },+ {+ "n_windows": 413,+ "window": 102,+ "config_budget": 312,+ "batch_size": -1,+ "cap": 136+ },+ {+ "n_windows": 413,+ "window": 102,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 413,+ "window": 102,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 413,+ "window": 102,+ "config_budget": 504,+ "batch_size": null,+ "cap": 84+ },+ {+ "n_windows": 413,+ "window": 102,+ "config_budget": 504,+ "batch_size": 0,+ "cap": 84+ },+ {+ "n_windows": 413,+ "window": 102,+ "config_budget": 504,+ "batch_size": -1,+ "cap": 84+ },+ {+ "n_windows": 413,+ "window": 102,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 413,+ "window": 102,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 413,+ "window": 312,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 413,+ "window": 312,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 413,+ "window": 312,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 413,+ "window": 312,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 413,+ "window": 312,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 413,+ "window": 312,+ "config_budget": 312,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 413,+ "window": 312,+ "config_budget": 312,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 413,+ "window": 312,+ "config_budget": 312,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 413,+ "window": 312,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 413,+ "window": 312,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 413,+ "window": 312,+ "config_budget": 504,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 413,+ "window": 312,+ "config_budget": 504,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 413,+ "window": 312,+ "config_budget": 504,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 413,+ "window": 312,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 413,+ "window": 312,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 413,+ "window": 504,+ "config_budget": 64,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 413,+ "window": 504,+ "config_budget": 64,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 413,+ "window": 504,+ "config_budget": 64,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 413,+ "window": 504,+ "config_budget": 64,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 413,+ "window": 504,+ "config_budget": 64,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 413,+ "window": 504,+ "config_budget": 312,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 413,+ "window": 504,+ "config_budget": 312,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 413,+ "window": 504,+ "config_budget": 312,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 413,+ "window": 504,+ "config_budget": 312,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 413,+ "window": 504,+ "config_budget": 312,+ "batch_size": 8,+ "cap": 8+ },+ {+ "n_windows": 413,+ "window": 504,+ "config_budget": 504,+ "batch_size": null,+ "cap": null+ },+ {+ "n_windows": 413,+ "window": 504,+ "config_budget": 504,+ "batch_size": 0,+ "cap": null+ },+ {+ "n_windows": 413,+ "window": 504,+ "config_budget": 504,+ "batch_size": -1,+ "cap": null+ },+ {+ "n_windows": 413,+ "window": 504,+ "config_budget": 504,+ "batch_size": 1,+ "cap": 1+ },+ {+ "n_windows": 413,+ "window": 504,+ "config_budget": 504,+ "batch_size": 8,+ "cap": 8+ }+ ]+}diff --git a/laya-java/laya-java/src/main/java/com/convaiinnovations/laya/sequence/WindowPlan.java b/laya-java/laya-java/src/main/java/com/convaiinnovations/laya/sequence/WindowPlan.javanew file mode 100644index 00000000..0da2d0c9--- /dev/null+++ b/laya-java/laya-java/src/main/java/com/convaiinnovations/laya/sequence/WindowPlan.java@@ -0,0 +1,235 @@+package com.convaiinnovations.laya.sequence;++import com.convaiinnovations.laya.Question;+import com.convaiinnovations.laya.tokenizer.Tokenizer;+import java.util.ArrayList;+import java.util.List;+import java.util.Locale;++/**+ * How a scan over a state longer than one sequence is sized.+ *+ * <p>A long state is read in overlapping token windows, each decoded back to text and scored as an+ * ordinary state. That makes the window size a correctness question rather than a tuning one: a+ * window wider than the room the questions leave is re-truncated by {@link SequenceBuilder#build}+ * on the way in, so the tail of every window reaches no model while the reported span says it did.+ * And once the stride exceeds the real room, consecutive windows stop touching and the tokens+ * between them are read by nothing at all -- worse than not windowing.+ *+ * <p>So the window is capped at {@link #stateRoom}, and at the <em>smallest</em> room of the+ * questions asked, because the windows are one list of states scored for every question in shared+ * forward passes: a window sized for the roomiest question would be cut short for the tightest+ * one, and the offsets reported on its answers would mean something different per question.+ *+ * <p>Every clamp here is a decision the caller cannot see -- the window they asked for may shrink,+ * their stride may shrink with it, and the number of forward passes may triple as a result. The+ * reference raises a Python {@code RuntimeWarning} for each. There is no portable ambient+ * equivalent on the JVM that a test can read, so {@link Budget} carries the warnings as text+ * <em>and</em> they go to {@link System.Logger} at {@code WARNING}: a caller who ignores the+ * record still hears about it, and the text stays checkable against the reference.+ */+public final class WindowPlan {++ private WindowPlan() {+ }++ /** How far the DEFAULT window may be cut before {@link #budget} says so. */+ private static final int CLAMP_WARN_RATIO = 2;++ /** How much capping the window may multiply the window count before {@link #batchCap} acts. */+ private static final int BATCH_BLOWUP = 2;++ /**+ * A sized scan: the window, the step between windows, and the room the questions left.+ *+ * @param window state tokens per window+ * @param stride token step between windows; {@code window / 2} by default, so a span near a+ * boundary still lands whole inside some window+ * @param room the smallest state budget the questions leave, or the window itself when+ * there were no questions to fit+ * @param warnings what the reference would have raised as {@code RuntimeWarning}, in order;+ * empty when nothing was clamped+ */+ public record Budget(int window, int stride, int room, List<String> warnings) {++ public Budget {+ warnings = List.copyOf(warnings);+ }++ /** Whether anything was clamped, which is the only reason {@link #warnings} is non-empty. */+ public boolean clamped() {+ return !warnings.isEmpty();+ }+ }++ /**+ * How many state tokens {@code question} leaves inside {@code maxLen}.+ *+ * <p>The head is the question's own -- its instructions plus one {@code [MASK]}-prefixed span+ * per option -- so a question with many options leaves less room than one with two, and two+ * questions in the same request do not have to leave the same amount. Anything past the return+ * value is cut off.+ *+ * <p>This is a property of the TOKENIZER, not just of the question: the same 88-option+ * question leaves 150 state tokens on the english checkpoint and 614 on multilingual. Nothing+ * downstream may assume a particular number.+ */+ public static int stateRoom(Tokenizer tok, Question question, int maxLen, int headMaxLen) {+ SequenceBuilder.Head head = SequenceBuilder.buildHead(tok, question, headMaxLen, null);+ // -1 for the [SEP] that closes the state.+ return Math.max(0, maxLen - head.ids().size() - 1);+ }++ /**+ * Window and stride for scanning a state longer than one sequence.+ *+ * <p>With no questions there is nothing to fit, so the caller's window -- or the checkpoint+ * default -- stands and is reported as the room.+ *+ * @param window an explicit window, or null for the default+ * ({@code max(64, maxLen - headMaxLen - 8)}). Zero and negative mean "unset",+ * as in the reference, not "invalid"+ * @param stride an explicit stride, or null for a 50% step of the EFFECTIVE window+ * @throws IllegalArgumentException when the questions leave no room at all, or when an+ * explicit stride steps past the window the caller asked for+ */+ public static Budget budget(Tokenizer tok, List<Question> questions, int maxLen,+ int headMaxLen, Integer window, Integer stride) {+ if (tok == null) {+ throw new IllegalArgumentException("tok must not be null");+ }+ if (questions == null) {+ throw new IllegalArgumentException(+ "questions must not be null; pass an empty list for \"nothing to fit\"");+ }+ List<String> warnings = new ArrayList<>();++ int requested = window != null && window > 0 ? window : Math.max(64, maxLen - headMaxLen - 8);+ int size = requested;++ int room = size;+ if (!questions.isEmpty()) {+ room = Integer.MAX_VALUE;+ for (Question question : questions) {+ room = Math.min(room, stateRoom(tok, question, maxLen, headMaxLen));+ }+ }+ if (room <= 0) {+ throw new IllegalArgumentException(String.format(Locale.ROOT,+ "predict_long: the questions' options fill the whole sequence (max_len=%d,"+ + " head_max_len=%d), leaving no room for the state; no window can carry any"+ + " of it. A label set this large is what laya.shortlist.predict_shortlist"+ + " is for", maxLen, headMaxLen));+ }++ if (size > room) {+ if (window != null && window > 0) {+ warnings.add(String.format(Locale.ROOT,+ "laya: predict_long: window=%d is wider than the %d state tokens these"+ + " questions leave inside max_len=%d, so every window would be truncated"+ + " to %d on the way to the model; scanning with window=%d instead",+ size, room, maxLen, room, room));+ } else if (size >= room * CLAMP_WARN_RATIO) {+ // The DEFAULT window was cut, and cut hard. Capping it is what stops the tail of+ // every window reaching no model, but it is not free and must not be silent: the+ // scan now needs about size/room times as many windows, each a full forward pass,+ // and nothing in the caller's code says why.+ //+ // The cost is not the capping, it is the shape of the request: most of every+ // sequence is the question, and because the encoder is bidirectional the head+ // cannot be computed once and reused -- its representations depend on the state it+ // is paired with. So the warning names the remedy rather than only reporting it.+ warnings.add(String.format(Locale.ROOT,+ "laya: predict_long: these questions leave only %d of max_len=%d for the"+ + " state (their heads take the rest), so the scan window is capped %d ->"+ + " %d and roughly %.1fx as many windows -- each a full forward pass --"+ + " are needed to read the document. Fewer or shorter options, a larger"+ + " max_len, or laya.shortlist.predict_shortlist for a large label set"+ + " will all cost less than scanning at this width",+ room, maxLen, size, room, (double) size / room));+ }+ size = room;+ }++ int step = stride != null && stride > 0 ? stride : Math.max(1, size / 2);+ if (step > size) {+ if (size < requested && stride != null && stride <= requested) {+ // The window the caller asked for was reduced above, and their stride was valid+ // for the window they asked for -- so this is the library's clamp, not their+ // mistake. Reducing the stride to match keeps the no-gap guarantee without making+ // a self-consistent pair of arguments an error. A stride that overshot the+ // REQUESTED window is still refused below, because that one really is theirs.+ warnings.add(String.format(Locale.ROOT,+ "laya: predict_long: stride=%d was a 50%% step for the window=%d you asked"+ + " for, but the window was reduced to %d to fit the room these questions"+ + " leave; scanning with stride=%d instead",+ step, requested, size, Math.max(1, size / 2)));+ step = Math.max(1, size / 2);+ } else {+ throw new IllegalArgumentException(String.format(Locale.ROOT,+ "predict_long: stride=%d steps past the %d-token window%s, so %d tokens"+ + " between every pair of windows would be read by no window at all; pass"+ + " stride <= %d",+ step, size,+ size < requested ? " these questions leave room for" : "",+ step - size, size));+ }+ }++ for (String warning : warnings) {+ System.getLogger(WindowPlan.class.getName())+ .log(System.Logger.Level.WARNING, warning);+ }+ return new Budget(size, step, room, warnings);+ }++ /**+ * Keep one forward pass no wider than the un-capped scan's would have been -- but only when+ * capping the window has multiplied the window count enough to matter.+ *+ * <p>Capping the window at the room the questions leave multiplies the number of windows on+ * exactly the inputs it targets: a long document at many options goes from tens of wide+ * windows to hundreds of narrow ones. A batch call that puts every state in one forward pass+ * would then go from a tens-of-rows pass to a hundreds-of-rows one at {@code maxLen} width --+ * a plausible out-of-memory on an input that used to fit.+ *+ * <p>Sending every window in one run is also a deliberate property, and a mild cap -- a+ * 64-token budget reduced to 43, say -- multiplies the count by well under two. Chunking those+ * would trade a real property for no real protection. So the cap applies only past+ * {@value #BATCH_BLOWUP}x, and then bounds the pass at the count the un-capped budget would+ * have produced: peak memory stays at parity with the behaviour before the cap, and the scan+ * still reads the whole document, just in more passes.+ *+ * @param batchSize an explicit cap, which is always honoured; null, zero and negative mean+ * "unset"+ * @return the cap, or null for "one pass, every window"+ */+ public static Integer batchCap(int nWindows, int window, int configBudget, Integer batchSize) {+ if (batchSize != null && batchSize > 0) {+ return batchSize;+ }+ // Not capped: one pass, exactly as before. This is a SHORTCUT, not a branch -- the+ // arithmetic below reaches the same answer on its own, because window >= configBudget+ // makes `unclamped` at least nWindows and the blow-up test then returns null anyway.+ // Swept over 1,548,519 (nWindows, window, configBudget) points where the condition+ // holds: zero differences with it removed.+ //+ // So no test can fail when this is deleted, and the mutation sweep correctly reports it+ // as surviving. It is kept because it says the intent at the top of the function, where+ // a reader looks, rather than leaving it to be inferred from a ceiling division; and it+ // is documented here so the next reader neither removes it believing it untested nor+ // tries to write the test that cannot exist.+ if (window >= configBudget) {+ return null;+ }+ // Ceiling division, as the reference's -(-a // b) is. long, because the product of a+ // window count and a half-window is not bounded by anything the caller cannot choose.+ long numerator = (long) nWindows * Math.max(1, window / 2);+ long denominator = Math.max(1, configBudget / 2);+ int unclamped = (int) Math.max(1, (numerator + denominator - 1) / denominator);+ if (nWindows <= (long) unclamped * BATCH_BLOWUP) {+ return null; // a mild cap: keep the single shared pass+ }+ return unclamped;+ }+}diff --git a/laya-java/laya-java/src/test/java/com/convaiinnovations/laya/sequence/WindowPlanTest.java b/laya-java/laya-java/src/test/java/com/convaiinnovations/laya/sequence/WindowPlanTest.javanew file mode 100644index 00000000..4ab7dfbd--- /dev/null+++ b/laya-java/laya-java/src/test/java/com/convaiinnovations/laya/sequence/WindowPlanTest.java@@ -0,0 +1,247 @@+package com.convaiinnovations.laya.sequence;++import static org.junit.jupiter.api.Assertions.assertEquals;+import static org.junit.jupiter.api.Assertions.assertNull;+import static org.junit.jupiter.api.Assertions.assertThrows;+import static org.junit.jupiter.api.Assertions.assertTrue;+import static org.junit.jupiter.api.DynamicTest.dynamicTest;++import com.convaiinnovations.laya.Fixtures;+import com.convaiinnovations.laya.Question;+import com.convaiinnovations.laya.tokenizer.Tokenizer;+import java.nio.file.Path;+import java.util.ArrayList;+import java.util.LinkedHashMap;+import java.util.List;+import java.util.Map;+import org.junit.jupiter.api.Assumptions;+import org.junit.jupiter.api.DisplayName;+import org.junit.jupiter.api.DynamicTest;+import org.junit.jupiter.api.Test;+import org.junit.jupiter.api.TestFactory;++/**+ * {@link WindowPlan} against {@code fixtures/window_plan.json}, recorded from {@code laya.common}.+ *+ * <p>The numbers are the small part. Every clamp this class performs is invisible to the caller --+ * their window shrinks, their stride shrinks with it, and the forward-pass count can triple -- so+ * the reference's {@code RuntimeWarning} text is the only thing that explains a scan that got+ * slower. The warnings are therefore compared VERBATIM: a port that clamped to exactly the right+ * numbers and said nothing would pass a test that only checked the numbers, and would leave a+ * caller with no way to find out why.+ */+final class WindowPlanTest {++ @SuppressWarnings("unchecked")+ private static Map<String, Object> family() {+ return (Map<String, Object>) (Map<?, ?>) Fixtures.load("window_plan.json");+ }++ @SuppressWarnings("unchecked")+ private static Map<String, Object> forCheckpoint(String name) {+ Map<String, Object> by = (Map<String, Object>) family().get("by");+ Map<String, Object> entry = (Map<String, Object>) by.get(name);+ Assumptions.assumeTrue(entry != null && !entry.containsKey("skipped"),+ "the " + name + " checkpoint was not present when the fixture was recorded");+ return entry;+ }++ private static Tokenizer open(String name) {+ Path model = Fixtures.checkpoint(name);+ Assumptions.assumeTrue(model != null, Fixtures.missingCheckpoint(name));+ try {+ return Tokenizer.fromModelDirectory(model);+ } catch (java.io.IOException problem) {+ throw new IllegalStateException("cannot open the " + name + " tokenizer", problem);+ }+ }++ /**+ * The generator's {@code _window_question}, rebuilt here.+ *+ * <p>Rebuilt rather than recorded, because a 160-option question is a lot of fixture for a+ * recipe this short. The risk in rebuilding is that the two drift and the test then compares+ * the right answer to the wrong question -- which the recorded {@code room} catches: it is+ * derived from the head this question tokenizes to, so a question that differs by one token+ * fails every case for that checkpoint rather than passing quietly.+ */+ private static Question windowQuestion(int options) {+ Map<String, Object> criteria = new LinkedHashMap<>();+ for (int i = 0; i < options; i++) {+ StringBuilder value = new StringBuilder();+ for (int word = 0; word < 4; word++) {+ if (word > 0) {+ value.append(' ');+ }+ value.append("criterion").append(i).append(" word").append(word);+ }+ criteria.put(String.format("opt%03d", i), value.toString());+ }+ return Question.choice("Pick one.", criteria);+ }++ @TestFactory+ @DisplayName("stateRoom matches the reference for every option count, on both checkpoints")+ @SuppressWarnings("unchecked")+ List<DynamicTest> stateRoomMatches() {+ List<DynamicTest> tests = new ArrayList<>();+ for (String name : List.of("english", "multilingual")) {+ Map<String, Object> entry = forCheckpoint(name);+ int maxLen = number(entry.get("default_max_len"));+ int headMaxLen = number(entry.get("default_head_max_len"));+ List<Object> rooms = (List<Object>) entry.get("state_room");+ assertTrue(rooms.size() >= 8, () -> "the state_room table shrank: " + rooms.size());+ Tokenizer tok = open(name);+ for (Object raw : rooms) {+ Map<String, Object> row = (Map<String, Object>) raw;+ int options = number(row.get("options"));+ tests.add(dynamicTest(name + " " + options + " options", () -> {+ Question question = windowQuestion(options);+ assertEquals(number(row.get("room")),+ WindowPlan.stateRoom(tok, question, maxLen, headMaxLen),+ "room at the checkpoint's own budget");+ // A second budget, because `maxLen - headLen - 1` is right for the wrong+ // reason if the head is independently truncated: this one truncates it.+ assertEquals(number(row.get("room_tight")),+ WindowPlan.stateRoom(tok, question, 256, 128),+ "room at max_len=256 head_max_len=128");+ }));+ }+ }+ return tests;+ }++ @TestFactory+ @DisplayName("every window_budget branch matches, warnings and refusals included")+ @SuppressWarnings("unchecked")+ List<DynamicTest> budgetCases() {+ List<DynamicTest> tests = new ArrayList<>();+ int warned = 0;+ int refused = 0;+ for (String name : List.of("english", "multilingual")) {+ Map<String, Object> entry = forCheckpoint(name);+ List<Object> cases = (List<Object>) entry.get("cases");+ assertTrue(cases.size() >= 24, () -> "the case list shrank: " + cases.size());+ Tokenizer tok = open(name);+ for (Object raw : cases) {+ Map<String, Object> one = (Map<String, Object>) raw;+ String label = name + " " + one.get("case");+ List<Object> warningList = (List<Object>) one.get("warnings");+ if (!warningList.isEmpty()) {+ warned++;+ }+ if (one.containsKey("error")) {+ refused++;+ }+ tests.add(dynamicTest(label, () -> {+ List<Question> questions = new ArrayList<>();+ for (Object count : (List<Object>) one.get("options")) {+ questions.add(windowQuestion(number(count)));+ }+ int maxLen = number(one.get("max_len"));+ int headMaxLen = number(one.get("head_max_len"));+ Integer window = optional(one.get("window"));+ Integer stride = optional(one.get("stride"));++ if (one.containsKey("error")) {+ IllegalArgumentException refusal = assertThrows(+ IllegalArgumentException.class,+ () -> WindowPlan.budget(tok, questions, maxLen, headMaxLen,+ window, stride),+ label + " must be refused");+ // The message, not just the type. Both refusals are+ // IllegalArgumentException and they say entirely different things -- one+ // is "your label set is too big for any window", the other is "your+ // stride leaves tokens no window reads" -- so a port that raised the+ // wrong one would be indistinguishable from a correct one.+ assertEquals(one.get("error"), refusal.getMessage(),+ "the refusal must say what the reference says");+ return;+ }++ WindowPlan.Budget got = WindowPlan.budget(tok, questions, maxLen, headMaxLen,+ window, stride);+ Map<String, Object> want = (Map<String, Object>) one.get("result");+ assertEquals(number(want.get("window")), got.window(), label + " window");+ assertEquals(number(want.get("stride")), got.stride(), label + " stride");+ assertEquals(number(want.get("room")), got.room(), label + " room");++ assertEquals(warningList.size(), got.warnings().size(),+ () -> label + " warning count; got " + got.warnings());+ for (int i = 0; i < warningList.size(); i++) {+ assertEquals(warningList.get(i), got.warnings().get(i),+ label + " warning " + i);+ }+ assertEquals(!warningList.isEmpty(), got.clamped(), label + " clamped()");+ }));+ }+ }+ // The branches have to be REACHED, not merely compared. A fixture whose cases stopped+ // clamping would still pass case by case while testing none of the hard parts -- which is+ // exactly what happened when the option counts were literals: they covered every branch on+ // english and zero of the warning branches on multilingual.+ final int warnings = warned;+ final int refusals = refused;+ assertTrue(warnings >= 8,+ () -> "window_budget has three warning branches on two checkpoints and the cases "+ + "reach only " + warnings);+ assertTrue(refusals >= 4,+ () -> "window_budget has two refusals on two checkpoints and the cases reach only "+ + refusals);+ return tests;+ }++ @Test+ @DisplayName("batchCap matches the reference across the whole recorded grid")+ @SuppressWarnings("unchecked")+ void batchCapMatchesTheGrid() {+ List<Object> grid = (List<Object>) family().get("batch_cap");+ assertTrue(grid.size() >= 800, () -> "the grid shrank: " + grid.size());+ int capped = 0;+ for (Object raw : grid) {+ Map<String, Object> one = (Map<String, Object>) raw;+ int nWindows = number(one.get("n_windows"));+ int window = number(one.get("window"));+ int configBudget = number(one.get("config_budget"));+ Integer batchSize = optional(one.get("batch_size"));+ Integer got = WindowPlan.batchCap(nWindows, window, configBudget, batchSize);+ Object want = one.get("cap");+ String label = String.format("n=%d window=%d budget=%d batch=%s",+ nWindows, window, configBudget, batchSize);+ if (want == null) {+ assertNull(got, label + " must be one shared pass");+ } else {+ assertEquals(number(want), got, label);+ if (batchSize == null || batchSize <= 0) {+ capped++;+ }+ }+ }+ // Without this the grid could be all nulls and a port that never capped would pass.+ final int reached = capped;+ assertTrue(reached >= 100,+ () -> "only " + reached + " grid points reach the capping branch, so this cannot "+ + "tell a port that caps from one that returns null every time");+ }++ @Test+ @DisplayName("null arguments are caller errors, not silent defaults")+ void nullArguments() {+ Tokenizer tok = open("english");+ assertThrows(IllegalArgumentException.class,+ () -> WindowPlan.budget(null, List.of(), 512, 192, null, null),+ "a null tokenizer cannot be defaulted");+ assertThrows(IllegalArgumentException.class,+ () -> WindowPlan.budget(tok, null, 512, 192, null, null),+ "a null question list is not the same as no questions; an empty list says that");+ }++ private static int number(Object value) {+ return ((Number) value).intValue();+ }++ /** A recorded {@code null} stays null; the reference treats it, 0 and negatives alike. */+ private static Integer optional(Object value) {+ return value == null ? null : ((Number) value).intValue();+ }+}diff --git a/laya-java/scripts/gen_fixtures.py b/laya-java/scripts/gen_fixtures.pyindex dc247d06..cfb70c72 100644--- a/laya-java/scripts/gen_fixtures.py+++ b/laya-java/scripts/gen_fixtures.py@@ -2411,6 +2411,229 @@ def _mixed_token_scope():return {"spec": spec, "separating_token": mixed, "scope": scope, "cases": cases}++def _window_question(options, words=4, instructions="Pick one."):+ """An internal question dict with a controllable head size.++ `state_room` is `max_len - len(head) - 1`, and the head is the instructions plus one+ `[MASK]`-prefixed span per option -- so the option count is the knob that drives the room down+ and makes every clamping branch of `window_budget` reachable.+ """+ crit = {}+ for i in range(options):+ crit["opt%03d" % i] = " ".join("criterion%d word%d" % (i, w) for w in range(words))+ return {"t": "choice", "ins": instructions, "crit": crit}+++#: (case id, which rooms the questions should leave, kwargs for window_budget).+#:+#: The rooms are named, not counted. `state_room` depends on the tokenizer, so the option count+#: that clamps the default window on one checkpoint does nothing on the other -- english falls to+#: a hard clamp at 100 four-word options and has no room at all by 150, while multilingual still+#: has 414 of room at 150 and only hard-clamps at 200. A list of literal counts covered every+#: branch on english and reached ZERO of the three warning branches on multilingual, which the+#: coverage check at the end of `window_plan` caught. So each case asks for "roomy", "mild" or+#: "hard" and the count is resolved per checkpoint by measurement.+#:+#: The warning TEXT is recorded verbatim rather than counted: it is the only thing that tells a+#: caller why their scan needs 3x the forward passes, and a port that clamped correctly while+#: saying nothing would pass a test that only checked the numbers.+WINDOW_BUDGET_CASES = [+ # No questions at all: nothing to fit, so the caller's window (or the default) stands and the+ # room is reported as that size rather than measured.+ ("no-questions", [], {}),+ ("no-questions-explicit-window", [], {"window": 128}),+ ("no-questions-explicit-stride", [], {"window": 128, "stride": 32}),+ # Plenty of room, so nothing is clamped and the defaults apply.+ ("roomy-default", ["roomy"], {}),+ ("roomy-explicit-window", ["roomy"], {"window": 100}),+ ("roomy-explicit-stride", ["roomy"], {"window": 100, "stride": 25}),+ # stride == window: reads every token, no overlap. Allowed.+ ("stride-equals-window", ["roomy"], {"window": 100, "stride": 100}),+ ("stride-one", ["roomy"], {"window": 100, "stride": 1}),+ # An explicit window wider than the room is clamped, with its own warning.+ ("explicit-window-over-room", ["hard"], {"window": 100000}),+ ("explicit-window-over-room-mild", ["mild"], {"window": 100000}),+ # The DEFAULT window clamped mildly (under 2x) stays silent...+ ("default-clamped-mild", ["mild"], {}),+ # ...and clamped hard (at or past 2x) warns, naming the remedy.+ ("default-clamped-hard", ["hard"], {}),+ # The caller's stride was a 50% step for the window they ASKED for, and the library reduced+ # the window underneath them: that is the library's clamp, so the stride is reduced too.+ ("stride-valid-for-requested-window", ["hard"], {"window": 100000, "stride": 50000}),+ # A stride that overshoots the window the caller asked for is the caller's own mistake.+ ("stride-past-requested-window", ["roomy"], {"window": 100, "stride": 150}),+ ("stride-past-default-window", ["roomy"], {"stride": 100000}),+ # Zero and negative are "unset", not errors: `window if (window and window > 0)`.+ ("window-zero-is-unset", ["roomy"], {"window": 0}),+ ("window-negative-is-unset", ["roomy"], {"window": -5}),+ ("stride-zero-is-unset", ["roomy"], {"window": 100, "stride": 0}),+ ("stride-negative-is-unset", ["roomy"], {"window": 100, "stride": -3}),+ # Several questions: the SMALLEST room decides, because the windows are one list of states+ # scored for every question in shared passes.+ ("smallest-room-decides", ["roomy", "hard"], {}),+ ("smallest-room-decides-reversed", ["hard", "roomy"], {}),+ # The options fill the sequence: no window can carry any state, so this is refused. Forced+ # with an explicit budget rather than an option count, because the count that empties the room+ # differs per checkpoint and on one of them is very large.+ ("no-room-at-all", ["hard"], {"max_len": 220, "head_max_len": 512}),+ ("no-room-at-all-roomy-question", ["roomy"], {"max_len": 8, "head_max_len": 512}),+ # A tiny max_len, where the default window floor of 64 is what binds.+ ("tiny-max-len", ["roomy"], {"max_len": 96, "head_max_len": 32}),+]++++def _pick_option_counts(tok, state_room, max_len, head_max_len):+ """Option counts that leave a roomy, a mildly clamped and a hard-clamped state budget.++ Found by measurement, because `state_room` is a property of the tokenizer: the same question+ leaves 102 state tokens on english and 614 on multilingual, so no literal count reaches the+ same branch on both. Resolving them here is what lets one case list cover every branch of+ `window_budget` on any checkpoint.++ `room` is NOT monotonic in the option count -- 10 options leave 332 tokens on english and 30+ leave 352, because the per-option spans are truncated at different points -- so this scans and+ takes the first count that lands in each band rather than bisecting.+ """+ size = max(64, max_len - head_max_len - 8)+ picked = {}+ # From 2, not 0: a choice question with no options at all is degenerate, and "roomy"+ # should be an ordinary question that simply leaves room.+ for options in range(2, 401, 2):+ room = state_room(tok, _window_question(options), max_len, head_max_len)+ if room <= 0:+ break+ if "roomy" not in picked and room >= size:+ picked["roomy"] = options+ elif "hard" not in picked and size >= room * 2:+ picked["hard"] = options+ elif "mild" not in picked and size > room:+ picked["mild"] = options+ if len(picked) == 3:+ break+ missing = {"roomy", "mild", "hard"} - set(picked)+ if missing:+ raise AssertionError(+ "no option count up to 400 leaves a %s state budget at max_len=%d head_max_len=%d,"+ " so the window_budget cases cannot cover every branch on this checkpoint"+ % ("/".join(sorted(missing)), max_len, head_max_len))+ return picked++def window_plan():+ """`state_room`, `window_budget` and `window_batch_cap`: how a long-state scan is sized.++ `predict_long` decodes each token window back to text and scores it as an ordinary state, so a+ window wider than the room the questions leave is re-truncated on the way in -- the tail of+ every window reaches no model while the reported span says it did. These three functions are+ what stops that, and every one of their branches is a decision a caller cannot see: the window+ they asked for may be reduced, their stride may be reduced with it, and the number of forward+ passes may change by 3x as a result.++ So the WARNINGS are recorded verbatim, not counted. They are the only thing that tells a+ caller why a scan got slower, and a port that clamped correctly but said nothing would pass a+ test that only checked the numbers.+ """+ import io+ import os+ import warnings++ from laya.common import state_room, window_batch_cap, window_budget++ rig = os.environ.get("LAYA_FIXTURE_CHECKPOINTS", DEFAULT_CHECKPOINT_ROOT)++ out = {"by": {}, "batch_cap": _window_batch_cap_cases(window_batch_cap)}+ for name in ("english", "multilingual"):+ root = os.path.join(rig, name)+ directory = os.path.join(root, "tokenizer")+ if not os.path.isfile(os.path.join(directory, "tokenizer.json")):+ out["by"][name] = {"skipped": "no tokenizer/ under %s" % root}+ continue+ from transformers import AutoTokenizer++ tok = AutoTokenizer.from_pretrained(directory)+ cfg = json.load(io.open(os.path.join(root, "rl_agent_config.json"), encoding="utf-8"))+ default_max = cfg.get("max_len", 512)+ default_head = cfg.get("head_max_len", 192)++ rooms = []+ # From 1. A choice question with zero options is expressible as an internal dict here --+ # `crit: {}` -- but not through a typed API that validates its arguments, and it pins+ # nothing about `state_room` that one option does not. Recording it only produced a row no+ # port could build.+ for options in (1, 2, 5, 20, 40, 60, 100, 150):+ q = _window_question(options)+ rooms.append({+ "options": options,+ "room": state_room(tok, q, default_max, default_head),+ "room_tight": state_room(tok, q, 256, 128),+ })++ picked = _pick_option_counts(tok, state_room, default_max, default_head)++ cases = []+ for cid, wanted, kwargs in WINDOW_BUDGET_CASES:+ questions = [_window_question(picked[w]) for w in wanted]+ option_counts = [picked[w] for w in wanted]+ max_len = kwargs.get("max_len", default_max)+ head_max_len = kwargs.get("head_max_len", default_head)+ record = {"case": cid, "rooms": list(wanted), "options": list(option_counts),+ "max_len": max_len, "head_max_len": head_max_len,+ "window": kwargs.get("window"), "stride": kwargs.get("stride")}+ with warnings.catch_warnings(record=True) as caught:+ warnings.simplefilter("always")+ try:+ size, step, room = window_budget(+ tok, questions, max_len, head_max_len,+ window=kwargs.get("window"), stride=kwargs.get("stride"))+ record["result"] = {"window": size, "stride": step, "room": room}+ except ValueError as refused:+ record["error"] = str(refused)+ record["warnings"] = [str(w.message) for w in caught]+ cases.append(record)+ out["by"][name] = {"default_max_len": default_max, "default_head_max_len": default_head,+ "state_room": rooms, "option_counts": picked, "cases": cases}++ # Every branch must actually be reached. A case list that stopped producing warnings or+ # refusals would still look healthy case by case.+ for name, entry in out["by"].items():+ if "skipped" in entry:+ continue+ warned = sum(1 for c in entry["cases"] if c["warnings"])+ refused = sum(1 for c in entry["cases"] if "error" in c)+ if warned < 4 or refused < 2:+ raise AssertionError(+ "the %s cases reach %d warning(s) and %d refusal(s); window_budget has three"+ " warning branches and two refusals, so the case list has stopped covering them"+ % (name, warned, refused))+ return out+++def _window_batch_cap_cases(window_batch_cap):+ """`window_batch_cap` over a grid. Pure arithmetic, so this sweeps rather than samples.++ The function exists because capping the window multiplies the window count on exactly the+ inputs it targets, and `predict_batch(batch_size=None)` would then put every window in one+ forward pass. It caps only past a 2x blow-up, so the grid has to straddle that threshold --+ a sample that missed it would pass against a port that always capped, or never did.+ """+ cases = []+ for n_windows in (1, 2, 3, 5, 11, 29, 36, 100, 413):+ for window in (23, 43, 64, 102, 312, 504):+ for budget in (64, 312, 504):+ for batch in (None, 0, -1, 1, 8):+ cases.append({+ "n_windows": n_windows, "window": window, "config_budget": budget,+ "batch_size": batch,+ "cap": window_batch_cap(n_windows, window, budget, batch),+ })+ capped = sum(1 for c in cases if c["cap"] is not None and not c["batch_size"])+ if capped == 0:+ raise AssertionError(+ "no grid point reached the capping branch, so these cases cannot tell a port that"+ " caps from one that returns None every time")+ return cases+def _decoder_shape(tokenizer_json):"""The decoder section's type chain, flattened, so the fixture says what it was recorded on."""import io@@ -2432,6 +2655,7 @@ def _decoder_shape(tokenizer_json):FAMILIES = {+ "window_plan.json": window_plan,"lang_tables.json": lang_tables,"lang_detect.json": lang_detect,"presets.json": presets,