Skip to content

Main content

Argument Attack Inout Degree Tool

Count supplied attack-edge incidences, including repeated edges and self-attacks as listed.

Loading tool…

Description

Count supplied attack-edge incidences, including repeated edges and self-attacks as listed.

A logical calculation operates on a stated representation: truth values, token lists, counts, or an explicitly supplied relation. Checking one assignment, pair, trace, or witness is different from proving a formula or validating an entire argument. Empty domains, duplicate tokens, and scope conventions can change the result.

Count supplied attack-edge incidences, including repeated edges and self-attacks as listed.

When to use this tool

Use Argument Attack Inout Degree when you need this exact local truth, count, token, relation, or witness check within a larger logic workflow.

How to use the tool and how it works

  1. Enter argument, attackers, targets. 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 incoming, outgoing. Use the output convention below.

Require aligned attackers and targets; return incoming as occurrences of argument in targets and outgoing as occurrences in attackers.1

Input fieldMeaning and unitsAccepted input
argumentArgumentRequired. Text; maximum UTF-16 length 8192.
attackersAttackersRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
targetsTargetsRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
Output fieldInterpretationReturned shape
incomingIncomingRequired. Safe integer.
outgoingOutgoingRequired. Safe integer.
json
{
  "input": {
    "argument": "a",
    "attackers": [
      "a",
      "b",
      "a"
    ],
    "targets": [
      "b",
      "a",
      "a"
    ]
  },
  "output": {
    "incoming": 2,
    "outgoing": 2
  }
}

Limitations and assumptions

  • Duplicate attacks count separately and a self-attack contributes once to both degrees. The tool does not calculate argumentation extensions, acceptability, or attack validity.
  • 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

Use a parser, scope-aware representation, model checker, or proof procedure when the supplied token or witness representation is insufficient. A local passing check should not be promoted to global validity.

References

  1. Calculation and input contract: philosophy/argument-attack-inout-degree — tool.io

Similar or alternative tools