EasyEyes / threshold

A PsychoJS-based experiment generator for the measuring various psychometric thresholds, e.g., crowding.
MIT License
3 stars 1 forks source link

[BUG] Error `Cannot find readingFirstFewwords in the given corpus` is seen while running a new experiment table #82

Open sravyam28 opened 3 months ago

sravyam28 commented 3 months ago

Describe the bug

Error Cannot find readingFirstFewwords in the given corpus is seen while running a new experiment table

To Reproduce

Add the below table to examples folder. Run npm run examples run npm start -- --name=easyeyes_buggy

easyeyes_buggy.csv

Expected behavior

To run experiment without any errors

Screenshots

441289594_1125558158711799_7381044262460196188_n (1)

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context

minjungkim85 commented 3 months ago

To be clear, this bug report is also from me. Thank you! @denispelli @aburchell

denispelli commented 2 months ago

Hi. I hope this has been fixed. I was experiencing a different symptom of proceeding without error message, but with text from the wrong place in the corpus. That was fixed so the reading text stimulus now starts at the right place in the corpus, specified by the few words. I’m hoping your false alarm error is fixed too.

There are three cases to consider.

  1. When the desired words ARE in the corpus then the reading should start there. I think EasyEyes now delivers that.
  2. When the desired words are NOT in the corpus, I think EasyEyes currently gives a runtime error, like what you reported, though that was a false alarm.
  3. I have requested, but I don’t think is yet implemented, that EasyEyes also look for the desired words at COMPILE time, and generate a fatal compile error if not found. In that case the runtime error would never happen. Compile-time errors are much more convenient than runtime errors, quickly fixed with no wasted time of scientist or participants.

Best Denis

On May 28, 2024 at 8:24:17 PM, sravyam28 @.***> wrote:

Describe the bug

Error Cannot find readingFirstFewwords in the given corpus is seen while running a new experiment table

To Reproduce

Add the below table to examples folder. Run npm run examples run `npm start -- --name=easyeyes_buggy

easyeyes_buggy.csv https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_EasyEyes_threshold_files_15474273_easyeyes-5Fbuggy.csv&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=7X-NKAXavKeKD9gIvst_RX6MqmtP6wERm4LVB5ZkcI4&m=kcUi-Q9oIye8OrTlevmO0mS9IHuDHnFfqrRemJrxD9SALaaat5EQZY491fjOvgMP&s=JpDApK9HgnKoQ3aUiC8zTNTZHfu59pcrYEUXnd9IS3M&e=

Expected behavior

To run experiment without any errors

Screenshots

441289594_1125558158711799_7381044262460196188_n.1.png (view on web) https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_EasyEyes_threshold_assets_117389237_76d77188-2D1fed-2D423c-2Dbc30-2D18dd461a4a74&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=7X-NKAXavKeKD9gIvst_RX6MqmtP6wERm4LVB5ZkcI4&m=kcUi-Q9oIye8OrTlevmO0mS9IHuDHnFfqrRemJrxD9SALaaat5EQZY491fjOvgMP&s=Gc4CgV4oQMKy6jmJ2WWfcdnQ0zgeIL2S9vwrDJyJIeI&e=

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context

— Reply to this email directly, view it on GitHub https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_EasyEyes_threshold_issues_82&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=7X-NKAXavKeKD9gIvst_RX6MqmtP6wERm4LVB5ZkcI4&m=kcUi-Q9oIye8OrTlevmO0mS9IHuDHnFfqrRemJrxD9SALaaat5EQZY491fjOvgMP&s=ZGXSn-OD6kL82GT2NqYGxkV8NmMtz3V3_Fd8zcxiCNc&e=, or unsubscribe https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ADKWX63DQ5QHIO3FZOKXKGDZETDVDAVCNFSM6AAAAABINOMHQGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZDCNRXGI2TGMY&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=7X-NKAXavKeKD9gIvst_RX6MqmtP6wERm4LVB5ZkcI4&m=kcUi-Q9oIye8OrTlevmO0mS9IHuDHnFfqrRemJrxD9SALaaat5EQZY491fjOvgMP&s=_z1kq1KycPe77acpLRvLbbeimKqBE34GaYqyHQlmRl8&e= . You are receiving this because you are subscribed to this thread.Message ID: @.***>