Skip to content

TFRS - Potential compliance report rounding error #2835 #2861

@Grulin

Description

@Grulin

Describe the Bug
Line 15 (4% of line 14) of compliance report #2835 totals 617,030.6 resulting in a rounding scenario that brings the renewable required diesel to 616,631, while the net volume supplied by the supplier is 617,030.

Expected Behaviour
If TFRS was to not round the .6 up, then the diesel class non-compliance payable amount would be zero.

Actual Behaviour
TFRS rounding the .6 up on line 15 results in the supplier being non-compliant by 1L of renewable required diesel.

Implications
This rounding up means that this organization is in a penalty position for 2022 reporting and owes a 45 cent penalty.

Steps To Reproduce
Steps to reproduce the behaviour:
User/Role: IDIR

  1. Go to Compliance report Manual approval required for workflow run 7980308207: TFRS release-2.15.0 Prod Deployment #2835
  2. Click on 'Summary and Declaration' tab
  3. Scroll down to 'Line 22'
  4. See 0.45 non-compliance penalty

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingHighHigh priority ticket but not critical at this time

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions