Answer prose round 2: resolvedRef names its two fields, checkCalcFields and refuseTwiceDrawn read on one pass, refuseSingleRead says why a calc's read stands, street_delivery states both rules, and Template.Fake claims nothing about names
This commit is contained in:
@@ -135,8 +135,9 @@ class Nearest:
|
||||
|
||||
|
||||
def street_delivery(name, codes):
|
||||
"""The codes delivered to a street: the digit after the postort's own prefix is 0 or 1 for boxes and 8 for reply mail
|
||||
outside ONE_POSITION's cities, per docs/research/research-geo-se.md, Postal codes → Structure."""
|
||||
"""The codes delivered to a street. Outside ONE_POSITION's cities, the digit after the postort's own prefix is 0 or 1
|
||||
for boxes and 8 for reply mail; inside them, a second digit 0 marks boxes.
|
||||
Per docs/research/research-geo-se.md, Postal codes → Structure."""
|
||||
if name in ONE_POSITION:
|
||||
return [c for c in codes if c[1] != "0"]
|
||||
largest = collections.Counter(c[:3] for c in codes).most_common(1)[0][1]
|
||||
|
||||
Reference in New Issue
Block a user