Skip to content

Add an analysis tool selection guide - #1782

Merged
jlarson4 merged 1 commit into
TransformerLensOrg:devfrom
emerardd:docs/analysis-tool-selection-guide
Sep 14, 2026
Merged

jlarson4 merged 1 commit into
TransformerLensOrg:devfrom
emerardd:docs/analysis-tool-selection-guide

Conversation

@emerardd

Copy link
Copy Markdown
Contributor

Description

This adds a question-led guide for choosing among the high-level tools in transformer_lens.tools.analysis and links it from the documentation index.

As someone new to these analysis methods, I found that the existing tool-specific documentation did not provide one place to decide which method fits a research question. The guide compares each tool's inputs, outputs, computational cost, model requirements, and interpretation limits. It also distinguishes readouts and geometric evidence from causal interventions, includes a model-free Projection Kernel example, and ends with a reproducibility checklist for a focused experiment.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Screenshots

Not applicable; this adds a prose documentation page and one navigation entry.

Validation

  • All relative Markdown links resolve locally.
  • git diff --check passes.
  • A Sphinx dummy build completed successfully with generated notebooks excluded; the new page parsed and its API cross-references resolved. The standard local build could not complete its model-table refresh without a valid Hugging Face token, so the docs CI job remains the full environment check.

Checklist:

  • I have commented my code, particularly in hard-to-understand areas (not applicable; no code changed)
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings (awaiting the full docs CI environment check)
  • I have added tests that prove my fix is effective or that my feature works (not applicable; documentation-only)
  • New and existing unit tests pass locally with my changes (not run; documentation-only)
  • I have not rewritten tests relating to key interfaces which would affect backward compatibility

As a newcomer to these analysis methods, I found there was no single guide explaining which tool fits which research question. Add a question-led overview of the available analysis tools, their requirements, costs, and interpretation limits, and link it from the documentation index.
@jlarson4

Copy link
Copy Markdown
Collaborator

Looks great @emerardd! Assuming the CI re-run passes, I will get this merged

@jlarson4
jlarson4 merged commit 133add4 into TransformerLensOrg:dev Sep 14, 2026
51 of 52 checks passed
@emerardd
emerardd deleted the docs/analysis-tool-selection-guide branch October 17, 2026 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants