Skip to content

doc: Fix docstrings/comment in TemporalSAE#702

Merged
chanind merged 2 commits into
decoderesearch:mainfrom
danra:temporal_doc_fix
Jun 16, 2026
Merged

doc: Fix docstrings/comment in TemporalSAE#702
chanind merged 2 commits into
decoderesearch:mainfrom
danra:temporal_doc_fix

Conversation

@danra

@danra danra commented Jun 11, 2026

Copy link
Copy Markdown
Contributor
  • I have run make check-ci to check format and linting. (you can run make format to format code if needed.)

Copilot AI review requested due to automatic review settings June 11, 2026 22:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates TemporalSAE encoding documentation to clearly distinguish between novel and context-predicted codes, and adds an explicit docstring for the encode() override.

Changes:

  • Clarified encode_with_predictions() docstring to document the (z_novel, z_pred) tuple return.
  • Updated the return comment to reflect returning both novel and predicted codes.
  • Added a docstring to encode() describing that it returns only novel (sparse) codes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@danra danra force-pushed the temporal_doc_fix branch from dbbf415 to e4db4ac Compare June 12, 2026 00:39

@chanind chanind 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.

Good catch!

@chanind chanind merged commit b100d70 into decoderesearch:main Jun 16, 2026
4 of 5 checks passed
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.

3 participants