Skip to content

docs: align analysis tools guide with v4 capabilities - #1798

Merged
jlarson4 merged 2 commits into
TransformerLensOrg:devfrom
emerardd:docs/analysis-tools-v4-capabilities
Sep 23, 2026
Merged

jlarson4 merged 2 commits into
TransformerLensOrg:devfrom
emerardd:docs/analysis-tools-v4-capabilities

Conversation

@emerardd

Copy link
Copy Markdown
Contributor

Description

Update the analysis-tools overview to match the current v4 APIs. The guide no longer suggests using removed HookedTransformer classes for DLA or direct path patching, describes the supported edge-granularity attribution workflow and its ig_steps=1 limit, and broadens Backward Lens guidance to the dense-MLP decoder-only Bridge models now supported by the implementation.

This is documentation-only and does not change runtime behavior. It does not overlap the hook-alias documentation work in #1797.

Type of change

  • This change requires a documentation update

Validation

  • The updated page builds with a scoped Sphinx HTML build.
  • git diff --check passes.
  • uv run --frozen mypy . passes (383 source files).
  • The full uv run --frozen build-docs build passes locally. It is blocked on this Windows machine by a missing Pandoc executable while converting generated/demos/Exploratory_Analysis_Demo.ipynb; the failure is outside this page. The docs CI job will run because the branch name contains docs.

Checklist

  • I have made corresponding changes to the documentation
  • I have not rewritten tests relating to key interfaces which would affect backward compatibility

No code or tests were changed, so the code-comment and test checkboxes are not applicable.

@jlarson4 jlarson4 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating these docs, I missed them in my pre-release sweep. A couple small comments below

Comment thread docs/source/content/analysis_tools.md Resolved
Comment thread docs/source/content/analysis_tools.md Resolved
@jlarson4

Copy link
Copy Markdown
Collaborator

Looks great @emerardd, as long as it passes CI I will get this merged

@jlarson4
jlarson4 merged commit 8bb8fcb into TransformerLensOrg:dev Sep 23, 2026
26 checks passed
@emerardd
emerardd deleted the docs/analysis-tools-v4-capabilities 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