<commit_before>#template for lib/Bio/KBase/NarrativeJobService/NarrativeJobServiceImpl.pm


#BEGIN_HEADER
use NarrativeJobService;
#END_HEADER

#BEGIN_CONSTRUCTOR
	$self->{'instance'} = new NarrativeJobService(@args);
#END_CONSTRUCTOR

#BEGIN run_app
    $self->{'instance'}->token($ctx->{'token'});
    $return = $self->{'instance'}->run_app($app, $ctx->{'user_id'});
#END run_app

#BEGIN compose_app
    $self->{'instance'}->token($ctx->{'token'});
    $return = $self->{'instance'}->compose_app($app, $ctx->{'user_id'});
#END compose_app

#BEGIN check_app_state
    $self->{'instance'}->token($ctx->{'token'});
    $return = $self->{'instance'}->check_app_state($job_id);
#END check_app_state

#BEGIN suspend_app
    $self->{'instance'}->token($ctx->{'token'});
    $status= $self->{'instance'}->suspend_app($job_id);
#END suspend_app

#BEGIN resume_app
    $self->{'instance'}->token($ctx->{'token'});
    $status = $self->{'instance'}->resume_app($job_id);
#END resume_app

#BEGIN delete_app
    $self->{'instance'}->token($ctx->{'token'});
    $status = $self->{'instance'}->delete_app($job_id);
#END delete_app

#BEGIN list_config
    $return = $self->{'instance'}->list_config();
#END list_config<commit_msg>fix variable name<commit_after>#template for lib/Bio/KBase/NarrativeJobService/NarrativeJobServiceImpl.pm


#BEGIN_HEADER
use NarrativeJobService;
#END_HEADER

#BEGIN_CONSTRUCTOR
	$self->{'instance'} = new NarrativeJobService(@args);
#END_CONSTRUCTOR

#BEGIN run_app
    $self->{'instance'}->token($ctx->{'token'});
    $return = $self->{'instance'}->run_app($app, $ctx->{'user_id'});
#END run_app

#BEGIN compose_app
    $self->{'instance'}->token($ctx->{'token'});
    $workflow = $self->{'instance'}->compose_app($app, $ctx->{'user_id'});
#END compose_app

#BEGIN check_app_state
    $self->{'instance'}->token($ctx->{'token'});
    $return = $self->{'instance'}->check_app_state($job_id);
#END check_app_state

#BEGIN suspend_app
    $self->{'instance'}->token($ctx->{'token'});
    $status= $self->{'instance'}->suspend_app($job_id);
#END suspend_app

#BEGIN resume_app
    $self->{'instance'}->token($ctx->{'token'});
    $status = $self->{'instance'}->resume_app($job_id);
#END resume_app

#BEGIN delete_app
    $self->{'instance'}->token($ctx->{'token'});
    $status = $self->{'instance'}->delete_app($job_id);
#END delete_app

#BEGIN list_config
    $return = $self->{'instance'}->list_config();
#END list_config
{'fraction_non_alphanumeric': 0.2247744052502051, 'fraction_numerical': 0.0, 'mean_word_length': 6.069565217391304, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 73, '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': '2073722', 'n_tokens_mistral': 898, 'n_tokens_neox': 875, 'n_words': 125}