Skip to content

Add smart filter to examples runner#110

Merged
alex-clickhouse merged 3 commits intomainfrom
examples-picker
Dec 4, 2025
Merged

Add smart filter to examples runner#110
alex-clickhouse merged 3 commits intomainfrom
examples-picker

Conversation

@alex-clickhouse
Copy link
Copy Markdown
Collaborator

No description provided.

@codecov
Copy link
Copy Markdown

codecov bot commented Dec 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a smart filtering system to the examples runner, enabling users to run specific examples without manually editing code. The implementation uses reflection-based discovery and fuzzy matching to find and execute examples.

Key changes:

  • Added command-line argument parsing with --list and --filter options
  • Implemented fuzzy matching for example discovery using normalized class names
  • Created ExampleRunner class to handle example discovery, filtering, and execution

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
examples/README.md Updated documentation to explain new filtering options and usage patterns
examples/Program.cs Added argument parsing logic and delegated example execution to new filtering system
examples/ExampleRunner.cs New file implementing reflection-based example discovery, fuzzy matching, and execution

Comment thread examples/Program.cs Outdated
Comment thread examples/ExampleRunner.cs Outdated
Comment thread examples/ExampleRunner.cs
Comment thread examples/ExampleRunner.cs
alex-clickhouse and others added 2 commits December 4, 2025 12:57
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@alex-clickhouse alex-clickhouse merged commit ed530bc into main Dec 4, 2025
16 checks passed
@alex-clickhouse alex-clickhouse deleted the examples-picker branch December 10, 2025 07:33
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.

2 participants