Skip to content

Main content

Farmer Feedback Support Share Tool

Calculate farmer feedback support share from explicit caller-supplied inputs.

Loading tool…

Description

Count distinct IDs and distinct IDs having at least one row with all flags true; return supported share or zero with defined=false for no respondents.

Extension-service records track resources, attendance, feedback and permission assertions. Distinct people and repeated records have different denominators, and a complete record does not prove valid consent or a high-quality service. Names such as verified describe caller-supplied evidence flags.

Count distinct IDs and distinct IDs having at least one row with all flags true; return supported share or zero with defined=false for no respondents.

When to use this tool

Use Farmer Feedback Support Share when checking the stated extension-service record, participation or permission convention.

How to use the tool and how it works

  1. Enter respondentIds, feedbackPresent, consentVerified, contextRecorded. Follow any array-alignment requirements below. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read respondents, supportedRespondents, share, defined. Inspect defined before interpreting the associated values.

Require aligned respondent IDs and feedback/consent/context flags. Count distinct IDs and distinct IDs having at least one row with all flags true; return supported share or zero with defined=false for no respondents.1

Input fieldMeaning and unitsAccepted input
respondentIdsRespondent IdsRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
feedbackPresentFeedback PresentRequired. Array of boolean; maximum items 256.
consentVerifiedConsent VerifiedRequired. Array of boolean; maximum items 256.
contextRecordedContext RecordedRequired. Array of boolean; maximum items 256.
Output fieldInterpretationReturned shape
respondentsRespondentsRequired. Safe integer.
supportedRespondentsDistinct IDs with at least one fully supported row; incomplete rows are not merged for evidence.Required. Safe integer.
shareDimensionless share using the operation-specific denominator stated above; not a percentage number.Required. Finite number.
definedWhether the corresponding reporting denominator/value is defined; inspect before interpreting zero placeholders.Required. Boolean.
json
{
  "input": {
    "respondentIds": [
      "a",
      "b"
    ],
    "feedbackPresent": [
      true,
      true
    ],
    "consentVerified": [
      true,
      true
    ],
    "contextRecorded": [
      true,
      false
    ]
  },
  "output": {
    "respondents": 2,
    "supportedRespondents": 1,
    "share": 0.5,
    "defined": true
  }
}

Limitations and assumptions

  • Evidence is not combined across incomplete rows, and consentVerified is not independent verification of actual consent.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.

Alternative or Complementary methods

Review original service and participant records and the applicable permission/organizational rules for actual use or reporting decisions.

References

  1. Calculation and input contract: agricultural-extension/farmer-feedback-support-share — tool.io

Similar or alternative tools