func (s *Scope) SplitByRange(
key tasks.Key,
if !s.CanSplitByRange(key) {
panic(fmt.Sprintf("Unable to split scope with range %v at %v", s.Range, key))
}
return NewScope(leftRange, s.Predicate), NewScope(rightRange, s.Predicate)
}