You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hugegraph.apache.org by ji...@apache.org on 2026/09/05 00:57:09 UTC
(hugegraph-doc) 18/20: test(community): accept core llms ownership
This is an automated email from the ASF dual-hosted git repository.
imbajin pushed a commit to branch feat/oink-community-content
in repository https://gitbox.apache.org/repos/asf/hugegraph-doc.git
commit 40c6ccaab8cc2367f8fa25dd483c3d7031f896d9
Author: dark <ji...@apache.org>
AuthorDate: Fri Sep 4 21:15:36 2026 +0800
test(community): accept core llms ownership
- keep LLMSFULL absent on the standalone PR-B baseline
- require exact bilingual outputs after PR-A integration
- detect integration through the five-version manifest contract
---
scripts/test_community_roster.py | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/scripts/test_community_roster.py b/scripts/test_community_roster.py
index a5e0c27e5..b9644635c 100644
--- a/scripts/test_community_roster.py
+++ b/scripts/test_community_roster.py
@@ -527,10 +527,19 @@ class CommunityContentContractTests(unittest.TestCase):
self.assertIn("search_keywords:", text, f"{language}/{relative}")
self.assertIn("search_boost:", text, f"{language}/{relative}")
- def test_docs_roots_leave_llmsfull_to_core_platform_lane(self):
+ def test_docs_roots_respect_core_platform_llmsfull_ownership(self):
+ versions = {
+ entry["id"]
+ for entry in json.loads((ROOT / "versions.json").read_text(encoding="utf-8"))["versions"]
+ }
+ core_platform_integrated = {"1.3", "1.0"} <= versions
for language in ("en", "cn"):
text = (ROOT / "content" / language / "docs/_index.md").read_text(encoding="utf-8")
- self.assertNotIn("LLMSFULL", text.split("---", 2)[1])
+ frontmatter = text.split("---", 2)[1]
+ if core_platform_integrated:
+ self.assertIn("outputs: [HTML, RSS, print, markdown, LLMSFULL]", frontmatter)
+ else:
+ self.assertNotIn("LLMSFULL", frontmatter)
def test_component_pilots_are_bilingual_and_scoped(self):
for language in ("en", "cn"):