Skip to content

fix(server): drop hardcoded enum count from list_enumerations docstring (#5)#7

Closed
KI7MT wants to merge 1 commit into
mainfrom
daina/issue-5-enum-docstring
Closed

fix(server): drop hardcoded enum count from list_enumerations docstring (#5)#7
KI7MT wants to merge 1 commit into
mainfrom
daina/issue-5-enum-docstring

Conversation

@KI7MT

@KI7MT KI7MT commented Jun 22, 2026

Copy link
Copy Markdown
Member

Closes #5.

Change: one-line docstring fix in list_enumerations() — removes the hardcoded "25" (function actually returns 26; test_list_enumerations_count asserts 26). No logic change.

Verification: test/test_enumerations.py → 62 passed. (test_cli_test.py collection error is pre-existing on main — missing cli_test_helpers test dep, unrelated.)


Pilot note: drafted autonomously by Daina (local qwen3-coder via qwen-code, on 9975) from a spec + test-oracle, iterated to green on her own; Bob verified the diff independently (control point). Draft — 3-panel review still owed before merge; merge stays with Judge.

…ng (#5)

Docstring claimed '25 ADIF 3.1.7 enumerations' but the function returns 26
(test_list_enumerations_count asserts 26). Removed the hardcoded number so it
can't drift again. Docstring-only; no logic change. test/test_enumerations.py
green (62 passed).

Drafted autonomously by Daina (local qwen3-coder via qwen-code), verified by Bob.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@KI7MT

KI7MT commented Jun 22, 2026

Copy link
Copy Markdown
Member Author

Closing as a duplicate of #6, which makes the identical one-line docstring fix and also includes the CHANGELOG entry this PR is missing. Both close #5; #6 is the more complete artifact. (This PR was a same-fix re-do of an already-open week-old PR — keeping #6 to avoid the redundant merge.) Verification notes here remain on the thread for reference.

@KI7MT KI7MT closed this Jun 22, 2026
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.

adif__list_enumerations docstring claims '25' but returns 26 enumerations

1 participant