2 ms·
def accept_grant(application): return random.choice([True, False])
by blibble 9mo ago
def accept_grant(application):
return random.choice([True, False])
- deleted 9mo ago[deleted]
- Hamuko 9mo agoIs this the classic model?
- gs17 9mo agoNo, that accepts far too many grants. You'd need to add weights=[1, 100] to it.
- layer8 9mo agoThe article is about grant termination, not the acceptance of applications.
- blibble 9mo agoturns out this function works just as well for that too
- Machado117 9mo agoonly 50% of the time
- lcnPylGDnU4H9OF 9mo agoI think I'd have to reject it in review. The parameter is not used and should therefore be prepended with an underscore or literally be named "_" to signal such to a reader.