Skip to content

Commit 081dfeb

Browse files
committed
0 parents  commit 081dfeb

167 files changed

Lines changed: 22601 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude-config.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"code_review": {
3+
"default_prompt": "You are a code reviewer. Find any bugs in the code in this repository in the {directory} directory.",
4+
"python_focus": [
5+
"Import errors or missing modules",
6+
"Variable naming inconsistencies",
7+
"File path issues (hardcoded paths, missing directories)",
8+
"Data type mismatches or conversion errors",
9+
"Index/column name mismatches in pandas operations",
10+
"Division by zero or NaN handling issues",
11+
"Logic errors in conditionals",
12+
"Missing error handling",
13+
"Inefficient or problematic code patterns"
14+
],
15+
"report_commands": [
16+
"write the error report to a file AI-Review.md",
17+
"Add to the report the total numbers of tokens used for the review, and the approximate cost of this session."
18+
]
19+
}
20+
}

.devcontainer/devcontainer.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "replication-template",
3+
"postCreateCommand": ".devcontainer/init.sh",
4+
"settings": {
5+
"workbench.colorTheme": "Visual Studio Light",
6+
"terminal.integrated.shell.linux": "/bin/bash"
7+
},
8+
"remoteEnv": {
9+
"DOCKER_BUILDKIT": "1",
10+
}
11+
}

.devcontainer/init.sh

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/bin/sh
2+
if [ ! -f stata.lic ]
3+
then
4+
if [ -z ${STATA_LIC_BASE64} ]
5+
then
6+
echo "No license found."
7+
exit 2
8+
else
9+
echo "${STATA_LIC_BASE64}" | base64 -d > stata.lic
10+
fi
11+
fi
12+
#docker buildx install
13+
14+
# Install packages we may need
15+
apt-get update && apt-get install -y \
16+
curl \
17+
pandoc \
18+
wkhtmltopdf
19+
20+
# AEA specific stuff
21+
#git clone https://github.com/AEADataEditor/editor-scripts.git /home/codespace/.local/bin
22+
#UNZIP=$(tempfile)
23+
wget https://github.com/AEADataEditor/editor-scripts/archive/refs/heads/main.zip -O /tmp/main.zip && unzip -d /home/codespace/.local/bin -j /tmp/main.zip
24+
25+
echo "init done."

