Who says they aren’t to code? Maybe they are allowed to implement accents from their native cultures? I mean we are talking about the “woke” starfleet here.
I could see Tori being allowed to wear more casual attire as a way to help put the crew at ease during sessions. But as a bridge officer and member of senior staff, yeah she should be in uniform