Skip to content

Add course pilot example - #2

Merged
AurelienNicosiaULaval merged 1 commit into
mainfrom
dev-course-pilot
Jun 5, 2026
Merged

Add course pilot example#2
AurelienNicosiaULaval merged 1 commit into
mainfrom
dev-course-pilot

Conversation

@AurelienNicosiaULaval

Copy link
Copy Markdown
Owner

Summary

  • bump package back to development version 0.1.1.9000 after the 0.1.1 release
  • add a course-like tracked learnr tutorial under inst/examples/course-pilot
  • add CSV configuration, simulated cohort results, teacher inspection outputs, Moodle export, export bundle, and teacher report generation
  • add a course pilot vignette and pkgdown article entry
  • add integration tests for the pilot configuration, data, simulation, and export workflow

Validation

  • devtools::document()
  • devtools::test()
  • devtools::test(filter = "course-pilot")
  • rcmdcheck::rcmdcheck(args = "--no-manual")
  • pkgdown::build_site(new_process = FALSE, install = TRUE)

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d8742edb05

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +56 to +60
learnrTrackR::export_moodle_grades(
con,
moodle_path,
tutorial_id = tutorial_id,
grade_item = "Descriptive statistics pilot"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Filter the standalone Moodle export by group

When LEARNRTRACKR_GROUP_ID is set (for example to "A" as shown in the example), this script filters the dashboard/report/bundle via group_filter, but the standalone Moodle CSV is still generated with export_moodle_grades() over the whole tutorial gradebook. With the included simulation that means the file contains student_b01 from group B even while the rest of the inspection output is group A, so a teacher can export grades for the wrong cohort.

Useful? React with 👍 / 👎.

@AurelienNicosiaULaval
AurelienNicosiaULaval merged commit 728c873 into main Jun 5, 2026
3 checks passed
@AurelienNicosiaULaval
AurelienNicosiaULaval deleted the dev-course-pilot branch June 5, 2026 17:14
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

Successfully merging this pull request may close these issues.

1 participant