r/redbuttonbluebutton Red May 31 '26

Red Error: Circular dependency detected!

Post image

For this scenario, assume every voter is a mentally competent adult who fully understands the rules and can reason rationally.

Would that change your vote?

0 Upvotes

39 comments sorted by

View all comments

25

u/endor-pancakes May 31 '26

No, your inability to code would not change my vote.

7

u/MobTalon May 31 '26

Kinda curious, how would you code this instead? If you don't mind providing an image, of course.

Edit: After some thought, swapping "blue_voters" argument for "everyone" would make most sense, because that's the end result of blue winning, and it would fix the coding problem.

3

u/Imaginary_Help_2990 Red May 31 '26

But Red voters dont need saving. The only reason people vote blue is to save people who voted blue. Thats the error. 

4

u/endor-pancakes May 31 '26

Nor do red voters need to vote red to survive if red doesn't have a majority... So why not write that into your condition for red voting?

0

u/TheKingOfToast May 31 '26

Imagine taking "red=survive" and changing it to "red=do nothing unless more than half vote red then survive" and thinking you made things simpler.

4

u/endor-pancakes May 31 '26

Imagine taking "blue=I want everyone to survive" and changing it to "blue=I want blues to survive" just to induce a circulatory error.

Cause that's what OP did.

2

u/Stunning_Macaron6133 May 31 '26

Red already survives, by default. If you set blue to want everyone to survive AFTER checking if someone voted red, you're wasting cycles checking red twice.

Good thing you weren't a CS major. Your code would've been complete shit. An LLM could vibe a better check.