Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ body:
attributes:
label: Charge code
placeholder: >
If you are at NREL and fixing this bug is urgent, please provide a charge code
If you are at NLR and fixing this bug is urgent, please provide a charge code
Copy link

Copilot AI Dec 3, 2025

Choose a reason for hiding this comment

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

The abbreviation "NLR" appears to be a typo. It should be "NREL" (National Renewable Energy Laboratory) to match the organization name.

Suggested change
If you are at NLR and fixing this bug is urgent, please provide a charge code
If you are at NREL and fixing this bug is urgent, please provide a charge code

Copilot uses AI. Check for mistakes.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ body:
attributes:
label: Charge code
placeholder: >
If you are at NREL and implementing this feature is urgent, please provide a charge code
If you are at NLR and implementing this feature is urgent, please provide a charge code
Copy link

Copilot AI Dec 3, 2025

Choose a reason for hiding this comment

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

The abbreviation "NLR" appears to be a typo. It should be "NREL" (National Renewable Energy Laboratory) to match the organization name.

Suggested change
If you are at NLR and implementing this feature is urgent, please provide a charge code
If you are at NREL and implementing this feature is urgent, please provide a charge code

Copilot uses AI. Check for mistakes.
8 changes: 4 additions & 4 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ type: software
authors:
- family-names: Pinchuk
given-names: Pavlo
affiliation: National Renewable Energy Laboratory
affiliation: National Laboratory of the Rockies
Copy link

Copilot AI Dec 3, 2025

Choose a reason for hiding this comment

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

The affiliation "National Laboratory of the Rockies" appears to be incorrect. It should be "National Renewable Energy Laboratory" to match the organization name.

Copilot uses AI. Check for mistakes.
orcid: 'https://orcid.org/0000-0003-4736-4728'
- family-names: Castelão
given-names: Guilherme
affiliation: National Renewable Energy Laboratory
affiliation: National Laboratory of the Rockies
Copy link

Copilot AI Dec 3, 2025

Choose a reason for hiding this comment

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

The affiliation "National Laboratory of the Rockies" appears to be incorrect. It should be "National Renewable Energy Laboratory" to match the organization name.

Copilot uses AI. Check for mistakes.
orcid: 'https://orcid.org/0000-0002-6765-0708'
- family-names: Lopez
given-names: Anthony
affiliation: National Renewable Energy Laboratory
affiliation: National Laboratory of the Rockies
Copy link

Copilot AI Dec 3, 2025

Choose a reason for hiding this comment

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

The affiliation "National Laboratory of the Rockies" appears to be incorrect. It should be "National Renewable Energy Laboratory" to match the organization name.

Copilot uses AI. Check for mistakes.
orcid: 'https://orcid.org/0000-0002-5006-1675'
- family-names: Buster
given-names: Grant
affiliation: National Renewable Energy Laboratory
affiliation: National Laboratory of the Rockies
Copy link

Copilot AI Dec 3, 2025

Choose a reason for hiding this comment

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

The affiliation "National Laboratory of the Rockies" appears to be incorrect. It should be "National Renewable Energy Laboratory" to match the organization name.

Copilot uses AI. Check for mistakes.
orcid: 'https://orcid.org/0000-0001-8616-8100'
identifiers:
- type: doi
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ license = "BSD-3-Clause"
rust-version = "1.87.0"
repository = "https://github.com/NREL/COMPASS"
categories = ["data-structures", "science"]
keywords = ["NREL", "database", "energy", "ordinance"]
keywords = ["NLR", "database", "energy", "ordinance"]
Copy link

Copilot AI Dec 3, 2025

Choose a reason for hiding this comment

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

The keyword "NLR" appears to be a typo. It should be "NREL" (National Renewable Energy Laboratory) to match the organization name.

Suggested change
keywords = ["NLR", "database", "energy", "ordinance"]
keywords = ["NREL", "database", "energy", "ordinance"]

Copilot uses AI. Check for mistakes.

