<commit_before>//
import { Observable } from 'rxjs/Rx';
import { ILoggerDelegate, LoggerFactory } from '../../common/logger';
import { IWorkflow } from '../../models/workflow';
import { formatJson } from '../../common/utilities';

import {
  IAppGeneratorCommand,
  IAppGeneratorPair,
  IAppGeneratorRequest,
  IAppGeneratorResponse,
  IAppGeneratorService,
  IAppGeneratorState,
  IFieldCollection,
  IAppGeneratorError,
  IAppGeneratorMessage

} from '../../services/app-generator.service';

export class ForgeAppGenerator {
  static instanceCount: number = 1;


  public workflow: IWorkflow;
  public name: string;
  public state: IAppGeneratorState;


  public hasError: Boolean;
  public error: IAppGeneratorError;

  public hasResultMessage: Boolean;
  public resultMessage: IAppGeneratorMessage;

  public processing: Boolean = false;
  public hasProcessingMessage: Boolean;
  public processingMessage: IAppGeneratorMessage;

  private _fieldSet: IFieldCollection;
  private _responseHistory: Array<IAppGeneratorResponse>;
  private _currentResponse: IAppGeneratorResponse;
  private _onBeginStep: boolean = false;

  constructor(private _appGeneratorService: IAppGeneratorService, loggerFactory: LoggerFactory) {

    this.log = loggerFactory.createLoggerDelegate(this.constructor.name, ForgeAppGenerator.instanceCount++);

    this.state = {
      canExecute: false,
      isExecute: false,
      canMovePreviousStep : false ,
      canMoveToNextStep : false,
      currentStep: 0,
      steps: [''],
      title: '',
      description: '',
      valid: false
    } as IAppGeneratorState;

    this.fields = [];
    this.clearErrors();
    this.clearResult();
    this.clearProcessingView();
    this.processing = false;

  }
  public get onBeginStep(): boolean {<commit_msg>chore(space-wizard): changed type from Boolean to boolean<commit_after>//
import { Observable } from 'rxjs/Rx';
import { ILoggerDelegate, LoggerFactory } from '../../common/logger';
import { IWorkflow } from '../../models/workflow';
import { formatJson } from '../../common/utilities';

import {
  IAppGeneratorCommand,
  IAppGeneratorPair,
  IAppGeneratorRequest,
  IAppGeneratorResponse,
  IAppGeneratorService,
  IAppGeneratorState,
  IFieldCollection,
  IAppGeneratorError,
  IAppGeneratorMessage

} from '../../services/app-generator.service';

export class ForgeAppGenerator {
  static instanceCount: number = 1;


  public workflow: IWorkflow;
  public name: string;
  public state: IAppGeneratorState;


  public hasError: boolean;
  public error: IAppGeneratorError;

  public hasResultMessage: boolean;
  public resultMessage: IAppGeneratorMessage;

  public processing: boolean = false;
  public hasProcessingMessage: boolean;
  public processingMessage: IAppGeneratorMessage;

  private _fieldSet: IFieldCollection;
  private _responseHistory: Array<IAppGeneratorResponse>;
  private _currentResponse: IAppGeneratorResponse;
  private _onBeginStep: boolean = false;

  constructor(private _appGeneratorService: IAppGeneratorService, loggerFactory: LoggerFactory) {

    this.log = loggerFactory.createLoggerDelegate(this.constructor.name, ForgeAppGenerator.instanceCount++);

    this.state = {
      canExecute: false,
      isExecute: false,
      canMovePreviousStep : false ,
      canMoveToNextStep : false,
      currentStep: 0,
      steps: [''],
      title: '',
      description: '',
      valid: false
    } as IAppGeneratorState;

    this.fields = [];
    this.clearErrors();
    this.clearResult();
    this.clearProcessingView();
    this.processing = false;

  }
  public get onBeginStep(): boolean {
{'fraction_non_alphanumeric': 0.10022148394241417, 'fraction_numerical': 0.0011074197120708748, 'mean_word_length': 4.17621776504298, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1567615', 'n_tokens_mistral': 1006, 'n_tokens_neox': 985, 'n_words': 240}