I have observed that the car rides in the center of the lane (assuming it can see both lines) except:
1) If you are in a lane next to a curb or other "semi-permanent" obstruction (meaning an obstruction that is more than just momentary), it tends to bias to the side of the lane away from that obstruction.
2) If there is a semi-permanent obstruction on one side and another semi-permanent obstruction on the other side, I believe it would center out although I haven't encountered this yet.
3) If there is a semi-permanent obstruction on one side and a vehicle on the other, it tends to bias toward the vehicle.
4) If there are vehicles on both sides, I think it adjusts depending on where they are and how long they've been there.
IMHO it's biasing too far. Looking at the dash, my mirror is just slightly inside the lane marker. I'd rather be a little closer to the curb (which isn't going to veer) than the car next to me.