Description
Count supplied required treaty conditions and recorded conditions met.
Treaty and diplomatic records separate action labels, recorded conditions, versions, source locators and financial contributions. A set of true condition flags differs from a verified legal act or entry into force. Dates and translations need the authoritative record and applicable definitions before legal interpretation.
Count supplied required treaty conditions and recorded conditions met.
When to use this tool
Use Treaty Entry Into Force Condition Count when you already have requiredConditions, recordedMet and need to count supplied required treaty conditions and recorded conditions met.
How to use the tool and how it works
- Enter requiredConditions, recordedMet. 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 requiredCount, requiredMetCount, allRequiredMet. Inspect allRequiredMet before interpreting the associated values.
Require aligned requiredConditions/recordedMet arrays; count required flags and required-and-met pairs, then compare counts for allRequiredMet.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| requiredConditions | Required Conditions | Required. Array of boolean; maximum items 256. |
| recordedMet | Recorded Met | Required. Array of boolean; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| requiredCount | Required Count | Required. Safe integer. |
| requiredMetCount | Required Met Count | Required. Safe integer. |
| allRequiredMet | True when each required entry has its corresponding met flag; an empty requirement list is vacuously true. | Required. Boolean. |
{
"input": {
"requiredConditions": [
true,
true,
false
],
"recordedMet": [
true,
false,
true
]
},
"output": {
"requiredCount": 2,
"requiredMetCount": 1,
"allRequiredMet": false
}
} Limitations and assumptions
- No required conditions, including an empty list, returns true. This does not establish entry into force, source validity or legal satisfaction of a condition.
- 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
Check the original treaty, notice, authentic text and status record when assessing an obligation or effective act. Reconcile full contribution ledgers and condition evidence; a local count, share or source-qualified key does not establish legal effect.
References
Similar or alternative tools
- Public Agreement Translation Version Pair
Pair explicit agreement and translation version identifiers.
- Diplomatic Note Enclosure Reference
Qualify an explicit diplomatic-note enclosure reference by version.