Skip to content

fix: misspelled uniqueItems, duplicate test methods, and test fixture#107

Open
k-rister wants to merge 3 commits into
masterfrom
fix-multiplex-bugs
Open

fix: misspelled uniqueItems, duplicate test methods, and test fixture#107
k-rister wants to merge 3 commits into
masterfrom
fix-multiplex-bugs

Conversation

@k-rister

@k-rister k-rister commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fix uniqeueItemsuniqueItems in schema.json — misspelling silently disabled duplicate rejection
  • Fix duplicate "include" keys in fio-multi-params-test.json — use array form to include both groups
  • Remove duplicate test_multi_params_sets in test-json.py (second shadowed first)
  • Rename duplicate test_create_validation_dict in test-requirements.py to test_create_validation_dict_single_escape
  • Fix is not {}!= {} — identity check against a new dict literal always passes

Closes #105

Test plan

  • CI passes
  • pytest tests/ passes

🤖 Generated with Claude Code

k-rister and others added 3 commits July 6, 2026 15:31
"uniqeueItems" is silently ignored by JSON Schema validators,
so duplicate items in the sets array were not rejected.

Closes: #105

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Duplicate "include" keys in JSON objects cause the first to be
silently overwritten — "common-params" was never included.  Use
the array form to include both groups.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- test-json.py: remove duplicate test_multi_params_sets (second
  definition shadowed the first, making the first dead code)
- test-requirements.py: rename duplicate test_create_validation_dict
  to test_create_validation_dict_single_escape (tests a different
  scenario — single-escape regex failure)
- test-requirements.py: change "is not {}" to "!= {}" — identity
  check against a new dict literal always passes

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@k-rister k-rister self-assigned this Jul 6, 2026
@k-rister k-rister requested a review from a team July 6, 2026 20:33
@project-crucible-tracking project-crucible-tracking Bot moved this to In Progress in Crucible Tracking Jul 6, 2026
@k-rister k-rister requested review from rafaelfolco and removed request for a team July 6, 2026 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

fix: schema uniqueItems misspelled and duplicate test methods

1 participant