Skip to content

Balance answer lengths to prevent longest-answer-is-correct pattern#584

Draft
Copilot wants to merge 4 commits into
mainfrom
copilot/improve-answer-lengths
Draft

Balance answer lengths to prevent longest-answer-is-correct pattern#584
Copilot wants to merge 4 commits into
mainfrom
copilot/improve-answer-lengths

Conversation

Copilot AI commented Apr 20, 2026

Copy link
Copy Markdown
Contributor

The correct answer was uniquely the longest in 177/524 questions (34%), creating a test-taking shortcut that undermines learning.

Changes

  • Expanded incorrect answers with plausible technical detail across 97 question files
  • Only answer text length changed — no correctness markings or question content modified
  • Grammar fix in foundations/question-026.md ("setup" → "set up")

Impact

Metric Before After
Significant offenders (≥1.3x ratio) 77 0
Moderate offenders (≥1.2x ratio, ≥8 char diff) 39 17

Remaining 17 have minimal diffs (8–18 chars) where further expansion would make wrong answers unnaturally verbose.

Example

 - [x] A Markdown file with natural language instructions for customizing Copilot Chat responses
-- [ ] A JSON file with security settings
-- [ ] A YAML file with build instructions
-- [ ] An XML file with deploy settings
+- [ ] A JSON file with security settings and access control policies for repository permissions
+- [ ] A YAML file with build instructions and CI/CD pipeline configuration for deployments
+- [ ] An XML file with deploy settings and infrastructure provisioning rules for environments

All 106 existing tests pass.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • fonts.googleapis.com
    • Triggering command: /opt/hostedtoolcache/node/24.14.1/x64/bin/node node /home/REDACTED/work/ghcertified/ghcertified/app/node_modules/.bin/next build (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI and others added 3 commits April 20, 2026 19:19
… longest

Fixed 77 questions across all categories where the correct answer was
significantly longer than all incorrect answers (ratio≥1.3x, diff≥10 chars).
Expanded incorrect answers with plausible detail to prevent length from
giving away the correct answer.

Agent-Logs-Url: https://github.com/FidelusAleksander/ghcertified/sessions/76dd7b3a-060e-4b84-9bcc-d7900fa3f692

Co-authored-by: FidelusAleksander <63016446+FidelusAleksander@users.noreply.github.com>
Fix additional 20 questions where correct answer was moderately longer
(ratio 1.2-1.35x). Expanded incorrect answers with plausible context
to reduce the length-based tell pattern.

Agent-Logs-Url: https://github.com/FidelusAleksander/ghcertified/sessions/76dd7b3a-060e-4b84-9bcc-d7900fa3f692

Co-authored-by: FidelusAleksander <63016446+FidelusAleksander@users.noreply.github.com>
Co-authored-by: question-review agent

Agent-Logs-Url: https://github.com/FidelusAleksander/ghcertified/sessions/76dd7b3a-060e-4b84-9bcc-d7900fa3f692

Co-authored-by: FidelusAleksander <63016446+FidelusAleksander@users.noreply.github.com>
Copilot AI changed the title [WIP] Update question answers to equal length Balance answer lengths to prevent longest-answer-is-correct pattern Apr 20, 2026
Copilot AI requested a review from FidelusAleksander April 20, 2026 19:27
@FidelusAleksander

Copy link
Copy Markdown
Owner

I'll try to go through this in a few days see if it makes sense

@FidelusAleksander FidelusAleksander marked this pull request as ready for review April 21, 2026 07:58
@github-actions github-actions Bot added actions Related to GitHub Actions exam advanced security Related to GitHub Advanced Security Exam foundations Related to GitHub Foundations exam admin Related to GitHub Admin exam content Related to the content of the site copilot Related to GitHub Copilot exam labels Apr 21, 2026
@FidelusAleksander FidelusAleksander marked this pull request as draft April 21, 2026 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

actions Related to GitHub Actions exam admin Related to GitHub Admin exam advanced security Related to GitHub Advanced Security Exam content Related to the content of the site copilot Related to GitHub Copilot exam foundations Related to GitHub Foundations exam

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Most of the time, the longest answer is correct

2 participants