Ummm.... what?
Joubei, let the team know: you set variables in conditionals after they've been declared in initialization,
you don't declare variables in conditionals. This makes absolutely no sense whatsoever. All variables have one declared value... then set them as needed in the scripts via conditionals or other methods (direct setting via choices, Python functions, etc).
The above snippet... I don't think I've ever seen anything like that before... variable declarations via conditionals. It's like an oxymoron of sorts and certainly unorthodox. Maybe I haven't had enough caffeine yet but someone please school me on a base case where this would ever be acceptable in practice... this goes against every coding language documentation that I can think of tbh.