Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
ab02aed
feat: add --server-port option to connect to external vLLM server
CharlesR-W Jan 15, 2026
4000a9c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jan 15, 2026
ccdd2e4
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Jan 19, 2026
a4067f9
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jan 19, 2026
8ac4516
Merge pull request #165 from EleutherAI/pre-commit-ci-update-config
SrGonao Jan 20, 2026
6eeb435
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Mar 9, 2026
28ec496
Merge pull request #170 from EleutherAI/pre-commit-ci-update-config
SrGonao Mar 12, 2026
2795871
0.1.2
Mar 12, 2026
f851189
ci: add uv quality gates and test discovery config
SrGonao Mar 12, 2026
9b9079c
sparse-coders: enforce random config contract and forward args
SrGonao Mar 12, 2026
79fdfdd
scorers: align async contracts and tighten classifier typing
SrGonao Mar 12, 2026
2ddfb21
latents: fix cache path handling and typing
SrGonao Mar 12, 2026
fb3aa86
fix(classifier): make log_prob an explicit constructor option
SrGonao Mar 12, 2026
805fb1a
Merge pull request #174 from EleutherAI/pr/latents-cache-cleanup
SrGonao Mar 12, 2026
c845cc8
Merge pull request #173 from EleutherAI/pr/scorers-contract-fixes
SrGonao Mar 12, 2026
222a984
Merge pull request #171 from EleutherAI/pr/ci-uv-quality-gates
SrGonao Mar 12, 2026
2f9bbde
Merge pull request #172 from EleutherAI/pr/sparse-random-contract
SrGonao Mar 12, 2026
a70e7ee
0.1.3
Mar 12, 2026
aed0e64
fix: decode str_tokens per token for transformers >= 5
robbiebusinessacc Jun 10, 2026
55b758b
fix: failed_count is always zero in result analysis
WatchTree-19 Jul 7, 2026
f04180c
fix(explainer): harden parse_explanation against CoT echo and marker …
JohnKearney-Dev Jul 22, 2026
732f0dc
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 22, 2026
87896e7
Merge pull request #177 from robbiebusinessacc/contrib/per-token-decode
SrGonao Aug 25, 2026
5a3188a
Merge pull request #178 from WatchTree-19/fix-failed-count-metric
SrGonao Aug 25, 2026
4fea06e
Merge pull request #179 from AUTHENSOR/fix/explainer-parse-explanatio…
SrGonao Aug 25, 2026
00f33b8
fix: simulator returns zeros on transformers >= 5 and BOS-less tokeni…
flyingdoubleG Oct 23, 2026
91c30d5
fix: per-module aggregation in result analysis with several hookpoints
flyingdoubleG Oct 23, 2026
93c8bb8
fix: sample scoring examples from those not shown to the explainer
flyingdoubleG Oct 23, 2026
54bd81d
fix: IntruderScorer(type="internal") crashes when picking the intrude…
flyingdoubleG Oct 23, 2026
099c9d1
fix: SurprisalScorer reuses a mutated KV cache across batches
flyingdoubleG Oct 23, 2026
ff726d7
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Oct 26, 2026
508c411
Merge pull request #184 from flyingdoubleG/fix/surprisal-kv-cache
SrGonao Oct 30, 2026
e6bf0f4
Merge pull request #182 from flyingdoubleG/fix/held-out-test-examples
SrGonao Oct 30, 2026
84daf52
Merge pull request #183 from flyingdoubleG/fix/intruder-internal-quan…
SrGonao Oct 30, 2026
ea5e77f
fix: isolate explainer test imports and respect intruder distance type
SrGonao Oct 31, 2026
a8638f7
fix: match fuzzing mark distributions between labels
SrGonao Oct 31, 2026
7c55156
fix: validate classifier answers and score partial batches
SrGonao Oct 31, 2026
2bb63f6
fix: correct centering and sample distinct negative windows
SrGonao Oct 31, 2026
9b0702f
fix: preserve latent records when saving and displaying examples
SrGonao Oct 31, 2026
f8da27e
docs: clarify release history and remove duplicate changelog entries
SrGonao Oct 31, 2026
2a5c01b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 31, 2026
1863d7e
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 31, 2026
b65af01
fix: normalize integer simulator activations under runtime checking
SrGonao Oct 31, 2026
4454cf9
fix: preserve positional classifier output compatibility
SrGonao Oct 31, 2026
4429341
test: read only tensor cache splits and compare original tokens
SrGonao Nov 1, 2026
d1b3c99
Merge branch 'fix/ci-module-cache-isolation' into fix/fuzzing-matched…
SrGonao Nov 1, 2026
c0df734
Merge branch 'fix/ci-module-cache-isolation' into fix/classifier-bina…
SrGonao Nov 1, 2026
4554bb3
Merge branch 'fix/ci-module-cache-isolation' into fix/constructor-win…
SrGonao Nov 1, 2026
146cafc
Merge branch 'fix/ci-module-cache-isolation' into fix/record-save-and…
SrGonao Nov 1, 2026
3f24793
Merge branch 'fix/ci-module-cache-isolation' into docs/changelog-cleanup
SrGonao Nov 1, 2026
9870a3e
Merge branch 'fix/ci-module-cache-isolation' into fix/simulator-numer…
SrGonao Nov 1, 2026
1cf9f42
Merge pull request #181 from flyingdoubleG/fix/result-analysis-modules
SrGonao Nov 2, 2026
c0bc2fe
Merge pull request #180 from flyingdoubleG/fix/simulator-chat-templat…
SrGonao Nov 2, 2026
9c9b15b
Merge pull request #175 from EleutherAI/pre-commit-ci-update-config
SrGonao Nov 2, 2026
2bd6003
Merge pull request #185 from EleutherAI/fix/ci-module-cache-isolation
SrGonao Nov 2, 2026
fd5bc27
Merge pull request #186 from EleutherAI/fix/fuzzing-matched-mark-sets
SrGonao Nov 2, 2026
2298633
Merge pull request #187 from EleutherAI/fix/classifier-binary-parsing
SrGonao Nov 2, 2026
fd06aea
Merge pull request #188 from EleutherAI/fix/constructor-window-sampling
SrGonao Nov 2, 2026
3e12ba4
Merge pull request #189 from EleutherAI/fix/record-save-and-display
SrGonao Nov 2, 2026
aa0e1fa
Merge pull request #190 from EleutherAI/docs/changelog-cleanup
SrGonao Nov 2, 2026
a0cbd30
Merge pull request #191 from EleutherAI/fix/simulator-numeric-activat…
SrGonao Nov 2, 2026
f207027
feat: support external chat servers with explicit simulation capabili…
SrGonao Nov 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -e ".[dev,visualize]"
- name: Run lint
run: ruff check .
- name: Run type check (non-blocking)
continue-on-error: true
run: pyright
- name: Smoke check
run: python -c "import delphi; print(delphi.__version__)"
- name: Run tests
run: pytest
- name: build
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ repos:
- id: end-of-file-fixer
- id: check-added-large-files
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.11.0
rev: 26.10.1
hooks:
- id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.14.4'
rev: 'v0.17.2'
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
107 changes: 32 additions & 75 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,90 +1,47 @@
# CHANGELOG
# Changelog

