My car is "It's ok that the check engine light is on, you can still pass state inspection" years old.

However, "the computer" won't pass it. My mechanic thinks it's because my car was built in Oct. and is 15 and 362 days old. Cars must be "over 15" to pass w/ a check engine light on (just an EVAP code, not a safety issue).

I think some programmer made the computer look for a number that was 16 or over in the "car age" slot. Got a new appointment on Monday. Wish me luck! #ComputersWereAMistake

@jessamyn We don’t have inspections in Michigan but I bought a contraption on Amazon to figure out why my engine light was coming on and it allows me to reset it. Not sure if this would be helpful in your scenario but in case you didn’t know (I didn’t know until a woman at AutoZone told me).
@gloriousnoise Yes, I have that contraption! The issue isn't the presence of the Check Engine light it's apparently literally the program for the inspection machine computer won't let it pass and the only issue the guys could figure out was that it was not quite 16 yet. But I may do that anyhow, belt and suspenders.

@jessamyn @gloriousnoise Part of the problem with emissions-related codes is — of which I'm sure you and your mechanic are already well aware — even once reset, the car must be driven for a certain amount of time and under different conditions for it to self-check all the various emissions controls.

This is an entirely separate, absolutely annoying programming thing! I would have thought that the computer would've read "older" because vehicle model years start selling in prior calendar year. :(

@jessamyn @gloriousnoise Maybe the ECU was replaced at some point in the vehicle's history? Maybe under a recall or something, which wouldn't be as obvious and likely would've been partly into production (or well after)?

Not that it matters, just interesting to think about. I tend to agree that computers may have been a mistake, especially in vehicles. And yet, I still find them fascinating to work on.

Regardless, good luck at the next appointment!