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

Alan-Jowett / CoPilot-For-Consensus / 20286092567 / 3
78%
main: 78%

Build:
DEFAULT BRANCH: main
Ran 16 Dec 2025 11:30PM UTC
Files 6
Run time 0s
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

16 Dec 2025 11:25PM UTC coverage: 84.252%. Remained the same
20286092567.3

push

github

web-flow
Add citation text snippets to reporting UI (#318)

* Initial plan

* Add citation text snippets to reports

- Update summarization service to include chunk text in formatted citations
- Modify reporting service to store citation text in quote field
- Enhance reporting-ui template with citation cards showing text snippets
- Add tests for citation text formatting and truncation

Co-authored-by: Alan-Jowett <20480683+Alan-Jowett@users.noreply.github.com>

* Add template tests for citation display

- Add structural tests for citation card layout
- Verify quote field is rendered in template
- Test fallback for empty citations

Co-authored-by: Alan-Jowett <20480683+Alan-Jowett@users.noreply.github.com>

* Address code review feedback: extract magic numbers

- Add citation_text_max_length parameter to SummarizationService (default 500)
- Add comment explaining message ID truncation in template
- Improve code maintainability and configurability

Co-authored-by: Alan-Jowett <20480683+Alan-Jowett@users.noreply.github.com>

* Simplify text truncation logic using min()

- Use min() instead of conditional for better readability
- No functional change, just code quality improvement

Co-authored-by: Alan-Jowett <20480683+Alan-Jowett@users.noreply.github.com>

* Address PR #318 review comments

- Filter out None keys in chunk_map for safety
- Simplify text truncation (Python slices handle overflow)
- Add word-wrap CSS to prevent layout breaks
- Add aria-label and title for accessibility
- Use data attributes + event listeners instead of inline onclick
- Remove unused os import
- Add test for missing chunk_id citations
- Add comprehensive template structure tests

Signed-off-by: GitHub Copilot <copilot@github.com>

---------

Signed-off-by: GitHub Copilot <copilot@github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Alan-Jowett <20480683+Alan-Jowett@users.noreply.github.com>
Co-authored-by: GitHub Copilot <cop... (continued)

428 of 508 relevant lines covered (84.25%)

0.84 hits per line

Source Files on job parsing - 20286092567.3
  • Tree
  • List 6
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20286092567
  • 8f13514c on github
  • Prev Job for on main (#20285499364.12)
  • Next Job for on main (#20286562243.8)
  • 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