Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Unanswered
I'M Running


` name: XXXXXXXXXX

on:
workflow_dispatch

jobs:
test-monthly-predictions:
runs-on: self-hosted
env:
DATA_DIR: ${{ secrets.RUNNER_DATA_DIR }}
GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.RUNNER_CREDS }}
steps:
# Checkout
- name: Check out repository code
uses: actions/checkout@v2

  # Setup python environment
  - name: Setup up python environment using Poetry
    run: |
      /home/elior/.poetry/bin/poetry env use python3.9
      /home/elior/.poetry/bin/poetry install --remove-untracked

  # Add the repo to PYTHONPATH
  - name: Add repository to PYTHONPATH
    run: echo $(pwd) > $(/home/elior/.poetry/bin/poetry run python -c "print('/'.join('$(/home/elior/.poetry/bin/poetry run which python)'.split('/')[:-2]) + '/lib/python3.9/site-packages/XXXXXXXXXXXX.pth')")

  # Create ClearML task templates
  - name: Create ClearML task templates
    run: |
      /home/elior/.poetry/bin/poetry run clearml-task --script $(pwd)/tasks/hp_optimization.py --name "XXXXXXXXXXXXXXXXXXX" --project "XXXXXXXXXXXXXXXXXXX"
      /home/elior/.poetry/bin/poetry run clearml-task --script $(pwd)/tasks/hpo_n_best_evaluation.py --name "XXXXXXXXXXXXXXXXXXX" --project "XXXXXXXXXXXXXXXXXXX"
      /home/elior/.poetry/bin/poetry run clearml-task --script $(pwd)/tasks/data_projection.py --name "XXXXXXXXXXXXXXXXXXX"  --project "XXXXXXXXXXXXXXXXXXX"

  # Run Monthly predictions for October
  - name: Run October's Monthly Predictions
    run: /home/elior/.poetry/bin/poetry run python tasks/pipelines/monthly_predictions.py "21-10"

  # Run monthly prediction test
  - name: Test predictions
    run: /home/elior/.poetry/bin/poetry run pytest tests `
  
  
Posted 2 years ago
112 Views
0 Answers
2 years ago
one year ago