CLAUDE.md
CLAUDE.md
Author identity — read this first
The site owner’s academic name is Rafael Macedo-Rubião (hyphenated surname; changed from “Rafael M. Rubião” in September 2026). Use it everywhere his name appears: page text, _config.yml, the CV, and citations of his own work, which are written Macedo-Rubião, R. Never reintroduce “Rafael M. Rubião”, “Rubião, R. M.”, or an unhyphenated “Macedo Rubião”.
Deliberately unchanged (do not “fix” these): the GitHub handle and site URL (rafaelrubiao), email addresses, and the CV filenames files/Rubiao_RafaelM_CV.{tex,pdf} — kept stable so existing external links and the local build workflow don’t break.
Site facts
- Jekyll site on the academicpages theme (fork of Minimal Mistakes). GitHub Pages serves master; work on feature branches and merge via PR. Merge your own PRs yourself (squash) once tested: the owner does not want to click merge. The owner’s
.claude/settings.jsonallows the GitHub merge tool. - Content lives in
_pages/:about.md(homepage, permalink/),research.md,code.md,qualtrics-llm.md(AI interview toolkit),cv.md. Custom styles in_sass/_custom.scss(imported fromassets/css/main.scss); paper figures inimages/wp-*.png. - Availability polls: unlisted pages
/femba-midterm/and/emba-midterm/(midterm TA sessions: 3-hour windows, Fri Oct 30 and Sat Oct 31, 9am-8pm PT;_pages/{femba,emba}-midterm.html→_includes/availability-poll.html,assets/js/availability-poll.js). Responses go to a Google Apps Script web app (_apps-script/availability-poll.gs, not published) that writes to the owner’s private Google Sheet; its URL isavailability_poll_endpointin_config.yml. The slot list (DAYS × TIMES) is defined in both the .js and the .gs file and must stay identical. Changing them needs the owner to paste the new .gs and deploy a new version; the first submission then erases the old answers (headerOk_/setup)./poll-results/(_pages/poll-results.html,assets/js/availability-poll-results.js) shows the counts (never emails) to whoever types the password in the sheet’s Settings tab (B1). - Unlisted class games: plain HTML files under
games/(e.g.games/bertrand/index.html→/games/bertrand/), shared by link only and never linked from the site. Each carries its ownnoindextag; a_config.ymldefault keepsgames/out ofsitemap.xml. Styled after the MGMT 405 course site (navy/gold, Carlito + Source Sans 3). The Bertrand game has two game types, with no Stackelberg wording anywhere for students (simplified 2026-11 at the owner’s request): Bertrand (default) and Collusion (Airbus matches the student’s price). In Bertrand, Airbus answers each price with its best response (216 + P/4), so play walks toward Nash; once the student’s price is between the Nash price (288) and the leader price (292), Airbus charges its Nash price for the rest of the game. A best-response chart draws both lines and the path of play as arrows (across = student, up/down = Airbus), with a footnote that this simplifies the turn-taking. Old links?game=simultaneous|leader|followeropen Bertrand. The algebra guide atgames/bertrand/solve/covers Bertrand and Collusion; its worked answers assume the default parameters (a=400, b=2, c=1, MC=232 for both firms): change the guide if those defaults change. History: Leader and Follower games and a take-turns “Sequential” game existed before and were removed. - Unlisted class maps:
minimum-wage/(landing page) withstates/andcounties/, plain self-contained HTML (data and TopoJSON embedded; d3 and topojson from cdnjs). US minimum wages in effect 2026-10-24, nominal vs. deflated by BEA 2024 RPPs. Same treatment asgames/:noindextag, kept out ofsitemap.xml, shared by link only. Built from a separate replication package (Stata do-file + input CSVs); regenerate there, don’t hand-edit data. - Analytics: GoatCounter, private dashboard at rafaelrubiao.goatcounter.com (
analytics.provider: "custom",analytics.goatcounter_codein_config.yml, snippet in_includes/analytics-providers/custom.html, loaded bydefaultandpolllayouts). Pages that skip the theme (games/,minimum-wage/) carry the snippet by hand; add it to any new standalone page. - Research page convention: Working Papers (figure beside abstract), then Work in Progress, then Policy and Other Writings — lists, modeled on jpchauvin.com/papers.
- CV: edit
files/Rubiao_RafaelM_CV.tex(pdflatex), recompile, and commit the refreshedfiles/Rubiao_RafaelM_CV.pdfalongside it. - Build:
bundle exec jekyll build(on Ruby ≥ 3.3, pinlogger 1.5.xin a side Gemfile if the build crashes in Jekyll’s log adapter).
