Skip to content
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

LCFS - BUG - Summary line 17 error #1643

Open
4 tasks
airinggov opened this issue Jan 9, 2025 · 0 comments
Open
4 tasks

LCFS - BUG - Summary line 17 error #1643

airinggov opened this issue Jan 9, 2025 · 0 comments
Assignees
Labels
bug Something isn't working Compliance Reporting High High priority ticket but not critical at this time

Comments

@airinggov
Copy link
Collaborator

Describe the Bug:
Low carbon fuel target summary line 17 is incorrectly applying compliance unit deficits from the report, resulting in double applying the deficit (line 18). Line 17 should display the available compliance units for the compliance period before any changes made from the report itself.

Expected Behaviour:
Line 17 should show the available compliance units for the compliance period without applying any compliance unit adjustments from the report.

Actual Behaviour:
Line 17 currently applies compliance unit deficits from the report, which leads to double application of the deficit (once on line 17 and again on line 18).

Implications:
This issue causes incorrect calculation and display of compliance units, potentially leading to inaccurate reporting and decision-making.

Steps To Reproduce:

  1. Log in to the system and navigate to the Low Carbon Fuel Target summary.
  2. Generate a report for the compliance period.
  3. Review line 17 in the summary to verify that compliance unit deficits from the report are incorrectly applied.
  4. Observe that line 18 also applies the same deficit, resulting in double application.

Acceptance Criteria:

  • Investigate the calculation logic applied on line 17.
  • Ensure line 17 reflects the available compliance units for the compliance period without applying adjustments from the report.
  • Confirm that line 18 correctly applies compliance unit deficits, without duplication of adjustments from line 17.
  • Verify calculations and test with multiple reports to ensure correctness.

Additional Notes:

  • The root cause likely lies in the logic or formula applied to line 17 during the report generation process.
  • Ensure proper testing and validation after making adjustments to avoid regressions elsewhere in the system.
@airinggov airinggov added bug Something isn't working Compliance Reporting High High priority ticket but not critical at this time labels Jan 9, 2025
@dhaselhan dhaselhan self-assigned this Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Compliance Reporting High High priority ticket but not critical at this time
Projects
None yet
Development

No branches or pull requests

2 participants