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
- Enter respondentIds, feedbackPresent, consentVerified, contextRecorded. Follow any array-alignment requirements below. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- 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 field | Meaning and units | Accepted input |
|---|---|---|
| respondentIds | Respondent Ids | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| feedbackPresent | Feedback Present | Required. Array of boolean; maximum items 256. |
| consentVerified | Consent Verified | Required. Array of boolean; maximum items 256. |
| contextRecorded | Context Recorded | Required. Array of boolean; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| respondents | Respondents | Required. Safe integer. |
| supportedRespondents | Distinct IDs with at least one fully supported row; incomplete rows are not merged for evidence. | Required. Safe integer. |
| share | Dimensionless share using the operation-specific denominator stated above; not a percentage number. | Required. Finite number. |
| defined | Whether the corresponding reporting denominator/value is defined; inspect before interpreting zero placeholders. | Required. Boolean. |
{
"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
Similar or alternative tools
- Farmer Feedback Answered Item Fraction
Denominator includes answered+missing plus opt-outs unless excludeOptOut; return answered/denominator.
- Farmer Field School Session Attendance Share
Select denominator required when countExcused=true, otherwise required-excused, then divide attendance by it.