Skip to content

Commit 0b004b7

Browse files
committed
Ensure that all models compile in headless mode
1 parent 1846629 commit 0b004b7

5 files changed

Lines changed: 14 additions & 4 deletions

File tree

HubNet Activities/Gridlock HubNet.nlogox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1483,5 +1483,5 @@ This activity and associated models and materials were created as part of the pr
14831483
<note x="12" y="10" backgroundDark="0" fontSize="11" width="142" markdown="false" height="165" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">Affect the state of your light by pressing the Change Light button, or changing the value of the Phase slider. The Phase slider controls the point in the cycle at which your light with change, and represents a percentage of the total cycle time.</note>
14841484
<monitor x="173" precision="3" y="10" height="49" fontSize="11" width="113" display="Located At:"></monitor>
14851485
</hubNetClient>
1486-
<previewCommands>need-to-manually-make-preview-for-this-model</previewCommands>
1486+
<previewCommands>startup</previewCommands>
14871487
</model>

HubNet Activities/Memory HubNet.nlogox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ end
8585
8686
to go
8787
if not any? cards [
88-
__hubnet-broadcast-user-message winner-message
88+
hubnet-broadcast-message winner-message
8989
user-message winner-message
9090
stop
9191
]

HubNet Activities/Unverified/Public Good HubNet.nlogox

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1057,5 +1057,15 @@ This activity and associated models and materials were created as part of the pr
10571057
<monitor x="85" precision="3" y="188" height="49" fontSize="11" width="92" display="Money Put In"></monitor>
10581058
<button x="17" y="246" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="238" display="pay-1-dollar-to-punish-the-rich"></button>
10591059
</hubNetClient>
1060-
<previewCommands>need-to-manually-make-preview-for-this-model</previewCommands>
1060+
<previewCommands>startup
1061+
repeat 4 [ __hubnet-create-client ]
1062+
while [ not hubnet-message-waiting? ] [
1063+
wait 0.1
1064+
]
1065+
listen-clients
1066+
ask student 0 [ set user-id "Matthew" ]
1067+
ask student 1 [ set user-id "Seth" ]
1068+
ask student 2 [ set user-id "Craig" ]
1069+
ask student 3 [ set user-id "Josh" ]
1070+
go</previewCommands>
10611071
</model>
-649 Bytes
Loading

test/benchmarks/ANN Benchmark.nlogox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1081,5 +1081,5 @@ end]]></code>
10811081
</indicator>
10821082
</shape>
10831083
</linkShapes>
1084-
<previewCommands>setup repeat 75 [ go ]</previewCommands>
1084+
<previewCommands>setup-testing repeat 75 [ ask first layers [ set-activation one-of [0 1] ] propogate ]</previewCommands>
10851085
</model>

0 commit comments

Comments
 (0)