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

vEnhance / otis-web / 22648463257
94%

Build:
DEFAULT BRANCH: main
Ran 04 Mar 2026 12:01AM UTC
Jobs 1
Files 113
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

04 Mar 2026 12:00AM UTC coverage: 93.676% (+0.04%) from 93.637%
22648463257

push

github

web-flow
feat(arch): add opt-in setting to disable ARCH hints (#458)

* feat: add opt-in setting to disable ARCH hints

Add UserProfile.disable_hints boolean field that allows users to hide all hints from the problem archive for pedagogical purposes.

* style: apply ruff formatting to migration

* fix: use getattr to satisfy pyright type checking

* refactor: use get_object_or_404 for UserProfile access

Replace nested getattr with get_object_or_404 for better readability,
matching the pattern used elsewhere in the codebase.

* fix: check disable_hints without creating UserProfile

Use filter().exists() to check if user has disabled hints, avoiding
database writes on GET requests. If no UserProfile exists, hints are
shown by default (disable_hints=False).

* feat(arch): improve disable hints UX and security

- Show "hints disabled" message instead of "no hints" when user has disabled hints
- Block direct access to hint detail pages when hints are disabled
- Add link to user preferences for re-enabling hints
- Add comprehensive unit tests for all disable hints scenarios

This prevents confusion where users see "no hints available" when they've
actually disabled hints themselves, and closes a security gap where users
could bypass the hint blocking by accessing detail URLs directly.

* refactor: use elif/else instead of nested conditionals in hint_list template

---------

Co-authored-by: Dean Menezes <dmm3297@my.utexas.edu>

821 of 1052 branches covered (78.04%)

Branch coverage included in aggregate %.

57 of 57 new or added lines in 3 files covered. (100.0%)

8689 of 9100 relevant lines covered (95.48%)

0.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 22648463257.1 04 Mar 2026 12:01AM UTC 113
93.68
GitHub Action Run
Source Files on build 22648463257
  • Tree
  • List 113
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 197e888d on github
  • Prev Build on main (#22559261192)
  • Next Build on main (#22691817109)
  • Delete
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

© 2026 Coveralls, Inc