Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Submit all parts" not working as expected with coding extension #11

Closed
aamirzk opened this issue Sep 23, 2022 · 1 comment
Closed

"Submit all parts" not working as expected with coding extension #11

aamirzk opened this issue Sep 23, 2022 · 1 comment

Comments

@aamirzk
Copy link

aamirzk commented Sep 23, 2022

If a student puts their code in to each part, doesn't submit individually, but then clicks "Submit all parts", only the final question is marked correctly, the rest are marked incorrectly (even though they are correct). This is with questions using the programming extension. Tested on this question.

@christianp
Copy link
Member

I think this might only be a problem with R: the blocks of code from each part are interleaved, so when you do .Last.value to get the student's result, it always gets the result from the last part.

I'll look at fixing the WebRRunner tomorrow to avoid this.

@christianp christianp transferred this issue from numbas/Numbas Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants