Skip to content

Keep results visible in missing-number challenges - #305

Open
wrestle-R wants to merge 1 commit into
msbelaid:masterfrom
wrestle-R:fix/289-missing-operands
Open

wrestle-R wants to merge 1 commit into
msbelaid:masterfrom
wrestle-R:fix/289-missing-operands

Conversation

@wrestle-R

Copy link
Copy Markdown

What

When a missing-number question hides the result, it asks the same thing as a regular arithmetic question. This change keeps the result visible and hides either operand in addition, subtraction, multiplication, and division. The regression test checks the displayed equation and answer validation for all four operations.

Closes #289

Checklist

  • ./gradlew ktlintCheck passes
  • ./gradlew test passes
  • Paparazzi snapshots updated (recordPaparazziDebug) if UI changed
  • Uses design system components and tokens
  • New strings added to values/strings.xml (English only)
  • Tested on a device or emulator

All 61 tests in the challenges module passed when compiled with Kotlin and run directly with JUnit 4. The Gradle runs timed out during build setup, so the Gradle test suite, ktlint, detekt, APK build, and Android Lint are unverified locally. No device or emulator testing was performed.

Copilot AI balanced review requested due to automatic review settings November 23, 2026 19:31

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@codecov

codecov Bot commented Nov 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions

Copy link
Copy Markdown

APK size

Release APK
master 4.05 MB
this PR 4.05 MB (+0.0 KB, +0.00%)

Release build signed with the CI test key, at 55b8cd1.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing-number challenges repeat easy questions at higher levels

2 participants