Troubleshooting

Troubleshoot documentation analytics — Product Support and Feedback Platform

Troubleshoot missing, misleading, stale, or improperly visible documentation analytics in Sustainable Catalyst using source-reviewed scoring and data-lineage diagnostics. This guide explains how to separate search matches, helpfulness votes, content metadata, and advisory scores from verified user outcomes while preserving privacy and human editorial approval.

ProductProduct Support and Feedback PlatformComponentDocumentation Effectiveness, Support AnalyticsUpdatedDecember 1, 2026Reading time27 minutes

Application: Product Support and Feedback Platform
Article type: Troubleshooting
Component: Support Analytics / Documentation Effectiveness / Guided Resolution
Source-reviewed: plugin v7.8.1; analytics module v5.7.0; schema scfs-support-analytics-documentation-effectiveness/1.0
Last verified installed release: Not established
Estimated reading time: 23–29 minutes
Primary acceptance criterion: Editorial decisions remain human-reviewed, evidence-backed and privacy-conscious; missing measurement must not be presented as success.

Goal

Troubleshoot documentation-analytics results that are missing, unexpectedly high or low, inconsistent between screens, stale, mislabeled, incorrectly scoped, insufficiently supported or improperly visible. A successful investigation reproduces the software calculation and establishes what the observation can legitimately mean. The decisive requirement is that editorial decisions remain human-reviewed and evidence-backed. An analytics score, dashboard recommendation or passing local test is not an article approval, evidence of a resolved customer task, demonstrated causal effect, or authorization to publish.

This guide covers administrator-facing Support & Feedback → Support Analytics, privacy-minimized Guided Resolution events, article helpfulness, publication-integrity and freshness metadata, coverage of Known Issues and releases, Documentation Gaps, cached snapshots, exports, protected REST endpoints and the independent scientific-interpretation boundary. It provides diagnostic procedures, not an automatic repair workflow.

Requirements

Operate only with explicit authorization for the affected WordPress site and product. Prefer a staging environment and fictional event/feedback records. Record the site and environment, plugin and analytics-module versions, operator role, canonical product slug, report/route, time zone, observation window, current settings, last snapshot generation time, exact observed metric, expected comparator, and sanitized evidence reference. For live incidents, preserve a reversible read-only baseline before attempting any refresh, cache invalidation, metadata edit or release action.

Source-reviewed configuration defaults are a 90-day search/feedback lookback, a 180-day content-freshness period, a minimum overall evidence count of five, and advisory score thresholds of 80/65/45 for effective/healthy/watch. These are configurable application parameters—not statistically validated sample sizes. The module’s WordPress management capability defaults to edit_others_posts, subject to the scfs_support_analytics_capability filter. Confirm the installed permission mapping rather than assuming every administrator/editor has the same access.

Do not copy raw searches, identifiable feedback, private case messages, file attachments, customer addresses or credentials into bug trackers, support articles or the included fixtures. Source-reviewed Guided Resolution can store a redacted query string internally; the fact that the aggregated dashboard omits raw queries does not prove source logs and exports are free of sensitive material. Use only approved, minimally necessary records.

Symptoms

Symptom Likely cause or unresolved hypothesis First safe test
Dashboard says 100/100 or “effective” but there are no searches or ratings Zero-denominator values default to 100; total evidence can come from article counts Record all denominators and missing source tables before interpreting the score
Search success is high while users still cannot resolve their task Search-match proxy is not task completion; ranking and routing may be wrong Reproduce top-result relevance on an authorized synthetic query set
Helpfulness dashboard disagrees with article-level counters Aggregate feedback-event table and per-article post metadata differ Compare source, filter, recording date and sample scope
Analytics vanish or jump abruptly after maintenance Table absent, disabled collector, schema change or cache refresh Verify source-table existence and time-window consistency
“No results” pressure is missing despite known searches Search event type or analytics source/filter mismatch Audit event population and allowed product scope without copying raw query text
Entire product becomes “healthy” after publishing documentation Overall evidence threshold counts articles as well as events Recompute total evidence count and per-dimension sample sizes
Freshness rises immediately after an article edit Modification time can substitute for a last-verified date Compare editor revision time with actual product-version verification evidence
Coverage looks complete although guidance is wrong or unpublished Presence of a link/workaround is a structural proxy; issue/release datasets include nonpublic records in authorized admin analytics Inspect eligibility and spot-check substantive linked documentation
Score changes after changing product or taxonomy filters Different source populations or string-based product filtering Reconcile canonical slugs, filter JSON and inclusion criteria
Trends disagree with the current view Snapshot freshness, historical history, metric revision or time-zone effects Compare generated_at, report settings and history points
A report or CSV shows restricted material Access misconfiguration, overbroad export, logs or another integration Restrict disclosure surface; preserve redacted incident evidence
A “review low helpfulness” suggestion is treated as an order Advisory recommendation conflated with human editorial approval Inspect actual WordPress revision, owner, review decision and permissions

