Double Cocoon Percent Defect Rate

Audit double-cocoon count share and a caller equal-mass price-discount scenario; count share is not claimed to be measured double-cocoon mass share.

Description

Double-cocoon prevalence is a count share.

Double-cocoon prevalence is a count share. Using it as a price mixture requires an explicit equal-mass assumption.

Audit double-cocoon count share and a caller equal-mass price-discount scenario; count share is not claimed to be measured double-cocoon mass share.

When to use Double Cocoon Percent Defect Rate

Use this tool to audit double-cocoon count share and a caller equal-mass price-discount scenario; count share is not claimed to be measured double-cocoon mass share.

Prepare cocoon, larval, leaf or reeling measurements on a consistent batch and moisture basis. Use the declared mass, length and time units.

How to use Double Cocoon Percent Defect Rate and understand its results

  1. Prepare cocoon, larval, leaf or reeling measurements on a consistent batch and moisture basis. Use the declared mass, length and time units.
  2. Enter inspectedCocoonsByLot, doubleCocoonsByLot, singlePricePerKg, doublePricePerKg, lotNetMassKg, callerDoubleCountLimitFraction using the field table and calculation rules, then run the tool.
  3. Read doubleCountPercentByLot, pooledDoubleCountPercent, aboveCallerCountLimit, equalMassMixValue. The explanation below defines the units, signs, ordering and any flags or placeholder values.
  4. If the tool reports an input issue, correct the values and run it again. Apply the stated assumptions when interpreting a successfully returned result.
Input fieldMeaningValue type; see rules belowRequirement
inspectedCocoonsByLotInspected cocoons by lotlist of numberRequired
doubleCocoonsByLotDouble cocoons by lotlist of numberRequired
singlePricePerKgSingle price per kgnumberRequired
doublePricePerKgDouble price per kgnumberRequired
lotNetMassKgLot net mass kgnumberRequired
callerDoubleCountLimitFractionCaller double count limit fractionnumberRequired

Align positive integer inspected counts with double counts no greater than inspected. Return local and pooled count percentages, a strict count-limit flag and the nonnegative-price value scenario.1

Paired lists must be nonempty and have equal lengths.

equal-mass value = lot kg × [(1 − double share)single price + double share × double price]

Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.

Output fieldMeaningValue type
doubleCountPercentByLotDouble count percent by lotlist of number
pooledDoubleCountPercentPooled double count percentnumber
aboveCallerCountLimitAbove caller count limitboolean
equalMassMixValueEqual mass mix valuenumber
json
{
  "input": {
    "inspectedCocoonsByLot": [
      100,
      200
    ],
    "doubleCocoonsByLot": [
      10,
      40
    ],
    "singlePricePerKg": 5,
    "doublePricePerKg": 2,
    "lotNetMassKg": 30,
    "callerDoubleCountLimitFraction": 0.15
  },
  "output": {
    "doubleCountPercentByLot": [
      10,
      20
    ],
    "pooledDoubleCountPercent": 16.666666666666664,
    "aboveCallerCountLimit": true,
    "equalMassMixValue": 135
  }
}

Limitations and assumptions

Count share is not measured mass share; prices and policy are supplied.

Numbers and computed results must be finite; overflow produces an error. Numeric lists are limited to 100,000 entries; the rules above may require smaller limits. Missing required fields, extra fields, wrong value types and violations of the calculation rules are input errors. A successfully returned false flag is an evaluated outcome; its meaning is explained above.

Alternative or Complementary methods

Use Single Cocoon Weight MG: Calculate tare-corrected batch and pooled single-cocoon mg means with count weighting; no nominal breed cocoon mass table. For a complementary task, use Cocoon Price From Shell Percent: Interpolate a supplied auction shell-percent price schedule and quality multiplier without market-price defaults or out-of-range extrapolation.

References

  1. Double Cocoon Percent Defect Rate — tool.io

Similar or alternative tools

  • Single Cocoon Weight MG

    Calculate tare-corrected batch and pooled single-cocoon mg means with count weighting; no nominal breed cocoon mass table.

  • Cocoon Price From Shell Percent

    Interpolate a supplied auction shell-percent price schedule and quality multiplier without market-price defaults or out-of-range extrapolation.

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies