Add Team Assessments #1083
Annotations
10 errors and 18 warnings
Run CI:
test/cadet_web/controllers/assessments_controller_test.exs#L1533
test Password protected assessments render properly permit global access to private assessment after closed (CadetWeb.AssessmentsControllerTest)
|
Run CI:
test/cadet_web/controllers/assessments_controller_test.exs#L774
test GET /assessment_id, all roles it renders xp, grade for students (CadetWeb.AssessmentsControllerTest)
|
Run CI:
test/cadet_web/controllers/assessments_controller_test.exs#L884
test GET /assessment_id, student it does not permit access to not yet open assessments (CadetWeb.AssessmentsControllerTest)
|
Run CI:
test/cadet_web/controllers/assessments_controller_test.exs#L1483
test Password protected assessments render properly allow role_crs with preexisting submission to access private assessment without a password (CadetWeb.AssessmentsControllerTest)
|
Run CI:
test/cadet_web/controllers/assessments_controller_test.exs#L292
test GET /assessment_id, all roles it renders assessment details (CadetWeb.AssessmentsControllerTest)
|
Run CI:
test/cadet_web/controllers/assessments_controller_test.exs#L326
test GET /assessment_id, all roles it renders assessment questions (CadetWeb.AssessmentsControllerTest)
|
Run CI:
test/cadet_web/controllers/assessments_controller_test.exs#L1495
test Password protected assessments render properly ignore password when assessment is not password protected (CadetWeb.AssessmentsControllerTest)
|
Run CI:
test/cadet_web/controllers/assessments_controller_test.exs#L926
test GET /assessment_id, non-students it renders empty answers (CadetWeb.AssessmentsControllerTest)
|
Run CI:
test/cadet_web/controllers/assessments_controller_test.exs#L949
test GET /assessment_id, non-students it permits access to not yet open assessments (CadetWeb.AssessmentsControllerTest)
|
Run CI:
test/cadet_web/controllers/assessments_controller_test.exs#L975
test GET /assessment_id, non-students it permits access to unpublished assessments (CadetWeb.AssessmentsControllerTest)
|
Run CI
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Run CI:
lib/cadet/assessments/assessments.ex#L274
variable "team_id" is unused (there is a variable with the same name in the context, use the pin operator (^) to match on it or prefix this variable with underscore if it is not meant to be used)
|
Run CI:
lib/cadet/assessments/assessments.ex#L806
variable "team" is unused (if the variable is not meant to be used, prefix it with an underscore)
|
Run CI:
lib/cadet/assessments/assessments.ex#L1866
variable "cr_id" is unused (if the variable is not meant to be used, prefix it with an underscore)
|
Run CI:
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)
|
Run CI:
lib/cadet_web/admin_controllers/admin_teams_controller.ex#L96
variable "course_id" is unused (if the variable is not meant to be used, prefix it with an underscore)
|
Run CI:
priv/repo/migrations/20210531155751_multitenant_upgrade.exs#L201
variable "configs" is unused (if the variable is not meant to be used, prefix it with an underscore)
|
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.
|
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.
|
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
Plug.Adapters.Cowboy.http/3 is deprecated. Use Plug.Cowboy.http/3 instead
|