Added results and exports to the BeyondFacts Lab (#1184)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-10 13:54:10 +01:00
1 parent 8e1a66cb24
commit e5c0931a60
42 files changed
+3034 -67

No files matched your search

@@ -0,0 +1,26 @@
namespace AIStudio.Assistants.BeyondFactsLab;
/// <summary>
/// One version of a result: a draft, or the version the person confirmed.
/// </summary>
public sealed class BflResultVersion
{
/// <summary>
/// Gets or sets the text of the result, in Markdown.
/// </summary>
public string Text { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the revisions of the confirmed work states the result was built from, see
/// BflStaleness.ConfirmedRevisionsOf. A step without a confirmed work state at that time is missing.
/// </summary>
/// <remarks>
/// Editing the text keeps them: the person changes the wording, not what the result builds on.
/// </remarks>
public Dictionary<BflStep, int> WorkStateRevisions { get; set; } = [];
/// <summary>
/// Gets or sets when the lab wrote the draft, or when the person confirmed the result.
/// </summary>
public DateTimeOffset ChangedAtUtc { get; set; }
}