EV-22: Solar and Manual never write over another writer; one rule of control #284
@@ -44,7 +44,6 @@ REF_S = "until you press Solar: CHARGER_REFUSED."
|
||||
Q3W = "tries again next quarter: CHARGER_REFUSED."
|
||||
CUTDBG = "The peak cut write failed"
|
||||
REC = "The car charger step failed"
|
||||
MANUAL_SHA = "284ce1a94bfb7a6335f224a29bddc4e0b80c36af78b5c7907031c511a6a9eaa8"
|
||||
|
||||
|
||||
class Cap(logging.Handler):
|
||||
@@ -1075,9 +1074,7 @@ check("N5: no select while the car drew (0 A not taken), over every run",
|
||||
check("N9: no exception out of a step or release in any run (every run "
|
||||
"completed), and no ERROR record on a cut try (G1)",
|
||||
not [e for r in CUT_ONLY for e in r.errs])
|
||||
check("T13/N7: ManualWriter's source is 2e09622's, byte for byte",
|
||||
hashlib.sha256(inspect.getsource(CM.ManualWriter).encode())
|
||||
.hexdigest() == MANUAL_SHA)
|
||||
# T13/N7: EV-60 review-time pin; retired by EV-22, which changes ManualWriter by design (C7, DA1)
|
||||
|
||||
|
||||
def tsrc(name):
|
||||
|
||||
Reference in New Issue
Block a user