Added the choice of simulated participants to the test situation of the BeyondFacts Lab

This commit is contained in:
Thorsten Sommer committed 2026-11-15 16:17:41 +01:00
1 parent 92d0ff68f4
commit cbe6f30e53
13 files changed
+557 -5

No files matched your search

@@ -7,14 +7,15 @@ namespace AIStudio.Assistants.BeyondFactsLab;
/// </summary>
/// <remarks>
/// The values are stored under the IDs of the fields of BflFieldCatalog. A value of a field this version does not
/// know, e.g., one a newer version added, stays as it is and is written back unchanged. Version 2 added the card sort.
/// know, e.g., one a newer version added, stays as it is and is written back unchanged. Version 2 added the card sort,
/// version 3 the simulation.
/// </remarks>
public sealed class BflStepFormData
{
/// <summary>
/// The version of the stored form this version of AI Studio writes. Raise it with every new property.
/// </summary>
public const int CURRENT_SCHEMA_VERSION = 2;
public const int CURRENT_SCHEMA_VERSION = 3;
/// <summary>
/// The character which separates the options of a field with several choices.
@@ -40,6 +41,15 @@ public sealed class BflStepFormData
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public BflCardSort? CardSort { get; set; }
/// <summary>
/// Gets or sets whom the chat of the step "Test situation" plays, see BflSimulation.
/// </summary>
/// <remarks>
/// Null for every other step, and until the person chooses a mode there; the file then leaves it out.
/// </remarks>
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public BflSimulation? Simulation { get; set; }
/// <summary>
/// Gets the value of a field, or an empty string when the field has none.
/// </summary>