<commit_before>apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  generateName: automation-test-
spec:
  # entrypoint is the name of the template used as the starting point of the workflow
  entrypoint: automation-test
  templates:
  - name: automation-test
    steps:
    - - name: verify
        template: verify
    - - name: stress
        template: stress
  - name: verify
    container:
      image: ymian/busybox
      command: [sh, -c]
      args: ["
        x=`curl http://webdemo:3000/stress/3 -w '%{size_download}' -so /dev/null`;
        if [ $x -eq '3072' ]; 
        then
          exit 0;
        else
          exit 1;
        fi
      "]
  - name: stress
    container:
      image: ymian/wrk
      command: [./wrk, -t8, -c500, -d2m, --latency, http://webdemo:3000/stress/3]<commit_msg>fix: argo workflow error<commit_after>apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  generateName: automation-test-
spec:
  # entrypoint is the name of the template used as the starting point of the workflow
  entrypoint: automation-test
  templates:
  - name: automation-test
    steps:
    - - name: verify
        template: verify
    - - name: stress
        template: stress
  - name: verify
    container:
      image: ymian/busybox
      command: [sh, -c]
      args: ["
        x=`curl http://webdemo.default.svc.cluster.local:3000/stress/3 -w '%{size_download}' -so /dev/null`;
        if [ $x -eq '3072' ]; 
        then
          exit 0;
        else
          echo x=$x;
          exit 1;
        fi
      "]
  - name: stress
    container:
      image: ymian/wrk
      command: [./wrk, -t8, -c500, -d2m, --latency, http://webdemo:3000/stress/3]
{'fraction_non_alphanumeric': 0.12009512485136742, 'fraction_numerical': 0.027348394768133173, 'mean_word_length': 2.0161290322580645, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1390169', 'n_tokens_mistral': 602, 'n_tokens_neox': 554, 'n_words': 154}