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

thanos / ex_outlines / 0cc5274f876480697916cf0600065538c750aaaf-PR-31
91%
main: 86%

Build:
Build:
LAST BUILD BRANCH: docs_reorg
DEFAULT BRANCH: main
Ran 28 Jan 2026 06:41PM UTC
Jobs 1
Files 8
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 Jan 2026 02:13PM UTC coverage: 90.954% (-3.6%) from 94.586%
0cc5274f876480697916cf0600065538c750aaaf-PR-31

Pull #31

github

thanos
feat(feature/array-validation): Complete array/list validation with item schemas (Step 3)

- Add {:array, item_spec()} field type
- Array constraints: min_items, max_items, unique_items
- Validate each array item against item_spec
- Support all basic types as array items: string, integer, number, boolean, enum
- Item-level constraints: string length, integer/number ranges
- Error messages include array indices (e.g., 'tags[2]')
- JSON Schema generation with items, minItems, maxItems, uniqueItems
- Find and report first duplicate for unique_items constraint
- 22 comprehensive tests covering all array features

Tests: 249 passing (up from 229)
All edge cases covered: empty arrays, type checking, constraint validation
Zero Credo warnings

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Pull Request #31: feat(feature/array-validation): Complete array/list validation with i…

85 of 100 new or added lines in 1 file covered. (85.0%)

5 existing lines in 1 file now uncovered.

372 of 409 relevant lines covered (90.95%)

31.53 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
15
91.7
-8.3% lib/ex_outlines/spec/schema.ex

Uncovered Existing Lines

Lines Coverage ∆ File
5
91.7
-8.3% lib/ex_outlines/spec/schema.ex
Jobs
ID Job ID Ran Files Coverage
1 0cc5274f876480697916cf0600065538c750aaaf-PR-31.1 28 Jan 2026 06:41PM UTC 8
90.95
GitHub Action Run
Source Files on build 0cc5274f876480697916cf0600065538c750aaaf-PR-31
  • Tree
  • List 8
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #31
  • PR Base - main (#2A0A2E7F...)
  • 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