Skip to content

21 debug run model for first run#23

Merged
alxsmith merged 16 commits intomainfrom
21-debug-run_model-for-first-run
Aug 29, 2025
Merged

21 debug run model for first run#23
alxsmith merged 16 commits intomainfrom
21-debug-run_model-for-first-run

Conversation

@alxsmith
Copy link
Copy Markdown
Contributor

@alxsmith alxsmith commented Aug 28, 2025

Fixed mostly minor bugs
Big refactor of compute bills - had to do separate method chains because polars cannot create and reference a new column in one chain, broke out calculations as functions so they are easier to read and can be explicitly tested

lots of deptry nonsense

added run_example.py - its messy but confirms the code can run

@alxsmith alxsmith linked an issue Aug 28, 2025 that may be closed by this pull request
@alxsmith alxsmith requested a review from karpdave August 28, 2025 20:49
)
.alias("nonconverts_gas_bill_per_user"),
pl.lit(0).alias("converts_gas_bill_per_user"),
pl.struct(["electric_inflation_adjusted_revenue_requirement", "electric_num_users"])
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: electric_bill_per_user calc belongs in section Fifth

@alxsmith alxsmith merged commit 0716e0b into main Aug 29, 2025
7 checks passed
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.

debug run_model for first run

2 participants