#| Squid game in Racket.Gamble From the PSI model squid.psi """ tiles:=18; people:=16; def main()( known:=0; r:=(); for i in 0..people( alive := true; while alive && known will make it (list-ref p 0) ;; did person 1 make it? (list-ref p 1) (list-ref p 2) (list-ref p 3) (list-ref p 4) (list-ref p 5) (list-ref p 6) (list-ref p 7) (list-ref p 8) (list-ref p 9) (list-ref p 10) (list-ref p 11) (list-ref p 12) (list-ref p 13) (list-ref p 14) (list-ref p 15) num_survived ) ) ) (show-marginals (model) (list "p" "p 1" "p 2" "p 3" "p 4" "p 5" "p 6" "p 7" "p 8" "p 9" "p 18" "p 11" "p 12" "p 13" "p 14" "p 15" "p 16" "num_survived" ) #:num-samples 1000 ; #:truncate-output 5 ; #:skip-marginals? #t ; #:show-stats? #t ; #:credible-interval 0.84 ; #:show-histogram? #t ; #:show-percentiles? #t )