From 71c1a71332690df65cf4d042d2afd2e44516a6ec Mon Sep 17 00:00:00 2001 From: Chuqi Liu <544915084@qq.com> Date: Sun, 6 Jan 2019 16:10:16 +0800 Subject: [PATCH 1/6] Add primitive version of task specification --- R/config/Multisensory/recs.csv | 4 ++ R/config/Multisensory/sdk.csv | 3 ++ content/post/08901_Multisensory.Rmd | 70 +++++++++++++++++++++++++++++ 3 files changed, 77 insertions(+) create mode 100644 R/config/Multisensory/recs.csv create mode 100644 R/config/Multisensory/sdk.csv create mode 100644 content/post/08901_Multisensory.Rmd diff --git a/R/config/Multisensory/recs.csv b/R/config/Multisensory/recs.csv new file mode 100644 index 0000000..a28c12a --- /dev/null +++ b/R/config/Multisensory/recs.csv @@ -0,0 +1,4 @@ +名称,类型,说明 +`Cond`,`char`,"试次条件(Condition),包含三种可能,仅呈现声音、视觉信息或同时呈现:'Auditory', 'Visual', 'Multisensory'" +`ACC`,`int`,正确或错误(ACCuracy),0=错误(用户在秒表启动前操作),1=正确(用户在秒表启动后成功操作),-1=未完成操作。 +`RT`,`int`,用户完成操作所需时间(单位:毫秒)(Response Time),若提前操作或未完成操作,则记为0 diff --git a/R/config/Multisensory/sdk.csv b/R/config/Multisensory/sdk.csv new file mode 100644 index 0000000..ff03e44 --- /dev/null +++ b/R/config/Multisensory/sdk.csv @@ -0,0 +1,3 @@ +参数名称,类型,说明 +`average`,`int`,正确试次的平均反应时间 +`rate`,`float`,用户在整个题目中的正确率 diff --git a/content/post/08901_Multisensory.Rmd b/content/post/08901_Multisensory.Rmd new file mode 100644 index 0000000..6b1ca1d --- /dev/null +++ b/content/post/08901_Multisensory.Rmd @@ -0,0 +1,70 @@ +--- +# heading of document +title: 超级秒表高级(Multisensory) # Chinese name(English name) +author: 刘楚麒 +date: 2018-12-29 # format 2006-01-01 +# slug +slug: # code-English name +# specific parameters for current task +code: '08901' +sdk: +# hugo taxonomy related +tasknames: 多感觉整合 +categories: 文档 +# blogdown output +output: + blogdown::html_page: + toc: true + md_extensions: -ascii_identifiers +--- + +```{r parse-meta, include=FALSE} +NAMES <- strsplit(rmarkdown::metadata$title, "(|)")[[1]] +NAME_CN <- NAMES[1] +NAME_EN <- NAMES[2] +CODE <- rmarkdown::metadata$code +SDK <- rmarkdown::metadata$sdk +``` + +# 基本信息 + +* **显示名称**:`r NAME_CN` +* **英文名称**:`r NAME_EN` +* **题目编号**:`r CODE` +* **任务描述**:测查多感觉整合能力,特别是视听整合能力。 +* **测查能力**:感知觉-多感觉整合 +* **相关任务**:超级秒表 + +# 前端交互 + +## 基本逻辑 + +任务为简单反应时任务,屏幕中央呈现一个按钮,均为听到声音(“哔”)或看到秒表开始计时时立刻进行按键,其中包括三种情况:仅呈现声音;仅呈现秒表开始计时;同时呈现声音秒表开始计时。记录用户的正确率和反应时。 + +## 详细说明 + +各种设计与超级秒表一致,唯一不同点在于每次随机进入一种任务情况:呈现200ms的声音刺激(“哔”);呈现秒表开始计时;呈现200ms的声音刺激(“哔”)和秒表开始计时 + +# 后台配置 + +## 数据记录 + +```{r recording-variables, echo=FALSE, message=FALSE} +# knitr::kable( +# readr::read_csv( +# here::here("content", "resources", "config", NAME_EN, "recs.csv") +# ), +# caption = "原始数据变量列表" +# ) +``` + +## 试题算分 + +```{r sdk-score, echo=FALSE, message=FALSE} +# knitr::kable( +# readr::read_csv( +# here::here("content", "resources", "config", NAME_EN, "sdk.csv") +# ), +# caption = paste0("传入参数(算分码:`", SDK, "`)") +# ) +``` From 3e33b1bf507e1e3f218bf76b8d5b3a2d54f52720 Mon Sep 17 00:00:00 2001 From: Chuqi Liu <544915084@qq.com> Date: Wed, 16 Jan 2019 16:04:17 +0800 Subject: [PATCH 2/6] Enhance style --- R/config/Multisensory/recs.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/config/Multisensory/recs.csv b/R/config/Multisensory/recs.csv index a28c12a..675ce37 100644 --- a/R/config/Multisensory/recs.csv +++ b/R/config/Multisensory/recs.csv @@ -1,4 +1,4 @@ 名称,类型,说明 -`Cond`,`char`,"试次条件(Condition),包含三种可能,仅呈现声音、视觉信息或同时呈现:'Auditory', 'Visual', 'Multisensory'" +`Cond`,`char`,试次条件(Condition),包含三种可能,仅呈现声音、视觉信息或同时呈现:'Auditory','Visual','Multisensory' `ACC`,`int`,正确或错误(ACCuracy),0=错误(用户在秒表启动前操作),1=正确(用户在秒表启动后成功操作),-1=未完成操作。 `RT`,`int`,用户完成操作所需时间(单位:毫秒)(Response Time),若提前操作或未完成操作,则记为0 From 11c9b6a7f8d0e321e711a055de6b096e8c9d0960 Mon Sep 17 00:00:00 2001 From: Chuqi Liu <544915084@qq.com> Date: Wed, 16 Jan 2019 16:08:57 +0800 Subject: [PATCH 3/6] Modify scoring rule by using multisensory condition only to report --- R/config/Multisensory/sdk.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/config/Multisensory/sdk.csv b/R/config/Multisensory/sdk.csv index ff03e44..be1eae6 100644 --- a/R/config/Multisensory/sdk.csv +++ b/R/config/Multisensory/sdk.csv @@ -1,3 +1,3 @@ 参数名称,类型,说明 -`average`,`int`,正确试次的平均反应时间 -`rate`,`float`,用户在整个题目中的正确率 +`average`,`int`,声音、视觉信息同时呈现试次中正确的平均反应时间 +`rate`,`float`,用户在声音、视觉信息同时呈现试次中的正确率 From f8845bfc7ec5a65d4ddcabc82f57beb1911d2838 Mon Sep 17 00:00:00 2001 From: Chuqi Liu <544915084@qq.com> Date: Wed, 16 Jan 2019 16:11:35 +0800 Subject: [PATCH 4/6] Enhance descriptions --- ...ultisensory.Rmd => 01202_Multisensory.Rmd} | 38 ++++++++++--------- 1 file changed, 21 insertions(+), 17 deletions(-) rename content/post/{08901_Multisensory.Rmd => 01202_Multisensory.Rmd} (51%) diff --git a/content/post/08901_Multisensory.Rmd b/content/post/01202_Multisensory.Rmd similarity index 51% rename from content/post/08901_Multisensory.Rmd rename to content/post/01202_Multisensory.Rmd index 6b1ca1d..f5ceb93 100644 --- a/content/post/08901_Multisensory.Rmd +++ b/content/post/01202_Multisensory.Rmd @@ -1,13 +1,13 @@ --- # heading of document -title: 超级秒表高级(Multisensory) # Chinese name(English name) +title: 超级秒表(高级)(Multisensory) # Chinese name(English name) author: 刘楚麒 date: 2018-12-29 # format 2006-01-01 # slug slug: # code-English name # specific parameters for current task -code: '08901' -sdk: +code: '01202' +sdk: 200 # hugo taxonomy related tasknames: 多感觉整合 categories: 文档 @@ -39,32 +39,36 @@ SDK <- rmarkdown::metadata$sdk ## 基本逻辑 -任务为简单反应时任务,屏幕中央呈现一个按钮,均为听到声音(“哔”)或看到秒表开始计时时立刻进行按键,其中包括三种情况:仅呈现声音;仅呈现秒表开始计时;同时呈现声音秒表开始计时。记录用户的正确率和反应时。 +任务为简单反应时任务,均为听到声音(“哔”)或看到秒表开始计时时尽快做出操作,其中包括三种情况:具体见下文。 ## 详细说明 -各种设计与超级秒表一致,唯一不同点在于每次随机进入一种任务情况:呈现200ms的声音刺激(“哔”);呈现秒表开始计时;呈现200ms的声音刺激(“哔”)和秒表开始计时 +任务基本流程与超级秒表一致。在每个试次中,秒表没有启动前均不显示数字。每次随机进入一种任务情况: + +* 200ms的声音刺激(“哔”); +* 秒表上出现数字并开始计时; +* 200ms的声音刺激(“哔”)和秒表上出现数字并开始计时。 # 后台配置 ## 数据记录 ```{r recording-variables, echo=FALSE, message=FALSE} -# knitr::kable( -# readr::read_csv( -# here::here("content", "resources", "config", NAME_EN, "recs.csv") -# ), -# caption = "原始数据变量列表" -# ) +knitr::kable( + readr::read_csv( + here::here("R", "config", NAME_EN, "recs.csv") + ), + caption = "原始数据变量列表" +) ``` ## 试题算分 ```{r sdk-score, echo=FALSE, message=FALSE} -# knitr::kable( -# readr::read_csv( -# here::here("content", "resources", "config", NAME_EN, "sdk.csv") -# ), -# caption = paste0("传入参数(算分码:`", SDK, "`)") -# ) +knitr::kable( + readr::read_csv( + here::here("R", "config", NAME_EN, "sdk.csv") + ), + caption = paste0("传入参数(算分码:`", SDK, "`)") +) ``` From 209c059587ef82353d29532d24db437dbf6de65c Mon Sep 17 00:00:00 2001 From: Chuqi Liu <544915084@qq.com> Date: Wed, 16 Jan 2019 16:12:13 +0800 Subject: [PATCH 5/6] Compile `.Rmd` to `.html` for hugo to render site --- content/post/01202_Multisensory.html | 120 +++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 content/post/01202_Multisensory.html diff --git a/content/post/01202_Multisensory.html b/content/post/01202_Multisensory.html new file mode 100644 index 0000000..eef53a0 --- /dev/null +++ b/content/post/01202_Multisensory.html @@ -0,0 +1,120 @@ +--- +# heading of document +title: 超级秒表(高级)(Multisensory) # Chinese name(English name) +author: 刘楚麒 +date: 2018-12-29 # format 2006-01-01 +# slug +slug: # code-English name +# specific parameters for current task +code: '01202' +sdk: 200 +# hugo taxonomy related +tasknames: 多感觉整合 +categories: 文档 +# blogdown output +output: + blogdown::html_page: + toc: true + md_extensions: -ascii_identifiers +--- + + +
+ +
+ +
+

