← Back to Score Calculation

Thresholds & Decision Logic

The complete threshold matrix, two-gate verification, boundary cases, and custom audience overrides — with full pseudocode

01

Complete Threshold Table

Every combination of audience and level has an exact threshold. If a topic's Helpfulness Score (HS) falls below this value, the topic does not get its own page at that level — instead it is rendered as an expanded paragraph or collapsible on the parent page.

Complete Threshold Matrix

Audience max_level L1 (own module) L2 (own page) L3 (deep-dive)
🔧 Developers L3 HS ≥ 6 HS ≥ 8 HS ≥ 8
👤 Users L2 HS ≥ 7 HS ≥ 9 — (no L3)
📊 Executives L1 HS ≥ 8 — (no L2) — (no L3)
📄
Expanded Paragraph
Topic is shown as a detailed paragraph on the parent page. No own link, no own URL. Content is there but not navigable as its own page.
HS below threshold
▶️
Collapsible
Alternatively: topic is shown as a collapsible section on the parent page. Saves space while still providing access for those interested.
Optional
02

Two-Gate Threshold Check

The threshold check happens in two gates. Both must pass before a page is planned — and additionally, the next level must be within the audience's maximum depth.

Gate 1 — "Own page?": For each level, check if the HS meets the threshold for an own page. If not, the topic is shown as a paragraph on the parent page instead. All deeper levels are skipped.

Gate 2 — "Go deeper?": If Gate 1 passes, check if the HS also meets the next level's threshold AND if the next level is within the audience's maximum depth. Both conditions must be met.

Stop reason: Documents why no deeper planning occurred. Three reasons: audience maximum reached, score below next threshold, or topic complexity exhausted.

Example: Topic "API Design", HS=8

AudienceGate 1 (L1)Gate 2 (L2)Gate 2 (L3)Result
🔧 Developers 8 ≥ 6 ✓ 8 ≥ 8 ✓ 8 ≥ 8 ✓ L0, L1, L2, L3
👤 Users 8 ≥ 7 ✓ 8 < 9 ✗ L0, L1 (Stop: HS below L2)
📊 Executives 8 ≥ 8 ✓ — (max L1) L0, L1 (Stop: audience max)
03

Boundary Cases

Boundary CaseRuleExample
HS exactly at thresholdIncluded (≥, not >)HS=8, threshold=8 → own page
HS = 10 (maximum)Always own page + deeper content (within audience max)HS=10 for Executives → L0 + L1 only (max=L1)
HS = 1–2Brief mention only. Below every L1 threshold.HS=2 for Developers → L0 mention only
HS = 0Not mentioned. Topic completely skipped.HS=0 → invisible for this audience
Multiple topics same HSSort: 1. Relevance sub-score (desc), 2. AlphabeticallyTopic A (HS=8, Rel=0.9) before Topic B (HS=8, Rel=0.7)
More than 10 topics per levelTop 10 by HS. Remainder as paragraphs on parent.15 topics with HS ≥ 6 on L1 → top 10 as modules
Tie at 10th positionInclude all with same HS. May yield 11–12 topics.Topics 9, 10, 11 all HS=7 → all three included
04

Custom Audience Thresholds

For 🏷️ custom audiences, User profile defaults apply. The user can override these with explicit syntax.

PropertyDefaultSource
max_level2User profile
L1 threshold7User profile
L2 threshold9User profile

Override mechanism: Every custom audience starts with User defaults (max_level=2, L1=7, L2=9). Users can override max_level, set a blanket threshold for all levels, or provide level-specific values. Without any overrides, the custom audience behaves exactly like the standard User audience.

✏️ Knowledge Check

A topic has HS=8 for 👤 Users. It is on L1. Should the skill plan an L2 page?

Yes — HS=8 is high enough since the threshold is 8
No — Users need HS ≥ 9 for L2, and 8 < 9
Depends — if the topic is complex enough, an exception is made
🔧 Developer — All L3 Pages