bcgov / bcgov/lcfs

Display supply history on compliance log summary page

Open
#58 0 comments 0 reactions 0 assignees View on GitHub
Compliance Reporting Needs Updating
Dominant language
Python
Stars
6
Forks
6
Avg merge
2d 7h
Merged PRs (30d)
87

Description

Title:

Display supply history on compliance log / summary page

Description:

As an IDIR user, I want to view the fuel supply history of an organization within the compliance log / summary page.

- Show supply volumes by fuel type by compliance period
- Fuel type: CNG, ethanol, biodiesel, etc. 
- Year-over-year percent changes to supply by fuel type by compliance period

Note: this data is stored in TFRS as well as CTHUB. Will need to discuss how best to gather and display this data, whether from TFRS directly or from CTHUB. In either case, we want this data displayed on an organization's compliance log/summary page for easy access (don't want to have to login to CTHUB and filter/create this data each time. 

Purpose:

So that I can quickly and easily identify trends in data as it relates to reviewing and processing compliance reports.

**Previous Description:**

Story:

As an IDIR user, I want to view the fuel supply history of an organization within the compliance log / summary page so that I can quickly and easily identify trends in data as it relates to reviewing and processing compliance reports.

Requirements:

- Show supply volumes by fuel type by compliance period
- Fuel type: CNG, ethanol, biodiesel, etc.
- Year-over-year percent changes to supply by fuel type by compliance period
- Note: this data is stored in TFRS as well as CTHUB. Will need to discuss how best to gather and display this data, whether from TFRS directly or from CTHUB. In either case, we want this data displayed on an organization's compliance log/summary page for easy access (don't want to have to login to CTHUB and filter/create this data each time.

**Screenshot:**
![2022-02-16_Supply_History_Example.png](https://images.zenhubusercontent.com/644963ac99f1d06cf29952ef/328fd226-639e-4813-a2be-c69a0ebc734e)

Contributor guide

Open the contributing guide

Research direction

Start at the compliance log/summary page entry point and trace how organization data is loaded. Review the supply-history data in TFRS and CTHUB, then resolve which source should provide fuel volumes and compliance-period comparisons. Done means the page shows volumes by fuel type and year-over-year percentage changes for each compliance period.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.