code.pyret.org
code.pyret.org copied to clipboard
Website for serving Pyret to folks.
Resolves #277. We already auto-focus the submit button for modals with no inputs, so enter already works there. With this change, if the modal has text inputs, hitting enter while...
Fixes #399 Previously, if your first line wasn't a `use context` declaration, the Choose Context modal would just grab an arbitrary substring of your first line, resulting in gibberish. This...
We've had a few teachers ask if Pyret supports various stats functions: - [ ] population variance - [ ] sample variance - [ ] t-test (multiple kinds) - [...
[Based on a bug report from a teacher](https://discourse.bootstrapworld.org/t/image-pie-chart/2738/1) It turns out that unlike scatter plots, histograms, and all manner of bar charts, _the order of SVG pie slices does not...
@schanzer reports: > When loading a context via shared-gdrive, for some reason the fileID and fileName are required. If the filename of the file being loaded changes, it breaks every...
This is a minimal version of fixing https://github.com/brownplt/code.pyret.org/issues/517. Whether this is a good idea or not is outside of my ability to judge. Even if this is a good idea...
In the Statistics package, modes throws an internal error when used with non-numeric data. At the very least, this should be a better error! But more importantly, modes are not...
The Color library includes the `color` constructor, whose documentation says the first three inputs should all be numbers between 0-255 (inclusive). However, calling the function with numbers outside of that...
Now that the pcardune-blocks branch has been merged into horizon, we need a tracking issue to keep tabs on the remaining work. - [ ] include and import need to...
_I think this issue exists in most of our chart functions, but some are more resilient than others._ In [this starter file](https://code.pyret.org/editor#share=1lEhe_M_VU7ufyFynhmUwksYEf0WEscTf&v=0c33ff0), we import a large dataset. Try evaluating `stacked-bar-chart(shark-attacks-table,...