Files
DeepTutor/deeptutor/tools/prompting/hints/en/code_execution.yaml
2026-03-13 20:42:16 +08:00

13 lines
868 B
YAML

short_description: "Describe a computation or verification task in natural language, then run generated Python code."
when_to_use: "Use when computation, algorithm checking, numerical verification, or quick prototyping is more reliable than mental calculation."
input_format: "Natural-language task description."
guideline: "Ask for the computation you need; use code execution for objective verification, not as a substitute for explaining reasoning."
note: "State the calculation goal clearly and keep the request focused on the current sub-problem."
phase: "verification"
aliases:
- name: run_code
description: "Generate and run Python code for calculation, verification, or visualization."
input_format: "Natural-language task description."
when_to_use: "Use for objective checks, quick calculations, or small experiments."
phase: "verification"