Skip to content

Main content

Dialogue Agenda Time Share Tool

Calculate dialogue agenda time share from explicit caller-supplied inputs.

Loading tool…

Description

Sum exact selectedAgenda matches and return selectedDuration, selectedShare over the whole session, and unallocatedDuration.

Public agreements, monitoring, dialogue, and assistance records use explicit identifiers, time windows, accounting bases, and participation categories. A match or coverage share describes a supplied representation. It does not independently establish the accuracy of a record, the fairness of a process, or conditions on the ground.

Sum exact selectedAgenda matches and return selectedDuration, selectedShare over the whole session, and unallocatedDuration.

When to use this tool

Use Dialogue Agenda Time Share when you need this local public-record match, participation measure, duration, or accounting check.

How to use the tool and how it works

  1. Enter speakingDurations, agendaLabels, selectedAgenda, totalSessionDuration. Keep parallel arrays aligned. 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 selectedDuration, selectedShare, unallocatedDuration. Use the output convention below.

Require aligned nonnegative speakingDurations and agendaLabels and positive totalSessionDuration, with total allocated duration no greater than session duration. Sum exact selectedAgenda matches and return selectedDuration, selectedShare over the whole session, and unallocatedDuration.1

Input fieldMeaning and unitsAccepted input
speakingDurationsSpeaking DurationsRequired. Array of finite number; minimum 0; maximum items 256.
agendaLabelsAgenda LabelsRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
selectedAgendaSelected AgendaRequired. Text; maximum UTF-16 length 8192.
totalSessionDurationTotal Session DurationRequired. Finite number; strictly above 0.
Output fieldInterpretationReturned shape
selectedDurationSelected DurationRequired. Finite number.
selectedShareSelected ShareRequired. Finite number.
unallocatedDurationUnallocated DurationRequired. Finite number.
json
{
  "input": {
    "speakingDurations": [
      10,
      20
    ],
    "agendaLabels": [
      "A",
      "B"
    ],
    "selectedAgenda": "A",
    "totalSessionDuration": 40
  },
  "output": {
    "selectedDuration": 10,
    "selectedShare": 0.25,
    "unallocatedDuration": 10
  }
}

Limitations and assumptions

  • Durations need one unit and must already exclude overlaps appropriately. The labels and timings are trusted; time allocation does not measure voice, quality of deliberation, or equitable representation.
  • 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. Signed zero is exported as zero.

Alternative or Complementary methods

Verify the underlying public sources, time basis, inclusion policy, and interpretation of the reporting denominator. Substantive agreement analysis or current field conditions require information beyond these supplied tokens or coordinates.

References

  1. Calculation and input contract: peace-studies/dialogue-agenda-time-share — tool.io

Similar or alternative tools