Skip to content

Main content

Eligible Area Source Gap Tool

Calculate eligible area source gap from explicit caller-supplied inputs.

Loading tool…

Description

Sum both area lists only on eligible rows and return declared-minus-verified gap.

Agricultural claim records combine declared areas, exclusions, duplicate units and supporting-evidence flags. Avoiding double counting requires the correct intersection or exclusion overlap. A reconciled area/count or verified-token share is bookkeeping rather than legal validation of a claim.

Sum both area lists only on eligible rows and return declared-minus-verified gap.

When to use this tool

Use Eligible Area Source Gap when checking the stated claim count, area or evidence-support convention.

How to use the tool and how it works

  1. Enter declaredAreas, verifiedAreas, eligible. 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 declaredEligibleArea, verifiedEligibleArea, gap. Use the output convention below.

Require aligned nonnegative declared/verified areas and eligibility flags. Sum both area lists only on eligible rows and return declared-minus-verified gap.1

Input fieldMeaning and unitsAccepted input
declaredAreasDeclared AreasRequired. Array of finite number; maximum items 256.
verifiedAreasVerified AreasRequired. Array of finite number; maximum items 256.
eligibleEligibleRequired. Array of boolean; maximum items 256.
Output fieldInterpretationReturned shape
declaredEligibleAreaDeclared Eligible AreaRequired. Finite number.
verifiedEligibleAreaVerified Eligible AreaRequired. Finite number.
gapGapRequired. Finite number.
json
{
  "input": {
    "declaredAreas": [
      10,
      20,
      30
    ],
    "verifiedAreas": [
      8,
      25,
      30
    ],
    "eligible": [
      true,
      true,
      false
    ]
  },
  "output": {
    "declaredEligibleArea": 30,
    "verifiedEligibleArea": 33,
    "gap": -3
  }
}

Limitations and assumptions

  • VerifiedAreas and eligibility are supplied evidence labels; no geometry, source authentication or legal eligibility is checked.
  • 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.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Review authoritative source records, parcel geometry and applicable program rules with the responsible professionals for actual claims or payments.

References

  1. Calculation and input contract: agricultural-policy/eligible-area-source-gap — tool.io

Similar or alternative tools