Selection never fits a prediction model. Equal scores are resolved by UTF-8 animal identity. Random ranks are keyed by identity and seed, independently of input order; sampling without replacement has quota/eligible probabilities.
Arguments
- animals
Unique candidate IDs.
- n
One quota or a named quota vector exactly covering
strata.- scores
Named finite scores for all eligible animals when
methodis"score"; predictions are supplied by an external caller.- method
"random"or"score".- strata
Optional stratum labels aligned to
animals.- eligible
Logical eligibility mask aligned to
animals.- seed
Nonnegative identity-stream seed.
- oracle
Logical provenance flag explicitly marking simulation-truth selection.