Skip to content

Main content

Credits Duplicate Role Share Tool

Calculate credits duplicate role share from explicit caller-supplied inputs.

Loading tool…

Description

Subtract duplicateRoles from creditedRoles and divide the resulting uniqueRoles by positive totalRoles.

Media proportions depend on whether the denominator includes excluded material, inaudible markers, duplicated roles, or only eligible duration. These choices answer different analytical questions.

Subtract duplicateRoles from creditedRoles and divide the resulting uniqueRoles by positive totalRoles.

When to use this tool

Use Credits Duplicate Role Share when you need a media-study proportion with an explicit counting basis.

How to use the tool and how it works

  1. Enter creditedRoles, duplicateRoles, totalRoles. 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 uniqueRoles, share. Use the output convention below.

Subtract duplicateRoles from creditedRoles and divide the resulting uniqueRoles by positive totalRoles. Require unique roles no greater than the total.1

Input fieldMeaning and unitsAccepted input
creditedRolesCredited RolesRequired. Safe integer; minimum 0.
duplicateRolesDuplicate RolesRequired. Safe integer; minimum 0.
totalRolesTotal RolesRequired. Safe integer; minimum 1.
Output fieldInterpretationReturned shape
uniqueRolesUnique RolesRequired. Safe integer.
shareDimensionless fraction under the stated denominator policy.Required. Finite number.
json
{
  "input": {
    "creditedRoles": 5,
    "duplicateRoles": 2,
    "totalRoles": 10
  },
  "output": {
    "uniqueRoles": 3,
    "share": 0.3
  }
}

Limitations and assumptions

  • Duplicate counts are supplied rather than deduplicated; this measures role coverage, not contributor identity or prominence.
  • 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 the coding protocol and source material, and report excluded or uncertain annotations separately.

References

  1. Calculation and input contract: media-studies/credits-duplicate-role-share — tool.io

Similar or alternative tools

  • Quote Source Duration Share

    Divide nonnegative sourceDuration by positive totalQuotedDuration, requiring source duration no greater than total.

  • Shot Duration Proportion

    Use sequenceDuration or sequenceDuration - excludedDuration as denominator according to excludeMarked, then divide shotDuration by it.