If code is predictable then it should be extracted into reusable functions/classes/modules and reused in accordance to DRY principle. I'm not a fan of this AI future where coding standards drop to the floor because humans won't be reading that code anymore.
Predictable and redundant are not the same thing. Also, DRY is not a hard rule. Applying DRY like it's a rule creates bad code.