Open OAGr opened 1 month ago
Looks like this is exactly what the code does. I say we change it to pick randomly (ideally, still using the prgn).
I think that if we went this way, we'd just have a function called firstN()
that only works for sample Sets.
It seems that when sampleN(dist,n) is called multiple times with the same inputs, it gives the same exact output. This isn't expected.
https://www.squiggle-language.com/playground?v=0.9.4#code=eNqNk8FOg0AURX%2FlhaQREmwt6MZEN5qujJsuxcXIPBLizEBmhihpuzF%2BgAuXfp1f4Cc4MFAKJej25b5zL%2FcNG4diQgqmbzKKzqWjCM8Z3qZKwxUsZ6AzWJ7NIqFK3gzXJZ%2BLTHLC3AsfAi8SvFzXWyvhekZgEW5HMpJUxBI5Ck0YK43m4Vjkjyw%2BwmIB31%2BfQNMkQWn2QaIyaZUPRAG%2B5hhrpJHQsgw67P0Bo4rYoofzGv%2Fz8f4GucxoEaOqhNh5PBUaXrKCUXGiGzfTSG0X9uxsOwOvbvjv7yBqJQz4zuzNOXlGNxirxWtxlWSY2fAygTZ2Q7bcYAjebLcj8N2eXpdCjcFRagsMe8DQh%2B4h9BnxOCMSzGxPxOrfa%2BnB6bWVJqlU2gatz5eQlCm%2FV4SFh5Pw9kDj5L%2FiV%2FzzKf7hXzJlooo4RqQG6ex%2BAQkqQUA%3D