- This repo enables Quarto freezing by default (
_quarto.ymlandposts/_metadata.ymlsetfreeze: true), so HTML can show stale code output even after scripts change. - To force a post to re-execute when rendering, use one of:
- Add
freeze: falseto that post’s YAML. - Render with
quarto render <post>.qmd -M freeze:false --execute --no-cache. - Delete/move the relevant
_freeze/posts/<post>/directory and re-render.
- Add
- Pandoc/Quarto treats
@somethingas a citation key. - When quoting Twitter handles or similar text, use
@handleto display a literal@handlewithout triggering citations.
Files:
posts/2025-10-19-forecasts-of-AI-growth.qmd(includes an embedded “Validation Checks” block)tools/forecasts_test.py(prints a Markdown checklist used by the post)posts/ai.bib(bibliography, includingquote+growth_annual_excess)references/text/<citekey>.txt(local fulltext snapshots)
What tools/forecasts_test.py checks:
- Citekeys in the QMD exist in
posts/ai.bib. - Forecast table rows have consistent column counts.
- QMD table
quoteandgrowthcells matchposts/ai.bib. - Bib quotes match local fulltext in
references/text/<citekey>.txtfor forecast-table entries when the local fulltext is “usable”.- Some sources block scraping (Cloudflare, paywalls, etc.); those local files may contain “verifying you are human”/permission errors and are treated as missing/unusable.
tools/fetch_bib_texts.pycan populatereferences/text/fromtext_url/urlfields (skips PDFs).- Some sites will still block automated fetches; in that case you may need a manual copy or a different accessible
text_url.
- arXiv: prefer HTML via
https://ar5iv.labs.arxiv.org/html/<id>(good for quote-matching); PDF ishttps://arxiv.org/pdf/<id>.pdf. - PDF-first sources (BIS/ECB/working papers, etc.):
tools/fetch_bib_texts.py --pdfdownloads PDFs and extracts text viapdftotext(Poppler). - Twitter/X: avoid citation parsing of
@handlein Quarto by writing it as@handlein quoted text. - Paywalls/bot checks (Bloomberg/OECD/IMF/etc.): the “fulltext” you fetch may be a Cloudflare/Akamai placeholder (“verifying you are human”, permission errors). Treat these as unusable and find an alternative mirror/cached copy (author site, arXiv preprint, institution PDF, etc.).
posts/2025-12-17-llm-time-saving-demand-theory-substitution.llm.qmdrunstools/test_llm_time_saving_qmd.py.- Quarto’s execution CWD can vary; that post includes logic to locate the repo root before running the tool.