Skip to content

Commit

Permalink
Hospital to Standard
Browse files Browse the repository at this point in the history
  • Loading branch information
leo950804 committed Jun 3, 2022
1 parent 9fed766 commit b1b046e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Assets/Scripts/BeginExperiment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ public class BeginExperiment : MonoBehaviour
private const bool NICLS_COURIER = false;
private const bool VALUE_COURIER = false;

string experiment_name = HOSPITAL_COURIER ? "HospitalCourier" :
string experiment_name = HOSPITAL_COURIER ? "StandardCourier" :
NICLS_COURIER ? "NiclsCourier" :
"StandardCourier";

private const string scene_name = "MainGame";

public const string EXP_NAME_COURIER = "Courier";
public const string EXP_NAME_HOSPITAL = "HospitalCourier";
public const string EXP_NAME_HOSPITAL = "StandardCourier";
public const string EXP_NAME_NICLS = "NiclsCourier";

private void OnEnable() {
Expand Down
7 changes: 4 additions & 3 deletions Assets/Scripts/DeliveryExperiment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -387,11 +387,11 @@ void Start()
UnityEPL.AddParticipant(System.Guid.NewGuid().ToString());
UnityEPL.SetExperimentName("COURIER_ONLINE");
UnityEPL.SetSessionNumber(0);
ConfigureExperiment(false, false, false, 0, "HospitalCourier");
ConfigureExperiment(false, false, false, 0, "StandardCourier");
}

// if (DEBUG)
// ConfigureExperiment(false, false, true, 1, "HospitalCourier");
// ConfigureExperiment(false, false, true, 1, "StandardCourier");

// Session check
if (sessionNumber == -1)
Expand Down Expand Up @@ -2460,9 +2460,10 @@ protected override void SetElememState(string stateName, Dictionary<string, obje

private void LogVersions(string expName)
{
string stimModeLabel = Config.elememStimMode ? "openloop" : "readonly";
Dictionary<string, object> versionsData = new Dictionary<string, object>();
versionsData.Add("UnityEPL version", Application.version);
versionsData.Add("Experiment version", expName + COURIER_VERSION);
versionsData.Add("Experiment version", expName + "_" + COURIER_VERSION + "_" + stimModeLabel);
versionsData.Add("Logfile version", "2.0.0");
scriptedEventReporter.ReportScriptedEvent("versions", versionsData);
}
Expand Down
1 change: 1 addition & 0 deletions Psiturk_Wrapper/static/js/Unity/build 2

0 comments on commit b1b046e

Please sign in to comment.