I'm not sure if this is consistent across all levels, but from my experience, every time I get the puzzle wrong, I would restart with only the choice to ask "Are you a trap", which both doors would have the same answer to. So essentially a 50/50 instead of a puzzle.
Otherwise, I really enjoyed it! I like solving riddles like this.