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

thanos / ex_outlines / 2914538df38d9619766db88cbb3e5be7ca45bf3d-PR-95
85%
main: 85%

Build:
Build:
LAST BUILD BRANCH: v0.2.0/release
DEFAULT BRANCH: main
Ran 28 Mar 2026 06:03PM UTC
Jobs 1
Files 15
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

28 Mar 2026 06:01PM UTC coverage: 85.529% (-0.1%) from 85.655%
2914538df38d9619766db88cbb3e5be7ca45bf3d-PR-95

Pull #95

github

thanos
 All 511 tests pass, zero Credo issues. Five fixes:

  - resolve_messages/4 -- Split into three separate function heads with pattern-matched ctx, each with its own rescue returning the appropriate error tag:
  :prompt_error, :template_error, or :content_error. Documented the new error tuples.
  - Anthropic multimodal tests -- Added 2 tests verifying multimodal content parts (image_base64, image_url) and mixed text/multimodal messages pass
  formatting without crashing.
  - depends_on validation -- Added validate_depends_on!/1 in normalize_field_spec that raises ArgumentError for invalid shapes (must be %{field: atom,
  equals: value} or nil), preventing MatchError in build_conditionals/1.
  - Tuple array item validation -- Added {:tuple, _} clause to validate_array_item_by_type/4, delegating to validate_field_type/3 so tuples inside arrays
  have their length and positional types enforced at runtime.
Pull Request #95: V0.2.0/local models schema extensions

317 of 379 new or added lines in 11 files covered. (83.64%)

59 existing lines in 4 files now uncovered.

922 of 1078 relevant lines covered (85.53%)

49.77 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
95.45
-4.55% lib/ex_outlines/backend/mock.ex
1
92.31
lib/ex_outlines/stream.ex
5
93.46
-3.47% lib/ex_outlines.ex
5
72.55
-7.45% lib/ex_outlines/backend/http.ex
14
77.05
lib/ex_outlines/backend/gemini.ex
14
78.79
lib/ex_outlines/backend/ollama.ex
22
86.82
1.07% lib/ex_outlines/spec/schema.ex

Uncovered Existing Lines

Lines Coverage ∆ File
1
93.46
-3.47% lib/ex_outlines.ex
6
72.55
-7.45% lib/ex_outlines/backend/http.ex
9
76.79
2.28% lib/ex_outlines/backend/anthropic.ex
43
86.82
1.07% lib/ex_outlines/spec/schema.ex
Jobs
ID Job ID Ran Files Coverage
1 2914538df38d9619766db88cbb3e5be7ca45bf3d-PR-95.1 28 Mar 2026 06:03PM UTC 15
85.53
GitHub Action Run
Source Files on build 2914538df38d9619766db88cbb3e5be7ca45bf3d-PR-95
  • Tree
  • List 15
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #95
  • PR Base - main (#25894A47...)
  • 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