However, in the world of software, I'd never even consider applying to a company that bans drug use. It's none of their business what I do after work and there's practically no liability at stake for a large majority of the work that I do. I'd be insulted if asked to take a test, and I'd quit on the spot.
They're all subject to random drug tests, under the same policy as the train drivers. I think it's done to be fair to all staff, whether their current work is in a potentially dangerous position or not.
Its a straight up escort you out of the building firing offense with your appeal being a blood test at the local clinic. Showing up to work drunk is also a firing offense for comparison.
It just depends on where you work, and people need to understand what situation they are in.
I ask because a high CBD strain may be better for you, it's very relaxing without many of the other psychological effects, and typically the strains have very little/next to no THC.
But I guess the possibility of a test failure would still be lurking.... there are also pure CBD capsules and tinctures. Just a thought.