-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into 469-config-penalty-magic-numbers
- Loading branch information
Showing
6 changed files
with
431 additions
and
264 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
docs/getting-started/db-insert-statements/insert-config-database.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Insert `config` SQL Statements | ||
|
||
This guide is primarily responsible for initializing the `configuration` table, | ||
assuming that the table begins in an empty state. | ||
|
||
> [!TIP] | ||
> The configuration table can _more easily_ be configured with programmatic tools built in to the AutoGrader. | ||
> Find these tools in AutoGrader > Config > Update using Canvas. | ||
## Updating Guide | ||
|
||
The primary things that needs to be updated on an ongoing basis are: | ||
1. The value of the `COURSE_NUMBER` | ||
2. Each of the assignment numbers | ||
|
||
|
||
## Statements | ||
> [!NOTE] | ||
> Updated as of **SUMMER 2024** | ||
```mysql | ||
INSERT INTO configuration (config_key, value) VALUES | ||
('BANNER_MESSAGE', ''), | ||
('GITHUB_ASSIGNMENT_NUMBER', 941080), | ||
('PHASE0_ASSIGNMENT_NUMBER', 941084), | ||
('PHASE1_ASSIGNMENT_NUMBER', 941085), | ||
('PHASE3_ASSIGNMENT_NUMBER', 941087), | ||
('PHASE4_ASSIGNMENT_NUMBER', 941088), | ||
('PHASE5_ASSIGNMENT_NUMBER', 941089), | ||
('PHASE6_ASSIGNMENT_NUMBER', 941090), | ||
('COURSE_NUMBER', 26822), | ||
('STUDENT_SUBMISSIONS_ENABLED', '[Phase0, Phase1, Phase3, Phase4, Phase5, Phase6, Quality, GitHub]'); | ||
``` |
37 changes: 37 additions & 0 deletions
37
docs/getting-started/db-insert-statements/insert-rubric-database.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Insert `rubric` SQL Statements | ||
|
||
This guide is primarily responsible for initializing the `rubric_config` table, | ||
assuming that the table begins in an empty state. | ||
|
||
## Updating Guide | ||
|
||
The primary things that needs to be updated on an ongoing basis are: | ||
1. Values in the `rubric_id` column | ||
|
||
## Statements | ||
> [!NOTE] | ||
> Updated as of **SUMMER 2024** | ||
```mysql | ||
INSERT INTO rubric_config (phase, type, category, criteria, points, rubric_id) VALUES | ||
('GitHub', 'GITHUB_REPO', 'GitHub Repository', 'Two Git commits: one for creating the repository and another for `notes.md`.', 15, '_6829'), | ||
('Phase0', 'GIT_COMMITS', 'Git Commits', 'Necessary commit amount', 0, '90342_649'), | ||
('Phase0', 'PASSOFF_TESTS', 'Functionality', 'All pass off test cases succeed', 125, '_1958'), | ||
('Phase1', 'GIT_COMMITS', 'Git Commits', 'Necessary commit amount', 0, '90342_7800'), | ||
('Phase1', 'PASSOFF_TESTS', 'Functionality', 'All pass off test cases succeed', 125, '_1958'), | ||
('Phase3', 'GIT_COMMITS', 'Git Commits', 'Necessary commit amount', 0, '90344_2520'), | ||
('Phase3', 'PASSOFF_TESTS', 'Web API Works', 'All pass off test cases in StandardAPITests.java succeed', 125, '_5202'), | ||
('Phase3', 'QUALITY', 'Code Quality', 'Chess Code Quality Rubric (see GitHub)', 30, '_3003'), | ||
('Phase3', 'UNIT_TESTS', 'Unit Tests', 'All test cases pass\nEach public method on your Service classes has two test cases, one positive test and one negative test\nEvery test case includes an Assert statement of some type', 25, '90344_776'), | ||
('Phase4', 'GIT_COMMITS', 'Git Commits', 'Necessary commit amount', 0, '90346_6245'), | ||
('Phase4', 'PASSOFF_TESTS', 'Functionality', 'All pass off test cases succeed', 100, '_2614'), | ||
('Phase4', 'QUALITY', 'Code Quality', 'Chess Code Quality Rubric (see GitHub)', 30, '90346_8398'), | ||
('Phase4', 'UNIT_TESTS', 'Unit Tests', 'All test cases pass\nEach public method on DAO classes has two test cases, one positive test and one negative test\nEvery test case includes an Assert statement of some type', 25, '90346_5755'), | ||
('Phase5', 'GIT_COMMITS', 'Git Commits', 'Necessary commit amount', 0, '90347_8497'), | ||
('Phase5', 'QUALITY', 'Code Quality', 'Chess Code Quality Rubric (see GitHub)', 30, '90347_9378'), | ||
('Phase5', 'UNIT_TESTS', 'Unit Tests', 'All test cases pass\nEach public method on the Server Facade class has two test cases, one positive test and one negative test\nEvery test case includes an Assert statement of some type', 25, '90347_2215'), | ||
('Phase6', 'GIT_COMMITS', 'Git Commits', 'Necessary commit amount', 0, '90348_9048'), | ||
('Phase6', 'PASSOFF_TESTS', 'Automated Pass Off Test Cases', 'Each provided test case passed is worth a proportional number of points ((passed / total) * 50).', 50, '90348_899'), | ||
('Phase6', 'QUALITY', 'Code Quality', 'Chess Code Quality Rubric (see GitHub)', 30, '90348_3792'), | ||
('Quality', 'QUALITY', 'Code Quality', 'Chess Code Quality Rubric (see GitHub)', 30, NULL); | ||
``` |
Oops, something went wrong.