mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-16 05:48:27 +00:00
Added the simulation of researched participants to the conversation of the test situation of the BeyondFacts Lab
This commit is contained in:
18 files changed
+503
-56
No files matched your search
@@ -102,6 +102,13 @@ public sealed class BflPromptLibraryTests
|
||||
foreach (var step in BflStep.All)
|
||||
longestStep = Math.Max(longestStep, (await BflPromptLibrary.ReadAsync(BflPromptLibrary.StepPath(step))).Length);
|
||||
|
||||
// The step "Test situation" carries the simulation of people from the research as well:
|
||||
var longestSimulation = 0;
|
||||
foreach (var mode in BflSimulationMode.All)
|
||||
longestSimulation = Math.Max(longestSimulation, (await BflPromptLibrary.LoadPartsAsync(BflStep.TEST_SITUATION, AddressForm.FORMAL, simulation: mode)).Simulation.Length);
|
||||
|
||||
longestStep = Math.Max(longestStep, (await BflPromptLibrary.ReadAsync(BflPromptLibrary.StepPath(BflStep.TEST_SITUATION))).Length + longestSimulation + 2);
|
||||
|
||||
var longestAddress = 0;
|
||||
foreach (var addressForm in Enum.GetValues<AddressForm>())
|
||||
longestAddress = Math.Max(longestAddress, (await BflPromptLibrary.ReadAsync(BflPromptLibrary.AddressPath(addressForm))).Length);
|
||||
|
||||
Reference in new issue
Block a user