Cause

1. Missing measurements are presented as favorable percentages

The reviewed WordPress percent($numerator,$denominator,$empty=100.0) helper returns 100% when a denominator is zero. The same convention appears in the deterministic FastAPI scoring module. Missing or unavailable Guided Resolution events therefore may yield search_success_percent=100 and engagement_percent=100, while missing feedback responses may yield helpfulness_percent=100. Coverage and gap ratios also use that convention. A missing event table is not an observed clean bill of health.

The weighted score further uses an overall evidence_count equal to searches + feedback responses + published articles + Known Issues + releases. A product with 12 published articles but zero searches/feedback can pass the count-of-five threshold and score 100 when all other dimensions also default to 100. Treat each denominator as a separate measurement-availability test; do not call an absent dimension “successful.”

2. Different figures describe different source populations

The dashboard’s search success is the share of search events with at least one result and resolution state other than no_match/low_confidence. Its engagement is the share with a nonempty viewed_json. Neither establishes that the visitor understood or solved the problem. The product-level helpfulness percentage is derived from the article-feedback events table in the lookback window. By contrast, the “articles needing attention” list reads per-article cumulative _scfs_feedback_helpful_count and _scfs_feedback_unhelpful_count metadata. Different totals are not necessarily corruption; they may have different windows, product associations or instruments.

Published articles are counted with post_status=publish, whereas the administrative Known Issue and release coverage queries include publish, private, draft and pending. Documentation Gap analysis also includes those states. These administrative coverage denominators must never be described as a strictly public-only publication inventory. Check which population a chart or exported label claims to represent.

3. Scoring weights, editorial metadata and threshold changes

The v5.7.0 software score assigns 20% search success, 10% engagement, 20% helpfulness, 15% average article-integrity score, 10% freshness, 10% Known Issue coverage, 10% release coverage, and 5% Documentation Gap closure. It is a deterministic advisory composite, not a peer-reviewed measure of comprehension or user success. A missing or zero stored article-integrity score is replaced with 50 in the article aggregation path. Freshness may use _scfs_last_verified_date, or otherwise WordPress modification time, plus a stale flag. Metadata can therefore alter the score without changing actual product behavior.

4. Incomplete instrumentation, stale snapshots and mismatched windows

The snapshot builder can return a stored report when generated_at and product records are present; it does not necessarily recalculate on every view. A daily refresh is source-reviewed but cron execution, lock timing, table migrations and installed configuration are not verified here. The 90-day event lookback is distinct from the current catalog population and the 180-day freshness window. Comparing them as if they were a common cohort creates misleading narratives. Duplicate events, bot traffic, consent limitations, deleted records and telemetry outages can change numerators independently of visitor outcomes.

5. Recommendation, verification and authorization are separate

evaluate_effectiveness() can return recommendations including improve_search_relevance_and_no_results_recovery and review_low_helpfulness_articles. It does not, by itself, publish, unpublish, close a Known Issue, revise a release or reprioritize a roadmap. The Content Operations verification workflow is separate and human-governed. Any purported automatic editorial decision must be investigated through the WordPress revision/audit path and installed extensions, not attributed to this analytics engine without evidence.

Troubleshooting

Step 1 — Capture the exact problem without disclosing private records

