Skip to content

Log SVSBench version#18

Merged
mihaic merged 1 commit intoIntelLabs:mainfrom
mihaic:new-dynamic-version
Feb 2, 2026
Merged

Log SVSBench version#18
mihaic merged 1 commit intoIntelLabs:mainfrom
mihaic:new-dynamic-version

Conversation

@mihaic
Copy link
Member

@mihaic mihaic commented Jan 31, 2026

No description provided.

@mihaic mihaic enabled auto-merge (squash) January 31, 2026 02:49
@mihaic mihaic requested a review from Copilot January 31, 2026 02:50
Copy link

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 version logging and uncommitted code detection to SVSBench. It logs the SVSBench version at the start of each command and optionally prevents execution when uncommitted changes are detected.

Changes:

  • Switched from static versioning to dynamic versioning using hatch-vcs for Git-based version management
  • Added --uncommitted flag to allow execution despite uncommitted code changes
  • Implemented version logging and uncommitted change detection across all main entry points (build, search, compress, generate_ground_truth)

Reviewed changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
pyproject.toml Configured dynamic versioning using hatch-vcs
src/svsbench/init.py Added version retrieval from package metadata
src/svsbench/utils.py Implemented uncommitted code detection and version logging logic
src/svsbench/build.py Added version check call in main function
src/svsbench/search.py Added version check call in main function
src/svsbench/compress.py Added version check call in main function
src/svsbench/generate_ground_truth.py Added version check call in main function
tests/test_build.py Added --uncommitted flag to test cases

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mihaic mihaic requested a review from ibhati January 31, 2026 02:54
@mihaic mihaic merged commit 1de7327 into IntelLabs:main Feb 2, 2026
1 check passed
@mihaic mihaic deleted the new-dynamic-version branch February 2, 2026 19:30
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