refactor: Refactor grading related functions to use atoms (#1187) #253
Annotations
14 warnings
Build release
The following actions uses node12 which is deprecated and will be forced to run on node16: marvinpinto/action-automatic-releases@latest. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Build release
The following actions use a deprecated Node.js version and will be forced to run on node20: marvinpinto/action-automatic-releases@latest. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Build release:
lib/cadet/assessments/assessments.ex#L919
variable "team" is unused (if the variable is not meant to be used, prefix it with an underscore)
|
Build release:
lib/cadet/assessments/assessments.ex#L2657
variable "cr_id" is unused (if the variable is not meant to be used, prefix it with an underscore)
|
Build release
router paths should begin with a forward slash, got: ""
|
Build release:
lib/cadet_web/controllers/answer_controller.ex#L82
clauses with the same name and arity (number of arguments) should be grouped together, "def submit/2" was previously defined (lib/cadet_web/controllers/answer_controller.ex:12)
|
Build release:
lib/cadet/accounts/teams.ex#L47
variable "student_ids" is unused (if the variable is not meant to be used, prefix it with an underscore)
|
Build release:
lib/cadet/accounts/teams.ex#L88
variable "all_ids_distinct" is unused (if the variable is not meant to be used, prefix it with an underscore)
|
Build release:
lib/cadet/accounts/teams.ex#L70
defp student_already_assigned?/2 is private, @doc attribute is always discarded for private functions/macros/types
|
Build release:
lib/cadet/accounts/teams.ex#L94
defp all_students_distinct?/1 is private, @doc attribute is always discarded for private functions/macros/types
|
Build release:
lib/cadet/accounts/teams.ex#L119
defp all_team_within_max_size?/2 is private, @doc attribute is always discarded for private functions/macros/types
|
Build release:
lib/cadet/accounts/teams.ex#L139
defp all_student_enrolled_in_course?/2 is private, @doc attribute is always discarded for private functions/macros/types
|
Build release
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Build release
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|