[workspace.dependencies]
infra-compass-db = { version = "0.0.8", path = "crates/compass" }
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Infrastructure Continuous Ordinance Mapping for Planning and Siting Systems (INF
.. |Pixi| image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/prefix-dev/pixi/main/assets/badge/v0.json
:target: https://pixi.sh

.. |SWR| image:: https://img.shields.io/badge/SWR--25--62_-blue?label=NREL
.. |SWR| image:: https://img.shields.io/badge/SWR--25--62_-blue?label=NLR
Copy link

Copilot AI Dec 3, 2025

Choose a reason for hiding this comment

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

The abbreviation "NLR" appears to be a typo. It should be "NREL" (National Renewable Energy Laboratory) to match the organization name.

Suggested change
.. |SWR| image:: https://img.shields.io/badge/SWR--25--62_-blue?label=NLR
.. |SWR| image:: https://img.shields.io/badge/SWR--25--62_-blue?label=NREL

Copilot uses AI. Check for mistakes.
:alt: Static Badge

.. |Zenodo| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.17173409.svg
Expand Down
4 changes: 2 additions & 2 deletions compass/scripts/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,12 +282,12 @@ async def process_jurisdictions_with_openai( # noqa: PLR0917, PLR0913

url_ignore_substrings = [
"wikipedia",
"nrel.gov",
"nlr.gov",
Copy link

Copilot AI Dec 3, 2025

Choose a reason for hiding this comment

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

The URL substring "nlr.gov" appears to be a typo. It should be "nrel.gov" to match the National Renewable Energy Laboratory domain.

Suggested change
"nlr.gov",
"nrel.gov",

Copilot uses AI. Check for mistakes.
"www.co.delaware.in.us/documents/1649699794_0382.pdf",
]

The above configuration would ignore all `wikipedia` articles,
all websites on the NREL domain, and the specific file located
all websites on the NLR domain, and the specific file located
Copy link

Copilot AI Dec 3, 2025

Choose a reason for hiding this comment

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

The abbreviation "NLR" appears to be a typo. It should be "NREL" (National Renewable Energy Laboratory).

Copilot uses AI. Check for mistakes.
at `www.co.delaware.in.us/documents/1649699794_0382.pdf`.
By default, ``None``.
known_local_docs : dict or path-like, optional
Expand Down
4 changes: 2 additions & 2 deletions compass/utilities/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ def __init__(

url_ignore_substrings = [
"wikipedia",
"nrel.gov",
"nlr.gov",
Copy link

Copilot AI Dec 3, 2025

Choose a reason for hiding this comment

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

The URL substring "nlr.gov" appears to be a typo. It should be "nrel.gov" to match the National Renewable Energy Laboratory domain.

Suggested change
"nlr.gov",
"nrel.gov",

Copilot uses AI. Check for mistakes.
"www.co.delaware.in.us/documents/1649699794_0382.pdf",
]

The above configuration would ignore all `wikipedia`
articles, all websites on the NREL domain, and the specific
articles, all websites on the NLR domain, and the specific
Copy link

Copilot AI Dec 3, 2025

Choose a reason for hiding this comment

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

The abbreviation "NLR" appears to be a typo. It should be "NREL" (National Renewable Energy Laboratory).

Copilot uses AI. Check for mistakes.
file located at
`www.co.delaware.in.us/documents/1649699794_0382.pdf`.
By default, ``None``.
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.0.6"
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
description = "Command line application to manage and query NREL's INFRA-COMPASS data"
description = "Command line application to manage and query NLR's INFRA-COMPASS data"
Copy link

Copilot AI Dec 3, 2025

Choose a reason for hiding this comment

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

The abbreviation "NLR" appears to be a typo. It should be "NREL" (National Renewable Energy Laboratory) to match the organization name.

Suggested change
description = "Command line application to manage and query NLR's INFRA-COMPASS data"
description = "Command line application to manage and query NREL's INFRA-COMPASS data"

Copilot uses AI. Check for mistakes.
homepage = "https://github.com/NREL/COMPASS"
repository = "https://github.com/NREL/COMPASS"
license.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/compass/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
description = "Parse and manage the NREL's INFRA-COMPASS data"
description = "Parse and manage the NLR's INFRA-COMPASS data"
Copy link

Copilot AI Dec 3, 2025

Choose a reason for hiding this comment

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

The abbreviation "NLR" appears to be a typo. It should be "NREL" (National Renewable Energy Laboratory) to match the organization name.

Suggested change
description = "Parse and manage the NLR's INFRA-COMPASS data"
description = "Parse and manage the NREL's INFRA-COMPASS data"

Copilot uses AI. Check for mistakes.
homepage = "https://github.com/NREL/COMPASS"
repository.workspace = true
license.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/compass/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#![deny(missing_docs)]

//! NREL's ordinance database
//! NLR's ordinance database
Copy link

Copilot AI Dec 3, 2025

Choose a reason for hiding this comment

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

The abbreviation "NLR" appears to be a typo. It should be "NREL" (National Renewable Energy Laboratory).

Suggested change
//! NLR's ordinance database
//! NREL's ordinance database

Copilot uses AI. Check for mistakes.
mod error;
mod scraper;
Expand Down
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

project = "COMPASS"
copyright = "2025, Alliance for Sustainable Energy, LLC"
author = "NREL: Paul Pinchuk, Guilherme Pimenta Castelao"
author = "NLR: Paul Pinchuk, Guilherme Pimenta Castelao"
Copy link

Copilot AI Dec 3, 2025

Choose a reason for hiding this comment

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

The abbreviation "NLR" appears to be a typo. It should be "NREL" (National Renewable Energy Laboratory).

Suggested change
author = "NLR: Paul Pinchuk, Guilherme Pimenta Castelao"
author = "NREL: Paul Pinchuk, Guilherme Pimenta Castelao"

Copilot uses AI. Check for mistakes.

pkg = os.path.dirname(os.path.abspath(os.path.dirname(__file__)))
pkg = os.path.dirname(pkg)
Expand Down Expand Up @@ -128,7 +128,7 @@

html_context = {
"display_github": True,
"github_user": "nrel",
"github_user": "nlr",
Copy link

Copilot AI Dec 3, 2025

Choose a reason for hiding this comment

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

The GitHub username "nlr" appears to be a typo. It should be "nrel" to match the actual GitHub organization hosting the repository (github.com/NREL/COMPASS).

Suggested change
"github_user": "nlr",
"github_user": "nrel",

Copilot uses AI. Check for mistakes.
"github_repo": "COMPASS",
"github_version": "main",
"conf_py_path": "/docs/source/",
Expand Down
4 changes: 2 additions & 2 deletions examples/execution_basics/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ You can also specify LLM credentials and endpoint details directly in the config
Note that while this can be convenient for quick testing, storing credentials in plaintext is not recommended for production environments.

**SSL Configuration**
Set ``verify_ssl`` to ``false`` in ``file_loader_kwargs`` to bypass certificate verification errors, especially useful when running behind the NREL VPN.
Set ``verify_ssl`` to ``false`` in ``file_loader_kwargs`` to bypass certificate verification errors, especially useful when running behind the NLR VPN.
Copy link

Copilot AI Dec 3, 2025

Choose a reason for hiding this comment

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

The abbreviation "NLR" appears to be a typo. It should be "NREL" (National Renewable Energy Laboratory).

Suggested change
Set ``verify_ssl`` to ``false`` in ``file_loader_kwargs`` to bypass certificate verification errors, especially useful when running behind the NLR VPN.
Set ``verify_ssl`` to ``false`` in ``file_loader_kwargs`` to bypass certificate verification errors, especially useful when running behind the NREL VPN.

Copilot uses AI. Check for mistakes.
If you're not using the VPN, it's best to leave this value as the default (``true``).

**OCR Integration**
Expand Down Expand Up @@ -215,5 +215,5 @@ After completion, you'll find several outputs in the ``out_dir``:
- **Metadata Files**: JSON files describing metadata parameters corresponding to your run.
- **Logs and Debug Files**: Helpful for reviewing LLM prompts and tracing any issues.

You can now use these outputs for downstream analysis, visualization, or integration with other NREL tools like
You can now use these outputs for downstream analysis, visualization, or integration with other NLR tools like
Copy link

Copilot AI Dec 3, 2025

Choose a reason for hiding this comment

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

The abbreviation "NLR" appears to be a typo. It should be "NREL" (National Renewable Energy Laboratory) to match the organization name.

Suggested change
You can now use these outputs for downstream analysis, visualization, or integration with other NLR tools like
You can now use these outputs for downstream analysis, visualization, or integration with other NREL tools like

Copilot uses AI. Check for mistakes.
`reVX setbacks <https://nrel.github.io/reVX/misc/examples.setbacks.html>`_.
1 change: 1 addition & 0 deletions examples/execution_basics/config_kitchen_sink.json5
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
// useful to filter out known noise
"wiki",
"nrel.gov",
"nlr.gov",
Copy link

Copilot AI Dec 3, 2025

Choose a reason for hiding this comment

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

The URL substring "nlr.gov" appears to be a typo. It should be "nrel.gov" to match the National Renewable Energy Laboratory domain.

Suggested change
"nlr.gov",

Copilot uses AI. Check for mistakes.
"openei.org",
"windexchange.energy.gov",
// but can also be very specific if needed
Expand Down
4 changes: 2 additions & 2 deletions pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ maintainers = [
{name = "Guilherme Castelão", email = "gpimenta@nrel.gov"},
]
license = "BSD-3-Clause"
keywords = ["COMPASS", "NREL", "Ordinance", "Database"]
keywords = ["COMPASS", "NLR", "Ordinance", "Database"]
Copy link

Copilot AI Dec 3, 2025

Choose a reason for hiding this comment

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

The keyword "NLR" appears to be a typo. It should be "NREL" (National Renewable Energy Laboratory) to match the organization name and other references throughout the codebase.

Suggested change
keywords = ["COMPASS", "NLR", "Ordinance", "Database"]
keywords = ["COMPASS", "NREL", "Ordinance", "Database"]

Copilot uses AI. Check for mistakes.
requires-python = ">= 3.12"
classifiers=[
"Development Status :: 4 - Beta",
Expand Down