• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

source-academy / backend / 8e5aa2e994c341fea06c03034ee0361072452870
89%

Build:
DEFAULT BRANCH: master
Ran 08 Aug 2025 01:24AM UTC
Jobs 1
Files 153
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Aug 2025 01:21AM UTC coverage: 91.15% (-0.3%) from 91.406%
8e5aa2e994c341fea06c03034ee0361072452870

push

github

web-flow
Refactor leaderboard (#1281)

* Move leaderboard routes into own controller file

* Fix casing for calculation of contest score

* Add swagger documentation for leaderboard controller

* Standardise naming of routes

* Refactor contest leaderboard controller routes
1. database methods should be within cadet instead of cadet_web
2. simplify processing to only show leaderboard for voting assessments instead of both submission and voting
3. add error message if assessment is not a contest voting one

* Remove imports no longer required

* Standardise naming for contest-related assessment endpoints

* Fix checking if voting_question is nil

* Use case instead of with

* Update tests for changes in endpoint

18 of 35 new or added lines in 5 files covered. (51.43%)

5 existing lines in 1 file now uncovered.

3203 of 3514 relevant lines covered (91.15%)

7702.49 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
71.6
0.0% lib/cadet_web/admin_controllers/admin_assessments_controller.ex
2
95.96
6.58% lib/cadet_web/controllers/assessments_controller.ex
2
89.47
0.0% lib/cadet_web/router.ex
12
0.0
lib/cadet_web/controllers/leaderboard_controller.ex

Uncovered Existing Lines

Lines Coverage ∆ File
5
92.05
-0.55% lib/cadet/assessments/assessments.ex
Jobs
ID Job ID Ran Files Coverage
1 8e5aa2e994c341fea06c03034ee0361072452870.1 08 Aug 2025 01:24AM UTC 153
91.15
GitHub Action Run
Source Files on build 8e5aa2e994c341fea06c03034ee0361072452870
  • Tree
  • List 153
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8e5aa2e9 on github
  • Prev Build on master (#471A938B...)
  • Next Build on master (#BC2F253B...)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc