Skip to content

Commit

Permalink
Merge pull request #229 from pph-collective/sn-philly
Browse files Browse the repository at this point in the history
Philadelphia
  • Loading branch information
shayla831 authored Jul 10, 2023
2 parents 8c7c653 + 04731ec commit 7ab6425
Show file tree
Hide file tree
Showing 15 changed files with 13,625 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.8

- name: Set up Poetry
run: |
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ results/*/*.txt

profile.prof
site/

.DS_Store
4 changes: 3 additions & 1 deletion tests/integration_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,9 @@ def test_agent_pop_stable_setting(tmpdir):
os.path.dirname(os.path.abspath(__file__)), "..", "titan", "settings"
)
):
if "__" not in item and item != "base":
if (
"__" not in item and item != "base" and item != "philly-gis"
): # bypass philly due to constraints
path = tmpdir.mkdir(item)
os.mkdir(os.path.join(path, "network"))
print(f"-----------Starting run for {item}-----------")
Expand Down
17 changes: 17 additions & 0 deletions titan/settings/philly-gis/assort_mix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
assort_mix:
assort_disadvantaged:
attribute: race
agent_value: disadvantaged
partner_attribute: location
partner_values:
__same__: 0.32
__neighbor__: 0.15
__other__: 0.53
assort_notdisadvantaged:
attribute: race
agent_value: notdisadvantaged
partner_attribute: location
partner_values:
__same__: 0.2
__neighbor__: 0.096
__other__: 0.704
6 changes: 6 additions & 0 deletions titan/settings/philly-gis/calibration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
calibration:
sex:
act: 1.0
partner: 1.0
acquisition: 1.0
mortality: 1.0
Loading

0 comments on commit 7ab6425

Please sign in to comment.