Comments (7)
This is a pretty simple fix... although I think replacing with NULL
might give students the wrong idea. What about, e.g., a string like "YOUR CODE HERE"
or some other value indicating that the statement needs to be replaced? Or a line with NULL # YOUR CODE HERE
as an indicator to students?
from otter-grader.
I agree. For inline prompts I like NULL # YOUR CODE HERE
and for multi-line solution removal just
## YOUR CODE HERE
Even "..."
would work better in R than a regular ellipsis and matches the python, but I guess this also doesn't really send the right message to students.
from otter-grader.
I have another thought which is specific to RMarkdown that I think is the best case solution. I assume this is much more difficult to implement, however:
For any code chunks with solution removal, in addition to adding the placeholder text, set the chunk option eval=FALSE
. This way, R would not run any code without students explicitly setting eval=TRUE
, after attempting a solution. With eval=FALSE
you could still knit the assignment with unfinished / unattempted solutions, which would be useful for releasing a pdf of the assignment template, for example.
from otter-grader.
While this is do-able, I am hesitant for the same reason as just indicating NULL
. I don't think students will realize they need to change this when the knit and so their knitted document won't include the output of those cells. The goal here should be something that is obvious and low-effort for students. I think that NULL # YOUR CODE HERE
is the best option.
from otter-grader.
Opened #124 and released v1.1.3 which implements this change.
from otter-grader.
Came to open a similar issue.
I don't think students will realize they need to change this
I think this is the same for ...
β thinking # YOUR CODE HERE
would be much more explicit. Using Python in my case.) Happy to open a new issue if that's better.
from otter-grader.
@afeld yes, please open a new issue for this feature request.
from otter-grader.
Related Issues (20)
- Issues with loading packages via the tidyverse metapackage HOT 3
- CLI documenation: otter grader 4.4.1 versus 5 HOT 1
- "Include" tag for markdown cells in question solution block HOT 1
- Error on grader.export for Windows Machines HOT 1
- `nbconvert` missing in JupyterLite
- Student-created .py files HOT 2
- Patch : 4.4.1: Sort final_grades.csv HOT 1
- Create more minimal examles of environment.yml files HOT 2
- `no attribute 'from_string'` in JupyterLite HOT 1
- An error in executing `grader.check_all()` HOT 2
- Make the new `r-ottr` conda package compatible with R 4.1.* HOT 8
- Show executed code for JN during autograding HOT 5
- Fix all_or_nothing and add better support
- Exercise file quantifierRaising_vs_typeshifting.txt doesn't open in 2.6.0 SE + TE on Mac HOT 2
- Intercell seeding breaks cell magics HOT 2
- Hanging on ipywidgets cell HOT 3
- Add validation to otter assign that errors when cell/line magics are present in test cells
- Exporting pdf's to other gradescope assignments fails when students add in external files HOT 3
- ottr::export fails when pdf canβt be generated HOT 16
- ottr::export force_save isn't working HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from otter-grader.