Recorded on 2026-09-23 by examples/ch11/live/11_record.bas,
against gBASIC 0.2.2.

Model:    llama3.2:3b
Running:  Ollama on this machine, http://localhost:11434
Wire:     the openai chat-completions format, which is what
          llm.local speaks. No API key. Nothing left the computer.

Every .json beside this file is the reply body exactly as it
arrived, byte for byte, and is what the chapter's examples read.

fixture                   bytes  what it is
bat-eagle-1.json          316    one answer at temperature 0.9
bat-eagle-2.json          309    one answer at temperature 0.9
bat-eagle-3.json          307    one answer at temperature 0.9
bat-eagle-4.json          318    one answer at temperature 0.9
system-terse.json         310    the same prompt, one system text
system-teacher.json       1391   the same prompt, one system text
propose-cat-dog.json      353    a proposal the game uses
json-fenced.json          426    JSON inside prose and fences
json-prose.json           856    prose instead of JSON
propose-v1.json           350    a proposal prompt that did not work
propose-v2.json           356    a proposal prompt that did not work
propose-bat-eagle.json    353    a proposal the game uses
propose-goldfish.json     354    a proposal the game uses
propose-snerg-dog.json    353    a proposal the game uses
propose-three.json        452    three at once, for exercise 1
gbasic-dim.json           548    a question about this language
gbasic-ubound.json        719    a question about this language
gbasic-date.json          369    a question about this language
gbasic-money.json         523    a question about this language

THE SAME QUESTION, FOUR TIMES, temperature 0.9
  system:
    You invent one short yes-or-no question that tells two
    animals apart. Reply with the question only, nothing else.
  prompt:
    The two animals are: a bat, and an eagle.
  -> Can either animal walk on land?
  -> Do you use echolocation?
  -> Does it have feathers?
  -> Do both species use wings to fly?

THE SAME PROMPT, TWO SYSTEM TEXTS, temperature 0

  system:
    You invent one short yes-or-no question that tells two
    animals apart. Reply with the question only, nothing else.
  it answered, in 25 characters:
    Does it use wings to fly?

  system:
    You are a patient teacher. Explain your reasoning before
    you answer.
  it answered, in 1095 characters:
    Before I can determine which animal is more likely to be
    found in the same environment as the other, I'd like to
    consider some factors.

    Bats are typically found in dark, enclosed spaces such as
    caves, attics, or forests with dense vegetation. They
    often roost in large groups and are known to inhabit areas
    with abundant insect life.

    Eagles, on the other hand, are birds of prey that prefer
    open, aerial environments like mountains, lakeshores, or
    coastal areas. They tend to nest high up in trees or on
    cliff faces, and their habitats often feature open spaces
    with minimal vegetation.

    Considering these characteristics, it's likely that an
    eagle would be found in a more open environment, while a
    bat would thrive in a darker, more enclosed space.
    However, there are some exceptions, such as caves or rocky
    outcroppings near water sources, where both bats and
    eagles might coexist.

    Without more specific information about the environment or
    location, it's difficult to say for certain which animal
    is more likely to be found together. Can you provide more
    context or clarify your question?

THE PROPOSAL PROMPT, REWRITTEN TWICE
  the two animals are always a cat (new) and a dog (known)
  propose-v1.json:
    {"question": "Does it have whiskers?", "yes_is": "cat"}
  propose-v2.json:
    {"question": "Does it have whiskers?", "yes_is":
    "whiskers"}
  propose-cat-dog.json, the third:
    {"question": "Does it have whiskers?", "yes_is": "a cat"}

THE PROPOSALS THE GAME REPLAYS
  propose-cat-dog.json:
    {"question": "Does it have whiskers?", "yes_is": "a cat"}
  propose-bat-eagle.json:
    {"question": "Does it have wings?", "yes_is": "an eagle"}
  propose-goldfish.json:
    {"question": "Does it have scales?", "yes_is": "goldfish"}
  propose-snerg-dog.json:
    {"question": "Does it have a tail?", "yes_is": "a snerg"}

WHAT IT SAID ABOUT gBASIC

  Q:
    In gBASIC, how do I declare a variable called total that
    holds an integer? Show the line of code.
  A:
  | To declare a variable in Gbasic, you use the `Dim`
  | statement.

  | Here's how to declare an integer variable named "total":

  | ```gbasic
  | Dim total As Integer
  | ```

  | This will create a new integer variable called "total"
  | that can hold any whole number value.

  Q:
    In gBASIC, how do I count how many items are in an array
    called nodes? Show the line of code.
  A:
  | To count the number of elements in an array in gBASIC, you
  | can use the following line of code:

  | ```gbasic
  | count = UBound(nodes) + 1
  | ```

  | This will give you the total number of elements in the
  | `nodes` array.

  | Here's a brief explanation:

  | - `UBound(nodes)` returns the upper bound (the last index)
  | of the `nodes` array.
  | - Adding 1 to this value gives us the total count of
  | elements, including the first element at index 0.

  Q:
    In gBASIC, how do I get today's date into a variable
    called today? Show the line of code.
  A:
  | Here is the line of code in Gbasic to get today's date:

  | ```
  | today = Date()
  | ```

  Q:
    In gBASIC, how do I write a price of 19.99 US dollars in a
    variable called price? Show the line of code.
  A:
  | To assign a value to a variable in gBASIC, you use the `=`
  | operator. Here's how to set the `price` variable to
  | $19.99:

  | ```gbasic
  | price = 19.99
  | ```

  | This will create a new variable called `price` and assign
  | it the value of $19.99.
