Title: | Submission Analysis for Grading and Improvement |
---|---|
Description: | Tools for analysising submissions of solved RTutor problem sets. The functions help automatic bulk grading for several problem sets. Another feature is a shiny app that helps to analyse where students got stuck and correspondingly improve the problem set. |
Authors: | Sebastian Kranz |
Maintainer: | Sebastian Kranz <[email protected]> |
License: | Programm code: GPL >= 2.0 Contributed problem sets: Creative Commons (CY) |
Version: | 2020.11.27 |
Built: | 2024-10-26 02:54:52 UTC |
Source: | https://github.com/skranz/RTutorSAGI |
See README.md for usage
analyse.subs(sub.li, rps.dir = "org_ps", just.summary = FALSE, no.summary = FALSE, protracted.minutes = 30)
analyse.subs(sub.li, rps.dir = "org_ps", just.summary = FALSE, no.summary = FALSE, protracted.minutes = 30)
sub.li |
A list of loaded submission files. See |
rps.dir |
The directory in which you have all rps files of the problem sets (original versions) |
just.summary |
if TRUE just return the chunk summary data frame. If FALSE (default) return a list that also contains several intermediate data frames. |
no.summary |
if TRUE just return list without summary data frame (used by write.chunk.logs) |
protracted.minutes |
Used to classify whether it took a long time, possible due to a break when gotten stuck for a student to solve the chunk. We measure the duration between the first failed attempt and the time the chunk is first solved. If this is longer (in minutes) than |
Create an err.sol.table as input for hint.stud.table
err.sol.table(err.df, rps.dir = getwd())
err.sol.table(err.df, rps.dir = getwd())
err.df |
If res is the the returned list from a call to analyse.subs() it is the elemet res$err.df |
rps.dir |
The directory in which all problem set rps files can be found of the problem sets that have been analysed by analyse.subs. |
see err.sol.table for a basic description
err.sol.table.for.ps(err.df, ps.name, rps.dir = getwd(), rps = load.rps(file.path(rps.dir, ps.name)))
err.sol.table.for.ps(err.df, ps.name, rps.dir = getwd(), rps = load.rps(file.path(rps.dir, ps.name)))
See README.md for usage
grade.subs(sub.li, grade.dir = "grades")
grade.subs(sub.li, grade.dir = "grades")
Creates a table with hint.stud templates from an err.sol.table
hint.stud.table(es, min.users = 1, default.filters = TRUE)
hint.stud.table(es, min.users = 1, default.filters = TRUE)
es |
a data frame returned by err.sol.table, err.sol.table.for.ps or err.sol.table.for.chunk |
min.users |
only keep wrong calls that at least min.users made |
default.filters |
if TRUE remove some rows that are unlikely to be used as custom hints (e.g. if in assignment both the assigned variable and the rhs differ). |
Load submission files that follow Moodle's naming convention
load.moodle.subs(sub.dir = "sub", stud.name.fun = moodle.stud.name.fun, ...)
load.moodle.subs(sub.dir = "sub", stud.name.fun = moodle.stud.name.fun, ...)
See README.md for usage
load.sub(file, stud.name.fun = NULL)
load.sub(file, stud.name.fun = NULL)
See README.md for usage
load.subs(sub.dir = "sub", files = NULL, stud.name.fun = NULL, warn = TRUE, max.files = NA)
load.subs(sub.dir = "sub", files = NULL, stud.name.fun = NULL, warn = TRUE, max.files = NA)
sub.dir |
The directory in which all submission files can be found. |
Takes assignment ZIPs with all students' solutions and unpacks them into separate folders for each assignment
unpack.moodle.sub.zips(zip.dir = "moodle_zip", sub.dir = "sub", prefix = "", postfix = ".zip")
unpack.moodle.sub.zips(zip.dir = "moodle_zip", sub.dir = "sub", prefix = "", postfix = ".zip")
zip.dir |
directory with big ZIP files from Moodle. Each ZIP file contains all submissions of one problem set |
sub.dir |
directory into which sub files shall be extracted |
See README.md for details
write.chunk.logs(sub.li, logs.dir = "chunk_logs", rps.dir = "org_ps")
write.chunk.logs(sub.li, logs.dir = "chunk_logs", rps.dir = "org_ps")
sub.li |
A list of loaded submission files. See |
logs.dir |
Directory into which log files shall be written |
rps.dir |
The directory in which you have all rps files of the problem sets (original versions) |