Repository navigation
change licence - #28
Merged
Merged
Conversation
yingfeng
pushed a commit
that referenced
this pull request
Feb 5, 2024
* add front end code * change licence
yingfeng
pushed a commit
that referenced
this pull request
Feb 21, 2024
* add front end code * change licence
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.
yuzhichang
added a commit
to yuzhichang/ragflow
that referenced
this pull request
Sep 29, 2026
The delivery gate could refuse certification and still watch a guess ship: infiniflow#15, infiniflow#24, infiniflow#25 and infiniflow#28 all ended with passed=false and an answer line in flight - on infiniflow#28 q25 the run had served BOTH gold documents and still shipped an ungrounded guess for the answer line. When the gate ends in FAIL after actually auditing (verdicts on record; an audit outage is a provider failure, not a reasoning one, and does not block), the answer line and everything after it - where the guess and its justification ride - are replaced by the declaration the refusal implies: not derivable from the corpus, with the Candidate Matrix above left standing as the evidence record.
yuzhichang
added a commit
to yuzhichang/ragflow
that referenced
this pull request
Sep 29, 2026
Iterating on decomposition quality used to require a full end-to-end
smoke run. The probe runs ONLY the question-decomposition stage against
a live model - planner, check_decomposition, review round - and reports
the plan plus the mechanical check's findings. Guarded by DECOMP_PROBE=1
so ordinary go test never reaches the wire; DECOMP_QUESTION or
DECOMP_QUESTIONS_FILE feeds it, AGENTIC_RAG_CONFIG points at the
template file (go test's working directory is the package directory,
so the default relative config path does not resolve).
First live run on the q875 question: the plan now carries the pair
clause ('?person2 is from a different industry than ?person1', placed
on the later sibling per the new doctrine), every question clause
lands in some block's Constraints, and the check is clean - the three
defects of the infiniflow#28 plan (dropped industries clause, pair clauses
dumped on ?answer, no cross-variable placement) are gone.
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