-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added cypress test for PUMS demo * fixed assignment of var_type * change variables fixture to match updated profiler logic
- Loading branch information
1 parent
b1aa328
commit 0f7af52
Showing
5 changed files
with
134 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"datasetName": "2000 PUMS 5-Percent", | ||
"variables": { | ||
"age": { | ||
"name": "age", | ||
"type": "Numerical", | ||
"min": "0.0", | ||
"max": "100.0", | ||
"fixedValue": "45" | ||
}, | ||
"married": { | ||
"name": "married", | ||
"type": "Boolean" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"siteUrl": "http://ec2-18-232-125-211.compute-1.amazonaws.com", | ||
"fileId": "13", | ||
"datasetPid": "doi:10.5072/FK2/QWVFK0", | ||
"token": "c7af4204-bbbf-44b8-a3e5-a37ba34c24dc", | ||
"filePid": "doi:10.5072/FK2/QWVFK0", | ||
"user": "test_user", | ||
"password": "dpcreator" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,134 +1,135 @@ | ||
{ | ||
"trial": { | ||
"max": null, | ||
"min": null, | ||
"name": "Trial", | ||
"type": "Numerical", | ||
"label": "" | ||
}, | ||
"session": { | ||
"name": "Session", | ||
"type": "Boolean", | ||
"label": "" | ||
}, | ||
"subject": { | ||
"name": "Subject", | ||
"label": "", | ||
"type": "Categorical", | ||
"label": "", | ||
"categories": null | ||
}, | ||
"language": { | ||
"name": "Language", | ||
"label": "", | ||
"type": "Boolean" | ||
}, | ||
"session": { | ||
"name": "Session", | ||
"label": "", | ||
"type": "Boolean" | ||
"type": "Boolean", | ||
"label": "" | ||
}, | ||
"objectiveTaskDifficulty": { | ||
"name": "ObjectiveTaskDifficulty", | ||
"label": "", | ||
"type": "Boolean" | ||
}, | ||
"trial": { | ||
"name": "Trial", | ||
"label": "", | ||
"type": "Categorical", | ||
"categories": null | ||
"eyeHeight": { | ||
"max": null, | ||
"min": null, | ||
"name": "EyeHeight", | ||
"type": "Numerical", | ||
"label": "" | ||
}, | ||
"typingSpeed": { | ||
"name": "TypingSpeed", | ||
"label": "", | ||
"type": "Numerical", | ||
"max": null, | ||
"min": null, | ||
"max": null | ||
}, | ||
"correctedError": { | ||
"name": "CorrectedError", | ||
"label": "", | ||
"name": "TypingSpeed", | ||
"type": "Numerical", | ||
"min": null, | ||
"max": null | ||
"label": "" | ||
}, | ||
"readTextEventsRatio": { | ||
"name": "ReadTextEventsRatio", | ||
"label": "", | ||
"type": "Numerical", | ||
"blinkDuration": { | ||
"max": null, | ||
"min": null, | ||
"max": null | ||
}, | ||
"attendedButNotSelectedRate": { | ||
"name": "AttendedButNotSelectedRate", | ||
"label": "", | ||
"name": "BlinkDuration", | ||
"type": "Numerical", | ||
"min": null, | ||
"max": null | ||
"label": "" | ||
}, | ||
"uncorrectedErrorRate": { | ||
"name": "UncorrectedErrorRate", | ||
"label": "", | ||
"type": "Numerical", | ||
"blinkInterval": { | ||
"max": null, | ||
"min": null, | ||
"max": null | ||
}, | ||
"baselinePupilDiameter": { | ||
"name": "BaselinePupilDiameter", | ||
"label": "", | ||
"name": "BlinkInterval", | ||
"type": "Numerical", | ||
"min": null, | ||
"max": null | ||
"label": "" | ||
}, | ||
"blinkFrequency": { | ||
"max": null, | ||
"min": null, | ||
"name": "BlinkFrequency", | ||
"label": "", | ||
"type": "Numerical", | ||
"min": null, | ||
"max": null | ||
"label": "" | ||
}, | ||
"blinkDuration": { | ||
"name": "BlinkDuration", | ||
"label": "", | ||
"type": "Numerical", | ||
"correctedError": { | ||
"max": null, | ||
"min": null, | ||
"max": null | ||
"name": "CorrectedError", | ||
"type": "Numerical", | ||
"label": "" | ||
}, | ||
"blinkInterval": { | ||
"name": "BlinkInterval", | ||
"label": "", | ||
"saccadeDuration": { | ||
"max": null, | ||
"min": null, | ||
"name": "SaccadeDuration", | ||
"type": "Numerical", | ||
"label": "" | ||
}, | ||
"saccadeVelocity": { | ||
"max": null, | ||
"min": null, | ||
"max": null | ||
"name": "SaccadeVelocity", | ||
"type": "Numerical", | ||
"label": "" | ||
}, | ||
"blinkBurstRatio": { | ||
"max": null, | ||
"min": null, | ||
"name": "BlinkBurstRatio", | ||
"label": "", | ||
"type": "Numerical", | ||
"min": null, | ||
"max": null | ||
"label": "" | ||
}, | ||
"saccadeAmplitude": { | ||
"max": null, | ||
"min": null, | ||
"name": "SaccadeAmplitude", | ||
"label": "", | ||
"type": "Numerical", | ||
"min": null, | ||
"max": null | ||
"label": "" | ||
}, | ||
"saccadeDuration": { | ||
"name": "SaccadeDuration", | ||
"label": "", | ||
"type": "Numerical", | ||
"saccadePeakVelocity": { | ||
"max": null, | ||
"min": null, | ||
"max": null | ||
}, | ||
"saccadeVelocity": { | ||
"name": "SaccadeVelocity", | ||
"label": "", | ||
"name": "SaccadePeakVelocity", | ||
"type": "Numerical", | ||
"min": null, | ||
"max": null | ||
"label": "" | ||
}, | ||
"saccadePeakVelocity": { | ||
"name": "SaccadePeakVelocity", | ||
"label": "", | ||
"readTextEventsRatio": { | ||
"max": null, | ||
"min": null, | ||
"name": "ReadTextEventsRatio", | ||
"type": "Numerical", | ||
"label": "" | ||
}, | ||
"uncorrectedErrorRate": { | ||
"max": null, | ||
"min": null, | ||
"max": null | ||
"name": "UncorrectedErrorRate", | ||
"type": "Numerical", | ||
"label": "" | ||
}, | ||
"eyeHeight": { | ||
"name": "EyeHeight", | ||
"label": "", | ||
"baselinePupilDiameter": { | ||
"max": null, | ||
"min": null, | ||
"name": "BaselinePupilDiameter", | ||
"type": "Numerical", | ||
"label": "" | ||
}, | ||
"objectiveTaskDifficulty": { | ||
"name": "ObjectiveTaskDifficulty", | ||
"type": "Boolean", | ||
"label": "" | ||
}, | ||
"attendedButNotSelectedRate": { | ||
"max": null, | ||
"min": null, | ||
"max": null | ||
"name": "AttendedButNotSelectedRate", | ||
"type": "Numerical", | ||
"label": "" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
describe('PUMS Demo Test', () => { | ||
|
||
beforeEach(() => { | ||
cy.on("window:before:load", (win) => { | ||
cy.spy(win.console, "log"); | ||
cy.spy(win.console, "error") | ||
}) | ||
}) | ||
it('Uses the PUMS dataset', () => { | ||
cy.on('uncaught:exception', (e, runnable) => { | ||
console.log('error', e) | ||
console.log('runnable', runnable) | ||
return false | ||
}) | ||
cy.runDemo('PUMSMockDV.json', 'PUMSDemoData.json') | ||
}) | ||
}) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters