Commit 89a87f23 authored by TYAGIRIS's avatar TYAGIRIS
Browse files

Merge branch 'main' into formatting_ISAR

parents 26be296b b278d5dc
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ variables:
  OUT_FORMATS_CHANNEL_BASED: "stereo mono 5_1 5_1_2 5_1_4 7_1 7_1_4"
  OUT_FORMATS_SCENE_BASED: "FOA HOA2 HOA3"
  OUT_FORMATS_BINAURAL: "BINAURAL BINAURAL_ROOM_IR BINAURAL_ROOM_REVERB"
  OUT_FORMATS_ALL: "$OUT_FORMATS_ALL"
  OUT_FORMATS_ALL: "$OUT_FORMATS_CHANNEL_BASED $OUT_FORMATS_SCENE_BASED $OUT_FORMATS_BINAURAL EXT"
  IVAS_PIPELINE_NAME: ''
  MANUAL_PIPELINE_TYPE:
    description: "Type for the manual pipeline run. Use 'test-be-release' to run BE test against release codec."
+10 −6
Original line number Diff line number Diff line
@@ -38,6 +38,8 @@ import requests
PER_PAGE_SUFFIX = "?per_page=50"
PAGE_SUFFIX = "&page={}"
API_URL_TMPL = "https://forge.3gpp.org/rep/api/v4/projects/{}/pipelines"
SCOPE_FAILED = "&scope[]=failed"
SCOPE_SUCCESS = "&scope[]=success"


def get_job_id(branch_name, job_name, project_id, success_only):
@@ -51,19 +53,21 @@ def get_job_id(branch_name, job_name, project_id, success_only):
        resp_pls = requests.get(url_pls + suffix)
        for pl in resp_pls.json():
            if pl["ref"] == branch_name:
                url_jobs = url_pls + f"/{pl['id']}/jobs"
                url_args = PER_PAGE_SUFFIX

                # only one of the suffixes here - this assumes only max of 50 jobs per pipeline
                # so only one page needed
                resp_jobs = requests.get(url_jobs + PER_PAGE_SUFFIX)
                url_args += SCOPE_SUCCESS
                if not success_only:
                    url_args += SCOPE_FAILED

                url_jobs = url_pls + f"/{pl['id']}/jobs" + url_args

                resp_jobs = requests.get(url_jobs)
                if job_name not in resp_jobs.text:
                    continue

                # find actual job by name
                for job in resp_jobs.json():
                    include_job = not success_only or job["status"] == "success"
                    if include_job and job["name"] == job_name:
                    if job["name"] == job_name:
                        job_id = job["id"]
                        break
                if job_id >= 0:
+2 −2
Original line number Diff line number Diff line
@@ -293,8 +293,8 @@ eid-xor -fer -vbr -bs g192 -ep g192 bit ../scripts/dly_error_profiles/ep_5pct.g1
//../IVAS_dec MONO 48 bit testv/stvST48n.wav_stereo_sw_48-48_DTX_MONO.tst

// stereo bitrate switching from 13.2 kbps to 128 kbps, 48kHz in, 48kHz out, DTX on, EXT out
//../IVAS_cod -dtx -stereo ../scripts/switchPaths/sw_13k2_to_128k_10fr.bin 48 testv/ltv48_STEREO.wav bit
//../IVAS_dec EXT 48 bit testv/ltv48_STEREO.wav_stereo_sw_48-48_DTX_EXT.tst
//../IVAS_cod -dtx -stereo ../scripts/switchPaths/sw_13k2_to_128k_10fr.bin 48 testv/stvST48c.wav bit
//../IVAS_dec EXT 48 bit testv/stvST48c.wav_stereo_sw_48-48_DTX_EXT.tst


// 1 ISM with metadata at 13.2 kbps, 48 kHz in, 48 kHz out, EXT out