Wildstash commited on
Commit
6bdd0dd
·
verified ·
1 Parent(s): 451a31a

Upload tools/verify_afterblock_demo.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. tools/verify_afterblock_demo.py +9 -2
tools/verify_afterblock_demo.py CHANGED
@@ -172,8 +172,11 @@ def main() -> int:
172
  },
173
  "main_flow_contract": {
174
  "place_in_museum_outputs": len(outputs),
175
- "has_live_paper_handoff": "Live Paper handoff" in handoff,
176
  "has_import_command_copy": "/dreamwall import" in handoff,
 
 
 
177
  "has_xyz_and_cmd": "XYZ" in handoff and "CMD" in handoff,
178
  "server_zip_output_index": 11,
179
  "handoff_output_index": 12,
@@ -220,6 +223,9 @@ def main() -> int:
220
  "checks_entry_atlas": "Living entry atlas" in plugin_source,
221
  "marks_atlas_on_import": "markLivingAtlasTarget(world, y, plotX, plotZ, title, owner)" in plugin_source,
222
  "atlas_target_marker": "Atlas target" in plugin_source,
 
 
 
223
  },
224
  },
225
  "prebuilt_world": {
@@ -246,8 +252,9 @@ def main() -> int:
246
  proof["passed"] = all(
247
  [
248
  proof["main_flow_contract"]["place_in_museum_outputs"] == 13,
249
- proof["main_flow_contract"]["has_live_paper_handoff"],
250
  proof["main_flow_contract"]["has_import_command_copy"],
 
251
  proof["main_flow_contract"]["has_xyz_and_cmd"],
252
  proof["server_config_ui_contract"]["bundle_outputs"] == 3,
253
  proof["server_config_ui_contract"]["has_install_card"],
 
172
  },
173
  "main_flow_contract": {
174
  "place_in_museum_outputs": len(outputs),
175
+ "has_run_in_minecraft_handoff": "Run in Minecraft" in handoff,
176
  "has_import_command_copy": "/dreamwall import" in handoff,
177
+ "has_visitor_import_command": "/dreamwall import" in handoff
178
+ and " | " in handoff
179
+ and "Visitor command" in handoff,
180
  "has_xyz_and_cmd": "XYZ" in handoff and "CMD" in handoff,
181
  "server_zip_output_index": 11,
182
  "handoff_output_index": 12,
 
223
  "checks_entry_atlas": "Living entry atlas" in plugin_source,
224
  "marks_atlas_on_import": "markLivingAtlasTarget(world, y, plotX, plotZ, title, owner)" in plugin_source,
225
  "atlas_target_marker": "Atlas target" in plugin_source,
226
+ "accepts_inline_visitor_import": "joinedArgs(args, inputStart)" in plugin_source
227
+ and "importInputs(inlineInput)" in plugin_source
228
+ and "Visitor config accepted" in plugin_source,
229
  },
230
  },
231
  "prebuilt_world": {
 
252
  proof["passed"] = all(
253
  [
254
  proof["main_flow_contract"]["place_in_museum_outputs"] == 13,
255
+ proof["main_flow_contract"]["has_run_in_minecraft_handoff"],
256
  proof["main_flow_contract"]["has_import_command_copy"],
257
+ proof["main_flow_contract"]["has_visitor_import_command"],
258
  proof["main_flow_contract"]["has_xyz_and_cmd"],
259
  proof["server_config_ui_contract"]["bundle_outputs"] == 3,
260
  proof["server_config_ui_contract"]["has_install_card"],