Skip to content

Update county validators #118

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 79 commits into from
Apr 16, 2025
Merged

Update county validators #118

merged 79 commits into from
Apr 16, 2025

Conversation

ppinchuk
Copy link
Collaborator

Improve prompt on county validators. This is mainly intended to help with #34 and #39.

ppinchuk added 22 commits April 15, 2025 13:50
…h _MofNCompleteColumn for improved display of completed tasks.
@ppinchuk ppinchuk added enhancement Update to logic or general code improvements topic-python-llm Issues/pull requests related to LLMs p-high Priority: high labels Apr 16, 2025
@ppinchuk ppinchuk added this to the Solar Validation milestone Apr 16, 2025
@ppinchuk ppinchuk self-assigned this Apr 16, 2025
@ppinchuk ppinchuk merged commit 3d066c9 into main Apr 16, 2025
1 check passed
@ppinchuk ppinchuk deleted the pp/sctricter_county_validators branch April 16, 2025 01:25
github-actions bot pushed a commit that referenced this pull request Apr 16, 2025
* Add new kwargs for prompt

* Update name and jurisdiction prompts

* Don't lean so heavily on zoning, since we look for other kinds of ordinances now

* Add emphasis to prompt

* Minor prompt clarification

* Add clarifications to prompts

* Fix density description

* Add clarifier about density units

* Increase location thresh

* Fix docstring

* Add total cost to meta

* Add cost via tracker

* Optional arg

* Pass tracker to updater

* Allow Utility and commercial "tech" to be treated similarly

* Add geopandas as a dev req

* `prop_line` -> `property line`

* `struct` -> `structures`

* Format scores

* `rail` -> `railroads`

* `trans` -> `transmission`

* `density` -> `tower density`

* `max size` -> `max project size`

* `max` -> `maximum`

* `min` -> `minimum`

* Define `LLMConfig` interface and implement `OpenAIConfig`

* namespace imports

* Rename arguments

* Deprecate old class

* Update tutorial

* Rename var

* Rename function

* Emphasize numerical

* Clarification for numeric ords

* Add log call for cache

* Add ability to specify DL prog bar

* Short pause to acknowledge PB completion

* Add `TempFileCachePB` class

* Use `TempFileCachePB` class

* Update log message

* New compass exception

* Better control flow for tree evaluation

* Catch new error type

* Add `_setup_logging_levels` function

* Use new `_setup_logging_levels` function

* Refactor `_setup_cli_logging` to accept verbosity level and dynamically set libraries based on verbosity

* Update verbose option to count and adjust logging setup in CLI

* Clarify logging output message in async decision tree

* Update logging levels and messages for clarity across parsing and downloading modules

* Refactor logging setup in `_setup_logging` to only attach logging for COMPASS

* Remove unnecessary clarification about error-level messages in README for structured extraction

* Replace `logger.debug` with `logger.debug_to_file` for ordinance and text processing logs

* `DEBUG` -> `DEBUG_TO_FILE` when running script

* Logging call before progress bar starts

* `_MofNCompleteColumn` now allows customizable text style for completed/total display

* Remove SpinnerColumn from progress bar configurations and replace with _MofNCompleteColumn for improved display of completed tasks.

* Quiet OCR errors

* Update logging messages for jurisdiction count to use pluralization

* Replace `UserWarning` with `COMPASSWarning` in warning messages for ordinance extraction and county utilities

* Add warnings filter to suppress warnings during processing in CLI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Update to logic or general code improvements p-high Priority: high topic-python-llm Issues/pull requests related to LLMs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant