Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
`JossAnnTransformer` with parameters that correspond to `point`.
"""
x, y = point
if isinstance(probe, axl.Player):
init_kwargs = probe.init_kwargs
probe = probe.__class__
else:
init_kwargs = {}
if x + y >= 1:
joss_ann = DualTransformer()(JossAnnTransformer((1 - x, 1 - y))(probe))(
**init_kwargs
)
else:
joss_ann = JossAnnTransformer((x, y))(probe)(**init_kwargs)
return joss_ann