Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    2 of 7 committers (28.6%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.4%) to scientific vocabulary
Last synced: 7 months ago · JSON representation ·

Repository

Basic Info
Statistics
  • Stars: 6
  • Watchers: 2
  • Forks: 5
  • Open Issues: 51
  • Releases: 5
Created about 4 years ago · Last pushed 10 months ago
Metadata Files
Readme License Citation

README.Rmd

---
output: github_document
bibliography: references.bib
---



```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
```

# Why does preregistration increase the persuasiveness of evidence? A Bayesian rationalization.

## [🗎 Manuscript draft 🗎](https://aaronpeikert.github.io/bayes-prereg/manuscript.pdf) / [Talk slides](https://aaronpeikert.github.io/bayes-prereg/presentation.html)


```{r abstract, echo=FALSE, results='asis'}
cat(readLines('abstract.md'))
```

## How to reproduce?

### GitHub Actions

Reproduction is done automatically on GitHub: [![Render and deploy PDF](https://github.com/aaronpeikert/bayes-prereg/actions/workflows/render-n-deploy-pdf.yml/badge.svg)](https://github.com/aaronpeikert/bayes-prereg/actions/workflows/render-n-deploy-pdf.yml), so forking the repo and pushing changes should be sufficient for you to reproduce.

### Using Docker

#### Prebuild Image

This workflow requires Docker, Git, and Make installed:

1. Get docker image, and give it a local tag:

```
docker pull ghcr.io/aaronpeikert/bayes-prereg:main
docker tag ghcr.io/aaronpeikert/bayes-prereg:main bayesprereg:latest
```

2. Reproduce:

```
git clone https://github.com/aaronpeikert/bayes-prereg.git
cd bayes-prereg
make DOCKER=TRUE
```

#### Self build Image

1. Build the image locally:

```
make docker
```

2. Reproduce:

```
make DOCKER=TRUE
```

#### Without Make/Git

Since Make and Git are installed in the image, the docker container is technically all you need.
However, retrieving the end result requires you to [bind a volume to the container (modify first comand).](https://docs.docker.com/storage/volumes/)

```
docker run ghcr.io/aaronpeikert/bayes-prereg:main bash
git clone https://github.com/aaronpeikert/bayes-prereg.git
cd bayes-prereg
make
```

An alternative with graphical user interface is:

1. Get docker image:

```
docker run ghcr.io/aaronpeikert/bayes-prereg:main
```

2. Use the url and password that is shown to you in the terminal to open RStudio in your web browser.
3. Create a new project, click on "version control", click on "git", paste url: `https://github.com/aaronpeikert/bayes-prereg.git`
4. Reproduce by running `make` in the RStudio terminal (not console!).

### Locally

#### With Git and Make

Make sure you have all installed software you need.

```
git clone https://github.com/aaronpeikert/bayes-prereg.git
cd bayes-prereg
make
```

#### Per pedes

1. Open RStudio
2. Create a new project, click on "version control", click on "git", paste url: `https://github.com/aaronpeikert/bayes-prereg.git`
3. Open `manuscript.Rmd`.
4. Install all the packages listed under `packages` in the yaml metadata.
5. Open `R/simulation.R` and run it.
6. Open `manuscript.Rmd` and click on knit.

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: >-
  Why does preregistration increase the persuasiveness of
  evidence? A Bayesian rationalization.
message: >-
  If you use this dataset, please cite it using the metadata
  from this file.
type: article
authors:
  - family-names: Peikert
    given-names: Aaron
    orcid: 'https://orcid.org/0000-0001-7813-818X'
  - family-names: Brandmaier
    given-names: Andreas M.
    orcid: 'https://orcid.org/0000-0001-8765-6982'
repository-code: 'https://github.com/aaronpeikert/bayes-prereg'
url: 'https://aaronpeikert.github.io/bayes-prereg/manuscript.pdf'
license: CC0-1.0
commit: 16b2bbd

GitHub Events

Total
  • Release event: 1
  • Issue comment event: 7
  • Push event: 22
  • Pull request event: 2
  • Pull request review event: 3
  • Pull request review comment event: 2
  • Create event: 1
Last Year
  • Release event: 1
  • Issue comment event: 7
  • Push event: 22
  • Pull request event: 2
  • Pull request review event: 3
  • Pull request review comment event: 2
  • Create event: 1

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 348
  • Total Committers: 7
  • Avg Commits per committer: 49.714
  • Development Distribution Score (DDS): 0.273
Past Year
  • Commits: 57
  • Committers: 4
  • Avg Commits per committer: 14.25
  • Development Distribution Score (DDS): 0.351
Top Committers
Name Email Commits
Aaron Peikert a****t@p****e 253
Aaron Peikert p****t@m****e 55
Andreas Brandmaier b****r@m****e 24
Andreas Brandmaier a****y@b****e 9
maximilian m****t@g****m 5
CliffBod 1****d 1
carolinegahrmann 7****n 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 12 months ago

All Time
  • Total issues: 71
  • Total pull requests: 37
  • Average time to close issues: 7 days
  • Average time to close pull requests: 25 days
  • Total issue authors: 3
  • Total pull request authors: 3
  • Average comments per issue: 0.15
  • Average comments per pull request: 3.19
  • Merged pull requests: 29
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 2
  • Pull requests: 6
  • Average time to close issues: N/A
  • Average time to close pull requests: about 2 months
  • Issue authors: 2
  • Pull request authors: 3
  • Average comments per issue: 0.0
  • Average comments per pull request: 4.83
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • aaronpeikert (55)
  • Maximilian-Stefan-Ernst (7)
  • brandmaier (6)
Pull Request Authors
  • aaronpeikert (29)
  • brandmaier (9)
  • Maximilian-Stefan-Ernst (4)
Top Labels
Issue Labels
andreas (11) ylva (10) help wanted (9) caro (8) revision (5) maximilian (2) submission (1) discussion (1)
Pull Request Labels
andreas (1)

Dependencies

.github/workflows/preview-pr.yml actions
  • JamesIves/github-pages-deploy-action v4 composite
  • actions/checkout v3 composite
  • actions/github-script v5 composite
.github/workflows/push-container.yml actions
  • actions/checkout v3 composite
  • docker/build-push-action ad44023a93711e3deb337508980b4b5e9bcdc5dc composite
  • docker/login-action f054a8b539a109f9f41c372932f1ae047eff08c9 composite
  • docker/metadata-action 98669ae865ea3cffbcbaa878cf57c20bbf1c6c38 composite
.github/workflows/render-n-deploy-pdf.yml actions
  • JamesIves/github-pages-deploy-action v4 composite
  • actions/checkout v3 composite
Dockerfile docker
  • rocker/verse 4.1.3 build