Spaces:
Sleeping
Sleeping
Update utils/block_relation_builder.py
Browse files
utils/block_relation_builder.py
CHANGED
|
@@ -2559,11 +2559,11 @@ when green flag clicked
|
|
| 2559 |
end
|
| 2560 |
"""
|
| 2561 |
|
| 2562 |
-
generated_output_json, initial_opcode_occurrences = generate_blocks_from_opcodes(initial_opcode_counts, all_block_definitions)
|
| 2563 |
-
all_generated_blocks = generate_plan(generated_output_json, initial_opcode_occurrences, pseudo_code)
|
| 2564 |
-
processed_blocks= process_scratch_blocks(all_generated_blocks, generated_output_json)
|
| 2565 |
-
print(all_generated_blocks)
|
| 2566 |
-
print("--------------\n\n")
|
| 2567 |
-
print(processed_blocks)
|
| 2568 |
-
print("--------------\n\n")
|
| 2569 |
-
print(initial_opcode_occurrences)
|
|
|
|
| 2559 |
end
|
| 2560 |
"""
|
| 2561 |
|
| 2562 |
+
# generated_output_json, initial_opcode_occurrences = generate_blocks_from_opcodes(initial_opcode_counts, all_block_definitions)
|
| 2563 |
+
# all_generated_blocks = generate_plan(generated_output_json, initial_opcode_occurrences, pseudo_code)
|
| 2564 |
+
# processed_blocks= process_scratch_blocks(all_generated_blocks, generated_output_json)
|
| 2565 |
+
# print(all_generated_blocks)
|
| 2566 |
+
# print("--------------\n\n")
|
| 2567 |
+
# print(processed_blocks)
|
| 2568 |
+
# print("--------------\n\n")
|
| 2569 |
+
# print(initial_opcode_occurrences)
|