hexsha string | size int64 | ext string | lang string | max_stars_repo_path string | max_stars_repo_name string | max_stars_repo_head_hexsha string | max_stars_repo_licenses list | max_stars_count int64 | max_stars_repo_stars_event_min_datetime string | max_stars_repo_stars_event_max_datetime string | max_issues_repo_path string | max_issues_repo_name string | max_issues_repo_head_hexsha string | max_issues_repo_licenses list | max_issues_count int64 | max_issues_repo_issues_event_min_datetime string | max_issues_repo_issues_event_max_datetime string | max_forks_repo_path string | max_forks_repo_name string | max_forks_repo_head_hexsha string | max_forks_repo_licenses list | max_forks_count int64 | max_forks_repo_forks_event_min_datetime string | max_forks_repo_forks_event_max_datetime string | content string | avg_line_length float64 | max_line_length int64 | alphanum_fraction float64 | qsc_code_num_words_quality_signal int64 | qsc_code_num_chars_quality_signal float64 | qsc_code_mean_word_length_quality_signal float64 | qsc_code_frac_words_unique_quality_signal float64 | qsc_code_frac_chars_top_2grams_quality_signal float64 | qsc_code_frac_chars_top_3grams_quality_signal float64 | qsc_code_frac_chars_top_4grams_quality_signal float64 | qsc_code_frac_chars_dupe_5grams_quality_signal float64 | qsc_code_frac_chars_dupe_6grams_quality_signal float64 | qsc_code_frac_chars_dupe_7grams_quality_signal float64 | qsc_code_frac_chars_dupe_8grams_quality_signal float64 | qsc_code_frac_chars_dupe_9grams_quality_signal float64 | qsc_code_frac_chars_dupe_10grams_quality_signal float64 | qsc_code_frac_chars_replacement_symbols_quality_signal float64 | qsc_code_frac_chars_digital_quality_signal float64 | qsc_code_frac_chars_whitespace_quality_signal float64 | qsc_code_size_file_byte_quality_signal float64 | qsc_code_num_lines_quality_signal float64 | qsc_code_num_chars_line_max_quality_signal float64 | qsc_code_num_chars_line_mean_quality_signal float64 | qsc_code_frac_chars_alphabet_quality_signal float64 | qsc_code_frac_chars_comments_quality_signal float64 | qsc_code_cate_xml_start_quality_signal float64 | qsc_code_frac_lines_dupe_lines_quality_signal float64 | qsc_code_cate_autogen_quality_signal float64 | qsc_code_frac_lines_long_string_quality_signal float64 | qsc_code_frac_chars_string_length_quality_signal float64 | qsc_code_frac_chars_long_word_length_quality_signal float64 | qsc_code_frac_lines_string_concat_quality_signal float64 | qsc_code_cate_encoded_data_quality_signal float64 | qsc_code_frac_chars_hex_words_quality_signal float64 | qsc_code_frac_lines_prompt_comments_quality_signal float64 | qsc_code_frac_lines_assert_quality_signal float64 | qsc_codepython_cate_ast_quality_signal float64 | qsc_codepython_frac_lines_func_ratio_quality_signal float64 | qsc_codepython_cate_var_zero_quality_signal bool | qsc_codepython_frac_lines_pass_quality_signal float64 | qsc_codepython_frac_lines_import_quality_signal float64 | qsc_codepython_frac_lines_simplefunc_quality_signal float64 | qsc_codepython_score_lines_no_logic_quality_signal float64 | qsc_codepython_frac_lines_print_quality_signal float64 | qsc_code_num_words int64 | qsc_code_num_chars int64 | qsc_code_mean_word_length int64 | qsc_code_frac_words_unique null | qsc_code_frac_chars_top_2grams int64 | qsc_code_frac_chars_top_3grams int64 | qsc_code_frac_chars_top_4grams int64 | qsc_code_frac_chars_dupe_5grams int64 | qsc_code_frac_chars_dupe_6grams int64 | qsc_code_frac_chars_dupe_7grams int64 | qsc_code_frac_chars_dupe_8grams int64 | qsc_code_frac_chars_dupe_9grams int64 | qsc_code_frac_chars_dupe_10grams int64 | qsc_code_frac_chars_replacement_symbols int64 | qsc_code_frac_chars_digital int64 | qsc_code_frac_chars_whitespace int64 | qsc_code_size_file_byte int64 | qsc_code_num_lines int64 | qsc_code_num_chars_line_max int64 | qsc_code_num_chars_line_mean int64 | qsc_code_frac_chars_alphabet int64 | qsc_code_frac_chars_comments int64 | qsc_code_cate_xml_start int64 | qsc_code_frac_lines_dupe_lines int64 | qsc_code_cate_autogen int64 | qsc_code_frac_lines_long_string int64 | qsc_code_frac_chars_string_length int64 | qsc_code_frac_chars_long_word_length int64 | qsc_code_frac_lines_string_concat null | qsc_code_cate_encoded_data int64 | qsc_code_frac_chars_hex_words int64 | qsc_code_frac_lines_prompt_comments int64 | qsc_code_frac_lines_assert int64 | qsc_codepython_cate_ast int64 | qsc_codepython_frac_lines_func_ratio int64 | qsc_codepython_cate_var_zero int64 | qsc_codepython_frac_lines_pass int64 | qsc_codepython_frac_lines_import int64 | qsc_codepython_frac_lines_simplefunc int64 | qsc_codepython_score_lines_no_logic int64 | qsc_codepython_frac_lines_print int64 | effective string | hits int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
431b1c493a00103278310911aca99b43b068ecff | 127 | py | Python | app/app/calc.py | cyberpunk-akash/recipe-app-api | 3b7dcf86de7bdfcbb43ba52f1b34f3c6499580f7 | [
"MIT"
] | 1 | 2021-10-31T08:49:32.000Z | 2021-10-31T08:49:32.000Z | app/app/calc.py | cyberpunk-akash/recipe-app-api | 3b7dcf86de7bdfcbb43ba52f1b34f3c6499580f7 | [
"MIT"
] | null | null | null | app/app/calc.py | cyberpunk-akash/recipe-app-api | 3b7dcf86de7bdfcbb43ba52f1b34f3c6499580f7 | [
"MIT"
] | null | null | null |
def add(x, y):
"""Adds two numbers"""
return x+y
def subtract(x, y):
"""Subtracts two numbers"""
return x-y
| 12.7 | 31 | 0.551181 | 20 | 127 | 3.5 | 0.5 | 0.114286 | 0.457143 | 0.485714 | 0.514286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275591 | 127 | 9 | 32 | 14.111111 | 0.76087 | 0.299213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
4339518ff01be0ade16aab15adeb4a92eb631dbf | 46 | py | Python | problem_333/__init__.py | oltionzefi/daily-coding-problem | 4fe3ec53e1f3c7d299849671fdfead462d548cd3 | [
"MIT"
] | null | null | null | problem_333/__init__.py | oltionzefi/daily-coding-problem | 4fe3ec53e1f3c7d299849671fdfead462d548cd3 | [
"MIT"
] | null | null | null | problem_333/__init__.py | oltionzefi/daily-coding-problem | 4fe3ec53e1f3c7d299849671fdfead462d548cd3 | [
"MIT"
] | null | null | null | from .problem_333 import knows, get_celebrity
| 23 | 45 | 0.847826 | 7 | 46 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 0.108696 | 46 | 1 | 46 | 46 | 0.829268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4341db6eaaad6601802ef5012def3f205a0e68d6 | 7,756 | py | Python | j_factor_pca_ica_euclidean_tsne.py | LeBronLiHD/ZJU2021_MedicineAI_CourseProject | d19253ace2725545b8eff02ccae957278d6a3402 | [
"MIT"
] | null | null | null | j_factor_pca_ica_euclidean_tsne.py | LeBronLiHD/ZJU2021_MedicineAI_CourseProject | d19253ace2725545b8eff02ccae957278d6a3402 | [
"MIT"
] | null | null | null | j_factor_pca_ica_euclidean_tsne.py | LeBronLiHD/ZJU2021_MedicineAI_CourseProject | d19253ace2725545b8eff02ccae957278d6a3402 | [
"MIT"
] | 1 | 2021-11-13T13:26:13.000Z | 2021-11-13T13:26:13.000Z | # -*- coding: utf-8 -*-
"""
Others algorithms to find the feature distribution
1. factor analysis
2. PCA
3. Fast ICA
4. euclidean distance
5. TSNE
"""
import seaborn as sns
from sklearn import decomposition
from sklearn import manifold
from sklearn.metrics import euclidean_distances
from sklearn.manifold import TSNE
... | 43.573034 | 122 | 0.679345 | 1,088 | 7,756 | 4.64614 | 0.117647 | 0.109199 | 0.05638 | 0.0455 | 0.769337 | 0.746588 | 0.728586 | 0.728586 | 0.714342 | 0.705045 | 0 | 0.013724 | 0.163873 | 7,756 | 177 | 123 | 43.819209 | 0.765767 | 0.046545 | 0 | 0.682119 | 0 | 0 | 0.08234 | 0.017606 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033113 | false | 0 | 0.384106 | 0 | 0.417219 | 0.139073 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4a325af9bcd696a032a1362f7f7bc822a11ac7c9 | 43 | py | Python | mindconnectiot/__init__.py | Addono/mindconnect-iot-extension-python | 85231989e62ccb96b9b6df3433c5fe737f047d1e | [
"MIT"
] | null | null | null | mindconnectiot/__init__.py | Addono/mindconnect-iot-extension-python | 85231989e62ccb96b9b6df3433c5fe737f047d1e | [
"MIT"
] | null | null | null | mindconnectiot/__init__.py | Addono/mindconnect-iot-extension-python | 85231989e62ccb96b9b6df3433c5fe737f047d1e | [
"MIT"
] | null | null | null | from .mindconnectiot import MindConnectIot
| 21.5 | 42 | 0.883721 | 4 | 43 | 9.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.974359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4a5adbb6bc303d9fcb5fe4b407d41eab93b35354 | 18,169 | py | Python | bigtable/google/cloud/bigtable_admin_v2/proto/bigtable_table_admin_pb2_grpc.py | jo2y/google-cloud-python | 1b76727be16bc4335276f793340bb72d32be7166 | [
"Apache-2.0"
] | 1 | 2018-06-29T17:53:28.000Z | 2018-06-29T17:53:28.000Z | bigtable/google/cloud/bigtable_admin_v2/proto/bigtable_table_admin_pb2_grpc.py | jo2y/google-cloud-python | 1b76727be16bc4335276f793340bb72d32be7166 | [
"Apache-2.0"
] | null | null | null | bigtable/google/cloud/bigtable_admin_v2/proto/bigtable_table_admin_pb2_grpc.py | jo2y/google-cloud-python | 1b76727be16bc4335276f793340bb72d32be7166 | [
"Apache-2.0"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from google.cloud.bigtable_admin_v2.proto import bigtable_table_admin_pb2 as google_dot_cloud_dot_bigtable_dot_admin__v2_dot_proto_dot_bigtable__table__admin__pb2
from google.cloud.bigtable_admin_v2.proto import table_pb2 as google_dot_c... | 58.421222 | 167 | 0.803181 | 2,198 | 18,169 | 6.184258 | 0.102366 | 0.06393 | 0.045317 | 0.055028 | 0.801074 | 0.798205 | 0.788494 | 0.752152 | 0.692562 | 0.692562 | 0 | 0.007825 | 0.14189 | 18,169 | 310 | 168 | 58.609677 | 0.864024 | 0.222742 | 0 | 0.346939 | 1 | 0 | 0.115831 | 0.062409 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076531 | false | 0 | 0.02551 | 0 | 0.112245 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4a9e774c93c0065560802f0d99e32802d5bf9ac9 | 5,658 | py | Python | fungi_tree.py | PRIS-CV/RelMatch | 862a84b2bbf157ece4b21969c44d47beef9aa023 | [
"MIT"
] | 8 | 2021-11-17T07:33:46.000Z | 2021-12-24T05:45:37.000Z | fungi_tree.py | PRIS-CV/RelMatch | 862a84b2bbf157ece4b21969c44d47beef9aa023 | [
"MIT"
] | null | null | null | fungi_tree.py | PRIS-CV/RelMatch | 862a84b2bbf157ece4b21969c44d47beef9aa023 | [
"MIT"
] | 1 | 2021-11-17T07:33:49.000Z | 2021-11-17T07:33:49.000Z | import numpy as np
import torch
from torch.autograd import Variable
import torch.nn as nn
trees = [[0, 0, 0, 0, 0, 0], [1, 1, 0, 0, 1, 0], [2, 2, 1, 0, 0, 0], [3, 3, 2, 0, 0, 0], [4, 4, 0, 0, 0, 0], [5, 5, 3, 1, 1, 0], [6, 6, 4, 0, 0, 0], [7, 7, 5, 0, 0, 0], [8, 8, 6, 0, 0, 0], [9, 9, 7, 2, 0, 0], [10, 1, 0, 3, 1, 0],... | 128.590909 | 4,682 | 0.433369 | 1,355 | 5,658 | 1.780074 | 0.168266 | 0.223881 | 0.123134 | 0.047264 | 0.305141 | 0 | 0 | 0 | 0 | 0 | 0 | 0.455283 | 0.258925 | 5,658 | 43 | 4,683 | 131.581395 | 0.119962 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.166667 | 0 | 0.25 | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4aa37bec4d0337ab49fba6294aa68c30b82b9c8e | 145 | py | Python | cherrypie/utils/auth.py | zhengjiwen/cherrypie | 6d73dc728918a444808a1915c069a06d4426adb7 | [
"Apache-2.0"
] | 1 | 2018-09-02T03:14:14.000Z | 2018-09-02T03:14:14.000Z | cherrypie/utils/auth.py | zhengjiwen/cherrypie | 6d73dc728918a444808a1915c069a06d4426adb7 | [
"Apache-2.0"
] | null | null | null | cherrypie/utils/auth.py | zhengjiwen/cherrypie | 6d73dc728918a444808a1915c069a06d4426adb7 | [
"Apache-2.0"
] | null | null | null | import hmac
def hash_passwd(passwd):
hash_passwd = hmac.new(passwd)
hash_passwd.update(passwd[1:5])
return hash_passwd.hexdigest()
| 18.125 | 35 | 0.724138 | 21 | 145 | 4.809524 | 0.52381 | 0.39604 | 0.316832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016529 | 0.165517 | 145 | 7 | 36 | 20.714286 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.8 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
4aaa9d34c5badee0177831e7aa78d3f6d5eca15b | 578 | py | Python | textbox/data/dataloader/__init__.py | StevenTang1998/TextBox | acd8298c7e6618384d585146f799d02cc475520c | [
"MIT"
] | 347 | 2021-01-09T07:55:55.000Z | 2022-03-27T00:46:36.000Z | textbox/data/dataloader/__init__.py | StevenTang1998/TextBox | acd8298c7e6618384d585146f799d02cc475520c | [
"MIT"
] | 18 | 2021-01-12T07:37:06.000Z | 2022-01-11T02:26:49.000Z | textbox/data/dataloader/__init__.py | StevenTang1998/TextBox | acd8298c7e6618384d585146f799d02cc475520c | [
"MIT"
] | 67 | 2021-01-09T07:23:52.000Z | 2022-03-27T12:02:12.000Z | from textbox.data.dataloader.abstract_dataloader import AbstractDataLoader
from textbox.data.dataloader.single_sent_dataloader import SingleSentenceDataLoader
from textbox.data.dataloader.paired_sent_dataloader import PairedSentenceDataLoader
from textbox.data.dataloader.attr_sent_dataloader import AttributedSentenceDa... | 82.571429 | 87 | 0.916955 | 62 | 578 | 8.33871 | 0.322581 | 0.148936 | 0.203095 | 0.338491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046713 | 578 | 7 | 87 | 82.571429 | 0.938294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
43ac3e9010cefc332cc92e1268d0c2130ae2eb8d | 38 | py | Python | hello.py | sbu-nuclear-astro/test-repo | 1a2222327da6e5a11f21cb9d9316ede34c778d72 | [
"BSD-3-Clause"
] | null | null | null | hello.py | sbu-nuclear-astro/test-repo | 1a2222327da6e5a11f21cb9d9316ede34c778d72 | [
"BSD-3-Clause"
] | 3 | 2019-05-03T16:32:55.000Z | 2019-05-03T16:55:44.000Z | hello.py | sbu-nuclear-astro/test-repo | 1a2222327da6e5a11f21cb9d9316ede34c778d72 | [
"BSD-3-Clause"
] | 18 | 2019-05-03T16:08:30.000Z | 2019-05-03T16:20:12.000Z | print("hello darkness my old friend")
| 19 | 37 | 0.763158 | 6 | 38 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 1 | 38 | 38 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
78f927ab59c49ec2cfad87118ec4d30e66a408bb | 96 | py | Python | venv/lib/python3.8/site-packages/poetry/console/commands/env/remove.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/poetry/console/commands/env/remove.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/poetry/console/commands/env/remove.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/54/10/11/1f3ccc887810e21c2d1ef9a7066e207e08448f16097bdcfd3a38e5f6d6 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 96 | 1 | 96 | 96 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6020fe141a8139845e7c06fa33b3d0bfe340b8ba | 2,565 | py | Python | CodingInterview2/48_LongestSubstringWithoutDup/test_longest_substring_without_dup.py | hscspring/TheAlgorithms-Python | 5c2faea1d2d25a9a81a4786e053b0cc58ab46c6f | [
"MIT"
] | 10 | 2020-07-06T11:00:58.000Z | 2022-01-29T09:25:24.000Z | CodingInterview2/48_LongestSubstringWithoutDup/test_longest_substring_without_dup.py | hscspring/TheAlgorithms-Python | 5c2faea1d2d25a9a81a4786e053b0cc58ab46c6f | [
"MIT"
] | null | null | null | CodingInterview2/48_LongestSubstringWithoutDup/test_longest_substring_without_dup.py | hscspring/TheAlgorithms-Python | 5c2faea1d2d25a9a81a4786e053b0cc58ab46c6f | [
"MIT"
] | 3 | 2020-07-13T06:39:23.000Z | 2020-08-15T16:29:48.000Z | from longest_substring_without_dup import find_sub_string_length_set
from longest_substring_without_dup import find_sub_string_length_dict
from longest_substring_without_dup import find_sub_string_length_dp1
from longest_substring_without_dup import find_sub_string_length_dp2
def test1():
assert find_sub_string_le... | 34.662162 | 69 | 0.748538 | 380 | 2,565 | 4.557895 | 0.107895 | 0.177829 | 0.330254 | 0.482679 | 0.911663 | 0.904157 | 0.674365 | 0.127021 | 0.127021 | 0.127021 | 0 | 0.033333 | 0.146199 | 2,565 | 73 | 70 | 35.136986 | 0.757534 | 0 | 0 | 0 | 0 | 0 | 0.096686 | 0 | 0 | 0 | 0 | 0 | 0.740741 | 1 | 0.185185 | true | 0 | 0.074074 | 0 | 0.259259 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
60337dca29e8e691455f118723cf582e68978de5 | 1,713 | py | Python | tests/test_greedy.py | arogozhnikov/OBDT | 1efbcdce55e21262a720f7e885879c660b8b4873 | [
"MIT"
] | 4 | 2015-03-12T12:39:09.000Z | 2015-07-08T03:27:56.000Z | tests/test_greedy.py | arogozhnikov/OBDT | 1efbcdce55e21262a720f7e885879c660b8b4873 | [
"MIT"
] | null | null | null | tests/test_greedy.py | arogozhnikov/OBDT | 1efbcdce55e21262a720f7e885879c660b8b4873 | [
"MIT"
] | null | null | null | from __future__ import division, print_function, absolute_import
__author__ = 'Alex Rogozhnikov'
import numpy
from hep_ml.losses import CompositeLossFunction, MSELossFunction
from pruning import greedy, utils
def test_pruner(mx_filename='../data/formula.mx', higgs_filename='../data/training.csv'):
with open(mx_... | 38.066667 | 113 | 0.737887 | 235 | 1,713 | 5.157447 | 0.251064 | 0.074257 | 0.019802 | 0.09901 | 0.812706 | 0.812706 | 0.812706 | 0.812706 | 0.812706 | 0.784653 | 0 | 0.011502 | 0.137186 | 1,713 | 44 | 114 | 38.931818 | 0.808525 | 0 | 0 | 0.5 | 0 | 0 | 0.064215 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 1 | 0.071429 | false | 0 | 0.142857 | 0 | 0.214286 | 0.035714 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
60a3ae2bbf640d06c7973f327eac6d535a9f51e2 | 14,320 | py | Python | function_tests/selenium_test/operation/resource.py | NAL-SupportTeam/NECCS-NO-Automation | d55df831dcfcec792f7d48392eea3bda3157db21 | [
"Apache-2.0"
] | null | null | null | function_tests/selenium_test/operation/resource.py | NAL-SupportTeam/NECCS-NO-Automation | d55df831dcfcec792f7d48392eea3bda3157db21 | [
"Apache-2.0"
] | null | null | null | function_tests/selenium_test/operation/resource.py | NAL-SupportTeam/NECCS-NO-Automation | d55df831dcfcec792f7d48392eea3bda3157db21 | [
"Apache-2.0"
] | 1 | 2018-09-19T07:36:49.000Z | 2018-09-19T07:36:49.000Z | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distribut... | 41.627907 | 95 | 0.623673 | 1,728 | 14,320 | 4.864005 | 0.117477 | 0.037478 | 0.066746 | 0.09423 | 0.807615 | 0.796669 | 0.763117 | 0.741344 | 0.730042 | 0.719572 | 0 | 0.006398 | 0.279609 | 14,320 | 343 | 96 | 41.749271 | 0.808356 | 0.089804 | 0 | 0.673307 | 0 | 0 | 0.165756 | 0.03272 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071713 | false | 0.003984 | 0.023904 | 0 | 0.103586 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
60c36c64787448a491fc11c4779dfb32c448b557 | 2,056 | py | Python | src/scml/tests/test_fillna.py | seahrh/sgcharts-ml | de864a28e8ddca1738ca1155a4ad583b4a0fda6b | [
"MIT"
] | null | null | null | src/scml/tests/test_fillna.py | seahrh/sgcharts-ml | de864a28e8ddca1738ca1155a4ad583b4a0fda6b | [
"MIT"
] | null | null | null | src/scml/tests/test_fillna.py | seahrh/sgcharts-ml | de864a28e8ddca1738ca1155a4ad583b4a0fda6b | [
"MIT"
] | null | null | null | import numpy as np
from scml import fillna
class TestFillna:
def test_when_nan_is_not_present_then_do_not_fill_1d_array(self):
np.testing.assert_allclose(
fillna(np.array([1.2, 1.2]), values=np.array([0, 0]), add_flag=False),
[1.2, 1.2],
)
np.testing.asser... | 33.704918 | 86 | 0.448444 | 292 | 2,056 | 2.965753 | 0.116438 | 0.083141 | 0.055427 | 0.069284 | 0.93649 | 0.93649 | 0.935335 | 0.935335 | 0.933025 | 0.882217 | 0 | 0.092116 | 0.376946 | 2,056 | 60 | 87 | 34.266667 | 0.583919 | 0 | 0 | 0.509091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 1 | 0.072727 | false | 0 | 0.036364 | 0 | 0.127273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
60e521597d31b0001965a3ddec6d15cbe7aa03e0 | 185 | py | Python | mongoengine_simple/database/models.py | LordGhostX/flask-mongo-starter | 10a0ef949e8626cf466e2c9410085069eb5dba36 | [
"MIT"
] | 7 | 2020-03-26T20:23:44.000Z | 2020-04-11T21:10:14.000Z | mongoengine_simple/database/models.py | LordGhostX/flask-mongo-starter | 10a0ef949e8626cf466e2c9410085069eb5dba36 | [
"MIT"
] | null | null | null | mongoengine_simple/database/models.py | LordGhostX/flask-mongo-starter | 10a0ef949e8626cf466e2c9410085069eb5dba36 | [
"MIT"
] | 3 | 2020-04-10T17:59:54.000Z | 2022-01-04T01:52:53.000Z | from .db import db
class Movie(db.Document):
name = db.StringField(required=True, unique=True)
casts = db.StringField(required=True)
genres = db.StringField(required=True)
| 26.428571 | 53 | 0.724324 | 25 | 185 | 5.36 | 0.52 | 0.291045 | 0.470149 | 0.559701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156757 | 185 | 6 | 54 | 30.833333 | 0.858974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
60fd30a6418259683171c86d237b5c410e8a44f9 | 29 | py | Python | plugin/src/test/resources/testData/set_declaration.py | ElenaErratic/bug-finder | dba6de2cde12b4b75f8f36668f5d785b460d6641 | [
"Apache-2.0"
] | 3 | 2020-08-31T12:39:53.000Z | 2021-05-12T10:04:54.000Z | plugin/src/test/resources/testData/set_declaration.py | ElenaErratic/bug-finder | dba6de2cde12b4b75f8f36668f5d785b460d6641 | [
"Apache-2.0"
] | 1 | 2020-11-27T11:28:47.000Z | 2020-11-27T11:28:47.000Z | plugin/src/test/resources/testData/set_declaration.py | ElenaErratic/bug-finder | dba6de2cde12b4b75f8f36668f5d785b460d6641 | [
"Apache-2.0"
] | 1 | 2021-06-03T12:45:50.000Z | 2021-06-03T12:45:50.000Z | def func():
s = {1, 1, 2} | 14.5 | 17 | 0.37931 | 6 | 29 | 1.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.344828 | 29 | 2 | 17 | 14.5 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7161a589cf3e4d9dbcfd9d8f0d55bd0294a49cf4 | 40,604 | py | Python | falco/model/jacobians.py | kian1377/falco-python | a9666629845fc72957cd89339f924b9cfb7ce6f5 | [
"Apache-2.0"
] | 4 | 2019-05-22T22:24:01.000Z | 2021-07-21T13:32:36.000Z | falco/model/jacobians.py | kian1377/falco-python | a9666629845fc72957cd89339f924b9cfb7ce6f5 | [
"Apache-2.0"
] | 11 | 2018-06-22T01:05:07.000Z | 2021-11-03T13:46:25.000Z | falco/model/jacobians.py | kian1377/falco-python | a9666629845fc72957cd89339f924b9cfb7ce6f5 | [
"Apache-2.0"
] | 2 | 2018-06-21T23:58:06.000Z | 2021-07-13T21:25:23.000Z | # pylint: disable=E501
"""Functions to compute the Jacobian for EFC."""
import numpy as np
from numpy.fft import fftshift, fft2
import falco
from falco.util import pad_crop
import falco.prop as fp
def lyot(mp, im, idm):
"""
Differential model used to compute the ctrl Jacobian for Lyot coronagraph.
Speci... | 59.189504 | 324 | 0.622796 | 5,807 | 40,604 | 4.263131 | 0.087653 | 0.014542 | 0.028114 | 0.009452 | 0.866739 | 0.855308 | 0.850541 | 0.841533 | 0.832727 | 0.826264 | 0 | 0.03699 | 0.268939 | 40,604 | 685 | 325 | 59.275912 | 0.796995 | 0.346419 | 0 | 0.692105 | 0 | 0 | 0.00627 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005263 | false | 0.002632 | 0.013158 | 0 | 0.023684 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
71a1d852e88a668f8f745531172305fcdc58e251 | 20 | py | Python | src/openue/models/__init__.py | ikutalilas/OpenUE | 098bbbef3225970d7cd9d099675f1c723345fd66 | [
"MIT"
] | 461 | 2021-08-02T04:14:12.000Z | 2022-03-26T15:48:42.000Z | src/openue/models/__init__.py | southerndog/OpenUE | 52bf8f0aff43d9a83727777228b523be6f4fd3d4 | [
"MIT"
] | 21 | 2020-12-26T05:53:56.000Z | 2022-01-26T06:47:18.000Z | src/openue/models/__init__.py | southerndog/OpenUE | 52bf8f0aff43d9a83727777228b523be6f4fd3d4 | [
"MIT"
] | 39 | 2021-09-07T08:04:35.000Z | 2022-01-17T06:34:59.000Z | from .model import * | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
71b156d57942da47bff91f4e2363a227bdbdc673 | 2,507 | py | Python | test.py | max-andr/Joint-Training-of-a-Convolutional-Network-and-a-Graphical-Model-for-Human-Pose-Estimation | b0a071b45e14dc2f098203127a1f55b83022ae79 | [
"MIT"
] | 55 | 2018-02-21T00:16:15.000Z | 2022-03-05T02:12:32.000Z | test.py | max-andr/Joint-Training-of-a-Convolutional-Network-and-a-Graphical-Model-for-Human-Pose-Estimation | b0a071b45e14dc2f098203127a1f55b83022ae79 | [
"MIT"
] | 1 | 2021-06-28T07:11:58.000Z | 2021-06-28T07:11:58.000Z | test.py | max-andr/Joint-Training-of-a-Convolutional-Network-and-a-Graphical-Model-for-Human-Pose-Estimation | b0a071b45e14dc2f098203127a1f55b83022ae79 | [
"MIT"
] | 15 | 2018-06-14T11:29:18.000Z | 2022-03-01T13:56:36.000Z | import numpy as np
import pickle
"""
The first part of this file is to test if the data.py prepare the data correctly
The second part of this file is to test if the data_FlIC_plus.py prepare the data correctly
"""
### The first part
n_joint = 9 # the number of joint that you want to display
y_test = np.load('y_test_fl... | 29.845238 | 91 | 0.680096 | 442 | 2,507 | 3.708145 | 0.201357 | 0.054912 | 0.073215 | 0.024405 | 0.844417 | 0.844417 | 0.81025 | 0.81025 | 0.782184 | 0.782184 | 0 | 0.018448 | 0.156761 | 2,507 | 83 | 92 | 30.204819 | 0.756859 | 0.073793 | 0 | 0.688525 | 0 | 0 | 0.165414 | 0.028665 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.065574 | 0 | 0.065574 | 0.196721 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
71c8c113b1df92f47f371a737b0ac2cea0719ba7 | 24 | py | Python | astpretty.py | davemus/flake8-custom-trailing-commas | 2933be503370cafb20d2d27b1aed5d7135b0020e | [
"MIT"
] | 1 | 2021-04-20T09:01:40.000Z | 2021-04-20T09:01:40.000Z | astpretty.py | davemus/flake8-custom-trailing-commas | 2933be503370cafb20d2d27b1aed5d7135b0020e | [
"MIT"
] | null | null | null | astpretty.py | davemus/flake8-custom-trailing-commas | 2933be503370cafb20d2d27b1aed5d7135b0020e | [
"MIT"
] | null | null | null | yield (a, b)
yield a, b
| 8 | 12 | 0.583333 | 6 | 24 | 2.333333 | 0.5 | 0.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 24 | 2 | 13 | 12 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
71df04e167183d3e94397ef8156ffca2ecb84fe0 | 36 | py | Python | lib/datasets/__init__.py | Razerl/TRN.pytorch | f6b9054f0ed80693b45a61066f9ab9a20cf0884e | [
"MIT"
] | 63 | 2019-11-20T00:28:43.000Z | 2022-03-23T03:45:13.000Z | lib/datasets/__init__.py | yuminko/TRN.pytorch | f2a8a1ff59679c6af58360066512e3e0b6926880 | [
"MIT"
] | 17 | 2019-12-11T11:23:36.000Z | 2022-03-13T08:13:31.000Z | lib/datasets/__init__.py | yuminko/TRN.pytorch | f2a8a1ff59679c6af58360066512e3e0b6926880 | [
"MIT"
] | 18 | 2019-12-24T06:49:54.000Z | 2022-03-23T09:14:41.000Z | from .datasets import build_dataset
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
71e08aa8ae8c2dc923ec149148b401d21021c1ab | 14,330 | py | Python | pybind/slxos/v17r_2_00/mpls_config/router/mpls/mpls_cmds_holder/policy/implicit_commit/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_2_00/mpls_config/router/mpls/mpls_cmds_holder/policy/implicit_commit/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_2_00/mpls_config/router/mpls/mpls_cmds_holder/policy/implicit_commit/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 74.248705 | 596 | 0.757502 | 1,951 | 14,330 | 5.287032 | 0.091748 | 0.171013 | 0.057586 | 0.07271 | 0.838488 | 0.773825 | 0.734561 | 0.730005 | 0.730005 | 0.695686 | 0 | 0.000476 | 0.120447 | 14,330 | 192 | 597 | 74.635417 | 0.817915 | 0.150942 | 0 | 0.410853 | 0 | 0.023256 | 0.392738 | 0.20986 | 0 | 0 | 0 | 0 | 0 | 1 | 0.093023 | false | 0 | 0.062016 | 0 | 0.294574 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
71e400337fa1de42a59fde9c92722c780c20ad3c | 48 | py | Python | opbasm/__init__.py | 1Maxnet1/opbasm | bef9e446f089a6bc6cfc21f6c8e799010572daf5 | [
"MIT"
] | 50 | 2015-06-02T11:32:11.000Z | 2022-03-28T19:12:00.000Z | opbasm/__init__.py | 1Maxnet1/opbasm | bef9e446f089a6bc6cfc21f6c8e799010572daf5 | [
"MIT"
] | 22 | 2015-06-15T15:21:45.000Z | 2022-01-19T09:18:00.000Z | opbasm/__init__.py | 1Maxnet1/opbasm | bef9e446f089a6bc6cfc21f6c8e799010572daf5 | [
"MIT"
] | 13 | 2015-06-02T11:51:03.000Z | 2022-01-19T10:16:24.000Z | '''Main Opbasm package'''
from opbasm import *
| 12 | 25 | 0.6875 | 6 | 48 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 3 | 26 | 16 | 0.825 | 0.395833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e0965f0d2664bc8b4fd51a9d2a7ca836d26c3064 | 65,382 | py | Python | miri/datamodels/operations.py | JWST-MIRI/MiriTE | 6c2f26dce506260b548c73bd33ab9e8f9f6c629d | [
"CNRI-Python"
] | null | null | null | miri/datamodels/operations.py | JWST-MIRI/MiriTE | 6c2f26dce506260b548c73bd33ab9e8f9f6c629d | [
"CNRI-Python"
] | 24 | 2019-08-09T15:03:20.000Z | 2022-03-04T10:04:48.000Z | miri/datamodels/operations.py | JWST-MIRI/MiriTE | 6c2f26dce506260b548c73bd33ab9e8f9f6c629d | [
"CNRI-Python"
] | 4 | 2019-06-16T15:03:23.000Z | 2020-12-02T19:51:52.000Z | #!/usr/bin/env python
# -*- coding:utf-8 -*-
"""
Arithmetic and binary operator functions for the MIRI data model.
:Reference:
The STScI jwst.datamodels documentation.
https://jwst-pipeline.readthedocs.io/en/latest/jwst/datamodels/index.html
:History:
24 Jan 2011: Created
22 Feb 2013: Zero dimensional arrays cann... | 39.940134 | 91 | 0.567067 | 7,690 | 65,382 | 4.706112 | 0.078023 | 0.017021 | 0.0147 | 0.02089 | 0.77748 | 0.755347 | 0.740923 | 0.734015 | 0.708897 | 0.694612 | 0 | 0.011987 | 0.355633 | 65,382 | 1,636 | 92 | 39.964548 | 0.847021 | 0.326558 | 0 | 0.748481 | 0 | 0 | 0.066108 | 0 | 0 | 0 | 0 | 0.000611 | 0 | 1 | 0.057108 | false | 0.003645 | 0.008505 | 0.003645 | 0.147023 | 0.068044 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e097f68cfacb8ad1ff46f8b327104de87cba33ad | 128 | py | Python | ezconfigparser/__init__.py | WangZesen/ezconfigparser | b94b21dd39cc810b6758386edbbc22a18c22f249 | [
"MIT"
] | null | null | null | ezconfigparser/__init__.py | WangZesen/ezconfigparser | b94b21dd39cc810b6758386edbbc22a18c22f249 | [
"MIT"
] | null | null | null | ezconfigparser/__init__.py | WangZesen/ezconfigparser | b94b21dd39cc810b6758386edbbc22a18c22f249 | [
"MIT"
] | null | null | null | import sys
VERSION = '0.2.8'
if sys.version_info < (3, 0):
from config import Config
else:
from .config import Config
| 14.222222 | 30 | 0.671875 | 21 | 128 | 4.047619 | 0.571429 | 0.235294 | 0.376471 | 0.517647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050505 | 0.226563 | 128 | 8 | 31 | 16 | 0.808081 | 0 | 0 | 0 | 0 | 0 | 0.039063 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e09c68041d8a19afe477e67b533016d26070046d | 7,385 | py | Python | tests/tasks/sftp/test_sftp.py | vlad-mois/prefect | 5427ddb2e49dc4732ad034c58ed2604ea1faa4a3 | [
"Apache-2.0"
] | null | null | null | tests/tasks/sftp/test_sftp.py | vlad-mois/prefect | 5427ddb2e49dc4732ad034c58ed2604ea1faa4a3 | [
"Apache-2.0"
] | null | null | null | tests/tasks/sftp/test_sftp.py | vlad-mois/prefect | 5427ddb2e49dc4732ad034c58ed2604ea1faa4a3 | [
"Apache-2.0"
] | null | null | null | from unittest.mock import MagicMock
import pytest
import os
from paramiko import Transport, SFTPClient
from prefect.tasks.sftp.sftp import SftpDownload, SftpUpload
@pytest.fixture
def mock_conn(monkeypatch):
sftp_conn = MagicMock()
transport = MagicMock(spec=Transport)
transport.connect = MagicMock(userna... | 33.568182 | 84 | 0.557752 | 798 | 7,385 | 5.038847 | 0.122807 | 0.052226 | 0.046506 | 0.063417 | 0.779906 | 0.767471 | 0.726188 | 0.719224 | 0.713753 | 0.713753 | 0 | 0.006607 | 0.344211 | 7,385 | 219 | 85 | 33.721461 | 0.823663 | 0.130264 | 0 | 0.664596 | 0 | 0 | 0.157311 | 0.070935 | 0 | 0 | 0 | 0 | 0.080745 | 1 | 0.043478 | false | 0.111801 | 0.037267 | 0 | 0.099379 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
e0d0625d2762d81e0113c8d4a465db51daa01fda | 48 | py | Python | model/__init__.py | a101269/Chinese_Semantic_Dependency_Parser_with_knowledge | ca9998045c7789bc3ea5ad6a8ce7fe0af8308669 | [
"MIT"
] | 1 | 2020-11-06T01:39:44.000Z | 2020-11-06T01:39:44.000Z | utils/__init__.py | a101269/Chinese_Semantic_Dependency_Parser_with_knowledge | ca9998045c7789bc3ea5ad6a8ce7fe0af8308669 | [
"MIT"
] | null | null | null | utils/__init__.py | a101269/Chinese_Semantic_Dependency_Parser_with_knowledge | ca9998045c7789bc3ea5ad6a8ce7fe0af8308669 | [
"MIT"
] | null | null | null | # Author: a101269
# Date : 2020/3/4
| 8 | 22 | 0.479167 | 6 | 48 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.413793 | 0.395833 | 48 | 5 | 23 | 9.6 | 0.37931 | 0.770833 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e0e059a4c1a950d9979c4eb6b1f6db1b5936c027 | 107 | py | Python | lib/carbon/tests/util.py | hessu/carbon | db0ffa3dea0e8fffd5cd05c22b60c08d7e4ae799 | [
"Apache-2.0"
] | 961 | 2015-01-01T14:20:35.000Z | 2022-03-29T22:15:35.000Z | lib/carbon/tests/util.py | hessu/carbon | db0ffa3dea0e8fffd5cd05c22b60c08d7e4ae799 | [
"Apache-2.0"
] | 611 | 2015-01-03T20:31:23.000Z | 2022-03-31T21:30:23.000Z | lib/carbon/tests/util.py | hessu/carbon | db0ffa3dea0e8fffd5cd05c22b60c08d7e4ae799 | [
"Apache-2.0"
] | 326 | 2015-01-03T14:55:33.000Z | 2022-03-31T01:43:49.000Z | from carbon.conf import Settings
class TestSettings(Settings):
def readFrom(*args, **kwargs):
pass
| 15.285714 | 32 | 0.728972 | 13 | 107 | 6 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168224 | 107 | 6 | 33 | 17.833333 | 0.876404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
46090780bcd8a23b6fab52b5a1c614f6298469b8 | 1,399 | py | Python | generateTrees.py | NathanWhelan/generateSequences | 1848a42e28d9e22ec7614bda0be68916d7898b1d | [
"MIT"
] | 2 | 2015-08-30T01:13:54.000Z | 2016-01-23T02:11:44.000Z | generateTrees.py | NathanWhelan/generateSequences | 1848a42e28d9e22ec7614bda0be68916d7898b1d | [
"MIT"
] | null | null | null | generateTrees.py | NathanWhelan/generateSequences | 1848a42e28d9e22ec7614bda0be68916d7898b1d | [
"MIT"
] | null | null | null | #!/usr/bin/python
from __future__ import division
import re
import sys
import numpy
####This script generates a list of gamma distributed values for gene fragments to be used to simulate
####sequences with indel-seq-gen. It also creates a list of the partitions for partitionFinder
gammaNumbers=numpy.random.gamma(2.5... | 53.807692 | 779 | 0.781987 | 200 | 1,399 | 5.45 | 0.625 | 0.009174 | 0.012844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.458109 | 0.07005 | 1,399 | 25 | 780 | 55.96 | 0.379708 | 0.219442 | 0 | 0 | 1 | 0.066667 | 0.689527 | 0.682113 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.266667 | null | null | 0.133333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4611a3aaf4174d6e04917af1b5d10b058d54f8ea | 8,052 | py | Python | xlsxwriter/test/worksheet/test_calcuate_spans.py | sontek/XlsxWriter | 7f17a52f95be9ecfb9c7f213fc0a02e0f625c6ec | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2015-05-19T22:17:15.000Z | 2015-05-19T22:17:15.000Z | xlsxwriter/test/worksheet/test_calcuate_spans.py | sontek/XlsxWriter | 7f17a52f95be9ecfb9c7f213fc0a02e0f625c6ec | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | xlsxwriter/test/worksheet/test_calcuate_spans.py | sontek/XlsxWriter | 7f17a52f95be9ecfb9c7f213fc0a02e0f625c6ec | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | ###############################################################################
#
# Tests for XlsxWriter.
#
# Copyright (c), 2013-2014, John McNamara, jmcnamara@cpan.org
#
import unittest
from ...compatibility import StringIO
from ...worksheet import Worksheet
class TestCalculateSpans(unittest.TestCase):
"""
... | 24.326284 | 79 | 0.536388 | 1,025 | 8,052 | 4.035122 | 0.065366 | 0.185445 | 0.211315 | 0.09647 | 0.879594 | 0.873791 | 0.750484 | 0.750484 | 0.718569 | 0.558994 | 0 | 0.057949 | 0.331346 | 8,052 | 330 | 80 | 24.4 | 0.710253 | 0.099106 | 0 | 0.69 | 0 | 0 | 0.022949 | 0 | 0 | 0 | 0 | 0 | 0.095 | 1 | 0.1 | false | 0 | 0.015 | 0 | 0.12 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1cd31b4890f3b6fdc7244e05a71517bd89b89233 | 48 | py | Python | napari_plot/layers/line/__init__.py | lukasz-migas/napari-1d | b0f081a8711ae941b3e4b5c58c3aea56bd0e3277 | [
"BSD-3-Clause"
] | 13 | 2021-08-27T23:01:09.000Z | 2022-03-22T13:51:35.000Z | napari_plot/layers/line/__init__.py | lukasz-migas/napari-1d | b0f081a8711ae941b3e4b5c58c3aea56bd0e3277 | [
"BSD-3-Clause"
] | 71 | 2021-08-28T13:29:17.000Z | 2022-03-28T21:22:12.000Z | napari_plot/layers/line/__init__.py | lukasz-migas/napari-1d | b0f081a8711ae941b3e4b5c58c3aea56bd0e3277 | [
"BSD-3-Clause"
] | null | null | null | """Line"""
from .line import Line # noqa: F401
| 16 | 36 | 0.625 | 7 | 48 | 4.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.1875 | 48 | 2 | 37 | 24 | 0.692308 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1cd4112b87a1b4de487e247394d64737a868735f | 109 | py | Python | TDD/doctests/main.py | raphael-d-cordeiro/Python_Public | 56d0080393dab5f80ad650e27cb993006b17ac1b | [
"MIT"
] | null | null | null | TDD/doctests/main.py | raphael-d-cordeiro/Python_Public | 56d0080393dab5f80ad650e27cb993006b17ac1b | [
"MIT"
] | null | null | null | TDD/doctests/main.py | raphael-d-cordeiro/Python_Public | 56d0080393dab5f80ad650e27cb993006b17ac1b | [
"MIT"
] | null | null | null | """
Look operations module for doctests
"""
from operations import multiply_num
print(multiply_num(2, 10))
| 13.625 | 35 | 0.761468 | 15 | 109 | 5.4 | 0.8 | 0.271605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031915 | 0.137615 | 109 | 7 | 36 | 15.571429 | 0.829787 | 0.321101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
1ce0474f17341b1b36ec41689c2b2dca7dd36910 | 33 | py | Python | goto_cloud/tracked_model/public.py | jdepoix/goto_cloud | 59bb9923026e1b1dc6e8e08fb6b21300c8e8854a | [
"MIT"
] | 2 | 2018-02-04T23:22:17.000Z | 2019-04-15T12:06:04.000Z | goto_cloud/tracked_model/public.py | jdepoix/goto_cloud | 59bb9923026e1b1dc6e8e08fb6b21300c8e8854a | [
"MIT"
] | null | null | null | goto_cloud/tracked_model/public.py | jdepoix/goto_cloud | 59bb9923026e1b1dc6e8e08fb6b21300c8e8854a | [
"MIT"
] | null | null | null | from .models import TrackedModel
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e82666fc86bb056aa267370cc3b244d809f626b0 | 2,927 | py | Python | thenewboston_node/business_logic/tests/test_file_blockchain/test_add_block_validation.py | nishp77/thenewboston-node | 158b1f1739b2c6c9c21c80e9da854ca141f1cf8f | [
"MIT"
] | 30 | 2021-03-05T22:08:17.000Z | 2021-09-23T02:45:45.000Z | thenewboston_node/business_logic/tests/test_file_blockchain/test_add_block_validation.py | nishp77/thenewboston-node | 158b1f1739b2c6c9c21c80e9da854ca141f1cf8f | [
"MIT"
] | 148 | 2021-03-05T23:37:50.000Z | 2021-11-02T02:18:58.000Z | thenewboston_node/business_logic/tests/test_file_blockchain/test_add_block_validation.py | nishp77/thenewboston-node | 158b1f1739b2c6c9c21c80e9da854ca141f1cf8f | [
"MIT"
] | 14 | 2021-03-05T21:58:46.000Z | 2021-10-15T17:27:52.000Z | import pytest
from thenewboston_node.business_logic.exceptions import ValidationError
from thenewboston_node.business_logic.models import (
Block, NodeDeclarationSignedChangeRequest, PrimaryValidatorScheduleSignedChangeRequest
)
def test_pv_schedule_after_node_declaration_is_successful(
file_blockchain, anot... | 40.09589 | 119 | 0.800137 | 350 | 2,927 | 6.174286 | 0.188571 | 0.051828 | 0.064785 | 0.066636 | 0.839426 | 0.808885 | 0.768163 | 0.726978 | 0.726978 | 0.726978 | 0 | 0.007615 | 0.147591 | 2,927 | 72 | 120 | 40.652778 | 0.858517 | 0 | 0 | 0.633333 | 0 | 0 | 0.048514 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.05 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1c04fb200ebab140684c246b9ae3a9ca2b98ac5b | 2,698 | py | Python | test/geometry/epipolar/test_epipolar_metrics.py | pmeier/kornia | 57f5aeb605d0c69de88a0a1aa1563cee52d4bfaf | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2021-04-15T01:20:01.000Z | 2022-01-12T14:12:54.000Z | test/geometry/epipolar/test_epipolar_metrics.py | pmeier/kornia | 57f5aeb605d0c69de88a0a1aa1563cee52d4bfaf | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | test/geometry/epipolar/test_epipolar_metrics.py | pmeier/kornia | 57f5aeb605d0c69de88a0a1aa1563cee52d4bfaf | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-05-15T03:22:24.000Z | 2021-05-15T03:22:24.000Z | import pytest
import torch
from torch.autograd import gradcheck
from torch.testing import assert_allclose
import kornia.geometry.epipolar as epi
import kornia.testing as utils
class TestSymmetricalEpipolarDistance:
def test_smoke(self, device, dtype):
pts1 = torch.rand(1, 4, 3, device=device, dtype=dty... | 45.728814 | 118 | 0.693477 | 370 | 2,698 | 4.859459 | 0.156757 | 0.097887 | 0.113459 | 0.062291 | 0.868743 | 0.868743 | 0.868743 | 0.868743 | 0.813126 | 0.813126 | 0 | 0.036212 | 0.201631 | 2,698 | 58 | 119 | 46.517241 | 0.798514 | 0.014455 | 0 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 1 | 0.136364 | false | 0 | 0.136364 | 0 | 0.318182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1c20248231ef90a4718bcebfb19f64a4304246f8 | 31,755 | py | Python | Packs/ExportIndicators/Integrations/ExportIndicators/ExportIndicators_test.py | smokescreen-akshay/content | 780e0c57a3201e405d4416154c5d08a4fbb9384c | [
"MIT"
] | 1 | 2020-04-19T11:05:42.000Z | 2020-04-19T11:05:42.000Z | Packs/ExportIndicators/Integrations/ExportIndicators/ExportIndicators_test.py | smokescreen-akshay/content | 780e0c57a3201e405d4416154c5d08a4fbb9384c | [
"MIT"
] | null | null | null | Packs/ExportIndicators/Integrations/ExportIndicators/ExportIndicators_test.py | smokescreen-akshay/content | 780e0c57a3201e405d4416154c5d08a4fbb9384c | [
"MIT"
] | 1 | 2021-05-31T15:08:48.000Z | 2021-05-31T15:08:48.000Z | """Imports"""
import json
import pytest
import demistomock as demisto
from netaddr import IPAddress
IOC_RES_LEN = 38
'''Tests'''
@pytest.mark.helper_commands
class TestHelperFunctions:
@pytest.mark.get_outbound_ioc_values
def test_get_outbound_ioc_values_1(self, mocker):
"""Test on_demand"""
... | 55.808436 | 125 | 0.655834 | 3,992 | 31,755 | 4.863727 | 0.061122 | 0.052328 | 0.020396 | 0.0548 | 0.897301 | 0.882056 | 0.859858 | 0.824063 | 0.792954 | 0.771735 | 0 | 0.020749 | 0.251771 | 31,755 | 568 | 126 | 55.90669 | 0.796423 | 0.042167 | 0 | 0.577825 | 0 | 0 | 0.157609 | 0.101313 | 0 | 0 | 0 | 0 | 0.140725 | 1 | 0.078891 | false | 0.014925 | 0.100213 | 0 | 0.181237 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1c2e8380043de9ea543efb9b099a5d397f7be960 | 4,030 | py | Python | onnx/backend/test/case/node/bitshift.py | How-Wang/onnx | c940fa3fea84948e46603cab2f86467291443beb | [
"Apache-2.0"
] | 1 | 2022-02-04T07:45:14.000Z | 2022-02-04T07:45:14.000Z | onnx/backend/test/case/node/bitshift.py | How-Wang/onnx | c940fa3fea84948e46603cab2f86467291443beb | [
"Apache-2.0"
] | null | null | null | onnx/backend/test/case/node/bitshift.py | How-Wang/onnx | c940fa3fea84948e46603cab2f86467291443beb | [
"Apache-2.0"
] | null | null | null | # SPDX-License-Identifier: Apache-2.0
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import numpy as np # type: ignore
import onnx
from ..base import Base
from . import expect
class BitShift(Base):
@staticme... | 29.632353 | 50 | 0.507196 | 499 | 4,030 | 3.961924 | 0.12024 | 0.024279 | 0.064745 | 0.121396 | 0.757714 | 0.757714 | 0.757714 | 0.757714 | 0.757714 | 0.757714 | 0 | 0.054275 | 0.332506 | 4,030 | 135 | 51 | 29.851852 | 0.680669 | 0.065509 | 0 | 0.707965 | 0 | 0 | 0.086818 | 0.053795 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070796 | false | 0 | 0.070796 | 0 | 0.150442 | 0.00885 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
98bb8c98c3fbeda4d10ffc9abf50e0da07fcb878 | 31 | py | Python | testpkg/subpkg/funcs.py | yasteen/ml | 9ccd17d15c1ef6fe8f30ffebd3dc17a0f1a51a4d | [
"MIT"
] | null | null | null | testpkg/subpkg/funcs.py | yasteen/ml | 9ccd17d15c1ef6fe8f30ffebd3dc17a0f1a51a4d | [
"MIT"
] | null | null | null | testpkg/subpkg/funcs.py | yasteen/ml | 9ccd17d15c1ef6fe8f30ffebd3dc17a0f1a51a4d | [
"MIT"
] | null | null | null | def asdf(x: int):
return x
| 10.333333 | 17 | 0.580645 | 6 | 31 | 3 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.290323 | 31 | 2 | 18 | 15.5 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
98e2a7cb2998d28957e8026f4778f2ebd3e6d427 | 32 | py | Python | plugins/emotes/__init__.py | StarryPy/StarryPy-Historic | b9dbd552b8c4631a5a8e9dda98b7ba447eca59da | [
"WTFPL"
] | 38 | 2015-02-12T11:57:59.000Z | 2018-11-15T16:03:45.000Z | plugins/emotes/__init__.py | StarryPy/StarryPy-Historic | b9dbd552b8c4631a5a8e9dda98b7ba447eca59da | [
"WTFPL"
] | 68 | 2015-02-05T23:29:47.000Z | 2017-12-27T08:26:25.000Z | plugins/emotes/__init__.py | StarryPy/StarryPy-Historic | b9dbd552b8c4631a5a8e9dda98b7ba447eca59da | [
"WTFPL"
] | 21 | 2015-02-06T18:58:21.000Z | 2017-12-24T20:08:59.000Z | from emotes import EmotesPlugin
| 16 | 31 | 0.875 | 4 | 32 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c7079b6463f10f4113efccbce9b406e7895be940 | 199 | py | Python | test_simplemathcaptcha/tests.py | BirkbeckCTP/django-simple-math-captcha | fcaa1c7f3d1393ce61b5e87fe46e3d5132346299 | [
"Naumen",
"Condor-1.1",
"Apache-1.1",
"MS-PL"
] | 26 | 2015-07-21T04:02:08.000Z | 2022-02-04T20:48:45.000Z | test_simplemathcaptcha/tests.py | BirkbeckCTP/django-simple-math-captcha | fcaa1c7f3d1393ce61b5e87fe46e3d5132346299 | [
"Naumen",
"Condor-1.1",
"Apache-1.1",
"MS-PL"
] | 9 | 2015-08-31T01:33:48.000Z | 2022-01-30T04:23:37.000Z | test_simplemathcaptcha/tests.py | BirkbeckCTP/django-simple-math-captcha | fcaa1c7f3d1393ce61b5e87fe46e3d5132346299 | [
"Naumen",
"Condor-1.1",
"Apache-1.1",
"MS-PL"
] | 25 | 2015-03-11T21:33:46.000Z | 2022-03-18T18:14:26.000Z | # flake8: noqa
from __future__ import absolute_import
from .utils_tests import UtilsTests
from .widget_tests import WidgetTests
from .field_tests import FieldTests
from .form_tests import FormTests
| 24.875 | 38 | 0.849246 | 27 | 199 | 5.925926 | 0.555556 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005714 | 0.120603 | 199 | 7 | 39 | 28.428571 | 0.908571 | 0.060302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c786e45ffcf3dbb193fbeb35dffb8e2f5c77aee4 | 15,348 | py | Python | test/test_modeling_question_answering.py | askainet/haystack | 00aa1f41d7c21273d8c312a3fad0b51ddd446672 | [
"Apache-2.0"
] | null | null | null | test/test_modeling_question_answering.py | askainet/haystack | 00aa1f41d7c21273d8c312a3fad0b51ddd446672 | [
"Apache-2.0"
] | null | null | null | test/test_modeling_question_answering.py | askainet/haystack | 00aa1f41d7c21273d8c312a3fad0b51ddd446672 | [
"Apache-2.0"
] | 1 | 2022-02-17T05:08:53.000Z | 2022-02-17T05:08:53.000Z | import logging
import pytest
from math import isclose
import numpy as np
from haystack.modeling.infer import QAInferencer
from haystack.modeling.data_handler.inputs import QAInput, Question
@pytest.fixture()
def span_inference_result(bert_base_squad2, caplog=None):
if caplog:
caplog.set_level(logging.CRI... | 50.486842 | 553 | 0.73319 | 2,112 | 15,348 | 5.096117 | 0.160038 | 0.042367 | 0.037722 | 0.022949 | 0.80052 | 0.767165 | 0.75137 | 0.730001 | 0.712998 | 0.705101 | 0 | 0.018492 | 0.19312 | 15,348 | 303 | 554 | 50.653465 | 0.850614 | 0.007623 | 0 | 0.4 | 0 | 0.061224 | 0.430851 | 0.008603 | 0 | 0 | 0 | 0 | 0.097959 | 1 | 0.057143 | false | 0.012245 | 0.02449 | 0 | 0.089796 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c797ca70cbc11a6aa5888cb54f388e8550bdac7d | 35 | py | Python | test/test.py | ka2hyeon/allweather | 95a4030a804f8c50fc88770d55e88e694caeec1b | [
"MIT"
] | null | null | null | test/test.py | ka2hyeon/allweather | 95a4030a804f8c50fc88770d55e88e694caeec1b | [
"MIT"
] | null | null | null | test/test.py | ka2hyeon/allweather | 95a4030a804f8c50fc88770d55e88e694caeec1b | [
"MIT"
] | null | null | null | from unittest import TestCase, main | 35 | 35 | 0.857143 | 5 | 35 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c7b03565ff5336c46af49cf6cb7d5f196594d29c | 71 | py | Python | __init__.py | bheff88/pylation | 1e3e9e0cddc09ed7bcdb12dbbb12bb3efaa9ac46 | [
"MIT"
] | null | null | null | __init__.py | bheff88/pylation | 1e3e9e0cddc09ed7bcdb12dbbb12bb3efaa9ac46 | [
"MIT"
] | null | null | null | __init__.py | bheff88/pylation | 1e3e9e0cddc09ed7bcdb12dbbb12bb3efaa9ac46 | [
"MIT"
] | null | null | null | from pylation.mlp import MLP
from pylation.relational import Relational | 35.5 | 42 | 0.873239 | 10 | 71 | 6.2 | 0.5 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098592 | 71 | 2 | 42 | 35.5 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1be54b71d2db43f3cd71f16d102dc9354e29f9dd | 100 | py | Python | make_json_fixtures.py | telia-oss/birgitta-example-etl | 8bb32aac94486b4edc1fee3964cf7d2dcf095020 | [
"MIT"
] | 8 | 2019-11-25T16:39:33.000Z | 2022-03-31T12:48:54.000Z | make_json_fixtures.py | telia-oss/birgitta-example-etl | 8bb32aac94486b4edc1fee3964cf7d2dcf095020 | [
"MIT"
] | 218 | 2019-09-09T11:11:59.000Z | 2022-03-08T05:16:40.000Z | make_json_fixtures.py | telia-oss/birgitta-example-etl | 8bb32aac94486b4edc1fee3964cf7d2dcf095020 | [
"MIT"
] | 4 | 2020-07-21T15:33:40.000Z | 2021-12-22T11:32:45.000Z | import newsltd_etl
from birgitta.schema.fixtures import json as fx_json
fx_json.make(newsltd_etl)
| 16.666667 | 52 | 0.84 | 17 | 100 | 4.705882 | 0.647059 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11 | 100 | 5 | 53 | 20 | 0.898876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
403314234487035a51df48ec42a4496b9baee036 | 157 | py | Python | tests/tagifai/test_config.py | sri-spirited/MLOps | 2c5235c587870666c9f1569f401875754719d840 | [
"MIT"
] | 7 | 2021-06-19T12:28:44.000Z | 2021-09-11T18:41:29.000Z | tests/tagifai/test_config.py | atulkr28/MLOps | c97f18e9c08d6966e1ab4459adc0cc59ec4da243 | [
"MIT"
] | null | null | null | tests/tagifai/test_config.py | atulkr28/MLOps | c97f18e9c08d6966e1ab4459adc0cc59ec4da243 | [
"MIT"
] | null | null | null | # tests/tagifai/test_config.py
# Test tagifai/config.py components.
from tagifai import config
def test_config():
assert config.logger.name == "root"
| 17.444444 | 39 | 0.745223 | 22 | 157 | 5.227273 | 0.590909 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146497 | 157 | 8 | 40 | 19.625 | 0.858209 | 0.401274 | 0 | 0 | 0 | 0 | 0.043956 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4040c656cbefd59c255eae763e475762f8ba2365 | 47,713 | py | Python | tests/oracle_test.py | sh0nk/simple-db-migrate | 8483a4ae11f5aea5514da55d7ff139a5a1bb2a71 | [
"Apache-2.0"
] | 120 | 2015-01-22T20:09:41.000Z | 2021-11-06T00:00:28.000Z | tests/oracle_test.py | sh0nk/simple-db-migrate | 8483a4ae11f5aea5514da55d7ff139a5a1bb2a71 | [
"Apache-2.0"
] | 19 | 2015-01-12T15:01:44.000Z | 2020-10-12T11:50:01.000Z | tests/oracle_test.py | sh0nk/simple-db-migrate | 8483a4ae11f5aea5514da55d7ff139a5a1bb2a71 | [
"Apache-2.0"
] | 36 | 2015-01-26T15:45:57.000Z | 2022-01-11T07:00:24.000Z | #-*- coding:utf-8 -*-
import unittest
import sys
import simple_db_migrate.core
from mock import patch, Mock, MagicMock, call, sentinel
from simple_db_migrate.oracle import Oracle
from tests import BaseTest
class OracleTest(BaseTest):
def setUp(self):
super(OracleTest, self).setUp()
self.execute_re... | 53.549944 | 409 | 0.659296 | 6,149 | 47,713 | 4.838022 | 0.059522 | 0.073112 | 0.018152 | 0.02474 | 0.873307 | 0.853272 | 0.838045 | 0.82665 | 0.81438 | 0.801136 | 0 | 0.021306 | 0.226815 | 47,713 | 890 | 410 | 53.610112 | 0.785097 | 0.001069 | 0 | 0.667114 | 0 | 0.022819 | 0.348384 | 0.053 | 0 | 0 | 0 | 0.001124 | 0.202685 | 1 | 0.052349 | false | 0.045638 | 0.008054 | 0.004027 | 0.071141 | 0.005369 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4086a0653c503f236d614ba07fa09dcd593cae59 | 55 | py | Python | p003-2.py | jz1007/project-euler | 4c821d3412371718ab5ecc45b5c877cc631d2ee1 | [
"MIT"
] | null | null | null | p003-2.py | jz1007/project-euler | 4c821d3412371718ab5ecc45b5c877cc631d2ee1 | [
"MIT"
] | null | null | null | p003-2.py | jz1007/project-euler | 4c821d3412371718ab5ecc45b5c877cc631d2ee1 | [
"MIT"
] | null | null | null | import primefac as pf
print(pf.primefac(600851475143)) | 18.333333 | 32 | 0.818182 | 8 | 55 | 5.625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24 | 0.090909 | 55 | 3 | 32 | 18.333333 | 0.66 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
40aaa8c9a5f8f0eb8011dec0e02088a6da0e296e | 18 | py | Python | desktop/core/ext-py/nose-1.3.7/functional_tests/support/package3/src/b.py | kokosing/hue | 2307f5379a35aae9be871e836432e6f45138b3d9 | [
"Apache-2.0"
] | 5,079 | 2015-01-01T03:39:46.000Z | 2022-03-31T07:38:22.000Z | desktop/core/ext-py/nose-1.3.7/functional_tests/support/package3/src/b.py | zks888/hue | 93a8c370713e70b216c428caa2f75185ef809deb | [
"Apache-2.0"
] | 1,623 | 2015-01-01T08:06:24.000Z | 2022-03-30T19:48:52.000Z | desktop/core/ext-py/nose-1.3.7/functional_tests/support/package3/src/b.py | zks888/hue | 93a8c370713e70b216c428caa2f75185ef809deb | [
"Apache-2.0"
] | 2,033 | 2015-01-04T07:18:02.000Z | 2022-03-28T19:55:47.000Z | def b():
pass
| 6 | 8 | 0.444444 | 3 | 18 | 2.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.388889 | 18 | 2 | 9 | 9 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
40c5a1c93479cfa5db5b228580015b2c773f4eea | 96 | py | Python | venv/lib/python3.8/site-packages/pip/_vendor/distlib/manifest.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pip/_vendor/distlib/manifest.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_vendor/distlib/manifest.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/9d/01/21/626828ade681673c85cf062c5f124046eddfa38124ba7535eb7535ea21 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 96 | 1 | 96 | 96 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
40edd5b3254e582e8da0eac1036d32532379b525 | 46 | py | Python | server/users/tests/__init__.py | Sonatrix/reango | 5533bb126a5972f7f4124c6e9a26c6207596ff80 | [
"MIT"
] | 60 | 2016-12-12T19:46:41.000Z | 2019-04-29T05:09:50.000Z | server/users/tests/__init__.py | Sonatrix/reango | 5533bb126a5972f7f4124c6e9a26c6207596ff80 | [
"MIT"
] | 28 | 2016-11-06T19:25:38.000Z | 2018-06-11T22:43:01.000Z | server/users/tests/__init__.py | ncrmro/ango | 15bca070ed01ec8fa885a224305d1ac67d458b47 | [
"MIT"
] | 14 | 2016-11-30T22:01:12.000Z | 2019-03-07T22:45:09.000Z | from .browser import *
from .graphql import *
| 15.333333 | 22 | 0.73913 | 6 | 46 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9051b1de8a64b358a5a18c6fcf53bda32d94464a | 176 | py | Python | pyslash/__init__.py | chatorbot/pyslash | 2e42fd4cde7b2957545c88b86231f3204f59de2c | [
"MIT"
] | null | null | null | pyslash/__init__.py | chatorbot/pyslash | 2e42fd4cde7b2957545c88b86231f3204f59de2c | [
"MIT"
] | null | null | null | pyslash/__init__.py | chatorbot/pyslash | 2e42fd4cde7b2957545c88b86231f3204f59de2c | [
"MIT"
] | null | null | null | from .patcher import commands_init, slash_command_wrapper, slash_command_parent, update_commands_list
from .slash_command import CommandsContext, CommandsMessage, SlashCommand
| 58.666667 | 101 | 0.886364 | 21 | 176 | 7.047619 | 0.666667 | 0.243243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073864 | 176 | 2 | 102 | 88 | 0.907975 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
90587dc4e7db4e03097ad8ae09202343e5b3db30 | 16,173 | py | Python | tests/expectations/test_expectation_arguments.py | dz-1/great_expectations | 8caa2e78d71a4a49dd0c4175c328419b02c06e3b | [
"Apache-2.0"
] | null | null | null | tests/expectations/test_expectation_arguments.py | dz-1/great_expectations | 8caa2e78d71a4a49dd0c4175c328419b02c06e3b | [
"Apache-2.0"
] | null | null | null | tests/expectations/test_expectation_arguments.py | dz-1/great_expectations | 8caa2e78d71a4a49dd0c4175c328419b02c06e3b | [
"Apache-2.0"
] | null | null | null | import logging
from typing import List
import pandas as pd
import pytest
import great_expectations.exceptions as ge_exceptions
from great_expectations.core import (
ExpectationConfiguration,
ExpectationSuite,
ExpectationSuiteValidationResult,
ExpectationValidationResult,
)
from great_expectations.core... | 34.855603 | 120 | 0.703024 | 1,589 | 16,173 | 6.745752 | 0.108874 | 0.046646 | 0.02239 | 0.032839 | 0.868738 | 0.851665 | 0.851012 | 0.847934 | 0.839071 | 0.839071 | 0 | 0.002843 | 0.216967 | 16,173 | 463 | 121 | 34.930886 | 0.843572 | 0.068262 | 0 | 0.674931 | 0 | 0 | 0.153529 | 0.045594 | 0 | 0 | 0 | 0 | 0.055096 | 1 | 0.022039 | false | 0 | 0.033058 | 0 | 0.063361 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9077c64fdbb426583cf23b4bfc6f418347dbd11d | 32 | py | Python | gajou_api/src/gajou_api/http/__init__.py | ArtyomKomarenko/kaa | de9c7ed9ae51378597e1ab1e3d6c285d58fb2d34 | [
"MIT"
] | 3 | 2021-11-10T16:28:05.000Z | 2021-12-01T13:26:19.000Z | gajou_api/src/gajou_api/http/__init__.py | ArtyomKomarenko/kaa | de9c7ed9ae51378597e1ab1e3d6c285d58fb2d34 | [
"MIT"
] | 2 | 2022-03-16T07:09:21.000Z | 2022-03-25T12:23:07.000Z | gajou_api/src/gajou_api/http/__init__.py | ArtyomKomarenko/gajou | de9c7ed9ae51378597e1ab1e3d6c285d58fb2d34 | [
"MIT"
] | null | null | null | from .base_http import BaseHTTP
| 16 | 31 | 0.84375 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
907d2f14e39e05094d808fe6504737e56edfe6f7 | 295 | py | Python | pytsp/core/__init__.py | billsioros/pytsp | 7f3a8172bcb3bb9bec8655dcb490099b60a4c962 | [
"MIT"
] | 7 | 2020-07-09T10:26:28.000Z | 2021-06-13T06:40:30.000Z | pytsp/core/__init__.py | billsioros/pytsp | 7f3a8172bcb3bb9bec8655dcb490099b60a4c962 | [
"MIT"
] | null | null | null | pytsp/core/__init__.py | billsioros/pytsp | 7f3a8172bcb3bb9bec8655dcb490099b60a4c962 | [
"MIT"
] | null | null | null |
from pytsp.core.annealing import (AnnealingMixin, CompressedAnnealing,
SimulatedAnnealing)
from pytsp.core.genetic import GeneticAlgorithm
from pytsp.core.util import Model, cached, jarvis
from pytsp.core.tsp import TravellingSalesman, TravellingSalesmanTimeWindows
| 42.142857 | 76 | 0.779661 | 29 | 295 | 7.931034 | 0.586207 | 0.156522 | 0.226087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169492 | 295 | 6 | 77 | 49.166667 | 0.938776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
908ef0a56f8ed3bc4042554f27f9748d5a962e21 | 3,024 | py | Python | tests/components/knx/test_expose.py | mikan-megane/core | 837220cce40890e296920d33a623adbc11bd15a6 | [
"Apache-2.0"
] | 11 | 2018-02-16T15:35:47.000Z | 2020-01-14T15:20:00.000Z | tests/components/knx/test_expose.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 79 | 2020-07-23T07:13:37.000Z | 2022-03-22T06:02:37.000Z | tests/components/knx/test_expose.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 6 | 2018-02-04T03:48:55.000Z | 2022-01-24T20:37:04.000Z | """Test knx expose."""
from homeassistant.components.knx import CONF_KNX_EXPOSE, KNX_ADDRESS
from homeassistant.const import CONF_ATTRIBUTE, CONF_ENTITY_ID, CONF_TYPE
from . import setup_knx_integration
async def test_binary_expose(hass, knx_ip_interface_mock):
"""Test that a binary expose sends only telegrams... | 32.869565 | 73 | 0.681217 | 405 | 3,024 | 4.723457 | 0.150617 | 0.047047 | 0.13173 | 0.169367 | 0.794041 | 0.741767 | 0.741767 | 0.710403 | 0.710403 | 0.710403 | 0 | 0.00899 | 0.227513 | 3,024 | 91 | 74 | 33.230769 | 0.809932 | 0.069114 | 0 | 0.641791 | 0 | 0 | 0.07649 | 0 | 0 | 0 | 0 | 0 | 0.134328 | 1 | 0 | false | 0 | 0.044776 | 0 | 0.044776 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
90a3d2cec3576fa9a48bf38cff4b6f95da7ba0b7 | 22 | py | Python | contrib/tools/python/src/Lib/plat-mac/Carbon/Qdoffs.py | HeyLey/catboost | f472aed90604ebe727537d9d4a37147985e10ec2 | [
"Apache-2.0"
] | 6,989 | 2017-07-18T06:23:18.000Z | 2022-03-31T15:58:36.000Z | python/src/Lib/plat-mac/Carbon/Qdoffs.py | weiqiangzheng/sl4a | d3c17dca978cbeee545e12ea240a9dbf2a6999e9 | [
"Apache-2.0"
] | 1,978 | 2017-07-18T09:17:58.000Z | 2022-03-31T14:28:43.000Z | python/src/Lib/plat-mac/Carbon/Qdoffs.py | weiqiangzheng/sl4a | d3c17dca978cbeee545e12ea240a9dbf2a6999e9 | [
"Apache-2.0"
] | 1,228 | 2017-07-18T09:03:13.000Z | 2022-03-29T05:57:40.000Z | from _Qdoffs import *
| 11 | 21 | 0.772727 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
90d4db54417af84e30192b21cfdf4bab0437798b | 175 | py | Python | src/graph_transpiler/webdnn/backend/webgpu/kernels/tan.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | 1 | 2021-04-09T15:55:35.000Z | 2021-04-09T15:55:35.000Z | src/graph_transpiler/webdnn/backend/webgpu/kernels/tan.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | null | null | null | src/graph_transpiler/webdnn/backend/webgpu/kernels/tan.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | null | null | null | from webdnn.backend.webgpu.kernels.elementwise import register_elementwise_kernel
from webdnn.graph.operators.tan import Tan
register_elementwise_kernel(Tan, "y = tan(x0);")
| 35 | 81 | 0.834286 | 24 | 175 | 5.916667 | 0.583333 | 0.140845 | 0.352113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006173 | 0.074286 | 175 | 4 | 82 | 43.75 | 0.87037 | 0 | 0 | 0 | 0 | 0 | 0.068571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
90f5d25330153b1faf0adfa3b4e230d7f587bb5e | 126 | py | Python | txhlf/constants.py | jaarce/txhlf | dbcd301034f4055cda9e4454ebb7716830a5d92c | [
"BSD-3-Clause"
] | null | null | null | txhlf/constants.py | jaarce/txhlf | dbcd301034f4055cda9e4454ebb7716830a5d92c | [
"BSD-3-Clause"
] | null | null | null | txhlf/constants.py | jaarce/txhlf | dbcd301034f4055cda9e4454ebb7716830a5d92c | [
"BSD-3-Clause"
] | null | null | null | BASE_URL = 'https://67855FB478D442A3B541C51156D2DF84.blockchain.ocp.oraclecloud.com:443/restproxy1/bcsgw/rest/v1/transaction/' | 126 | 126 | 0.849206 | 14 | 126 | 7.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 0.015873 | 126 | 1 | 126 | 126 | 0.629032 | 0 | 0 | 0 | 0 | 1 | 0.889764 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
29077d7003bc115f282a0224893f98cbcb0230b4 | 18,860 | py | Python | datadog_checks_base/tests/test_metadata.py | tony612/integrations-core | eb2d97909bceea8296b931974e78d467c75c7470 | [
"BSD-3-Clause"
] | null | null | null | datadog_checks_base/tests/test_metadata.py | tony612/integrations-core | eb2d97909bceea8296b931974e78d467c75c7470 | [
"BSD-3-Clause"
] | null | null | null | datadog_checks_base/tests/test_metadata.py | tony612/integrations-core | eb2d97909bceea8296b931974e78d467c75c7470 | [
"BSD-3-Clause"
] | null | null | null | # (C) Datadog, Inc. 2019
# All rights reserved
# Licensed under a 3-clause BSD style license (see LICENSE)
import json
import logging
import re
from collections import OrderedDict
import mock
import pytest
from datadog_checks.base import AgentCheck
pytestmark = pytest.mark.metadata
SET_CHECK_METADATA_METHOD = 'data... | 39.047619 | 120 | 0.56474 | 2,261 | 18,860 | 4.529854 | 0.092437 | 0.050576 | 0.057411 | 0.056044 | 0.800723 | 0.790373 | 0.771431 | 0.756981 | 0.729057 | 0.725932 | 0 | 0.035775 | 0.285631 | 18,860 | 482 | 121 | 39.128631 | 0.724412 | 0.008749 | 0 | 0.623626 | 0 | 0.016484 | 0.208079 | 0.018513 | 0 | 0 | 0 | 0 | 0.269231 | 1 | 0.074176 | false | 0.005495 | 0.019231 | 0 | 0.10989 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2907d63c1ce52b5eabe6f375abda69f54aac7ae8 | 30 | py | Python | conekt/flask_blast/__init__.py | legumeinfo/CoNekT | 709a4980cfa255cafd456b268e274db2b4b1f5fb | [
"MIT"
] | 14 | 2018-08-20T03:07:21.000Z | 2021-11-04T11:15:31.000Z | conekt/flask_blast/__init__.py | mutwil/CoNekT | f4a4496a87d14b15bcf587975b31a2edc24c6bf7 | [
"MIT"
] | 9 | 2018-07-17T15:30:47.000Z | 2021-07-05T13:11:54.000Z | conekt/flask_blast/__init__.py | mutwil/CoNekT | f4a4496a87d14b15bcf587975b31a2edc24c6bf7 | [
"MIT"
] | 3 | 2019-08-05T09:16:34.000Z | 2019-12-04T23:59:28.000Z | from .blast import BlastThread | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2920e659e9334d6742eaae20c4bb2cc66b910c21 | 4,073 | py | Python | test/priors/test_normal_prior.py | techshot25/gpytorch | b4aee6f81a3428172d4914e7e0fef0e71cd1f519 | [
"MIT"
] | 1 | 2019-11-08T11:25:56.000Z | 2019-11-08T11:25:56.000Z | test/priors/test_normal_prior.py | VonRosenchild/gpytorch | 092d523027a844939ba85d7ea8c8c7b7511843d5 | [
"MIT"
] | null | null | null | test/priors/test_normal_prior.py | VonRosenchild/gpytorch | 092d523027a844939ba85d7ea8c8c7b7511843d5 | [
"MIT"
] | 1 | 2021-07-02T19:40:07.000Z | 2021-07-02T19:40:07.000Z | #!/usr/bin/env python3
import unittest
import torch
from gpytorch.priors import NormalPrior
from gpytorch.test.utils import least_used_cuda_device
from torch.distributions import Normal
class TestNormalPrior(unittest.TestCase):
def test_normal_prior_to_gpu(self):
if torch.cuda.is_available():
... | 42.873684 | 79 | 0.653081 | 578 | 4,073 | 4.422145 | 0.112457 | 0.087637 | 0.062598 | 0.101721 | 0.81964 | 0.81964 | 0.798122 | 0.755869 | 0.720657 | 0.699531 | 0 | 0.022036 | 0.208937 | 4,073 | 94 | 80 | 43.329787 | 0.77126 | 0.005156 | 0 | 0.605263 | 0 | 0 | 0.009134 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 1 | 0.105263 | false | 0 | 0.065789 | 0 | 0.223684 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
293b2a66bea32583eb57acca865d13c2909d52fd | 28 | py | Python | nicepy/tof/__init__.py | Campbell-IonMolecule/nicepy | c1c3f00a29795f520e1d898957784a975328fca2 | [
"MIT"
] | null | null | null | nicepy/tof/__init__.py | Campbell-IonMolecule/nicepy | c1c3f00a29795f520e1d898957784a975328fca2 | [
"MIT"
] | null | null | null | nicepy/tof/__init__.py | Campbell-IonMolecule/nicepy | c1c3f00a29795f520e1d898957784a975328fca2 | [
"MIT"
] | null | null | null | from nicepy.tof.tof import * | 28 | 28 | 0.785714 | 5 | 28 | 4.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2969ccb8280d4ab99c60836d2ead1b9f6af595b8 | 25,615 | py | Python | test/integration/component/test_organization_states.py | lujiefsi/cloudstack | 74a7cbf753537928265c1f36afe086d69ad44e90 | [
"Apache-2.0"
] | 1 | 2020-06-17T08:53:55.000Z | 2020-06-17T08:53:55.000Z | test/integration/component/test_organization_states.py | lujiefsi/cloudstack | 74a7cbf753537928265c1f36afe086d69ad44e90 | [
"Apache-2.0"
] | 4 | 2016-06-01T14:35:16.000Z | 2020-06-24T14:09:05.000Z | test/integration/component/test_organization_states.py | lujiefsi/cloudstack | 74a7cbf753537928265c1f36afe086d69ad44e90 | [
"Apache-2.0"
] | 1 | 2017-04-03T18:22:22.000Z | 2017-04-03T18:22:22.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 40.85327 | 125 | 0.603279 | 2,761 | 25,615 | 5.507425 | 0.10105 | 0.026042 | 0.026766 | 0.025648 | 0.816454 | 0.799684 | 0.778114 | 0.732343 | 0.712877 | 0.705314 | 0 | 0.005563 | 0.30529 | 25,615 | 626 | 126 | 40.91853 | 0.848946 | 0.128792 | 0 | 0.679901 | 0 | 0.007444 | 0.198952 | 0 | 0 | 0 | 0 | 0 | 0.091811 | 1 | 0.07196 | false | 0 | 0.029777 | 0.004963 | 0.111663 | 0.004963 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
29843cde40a686912d9c5b78a12cf2d9d6355a9a | 6,133 | py | Python | tests/app/api/services/test_abr.py | AusDTO/dto-digitalmarketplace-api | 937843c9c01a71518cf4688b4daa55bbe7df1965 | [
"MIT"
] | 6 | 2017-06-09T03:38:53.000Z | 2021-12-22T02:42:15.000Z | tests/app/api/services/test_abr.py | AusDTO/dto-digitalmarketplace-api | 937843c9c01a71518cf4688b4daa55bbe7df1965 | [
"MIT"
] | 47 | 2016-08-02T05:21:31.000Z | 2022-03-28T01:14:17.000Z | tests/app/api/services/test_abr.py | AusDTO/dto-digitalmarketplace-api | 937843c9c01a71518cf4688b4daa55bbe7df1965 | [
"MIT"
] | 7 | 2016-09-13T13:07:18.000Z | 2021-02-17T10:16:21.000Z | import pytest
from app.api.services import abr_service
from app.api.business.errors import AbrError
import requests
import mock
from mock import patch
class TestAbrService():
def mocked_find_business_by_abn(self):
data = '<ABR><response><stateCode>NSW</stateCode><postcode>2750</postcode>'\
'<... | 47.176923 | 119 | 0.725583 | 801 | 6,133 | 5.213483 | 0.113608 | 0.064655 | 0.070402 | 0.085489 | 0.837883 | 0.825192 | 0.800527 | 0.779693 | 0.768678 | 0.744732 | 0 | 0.001575 | 0.17202 | 6,133 | 129 | 120 | 47.542636 | 0.820796 | 0 | 0 | 0.409524 | 0 | 0 | 0.251101 | 0.17039 | 0 | 0 | 0 | 0 | 0.085714 | 1 | 0.171429 | false | 0 | 0.057143 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
469675e829c35b4f742d00ddf8703e46eb2ca6ae | 96 | py | Python | venv/lib/python3.8/site-packages/virtualenv/seed/wheels/acquire.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/virtualenv/seed/wheels/acquire.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/virtualenv/seed/wheels/acquire.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/48/9b/8a/86a24f142fd29f8950b6d23fa4019951798edcb1a055a433bc6cba586a | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
46a5e14c78ed76c9faadade20e3030f9fd288872 | 34 | py | Python | basics/hello.py | ashwinkonireddy/pythonAutomation | d551a51744a4f8ba3d6f8def3c070f6565ac233f | [
"MIT"
] | null | null | null | basics/hello.py | ashwinkonireddy/pythonAutomation | d551a51744a4f8ba3d6f8def3c070f6565ac233f | [
"MIT"
] | null | null | null | basics/hello.py | ashwinkonireddy/pythonAutomation | d551a51744a4f8ba3d6f8def3c070f6565ac233f | [
"MIT"
] | null | null | null | print("Welcome To python class 1") | 34 | 34 | 0.764706 | 6 | 34 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.117647 | 34 | 1 | 34 | 34 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
313254db8a5cd4c9ebec4f3e3c31ea4d8f0f811e | 30 | py | Python | app/rooms/examples/eg001_create_room_with_data/__init__.py | olegliubimov/code-examples-python | 7af8c58138a9dd0f3b0be12eff1768ae23e449d3 | [
"MIT"
] | 21 | 2020-05-13T21:08:44.000Z | 2022-02-18T01:32:16.000Z | app/rooms/examples/eg001_create_room_with_data/__init__.py | olegliubimov/code-examples-python | 7af8c58138a9dd0f3b0be12eff1768ae23e449d3 | [
"MIT"
] | 8 | 2020-11-23T09:28:04.000Z | 2022-02-02T12:04:08.000Z | app/rooms/examples/eg001_create_room_with_data/__init__.py | olegliubimov/code-examples-python | 7af8c58138a9dd0f3b0be12eff1768ae23e449d3 | [
"MIT"
] | 26 | 2020-05-12T22:20:01.000Z | 2022-03-09T10:57:27.000Z | from .views import eg001Rooms
| 15 | 29 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 0.133333 | 30 | 1 | 30 | 30 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
314350f200594460a6c5fdfcfae4a63419885883 | 34,125 | py | Python | pirates/leveleditor/worldData/interior_spanish_store_voodoo.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 81 | 2018-04-08T18:14:24.000Z | 2022-01-11T07:22:15.000Z | pirates/leveleditor/worldData/interior_spanish_store_voodoo.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 4 | 2018-09-13T20:41:22.000Z | 2022-01-08T06:57:00.000Z | pirates/leveleditor/worldData/interior_spanish_store_voodoo.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 26 | 2018-05-26T12:49:27.000Z | 2021-09-11T09:11:59.000Z | from pandac.PandaModules import Point3, VBase3, Vec4, Vec3
objectStruct = {'Objects': {'1155774520.99fxlara0': {'Type': 'Building Interior','Name': '','Instanced': True,'Objects': {'1167169513.29kmuller': {'Type': 'Furniture','DisableCollision': False,'Holiday': '','Hpr': VBase3(89.625, 0.0, 0.0),'Pos': Point3(-14.077,... | 11,375 | 33,922 | 0.690051 | 4,651 | 34,125 | 4.99785 | 0.13954 | 0.023489 | 0.022586 | 0.018068 | 0.614627 | 0.515638 | 0.489654 | 0.439234 | 0.40955 | 0.373457 | 0 | 0.282046 | 0.04715 | 34,125 | 3 | 33,923 | 11,375 | 0.432833 | 0 | 0 | 0 | 0 | 0 | 0.557346 | 0.313016 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
31462927a47b411286fcf71684d60aeaa3144fc2 | 10,318 | py | Python | tests/sampling/sampler_tests.py | skad00sh/gsudmlab-mvtsdata_toolkit | 2c5495deb6d31eef556e7f410ac1c1632bffa961 | [
"MIT"
] | 7 | 2020-07-07T10:27:02.000Z | 2021-04-02T13:20:24.000Z | tests/sampling/sampler_tests.py | skad00sh/gsudmlab-mvtsdata_toolkit | 2c5495deb6d31eef556e7f410ac1c1632bffa961 | [
"MIT"
] | 3 | 2020-03-31T09:35:53.000Z | 2021-08-23T20:46:33.000Z | tests/sampling/sampler_tests.py | skad00sh/gsudmlab-mvtsdata_toolkit | 2c5495deb6d31eef556e7f410ac1c1632bffa961 | [
"MIT"
] | 3 | 2020-08-31T10:21:21.000Z | 2021-12-01T11:38:17.000Z | import unittest
import os
import pandas as pd
import numpy as np
from mvtsdatatoolkit.sampling.sampler import Sampler
import CONSTANTS as CONST
class TestSampler(unittest.TestCase):
@classmethod
def setUpClass(cls) -> None:
path_to_mvts = os.path.join(CONST.ROOT,
'... | 51.849246 | 100 | 0.613006 | 1,252 | 10,318 | 4.839457 | 0.095048 | 0.095065 | 0.07427 | 0.058095 | 0.833636 | 0.799307 | 0.789404 | 0.788249 | 0.73692 | 0.725367 | 0 | 0.035187 | 0.264586 | 10,318 | 198 | 101 | 52.111111 | 0.76331 | 0.163791 | 0 | 0.614379 | 0 | 0 | 0.033153 | 0.0087 | 0 | 0 | 0 | 0 | 0.117647 | 1 | 0.117647 | false | 0.006536 | 0.039216 | 0 | 0.163399 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
31804f98b0eea1113a0ccf3cc0b29ce1ff677c26 | 122 | py | Python | cogs/dashboard/__init__.py | tuna2134/hortbot | 43176217a59af9b3ed16b2aa911b3a267569009e | [
"BSD-3-Clause"
] | 1 | 2021-11-17T15:08:07.000Z | 2021-11-17T15:08:07.000Z | cogs/dashboard/__init__.py | tuna2134/hortbot | 43176217a59af9b3ed16b2aa911b3a267569009e | [
"BSD-3-Clause"
] | null | null | null | cogs/dashboard/__init__.py | tuna2134/hortbot | 43176217a59af9b3ed16b2aa911b3a267569009e | [
"BSD-3-Clause"
] | null | null | null | from .discord import Discord
from .web import web
def setup(bot):
bot.add_cog(Discord(bot))
bot.add_cog(web(bot)) | 20.333333 | 29 | 0.713115 | 21 | 122 | 4.047619 | 0.428571 | 0.141176 | 0.211765 | 0.282353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163934 | 122 | 6 | 30 | 20.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
31a42aea0c2015392e9bdfd5566d048cba44ed1e | 36 | py | Python | t_1000/__init__.py | chao5645/T-1000 | 99751bcfd79bd94df3667e7311e3b3af2b912505 | [
"MIT"
] | 111 | 2019-10-30T01:12:49.000Z | 2022-03-10T04:54:43.000Z | t_1000/__init__.py | charlesedwards/T-1000 | 5d88f74ddb2a0d47c3101072d6b9f6971fb2ba26 | [
"MIT"
] | 16 | 2019-10-24T15:52:05.000Z | 2022-02-05T17:55:02.000Z | t_1000/__init__.py | charlesedwards/T-1000 | 5d88f74ddb2a0d47c3101072d6b9f6971fb2ba26 | [
"MIT"
] | 33 | 2019-11-03T14:51:23.000Z | 2021-12-02T07:40:25.000Z | from t_1000.application import T1000 | 36 | 36 | 0.888889 | 6 | 36 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242424 | 0.083333 | 36 | 1 | 36 | 36 | 0.69697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
31bef2b3e4f27f6e4970d82923121f0d4bc59be7 | 8,942 | py | Python | tests/unit_test_benchmarking.py | JamesPHoughton/pysd | 5885d622144dd81af96e3c875bac74c51ddba62f | [
"MIT"
] | 240 | 2015-01-10T21:32:27.000Z | 2022-03-18T07:55:55.000Z | tests/unit_test_benchmarking.py | JamesPHoughton/pysd | 5885d622144dd81af96e3c875bac74c51ddba62f | [
"MIT"
] | 304 | 2015-01-20T18:51:06.000Z | 2022-03-25T10:54:45.000Z | tests/unit_test_benchmarking.py | JamesPHoughton/pysd | 5885d622144dd81af96e3c875bac74c51ddba62f | [
"MIT"
] | 72 | 2015-05-14T21:15:58.000Z | 2022-02-04T16:33:31.000Z | import os
from unittest import TestCase
# most of the features of this script are already tested indirectly when
# running vensim and xmile integration tests
_root = os.path.dirname(__file__)
class TestErrors(TestCase):
def test_canonical_file_not_found(self):
from pysd.tools.benchmarking import runner... | 32.875 | 77 | 0.552449 | 1,007 | 8,942 | 4.776564 | 0.148957 | 0.064865 | 0.022453 | 0.048649 | 0.824324 | 0.802495 | 0.76736 | 0.706653 | 0.643867 | 0.623077 | 0 | 0.009992 | 0.339633 | 8,942 | 271 | 78 | 32.99631 | 0.804572 | 0.025498 | 0 | 0.721393 | 0 | 0 | 0.174248 | 0.037216 | 0 | 0 | 0 | 0 | 0.338308 | 1 | 0.044776 | false | 0 | 0.069652 | 0 | 0.119403 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7301facf76e5da26ad9ab128a5cb08be40a62481 | 5,965 | py | Python | setup.py | molML/MoleculeACE | e831d2371a9b89f4853a03d5c04cc4bf59f64ee0 | [
"MIT"
] | 9 | 2022-03-26T17:36:03.000Z | 2022-03-29T19:50:26.000Z | setup.py | molML/MoleculeACE | e831d2371a9b89f4853a03d5c04cc4bf59f64ee0 | [
"MIT"
] | null | null | null | setup.py | molML/MoleculeACE | e831d2371a9b89f4853a03d5c04cc4bf59f64ee0 | [
"MIT"
] | null | null | null | from setuptools import setup
setup(
name='MoleculeACE',
version='1.0.9',
packages=['MoleculeACE', 'MoleculeACE.ML', 'MoleculeACE.CNN', 'MoleculeACE.MLP', 'MoleculeACE.GNN',
'MoleculeACE.GNN.data', 'MoleculeACE.GNN.models', 'MoleculeACE.GNN.models.optimization',
'MoleculeACE.LSTM... | 55.231481 | 109 | 0.58793 | 478 | 5,965 | 7.179916 | 0.209205 | 0.269231 | 0.415501 | 0.30711 | 0.719988 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055859 | 0.294719 | 5,965 | 107 | 110 | 55.747664 | 0.759924 | 0 | 0 | 0.018868 | 0 | 0 | 0.623806 | 0.563118 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.018868 | 0 | 0.018868 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7310011ae7340cef3ca71cf061f21ce54bb9ce36 | 8,678 | py | Python | matcher-server/background/libs/postprocessing.py | mauriciabad/3d-print-matcher | 93a9edf350df4ac03ee02b53d22051396ba9792c | [
"MIT"
] | null | null | null | matcher-server/background/libs/postprocessing.py | mauriciabad/3d-print-matcher | 93a9edf350df4ac03ee02b53d22051396ba9792c | [
"MIT"
] | null | null | null | matcher-server/background/libs/postprocessing.py | mauriciabad/3d-print-matcher | 93a9edf350df4ac03ee02b53d22051396ba9792c | [
"MIT"
] | null | null | null | """
Name: Post-processing class file
Description: This file contains post-processing classes.
Version: [release][3.2]
Source url: https://github.com/OPHoperHPO/image-background-remove-tool
Author: Anodev (OPHoperHPO)[https://github.com/OPHoperHPO] .
License: Apache License 2.0
License:
Copyright 2020 OPHoperHPO
... | 38.229075 | 118 | 0.644388 | 1,103 | 8,678 | 4.939257 | 0.216682 | 0.04185 | 0.017621 | 0.021109 | 0.722651 | 0.722651 | 0.722651 | 0.722651 | 0.722651 | 0.722651 | 0 | 0.018477 | 0.276561 | 8,678 | 226 | 119 | 38.39823 | 0.849315 | 0.416916 | 0 | 0.841122 | 0 | 0 | 0.009309 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102804 | false | 0 | 0.084112 | 0 | 0.317757 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7312a3521acdd2c49e033253eb5751521f15b47d | 9,720 | py | Python | courses/models.py | sisekelohub/sisekelo | 7e1b0de6abf07e65ed746d0d929c3de37fb421c3 | [
"MIT"
] | 1 | 2022-02-20T16:03:04.000Z | 2022-02-20T16:03:04.000Z | courses/models.py | sisekelohub/sisekelo | 7e1b0de6abf07e65ed746d0d929c3de37fb421c3 | [
"MIT"
] | null | null | null | courses/models.py | sisekelohub/sisekelo | 7e1b0de6abf07e65ed746d0d929c3de37fb421c3 | [
"MIT"
] | null | null | null | from django.db import models
from django.utils.text import slugify
from django.utils.timezone import now
from django.urls import reverse
class Nfq(models.Model):
name = models.CharField(max_length=100)
level = models.IntegerField(null=True)
def __str__(self):
return self.name
class Program_Cata... | 42.819383 | 112 | 0.692078 | 1,119 | 9,720 | 5.810545 | 0.134048 | 0.04291 | 0.077515 | 0.103353 | 0.822362 | 0.796678 | 0.770686 | 0.763611 | 0.741772 | 0.718702 | 0 | 0.010849 | 0.175 | 9,720 | 227 | 113 | 42.819383 | 0.799975 | 0.172222 | 0 | 0.598765 | 0 | 0 | 0.153558 | 0.027965 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0 | 0.024691 | 0.037037 | 0.67284 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
733ae627325cd73e8e340f347fb348563eaa6c4c | 141 | py | Python | app/tokengen.py | thenigan/online-ratings | bf0caf087bce80560aa9fb3e44ec620f652eb96a | [
"MIT"
] | null | null | null | app/tokengen.py | thenigan/online-ratings | bf0caf087bce80560aa9fb3e44ec620f652eb96a | [
"MIT"
] | null | null | null | app/tokengen.py | thenigan/online-ratings | bf0caf087bce80560aa9fb3e44ec620f652eb96a | [
"MIT"
] | null | null | null | from uuid import uuid4
class UUIDTokenGenerator():
def __init__(self):
pass
def create(self):
return str(uuid4())
| 14.1 | 27 | 0.624113 | 16 | 141 | 5.25 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019802 | 0.283688 | 141 | 9 | 28 | 15.666667 | 0.811881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
7355fa42ca301ff2485c928b1e2b7dfa6d1938d4 | 101,729 | py | Python | status_handler.py | manhon95/QMG_bot | 3409bb3d3031aa22e3dd27cbbc37c6b0bf20fc42 | [
"BSD-3-Clause"
] | null | null | null | status_handler.py | manhon95/QMG_bot | 3409bb3d3031aa22e3dd27cbbc37c6b0bf20fc42 | [
"BSD-3-Clause"
] | 4 | 2021-12-15T05:06:13.000Z | 2021-12-15T05:07:32.000Z | status_handler.py | manhon95/QMG_bot | 3409bb3d3031aa22e3dd27cbbc37c6b0bf20fc42 | [
"BSD-3-Clause"
] | null | null | null | import telegram
import sqlite3
import function
import cardfunction
import thread_lock
import ast
import air
import drawmap
import os
from telegram import InlineKeyboardButton, InlineKeyboardMarkup
from telegram.ext import Updater, CommandHandler, CallbackQueryHandler, MessageHandler, Filters
org_dir = os.getcwd()
cl... | 75.076753 | 394 | 0.575382 | 12,238 | 101,729 | 4.600752 | 0.03293 | 0.030904 | 0.051719 | 0.06369 | 0.898995 | 0.881323 | 0.859868 | 0.851822 | 0.831646 | 0.811523 | 0 | 0.031938 | 0.245004 | 101,729 | 1,354 | 395 | 75.132201 | 0.701139 | 0.020112 | 0 | 0.63876 | 0 | 0.037209 | 0.186682 | 0.012092 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021705 | false | 0.044961 | 0.008527 | 0 | 0.051163 | 0.026357 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7df3ff6948463e3298bdb76accca2358d38d5af0 | 117 | py | Python | src/core/utils.py | brianl9995/payinv | 7fc2160c2c9bbb9568a659ff3edf2526142d33fc | [
"MIT"
] | 2 | 2019-09-21T23:36:49.000Z | 2019-10-02T23:31:21.000Z | src/core/utils.py | brianl9995/payinv | 7fc2160c2c9bbb9568a659ff3edf2526142d33fc | [
"MIT"
] | 2 | 2019-10-04T13:51:43.000Z | 2021-06-10T21:57:55.000Z | src/core/utils.py | brianl9995/payinv | 7fc2160c2c9bbb9568a659ff3edf2526142d33fc | [
"MIT"
] | 2 | 2019-10-02T23:31:22.000Z | 2020-06-07T14:57:55.000Z | from django.utils.translation import ugettext as _
def yes_or_no(value):
return _('Yes') if value else _('No')
| 19.5 | 50 | 0.717949 | 18 | 117 | 4.388889 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17094 | 117 | 5 | 51 | 23.4 | 0.814433 | 0 | 0 | 0 | 0 | 0 | 0.042735 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
b445225f04869827e06dd8a4a7e09dcfe72ca55e | 58,642 | py | Python | spiketoolkit/validation/quality_metrics.py | teristam/spiketoolk | 0ae7adabce46cf620c3627ee0093d890996ef355 | [
"MIT"
] | 55 | 2018-11-26T21:57:45.000Z | 2021-06-14T15:27:50.000Z | spiketoolkit/validation/quality_metrics.py | teristam/spiketoolk | 0ae7adabce46cf620c3627ee0093d890996ef355 | [
"MIT"
] | 364 | 2018-11-26T21:57:08.000Z | 2021-07-27T12:29:28.000Z | spiketoolkit/validation/quality_metrics.py | teristam/spiketoolk | 0ae7adabce46cf620c3627ee0093d890996ef355 | [
"MIT"
] | 40 | 2018-11-23T12:33:44.000Z | 2021-09-28T10:27:07.000Z | from .quality_metric_classes.metric_data import MetricData
from .quality_metric_classes.amplitude_cutoff import AmplitudeCutoff
from .quality_metric_classes.silhouette_score import SilhouetteScore
from .quality_metric_classes.num_spikes import NumSpikes
from .quality_metric_classes.firing_rate import FiringRate
from .q... | 44.662605 | 120 | 0.652297 | 7,205 | 58,642 | 5.099098 | 0.042748 | 0.02153 | 0.018509 | 0.011323 | 0.883312 | 0.87041 | 0.852555 | 0.848063 | 0.839571 | 0.831487 | 0 | 0.002869 | 0.292811 | 58,642 | 1,312 | 121 | 44.696646 | 0.883027 | 0.582859 | 0 | 0.665037 | 0 | 0 | 0.113447 | 0.024679 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036675 | false | 0 | 0.04401 | 0.002445 | 0.117359 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b4540eaebd9ffd0e09119f8fb6fe760b4481f50e | 3,544 | py | Python | tests/unit_tests/test_tethys_services/test_models/test_SpatialDatasetService.py | ezrajrice/tethys | 238271ebb09913f1f57b0d127fd5c81bb4780a0a | [
"BSD-2-Clause"
] | 79 | 2015-10-05T13:13:28.000Z | 2022-02-01T12:30:33.000Z | tests/unit_tests/test_tethys_services/test_models/test_SpatialDatasetService.py | ezrajrice/tethys | 238271ebb09913f1f57b0d127fd5c81bb4780a0a | [
"BSD-2-Clause"
] | 542 | 2015-08-12T22:11:32.000Z | 2022-03-29T22:18:08.000Z | tests/unit_tests/test_tethys_services/test_models/test_SpatialDatasetService.py | Aquaveo/tethys | 15f67c3fb9458d3af2733542be5ea6391f33b222 | [
"BSD-2-Clause"
] | 71 | 2016-01-16T01:03:41.000Z | 2022-03-31T17:55:54.000Z | from tethys_sdk.testing import TethysTestCase
import tethys_services.models as service_model
from unittest import mock
class SpatialDatasetServiceTests(TethysTestCase):
def set_up(self):
pass
def tear_down(self):
pass
def test__str__(self):
sds = service_model.SpatialDatasetServi... | 38.107527 | 117 | 0.672686 | 371 | 3,544 | 6.132075 | 0.169811 | 0.052747 | 0.130549 | 0.070769 | 0.780659 | 0.738022 | 0.738022 | 0.717363 | 0.717363 | 0.717363 | 0 | 0 | 0.217551 | 3,544 | 92 | 118 | 38.521739 | 0.820411 | 0.014391 | 0 | 0.643836 | 0 | 0 | 0.21961 | 0.075975 | 0 | 0 | 0 | 0 | 0.164384 | 1 | 0.09589 | false | 0.123288 | 0.041096 | 0 | 0.150685 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b48656e9cfe3f8ee5351f07e325134a7866c72a3 | 40 | py | Python | Lib/test/test_compiler/testcorpus/77_class__class__no_class.py | diogommartins/cinder | 79103e9119cbecef3b085ccf2878f00c26e1d175 | [
"CNRI-Python-GPL-Compatible"
] | 1,886 | 2021-05-03T23:58:43.000Z | 2022-03-31T19:15:58.000Z | Lib/test/test_compiler/testcorpus/77_class__class__no_class.py | diogommartins/cinder | 79103e9119cbecef3b085ccf2878f00c26e1d175 | [
"CNRI-Python-GPL-Compatible"
] | 70 | 2021-05-04T23:25:35.000Z | 2022-03-31T18:42:08.000Z | Lib/test/test_compiler/testcorpus/77_class__class__no_class.py | diogommartins/cinder | 79103e9119cbecef3b085ccf2878f00c26e1d175 | [
"CNRI-Python-GPL-Compatible"
] | 52 | 2021-05-04T21:26:03.000Z | 2022-03-08T18:02:56.000Z | def f():
def g():
__class__
| 10 | 17 | 0.425 | 5 | 40 | 2.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.425 | 40 | 3 | 18 | 13.333333 | 0.565217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.666667 | true | 0 | 0 | 0 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
81f43ae686bbb957c6c9e01f1cb7ae1d6227155c | 9,817 | py | Python | plasma_framework/python_tests/tests/contracts/root_chain/test_challenge_in_flight_exit_not_canonical.py | EgoInc/plasma-contracts | 849d2706164a96079df42771d083e2ba68d448bd | [
"Apache-2.0"
] | 76 | 2018-07-09T12:59:39.000Z | 2020-05-24T09:19:35.000Z | plasma_framework/python_tests/tests/contracts/root_chain/test_challenge_in_flight_exit_not_canonical.py | EgoInc/plasma-contracts | 849d2706164a96079df42771d083e2ba68d448bd | [
"Apache-2.0"
] | 441 | 2018-07-04T13:31:50.000Z | 2020-05-28T02:13:55.000Z | plasma_framework/python_tests/tests/contracts/root_chain/test_challenge_in_flight_exit_not_canonical.py | EgoInc/plasma-contracts | 849d2706164a96079df42771d083e2ba68d448bd | [
"Apache-2.0"
] | 46 | 2018-07-09T12:59:49.000Z | 2020-04-02T14:17:41.000Z | import pytest
from eth_tester.exceptions import TransactionFailed
from plasma_core.constants import NULL_ADDRESS
def test_challenge_in_flight_exit_not_canonical_should_succeed(testlang):
owner_1, owner_2, amount = testlang.accounts[0], testlang.accounts[1], 100
deposit_id = testlang.deposit(owner_1, amount)
... | 52.497326 | 126 | 0.706733 | 1,294 | 9,817 | 4.914992 | 0.061824 | 0.073742 | 0.075472 | 0.041509 | 0.93239 | 0.919025 | 0.901572 | 0.858648 | 0.841981 | 0.821698 | 0 | 0.029836 | 0.20108 | 9,817 | 186 | 127 | 52.77957 | 0.781079 | 0 | 0 | 0.651852 | 0 | 0 | 0.002852 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 1 | 0.074074 | false | 0 | 0.022222 | 0 | 0.096296 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c32aa7674a116fe94e2ee08b56abd5e9e9ff9d2f | 12,971 | py | Python | tests/test_roles.py | KrishnaKanth1729/API | 54c295379633f7a434c00f40da4f784c5d43a84f | [
"MIT"
] | null | null | null | tests/test_roles.py | KrishnaKanth1729/API | 54c295379633f7a434c00f40da4f784c5d43a84f | [
"MIT"
] | null | null | null | tests/test_roles.py | KrishnaKanth1729/API | 54c295379633f7a434c00f40da4f784c5d43a84f | [
"MIT"
] | null | null | null | import pytest
from httpx import AsyncClient
from api.models import Role, UserRole
from api.models.permissions import ManageRoles
@pytest.fixture
async def manage_roles_role(db):
query = """
INSERT INTO roles (id, name, color, permissions, position)
VALUES (create_snowflake(), $1, $2, $3, (SEL... | 31.636585 | 98 | 0.538355 | 1,509 | 12,971 | 4.523526 | 0.083499 | 0.041313 | 0.068122 | 0.061529 | 0.878406 | 0.862731 | 0.847495 | 0.832699 | 0.802666 | 0.74143 | 0 | 0.033019 | 0.320561 | 12,971 | 409 | 99 | 31.713936 | 0.741518 | 0.013337 | 0 | 0.694915 | 0 | 0.019774 | 0.3208 | 0.022434 | 0 | 0 | 0.008286 | 0 | 0.048023 | 1 | 0 | false | 0 | 0.011299 | 0 | 0.011299 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6f32fb422bdca18fe4dc2aa522b97e6aebe35fc8 | 19,144 | py | Python | tests/unit/states/test_win_path.py | byteskeptical/salt | 637fe0b04f38b2274191b005d73b3c6707d7f400 | [
"Apache-2.0"
] | 12 | 2015-01-21T00:18:25.000Z | 2021-07-11T07:35:26.000Z | tests/unit/states/test_win_path.py | byteskeptical/salt | 637fe0b04f38b2274191b005d73b3c6707d7f400 | [
"Apache-2.0"
] | 86 | 2017-01-27T11:54:46.000Z | 2020-05-20T06:25:26.000Z | tests/unit/states/test_win_path.py | byteskeptical/salt | 637fe0b04f38b2274191b005d73b3c6707d7f400 | [
"Apache-2.0"
] | 12 | 2015-01-05T09:50:42.000Z | 2019-08-19T01:43:40.000Z | # -*- coding: utf-8 -*-
'''
Tests for win_path states
'''
# Import Python Libs
from __future__ import absolute_import, print_function, unicode_literals
import copy
# Import Salt Testing Libs
from tests.support.mixins import LoaderModuleMockMixin
from tests.support.unit import TestCase, skipIf
from tests.support.mock ... | 35.917448 | 94 | 0.545341 | 2,167 | 19,144 | 4.523766 | 0.073373 | 0.079261 | 0.039172 | 0.052229 | 0.877691 | 0.867592 | 0.860247 | 0.831174 | 0.805978 | 0.794553 | 0 | 0.005483 | 0.342666 | 19,144 | 532 | 95 | 35.984962 | 0.773522 | 0.110792 | 0 | 0.64467 | 0 | 0 | 0.127948 | 0 | 0 | 0 | 0 | 0 | 0.106599 | 1 | 0.050761 | false | 0 | 0.015228 | 0.005076 | 0.073604 | 0.002538 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6f67d7c26991f6f3e93839fef98d54026e55f7be | 43 | py | Python | deepstack/intelligencelayer/shared/recognition/__init__.py | mayop/DeepStack | 8b05c0a69dce65513638def0a8a21c87fd8409f1 | [
"Apache-2.0"
] | 1 | 2021-01-03T05:47:42.000Z | 2021-01-03T05:47:42.000Z | deepstack/intelligencelayer/shared/recognition/__init__.py | robmarkcole/DeepStack | 8b05c0a69dce65513638def0a8a21c87fd8409f1 | [
"Apache-2.0"
] | null | null | null | deepstack/intelligencelayer/shared/recognition/__init__.py | robmarkcole/DeepStack | 8b05c0a69dce65513638def0a8a21c87fd8409f1 | [
"Apache-2.0"
] | null | null | null | from .process import FaceRecognitionModel
| 21.5 | 42 | 0.860465 | 4 | 43 | 9.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 1 | 43 | 43 | 0.973684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
488f968c43c887f6b352dbe982315b662748dddf | 708 | py | Python | panel/tests/io/test_state.py | datalayer-contrib/holoviz-panel | c97b57e8eaff4b5f542add41f496395da2483b23 | [
"BSD-3-Clause"
] | 1,130 | 2019-11-23T09:53:37.000Z | 2022-03-31T11:30:07.000Z | panel/tests/io/test_state.py | datalayer-contrib/holoviz-panel | c97b57e8eaff4b5f542add41f496395da2483b23 | [
"BSD-3-Clause"
] | 2,265 | 2019-11-20T17:09:09.000Z | 2022-03-31T22:09:38.000Z | panel/tests/io/test_state.py | datalayer-contrib/holoviz-panel | c97b57e8eaff4b5f542add41f496395da2483b23 | [
"BSD-3-Clause"
] | 215 | 2019-11-26T11:49:04.000Z | 2022-03-30T10:23:11.000Z | from panel.io.state import state
def test_as_cached_key_only():
global i
i = 0
def test_fn():
global i
i += 1
return i
assert state.as_cached('test', test_fn) == 1
assert state.as_cached('test', test_fn) == 1
state.cache.clear()
def test_as_cached_key_and_kwarg():
... | 20.823529 | 53 | 0.591808 | 118 | 708 | 3.338983 | 0.20339 | 0.182741 | 0.230964 | 0.337563 | 0.822335 | 0.730964 | 0.730964 | 0.639594 | 0.560914 | 0.560914 | 0 | 0.031189 | 0.275424 | 708 | 33 | 54 | 21.454545 | 0.736842 | 0 | 0 | 0.791667 | 0 | 0 | 0.039548 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 1 | 0.166667 | false | 0 | 0.041667 | 0 | 0.291667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
48e419ded9b006397a9539f35919948607e30656 | 103 | py | Python | plotly/graph_objs/layout/template/__init__.py | gnestor/plotly.py | a8ae062795ddbf9867b8578fe6d9e244948c15ff | [
"MIT"
] | 12 | 2020-04-18T18:10:22.000Z | 2021-12-06T10:11:15.000Z | plotly/graph_objs/layout/template/__init__.py | Vesauza/plotly.py | e53e626d59495d440341751f60aeff73ff365c28 | [
"MIT"
] | 27 | 2020-04-28T21:23:12.000Z | 2021-06-25T15:36:38.000Z | plotly/graph_objs/layout/template/__init__.py | Vesauza/plotly.py | e53e626d59495d440341751f60aeff73ff365c28 | [
"MIT"
] | 6 | 2020-04-18T23:07:08.000Z | 2021-11-18T07:53:06.000Z | from ._layout import Layout
from ._data import Data
from plotly.graph_objs.layout.template import data
| 25.75 | 50 | 0.834951 | 16 | 103 | 5.1875 | 0.5 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116505 | 103 | 3 | 51 | 34.333333 | 0.912088 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
48fcd2098ed4869efcdf33ce8b0fed6e6a89c44d | 11,554 | py | Python | src/pywink/test/devices/sensor_test.py | vickyg3/python-wink | 1b9f4acd22a6784023ae57c2ff0ef4e26b9a38f7 | [
"MIT"
] | null | null | null | src/pywink/test/devices/sensor_test.py | vickyg3/python-wink | 1b9f4acd22a6784023ae57c2ff0ef4e26b9a38f7 | [
"MIT"
] | null | null | null | src/pywink/test/devices/sensor_test.py | vickyg3/python-wink | 1b9f4acd22a6784023ae57c2ff0ef4e26b9a38f7 | [
"MIT"
] | null | null | null | import json
import os
import unittest
from unittest.mock import MagicMock
from pywink.api import get_devices_from_response_dict
from pywink.devices import types as device_types
from pywink.devices.piggy_bank import WinkPorkfolioBalanceSensor
from pywink.devices.smoke_detector import WinkSmokeDetector, WinkCoDetector,... | 42.951673 | 110 | 0.665484 | 1,360 | 11,554 | 5.292647 | 0.082353 | 0.098361 | 0.082245 | 0.088636 | 0.823145 | 0.801056 | 0.764379 | 0.745346 | 0.740206 | 0.714087 | 0 | 0.001449 | 0.223472 | 11,554 | 268 | 111 | 43.11194 | 0.800825 | 0 | 0 | 0.674208 | 0 | 0 | 0.045872 | 0 | 0 | 0 | 0 | 0 | 0.162896 | 1 | 0.131222 | false | 0 | 0.036199 | 0 | 0.20362 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d2df9595c11e13f4ebeeb549afe8db56881677da | 127 | py | Python | mmdet/ops/nms/__init__.py | kuazhangxiaoai/AerialDetection | 818d7ad2ffb13059cca09a99a2ac6342b2146eb6 | [
"Apache-2.0"
] | null | null | null | mmdet/ops/nms/__init__.py | kuazhangxiaoai/AerialDetection | 818d7ad2ffb13059cca09a99a2ac6342b2146eb6 | [
"Apache-2.0"
] | null | null | null | mmdet/ops/nms/__init__.py | kuazhangxiaoai/AerialDetection | 818d7ad2ffb13059cca09a99a2ac6342b2146eb6 | [
"Apache-2.0"
] | null | null | null | #from .nms import nms, soft_nms
#from .rnms import py_cpu_nms_poly_fast
#__all__ = ['nms', 'soft_nms', 'py_cpu_nms_poly_fast']
| 31.75 | 54 | 0.755906 | 23 | 127 | 3.565217 | 0.434783 | 0.170732 | 0.243902 | 0.292683 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110236 | 127 | 3 | 55 | 42.333333 | 0.725664 | 0.952756 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9602339d5694e57ecfb3ffbd1f60a320bed142c4 | 9,213 | py | Python | test/integration_test/test_real_network.py | heshu-by/likelib-ws | 85987d328dc274622f4b758afa1b6af43d15564f | [
"Apache-2.0"
] | null | null | null | test/integration_test/test_real_network.py | heshu-by/likelib-ws | 85987d328dc274622f4b758afa1b6af43d15564f | [
"Apache-2.0"
] | null | null | null | test/integration_test/test_real_network.py | heshu-by/likelib-ws | 85987d328dc274622f4b758afa1b6af43d15564f | [
"Apache-2.0"
] | null | null | null | from tester import test_case, Node, NodePool
#from tester import test_case, Node, NodePool
import time
import random
""" Второй пул видит только ноды из первого пула.
После запуска двух пулов даётся время на синхронизацию (ожидание),
Во втором пуле ноды делают по одной транзакции каждая, ожидание
Все ноды первого и... | 46.530303 | 155 | 0.685987 | 1,318 | 9,213 | 4.486343 | 0.173748 | 0.052089 | 0.046677 | 0.042618 | 0.783359 | 0.761035 | 0.753594 | 0.740741 | 0.734652 | 0.726873 | 0 | 0.030673 | 0.217953 | 9,213 | 197 | 156 | 46.766497 | 0.790007 | 0.051666 | 0 | 0.802817 | 0 | 0 | 0.136552 | 0.009408 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021127 | false | 0 | 0.021127 | 0 | 0.06338 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
82da278c5bdc6d9016f38dcbd8ccaa342dda5f64 | 19 | py | Python | project/store/managers/__init__.py | aliharby12/Book-Store | d2d1d374f58ad1e64e5e470567f6cf347f5cf09a | [
"MIT"
] | 1 | 2020-08-26T12:11:52.000Z | 2020-08-26T12:11:52.000Z | project/store/managers/__init__.py | aliharby12/Book-Store | d2d1d374f58ad1e64e5e470567f6cf347f5cf09a | [
"MIT"
] | 1 | 2021-04-30T21:10:01.000Z | 2021-04-30T21:10:01.000Z | project/store/managers/__init__.py | aliharby12/Book-Store | d2d1d374f58ad1e64e5e470567f6cf347f5cf09a | [
"MIT"
] | 2 | 2020-08-26T12:11:55.000Z | 2020-08-26T13:42:09.000Z | from .user import * | 19 | 19 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7d6185ab04188fd1fbac8783ef4101d906fb73cc | 48 | py | Python | nlingua/corpora/__init__.py | clueless-skywatcher/polyglossa | 93bdfe3da457454fd984c0af4bf3a6db724d6b56 | [
"MIT"
] | null | null | null | nlingua/corpora/__init__.py | clueless-skywatcher/polyglossa | 93bdfe3da457454fd984c0af4bf3a6db724d6b56 | [
"MIT"
] | null | null | null | nlingua/corpora/__init__.py | clueless-skywatcher/polyglossa | 93bdfe3da457454fd984c0af4bf3a6db724d6b56 | [
"MIT"
] | null | null | null | from .base import *
from .penn_treebank import * | 24 | 28 | 0.770833 | 7 | 48 | 5.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 2 | 28 | 24 | 0.878049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7d75f688c6ceca2047b63dbd728ca6110c7c8f7c | 6,222 | py | Python | python/cuml/test/dask/test_coordinate_descent.py | Nicholas-7/cuml | 324d4490dc5254e1188d1678e704622eb69678cb | [
"Apache-2.0"
] | 2,743 | 2018-10-11T17:28:58.000Z | 2022-03-31T19:20:50.000Z | python/cuml/test/dask/test_coordinate_descent.py | Nicholas-7/cuml | 324d4490dc5254e1188d1678e704622eb69678cb | [
"Apache-2.0"
] | 4,280 | 2018-10-11T22:29:57.000Z | 2022-03-31T22:02:44.000Z | python/cuml/test/dask/test_coordinate_descent.py | Nicholas-7/cuml | 324d4490dc5254e1188d1678e704622eb69678cb | [
"Apache-2.0"
] | 454 | 2018-10-11T17:40:56.000Z | 2022-03-25T17:07:09.000Z | # Copyright (c) 2020, NVIDIA CORPORATION.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | 38.407407 | 74 | 0.54677 | 692 | 6,222 | 4.74422 | 0.221098 | 0.073104 | 0.140725 | 0.021322 | 0.774596 | 0.774596 | 0.742309 | 0.742309 | 0.717941 | 0.707889 | 0 | 0.050549 | 0.341851 | 6,222 | 161 | 75 | 38.645963 | 0.75116 | 0.097236 | 0 | 0.761062 | 0 | 0 | 0.03178 | 0 | 0 | 0 | 0 | 0 | 0.044248 | 1 | 0.035398 | false | 0 | 0.061947 | 0 | 0.097345 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7da532d52f74c9ba907eca534f00fb4d1324608f | 212 | py | Python | server/firebase/admin.py | andrewlee348/blackjack-strategy | 58f795c9b13441aa1681a1d47084059fab2b92b2 | [
"MIT"
] | null | null | null | server/firebase/admin.py | andrewlee348/blackjack-strategy | 58f795c9b13441aa1681a1d47084059fab2b92b2 | [
"MIT"
] | null | null | null | server/firebase/admin.py | andrewlee348/blackjack-strategy | 58f795c9b13441aa1681a1d47084059fab2b92b2 | [
"MIT"
] | null | null | null | import firebase_admin
from firebase_admin import credentials
from firebase_admin import firestore
cred = credentials.Certificate("./credentials.json")
firebase_admin.initialize_app(cred)
db = firestore.client() | 26.5 | 52 | 0.839623 | 26 | 212 | 6.653846 | 0.5 | 0.300578 | 0.196532 | 0.265896 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084906 | 212 | 8 | 53 | 26.5 | 0.891753 | 0 | 0 | 0 | 0 | 0 | 0.084507 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8195df0591b1b1927de4d903624cf976dca60569 | 37,487 | py | Python | modules/npcore/layer/objectives.py | tuantle/simple_nn_with_numpy | 4bf5ba23e2df7879030de85eb22b8e30ad9708de | [
"MIT"
] | 1 | 2019-01-31T20:24:34.000Z | 2019-01-31T20:24:34.000Z | modules/npcore/layer/objectives.py | tuantle/simple_nn_with_numpy | 4bf5ba23e2df7879030de85eb22b8e30ad9708de | [
"MIT"
] | null | null | null | modules/npcore/layer/objectives.py | tuantle/simple_nn_with_numpy | 4bf5ba23e2df7879030de85eb22b8e30ad9708de | [
"MIT"
] | null | null | null | #!/usr/bin/env python
#
# Copyright 2016-present Tuan Le.
#
# Licensed under the MIT License.
# You may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://opensource.org/licenses/mit-license.html
#
# Unless required by applicable law or agreed to in writing, so... | 32.739738 | 147 | 0.523862 | 4,240 | 37,487 | 4.432547 | 0.070755 | 0.090242 | 0.033521 | 0.020006 | 0.781473 | 0.7471 | 0.72603 | 0.715707 | 0.708045 | 0.706821 | 0 | 0.005968 | 0.333956 | 37,487 | 1,144 | 148 | 32.768357 | 0.746756 | 0.2129 | 0 | 0.719577 | 0 | 0.001764 | 0.098779 | 0.001976 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097002 | false | 0.012346 | 0.017637 | 0.001764 | 0.239859 | 0.001764 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
81e2bfbbffa70b330e5871289001707f2fac8b15 | 3,922 | py | Python | user_profile/tests.py | pwodyk/CI_MilestoneProject4 | 0f7402c3b707c3496d14c3aa711c652bf03f781c | [
"CC0-1.0"
] | null | null | null | user_profile/tests.py | pwodyk/CI_MilestoneProject4 | 0f7402c3b707c3496d14c3aa711c652bf03f781c | [
"CC0-1.0"
] | 1 | 2021-06-01T23:53:20.000Z | 2021-06-01T23:53:20.000Z | user_profile/tests.py | pawodyk/CI_MilestoneProject4 | 0f7402c3b707c3496d14c3aa711c652bf03f781c | [
"CC0-1.0"
] | 1 | 2019-06-28T20:55:47.000Z | 2019-06-28T20:55:47.000Z | from django.test import TestCase
from django.apps import apps
from django.contrib.auth.models import User
from .apps import UserProfileConfig
from .views import *
from issue_tracker.models import Ticket
class TestGamesApps(TestCase):
"""Testing App"""
def test_app_name(self):
self.assertEqual("user_... | 34.403509 | 101 | 0.627741 | 443 | 3,922 | 5.340858 | 0.164786 | 0.046492 | 0.084531 | 0.118343 | 0.739222 | 0.721471 | 0.721471 | 0.707946 | 0.707946 | 0.707946 | 0 | 0.004087 | 0.251402 | 3,922 | 113 | 102 | 34.707965 | 0.801771 | 0.006374 | 0 | 0.61194 | 0 | 0 | 0.161091 | 0.007977 | 0 | 0 | 0 | 0 | 0.313433 | 1 | 0.104478 | false | 0.164179 | 0.089552 | 0 | 0.223881 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
f202e8f4a91276adc1ab37b6ec7fcde7cc53e0ea | 11,729 | py | Python | django/bosstiles/views.py | ArnaudGallardo/boss | c0d3bbca31575ac5442822b8d7f962def32d9072 | [
"Apache-2.0"
] | null | null | null | django/bosstiles/views.py | ArnaudGallardo/boss | c0d3bbca31575ac5442822b8d7f962def32d9072 | [
"Apache-2.0"
] | null | null | null | django/bosstiles/views.py | ArnaudGallardo/boss | c0d3bbca31575ac5442822b8d7f962def32d9072 | [
"Apache-2.0"
] | null | null | null | # Copyright 2016 The Johns Hopkins University Applied Physics Laboratory
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required ... | 40.030717 | 129 | 0.579333 | 1,269 | 11,729 | 5.197006 | 0.213554 | 0.034572 | 0.021228 | 0.013647 | 0.784382 | 0.772252 | 0.74511 | 0.74511 | 0.721759 | 0.721759 | 0 | 0.005118 | 0.333703 | 11,729 | 292 | 130 | 40.167808 | 0.838772 | 0.270867 | 0 | 0.788889 | 0 | 0 | 0.101502 | 0 | 0 | 0 | 0 | 0.003425 | 0 | 1 | 0.022222 | false | 0 | 0.061111 | 0 | 0.161111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f20af8b609aa02c827f80471c29174cfa8770585 | 31 | py | Python | SSD/SSD_FPN_GIoU/utils/detection/__init__.py | ForrestPi/ObjectDetection | 54e0821e73f67be5360c36f01229a123c34ab3b3 | [
"MIT"
] | 12 | 2020-03-25T01:24:22.000Z | 2021-09-18T06:40:16.000Z | utils/detection/__init__.py | Yang-Zhaowei/PowerBank | 0d6766038bd3ee37036e4255713d5c06e81a83ed | [
"MIT"
] | 1 | 2020-04-22T07:52:36.000Z | 2020-04-22T07:52:36.000Z | utils/detection/__init__.py | Yang-Zhaowei/PowerBank | 0d6766038bd3ee37036e4255713d5c06e81a83ed | [
"MIT"
] | 4 | 2020-03-25T01:24:26.000Z | 2020-09-20T11:29:09.000Z | from .detection import Detect
| 10.333333 | 29 | 0.806452 | 4 | 31 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 2 | 30 | 15.5 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f21750106913345aed754625d81a14d4de0db439 | 71 | py | Python | airbyte-integrations/bases/airbyte-protocol/airbyte_protocol/models/__init__.py | rajatariya21/airbyte | 11e70a7a96e2682b479afbe6f709b9a5fe9c4a8d | [
"MIT"
] | 6,215 | 2020-09-21T13:45:56.000Z | 2022-03-31T21:21:45.000Z | airbyte-integrations/bases/airbyte-protocol/airbyte_protocol/models/__init__.py | rajatariya21/airbyte | 11e70a7a96e2682b479afbe6f709b9a5fe9c4a8d | [
"MIT"
] | 8,448 | 2020-09-21T00:43:50.000Z | 2022-03-31T23:56:06.000Z | airbyte-integrations/bases/airbyte-protocol/airbyte_protocol/models/__init__.py | rajatariya21/airbyte | 11e70a7a96e2682b479afbe6f709b9a5fe9c4a8d | [
"MIT"
] | 1,251 | 2020-09-20T05:48:47.000Z | 2022-03-31T10:41:29.000Z | # generated by generate-protocol-files
from .airbyte_protocol import *
| 23.666667 | 38 | 0.816901 | 9 | 71 | 6.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 71 | 2 | 39 | 35.5 | 0.904762 | 0.507042 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
480d64545892b5009b0dc43889ffa627e70593d5 | 17,228 | py | Python | neurora/stats_cal.py | neurora/neurora.io | eff6b715c89daae499aeb75450a26657d8cd3e4c | [
"MIT"
] | 50 | 2019-08-29T06:09:30.000Z | 2022-03-20T02:24:36.000Z | neurora/stats_cal.py | neurora/neurora.io | eff6b715c89daae499aeb75450a26657d8cd3e4c | [
"MIT"
] | 3 | 2020-11-24T22:01:58.000Z | 2021-11-26T02:09:52.000Z | neurora/stats_cal.py | neurora/neurora.io | eff6b715c89daae499aeb75450a26657d8cd3e4c | [
"MIT"
] | 14 | 2019-09-11T08:50:57.000Z | 2022-01-04T09:19:47.000Z | # -*- coding: utf-8 -*-
' a module for conducting the statistical analysis '
__author__ = 'Zitong Lu'
import numpy as np
from scipy.stats import ttest_1samp, ttest_rel, ttest_ind
from neurora.stuff import permutation_test
' a function for conducting the statistical analysis for results of EEG-like data '
def stat... | 32.690702 | 120 | 0.606048 | 2,693 | 17,228 | 3.797995 | 0.057928 | 0.047517 | 0.058076 | 0.014079 | 0.950235 | 0.93596 | 0.915428 | 0.904869 | 0.899687 | 0.890008 | 0 | 0.027773 | 0.285233 | 17,228 | 527 | 121 | 32.690702 | 0.802826 | 0.5202 | 0 | 0.636986 | 0 | 0 | 0.148504 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047945 | false | 0 | 0.020548 | 0 | 0.212329 | 0.047945 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.