bptk-py
Advanced tools
| 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 @@ |
@@ -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: |
+5
-1
| 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 @@ |
+4
-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 @@ |
+1
-1
@@ -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
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
889154
0.16%16809
0.15%