fraudtwin.apply_difficulty#
- fraudtwin.apply_difficulty(resolved, scenario, context=None)[source][source]#
Apply resolved controls to one scenario without changing its objective.
contextis accepted for extension compatibility and is intentionally excluded from the plan hash; all stochastic choices use generator-owned M12 stream names.- Return type:
- Parameters:
resolved (ResolvedDifficulty)
scenario (str)
context (dict[str, Any] | None)