计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
nvidia-nemo-rl-error-handling【效率与协作】Error handling guidelines for NeMo-RL. Covers exception specificity, minimal try bodies, and else blocks.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
When using try-except blocks, limit the except to the smallest set of errors possible.
Don't:
try:
open(path, "r").read()
except:
print("Failed to open file")
Do:
try:
open(path, "r").read()
except FileNotFoundError:
print("Failed to open file")