<commit_before>import os
import time
import subprocess
import re
import numpy as np

import simulation.model.constants

import util.batch.universal.system
import util.io.fs
import util.petsc.universal

import util.logging
logger = util.logging.logger


class Metos3D_Job(util.batch.universal.system.Job):

    ## run options
    
    @property
    def last_spinup_line(self):
        self.wait_until_finished()

        # 9.704s 0010 Spinup Function norm 2.919666257647e+00
        # 9.704s 0010 Spinup Function norm 2.919666257647e+00 7.012035082243e+06
        
        search_str = 'Spinup Function norm'
        last_spinup_line = None<commit_msg>MAINT: simulation.model.job: unneeded import removed<commit_after>import os
import time
import re

import numpy as np

import simulation.model.constants

import util.batch.universal.system
import util.io.fs
import util.petsc.universal

import util.logging
logger = util.logging.logger


class Metos3D_Job(util.batch.universal.system.Job):

    ## run options
    
    @property
    def last_spinup_line(self):
        self.wait_until_finished()

        # 9.704s 0010 Spinup Function norm 2.919666257647e+00
        # 9.704s 0010 Spinup Function norm 2.919666257647e+00 7.012035082243e+06
        
        search_str = 'Spinup Function norm'
        last_spinup_line = None
{'fraction_non_alphanumeric': 0.07250755287009064, 'fraction_numerical': 0.09365558912386707, 'mean_word_length': 3.301948051948052, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '479636', 'n_tokens_mistral': 517, 'n_tokens_neox': 421, 'n_words': 103}