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

source-academy / backend
87%
master: 87%

Build:
Build:
LAST BUILD BRANCH: fix-flaky-submission-sort-test
DEFAULT BRANCH: master
Repo Added 26 Jun 2021 01:33PM UTC
Files 165
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

LAST BUILD ON BRANCH fix-flaky-submission-sort-test
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • access-token-bugfix
  • ai-tests-for-pr1238-1761885873
  • assessment-finish-submit
  • conductor-assessments
  • copilot/fix-1285
  • dependabot/hex/bamboo-2.4.0
  • dependabot/hex/bamboo-2.5.0
  • dependabot/hex/bamboo_ses-0.4.6
  • dependabot/hex/bamboo_ses-0.4.7
  • dependabot/hex/credo-1.7.13
  • dependabot/hex/csv-3.2.2
  • dependabot/hex/dialyxir-1.4.6
  • dependabot/hex/dialyxir-1.4.7
  • dependabot/hex/ex_aws-2.5.8
  • dependabot/hex/ex_aws-2.5.9
  • dependabot/hex/ex_aws_s3-2.5.2
  • dependabot/hex/excoveralls-0.18.4
  • dependabot/hex/excoveralls-0.18.5
  • dependabot/hex/exvcr-0.16.0
  • dependabot/hex/git_hooks-0.8.0
  • dependabot/hex/git_hooks-0.8.1
  • dependabot/hex/guardian-2.4.0
  • dependabot/hex/hackney-1.22.0
  • dependabot/hex/hackney-1.23.0
  • dependabot/hex/hackney-1.25.0
  • dependabot/hex/httpoison-2.3.0
  • dependabot/hex/inch_ex-2.1.0
  • dependabot/hex/mock-0.3.9
  • dependabot/hex/openid_connect-1.0.0
  • dependabot/hex/openid_connect-1.0.1
  • dependabot/hex/phoenix-1.7.18
  • dependabot/hex/phoenix-1.7.19
  • dependabot/hex/phoenix-1.7.20
  • dependabot/hex/phoenix-1.7.21
  • dependabot/hex/phoenix-1.8.1
  • dependabot/hex/phoenix-1.8.2
  • dependabot/hex/phoenix-1.8.3
  • dependabot/hex/phoenix_ecto-4.6.5
  • dependabot/hex/phoenix_ecto-4.7.0
  • dependabot/hex/phoenix_html-4.2.0
  • dependabot/hex/phoenix_html-4.3.0
  • dependabot/hex/plug_cowboy-2.7.3
  • dependabot/hex/plug_cowboy-2.7.4
  • dependabot/hex/plug_cowboy-2.7.5
  • dependabot/hex/postgrex-0.20.0
  • dependabot/hex/postgrex-0.21.0
  • dependabot/hex/postgrex-0.21.1
  • dependabot/hex/postgrex-0.22.0
  • dependabot/hex/recase-0.9.0
  • dependabot/hex/recase-0.9.1
  • dependabot/hex/sentry-10.10.0
  • dependabot/hex/sentry-10.8.1
  • dependabot/hex/sentry-11.0.0
  • dependabot/hex/sentry-11.0.1
  • dependabot/hex/sentry-11.0.2
  • dependabot/hex/sentry-11.0.4
  • dependabot/hex/sweet_xml-0.7.5
  • dependabot/hex/timex-3.7.13
  • dependabot/hex/xml_builder-2.4.0
  • deps-big-bang-2026
  • elixir-119
  • exam_mode
  • feat/add-AI-generated-comments-grading
  • feat/ai-comment-workflow
  • feat/assessment-level-language-config
  • feat/upgrade-logger
  • feature/chatbot-one-conversation-per-user
  • feature/louis
  • feature/public-louis
  • filter-team-formation-list
  • fix-course-creation-500
  • fix-flaky-submission-sort-test
  • fix-idor
  • fix-issues-with-bonus-xp
  • fix-seeding
  • fix/compile-env
  • fix/logstream-creation
  • hardened-mode
  • isha
  • language-options
  • leaderboard
  • leaderboard-fix
  • leaderboard-fix2
  • leaderboard-refactor
  • logging-answer-deploy
  • master
  • notebooks
  • nus-entra-id
  • payload_size_limit
  • remove-sourcecast-sourcereel
  • renovate/actions-cache-5.x
  • renovate/actions-cache-6.x
  • renovate/actions-checkout-7.x
  • renovate/aws-3.x-lockfile
  • renovate/aws-6.x
  • renovate/bamboo_ses-0.x
  • renovate/elixir-1.x
  • renovate/erlang-28.x
  • renovate/erlang-29.x
  • renovate/ex_json_schema-0.x
  • renovate/meck-1.x
  • renovate/openid_connect-1.x
  • renovate/postgres-18.x
  • renovate/random-3.x-lockfile
  • renovate/rlespinasse-github-slug-action-3.x
  • renovate/rlespinasse-github-slug-action-5.x
  • renovate/sentry-12.x
  • renovate/sentry-13.x
  • revert-1271-master
  • timer-feature
  • upgrade-ci-version
  • upgrade-version
  • versions-feature
  • vscode/auth
  • warnings

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

Relevant lines Covered
Build:
Build:
4569 RELEVANT LINES 3997 COVERED LINES
6891.53 HITS PER LINE
Source Files on master
  • Tree
  • List 165
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
7b04348c... fix-flaky-submission-sort-test 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 collat... Pull #1378 01 Aug 2026 10:33AM UTC RichDom2185 github
87.48
80304a27... fix-course-creation-500 fix(courses): correct pattern match on create_course_config result Courses.create_course_config/2 returns the raw Ecto.Multi transaction result, which on success is {:ok, %{course: course, course_reg: reg}}. The controller matched {:ok, course}, ... Pull #1377 01 Aug 2026 10:14AM UTC RichDom2185 github
87.48
dcf16adc... renovate/meck-1.x chore(deps): update dependency meck to v1 Pull #1376 01 Aug 2026 06:15AM UTC web-flow github
87.46
8ea7d5a0... renovate/openid_connect-1.x chore(deps): update dependency openid_connect to v1 Pull #1328 01 Aug 2026 06:15AM UTC web-flow github
87.09
653ec86a... renovate/aws-6.x chore(deps): update terraform aws to v6 Pull #1329 01 Aug 2026 06:14AM UTC web-flow github
87.46
15c0391d... renovate/elixir-1.x chore(deps): update dependency elixir to v1.20.2 Pull #1358 01 Aug 2026 06:14AM UTC web-flow github
87.46
5b97591d... renovate/bamboo_ses-0.x chore(deps): update dependency bamboo_ses to ~> 0.5 Pull #1332 01 Aug 2026 06:14AM UTC web-flow github
87.46
0dc1b2f7... renovate/erlang-29.x chore(deps): update dependency erlang to v29 Pull #1356 01 Aug 2026 06:14AM UTC web-flow github
87.46
47f3954a... renovate/meck-1.x chore(deps): update dependency meck to v1 Pull #1376 01 Aug 2026 06:05AM UTC web-flow github
87.46
94c873ae... renovate/aws-6.x chore(deps): update terraform aws to v6 Pull #1329 01 Aug 2026 06:05AM UTC web-flow github
87.46
See All Builds (1582)
  • Repo on GitHub
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