LDAR-Sim / LDAR_Sim

MIT License
11 stars 20 forks source link

Initial sites flagging bugfix #263

Closed ThomasGalesloot closed 2 months ago

ThomasGalesloot commented 2 months ago

Pull Request Key Information

Reason for change

An edge was discovered in which the sites with emissions detected on the first day of the simulation were not being correctly flagged due to logic put in place to prevent redundant flagging of sites with tagged emissions.

What was changed

The logic was updated to allow for the flagging of sites with emissions detected on the first day of the simulation.

Intended Purpose

Resolve the discovered bug.

Level of version change required

Patch

Testing Completed

All unit tests pass: unit_test_results.txt

Manually tested

Target Issue

N/A

Additional Information

This change has a side effect of allowing potentially redundant flagging of sites in the specific edge case that they receive a tagging and a flagging survey from 2 different method on the same day. Previously, this would result in the flagged method being unable to flag the site, whereas now, it can.