refactor: Refactor grading related functions to use atoms #1579
Annotations
20 warnings
lib/cadet/assessments/assessments.ex#L919
variable "team" is unused (if the variable is not meant to be used, prefix it with an underscore)
|
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)
|
|
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)
|
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)
|
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)
|
lib/cadet/accounts/teams.ex#L70
defp student_already_assigned?/2 is private, @doc attribute is always discarded for private functions/macros/types
|
lib/cadet/accounts/teams.ex#L94
defp all_students_distinct?/1 is private, @doc attribute is always discarded for private functions/macros/types
|
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
|
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
|
|
|
test/cadet_web/plug/rate_limiter_test.exs#L25
variable "key" is unused (if the variable is not meant to be used, prefix it with an underscore)
|
test/cadet_web/plug/rate_limiter_test.exs#L3
unused import Plug.Conn
|
|
|
|
|
|
|
This job succeeded
Loading