Skip to content

V1.2.0 — Final Quality & Usability Release - #4

Merged
geyutu6755 merged 4 commits into
mainfrom
release/v1.2.0-final
Nov 7, 2026
Merged

geyutu6755 merged 4 commits into
mainfrom
release/v1.2.0-final

Conversation

@geyutu6755

Copy link
Copy Markdown
Owner

Final quality & usability release. Two genuinely new user-facing capabilities (re-check comparison, reference-list-only paste mode, three sample experiences), one environment-reliability fix (vitest worker-start timeouts), one doc correction (promotion clause reference). Rule count stays at 19.

Re-check comparison (重新检查比较)

After fixing the paper and re-uploading, the workbench compares the new run against the previous one: 已消失 / 新出现 / 仍然存在 findings, matched by rule + exact conclusion text, with a version-mismatch warning. In-memory only — nothing persisted.

Reference-list-only paste mode

Pasting a reference list without body text runs list-internal checks (gaps, duplicates, order, format) and suppresses body-dependent conclusions (uncited entries, citation order) — disclosed in the scope notes. Standalone 参考文献/References titles are structural headings; suffix runs of ≥2 entries accepted.

Three real-engine samples

Home page: correct paper (zero findings), typical citation errors (missing ref, duplicate, order), fixable format issues (page separator + cited date — exercising fix preview). All run the same parsing/rule pipeline; no hardcoded results.

Environment reliability

Vitest worker-start timeouts patched (60s→180s/300s) — the suite was unrunnable on resource-constrained machines.

Verified

262 Vitest tests, Playwright E2E, PWA check, live-site verification, 0-vuln audit. Full notes: CHANGELOG.

…IMEOUT 60s→180s, WORKER_START_TIMEOUT 90s→300s)

Resource-constrained machines (heavy desktop load) could not start vitest
fork workers within the hard-coded 60s window, making the suite unrunnable.
The patch is a two-line change to vitest@5.0.5 dist constants, committed via
pnpm patch; harmless on faster CI machines. Also: hostile-input tests get a
60s timeout (64MB inflate under load) and it.each migration.
…less rules (V1.2 core loop)

- compare.ts: in-memory run comparison (ruleId+detail signature matching);
  Workbench ComparisonCard shows resolved/introduced/persistent counts with
  expandable detail; version-mismatch warning
- App.tsx: previousResult threaded to Workbench when re-checking same file
- paste mode: bodyless flag on AnalysisScope; RR-REF-011 suppressed when no
  body citations; reference-title heading detection; suffix-run fallback for
  short pasted lists; scope notes disclose disabled checks
- three home-page samples (correct / citation errors / fixable format), all
  run through the real engine (samples.test.ts asserts distinct profiles)
@geyutu6755
geyutu6755 merged commit f340743 into main Nov 7, 2026
2 checks passed
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