Record homepage entrypoint coverage

Track live homepage conversion entry points and extend the funasr.com static contract to patrol them.
This commit is contained in:
zhifu gao
2026-07-23 07:37:45 +08:00
committed by GitHub
parent 7e505b8898
commit 57d1e5e2e8
4 changed files with 56 additions and 1 deletions
+1 -1
View File
@@ -362,7 +362,7 @@ Paste the Markdown output into launch notes, weekly community updates, or releas
- [x] Update PyPI release description if needed. On 2026-07-23, the live PyPI `funasr 1.3.26` page was audited: its long description already comes from `README.md` and includes the current deployment-routing markers `OpenAI-compatible`, `/v1/audio/transcriptions`, `vllm`, `runtime-llamacpp-v0.1.8`, `GGUF`, and `funasr==1.3.26`. The package summary was prepared for the next PyPI publish by updating `setup.py` to `OpenAI-compatible speech recognition toolkit with WebSocket streaming, vLLM acceleration, and llama.cpp/GGUF edge runtime`, plus discovery keywords for `openai-compatible`, `websocket`, `vllm`, `gguf`, and `llama-cpp`; the currently published PyPI metadata remains `1.3.26` until the next weekly release upload.
- [ ] Update Hugging Face organization/model cards. The `FunAudioLLM/Fun-ASR-MLT-Nano-2512` README update is complete: HF PR [#5](https://huggingface.co/FunAudioLLM/Fun-ASR-MLT-Nano-2512/discussions/5) merged commit `3dd802bfb8a05dadc440c9d9fc84ecfc1e15c0ff`, and a 2026-07-23 live Hub download confirmed `main` now includes `python -m pip install -U "funasr>=1.3.26"` before optional demo-repo setup. Prepared README patches for `FunAudioLLM/Fun-ASR-Nano-2512` and `FunAudioLLM/SenseVoiceSmall` would add the same `funasr>=1.3.26` install floor, but the current `langgz` token still cannot write those model cards: direct upload fails with `403 Forbidden: pass create_pr=1`, and the Hub's suggested `--create-pr` path also fails at `preupload/main?create_pr=1` with `403 Forbidden: Authorization error`. Retry after model-card preupload/write permission is granted on those two repos.
- [ ] Update ModelScope model cards and demos.
- [ ] Update homepage hero and docs entry points.
- [x] Update homepage hero and docs entry points. On 2026-07-23, the live homepage entry points were audited and added to the public website contract. [`https://www.funasr.com/`](https://www.funasr.com/) visibly leads with the Chinese industrial speech-recognition hero, links `/donors.html`, and exposes the OpenAI-compatible `/v1/audio/transcriptions` and `vLLM` deployment path. [`https://www.funasr.com/en/`](https://www.funasr.com/en/) exposes `Industrial Speech Recognition`, `OpenAI-compatible`, `/v1/audio/transcriptions`, and `vLLM`. `scripts/check_funasr_website_static.py` now patrols both homepages plus the ecosystem, donor, CLI tutorial, llama.cpp landing, and llama.cpp blog pages; the live check prints `funasr.com static page contract passed for 11 pages`.
### Week 4: Distribution and feedback
+16
View File
@@ -22,6 +22,22 @@ class PageContract:
PAGE_CONTRACTS: dict[str, PageContract] = {
f"{BASE_URL}/": PageContract(
required=(
"工业级",
"/v1/audio/transcriptions",
"vLLM",
"/donors.html",
),
),
f"{BASE_URL}/en/": PageContract(
required=(
"Industrial Speech Recognition",
"OpenAI-compatible",
"/v1/audio/transcriptions",
"vLLM",
),
),
f"{BASE_URL}/ecosystem.html": PageContract(
required=(
"35K+",
+19
View File
@@ -20,6 +20,18 @@ def test_website_contract_accepts_current_public_copy():
checker = _load_module()
pages = {
"https://www.funasr.com/": """
工业级 语音识别服务
/v1/audio/transcriptions
vLLM 加速
<a href="/donors.html">功德榜</a>
""",
"https://www.funasr.com/en/": """
Industrial Speech Recognition
OpenAI-compatible
/v1/audio/transcriptions
vLLM Acceleration
""",
"https://www.funasr.com/ecosystem.html": """
<div class="stat-num">35K+</div>
<a href="/donors.html">功德榜</a>
@@ -74,6 +86,13 @@ def test_website_contract_accepts_current_public_copy():
assert checker.validate_pages(pages) == []
def test_website_contract_includes_homepage_entrypoints():
checker = _load_module()
assert "https://www.funasr.com/" in checker.PAGE_CONTRACTS
assert "https://www.funasr.com/en/" in checker.PAGE_CONTRACTS
def test_website_contract_reports_stale_runtime_and_star_copy():
checker = _load_module()
+20
View File
@@ -213,3 +213,23 @@ def test_growth_plan_records_release_discussion_distribution():
assert marker in text
assert "[ ] Share the release in relevant developer communities" not in text
def test_growth_plan_records_homepage_entrypoint_completion():
text = PLAN.read_text()
required_markers = [
"[x] Update homepage hero and docs entry points",
"https://www.funasr.com/",
"https://www.funasr.com/en/",
"Industrial Speech Recognition",
"`OpenAI-compatible`",
"`/v1/audio/transcriptions`",
"`vLLM`",
"`/donors.html`",
"funasr.com static page contract passed for 11 pages",
]
for marker in required_markers:
assert marker in text
assert "[ ] Update homepage hero and docs entry points" not in text