Repository navigation
add front end code - #27
Merged
Merged
Conversation
yingfeng
pushed a commit
that referenced
this pull request
Feb 5, 2024
yingfeng
pushed a commit
that referenced
this pull request
Feb 21, 2024
yuzhichang
added a commit
to yuzhichang/ragflow
that referenced
this pull request
Sep 29, 2026
…nstraints The scan floor could be satisfied literally: infiniflow#27 q1005 shipped a bare phrase to grep_chunks ('Cancer zodiac scientist born 1905 bachelor 1930s') - a grep call in the Searched lines, but no co-occurrence test, and infiniflow#27 q875's regex ('three founders.*named after|named after.* birthplace') draws every term from ONE constraint, which is a rephrasing of that constraint rather than a pairing. Both properties are now required: the pattern carries .* or |, and it joins a distinctive term of one constraint with one of a DIFFERENT constraint, each with its own fail string.
yuzhichang
added a commit
to yuzhichang/ragflow
that referenced
this pull request
Sep 29, 2026
The planner is the only component that still holds the question when the plan is written: check_decomposition is mechanical and gets no copy of the question, and the explorer, the auditor and the delivery gate all work from the plan as written. infiniflow#27 q875 dropped two of the question's discriminating clauses (one of the pair born/raised in the USA; both residing there before 2024) and nothing downstream could see it. A plan that passes the mechanical check now gets one review round: a user message pointing the planner at 'The review round' checklist in its own instructions - clause coverage first, then root richness, per-block duty, the question's own words, and fewer blocks. The pre-review plan is the fallback on every failure path (unreadable, unparseable, or a revision that breaks the mechanical check), so the round can only improve the plan.
yuzhichang
added a commit
to yuzhichang/ragflow
that referenced
this pull request
Sep 29, 2026
Two fixes for the review round, from the infiniflow#28 decomposition review. The writing doctrine never taught where a cross-variable clause goes ('from different industries', 'their mothers share the same first name'): no single variable owns it, so the planner kept dropping it (infiniflow#27 carried it, infiniflow#28 lost it) and the review checklist that names it rubber-stamped the plan (6 rounds, revised=false). The doctrine now says pair clauses belong on the block whose From edges reach both variables or on the later sibling as a comparison, and symmetric 'one ... the other ...' clauses may be assigned to either variable as long as no clause is left homeless. The review itself is now auditable: each round outputs one verdict line per checklist item, parsed in Go - a round with missing verdicts is sent back, a FAIL buys a rewrite re-checked by checkDecomposition, and the loop runs to three rounds or until all items pass, always falling back to the last mechanically valid plan.
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
Add corresponding issue link with summary if exists -->
Issue link:
What is changed and how it works?
Code changes
Check List
Tests
Side effects
Note for reviewer