 (plot/histogram (repeatedly 1000 #(sample* (categorical (vec (empirical-distribution (collect-results csis-states)))))) :normalize :probability-density :bins 100)
 ;; @@
 ;; =>
-;;; {"type":"vega","content":{"width":400,"height":247.2187957763672,"padding":{"top":10,"left":55,"bottom":40,"right":10},"data":[{"name":"4e49c4e7-ddfe-4312-bb3f-c1f3600f07ba","values":[{"x":-5.252033598226039,"y":0},{"x":-4.784000964637192,"y":0.01281961890988744},{"x":-4.315968331048345,"y":0.0},{"x":-3.8479356974594983,"y":0.0},{"x":-3.3799030638706515,"y":0.0},{"x":-2.911870430281805,"y":0.0},{"x":-2.443837796692958,"y":0.0},{"x":-1.9758051631041114,"y":0.0},{"x":-1.5077725295152646,"y":0.0},{"x":-1.039739895926418,"y":0.0},{"x":-0.5717072623375711,"y":0.0},{"x":-0.10367462874872424,"y":0.008546412606591626},{"x":0.3643580048401226,"y":0.0},{"x":0.8323906384289694,"y":0.0},{"x":1.3004232720178162,"y":0.16879164898018462},{"x":1.7684559056066629,"y":0.004273206303295813},{"x":2.2364885391955096,"y":0.0},{"x":2.7045211727843563,"y":0.057688285094493474},{"x":3.172553806373203,"y":0.28416821916917157},{"x":3.64058643996205,"y":0.15810863322194507},{"x":4.108619073550897,"y":0.0},{"x":4.576651707139744,"y":0.01281961890988744},{"x":5.044684340728591,"y":0.0},{"x":5.5127169743174385,"y":0.019229428364831158},{"x":5.980749607906286,"y":0.20725050570984693},{"x":6.448782241495133,"y":0.0},{"x":6.91681487508398,"y":0.0341856504263665},{"x":7.384847508672827,"y":0.0},{"x":7.852880142261674,"y":0.0662346977010851},{"x":8.320912775850521,"y":0.0021366031516479064},{"x":8.788945409439368,"y":0.14528901431205762},{"x":9.256978043028214,"y":0.0},{"x":9.72501067661706,"y":0.8610510701141063},{"x":10.193043310205907,"y":0.047005269336253944},{"x":10.661075943794753,"y":0.02563923781977488},{"x":11.1291085773836,"y":0.0},{"x":11.597141210972445,"y":0.0},{"x":12.065173844561292,"y":0.0021366031516479064},{"x":12.533206478150138,"y":0.0},{"x":13.001239111738984,"y":0.0},{"x":13.46927174532783,"y":0.0},{"x":13.937304378916677,"y":0.0},{"x":14.405337012505523,"y":0.0},{"x":14.87336964609437,"y":0.0},{"x":15.341402279683216,"y":0.0},{"x":15.809434913272062,"y":0.0},{"x":16.27746754686091,"y":0.0},{"x":16.745500180449756,"y":0.0},{"x":17.213532814038604,"y":0.0},{"x":17.681565447627452,"y":0.0},{"x":18.1495980812163,"y":0.00640980945494372},{"x":18.61763071480515,"y":0.0},{"x":19.085663348393997,"y":0.0},{"x":19.553695981982845,"y":0.0},{"x":20.021728615571693,"y":0.0},{"x":20.48976124916054,"y":0.0},{"x":20.95779388274939,"y":0.0},{"x":21.425826516338237,"y":0.0},{"x":21.893859149927085,"y":0.0},{"x":22.361891783515933,"y":0.0},{"x":22.82992441710478,"y":0.0},{"x":23.29795705069363,"y":0.0},{"x":23.765989684282477,"y":0.0},{"x":24.234022317871325,"y":0.0},{"x":24.702054951460173,"y":0.0},{"x":25.17008758504902,"y":0.0},{"x":25.63812021863787,"y":0.0},{"x":26.106152852226717,"y":0.0},{"x":26.574185485815565,"y":0.0},{"x":27.042218119404414,"y":0.0},{"x":27.51025075299326,"y":0.0},{"x":27.97828338658211,"y":0.0},{"x":28.446316020170958,"y":0.0},{"x":28.914348653759806,"y":0.0},{"x":29.382381287348654,"y":0.0},{"x":29.850413920937502,"y":0.0},{"x":30.31844655452635,"y":0.0},{"x":30.786479188115198,"y":0.0},{"x":31.254511821704046,"y":0.0},{"x":31.722544455292894,"y":0.0},{"x":32.19057708888174,"y":0.0},{"x":32.65860972247059,"y":0.0},{"x":33.126642356059435,"y":0.0},{"x":33.59467498964828,"y":0.0},{"x":34.06270762323713,"y":0.0},{"x":34.53074025682598,"y":0.0},{"x":34.99877289041483,"y":0.0},{"x":35.466805524003675,"y":0.0},{"x":35.93483815759252,"y":0.0},{"x":36.40287079118137,"y":0.0},{"x":36.87090342477022,"y":0.0},{"x":37.33893605835907,"y":0.0},{"x":37.806968691947915,"y":0.0},{"x":38.27500132553676,"y":0.0},{"x":38.74303395912561,"y":0.0},{"x":39.21106659271446,"y":0.0},{"x":39.67909922630331,"y":0.0},{"x":40.147131859892156,"y":0.0},{"x":40.615164493481004,"y":0.0},{"x":41.08319712706985,"y":0.0},{"x":41.5512297606587,"y":0.01281961890988744},{"x":42.01926239424755,"y":0}]}],"marks":[{"type":"line","from":{"data":"4e49c4e7-ddfe-4312-bb3f-c1f3600f07ba"},"properties":{"enter":{"x":{"scale":"x","field":"data.x"},"y":{"scale":"y","field":"data.y"},"interpolate":{"value":"step-before"},"fill":{"value":"steelblue"},"fillOpacity":{"value":0.4},"stroke":{"value":"steelblue"},"strokeWidth":{"value":2},"strokeOpacity":{"value":1}}}}],"scales":[{"name":"x","type":"linear","range":"width","zero":false,"domain":{"data":"4e49c4e7-ddfe-4312-bb3f-c1f3600f07ba","field":"data.x"}},{"name":"y","type":"linear","range":"height","nice":true,"zero":false,"domain":{"data":"4e49c4e7-ddfe-4312-bb3f-c1f3600f07ba","field":"data.y"}}],"axes":[{"type":"x","scale":"x"},{"type":"y","scale":"y"}]},"value":"#gorilla_repl.vega.VegaView{:content {:width 400, :height 247.2188, :padding {:top 10, :left 55, :bottom 40, :right 10}, :data [{:name \"4e49c4e7-ddfe-4312-bb3f-c1f3600f07ba\", :values ({:x -5.252033598226039, :y 0} {:x -4.784000964637192, :y 0.01281961890988744} {:x -4.315968331048345, :y 0.0} {:x -3.8479356974594983, :y 0.0} {:x -3.3799030638706515, :y 0.0} {:x -2.911870430281805, :y 0.0} {:x -2.443837796692958, :y 0.0} {:x -1.9758051631041114, :y 0.0} {:x -1.5077725295152646, :y 0.0} {:x -1.039739895926418, :y 0.0} {:x -0.5717072623375711, :y 0.0} {:x -0.10367462874872424, :y 0.008546412606591626} {:x 0.3643580048401226, :y 0.0} {:x 0.8323906384289694, :y 0.0} {:x 1.3004232720178162, :y 0.16879164898018462} {:x 1.7684559056066629, :y 0.004273206303295813} {:x 2.2364885391955096, :y 0.0} {:x 2.7045211727843563, :y 0.057688285094493474} {:x 3.172553806373203, :y 0.28416821916917157} {:x 3.64058643996205, :y 0.15810863322194507} {:x 4.108619073550897, :y 0.0} {:x 4.576651707139744, :y 0.01281961890988744} {:x 5.044684340728591, :y 0.0} {:x 5.5127169743174385, :y 0.019229428364831158} {:x 5.980749607906286, :y 0.20725050570984693} {:x 6.448782241495133, :y 0.0} {:x 6.91681487508398, :y 0.0341856504263665} {:x 7.384847508672827, :y 0.0} {:x 7.852880142261674, :y 0.0662346977010851} {:x 8.320912775850521, :y 0.0021366031516479064} {:x 8.788945409439368, :y 0.14528901431205762} {:x 9.256978043028214, :y 0.0} {:x 9.72501067661706, :y 0.8610510701141063} {:x 10.193043310205907, :y 0.047005269336253944} {:x 10.661075943794753, :y 0.02563923781977488} {:x 11.1291085773836, :y 0.0} {:x 11.597141210972445, :y 0.0} {:x 12.065173844561292, :y 0.0021366031516479064} {:x 12.533206478150138, :y 0.0} {:x 13.001239111738984, :y 0.0} {:x 13.46927174532783, :y 0.0} {:x 13.937304378916677, :y 0.0} {:x 14.405337012505523, :y 0.0} {:x 14.87336964609437, :y 0.0} {:x 15.341402279683216, :y 0.0} {:x 15.809434913272062, :y 0.0} {:x 16.27746754686091, :y 0.0} {:x 16.745500180449756, :y 0.0} {:x 17.213532814038604, :y 0.0} {:x 17.681565447627452, :y 0.0} {:x 18.1495980812163, :y 0.00640980945494372} {:x 18.61763071480515, :y 0.0} {:x 19.085663348393997, :y 0.0} {:x 19.553695981982845, :y 0.0} {:x 20.021728615571693, :y 0.0} {:x 20.48976124916054, :y 0.0} {:x 20.95779388274939, :y 0.0} {:x 21.425826516338237, :y 0.0} {:x 21.893859149927085, :y 0.0} {:x 22.361891783515933, :y 0.0} {:x 22.82992441710478, :y 0.0} {:x 23.29795705069363, :y 0.0} {:x 23.765989684282477, :y 0.0} {:x 24.234022317871325, :y 0.0} {:x 24.702054951460173, :y 0.0} {:x 25.17008758504902, :y 0.0} {:x 25.63812021863787, :y 0.0} {:x 26.106152852226717, :y 0.0} {:x 26.574185485815565, :y 0.0} {:x 27.042218119404414, :y 0.0} {:x 27.51025075299326, :y 0.0} {:x 27.97828338658211, :y 0.0} {:x 28.446316020170958, :y 0.0} {:x 28.914348653759806, :y 0.0} {:x 29.382381287348654, :y 0.0} {:x 29.850413920937502, :y 0.0} {:x 30.31844655452635, :y 0.0} {:x 30.786479188115198, :y 0.0} {:x 31.254511821704046, :y 0.0} {:x 31.722544455292894, :y 0.0} {:x 32.19057708888174, :y 0.0} {:x 32.65860972247059, :y 0.0} {:x 33.126642356059435, :y 0.0} {:x 33.59467498964828, :y 0.0} {:x 34.06270762323713, :y 0.0} {:x 34.53074025682598, :y 0.0} {:x 34.99877289041483, :y 0.0} {:x 35.466805524003675, :y 0.0} {:x 35.93483815759252, :y 0.0} {:x 36.40287079118137, :y 0.0} {:x 36.87090342477022, :y 0.0} {:x 37.33893605835907, :y 0.0} {:x 37.806968691947915, :y 0.0} {:x 38.27500132553676, :y 0.0} {:x 38.74303395912561, :y 0.0} {:x 39.21106659271446, :y 0.0} {:x 39.67909922630331, :y 0.0} {:x 40.147131859892156, :y 0.0} {:x 40.615164493481004, :y 0.0} {:x 41.08319712706985, :y 0.0} {:x 41.5512297606587, :y 0.01281961890988744} {:x 42.01926239424755, :y 0})}], :marks [{:type \"line\", :from {:data \"4e49c4e7-ddfe-4312-bb3f-c1f3600f07ba\"}, :properties {:enter {:x {:scale \"x\", :field \"data.x\"}, :y {:scale \"y\", :field \"data.y\"}, :interpolate {:value \"step-before\"}, :fill {:value \"steelblue\"}, :fillOpacity {:value 0.4}, :stroke {:value \"steelblue\"}, :strokeWidth {:value 2}, :strokeOpacity {:value 1}}}}], :scales [{:name \"x\", :type \"linear\", :range \"width\", :zero false, :domain {:data \"4e49c4e7-ddfe-4312-bb3f-c1f3600f07ba\", :field \"data.x\"}} {:name \"y\", :type \"linear\", :range \"height\", :nice true, :zero false, :domain {:data \"4e49c4e7-ddfe-4312-bb3f-c1f3600f07ba\", :field \"data.y\"}}], :axes [{:type \"x\", :scale \"x\"} {:type \"y\", :scale \"y\"}]}}"}
+;;; {"type":"vega","content":{"width":400,"height":247.2187957763672,"padding":{"top":10,"left":55,"bottom":40,"right":10},"data":[{"name":"7b541753-575e-4066-8394-01e0d7f57a07","values":[{"x":-6.091766463363983,"y":0},{"x":-5.701772775884024,"y":0.01025657626882884},{"x":-5.311779088404064,"y":0.0},{"x":-4.921785400924104,"y":0.0},{"x":-4.531791713444145,"y":0.0},{"x":-4.141798025964185,"y":0.0},{"x":-3.751804338484226,"y":0.0},{"x":-3.3618106510042667,"y":0.0},{"x":-2.9718169635243075,"y":0.0},{"x":-2.5818232760443482,"y":0.0},{"x":-2.191829588564389,"y":0.0},{"x":-1.8018359010844298,"y":0.0},{"x":-1.4118422136044706,"y":0.0},{"x":-1.0218485261245114,"y":0.0},{"x":-0.6318548386445522,"y":0.0},{"x":-0.24186115116459295,"y":0.0},{"x":0.14813253631536627,"y":0.0},{"x":0.5381262237953255,"y":0.0},{"x":0.9281199112752847,"y":0.0},{"x":1.318113598755244,"y":0.0},{"x":1.7081072862352031,"y":0.0},{"x":2.0981009737151624,"y":0.0},{"x":2.4880946611951216,"y":0.7897563726998206},{"x":2.878088348675081,"y":0.0},{"x":3.26808203615504,"y":0.0},{"x":3.658075723634999,"y":0.0},{"x":4.048069411114959,"y":0.0},{"x":4.4380630985949185,"y":0.0},{"x":4.828056786074878,"y":0.02051315253765768},{"x":5.218050473554838,"y":0.0},{"x":5.6080441610347975,"y":0.0},{"x":5.998037848514757,"y":0.015384864403243258},{"x":6.388031535994717,"y":0.0},{"x":6.7780252234746765,"y":0.0},{"x":7.168018910954636,"y":0.0},{"x":7.558012598434596,"y":0.0},{"x":7.9480062859145555,"y":0.0},{"x":8.337999973394515,"y":1.2333532963266678},{"x":8.727993660874475,"y":0.0},{"x":9.117987348354434,"y":0.0},{"x":9.507981035834394,"y":0.0},{"x":9.897974723314354,"y":0.0},{"x":10.287968410794313,"y":0.0},{"x":10.677962098274273,"y":0.4230837710891896},{"x":11.067955785754233,"y":0.0},{"x":11.457949473234192,"y":0.0},{"x":11.847943160714152,"y":0.0},{"x":12.237936848194112,"y":0.0},{"x":12.627930535674071,"y":0.02051315253765768},{"x":13.017924223154031,"y":0.0},{"x":13.40791791063399,"y":0.0},{"x":13.79791159811395,"y":0.0},{"x":14.18790528559391,"y":0.0},{"x":14.57789897307387,"y":0.025641440672072097},{"x":14.96789266055383,"y":0.0},{"x":15.357886348033789,"y":0.0},{"x":15.747880035513749,"y":0.0},{"x":16.137873722993707,"y":0.0},{"x":16.527867410473664,"y":0.0},{"x":16.917861097953622,"y":0.0},{"x":17.30785478543358,"y":0.0},{"x":17.697848472913538,"y":0.0},{"x":18.087842160393496,"y":0.0},{"x":18.477835847873454,"y":0.0},{"x":18.867829535353412,"y":0.0},{"x":19.25782322283337,"y":0.0},{"x":19.647816910313328,"y":0.0},{"x":20.037810597793285,"y":0.0},{"x":20.427804285273243,"y":0.0},{"x":20.8177979727532,"y":0.0},{"x":21.20779166023316,"y":0.012820720336036049},{"x":21.597785347713117,"y":0.0},{"x":21.987779035193075,"y":0.0},{"x":22.377772722673033,"y":0.0},{"x":22.76776641015299,"y":0.0},{"x":23.15776009763295,"y":0.0},{"x":23.547753785112906,"y":0.0},{"x":23.937747472592864,"y":0.0},{"x":24.327741160072822,"y":0.0},{"x":24.71773484755278,"y":0.0},{"x":25.107728535032738,"y":0.0},{"x":25.497722222512696,"y":0.0},{"x":25.887715909992654,"y":0.0},{"x":26.27770959747261,"y":0.0},{"x":26.66770328495257,"y":0.0},{"x":27.057696972432527,"y":0.0},{"x":27.447690659912485,"y":0.0},{"x":27.837684347392443,"y":0.0},{"x":28.2276780348724,"y":0.0},{"x":28.61767172235236,"y":0.0},{"x":29.007665409832317,"y":0.0},{"x":29.397659097312275,"y":0.0},{"x":29.787652784792233,"y":0.0},{"x":30.17764647227219,"y":0.0},{"x":30.56764015975215,"y":0.0},{"x":30.957633847232106,"y":0.0},{"x":31.347627534712064,"y":0.0},{"x":31.737621222192022,"y":0.0},{"x":32.12761490967198,"y":0.0},{"x":32.51760859715194,"y":0.0},{"x":32.9076022846319,"y":0.0},{"x":33.29759597211186,"y":0.012820720336036049},{"x":33.687589659591815,"y":0}]}],"marks":[{"type":"line","from":{"data":"7b541753-575e-4066-8394-01e0d7f57a07"},"properties":{"enter":{"x":{"scale":"x","field":"data.x"},"y":{"scale":"y","field":"data.y"},"interpolate":{"value":"step-before"},"fill":{"value":"steelblue"},"fillOpacity":{"value":0.4},"stroke":{"value":"steelblue"},"strokeWidth":{"value":2},"strokeOpacity":{"value":1}}}}],"scales":[{"name":"x","type":"linear","range":"width","zero":false,"domain":{"data":"7b541753-575e-4066-8394-01e0d7f57a07","field":"data.x"}},{"name":"y","type":"linear","range":"height","nice":true,"zero":false,"domain":{"data":"7b541753-575e-4066-8394-01e0d7f57a07","field":"data.y"}}],"axes":[{"type":"x","scale":"x"},{"type":"y","scale":"y"}]},"value":"#gorilla_repl.vega.VegaView{:content {:width 400, :height 247.2188, :padding {:top 10, :left 55, :bottom 40, :right 10}, :data [{:name \"7b541753-575e-4066-8394-01e0d7f57a07\", :values ({:x -6.091766463363983, :y 0} {:x -5.701772775884024, :y 0.01025657626882884} {:x -5.311779088404064, :y 0.0} {:x -4.921785400924104, :y 0.0} {:x -4.531791713444145, :y 0.0} {:x -4.141798025964185, :y 0.0} {:x -3.751804338484226, :y 0.0} {:x -3.3618106510042667, :y 0.0} {:x -2.9718169635243075, :y 0.0} {:x -2.5818232760443482, :y 0.0} {:x -2.191829588564389, :y 0.0} {:x -1.8018359010844298, :y 0.0} {:x -1.4118422136044706, :y 0.0} {:x -1.0218485261245114, :y 0.0} {:x -0.6318548386445522, :y 0.0} {:x -0.24186115116459295, :y 0.0} {:x 0.14813253631536627, :y 0.0} {:x 0.5381262237953255, :y 0.0} {:x 0.9281199112752847, :y 0.0} {:x 1.318113598755244, :y 0.0} {:x 1.7081072862352031, :y 0.0} {:x 2.0981009737151624, :y 0.0} {:x 2.4880946611951216, :y 0.7897563726998206} {:x 2.878088348675081, :y 0.0} {:x 3.26808203615504, :y 0.0} {:x 3.658075723634999, :y 0.0} {:x 4.048069411114959, :y 0.0} {:x 4.4380630985949185, :y 0.0} {:x 4.828056786074878, :y 0.02051315253765768} {:x 5.218050473554838, :y 0.0} {:x 5.6080441610347975, :y 0.0} {:x 5.998037848514757, :y 0.015384864403243258} {:x 6.388031535994717, :y 0.0} {:x 6.7780252234746765, :y 0.0} {:x 7.168018910954636, :y 0.0} {:x 7.558012598434596, :y 0.0} {:x 7.9480062859145555, :y 0.0} {:x 8.337999973394515, :y 1.2333532963266678} {:x 8.727993660874475, :y 0.0} {:x 9.117987348354434, :y 0.0} {:x 9.507981035834394, :y 0.0} {:x 9.897974723314354, :y 0.0} {:x 10.287968410794313, :y 0.0} {:x 10.677962098274273, :y 0.4230837710891896} {:x 11.067955785754233, :y 0.0} {:x 11.457949473234192, :y 0.0} {:x 11.847943160714152, :y 0.0} {:x 12.237936848194112, :y 0.0} {:x 12.627930535674071, :y 0.02051315253765768} {:x 13.017924223154031, :y 0.0} {:x 13.40791791063399, :y 0.0} {:x 13.79791159811395, :y 0.0} {:x 14.18790528559391, :y 0.0} {:x 14.57789897307387, :y 0.025641440672072097} {:x 14.96789266055383, :y 0.0} {:x 15.357886348033789, :y 0.0} {:x 15.747880035513749, :y 0.0} {:x 16.137873722993707, :y 0.0} {:x 16.527867410473664, :y 0.0} {:x 16.917861097953622, :y 0.0} {:x 17.30785478543358, :y 0.0} {:x 17.697848472913538, :y 0.0} {:x 18.087842160393496, :y 0.0} {:x 18.477835847873454, :y 0.0} {:x 18.867829535353412, :y 0.0} {:x 19.25782322283337, :y 0.0} {:x 19.647816910313328, :y 0.0} {:x 20.037810597793285, :y 0.0} {:x 20.427804285273243, :y 0.0} {:x 20.8177979727532, :y 0.0} {:x 21.20779166023316, :y 0.012820720336036049} {:x 21.597785347713117, :y 0.0} {:x 21.987779035193075, :y 0.0} {:x 22.377772722673033, :y 0.0} {:x 22.76776641015299, :y 0.0} {:x 23.15776009763295, :y 0.0} {:x 23.547753785112906, :y 0.0} {:x 23.937747472592864, :y 0.0} {:x 24.327741160072822, :y 0.0} {:x 24.71773484755278, :y 0.0} {:x 25.107728535032738, :y 0.0} {:x 25.497722222512696, :y 0.0} {:x 25.887715909992654, :y 0.0} {:x 26.27770959747261, :y 0.0} {:x 26.66770328495257, :y 0.0} {:x 27.057696972432527, :y 0.0} {:x 27.447690659912485, :y 0.0} {:x 27.837684347392443, :y 0.0} {:x 28.2276780348724, :y 0.0} {:x 28.61767172235236, :y 0.0} {:x 29.007665409832317, :y 0.0} {:x 29.397659097312275, :y 0.0} {:x 29.787652784792233, :y 0.0} {:x 30.17764647227219, :y 0.0} {:x 30.56764015975215, :y 0.0} {:x 30.957633847232106, :y 0.0} {:x 31.347627534712064, :y 0.0} {:x 31.737621222192022, :y 0.0} {:x 32.12761490967198, :y 0.0} {:x 32.51760859715194, :y 0.0} {:x 32.9076022846319, :y 0.0} {:x 33.29759597211186, :y 0.012820720336036049} {:x 33.687589659591815, :y 0})}], :marks [{:type \"line\", :from {:data \"7b541753-575e-4066-8394-01e0d7f57a07\"}, :properties {:enter {:x {:scale \"x\", :field \"data.x\"}, :y {:scale \"y\", :field \"data.y\"}, :interpolate {:value \"step-before\"}, :fill {:value \"steelblue\"}, :fillOpacity {:value 0.4}, :stroke {:value \"steelblue\"}, :strokeWidth {:value 2}, :strokeOpacity {:value 1}}}}], :scales [{:name \"x\", :type \"linear\", :range \"width\", :zero false, :domain {:data \"7b541753-575e-4066-8394-01e0d7f57a07\", :field \"data.x\"}} {:name \"y\", :type \"linear\", :range \"height\", :nice true, :zero false, :domain {:data \"7b541753-575e-4066-8394-01e0d7f57a07\", :field \"data.y\"}}], :axes [{:type \"x\", :scale \"x\"} {:type \"y\", :scale \"y\"}]}}"}
 ;; <=
 
 ;; **

(sample-samples-from-prior dirichlet-process-mixture-stick-breaking [(repeat 8 nil)])
;; @@
;; =>
;;; {"type":"list-like","open":"<span class='clj-vector'>[</span>","close":"<span class='clj-vector'>]</span>","separator":" ","items":[{"type":"list-like","open":"<span class='clj-map'>{</span>","close":"<span class='clj-map'>}</span>","separator":", ","items":[{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:time-index</span>","value":":time-index"},{"type":"html","content":"<span class='clj-unkown'>0</span>","value":"0"}],"value":"[:time-index 0]"},{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:sample-address</span>","value":":sample-address"},{"type":"html","content":"<span class='clj-string'>&quot;S65&quot;</span>","value":"\"S65\""}],"value":"[:sample-address \"S65\"]"},{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:sample-instance</span>","value":":sample-instance"},{"type":"html","content":"<span class='clj-unkown'>0</span>","value":"0"}],"value":"[:sample-instance 0]"},{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:distribution</span>","value":":distribution"},{"type":"html","content":"<span class='clj-unkown'>#object[anglican.infcomp.flatbuffers.gamma.GammaClj 0xb675c66 &quot;anglican.infcomp.flatbuffers.gamma.GammaClj@b675c66&quot;]</span>","value":"#object[anglican.infcomp.flatbuffers.gamma.GammaClj 0xb675c66 \"anglican.infcomp.flatbuffers.gamma.GammaClj@b675c66\"]"}],"value":"[:distribution #object[anglican.infcomp.flatbuffers.gamma.GammaClj 0xb675c66 \"anglican.infcomp.flatbuffers.gamma.GammaClj@b675c66\"]]"},{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:value</span>","value":":value"},{"type":"html","content":"<span class='clj-double'>0.012809161048585567</span>","value":"0.012809161048585567"}],"value":"[:value 0.012809161048585567]"}],"value":"{:time-index 0, :sample-address \"S65\", :sample-instance 0, :distribution #object[anglican.infcomp.flatbuffers.gamma.GammaClj 0xb675c66 \"anglican.infcomp.flatbuffers.gamma.GammaClj@b675c66\"], :value 0.012809161048585567}"},{"type":"list-like","open":"<span class='clj-map'>{</span>","close":"<span class='clj-map'>}</span>","separator":", ","items":[{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:time-index</span>","value":":time-index"},{"type":"html","content":"<span class='clj-unkown'>1</span>","value":"1"}],"value":"[:time-index 1]"},{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:sample-address</span>","value":":sample-address"},{"type":"html","content":"<span class='clj-string'>&quot;S61&quot;</span>","value":"\"S61\""}],"value":"[:sample-address \"S61\"]"},{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:sample-instance</span>","value":":sample-instance"},{"type":"html","content":"<span class='clj-unkown'>0</span>","value":"0"}],"value":"[:sample-instance 0]"},{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:distribution</span>","value":":distribution"},{"type":"html","content":"<span class='clj-unkown'>#object[anglican.infcomp.flatbuffers.normal.NormalClj 0x39c17949 &quot;anglican.infcomp.flatbuffers.normal.NormalClj@39c17949&quot;]</span>","value":"#object[anglican.infcomp.flatbuffers.normal.NormalClj 0x39c17949 \"anglican.infcomp.flatbuffers.normal.NormalClj@39c17949\"]"}],"value":"[:distribution #object[anglican.infcomp.flatbuffers.normal.NormalClj 0x39c17949 \"anglican.infcomp.flatbuffers.normal.NormalClj@39c17949\"]]"},{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:value</span>","value":":value"},{"type":"html","content":"<span class='clj-double'>31.834217106515744</span>","value":"31.834217106515744"}],"value":"[:value 31.834217106515744]"}],"value":"{:time-index 1, :sample-address \"S61\", :sample-instance 0, :distribution #object[anglican.infcomp.flatbuffers.normal.NormalClj 0x39c17949 \"anglican.infcomp.flatbuffers.normal.NormalClj@39c17949\"], :value 31.834217106515744}"},{"type":"list-like","open":"<span class='clj-map'>{</span>","close":"<span class='clj-map'>}</span>","separator":", ","items":[{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:time-index</span>","value":":time-index"},{"type":"html","content":"<span class='clj-unkown'>2</span>","value":"2"}],"value":"[:time-index 2]"},{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:sample-address</span>","value":":sample-address"},{"type":"html","content":"<span class='clj-string'>&quot;S65&quot;</span>","value":"\"S65\""}],"value":"[:sample-address \"S65\"]"},{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:sample-instance</span>","value":":sample-instance"},{"type":"html","content":"<span class='clj-unkown'>1</span>","value":"1"}],"value":"[:sample-instance 1]"},{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:distribution</span>","value":":distribution"},{"type":"html","content":"<span class='clj-unkown'>#object[anglican.infcomp.flatbuffers.gamma.GammaClj 0x345cce8b &quot;anglican.infcomp.flatbuffers.gamma.GammaClj@345cce8b&quot;]</span>","value":"#object[anglican.infcomp.flatbuffers.gamma.GammaClj 0x345cce8b \"anglican.infcomp.flatbuffers.gamma.GammaClj@345cce8b\"]"}],"value":"[:distribution #object[anglican.infcomp.flatbuffers.gamma.GammaClj 0x345cce8b \"anglican.infcomp.flatbuffers.gamma.GammaClj@345cce8b\"]]"},{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:value</span>","value":":value"},{"type":"html","content":"<span class='clj-double'>0.12158392072894988</span>","value":"0.12158392072894988"}],"value":"[:value 0.12158392072894988]"}],"value":"{:time-index 2, :sample-address \"S65\", :sample-instance 1, :distribution #object[anglican.infcomp.flatbuffers.gamma.GammaClj 0x345cce8b \"anglican.infcomp.flatbuffers.gamma.GammaClj@345cce8b\"], :value 0.12158392072894988}"},{"type":"list-like","open":"<span class='clj-map'>{</span>","close":"<span class='clj-map'>}</span>","separator":", ","items":[{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:time-index</span>","value":":time-index"},{"type":"html","content":"<span class='clj-unkown'>3</span>","value":"3"}],"value":"[:time-index 3]"},{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:sample-address</span>","value":":sample-address"},{"type":"html","content":"<span class='clj-string'>&quot;S61&quot;</span>","value":"\"S61\""}],"value":"[:sample-address \"S61\"]"},{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:sample-instance</span>","value":":sample-instance"},{"type":"html","content":"<span class='clj-unkown'>1</span>","value":"1"}],"value":"[:sample-instance 1]"},{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:distribution</span>","value":":distribution"},{"type":"html","content":"<span class='clj-unkown'>#object[anglican.infcomp.flatbuffers.normal.NormalClj 0x7ab67247 &quot;anglican.infcomp.flatbuffers.normal.NormalClj@7ab67247&quot;]</span>","value":"#object[anglican.infcomp.flatbuffers.normal.NormalClj 0x7ab67247 \"anglican.infcomp.flatbuffers.normal.NormalClj@7ab67247\"]"}],"value":"[:distribution #object[anglican.infcomp.flatbuffers.normal.NormalClj 0x7ab67247 \"anglican.infcomp.flatbuffers.normal.NormalClj@7ab67247\"]]"},{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:value</span>","value":":value"},{"type":"html","content":"<span class='clj-double'>17.76704064516511</span>","value":"17.76704064516511"}],"value":"[:value 17.76704064516511]"}],"value":"{:time-index 3, :sample-address \"S61\", :sample-instance 1, :distribution #object[anglican.infcomp.flatbuffers.normal.NormalClj 0x7ab67247 \"anglican.infcomp.flatbuffers.normal.NormalClj@7ab67247\"], :value 17.76704064516511}"},{"type":"list-like","open":"<span class='clj-map'>{</span>","close":"<span class='clj-map'>}</span>","separator":", ","items":[{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:time-index</span>","value":":time-index"},{"type":"html","content":"<span class='clj-unkown'>4</span>","value":"4"}],"value":"[:time-index 4]"},{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:sample-address</span>","value":":sample-address"},{"type":"html","content":"<span class='clj-string'>&quot;S65&quot;</span>","value":"\"S65\""}],"value":"[:sample-address \"S65\"]"},{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:sample-instance</span>","value":":sample-instance"},{"type":"html","content":"<span class='clj-unkown'>2</span>","value":"2"}],"value":"[:sample-instance 2]"},{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:distribution</span>","value":":distribution"},{"type":"html","content":"<span class='clj-unkown'>#object[anglican.infcomp.flatbuffers.gamma.GammaClj 0x4b83851b &quot;anglican.infcomp.flatbuffers.gamma.GammaClj@4b83851b&quot;]</span>","value":"#object[anglican.infcomp.flatbuffers.gamma.GammaClj 0x4b83851b \"anglican.infcomp.flatbuffers.gamma.GammaClj@4b83851b\"]"}],"value":"[:distribution #object[anglican.infcomp.flatbuffers.gamma.GammaClj 0x4b83851b \"anglican.infcomp.flatbuffers.gamma.GammaClj@4b83851b\"]]"},{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:value</span>","value":":value"},{"type":"html","content":"<span class='clj-double'>0.06559393539867266</span>","value":"0.06559393539867266"}],"value":"[:value 0.06559393539867266]"}],"value":"{:time-index 4, :sample-address \"S65\", :sample-instance 2, :distribution #object[anglican.infcomp.flatbuffers.gamma.GammaClj 0x4b83851b \"anglican.infcomp.flatbuffers.gamma.GammaClj@4b83851b\"], :value 0.06559393539867266}"},{"type":"list-like","open":"<span class='clj-map'>{</span>","close":"<span class='clj-map'>}</span>","separator":", ","items":[{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:time-index</span>","value":":time-index"},{"type":"html","content":"<span class='clj-unkown'>5</span>","value":"5"}],"value":"[:time-index 5]"},{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:sample-address</span>","value":":sample-address"},{"type":"html","content":"<span class='clj-string'>&quot;S61&quot;</span>","value":"\"S61\""}],"value":"[:sample-address \"S61\"]"},{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:sample-instance</span>","value":":sample-instance"},{"type":"html","content":"<span class='clj-unkown'>2</span>","value":"2"}],"value":"[:sample-instance 2]"},{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:distribution</span>","value":":distribution"},{"type":"html","content":"<span class='clj-unkown'>#object[anglican.infcomp.flatbuffers.normal.NormalClj 0x79bab613 &quot;anglican.infcomp.flatbuffers.normal.NormalClj@79bab613&quot;]</span>","value":"#object[anglican.infcomp.flatbuffers.normal.NormalClj 0x79bab613 \"anglican.infcomp.flatbuffers.normal.NormalClj@79bab613\"]"}],"value":"[:distribution #object[anglican.infcomp.flatbuffers.normal.NormalClj 0x79bab613 \"anglican.infcomp.flatbuffers.normal.NormalClj@79bab613\"]]"},{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:value</span>","value":":value"},{"type":"html","content":"<span class='clj-double'>12.178014003540383</span>","value":"12.178014003540383"}],"value":"[:value 12.178014003540383]"}],"value":"{:time-index 5, :sample-address \"S61\", :sample-instance 2, :distribution #object[anglican.infcomp.flatbuffers.normal.NormalClj 0x79bab613 \"anglican.infcomp.flatbuffers.normal.NormalClj@79bab613\"], :value 12.178014003540383}"},{"type":"list-like","open":"<span class='clj-map'>{</span>","close":"<span class='clj-map'>}</span>","separator":", ","items":[{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:time-index</span>","value":":time-index"},{"type":"html","content":"<span class='clj-unkown'>6</span>","value":"6"}],"value":"[:time-index 6]"},{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:sample-address</span>","value":":sample-address"},{"type":"html","content":"<span class='clj-string'>&quot;S46&quot;</span>","value":"\"S46\""}],"value":"[:sample-address \"S46\"]"},{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:sample-instance</span>","value":":sample-instance"},{"type":"html","content":"<span class='clj-unkown'>0</span>","value":"0"}],"value":"[:sample-instance 0]"},{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:distribution</span>","value":":distribution"},{"type":"html","content":"<span class='clj-unkown'>#object[anglican.infcomp.flatbuffers.normal.NormalClj 0x2b400739 &quot;anglican.infcomp.flatbuffers.normal.NormalClj@2b400739&quot;]</span>","value":"#object[anglican.infcomp.flatbuffers.normal.NormalClj 0x2b400739 \"anglican.infcomp.flatbuffers.normal.NormalClj@2b400739\"]"}],"value":"[:distribution #object[anglican.infcomp.flatbuffers.normal.NormalClj 0x2b400739 \"anglican.infcomp.flatbuffers.normal.NormalClj@2b400739\"]]"},{"type":"list-like","open":"","close":"","separator":" ","items":[{"type":"html","content":"<span class='clj-keyword'>:value</span>","value":":value"},{"type":"html","content":"<span class='clj-double'>10.955332897764961</span>","value":"10.955332897764961"}],"value":"[:value 10.955332897764961]"}],"value":"{:time-index 6, :sample-address \"S46\", :sample-instance 0, :distribution #object[anglican.infcomp.flatbuffers.normal.NormalClj 0x2b400739 \"anglican.infcomp.flatbuffers.normal.NormalClj@2b400739\"], :value 10.955332897764961}"}],"value":"[{:time-index 0, :sample-address \"S65\", :sample-instance 0, :distribution #object[anglican.infcomp.flatbuffers.gamma.GammaClj 0xb675c66 \"anglican.infcomp.flatbuffers.gamma.GammaClj@b675c66\"], :value 0.012809161048585567} {:time-index 1, :sample-address \"S61\", :sample-instance 0, :distribution #object[anglican.infcomp.flatbuffers.normal.NormalClj 0x39c17949 \"anglican.infcomp.flatbuffers.normal.NormalClj@39c17949\"], :value 31.834217106515744} {:time-index 2, :sample-address \"S65\", :sample-instance 1, :distribution #object[anglican.infcomp.flatbuffers.gamma.GammaClj 0x345cce8b \"anglican.infcomp.flatbuffers.gamma.GammaClj@345cce8b\"], :value 0.12158392072894988} {:time-index 3, :sample-address \"S61\", :sample-instance 1, :distribution #object[anglican.infcomp.flatbuffers.normal.NormalClj 0x7ab67247 \"anglican.infcomp.flatbuffers.normal.NormalClj@7ab67247\"], :value 17.76704064516511} {:time-index 4, :sample-address \"S65\", :sample-instance 2, :distribution #object[anglican.infcomp.flatbuffers.gamma.GammaClj 0x4b83851b \"anglican.infcomp.flatbuffers.gamma.GammaClj@4b83851b\"], :value 0.06559393539867266} {:time-index 5, :sample-address \"S61\", :sample-instance 2, :distribution #object[anglican.infcomp.flatbuffers.normal.NormalClj 0x79bab613 \"anglican.infcomp.flatbuffers.normal.NormalClj@79bab613\"], :value 12.178014003540383} {:time-index 6, :sample-address \"S46\", :sample-instance 0, :distribution #object[anglican.infcomp.flatbuffers.normal.NormalClj 0x2b400739 \"anglican.infcomp.flatbuffers.normal.NormalClj@2b400739\"], :value 10.955332897764961}]"}
;; <=

;; @@

   3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3])

(def test-observations
  [0 0 0 0 12 12 12 12])
;; @@
;; =>
;;; {"type":"html","content":"<span class='clj-var'>#&#x27;worksheets.dirichlet-process-mixture-stick-breaking/test-observations</span>","value":"#'worksheets.dirichlet-process-mixture-stick-breaking/test-observations"}
