çæAIã§ããã°ã©ãã³ã°ããã«ã¯ãã³ã¼ããå°ãããã³ãããæ¸ãã¾ãããã¹ãé§åéçº (TDD) ã§ã¯ãããã¯ãã³ã¼ããå°ããã¹ããæ¸ãã¾ãããããªãã°ã人ããã¹ããæ¸ãã¦AIã«ãããã¯ãã³ã¼ããæ¸ãã¦ããã£ããã©ãã ãããã
ããæã£ã¦å®é¨ãã¦ã¿ãã¨ãããæã£ããããã¹ã ã¼ãºã«é²ã¿ããããã¯ãã³ã¼ãã¯ã»ã¼ãã¹ã¦çæAIã ãã§å®æãã¾ããããããã¯ãã³ã¼ãã¯ãç§ãæ¸ãããã¹ãããã³æçµçãªä»æ§ãæºããã¦ãã¾ããããã¾ã§ææã§ããã以ä¸ã®ãããªå¹æãããã¾ããã
- ä»æ§ãæºãããããã¯ãã³ã¼ãããçæéã§å®æãã
- ç§ãèããè¨è¨æå³ãããã¹ããéãã¦å®è£ ã«ç¹ãããã
- ã³ã¼ãã®è©³ç´°ãªç解ã¯ãèªåã§æ¸ããã¨ãããã¯å£ã
- ãã¹ãã¨ãã¦ã®ç¶²ç¾ æ§ã¯ä¸å®å ¨ãæ®éã®TDDã¨åç¨åº¦ã§ããã¹ããç¹ã«å¤ãå¿ è¦ã¨ã¯ãªããªã
ãã¹ãã®ç¶²ç¾ æ§ãä¸å®å ¨ã¨ããã®ã¯ãç¶²ç¾ çãªãã¹ããæ¸ããªãã¦ã妥å½ãªãããã¯ãã³ã¼ããã§ããã¨ããæå³ã§ãããã§ã¯ã¡ãªããã¨ãã¦åãä¸ãã¦ãã¾ãã
TDDã¯ãã¹ããå ã«æ¸ã (ãã¹ããã¡ã¼ã¹ã) ã¨ããããã¯ããã¹ãã³ã¼ãã¨ãããã¯ãã³ã¼ããåæã«ã並è¡ãã¦å°ããã¤æ¸ã足ãã¦ããã¢ããã¼ãã§ããå°ããªãã¹ããã²ã¨ã¤æ¸ãããããã¯ãã³ã¼ããå°ãã ãæ¸ãé²ãããä»åã®å®é¨ã§ãå°ãããµã¤ã¯ã«ã§æèãã¦ã人éããã°ã©ãããã¹ããã²ã¨ã¤æ¸ããçæAIã«ãããã¯ãã³ã¼ããå°ãæ¸ãã¦ãããã¨ããç¹°ãè¿ããå®è·µãã¦ãã¾ãã
ãã£ã¦ã¿ããªãã§ãAIãå©ç¨ããTDDã®ä¸æãããæ¹ã注æç¹ãããã¤ãçºè¦ãã¾ããã
- 人ãä»æ§ãå ã«ãã¹ããæ¸ãã¦AIã«ãããã¯ãã³ã¼ããçæãã¦ãããã¨è¯ã
- å é¨è¨è¨ã«ã¤ãã¦ã®ãã¹ããæ¸ãã¦ãè¨è¨æå³ãä¼ãã
- çæçµæãã¯ãªã¢ã«ã¤ã¡ã¼ã¸ã§ããããã«ãã¹ããæ¸ããçæçµæãã¤ã¡ã¼ã¸ã¨åã£ã¦ããã確èªãã
- çæãããã³ã¼ããä¸ååãªããåé¡ãææãããã¹ããæ¸ã
- çæãããã³ã¼ããç解ã§ããªããªã£ãããå¾éãã¦ãããã¹ãã¨è¨è¨ãè¦ç´ã
- ãã¹ãã失æããããã£ããã§AIã«ç´ãã¦ãããã失ææã®å®è¡çµæã«å ãã¦ãåé¡ã対å¿æ¹éãèªã¿åã£ã¦ä¼ãã
- ãã¹ãã®æ´çãAIã«é ¼ããããã¹ãã®æ§æãã¯ã£ãããã¦ããã°ããã¹ãã®çæãé¨åçã«é ¼ãã
ä»åã®å®é¨ã«ããããã¯ãªã¨ã¼ã·ã§ã³ã©ã¤ã³æ ªå¼ä¼ç¤¾ããAnthropicã®APIãã¼ãæä¾ãã¦ããã ãã¾ãããæè¬ãããã¾ãããªãç§ (ãã£ã¨ã)ã¯ãã¯ãªã¨ã¼ã·ã§ã³ã©ã¤ã³æ ªå¼ä¼ç¤¾ãã¢ã¸ã£ã¤ã«ã³ã¼ãã¨ãã¦æ¯æ´ãã¦ãã¾ã (2024å¹´ç¾å¨)ã
ãé¡ã¯LeetCodeã®ãã®ãæ¹å¤ãããç¬èªã®ããã°ã©ãã³ã°èª²é¡ãç¨ãã¦ãã¾ããIDEã¯CursorãAIã¢ãã«ã¯claude-3.5-sonnetãè¨èªã¯Pythonã¨pytestã人éããã°ã©ãã¯ç§ã§ããå®é¨ã®æ§åã¯ã¹ããããã¤ã¹ãããã§è¨é²ããã©ã®ããã«ãã¹ãã¨ãããã¯ãã³ã¼ããæ¸ãé²ãããææ¡ã§ããããã«ãã¦ãã¾ããã¾ããçæAI対å¿IDEã§ããCursorã¨Claude3.5 Sonnetã¢ãã«ã®ä½¿ãæ¹ã®ã説æã«ããªã£ã¦ããã¨æãã¾ãã
è³æã¯é·ããªã£ã¦ãã¾ã£ãã®ã§ãGoogle Documentã§èªããããã«ãã¾ããã以ä¸ããé²è¦§ã§ãã¾ãã