mirror of
https://github.com/nubenetes/awesome-kubernetes.git
synced 2026-07-13 18:30:44 +00:00
feat(v2): implement granular 0-3 star elite quality system
This commit is contained in:
@@ -37,12 +37,15 @@ class V2VisionEngine:
|
||||
"- KEEP >90% of technical resources.\n"
|
||||
"PHASE 2: SOPHISTICATED SYNTHESIS & DATING\n"
|
||||
"- Extract precise PUBLICATION YEAR: Look for dates in the URL, Twitter/X post dates, or text context. Return 'N/A' if truly unknown.\n"
|
||||
"- Assign QUALITY level (1-3 stars).\n"
|
||||
"- Assign QUALITY level (0-3 stars):\n"
|
||||
" * 0 stars: Good technical resource (Baseline).\n"
|
||||
" * 1 star (🌟): High-quality technical guide or tool.\n"
|
||||
" * 2 stars (🌟🌟): Exceptional, enterprise-grade resource.\n"
|
||||
" * 3 stars (🌟🌟🌟): Elite Gem (Must-read or Industry Standard).\n"
|
||||
"- Assign a MATURITY TAG based on content type/status.\n"
|
||||
"PHASE 3: MANDATORY DESCRIPTIONS (V1 PRIORITY)\n"
|
||||
"- If 'Current Desc' is already provided and descriptive, DO NOT CHANGE IT.\n"
|
||||
"- If 'Current Desc' is empty, too short, or non-descriptive, generate a professional 1-2 sentence summary.\n"
|
||||
"- To generate the summary: Analyze the URL and title. If you recognize the technical resource, describe its core value proposition for a Cloud Architect in 2026.\n"
|
||||
"- Style: Technical, neutral, and informative. Language: English only.\n"
|
||||
)
|
||||
self.cache = self._load_cache()
|
||||
@@ -267,7 +270,7 @@ class V2VisionEngine:
|
||||
item = batch[idx].copy()
|
||||
eval_data = {
|
||||
"year": str(res.get("year", "N/A")),
|
||||
"stars": min(max(int(res.get("stars", 1)), 1), 3),
|
||||
"stars": min(max(int(res.get("stars", 0)), 0), 3),
|
||||
"is_video": res.get("is_video", False),
|
||||
"tag": res.get("tag", "[ENTERPRISE-STABLE]"),
|
||||
"ai_summary": res.get("summary", "")
|
||||
@@ -294,7 +297,7 @@ class V2VisionEngine:
|
||||
except:
|
||||
for l in batch:
|
||||
item = l.copy()
|
||||
item["year"], item["stars"], item["is_video"] = "N/A", 1, "youtube" in l["url"]
|
||||
item["year"], item["stars"], item["is_video"] = "N/A", 0, "youtube" in l["url"]
|
||||
item["tag"] = self._calculate_tag(item)
|
||||
refined.append(item)
|
||||
await asyncio.sleep(0.3)
|
||||
@@ -441,8 +444,8 @@ class V2VisionEngine:
|
||||
for cat, links in content["categories"].items():
|
||||
md += f"## {cat}\n"
|
||||
for l in links:
|
||||
year, stars_val = l.get("year", "N/A"), l.get("stars", 1)
|
||||
stars = "🌟" * stars_val
|
||||
year, stars_val = l.get("year", "N/A"), l.get("stars", 0)
|
||||
stars = ("🌟" * stars_val) if stars_val > 0 else ""
|
||||
tag = l.get("tag", "[ENTERPRISE-STABLE]")
|
||||
|
||||
# Determine color mapping for new tags
|
||||
|
||||
@@ -19,8 +19,16 @@
|
||||
[{: style="width:7%"}](https://www.youtube.com/@azure-terraformer) [{: style="width:7%"}](https://www.youtube.com/@NedintheCloud) [{: style="width:7%"}](https://www.youtube.com/@NetBoxLabs) [{: style="width:7%"}](https://www.youtube.com/@techwithhelen) [{: style="width:7%"}](https://www.youtube.com/@ByteByteGo) [{: style="width:7%"}](https://www.youtube.com/@DotCSV) [{: style="width:7%"}](https://www.youtube.com/@midulive)
|
||||
</center>
|
||||
|
||||
## 🛡️ V2 Taxonomy & Maturity Tags
|
||||
To maximize technical clarity, V2 resources are classified by maturity rather than subjective quality:
|
||||
## 🛡️ V2 Taxonomy & Elite Quality Tiers
|
||||
To provide maximum signal for Cloud Architects, V2 resources are classified by both maturity and technical impact:
|
||||
|
||||
### Impact Tiers (Stars)
|
||||
- **(No stars)**: High-quality technical resource (Baseline for V2 Elite).
|
||||
- **🌟**: Exceptional guide, tool, or deep dive with notable technical depth.
|
||||
- **🌟🌟**: Enterprise-grade resource with high industry relevance and impact.
|
||||
- **🌟🌟🌟**: Elite Gem. Must-read foundations or industry-defining standards.
|
||||
|
||||
### Maturity Tags
|
||||
|
||||
- <span class='md-tag md-tag--success'>[DE FACTO STANDARD]</span>: Foundational industry tools with massive adoption (>10k GitHub stars).
|
||||
- <span class='md-tag md-tag--info'>[ENTERPRISE-STABLE]</span>: Production-ready tools actively maintained.
|
||||
|
||||
Reference in New Issue
Block a user