Which preposition to use with trainee

in Occurrences 1%

Unverified allegations that would not pass muster with even a trainee in a national newspaper find play on the front pages.

with Occurrences 1%

Chapter 7: The banyan tree: working under Rajan Frederick NoronhaFrederick Noronha was part of the original batch of trainees with the Herald during its re-launch in 1983.

Which preposition to use with  trainee