mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-18 09:30:45 +00:00
Added simulated participants to the BeyondFacts Lab (#1208)
This commit is contained in:
1 parent
92d0ff68f4
commit
ef059ffd15
46 files changed
+1871
-71
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