Michael Chow

Results 189 issues of Michael Chow

This is a high-level issue that may be split / refined as needed. ## Context Recently, dplyr superceded functions like `top_n`, `sample_n`, `sample_frac` into a `slice()` family of functions: *...

.epic
api:verb
.api-user
.orchestration

Currently, it expects that getitem calls have a string argument, but they now receive a special slice class. To my knowledge this function is normally used as a safety check,...

.refine
.needs-reproduce

@mdbecker this should allow deploying multiple streamlit containers (I couldn't tell via streamlit docs and code, whether their tornado implementation uses subprocesses. Guessing not, based on their emphasis on load...

(I'm happy to take a stab at this if it seems useful! cc @filipsch who is interested in this issue) Really enjoyed the NYC R conference talk on lobstr! This...

feature

either use protowhat, or (more likely) reimplement.

enhancement

In the current implementation of `override()`, the solution is parsed into AST, but that AST is not further parsed by pythonwhat. This means that the following won't work, ``` Ex().check_if_else(0).override("if...

enhancement
docs

Use pytest to mark tests that have dependencies, so we can skip them. Rewrite with dependency free tests where important.

tech-debt

python3 allows ``` async def f(): pass ``` AFAIK this produces an AST node that is identical to FunctionDef, except it is named AsyncFunctionDef. In order to support async functions...

enhancement

From slack discussion w/ @yrdatacamp e.g. **Solution** ``` x = sum(range(10)) x = ['a', 'b', 'c'] ``` SCT ``` Ex().check_assignment('x', 0).has_equal_ast() ``` checks the first assignment, and looks for the...

enhancement

That is, submitting `x = ____` would lead to a feedback message like, "Be sure to fill in all of the blanks (`____`)."

enhancement