Skip to content

Fix spec complexities and add complexity tracking to run command#105

Merged
tobi merged 1 commit intomainfrom
tobi/track-complexity
Jan 6, 2026
Merged

Fix spec complexities and add complexity tracking to run command#105
tobi merged 1 commit intomainfrom
tobi/track-complexity

Conversation

@tobi
Copy link
Member

@tobi tobi commented Jan 6, 2026

Summary

  • Fix spec expected values to match liquid-ruby behavior (ranges, nil handling, blank/empty semantics)
  • Add complexity tracking to the run command showing max complexity reached
  • 581 specs now pass at complexity 10-320, with max reached complexity metric

Changes

  • Runner now tracks and reports max complexity reached alongside pass/fail counts
  • Fixed spec bugs: nested_bracket_access, split_empty_string, replace_with_empty_search, range expansion, etc.
  • Updated blank/empty and error handling specs to reflect liquid-ruby behavior

🤖 Generated with Claude Code

Show all specs that ran (passed + failed) instead of separating into
tested/untested. Max complexity reached indicator remains unchanged.

🤖 Generated with Claude Code

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@tobi tobi merged commit a15dbf6 into main Jan 6, 2026
1 of 2 checks passed
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