Skip to content

Commit

Permalink
add egp model
Browse files Browse the repository at this point in the history
  • Loading branch information
nickxbs committed Aug 20, 2024
1 parent 8912dab commit df74eff
Show file tree
Hide file tree
Showing 16 changed files with 75 additions and 60 deletions.
6 changes: 5 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,9 @@
"editor.formatOnSave": true,
"editor.detectIndentation": false,
"prettier.trailingComma": "all",
"prettier.printWidth": 140
"prettier.printWidth": 140,
"sonarlint.connectedMode.project": {
"connectionId": "https://sonar.beta.cgmsim.com",
"projectKey": "lsandini_cgmsim-lib_dcb733af-979c-4bcd-88af-267d99139342"
}
}
15 changes: 11 additions & 4 deletions src/CGMSIMsimulator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const simulator = (params: MainParams): SimulationResult => {
const isfConstant = patient.ISF;
const age = patient.AGE;
const gender = patient.GENDER;
const tz = patient?.TZ || 'UTC';

Check warning on line 41 in src/CGMSIMsimulator.ts

View workflow job for this annotation

GitHub Actions / Coverage annotations (🧪 jest-coverage-report-action)

🌿 Branch is not covered

Warning! Not covered branch

Check warning on line 41 in src/CGMSIMsimulator.ts

View workflow job for this annotation

GitHub Actions / Coverage annotations (🧪 jest-coverage-report-action)

🌿 Branch is not covered

Warning! Not covered branch

let isfActivityDependent = isfConstant;
let activityFactor = 1;
Expand Down Expand Up @@ -72,10 +73,16 @@ const simulator = (params: MainParams): SimulationResult => {
const carbsActivity = carbs(treatments, carbsAbs, isfActivityDependent, cr);

//activity calc carb
const liverActivity = liverRun(isfConstant, cr, {
physical: activityFactor,
alcohol: alcoholActivity,
});
const liverActivity = liverRun(
isfConstant,
cr,
{
physical: activityFactor,
alcohol: alcoholActivity,
},
weight,
tz,
);

const now = moment();
const orderedEntries = entries
Expand Down
2 changes: 2 additions & 0 deletions src/Types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,8 @@ type PatientInfoBase = {
AGE: number;
/** Gender of the simulated user ('Male' or 'Female'). */
GENDER: GenderType;
/** Timezone of the user. */
TZ: string;
};

/**
Expand Down
18 changes: 8 additions & 10 deletions src/liver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,23 @@ export default function (
isfConstant: number,
cr: number,
activities: { physical: number; alcohol: number },
weight: number,
timeZone: string,
): number {
const _ISF = isfConstant / 18;
const _CR = cr;
logger.debug('ISF:', isfConstant, 'CR: %o', cr);
const activityFactor = activities?.physical >= 0 ? activities.physical : 1;

Check warning on line 14 in src/liver.ts

View workflow job for this annotation

GitHub Actions / Coverage annotations (🧪 jest-coverage-report-action)

🌿 Branch is not covered

Warning! Not covered branch

Check warning on line 14 in src/liver.ts

View workflow job for this annotation

GitHub Actions / Coverage annotations (🧪 jest-coverage-report-action)

🌿 Branch is not covered

Warning! Not covered branch
const alcoholFactor =
activities?.alcohol >= 1
? 1
: activities?.alcohol >= 0
? activities.alcohol
: 0;

let alcoholFactor = 1 - Math.max(0, Math.min(1, activities?.alcohol || 0));

Check warning on line 15 in src/liver.ts

View workflow job for this annotation

GitHub Actions / Coverage annotations (🧪 jest-coverage-report-action)

🌿 Branch is not covered

Warning! Not covered branch
// the sinus and cosinus numbers vary around 1, from 0.5 to 1.5:
// sin starts at 1.0 at midnight, is max at 6AM, is again 1 at 12 AM, and minimums at 0.5 a 6 PM
// cosin starts at 1.5 at midnight, is 1 at 6AM, is minimus at 0.5 12 AM, and is 1 again at 6 PM
const { sinus, cosinus } = sinusRun(Date.now());

const { sinus, cosinus } = sinusRun(timeZone);
logger.debug('sinus: %o', sinus);
logger.debug('cosinus: %o', cosinus);

const CF = _ISF / _CR;
// let's simulate the carb impact of the liver, producing 10g of carbs / hour
// if the ISF is 2 mmol/l/U,
// and the CR is 10g/U,
Expand All @@ -34,8 +32,8 @@ export default function (

// by multiplying the liver_bgi by the sin function, the liver loog glucose production varies in a sinusoidal
// form, being maximal at 6 AM and minimal ad 6 PM

const liver = (1 - alcoholFactor) * activityFactor * (_ISF / _CR) * (10 / 60); //(mmol/l)/min
const glucosePerMinute = 0.002 * weight;
const liver = alcoholFactor * activityFactor * CF * glucosePerMinute; //(mmols/l)/min

const liver_sin = liver * sinus;
logger.debug('liver: %o', liver);
Expand Down
45 changes: 17 additions & 28 deletions src/sinus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,36 +3,25 @@ import logger from './utils';

//const logger = pino();

export default function (now: number) {
//timestamp in milliseconds;
logger.debug('timestamp in milliseconds %o', now);

// timestamp in days;
logger.debug('timestamp in days %o', now / 86400000);

// timestamp in days rounded;
logger.debug('timestamp in days rounded %o', Math.floor(now / 86400000));

//timestamp in fraction of a day;
logger.debug(
'timestamp in fraction of a day %o',
now / 86400000 - Math.floor(now / 86400000),
);

//fraction of a day in hours;
logger.debug(
'fraction of a day in hours %o',
(now / 86400000 - Math.floor(now / 86400000)) * 24,
);

//fraction of a day in hours adding 2 for UTC+2;
logger.debug(
'fraction of a day in hours adding 2 for UTC+2 %o',
(now / 86400000 - Math.floor(now / 86400000)) * 24 + 2,
);
function getCurrentHourDecimalInTimezone(timezone) {
const now = Date.now();
const hours = new Date(now).toLocaleString('en-US', {
timeZone: timezone,
hour: 'numeric',
hour12: false,
});
const minutes = new Date(now).toLocaleString('en-US', {
timeZone: timezone,
minute: 'numeric',
});
return parseFloat(hours) + parseFloat(minutes) / 60;
}

export default function (timezone: string) {
// time of the day in hours - decimals, not minutes
const hours = (now / 86400000 - Math.floor(now / 86400000)) * 24 + 2;
const hours = getCurrentHourDecimalInTimezone(timezone);
const hours2 =
(Date.now() / 86400000 - Math.floor(Date.now() / 86400000)) * 24 + 2;
logger.debug(
'time of the day in hours - using decimals, not minutes: %o',
hours.toFixed(2),
Expand Down
13 changes: 7 additions & 6 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,15 @@ const logger = pino({
export default logger;

export function isHttps(url: string | null | undefined): boolean {
if (!url) {
return false; // Return false for null or undefined input
}
if (!url) {
return false; // Return false for null or undefined input
}

// Rest of the function remains the same
const pattern = /^https:\/\//i;
return pattern.test(url);
// Rest of the function remains the same
const pattern = /^https:\/\//i;
return pattern.test(url);
}
//

export function removeTrailingSlash(str) {
return str.endsWith('/') ? str.slice(0, -1) : str;
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion test/inputTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,10 @@ export const testGenerator = (
DIA: 6,
ISF: 30,
TP: 75,
WEIGHT: 80,
WEIGHT: 250 / 3,
AGE: 51,
GENDER: 'Male',
TZ: 'Europe/Helsinki',
};
const noiseActivities = [];
const basalActivities = [];
Expand Down
8 changes: 7 additions & 1 deletion test/liver.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ describe('Liver test', () => {
jest.useRealTimers();
});
it.each([[[30, 10]], [[20, 8]], [[40, 14]]])('test liver %p', ([isf, cr]) => {
const r = liver(isf, cr, { physical: 1, alcohol: 0 });
const r = liver(
isf,
cr,
{ physical: 1, alcohol: 0 },
250 / 3,
'Europe/Helsinki',
);
expect(r).toMatchSnapshot();
});
});
22 changes: 14 additions & 8 deletions test/simulator.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ describe('simulator test', () => {
DIA: 6,
ISF: 32,
TP: 75,
WEIGHT: 80,
WEIGHT: 250 / 3,
AGE: 51,

GENDER: 'Male',
TZ: 'Europe/Rome',
};

const log = [];
Expand Down Expand Up @@ -156,10 +156,11 @@ describe('simulator test', () => {
DIA: 6,
ISF: 32,
TP: 75,
WEIGHT: 80,
WEIGHT: 250 / 3,
AGE: 51,

GENDER: 'Male',
TZ: 'Europe/Helsinki',
};

const log = [];
Expand Down Expand Up @@ -291,9 +292,10 @@ describe('simulator test', () => {
DIA: 6,
ISF: 32,
TP: 75,
WEIGHT: 80,
WEIGHT: 250 / 3,
AGE: 51,
GENDER: 'Male',
TZ: 'Europe/Helsinki',
};

const log = [];
Expand Down Expand Up @@ -433,9 +435,10 @@ describe('simulator test', () => {
DIA: 6,
ISF: 32,
TP: 75,
WEIGHT: 80,
WEIGHT: 250 / 3,
AGE: 51,
GENDER: 'Male',
TZ: 'Europe/Rome',
};

const log = [];
Expand Down Expand Up @@ -527,9 +530,10 @@ describe('Simulator', () => {
DIA: 6,
ISF: 32,
TP: 75,
WEIGHT: 80,
WEIGHT: 250 / 3,
AGE: 51,
GENDER: 'Male',
TZ: 'Europe/Helsinki',
};
// Arrange
const paramsWithoutTreatments = {
Expand Down Expand Up @@ -590,9 +594,10 @@ describe('Simulator', () => {
DIA: 6,
ISF: 32,
TP: 75,
WEIGHT: 80,
WEIGHT: 250 / 3,
AGE: 51,
GENDER: 'Male',
TZ: 'Europe/Helsinki',
};
// Arrange
const paramsWithoutProfiles = {
Expand Down Expand Up @@ -642,9 +647,10 @@ describe('Simulator', () => {
DIA: 6,
ISF: 8,
TP: 75,
WEIGHT: 80,
WEIGHT: 250 / 3,
AGE: 51,
GENDER: 'Male',
TZ: 'Europe/Helsinki',
};
const paramsWithLowIsf = {
patient,
Expand Down
3 changes: 2 additions & 1 deletion test/uva.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ describe('uva test default PATIENT', () => {
const patient: MainParamsUVA['patient'] = {
AGE: 40,
GENDER: 'Male',
WEIGHT: 80,
WEIGHT: 250 / 3,
TZ: 'Europe/Rome',
};

test('basal with gla 30 should generate flat sgv', async () => {

Check failure on line 42 in test/uva.test.ts

View workflow job for this annotation

GitHub Actions / Tests annotations (🧪 jest-coverage-report-action)

uva test default PATIENT > basal with gla 30 should generate flat sgv

Error: expect(received).toMatchSnapshot() Snapshot name: `uva test default PATIENT basal with gla 30 should generate flat sgv 1` - Snapshot - 9 + Received + 9 Object { - "Gp": 174.37007296953632, - "Gt": 131.17997187028692, - "I_": 40.61860038487993, - "Il": 1.9763325953633464, - "Ip": 2.0309722602744666, - "Isc1": 55.027252745582075, - "Isc2": 49.58499694665628, + "Gp": 172.16999363425157, + "Gt": 129.36710057913723, + "I_": 41.14442017759129, + "Il": 2.003990855337264, + "Ip": 2.0572694126441236, + "Isc1": 55.718153844257, + "Isc2": 50.207567162989385, "Qgut": 0, "Qsto1": 0, "Qsto2": 0, "W": 0, - "X": 3.1046599063967197, - "XL": 40.61196071438584, + "X": 3.6306029496153656, + "XL": 41.136798965515716, "Y": 0, "Z": 0, } at next (/home/runner/work/cgmsim-lib/cgmsim-lib/test/uva.test.ts:66:23) at Generator.next (<anonymous>) at /home/runner/work/cgmsim-lib/cgmsim-lib/node_modules/tslib/tslib.js:169:75 at new Promise (<anonymous>) at Object.__awaiter (/home/runner/work/cgmsim-lib/cgmsim-lib/node_modules/tslib/tslib.js:165:16) at Object.<anonymous> (/home/runner/work/cgmsim-lib/cgmsim-lib/test/uva.test.ts:42:66) at Object.asyncJestTest (/home/runner/work/cgmsim-lib/cgmsim-lib/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37) at /home/runner/work/cgmsim-lib/cgmsim-lib/node_modules/jest-jasmine2/build/queueRunner.js:45:12 at new Promise (<anonymous>) at mapper (/home/runner/work/cgmsim-lib/cgmsim-lib/node_modules/jest-jasmine2/build/queueRunner.js:28:19) Error: expect(received).toMatchSnapshot() Snapshot name: `uva test default PATIENT basal with gla 30 should generate flat sgv 2` - Snapshot - 240 + Received + 240 Array [ - 100.00004341832874, - 100.00063926373056, - 100.00252725636639, - 100.00601669402415, - 100.01099554434907, - 100.01710944569565, - 100.02389868149535, - 100.03087838192683, - 100.0375807372491, - 100.04357557416272, - 100.04847929650376, - 100.05195768468967, - 100.05372546128412, - 100.05354415428017, - 100.0512190784006, - 100.04659588782322, - 100.03955696133411, - 100.03001777658238, - 100.01792337074566, - 100.00324494910879, - 99.98597668011982, - 99.96613269998977, - 99.94374433900344, - 99.91885757384973, - 99.89153070455808, - 99.8618322504741, - 99.8298390567432, - 99.79563460072384, - 99.75930748641643, - 99.72095011421546, - 99.68065751294073, - 99.63852632108264, - 99.59465390442364, - 99.5491375976088, - 99.50207405778079, - 99.45355871902687, - 99.40368533707495, - 99.35254561439477, - 99.30022889659169, - 99.2468219317042, - 99.19240868472603, - 99.137070200355, - 99.08088450762277, - 99.02392656067454, - 98.96626821054504, - 98.90797820331426, - 98.84912220052556, - 98.78976281820653, - 98.72995968125352, - 98.66976949032609, - 98.60924609874533, - 98.5484405972067, - 98.48740140440381, - 98.42617436191524, - 98.36480283193691, - 98.30332779664771, - 98.24178795817886, - 98.18021983831892, - 98.11865787723063, - 98.0571345305815, - 97.99568036460026, - 97.93432414866939, - 97.87309294514667, - 97.81201219618362, - 97.75110580737015, - 97.69039622808954, - 97.62990452851439, - 97.56965047321262, - 97.50965259136608, - 97.4499282436311, - 97.39049368569407, - 97.3313641285923, - 97.27255379588557, - 97.21407597777647, - 97.15594308228424, - 97.09816668358509, - 97.04075756763615, - 96.98372577520162, - 96.92708064240244, - 96.87083083890991, - 96.81498440390303, - 96.75954877990684, - 96.70453084462774, - 96.64993694089699, - 96.59577290483124, - 96.54204409231502, - 96.48875540390526, - 96.43591130825416, - 96.38351586414286, - 96.33157274121228, - 96.2800852394755, - 96.22905630768929, - 96.17848856065962, - 96.12838429555133, - 96.07874550726802, - 96.02957390296397, - 95.98087091574678, - 95.93263771762501, - 95.88487523175206, - 95.83758414401395, - 95.79076491400568, - 95.74441778543745, - 95.6985427960097, - 95.65313978679241, - 95.60820841114281, - 95.5637481431919, - 95.51975828592852, - 95.47623797890783, - 95.43318620560923, - 95.3906018004654, - 95.34848345558467, - 95.30682972718574, - 95.26563904176257, - 95.22490970199634, - 95.18463989242984, - 95.1448276849179, - 95.10547104386747, - 95.06656783127913, - 95.02811581160095, - 94.99011265640497, - 94.95255594889579, - 94.91544318826004, - 94.87877179386403, - 94.84253910930778, - 94.80674240634183, - 94.77137888865293, - 94.73644569552462, - 94.70193990537818, - 94.6678585391983, - 94.63419856384891, - 94.60095689528258, - 94.56813040164788, - 94.53571590629858, - 94.50371019070745, - 94.47210999728838, - 94.44091203212962, - 94.41011296764101, - 94.3797094451177, - 94.34969807722266, - 94.32007545039117, - 94.29083812715818, - 94.26198264841159, - 94.2335055355732, - 94.2054032927092, - 94.17767240857171, - 94.15030935857365, - 94.1233106066981, - 94.09667260734413, - 94.07039180711031, - 94.04446464651771, - 94.01888756167344, - 93.9936569858765, - 93.96876935116714, - 93.9442210898211, - 93.92000863578976, - 93.89612842608788, - 93.87257690212988, - 93.84935051101608, - 93.82644570676982, - 93.80385895152651, - 93.78158671667651, - 93.7596254839621, - 93.73797174652995, - 93.71662200994041, - 93.69557279313406, - 93.67482062935754, - 93.65436206704872, - 93.63419367068265, - 93.61431202157934, - 93.59471371867444, - 93.57539537925342, - 93.55635363965035, - 93.53758515591257, - 93.51908660443166, - 93.50085468254194, - 93.4828861090872, - 93.46517762495685, - 93.44772599359194, - 93.43052800146229, - 93.41358045851524, - 93.39688019859713, - 93.38042407984825, - 93.36420898507163, - 93.3482318220773, - 93.33248952400193, - 93.3169790496054, - 93.30169738354407, - 93.2866415366224, - 93.27180854602315, - 93.25719547551716, - 93.24279941565266, - 93.228617483926, - 93.2146468249331, - 93.20088461050338, - 93.18732803981628, - 93.1739743395007, - 93.16082076371889, - 93.14786459423406, - 93.13510314046367, - 93.12253373951788, - 93.11015375622416, - 93.0979605831388, - 93.08595164054525, - 93.07412437644042, - 93.06247626650887, - 93.05100481408573, - 93.03970755010897, - 93.02858203306093, - 93.01762584889984, - 93.00683661098209, - 92.99621195997503, - 92.98574956376117, - 92.97544711733413, - 92.96530234268641, - 92.95531298868976, - 92.94547683096825, - 92.93579167176468, - 92.92625533979991, - 92.91686569012683, - 92.90762060397758, - 92.89851798860602, - 92.88955577712426, - 92.88073192833473, - 92.87204442655724, - 92.86349128145203, - 92.85507052783805, - 92.84678022550807, - 92.83861845903957, - 92.83058333760269, - 92.82267299476476, - 92.81488558829199, - 92.80721929994823, - 92.79967233529167, - 92.79224292346885, - 92.7849293170066, - 92.77772979160234, - 92.77064264591222, - 92.76366620133795, - 92.75679880181231, - 92.75003881358316, + 100.00004322991686, + 100.00063492353028, + 100.00250189626965, + 100.00593128856623, + 100.01078205750811, + 100.01666662064541, + 100.02309014171705, + 100.0295325805898, + 100.03549230499027, + 100.04050767395145, + 100.04416666216194, + 100.04611008372085, + 100.04603137865107, + 100.04367454087162, + 100.038831046713, + 100.03133626887137, + 100.02106566209093, + 100.0079308973572, + 99.99187605773699, + 99.97287396968255, + 99.95092271781185, + 99.92604237335155, + 99.89827195365011, + 99.8676666208005, + 99.83429512048515, + 99.79823745705112, + 99.7595827971124, + 99.71842759135265, + 99.6748739024279, + 99.62902792576206, + 99.5809986894409, + 99.53089691922526, + 99.4788340548246, + 99.42492140392375, + 99.36926942097155, + 99.31198709837709, + 99.25318145847004, + 99.19295713534116, + 99.13141603645782, + 99.06865707473256, + 99.00477596249046, + 98.93986505952898, + 98.874013268178, + 98.80730596894692, + 98.73982499098422, + 98.67164861217178, + 98.60285158423002, + 98.53350517872221, + 98.4636772503155, + 98.39343231408644, + 98.32283163405013, + 98.25193332044589, + 98.18079243363499, + 98.10946109275176, + 98.03798858751037, + 97.96642149179964, + 97.89480377790431, + 97.82317693037456, + 97.75158005872632, + 97.68005000829865, + 97.60862146871827, + 97.5373270795314, + 97.46619753265912, + 97.39526167141297, + 97.3245465858815, + 97.25407770455755, + 97.18387888212902, + 97.11397248340091, + 97.04437946335194, + 96.97511944336169, + 96.90621078366898, + 96.83767065214292, + 96.7695150894652, + 96.70175907083494, + 96.63441656431722, + 96.56750058596371, + 96.50102325183946, + 96.43499582709119, + 96.36942877219582, + 96.30433178652639, + 96.23971384937164, + 96.17558325854382, + 96.11194766670592, + 96.04881411554557, + 95.9861890679199, + 95.92407843808986, + 95.86248762015903, + 95.8014215148259, + 95.74088455455517, + 95.68088072726606, + 95.62141359863392, + 95.56248633309325, + 95.50410171362756, + 95.4462621604253, + 95.38896974847749, + 95.33222622418715, + 95.2760330210573, + 95.22039127451895, + 95.16530183595795, + 95.11076528599406, + 95.05678194706363, + 95.00335189535245, + 94.95047497212309, + 94.89815079447743, + 94.8463787655921, + 94.79515808446234, + 94.74448775518688, + 94.69436659582371, + 94.6447932468453, + 94.59576617921861, + 94.54728370213424, + 94.49934397040658, + 94.4519449915656, + 94.40508463265867, + 94.35876062678074, + 94.31297057934735, + 94.26771197412715, + 94.22298217904604, + 94.17877845177605, + 94.13509794512082, + 94.09193771220758, + 94.04929471149647, + 94.00716581161504, + 93.96554779602776, + 93.92443736754669, + 93.88383115269161, + 93.84372570590578, + 93.80411751363316, + 93.76500299826324, + 93.72637852194828, + 93.68824039029786, + 93.65058485595571, + 93.61340812206211, + 93.57670634560678, + 93.54047564067514, + 93.5047120815916, + 93.46941170596352, + 93.4345705176278, + 93.40018448950413, + 93.36624956635681, + 93.33276166746806, + 93.29971668922462, + 93.26711050762101, + 93.23493898068054, + 93.2031979507966, + 93.17188324699664, + 93.14099068712999, + 93.11051607998176, + 93.08045522731493, + 93.05080392584154, + 93.02155796912554, + 92.9927131494183, + 92.96426525942861, + 92.93621009402885, + 92.90854345189842, + 92.88126113710616, + 92.85435896063355, + 92.8278327418391, + 92.80167830986676, + 92.77589150499796, + 92.75046817995036, + 92.72540420112318, + 92.70069544979151, + 92.67633782324991, + 92.65232723590735, + 92.62865962033419, + 92.60533092826248, + 92.58233713154122, + 92.55967422304681, + 92.53733821755117, + 92.51532515254712, + 92.49363108903366, + 92.47225211226083, + 92.45118433243651, + 92.43042388539524, + 92.40996693323069, + 92.38980966489257, + 92.36994829674896, + 92.35037907311523, + 92.33109826675053, + 92.31210217932231, + 92.2933871418409, + 92.27494951506365, + 92.2567856898709, + 92.23889208761368, + 92.2212651604346, + 92.20390139156262, + 92.18679729558225, + 92.16994941867868, + 92.15335433885878, + 92.13700866614982, + 92.1209090427755, + 92.10505214331094, + 92.08943467481723, + 92.07405337695563, + 92.05890502208327, + 92.04398641532991, + 92.02929439465697, + 92.01482583089975, + 92.00057762779278, + 91.98654672197982, + 91.9727300830081, + 91.95912471330833, + 91.94572764816051, + 91.93253595564647, + 91.91954673658921, + 91.90675712448008, + 91.89416428539411, + 91.88176541789403, + 91.8695577529234, + 91.85753855368932, + 91.84570511553548, + 91.83405476580587, + 91.82258486369903, + 91.81129280011439, + 91.80017599748992, + 91.78923190963285, + 91.77845802154205, + 91.76785184922447, + 91.75741093950428, + 91.74713286982636, + 91.73701524805367, + 91.727055712259, + 91.71725193051195, + 91.70760160066054, + 91.69810245010872, + 91.6887522355894, + 91.6795487429333, + 91.67048978683466, + 91.66157321061281, + 91.65279688597126, + 91.64415871275327, + 91.63565661869518, + 91.62728855917702, + 91.61905251697097, + 91.61094650198781, + 91.6029685510215, + 91.59511672749233, + 91.58738912118845, + 91.57978384800616, ] at next (/home/runner/work/cgmsim-lib/cgmsim-lib/test/uva.test.ts:67:19) at Generator.next (<anonymous>) at /home/runner/work/cgmsim-lib/cgmsim-lib/node_modules/tslib/tslib.js:169:75 at new Promise (<anonymous>) at Object.__awaiter (/home/runner/work/cgmsim-lib/cgmsim-lib/node_modules/tslib/tslib.js:165:16) at Object.<anonymous> (/home/runner/work/cgmsim-lib/cgmsim-lib/test/uva.test.ts:42:66) at Object.asyncJestTest (/home/runner/work/cgmsim-lib/cgmsim-lib/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37) at /home/runner/work/cgmsim-lib/cgmsim-lib/node_modules/jest-jasmine2/build/queueRunner.js:45:12 at new Promise (<anonymous>) at mapper (/home/runner/work/cgmsim-lib/cgmsim-lib/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
Expand Down

1 comment on commit df74eff

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report

Action wasn't able to generate report within GitHub comment limit. If you're facing this issue, please let me know by commenting under this issue.

Report generated by 🧪jest coverage report action from df74eff

Please sign in to comment.