.github/workflows/docs-deploy.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: Deploy Documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
14+
# Allow one concurrent deployment
15+
concurrency:
16+
group: "pages"
17+
cancel-in-progress: true
18+
19+
jobs:
20+
build:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Checkout
24+
uses: actions/checkout@v4
25+
26+
- name: Setup Python
27+
uses: actions/setup-python@v5
28+
with:
29+
python-version: '3.12'
30+
cache: 'pip'
31+
32+
- name: Install dependencies
33+
run: |
34+
pip install -r docs/requirements.txt
35+
36+
- name: Build MyST documentation
37+
run: |
38+
cd docs && myst build --html
39+
env:
40+
BASE_URL: https://aeadataeditor.github.io/replication-template
41+
42+
- name: Upload artifact
43+
uses: actions/upload-pages-artifact@v3
44+
with:
45+
path: docs/_build/html
46+
47+
deploy:
48+
environment:
49+
name: github-pages
50+
url: ${{ steps.deployment.outputs.page_url }}
51+
runs-on: ubuntu-latest
52+
needs: build
53+
steps:
54+
- name: Deploy to GitHub Pages
55+
id: deployment
56+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,164 @@
1+
# Data file extensions
2+
# They are duplicated in upper case and in some cases mixed case to cover all bases
3+
# If you want to make the parsing overall case-insensitive, you can use the following:
4+
# git config core.ignorecase false
5+
# Version: 2026-02-27
6+
*.gpkg
7+
*.GPKG
8+
*.bak
9+
*.BAK
10+
*.tmp
11+
*.TMP
12+
*.aux
13+
*.AUX
14+
*.mat
15+
*.MAT
16+
*.sav
17+
*.SAV
18+
*.sas7bdat
19+
*.SAS7BDAT
20+
*.dta
21+
*.DTA
22+
*.csv
23+
*.CSV
24+
*.tsv
25+
*.TSV
26+
*.RData
27+
*.RDATA
28+
*.rdata
29+
*.Rdata
30+
*.Rds
31+
*.RDs
32+
*.RDS
33+
*.rds
34+
*.RDA
35+
*.Rda
36+
*.raw
37+
*.Raw
38+
*.RAW
39+
*.dbf
40+
*.DBF
41+
*.prj
42+
*.PRJ
43+
*.shp
44+
*.SHP
45+
*.shx
46+
*.SHX
47+
*.xml
48+
*.XML
49+
*.xpt
50+
*.XPT
51+
*.cpg
52+
*.CPG
53+
*.sbn
54+
*.SBN
55+
*.sbx
56+
*.SBX
57+
*.mpk
58+
*.MPK
59+
*.tfw
60+
*.TFW
61+
*.pkl
62+
*.PKL
63+
*.pbf
64+
*.PBF
65+
*.jld2
66+
*.JLD2
67+
*.dat
68+
*.DAT
69+
*.Dat
70+
*.feather
71+
*.pickle
72+
*.tab
73+
*.TAB
74+
# Not sure what this, but unlikely to be a false positive; probably parquet for lazy folks
75+
*.p
76+
*.P
77+
# Sometimes, these are data files, too
78+
*.txt
79+
*.TXT
80+
*.asc
81+
*.ASC
82+
# Usually, we include images, but TIFF files can be huge
83+
*.tif*
84+
*.TIF*
85+
*.ovr
86+
*.OVR
87+
*.lyrx
88+
*.lyrx
89+
# Archives
90+
*.rar
91+
*.RAR
92+
*.zip
93+
*.ZIP
94+
*.gz
95+
*.tgz
96+
*.xz
97+
*.7z
98+
*.tar
99+
*.bz2
100+
*.BZ2
101+
# Databases
102+
**/.*gdb/
103+
*.sqlite
104+
*.SQLITE
105+
# Random binary formats
106+
*.bin
107+
*.BIN
108+
*.exe
109+
*.EXE
110+
*.dll
111+
*.DLL
112+
*.so
113+
*.SO
114+
# MacOS specific files and directories
115+
*.DS_Store
116+
*.DS_store
117+
*.ds_store
118+
__MACOSX/
119+
*.dmg
120+
*.DMG
121+
# Windows specific stuff?
122+
Thumbs.db
123+
# Stata-specific temp files
124+
*.stswp
125+
# Python-specific temp files
126+
.ipynb_checkpoints
127+
*.pyc
128+
__pycache__/
129+
# build-specific directories
130+
.rproj*
131+
.Rhistory
132+
.Rproj.user
133+
test
134+
.vscode
135+
*.npy
136+
__pycache__
137+
libraries
138+
# Exclusions we need for our work
139+
!R*.txt
140+
!R*.TXT
141+
!pii_stata_output.csv
142+
!code-check.xlsx
143+
!signalcommands.txt
144+
!stopwords.txt
145+
!candidatepackages.xlsx
146+
!requirements*.txt
147+
# Exclusions we need
148+
build/requirements.txt
149+
codeocean-*-live
150+
tmp
151+
cache
152+
# some files which should never be included
153+
*.lic
154+
*.LIC
155+
# Ignore all files in any directory named "data"
156+
**/data/*
157+
.env
158+
*.sif
159+
160+
# Python virtual environments for documentation
161+
.venv-docs/
162+
163+
# MyST build artifacts (docs/_build is already in docs/.gitignore)
164+
_build/

.lfsconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[lfs]
2+
fetchexclude = *

.nojekyll

Whitespace-only changes.

0 commit comments

Comments
 (0)