Skip to content

Commit f5cda33

Browse files
committed
refactor: removing unimplement captch references
1 parent 034d8f5 commit f5cda33

18 files changed

Lines changed: 10 additions & 1631 deletions

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Online docs: [https://smile.gureckislab.org](https://smile.gureckislab.org)
1717
experiments.
1818
- Built-in support for
1919
common experiment elements like consent forms,
20-
captchas, instructions, and surveys. Just add your custom experiment logic and
20+
instructions, and surveys. Just add your custom experiment logic and
2121
start collecting data.
2222
- Basic component library which helps you quickly design and
2323
layout elements.

docs/coding/overview.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ views [here](/coding/views).
5555

5656
Smile comes with several [built-in views](/coding/views#built-in-views) for
5757
common phases of an experiment. This includes things like obtaining informed
58-
consent, presenting instructions, CAPTCHAs, and presenting a thank you page. We
59-
describe these default built-in views and provide an overview of how to
60-
customize them for your own experiment.
58+
consent, presenting instructions, and presenting a thank you page. We describe
59+
these default built-in views and provide an overview of how to customize them
60+
for your own experiment.
6161

6262
## Timeline and Design
6363

docs/coding/views.md

Lines changed: 3 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,9 @@ developing tasks and help improve the consistency of the design.
182182
When you [setup](/starting) the default <SmileText /> project you automatically
183183
get a number of built-in Views that are useful for most experiments. These
184184
include things like obtaining [informed consent](#informed-consent), presenting
185-
[instructions](#simple-instructions), [CAPTCHAs](#the-smile-captcha), etc...
186-
This section describes these default built-in Views and provides an overview of
187-
how to customize them for your experiment.
185+
[instructions](#simple-instructions), etc... This section describes these
186+
default built-in Views and provides an overview of how to customize them for
187+
your experiment.
188188

189189
### Props
190190

@@ -209,7 +209,6 @@ and more information can be found
209209
| [Recruitment Ad](#recruitment-advertisement) | No | Landing page for participants |
210210
| [MTurk Ad](#mturk-recruitment) | Yes | Interacts with the MTurk system |
211211
| [Simple Informed Consent](#simple-informed-consent) | Yes | Collects informed consent using a simple checkbox |
212-
| [CAPTCHA](#the-smile-captcha) | No | Fun tasks to verify human-ness and attention |
213212
| [Window Sizer](#window-sizer) | Yes | Verifies a given area of the screen is visible (with a more aggressive option that hides page content if the window is resized too small) |
214213
| [Simple Instructions](#simple-instructions) | No | A simple sequence of pages for instructions |
215214
| [Instructions Quiz](#instructions-quiz) | No | A basic instructions quiz |
@@ -378,40 +377,6 @@ timeline.pushSeqView({
378377
})
379378
```
380379

381-
### The Smile CAPTCHA
382-
383-
**Base Component**: `@/builtins/captcha/CaptchaView.vue`
384-
**Code**: [source](https://github.com/NYUCCL/smile/blob/main/src/builtins/captcha/CaptchaView.vue)
385-
**Side
386-
effects**: Yes, saves the data from the tasks.
387-
**Typical accessibility**: `{requiresConsent: true, requiresDone: false}`
388-
389-
CAPTHCAs (Completely Automated Public Turing test to tell Computers and Humans
390-
Apart) are simple tasks used to verify that the user is a human and not a
391-
computer. We developed a unique CAPTCHA system for <SmileText/> that is fun and
392-
engaging for participants. The Smile CAPTCHA is a series of tasks that are easy
393-
for humans but difficult for computers. The tasks happen quickly in sequence
394-
with a timer requiring fast responses (limiting the ability to send the
395-
questions to an AI). In addition, the set of tasks is diverse and requires
396-
language understanding, intuitive physical reasoning, fine motor control and
397-
perception, and object recognition. A few of the tasks measure known cognitive
398-
phenomena specific to humans, such as patterns in reaction time.
399-
400-
<SmileText/> we use a simple CAPTCHA that asks the participant to click on a
401-
specific location on the screen. This is a simple task that is easy for humans
402-
but difficult for computers.
403-
404-
(THIS IS IN DEVELOPMENT)
405-
406-
```js
407-
// captcha
408-
timeline.pushSeqView({
409-
path: '/captcha',
410-
name: 'captcha',
411-
component: Captcha,
412-
})
413-
```
414-
415380
### Window Sizer
416381

417382
**Base Component**: `@/builtins/windowSizer/WindowSizerView.vue`

docs/introduction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ AI-assisted programmers) accomplish more in less time.
2323
working on without restarting the entire experiment, and more!
2424
- Built-in support for
2525
[common experiment elements](/coding/views#built-in-views) like consent forms,
26-
captchas, instructions, and surveys. Just add your custom experiment logic and
27-
start collecting data.
26+
instructions, and surveys. Just add your custom experiment logic and start
27+
collecting data.
2828
- Code writing can be greatly accelerated using AI tools because LLMs are
2929
trained on extensive codebases covering Vue, Tailwind, and other popular web
3030
standards used by the project.

src/builtins/captcha/CaptchaButtonPress.vue

Lines changed: 0 additions & 128 deletions
This file was deleted.

src/builtins/captcha/CaptchaInstructionsText_01.vue

Lines changed: 0 additions & 48 deletions
This file was deleted.

src/builtins/captcha/CaptchaInstructionsText_02.vue

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)