Version: bat 0.26.1 (979ba22)

Plain source:
# Synthetic fixture; no device access.
def to_celsius(raw):
    return raw / 16

print(to_celsius(400))
print(to_celsius(-1))

Lines 3:5:
    return raw / 16

print(to_celsius(400))

JSON:
{"device":"demo-01","temperature_c":25,"ok":true}

Numbered source (spaces may vary):
   1 # Synthetic fixture; no device access.
   2 def to_celsius(raw):
   3     return raw / 16
   4 
   5 print(to_celsius(400))
   6 print(to_celsius(-1))

PASS: version, plain, range, JSON, numbers, missing file, unchanged samples
