C.W.K.
Stream
Lesson 06 of 10 · published

Step-by-step vs Open-ended

~14 min · instructions, structure, process

Level 0수련생
0 XP0/100 lessons0/14 achievements
0/120 XP to next level120 XP to go0% complete

같은 task에 두 가지 모양

모델한테 process를 실행하라고 할 수 있어 ("먼저 X, 그 다음 Y, 그 다음 Z") 또는 outcome을 달성하라고 ("X와 Y에 access 있으니 Z를 return"). 둘 다 work할 수 있어 — 다르게 실패해.

step-by-step이 이기는 때

  • task가 알려진 brittle한 순서를 가짐 (parse → validate → transform → emit).
  • traceability 필요 — 각 step의 output이 logged.
  • 모델이 overshooting하고 있어 (verification 건너뛰고 추측으로 점프).
  • tool calling 쓰는 중 — explicit step이 explicit tool call이랑 align.

open-ended가 이기는 때

  • task가 valid path 많음 (creative writing, planning).
  • step이 모델한테 obvious해서 적는 게 그냥 noise.
  • 이미 internally plan하는 reasoning model 쓰는 중.

pivot

step-by-step 프롬프트가 rote하고 mechanical한 output을 만들면 soften해. open-ended 프롬프트가 필요한 check를 skip하면 harden해. 이 다이얼을 의도적으로 움직여, 우연이 아니라.

Code

같은 task, 두 모양·markdown
# Step-by-step
1. Parse the input as JSON. If parsing fails, return {error: "bad_json"}.
2. Validate that all required fields are present. If not, list the missing fields.
3. Compute the total. Use the formula in <docs>.
4. Return {total: number, currency: "USD"}.

# Open-ended
Return the total in USD, given the JSON below. If the input is invalid, return a structured error explaining what's missing or wrong.

External links

Exercise

open-ended 프롬프트 하나를 step으로 다시 써. 같은 5개 input에 둘 다 돌려. 어느 모양이 contract-passing output을 더 많이 만들었는지, 왜.

Progress

Progress is local-only — sign in to sync across devices.
이 페이지에서 버그를 발견하셨거나 피드백이 있으세요?문제 신고

댓글 0

🔔 답글 알림 (로그인 필요)
로그인댓글을 남기려면 로그인해 주세요.

아직 댓글이 없어요. 첫 댓글을 남겨보세요.