Skip to content

Commit

Permalink
Repairing duplicate xml
Browse files Browse the repository at this point in the history
  • Loading branch information
mariopaolucci committed Aug 2, 2019
1 parent 842e9a3 commit e722b82
Show file tree
Hide file tree
Showing 3 changed files with 120 additions and 4 deletions.
116 changes: 116 additions & 0 deletions experiments-xml/rp0.2/rp0.2-OC-noreport.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE experiments SYSTEM "behaviorspace.dtd">
<experiments>
<experiment name="rp0.2" repetitions="1" runMetricsEveryStep="true">
<setup></setup>
<go>setup</go>
<final>show (word "Time elapsed:" timer)
dump-networks
</final>
<!-- assuming 40 years -->
<timeLimit steps="1"/>
<!-- 1. Number of OC members per time unit (tentatively month) -->
<metric>o1</metric>
<metric>initial-random-seed</metric>
<!-- PARAMETERS -->
<enumeratedValueSet variable="intervention">
<value value="&quot;baseline&quot;"/>
</enumeratedValueSet>
<!-- 1. Number of OC members -->
<enumeratedValueSet variable="num-oc-persons">
<value value="30"/>
</enumeratedValueSet>
<!-- PALERMO SETUP -->
<enumeratedValueSet variable="data-folder">
<value value="&quot;inputs/palermo/data/&quot;"/>
</enumeratedValueSet>
<!-- 3a. Employment rate and education rate must vary together -->
<enumeratedValueSet variable="unemployment-target">
<value value="30"/>
</enumeratedValueSet>
<!-- 3b. Education rate -->
<enumeratedValueSet variable="education-rate">
<value value="1"/>
</enumeratedValueSet>
<!-- 4. Law enforcement intervention rate -->
<enumeratedValueSet variable="number-arrests-per-year">
<value value="30"/>
</enumeratedValueSet>
<!-- 5. Punishment length -->
<enumeratedValueSet variable="punishment-length">
<value value="1.0"/>
</enumeratedValueSet>
<!-- 2. Criminal rate -->
<enumeratedValueSet variable="number-crimes-yearly-per10k">
<value value="2000"/>
</enumeratedValueSet>
<!-- FIXED parameters -->
<enumeratedValueSet variable="num-oc-families">
<value value="8"/>
</enumeratedValueSet>
<enumeratedValueSet variable="num-persons">
<value value="1000"/>
</enumeratedValueSet>
<enumeratedValueSet variable="welfare-support">
<value value="&quot;none&quot;"/> <!-- overriden by intervention -->
</enumeratedValueSet>
<enumeratedValueSet variable="output?">
<value value="false"/>
</enumeratedValueSet>
<enumeratedValueSet variable="intervention-start">
<value value="13"/> <!-- overriden by intervention -->
</enumeratedValueSet>
<enumeratedValueSet variable="social-support">
<value value="&quot;none&quot;"/> <!-- overriden by intervention -->
</enumeratedValueSet>
<enumeratedValueSet variable="intervention-end">
<value value="36"/> <!-- overriden by intervention -->
</enumeratedValueSet>
<enumeratedValueSet variable="nat-propensity-threshold">
<value value="1"/>
</enumeratedValueSet>
<enumeratedValueSet variable="oc-embeddedness-radius">
<value value="2"/>
</enumeratedValueSet>
<enumeratedValueSet variable="threshold-use-facilitators">
<value value="4"/>
</enumeratedValueSet>
<enumeratedValueSet variable="ticks-per-year">
<value value="12"/>
</enumeratedValueSet>
<enumeratedValueSet variable="percentage-of-facilitators">
<value value="0.005"/>
</enumeratedValueSet>
<enumeratedValueSet variable="nat-propensity-sigma">
<value value="0.25"/>
</enumeratedValueSet>
<enumeratedValueSet variable="targets-addressed-percent">
<value value="10"/> <!-- overriden by intervention -->
</enumeratedValueSet>
<enumeratedValueSet variable="nat-propensity-m">
<value value="1"/>
</enumeratedValueSet>
<enumeratedValueSet variable="OC-members-scrutinize?">
<value value="false"/>
</enumeratedValueSet>
<enumeratedValueSet variable="family-intervention">
<value value="&quot;none&quot;"/> <!-- overriden by intervention -->
</enumeratedValueSet>
<enumeratedValueSet variable="max-accomplice-radius">
<value value="2"/>
</enumeratedValueSet>
<enumeratedValueSet variable="ticks-between-intervention">
<value value="1"/> <!-- overriden by intervention -->
</enumeratedValueSet>
<enumeratedValueSet variable="retirement-age">
<value value="65"/>
</enumeratedValueSet>
<enumeratedValueSet variable="OC-boss-repression?">
<value value="false"/> <!-- overriden by intervention -->
</enumeratedValueSet>
<enumeratedValueSet variable="criminal-rate">
<value value="1.0"/>
</enumeratedValueSet>
</experiment>
</experiments>

4 changes: 2 additions & 2 deletions experiments-xml/rp0.2/rp0.2-OC-speedtest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@
<metric>o11</metric>
<!-- 12. Number of law enforcement interventions per time unit -->
<metric>o12</metric>
<!-- Other reporters for debug and check -->
<metric>o12</metric>
<!-- 13. age structure of offenses -->
<metric>o13</metric>
<!-- 14. co-offenses per turn. A vector of co-offenses the side of the index, starting with zero. -->
Expand All @@ -53,6 +51,8 @@
<metric>o15</metric>
<!-- 16. number of OC person offsprings recruited this tick -->
<metric>o16</metric>

<!-- Other reporters for debug and check -->
<metric>count persons</metric>
<metric>count links</metric>
<metric>count prisoners</metric>
Expand Down
4 changes: 2 additions & 2 deletions experiments-xml/rp0.2/rp0.2-OC.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@
<metric>o11</metric>
<!-- 12. Number of law enforcement interventions per time unit -->
<metric>o12</metric>
<!-- Other reporters for debug and check -->
<metric>o12</metric>
<!-- 13. age structure of offenses -->
<metric>o13</metric>
<!-- 14. co-offenses per turn. A vector of co-offenses the side of the index, starting with zero. -->
Expand All @@ -53,6 +51,8 @@
<metric>o15</metric>
<!-- 16. number of OC person offsprings recruited this tick -->
<metric>o16</metric>

<!-- Other reporters for debug and check -->
<metric>count persons</metric>
<metric>count links</metric>
<metric>count prisoners</metric>
Expand Down

0 comments on commit e722b82

Please sign in to comment.