Skip to content

fix: reject empty overlap expected sequences - #13

Merged
cmdr-chara merged 1 commit into
mainfrom
fix/empty-expected-sequences
Aug 18, 2026
Merged

fix: reject empty overlap expected sequences#13
cmdr-chara merged 1 commit into
mainfrom
fix/empty-expected-sequences

Conversation

@cmdr-chara

Copy link
Copy Markdown
Owner

Summary

  • reject empty expected_sequence arrays in supplemental overlap cases
  • make the validator enforce the non-empty contract stated by its own diagnostic

Why

all(...) returns True for an empty list. The existing validation therefore accepted expected_sequence: [] even though the error contract requires a non-empty list of strings. A malformed case could pass schema validation as long as other cases still provided the required skill coverage.

Scope

Only supplemental overlap-case schema validation changes; valid non-empty sequences are unaffected.

@cmdr-chara
cmdr-chara marked this pull request as ready for review August 18, 2026 22:52
@cmdr-chara
cmdr-chara merged commit 046551e into main Aug 18, 2026
1 check passed
@cmdr-chara
cmdr-chara deleted the fix/empty-expected-sequences branch August 27, 2026 17:50
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.

1 participant