Skip to content

Conversation

williamschen23
Copy link
Contributor

What is the current behavior?

The sample data has multiple dates, most of which are required. This could greatly increase the number of lines that any couese.yml has. IN addition, some of the fields in courses.yml were incorrect.

What is the new behavior?

Changes some of the fields in courses.yml to be correct. Sets the default date for every gradeable to be in the "OPENED" state with no possible overdue submissions.

Other information?

Copy link

codecov bot commented Jun 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 21.04%. Comparing base (52c1d9f) to head (a78d9c1).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##               main   #11701   +/-   ##
=========================================
  Coverage     21.04%   21.04%           
  Complexity     9079     9079           
=========================================
  Files           258      258           
  Lines         34860    34860           
  Branches        461      461           
=========================================
  Hits           7336     7336           
  Misses        27067    27067           
  Partials        457      457           
Flag Coverage Δ
autograder 21.44% <ø> (ø)
js 4.65% <ø> (ø)
migrator 100.00% <ø> (ø)
php 19.57% <ø> (ø)
python_submitty_utils 80.08% <ø> (ø)
submitty_daemon_jobs 88.88% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 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.

@williamschen23
Copy link
Contributor Author

I wanted to comment that this PR introduce the possibility of a develop forgetting about a date and failing the assertions.

Copy link
Member

@bmcutler bmcutler left a comment

Choose a reason for hiding this comment

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

Code looks good.
I'm running a vagrant up from scratch now.
When that completes I'll merge this.

@github-project-automation github-project-automation bot moved this from Seeking Reviewer to Awaiting Maintainer Review in Submitty Development Jun 9, 2025
@bmcutler bmcutler merged commit 6c92ab5 into main Jun 9, 2025
24 checks passed
@bmcutler bmcutler deleted the default-dates-development branch June 9, 2025 05:23
@github-project-automation github-project-automation bot moved this from Awaiting Maintainer Review to Done in Submitty Development Jun 9, 2025
bmcutler pushed a commit to Submitty/Tutorial that referenced this pull request Jul 16, 2025
Removes the dates for course config
Related to Submitty/Submitty#11701
This ensures that the course never expires. Verified with
`recreate_sample_courses tutorial`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants