fix: Auto submission cron job for team assessments bug (#1200) #1637
Annotations
20 warnings
Run CI:
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)
|
Run CI:
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)
|
Run CI:
lib/cadet/accounts/teams.ex#L70
defp student_already_assigned?/2 is private, @doc attribute is always discarded for private functions/macros/types
|
Run CI:
lib/cadet/accounts/teams.ex#L94
defp all_students_distinct?/1 is private, @doc attribute is always discarded for private functions/macros/types
|
Run CI:
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
|
Run CI:
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
|
Run CI:
lib/cadet/accounts/teams.ex#L169
defp student_already_in_team?/3 is private, @doc attribute is always discarded for private functions/macros/types
|
Run CI:
lib/cadet/accounts/teams.ex#L212
variable "old_assessment_id" is unused (if the variable is not meant to be used, prefix it with an underscore)
|
Run CI:
lib/cadet/accounts/teams.ex#L236
defp update_team_members/3 is private, @doc attribute is always discarded for private functions/macros/types
|
Run CI:
lib/cadet/accounts/teams.ex#L307
defp has_submitted_answer?/1 is private, @doc attribute is always discarded for private functions/macros/types
|
Run CI
:included_environments option is deprecated. Use :dsn to control whether to send events to Sentry.
|
Run CI
CadetWeb.Endpoint.init/2 is deprecated, use config/runtime.exs instead or pass additional options when starting the endpoint in your supervision tree
|
Run CI:
test/cadet/assessments/assessments_test.exs#L2226
variable "assessments" is unused (if the variable is not meant to be used, prefix it with an underscore)
|
Run CI:
test/cadet_web/admin_controllers/admin_assessments_controller_test.exs#L8
unused alias Assessments
|
Run CI:
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)
|
Run CI:
test/cadet_web/plug/rate_limiter_test.exs#L3
unused import Plug.Conn
|
Run CI
attempting to determine the presence of embed_many field :choices with validate_required/3 or field_missing?/2 which has no effect. You can pass the :required option to Ecto.Changeset.cast_embed/3 to achieve this.
|
Run CI
attempting to determine the presence of embed_many field :choices with validate_required/3 or field_missing?/2 which has no effect. You can pass the :required option to Ecto.Changeset.cast_embed/3 to achieve this.
|
Run CI
attempting to determine the presence of embed_many field :choices with validate_required/3 or field_missing?/2 which has no effect. You can pass the :required option to Ecto.Changeset.cast_embed/3 to achieve this.
|
Run CI
attempting to determine the presence of embed_many field :choices with validate_required/3 or field_missing?/2 which has no effect. You can pass the :required option to Ecto.Changeset.cast_embed/3 to achieve this.
|