Comments (5)
Hey @arvindshmicrosoft, thanks for reporting this. I'm looking into it.
As far as the exception goes, that crashes the executor for the single patient. It should not impact the rest of the population.
from synthea.
@arvindshmicrosoft thanks for the update. The log for Wauwatosa, Wisconsin was especially helpful because it allowed me to reproduce the issue within a reasonable sized population.
The root of the issue is a method that converts BMI percentile into an actual BMI for an individual. For the case causing the issue in Wauwatosa, the individual has a BMI in the ~99.74th percentile. Given other parameters in the equation, this high value caused a component to flip from positive to negative, which causes the entire method to return NaN
. The issue is somewhat rare because the code path also requires that the simulated individual undergoes successful weight loss in their late teenage years and then regress in weight management where their period of weight regression overlaps their 20th birthday. This is where the code switches from pediatric to adult weight management algorithms.
I should be able to put together a PR to fix this particular issue next week.
from synthea.
Hi @arvindshmicrosoft! I'm having a hard time reproducing this issue. Two questions:
- Are you only seeing the NaN issue? I have seen a few other stack traces while running simulations, but not this one.
- Could you run
unzip -p synthea-with-dependencies.jar META-INF/MANIFEST.MF
and put the output in a comment? I want to make sure we are working from the exact same jar file.
from synthea.
Hi @arvindshmicrosoft! I'm having a hard time reproducing this issue. Two questions:
- Are you only seeing the NaN issue? I have seen a few other stack traces while running simulations, but not this one.
- Could you run
unzip -p synthea-with-dependencies.jar META-INF/MANIFEST.MF
and put the output in a comment? I want to make sure we are working from the exact same jar file.
Sure, here we go @eedrummer. Note that I have built from source - commit 6192ed7 (latest as of 2023-10-07).
Manifest-Version: 1.0
Main-Class: App
Build-Timestamp: 2023-10-06T21:17:14.165+0000
Build-Version:
Created-By: Gradle 8.2.1
Build-Jdk: 11.0.20 (Red Hat, Inc. 11.0.20+8-LTS)
Build-OS: Linux amd64 4.18.0-477.27.1.el8_8.x86_64
Unfortunately, I don't seem to have the old logs available. I found some other runs - where the same exception is reported. There are multiple cities for which this was observed, but as a representative example, I am sharing the logs for Austin, TX. You'll notice some other exceptions in this as well, but there are other cities with just the setVitalSign
exception, like this one for Wauwatosa, WI.
from synthea.
@eedrummer Thank you for fixing this issue. I no longer see this issue with the current code.
from synthea.
Related Issues (20)
- Condition.category for SDoH conditions
- Transition Type Distributed is not distributing the data according to provided weight HOT 2
- Using a Keep Module results in extra data in hospital/practitionerInfo files
- NullPointerException seen in various executions HOT 3
- Examine very high percentile height and weight simulations
- Export filter keeps all instances of a condition type when an active instance exists
- RuntimeException: unexpected value -1 within Framingham.stroke10Year (VitalSign.SYSTOLIC_BLOOD_PRESSURE is -1) HOT 2
- Update correct SNOMED code for “Fiberoptic bronchoscopy”
- Single patient seed flag -ps doesn't work with re-attempted patient seeds
- Malformed input or input contains unmappable characters HOT 2
- insuranceExpenses field malformed on json export HOT 1
- Question (Not an issue) | Generate patients for hospitals in multiple cities under same the organization.
- Invalid SNOMED code in some SDoH HRSN Condition resources HOT 3
- Covid CVX code failing validation
- Validation errors on synthetichealth.github.io/synthea/ extensions HOT 3
- Patient height and weight values extremely low HOT 3
- request to add Exercise Vital Sign to Observation generated datasets
- BFD exporter issue
- Error: "Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0." HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from synthea.