sunnypilot v2026.002.000

version: sunnypilot v2026.002.000 (staging)
date: 2026-07-21T07:44:02
master commit: 2c334ede443d7391d27575af8c854a095ba702a8
This commit is contained in:
github-actions[bot] committed 2026-07-21 07:44:02 +00:00
commit de77c89cf6
3995 files changed
+1260688

No files matched your search

Whitespace-only changes.
@@ -0,0 +1,25 @@
import unittest
from opendbc.car.rivian.fingerprints import FW_VERSIONS
from opendbc.car.rivian.values import CAR, FW_QUERY_CONFIG, WMI, ModelLine, ModelYear
class TestRivian(unittest.TestCase):
def test_custom_fuzzy_fingerprinting(self):
for platform in CAR:
with self.subTest(platform=platform.name):
for wmi in WMI:
for line in ModelLine:
for year in ModelYear:
for bad in (True, False):
vin = ["0"] * 17
vin[:3] = wmi
vin[3] = line.value
vin[9] = year.value
if bad:
vin[3] = "Z"
vin = "".join(vin)
matches = FW_QUERY_CONFIG.match_fw_to_car_fuzzy({}, vin, FW_VERSIONS)
should_match = year in platform.config.years and not bad
assert (matches == {platform}) == should_match, "Bad match"