Record the report location, selected product, report generation timestamp, analytics settings, requester role, expected versus observed value, and a minimal synthetic reproduction. When two views disagree, capture both in the same time zone and annotate whether one uses cached data. Do not export unrestricted source tables merely to reproduce a percentage. Redact any identifier before escalation, and preserve the original restricted evidence in the authorized audit store.

Step 2 — Establish source availability before calculating rates

Verify whether the Guided Resolution table scfs_resolution_events (subject to WordPress table prefix) exists, whether its eligible event_type='search' events fall inside the configured lookback, and whether view data populate viewed_json. Confirm article-feedback table availability and response-count scope separately. Check instrumentation changes, consent/privacy restrictions and whether a missing table is reported as zero rather than unavailable. An empty event table and an intentionally unused feature are different situations; neither justifies claiming 100% successful searches.

For each relevant metric, record four fields: numerator, denominator, source_available, and window_start/window_end. Use the reporting value NOT_MEASURED whenever an essential source is absent or the denominator equals zero. Retain the source-equivalent percentage only in a separately labeled implementation-diagnostics column.

Step 3 — Reproduce the eight components from a fixed snapshot

Compare the eight input dimensions with the source-reviewed weights; record the source version and each contribution. Test that denominators are nonnegative, numerators never exceed denominators, and canonical product/category filters agree. Compare independent arithmetic with the source-equivalent result. If the arithmetic agrees but the data are invalid, classify it as calculation reproduced; measurement not accepted. Do not alter weights or filter selections to force an expected outcome.

Metric Source-derived operational numerator and denominator Required troubleshooting qualification
Search success (20%) Matched search events / all eligible search events A match is not a resolved user task
Search engagement (10%) Searches with viewed records / searches A view is not necessarily a meaningful read
Helpfulness (20%) Helpful responses / all eligible responses Voluntary respondents may differ from readers
Publication integrity (15%) Mean stored article integrity score Structural score is not scientific factual verification
Freshness (10%) Fresh published articles / published articles Modification is not necessarily verification
Issue coverage (10%) Issues with guidance/workaround metadata / issues included Link presence is not verified advice
Release coverage (10%) Releases with documentation metadata / releases included Link does not prove a release was deployed
Gap closure (5%) Closed/resolved gaps / tracked gaps Administrative closure is not demonstrated success

Step 4 — Use the worked synthetic example and its counterexample

The following fictional product uses 120 searches, of which 75 meet the operational match definition; 40 have a recorded view event. Ten voluntary helpfulness responses include eight positive votes. Its other invented inputs are 12 published articles, mean integrity 82, nine fresh articles, three of four issues covered, two of three releases documented, and two of five documentation gaps resolved.

Dimension Synthetic result Weight Contribution
Search success 75/120 = 62.5% 20% 12.50
Search engagement 40/120 = 33.3% 10% 3.33
Helpfulness 8/10 = 80.0% 20% 16.00
Integrity 82.0/100 15% 12.30
Freshness 9/12 = 75.0% 10% 7.50
Issue coverage 3/4 = 75.0% 10% 7.50
Release coverage 2/3 = 66.7% 10% 6.67
Gap closure 2/5 = 40.0% 5% 2.00
Software-advisory total 100% 67.8/100 — healthy

This is an operational composite label, not an estimate that 67.8% of users benefited. Under an independent-binomial Wilson illustration, 8/10 helpful responses has a very wide approximate 95% interval (49.0–94.3%); because responses are self-selected, even that interval is not automatically a valid population interval. Similarly, 75/120 matched searches measures events, not unique people or verified task resolution.

Mandatory negative control: Construct a synthetic record with 12 published articles, perfect integrity/freshness and no searches, feedback, issues, releases or gaps. The source-equivalent computation can return 100/100, “effective.” A responsible troubleshooting report must instead state search success and helpfulness NOT_MEASURED, show denominators of zero and withhold any user-effectiveness claim. The included script reproduces both results and deliberately blocks unsupported interpretations.

Step 5 — Reconcile helpfulness, filters, freshness and coverage

When product totals differ, compare article-feedback records and aggregate dates with cumulative per-article metadata. Confirm article status, revision, product taxonomy and whether a response belongs to an older instrument or article revision. For a sudden freshness improvement, check whether a content edit reset modification time without a substantive verification against the installed version. For issue/release coverage, sample the actual linked item and verification evidence, and identify whether the record is draft/private or published. Keep administrative-review populations distinct from public readers’ available content.

