# Generators for BAPCtools. Not used in the verifyproblem-compatible repo, but retained # for development -- in particular for output validator checks solution: /submissions/accepted/thore.py visualizer: /visualizers/viz version: 2025-02 # use this version of the generators framework data: sample: data: - '': &sample1 in: | 3 250 350 178 32 200 60 297 50 ans: | upright 1 stacked 3 2 - '': &sample2 in: | 2 300 300 290 60 290 60 ans: impossible secret: data: small: data: - many: in: | 3 300 300 150 10 150 10 150 10 - random-possible-sm: generate: gen_random.py -N 20 --h_hi 150 -H 300 -W 300 --tries 375 --seed {seed} --solution possible count: 5 - random-impossible-sm: generate: gen_random.py -N 20 -W 300 -H 130 --seed {seed} --solution impossible ans: impossible count: 5 - random-unique-sm: generate: gen_random.py -N 20 -W 300 -H 130 --seed {seed} --solution unique count: 5 large: data: - random: generate: gen_random.py -N 70 --h_hi 350 -H 350 -W 350 --seed {seed} count: 5 - random-impossible: generate: gen_random.py -N 100 --h_hi 350 -W 425 --seed {seed} --solution impossible ans: impossible count: 5 - random-possible: generate: gen_random.py -N 100 --h_hi 350 -W 425 --seed {seed} --solution possible count: 5 - random-unique: generate: gen_random.py -N 100 --h_hi 350 -W 425 --seed {seed} --solution unique count: 5 - random-many: generate: gen_random.py --seed {seed} --solution many count: 5 - bespoke: in: | 11 350 700 350 60 350 60 350 60 350 60 350 60 400 60 400 60 400 60 400 60 400 60 400 50 - width: &width in: | 2 350 300 290 5 290 11 ans: | upright 1 stacked 2 - foo: validatorgenerator --generate 0 - min: validatorgenerator -N min -hi min --generate 0 - maxN: validatorgenerator -N max --generate 0 - maxNWH: validatorgenerator -N max -W max -H max --generate 0 - minNWH: validatorgenerator -N max -W min -H min --generate 0 - maxNWHthin: validatorgenerator -N max -W max -H max -ti min --generate 0 - full-240: full.py --seed 0 --basewidth 240 - full-241: full.py --seed 0 --basewidth 241 - full-242: full.py --seed 0 --basewidth 242 - full-243: full.py --seed 0 --basewidth 243 - full-244: full.py --seed 0 --basewidth 244 - full-245: full.py --seed 0 --basewidth 245 - thin: generate: validatorgenerator -N max -W max -H max -ti 5..10 --generate {seed} count: 1 - med: generate: validatorgenerator -N max -W max -H max -ti 5..12 --generate {seed} count: 1 - tight-600: generate: tight.py -W 600 -H 350 --seed {seed} --basewidth 240 count: 5 - tight-900: generate: tight.py -W 900 -H 350 --seed {seed} --basewidth 240 count: 5 invalid_input: visualizer: null data: doesnt_fit: desc: The second book doesn't fit no matter which way I turn it in: | 2 300 300 320 10 250 10 invalid_answer: data: speling: <<: *sample1 ans: | upright 1 3 stocked 2 order: <<: *sample1 ans: | stacked 2 upright 1 3 too_few_indices: <<: *sample1 ans: | upright 1 stacked 2 index_out_of_bounds: <<: *sample1 ans: | upright 1 4 stacked 2 too_many_indices: <<: *sample1 ans: | upright 1 3 stacked 2 3 duplicate_index: <<: *sample1 ans: | upright 1 3 stacked 3 spam: <<: *sample1 ans: | upright 1 3 stacked 2 spam extra-int: <<: *sample1 ans: | upright 1 3 stacked 2 42 invalid_output: data: unsorted_stack: <<: *sample1 out: | upright 1 stacked 2 3 too_tall: <<: *sample1 out: | upright 1 3 stacked 2 too_wide: <<: *width out: | upright 2 stacked 1 valid_output: data: whitespace-agnostic-oneline: <<: *sample1 out: | upright 1 stacked 3 2 whitespace-agnostic-separate: <<: *sample1 out: | upright 1 stacked 3 2 whitespace-agnostic-intra: <<: *sample1 out: | upright 1 stacked 3 2 case-agnostic-yes: <<: *sample1 out: | uPrIgHt 1 sTaCkEd 3 2 whitespace-agnostic-impossible: <<: *sample2 out: " impossible " case-agnostic-impossible: <<: *sample2 out: ImpoSSible