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

benwbrum / fromthepage / 29862605556 / 2
74%
development: 74%

Build:
DEFAULT BRANCH: development
Ran 21 Jul 2026 07:52PM UTC
Files 271
Run time 7s
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

21 Jul 2026 07:41PM UTC coverage: 46.588%. Remained the same
29862605556.2

push

github

web-flow
Add per-field CDR and text-only CDR columns to AI disagreement report (#5706)

### Motivation

- Add finer-grained disagreement metrics to the AI disagreement CSV by exposing Character Disagreement Rate (CDR) for each transcription field so reviewers can see per-field differences between Claude and Gemini outputs.
- Provide both verbatim and normalized (text-only) CDR per field to separate punctuation/formatting errors from textual content differences.

### Description

- Discover transcription fields across the work/collection and preload `transcription_fields` with `:spreadsheet_columns`, excluding `description` and `instruction` input types, and build dynamic CSV headers for each field with `"<Field> CDR"` and `"<Field> Text-only CDR"`.
- Add `field_value_for_comparison` helper to extract a field's verbatim value from `transcription_json`, preserving existing spreadsheet-row concatenation logic, and add `normalize_text` for the text-only form.
- For each page, compute per-field verbatim and normalized CDRs only when both Claude and Gemini finished transcriptions exist and the page's collection includes the field; otherwise output blank columns to preserve CSV alignment.
- Use the existing `character_error_rate` implementation via `page.send(:character_error_rate, ...)` to compute CDRs so behavior is consistent with top-level disagreement columns.

### Testing

- Ran a Ruby syntax check: `bundle exec ruby -c lib/tasks/ai_disagreement_report.rake` which returned `Syntax OK`.
- Attempted to run `bundle exec rubocop lib/tasks/ai_disagreement_report.rake` but the `rubocop` executable was not available in the environment so it could not be executed.

1501 of 3873 branches covered (38.76%)

Branch coverage included in aggregate %.

7380 of 15190 relevant lines covered (48.58%)

48.19 hits per line

Source Files on job rspec-2 - 29862605556.2
  • Tree
  • List 271
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 29862605556
  • ab499ecb on github
  • Prev Job for on development (#29862583082.2)
  • Next Job for on development (#29862583082.4)
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