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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ed82a4a78a0149a1bab4715f105e3af1a4cafcec | 199 | py | Python | minato_namikaze/lib/classes/__init__.py | EitoZX/yondaime-hokage | c86285b385a60e3e47b9a7205ae36e7249b47eee | [
"Apache-2.0"
] | null | null | null | minato_namikaze/lib/classes/__init__.py | EitoZX/yondaime-hokage | c86285b385a60e3e47b9a7205ae36e7249b47eee | [
"Apache-2.0"
] | null | null | null | minato_namikaze/lib/classes/__init__.py | EitoZX/yondaime-hokage | c86285b385a60e3e47b9a7205ae36e7249b47eee | [
"Apache-2.0"
] | null | null | null | from .badge_entry import *
from .barcode import *
from .converter import *
from .games import *
from .select_help import *
from .time_class import *
from .reaction_roles import *
from .music import * | 24.875 | 29 | 0.763819 | 28 | 199 | 5.285714 | 0.5 | 0.472973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155779 | 199 | 8 | 30 | 24.875 | 0.880952 | 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 |
131398ce55c93ef8604eff57218350f5249a2d65 | 109 | py | Python | src/utilities/commonutils.py | mug-auth/ssl-chewing | 90b9717c862087a727ef56a04e048b70174b8918 | [
"Apache-2.0"
] | null | null | null | src/utilities/commonutils.py | mug-auth/ssl-chewing | 90b9717c862087a727ef56a04e048b70174b8918 | [
"Apache-2.0"
] | null | null | null | src/utilities/commonutils.py | mug-auth/ssl-chewing | 90b9717c862087a727ef56a04e048b70174b8918 | [
"Apache-2.0"
] | null | null | null | import numpy as np
def sec2samples(sec: float, fs_hz: float) -> int:
return int(np.floor(sec * fs_hz))
| 18.166667 | 49 | 0.678899 | 19 | 109 | 3.789474 | 0.684211 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.192661 | 109 | 5 | 50 | 21.8 | 0.806818 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
13304b6034bf9c0b6c596b924da41809bb3ab3bd | 55 | py | Python | code/sample_4-3-17.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | 1 | 2022-03-29T13:50:12.000Z | 2022-03-29T13:50:12.000Z | code/sample_4-3-17.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | null | null | null | code/sample_4-3-17.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | null | null | null | x = ["a", "b", "b", "c", "c", "c"]
print(x.count("d"))
| 18.333333 | 34 | 0.345455 | 11 | 55 | 1.727273 | 0.636364 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 55 | 2 | 35 | 27.5 | 0.413043 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 1 | null | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
1335972549488556e11e14df8ef5168fd25e1ac2 | 152 | py | Python | __init__.py | lum4chi/chinltk | f129394984858e7789bec39a2900ebff6f9ae380 | [
"Apache-2.0"
] | null | null | null | __init__.py | lum4chi/chinltk | f129394984858e7789bec39a2900ebff6f9ae380 | [
"Apache-2.0"
] | null | null | null | __init__.py | lum4chi/chinltk | f129394984858e7789bec39a2900ebff6f9ae380 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2016 Francesco Lumachi <francesco.lumachi@gmail.com>
from .vocabulary import Vocabulary
| 25.333333 | 68 | 0.717105 | 20 | 152 | 5.45 | 0.85 | 0.293578 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037594 | 0.125 | 152 | 5 | 69 | 30.4 | 0.781955 | 0.717105 | 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 |
133a67acd7d55f43f7e5091faba00d9d780aa67d | 60,863 | py | Python | Model_methods.py | elisa-aleman/MachineLearning | 136f660041313913fee435eb84c42a12dbb9e4dd | [
"MIT"
] | 2 | 2019-09-06T01:40:54.000Z | 2019-11-03T15:46:43.000Z | Model_methods.py | elisa-aleman/MachineLearning | 136f660041313913fee435eb84c42a12dbb9e4dd | [
"MIT"
] | null | null | null | Model_methods.py | elisa-aleman/MachineLearning | 136f660041313913fee435eb84c42a12dbb9e4dd | [
"MIT"
] | 2 | 2019-07-04T13:04:25.000Z | 2019-07-15T15:55:40.000Z | #-*- coding: utf-8 -*-
import scipy
import numpy
import gensim
import sklearn
from sklearn.feature_extraction.text import CountVectorizer
from sklearn import svm
from sklearn.ensemble import GradientBoostingClassifier
import xgboost
from sklearn.linear_model import LogisticRegression
import lightgbm
import random
from... | 51.059564 | 455 | 0.531653 | 6,728 | 60,863 | 4.681629 | 0.099287 | 0.013969 | 0.020001 | 0.013334 | 0.80675 | 0.799987 | 0.789764 | 0.780462 | 0.775446 | 0.765953 | 0 | 0.008625 | 0.382778 | 60,863 | 1,191 | 456 | 51.102435 | 0.829846 | 0.680923 | 0 | 0.514706 | 0 | 0.003676 | 0.052349 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.073529 | false | 0.003676 | 0.066176 | 0 | 0.205882 | 0.033088 | 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 |
1387ac966362c58b11ce5e38d301af8276a91b5e | 25 | py | Python | electroncash/utils/__init__.py | christroutner/Electron-Cash | d5217ed3e878bd56977181f022f9e5c43f449241 | [
"MIT"
] | 208 | 2017-07-25T19:52:15.000Z | 2018-09-21T13:44:58.000Z | electroncash/utils/__init__.py | christroutner/Electron-Cash | d5217ed3e878bd56977181f022f9e5c43f449241 | [
"MIT"
] | 1,478 | 2018-09-24T09:30:13.000Z | 2022-03-29T15:48:17.000Z | electroncash/utils/__init__.py | christroutner/Electron-Cash | d5217ed3e878bd56977181f022f9e5c43f449241 | [
"MIT"
] | 159 | 2018-09-24T12:56:47.000Z | 2022-03-28T23:52:17.000Z | from .event import Event
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 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 |
13e506bf8e251c17b85f4c96706a27ee04f616af | 104 | py | Python | alvinchow_backend/app/flask/exceptions.py | alvinchow86/python-backend-template | 46c07d733d68bc8682afd8510a17bc2aa360c606 | [
"MIT"
] | 6 | 2021-01-07T00:20:49.000Z | 2022-01-13T04:53:12.000Z | alvinchow_backend/app/flask/exceptions.py | alvinchow86/python-backend-template | 46c07d733d68bc8682afd8510a17bc2aa360c606 | [
"MIT"
] | 4 | 2021-01-06T22:07:43.000Z | 2021-06-02T01:52:41.000Z | alvinchow_backend/app/flask/exceptions.py | alvinchow86/python-backend-template | 46c07d733d68bc8682afd8510a17bc2aa360c606 | [
"MIT"
] | 1 | 2021-11-09T07:46:44.000Z | 2021-11-09T07:46:44.000Z | from alvinchow.lib.exceptions import BaseException
class CSRFValidationError(BaseException):
pass
| 17.333333 | 50 | 0.826923 | 10 | 104 | 8.6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 104 | 5 | 51 | 20.8 | 0.945055 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 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 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
b91756b28dd1587b86133a878aac9a43eab5a34d | 296 | py | Python | src/process/process/application/CheckDatabaseConnection/CheckDatabaseConnectionCommand.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | 1 | 2020-12-18T21:37:28.000Z | 2020-12-18T21:37:28.000Z | src/process/process/application/CheckDatabaseConnection/CheckDatabaseConnectionCommand.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | null | null | null | src/process/process/application/CheckDatabaseConnection/CheckDatabaseConnectionCommand.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | 1 | 2020-12-18T21:37:31.000Z | 2020-12-18T21:37:31.000Z | from dataclasses import dataclass
from pdip.cqrs import ICommand
from process.application.CheckDatabaseConnection.CheckDatabaseConnectionRequest import CheckDatabaseConnectionRequest
@dataclass
class CheckDatabaseConnectionCommand(ICommand):
request: CheckDatabaseConnectionRequest = None
| 29.6 | 117 | 0.878378 | 23 | 296 | 11.304348 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087838 | 296 | 9 | 118 | 32.888889 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.833333 | 0 | 1 | 0 | 1 | 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 |
b940c4304e7a0ead35a342f49548c86a5f245b14 | 94 | py | Python | applicationLib/__init__.py | AntonioConsiglio/5D-robot-consolle | 8422e788da64391722283fd08fcb8ecd3eb6068b | [
"Apache-2.0"
] | null | null | null | applicationLib/__init__.py | AntonioConsiglio/5D-robot-consolle | 8422e788da64391722283fd08fcb8ecd3eb6068b | [
"Apache-2.0"
] | null | null | null | applicationLib/__init__.py | AntonioConsiglio/5D-robot-consolle | 8422e788da64391722283fd08fcb8ecd3eb6068b | [
"Apache-2.0"
] | null | null | null | from .hmiLib import *
from .utilsLib import *
from .robotLib import *
from .cameraLib import * | 23.5 | 24 | 0.755319 | 12 | 94 | 5.916667 | 0.5 | 0.422535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 94 | 4 | 24 | 23.5 | 0.898734 | 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 |
b96870b1a2852044425f800f3d9b385bcf11bce8 | 39 | py | Python | __init__.py | praeludo/aws_osc_matrix | c82e5a64482680e86552a7ce6c1df51a65462746 | [
"MIT"
] | 1 | 2018-04-03T15:38:26.000Z | 2018-04-03T15:38:26.000Z | __init__.py | praeludo/aws_osc_matrix | c82e5a64482680e86552a7ce6c1df51a65462746 | [
"MIT"
] | null | null | null | __init__.py | praeludo/aws_osc_matrix | c82e5a64482680e86552a7ce6c1df51a65462746 | [
"MIT"
] | null | null | null | from aws_osc_matrix.resources import *
| 19.5 | 38 | 0.846154 | 6 | 39 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.885714 | 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 |
b97025abc63e832e57711798cac247930ba64ca9 | 39 | py | Python | pretty_downloader/__init__.py | DEADSEC-SECURITY/pretty-downloader | 704f3475468d3c4632b7704b8ef0685856ee7c00 | [
"MIT"
] | 5 | 2021-02-26T22:02:26.000Z | 2021-07-28T09:40:21.000Z | pretty_downloader/__init__.py | DEADSEC-SECURITY/pretty-downloader | 704f3475468d3c4632b7704b8ef0685856ee7c00 | [
"MIT"
] | null | null | null | pretty_downloader/__init__.py | DEADSEC-SECURITY/pretty-downloader | 704f3475468d3c4632b7704b8ef0685856ee7c00 | [
"MIT"
] | 2 | 2021-02-26T21:01:00.000Z | 2021-03-01T10:01:55.000Z | from .pretty_downloader import download | 39 | 39 | 0.897436 | 5 | 39 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 0.944444 | 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 |
b98bdf586050937096df474fe156f6fbd9cb68c3 | 28 | py | Python | bot/__init__.py | ModFest/modfest-site | c522d8702020b4ddcae42baf4027b061f4b18860 | [
"MIT"
] | null | null | null | bot/__init__.py | ModFest/modfest-site | c522d8702020b4ddcae42baf4027b061f4b18860 | [
"MIT"
] | 2 | 2020-09-21T23:28:40.000Z | 2020-10-11T10:27:48.000Z | bot/__init__.py | ModFest/modfest-site | c522d8702020b4ddcae42baf4027b061f4b18860 | [
"MIT"
] | null | null | null | from bot import discord_bot
| 14 | 27 | 0.857143 | 5 | 28 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 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 |
b99625316a0135b31438f1b3c690d87d5da312f7 | 29 | py | Python | src/MemeEngine/__init__.py | yanxx422/Python-Meme-Generator | ebd6907ce52df2a1bcb18cd0d4970ad2afc406e1 | [
"CC0-1.0"
] | null | null | null | src/MemeEngine/__init__.py | yanxx422/Python-Meme-Generator | ebd6907ce52df2a1bcb18cd0d4970ad2afc406e1 | [
"CC0-1.0"
] | null | null | null | src/MemeEngine/__init__.py | yanxx422/Python-Meme-Generator | ebd6907ce52df2a1bcb18cd0d4970ad2afc406e1 | [
"CC0-1.0"
] | null | null | null | from .Meme import MemeEngine
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 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 |
b9b0f8c823e7882d66f73d4ccaba858157810d31 | 24,107 | py | Python | sympy/parsing/latex/_antlr/latexlexer.py | Knewton/sympy | a2ce003faaa504d3ad7aa57bbc53d5c1b37812bb | [
"BSD-3-Clause"
] | null | null | null | sympy/parsing/latex/_antlr/latexlexer.py | Knewton/sympy | a2ce003faaa504d3ad7aa57bbc53d5c1b37812bb | [
"BSD-3-Clause"
] | null | null | null | sympy/parsing/latex/_antlr/latexlexer.py | Knewton/sympy | a2ce003faaa504d3ad7aa57bbc53d5c1b37812bb | [
"BSD-3-Clause"
] | null | null | null |
# encoding: utf-8
# *** GENERATED BY `setup.py antlr`, DO NOT EDIT BY HAND ***
#
# Generated from ../LaTeX.g4, derived from latex2sympy
# latex2sympy is licensed under the MIT license
# https://github.com/augustt198/latex2sympy/blob/master/LICENSE.txt
#
# Generated with antlr4
# antlr4 is licensed under th... | 60.418546 | 103 | 0.571452 | 5,608 | 24,107 | 2.426177 | 0.140514 | 0.122152 | 0.057328 | 0.063501 | 0.2665 | 0.219682 | 0.206968 | 0.166544 | 0.139203 | 0.132074 | 0 | 0.319728 | 0.151367 | 24,107 | 398 | 104 | 60.570352 | 0.345342 | 0.015805 | 0 | 0.01084 | 1 | 0.612466 | 0.612812 | 0.545378 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00542 | false | 0 | 0.01084 | 0 | 0.222222 | 0.00271 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b9d9eba24d5ea1d630bc1392beeccdd1233a1f7a | 7,814 | py | Python | tests/unit/utils/test_templates.py | yuriks/salt | d2a5bd8adddb98ec1718d79384aa13b4f37e8028 | [
"Apache-2.0",
"MIT"
] | 1 | 2019-09-17T17:48:55.000Z | 2019-09-17T17:48:55.000Z | tests/unit/utils/test_templates.py | yuriks/salt | d2a5bd8adddb98ec1718d79384aa13b4f37e8028 | [
"Apache-2.0",
"MIT"
] | null | null | null | tests/unit/utils/test_templates.py | yuriks/salt | d2a5bd8adddb98ec1718d79384aa13b4f37e8028 | [
"Apache-2.0",
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
'''
Unit tests for salt.utils.templates.py
'''
# Import python libs
from __future__ import absolute_import, print_function, unicode_literals
import os
import sys
import logging
# Import Salt libs
import salt.utils.templates
import salt.utils.files
# Import Salt Testing Libs
from tests.support... | 33.973913 | 95 | 0.607243 | 950 | 7,814 | 4.831579 | 0.144211 | 0.058824 | 0.105882 | 0.120261 | 0.801961 | 0.798257 | 0.791939 | 0.776906 | 0.776906 | 0.739869 | 0 | 0.004223 | 0.242385 | 7,814 | 229 | 96 | 34.122271 | 0.771115 | 0.048887 | 0 | 0.534483 | 0 | 0.011494 | 0.139422 | 0.005674 | 0 | 0 | 0 | 0 | 0.149425 | 1 | 0.149425 | false | 0.011494 | 0.045977 | 0 | 0.218391 | 0.005747 | 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 |
b9edbdf12d817c50e2a93887a3cab9e30fec2290 | 2,126 | py | Python | test/test_token.py | ulf1/nlptasks | 07d36448b517a18f76088f5d9cfb853e7602b079 | [
"Apache-2.0"
] | 2 | 2020-12-30T13:11:09.000Z | 2021-11-04T19:40:31.000Z | test/test_token.py | ulf1/nlptasks | 07d36448b517a18f76088f5d9cfb853e7602b079 | [
"Apache-2.0"
] | 99 | 2020-11-02T14:58:04.000Z | 2021-04-09T18:01:34.000Z | test/test_token.py | ulf1/nlptasks | 07d36448b517a18f76088f5d9cfb853e7602b079 | [
"Apache-2.0"
] | null | null | null | import nlptasks as nt
import nlptasks.token
def test_01():
target = [["Die", "Kuh", "ist", "bunt", "."],
["Die", "Bäuerin", "mäht", "die", "Wiese", "."]]
sentences = ["Die Kuh ist bunt.", "Die Bäuerin mäht die Wiese."]
tokensequences = nt.token.spacy_de(sentences)
assert tokensequences =... | 34.852459 | 68 | 0.583725 | 245 | 2,126 | 4.959184 | 0.142857 | 0.059259 | 0.088889 | 0.128395 | 0.883128 | 0.877366 | 0.877366 | 0.804938 | 0.804938 | 0.804938 | 0 | 0.007246 | 0.221072 | 2,126 | 60 | 69 | 35.433333 | 0.726449 | 0 | 0 | 0.666667 | 0 | 0 | 0.249765 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.125 | false | 0 | 0.041667 | 0 | 0.166667 | 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 |
dbead83ddecfc429cad3cd961dea3d0c45feb412 | 219 | py | Python | OBlog/blueprint/images/admin.py | OhYee/OBlog | a9d7e4fda5651cf9c5afd4c128c4df4442794e97 | [
"BSD-3-Clause"
] | 23 | 2018-02-23T12:56:43.000Z | 2021-12-20T13:21:47.000Z | OBlog/blueprint/images/admin.py | OhYee/OBlog | a9d7e4fda5651cf9c5afd4c128c4df4442794e97 | [
"BSD-3-Clause"
] | 17 | 2018-02-23T12:52:39.000Z | 2018-12-04T05:50:58.000Z | OBlog/blueprint/images/admin.py | OhYee/OBlog | a9d7e4fda5651cf9c5afd4c128c4df4442794e97 | [
"BSD-3-Clause"
] | 2 | 2018-06-16T20:52:23.000Z | 2021-04-08T15:29:44.000Z | from . import imagesAdminBP
from flask import render_template, abort
from .main import getImageList
@imagesAdminBP.route('/')
def index():
return render_template("admin/images.html",images = getImageList())
| 27.375 | 72 | 0.748858 | 25 | 219 | 6.48 | 0.64 | 0.17284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146119 | 219 | 7 | 73 | 31.285714 | 0.86631 | 0 | 0 | 0 | 0 | 0 | 0.084906 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 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 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
dbf9fad2e4c8d776d82956f70facb243fc0e8e21 | 12,879 | py | Python | tests/test_interface.py | sam-austin-sri/atmosense-abcgan | b046676f70da69313126aaa323145af2a0e7b404 | [
"MIT"
] | null | null | null | tests/test_interface.py | sam-austin-sri/atmosense-abcgan | b046676f70da69313126aaa323145af2a0e7b404 | [
"MIT"
] | null | null | null | tests/test_interface.py | sam-austin-sri/atmosense-abcgan | b046676f70da69313126aaa323145af2a0e7b404 | [
"MIT"
] | 1 | 2022-01-04T21:20:18.000Z | 2022-01-04T21:20:18.000Z | import unittest
import abcgan # import interface components directly from abcgan
import abcgan.constants as const
import numpy as np
import os
import h5py
from abcgan.interface import estimate_drivers, load_h5_data, generate_multi
from abcgan.interface import hellinger_scores_hfp, hellinger_scores_bv
dir_path = os.pa... | 47.877323 | 116 | 0.641975 | 1,849 | 12,879 | 4.232558 | 0.078421 | 0.093918 | 0.03795 | 0.0414 | 0.849732 | 0.812292 | 0.783031 | 0.758881 | 0.712752 | 0.66113 | 0 | 0.014187 | 0.222843 | 12,879 | 268 | 117 | 48.05597 | 0.767709 | 0.003727 | 0 | 0.541485 | 0 | 0 | 0.017616 | 0 | 0 | 0 | 0 | 0 | 0.31441 | 1 | 0.122271 | false | 0 | 0.034935 | 0.008734 | 0.179039 | 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 |
e02041a471c06f31a6da300349ccb2a5355ee986 | 28 | py | Python | contrib/python/numpy/numpy/linalg/_umath_linalg/__init__.py | HeyLey/catboost | f472aed90604ebe727537d9d4a37147985e10ec2 | [
"Apache-2.0"
] | 1 | 2019-01-26T02:58:50.000Z | 2019-01-26T02:58:50.000Z | contrib/python/numpy/numpy/linalg/_umath_linalg/__init__.py | HeyLey/catboost | f472aed90604ebe727537d9d4a37147985e10ec2 | [
"Apache-2.0"
] | null | null | null | contrib/python/numpy/numpy/linalg/_umath_linalg/__init__.py | HeyLey/catboost | f472aed90604ebe727537d9d4a37147985e10ec2 | [
"Apache-2.0"
] | 1 | 2019-02-01T12:17:04.000Z | 2019-02-01T12:17:04.000Z | from _umath_linalg import *
| 14 | 27 | 0.821429 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 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 |
1649b17530ad621388fd339f09c04e9a32beb13d | 106,630 | py | Python | tests/test_ecs/test_ecs_boto3.py | Preskton/moto | c9c30b82867294030833cef292db167955bc8240 | [
"Apache-2.0"
] | 1 | 2021-04-06T12:48:00.000Z | 2021-04-06T12:48:00.000Z | tests/test_ecs/test_ecs_boto3.py | Preskton/moto | c9c30b82867294030833cef292db167955bc8240 | [
"Apache-2.0"
] | null | null | null | tests/test_ecs/test_ecs_boto3.py | Preskton/moto | c9c30b82867294030833cef292db167955bc8240 | [
"Apache-2.0"
] | null | null | null | from __future__ import unicode_literals
from datetime import datetime
from botocore.exceptions import ClientError
import boto3
import sure # noqa
import json
from moto.ec2 import utils as ec2_utils
from uuid import UUID
from moto import mock_ecs
from moto import mock_ec2
from moto.ecs.exceptions import (
Cluster... | 35.145023 | 145 | 0.62836 | 10,909 | 106,630 | 5.869741 | 0.038042 | 0.029407 | 0.015414 | 0.020989 | 0.900707 | 0.876876 | 0.852842 | 0.834523 | 0.819952 | 0.795137 | 0 | 0.027384 | 0.234578 | 106,630 | 3,033 | 146 | 35.156611 | 0.757171 | 0.009322 | 0 | 0.688931 | 0 | 0.007129 | 0.245907 | 0.05181 | 0 | 0 | 0 | 0 | 0.014634 | 1 | 0.02439 | false | 0 | 0.004503 | 0 | 0.029268 | 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 |
1684b66b879dcd743c48b492f504f0e834d072a6 | 1,369 | py | Python | lambda_functions/download/features/test_helper.py | russbiggs/MapCampaigner | 05b6c6eb1bdefbe0b60313a9d3cd1a0d2df2a148 | [
"BSD-3-Clause"
] | 24 | 2018-10-05T06:39:11.000Z | 2022-02-22T08:54:37.000Z | lambda_functions/download/features/test_helper.py | russbiggs/MapCampaigner | 05b6c6eb1bdefbe0b60313a9d3cd1a0d2df2a148 | [
"BSD-3-Clause"
] | 384 | 2017-05-17T07:50:02.000Z | 2018-09-20T08:18:56.000Z | lambda_functions/download/features/test_helper.py | russbiggs/MapCampaigner | 05b6c6eb1bdefbe0b60313a9d3cd1a0d2df2a148 | [
"BSD-3-Clause"
] | 16 | 2017-05-11T08:52:19.000Z | 2018-06-08T06:55:43.000Z | SELECTED_FUNCTIONS = {
"function-1": {
"function": "FeatureAttributeCompleteness",
"feature": "amenity=cafe", "attributes": {
"amenity": ["cafe"], "name": [], "cuisine": [], "operator": [],
"opening_hours": []},
"type": "cafe"},
"function-2": {
"function":... | 38.027778 | 75 | 0.487217 | 92 | 1,369 | 7.206522 | 0.26087 | 0.099548 | 0.081448 | 0.126697 | 0.711916 | 0.711916 | 0.711916 | 0.711916 | 0.711916 | 0.612368 | 0 | 0.006079 | 0.279036 | 1,369 | 35 | 76 | 39.114286 | 0.665654 | 0 | 0 | 0.742857 | 0 | 0 | 0.482834 | 0.040906 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
169639817e6084a87871e8952b4d0c024c62bebd | 43 | py | Python | examples/functions/Python/func.py | Russtopia/fx | 37b2733dcf26bfba442141e32d62002f01461acc | [
"MIT"
] | null | null | null | examples/functions/Python/func.py | Russtopia/fx | 37b2733dcf26bfba442141e32d62002f01461acc | [
"MIT"
] | null | null | null | examples/functions/Python/func.py | Russtopia/fx | 37b2733dcf26bfba442141e32d62002f01461acc | [
"MIT"
] | 1 | 2019-12-11T18:40:09.000Z | 2019-12-11T18:40:09.000Z | def fx(requenst):
return "hello world"
| 14.333333 | 24 | 0.674419 | 6 | 43 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209302 | 43 | 2 | 25 | 21.5 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0.255814 | 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 |
16a6288959b1471633e1bacffec0228bb38521f6 | 151 | py | Python | tests/extractor_test.py | kkmsun/dataengineeringweekly | b17458b82d547302e620acebd199cd4c303cabcb | [
"Apache-2.0"
] | 54 | 2021-10-08T22:32:59.000Z | 2022-03-29T18:17:20.000Z | tests/extractor_test.py | kkmsun/dataengineeringweekly | b17458b82d547302e620acebd199cd4c303cabcb | [
"Apache-2.0"
] | 4 | 2021-10-09T14:06:35.000Z | 2022-03-30T21:12:44.000Z | tests/extractor_test.py | kkmsun/dataengineeringweekly | b17458b82d547302e620acebd199cd4c303cabcb | [
"Apache-2.0"
] | 13 | 2021-10-09T01:57:40.000Z | 2022-03-29T18:49:06.000Z | from publisher.publish import bootstrap, publish_edition
def test_bootstrap():
bootstrap()
def test_publish_edition():
publish_edition(69)
| 15.1 | 56 | 0.768212 | 18 | 151 | 6.166667 | 0.5 | 0.378378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0.152318 | 151 | 9 | 57 | 16.777778 | 0.851563 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 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 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
16aabe7e952abdd078f2d8a95c61dc8d2b0f07be | 117 | py | Python | basename.py | linuxlizard/q60 | dd0cf8a556584beb816b04c6a4913f19cb1142d1 | [
"Apache-2.0"
] | null | null | null | basename.py | linuxlizard/q60 | dd0cf8a556584beb816b04c6a4913f19cb1142d1 | [
"Apache-2.0"
] | null | null | null | basename.py | linuxlizard/q60 | dd0cf8a556584beb816b04c6a4913f19cb1142d1 | [
"Apache-2.0"
] | null | null | null | #!python
import os
def get_basename( filename ) :
return os.path.splitext( os.path.split( filename )[1] )[0]
| 14.625 | 62 | 0.666667 | 17 | 117 | 4.529412 | 0.764706 | 0.155844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021053 | 0.188034 | 117 | 7 | 63 | 16.714286 | 0.789474 | 0.059829 | 0 | 0 | 0 | 0 | 0 | 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 |
16b0cf6adbec2e3fbbf73c9375853f5f2c3ea31c | 13,920 | py | Python | auth0/v3/test/management/test_rest.py | Sytten/auth0-python | 59c1942acbd9723adaf587ac4bc94c9583fe38a0 | [
"MIT"
] | null | null | null | auth0/v3/test/management/test_rest.py | Sytten/auth0-python | 59c1942acbd9723adaf587ac4bc94c9583fe38a0 | [
"MIT"
] | null | null | null | auth0/v3/test/management/test_rest.py | Sytten/auth0-python | 59c1942acbd9723adaf587ac4bc94c9583fe38a0 | [
"MIT"
] | null | null | null | import unittest
import sys
import json
import base64
import requests
import mock
from ...management.rest import RestClient
from ...exceptions import Auth0Error
class TestRest(unittest.TestCase):
@mock.patch('requests.get')
def test_get(self, mock_get):
rc = RestClient(jwt='a-token', telemetry=False)
... | 37.621622 | 108 | 0.599784 | 1,571 | 13,920 | 5.133036 | 0.075111 | 0.089286 | 0.098214 | 0.138393 | 0.863963 | 0.841394 | 0.807788 | 0.763269 | 0.736607 | 0.735491 | 0 | 0.016608 | 0.268966 | 13,920 | 369 | 109 | 37.723577 | 0.775845 | 0 | 0 | 0.588448 | 0 | 0 | 0.141882 | 0.004957 | 0 | 0 | 0 | 0 | 0.245487 | 1 | 0.075812 | false | 0 | 0.032491 | 0 | 0.111913 | 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 |
16b4fbe0753c9cdff4539c3d120d34ca5a94cc8f | 15,912 | py | Python | src/labelling_algorithms.py | AminKaram/BipolarABASolver | 3b858d8ea21ad9f39a393afbd5000932060d48a1 | [
"MIT"
] | 1 | 2021-08-09T10:48:36.000Z | 2021-08-09T10:48:36.000Z | src/labelling_algorithms.py | AminKaram/BipolarABASolver | 3b858d8ea21ad9f39a393afbd5000932060d48a1 | [
"MIT"
] | 1 | 2020-03-30T03:23:33.000Z | 2020-03-30T10:23:47.000Z | src/labelling_algorithms.py | AminKaram/FYP | 3b858d8ea21ad9f39a393afbd5000932060d48a1 | [
"MIT"
] | 2 | 2019-10-07T12:14:24.000Z | 2021-02-26T08:32:28.000Z | from enum import Enum
import json
def add_closure_to_label_in(labelling, closure, framework):
for a in closure:
labelling[a] = Label.IN
for attacked in framework.assumptions_directly_attacked_by(a):
for a in framework.get_inverse_closure(attacked):
labelling[a] = Label.... | 43.594521 | 120 | 0.704563 | 1,869 | 15,912 | 5.742643 | 0.072766 | 0.077518 | 0.055902 | 0.03643 | 0.871984 | 0.848225 | 0.812727 | 0.778627 | 0.75021 | 0.725054 | 0 | 0.002719 | 0.214178 | 15,912 | 364 | 121 | 43.714286 | 0.855646 | 0.270299 | 0 | 0.567708 | 0 | 0 | 0.043926 | 0.003757 | 0 | 0 | 0 | 0 | 0 | 1 | 0.109375 | false | 0 | 0.010417 | 0 | 0.260417 | 0.005208 | 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 |
16b6b4d74efc13e8b27317e1ff24fb896a9fb03c | 40 | py | Python | nhl/statsapi/__init__.py | toddrob99/nhl | 8ab4150686665f44bf8108a8ff49b778e0357d31 | [
"MIT"
] | 19 | 2019-03-03T07:34:58.000Z | 2021-12-04T15:06:36.000Z | nhl/statsapi/__init__.py | toddrob99/nhl | 8ab4150686665f44bf8108a8ff49b778e0357d31 | [
"MIT"
] | 3 | 2020-12-18T03:58:31.000Z | 2021-11-08T19:10:23.000Z | nhl/statsapi/__init__.py | toddrob99/nhl | 8ab4150686665f44bf8108a8ff49b778e0357d31 | [
"MIT"
] | 5 | 2019-09-24T17:33:02.000Z | 2021-09-29T23:50:05.000Z | from .api import *
from .parse import *
| 13.333333 | 20 | 0.7 | 6 | 40 | 4.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 40 | 2 | 21 | 20 | 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 |
16d26a3bd17b2945eb9f901cf17e95572459588f | 3,004 | py | Python | src/playground.py | delixfe/valuenet | d5ddcb168a2c8086de5b7c781f6dc686ad183d09 | [
"Apache-2.0"
] | 1 | 2020-11-28T17:44:05.000Z | 2020-11-28T17:44:05.000Z | src/playground.py | delixfe/valuenet | d5ddcb168a2c8086de5b7c781f6dc686ad183d09 | [
"Apache-2.0"
] | 4 | 2021-03-31T20:01:24.000Z | 2021-12-13T20:43:13.000Z | src/playground.py | delixfe/valuenet | d5ddcb168a2c8086de5b7c781f6dc686ad183d09 | [
"Apache-2.0"
] | 1 | 2021-01-26T17:22:11.000Z | 2021-01-26T17:22:11.000Z | import json
# with open('data/spider/preprocessed_with_values.json', 'r', encoding='utf-8') as json_file:
# data = json.load(json_file)
# for row in data:
# values = row['values']
# if values:
# candidates = row['ner_extracted_values_processed']
# print(f'Values: {values... | 200.266667 | 2,582 | 0.677097 | 302 | 3,004 | 6.698676 | 0.291391 | 0.244686 | 0.42264 | 0.680178 | 0.0435 | 0.0435 | 0.0435 | 0 | 0 | 0 | 0 | 0.000377 | 0.11751 | 3,004 | 15 | 2,583 | 200.266667 | 0.762731 | 0.109521 | 0 | 0 | 0 | 0 | 0.704273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.4 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bc41f81481cf9c22b85d5bba0360dd0e55bb8173 | 13,808 | py | Python | test/algorithms/test_admm.py | tamiya-onodera/qiskit-optimization | 4e6a22bb13a13e504de607a02f5afdfd33abfb7c | [
"Apache-2.0"
] | null | null | null | test/algorithms/test_admm.py | tamiya-onodera/qiskit-optimization | 4e6a22bb13a13e504de607a02f5afdfd33abfb7c | [
"Apache-2.0"
] | null | null | null | test/algorithms/test_admm.py | tamiya-onodera/qiskit-optimization | 4e6a22bb13a13e504de607a02f5afdfd33abfb7c | [
"Apache-2.0"
] | null | null | null | # This code is part of Qiskit.
#
# (C) Copyright IBM 2020, 2021.
#
# This code is licensed under the Apache License, Version 2.0. You may
# obtain a copy of this license in the LICENSE.txt file in the root directory
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
#
# Any modifications or derivat... | 36.723404 | 97 | 0.635139 | 1,683 | 13,808 | 5.102198 | 0.123589 | 0.088506 | 0.125772 | 0.039129 | 0.775242 | 0.746943 | 0.718761 | 0.718761 | 0.718761 | 0.712007 | 0 | 0.032806 | 0.249421 | 13,808 | 375 | 98 | 36.821333 | 0.795735 | 0.142454 | 0 | 0.737255 | 0 | 0 | 0.018662 | 0.001978 | 0 | 0 | 0 | 0 | 0.345098 | 1 | 0.043137 | false | 0 | 0.023529 | 0 | 0.070588 | 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 |
bc6f9ea8a79ea234397be9787028eb47b1abe7d0 | 47 | py | Python | app/workers/sigma/__init__.py | d3vzer0/reternal-backend | aeeb613c820759212e7aef9150738a66b2882d50 | [
"MIT"
] | 6 | 2019-01-01T23:38:12.000Z | 2021-07-27T03:43:11.000Z | app/workers/sigma/__init__.py | d3vzer0/reternal-backend | aeeb613c820759212e7aef9150738a66b2882d50 | [
"MIT"
] | 1 | 2020-08-02T00:21:41.000Z | 2020-08-02T00:21:41.000Z | app/workers/sigma/__init__.py | d3vzer0/reternal-backend | aeeb613c820759212e7aef9150738a66b2882d50 | [
"MIT"
] | 1 | 2021-07-27T03:43:24.000Z | 2021-07-27T03:43:24.000Z | from app.workers.sigma.tasks.packager import *
| 23.5 | 46 | 0.808511 | 7 | 47 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.883721 | 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 |
bc908a8a7212cc3f64bea2da2e87f853c6b98966 | 4,261 | py | Python | ceefax/fonts/size4mono/default.py | mscroggs/CEEFAX | 8e7a075de1809064b77360da24ebbbaa409c3bf2 | [
"MIT"
] | 1 | 2020-03-28T15:53:22.000Z | 2020-03-28T15:53:22.000Z | ceefax/fonts/size4mono/default.py | mscroggs/CEEFAX | 8e7a075de1809064b77360da24ebbbaa409c3bf2 | [
"MIT"
] | 1 | 2021-02-05T13:43:52.000Z | 2021-02-05T13:43:52.000Z | ceefax/fonts/size4mono/default.py | mscroggs/CEEFAX | 8e7a075de1809064b77360da24ebbbaa409c3bf2 | [
"MIT"
] | null | null | null | from ceefax.fonts.font import Font
letters = {"|": "x\n"
"x\n"
"x\n"
"x",
"@": "',,,, x\n"
" x x x\n"
" x x\n"
",'''''x",
"A": "xx''xxx\n"
"x xx xx\n"
"x ,, xx\n"
... | 27.140127 | 34 | 0.207228 | 501 | 4,261 | 1.762475 | 0.093812 | 0.1812 | 0.208381 | 0.210646 | 0.82786 | 0.750849 | 0.660249 | 0.503964 | 0.431484 | 0.328426 | 0 | 0.006377 | 0.595165 | 4,261 | 156 | 35 | 27.314103 | 0.505507 | 0 | 0 | 0.571429 | 0 | 0 | 0.306501 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.006494 | 0 | 0.006494 | 0 | 0 | 0 | 1 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
bcad46e50f0d306dd12a79b326b57bcdf2bbd02a | 11,836 | py | Python | src/mlalgms/pairwisemodel.py | sandeepbhojwani/foremast-brain | b083ea08c0506517ede8501b9ad44408e89afdc6 | [
"Apache-2.0"
] | null | null | null | src/mlalgms/pairwisemodel.py | sandeepbhojwani/foremast-brain | b083ea08c0506517ede8501b9ad44408e89afdc6 | [
"Apache-2.0"
] | null | null | null | src/mlalgms/pairwisemodel.py | sandeepbhojwani/foremast-brain | b083ea08c0506517ede8501b9ad44408e89afdc6 | [
"Apache-2.0"
] | null | null | null | from scipy.stats import mannwhitneyu
#, wilcoxon,kruskal,friedmanchisquare
from metadata.globalconfig import globalconfig
from mlalgms.statsmodel import IS_UPPER_BOUND,IS_LOWER_BOUND #,IS_UPPER_O_LOWER_BOUND
import warnings
warnings.filterwarnings('ignore')
##########################... | 46.968254 | 142 | 0.61051 | 1,435 | 11,836 | 4.802091 | 0.062021 | 0.083587 | 0.113481 | 0.128283 | 0.861268 | 0.846466 | 0.846466 | 0.842548 | 0.842548 | 0.830068 | 0 | 0.017747 | 0.27636 | 11,836 | 251 | 143 | 47.155378 | 0.786807 | 0.01656 | 0 | 0.064516 | 0 | 0 | 0.125328 | 0.068241 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032258 | false | 0 | 0.129032 | 0 | 0.290323 | 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 |
bcee98c38935c24b509fbd4444e11d4758ed75ce | 49 | py | Python | Chapter_I/hello.py | dragos-constantin-stoica/python_book | 3b9cab74f7220f872d5c618c6f64fe3a43da3134 | [
"Apache-2.0"
] | null | null | null | Chapter_I/hello.py | dragos-constantin-stoica/python_book | 3b9cab74f7220f872d5c618c6f64fe3a43da3134 | [
"Apache-2.0"
] | null | null | null | Chapter_I/hello.py | dragos-constantin-stoica/python_book | 3b9cab74f7220f872d5c618c6f64fe3a43da3134 | [
"Apache-2.0"
] | null | null | null | print ("Hello world from my 1st Python program!") | 49 | 49 | 0.755102 | 8 | 49 | 4.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.142857 | 49 | 1 | 49 | 49 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.78 | 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 |
bcfc18f2e97b33cadcba0d20a4d6bc9247df56eb | 50,723 | py | Python | src/main.py | Ethan-Francolla/Wordle-Solver | 85c68530d3d6f8a2aaec7523b411be2d51190a38 | [
"MIT"
] | 6 | 2022-01-24T13:51:14.000Z | 2022-03-02T12:39:24.000Z | src/main.py | Ethan-Francolla/Wordle-Solver | 85c68530d3d6f8a2aaec7523b411be2d51190a38 | [
"MIT"
] | 6 | 2022-03-05T18:00:50.000Z | 2022-03-07T23:33:13.000Z | src/main.py | Ethan-Francolla/Wordle-Analyzer | 85c68530d3d6f8a2aaec7523b411be2d51190a38 | [
"MIT"
] | null | null | null | '''
Credit to dwyl for providing the database of all English words
https://github.com/dwyl/english-words
'''
# Import necessary libraries and modules
import random as rand # Used for random number generation
import word_list_generation as word_list_generation # Turn the words databases into lists of lists
import welc... | 47.360411 | 123 | 0.697672 | 8,560 | 50,723 | 3.626402 | 0.024533 | 0.150763 | 0.092455 | 0.042716 | 0.918175 | 0.901231 | 0.853682 | 0.826364 | 0.773533 | 0.769151 | 0 | 0.05056 | 0.243538 | 50,723 | 1,070 | 124 | 47.404673 | 0.758457 | 0.082527 | 0 | 0.464921 | 0 | 0 | 0.024168 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008377 | false | 0 | 0.015707 | 0 | 0.024084 | 0.025131 | 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 |
bcfda5b907ba7ddc2b9a4283ab86197b27797dd9 | 1,511 | py | Python | tests/test_check.py | clararehmann/gpvolve | 4e45b53b72184425c24d57b2e8779d3d51de39d7 | [
"MIT"
] | 1 | 2021-12-05T23:00:59.000Z | 2021-12-05T23:00:59.000Z | tests/test_check.py | clararehmann/gpvolve | 4e45b53b72184425c24d57b2e8779d3d51de39d7 | [
"MIT"
] | null | null | null | tests/test_check.py | clararehmann/gpvolve | 4e45b53b72184425c24d57b2e8779d3d51de39d7 | [
"MIT"
] | null | null | null |
import pytest
import gpvolve.check as check
import gpmap
def test_check_gpm():
with pytest.raises(TypeError):
check.gpm_sanity("stupid")
gpm = gpmap.GenotypePhenotypeMap(genotype=["00","10","01","11"],
fitness=[0.1,0.2,0.2,0.3])
gpm._data = "stupid"
with ... | 32.148936 | 68 | 0.572469 | 194 | 1,511 | 4.386598 | 0.216495 | 0.023502 | 0.035253 | 0.119859 | 0.793184 | 0.793184 | 0.793184 | 0.793184 | 0.793184 | 0.674501 | 0 | 0.074074 | 0.267373 | 1,511 | 46 | 69 | 32.847826 | 0.69467 | 0.041032 | 0 | 0.705882 | 0 | 0 | 0.048476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029412 | false | 0 | 0.088235 | 0 | 0.117647 | 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 |
4c6448a6eaa7726d2a8c94f3b72f5bf5660cc928 | 100 | py | Python | pendulum/exceptions.py | seandstewart/pendulum | daa4b936daf3f4dfa7d211aa0ac1e9d82d5401d4 | [
"MIT"
] | 5,049 | 2016-07-04T07:16:34.000Z | 2022-03-31T07:41:48.000Z | pendulum/exceptions.py | seandstewart/pendulum | daa4b936daf3f4dfa7d211aa0ac1e9d82d5401d4 | [
"MIT"
] | 536 | 2016-07-05T22:46:29.000Z | 2022-03-22T12:41:54.000Z | pendulum/exceptions.py | seandstewart/pendulum | daa4b936daf3f4dfa7d211aa0ac1e9d82d5401d4 | [
"MIT"
] | 373 | 2016-07-05T19:51:51.000Z | 2022-03-23T16:57:46.000Z | from .parsing.exceptions import ParserError # noqa
class PendulumException(Exception):
pass
| 14.285714 | 51 | 0.77 | 10 | 100 | 7.7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 | 100 | 6 | 52 | 16.666667 | 0.927711 | 0.04 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 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 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
4c71045ff95b29a39f2a6eefd0ac4b580093d709 | 147 | py | Python | nitorch/nn/preproc/__init__.py | balbasty/nitorch | d30c3125a8a66ea1434f2b39ed03338afd9724b4 | [
"MIT"
] | 46 | 2020-07-31T10:14:05.000Z | 2022-03-24T12:51:46.000Z | nitorch/nn/preproc/__init__.py | balbasty/nitorch | d30c3125a8a66ea1434f2b39ed03338afd9724b4 | [
"MIT"
] | 36 | 2020-10-06T19:01:38.000Z | 2022-02-03T18:07:35.000Z | nitorch/nn/preproc/__init__.py | balbasty/nitorch | d30c3125a8a66ea1434f2b39ed03338afd9724b4 | [
"MIT"
] | 6 | 2021-01-05T14:59:05.000Z | 2021-11-18T18:26:45.000Z | from . import categorical
from . import intensity
from . import spatial
from .categorical import *
from .intensity import *
from .spatial import * | 21 | 26 | 0.77551 | 18 | 147 | 6.333333 | 0.277778 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 147 | 7 | 27 | 21 | 0.926829 | 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 |
911ccc2a436676c5c5186046edec78aef627928c | 36 | py | Python | nipype/interfaces/dipy/__init__.py | sebastientourbier/nipype_lts5 | 3b9718d154443574cc6a5d0bbd76ccf7964e6a45 | [
"BSD-3-Clause"
] | 1 | 2018-09-09T14:47:04.000Z | 2018-09-09T14:47:04.000Z | nipype/interfaces/dipy/__init__.py | MarcCote/nipype | b4014e1d87509f35242f0547f51d2b8962f83cbe | [
"BSD-3-Clause"
] | null | null | null | nipype/interfaces/dipy/__init__.py | MarcCote/nipype | b4014e1d87509f35242f0547f51d2b8962f83cbe | [
"BSD-3-Clause"
] | 1 | 2020-02-19T13:47:05.000Z | 2020-02-19T13:47:05.000Z | from .tracks import TrackDensityMap
| 18 | 35 | 0.861111 | 4 | 36 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 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 |
912e3697eca9917132182b5ca67237454d41035e | 23 | py | Python | Thestral/__init__.py | Fang-Kevin/Thestral | dcc20f79ced798e357229797c2d0ab0900ce5d26 | [
"MIT"
] | null | null | null | Thestral/__init__.py | Fang-Kevin/Thestral | dcc20f79ced798e357229797c2d0ab0900ce5d26 | [
"MIT"
] | null | null | null | Thestral/__init__.py | Fang-Kevin/Thestral | dcc20f79ced798e357229797c2d0ab0900ce5d26 | [
"MIT"
] | null | null | null | from Thestral import *
| 11.5 | 22 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 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 |
e68143d9a2d2d820b2d176190d3d15df42cd51c9 | 18 | py | Python | server/game/__init__.py | ldieselUT/DistSystemHW2 | 8b13ca8ad9cc459a5e522c1387bef969150c6ebf | [
"MIT"
] | null | null | null | server/game/__init__.py | ldieselUT/DistSystemHW2 | 8b13ca8ad9cc459a5e522c1387bef969150c6ebf | [
"MIT"
] | null | null | null | server/game/__init__.py | ldieselUT/DistSystemHW2 | 8b13ca8ad9cc459a5e522c1387bef969150c6ebf | [
"MIT"
] | null | null | null | from game import * | 18 | 18 | 0.777778 | 3 | 18 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 0.933333 | 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 |
e6ddd996ddcd843cc866619e4bb34d97c0b03271 | 20,794 | py | Python | ding/model/template/maqac.py | jayyoung0802/DI-engine | efbb35ddaf184d1009291e6842fbbae09f193492 | [
"Apache-2.0"
] | 1 | 2022-03-21T16:15:39.000Z | 2022-03-21T16:15:39.000Z | ding/model/template/maqac.py | jayyoung0802/DI-engine | efbb35ddaf184d1009291e6842fbbae09f193492 | [
"Apache-2.0"
] | null | null | null | ding/model/template/maqac.py | jayyoung0802/DI-engine | efbb35ddaf184d1009291e6842fbbae09f193492 | [
"Apache-2.0"
] | null | null | null | from typing import Union, Dict, Optional
from easydict import EasyDict
import numpy as np
import torch
import torch.nn as nn
from ding.utils import SequenceType, squeeze, MODEL_REGISTRY
from ..common import RegressionHead, ReparameterizationHead, DiscreteHead, MultiHead, \
FCEncoder, ConvEncoder
@MODEL_REGISTRY.... | 47.692661 | 118 | 0.544532 | 2,336 | 20,794 | 4.690497 | 0.086045 | 0.041982 | 0.042165 | 0.020809 | 0.867756 | 0.834079 | 0.820389 | 0.804417 | 0.803961 | 0.798302 | 0 | 0.009941 | 0.327546 | 20,794 | 435 | 119 | 47.802299 | 0.773654 | 0.558286 | 0 | 0.60989 | 0 | 0 | 0.04927 | 0 | 0 | 0 | 0 | 0 | 0.016484 | 1 | 0.043956 | false | 0 | 0.038462 | 0 | 0.142857 | 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 |
fc079a863453356d206b139007a9e691dcc41468 | 35,907 | py | Python | tests/slurm_plugin/slurm_resources/test_slurm_resources.py | awslabs/cfncluster-node | 30169746c82fb17e522dd20a6c7985be8cbbe441 | [
"Apache-2.0"
] | 18 | 2016-07-11T15:07:27.000Z | 2018-09-25T18:08:28.000Z | tests/slurm_plugin/slurm_resources/test_slurm_resources.py | awslabs/cfncluster-node | 30169746c82fb17e522dd20a6c7985be8cbbe441 | [
"Apache-2.0"
] | 21 | 2016-03-21T20:17:20.000Z | 2018-11-06T09:07:43.000Z | tests/slurm_plugin/slurm_resources/test_slurm_resources.py | awslabs/cfncluster-node | 30169746c82fb17e522dd20a6c7985be8cbbe441 | [
"Apache-2.0"
] | 26 | 2016-03-21T04:08:05.000Z | 2018-09-27T20:15:18.000Z | # Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
# with the License. A copy of the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "LICENSE.txt" file accom... | 35.134051 | 120 | 0.532153 | 3,431 | 35,907 | 5.400758 | 0.067327 | 0.074798 | 0.061144 | 0.074312 | 0.849541 | 0.808095 | 0.779924 | 0.741878 | 0.710038 | 0.692984 | 0 | 0.036141 | 0.321107 | 35,907 | 1,021 | 121 | 35.168462 | 0.724002 | 0.023561 | 0 | 0.65109 | 0 | 0.004154 | 0.349094 | 0.093508 | 0 | 0 | 0 | 0 | 0.023884 | 1 | 0.021807 | false | 0 | 0.005192 | 0 | 0.026999 | 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 |
fc2be215cd39d2920b388bb851b41fdc514e2701 | 38 | py | Python | tests/functions/bitxor.py | treeform/pystorm | 3a2224bcdaccc5a2abf6a820c0bcf7afa3e6fed4 | [
"MIT"
] | 50 | 2015-03-24T19:45:34.000Z | 2022-02-20T04:34:26.000Z | tests/functions/bitxor.py | dusty-phillips/pyjaco | 066895ae38d1828498e529c1875cb88df6cbc54d | [
"MIT"
] | 2 | 2017-02-26T09:43:07.000Z | 2017-03-06T20:04:24.000Z | tests/functions/bitxor.py | Slater-Victoroff/pyjaco | 89c4e3c46399c5023b0e160005d855a01241c58a | [
"MIT"
] | 12 | 2016-03-07T09:30:49.000Z | 2021-09-05T20:38:47.000Z | x = 32213
y = 98743
z = x ^ y
print z
| 7.6 | 9 | 0.552632 | 9 | 38 | 2.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0.342105 | 38 | 4 | 10 | 9.5 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fc6fe6367d0c8416a0666687bfee124b968f70a0 | 38,146 | py | Python | models/Translator.py | ybCliff/VideoCaptioning | 93fc3b095c970e51e1e24909163a827df98d6ef3 | [
"MIT"
] | 3 | 2020-05-16T23:59:57.000Z | 2021-06-14T01:59:41.000Z | models/Translator.py | ybCliff/VideoCaptioning | 93fc3b095c970e51e1e24909163a827df98d6ef3 | [
"MIT"
] | null | null | null | models/Translator.py | ybCliff/VideoCaptioning | 93fc3b095c970e51e1e24909163a827df98d6ef3 | [
"MIT"
] | 3 | 2020-05-17T00:01:01.000Z | 2020-07-28T18:04:05.000Z | ''' This module will handle the text generation with beam search. '''
import torch
import torch.nn as nn
import torch.nn.functional as F
from models.Beam import Beam
import os, json
import models.Constants as Constants
class Translator(object):
''' Load with trained model and handle the beam search '''
def ... | 49.929319 | 173 | 0.611781 | 5,181 | 38,146 | 4.100174 | 0.04613 | 0.063268 | 0.053241 | 0.054418 | 0.888387 | 0.847856 | 0.826107 | 0.812644 | 0.800075 | 0.792449 | 0 | 0.009128 | 0.299271 | 38,146 | 763 | 174 | 49.994758 | 0.785597 | 0.075159 | 0 | 0.669903 | 0 | 0 | 0.012049 | 0 | 0 | 0 | 0 | 0 | 0.027184 | 1 | 0.071845 | false | 0 | 0.013592 | 0.001942 | 0.16699 | 0.001942 | 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 |
fc80cd9b1168d91476c56530f47badf2d21f3739 | 4,112 | py | Python | openstack/plugins/healthmonitor.py | MilkBotttle/systex_rally | 38da1fd019bf64af6ea391ec58417b36cbd2ed19 | [
"Apache-2.0"
] | null | null | null | openstack/plugins/healthmonitor.py | MilkBotttle/systex_rally | 38da1fd019bf64af6ea391ec58417b36cbd2ed19 | [
"Apache-2.0"
] | null | null | null | openstack/plugins/healthmonitor.py | MilkBotttle/systex_rally | 38da1fd019bf64af6ea391ec58417b36cbd2ed19 | [
"Apache-2.0"
] | null | null | null | from rally.task import validation
from rally_openstack import consts
from rally_openstack import scenario
from rally_openstack.scenarios.octavia import utils as octavia_utils
@validation.add("required_services", services=[consts.Service.OCTAVIA])
@validation.add("required_platform", platform="openstack", users=True)
... | 45.688889 | 89 | 0.61965 | 409 | 4,112 | 6.02445 | 0.202934 | 0.058036 | 0.068182 | 0.048701 | 0.784497 | 0.784497 | 0.771104 | 0.771104 | 0.747565 | 0.747565 | 0 | 0.004599 | 0.259728 | 4,112 | 89 | 90 | 46.202247 | 0.804862 | 0 | 0 | 0.752941 | 0 | 0 | 0.156128 | 0.026021 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035294 | false | 0 | 0.047059 | 0 | 0.117647 | 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 |
5d8db93bac86e826ed810233823c76e4d3190204 | 245 | py | Python | dvd/backend/dvd/core/signals.py | migue559/djangoVueDocker | c05e64e3699895ef691eb73c435cd815efbd0529 | [
"MIT"
] | null | null | null | dvd/backend/dvd/core/signals.py | migue559/djangoVueDocker | c05e64e3699895ef691eb73c435cd815efbd0529 | [
"MIT"
] | null | null | null | dvd/backend/dvd/core/signals.py | migue559/djangoVueDocker | c05e64e3699895ef691eb73c435cd815efbd0529 | [
"MIT"
] | null | null | null | from django.db.models.signals import post_save, m2m_changed
from graphene_subscriptions.signals import post_save_subscription
from .models import User
post_save.connect(post_save_subscription, sender=User, dispatch_uid="User_post_save")
| 35 | 86 | 0.840816 | 35 | 245 | 5.571429 | 0.514286 | 0.205128 | 0.174359 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004525 | 0.097959 | 245 | 6 | 87 | 40.833333 | 0.877828 | 0 | 0 | 0 | 0 | 0 | 0.058577 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 0 | 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 |
5db0d22ff170109333375f1275bb95ef515a88d0 | 690 | py | Python | src/utils/cheatengine_communication.py | ike753z/BLRE-Server-Info-Discord-Bot | 38af42bfaa7424ce6e2b5d7b3feed7b0f03a0a07 | [
"MIT"
] | null | null | null | src/utils/cheatengine_communication.py | ike753z/BLRE-Server-Info-Discord-Bot | 38af42bfaa7424ce6e2b5d7b3feed7b0f03a0a07 | [
"MIT"
] | null | null | null | src/utils/cheatengine_communication.py | ike753z/BLRE-Server-Info-Discord-Bot | 38af42bfaa7424ce6e2b5d7b3feed7b0f03a0a07 | [
"MIT"
] | null | null | null | import struct
def scan_players(totalPlayers):
f = open(r'\\.\pipe\blrevive','wb')
# f = open(r'\\.\pipe\blreviveDev','wb')
lua = "Update30Seconds({})".format(totalPlayers)
luaBytes = bytes(lua, 'utf-8')
csz = len(luaBytes)
tosend = struct.pack("<bi"+str(csz)+"sq", 1, csz, luaBytes, 0)
r... | 22.258065 | 66 | 0.573913 | 93 | 690 | 4.236559 | 0.387097 | 0.050761 | 0.060914 | 0.101523 | 0.741117 | 0.741117 | 0.741117 | 0.741117 | 0.741117 | 0.741117 | 0 | 0.016514 | 0.210145 | 690 | 31 | 67 | 22.258065 | 0.706422 | 0.111594 | 0 | 0.736842 | 0 | 0 | 0.152209 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.052632 | 0 | 0.157895 | 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 |
5dbea84112e800b56c3ffe1e3aed4c25c79a167c | 143 | py | Python | code/np.py | pinzhongchuangxin/opencv | 4b7a406cff32f0e3bff4dcd6b353df6a61861b42 | [
"MIT"
] | null | null | null | code/np.py | pinzhongchuangxin/opencv | 4b7a406cff32f0e3bff4dcd6b353df6a61861b42 | [
"MIT"
] | null | null | null | code/np.py | pinzhongchuangxin/opencv | 4b7a406cff32f0e3bff4dcd6b353df6a61861b42 | [
"MIT"
] | null | null | null | from th_test import tt
import time
tt.test_2()
while True:
# print(tt.arr)
print(tt.arr[0])
time.sleep(1)
# print(tt.arr)np | 17.875 | 24 | 0.622378 | 26 | 143 | 3.346154 | 0.576923 | 0.241379 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027523 | 0.237762 | 143 | 8 | 24 | 17.875 | 0.770642 | 0.202797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b90783695e46e638324d6c1e8a2a014e35dfefce | 45 | py | Python | profile_generator/log/__init__.py | nethy/profile-generator | 9bc54bed36b84b45902d75a273739480b4ff2204 | [
"MIT"
] | null | null | null | profile_generator/log/__init__.py | nethy/profile-generator | 9bc54bed36b84b45902d75a273739480b4ff2204 | [
"MIT"
] | null | null | null | profile_generator/log/__init__.py | nethy/profile-generator | 9bc54bed36b84b45902d75a273739480b4ff2204 | [
"MIT"
] | null | null | null | from .config import get_console_logger, init
| 22.5 | 44 | 0.844444 | 7 | 45 | 5.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 1 | 45 | 45 | 0.9 | 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 |
f8d58f0cff17bbf9301d43598ba2ca7dd481d227 | 53,026 | py | Python | bot/telebot.py | fossabot/devopshelper_bot | f0ed63a428416c3b1e4318025cbc97f69c4be249 | [
"BSD-3-Clause"
] | null | null | null | bot/telebot.py | fossabot/devopshelper_bot | f0ed63a428416c3b1e4318025cbc97f69c4be249 | [
"BSD-3-Clause"
] | null | null | null | bot/telebot.py | fossabot/devopshelper_bot | f0ed63a428416c3b1e4318025cbc97f69c4be249 | [
"BSD-3-Clause"
] | null | null | null | import logging
import sys
import datetime
import configparser
import argparse
import inspect
import re
import shlex
from mwt import MWT
from dbhelper import DBHelper
from telegram import InlineKeyboardMarkup, InlineKeyboardButton, ReplyKeyboardRemove, ChatPermissions
from telegram.ext import MessageHandler, Filters, Co... | 61.729919 | 194 | 0.594935 | 6,258 | 53,026 | 4.793225 | 0.055769 | 0.12655 | 0.081478 | 0.081711 | 0.82231 | 0.812075 | 0.770536 | 0.759935 | 0.752434 | 0.732231 | 0 | 0.002527 | 0.276016 | 53,026 | 858 | 195 | 61.801865 | 0.778823 | 0.021763 | 0 | 0.637701 | 0 | 0.001337 | 0.08924 | 0.001235 | 0.022727 | 0 | 0 | 0 | 0 | 1 | 0.03877 | false | 0.002674 | 0.01738 | 0 | 0.061497 | 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 |
5d4f57c12803f7bd5014ae82fde9fa61eeebf0e7 | 722 | py | Python | terrascript/opsgenie/r.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | terrascript/opsgenie/r.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | terrascript/opsgenie/r.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | # terrascript/opsgenie/r.py
import terrascript
class opsgenie_team(terrascript.Resource):
pass
class opsgenie_team_routing_rule(terrascript.Resource):
pass
class opsgenie_user(terrascript.Resource):
pass
class opsgenie_user_contact(terrascript.Resource):
pass
class opsgenie_escalation(terrasc... | 15.041667 | 55 | 0.789474 | 78 | 722 | 7.089744 | 0.269231 | 0.25859 | 0.457505 | 0.506329 | 0.734177 | 0.40868 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144044 | 722 | 47 | 56 | 15.361702 | 0.894822 | 0.034626 | 0 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.478261 | 0.043478 | 0 | 0.521739 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
5d719da2cea5f49c79d3c22f345c08af34125d3e | 124 | py | Python | dist/Basilisk/fswAlgorithms/mrpRotation/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | null | null | null | dist/Basilisk/fswAlgorithms/mrpRotation/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | 1 | 2019-03-13T20:52:22.000Z | 2019-03-13T20:52:22.000Z | dist/Basilisk/fswAlgorithms/mrpRotation/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | null | null | null | # This __init__.py file for the mrpRotation package is automatically generated by the build system
from mrpRotation import * | 62 | 98 | 0.830645 | 18 | 124 | 5.5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145161 | 124 | 2 | 99 | 62 | 0.933962 | 0.774194 | 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 |
537be0dd389dcc688defe1da3ebc0d43c7d4d3ce | 43 | py | Python | tcedata/__init__.py | jiqicn/tcedata | 1640c5f1767efd6e958467f39b7cab42340ebb6e | [
"MIT"
] | null | null | null | tcedata/__init__.py | jiqicn/tcedata | 1640c5f1767efd6e958467f39b7cab42340ebb6e | [
"MIT"
] | 2 | 2021-11-01T10:10:17.000Z | 2021-12-09T15:21:27.000Z | tcedata/__init__.py | jiqicn/tcedata | 1640c5f1767efd6e958467f39b7cab42340ebb6e | [
"MIT"
] | null | null | null | from .minio import *
from .tcedata import * | 21.5 | 22 | 0.744186 | 6 | 43 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 2 | 22 | 21.5 | 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 |
5390439ba6c39c31ba4c90c3427c225d8387ddd4 | 3,316 | py | Python | tests/unit/scalar_fields/test_xyz_scalar_fields.py | bernssolg/pyntcloud-master | 84cf000b7a7f69a2c1b36f9624f05f65160bf992 | [
"MIT"
] | 1,142 | 2016-10-10T08:55:30.000Z | 2022-03-30T04:46:16.000Z | tests/unit/scalar_fields/test_xyz_scalar_fields.py | bernssolg/pyntcloud-master | 84cf000b7a7f69a2c1b36f9624f05f65160bf992 | [
"MIT"
] | 195 | 2016-10-10T08:30:37.000Z | 2022-02-17T12:51:17.000Z | tests/unit/scalar_fields/test_xyz_scalar_fields.py | bernssolg/pyntcloud-master | 84cf000b7a7f69a2c1b36f9624f05f65160bf992 | [
"MIT"
] | 215 | 2017-02-28T00:50:29.000Z | 2022-03-22T17:01:31.000Z | import pytest
import numpy as np
from pyntcloud.scalar_fields.xyz import (
PlaneFit,
SphereFit,
SphericalCoordinates,
CylindricalCoordinates
)
@pytest.mark.usefixtures("plane_pyntcloud")
def test_PlaneFit_max_dist(plane_pyntcloud):
scalar_field = PlaneFit(
pyntcloud=plane_pyntcloud)
... | 33.16 | 80 | 0.723764 | 418 | 3,316 | 5.404306 | 0.138756 | 0.194776 | 0.092076 | 0.106242 | 0.850376 | 0.850376 | 0.782205 | 0.782205 | 0.753873 | 0.676405 | 0 | 0.010054 | 0.160133 | 3,316 | 99 | 81 | 33.494949 | 0.801077 | 0 | 0 | 0.552632 | 0 | 0 | 0.106486 | 0.0181 | 0 | 0 | 0 | 0 | 0.210526 | 1 | 0.052632 | false | 0 | 0.039474 | 0 | 0.092105 | 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 |
5396b9d94582726c0834d7ff4388009cbdeb4590 | 33 | py | Python | clinica/engine/__init__.py | alexandreroutier/clinica | 66625c65e74962db7d5cea267d1a0e51d774bf91 | [
"MIT"
] | 135 | 2019-05-17T14:16:40.000Z | 2022-03-19T03:08:05.000Z | clinica/engine/__init__.py | alexandreroutier/clinica | 66625c65e74962db7d5cea267d1a0e51d774bf91 | [
"MIT"
] | 391 | 2019-06-03T09:32:17.000Z | 2022-03-31T15:10:26.000Z | clinica/engine/__init__.py | alexandreroutier/clinica | 66625c65e74962db7d5cea267d1a0e51d774bf91 | [
"MIT"
] | 57 | 2019-05-20T08:38:01.000Z | 2022-02-11T12:14:32.000Z | from .cmdparser import CmdParser
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 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 |
53b0f164c7063aa80408b1f8d15ec5e3f054bbd7 | 100 | py | Python | NasUnet/util/__init__.py | mlvc-lab/Segmentation-NAS | a9387a1546dacfa2dc6ee1f70366542a1552e541 | [
"MIT"
] | 4 | 2020-03-26T11:05:08.000Z | 2020-12-22T08:37:20.000Z | NasUnet/util/__init__.py | mlvc-lab/Segmentation-NAS | a9387a1546dacfa2dc6ee1f70366542a1552e541 | [
"MIT"
] | null | null | null | NasUnet/util/__init__.py | mlvc-lab/Segmentation-NAS | a9387a1546dacfa2dc6ee1f70366542a1552e541 | [
"MIT"
] | 3 | 2020-03-26T11:05:09.000Z | 2022-01-28T11:29:00.000Z | #from .visualize import *
from .metrics import *
from .prim_ops_set import *
from .utils import * | 25 | 28 | 0.73 | 14 | 100 | 5.071429 | 0.571429 | 0.422535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18 | 100 | 4 | 29 | 25 | 0.865854 | 0.24 | 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 |
53f734e8a1fd9b0c286564f992eb8cd04f4ebdde | 155 | py | Python | setup.py | j0912345/pvz2_obb_tools | 1cb2780a36850534f56ae207dfa92f4c23b6117a | [
"MIT"
] | null | null | null | setup.py | j0912345/pvz2_obb_tools | 1cb2780a36850534f56ae207dfa92f4c23b6117a | [
"MIT"
] | 1 | 2021-12-02T00:29:12.000Z | 2021-12-02T00:29:12.000Z | setup.py | j0912345/pvz2_obb_tools | 1cb2780a36850534f56ae207dfa92f4c23b6117a | [
"MIT"
] | null | null | null | from distutils.core import setup
import py2exe
setup(console=['extract_obb.py', 'extract_file_names.py', 'convert_data_from_file_to_32_bit_uint.py'])
| 31 | 103 | 0.8 | 25 | 155 | 4.56 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.090323 | 155 | 4 | 104 | 38.75 | 0.787234 | 0 | 0 | 0 | 0 | 0 | 0.496689 | 0.403974 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
54f20bd03a023c684924a40c000e7c92191b4b88 | 23 | py | Python | tsmpy/dcel/__init__.py | rawfh/Topology-Shape-Metrics-algorithm | 5f306fd12ce0833279b86baa66655eeec508e03a | [
"MIT"
] | 2 | 2021-05-26T16:45:14.000Z | 2021-05-30T10:15:01.000Z | tsmpy/dcel/__init__.py | rawfh/Topology-Shape-Metrics-algorithm | 5f306fd12ce0833279b86baa66655eeec508e03a | [
"MIT"
] | 3 | 2021-06-12T17:02:14.000Z | 2021-06-14T16:52:02.000Z | tsmpy/dcel/__init__.py | rawfh/Topology-Shape-Metrics-algorithm | 5f306fd12ce0833279b86baa66655eeec508e03a | [
"MIT"
] | 2 | 2020-06-11T11:00:06.000Z | 2021-03-18T11:46:12.000Z | from .dcel import Dcel
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 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 |
072ced417bb775f7de8bf208b95b311c606ecfdb | 505 | py | Python | main/colour.py | myujjawal/Terminal_Chat_Console | 27ed40923189ead9d211c5a42e3ccbe8bd083652 | [
"Apache-2.0"
] | 3 | 2021-01-01T17:58:05.000Z | 2021-12-30T08:45:12.000Z | main/colour.py | myujjawal/Terminal_Chat_Console | 27ed40923189ead9d211c5a42e3ccbe8bd083652 | [
"Apache-2.0"
] | null | null | null | main/colour.py | myujjawal/Terminal_Chat_Console | 27ed40923189ead9d211c5a42e3ccbe8bd083652 | [
"Apache-2.0"
] | 3 | 2020-05-20T06:10:14.000Z | 2020-07-02T10:17:58.000Z | def prRed(skk): print("\033[91m {}\033[00m" .format(skk))
def prGreen(skk): print("\033[92m {}\033[00m" .format(skk))
def prYellow(skk): print("\033[93m {}\033[00m" .format(skk))
def prLightPurple(skk): print("\033[94m {}\033[00m" .format(skk))
def prPurple(skk): print("\033[95m {}\033[00m" .format(skk))
def ... | 56.111111 | 67 | 0.635644 | 80 | 505 | 4.0125 | 0.275 | 0.199377 | 0.274143 | 0.373832 | 0.392523 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178174 | 0.110891 | 505 | 8 | 68 | 63.125 | 0.536748 | 0 | 0 | 0 | 0 | 0 | 0.305835 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | false | 0 | 0 | 0 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 6 |
4ad28f8567c7cbef39db512ef86b7cfd9466b989 | 7,524 | py | Python | tests/util/test_percentage.py | tbarbette/core | 8e58c3aa7bc8d2c2b09b6bd329daa1c092d52d3c | [
"Apache-2.0"
] | 4 | 2016-06-22T12:00:41.000Z | 2018-06-11T20:31:25.000Z | tests/util/test_percentage.py | tbarbette/core | 8e58c3aa7bc8d2c2b09b6bd329daa1c092d52d3c | [
"Apache-2.0"
] | 58 | 2020-08-03T07:33:02.000Z | 2022-03-31T06:02:05.000Z | tests/util/test_percentage.py | tbarbette/core | 8e58c3aa7bc8d2c2b09b6bd329daa1c092d52d3c | [
"Apache-2.0"
] | 6 | 2019-07-06T00:43:13.000Z | 2021-01-16T13:27:06.000Z | """Test Home Assistant percentage conversions."""
import math
import pytest
from homeassistant.util.percentage import (
ordered_list_item_to_percentage,
percentage_to_ordered_list_item,
percentage_to_ranged_value,
ranged_value_to_percentage,
)
SPEED_LOW = "low"
SPEED_MEDIUM = "medium"
SPEED_HIGH = "... | 47.320755 | 91 | 0.782297 | 1,138 | 7,524 | 4.699473 | 0.081722 | 0.252992 | 0.168287 | 0.180628 | 0.873972 | 0.812079 | 0.741773 | 0.694465 | 0.641548 | 0.572924 | 0 | 0.042537 | 0.14075 | 7,524 | 158 | 92 | 47.620253 | 0.784687 | 0.005715 | 0 | 0.191304 | 0 | 0 | 0.0066 | 0 | 0 | 0 | 0 | 0 | 0.66087 | 1 | 0 | false | 0 | 0.026087 | 0 | 0.026087 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4af7dab9caf53b6556913fbaf39e051af04a105a | 5,323 | py | Python | internal/core/src/index/thirdparty/faiss/tests/test_binary_io.py | mfkiwl/milvus | c440b9e8a0dcb18bee52d58da303c37a97d20f94 | [
"Apache-2.0"
] | 10,504 | 2019-09-16T12:20:11.000Z | 2022-03-31T15:07:56.000Z | internal/core/src/index/thirdparty/faiss/tests/test_binary_io.py | mfkiwl/milvus | c440b9e8a0dcb18bee52d58da303c37a97d20f94 | [
"Apache-2.0"
] | 13,389 | 2019-09-16T06:49:53.000Z | 2022-03-31T18:01:24.000Z | internal/core/src/index/thirdparty/faiss/tests/test_binary_io.py | mfkiwl/milvus | c440b9e8a0dcb18bee52d58da303c37a97d20f94 | [
"Apache-2.0"
] | 1,792 | 2019-09-18T04:27:42.000Z | 2022-03-31T14:37:20.000Z | # Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
"""Binary indexes (de)serialization"""
from __future__ import absolute_import, division, print_function, unicode_literals
import numpy as np... | 24.417431 | 82 | 0.562841 | 670 | 5,323 | 4.295522 | 0.18806 | 0.04378 | 0.041696 | 0.062543 | 0.773454 | 0.760598 | 0.760598 | 0.746004 | 0.740445 | 0.708478 | 0 | 0.034852 | 0.315424 | 5,323 | 217 | 83 | 24.529954 | 0.75494 | 0.043209 | 0 | 0.78169 | 0 | 0 | 0.002558 | 0 | 0 | 0 | 0 | 0 | 0.084507 | 1 | 0.084507 | false | 0 | 0.042254 | 0 | 0.169014 | 0.007042 | 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 |
ab3908d0554cc7de124110afe281d80d6f18c52f | 822 | py | Python | heart_words.py | eptyee/heart_words | e694a287d50c4aab92de4eb1504fdd1f72cd1f2e | [
"MIT"
] | null | null | null | heart_words.py | eptyee/heart_words | e694a287d50c4aab92de4eb1504fdd1f72cd1f2e | [
"MIT"
] | null | null | null | heart_words.py | eptyee/heart_words | e694a287d50c4aab92de4eb1504fdd1f72cd1f2e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Mon May 21 15:59:37 2018
@author: skyligo
"""
import time
words= input('plz input the words:')
for item in words.split():
print('\n'.join([''.join([(item[(x-y)%len(item)] if ((((x*0.05)**2+(y*0.1)**2-1)**3)-((x*0.05)**2)*(y*0.1)**3) <= 0 else ' ')for x in range(-30,30)]) for ... | 48.352941 | 184 | 0.525547 | 175 | 822 | 2.468571 | 0.24 | 0.027778 | 0.055556 | 0.069444 | 0.777778 | 0.777778 | 0.777778 | 0.722222 | 0.722222 | 0.722222 | 0 | 0.137063 | 0.13017 | 822 | 17 | 185 | 48.352941 | 0.467133 | 0.092457 | 0 | 0.545455 | 0 | 0 | 0.039242 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.090909 | 0.272727 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
db952550a12b34853556fa42bba04c823bc7cbe4 | 21 | py | Python | PaddleCV/video/models/stnet/__init__.py | suytingwan/models | ccdbfe77d071cc19b55fb9f4b738912e35d982ef | [
"Apache-2.0"
] | 7 | 2020-03-03T03:17:54.000Z | 2021-11-11T15:53:45.000Z | PaddleCV/video/models/stnet/__init__.py | suytingwan/models | ccdbfe77d071cc19b55fb9f4b738912e35d982ef | [
"Apache-2.0"
] | 2 | 2019-06-26T03:21:49.000Z | 2019-09-19T09:43:42.000Z | PaddleCV/video/models/stnet/__init__.py | suytingwan/models | ccdbfe77d071cc19b55fb9f4b738912e35d982ef | [
"Apache-2.0"
] | 6 | 2021-01-06T03:55:54.000Z | 2021-11-25T03:24:20.000Z | from .stnet import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 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 |
dbb81e826135a516f99fc503f34ebe32da7ea470 | 29 | py | Python | pycq/expando/__init__.py | janusko/pycq | d58d5d3b3fe1af93f5922abd237e1cdd00cde4af | [
"MIT"
] | null | null | null | pycq/expando/__init__.py | janusko/pycq | d58d5d3b3fe1af93f5922abd237e1cdd00cde4af | [
"MIT"
] | null | null | null | pycq/expando/__init__.py | janusko/pycq | d58d5d3b3fe1af93f5922abd237e1cdd00cde4af | [
"MIT"
] | null | null | null | from .expando import Expando
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 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 |
dbd69ef10051bbcac8450a89035236029b6093d0 | 187 | py | Python | src/graph_transpiler/webdnn/backend/webgl/kernels/transpose.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | 1 | 2018-07-26T13:52:21.000Z | 2018-07-26T13:52:21.000Z | src/graph_transpiler/webdnn/backend/webgl/kernels/transpose.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | null | null | null | src/graph_transpiler/webdnn/backend/webgl/kernels/transpose.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | null | null | null | from webdnn.backend.webgl.kernels.elementwise import register_elementwise_kernel
from webdnn.graph.operators.transpose import Transpose
register_elementwise_kernel(Transpose, "y = x0;")
| 37.4 | 80 | 0.855615 | 23 | 187 | 6.782609 | 0.608696 | 0.128205 | 0.320513 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005747 | 0.069519 | 187 | 4 | 81 | 46.75 | 0.890805 | 0 | 0 | 0 | 0 | 0 | 0.037433 | 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 |
91a64d8794395629d35cd4c496a3caa89ab402b9 | 8,081 | py | Python | gitlabform/gitlabform/test/test_services.py | rbartuzel/gitlabform | 4027ef4d6bbbef7313ed6fcf07cef8fd1ad76d18 | [
"MIT"
] | null | null | null | gitlabform/gitlabform/test/test_services.py | rbartuzel/gitlabform | 4027ef4d6bbbef7313ed6fcf07cef8fd1ad76d18 | [
"MIT"
] | null | null | null | gitlabform/gitlabform/test/test_services.py | rbartuzel/gitlabform | 4027ef4d6bbbef7313ed6fcf07cef8fd1ad76d18 | [
"MIT"
] | null | null | null | import pytest
from gitlabform.gitlab import GitLab
from gitlabform.gitlabform import GitLabForm
from gitlabform.gitlabform.test import create_group, create_project_in_group, get_gitlab, GROUP_NAME
PROJECT_NAME = 'services_project'
GROUP_AND_PROJECT_NAME = GROUP_NAME + '/' + PROJECT_NAME
@pytest.fixture(scope="funct... | 33.392562 | 119 | 0.696696 | 1,012 | 8,081 | 5.200593 | 0.103755 | 0.060612 | 0.074102 | 0.093863 | 0.790804 | 0.771803 | 0.734752 | 0.734752 | 0.732282 | 0.722212 | 0 | 0.001267 | 0.218414 | 8,081 | 241 | 120 | 33.53112 | 0.832014 | 0.005816 | 0 | 0.709845 | 0 | 0 | 0.306438 | 0.048064 | 0 | 0 | 0 | 0 | 0.11399 | 1 | 0.062176 | false | 0.010363 | 0.020725 | 0 | 0.093264 | 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 |
91b57ca2501c28afea35dffe3ac8bd4df2b2d83e | 6,013 | py | Python | profootballref/Tools/Rushhash.py | gVkWY8NJAa/ProFootballRef | 29c4333d278f8f9dc2c5f13c08387b5b9374037f | [
"MIT"
] | 1 | 2020-06-09T16:31:45.000Z | 2020-06-09T16:31:45.000Z | profootballref/Tools/Rushhash.py | gVkWY8NJAa/ProFootballRef | 29c4333d278f8f9dc2c5f13c08387b5b9374037f | [
"MIT"
] | 19 | 2018-04-15T06:01:29.000Z | 2020-01-07T00:20:40.000Z | profootballref/Tools/Rushhash.py | gVkWY8NJAa/ProFootballRef | 29c4333d278f8f9dc2c5f13c08387b5b9374037f | [
"MIT"
] | null | null | null | import pandas as pd
class RushHash:
def __init__(self):
# Combinations of header labels
# Combinations of header labels
self.base = ['Rk', 'Date', 'G#', 'Age', 'Tm', 'Home', 'Opp', 'Result', 'GS']
self.receiving = ['Rec_Tgt', 'Rec_Rec', 'Rec_Yds', 'Rec_Y/R', 'Rec_TD', 'Rec_Ctch%', ... | 36.442424 | 124 | 0.614502 | 805 | 6,013 | 4.485714 | 0.109317 | 0.049848 | 0.069233 | 0.077541 | 0.760454 | 0.757131 | 0.747715 | 0.736915 | 0.734423 | 0.734423 | 0 | 0.066276 | 0.262265 | 6,013 | 164 | 125 | 36.664634 | 0.747746 | 0.137535 | 0 | 0.342105 | 0 | 0 | 0.052652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.171053 | false | 0.065789 | 0.013158 | 0 | 0.355263 | 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 |
91c605d7aee8f3c91a8c42e1a4aebddf8da9e09a | 23 | py | Python | main_train.py | yyu1/SurfaceNet | e59cf56d55d1be7295322d5a0f4a2aa244316d86 | [
"MIT"
] | 117 | 2017-08-08T07:25:16.000Z | 2022-01-30T02:41:11.000Z | main_train.py | yyu1/SurfaceNet | e59cf56d55d1be7295322d5a0f4a2aa244316d86 | [
"MIT"
] | 8 | 2017-10-24T11:48:30.000Z | 2020-10-31T10:45:39.000Z | main_train.py | yyu1/SurfaceNet | e59cf56d55d1be7295322d5a0f4a2aa244316d86 | [
"MIT"
] | 35 | 2017-08-08T10:44:21.000Z | 2022-02-13T13:18:35.000Z |
def train():
pass
| 5.75 | 12 | 0.521739 | 3 | 23 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.347826 | 23 | 3 | 13 | 7.666667 | 0.8 | 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 |
37d630195dee03a88620e33d957309ad6abd5b6d | 38,171 | py | Python | nemo/scripts/decoders/swig_decoders.py | ducnguyenhuynh/Sen-VoiceAssistant | c9eba093cf350629550356a5ec7d3d521bfaa5f2 | [
"MIT"
] | 6 | 2020-05-18T22:38:58.000Z | 2021-05-24T18:09:27.000Z | nemo/scripts/decoders/swig_decoders.py | ducnguyenhuynh/Sen-VoiceAssistant | c9eba093cf350629550356a5ec7d3d521bfaa5f2 | [
"MIT"
] | null | null | null | nemo/scripts/decoders/swig_decoders.py | ducnguyenhuynh/Sen-VoiceAssistant | c9eba093cf350629550356a5ec7d3d521bfaa5f2 | [
"MIT"
] | 1 | 2020-07-15T09:34:01.000Z | 2020-07-15T09:34:01.000Z | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 4.0.1
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info as _swig_python_version_info
if _swig_python_version_info < (2, 7, 0):
raise Runtime... | 32.23902 | 145 | 0.726206 | 4,484 | 38,171 | 5.658341 | 0.052632 | 0.183509 | 0.219927 | 0.139603 | 0.813968 | 0.684022 | 0.594317 | 0.564008 | 0.449551 | 0.318658 | 0 | 0.00313 | 0.18818 | 38,171 | 1,183 | 146 | 32.266272 | 0.815638 | 0.025648 | 0 | 0.434128 | 1 | 0 | 0.011491 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.431619 | false | 0 | 0.007528 | 0.40527 | 0.927227 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
37ebe1d5cb9f5e7a8ef610ed5c8ef994d63c1909 | 44,181 | py | Python | lego/apps/events/tests/test_registrations.py | HoboKristian/lego | 2729dcef770ad1105f53e087c07ece3f9e9dbc67 | [
"MIT"
] | null | null | null | lego/apps/events/tests/test_registrations.py | HoboKristian/lego | 2729dcef770ad1105f53e087c07ece3f9e9dbc67 | [
"MIT"
] | null | null | null | lego/apps/events/tests/test_registrations.py | HoboKristian/lego | 2729dcef770ad1105f53e087c07ece3f9e9dbc67 | [
"MIT"
] | null | null | null | from datetime import timedelta
from django.utils import timezone
from lego.apps.events.exceptions import EventNotReady
from lego.apps.events.models import Event, Pool, Registration
from lego.apps.followers.models import FollowEvent
from lego.apps.users.models import AbakusGroup, User
from lego.utils.test_utils import... | 44.00498 | 100 | 0.682148 | 5,269 | 44,181 | 5.485481 | 0.046498 | 0.055704 | 0.04567 | 0.048438 | 0.855517 | 0.818012 | 0.764972 | 0.72944 | 0.710999 | 0.668823 | 0 | 0.009401 | 0.217514 | 44,181 | 1,003 | 101 | 44.048853 | 0.826647 | 0.060592 | 0 | 0.678887 | 0 | 0 | 0.040783 | 0.019568 | 0 | 0 | 0 | 0 | 0.152971 | 1 | 0.059418 | false | 0 | 0.010114 | 0 | 0.074589 | 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 |
37f325c092da2a0ec00cc85dc3e6b70463c3ae4f | 10 | py | Python | my.py | qiuhui1991/test1 | fc8e9088a7a8082d2c4429b76eece56dfb99a0b7 | [
"MIT"
] | 1 | 2018-12-21T09:21:33.000Z | 2018-12-21T09:21:33.000Z | my.py | qiuhui1991/test1 | fc8e9088a7a8082d2c4429b76eece56dfb99a0b7 | [
"MIT"
] | null | null | null | my.py | qiuhui1991/test1 | fc8e9088a7a8082d2c4429b76eece56dfb99a0b7 | [
"MIT"
] | null | null | null | a=1
b=2
| 3.333333 | 4 | 0.4 | 4 | 10 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.4 | 10 | 2 | 5 | 5 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5322191d268b650af0fa7642b2c35a6b9db84855 | 118 | py | Python | tests/tests/admin.py | darkslab/django-optimistic-lock | 9438f12fdaeef0bff3f3ccc74ab73bf54acdc9a0 | [
"BSD-2-Clause"
] | 81 | 2015-02-02T10:21:02.000Z | 2022-01-06T05:32:05.000Z | tests/tests/admin.py | darkslab/django-optimistic-lock | 9438f12fdaeef0bff3f3ccc74ab73bf54acdc9a0 | [
"BSD-2-Clause"
] | 8 | 2015-01-14T17:32:11.000Z | 2020-12-08T09:40:17.000Z | tests/tests/admin.py | darkslab/django-optimistic-lock | 9438f12fdaeef0bff3f3ccc74ab73bf54acdc9a0 | [
"BSD-2-Clause"
] | 19 | 2015-02-02T10:22:09.000Z | 2021-11-15T10:15:29.000Z | from django.contrib import admin
from .models import SimpleModel
admin.site.register(SimpleModel, admin.ModelAdmin)
| 19.666667 | 50 | 0.830508 | 15 | 118 | 6.533333 | 0.666667 | 0.326531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 118 | 5 | 51 | 23.6 | 0.924528 | 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 |
532b6585b8c4a26ac5a1826a3c26a78fbf6a06c7 | 186 | py | Python | losses.py | dcastf01/self-supervised-cars | 3859801d4c6bb5ff29c0198ae85bc02973c9910b | [
"MIT"
] | null | null | null | losses.py | dcastf01/self-supervised-cars | 3859801d4c6bb5ff29c0198ae85bc02973c9910b | [
"MIT"
] | null | null | null | losses.py | dcastf01/self-supervised-cars | 3859801d4c6bb5ff29c0198ae85bc02973c9910b | [
"MIT"
] | null | null | null | """
Author: Yonglong Tian (yonglong@mit.edu)
Date: May 07, 2020
"""
from __future__ import print_function
from lightly.loss import SymNegCosineSimilarityLoss,BarlowTwinsLoss,NTXentLoss
| 23.25 | 78 | 0.811828 | 22 | 186 | 6.636364 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035928 | 0.102151 | 186 | 7 | 79 | 26.571429 | 0.838323 | 0.317204 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
5331d08ae8f2f05ea2f665a16199e2068855acc7 | 49 | py | Python | crosswoz-dst/submission1/__init__.py | adamlin120/ConvLab-2 | 5da1803a923329565c8c75a8f18c9d3fc8b45c2d | [
"Apache-2.0"
] | null | null | null | crosswoz-dst/submission1/__init__.py | adamlin120/ConvLab-2 | 5da1803a923329565c8c75a8f18c9d3fc8b45c2d | [
"Apache-2.0"
] | null | null | null | crosswoz-dst/submission1/__init__.py | adamlin120/ConvLab-2 | 5da1803a923329565c8c75a8f18c9d3fc8b45c2d | [
"Apache-2.0"
] | null | null | null | from .submission1 import GPT2DSTEnglish as Model
| 24.5 | 48 | 0.857143 | 6 | 49 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 0.122449 | 49 | 1 | 49 | 49 | 0.930233 | 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 |
726009f237c2d8c0b6dfa58443b7896b9c225678 | 208 | py | Python | Hiven/Objects/member_exit.py | NexInfinite/hivenpy | b20c37f68f2526a3455bbcfa1432f430ac1258cb | [
"MIT"
] | 9 | 2020-07-30T09:31:28.000Z | 2021-02-17T13:23:43.000Z | Hiven/Objects/member_exit.py | NexInfinite/hivenpy | b20c37f68f2526a3455bbcfa1432f430ac1258cb | [
"MIT"
] | null | null | null | Hiven/Objects/member_exit.py | NexInfinite/hivenpy | b20c37f68f2526a3455bbcfa1432f430ac1258cb | [
"MIT"
] | 4 | 2020-07-30T18:17:50.000Z | 2020-08-09T23:49:01.000Z | class member_exit_obj:
def __init__(self, ctx):
self.user = self.User(ctx)
self.house_id = ctx['house_id']
class User:
def __init__(self, ctx):
self.id = ctx['id'] | 26 | 39 | 0.567308 | 29 | 208 | 3.655172 | 0.37931 | 0.198113 | 0.207547 | 0.264151 | 0.339623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.302885 | 208 | 8 | 40 | 26 | 0.731034 | 0 | 0 | 0.285714 | 0 | 0 | 0.047847 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.571429 | 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 |
72a37a48ce6d5e52875addc00b9373dd5dadbb91 | 150 | py | Python | coffelli/dashboard/__init__.py | coffeestudio/django-coffelli | cd0e6fbcfc169d8335351072c5816fb1d1639429 | [
"BSD-3-Clause"
] | null | null | null | coffelli/dashboard/__init__.py | coffeestudio/django-coffelli | cd0e6fbcfc169d8335351072c5816fb1d1639429 | [
"BSD-3-Clause"
] | null | null | null | coffelli/dashboard/__init__.py | coffeestudio/django-coffelli | cd0e6fbcfc169d8335351072c5816fb1d1639429 | [
"BSD-3-Clause"
] | null | null | null | from coffelli.dashboard.dashboards import *
from coffelli.dashboard.registry import *
default_app_config = "coffelli.dashboard.apps.DashboardConfig"
| 30 | 62 | 0.84 | 17 | 150 | 7.294118 | 0.647059 | 0.41129 | 0.33871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 150 | 4 | 63 | 37.5 | 0.898551 | 0 | 0 | 0 | 0 | 0 | 0.26 | 0.26 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
72b52ef7d86ae092fa87120c47e4da17ba0a0ac0 | 595 | py | Python | code/BGI/__init__.py | claudiavr/AIS | 5a9b9db8377efbfba3e8bfc8bf126845ef6e9aea | [
"MIT"
] | null | null | null | code/BGI/__init__.py | claudiavr/AIS | 5a9b9db8377efbfba3e8bfc8bf126845ef6e9aea | [
"MIT"
] | null | null | null | code/BGI/__init__.py | claudiavr/AIS | 5a9b9db8377efbfba3e8bfc8bf126845ef6e9aea | [
"MIT"
] | null | null | null | """Background Image Generator Package.
This package calculates a back ground image that simulates and bias image of
the SPARC4 cameras
"""
from .BGI import Background_Image
from FC import Flux_Calculation
from Telescope_SR import Telescope_Spectral_Response
from Atmosphere_SR import Atmosphere_Spectral_Response
fro... | 33.055556 | 76 | 0.766387 | 72 | 595 | 5.944444 | 0.486111 | 0.261682 | 0.257009 | 0.280374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023404 | 0.210084 | 595 | 17 | 77 | 35 | 0.887234 | 0.223529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.555556 | 0 | 0.555556 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
72c01fd77922a7d4ad7119cf7a8891c897c9ea61 | 8,983 | py | Python | pandapipes/test/stanet_comparison/test_water_stanet.py | lschmelting/pandapipes | d7ec5e77c113ae7a6670e66a90802ba2c84b8f86 | [
"BSD-3-Clause"
] | null | null | null | pandapipes/test/stanet_comparison/test_water_stanet.py | lschmelting/pandapipes | d7ec5e77c113ae7a6670e66a90802ba2c84b8f86 | [
"BSD-3-Clause"
] | null | null | null | pandapipes/test/stanet_comparison/test_water_stanet.py | lschmelting/pandapipes | d7ec5e77c113ae7a6670e66a90802ba2c84b8f86 | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2020-2021 by Fraunhofer Institute for Energy Economics
# and Energy System Technology (IEE), Kassel, and University of Kassel. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
import numpy as np
import pandapipes.networks.simple_wa... | 26.037681 | 99 | 0.685517 | 1,363 | 8,983 | 4.164343 | 0.090976 | 0.147992 | 0.062016 | 0.03876 | 0.840028 | 0.795455 | 0.779598 | 0.779598 | 0.779598 | 0.766209 | 0 | 0.02596 | 0.185239 | 8,983 | 344 | 100 | 26.113372 | 0.749556 | 0.211288 | 0 | 0.516129 | 0 | 0 | 0.045119 | 0.008315 | 0 | 0 | 0 | 0 | 0.354839 | 1 | 0.177419 | false | 0 | 0.064516 | 0 | 0.241935 | 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 |
f4237a852413b8f635f90de8fc1babb119f0aa47 | 230 | py | Python | frontstage/views/register/check_email.py | ONSdigital/ras-frontstage | e8ff1931b49cb3ab47b421aed6780e9e944dceea | [
"MIT"
] | 8 | 2017-06-30T12:32:02.000Z | 2022-02-25T09:07:28.000Z | frontstage/views/register/check_email.py | ONSdigital/ras-frontstage | e8ff1931b49cb3ab47b421aed6780e9e944dceea | [
"MIT"
] | 256 | 2017-05-16T09:38:09.000Z | 2022-03-28T13:38:42.000Z | frontstage/views/register/check_email.py | ONSdigital/ras-frontstage | e8ff1931b49cb3ab47b421aed6780e9e944dceea | [
"MIT"
] | 4 | 2017-09-29T08:58:36.000Z | 2021-04-11T07:44:27.000Z | from flask import render_template
from frontstage.views.register import register_bp
@register_bp.route("/create-account/check-email")
def register_almost_done():
return render_template("register/register.almost-done.html")
| 25.555556 | 64 | 0.813043 | 31 | 230 | 5.83871 | 0.612903 | 0.154696 | 0.198895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 230 | 8 | 65 | 28.75 | 0.861905 | 0 | 0 | 0 | 0 | 0 | 0.265217 | 0.265217 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 6 |
f44547955c77a8fb44501253719b0394a14fca91 | 72,645 | py | Python | teospy/liqiceair4.py | jarethholt/teospy | 3bb23e67bbb765c0842aa8d4a73c1d55ea395d2f | [
"MIT"
] | null | null | null | teospy/liqiceair4.py | jarethholt/teospy | 3bb23e67bbb765c0842aa8d4a73c1d55ea395d2f | [
"MIT"
] | null | null | null | teospy/liqiceair4.py | jarethholt/teospy | 3bb23e67bbb765c0842aa8d4a73c1d55ea395d2f | [
"MIT"
] | null | null | null | """Liquid water-ice-humid air equilibrium functions.
This module provides functions to get the values of primary variables
for humid air in equilibrium with both liquid water and ice (wet-icy
air). This requires temperatures very close to the triple point
(273.16 K). The primary variables can be either the mass fracti... | 42.934397 | 80 | 0.666006 | 11,394 | 72,645 | 4.181675 | 0.031596 | 0.028208 | 0.044327 | 0.056416 | 0.914431 | 0.897515 | 0.877261 | 0.860681 | 0.849557 | 0.832683 | 0 | 0.028843 | 0.237346 | 72,645 | 1,691 | 81 | 42.959787 | 0.831146 | 0.665318 | 0 | 0.555315 | 0 | 0 | 0.022757 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049892 | false | 0 | 0.023861 | 0 | 0.136659 | 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 |
be4760a2f55d0f90bc5eb3f92fe63439f54a616b | 233,293 | py | Python | tests/app/main/test_frameworks.py | alphagov-mirror/digitalmarketplace-supplier-frontend | 349af2ec867f784c524a6a1c42b069f6d302e513 | [
"MIT"
] | null | null | null | tests/app/main/test_frameworks.py | alphagov-mirror/digitalmarketplace-supplier-frontend | 349af2ec867f784c524a6a1c42b069f6d302e513 | [
"MIT"
] | null | null | null | tests/app/main/test_frameworks.py | alphagov-mirror/digitalmarketplace-supplier-frontend | 349af2ec867f784c524a6a1c42b069f6d302e513 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import mock
from collections import OrderedDict
from datetime import datetime
from io import BytesIO
from itertools import chain
from urllib.parse import urljoin
from freezegun import freeze_time
from lxml import html
import pytest
from werkzeug.datastructures import MultiDict
from dmapiclient... | 45.098202 | 168 | 0.598616 | 25,166 | 233,293 | 5.32226 | 0.041445 | 0.023115 | 0.046976 | 0.058131 | 0.853763 | 0.827818 | 0.806764 | 0.786696 | 0.765283 | 0.736449 | 0 | 0.021343 | 0.288423 | 233,293 | 5,172 | 169 | 45.106922 | 0.785496 | 0.033666 | 0 | 0.642807 | 0 | 0.02231 | 0.271065 | 0.146671 | 0 | 0 | 0 | 0 | 0.125726 | 1 | 0.047409 | false | 0 | 0.004416 | 0.001394 | 0.059958 | 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 |
be71d9522e0251f03de47e3b9ceb1940c6b88c43 | 88 | py | Python | day3/tupleandlist.py | nikhilsamninan/python-files | 15198459081097058a939b40b5e8ef754e578fe0 | [
"Apache-2.0"
] | null | null | null | day3/tupleandlist.py | nikhilsamninan/python-files | 15198459081097058a939b40b5e8ef754e578fe0 | [
"Apache-2.0"
] | null | null | null | day3/tupleandlist.py | nikhilsamninan/python-files | 15198459081097058a939b40b5e8ef754e578fe0 | [
"Apache-2.0"
] | null | null | null | k=[('x','y','z'),('m','c',1),(1,'s',3)]
for x,y,z in k:
print(x,y,z)
print("\n") | 22 | 39 | 0.375 | 22 | 88 | 1.5 | 0.590909 | 0.181818 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040541 | 0.159091 | 88 | 4 | 40 | 22 | 0.405405 | 0 | 0 | 0 | 0 | 0 | 0.089888 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 1 | null | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
beb23069cd4fe4feb099c510eab4927dc4a7c969 | 7,034 | py | Python | skyportal/tests/frontend/test_sources.py | jialin-wu-02/skyportal | 29d606ad8567b2230fb0553b18dd3cb9d3ab2d84 | [
"BSD-3-Clause"
] | null | null | null | skyportal/tests/frontend/test_sources.py | jialin-wu-02/skyportal | 29d606ad8567b2230fb0553b18dd3cb9d3ab2d84 | [
"BSD-3-Clause"
] | 156 | 2019-10-17T19:35:22.000Z | 2021-08-01T13:23:47.000Z | skyportal/tests/frontend/test_sources.py | jialin-wu-02/skyportal | 29d606ad8567b2230fb0553b18dd3cb9d3ab2d84 | [
"BSD-3-Clause"
] | null | null | null | import os
from os.path import join as pjoin
import time
import uuid
from selenium.webdriver.common.by import By
from selenium.webdriver.common.action_chains import ActionChains
from baselayer.app.config import load_config
cfg = load_config()
def test_public_source_page(driver, user, public_source):
driver.get(... | 48.847222 | 92 | 0.711402 | 994 | 7,034 | 4.687123 | 0.128773 | 0.073192 | 0.064177 | 0.08886 | 0.835802 | 0.818631 | 0.805108 | 0.793947 | 0.777205 | 0.767332 | 0 | 0.003119 | 0.133921 | 7,034 | 143 | 93 | 49.188811 | 0.761655 | 0.021467 | 0 | 0.669355 | 0 | 0 | 0.23993 | 0.197615 | 0 | 0 | 0 | 0.006993 | 0.040323 | 1 | 0.064516 | false | 0 | 0.056452 | 0 | 0.120968 | 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 |
bec29f14339cc111686867b078032298e3d7a8dd | 22 | py | Python | planer_zoo/super_resolution/__init__.py | BioinfoTongLI/planer-zoo | a22ed4ecc980488ad3d37a352340344c355261b0 | [
"BSD-3-Clause"
] | 1 | 2021-05-03T13:43:51.000Z | 2021-05-03T13:43:51.000Z | planer_zoo/super_resolution/__init__.py | Image-Py/planer-store | 64b22a99a90e3a43d86cd95749e8e8936540199d | [
"BSD-3-Clause"
] | null | null | null | planer_zoo/super_resolution/__init__.py | Image-Py/planer-store | 64b22a99a90e3a43d86cd95749e8e8936540199d | [
"BSD-3-Clause"
] | 1 | 2022-03-03T10:54:41.000Z | 2022-03-03T10:54:41.000Z | from .esrgan import *
| 11 | 21 | 0.727273 | 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 |
bec626d506a4e340b719b86966bec7fdc5d7fdd9 | 43 | py | Python | jupyterlabpymolpysnips/Programming/printAtomNames.py | MooersLab/pymolpysnips | 50a89c85adf8006d85c1d6cd3f8aad7e440a0b92 | [
"MIT"
] | null | null | null | jupyterlabpymolpysnips/Programming/printAtomNames.py | MooersLab/pymolpysnips | 50a89c85adf8006d85c1d6cd3f8aad7e440a0b92 | [
"MIT"
] | null | null | null | jupyterlabpymolpysnips/Programming/printAtomNames.py | MooersLab/pymolpysnips | 50a89c85adf8006d85c1d6cd3f8aad7e440a0b92 | [
"MIT"
] | null | null | null | cmd.do('iterate (resi 101), print(name);')
| 21.5 | 42 | 0.651163 | 7 | 43 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.093023 | 43 | 1 | 43 | 43 | 0.641026 | 0 | 0 | 0 | 0 | 0 | 0.744186 | 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 |
fe371d73ab7160788fa1fa3abef30dcce8d04222 | 148 | py | Python | reasoning/__init__.py | pietrobarbiero/constraint-learning | 178f6c4029dbf4120cc63e81f389309b44753e92 | [
"Apache-2.0"
] | 3 | 2020-11-04T09:13:46.000Z | 2021-08-22T05:07:20.000Z | reasoning/__init__.py | pietrobarbiero/constraint-learning | 178f6c4029dbf4120cc63e81f389309b44753e92 | [
"Apache-2.0"
] | null | null | null | reasoning/__init__.py | pietrobarbiero/constraint-learning | 178f6c4029dbf4120cc63e81f389309b44753e92 | [
"Apache-2.0"
] | null | null | null | from ._fol_extractor import generate_fol_explanations
from ._version import __version__
__all__ = [
'generate_fol_explanations',
'__version__',
] | 21.142857 | 53 | 0.817568 | 16 | 148 | 6.375 | 0.5 | 0.215686 | 0.45098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 148 | 7 | 54 | 21.142857 | 0.772727 | 0 | 0 | 0 | 1 | 0 | 0.241611 | 0.167785 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
fe397ae2e6457281be8754f2beee5dc9fecff772 | 4,728 | py | Python | mayan/apps/documents/setting_migrations.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 4 | 2021-09-02T00:16:30.000Z | 2021-09-09T22:25:15.000Z | mayan/apps/documents/setting_migrations.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 86 | 2021-09-01T23:53:02.000Z | 2021-09-20T02:25:10.000Z | mayan/apps/documents/setting_migrations.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 70 | 2021-09-01T12:54:51.000Z | 2022-02-16T00:53:18.000Z | from mayan.apps.smart_settings.classes import SettingNamespaceMigration, Setting
from mayan.apps.smart_settings.utils import smart_yaml_load
from .literals import (
DEFAULT_DOCUMENTS_STORAGE_BACKEND,
DEFAULT_DOCUMENTS_STORAGE_BACKEND_ARGUMENTS
)
class DocumentsSettingMigration(SettingNamespaceMigration):
... | 43.376147 | 87 | 0.707276 | 576 | 4,728 | 5.472222 | 0.125 | 0.101523 | 0.086294 | 0.071066 | 0.820749 | 0.775698 | 0.738261 | 0.738261 | 0.701142 | 0.698604 | 0 | 0.019074 | 0.245981 | 4,728 | 108 | 88 | 43.777778 | 0.865077 | 0.30901 | 0 | 0.369231 | 0 | 0 | 0.191343 | 0.191343 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.046154 | 0.030769 | 0.369231 | 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 |
fe5c6537b87850166f3b3595028f2b584f8d703c | 29,276 | py | Python | BERT/models/rgb_resneXt3D.py | deepcam-cn/3D-CNN-BERT-COVID19 | 58adc7d570a016b48c48829e26b1f326bba91d4a | [
"MIT"
] | 1 | 2021-07-15T17:53:41.000Z | 2021-07-15T17:53:41.000Z | BERT/models/rgb_resneXt3D.py | deepcam-cn/3D-CNN-BERT-COVID19 | 58adc7d570a016b48c48829e26b1f326bba91d4a | [
"MIT"
] | null | null | null | BERT/models/rgb_resneXt3D.py | deepcam-cn/3D-CNN-BERT-COVID19 | 58adc7d570a016b48c48829e26b1f326bba91d4a | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Dec 5 11:45:05 2019
@author: esat
"""
import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.autograd import Variable
import math
from functools import partial
from .NLB.NLBlockND import NLBlockND
from .BERT.bert import BERT5
... | 35.061078 | 138 | 0.585599 | 3,599 | 29,276 | 4.569881 | 0.068074 | 0.009607 | 0.032103 | 0.020794 | 0.797349 | 0.763483 | 0.744999 | 0.72536 | 0.716301 | 0.716301 | 0 | 0.050188 | 0.299665 | 29,276 | 834 | 139 | 35.103118 | 0.751988 | 0.036856 | 0 | 0.704225 | 0 | 0 | 0.013116 | 0.01013 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059468 | false | 0 | 0.01252 | 0.001565 | 0.137715 | 0.004695 | 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 |
fe5d251dfb48b9f56197507dab975a516d5f01a8 | 56 | py | Python | django_tenants/tests/staticfiles/__init__.py | jcass77/django-tenants | 5128d9e9d2409f3cd0b09c0bd574170ff657725d | [
"MIT"
] | 1 | 2019-12-26T22:39:43.000Z | 2019-12-26T22:39:43.000Z | django_tenants/tests/staticfiles/__init__.py | tiagocapelli/django-tenants | 44b0bf78a5ccabcb28c4fa4ef0465aadc3125d1c | [
"MIT"
] | null | null | null | django_tenants/tests/staticfiles/__init__.py | tiagocapelli/django-tenants | 44b0bf78a5ccabcb28c4fa4ef0465aadc3125d1c | [
"MIT"
] | null | null | null | from .test_finders import *
from .test_storage import *
| 18.666667 | 27 | 0.785714 | 8 | 56 | 5.25 | 0.625 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 2 | 28 | 28 | 0.875 | 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 |
fe77c0d87d566de36459dc36a5de11401cecf318 | 191 | py | Python | src/stdout_parser.py | joewittmer/Morserino-32-Firmware-Updater | 8b2359ddd6ea67b96f40e758efd07a7ffdfa53e8 | [
"MIT"
] | 1 | 2022-01-10T00:12:12.000Z | 2022-01-10T00:12:12.000Z | src/stdout_parser.py | joewittmer/Morserino-32-Firmware-Updater | 8b2359ddd6ea67b96f40e758efd07a7ffdfa53e8 | [
"MIT"
] | 7 | 2021-09-17T14:40:08.000Z | 2021-10-21T15:29:11.000Z | src/stdout_parser.py | joewittmer/Morserino-32-Firmware-Updater | 8b2359ddd6ea67b96f40e758efd07a7ffdfa53e8 | [
"MIT"
] | 3 | 2020-05-11T20:07:30.000Z | 2022-02-25T11:20:18.000Z | class StdoutParser(object):
def __init__(self, parse=lambda: ()):
self.parse = parse
def write(self, message):
self.parse(message)
def flush(self):
pass
| 19.1 | 41 | 0.596859 | 22 | 191 | 5 | 0.545455 | 0.245455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.282723 | 191 | 9 | 42 | 21.222222 | 0.80292 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.142857 | 0 | 0 | 0.571429 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
fea2f39a857e56752085f38c07e868abcaecee63 | 141 | py | Python | src/graph_onedrive/_main.py | npv12/graph-onedrive | fe0647e314704e4b4e211b3c4011475a337ed6b4 | [
"BSD-3-Clause"
] | 6 | 2021-11-01T05:43:12.000Z | 2022-02-20T08:19:12.000Z | src/graph_onedrive/_main.py | npv12/graph-onedrive | fe0647e314704e4b4e211b3c4011475a337ed6b4 | [
"BSD-3-Clause"
] | 12 | 2021-10-17T03:44:12.000Z | 2022-02-22T13:10:40.000Z | src/graph_onedrive/_main.py | npv12/graph-onedrive | fe0647e314704e4b4e211b3c4011475a337ed6b4 | [
"BSD-3-Clause"
] | 8 | 2021-10-17T00:28:12.000Z | 2022-03-27T17:14:34.000Z | """OneDrive Class and Context Manager.
"""
from graph_onedrive._manager import OneDriveManager
from graph_onedrive._onedrive import OneDrive
| 28.2 | 51 | 0.836879 | 17 | 141 | 6.705882 | 0.529412 | 0.157895 | 0.298246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099291 | 141 | 4 | 52 | 35.25 | 0.897638 | 0.248227 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 |
22f9caa1a9f393e2eea0b284ae39a23fa8fb297f | 289 | py | Python | project/settings/components/rest-framework.py | gyukebox/drf-basic-settings | 53c3df89b8f11169ee924c1c8000624384781c3a | [
"MIT"
] | null | null | null | project/settings/components/rest-framework.py | gyukebox/drf-basic-settings | 53c3df89b8f11169ee924c1c8000624384781c3a | [
"MIT"
] | null | null | null | project/settings/components/rest-framework.py | gyukebox/drf-basic-settings | 53c3df89b8f11169ee924c1c8000624384781c3a | [
"MIT"
] | null | null | null | REST_FRAMEWORK = {
'DEFAULT_PERMISSION_CLASSES': (
'rest_framework.permissions.IsAuthenticated',
),
'DEFAULT_AUTHENTICATION_CLASSES': (
'rest_framework.authentication.SessionAuthentication',
'rest_framework.authentication.BasicAuthentication',
),
}
| 28.9 | 62 | 0.712803 | 20 | 289 | 9.9 | 0.5 | 0.262626 | 0.20202 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183391 | 289 | 9 | 63 | 32.111111 | 0.838983 | 0 | 0 | 0.222222 | 0 | 0 | 0.685121 | 0.685121 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fe00bcca3f51369fa2df44af8e220e03d33ad1bf | 168 | py | Python | diff_cover/__init__.py | venmo/diff-cover | 8a1a8faed377a32ff0d3c4a53b3bd4a646a97211 | [
"Apache-2.0"
] | null | null | null | diff_cover/__init__.py | venmo/diff-cover | 8a1a8faed377a32ff0d3c4a53b3bd4a646a97211 | [
"Apache-2.0"
] | null | null | null | diff_cover/__init__.py | venmo/diff-cover | 8a1a8faed377a32ff0d3c4a53b3bd4a646a97211 | [
"Apache-2.0"
] | 1 | 2020-11-07T10:33:13.000Z | 2020-11-07T10:33:13.000Z | VERSION = '0.8.6'
DESCRIPTION = 'Automatically find diff lines that need test coverage.'
QUALITY_DESCRIPTION = 'Automatically find diff lines with quality violations.'
| 42 | 78 | 0.791667 | 22 | 168 | 6 | 0.727273 | 0.363636 | 0.424242 | 0.484848 | 0.560606 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020548 | 0.130952 | 168 | 3 | 79 | 56 | 0.883562 | 0 | 0 | 0 | 0 | 0 | 0.672619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a3d26d4dd853baf2ee08643311b3f1c746002253 | 74 | py | Python | markdowngenerator/__init__.py | YLRong/python-markdown-generator | c96a4d467f28d0ee8f64e74e49dea91bc21c792c | [
"Apache-2.0"
] | null | null | null | markdowngenerator/__init__.py | YLRong/python-markdown-generator | c96a4d467f28d0ee8f64e74e49dea91bc21c792c | [
"Apache-2.0"
] | null | null | null | markdowngenerator/__init__.py | YLRong/python-markdown-generator | c96a4d467f28d0ee8f64e74e49dea91bc21c792c | [
"Apache-2.0"
] | 2 | 2020-09-21T13:38:33.000Z | 2021-03-14T14:04:17.000Z | from .conf import *
from .syntax import *
from .markdowngenerator import * | 24.666667 | 32 | 0.77027 | 9 | 74 | 6.333333 | 0.555556 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148649 | 74 | 3 | 32 | 24.666667 | 0.904762 | 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 |
430513d471ea1200ace874ffa5b0eeb44c2f2857 | 44 | py | Python | changedetectionio/tests/fetchers/conftest.py | MXPicture/changedetection.io | 2566de2aaeecec8146c929d9a18be76e4c369cdc | [
"Apache-2.0"
] | null | null | null | changedetectionio/tests/fetchers/conftest.py | MXPicture/changedetection.io | 2566de2aaeecec8146c929d9a18be76e4c369cdc | [
"Apache-2.0"
] | 6 | 2022-01-25T17:01:21.000Z | 2022-03-04T13:20:31.000Z | changedetectionio/tests/fetchers/conftest.py | MXPicture/changedetection.io | 2566de2aaeecec8146c929d9a18be76e4c369cdc | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python3
from .. import conftest
| 11 | 23 | 0.704545 | 6 | 44 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.136364 | 44 | 3 | 24 | 14.666667 | 0.789474 | 0.386364 | 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 |
4341fcde5ea87b071d1f155aa2aad5e31eb2a213 | 81 | py | Python | tests/7_pytest_hooks/test_hooks_example.py | andrewnnov/otus_qa | e869b99e4860df9ecc358d7e491dbbbe94fffb75 | [
"MIT"
] | 4 | 2020-03-01T16:35:23.000Z | 2021-03-03T18:57:26.000Z | tests/7_pytest_hooks/test_hooks_example.py | andrewnnov/otus_qa | e869b99e4860df9ecc358d7e491dbbbe94fffb75 | [
"MIT"
] | null | null | null | tests/7_pytest_hooks/test_hooks_example.py | andrewnnov/otus_qa | e869b99e4860df9ecc358d7e491dbbbe94fffb75 | [
"MIT"
] | 17 | 2019-09-06T10:54:28.000Z | 2022-03-24T09:35:24.000Z | def test_one():
pass
def test_two():
pass
def test_three():
pass
| 7.363636 | 17 | 0.580247 | 12 | 81 | 3.666667 | 0.5 | 0.477273 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.308642 | 81 | 10 | 18 | 8.1 | 0.785714 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
434733e18a950600951a3ce5406253eb2da07a55 | 3,619 | py | Python | src/ikshana/models/CIFAR10/model_Depth.py | abdksyed/ikshana | c4213b95758401fbcde905e2709b531cc614b92c | [
"MIT"
] | 1 | 2021-08-05T13:58:27.000Z | 2021-08-05T13:58:27.000Z | src/ikshana/models/CIFAR10/model_Depth.py | varsha-raveendran/ikshana | c4213b95758401fbcde905e2709b531cc614b92c | [
"MIT"
] | null | null | null | src/ikshana/models/CIFAR10/model_Depth.py | varsha-raveendran/ikshana | c4213b95758401fbcde905e2709b531cc614b92c | [
"MIT"
] | 2 | 2021-07-07T13:10:11.000Z | 2022-02-22T06:02:19.000Z | import torch.nn as nn
import torch.nn.functional as F
class Net(nn.Module):
def __init__(self):
super(Net, self).__init__()
self.layer1 = nn.Sequential(
# 32x32x3 -> 32x32x32
nn.Conv2d(in_channels=3, out_channels=32, kernel_size=3, padding=1, bias=False),
nn.Ba... | 38.913978 | 104 | 0.564797 | 453 | 3,619 | 4.355408 | 0.119205 | 0.141916 | 0.081095 | 0.145971 | 0.802838 | 0.78966 | 0.78966 | 0.773948 | 0.773948 | 0.773948 | 0 | 0.128891 | 0.307544 | 3,619 | 93 | 105 | 38.913978 | 0.65842 | 0.078198 | 0 | 0.602941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029412 | false | 0 | 0.029412 | 0 | 0.088235 | 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 |
4a59b6f1be3212182c53eca463b1c1d135223122 | 229 | py | Python | assets/Information.py | EnderNightLord-ChromeBook/Juice-File-Manager | d408586df6d4f613bbf72171460befcaefb9abce | [
"Apache-2.0"
] | 1 | 2017-09-29T00:09:50.000Z | 2017-09-29T00:09:50.000Z | assets/Information.py | EnderNightLord-ChromeBook/Juice-File-Manager | d408586df6d4f613bbf72171460befcaefb9abce | [
"Apache-2.0"
] | 1 | 2019-03-28T22:03:25.000Z | 2019-09-02T06:19:43.000Z | assets/Information.py | EnderNightLord-ChromeBook/Juice-File-Manager | d408586df6d4f613bbf72171460befcaefb9abce | [
"Apache-2.0"
] | null | null | null | print('''
=======================================
Detailed Build Information
=======================================
Made On:GNU/LINUX
Date Created: Sun, 10, Feb
Thanks To:Python Fans
=======================================
''')
| 22.9 | 39 | 0.349345 | 17 | 229 | 4.705882 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009479 | 0.078603 | 229 | 9 | 40 | 25.444444 | 0.369668 | 0 | 0 | 0.333333 | 0 | 0 | 0.938865 | 0.510917 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4a7cd5c7b1221b5757793ed96146afbaa825ded3 | 123 | py | Python | modules/module_tester.py | rolandovillca/python_introduction_basic | d1333a832a9e2b103e128a9dfc0c0da0952c267f | [
"MIT"
] | null | null | null | modules/module_tester.py | rolandovillca/python_introduction_basic | d1333a832a9e2b103e128a9dfc0c0da0952c267f | [
"MIT"
] | null | null | null | modules/module_tester.py | rolandovillca/python_introduction_basic | d1333a832a9e2b103e128a9dfc0c0da0952c267f | [
"MIT"
] | null | null | null | import database_module
# __version__, __version_info__ = database_module.get_version(__file__)
print dir(database_module) | 24.6 | 71 | 0.853659 | 15 | 123 | 5.866667 | 0.6 | 0.477273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081301 | 123 | 5 | 72 | 24.6 | 0.778761 | 0.560976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
4a864a1316ca5267d0159b11f14bbef5e0eb946f | 78 | py | Python | zip_build.py | denisrebrof/yandex-games-hc-sample | a7b03c057cd9980c13a2c7e0a0f33f011418fa58 | [
"Apache-2.0"
] | null | null | null | zip_build.py | denisrebrof/yandex-games-hc-sample | a7b03c057cd9980c13a2c7e0a0f33f011418fa58 | [
"Apache-2.0"
] | null | null | null | zip_build.py | denisrebrof/yandex-games-hc-sample | a7b03c057cd9980c13a2c7e0a0f33f011418fa58 | [
"Apache-2.0"
] | null | null | null | import shutil
import sys
shutil.make_archive(sys.argv[2], "zip", sys.argv[1]) | 19.5 | 52 | 0.74359 | 14 | 78 | 4.071429 | 0.642857 | 0.245614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028169 | 0.089744 | 78 | 4 | 52 | 19.5 | 0.774648 | 0 | 0 | 0 | 0 | 0 | 0.037975 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.