Problem/Motivation

Each RA field has a configurable Cutoff value. But that does not seem to work. In my project out of 1500 energy values less than 100 have a value higher than the threshold and the rest has a lower (varying) value.

Comments

Sutharsan created an issue. See original summary.

sutharsan’s picture

Status: Active » Needs review
StatusFileSize
new1.11 KB

  • Sutharsan committed d8727ab on 8.x-3.x
    Issue #2994110 by Sutharsan: Reset energy values below the threshold
    
sutharsan’s picture

Still needs tests.

sutharsan’s picture

Status: Needs review » Needs work
sutharsan’s picture

Category: Bug report » Task
Issue tags: +Needs tests
sutharsan’s picture

StatusFileSize
new557 bytes

A Test is already present that checks the cut-off:

  • profile 'decay'
  • half life: 10
  • cutoff: 30
  • initial energy: 100
  • time: 20
  • resulting energy: 0

An extra test scenario shows that without cut-off (or lower threshold) the resulting energy is 25.

  • profile 'decay'
  • half life: 10
  • cutoff: 10
  • initial energy: 100
  • time: 20
  • resulting energy: 25
sutharsan’s picture

Status: Needs work » Needs review
Issue tags: -Needs tests

  • Sutharsan committed b3f9611 on 8.x-3.x
    Issue #2994110 by Sutharsan: Reset energy values below the threshold
    
sutharsan’s picture

Status: Needs review » Fixed

  • Sutharsan committed ff629be on 4.0.x
    Ported from 8.x-3.x:
    - Issue #3213547: Use ::class constant everywhere...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.