parameters: (self, data_dir)
docstring: @param: exe: path to the binary file
              @param: data_dir: path to the malwpin data
              @return: the sample id
function: def insert(self, data_dir):
          """ @param: exe: path to the binary file
              @param: data_dir: path to the malwpin data
              @return: the sample id """
          sample_id = self.insert_sample(data_dir)
          self.insert_data(sample_id, data_dir)
          self.conn.commit()
function_tokens: def insert ( self , data_dir ) : sample_id = self . insert_sample ( data_dir ) self . insert_data ( sample_id , data_dir ) self . conn . commit ( )