Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,15 @@ Triggers `deploy.yaml` after successful processing via `repository_dispatch`.

## Quality Checks

### [link-check.yaml](link-check.yaml)
**Weekly link check, and a check that the site's forms match Google**

| Trigger | Runs on |
|---------|---------|
| Mondays at 01:30 UTC, manual dispatch | `main` |

Besides checking links, it compares `assets/gforms/` with the live Google Forms. If a form has changed, it opens an issue assigned to the site maintainer. Fix it promptly by running `python3 scripts/build_google_forms.py` and committing the result, because Google may discard responses sent from the site until then. If the script stops with an error, the site cannot reproduce the change: undo it in Google or update `layouts/partials/google_form.html`. The issue closes itself once the definitions match again.

### [spell-check.yaml](workflows/spell-check.yaml)
**Spelling validation using codespell**

Expand Down
54 changes: 52 additions & 2 deletions .github/workflows/link-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ name: Link Checker
# =======================
# Website Link Validation
# =======================
# Purpose: Downloads the latest built site and checks all links (internal + external)
# Purpose: Downloads the latest built site and checks all links (internal + external), and
# compares the site's copies of Google Forms (assets/gforms/) with the live forms
# Triggers: Weekly on Mondays at 01:30 UTC or manual dispatch
# Reports: Updates the existing open "link-check"-labeled issue (or creates one if none exists)
# Reports: Updates the existing open "link-check"-labeled issue (or creates one if none exists).
# A changed Google Form gets its own issue, which closes once the copies match again
# Config: See .lychee.toml for exclusion patterns and request settings

on:
Expand Down Expand Up @@ -494,3 +496,51 @@ jobs:
gh issue create --title "$TITLE" --body-file "$BODY_FILE" --label link-check
fi

google-forms:
name: Check Google Forms
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
ISSUE_TITLE: A Google Form on forrt.org has changed
steps:
- name: Checkout repository
uses: actions/checkout@v6

- name: Compare the site's forms with the live Google Forms
id: compare
run: |
set +e
python3 scripts/build_google_forms.py --check 2>&1 | tee /tmp/google-forms.txt
echo "code=${PIPESTATUS[0]}" >> "$GITHUB_OUTPUT"
Comment thread
LukasWallrich marked this conversation as resolved.
Resolved

- name: Create or update the issue
if: steps.compare.outputs.code == '1'
run: |
{
echo "A Google Form shown on forrt.org no longer matches the copy the site uses. Until this is fixed, Google may discard responses sent from the site, and visitors are not told."
echo
echo '```'
cat /tmp/google-forms.txt
echo '```'
echo
echo "**To fix:** run \`python3 scripts/build_google_forms.py\` and commit the result. If it stops with an error, the site cannot reproduce the change: undo it in Google or update \`layouts/partials/google_form.html\`."
} > /tmp/google-forms-issue.md
EXISTING=$(gh issue list --state open --search "\"$ISSUE_TITLE\" in:title" --json number --jq '.[0].number // empty')
if [ -n "$EXISTING" ]; then
gh issue edit "$EXISTING" --body-file /tmp/google-forms-issue.md
else
gh issue create --title "$ISSUE_TITLE" --body-file /tmp/google-forms-issue.md --assignee LukasWallrich
fi

- name: Close the issue once the forms match
if: steps.compare.outputs.code == '0'
run: |
EXISTING=$(gh issue list --state open --search "\"$ISSUE_TITLE\" in:title" --json number --jq '.[0].number // empty')
if [ -n "$EXISTING" ]; then
gh issue close "$EXISTING" --comment "The site's copy matches the live forms again."
fi

