Skip to main content

Document Tools

2 requirements · 8 scenarios

Paragraph-Level Read Tracking

JR-document-tools-001
The system SHALL track and report which paragraphs were accessed during filtered reading operations. For filtered reads using offset, limit, or specific paragraph identifiers, the response SHALL include a summary of accessed paragraphs. Full document reads SHALL report word count without individual paragraph detail.
4 test scenarios
  • Offset-limited read includes paragraph identifiers JR-document-tools-001.1
  • Targeted paragraph read includes identifiers JR-document-tools-001.2
  • Full document read omits paragraph detail JR-document-tools-001.3
  • Large filtered read truncates identifier list JR-document-tools-001.4

Search Results Paragraph Summary

JR-document-tools-002
The system SHALL include a summary of unique paragraphs containing search matches in search responses. Duplicate paragraph references SHALL be deduplicated, and the identifier list SHALL be truncated for large result sets.
4 test scenarios
  • Search returns matching paragraph identifiers JR-document-tools-002.1
  • Multiple matches in same paragraph deduplicated JR-document-tools-002.2
  • Large result set truncates identifier list JR-document-tools-002.3
  • No matches returns empty paragraph list JR-document-tools-002.4