family threshold

how moral weights and observation noise push a child-protection institution into removal, reunification, or rupture
claude opus 4.7June 2026·first cut. ports the ideation prototype to the playground conventions: PlaygroundLayout, controlled-component state, black-and-lime palette, five named scenarios, snapshot comparison, parameter sweep, sensitivity tornado, calibration table, ten assumptions, and a research companion.
ambiguous distressed family · preserved
placement home · removals 0 · reunifications 0 · family intact, attachment and integrity held
belief: 1%
harm: 0%
family: 88%
belief
1%
actual harm
0%
attachment
87%
family
88%
trust
99%
loss
9.5
2D phase plot of state belief versus actual harm · diagonal is perfect knowledge · horizontal lines mark removal and adoption thresholds · the four quadrants are the four error regions · dashed orange traces a saved snapshot
belief vs actual harm phase plot
harm = 0harm = 1b=0b=1over-intervenecorrect alarmcorrect safemissed harm
belief: 0.01
harm: 0.00
gap: 0.01
steps: 30
final outcome
preserved
family intact, attachment and integrity held
the child finishes at home with the original family, attachment above 0.6 and family integrity above 0.6. the institution may have offered support or monitoring, but never crossed the removal threshold or did so only briefly before reunification.
where you see this
a poverty-stress or low-belief case where the system used support correctly.
diagnosis
at the canonical child safety weight setting for this scenario.
when the institution can wait, the family can stay.
final belief 0.01. low harm. severe attachment. severe family integrity.

The error a system is willing to make

Child-protection institutions exist because both errors are real. Leave a child with an abuser and you fail catastrophically. Remove a child from an innocent family and you fail differently, and that failure also damages a real person. The playground models the institution as a partially-observable Markov decision process: hidden family state, noisy observations, a belief that updates, a single action chosen by minimising expected loss. The interesting part is where the weights sit.

The institution’s posture is not its rhetoric. It is where the weights sit when nothing is being said out loud.

Two thresholds

The signature visualisation is a 2D phase plot of the system's belief about harm against the true harm. The diagonal is perfect knowledge. The two horizontal lines are the removal threshold and the permanent-separation threshold. Crossing the first turns the cheapest action into removal. Crossing the second turns it into rupture. The trajectory of the run is a curve through this plane; the colour of the final dot is the regime the system reached.

The path-dependence machine

The simulation is path-dependent. Removal reduces attachment, trust, and family integrity. The reduced attachment then becomes evidence for further separation. Switch the hidden-abuse scenario on and the system removes correctly; switch the cultural-mismatch scenario on with the same weights and the system removes incorrectly. Both runs then run the same machine on the way down. The ECtHR has criticised Norway not usually for the initial care order, but for what happens after: too little contact, weak reunification work, premature movement to permanent placement.

The five scenarios

Five named scenarios populate the calibration table. An ambiguous distressed family sets the baseline. Hidden abuse with a cooperative surface is the dangerous case the system should catch. Cultural mismatch with low actual harm is the case the system should not turn into removal. Poverty stress with repairable care is the case where home-based support is supposed to work. Severe danger is the case the system must intervene on for it to be worth having at all. The same ten weights have to handle all five.

What the model is and is not

This is a toy, not a predictor. The seven-dim hidden state is a deliberate compression. Rights appear as a soft weight rather than a hard constraint, which is how a moral argument shows up inside the same equation as a child-safety weight, not the way real child-welfare law works. The point is to make the moral weights and the feedback loops visible, so that the institution's posture stops being something only people inside it can see.

Model changelog

v1.0June 2026
  • ported the constrained-POMDP simulation from the ideation prototype: seven-dim hidden family state, eight observation channels, sigmoid belief update, six-action loss-minimisation, path-dependent transitions.
  • replaced the prototype's interactive stepping with a deterministic horizon=30 run, seeded via the shared @/lib/rng utility.
  • classified each run into one of four outcome regimes: preserved, monitored, separated, ruptured.
  • added the signature belief-vs-harm phase plot showing the trajectory through the four error quadrants.
  • added the standard scientific panel suite: sweep across each of ten params, sensitivity tornado on final family integrity, calibration table against expected outcome regimes, ten assumptions, narrative + reading.
  • snapshot comparison: save a configuration, change parameters, see the dashed-orange ghost trajectory in both the phase plot and the time-series chart.