When product filters differ, inspect the source-reviewed filtering strategy and migration history. The Guided Resolution analytics query filters product context using the serialized filters_json field; improper slug normalization, missing filter context, or legacy serialization can affect the product-specific counts. Evaluate these as hypotheses with an authorized read-only query and a synthetic equivalent; do not assert a site-specific failure without evidence.

Step 6 — Check data freshness, caching, export and role scope

Compare source record update times with the snapshot generated_at, latest successful scheduled refresh, PHP cron state, page caches and any downstream dashboard copy. A cached value can be coherent but stale. In authorized staging, capture the old snapshot, perform the documented Refresh analytics action, and compare expected changes; preserve the rollback/reconciliation evidence. Avoid refreshing live dashboards during an active audit without approval. If the source remains stale after refresh, investigate collection and scope rather than repeatedly forcing the refresh.

Test the admin dashboard, protected REST routes, CSV export, and shortcode separately for anonymous, low-privilege and authorized users. The source-reviewed REST routes use can_manage() permission callbacks; the export and admin page also check capability. Test the final response and cached derivatives rather than relying solely on the API schema’s claims that no personal identifiers are exposed. Keep raw queries, case narratives and any contact information out of public outputs and logs.

Step 7 — Determine whether the difference matters scientifically

Record whether a difference represents software arithmetic, sampling/measurement validity, changed population, or legitimate editorial context. An “improved” score may follow fewer searches, a different group of respondents, relabeled statuses or an edited article, without any change in actual task completion. For time trends, compare identical eligibility definitions and instrumentation, explain missingness, state the uncertainty and consider negative controls. Without an appropriate comparison design, do not describe a score change as the effect of a Knowledge Base change.

Step 8 — Test the human-governance boundary

For each actionable documentation finding, link a specific article or gap to its aggregate evidence, reviewer, alternative hypotheses, current product/version test, recommended action, date and approval. Confirm that analytics refresh, generating a report, adjusting an advisory threshold, or making a CSV export does not change WordPress post_status, verification state, Known Issue status, release status or roadmap decisions without an independently authorized action. If it does, stop automated pathways and inspect the installed integrations and audit trail before proceeding.

Step 9 — Preserve a minimal, reproducible escalation packet

Include the product slug, WordPress plugin/module versions, request/route, UTC observation time, role, snapshot ID/time, numerator/denominator and dimension, actual configuration, source-table availability, report checksum, expected/actual values, a minimal synthetic reproduction, staging test IDs, an owner and the proposed rollback. Mark absent sources UNKNOWN and unresolved hypotheses NOT_VERIFIED. Never attach private customer data or access tokens to a public issue.

Resolution

Use the smallest authorized correction tied to a demonstrated cause. Source-code changes and database migrations require their own review and release process; this troubleshooting article does not deploy or authorize them.

Confirmed cause Safe response Acceptance evidence
Missing table or disabled instrumentation Repair capture/migration under controlled change; preserve the gap as unknown Source records collected in authorized staging, with timestamp and provenance
Zero denominator displayed as 100% success Qualify metric as NOT_MEASURED; consider a separately reviewed UI change Zero-data negative control never yields an unqualified effectiveness claim
Historical/cumulative counts compared with windowed feedback Label source populations and re-run with comparable cohorts Event and article counts reconcile for the stated scope
Snapshot stale after new records Authorized refresh after preserving baseline; inspect schedule/cache Fresh snapshot timestamp and consistent admin REST/CSV values
Product/taxonomy mismatch Correct mapping only after approved review Same canonical product consistently selects the intended records
Unsupported freshness or coverage Revalidate content and links, not merely metadata Sampled guidance and release context factually verified
Sparse or self-selected feedback interpreted as a universal fact Report response fraction, missingness and selection bias Claim scope limited to actual respondents and uncertainty
Unauthorized analytics access or restricted data exposure Restrict affected route/export/cache and engage privacy/security owner Anonymous and low-privilege negative tests pass; incident evidence retained
Analytics recommendation automatically changes publication status Disable unauthorized action path; restore approved revision through change control Explicit editor approval required; revision and audit trails preserved

