Until final line check you are a trainee captain. The training captain is the commander (who signs the tech log??).
When I went through I logged PICUS up to and including initial line check (training captain in right hand seat) and logged PIC during /after final line check (FO in RHS, training captain on jump seat).