## v0.1.3 (2026-03-12)

## v0.1.1 (2025-08-27)

### Bug Fixes

- Make simulator workable
([`0ceaa10`](https://github.com/EleutherAI/delphi/commit/0ceaa10bd7b1b7beb411c488ff348c06fb868a67))

* bump vllm dependency to latest

* change simulation scoring default to all at once for local models

* use Role class instead of hardcoding

* delete old oai simulator scorer

* refactor
- Make `log_prob` an explicit classifier constructor option
([fb3aa86](https://github.com/EleutherAI/delphi/commit/fb3aa863487683285a04f39f3c3134aa6cddb956)).
- Add uv quality gates and test discovery configuration
([f851189](https://github.com/EleutherAI/delphi/commit/f851189d1f61b2886176e37babc84c3198eb5a32)).

* [pre-commit.ci] auto fixes from pre-commit.com hooks
## v0.1.2 (2026-03-12)

for more information, see https://pre-commit.ci
- Add configurable `max_memory` for the offline explainer and update vLLM
prompt formatting and the minimum supported vLLM version
([#156](https://github.com/EleutherAI/delphi/pull/156)).
- Fix multiple false-positive highlighting and intruder example formatting,
and simplify pipeline error reporting
([#153](https://github.com/EleutherAI/delphi/pull/153)).

* linter fix

* replace lambda with function

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
## v0.1.1 (2025-08-27)

- Restore simulator compatibility with vLLM, default local simulation to the
all-at-once mode, and refactor simulator prompt handling
([0ceaa10](https://github.com/EleutherAI/delphi/commit/0ceaa10bd7b1b7beb411c488ff348c06fb868a67)).

## v0.1.0 (2025-06-17)

### Features

- Replaces print with logging ([#136](https://github.com/EleutherAI/delphi/pull/136),
[`431d654`](https://github.com/EleutherAI/delphi/commit/431d6546c3a3a4ede107d5d4ebe0ffd75e5c923b))

* feat: replaces print with logging

* Change some infos to warnings in constructor

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: Goncalo Paulo <30472805+SrGonao@users.noreply.github.com>

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

- Replace print statements with logging
([#136](https://github.com/EleutherAI/delphi/pull/136)).

## v0.0.2 (2025-06-02)

### Bug Fixes

- Initial release
([`6efa228`](https://github.com/EleutherAI/delphi/commit/6efa228c8d9c0fddc6cb21760c1adb1d51ffdc77))

This release records an empty commit titled "initial release"
([6efa228](https://github.com/EleutherAI/delphi/commit/6efa228c8d9c0fddc6cb21760c1adb1d51ffdc77)).
It is a release marker, not the start of the project's history; v0.0.1 was
already published. The marker itself contains no code changes.

## v0.0.1 (2025-04-21)

### Bug Fixes

- Add missing libraries
([`d6f7c72`](https://github.com/EleutherAI/delphi/commit/d6f7c72c0b9dd4fd12dc78aa75fd77d146b0199b))

- Add missing libraries
([`853d8ca`](https://github.com/EleutherAI/delphi/commit/853d8ca93256b8bda1395bab08199de45eb63926))

- Scope issue with sae causing it to not be loaded properly
([`94f40cc`](https://github.com/EleutherAI/delphi/commit/94f40cc8def426baa9be682e22c96d4c31a8b5ed))

- Scope issue with sae causing it to not be loaded properly
([`23caed7`](https://github.com/EleutherAI/delphi/commit/23caed746e0536da5a0739b6f0cdf12c678be467))

### Documentation

- Update README.md
([`4385b0b`](https://github.com/EleutherAI/delphi/commit/4385b0b3a9ee99fdbf5713a3f990ab5721b12d1e))

acessed -> accessed

- Update README.md
([`31b6896`](https://github.com/EleutherAI/delphi/commit/31b6896ae412903ab797da429f8c834a26a8dfed))

acessed -> accessed
- Add missing dependencies
([d6f7c72](https://github.com/EleutherAI/delphi/commit/d6f7c72c0b9dd4fd12dc78aa75fd77d146b0199b),
[853d8ca](https://github.com/EleutherAI/delphi/commit/853d8ca93256b8bda1395bab08199de45eb63926)).
- Fix an SAE scope issue that prevented loading
([94f40cc](https://github.com/EleutherAI/delphi/commit/94f40cc8def426baa9be682e22c96d4c31a8b5ed),
[23caed7](https://github.com/EleutherAI/delphi/commit/23caed746e0536da5a0739b6f0cdf12c678be467)).
- Correct a README typo
([4385b0b](https://github.com/EleutherAI/delphi/commit/4385b0b3a9ee99fdbf5713a3f990ab5721b12d1e),
[31b6896](https://github.com/EleutherAI/delphi/commit/31b6896ae412903ab797da429f8c834a26a8dfed)).
2 changes: 1 addition & 1 deletion delphi/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.1.1"
__version__ = "0.1.3"

import logging

Expand Down
Loading
Loading