Here is an attempt to :
1/ Reduce lateness_counter by 50% when entering the first station of the shared order
2/ Continuously autofill the first vehicle timetable with a 20% correction against the actual journey duration when entering any station
It's experimental, and I notice some things that are not correct about lateness_counter, but it works pretty well though.
The change is rather smaller than I thought : only a few new lines (about 2 checks and 2 lines of new code)
-- Edit : With attached file it should be better
