From ed5f856f4a968edc0f0bdc4c5f49576567ba43a3 Mon Sep 17 00:00:00 2001 From: mgallagher-reid Date: Wed, 11 Dec 2024 17:08:41 +0000 Subject: [PATCH] docs: add documentation for qualifierProgression --- documentation/docs/governors/draws-governor.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/documentation/docs/governors/draws-governor.md b/documentation/docs/governors/draws-governor.md index fb9dba6ba..348324883 100644 --- a/documentation/docs/governors/draws-governor.md +++ b/documentation/docs/governors/draws-governor.md @@ -318,6 +318,23 @@ engine.qualifierDrawPositionAssignment({ --- +## qualifiersProgression + +Randomly replaces existing qualifier drawPosition assignments in the MAIN draw with qualified participants from the QUALIFYING draw. + +Fills as many qualifier drawPositions as possible with qualified participants, e.g. if there are 4 qualifier drawPositions and 2 currently qualified participants, only 2 will be assigned. + +```js +engine.qualifierProgression({ + drawDefinition, + event, + mainStructureId, + tournamentRecord, +}); +``` + +--- + ## removeDrawDefinitionExtension ```js