renaming SimCAD to cadCAD

This commit is contained in:
Markus 2019-02-14 22:35:28 -02:00
parent eaf2f4d291
commit 2d4b7b612c
14 changed files with 19 additions and 18 deletions

3
.gitignore vendored
View File

@ -11,4 +11,5 @@ results
simulations/.ipynb_checkpoints
build
SimCAD.egg-info
cadCAD.egg-info
SimCAD.egg-info

View File

@ -9,7 +9,7 @@ Aided Design of economic systems. An economic system is treated as a state based
set of endogenous and exogenous state variables which are updated through mechanisms and environmental \
processes, respectively. Behavioral models, which may be deterministic or stochastic, provide the evolution of \
the system within the action space of the mechanisms. Mathematical formulations of these economic games \
treat agent utility as derived from state rather than direct from action, creating a rich dynamic modeling framework.
treat agent utility as derived from state rather than direct from action, creating a rich dynamic modeling framework.
Simulations may be run with a range of initial conditions and parameters for states, behaviors, mechanisms, \
and environmental processes to understand and visualize network behavior under various conditions. Support for \
@ -21,7 +21,7 @@ SimCAD is written in Python 3.
```bash
pip install -r requirements.txt
python3 setup.py sdist bdist_wheel
pip install dist/SimCAD-0.1-py3-none-any.whl
pip install dist/cadCAD-0.2-py3-none-any.whl
```
**2. Configure Simulation:**
@ -76,7 +76,7 @@ for raw_result, tensor_field in run2.main():
print()
```
The above can be run in Jupyter.
The above can be run in Jupyter.
```bash
jupyter notebook
```

View File

@ -1,2 +0,0 @@
name = "SimCAD"
configs = []

2
cadCAD/__init__.py Normal file
View File

@ -0,0 +1,2 @@
name = "cadCAD"
configs = []

View File

@ -2,8 +2,8 @@ from functools import reduce
from fn.op import foldr
import pandas as pd
from SimCAD.utils import key_filter
from SimCAD.configuration.utils.behaviorAggregation import dict_elemwise_sum
from cadCAD.utils import key_filter
from cadCAD.configuration.utils.behaviorAggregation import dict_elemwise_sum
class Configuration:
@ -122,7 +122,7 @@ class Processor:
pass
# Also for backwards compatibility, we accept partial state update blocks both as list or dict
# No need for a deprecation warning as it's already raised by SimCAD.utils.key_filter
# No need for a deprecation warning as it's already raised by cadCAD.utils.key_filter
if (type(m)==list):
for v in m:
rename_keys(v)

View File

@ -1,9 +1,9 @@
from pathos.multiprocessing import ProcessingPool as Pool
from SimCAD.utils import flatten
from SimCAD.configuration import Processor
from SimCAD.configuration.utils import TensorFieldReport
from SimCAD.engine.simulation import Executor as SimExecutor
from cadCAD.utils import flatten
from cadCAD.configuration import Processor
from cadCAD.configuration.utils import TensorFieldReport
from cadCAD.engine.simulation import Executor as SimExecutor
class ExecutionMode:

View File

@ -1,6 +1,6 @@
from copy import deepcopy
from fn.op import foldr, call
from SimCAD.engine.utils import engine_exception
from cadCAD.engine.utils import engine_exception
id_exception = engine_exception(KeyError, KeyError, None)

BIN
dist/cadCAD-0.2-py3-none-any.whl vendored Normal file

Binary file not shown.

BIN
dist/cadCAD-0.2.tar.gz vendored Normal file

Binary file not shown.

View File

@ -1,6 +1,6 @@
from setuptools import setup, find_packages
long_description = "SimCAD is a differential games based simulation software package for research, validation, and \
long_description = "cadCAD is a differential games based simulation software package for research, validation, and \
Computer Aided Design of economic systems. An economic system is treated as a state based model and defined through \
a set of endogenous and exogenous state variables which are updated through mechanisms and environmental processes, \
respectively. Behavioral models, which may be deterministic or stochastic, provide the evolution of the system \
@ -10,9 +10,9 @@ long_description = "SimCAD is a differential games based simulation software pac
processes to understand and visualize network behavior under various conditions. Support for A/B testing policies, \
monte carlo analysis and other common numerical methods is provided."
setup(name='SimCAD',
version='0.1',
description="SimCAD: a differential games based simulation software package for research, validation, and \
setup(name='cadCAD',
version='0.2',
description="cadCAD: a differential games based simulation software package for research, validation, and \
Computer Aided Design of economic systems",
long_description = long_description,
url='https://github.com/BlockScience/DiffyQ-SimCAD',