Skip to content

Commit 73f51dc

Browse files
author
Krish Patel
committed
Merge branch 'development'
2 parents 71f031e + 92db424 commit 73f51dc

280 files changed

Lines changed: 2258 additions & 2240 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/ISSUE_TEMPLATE/bug_report.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Bug Report
3-
about: Report a bug in AECP
3+
about: Report a bug in Isotrieve
44
labels: bug
55
---
66

@@ -16,7 +16,7 @@ labels: bug
1616

1717
## Environment
1818

19-
- AECP version:
19+
- Isotrieve version:
2020
- Python version:
2121
- OS:
2222

‎.github/ISSUE_TEMPLATE/feature_request.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Feature Request
3-
about: Suggest a new feature for AECP
3+
about: Suggest a new feature for Isotrieve
44
labels: enhancement
55
---
66

‎.github/PULL_REQUEST_TEMPLATE/default.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
## Checklist
1010

1111
- [ ] Tests pass (`python -m pytest tests/ -q`)
12-
- [ ] Ruff passes (`ruff check aecp-python/src/ aecp-python/tests/`)
12+
- [ ] Ruff passes (`ruff check isotrieve-python/src/ isotrieve-python/tests/`)
1313
- [ ] CLAIMS.md updated (if benchmark numbers changed)
1414
- [ ] CHANGELOG.md updated (if user-facing change)
1515
- [ ] Docs updated (if API/behavior change)

‎.github/actions/gate-action/action.yml‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: "AECP Gate"
2-
description: "Run AECP quality gate on embedding config changes"
1+
name: "Isotrieve Gate"
2+
description: "Run Isotrieve quality gate on embedding config changes"
33

44
inputs:
55
mapping-path:
6-
description: "Path to .aecp mapping file"
6+
description: "Path to .isotrieve mapping file"
77
required: true
88
source-vectors:
99
description: "Path to source embedding NPY"
@@ -23,15 +23,15 @@ inputs:
2323
runs:
2424
using: "composite"
2525
steps:
26-
- name: Install AECP
26+
- name: Install Isotrieve
2727
shell: bash
28-
run: pip install aecp
28+
run: pip install isotrieve
2929

3030
- name: Run gate
3131
shell: bash
3232
run: |
3333
set +e
34-
aecp gate \
34+
isotrieve gate \
3535
--mapping ${{ inputs.mapping-path }} \
3636
--source-vectors ${{ inputs.source-vectors }} \
3737
--target-vectors ${{ inputs.target-vectors }} \
@@ -40,10 +40,10 @@ runs:
4040
EXIT_CODE=$?
4141
4242
if [ "${{ inputs.fail-on-warn }}" = "true" ] && [ $EXIT_CODE -ne 0 ]; then
43-
echo "::error::AECP gate did not PASS (exit code $EXIT_CODE)"
43+
echo "::error::Isotrieve gate did not PASS (exit code $EXIT_CODE)"
4444
exit 1
4545
elif [ $EXIT_CODE -eq 1 ]; then
46-
echo "::warning::AECP gate returned WARN — migration may reduce quality"
46+
echo "::warning::Isotrieve gate returned WARN — migration may reduce quality"
4747
exit 0
4848
fi
4949
exit $EXIT_CODE

‎.github/dependabot.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: 2
22
updates:
33
# Python dependencies
44
- package-ecosystem: "pip"
5-
directory: "/aecp-python"
5+
directory: "/isotrieve-python"
66
schedule:
77
interval: "weekly"
88
labels:

‎.github/workflows/ci.yml‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
- name: Install dependencies
1818
run: pip install ruff mypy
1919
- name: Ruff check
20-
run: ruff check aecp-python/src/ aecp-python/tests/
20+
run: ruff check isotrieve-python/src/ isotrieve-python/tests/
2121
- name: Ruff format check
22-
run: ruff format --check aecp-python/src/ aecp-python/tests/
22+
run: ruff format --check isotrieve-python/src/ isotrieve-python/tests/
2323

2424
test:
2525
runs-on: ubuntu-latest
@@ -32,10 +32,10 @@ jobs:
3232
with:
3333
python-version: ${{ matrix.python-version }}
3434
- name: Install package
35-
working-directory: aecp-python
35+
working-directory: isotrieve-python
3636
run: pip install -e ".[dev]"
3737
- name: Run tests
38-
working-directory: aecp-python
38+
working-directory: isotrieve-python
3939
run: python -m pytest tests/ -q --tb=short
4040

