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

Alan-Jowett / CoPilot-For-Consensus / 20290803884
78%

Build:
DEFAULT BRANCH: main
Ran 17 Dec 2025 03:40AM UTC
Jobs 28
Files 109
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

17 Dec 2025 03:40AM UTC coverage: 82.142% (+0.007%) from 82.135%
20290803884

push

github

web-flow
fix: Generate citations from chunks instead of LLM output (#366)

* fix: Generate citations from chunks instead of LLM output (#365)

All production summarizers (LocalLLM, OpenAI, LlamaCpp) return empty
citations arrays. This fix generates citations from the actual chunks
passed as context to the LLM, ensuring citations reference real source
material and preventing hallucination.

Changes:
- Modified summarization/app/service.py to create Citation objects from
  all chunks in context before formatting citations
- Citations now include message_id, chunk_id, offset from actual chunks

Fixes #365

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

* test: Add coverage for citation generation from chunks

Addresses PR feedback from Copilot reviewer. Added comprehensive test
that verifies citations are generated from chunks in context, not from
LLM output (which may be empty or hallucinated).

Test validates:
- Citations are created from all chunks used as context
- LLM-returned citations are ignored
- Each citation has required fields (message_id, chunk_id, offset, text)
- Citations reference actual messages from context
- No hallucinated citations are included

Related to #365

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

---------

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

2 of 2 new or added lines in 1 file covered. (100.0%)

4287 of 5219 relevant lines covered (82.14%)

0.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 copilot_draft_diff - 20290803884.1 17 Dec 2025 03:42AM UTC 6
98.8
GitHub Action Run
2 copilot_storage_integration - 20290803884.2 17 Dec 2025 03:41AM UTC 5
57.18
GitHub Action Run
3 copilot_reporting - 20290803884.3 17 Dec 2025 03:41AM UTC 5
73.17
GitHub Action Run
4 orchestrator - 20290803884.4 17 Dec 2025 03:41AM UTC 2
63.38
GitHub Action Run
5 copilot_schema_validation_integration - 20290803884.5 17 Dec 2025 03:41AM UTC 6
49.55
GitHub Action Run
6 copilot_metrics - 20290803884.6 17 Dec 2025 03:41AM UTC 5
56.83
GitHub Action Run
7 copilot_embedding - 20290803884.7 17 Dec 2025 03:41AM UTC 3
92.16
GitHub Action Run
8 embedding - 20290803884.8 17 Dec 2025 03:42AM UTC 2
90.64
GitHub Action Run
9 reporting-ui - 20290803884.9 17 Dec 2025 03:41AM UTC 1
0.0
GitHub Action Run
10 copilot_vectorstore_integration - 20290803884.10 17 Dec 2025 03:41AM UTC 7
23.15
GitHub Action Run
11 summarization - 20290803884.11 17 Dec 2025 03:42AM UTC 2
90.91
GitHub Action Run
12 copilot_logging - 20290803884.12 17 Dec 2025 03:42AM UTC 5
93.94
GitHub Action Run
13 copilot_auth - 20290803884.13 17 Dec 2025 03:41AM UTC 7
98.98
GitHub Action Run
14 copilot_events_integration - 20290803884.14 17 Dec 2025 03:41AM UTC 9
46.2
GitHub Action Run
15 copilot_events - 20290803884.15 17 Dec 2025 03:41AM UTC 9
63.77
GitHub Action Run
16 copilot_archive_fetcher - 20290803884.16 17 Dec 2025 03:42AM UTC 9
68.27
GitHub Action Run
17 reporting - 20290803884.17 17 Dec 2025 03:41AM UTC 2
88.51
GitHub Action Run
18 copilot_schema_validation - 20290803884.18 17 Dec 2025 03:40AM UTC 6
90.0
GitHub Action Run
19 copilot_chunking - 20290803884.19 17 Dec 2025 03:41AM UTC 2
93.67
GitHub Action Run
20 copilot_archive_fetcher_integration - 20290803884.20 17 Dec 2025 03:41AM UTC 9
46.99
GitHub Action Run
21 copilot_consensus - 20290803884.21 17 Dec 2025 03:41AM UTC 3
98.64
GitHub Action Run
22 ingestion - 20290803884.22 17 Dec 2025 03:41AM UTC 2
80.3
GitHub Action Run
23 chunking - 20290803884.23 17 Dec 2025 03:41AM UTC 2
68.88
GitHub Action Run
24 parsing - 20290803884.24 17 Dec 2025 03:41AM UTC 6
83.49
GitHub Action Run
25 copilot_summarization - 20290803884.25 17 Dec 2025 03:41AM UTC 8
93.42
GitHub Action Run
26 copilot_vectorstore - 20290803884.26 17 Dec 2025 03:42AM UTC 7
69.89
GitHub Action Run
27 copilot_config - 20290803884.27 17 Dec 2025 03:41AM UTC 10
77.57
GitHub Action Run
28 copilot_storage - 20290803884.28 17 Dec 2025 03:42AM UTC 5
64.81
GitHub Action Run
Source Files on build 20290803884
  • Tree
  • List 109
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20290803884
  • 32a46386 on github
  • Prev Build on main (#20290401855)
  • Next Build on main (#20316014317)
  • 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