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

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

Build:
Build:
LAST BUILD BRANCH: renovate/aws-6.x
DEFAULT BRANCH: master
Ran 01 Aug 2026 10:33AM UTC
Files 165
Run time 3s
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% (+0.02%) from 87.459%
7b04348c7a3ec3dc6cbc18510a9f96868c3fa796-PR-1378.1

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

Source Files on job 7b04348c7a3ec3dc6cbc18510a9f96868c3fa796-PR-1378.1
  • Tree
  • List 165
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 7
  • 7b04348c on github
  • Prev Job for on fix-flaky-submission-sort-test (#80304a27cfa61436858d26c6f1cb8b7d4929500a-PR-1377.2)
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