Skip to content

Add date filter to assignment progress CSV endpoints#787

Merged
jsharkey13 merged 6 commits into
mainfrom
improvement/assignment-progress-date-cutoff
May 12, 2026
Merged

Add date filter to assignment progress CSV endpoints#787
jsharkey13 merged 6 commits into
mainfrom
improvement/assignment-progress-date-cutoff

Conversation

@axlewin
Copy link
Copy Markdown
Contributor

@axlewin axlewin commented May 5, 2026

Adds an optional to_date URL parameter to the assignment progress CSV endpoints to allow question attempts to be filtered to only those occurring before a given date. The date must be provided as a Unix timestamp in ms, as is the case elsewhere.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 5, 2026

Codecov Report

❌ Patch coverage is 25.92593% with 20 lines in your changes missing coverage. Please review.
✅ Project coverage is 40.37%. Comparing base (5abbb3d) to head (fedd788).
⚠️ Report is 44 commits behind head on main.

Files with missing lines Patch % Lines
...k/ac/cam/cl/dtg/isaac/quiz/PgQuestionAttempts.java 7.69% 10 Missing and 2 partials ⚠️
...a/uk/ac/cam/cl/dtg/isaac/api/AssignmentFacade.java 33.33% 4 Missing and 4 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #787      +/-   ##
==========================================
+ Coverage   40.28%   40.37%   +0.08%     
==========================================
  Files         546      547       +1     
  Lines       23800    23740      -60     
  Branches     2906     2890      -16     
==========================================
- Hits         9588     9584       -4     
+ Misses      13311    13255      -56     
  Partials      901      901              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread src/main/java/uk/ac/cam/cl/dtg/isaac/api/AssignmentFacade.java
Comment thread src/main/java/uk/ac/cam/cl/dtg/isaac/quiz/PgQuestionAttempts.java
Comment thread src/main/java/uk/ac/cam/cl/dtg/isaac/quiz/PgQuestionAttempts.java
@jsharkey13 jsharkey13 merged commit 798e612 into main May 12, 2026
5 checks passed
@jsharkey13 jsharkey13 deleted the improvement/assignment-progress-date-cutoff branch May 12, 2026 09:53
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.

2 participants