original_docstring: Perform some post-processing operations on the data
docstring: Perform some post-processing operations on the data
docstring_tokens: Perform some post - processing operations on the data
code: def post_processing(self):
          """Perform some post-processing operations on the data"""
          for opts in self.addr_opts.values():
              for kind, values in opts.items():
                  # Sort the values
                  sorted_values = sorted(values)
                  if kind == 'role' and len(values) > 1:
                      # Remove roles which are less precise
                      for tested_idx in range(len(sorted_values) - 1):
                          tested_val = sorted_values[tested_idx]
                          for compared_idx in range(tested_idx + 1, len(sorted_values)):
                              if sorted_values[compared_idx].startswith(tested_val):
                                  values.remove(tested_val)
                                  break
code_tokens: def post_processing ( self ) : for opts in self . addr_opts . values ( ) : for kind , values in opts . items ( ) : sorted_values = sorted ( values ) if kind == 'role' and len ( values ) > 1 : for tested_idx in range ( len ( sorted_values ) - 1 ) : tested_val = sorted_values [ tested_idx ] for compared_idx in range ( tested_idx + 1 , len ( sorted_values ) ) : if sorted_values [ compared_idx ] . startswith ( tested_val ) : values . remove ( tested_val ) break
short_docstring: Perform some post-processing operations on the data
short_docstring_tokens: Perform some post - processing operations on the data
comment: """Perform some post-processing operations on the data"""$SEP$# Sort the values$SEP$# Remove roles which are less precise