The 2012 game was the last one i unfortunately bought and ended up being vastly disappointed and I am 100% sure that it only had one practice session.
I had a 'test' version of 2017 which i did not bother playing because of how poor the feedback through the wheel was.
I have 2015 because they gave that away for free, did a few online races with friends (4 hours total) and we went back to racing in AC.
I did a quick race against the "AI" and as soon as i went into the pits all the cars which pitted on a different lap than me jumped me, i assume it was the same sh|t as in the old ones where the "AI" despite not being quicker during the race (no pressure from them and not holding them up) went faster when being "simulated" (doing lap times from a lookup table or some lazy garbage like that) ...
I remember that it also used to do that when you fast forwarded quali in the 2012 version, especially in the wet, i was sitting through all quali sessions on track in order to prevent that ...
Their "AI" was always cheating in changing conditions as well because it never actually "drove" on the track and they never got the correlation between track conditions and fake laptimes right.
So yea ... as far as i can tell their "AI" cheated in all versions up until 2015 and at least one game only had one practice session ... the F1 games are really just the FIFA of racing games.
Maybe my memories are clouded but to me the F1 Challenge 99-02 game was better when it came to the driving than any Codemasters F1 game.