Worked Examples
Validate scientifically feedback intake — Product Support and Feedback Platform
Validate feedback intake through controlled tests of consent notices, data minimization, submission integrity, private survey responses, public visibility, and retention accountability. This scientific validation guide provides reproducible synthetic experiments, read-only WordPress diagnostics, and measurable evidence criteria for assessing reliable product feedback without exposing personal or confidential information.
Application: Product Support and Feedback Platform
Component: Feature Suggestion Intake; Forms & Surveys; Public Ideas; Feedback Intelligence
Article type: Scientific Validation / Validation Procedure
Source baseline: Plugin source v7.8.1; form schema 2.0; commit dated source snapshot as cited below
Estimated reading time: 19–23 minutes
Validation state: Source reviewed; independent offline tests executed; staging and production not tested.
Feedback intake is not scientifically valid merely because a submission reaches WordPress. An appropriate evaluation must show that the right input was collected for a stated purpose, consent or notice was recorded where required, private information did not spread to public surfaces, duplicate controls did not introduce systematic bias, and retention decisions are documented and enforceable.
Goal
Determine whether product-feedback submissions can be collected and interpreted as useful, traceable, minimally identifying evidence without unauthorized publication, unsupported causal claims, or reuse beyond the stated purpose. The primary testable outcome is documented notice/consent, retention, and visibility for every intake route. Secondary outcomes include accurate product classification, reproducible duplicate handling, confidentiality of form responses, and stable provenance across aggregation or triage.
Three distinct units of analysis must not be conflated: (1) individual feature suggestions stored as sc_feature_suggest; (2) private form/survey responses stored as scfs_response; and (3) public idea projections and aggregated Product Signals derived from underlying records. The source establishes different publication and consent controls for these units; the testing protocol must preserve those differences.
Requirements
- Scope: a fixed version of the plugin, a documented WordPress environment, exact route/method and user role, a dated observation window, and separate inventories for shortcode submissions, REST suggestions, and form/survey responses.
- Authority: legitimate permission to inspect private staging data; a privacy reviewer for sensitive-content scenarios; separate operator approval for public probing and any status changes.
- Evidence: synthetic test records, versioned field schemas and notices, configured consent behavior, post status, public-idea visibility flag, processing/retention register, bounded server logs, and redacted response traces.
- Negative controls: absent consent, malformed fields, repeat submissions, unauthorized export, nonpublic content in public REST, stale schema, sensitive-text leaks, and records past review deadlines.
- Safety: do not submit real personal details, passwords, customer messages, or unreleased product vulnerabilities into test fixtures. Use dedicated test environments and inert strings.
Symptoms
- A visitor is told feedback succeeded but no suggestion record is found, or the same request is repeatedly stored.
- A submission is publicly visible before editorial review, or a nonpublic suggestion title appears in a Public Ideas response.
- A survey marked anonymous still collects direct contact details, and the saved answers or exported CSV disclose them.
- Missing or changed consent text is not discoverable later; accepted responses cannot be linked to the exact notice or instrument revision.
- REST and shortcode submissions produce different rejection or deduplication outcomes under the same synthetic conditions.
- The Product Signals dashboard produces a score or trend without a clear denominator, source inventory, exclusions, or versioned calculation method.
- No approved retention period, destruction-review mechanism, or accountable owner can be demonstrated for an intake record.
Cause
The reviewed main plugin validates required title, category, problem, suggestion, optional email format, and consent === "1". It also supports a honeypot, timing check, per-IP-hash rate limits, blocked terms, link-count limits, and a salted duplicate fingerprint based on title, email, and suggestion. A successful submission is stored with metadata and a review state. These are useful operational controls, not a guarantee that free text excludes personal information; sanitize_textarea_field() is not a semantic privacy detector.
By default, the main feature-suggestion form uses submission_status=pending, but the configuration permits publish. The suggestion post type itself is registered public=false, while Public Ideas can expose moderated fields from suggestions whose _scfs_public_visibility flag is set. A successful public endpoint test must therefore inspect each projection and its source record, not rely only on the WordPress post status.
The Forms foundation stores scfs_response as a nonpublic WordPress post type with private status. The fields defined by an instrument are saved along with answers and a schema version; a consent field is enforceable if the editor marks it required. The “Anonymous response mode” setting exists, but the reviewed request paths should not be presumed to remove identifiers from arbitrary field values. Forms REST submissions also require route-specific validation and must be tested separately from the shortcode, including quotas and anti-automation behavior.
The main plugin has explicit optional telemetry controls for referrer and user agent and optional AI/webhook processing. A privacy or retention claim must account for those paths and the email notification channel—not just the primary WordPress database. The reviewed main-intake settings do not establish a complete, purpose-specific retention schedule for every suggestion, form response, backup, export, and downstream processor.
Troubleshooting
A. Establish which intake path was exercised
- Capture the route name and version, HTTP method, submission channel (
shortcode_form, REST, survey), anonymized correlation identifier, server response code, and the saved WordPress post type. - Confirm that the relevant form or shortcode was enabled and that all expected post and field keys existed in the saved record. Avoid copying raw text into a ticket.
- Compare the response to a synthetic control with the same form revision and product context. For absent records, distinguish a validation rejection, spam rejection, database failure, redirect failure, and downstream notification failure.
- Retain a redacted evidence bundle with request/response hashes, configuration versions, and independent reviewer sign-off.
B. Reconcile approval versus visibility
- Determine the WordPress
post_status, the feature-suggestion review state, and the separate_scfs_public_visibilityflag. - Inspect anonymous Public Ideas and REST representations for title, summary, category, vote count, and official response. Compare them to the explicitly approved public version, not to the private source text.
- Check source records marked pending or private but publicly visible through a separate flag; classify this as a projection review condition, not automatically as a WordPress access bypass.
- If unreviewed material is exposed, preserve minimal evidence, remove the public visibility flag under authorized change control, invalidate caches, and verify negative controls before republishing.
C. Reconcile duplication and intake loss
The main suggestion deduplication hash combines normalized title, email, and suggestion with the site authentication salt. Its purpose is replay avoidance within a configured transient window, not a definitive measure of conceptual duplicate ideas. Distinct users can submit the same idea; conversely, a small edit may avoid the hash match. Measure false-positive and false-negative rates using fictional repeated and near-duplicate cases, and do not merge or erase production submissions as part of the test.
D. Reconcile consent, notification, and retention
- Identify the exact notice wording presented to the respondent. Determine whether the current code actually records its version; where it does not, treat notice provenance as an evidence gap.
- Check whether optional contact fields were needed and whether follow-up use had a separate disclosed purpose. Record field-level necessity and the intended access roles.
- For each storage class—suggestion, form response, event/webhook, email, CSV export, analytics, backup—record retention owner, period, trigger, legal hold exceptions, disposal/review mechanism, and test evidence.
- Verify that a retention review operates without silently deleting evidence needed for legal or operational obligations.
Resolution
Treat findings as controls to reconcile, not as permission for automated deletion or blanket unpublishing. On a confirmed privacy or public-visibility failure, preserve minimal incident evidence, restrict only the affected projection, identify downstream caches/exports, and ask the service owner and privacy reviewer to approve a targeted remediation. On form schema drift, freeze the affected instrument revision and preserve the saved response-to-schema mapping. On duplicate loss, retain the original response and replay logs, then adjust the duplicate policy in staging with a documented false-positive tradeoff.
Recovery should use an explicit change record: affected record IDs, pre-change hash or revision, authorization, reason, precise setting or field changed, verification evidence, rollback plan, and final reviewer decision. Never substitute bulk status updates, purges, or an undocumented redaction script for a properly scoped repair.
Verification
A change is accepted only after the original failure is reproduced in staging, corrected, and challenged by both positive and negative controls. Verify anonymous surfaces, authenticated editorial views, private form responses, REST endpoints, exports, analytics, and the event/webhook path independently. Compare before/after record counts and field-level schemas; retain the source revision and note whether the deployed plugin matches it.
| Acceptance dimension | Proposed acceptance test | Evidence |
|---|---|---|
| Consent/notice | Zero accepted synthetic suggestions without the required acknowledgment; the notice presented is preserved in the test protocol | Form screenshot, request trace, control result |
| Privacy | Zero unauthorized raw personal fields or private case values in public response and event projections | Field allowlist comparison, redacted JSON diff |
| Visibility | Zero nonapproved public projections in the sampled staging cohort | Post status, visibility flag, public GET comparison |
| Duplicates | Replay behavior explained; false rejection and missed duplicate rates reported independently | Known-positive and near-duplicate control fixtures |
| Forms | Every required answer and conditional branch assessed; private response status and schema revision retained | Synthetic form matrix and read-only WP audit |
| Retention | All sampled record classes mapped to an approved schedule and responsible owner; exceptions documented | Policy register and signed review |
| Reproducibility | Independent reviewer reproduces the test protocol and results from source hash and fixtures | Environment manifest, checksums, command output |
8. Study design and sampling frame
Define the target population as eligible submissions received during a prespecified observation interval. Partition by channel (shortcode, public REST, form, survey), product, instrument revision, respondent opt-in state, and processing outcome. The denominator for acceptance is all attempts; the denominator for public-visibility leakage is all examined public records or response surfaces, not only successful published items. Preserve counts of blocked spam, invalid fields, duplicate rejections, consent failures, missing records, and withdrawn records. Do not silently discard exclusions.
A suggested staged design includes at least five repetitions for each normal flow and each negative-control category, plus a census of relevant public endpoint schemas. If the production corpus is large, use a preregistered stratified random sample with recorded selection seed; add targeted oversampling of rare privacy-sensitive events. Do not claim that a convenience sample establishes the overall defect rate.
9. Falsifiable hypotheses
H1: All accepted main suggestion submissions carry the required acknowledgment in their saved metadata. H0: At least one accepted submission lacks it. H2: Public representations expose only reviewer-approved, non-identifying values. H0: An unreviewed or identifying value is reachable anonymously. H3: Each surveyed response links to the exact instrument revision, with conditional required fields enforced. H0: A saved response can violate its own field schema. H4: Every retained record class has a documented purpose and disposal/review decision. H0: At least one class lacks a documented rule.
H2 must be tested across both source post visibility and Public Ideas projection behavior. H4 is a policy-and-operation criterion; no Python fixture can demonstrate that WordPress, backups, or external processors actually delete or review material.
10. Observational definitions and measurement
| Variable | Operational definition | Interpretation boundary |
|---|---|---|
| Accepted submission | A successful server response and a corresponding saved canonical record | Does not prove user intent or truth of feedback |
| Consent evidence | Affirmative acknowledgment plus form/notice version and timestamp in an approved evidence trail | A checkbox alone does not settle legal basis or adequacy of notice |
| Data minimization | Fields collected and propagated are justified against an explicit purpose/necessity register | Regex-based sensitive-text scans are incomplete |
| Duplicate rejection | A request rejected as repeated within the configured transient window | Not equivalent to the same real-world idea |
| Public disclosure | A value readable by an unauthorized anonymous client via public surfaces | Exclude authorized editor views from public-leak counts |
| Feedback utility | Reviewers can classify a submission and decide an action from non-sensitive evidence | Subjective and susceptible to selection bias |
| Retention evidence | Owner-approved schedule, exception handling, review/action trail for a record class | A proposed schedule is not an executed deletion |
11. Source implementation boundaries
The feature-suggestion shortcode checks the configured nonce when enabled, performs spam and field validation, generates a salted fingerprint, creates a sc_feature_suggest post, and stores form values in _scfs_* metadata. The REST route has a separate permission callback and may accept public requests without an API key when configured; it also calls validation and spam checks. For the same synthetic payload, test both paths and record differences, including whether anti-bot timing fields and caching conditions apply.
Forms & Surveys use a separate scfs_form definition with _scfs_form_schema and saved private scfs_response records; REST path /wp-json/scfs/v1/forms/{id}/responses accepts an answers object. A required consent field is a choice made in the instrument schema, not a universal rule enforced independently of that schema. Where consent is the chosen basis for a research survey, make the required field and versioned explanation explicit.
Public Ideas are a separate moderated presentation over selected feature suggestions. Product Signals is an advisory aggregation layer, not a substitute for the source records, consent register, or human review. Private requester identity and correspondence belong in the distinct Contact and Engagement workflow, subject to its own authority.
12. Positive and negative fixture matrix
| Case | Stimulus | Expected property |
|---|---|---|
| P-01 | Valid non-confidential suggestion with acknowledged notice | Saved, reviewable, nonpublic by default in test configuration |
| P-02 | Valid anonymous survey with required consent question | Private response with versioned schema; no direct identity fields |
| N-01 | Suggestion consent omitted | Rejected by main suggestion validation |
| N-02 | Sensitive string in free-text problem or title | Detected for privacy review; no claim of complete detection |
| N-03 | Public idea projection containing email | Negative control flags field and value exposure |
| N-04 | Repeated submission inside duplicate window | Repeat detection, with false-positive risk recorded |
| N-05 | Survey marked anonymous but includes email field | Configuration requires explicit manual review |
| N-06 | Response incorrectly saved as published | Private-response status failure |
| N-07 | Survey response with outdated schema version | Schema/provenance discrepancy |
| N-08 | Export/event includes private contact value | Data minimization failure |
| N-09 | No named retention owner or rule | Policy gap; not automatic deletion |
13. Reproducible offline diagnostic
The accompanying feedback_intake_checker.py is an independent research fixture checker—not deployed plugin code. It requires no third-party packages, network access, credentials, or raw personal data. Run it on the supplied fictional packets; the adverse packet deliberately violates the proposed validation contract.
python3 feedback_intake_checker.py fixtures/valid_packet.json \
--output evidence/valid_report.json
python3 feedback_intake_checker.py fixtures/adverse_packet.json \
--output evidence/adverse_report.json
python3 -m unittest -v test_feedback_intake_checker
The packet schema scfs-feedback-intake-audit/1.0 is a proposed diagnostic interchange format, not a production REST API. It includes an observation date, route settings, fictional suggestions, instrument fields, private responses, safe events, and purpose-specific retention rules. Do not upload exports from real users to third-party tools to run this demonstration.
14. Example policy rule and reproducibility
{
"schema": "scfs-feedback-intake-audit/1.0",
"as_of": "2026-11-22",
"settings": {
"submission_status": "pending",
"notice_version": "nonconfidential-2026-11",
"require_nonce": true
},
"retention_rules": [{
"id": "RET-IDEAS",
"purpose": "feedback_review",
"days": 365,
"owner": "Privacy Officer",
"action": "human_review"
}]
}
The 365-day figure is an illustrative synthetic study parameter only; it is not a claim about deployed settings or a legal retention requirement. A real policy must be approved independently, cover backups and exports, and specify holds and review/action evidence.
15. WordPress read-only evidence collection
Before probing a server, confirm the WordPress root and required privileges. For an approved staging environment, the bundled read_only_wp_intake_audit.php can be executed using wp eval-file. It reads only record counts and metadata-presence aggregates; it does not print names, emails, answers, full submissions, tokens, or secrets. It has not been run against this site.
# Staging only; replace the path after confirming your WP root.
wp --path=/path/to/wordpress eval-file read_only_wp_intake_audit.php
# Do not add export, status-update, or deletion flags to this check.
Record the WordPress/PHP versions, plugin image or Git SHA, exact command, UTC execution time, output, reviewer, and environment. If results differ from a synthetic packet, investigate the difference without copying identifiable source data into the public article or GitHub.
16. Test authenticated and anonymous surfaces separately
The main suggestion REST list and details routes are governed by editorial capability checks; the Public Ideas route is designed for anonymous discovery. Compare POST /wp-json/scfs/v1/suggestions (when enabled), the public ideas response, and the private editorial view separately. For forms, compare the public form schema endpoint with response submission and administrator-only exports. Never assume that a 200 response or an aggregate count proves an absence of sensitive data. Inspect field names and representative fictional values within an authorized test account.
A publicly exposed feedback summary should be manually reviewed as a fresh derived artifact, even if the underlying suggestion uses a nonpublic WordPress post type. Do not treat a `public_visibility` flag alone as proof that every field in the projection was approved.
17. Test anti-abuse controls without polluting analytics
Honeypots, minimum completion time, link caps, IP-derived rate limits, and duplicate transients should be challenged only in a dedicated test environment with reversible fixtures. Measure whether the same request is accidentally accepted through alternate channels, whether a transient window causes legitimate respondents to be rejected, and whether a repeated POST creates duplicate records after a simulated timeout. Identical response texts from different people may be valuable independent evidence, so deduplication must not become unexamined statistical censoring.
For survey quotas, test edge cases around exactly the limit and concurrent requests. The fact that a form shows a quota setting does not establish identical enforcement in shortcode and REST paths; verify each implementation as deployed.
18. Privacy, safety, and unexpected content
Use a canary that is synthetic and unmistakably fictional, such as test.person@example.invalid or token=EXAMPLE_ONLY, to test detection without risking real secrets. Pattern-based scanning misses many names, private URLs, internal identifiers, or contextual secrets. An independent human reviewer should sample negative and positive cases; record both false alarms and false negatives. Never republish the canary as part of a real public idea.
Evaluate optional email follow-up separately. A respondent who consents to submitting a non-confidential suggestion has not necessarily consented to unrelated mailing lists or analytics reuse. Test all outgoing notifications, webhook destinations, AI processing requests, and exports under the actual configured notice and processor policy.
19. Quantitative acceptance criteria and uncertainty
For binary controls, report a numerator and denominator. Example: privacy_leaks / anonymous_field_observations and consent_failures / accepted_submission_attempts. For one-sided rare-event confidence, when zero failures are observed in n independent comparable trials, a rough 95% upper bound is 3/n; thus 0 failures in 60 tests still permits a rough failure rate near 5%, conditional on sampling assumptions. This is not a certification that the deployed system is leak-free.
from math import sqrt
def wilson_interval(successes: int, total: int, z: float = 1.96):
if total <= 0 or not 0 <= successes <= total:
raise ValueError("Check the numerator and denominator")
p = successes / total
d = 1 + z*z/total
center = (p + z*z/(2*total))/d
margin = z * sqrt(p*(1-p)/total + z*z/(4*total*total))/d
return (round(max(0,center-margin),4), round(min(1,center+margin),4))
print(wilson_interval(30, 30))
The interval is appropriate for an observed Bernoulli fraction under stated sampling assumptions. Automated-test pass rates, survey sampling, and editorial judgments may violate independence. Stratify by channel, role, version, and product, and distinguish synthetic checks from measurements on actual deployed requests.
20. Scientific validity and bias
Feedback intake measures the opinions of people who decide to submit, not a representative sample of all users. Respondents differ by access, language, disability, platform experience, willingness to provide contact details, and exposure to support channels. Duplicate suppression and form conditional logic change selection probabilities. A high frequency of a topic can reflect a routing or exposure effect rather than an increase in actual defects. Do not infer causation from changes in submission volume alone.
When comparing two interface versions, preregister the population and period, hold classification rules constant, separate changes to visibility or rate limits, and disclose missing responses and the effect of any moderation. A reproducible count can still support a biased inference.
21. Review, retention and deletion boundaries
Maintain a record-class matrix for sc_feature_suggest and scfs_response, search logs and analytics, email notifications, webhooks, AI processing, CSV exports, backups, and downstream integrations. For each class, record purpose, permitted access, retention trigger, maximum retention or review cadence, hold exceptions, and what constitutes a verified disposition. No single interval is asserted here as a platform default.
Treat privacy deletion or redaction as a governed operation with approvals, audit, restoration constraints, and technical owner. Test removal from public projections separately from source deletion or backup expiry. Do not assume that deleting a WordPress post retracts notification emails, earlier exports, webhook copies, or third-party processing.
22. Reporting and reviewer handoff
The validation record must contain the question, hypotheses, exact source commit, approved privacy specification, fixture manifest with SHA-256 hashes, environment and request surface, population and exclusions, test counts, failure evidence using fictional data, uncertainty estimates, findings by severity, remaining unknowns, and explicit reviewer decisions. Classify an unresolved item as not verified, not as passed. Keep public notes limited to anonymized defects and mitigations; put sensitive implementation details and incident evidence in the restricted engineering or privacy channel.
23. Staging acceptance and exit gate
Use the accompanying CSV acceptance matrix with independent owners and negative controls. Cases cover the main shortcode, REST suggestion submission, Forms shortcode and REST response submission, public ideas, Product Signals, telemetry, retention, access roles, and downstream event interfaces. All supplied staging rows are NOT_RUN. A release should not be certified until high-risk controls pass in the actual approved staging environment, privacy reviews are complete, and operational settings match the published notice.
24. Technical references and provenance
- Feature Suggestions main plugin — suggestion validation, consent notice, status, spam controls, deduplication, metadata, REST, events, optional processing.
- Forms foundation — form schemas, conditional requirements, private responses, shortcode and REST intake, exports.
- Public Ideas — public visibility flag, curated presentation, anonymous result mapping.
- Feedback Product Signals — advisory aggregation and access boundary.
- Privacy and Submission Boundaries — non-confidential public suggestion purpose and excluded sensitive content.
- Product Support and Feedback Platform overview — responsibility split with Contact and Engagement.
- Forms & Surveys documentation — separate instruments, response records, and REST contract.
- Privacy and governance contract checks — repository-level checks; not independent production certification.
- WordPress developer reference: register_post_type() — post-type visibility versus individual post status.
- WordPress REST API handbook — route permissions and response contracts.
Interpretation: All source claims refer to the pinned commit, not the unknown installed version. The attached Python audit is intentionally independent of the implementation; its output is evidence that the proposed fixture checker works on fictional records. It does not establish regulatory compliance, anonymous survey integrity, complete secret detection, or production privacy assurance.
