3 ms·
def accept_grant(application): return random.choice([True, False])
by blibble 8mo ago
def accept_grant(application):
return random.choice([True, False])
- deleted 8mo ago[deleted]
- Hamuko 8mo agoIs this the classic model?
- gs17 8mo agoNo, that accepts far too many grants. You'd need to add weights=[1, 100] to it.
- layer8 8mo agoThe article is about grant termination, not the acceptance of applications.
- blibble 8mo agoturns out this function works just as well for that too
- Machado117 8mo agoonly 50% of the time
- lcnPylGDnU4H9OF 8mo 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.