Skip to content

isogram: document test maintenance and round-trip check (R58-T002) - #77

Open
utkarsh21022009-boop wants to merge 1 commit into
S-AI-Projects:mainfrom
utkarsh21022009-boop:student/e26b07f0710-R58-T002
Open

utkarsh21022009-boop wants to merge 1 commit into
S-AI-Projects:mainfrom
utkarsh21022009-boop:student/e26b07f0710-R58-T002

Conversation

@utkarsh21022009-boop

@utkarsh21022009-boop utkarsh21022009-boop commented Nov 19, 2026 •

Copy link
Copy Markdown

Pull Request

Pull Request

R58-T002: Make the isogram test-generation path reproducible

Description

Documented and verified the route from exercises/practice/isogram/.meta/tests.toml to exercises/practice/isogram/src/test/java/IsogramCheckerTest.java for Task R58-T002. Confirmed that test files in this track are hand-maintained rather than generated via per-exercise Jinja templates, and verified round-trip consistency across multiple temporary copies.

Related Issue

Fixes: #2

Type of Change

  • Bug Fix
  • New Feature
  • UI/UX Improvement
  • Performance Improvement
  • Tests
  • Documentation
  • Refactoring / Maintenance
  • CI/CD

Changes Made

  • Added docs/maintenance/isogram.md documenting the hand-maintained test suite structure, canonical UUID mapping (all 14 cases), and rationales for the three named anchor cases.
  • Implemented work/R58-T002/check.py using Python subprocess and temporary isolation to verify canonical test coverage, learner stub integrity, and reference implementation execution.
  • Added standalone course check tools/course_checks/r58-t002.py.
  • Recorded execution evidence in work/R58-T002/results.json and work/R58-T002/latest-result.json.
  • Confirmed learner stub src/main/java/IsogramChecker.java remains unsolved (UnsupportedOperationException) and completely unmodified.

Screenshots / Recordings

Not applicable — no UI changes.

Testing

  • Ran the automated verification suite: python3 work/R58-T002/check.py
  • Executed isolated reference tests via Gradle: ./gradlew test --no-daemon
  • Results:
    • 14 tests executed, 14 passed, 0 failures, 0 errors, 0 skipped.
    • Three named anchor cases verified:
      1. testEmptyString() (a0e97d2d-669e-47c7-8134-518a1e2c4555 -> "empty string")
      2. testLowercaseIsogram() (9a001b50-f194-4143-bc29-2af5ec1ef652 -> "isogram with only lower case characters")
      3. testNotIsogram() (8ddb0ca3-276e-4f8b-89da-d95d5bae78a4 -> "word with one duplicated character")
    • Two fresh generation/read passes yielded identical tests after timestamp normalization.
    • Deliberate mutant failure and zero-test selection were correctly rejected with non-zero exit codes.

Checklist

  • I have tested my changes locally.
  • I have added or updated tests, if needed.
  • I have updated documentation, if needed.
  • I have followed the project's coding guidelines.
  • I have run the relevant tests and checks.
  • I have addressed previous review feedback, if applicable.

Additional Notes

This PR uses the assigned working branch student/e26b07f0710-R58-T002. All 14 tests pass against the reference solution, and the working tree starter files remain unchanged.


Reviewer Resources:

Track Policies


Reviewer Resources:

Track Policies

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.

UTKARSH . — R58-T002: Make the isogram test-generation path reproducible [exercises/practice/isogram]

1 participant