Add per-sheet include/exclude filtering to encoder CLI/API with skip metadata#37
Merged
Merged
Conversation
Agent-Logs-Url: https://github.com/kingkillery/Spreadsheet_LLM_Encoder/sessions/d65e2e40-c663-464e-ab77-abc9bb5da70f Co-authored-by: kingkillery <200727508+kingkillery@users.noreply.github.com>
Agent-Logs-Url: https://github.com/kingkillery/Spreadsheet_LLM_Encoder/sessions/d65e2e40-c663-464e-ab77-abc9bb5da70f Co-authored-by: kingkillery <200727508+kingkillery@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
kingkillery
May 13, 2026 07:12
View session
Owner
|
@copilot should we merge it? |
Contributor
Author
I’d merge once the currently running workflow for this head commit finishes green. The code on |
kingkillery
approved these changes
May 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Some multi-sheet workbooks mix many small sheets with one or more very large sheets, making all-sheet encoding unnecessarily expensive for common workflows. This change adds explicit sheet-selection controls so users can encode only relevant sheets and defer costly ones while preserving traceability in output metadata.
Sheet selection controls (CLI + Python API)
--include-sheet,--exclude-sheet(repeatable)include_sheets,exclude_sheets--include-sheet-glob,--exclude-sheet-glob,--include-sheet-regex,--exclude-sheet-regexinclude_sheet_globs,exclude_sheet_globs,include_sheet_regexes,exclude_sheet_regexesMetadata for omitted sheets and reasons
sheet_processingwithselectionmetadata:included_sheetsskipped_sheetswith per-sheet reasonsheet_processing.sheets[...]for:Downstream tolerance for deliberate sheet omission
Coverage and docs
sheet_processing.selectioncontent.