chore: rename BuildingStockProcessor to BuildStockProcessor#34
Merged
Conversation
Base automatically changed from
feat/support-building-search
to
feat/support-resstock
July 24, 2026 09:17
Now that the shared base class supports both ComStock and ResStock, rename it (and its dataclass/module) to match NREL's actual "BuildStock" branding for the underlying analysis platform both datasets are built on: - building_stock_processor.py -> buildstock_processor.py - BuildingStockProcessor -> BuildStockProcessor - BuildingStockRelease -> BuildStockRelease - tests/test_building_stock_processor.py -> tests/test_buildstock_processor.py Updated all imports/usages in comstock_processor.py, resstock_processor.py, the test suite, pyproject.toml's mypy file list, and README.md. No behavioral changes -- purely a rename, verified with the full test suite, mypy, and pre-commit. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
nllong
force-pushed
the
chore/rename-buildstock-processor
branch
from
July 25, 2026 03:00
50dec63 to
1a6892d
Compare
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.
Summary
Renames the shared base class introduced in #32 to match NREL's actual "BuildStock" branding for the underlying analysis platform both ComStock and ResStock are built on.
What changed
Pure rename, no behavioral changes:
building_stock_processor.py→buildstock_processor.pyBuildingStockProcessor→BuildStockProcessorBuildingStockRelease→BuildStockReleasetests/test_building_stock_processor.py→tests/test_buildstock_processor.pyUpdated all imports/usages in
comstock_processor.py,resstock_processor.py, the test suite,pyproject.toml's mypyfileslist, andREADME.md. Confirmed no leftover references to the old names anywhere in the repo.Validation
uv run pytest tests/ -m unit✅ (29 passed)uv run pytest tests/ -m integration✅ (33 passed)uv run mypy✅ (7 source files)uv run pre-commit run --all-files✅grep -rn "BuildingStockProcessor\|BuildingStockRelease\|building_stock_processor" .→ no matches