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

source-academy / backend / 7b04348c7a3ec3dc6cbc18510a9f96868c3fa796-PR-1378
87%
master: 87%

Build:
Build:
LAST BUILD BRANCH: fix-flaky-submission-sort-test
DEFAULT BRANCH: master
Ran 01 Aug 2026 10:33AM UTC
Jobs 1
Files 165
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

01 Aug 2026 10:27AM UTC coverage: 87.481%. Remained the same
7b04348c7a3ec3dc6cbc18510a9f96868c3fa796-PR-1378

Pull #1378

github

RichDom2185
test(assessments): fix flaky title-sort tests via DB collation

The submissions_by_grader_for_index title-sort tests re-checked ordering
with Elixir's binary string comparison, but the query sorts by
`upper(title)` using PostgreSQL's locale collation. The two disagree on
how spaces and punctuation sort relative to letters, so the randomly
generated Hamlet-quote titles intermittently failed the assertion
(e.g. "I will speak daggers to her, but use none." vs "In my mind's eye.").

Assert the returned order against the database's own sort of the same
titles instead, comparing `upper(title)` on both sides so the check is
deterministic and consistent with the query under any collation.
Pull Request #1378: test(assessments): fix flaky title-sort tests via DB collation

3997 of 4569 relevant lines covered (87.48%)

6891.53 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7b04348c7a3ec3dc6cbc18510a9f96868c3fa796-PR-1378.1 01 Aug 2026 10:33AM UTC 165
87.48
GitHub Action Run
Source Files on build 7b04348c7a3ec3dc6cbc18510a9f96868c3fa796-PR-1378
  • Tree
  • List 165
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1378
  • PR Base - fix-course-creation-500 (#80304A27...)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc