index
int64
repo_name
string
branch_name
string
path
string
content
string
import_graph
string
30,908
ssh6189/2019.12.10
refs/heads/master
/연습.py
num = "" for i in range(10): if i <= 5 and (i % 2)==0: continue elif i is 7 or i is 10: continue else: num = str(i) + num print(num)
{"/test.py": ["/calc.py"]}
30,909
ssh6189/2019.12.10
refs/heads/master
/monster.py
import os class monster: def status(at, df): ats = at dfs = df mk = monster() mk.at = int(input("몬스터의 공격력을 입력하시오.")) mk.df = int(input("몬스터의 방어력을 입력하시오.")) os.system('cls') print(mk.at) print(mk.df)
{"/test.py": ["/calc.py"]}
30,910
ssh6189/2019.12.10
refs/heads/master
/구구단 계산기.py
import time import os n = int(input("구구단 몇단을(1~9)? 계산할까요?, 종료하고 싶으시면, 0을 입력하시오.")) while(n == 1): n = int(input("구구단 몇단을(1~9)? 계산할까요?, 종료하고 싶으시면, 0을 입력하시오.")) print("구구단 n단을 계산합니다") for i in range(1, 10): print(n, "x", i, "=", n*i) time.sleep(5) os.system('cls') print("프로그램을 종료합니다."...
{"/test.py": ["/calc.py"]}
30,911
ssh6189/2019.12.10
refs/heads/master
/이중 반복문.py
k = 1 st = " " for i in range(4): for j in range(3): st = st + " " + str(k) k = k + 1 print(st) st = " " print( )
{"/test.py": ["/calc.py"]}
30,912
ssh6189/2019.12.10
refs/heads/master
/문자열.py
문자열은 시퀀스 자료형 문자열과 메모리 공간 일반적으로 문자열을 저장하기 위해서는 영문자 한 글자당 1바이트의 메모리 공간을 사용한다, 다음과 같은 코드로 문자열이 저장된 공간의 크기를 확인할 수 있다. 컴퓨터공학자들은 이러한 문자를 처리하기 위해 이진수로 변환되는 표준규칙을 만들었다. 이를 인코딩이라고 한다. 1.컴퓨터는 문자를 직접 인식하지 못한다. 2.컴퓨터는 문자를 숫자로 변환하여 인식한다. 3.사람들은 문자를 숫자로 변환하기 위한 규칙을 만들었다. 4.일반적으로 이 규칙은 1개의 영문자를 1바이트, 즉, 2의 8승 정도의 공간에 저장할 수 있다. 기...
{"/test.py": ["/calc.py"]}
30,913
ssh6189/2019.12.10
refs/heads/master
/수 추측.py
import random import time import os n = -1 answer = random.randrange(1, 100) life = 4 while ((n != answer)): os.system('cls') print("life : ", life+1) n = int(input("추측하는 수를 입력하시오.")) if (life > 0): if (answer > n): print("더 큰 수를 입력하시오.") time.sleep(1) lif...
{"/test.py": ["/calc.py"]}
30,914
ssh6189/2019.12.10
refs/heads/master
/튜플.py
# A tuple is a sequence of immutable Python objects. # tuple 생 tup1 = ('physics', 'chemistry', 1997, 2000) tup2 = (1, 2, 3, 4, 5 ) tup3 = "a", "b", "c", "d" print(tup3) list1=[] #empty list 생성? tup1 = () #error tup1 = (50,) #요소 1개인 tuple 생성할 때 반드시 ','와 함께... #리스트와 동일한 인덱싱 방식으로 요소에 접근, 슬라이싱 가능 print ("tup1[0]: ", t...
{"/test.py": ["/calc.py"]}
30,915
ssh6189/2019.12.10
refs/heads/master
/십진수를 이진수로 변환.py
decimal = 10 result = '' while ((decimal > 10)): remainder = decimal %2 decimal = decimal // 2 result = str(remainder) + result print(result) str(input())
{"/test.py": ["/calc.py"]}
30,936
ServiceNow/azimuth
refs/heads/main
/tests/test_config.py
import os from datetime import datetime from glob import glob from os.path import join as pjoin import pytest from jsonlines import jsonlines from pydantic import ValidationError from azimuth.config import ( ArtifactsConfig, AzimuthConfig, AzimuthConfigHistoryWithHash, PipelineDefinition, Supporte...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,937
ServiceNow/azimuth
refs/heads/main
/azimuth/types/general/module_arguments.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from enum import Enum from typing import Any, Dict, List, Optional from pydantic import Field from azimuth.types import AliasModel, SupportedMeth...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,938
ServiceNow/azimuth
refs/heads/main
/tests/test_dataset_manager.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. import os import re from glob import glob from os.path import join as pjoin import numpy as np import pandas as pd import pytest from datasets imp...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,939
ServiceNow/azimuth
refs/heads/main
/azimuth/modules/base_classes/__init__.py
# Do not reorder from azimuth.modules.base_classes.artifact_manager import ArtifactManager from azimuth.modules.base_classes.dask_module import ConfigScope, DaskModule from azimuth.modules.base_classes.module import Module from azimuth.modules.base_classes.expirable_mixin import ExpirableMixin from azimuth.modules.base...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,940
ServiceNow/azimuth
refs/heads/main
/azimuth/utils/ml/postprocessing.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. import abc from typing import List import numpy as np from scipy.special import expit, softmax from azimuth.types import AliasModel, Array from az...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,941
ServiceNow/azimuth
refs/heads/main
/azimuth/modules/task_execution.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from typing import List, Type, TypeVar, cast import structlog from dask.context import thread_state from distributed import get_client, rejoin, se...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,942
ServiceNow/azimuth
refs/heads/main
/runner.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. import uvicorn from azimuth.config import parse_args if __name__ == "__main__": args = parse_args() kwargs = dict( app="azimuth....
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,943
ServiceNow/azimuth
refs/heads/main
/azimuth/utils/routers.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from threading import Event from typing import Any, Dict, List, Optional from fastapi import Depends, HTTPException, Query from starlette.status im...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,944
ServiceNow/azimuth
refs/heads/main
/azimuth/modules/model_performance/confusion_matrix.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from typing import List import numpy as np from datasets import Dataset from scipy.sparse import csr_matrix from scipy.sparse.csgraph import rever...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,945
ServiceNow/azimuth
refs/heads/main
/tests/test_modules/test_model_performance/test_confusion_matrix.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. import numpy as np from azimuth.modules.model_performance.confusion_matrix import ConfusionMatrixModule from azimuth.types import DatasetFilters, ...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,946
ServiceNow/azimuth
refs/heads/main
/azimuth/plots/ece.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from typing import List import numpy as np from plotly import graph_objs as go from plotly.subplots import make_subplots from azimuth.utils.plots ...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,947
ServiceNow/azimuth
refs/heads/main
/tests/test_routers/test_utterances.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from fastapi import FastAPI from starlette.status import HTTP_200_OK, HTTP_400_BAD_REQUEST, HTTP_404_NOT_FOUND from starlette.testclient import Tes...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,948
ServiceNow/azimuth
refs/heads/main
/azimuth/routers/model_performance/outcome_count.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from typing import List from fastapi import APIRouter, Depends, HTTPException, Query from starlette.status import HTTP_400_BAD_REQUEST from azimu...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,949
ServiceNow/azimuth
refs/heads/main
/tests/test_utils/test_api_dependency_injection.py
import pytest from fastapi import HTTPException from azimuth import app from azimuth.app import get_all_dataset_split_managers, get_dataset_split_manager from azimuth.types import DatasetSplitName eval_split = "eval_split" train_split = "train_split" mock_dataset_split_mapping_with_only_eval = {DatasetSplitName.eval:...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,950
ServiceNow/azimuth
refs/heads/main
/tests/test_modules/test_artifact_manager.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from azimuth.modules.base_classes import ArtifactManager, Module from azimuth.types import DatasetSplitName def test_artifact_manager(simple_text_...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,951
ServiceNow/azimuth
refs/heads/main
/azimuth/types/task.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from typing import List from pydantic import Field from azimuth.types import AliasModel, ModuleResponse from azimuth.utils.ml.postprocessing impo...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,952
ServiceNow/azimuth
refs/heads/main
/tests/test_routers/test_model_performance/test_confusion_matrix.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. import numpy as np from fastapi import FastAPI from starlette.status import HTTP_200_OK from starlette.testclient import TestClient def test_get_c...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,953
ServiceNow/azimuth
refs/heads/main
/tests/test_modules/test_utilities/test_validation.py
import pytest from azimuth.config import CustomObject from azimuth.modules.validation.validation import ValidationModule from azimuth.types import DatasetSplitName, ModuleOptions from azimuth.utils.logs import MultipleExceptions class ExceptionRaiserOnInit: def __init__(self): raise ValueError("Can't loa...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,954
ServiceNow/azimuth
refs/heads/main
/azimuth/types/__init__.py
# Do not reorder from azimuth.types.general.alias_model import ( AliasModel, InputResponse, ModuleResponse, PaginationParams, PlotSpecification, ) from azimuth.types.general.array_type import Array from azimuth.types.general.dataset import DatasetColumn, DatasetSplitName from azimuth.types.general.m...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,955
ServiceNow/azimuth
refs/heads/main
/tests/test_performance.py
import time from azimuth.modules.model_contracts import HFTextClassificationModule from azimuth.types import DatasetFilters, DatasetSplitName, ModuleOptions, SupportedMethod from azimuth.utils.dataset_operations import filter_dataset_split def test_dataset_processing_speed(simple_text_config): mod = HFTextClassi...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,956
ServiceNow/azimuth
refs/heads/main
/tests/test_utils/test_array_type.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. import numpy as np import pytest from pydantic import BaseModel, ValidationError from pydantic.schema import schema from azimuth.types import Arra...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,957
ServiceNow/azimuth
refs/heads/main
/tests/test_modules/test_model_contracts/test_model_contract_module.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from typing import List, cast from unittest.mock import MagicMock import numpy as np import pytest from datasets import Dataset from azimuth.confi...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,958
ServiceNow/azimuth
refs/heads/main
/azimuth/routers/top_words.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from fastapi import APIRouter, Depends, Query from azimuth.app import get_dataset_split_manager, get_task_manager from azimuth.dataset_split_manag...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,959
ServiceNow/azimuth
refs/heads/main
/azimuth/types/general/alias_model.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from typing import Dict, List import numpy as np import orjson from pydantic import BaseModel, Extra, Field from azimuth.utils.conversion import ...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,960
ServiceNow/azimuth
refs/heads/main
/azimuth/modules/model_performance/outcomes.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from typing import List import numpy as np from numpy import ndarray from azimuth.config import ModelContractConfig from azimuth.dataset_split_man...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,961
ServiceNow/azimuth
refs/heads/main
/azimuth/modules/perturbation_testing/perturbation_testing_summary.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from dataclasses import dataclass from typing import List, Optional import pandas as pd from azimuth.config import PerturbationTestingConfig from...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,962
ServiceNow/azimuth
refs/heads/main
/azimuth/utils/ml/seeding.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. import random import numpy as np class RandomContext: """ Set seed for `random` and `numpy` and when exiting set the original back. ...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,963
ServiceNow/azimuth
refs/heads/main
/azimuth/routers/utterances.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from copy import copy from enum import Enum from typing import Dict, List, Optional from fastapi import APIRouter, Body, Depends, HTTPException, Qu...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,964
ServiceNow/azimuth
refs/heads/main
/azimuth/routers/model_performance/utterance_count.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from collections import Counter from typing import Dict, List from fastapi import APIRouter, Depends from azimuth.app import get_config, get_datas...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,965
ServiceNow/azimuth
refs/heads/main
/azimuth/utils/logs.py
""" Note - This is a copied from the another internal repo. Also inspired by https://gist.github.com/tboquet/588955d846c03de66b87c8bca0fb99cb """ import collections import inspect import logging import os import threading import time from typing import List import structlog from structlog.dev import ConsoleRenderer fr...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,966
ServiceNow/azimuth
refs/heads/main
/tests/test_routers/test_dataset_warnings.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from fastapi import FastAPI from starlette.status import HTTP_200_OK from starlette.testclient import TestClient def test_dataset_warnings(app: F...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,967
ServiceNow/azimuth
refs/heads/main
/azimuth/types/validation.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from azimuth.types import AliasModel class ValidationResponse(AliasModel): is_cuda_available: bool can_load_model: bool can_load_datas...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,968
ServiceNow/azimuth
refs/heads/main
/azimuth/utils/conversion.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. import hashlib import pickle from collections import Counter from typing import Any, List import numpy as np import orjson from starlette.response...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,969
ServiceNow/azimuth
refs/heads/main
/azimuth/routers/class_overlap.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from typing import Dict, Optional import numpy as np from fastapi import APIRouter, Depends, HTTPException, Query from azimuth.app import ( g...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,970
ServiceNow/azimuth
refs/heads/main
/tests/test_modules/test_word_analysis/test_top_words.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. import numpy as np from azimuth.modules.word_analysis.top_words import TopWordsModule from azimuth.types import DatasetSplitName, ModuleOptions fr...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,971
ServiceNow/azimuth
refs/heads/main
/tests/test_modules/test_caching.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. import json from copy import deepcopy from typing import List import h5py import numpy as np import pytest from azimuth.config import ModelContra...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,972
ServiceNow/azimuth
refs/heads/main
/azimuth/app_loader.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from azimuth.app import start_app from azimuth.config import parse_args args = parse_args() app = start_app( config_path=args.config_path, loa...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,973
ServiceNow/azimuth
refs/heads/main
/azimuth/routers/app.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from typing import Dict from datasets import Metric, MetricInfo from fastapi import APIRouter, Depends, HTTPException from azimuth.app import ( ...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,974
ServiceNow/azimuth
refs/heads/main
/azimuth/modules/base_classes/indexable_module.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. import abc import dataclasses from abc import ABC, abstractmethod from typing import Callable, Dict, List, Optional, Set, cast import numpy as np f...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,975
ServiceNow/azimuth
refs/heads/main
/azimuth/modules/pipeline_comparison/prediction_comparison.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from typing import List from azimuth.config import ModelContractConfig from azimuth.dataset_split_manager import DatasetSplitManager, PredictionTab...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,976
ServiceNow/azimuth
refs/heads/main
/tests/test_modules/test_dataset_analysis/test_syntax_tagging.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from itertools import zip_longest from azimuth.modules.dataset_analysis.syntax_tagging import SyntaxTaggingModule from azimuth.types import Dataset...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,977
ServiceNow/azimuth
refs/heads/main
/azimuth/modules/dataset_analysis/syntax_tagging.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. import itertools from typing import Dict, List, cast import spacy from datasets import Dataset from spacy.lang.en import English from azimuth.conf...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,978
ServiceNow/azimuth
refs/heads/main
/azimuth/dataset_split_manager.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. import os import time from collections import OrderedDict, defaultdict from copy import copy, deepcopy from dataclasses import asdict, dataclass fr...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,979
ServiceNow/azimuth
refs/heads/main
/azimuth/utils/exception_handlers.py
from pydantic import ValidationError from starlette.requests import Request from starlette.responses import JSONResponse from starlette.status import HTTP_400_BAD_REQUEST, HTTP_404_NOT_FOUND async def handle_validation_error(request: Request, exception: ValidationError): """Handle ValidationError. Args: ...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,980
ServiceNow/azimuth
refs/heads/main
/azimuth/utils/ml/perturbation_test.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from dataclasses import dataclass from typing import Callable, List, Optional, Tuple from azimuth.config import PerturbationTestingConfig from azi...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,981
ServiceNow/azimuth
refs/heads/main
/azimuth/routers/model_performance/confusion_matrix.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from fastapi import APIRouter, Depends, Query from azimuth.app import get_dataset_split_manager, get_task_manager from azimuth.dataset_split_manag...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,982
ServiceNow/azimuth
refs/heads/main
/azimuth/modules/model_performance/metrics.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. import inspect import json import warnings from collections import Counter from typing import Dict, List, Optional import numpy as np from datasets...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,983
ServiceNow/azimuth
refs/heads/main
/azimuth/config.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. import argparse import os from datetime import datetime, timezone from enum import Enum from os.path import join as pjoin from typing import Any, D...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,984
ServiceNow/azimuth
refs/heads/main
/tests/utils.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from enum import Enum from pathlib import Path from typing import List, Type import numpy as np from azimuth.config import BehavioralTestingOption...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,985
ServiceNow/azimuth
refs/heads/main
/tests/test_routers/test_model_performance/test_confidence_histogram.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. import pytest from fastapi import FastAPI from starlette.status import HTTP_200_OK, HTTP_404_NOT_FOUND from starlette.testclient import TestClient ...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,986
ServiceNow/azimuth
refs/heads/main
/azimuth/__init__.py
import os from pathlib import Path from datasets import disable_progress_bar from datasets.utils.logging import set_verbosity_error from azimuth.utils.logs import set_logger_config PROJECT_ROOT = str(Path(__file__).parent) set_verbosity_error() disable_progress_bar() set_logger_config() os.environ["TF_CPP_MIN_LOG_L...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,987
ServiceNow/azimuth
refs/heads/main
/tests/test_utils/test_dataset_filtering.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. import pytest from azimuth.types import DatasetColumn, DatasetFilters from azimuth.types.outcomes import OutcomeName from azimuth.types.tag import...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,988
ServiceNow/azimuth
refs/heads/main
/azimuth/modules/base_classes/module.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from typing import List, Optional, Set, cast import numpy as np from datasets import Dataset from tqdm import tqdm from azimuth.config import Mode...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,989
ServiceNow/azimuth
refs/heads/main
/azimuth/types/similarity_analysis.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from typing import List, Optional, Tuple from pydantic import Field from azimuth.types import AliasModel, Array, ModuleResponse from azimuth.type...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,990
ServiceNow/azimuth
refs/heads/main
/azimuth/modules/model_contracts/custom_classification.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from typing import Callable, List import structlog from datasets import Dataset from azimuth.modules.base_classes import ModelContractModule from ...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,991
ServiceNow/azimuth
refs/heads/main
/tests/test_utils/test_exclude_from_cache.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from typing import Any, Dict, List, Union from pydantic import BaseModel, Field from azimuth.utils.exclude_fields_from_cache import exclude_field...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,992
ServiceNow/azimuth
refs/heads/main
/tests/test_routers/test_model_performance/test_metrics.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. import pytest from fastapi import FastAPI from starlette.status import HTTP_200_OK from starlette.testclient import TestClient common_metric_respon...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,993
ServiceNow/azimuth
refs/heads/main
/tests/test_startup.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from unittest.mock import Mock import pytest from datasets import Dataset, DatasetDict from azimuth.app import get_ready_flag, load_dataset_split_...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,994
ServiceNow/azimuth
refs/heads/main
/azimuth/modules/model_contracts/file_based_text_classification.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from typing import List, cast from datasets import Dataset from azimuth.modules.model_contracts.text_classification_no_saliency import ( Text...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,995
ServiceNow/azimuth
refs/heads/main
/azimuth/modules/model_contracts/text_classification.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. import abc from typing import Any, Dict, List, Protocol, Tuple, Union, cast, runtime_checkable import numpy as np import tensorflow import torch im...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,996
ServiceNow/azimuth
refs/heads/main
/azimuth/task_manager.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from typing import Any, Callable, Dict, List, Optional, Tuple import structlog from distributed import Client, SpecCluster from azimuth.config imp...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,997
ServiceNow/azimuth
refs/heads/main
/tests/test_modules/test_perturbation_testing/test_perturbation_testing.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. import re from azimuth.modules.perturbation_testing.perturbation_testing import PerturbationTestingModule from azimuth.types import DatasetColumn, ...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,998
ServiceNow/azimuth
refs/heads/main
/tests/test_documentation.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. import dataclasses import importlib import inspect import os import re from itertools import compress from pydantic.main import BaseModel import ...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
30,999
ServiceNow/azimuth
refs/heads/main
/azimuth/utils/object_loader.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. import importlib import inspect import os import subprocess import sys import structlog from azimuth.config import AzimuthValidationError, Custom...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
31,000
ServiceNow/azimuth
refs/heads/main
/azimuth/types/tag.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from enum import Enum from typing import Any, Dict, List from azimuth.types import ModuleResponse Tag = str class DataAction(Tag, Enum): re...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
31,001
ServiceNow/azimuth
refs/heads/main
/azimuth/routers/custom_utterances.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. import os from os.path import join as pjoin from typing import List from fastapi import APIRouter, Depends, Query from starlette.responses import ...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
31,002
ServiceNow/azimuth
refs/heads/main
/tests/test_routers/test_config.py
import os.path from fastapi import FastAPI from starlette.status import ( HTTP_200_OK, HTTP_400_BAD_REQUEST, HTTP_403_FORBIDDEN, HTTP_500_INTERNAL_SERVER_ERROR, ) from starlette.testclient import TestClient from azimuth.config import SupportedLanguage, config_defaults_per_language from azimuth.types i...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
31,003
ServiceNow/azimuth
refs/heads/main
/azimuth/modules/perturbation_testing/perturbation_testing.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from collections import defaultdict from typing import Dict, List, Optional, Tuple, cast import numpy as np from datasets import Dataset from azim...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
31,004
ServiceNow/azimuth
refs/heads/main
/tests/test_routers/test_class_analysis.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from fastapi import FastAPI from starlette.status import HTTP_200_OK from starlette.testclient import TestClient def test_class_overlap_plot_rout...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
31,005
ServiceNow/azimuth
refs/heads/main
/tests/test_modules/test_perturbation_testing/test_perturbation_testing_summary.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from azimuth.modules.perturbation_testing import ( PerturbationTestingMergedModule, PerturbationTestingModule, PerturbationTestingSumma...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
31,006
ServiceNow/azimuth
refs/heads/main
/tests/test_task_manager.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. import time import pytest from azimuth.config import SyntaxConfig from azimuth.modules.base_classes import AggregationModule, FilterableModule, M...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
31,007
ServiceNow/azimuth
refs/heads/main
/azimuth/modules/base_classes/aggregation_module.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from abc import ABC from typing import List from datasets import Dataset from azimuth.modules.base_classes import ConfigScope, ExpirableMixin, Mod...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
31,008
ServiceNow/azimuth
refs/heads/main
/azimuth/types/general/modules.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from enum import Enum class SupportedTask(str, Enum): pass class SupportedModelContract(SupportedTask): hf_text_classification = "hf_te...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
31,009
ServiceNow/azimuth
refs/heads/main
/tests/test_routers/test_model_performance/test_outcome_count.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from fastapi import FastAPI from starlette.status import HTTP_200_OK, HTTP_400_BAD_REQUEST from starlette.testclient import TestClient def test_g...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
31,010
ServiceNow/azimuth
refs/heads/main
/azimuth_shr/loading_resources.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from pathlib import Path import numpy as np import structlog import torch from datasets import ClassLabel, Dataset, DatasetDict, Features, load_da...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
31,011
ServiceNow/azimuth
refs/heads/main
/azimuth/routers/dataset_warnings.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from typing import Dict, List from fastapi import APIRouter, Depends from azimuth.app import get_dataset_split_manager_mapping, get_task_manager ...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
31,012
ServiceNow/azimuth
refs/heads/main
/tests/test_routers/test_app.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from fastapi import FastAPI from starlette.status import HTTP_200_OK, HTTP_404_NOT_FOUND from starlette.testclient import TestClient from azimuth....
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
31,013
ServiceNow/azimuth
refs/heads/main
/azimuth/utils/exclude_fields_from_cache.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from typing import Collection, Dict, Mapping, TypeVar from pydantic import BaseModel Model = TypeVar("Model", bound=BaseModel) def exclude_fiel...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
31,014
ServiceNow/azimuth
refs/heads/main
/azimuth/modules/dataset_analysis/similarity_analysis.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. import itertools import os from collections import defaultdict from typing import Dict, List, Optional, Tuple import numpy as np import torch from ...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
31,015
ServiceNow/azimuth
refs/heads/main
/azimuth/utils/ml/model_performance.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from typing import List, TypeVar from azimuth.types.model_performance import UtteranceCountPerFilterValue from azimuth.types.outcomes import Outcom...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
31,016
ServiceNow/azimuth
refs/heads/main
/azimuth/utils/ml/ece.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from typing import List, Tuple, cast import numpy as np from azimuth.types.model_performance import ConfidenceBinDetails from azimuth.types.outco...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
31,017
ServiceNow/azimuth
refs/heads/main
/azimuth/modules/perturbation_testing/__init__.py
from azimuth.modules.perturbation_testing.perturbation_testing import ( PerturbationTestingModule, ) from azimuth.modules.perturbation_testing.perturbation_testing_summary import ( PerturbationTestingMergedModule, PerturbationTestingSummaryModule, )
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
31,018
ServiceNow/azimuth
refs/heads/main
/tests/test_modules/conftest.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. import pytest from azimuth.modules.base_classes import ArtifactManager @pytest.fixture(autouse=True) def cleanup_class(): yield # Code t...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
31,019
ServiceNow/azimuth
refs/heads/main
/azimuth/modules/model_contract_task_mapping.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from typing import Mapping, Optional, Type from azimuth.config import ModelContractConfig from azimuth.modules.base_classes import ModelContractMod...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
31,020
ServiceNow/azimuth
refs/heads/main
/tests/test_modules/test_model_performance/test_confidence_binning.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. import numpy as np from azimuth.modules.model_performance.confidence_binning import ( CONFIDENCE_BINS_COUNT, ConfidenceBinIndexModule, ...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
31,021
ServiceNow/azimuth
refs/heads/main
/azimuth_shr/models/file_based.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from typing import Any, Dict import numpy as np import pandas as pd from datasets import Dataset """ These comes from Azimuth codebase. You can ac...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
31,022
ServiceNow/azimuth
refs/heads/main
/azimuth/modules/base_classes/artifact_manager.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from collections import defaultdict from typing import Callable, Dict import structlog from datasets import DatasetDict from azimuth.config import...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
31,023
ServiceNow/azimuth
refs/heads/main
/azimuth/modules/dataset_analysis/class_overlap.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from dataclasses import asdict from typing import List import numpy as np from spectral_metric.estimator import CumulativeGradientEstimator from ...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
31,024
ServiceNow/azimuth
refs/heads/main
/azimuth/utils/validation.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from typing import Any, List, Optional, TypeVar T = TypeVar("T") def assert_not_none(val: Optional[T]) -> T: """ This function makes sure...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
31,025
ServiceNow/azimuth
refs/heads/main
/azimuth/types/model_performance.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. import typing from typing import Dict, Generic, List, Optional, Tuple, TypeVar from pydantic import Field from pydantic.generics import GenericMode...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
31,026
ServiceNow/azimuth
refs/heads/main
/azimuth/types/utterance.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from typing import List, Optional, Union from pydantic import Field from azimuth.types import AliasModel from azimuth.types.model_performance imp...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...
31,027
ServiceNow/azimuth
refs/heads/main
/azimuth/routers/model_performance/metrics.py
# Copyright ServiceNow, Inc. 2021 – 2022 # This source code is licensed under the Apache 2.0 license found in the LICENSE file # in the root directory of this source tree. from typing import List from fastapi import APIRouter, Depends, Query from azimuth.app import get_dataset_split_manager, get_task_manager from azi...
{"/tests/test_config.py": ["/azimuth/config.py", "/azimuth/utils/project.py"], "/azimuth/types/general/module_arguments.py": ["/azimuth/types/__init__.py", "/azimuth/types/outcomes.py", "/azimuth/types/tag.py"], "/tests/test_dataset_manager.py": ["/azimuth/config.py", "/azimuth/dataset_split_manager.py", "/azimuth/type...