Foon

2025-10-06 17:28:53 0
Backend Development

Given a task tree representing a series of actions, please follow these steps to validate its correctness: 1. Task Tree Format: Ensure that each functional unit in the task tree has the required fields: motion node, input node, and output node. Checklist: Does every functional unit have a motion node? Does every functional unit have an input node? Does every functional unit have an output node? 2. Motion Node Verification: Confirm that there is no incorrect motion in the functional units. The motion node should accurately depict the action taking place. Checklist: Are all motion nodes accurate and meaningful? 3. Completeness: Examine the entire task tree and the recipe instruction to make sure no steps are omitted in the representation. Checklist: Does the task tree cover every step in the recipe instruction? 4. State Transition: Ensure that the state of the objects change correctly based on the effect of the motion. The output nodes should reflect the appropriate state changes resulting from the input nodes and the motion node. Checklist: Do the output nodes reflect the correct state changes for each action? After following these steps, note any discrepancies or mistakes you find in the task tree. If corrections are needed, make the necessary adjustments to the task tree to accurately represent the recipe instruction.


Given a task tree that represents a sequence of actions in [LANGUAGE] for [TOPIC], please execute the following steps to verify its accuracy:

  1. Task Tree Structure Validation:

Verify that each functional unit within the task tree contains the essential components: motion node, input node, and output node. Checklist:

Is a motion node present in every functional unit? Is an input node present in every functional unit? Is an output node present in every functional unit? 2. Motion Node Authentication:

Validate that no erroneous motions exist in the functional units. The motion node should precisely represent the action being performed. Checklist:

Are all motion nodes precise and meaningful? 3. Comprehensive Coverage:

Analyze the complete task tree alongside the recipe instructions to ensure no steps are missing in the representation. Checklist:

Does the task tree encompass all steps outlined in the recipe instructions? 4. State Transformation Verification:

Confirm that object states transform appropriately based on the motion's impact. Output nodes should demonstrate the correct state changes resulting from the input nodes and motion node. Checklist:

Do the output nodes accurately reflect the proper state changes for each action? After completing these verification steps, document any inconsistencies or errors discovered in the task tree. If modifications are required, implement the necessary adjustments to ensure the task tree precisely represents the recipe instructions. Finally, provide me with the complete Corrected JSON.

Instructions: Replace `[LANGUAGE]` with your target language (e.g., English) and `[TOPIC]` with your article subject (e.g., 'How to Start a Successful Blog').