Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 60 additions & 34 deletions preprocess/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -296,91 +296,117 @@ export const prepareExperimentFileForThreshold = async (
"_pavlovia_Database_ResultsFormatBool",
);

fillCurrentExperiment("_online5LanguageFluent", "_online5LanguageFluent");
fillCurrentExperiment("_online5LanguageFirst", "_online5LanguageFirst");
fillCurrentExperiment("_online5LanguagePrimary", "_online5LanguagePrimary");
fillCurrentExperiment("_online3DeviceKind", "_online3DeviceKind");
fillCurrentExperiment("_prolific4LanguageFluent", "_online5LanguageFluent");
fillCurrentExperiment("_prolific4LanguageFirst", "_online5LanguageFirst");
fillCurrentExperiment("_prolific4LanguagePrimary", "_online5LanguagePrimary");
fillCurrentExperiment("_prolific2DeviceKind", "_online3DeviceKind");
fillCurrentExperiment(
"_online3RequiredServices",
"_prolific2RequiredServices",
"_online3RequiredServices",
);
fillCurrentExperiment("_online2Pay", "_online2Pay");
fillCurrentExperiment("_online2PayPerHour", "_online2PayPerHour");
fillCurrentExperiment("_online4Location", "_online4Location");
fillCurrentExperiment("_online4CustomAllowList", "_online4CustomAllowList");
fillCurrentExperiment("_online4CustomBlockList", "_online4CustomBlockList");
fillCurrentExperiment("_prolific3Location", "_online4Location");
fillCurrentExperiment("_prolific3CustomAllowList", "_online4CustomAllowList");
fillCurrentExperiment("_prolific3CustomBlockList", "_online4CustomBlockList");
fillCurrentExperiment(
"_online3PhoneOperatingSystem",
"_prolific4PhoneOperatingSystem",
"_online3PhoneOperatingSystem",
);
fillCurrentExperiment("_online5Vision", "_online5Vision");
fillCurrentExperiment("_online5Dyslexia", "_online5Dyslexia");
fillCurrentExperiment("_prolific4Vision", "_online5Vision");
fillCurrentExperiment("_prolific4Dyslexia", "_online5Dyslexia");
fillCurrentExperiment(
"_online5HearingDifficulties",
"_prolific4HearingDifficulties",
"_online5HearingDifficulties",
);
fillCurrentExperiment(
"_online5MusicalInstrumentExperience",
"_prolific4MusicalInstrumentExperience",
"_online5MusicalInstrumentExperience",
);
fillCurrentExperiment(
"_online5LanguageRelatedDisorders",
"_prolific4LanguageRelatedDisorders",
"_online5LanguageRelatedDisorders",
);
fillCurrentExperiment("_online5CochlearImplant", "_online5CochlearImplant");
fillCurrentExperiment("_prolific4CochlearImplant", "_online5CochlearImplant");

fillCurrentExperiment("_online5LanguageFluent", "_prolific4LanguageFluent");
fillCurrentExperiment("_online5LanguageFirst", "_prolific4LanguageFirst");
fillCurrentExperiment("_prolific4LanguageFluent", "_prolific4LanguageFluent");
fillCurrentExperiment("_prolific4LanguageFirst", "_prolific4LanguageFirst");
fillCurrentExperiment(
"_online5LanguagePrimary",
"_prolific4LanguagePrimary",
"_prolific4LanguagePrimary",
);
fillCurrentExperiment("_online3DeviceKind", "_prolific2DeviceKind");
fillCurrentExperiment("_prolific2DeviceKind", "_prolific2DeviceKind");
fillCurrentExperiment(
"_online3RequiredServices",
"_prolific2RequiredServices",
"_prolific2RequiredServices",
);
fillCurrentExperiment("_online4Location", "_prolific3Location");
fillCurrentExperiment("_prolific3Location", "_prolific3Location");
fillCurrentExperiment(
"_online4CustomAllowList",
"_prolific3CustomAllowList",
"_prolific3CustomAllowList",
);
fillCurrentExperiment(
"_online4CustomBlockList",
"_prolific3CustomBlockList",
"_prolific3CustomBlockList",
);
fillCurrentExperiment(
"_online3PhoneOperatingSystem",
"_prolific4PhoneOperatingSystem",
"_prolific4PhoneOperatingSystem",
);
fillCurrentExperiment("_online5Vision", "_prolific4Vision");
fillCurrentExperiment("_online5Dyslexia", "_prolific4Dyslexia");
fillCurrentExperiment("_prolific4Vision", "_prolific4Vision");
fillCurrentExperiment("_prolific4Dyslexia", "_prolific4Dyslexia");
fillCurrentExperiment(
"_online5HearingDifficulties",
"_prolific4HearingDifficulties",
"_prolific4HearingDifficulties",
);
fillCurrentExperiment(
"_online5MusicalInstrumentExperience",
"_prolific4MusicalInstrumentExperience",
"_prolific4MusicalInstrumentExperience",
);
fillCurrentExperiment(
"_online5LanguageRelatedDisorders",
"_prolific4LanguageRelatedDisorders",
"_prolific4LanguageRelatedDisorders",
);
fillCurrentExperiment(
"_online5CochlearImplant",
"_prolific4CochlearImplant",
"_prolific4CochlearImplant",
);
fillCurrentExperiment("_online5VRExperiences", "_prolific4VRExperiences");
fillCurrentExperiment("_online5VRHeadset", "_prolific4VRHeadsetOwnership");
fillCurrentExperiment("_prolific4VRExperiences", "_prolific4VRExperiences");
fillCurrentExperiment("_prolific4VRHeadsetOwnership", "_prolific4VRHeadsetOwnership");
fillCurrentExperiment(
"_online5VRHeadsetUsage",
"_prolific4VRHeadsetFrequency",
"_prolific4VRHeadsetFrequency",
);
fillCurrentExperiment(
"_online5VisionCorrection",
"_prolific4VisionCorrection",
"_prolific4VisionCorrection",
);
fillCurrentExperiment(
"_prolific3ApprovalRate",
"_prolific3ApprovalRate",
);
fillCurrentExperiment(
"_prolific3StudyDistribution",
"_prolific3StudyDistribution",
);
fillCurrentExperiment(
"_prolific3ParticipantInPreviousStudyExclude",
"_prolific3ParticipantInPreviousStudyExclude",
);
fillCurrentExperiment(
"_prolific3ParticipantInPreviousStudyInclude",
"_prolific3ParticipantInPreviousStudyInclude",
);
fillCurrentExperiment(
"_prolific3AllowCompletedExperiment",
"_prolific3AllowCompletedExperiment",
);
fillCurrentExperiment(
"_prolific3AllowAfterHours",
"_prolific3AllowAfterHours",
);
fillCurrentExperiment("_prolific2ScreenerSet", "_prolific2ScreenerSet");
fillCurrentExperiment("_prolific2StudyLabel", "_prolific2StudyLabel");

fillCurrentExperiment("_authors", "_authors");
fillCurrentExperiment("_authorAffiliations", "_authorAffiliations");
Expand Down
2 changes: 1 addition & 1 deletion psychojs