4141
typecheck:
@@ -46,8 +46,8 @@ jobs:
4646
with:
4747
python-version: "3.12"
4848
- name: Install package with types
49-
working-directory: aecp-python
49+
working-directory: isotrieve-python
5050
run: pip install -e ".[dev]" mypy
5151
- name: Mypy strict (core)
52-
working-directory: aecp-python
53-
run: mypy src/aecp/ --ignore-missing-imports
52+
working-directory: isotrieve-python
53+
run: mypy src/isotrieve/ --ignore-missing-imports

‎.github/workflows/deploy-pages.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Upload artifact
2929
uses: actions/upload-pages-artifact@v3
3030
with:
31-
path: aecp-website
31+
path: isotrieve-website
3232
- name: Deploy to GitHub Pages
3333
id: deployment
3434
uses: actions/deploy-pages@v4

‎.github/workflows/release.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ jobs:
1414
with:
1515
python-version: "3.12"
1616
- name: Install package
17-
working-directory: aecp-python
17+
working-directory: isotrieve-python
1818
run: pip install -e ".[dev]"
1919
- name: Run release tests
20-
working-directory: aecp-python
20+
working-directory: isotrieve-python
2121
run: python -m pytest tests/test_release.py -v --tb=short
2222
- name: Run full test suite
23-
working-directory: aecp-python
23+
working-directory: isotrieve-python
2424
run: python -m pytest tests/ -q --tb=short
2525

2626
publish:
@@ -37,9 +37,9 @@ jobs:
3737
- name: Install build tools
3838
run: pip install build twine
3939
- name: Build package
40-
working-directory: aecp-python
40+
working-directory: isotrieve-python
4141
run: python -m build
4242
- name: Publish to PyPI
4343
uses: pypa/gh-action-pypi-publish@release/v1
4444
with:
45-
packages-dir: aecp-python/dist/
45+
packages-dir: isotrieve-python/dist/

‎AGENTS.md‎

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,39 +2,39 @@
22

33
## What this library does
44

5-
`aecp` migrates a vector database to a new embedding model without re-embedding the corpus. Fits a linear map from ~2K calibration texts, then transforms stored vectors locally. 87-91% retrieval retention measured on BEIR benchmarks.
5+
`isotrieve` migrates a vector database to a new embedding model without re-embedding the corpus. Fits a linear map from ~2K calibration texts, then transforms stored vectors locally. 87-91% retrieval retention measured on BEIR benchmarks.
66

77
## Install
88

99
```bash
10-
pip install aecp
10+
pip install isotrieve
1111
```
1212

1313
## Quickstart (6 lines)
1414

1515
```python
16-
from aecp import RidgeMapping
16+
from isotrieve import RidgeMapping
1717
import numpy as np
1818
m = RidgeMapping(alpha="auto", seed=0)
1919
m.fit(X_cal, Y_cal) # X_cal: (K, d_src), Y_cal: (K, d_tgt)
20-
m.save("mapping.aecp")
20+
m.save("mapping.isotrieve")
2121
Z = m.transform(source_vectors)
2222
```
2323

2424
## CLI commands
2525

2626
```bash
27-
aecp plan --source-model <old> --target-model <new> --corpus-size <N>
28-
aecp calibrate --source-vectors X.npy --target-vectors Y.npy -o map.aecp
29-
aecp transform --mapping map.aecp --source-dir ./old --target-dir ./new
30-
aecp inspect map.aecp --json
27+
isotrieve plan --source-model <old> --target-model <new> --corpus-size <N>
28+
isotrieve calibrate --source-vectors X.npy --target-vectors Y.npy -o map.isotrieve
29+
isotrieve transform --mapping map.isotrieve --source-dir ./old --target-dir ./new
30+
isotrieve inspect map.isotrieve --json
3131
```
3232

3333
## Serve mode (zero corpus writes)
3434

3535
```python
36-
from aecp.serve import QueryAdapter
37-
qa = QueryAdapter.load("mapping.aecp")
36+
from isotrieve.serve import QueryAdapter
37+
qa = QueryAdapter.load("mapping.isotrieve")
3838
legacy_vec = qa.map_query(new_model_query_vector)
3939
```
4040

@@ -56,20 +56,20 @@ legacy_vec = qa.map_query(new_model_query_vector)
5656

5757
## Direction
5858

59-
AECP is migration CI for vector stores. Sell at the moment an upgrade is forced or blocked (deprecation, scale, SLA). Differentiate on the gate — quantified, per-domain, seed-robust retention numbers with boring rollback — not on the transform, which is commodity. The accumulating corpus of domain × model-pair validation results is the long-term moat.
59+
Isotrieve is migration CI for vector stores. Sell at the moment an upgrade is forced or blocked (deprecation, scale, SLA). Differentiate on the gate — quantified, per-domain, seed-robust retention numbers with boring rollback — not on the transform, which is commodity. The accumulating corpus of domain × model-pair validation results is the long-term moat.
6060

