Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

bptk-py

Package Overview
Dependencies
Maintainers
1
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bptk-py - npm Package Compare versions

Comparing version
2.2.1
to
2.2.2
+5
-1
bptk_py.egg-info/PKG-INFO
Metadata-Version: 2.4
Name: bptk-py
Version: 2.2.1
Version: 2.2.2
Summary: A python simulation engine for System Dynamics & Agent based models

@@ -83,2 +83,6 @@ Author-email: transentis <support@transentis.com>

### 2.2.2
* Fix issue in external state adapter
### 2.2.1

@@ -85,0 +89,0 @@

+1
-2

@@ -129,4 +129,3 @@ # /`-

"""
global logfire_enabled
# If Logfire is enabled and available, return the actual Logfire span directly

@@ -133,0 +132,0 @@ if logfire_enabled and LOGFIRE_AVAILABLE:

Metadata-Version: 2.4
Name: bptk-py
Version: 2.2.1
Version: 2.2.2
Summary: A python simulation engine for System Dynamics & Agent based models

@@ -83,2 +83,6 @@ Author-email: transentis <support@transentis.com>

### 2.2.2
* Fix issue in external state adapter
### 2.2.1

@@ -85,0 +89,0 @@

@@ -44,2 +44,6 @@ # Business Prototyping Toolkit for Python

### 2.2.2
* Fix issue in external state adapter
### 2.2.1

@@ -46,0 +50,0 @@

@@ -15,3 +15,3 @@ from setuptools import setup

def get_version():
return '2.2.1'
return '2.2.2'

@@ -18,0 +18,0 @@ setup(version=get_version(),

@@ -181,3 +181,19 @@ from BPTK_Py.server import BptkServer

"round"
],
"settings":{
"firstManager":{
"scenario1":
{
"points":{
"round":[
(1.0, 2.0),
(2.0, 4.0),
(3.0, 6.0),
(4.0, 8.0),
(5.0, 10.0)
]
}
}
}
}
}

@@ -213,2 +229,3 @@

assert data["firstManager"]["scenario1"]["outflow"]["1.0"]==100.0 , "outflow should have value 100.0"
assert data["firstManager"]["scenario1"]["round"]["1.0"]==2.0 , "round should have value 2.0"
response = client.post(f'{instance_uuid}/run-step', data=json.dumps(make_run_content(400.0)), content_type='application/json')

@@ -223,2 +240,3 @@ assert response.status_code == 200, "run-step should return 200"

assert data["firstManager"]["scenario1"]["outflow"]["2.0"]==100.0 , "outflow should have value 100.0"
assert data["firstManager"]["scenario1"]["round"]["2.0"]==4.0 , "round should have value 4.0"
response = client.post(f'{instance_uuid}/run-step', data=json.dumps(make_run_content(400.0)), content_type='application/json')

@@ -232,2 +250,3 @@ assert response.status_code == 200, "run-step should return 200"

assert data["firstManager"]["scenario1"]["outflow"]["3.0"]==100.0 , "outflow should have value 100.0"
assert data["firstManager"]["scenario1"]["round"]["3.0"]==6.0 , "round should have value 6.0"

@@ -234,0 +253,0 @@ response = client.post(f'{instance_uuid}/run-step', data=json.dumps(make_run_content(400.0)), content_type='application/json')

Sorry, the diff of this file is too big to display