Logo BCDDLogo CSC
BCDDBehavioural Contract-Driven Design
version 1.0-beta
ITEN

13. The dialogue file

The file FILE.dialogo is located next to the CSC file. It is written only by bcdd refine, which keeps in it the questions of the language model and the answers of the person, and sends it to the model in subsequent rounds; check and ratify do not read it, and it is not a CSC file. Example, for the staircase light (the first lines of a file with two rounds):

-- bcdd refine: questions from the language model and answers from the person. It can be edited or deleted by hand.

GIRO 2026-10-17T12:17:35+02:00 CSC LuceScale
DOMANDA For g2: how long does the light stay on after the last press, and with what tolerance?
RISPOSTA 1 minute, with a tolerance of 5 s
DOMANDA For g3: what happens if someone presses the button while the light is already on?
RISPOSTA the on-time restarts from the beginning
Line What it says
the first, a comment present from the creation of the file, and does not change
GIRO DATE CSC NAME the start of a round, after a blank line; for an entity GIRO DATE ENTITY NAME. DATE is the local date and time to the second, with the time zone, in the form YYYY-MM-DDTHH:MM:SS+HH:MM (or -HH:MM): that of the start of the first call to the model in the round. A round has a single GIRO line
DOMANDA text a question to which the person has answered; the following lines of a long question are indented by two spaces
RISPOSTA text the answer; for a choice, the text of the choice and not the number
CSC A PARTE NAME: REASON after the DOMANDA/RISPOSTA pairs of the round: a new topic that the model has signalled and the person has seen, one line for each, in the order in which it was shown

The words GIRO, CSC, ENTITY, DOMANDA, RISPOSTA and CSC A PARTE are written in Italian in every language of bcdd; only the first comment line follows the language. The rest of each line is the date, the name or the text.

A round is written if it has at least one answer or at least one CSC A PARTE. Skipped questions, proposals and replacements are not recorded: the accepted proposals and the accepted replacements appear in the CSC file. If the existing file does not end with LF, one is added before the new round; the rest of the content remains identical, byte for byte, and the write is the safe write of section 12.6. The file is UTF-8 text with LF line endings; the person can correct it or delete it (the process starts again without memory).