61-
**Embedding translation ≠ summarization.** Summarization is lossy compression of content (discarding information). AECP is change of coordinates for the same content (nothing discarded, same chunk, different geometry). The failure mode isn'"'"'t "information thrown away" — it'"'"'s "map between geometries is distorted" (hubness, non-isomorphism, seed sensitivity). That'"'"'s why the gate measures retrieval retention, not summary fidelity. Do not conflate these in docs or marketing.
61+
**Embedding translation ≠ summarization.** Summarization is lossy compression of content (discarding information). Isotrieve is change of coordinates for the same content (nothing discarded, same chunk, different geometry). The failure mode isn'"'"'t "information thrown away" — it'"'"'s "map between geometries is distorted" (hubness, non-isomorphism, seed sensitivity). That'"'"'s why the gate measures retrieval retention, not summary fidelity. Do not conflate these in docs or marketing.
6262

6363
**Falsification check (v0.4.0 + 60 days):** If adopters engage with transform but ignore gate/report/rollback, the migration-CI framing is wrong. Measure: fraction of transform users who run gate, fraction of gate passes followed by apply. If gate engagement < 20%, reposition at 0.6.0 as "best adapter library with honest benchmarks" (weaker but survivable). See #43.
6464

6565
**Probe-based evaluation (v0.4.0 domain matrix):** Abstract nDCG@10 misses the failure mode that matters most: exact identifiers dying under transformation. Add identifier-level probes (error codes, file paths, legal citations, UUIDs) to domain benchmarks. If the migrated index can'"'"'t find the chunk with the exact error code, the user doesn'"'"'t care that abstract semantic similarity is 87%. See #37.
6666

6767
## Error messages
6868

69-
Dimension mismatch: "dims differ (1536->3072): fit an aecp mapping or re-embed"
69+
Dimension mismatch: "dims differ (1536->3072): fit an isotrieve mapping or re-embed"
7070
Quality gate fail: "predicted retention below threshold; re-embed instead"
7171

7272
## Benchmarks
7373

7474
All numbers in `benchmarks/results/`, verified by `benchmarks/audit_configs.py`.
75-
Gate model: `src/aecp/quality/gate_model_v1.json` (trained on local model pairs only).
75+
Gate model: `src/isotrieve/quality/gate_model_v1.json` (trained on local model pairs only).

‎CONTRIBUTING.md‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
# Contributing to AECP
1+
# Contributing to Isotrieve
22

3-
**Canonical contributing guide:** [`aecp-python/CONTRIBUTING.md`](aecp-python/CONTRIBUTING.md)
3+
**Canonical contributing guide:** [`isotrieve-python/CONTRIBUTING.md`](isotrieve-python/CONTRIBUTING.md)
44

55
That file covers development setup, testing, code style, PR expectations, and the escalation protocol for design decisions.
66

77
## Quick reference
88

99
```bash
1010
# Clone and setup
11-
git clone https://github.com/krish1925/AECP.git
12-
cd AECP/aecp-python
11+
git clone https://github.com/krish1925/Isotrieve.git
12+
cd Isotrieve/isotrieve-python
1313
python -m venv .venv && source .venv/bin/activate
1414
pip install -e ".[dev]"
1515

@@ -21,12 +21,12 @@ python -m pytest tests/ -q # tests (97 pass, 6 skip expected)
2121

2222
## Project structure
2323

24-
- `aecp-python/` — the maintained, benchmark-validated Python package ([PyPI](https://pypi.org/project/aecp/))
25-
- `aecp-npm/` — historical/experimental NPM protocol package (not actively maintained)
26-
- `aecp-website/` — GitHub Pages site
24+
- `isotrieve-python/` — the maintained, benchmark-validated Python package ([PyPI](https://pypi.org/project/isotrieve/))
25+
- `isotrieve-npm/` — historical/experimental NPM protocol package (not actively maintained)
26+
- `isotrieve-website/` — GitHub Pages site
2727
- `benchmarks/` — benchmark harness and results
2828
- `spec/` — protocol specification (RFC-001)
2929

3030
## Which package is current?
3131

32-
**`aecp` on PyPI** is the actively maintained, benchmark-validated package. The NPM package (`aecp-npm/`) is historical/experimental — the maintained project is `aecp-python/`.
32+
**`isotrieve` on PyPI** is the actively maintained, benchmark-validated package. The NPM package (`isotrieve-npm/`) is historical/experimental — the maintained project is `isotrieve-python/`.

0 commit comments

Comments
 (0)