How buschman-lab/projecttemplate works
1. Repository Role
This is an empty research-project template, not an implemented application or package. It defines a reproducible, collaborative workflow for organizing research data, analysis code, notebooks, documentation, publication artifacts, and presentations. The primary human entry point is README.md; project-wide visualization conventions belong in STYLING.md.
2. Data Lifecycle Boundary
The intended pipeline is immutable input → reproducible transformation → analysis-ready/output subsets:
• Raw source data: data/raw
• Intermediate/small derived artifacts: data/interim
• Processed analysis datasets: data/processed
Raw data must not be manually altered. Future ingestion/download and preprocessing code should live in source, making transformations from data/raw to data/processed reproducible. Data is expected to be externally stored or downloaded rather than committed to Git.
3. Reusable Analysis Layer
source is the designated home for reusable loaders, transformations, analysis functions, and data-processing scripts. It is the core implementation boundary: notebooks should call this code rather than duplicate substantial logic. source/tests is reserved for unit tests that specify and protect behavior of reusable source modules.
4. Exploratory and Result-Assembly Layer
notebooks is the interactive analysis and visualization layer, suitable for Jupyter notebooks or MATLAB Live Scripts. Notebooks consume raw/processed data and invoke reusable code from source; they should retain concise orchestration, narrative, and plotting rather than become the canonical implementation. Intermediate notebook outputs may be stored in data/interim.
5. Research Context and Method Provenance
Research inputs and interpretation are documented separately from executable analysis:
• Prior literature and summaries: background
• Data-collection protocols, dictionaries, and methodological documentation: methods
• Shared figure semantics and visual rules: STYLING.md
These materials support traceability from collected data through analysis to reported claims and provide the basis for eventual methods writing.
6. Publication and Communication Outputs
Publication artifacts are organized independently of analysis:
• Drafts, final manuscript materials, and publication records: manuscript
• Generated figures and their compact supporting assets: manuscript/figures
• Slides, posters, and related presentation materials: presentations
The intended flow is analysis/notebook results → publication figures → manuscript and presentations. Figures should be reproducible from the analysis/source layer where practical.
7. Collaboration and Runtime/Infrastructure
GitHub is the central infrastructure: Git provides versioned history and sharing; GitHub Issues are the intended tracker for analysis ideas, tasks, discussion, and completion records. GitHub can integrate with Slack for notifications and issue creation. No language runtime, package manifest, executable entry point, CI system, external data service, or implemented analysis code currently exists in the repository; all functional directories currently contain only .gitkeep placeholders.
Main entry points: source Reusable source · notebooks Notebooks · raw Raw data · figures Publication figures
Components 16
Data lifecycle
- Raw data · Externally stored or downloaded source data.
data/raw - Interim data
data/interim - Processed data
data/processed
Analysis
- Reusable source · Loaders, transformations, analyses, and processing scripts.
source - Source tests · Protect reusable source-module behavior.
source/tests - Notebooks · Narrative orchestration and visualization.
notebooks
Research context
- Background
background - Methods · Protocols, dictionaries, and methodological documentation.
methods - Styling guide
STYLING.md
Communication outputs
- Publication figures
manuscript/figures - Manuscript
manuscript - Presentations
presentations
Other components
- README · Primary human entry point.
README.md - GitHub + Git · Versioned sharing and project coordination.
- GitHub Issues · Tracks ideas, tasks, discussion, and completion.
- Slack · Can receive notifications and create issues.
Connections 22
- README → Reusable source: orients contributors
- Raw data → Reusable source: input
- Reusable source → Processed data: reproducibly transforms
- Reusable source → Interim data: derives small artifacts
- Source tests → Reusable source: specifies behavior
- Raw data → Notebooks: may be explored
- Processed data → Notebooks: analysis input
- Reusable source → Notebooks: reused by
- Notebooks → Interim data: intermediate outputs
- Background → Notebooks: informs interpretation
- Methods → Raw data: documents collection
- Methods → Reusable source: informs processing
- Styling guide → Notebooks: guides visuals
- Notebooks → Publication figures: generates results
- Styling guide → Publication figures: guides figure semantics
- Publication figures → Manuscript: included in
- Notebooks → Presentations: supplies results
- Manuscript → Presentations: communicates findings
- GitHub + Git → GitHub Issues: hosts
- Slack → GitHub Issues: creates and notifies
- GitHub + Git → Reusable source: versions and shares
- GitHub + Git → Manuscript: versions and shares