{"id":25126234,"url":"https://github.com/danlessa/cadcad-tweaked","last_synced_at":"2025-04-23T07:15:27.077Z","repository":{"id":51345126,"uuid":"346547517","full_name":"danlessa/cadCAD-tweaked","owner":"danlessa","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-08T19:30:27.000Z","size":21101,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-23T07:15:21.404Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danlessa.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-11T01:57:11.000Z","updated_at":"2021-12-13T22:20:28.000Z","dependencies_parsed_at":"2022-08-26T10:40:25.111Z","dependency_job_id":null,"html_url":"https://github.com/danlessa/cadCAD-tweaked","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danlessa%2FcadCAD-tweaked","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danlessa%2FcadCAD-tweaked/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danlessa%2FcadCAD-tweaked/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danlessa%2FcadCAD-tweaked/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danlessa","download_url":"https://codeload.github.com/danlessa/cadCAD-tweaked/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250386840,"owners_count":21422040,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-08T09:19:31.342Z","updated_at":"2025-04-23T07:15:26.998Z","avatar_url":"https://github.com/danlessa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WARNING! this is a tweaked version of cadCAD for optimizing performance!!!!\n\n## Included tweaks\n\n- Using shallow copies instead of deepcopies. \n  - Massive performance and memory improvements on simulations with highly nested variables. \n  - Known side-effects: keeping track of the history of nested objects must be done manually. Eg, you must pass a `copy()` or a `deepcopy()` before mutating it.\n- Multiprocessing pools instead of multi-threading pools. \n  - Will allow to make full use of the CPUs during the simulations  \n  - Known side-effects: care must be taken when generating random numbers, else they can be all equal. Mitigate by generating the random state manually: `np.random.RandomState().random`\n- Progress bars for simulation execution\n\n# Original README\n\n```\n                  ___________    ____\n  ________ __ ___/ / ____/   |  / __ \\\n / ___/ __` / __  / /   / /| | / / / /\n/ /__/ /_/ / /_/ / /___/ ___ |/ /_/ /\n\\___/\\__,_/\\__,_/\\____/_/  |_/_____/\nby cadCAD                  ver. 0.4.28\n======================================\n       Complex Adaptive Dynamics       \n       o       i        e\n       m       d        s\n       p       e        i\n       u       d        g\n       t                n\n       e\n       r\n```\n***cadCAD*** is a Python package that assists in the processes of designing, testing and validating complex systems \nthrough simulation, with support for Monte Carlo methods, A/B testing and parameter sweeping. \n\n# Getting Started\n\n#### Change Log: [ver. 0.4.28](CHANGELOG.md)\n\n[Previous Stable Release (No Longer Supported)](https://github.com/cadCAD-org/cadCAD/tree/b9cc6b2e4af15d6361d60d6ec059246ab8fbf6da)\n\n## 0. Pre-installation Virtual Environments with [`venv`](https://docs.python.org/3/library/venv.html) (Optional):\nIf you wish to create an easy to use virtual environment to install cadCAD within, please use python's the built in `venv` package.\n\n***Create** a virtual environment:*\n```bash\n$ python3 -m venv ~/cadcad\n```\n\n***Activate** an existing virtual environment:*\n```bash\n$ source ~/cadcad/bin/activate\n(cadcad) $\n```\n\n***Deactivate** virtual environment:*\n```bash\n(cadcad) $ deactivate\n$\n```\n\n## 1. Installation: \nRequires [\u003e= Python 3.6.13](https://www.python.org/downloads/) \n\n**Option A: Install Using **[pip](https://pypi.org/project/cadCAD/0.4.28/)** \n```bash\npip3 install cadCAD\n```\n\n**Option B:** Build From Source\n```\npip3 install -r requirements.txt\npython3 setup.py sdist bdist_wheel\npip3 install dist/*.whl\n```\n\n## 2. Documentation:\n* [Simulation Configuration](documentation/README.md)\n* [Simulation Execution](documentation/Simulation_Execution.md)\n* [Policy Aggregation](documentation/Policy_Aggregation.md)\n* [Parameter Sweep](documentation/System_Model_Parameter_Sweep.md)\n* [Display System Model Configurations](documentation/System_Configuration.md)\n\n## 3. Connect:\nFind other cadCAD users at our [Discourse](https://community.cadcad.org/). We are a small but rapidly growing community.\n\n## 4. [Contribute!](CONTRIBUTING.md)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanlessa%2Fcadcad-tweaked","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanlessa%2Fcadcad-tweaked","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanlessa%2Fcadcad-tweaked/lists"}