Summary
Two bugs both relating to the link color table: resolution of bug 1 led to appearance of bug 2.
COVID-19_simulated_ContactTracing.csv
COVID-19_simulated_NodeList.csv
Bug 1:
In some scenarios, the link color table could be incorrect. This showed up as counts being incorrect and colors could be repeated. For instance, one dataset would say 30 epi only links, 0 genetic distance only links and 30 duo links when actually it should have be 29 epi only links, 19 epi, and 11 duo. It was setting all the genetic only links as duo-link. Also it would set both type of links as the same color, resulting in duo links appearing as a solid line. To generate this bug, use data set attached. Load node list first, then launch, then add the contact tracing file and update. Link color variable kept as default value, origin.
Bug was resolved in commit 8072d0a and appropriate cypress tests were added.
Bug 2:
Resolution of bug 1 introduced a new bug. This bug led to link color table being incorrect with null values. This could show up with default dataset or with dataset attached. To recreate, change link color variable to contact type. The link color table would not show a (Empty) row (links where contact type = null). Additionally 2 rows would be set to the same light blue color (null value links would be the same light blue color as well).
Bug was resolved in commit 82ea1f8 and appropriate cypress test was added.
Summary
Two bugs both relating to the link color table: resolution of bug 1 led to appearance of bug 2.
COVID-19_simulated_ContactTracing.csv
COVID-19_simulated_NodeList.csv
Bug 1:
In some scenarios, the link color table could be incorrect. This showed up as counts being incorrect and colors could be repeated. For instance, one dataset would say 30 epi only links, 0 genetic distance only links and 30 duo links when actually it should have be 29 epi only links, 19 epi, and 11 duo. It was setting all the genetic only links as duo-link. Also it would set both type of links as the same color, resulting in duo links appearing as a solid line. To generate this bug, use data set attached. Load node list first, then launch, then add the contact tracing file and update. Link color variable kept as default value, origin.
Bug was resolved in commit 8072d0a and appropriate cypress tests were added.
Bug 2:
Resolution of bug 1 introduced a new bug. This bug led to link color table being incorrect with null values. This could show up with default dataset or with dataset attached. To recreate, change link color variable to contact type. The link color table would not show a (Empty) row (links where contact type = null). Additionally 2 rows would be set to the same light blue color (null value links would be the same light blue color as well).
Bug was resolved in commit 82ea1f8 and appropriate cypress test was added.