Skip to content

Bump langchain-community from 0.0.10 to 0.3.27 - #2

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/langchain-community-0.3.27
Open

Bump langchain-community from 0.0.10 to 0.3.27#2
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/langchain-community-0.3.27

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Feb 25, 2026

Copy link
Copy Markdown

Bumps langchain-community from 0.0.10 to 0.3.27.

Commits
  • bdf1cd3 fix(langchain): update deps
  • 77c9819 fix(text-splitters): update langchain-core version to 0.3.72
  • 7f015b6 fix(text-splitters): update lock for release
  • 71ad451 Merge branch 'master' of github.com:langchain-ai/langchain
  • 2c42893 fix(langchain): update langchain-core version to 0.3.72
  • 0e139fb release(langchain): 0.3.27 (#32227)
  • 622bb05 fix(langchain): class HTMLSemanticPreservingSplitter ignores the text inside ...
  • 56dde3a feat(langchain): v1 scaffolding (#32166)
  • bd3d649 release(core): 0.3.72 (#32214)
  • fb5da83 fix(core): Dereference Refs for pydantic schema fails in tool schema generati...
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [langchain-community](https://github.com/langchain-ai/langchain) from 0.0.10 to 0.3.27.
- [Release notes](https://github.com/langchain-ai/langchain/releases)
- [Commits](langchain-ai/langchain@langchain-robocorp==0.0.10...langchain==0.3.27)

---
updated-dependencies:
- dependency-name: langchain-community
  dependency-version: 0.3.27
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Feb 25, 2026
ringochen06 added a commit that referenced this pull request Jul 28, 2026
Three measured improvements, each isolated so the attribution is clean, plus one
hypothesis of mine that the data refuted.

Filters now scope retrieval instead of truncating results

A latent bug: filters were applied after the top-N candidate cut, so a scoped query
searched the whole corpus and then deleted the non-matching results. _allowed_ids
restricts the candidate universe first, and framework joins jurisdiction and
category as a filter dimension, wired through the facade, the CLI and the API.

The hypothesis this was built to test was wrong. Section 4b predicted
q11-reidentification failed because 470 GDPR chunks drowned it; scoping to
framework=GA4GH changed nothing, still 0 of 4. The real cause was additive RRF. The
GA4GH prohibition ranked BM25 #2 and dense #50, and summing rewards corroboration,
so six chunks of general privacy prose that were merely respectable in both
channels beat it out of the top-8. Enlarging the dense pool did not help either;
the sweep is flat from 12/48 to 128/128.

Fusion now takes each chunk's best channel rather than the sum, which gains 4
points of recall@8 and 4 of recall@5 and gives up rank-1 accuracy and MRR — the
same trade direction as the lexical-weighted pools, for the same reason.
REGBOT_FUSION=sum restores classic RRF.

Chunking follows headings

Chunks break at heading boundaries, splitting only inside sections that exceed the
size cap. Straddling chunks fall from 146 of 689 to 15 of 763, so a citation points
at one article rather than two unrelated obligations. Recall@1 rises from 0.299 to
0.533.

Read precision@8 with care here: re-chunking changes which chunks contain an anchor
phrase, so it changes the gold set itself. Several queries went from two gold chunks
to one, which mechanically caps precision@8 at 1/8. Recall is not strictly
comparable across chunking schemes, and the durable justification for this change is
citation quality rather than the metric.

Taiwan on official law, and why the other five are not

Only Taiwan could be migrated: the Ministry of Justice English text of both Acts,
198 articles. Singapore and Japan return a table of contents rather than the
statute — the Singapore file contained zero occurrences of "shall not" and the
Japanese one 109 collapsed-section markers — and ingesting a table of contents would
pollute retrieval with structural headings that match query vocabulary and contain
no rules, so both were discarded. Hong Kong and Korea serve single-page apps.

q02 fell from 1.00 to 0.00, and it is the most informative number in the set.
Section 3 warned that the P2 queries scoring 1.00 measured the jurisdiction filter
rather than retrieval quality. With Taiwan on three summary chunks any retrieval
found the answer; with 207 chunks of real statute the operative withdrawal
provision sits at rank 14. A hollow measurement was replaced by a real one.

Recorded in eval_results.md section 4c. Test count 117 to 122.
ringochen06 added a commit that referenced this pull request Jul 28, 2026
Three measured improvements, each isolated so the attribution is clean, plus one
hypothesis of mine that the data refuted.

Filters now scope retrieval instead of truncating results

A latent bug: filters were applied after the top-N candidate cut, so a scoped query
searched the whole corpus and then deleted the non-matching results. _allowed_ids
restricts the candidate universe first, and framework joins jurisdiction and
category as a filter dimension, wired through the facade, the CLI and the API.

The hypothesis this was built to test was wrong. Section 4b predicted
q11-reidentification failed because 470 GDPR chunks drowned it; scoping to
framework=GA4GH changed nothing, still 0 of 4. The real cause was additive RRF. The
GA4GH prohibition ranked BM25 #2 and dense #50, and summing rewards corroboration,
so six chunks of general privacy prose that were merely respectable in both
channels beat it out of the top-8. Enlarging the dense pool did not help either;
the sweep is flat from 12/48 to 128/128.

Fusion now takes each chunk's best channel rather than the sum, which gains 4
points of recall@8 and 4 of recall@5 and gives up rank-1 accuracy and MRR — the
same trade direction as the lexical-weighted pools, for the same reason.
REGBOT_FUSION=sum restores classic RRF.

Chunking follows headings

Chunks break at heading boundaries, splitting only inside sections that exceed the
size cap. Straddling chunks fall from 146 of 689 to 15 of 763, so a citation points
at one article rather than two unrelated obligations. Recall@1 rises from 0.299 to
0.533.

Read precision@8 with care here: re-chunking changes which chunks contain an anchor
phrase, so it changes the gold set itself. Several queries went from two gold chunks
to one, which mechanically caps precision@8 at 1/8. Recall is not strictly
comparable across chunking schemes, and the durable justification for this change is
citation quality rather than the metric.

Taiwan on official law, and why the other five are not

Only Taiwan could be migrated: the Ministry of Justice English text of both Acts,
198 articles. Singapore and Japan return a table of contents rather than the
statute — the Singapore file contained zero occurrences of "shall not" and the
Japanese one 109 collapsed-section markers — and ingesting a table of contents would
pollute retrieval with structural headings that match query vocabulary and contain
no rules, so both were discarded. Hong Kong and Korea serve single-page apps.

q02 fell from 1.00 to 0.00, and it is the most informative number in the set.
Section 3 warned that the P2 queries scoring 1.00 measured the jurisdiction filter
rather than retrieval quality. With Taiwan on three summary chunks any retrieval
found the answer; with 207 chunks of real statute the operative withdrawal
provision sits at rank 14. A hollow measurement was replaced by a real one.

Recorded in eval_results.md section 4c. Test count 117 to 122.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants