You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/SIL.XForge.Scripture/ClientApp/src/app/translate/draft-generation/new-draft/new-draft-logic-handler.spec.ts
Copy file name to clipboardExpand all lines: src/SIL.XForge.Scripture/ClientApp/src/app/translate/draft-generation/new-draft/new-draft-logic-handler.ts
+33-4Lines changed: 33 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -699,12 +699,42 @@ export class NewDraftLogicHandler {
699
699
}
700
700
}
701
701
702
+
/**
703
+
* The scripture range to withhold from the training options, so that training data never overlaps what is being
704
+
* drafted. It is not simply selectedDraftingScriptureRange, which holds only the chapters the source can draft and
705
+
* is submitted verbatim as the draft request. What counts as "being drafted" for this purpose depends on how the
706
+
* book was selected:
707
+
*
708
+
* - Partial-eligible book: the user was shown a chapter selector, so only the chapters they chose count. Those are
709
+
* withheld, and the book's remaining chapters stay available for training (the "draft some, train on the rest" case).
710
+
* - Whole-book draft: no chapter selector was offered, so the whole book counts as being drafted, including the
711
+
* chapters the source cannot draft. The entire book is withheld, so those chapters are not silently offered as
0 commit comments