Skip to content

fix(postprocess): preserve VAD word boundaries with current-main CI - #3883

Merged
LauraGPT merged 4 commits into
mainfrom
codex/pr3872-current-main-20261112
Nov 12, 2026
Merged

LauraGPT merged 4 commits into
mainfrom
codex/pr3872-current-main-20261112

Conversation

@LauraGPT

@LauraGPT LauraGPT commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

Complete site snapshot validation

The second companion head fixed the old HTTP assertion but exposed five integration failures: four source/built article-date checks and the strict legacy hash manifest. The date fixture now records the actual changed article date, and only the four reviewed article hashes are updated. Historical capture date and all remaining manifest entries stay unchanged; no check is removed or relaxed.

The exact five failures reproduced locally (16 other metadata cases passed). The complete product-site Python suite now passes all 532 cases with no skips. Browser and other new-head hosted checks remain separate gates. Prior failures are retained; production website files and services remain unchanged.

Site CI follow-up

The first companion head exposed a stale Product site contract: four historical articles pin FunASR 1.4.15, but the test incorrectly required current main to keep the old JSON-quoted text response. #3874 already changed main to a plain-text response.

The follow-up retains the old recipe, adds visible version-boundary notices in all four English/Chinese source and built pages, and checks the current handler separately. Eight missing-notice regressions fail before the documentation change; 69 targeted source/built contracts pass afterward. The earlier site run (one failure, 523 passes) is retained. No production deployment or handler behavior change is made here.

New-head CI must be accepted before merge; earlier passed checks are not substituted for it.

Summary

Integrates #3872 while retaining its original commit and authorship. English/Korean VAD blocks keep their word separator; CJK and event/emotion behavior remains covered.

The original exact-head text CI could not collect tests: its workflow referenced tests/test_type_utils_compat.py, which was added on newer main and absent from the old head. The signed companion commit retains current main content instead of removing the test or bypassing the failure.

Validation

  • The original regression was previously verified RED (18 failures) and GREEN (51 passes), with related CPU tests and three-copy parity.
  • This exact current-main integration passed 246 unique selected CPU cases: 230 initially passed; six fuzzy cases skipped for missing optional dependencies were completed in the existing private environment, and the standalone-package collection skip was completed as ten actual installed-candidate-wheel cases. All original skips are retained; no unresolved skips remain. Coverage includes text workflow paths, event cases, native runtime/timestamp neighbors and Torch/ONNX packages.
  • No new model weights, training, Nano work, production changes, or full-suite/ASR-quality claim. The timestamp implementation is unchanged from the separately accepted L20Z-tested fix(runtime): trim batch padding from CIF peaks before funasr_onnx and funasr_torch Paraformer timestamps #3871.
  • New exact-head hosted CI remains required before merge.

David-Wu1119 and others added 4 commits November 11, 2026 00:03
…nscription

AutoModel joins the tagged SenseVoice text of each VAD segment with a
single space, so a long English recording reaches
rich_transcription_postprocess() as several <|lang|> blocks. The function
strips every block and concatenates them with no separator, so
"Hello world." and "How are you?" become "Hello world.How are you?" and
the last word of one segment runs into the first word of the next.

Insert a space between two blocks when both boundary characters belong to
a space-separated script (ASCII or Hangul). Chinese and Japanese text and
emoji boundaries are still joined without a space. The same change is
applied to the funasr_onnx and funasr_torch copies so the three shipped
postprocessors stay identical, and the event-segment test that pinned the
glued "helloworld" output now expects "hello world".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Preserve the original PR #3872 author commit. Synchronize current main content so the exact-head text workflow includes test_type_utils_compat.py. No test removal, history rewrite, or protection bypass.

Signed-off-by: LauraGPT <zhifu.gzf@alibaba-inc.com>
…esponses

Correct the Product site CI failure exposed by #3874 without changing the handler or weakening security/format contracts. Preserve the 1.4.15 recipe and add visible, source-bound current-main notices.

Signed-off-by: LauraGPT <zhifu.gzf@alibaba-inc.com>
Complete the prior four-article edit with its strict manifest and per-article modification date. Preserve all other snapshot entries, original capture date, historical recipe and exact hash assertions.

Signed-off-by: LauraGPT <zhifu.gzf@alibaba-inc.com>
@LauraGPT
LauraGPT merged commit 0cdf87d into main Nov 12, 2026
16 checks passed
LauraGPT added a commit that referenced this pull request Nov 12, 2026
Deliver plain-text HTTP responses and VAD word boundaries (#3874, #3883).

Signed-off-by: LauraGPT <zhifu.gzf@alibaba-inc.com>
@LauraGPT LauraGPT mentioned this pull request Nov 12, 2026
LauraGPT added a commit that referenced this pull request Nov 12, 2026
Deliver tested plain-text HTTP responses and VAD word boundaries (#3874, #3883).

Signed-off-by: LauraGPT <zhifu.gzf@alibaba-inc.com>
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.

2 participants