Skip to content

change licence - #28

Merged
KevinHuSh merged 2 commits into
infiniflow:mainfrom
KevinHuSh:main
Jan 17, 2024
Merged

KevinHuSh merged 2 commits into
infiniflow:mainfrom
KevinHuSh:main

Conversation

@KevinHuSh

Copy link
Copy Markdown
Contributor

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

  • Has Code change
  • Has CI related scripts change

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Note for reviewer

@KevinHuSh
KevinHuSh merged commit ee6ffeb into infiniflow:main Jan 17, 2024
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant