Llmで100万行のソフトウェア開発iii: オンライン対戦球面オセロを作る — 端末とサーバをまたぐところを、どう設計して、どう試験するか

Llmで100万行のソフトウェア開発iii: オンライン対戦球面オセロを作る —

0 ratings Write a review
Out of stock
jp Imported from Japan store
Our Top Logistics Partners
  • fedex
  • dhl
fast shipping

Fast
Shipping

free return

Free
Return*

secure packaging

Secure Packaging

100% original products

100% Original Products

pci-dss

PCI DSS Compliance

iso certified

ISO 27001 Certified


paypal payment
visa payment
mastercard payment
Note: Step Down Voltage Transformer required for using electronics products of JAPAN store (100 V). Recommended power converters Buy Now.

Product Details

Shop Llmで100万行のソフトウェア開発iii: オンライン対戦球面オセロを作る — 端末とサーバをまたぐところを、どう設計して、どう試験するか online at a best price in Guernsey. B0HL3VTMM1
  • 1巻『LLMで100万行のソフトウェア開発への道』では、言語モデルの弱点と、それをどう克服するかを書きました。2巻では、その考え方で、WindowsとAndroidのオセロを1本作りきりました。本書は、その続きです。題材は、ネット対戦の球面オセロです。盤を球にし、端末と4つのサーバ(web・エンジン・打ち手・DB)に分け、離れた2人が別々の端末から打てるようにします。【主題は、端末とサーバをまたぐ結合試験です】端末の中だけ、サーバ1つの中だけの試験なら、昔からあります。端末とサーバをまたぐと、それがずっと難しくなります。別のプロセスになり、呼んだ先で何が起きたかは、返り値だけでは分かりません。本書は、そこを、どう設計して、どう試験するかを書きます。【試験ケースは、設計書から起こします】1件の試験が通る道筋を「バス路線」、通ったことをログに残す所を「バス停」と呼びます。バス停をどこに置き、そこで何が正しい値かを、設計書から決めます。走らせた結果から作れば、必ず通り、何も測れません。試験仕様と試験コードは、その試験ケースから、道具が自動で作ります。【結果は、ログとJSONで、機械に判じさせます】バス停ごとに、ログの1行と、そのときの中身を持つJSONのファイルを残させます。走らせる前に書いた期待と、走らせて出た実測を、道具が全項目で突き合わせます。コードは正答を作りません。集めて、突き合わせるだけです。【言語モデルは、結合試験を作れません】言語モデルに書かせた結合試験244本のうち、204本は、メソッドを直に呼んで返り値を見るだけの形でした。本物のサーバを起こして走らせていたのは、40本だけです。書き方を知らないのです。そして、試験の仕掛けのほうが、製品より大きくなります。製品は約9千行、道具が起こした試験のコードまで数えると、その60倍を超えました。【自動化した試験に合格しても、人が画面から遊ぶと、バグが出ました】2台の端末で対戦してみると、申し込みが届かない、一覧に自分が出る、受けても盤に入らない、の3つがすぐに出ました。2人がログインしてから対戦するまでの流れが、試験ケースに1本もなかったのです。言語モデルには、ゲームで遊びたいという動機がありません。【言語モデルの弱点を、ここでも数えました】主語を取り違える。普通の言葉では使わない語を使い出す。自分で書いた原則も守らない。反省して記録しても、行いは変わらない。1巻・2巻のものと合わせて31の弱点を並べ、5年のうちにどれが消えそうかを、仕組みから見立てました。【動くものが、そのまま手に入ります】本書の球面オセロは、設計書120本もコードも、組み立て済みの端末(WindowsとAndroid)も公開しています。日本語版と英語版があります。設計書に何が書いてあり、そこからどんなコードが出たのかを、並べて見比べられます。【こんな方へ】言語モデルにコードを書かせているが、端末とサーバをまたぐと壊れる方。結合試験を、人がログを目で追うやり方から抜け出したい方。設計書から試験ケースを起こす、具体的な手順を知りたい方。開発でAIをどう統制するかを考えている技術責任者。
Publication date September 27, 2026
Language Japanese
File size 6.8 MB
Enhanced typesetting Enabled
X-Ray Not Enabled
Word Wise Not Enabled
Print length 446 pages
Page Flip Enabled
Item Weight1.5 lbs (680 grams)

Product Description

Llmで100万行のソフトウェア開発iii: オンライン対戦球面オセロを作る — 端末とサーバをまたぐところを、どう設計して、どう試験するか

Important information

  • Limitations : For products shipped internationally, please note that any manufacturer warranty may not be valid; manufacturer service options may not be available; product manuals, instructions, and safety warnings may not be in destination country languages; the products (and accompanying materials) may not be designed in accordance with destination country standards, specifications, and labeling requirements; and the products may not conform to destination country voltage and other electrical standards (requiring use of an adapter or converter if appropriate). The recipient is responsible for assuring that the product can be lawfully imported to the destination country. When ordering from Ubuy or its affiliates, the recipient is the importer of record and must comply with all laws and regulations of the destination country.
  • Not all the products listed on Ubuy are for sale, as Ubuy is a global search engine. Products are subject to export/trade regulations.