基本信息

+ +
+
+

前端交互

+
+

基本逻辑

+

任务为简单反应时任务,均为听到声音(“哔”)或看到秒表开始计时时尽快做出操作,其中包括三种情况:具体见下文。

+
+
+

详细说明

+

任务基本流程与超级秒表一致。在每个试次中,秒表没有启动前均不显示数字。每次随机进入一种任务情况:

+ +
+
+
+

后台配置

+
+

数据记录

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
表1: 原始数据变量列表
名称类型说明
Condchar试次条件(Condition),包含三种可能,仅呈现声音、视觉信息或同时呈现:‘Auditory’,‘Visual’,‘Multisensory’
ACCint正确或错误(ACCuracy),0=错误(用户在秒表启动前操作),1=正确(用户在秒表启动后成功操作),-1=未完成操作。
RTint用户完成操作所需时间(单位:毫秒)(Response Time),若提前操作或未完成操作,则记为0
+
+
+

试题算分

+ + + + + + + + + + + + + + + + + + + + + +
表2: 传入参数(算分码:200
参数名称类型说明
averageint声音、视觉信息同时呈现试次中正确的平均反应时间
ratefloat用户在声音、视觉信息同时呈现试次中的正确率
+
+
From 12e737f677c5dbf940f73b6474a8f389405ef9ee Mon Sep 17 00:00:00 2001 From: Liang Zhang Date: Tue, 22 Jan 2019 09:58:03 +0800 Subject: [PATCH 6/6] Add slug to front matter to prettify URLs --- content/post/01202_Multisensory.Rmd | 2 +- content/post/01202_Multisensory.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/post/01202_Multisensory.Rmd b/content/post/01202_Multisensory.Rmd index f5ceb93..e49a7d6 100644 --- a/content/post/01202_Multisensory.Rmd +++ b/content/post/01202_Multisensory.Rmd @@ -4,7 +4,7 @@ title: 超级秒表(高级)(Multisensory) # Chinese name(English name) author: 刘楚麒 date: 2018-12-29 # format 2006-01-01 # slug -slug: # code-English name +slug: 01202-multisensory # code-English name # specific parameters for current task code: '01202' sdk: 200 diff --git a/content/post/01202_Multisensory.html b/content/post/01202_Multisensory.html index eef53a0..f3bdeab 100644 --- a/content/post/01202_Multisensory.html +++ b/content/post/01202_Multisensory.html @@ -4,7 +4,7 @@ author: 刘楚麒 date: 2018-12-29 # format 2006-01-01 # slug -slug: # code-English name +slug: 01202-multisensory # code-English name # specific parameters for current task code: '01202' sdk: 200