Repository navigation
V1.2.0 — Final Quality & Usability Release - #4
Merged
Merged
Conversation
…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)
…t journal-entry 表4)
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.
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.