Skip to content

Add unsubmitted data#266

Open
JonHunt1995 wants to merge 5 commits intomainfrom
add-unsubmitted-data
Open

Add unsubmitted data#266
JonHunt1995 wants to merge 5 commits intomainfrom
add-unsubmitted-data

Conversation

@JonHunt1995
Copy link
Collaborator

@JonHunt1995 JonHunt1995 commented Dec 14, 2025

Description

Updated data pipeline to no longer filter out buildings that have never reported data to the city. Added emoji to denote buildings that have never reported data, and added an infographic for building details as well. Finally, added logic to "Out of Date Data" to be mutually exclusive with "Building Never Submitted Data" status.

Fixes #170

Testing Instructions

I looked at a few buildings that had been marked as "❌" to check to see if they don't currently show up with the live website and that the years reported report card matches up with the "Building Never Submitted Data" status.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • If I added a large new feature, I added it to the release notes (ReleaseNotes.vue)

Data Update (if applicable):

@netlify
Copy link

netlify bot commented Dec 14, 2025

Deploy Preview for radiant-cucurucho-d09bae ready!

Name Link
🔨 Latest commit eef3f25
🔍 Latest deploy log https://app.netlify.com/projects/radiant-cucurucho-d09bae/deploys/693e4e669bc7c000084dfbac
😎 Deploy Preview https://deploy-preview-266--radiant-cucurucho-d09bae.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@JonHunt1995
Copy link
Collaborator Author

JonHunt1995 commented Dec 14, 2025

I have just noticed that a lot of the time the "never reported" buildings also commonly flag as "electric only" and I should probably change that so that doesn't happen. I also will add screenshots to the updated features and will also request some clarification on the text that should be in the building never submitted infographic.

@JonHunt1995
Copy link
Collaborator Author

I also noticed that there's warnings for data discrepancies over the report card. I should probably do the same thing for when the building never submitted.

@vkoves
Copy link
Owner

vkoves commented Dec 26, 2025

@JonHunt1995 - this PR is in draft, but did you mean for me to review it? If so, just hit "Ready for review" at the bottom next time or tag me!

@JonHunt1995 JonHunt1995 marked this pull request as ready for review December 29, 2025 04:43
@JonHunt1995
Copy link
Collaborator Author

@JonHunt1995 - this PR is in draft, but did you mean for me to review it? If so, just hit "Ready for review" at the bottom next time or tag me!

@vkoves I think this PR is ready for review. I believe the failing CI/CD tests are due to the updates on the data pipeline. I may have to make some adjustments to the text I wrote for some warning components and make additional logic changes to make the "building never submitted" status mutually exclusive with other statuses such as "100% electric". Let me know your thoughts!

@vkoves
Copy link
Owner

vkoves commented Jan 23, 2026

@JonHunt1995 - quick spot, looking at the homepage the most emissions intense section is off, I think because you're filtering by only latest year submitted. We don't do that because it meant really bad buildings that skip reporting no longer get any call outs

if latest_year_only:
cleaned_data = get_buildings_with_ghg_intensity(building_data)
cleaned_data = get_submitted_data(cleaned_data)
# cleaned_data = get_buildings_with_ghg_intensity(building_data)
Copy link
Owner

Choose a reason for hiding this comment

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

Is this meant to be commented out? If you don't want it anymore, delete it!

@vkoves
Copy link
Owner

vkoves commented Jan 23, 2026

@JonHunt1995 - could you add some sample buildings to reference and maybe a screenshot to the description? I feel like we had talked about some buildings but off-hand I can't find any 😅

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.

Show Buildings In The Benchmarking Data That Never Submitted

2 participants