# rich 15.0.0 (MIT), harvested by tools/harvest_corpus.py
=== input
Divide an integer total in to parts based on ratios.

    Args:
        total (int): The total to divide.
        ratios (List[int]): A list of integer ratios.
        maximums (List[int]): List of maximums values for each slot.
        values (List[int]): List of values

    Returns:
        List[int]: A list of integers guaranteed to sum to total.
    
=== parse google
short_description: 'Divide an integer total in to parts based on ratios.'
blank_after_short_description: True
blank_after_long_description: False
style: google
- DocstringParam
  description: 'The total to divide.'
  kind: param
  key: 'param'
  arg_name: 'total'
  type_name: 'int'
  is_optional: False
- DocstringParam
  description: 'A list of integer ratios.'
  kind: param
  key: 'param'
  arg_name: 'ratios'
  type_name: 'List[int]'
  is_optional: False
- DocstringParam
  description: 'List of maximums values for each slot.'
  kind: param
  key: 'param'
  arg_name: 'maximums'
  type_name: 'List[int]'
  is_optional: False
- DocstringParam
  description: 'List of values'
  kind: param
  key: 'param'
  arg_name: 'values'
  type_name: 'List[int]'
  is_optional: False
- DocstringReturns
  description: 'A list of integers guaranteed to sum to total.'
  kind: returns
  key: 'returns'
  type_name: 'List[int]'
  is_generator: False
=== detect
google
=== compose google
Divide an integer total in to parts based on ratios.

Args:
    total (int): The total to divide.
    ratios (List[int]): A list of integer ratios.
    maximums (List[int]): List of maximums values for each slot.
    values (List[int]): List of values

Returns:
    List[int]: A list of integers guaranteed to sum to total.
