{
  "protocol": "DIRECTION_D4_UNMIXING_001",
  "version": "1.1.0",
  "status": "proposed; frozen on merge to risk.neverthought.org. Any change is a new version, recorded in amendments, and data or cases produced under one version are never analysed under another.",
  "direction": "D4 · Unmixing, not recovery",
  "governing_question": "When a mix is separated back into sources, does reporting a set of candidates, each labelled with the prior that produced it, keep the true source in view more often than reporting one answer, and are the labels informative?",
  "warrant": {
    "grounds": [
      "The science example keeps disagreeing mappings UNRESOLVED rather than reconciling them, but nothing tests whether keeping alternatives helps.",
      "The Epistemixer paper specifies a forward mix and nothing implemented or run (paper 2, proposed).",
      "Source separation is a well-studied problem with known ground truth available in synthetic mixes, so the claim can be tested on signals before it is ever applied to claims.",
      "The crossing desk already measures audio crossings with ffmpeg on synthetic masters, so the signal tooling exists in this repository."
    ],
    "gap": "The stance 'report candidates with their priors, not one recovered original' is asserted on the Direction page and has no test.",
    "why_now": "It is testable on signals with ground truth, which is the only setting where 'the true source is among the candidates' can be checked at all."
  },
  "unit": {
    "mix": "One synthetic mixture of known source signals.",
    "candidate": "One separated signal, labelled with the separation prior that produced it."
  },
  "materials": {
    "sources": "Synthetic signals from four generating families: sparse pulse trains, smooth low-frequency curves, independent non-Gaussian noise, and non-negative harmonic tones. Each source's family is recorded as sealed metadata.",
    "mixes": "120 mixes: 60 determined (as many channels as sources, 2 to 4 sources) and 60 underdetermined (more sources than channels). Mixing matrices and seeds are committed before any separation runs.",
    "methods": "BASELINE: one answer, the best-fitting result of a single method (FastICA) by reconstruction error. CANDIDATE_SET: four separations, each under one prior (sparsity, smoothness, independence, non-negativity), each output labelled with its prior."
  },
  "roles": {
    "generator": "Writes and seals sources, families and mixes.",
    "separator": "Runs both methods. Sees only the mixes.",
    "declared_limit": "Both may be the same person or pipeline. The seal order is what prevents tuning to ground truth; it is not independence."
  },
  "procedure": [
    "Commit this protocol, the method code at a pinned commit and the sealed mixes.",
    "Run both methods on every mix. Commit all outputs.",
    "Reveal sources and families. Score once."
  ],
  "definitions": {
    "covered": "A true source is covered when some reported candidate has scale-invariant signal-to-distortion ratio at least 10 dB against it.",
    "spread": "For a source, the disagreement among candidate-set outputs that map to it, as the range of their pairwise SI-SDR.",
    "unresolved_rule": "CANDIDATE_SET reports UNRESOLVED for a source when spread exceeds 6 dB. Otherwise it reports its best candidate as resolved."
  },
  "hypotheses": {
    "H1": {
      "statement": "A labelled candidate set keeps the true source in view more often than one answer.",
      "measure": "Per source, covered or not, under each method; paired comparison with McNemar's test.",
      "success": "Coverage higher for CANDIDATE_SET, with the 95% interval of the paired difference above 0.",
      "falsifier": "The interval of the paired difference includes or lies below 0. Then a set adds nothing measurable on these mixes."
    },
    "H2": {
      "statement": "A candidate set does not present itself as complete when it is not.",
      "measure": "Share of sources reported resolved whose true source is not covered, in underdetermined mixes.",
      "falsifier": "More than 5% of resolved reports exclude the true source."
    },
    "H3": {
      "statement": "Prior labels carry information: the prior matching the generating family is usually the best candidate.",
      "measure": "Share of covered sources where the best candidate's prior matches the sealed family, against chance (0.25), with a binomial test.",
      "falsifier": "Share not above chance at the 0.05 level. The labels are then decorative on these mixes and are not worth carrying."
    }
  },
  "analysis": {
    "split": "All measures reported separately for determined and underdetermined mixes.",
    "no_tuning": "Thresholds (10 dB, 6 dB, 5%) are fixed here and not changed after the reveal."
  },
  "stopping": "One run of 120 mixes.",
  "licenses": {
    "H1 and H3 hold": {
      "licensed": "That for synthetic signals, prior-labelled candidate sets keep true sources in view more often than single answers, and that the labels are informative.",
      "not": "That unmixing claims, mappings or evidence works the same way. That is an analogy, and this study does not test it."
    },
    "H2 falsified": {
      "licensed": "Revising the UNRESOLVED rule under a new version.",
      "not": "That candidate sets are worse than single answers."
    }
  },
  "threats": [
    "Generating families match the priors by design, which favours H3.",
    "Synthetic signals are cleaner than recorded audio or real data.",
    "Results depend on the chosen methods and thresholds."
  ],
  "data_boundary": [
    "Public synthetic fixtures only, unless a section below says otherwise.",
    "No private workspace evidence, exports, enquiries or human-review records are used.",
    "Every input, sealed file, reveal and result is committed to a public repository with its SHA-256 before it is used."
  ],
  "dependencies": [
    "Separation code pinned at a commit, with its library versions recorded."
  ],
  "amendments": [
    {
      "version": "1.1.0",
      "date": "2026-10-23",
      "made_before": "any mix was generated or any separation run",
      "change": "Clarifications needed to run the protocol as written. (1) 'Committed' for seeds and mixing matrices means a SHA-256 commitment before separation, with the sealed file revealed after all outputs are committed. (2) The separator is told each mix's number of sources and channels. (3) Without ground truth, the method groups its own candidates into as many groups as there are sources, by average-linkage clustering on 1 minus absolute correlation. (4) 'Spread, as the range of pairwise SI-SDR' is read as disagreement: 30 dB minus the lowest pairwise SI-SDR among a group's members, each pairwise value the mean of both directions and capped at 30 dB; a group with one member has undefined spread and is reported UNRESOLVED. The reported candidate of a group is the member with the highest mean agreement. (5) At scoring, each reported group is mapped to the true source it best matches; a resolved report 'excludes the true source' when its candidate is below 10 dB against that source. (6) Family to prior: sparse pulse trains to sparsity, smooth curves to smoothness, non-Gaussian noise to independence, non-negative tones to non-negativity. (7) H1's interval is a bootstrap over mixes (10,000 resamples, seed 20261023) of the paired difference in coverage, with McNemar's exact p reported. (8) Hypothesis decisions use pooled data; the determined and underdetermined splits are reported beside them; H2 uses underdetermined mixes only, as written.",
      "reason": "The frozen text did not say how candidates map to sources without ground truth, how 'range' measures disagreement, whether the separator knows the source count, which prior matches which family, or how H1's interval is computed. Each had to be fixed before running, or it could have been chosen after seeing results.",
      "effect": "Hypotheses, measures, falsifiers and thresholds (10 dB, 6 dB, 5%) are unchanged."
    }
  ],
  "label": {
    "is": "A preregistered, synthetic signal study of whether reporting prior-labelled candidates beats reporting one recovered source.",
    "isnt": "A test of the Epistemixer, of any mapping of claims, or of real audio separation quality.",
    "stops": "At signals. Whether the result carries over to unmixing claims is the next question, not this one."
  },
  "run_order": 3
}
