createSampleDocuments generates test documents with rotating priorities
(count int)
| 133 | |
| 134 | // createSampleDocuments generates test documents with rotating priorities |
| 135 | func createSampleDocuments(count int) []ReviewRequest { |
| 136 | priorities := []string{"high", "medium", "low"} |
| 137 | docs := make([]ReviewRequest, count) |
| 138 | for i := 0; i < count; i++ { |
| 139 | docs[i] = ReviewRequest{ |
| 140 | DocumentID: fmt.Sprintf("DOC-%03d", i+1), |
| 141 | Content: fmt.Sprintf("Document content for review #%d. This is a sample compliance document.", i+1), |
| 142 | Priority: priorities[i%len(priorities)], |
| 143 | } |
| 144 | } |
| 145 | return docs |
| 146 | } |
| 147 | |
| 148 | // createSimpleReviewWorkflow creates a basic document review workflow |
| 149 | // that simulates automated review with random scoring |
no outgoing calls
no test coverage detected