Description
Return herd age only when birth token is not marked unknown.
Animal observations distinguish recorded events, classification tokens, count expectations and measurement residuals. A normalized score or supplied activity transition is not a diagnosis or validated behavioral interpretation. Unknown records and incomplete observation windows must remain explicit.
Return herd age only when birth token is not marked unknown.
When to use this tool
Use Herd Roster Unknown Birth Token when checking the stated animal observation, score, count or time convention.
How to use the tool and how it works
- Enter birthToken, unknownTokens, observationDay, birthDay. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read birthKnown, ageDays. Inspect birthKnown before interpreting the associated values.
Return herd age only when birth token is not marked unknown. Unknown membership controls birthKnown; require observationDay >= birthDay when known, ageDays = difference or zero placeholder.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| birthToken | Birth Token | Required. Text; maximum UTF-16 length 8192. |
| unknownTokens | Unknown Tokens | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| observationDay | Observation Day | Required. Safe integer. |
| birthDay | Birth Day | Required. Safe integer. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| birthKnown | Literal birthToken is not in unknownTokens; birthDay is a separate supplied numeric coordinate, not parsed from birthToken. | Required. Boolean. |
| ageDays | Age Days | Required. Safe integer. |
{
"input": {
"birthToken": "?",
"unknownTokens": [
"?",
""
],
"observationDay": 100,
"birthDay": 0
},
"output": {
"birthKnown": false,
"ageDays": 0
}
} Limitations and assumptions
- The numeric birth day is not derived from the token; birth identity, record truth and clinical age interpretation are not verified.
- 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
Inspect the original animal and observation records, use an appropriate statistical model and consult qualified veterinary/husbandry professionals for health or welfare decisions.
References
Similar or alternative tools
- Herd Entry Exit Count Gap
Return exact herd count closure and discrepancy.
- Animal Cohort Count Delta
Return valid cohort final count and signed change.