Skip to content

Commit 8bb7b68

Browse files
committed
website dev
1 parent 1d3971a commit 8bb7b68

21 files changed

+475
-13
lines changed

docs/.doctrees/environment.pickle

11.2 KB
Binary file not shown.

docs/.doctrees/index.doctree

286 Bytes
Binary file not shown.

docs/.doctrees/psyflow.doctree

3.45 KB
Binary file not shown.

docs/.doctrees/taps.doctree

6.74 KB
Binary file not shown.

docs/_images/flowchart.png

272 KB
Loading

docs/_images/logo-nobg.png

80.6 KB
Loading

docs/_sources/index.rst.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
2+
13
TaskBeacon
24
----------
35

@@ -6,7 +8,12 @@ Our mission is to improve reproducibility and efficiency in psychological and br
68

79
TaskBeacon offers a suite of tools and resources:
810

9-
- `TAPS <https://taskbeacon.github.io/taps>`_ – A standardized format for structuring cognitive tasks
11+
.. image:: _static/flowchart.png
12+
:alt: Illustration of TaskBeacon
13+
:align: left
14+
:width: 100%
15+
16+
- :doc:`TAPS </taps>` – A standardized format for structuring cognitive tasks
1017
- `psyflow <https://taskbeacon.github.io/psyflow/>`_ – A Python library for programming cognitive experiments
1118
- `Task Library <https://taskbeacon.github.io/task_index/>`_ – A curated collection of well-documented experimental templates
1219

docs/_sources/psyflow.md.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
```mermaid
2+
flowchart LR
3+
A[YAML<br>Subinfo:<br>- field<br>- mapping] --> B[SubInfo<br>Subinfo Collection]
4+
C[YAML<br>Task:<br>- trial n<br>- block n<br>- key<br>- condition] --> D[BlockUnit]
5+
D --> E[run_trial (GO)]
6+
D --> F[run_trial (Stop)]
7+
G[YAML<br>Timing:<br>- duration<br>- Controller:<br>- ssd<br>- min/max] --> E
8+
G --> F
9+
H[YAML<br>Stimuli:<br>- type<br>- color<br>- text<br>- pos] --> I[StimBank]
10+
E --> I
11+
F --> I

docs/_sources/taps.md.txt

Lines changed: 49 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,52 @@
11
# TAPS
22

3-
The Task Archive and Protocol Specification (TAPS) defines a consistent format for describing cognitive tasks. By capturing stimuli, procedures and timing, TAPS makes tasks reproducible and easier to share.
3+
The Task and Paradigm Structure (TAPS) provides a standardized folder layout for organizing cognitive tasks in a modular and reproducible way. This structure promotes clarity, cross-task consistency, and ease of reuse—whether in individual research projects or shared task libraries.
44

5-
Researchers can write tasks once and deploy them across different platforms without manual rewriting.
5+
Each task organized under TAPS typically contains the following components:
6+
7+
`assets/`
8+
Contains all multimedia stimuli used in the task, such as images (.bmp), audio files (.mp3), or videos (.mp4). These files are referenced by the configuration and code but stored independently for clarity.
9+
10+
`config/`
11+
Includes YAML configuration files (e.g., config.yaml) that define task parameters, stimuli mappings, timing settings, and localization content. This enables flexible task customization without modifying the source code.
12+
13+
`data/`
14+
Stores participant outputs including raw logs, structured .csv data, and optionally serialized formats like .json. Each session is typically timestamped for easy tracking and reproducibility.
15+
16+
`src/`
17+
Contains the core Python scripts implementing the task logic and runtime flow (e.g., run_trial.py, controller.py). This code defines how trials are executed, how input is handled, and how responses are recorded.
18+
19+
`analysis/`
20+
(Optional) Includes scripts to analyze the collected data. Useful for quick validation, pilot analysis, or standardized data summaries.
21+
22+
`main.py`
23+
A runnable Python entry point that initializes the task using the configuration and source logic. This is typically the file users execute to start the experiment.
24+
25+
`README.md`
26+
Provides human-readable documentation describing the task’s purpose, structure, configuration, and usage.
27+
28+
A sample directory tree might look like this:
29+
```
30+
Task/
31+
├── assets/ # Multimedia stimuli (images, sounds, videos, etc.)
32+
│ ├── instruction.mp3
33+
│ ├── stim1.bmp
34+
│ ├── stim2.bmp
35+
│ └── stim3.bmp
36+
├── config/
37+
│ └── config.yaml # YAML-based configuration files for task logic and settings
38+
├── data/ # Collected participant data and logs
39+
│ ├── sub-001_task_sst_20250603_143742.json
40+
│ ├── sub-001_task_sst_20250603_143742.log
41+
│ └── sub-001_task_sst_20250603_143742.csv
42+
├── src/ # Source code implementing task flow and logic
43+
│ ├── __init__.py
44+
│ ├── run_trial.py
45+
│ └── controller.py
46+
├── analysis/ # Optional scripts for analyzing collected data
47+
│ └── analysis.py
48+
├── main.py # Entry point for running the task
49+
└── README.md # Documentation
50+
```
51+
52+
This structure cleanly separates task components—stimuli, configuration, logic, data, and metadata—enabling better task reuse, localization, and version control.

docs/_static/flowchart.png

272 KB
Loading

0 commit comments

Comments
 (0)