INNER CODE UNIT · Python

pos

crocs-muni/JCAlgTest · AlgTest_Process/process_results.py:75

                if pos == -1:
                    pos = len(lines[i])
                if pos > 0:
                    key = lines[i][0: pos].strip()
                    if lines[i].find('method name:;') != -1:
                        # do not strip ending ; for line with method for variable data measurements, strip only starting
                        # method_name;data_length;
                        value = lines[i][pos:].lstrip(';').strip()
                    else:
                        # strip ending ;
                        value = lines[i][pos:].strip().strip(';').strip()

                    if perf_measurement and len(value) == 0:  # error status like NO_SUCH_ALGORITHM
                        section_items['status'] = key
                    else:
                        if lines[i].find('Exception') != -1:  # various exceptions
                            section_items['status'] = key
                        else:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…