- name: Fail the run if the comparison could not finish
if: steps.compare.outputs.code != '0' && steps.compare.outputs.code != '1'
run: exit 1
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"id": "1FAIpQLSckPkeCR6_hsmxqV9yQ66oLgLOhnnHBrk4ejgIBTsOQ0mZ6gg",
"title": "",
"description": "This is a simple, anonymous, open-text short survey for users of FORRT's Lesson Plans to give their feedback (critical or otherwise) so that we can learn how to better these resource. Please also feel free to share your experience, students experience, and any suggestions that may have arisen. If you would like to provide us with files, please email us at info@forrt.org",
"confirmation": "Your response has been recorded.",
"collect_email": false,
"items": [
{
"type": "paragraph",
"entry": "973290020",
"title": "What is your experience using FORRT's lesson plans? Any feedback or experience or suggestion is welcomed.",
"help": "",
"required": true
},
{
"type": "short",
"entry": "446372946",
"title": "What is your email? (if you want us to contact you back)",
"help": "",
"required": false
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
{
"id": "1FAIpQLSeMCwdtP0TPgL55stniuyyTxnNwyC34mO4VUuLcQwYrLI89sQ",
"title": "Submit Replication or Reproduction Study to FLoRA",
"description": "Please use this form if you would like to submit a reproduction or replication study in a brief and semi-structured format.<br><b>When can a study be considered to be a <i>reproduction</i>?</b><br>The study is assigned to one original study that tested at least one same hypothesis.<br>The study uses the <b>same dataset</b> as the original study.<br><b>When can a study be considered to be a <i>replication</i>?</b><br>The study is assigned to one original study that tested at least one same hypothesis.<br>The study tries to mirror the methods of the original study and justify deviations<br>Replicated and reported tests use <b>data that differ</b> from the data used in the original study.<br><br><b>Is this form for references, studies, or findings?</b><br>In this form, we ask you to enter references that include at least one replication or reproduction. You can indicate how many studies are included in the reference. Specifically, we are looking for unique pairs of 'original study + replication study'.<br><br><b>Will I become a contributor to the FORRT Library of Reproduction and Replication Attempts (FLoRA) by using this form?</b><br>You need to submit at least five new and correct entries via this form and write an email to lukas.roeseler@uni-muenster.de if you would like to be listed as a contributor to the FORRT Replication Database.<br><br><b>How long does it take for my entry to be added to the FORRT Replication Database?</b><br>As of spring 2026, the database is undergoing major expansion. Time for addition may range from one week to multiple months. Please send us an email if you want to learn about the status of your submission.",
"confirmation": "Your response has been recorded.",
"collect_email": false,
"items": [
{
"type": "text",
"title": "This form is part of the <a href=\"https://forrt.org/replication-hub\" target=\"_blank\" rel=\"noopener\">FORRT Replication Hub</a>. For more info send an e-mail to Lukas Röseler."
},
{
"type": "radio",
"entry": "737171809",
"title": "I have read the instructions and confirm that this study is not already listed in FLoRA. For this, I have searched for it via the <a href=\"https://forrt.org/flora-replication-atlas/\" target=\"_blank\" rel=\"noopener\">Replication Atlas</a>.",
"help": "",
"required": true,
"options": [
"I confirm."
]
},
{
"type": "radio",
"entry": "595177222",
"title": "<b>Type of \"Repetition\" Study</b>",
"help": "",
"required": true,
"options": [
"Replication (different data)",
"Reproduction (same data)",
"Both"
]
},
{
"type": "radio",
"entry": "1677363533",
"title": "<b>Type of Replication Reference </b>(must be a complete and citable study, i.e., no preregistration, no email exchange, no published data without report; if there are multiple replication studies of the same target study in a paper, please try to code what the authors say about each individual study with one filled-out form per study)",
"help": "",
"required": true,
"other": true,
"options": [
"Individual Study (i.e., one paper with one study)",
"Multiple Studies (i.e., one paper with multiple studies)",
"Multilab Replication",
"Results only (i.e., there is no paper with a thorough description of the study)"
]
},
{
"type": "radio",
"entry": "1334392718",
"title": "<b>Meta Paper</b>: For a replication reference that includes multiple studies: Are all <b>studies on the same topic</b> or does it include <b>unrelated replications/reproductions</b> (e.g., <a href=\"https://doi.org/10.1126/science.aac4716\" target=\"_blank\" rel=\"noopener\">Open Science Collaboration, 2015</a> includes many unrelated studies). For example, <a href=\"https://mgto.org/wp-content/uploads/2021/07/Chen-et-al-hindsight-bias-replications-extensions-print.pdf\" target=\"_blank\" rel=\"noopener\">a paper reporting replications of two different original papers</a> would not be considered a meta paper.",
"help": "",
"required": true,
"options": [
"Does not apply (single-study report)",
"All studies are on the same topic",
"Studies are not all on the same topic"
]
},
{
"type": "short",
"entry": "1001824025",
"title": "<b>Field </b>(e.g., Psychology, Management Science, ...)",
"help": "",
"required": false
},
{
"type": "short",
"entry": "1957272128",
"title": "<b>Description</b> (e.g., \"cascade effect (eye tracking) \", \"red romance effect\", \"people are more sensitive to the dosage of harm-based transgressions than purity transgressions\")",
"help": "",
"required": true
},
{
"type": "paragraph",
"entry": "355822122",
"title": "<b>Reference - Original</b> in APA format with DOI",
"help": "",
"required": true
},
{
"type": "paragraph",
"entry": "2125624621",
"title": "<b>Reference - Replication </b>in APA format with DOI<br><i>If your submission is referring to a study included in a meta-paper that is not also published as a stand-alone report (e.g., Open Science Collaboration, 2015), please paste here the reference to the meta-paper.</i>",
"help": "",
"required": true
},
{
"type": "short",
"entry": "2047756561",
"title": "<b>Report URL - Replication</b><br><i>If your submission is referring to a study included in a meta-paper OR if your reference has not been assigned a DOI please put here the (stable) URL to the individual report.</i>",
"help": "",
"required": false
},
{
"type": "radio",
"entry": "46854000",
"title": "<b>Current Review Status of the Replication</b>",
"help": "",
"required": false,
"other": true,
"options": [
"Peer-reviewed (published in a journal)",
"Peer-reviewed (independent community such as PCI)",
"Thesis",
"Not peer-reviewed (e.g., preprint)"
]
},
{
"type": "radio",
"entry": "748965106",
"title": "<b>Replication outcome</b> as reported by the replication authors (please select)",
"help": "",
"required": true,
"options": [
"Success",
"Failure",
"Mixed",
"Uninformative (should is coded if the replication authors explicitly say so, e.g., because their sample was too small)",
Comment thread
LukasWallrich marked this conversation as resolved.
Resolved
"Statistically successful but flawed (refers to replications where that is the main message [e.g., “we replicated x using the original methods, but show that they are not a valid test of the hypotheses”])",
"Descriptive / not applicable (when consistency with original is not of interest, e.g. for some qualitative replications)",
"Does not apply because it is a reproduction [please fill out next question]"
]
},
{
"type": "radio",
"entry": "1895061627",
"title": "<b>Reproduction outcome</b> as reported by th reproduction authors (please select)",
"help": "",
"required": true,
"options": [
"computationally successful, robust",
"computationally successful, robustness challenges",
"computationally successful, robustness not checked",
"computational issues, robust",
Comment thread
LukasWallrich marked this conversation as resolved.
Resolved
"computational issues, robustness challenges",
"computational issues, robustness not checked",
"computation not checked, robust",
"computation not checked, robustness challenges",
"computation not checked, robustness not checked",
"Does not apply because it is a reproduction [please fill out previous question]"
Comment thread
LukasWallrich marked this conversation as resolved.
Resolved
]
},
{
"type": "paragraph",
"entry": "2141826125",
"title": "<b>Replication abstract</b><br>Paste abstract from the replication study here. Note that this will not be part of the published dataset.",
Comment thread
LukasWallrich marked this conversation as resolved.
Resolved
"help": "",
"required": true
},
{
"type": "short",
"entry": "1231534344",
"title": "<b>Outcome quote</b><br>Copy the part from the <b>replication </b>abstract or text that describes the replication outcome, if there is no phrase in the abstract, check conclusion &gt; discussion &gt; results).",
"help": "",
"required": true
},
{
"type": "short",
"entry": "706143012",
"title": "<b>Outcome page number </b>(location of the quote, e.g., \"abstract\", \"p. 2\")",
"help": "",
"required": true
},
{
"type": "short",
"entry": "1126723589",
"title": "<b>Contributor </b>(first &amp; last name and email address, only required if you would like to become a contributor)",
"help": "",
"required": false
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"id": "1FAIpQLSebwqYgFmH3QJIMtPFUhuKeU1Rdbz5WqwP8iXd2cUPgZvUHRg",
"title": "FORRT's Anonymous Feedback Form",
"description": "Give us feedback. Any feedback. Anonymously.",
"confirmation": "Your response has been recorded.",
"collect_email": false,
"items": [
{
"type": "paragraph",
"entry": "1734919805",
"title": "Anonymity is an effective way of gaining honest and unbiased feedback. It is our hope that the anonymous form below allows us to address issues that we would otherwise be unaware of, and be able to make decisions faster and more effectively uninhibited feedback. If you have any feedback concerning our community, our open educational materials, our website, our Slack, our Publications, … we would be more than happy to hear from you!",
Comment thread
LukasWallrich marked this conversation as resolved.
Resolved
"help": "",
"required": false
}
]
}
Loading
Loading