Skip to content

feat(core): add StartsWith and EndsWith evaluators - #400

Merged
refeed merged 1 commit into
StackGuardian:mainfrom
i-sayankh:feat/prefix-suffix-evaluators
Oct 14, 2026
Merged

refeed merged 1 commit into
StackGuardian:mainfrom
i-sayankh:feat/prefix-suffix-evaluators

Conversation

@i-sayankh

Copy link
Copy Markdown
Contributor

Summary

  • Add StartsWith and EndsWith evaluators with type-aware failure messages.
  • Register both evaluators in the engine and TUI schema, with reference documentation and tests.

Checks

  • Targeted evaluator and schema tests: 17 passed.
  • pytest tests/: 847 passed, 20 failed, 4 skipped. Failures are in unrelated Windows/platform/CLI cases, including Terraform-dependent tests.
  • Black passed on the changed Python files. A whole-repo Black check reports 13 existing files that would be reformatted.

Closes #380

@refeed

refeed commented Oct 14, 2026

Copy link
Copy Markdown
Member

Lgtm, thanks!

@refeed
refeed merged commit 2a82372 into StackGuardian:main Oct 14, 2026
9 checks passed
@codecov

codecov Bot commented Oct 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/tirith/core/evaluators/__init__.py 100.00% <100.00%> (ø)
src/tirith/core/evaluators/ends_with.py 100.00% <100.00%> (ø)
src/tirith/core/evaluators/starts_with.py 100.00% <100.00%> (ø)
src/tirith/tui/schema.py 100.00% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@refeed

refeed commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

Thank you so much for this contribution @i-sayankh!💙 We truly value the time and care you put into improving Tirith, and it means a lot to see the community help shape it. If you’re sharing your work on LinkedIn, don’t forget to tag StackGuardian so we can cheer you on! Keep them coming. We’re excited to see what you build next 😇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(core): add StartsWith and EndsWith evaluators

2 participants