Do not delete source events or older article revisions to make a metric appear coherent; honor formal retention and privacy policies. A database repair or editorial rollback must be justified, recorded, tested, and reversible where practicable.

Verification

Technical and scientific acceptance criteria

  1. Traceable population: every relevant numerator, denominator, product filter, event source, instrument revision, observation window and extraction timestamp is documented.
  2. Correct arithmetic: the eight source-derived dimensions and the weighted advisory score reproduce from an immutable fixture, with all impossible counts rejected.
  3. No invented effectiveness: zero denominators, missing tables, incomplete capture and inadequate feedback are labeled NOT_MEASURED or INSUFFICIENT, never treated as evidence of success.
  4. Consistent scopes: windowed feedback, cumulative article metadata, public-only article sets and administrative issue/release coverage are distinguished.
  5. No mistaken causality: search matches, clicks, helpfulness votes, metadata changes and composite trends are not equated with task resolution or causal benefit.
  6. Safe access: anonymous and unauthorized users cannot retrieve administrative analytics or private records via UI, REST, shortcode, CSV, cache, logs or errors.
  7. Human control: no analytics process automatically approves content, publishes an article, closes a Known Issue, changes a release or alters roadmap priority.
  8. Independent review: an authorized reviewer inspects sampling, interpretation, contradictory evidence, privacy risks and the final editorial decision with an audit link.

Offline diagnostic kit and release gate

The accompanying documentation_analytics_validator.py reproduces source-equivalent scores on synthetic aggregate fixtures and provides an independent scientific-evidence gate. The additional documentation_analytics_troubleshooter.py assigns operational root-cause classes and non-destructive next steps. Neither script imports private records, connects to WordPress or changes the product. Run only within the downloaded package:

python3 documentation_analytics_validator.py
python3 documentation_analytics_troubleshooter.py
python3 -m pytest -q

Passing offline tests confirms the harness behaves consistently with its specified synthetic fixtures. It is not proof that the deployed Product Support and Feedback Platform meets privacy requirements, that end-user task completion was measured, or that a particular editorial action is authorized. Every entry in the companion staging acceptance matrix begins NOT_RUN; require actual environment, operator, execution date, artifact reference and reviewer before recording PASS.

Reporting boundary

A defensible synthetic statement is: “75 of 120 recorded searches met the module’s matched-result rule (62.5%); eight of ten voluntary feedback responses were helpful (80%). The weighted advisory score is 67.8/100. These figures do not measure confirmed task completion or causal impact.” An equally important counterstatement is: “The source-equivalent score displays 100/100, but no search or feedback events were observed; user effectiveness is not measured.”

Do not write “Users successfully solved 62.5% of their problems,” “Documentation is scientifically effective,” or “The changes caused the score to improve” based only on this analytics module. An independent assessment must establish the appropriate design, sampling, calibration, privacy and limitations. Public explanations should be aggregate and non-identifying; retain privileged event evidence in its authorized access boundary. Disclose the source release, installed-version uncertainty, model limitations, missing data, reviewer role and conflicts of interest.

Developer evidence and references

The following are source-reviewed implementation references at pinned commit 29a2bbfec41bdae059d31eff1aac1b6bfea9e129. A link to source code establishes a reviewed contract, not that the same code is installed in production.

  1. Support Analytics module v5.7.0 — lines 82–111 settings/capability; 170–175 percentage convention; 213–360 search/feedback; 367–496 coverage/scoring; 516–557 snapshot; 620–650 export and REST.
  2. Deterministic backend scoring helper — source-equivalent weights, no-denominator convention, aggregate evidence count and states.
  3. Guided Resolution analytics collection — lines 693–729 query redaction, event writes and tracking fields.
  4. Content Operations and editorial governance — independent verification and human editorial controls.
  5. Documentation effectiveness specification — scope, weights, advisory states and protected report features.
  6. NIST Engineering Statistics Handbook, proportion confidence intervals — statistical reference only; self-selected feedback may violate simple sampling assumptions.
  7. NIST SP 800-188, De-Identifying Government Datasets — disclosure governance reference, not certification of this platform.
Scroll to Top