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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
23e9e248b76440f10cbb5ec30dccf6c8980dd8fe | 44 | py | Python | backend/AXIOME3_app/report/denoise/__init__.py | neufeld/AXIOME3-GUI | 80b87753b47fab116324b4f0e4151c21ab3b1725 | [
"BSD-3-Clause"
] | 2 | 2021-02-25T16:59:12.000Z | 2021-02-25T20:06:15.000Z | backend/AXIOME3_app/report/denoise/__init__.py | neufeld/AXIOME3-GUI | 80b87753b47fab116324b4f0e4151c21ab3b1725 | [
"BSD-3-Clause"
] | 7 | 2020-11-18T08:05:52.000Z | 2022-02-17T20:45:10.000Z | backend/AXIOME3_app/report/denoise/__init__.py | neufeld/AXIOME3-GUI | 80b87753b47fab116324b4f0e4151c21ab3b1725 | [
"BSD-3-Clause"
] | null | null | null | from AXIOME3_app.report.denoise import views | 44 | 44 | 0.886364 | 7 | 44 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.068182 | 44 | 1 | 44 | 44 | 0.902439 | 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 |
9b1b5346369348cf02adcb82d3d3be621fe73324 | 113 | py | Python | pirates/testobject/TestObject.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 81 | 2018-04-08T18:14:24.000Z | 2022-01-11T07:22:15.000Z | pirates/testobject/TestObject.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 4 | 2018-09-13T20:41:22.000Z | 2022-01-08T06:57:00.000Z | pirates/testobject/TestObject.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 26 | 2018-05-26T12:49:27.000Z | 2021-09-11T09:11:59.000Z | from direct.distributed import DistributedObject
class TestObject(DistributedObject.DistributedObject):
pass | 28.25 | 54 | 0.858407 | 10 | 113 | 9.7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097345 | 113 | 4 | 55 | 28.25 | 0.95098 | 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 |
9b1bab08ed146aae89e8b4ad167179b4915a208f | 22 | py | Python | bshare/__init__.py | nikhilkumarsingh/bshare | 92f9877689dc2217363cd6cf337622e8595c5d1f | [
"MIT"
] | 2 | 2018-01-22T16:33:38.000Z | 2021-08-30T18:33:37.000Z | bshare/__init__.py | nikhilkumarsingh/bshare | 92f9877689dc2217363cd6cf337622e8595c5d1f | [
"MIT"
] | null | null | null | bshare/__init__.py | nikhilkumarsingh/bshare | 92f9877689dc2217363cd6cf337622e8595c5d1f | [
"MIT"
] | 2 | 2021-08-30T18:33:39.000Z | 2022-01-21T05:00:05.000Z | from .bshare 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 |
f196a4c4bf961b85a00923e776b3aa1dec965657 | 38 | py | Python | nball4tree/experiments/consistency/__init__.py | logicalfarhad/nball4tree | d9c4be308a8751215e65d2ffc49171227971ca28 | [
"MIT"
] | 19 | 2018-12-26T03:51:30.000Z | 2021-08-17T09:05:09.000Z | nball4tree/experiments/consistency/__init__.py | logicalfarhad/nball4tree | d9c4be308a8751215e65d2ffc49171227971ca28 | [
"MIT"
] | null | null | null | nball4tree/experiments/consistency/__init__.py | logicalfarhad/nball4tree | d9c4be308a8751215e65d2ffc49171227971ca28 | [
"MIT"
] | 14 | 2018-10-01T09:57:21.000Z | 2021-01-12T11:22:50.000Z | from .process import maximum_deviation | 38 | 38 | 0.894737 | 5 | 38 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.942857 | 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 |
f1a87bef41f0cf5315ddb65fdf1a315996421715 | 106 | py | Python | pype/modules/idle_manager/__init__.py | kalisp/pype | 28bbffaf2d12ccee48313cd9985e8dfa05e81a5c | [
"MIT"
] | null | null | null | pype/modules/idle_manager/__init__.py | kalisp/pype | 28bbffaf2d12ccee48313cd9985e8dfa05e81a5c | [
"MIT"
] | null | null | null | pype/modules/idle_manager/__init__.py | kalisp/pype | 28bbffaf2d12ccee48313cd9985e8dfa05e81a5c | [
"MIT"
] | null | null | null | from .idle_manager import IdleManager
def tray_init(tray_widget, main_widget):
return IdleManager()
| 17.666667 | 40 | 0.792453 | 14 | 106 | 5.714286 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141509 | 106 | 5 | 41 | 21.2 | 0.879121 | 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 |
f1b01090fff5773378756ad410fe521bd5197033 | 46 | py | Python | watchmen/raw_data/service/create_mapping.py | luke0623/watchmen-matryoshka-doll | 77d7929c2d298ec814dd7e89132861da97a55a26 | [
"MIT"
] | null | null | null | watchmen/raw_data/service/create_mapping.py | luke0623/watchmen-matryoshka-doll | 77d7929c2d298ec814dd7e89132861da97a55a26 | [
"MIT"
] | null | null | null | watchmen/raw_data/service/create_mapping.py | luke0623/watchmen-matryoshka-doll | 77d7929c2d298ec814dd7e89132861da97a55a26 | [
"MIT"
] | null | null | null | def create_raw_data_topic_mapping():
pass
| 15.333333 | 36 | 0.782609 | 7 | 46 | 4.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 2 | 37 | 23 | 0.820513 | 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 |
f1f486b47cf42173eed2bfe96039e81d9e8a0b62 | 16,294 | py | Python | pipeConverter.py | bknight44/mips_pipline_cpu_simulation | 0dd52ebd4f69926ab0a928fcf60490c42de3dac2 | [
"MIT"
] | null | null | null | pipeConverter.py | bknight44/mips_pipline_cpu_simulation | 0dd52ebd4f69926ab0a928fcf60490c42de3dac2 | [
"MIT"
] | null | null | null | pipeConverter.py | bknight44/mips_pipline_cpu_simulation | 0dd52ebd4f69926ab0a928fcf60490c42de3dac2 | [
"MIT"
] | null | null | null |
def saveJumpLabel(asm, labelIndex, labelName):
lineCount = 0
for line in asm:
line = line.replace(" ", "")
if (line.count(":")):
labelName.append(line[0:line.index(":")]) # append the label name
labelIndex.append(lineCount) # append the label's index
... | 40.633416 | 97 | 0.413526 | 1,898 | 16,294 | 3.53372 | 0.075342 | 0.1075 | 0.139556 | 0.052184 | 0.755181 | 0.736395 | 0.736395 | 0.729089 | 0.729089 | 0.711943 | 0 | 0.096448 | 0.398674 | 16,294 | 401 | 98 | 40.633416 | 0.588079 | 0.07334 | 0 | 0.706745 | 0 | 0 | 0.068247 | 0.002186 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01173 | false | 0 | 0 | 0 | 0.017595 | 0.005865 | 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 |
7b020c3a924e47e408581c7ccee4d9c3947eef44 | 13,567 | py | Python | isometric_translation.py | aakash0017/DeepCon-Server | 9094dc54007712897f9002e8929a054b380b987a | [
"Apache-2.0"
] | null | null | null | isometric_translation.py | aakash0017/DeepCon-Server | 9094dc54007712897f9002e8929a054b380b987a | [
"Apache-2.0"
] | null | null | null | isometric_translation.py | aakash0017/DeepCon-Server | 9094dc54007712897f9002e8929a054b380b987a | [
"Apache-2.0"
] | null | null | null | import os
import boto3
import shutil
# from tqdm.notebook import tqdm
from tqdm import tqdm
import pandas as pd
from torch.utils.data import DataLoader
from datasets import load_dataset
import transformers
import subprocess
from transformers import MarianMTModel, MarianTokenizer, AutoTokenizer, AutoModel, MBartForCondi... | 49.514599 | 213 | 0.729933 | 1,814 | 13,567 | 5.088203 | 0.098677 | 0.058505 | 0.033586 | 0.036403 | 0.817551 | 0.792958 | 0.783207 | 0.737161 | 0.730228 | 0.716468 | 0 | 0.004258 | 0.169087 | 13,567 | 273 | 214 | 49.695971 | 0.814513 | 0.031473 | 0 | 0.584475 | 0 | 0 | 0.104076 | 0.051657 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054795 | false | 0 | 0.045662 | 0 | 0.13242 | 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 |
7b2e4056ba3a045dccb2a78292c6aa0ad7e0159b | 28 | py | Python | repose/helpers.py | adamcharnock/repose | fa1307da4e26d337297a169df096325c2b4707fa | [
"MIT"
] | 3 | 2016-04-19T01:36:10.000Z | 2017-02-06T06:58:33.000Z | repose/helpers.py | adamcharnock/repose | fa1307da4e26d337297a169df096325c2b4707fa | [
"MIT"
] | 3 | 2015-09-12T13:55:45.000Z | 2019-10-03T19:00:29.000Z | repose/helpers.py | adamcharnock/repose | fa1307da4e26d337297a169df096325c2b4707fa | [
"MIT"
] | 1 | 2016-04-18T08:49:59.000Z | 2016-04-18T08:49:59.000Z | from booby.helpers import *
| 14 | 27 | 0.785714 | 4 | 28 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 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 |
9e2aa7f627b85ae33bf8428373e4f9aa001a7d66 | 135 | py | Python | snippets/12.py | krrg/python-tutorial | a6ef8865cb46ee48624d7c7451d1894741405cc4 | [
"MIT"
] | null | null | null | snippets/12.py | krrg/python-tutorial | a6ef8865cb46ee48624d7c7451d1894741405cc4 | [
"MIT"
] | null | null | null | snippets/12.py | krrg/python-tutorial | a6ef8865cb46ee48624d7c7451d1894741405cc4 | [
"MIT"
] | null | null | null | x = 10
if x < 15:
if x < 10:
print "x is less than 10."
else:
print "x is less than 15, but not less than 10." | 19.285714 | 56 | 0.511111 | 26 | 135 | 2.653846 | 0.423077 | 0.347826 | 0.231884 | 0.347826 | 0.463768 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 0.392593 | 135 | 7 | 56 | 19.285714 | 0.695122 | 0 | 0 | 0 | 0 | 0 | 0.426471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9e4b6496084e266238ebdd8b4a02934ba368e5ef | 114 | py | Python | run-test.py | jeongmincha/pyjsonts | 36e5e4c8b33723c30201a7b62f095c62f9a946ff | [
"Apache-2.0"
] | 1 | 2017-02-04T05:40:33.000Z | 2017-02-04T05:40:33.000Z | run-test.py | jeongmincha/pyjsonts | 36e5e4c8b33723c30201a7b62f095c62f9a946ff | [
"Apache-2.0"
] | null | null | null | run-test.py | jeongmincha/pyjsonts | 36e5e4c8b33723c30201a7b62f095c62f9a946ff | [
"Apache-2.0"
] | null | null | null | import unittest
import test.test_time_series_json
unittest.TextTestRunner().run(test.test_time_series_json.suite) | 28.5 | 63 | 0.877193 | 17 | 114 | 5.529412 | 0.529412 | 0.170213 | 0.255319 | 0.382979 | 0.468085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04386 | 114 | 4 | 63 | 28.5 | 0.862385 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
9e4c75498fdc2d1fdf575da3b8b975b1a1ba3200 | 45 | py | Python | optimize/py/clean.py | powershift/scipy-node | b106544b131e809728afdf18becc63bce5c476c8 | [
"MIT"
] | 13 | 2015-03-07T09:30:34.000Z | 2022-02-13T14:00:14.000Z | optimize/py/clean.py | powershift/scipy-node | b106544b131e809728afdf18becc63bce5c476c8 | [
"MIT"
] | 3 | 2015-03-07T09:36:13.000Z | 2019-02-28T14:16:56.000Z | optimize/py/clean.py | powershift/scipy-node | b106544b131e809728afdf18becc63bce5c476c8 | [
"MIT"
] | 2 | 2017-10-23T13:28:43.000Z | 2018-04-30T10:39:02.000Z | def clean_outputs(result):
return result
| 15 | 26 | 0.755556 | 6 | 45 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 27 | 22.5 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
9e522858afc9d5d711309b664f6ac8760a58d65c | 245 | py | Python | test/generate/autotest/35_ADDC_A_d.py | Aimini/hm-51 | 2d46323388a0679b2f99d1a33f5a0d55a5f838e6 | [
"MIT"
] | null | null | null | test/generate/autotest/35_ADDC_A_d.py | Aimini/hm-51 | 2d46323388a0679b2f99d1a33f5a0d55a5f838e6 | [
"MIT"
] | 20 | 2020-01-13T04:19:37.000Z | 2020-02-12T14:25:44.000Z | test/generate/autotest/35_ADDC_A_d.py | Aimini/hm-51 | 2d46323388a0679b2f99d1a33f5a0d55a5f838e6 | [
"MIT"
] | null | null | null | #########################################################
# 2020-01-22 22:58:47
# AI
# ins: ADDC A, direct
##########################################################
from .common.INS_XXX_A_d import INS_XXX_A_D
p = INS_XXX_A_D("ADDC").gen(0, 17) | 30.625 | 58 | 0.367347 | 31 | 245 | 2.612903 | 0.612903 | 0.222222 | 0.259259 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075556 | 0.081633 | 245 | 8 | 59 | 30.625 | 0.284444 | 0.171429 | 0 | 0 | 0 | 0 | 0.047059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 6 |
9e6c83e12fec33cd34c973536803fc07174f14b9 | 282 | py | Python | app/ui/__convert.py | AlexLaur/TradeHelper | 17c4ba06bb81fb6e6e7be53561effd411092bd67 | [
"MIT"
] | 2 | 2021-03-29T15:55:31.000Z | 2021-06-20T09:54:28.000Z | app/ui/__convert.py | AlexLaur/TradeHelper | 17c4ba06bb81fb6e6e7be53561effd411092bd67 | [
"MIT"
] | 2 | 2021-03-28T12:42:38.000Z | 2021-06-20T14:27:06.000Z | app/ui/__convert.py | AlexLaur/TradeHelper | 17c4ba06bb81fb6e6e7be53561effd411092bd67 | [
"MIT"
] | 1 | 2021-06-20T09:54:33.000Z | 2021-06-20T09:54:33.000Z | import subprocess
cmd = "C:\\Users\\vince\\AppData\\Roaming\\Python\\Python39\\Scripts\\pyside2-uic.exe main_window.ui > main_window.py"
# cmd = "C:\\Users\\vince\\AppData\\Roaming\\Python\\Python39\\Scripts\\pyside2-uic.exe search.ui > search.py"
subprocess.run(cmd, shell=True)
| 40.285714 | 118 | 0.734043 | 41 | 282 | 5 | 0.536585 | 0.039024 | 0.087805 | 0.136585 | 0.604878 | 0.604878 | 0.604878 | 0.604878 | 0.604878 | 0.604878 | 0 | 0.022814 | 0.067376 | 282 | 6 | 119 | 47 | 0.756654 | 0.382979 | 0 | 0 | 0 | 0.333333 | 0.639535 | 0.453488 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
9eb33bfe2c09105f9c7e17e2e2ff52f71171dc9c | 44 | py | Python | services/core-api/app/api/compliance/models/__init__.py | parc-jason/mds | 8f181a429442208a061ed72065b71e6c2bd0f76f | [
"Apache-2.0"
] | 25 | 2018-07-09T19:04:37.000Z | 2022-03-15T17:27:10.000Z | services/core-api/app/api/compliance/models/__init__.py | parc-jason/mds | 8f181a429442208a061ed72065b71e6c2bd0f76f | [
"Apache-2.0"
] | 983 | 2018-04-25T20:08:07.000Z | 2022-03-31T21:45:20.000Z | services/core-api/app/api/compliance/models/__init__.py | parc-jason/mds | 8f181a429442208a061ed72065b71e6c2bd0f76f | [
"Apache-2.0"
] | 58 | 2018-05-15T22:35:50.000Z | 2021-11-29T19:40:52.000Z | from .article_act_code import ArticleActCode | 44 | 44 | 0.909091 | 6 | 44 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 1 | 44 | 44 | 0.926829 | 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 |
7bb4a10b2adc952df1d3d51532bf615b1ceb9cb5 | 248 | py | Python | 5_singleton/singleton.py | hypersport/Head-First-Design-Patterns-Python | 0c8b831ae89ebbbef8b203b96508deb7e3063590 | [
"MIT"
] | null | null | null | 5_singleton/singleton.py | hypersport/Head-First-Design-Patterns-Python | 0c8b831ae89ebbbef8b203b96508deb7e3063590 | [
"MIT"
] | null | null | null | 5_singleton/singleton.py | hypersport/Head-First-Design-Patterns-Python | 0c8b831ae89ebbbef8b203b96508deb7e3063590 | [
"MIT"
] | null | null | null | class Singleton:
unique_instance = None
def __new__(cls, *args, **kwargs):
if not cls.unique_instance:
cls.unique_instance = super().__new__(cls, *args, **kwargs)
return cls.unique_instance
# Other methods
| 24.8 | 71 | 0.637097 | 29 | 248 | 5.034483 | 0.551724 | 0.383562 | 0.349315 | 0.219178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258065 | 248 | 9 | 72 | 27.555556 | 0.793478 | 0.052419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
c87b69e2817ac34171fe964ba442d4db595e810f | 25,853 | py | Python | tests/simulations/zone/test_zone_ideal_loads_air_system.py | john-grando/pyExpandObjects | c08b1d1bc45684bc71c0f49b4d2f22c707cd4aa4 | [
"BSD-3-Clause"
] | null | null | null | tests/simulations/zone/test_zone_ideal_loads_air_system.py | john-grando/pyExpandObjects | c08b1d1bc45684bc71c0f49b4d2f22c707cd4aa4 | [
"BSD-3-Clause"
] | 1 | 2021-02-03T01:56:56.000Z | 2021-02-03T01:56:56.000Z | tests/simulations/zone/test_zone_ideal_loads_air_system.py | john-grando/pyExpandObjects | c08b1d1bc45684bc71c0f49b4d2f22c707cd4aa4 | [
"BSD-3-Clause"
] | 1 | 2022-01-11T18:31:05.000Z | 2022-01-11T18:31:05.000Z | from pathlib import Path
from tests.simulations import BaseSimulationTest
from src.epjson_handler import EPJSON
test_dir = Path(__file__).parent.parent.parent
design_specification_objects = {
"DesignSpecification:OutdoorAir": {
"SPACE1-1 SZ DSOA Custom Object": {
"outdoor_air_flow_per_zone": ... | 67.325521 | 138 | 0.742351 | 2,955 | 25,853 | 6.100508 | 0.054822 | 0.127586 | 0.147556 | 0.054807 | 0.907528 | 0.878904 | 0.85971 | 0.851722 | 0.851722 | 0.840406 | 0 | 0.009995 | 0.152477 | 25,853 | 384 | 139 | 67.325521 | 0.812742 | 0.012339 | 0 | 0.567335 | 0 | 0 | 0.423362 | 0.336284 | 0 | 0 | 0 | 0.002604 | 0.097421 | 1 | 0.074499 | false | 0 | 0.008596 | 0.002865 | 0.160458 | 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 |
c8d97f055bcff2d91d1512348eea2016160f832e | 43 | py | Python | huffman/tree/bits/__init__.py | imranmaj/huffman | df2235f50f5ec52b9653c43e99daa7250ffeb082 | [
"MIT"
] | null | null | null | huffman/tree/bits/__init__.py | imranmaj/huffman | df2235f50f5ec52b9653c43e99daa7250ffeb082 | [
"MIT"
] | null | null | null | huffman/tree/bits/__init__.py | imranmaj/huffman | df2235f50f5ec52b9653c43e99daa7250ffeb082 | [
"MIT"
] | null | null | null | from .bit import Bit
from .bits import Bits | 21.5 | 22 | 0.790698 | 8 | 43 | 4.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 2 | 22 | 21.5 | 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 |
cdc597e93aa30498f425dbbf62063005224c11e2 | 186 | py | Python | pyyadisk/helpers.py | ndrwpvlv/pyyadisk | cfc1fbb86027ccd20f59c49c87e87d3b2c495d2f | [
"MIT"
] | 1 | 2021-08-18T08:49:35.000Z | 2021-08-18T08:49:35.000Z | pyyadisk/helpers.py | ndrwpvlv/pyyadisk | cfc1fbb86027ccd20f59c49c87e87d3b2c495d2f | [
"MIT"
] | null | null | null | pyyadisk/helpers.py | ndrwpvlv/pyyadisk | cfc1fbb86027ccd20f59c49c87e87d3b2c495d2f | [
"MIT"
] | 1 | 2021-08-18T08:49:46.000Z | 2021-08-18T08:49:46.000Z | def join_path(uri, resource_path):
return '{}{}'.format(uri, resource_path) if resource_path else uri
def filter_dict_by_key(d: dict):
return {k: v for k, v in d.items() if v}
| 26.571429 | 70 | 0.688172 | 34 | 186 | 3.558824 | 0.558824 | 0.297521 | 0.247934 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177419 | 186 | 6 | 71 | 31 | 0.79085 | 0 | 0 | 0 | 0 | 0 | 0.021505 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
cdc82ba42b92e47e6b9ae2e29dcda5f93ddffd23 | 213 | py | Python | app/api/views/__init__.py | nabaz/projecttracker | c6b326592f7a6925b2fbc0924350dd0951beca0f | [
"MIT"
] | null | null | null | app/api/views/__init__.py | nabaz/projecttracker | c6b326592f7a6925b2fbc0924350dd0951beca0f | [
"MIT"
] | null | null | null | app/api/views/__init__.py | nabaz/projecttracker | c6b326592f7a6925b2fbc0924350dd0951beca0f | [
"MIT"
] | null | null | null | from api.views.customer_viewset import CustomerViewSet
from api.views.project_viewset import ProjectViewSet
from api.views.task_viewset import TaskViewSet
from api.views.time_entry_viewset import TimeEntryViewSet
| 42.6 | 57 | 0.887324 | 29 | 213 | 6.344828 | 0.482759 | 0.152174 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075117 | 213 | 4 | 58 | 53.25 | 0.93401 | 0 | 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 |
a8089e4ee75da238a3655ed5977bb3eb1d7879f4 | 4,297 | py | Python | testing_suite/test_compute_MD_NM.py | hd00ljy/TranscriptClean | cf46adcbba15c5920a1ad826d8fbbe6e26817787 | [
"MIT"
] | 29 | 2018-03-09T00:49:56.000Z | 2020-03-17T13:03:17.000Z | testing_suite/test_compute_MD_NM.py | gongjingtang/TranscriptClean | b7b5baf149d8ef04bbcc8214bbd437ff1d406c2b | [
"MIT"
] | 18 | 2018-04-22T05:35:24.000Z | 2020-02-10T00:49:23.000Z | testing_suite/test_compute_MD_NM.py | dewyman/clean_splice_jns | ae9e71556a6b2e2c1fd80a9dca8fbab8d8196206 | [
"MIT"
] | 9 | 2019-02-16T23:35:56.000Z | 2020-01-07T10:28:17.000Z | import pytest
from pyfasta import Fasta
import sys
sys.path.append("..")
import transcript as t2
import TranscriptClean as TC
@pytest.mark.unit
class TestComputeMD(object):
def test_perfect_match_no_introns(self):
""" Compute the correct MD tag for a transcript that is a perfect
reference matc... | 34.934959 | 80 | 0.612055 | 547 | 4,297 | 4.647166 | 0.164534 | 0.074351 | 0.038552 | 0.057828 | 0.830842 | 0.808025 | 0.758851 | 0.728954 | 0.728954 | 0.728954 | 0 | 0.029856 | 0.275076 | 4,297 | 122 | 81 | 35.221311 | 0.786196 | 0.156621 | 0 | 0.589744 | 0 | 0 | 0.182157 | 0.148881 | 0 | 0 | 0 | 0 | 0.179487 | 1 | 0.089744 | false | 0 | 0.064103 | 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 |
b5537e33e76d6a6e1ba5c0f213fb11f2550709df | 34 | py | Python | mara_app/__init__.py | jankatins/mara-app | 98167dacb9c91e536133aa9f7ca088f4fe965cc4 | [
"MIT"
] | null | null | null | mara_app/__init__.py | jankatins/mara-app | 98167dacb9c91e536133aa9f7ca088f4fe965cc4 | [
"MIT"
] | null | null | null | mara_app/__init__.py | jankatins/mara-app | 98167dacb9c91e536133aa9f7ca088f4fe965cc4 | [
"MIT"
] | null | null | null | from mara_app import views, cli
| 8.5 | 31 | 0.764706 | 6 | 34 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 34 | 3 | 32 | 11.333333 | 0.925926 | 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 |
a909a716e4f414bae3fcde9906168f72cd2044df | 107 | py | Python | package/splitters/__init__.py | dpasse/summer_of_george | 4fd41b0d5ad6a0c8724441d7db137b747de74abb | [
"MIT"
] | null | null | null | package/splitters/__init__.py | dpasse/summer_of_george | 4fd41b0d5ad6a0c8724441d7db137b747de74abb | [
"MIT"
] | null | null | null | package/splitters/__init__.py | dpasse/summer_of_george | 4fd41b0d5ad6a0c8724441d7db137b747de74abb | [
"MIT"
] | 2 | 2020-01-29T21:15:36.000Z | 2020-06-16T07:59:23.000Z | from .AbstractSplitter import AbstractSplitter
from .SingleThresholdSplitter import SingleThresholdSplitter | 53.5 | 60 | 0.915888 | 8 | 107 | 12.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065421 | 107 | 2 | 60 | 53.5 | 0.98 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 |
a9572bb1c06b96aecf74cc8f7a38d641b142bbb8 | 2,828 | py | Python | shared/tools/yaml/dumper.py | DougMahoney/metatools | 112340102962ff0c3e323564357cc4e848939cf7 | [
"Apache-2.0"
] | 12 | 2020-04-10T07:09:24.000Z | 2022-03-04T09:22:40.000Z | shared/tools/yaml/dumper.py | DougMahoney/metatools | 112340102962ff0c3e323564357cc4e848939cf7 | [
"Apache-2.0"
] | 5 | 2020-05-16T18:22:23.000Z | 2022-03-29T13:19:27.000Z | shared/tools/yaml/dumper.py | DougMahoney/metatools | 112340102962ff0c3e323564357cc4e848939cf7 | [
"Apache-2.0"
] | 2 | 2020-12-10T15:17:40.000Z | 2021-12-02T17:34:56.000Z | # PyYAML library
__license__ = 'MIT'
__author__ = 'Kirill Simonov'
__copyright__ = """
Copyright (c) 2017-2020 Ingy döt Net
Copyright (c) 2006-2016 Kirill Simonov
"""
# For changes regarding this port for Ignition usage, please contact:
__maintainer__ = 'Andrew Geiger'
__email__ = 'andrew.geiger@corsosystems.com'
... | 38.216216 | 69 | 0.7843 | 364 | 2,828 | 5.664835 | 0.200549 | 0.058196 | 0.069835 | 0.061106 | 0.776916 | 0.740543 | 0.740543 | 0.740543 | 0.740543 | 0.740543 | 0 | 0.006395 | 0.115276 | 2,828 | 73 | 70 | 38.739726 | 0.817746 | 0.028996 | 0 | 0.721311 | 0 | 0 | 0.060518 | 0.010937 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04918 | false | 0 | 0.065574 | 0 | 0.163934 | 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 |
a987b2fa0def94c8556ecbcee6f205ccb1b75f71 | 41 | py | Python | ModernWarfare/__init__.py | Mario-Kart-Felix/Hyde | eaaae703cf04752caa009a93c3928959de8047bd | [
"MIT"
] | 14 | 2020-05-01T13:54:48.000Z | 2022-02-14T21:58:35.000Z | ModernWarfare/__init__.py | Mario-Kart-Felix/Hyde | eaaae703cf04752caa009a93c3928959de8047bd | [
"MIT"
] | 3 | 2020-06-09T19:24:48.000Z | 2021-03-06T11:34:04.000Z | ModernWarfare/__init__.py | Mario-Kart-Felix/Hyde | eaaae703cf04752caa009a93c3928959de8047bd | [
"MIT"
] | 4 | 2020-05-24T19:15:08.000Z | 2022-02-04T21:20:29.000Z | from .modernwarfare import ModernWarfare
| 20.5 | 40 | 0.878049 | 4 | 41 | 9 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.972973 | 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 |
8d4bb5552d8af94b3628f940f860bbc1128a5828 | 42 | py | Python | pushcrew/schemas/__init__.py | felicesyforrados/pushcrew-python | ecf2eef3995bfaa010542a39919e391e5752592d | [
"MIT"
] | 2 | 2019-05-25T09:39:22.000Z | 2020-08-08T18:03:14.000Z | pushcrew/schemas/__init__.py | felicesyforrados/pushcrew-python | ecf2eef3995bfaa010542a39919e391e5752592d | [
"MIT"
] | null | null | null | pushcrew/schemas/__init__.py | felicesyforrados/pushcrew-python | ecf2eef3995bfaa010542a39919e391e5752592d | [
"MIT"
] | 1 | 2020-09-02T14:31:10.000Z | 2020-09-02T14:31:10.000Z | from .base import create_object_from_json
| 21 | 41 | 0.880952 | 7 | 42 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8d73e9b21db5b095c5c03d34e8c3affc66511ca7 | 224 | py | Python | mold/__init__.py | Bogdanp/mold | 1a8508b2c9dd59d24f3c41a1aca37970e39fa43d | [
"MIT"
] | 2 | 2015-06-22T11:48:44.000Z | 2021-07-05T06:07:03.000Z | mold/__init__.py | Bogdanp/mold | 1a8508b2c9dd59d24f3c41a1aca37970e39fa43d | [
"MIT"
] | null | null | null | mold/__init__.py | Bogdanp/mold | 1a8508b2c9dd59d24f3c41a1aca37970e39fa43d | [
"MIT"
] | null | null | null | from .environment import Environment # noqa
# Re-export exceptions:
from .context import VariableNotFoundError # noqa
from .environment import TemplateNotFoundError # noqa
from .parser import TemplateSyntaxError # noqa
| 32 | 54 | 0.808036 | 23 | 224 | 7.869565 | 0.521739 | 0.165746 | 0.232044 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 224 | 6 | 55 | 37.333333 | 0.942708 | 0.183036 | 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 |
a5c98afe6273d70f221a20c9c5fce448fb960965 | 96 | py | Python | easyyoutubemusic/utils.py | fifiman/EasyYoutubeMusic | fa6357fe14b14f0a605584af22e12f9582860e8a | [
"MIT"
] | 3 | 2019-10-11T19:39:51.000Z | 2020-04-30T17:41:24.000Z | easyyoutubemusic/utils.py | fifiman/EasyYoutubeMusic | fa6357fe14b14f0a605584af22e12f9582860e8a | [
"MIT"
] | 5 | 2018-10-18T08:51:17.000Z | 2018-10-21T07:45:36.000Z | easyyoutubemusic/utils.py | fifiman/EasyYoutubeMusic | fa6357fe14b14f0a605584af22e12f9582860e8a | [
"MIT"
] | null | null | null | import json
import os
def pretty_print_json(json_text):
print(json.dumps(json_text, indent=2)) | 19.2 | 39 | 0.802083 | 17 | 96 | 4.294118 | 0.588235 | 0.246575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.09375 | 96 | 5 | 39 | 19.2 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 0.75 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
a5fff33016f5beac19927c68bdabba0f9f15ec4e | 92 | py | Python | app/rest/__init__.py | atelier-des-communs/event-map | dbdbf698e8d5c679edcb33cbdb30232e66536ad9 | [
"MIT"
] | null | null | null | app/rest/__init__.py | atelier-des-communs/event-map | dbdbf698e8d5c679edcb33cbdb30232e66536ad9 | [
"MIT"
] | null | null | null | app/rest/__init__.py | atelier-des-communs/event-map | dbdbf698e8d5c679edcb33cbdb30232e66536ad9 | [
"MIT"
] | null | null | null | from flask import Blueprint
rest = Blueprint('rest', __name__)
from . import views # noqa | 18.4 | 34 | 0.73913 | 12 | 92 | 5.333333 | 0.666667 | 0.40625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 92 | 5 | 35 | 18.4 | 0.842105 | 0.043478 | 0 | 0 | 0 | 0 | 0.045977 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
570dedcf88bfd9e569ece44dadb08fc322526c70 | 319 | py | Python | encrypted_dns/__init__.py | fakegit/Encrypted-DNS | bc1f18006b302bb2d9849c214e09ba0bc948738c | [
"Apache-2.0"
] | null | null | null | encrypted_dns/__init__.py | fakegit/Encrypted-DNS | bc1f18006b302bb2d9849c214e09ba0bc948738c | [
"Apache-2.0"
] | null | null | null | encrypted_dns/__init__.py | fakegit/Encrypted-DNS | bc1f18006b302bb2d9849c214e09ba0bc948738c | [
"Apache-2.0"
] | null | null | null | import encrypted_dns.log as log
import encrypted_dns.main as main
import encrypted_dns.parse as parse
import encrypted_dns.server as server
import encrypted_dns.upstream as upstream
import encrypted_dns.utils as utils
from encrypted_dns.config import Config
from encrypted_dns.struct import StructQuery, StructResponse
| 35.444444 | 60 | 0.868339 | 49 | 319 | 5.489796 | 0.306122 | 0.356877 | 0.401487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 319 | 8 | 61 | 39.875 | 0.940559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 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 | 1 | 0 | 0 | 6 |
5710c4d110fdc0233b5e6dc30b0be0312f9bf19a | 614 | py | Python | templatealchemy/__init__.py | cadithealth/templatealchemy | a098aff22a6bcdd693e5ebea51155b96356d3178 | [
"MIT"
] | 1 | 2019-10-06T23:49:58.000Z | 2019-10-06T23:49:58.000Z | templatealchemy/__init__.py | cadithealth/templatealchemy | a098aff22a6bcdd693e5ebea51155b96356d3178 | [
"MIT"
] | null | null | null | templatealchemy/__init__.py | cadithealth/templatealchemy | a098aff22a6bcdd693e5ebea51155b96356d3178 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#------------------------------------------------------------------------------
# file: $Id$
# auth: Philip J Grabner <grabner@cadit.com>
# date: 2013/07/29
# copy: (C) Copyright 2013 Cadit Health Inc., All Rights Reserved.
#-----------------------------------------------------------------------... | 38.375 | 79 | 0.340391 | 41 | 614 | 5.097561 | 0.756098 | 0.272727 | 0.239234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02305 | 0.081433 | 614 | 15 | 80 | 40.933333 | 0.347518 | 0.783388 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5740d9a96f3b355d3799555d8ff0b441733af5cf | 68 | py | Python | vae/__init__.py | tam633/geometric-js | ad5c2ca53691eedb0b246ade18a80738a15e79a5 | [
"MIT"
] | 14 | 2020-06-18T14:14:10.000Z | 2021-08-18T01:59:48.000Z | vae/__init__.py | tam633/geometric-js | ad5c2ca53691eedb0b246ade18a80738a15e79a5 | [
"MIT"
] | null | null | null | vae/__init__.py | tam633/geometric-js | ad5c2ca53691eedb0b246ade18a80738a15e79a5 | [
"MIT"
] | 2 | 2021-03-23T23:43:36.000Z | 2021-05-04T08:35:36.000Z | from vae.evaluate import Evaluator
from vae.training import Trainer
| 22.666667 | 34 | 0.852941 | 10 | 68 | 5.8 | 0.7 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 2 | 35 | 34 | 0.966667 | 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 |
5756db91979982067288c92a744c2369a620ec8f | 101 | py | Python | running_modes/reinforcement_learning/logging/link_logging/__init__.py | lilleswing/Reinvent-1 | ac4e3e6fa6379c6f4af883478dfd1b3407933ada | [
"Apache-2.0"
] | 183 | 2020-04-04T02:01:15.000Z | 2022-03-30T21:56:56.000Z | running_modes/reinforcement_learning/logging/link_logging/__init__.py | lilleswing/Reinvent-1 | ac4e3e6fa6379c6f4af883478dfd1b3407933ada | [
"Apache-2.0"
] | 39 | 2020-04-05T15:19:56.000Z | 2022-03-09T12:58:21.000Z | running_modes/reinforcement_learning/logging/link_logging/__init__.py | lilleswing/Reinvent-1 | ac4e3e6fa6379c6f4af883478dfd1b3407933ada | [
"Apache-2.0"
] | 70 | 2020-04-05T19:25:43.000Z | 2022-02-22T12:04:39.000Z | from running_modes.reinforcement_learning.logging.link_logging.console_message import ConsoleMessage
| 50.5 | 100 | 0.920792 | 12 | 101 | 7.416667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039604 | 101 | 1 | 101 | 101 | 0.917526 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
939128e59c51d31e4a8165a88a77d6a4bbcddd8b | 381 | py | Python | web/controllers/train/supplier.py | jxsrjw4/flask_learning | 17097a5c6a911da29a50dd1865552de6b7f8d9c5 | [
"Apache-2.0"
] | null | null | null | web/controllers/train/supplier.py | jxsrjw4/flask_learning | 17097a5c6a911da29a50dd1865552de6b7f8d9c5 | [
"Apache-2.0"
] | null | null | null | web/controllers/train/supplier.py | jxsrjw4/flask_learning | 17097a5c6a911da29a50dd1865552de6b7f8d9c5 | [
"Apache-2.0"
] | null | null | null | from flask import Blueprint,render_template
route_supplier = Blueprint("supplier_page", __name__)
@route_supplier.route("/index")
def index():
return render_template("/supplier/index.html")
@route_supplier.route("/edit")
def edit():
return render_template("/supplier/edit.html")
@route_supplier.route("/add")... | 25.4 | 53 | 0.748031 | 48 | 381 | 5.666667 | 0.333333 | 0.205882 | 0.198529 | 0.308824 | 0.257353 | 0.257353 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099738 | 381 | 15 | 54 | 25.4 | 0.793003 | 0 | 0 | 0.181818 | 0 | 0 | 0.222513 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.272727 | 0.636364 | 0.181818 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
9395b6864396405ea8541915403be9f15bef5148 | 35 | py | Python | management/management_api/models/__init__.py | poussa/inference-model-manager | 33e487be32b8487290a296daaf90529263a09801 | [
"Apache-2.0"
] | 44 | 2018-11-29T17:41:29.000Z | 2021-05-05T12:56:08.000Z | management/management_api/models/__init__.py | poussa/inference-model-manager | 33e487be32b8487290a296daaf90529263a09801 | [
"Apache-2.0"
] | 25 | 2018-12-04T10:33:10.000Z | 2019-09-06T06:14:42.000Z | management/management_api/models/__init__.py | poussa/inference-model-manager | 33e487be32b8487290a296daaf90529263a09801 | [
"Apache-2.0"
] | 7 | 2018-12-19T07:33:33.000Z | 2021-03-30T02:46:43.000Z | from .models import Models # noqa
| 17.5 | 34 | 0.742857 | 5 | 35 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 35 | 1 | 35 | 35 | 0.928571 | 0.114286 | 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 |
93a2fa50ab94c0d311c88a5c55ab972188bdff13 | 47 | py | Python | data/states/lobby/__init__.py | iminurnamez/Python_Arcade_Collab | 67702414ed30addd1bf46339bb458df34ed88f2a | [
"CC0-1.0"
] | 2 | 2018-08-02T15:28:45.000Z | 2022-02-09T07:45:18.000Z | data/states/lobby/__init__.py | iminurnamez/Python_Arcade_Collab | 67702414ed30addd1bf46339bb458df34ed88f2a | [
"CC0-1.0"
] | null | null | null | data/states/lobby/__init__.py | iminurnamez/Python_Arcade_Collab | 67702414ed30addd1bf46339bb458df34ed88f2a | [
"CC0-1.0"
] | null | null | null | from .lobby_screen import LobbyScreen as Scene
| 23.5 | 46 | 0.851064 | 7 | 47 | 5.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 47 | 1 | 47 | 47 | 0.95122 | 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 |
93ad134067468f29a0840176ebf3580b993eaf57 | 2,717 | py | Python | news/pybo/models.py | Smashh712/nrib | 375c9625e9efa6bb9a6f466312de3c6fcd5818a4 | [
"MIT"
] | null | null | null | news/pybo/models.py | Smashh712/nrib | 375c9625e9efa6bb9a6f466312de3c6fcd5818a4 | [
"MIT"
] | null | null | null | news/pybo/models.py | Smashh712/nrib | 375c9625e9efa6bb9a6f466312de3c6fcd5818a4 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Topic(models.Model):
subject = models.CharField(max_length=200)
image = models.TextField()
create_date = models.DateTimeField()
left = models.CharField(max_length=20, null=True)
right = models.CharField(max_length=20, null=True)
d... | 30.875 | 84 | 0.72028 | 324 | 2,717 | 5.830247 | 0.166667 | 0.127051 | 0.152462 | 0.203282 | 0.843303 | 0.824775 | 0.7009 | 0.597671 | 0.52144 | 0.45262 | 0 | 0.019052 | 0.169304 | 2,717 | 87 | 85 | 31.229885 | 0.8179 | 0.008833 | 0 | 0.612903 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.112903 | false | 0 | 0.016129 | 0.112903 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
93c7504ca93469cd9dd14bd401ef7357475bde71 | 14,620 | py | Python | python-crons/average_price_calculator.py | dantunescost/antunedo | b66517605f1231604aba620048eaca963ac2ae2b | [
"MIT"
] | null | null | null | python-crons/average_price_calculator.py | dantunescost/antunedo | b66517605f1231604aba620048eaca963ac2ae2b | [
"MIT"
] | null | null | null | python-crons/average_price_calculator.py | dantunescost/antunedo | b66517605f1231604aba620048eaca963ac2ae2b | [
"MIT"
] | null | null | null | #!/usr/bin python3.7
# -*- coding: utf-8 -*-
import time
from lib.mongoConnector import connect_to_mongodb
def compute_average_prices():
start = time.time()
client = connect_to_mongodb()
collection = client['antunedo']['offers']
avg_collection = client['antunedo']['average_prices']
# Get level 1... | 35.658537 | 95 | 0.416347 | 1,261 | 14,620 | 4.523394 | 0.083267 | 0.027349 | 0.110449 | 0.027349 | 0.899544 | 0.892532 | 0.892532 | 0.892532 | 0.892532 | 0.892532 | 0 | 0.026313 | 0.422914 | 14,620 | 409 | 96 | 35.745721 | 0.649757 | 0.011354 | 0 | 0.649351 | 0 | 0 | 0.303779 | 0.072536 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012987 | false | 0 | 0.005195 | 0 | 0.028571 | 0.012987 | 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 |
f533cd9e0676eef7cb2f8068e73bf8ea9c2cc78d | 1,968 | py | Python | turngeneration/tests/test_tasks.py | jbradberry/django-turn-generation | dbfec9d0addbff2d8d54597b7520e171938c9107 | [
"MIT"
] | null | null | null | turngeneration/tests/test_tasks.py | jbradberry/django-turn-generation | dbfec9d0addbff2d8d54597b7520e171938c9107 | [
"MIT"
] | null | null | null | turngeneration/tests/test_tasks.py | jbradberry/django-turn-generation | dbfec9d0addbff2d8d54597b7520e171938c9107 | [
"MIT"
] | 1 | 2019-12-12T19:36:15.000Z | 2019-12-12T19:36:15.000Z | from django.test import TestCase
from mock import patch
from sample_app.models import TestRealm
from ..models import Generator, GenerationTime, Ready, Pause
class TimedGenerationTestCase(TestCase):
def setUp(self):
from .. import tasks
self.timed_generation = tasks.timed_generation
self.... | 31.238095 | 82 | 0.674797 | 219 | 1,968 | 5.968037 | 0.237443 | 0.079572 | 0.058148 | 0.110176 | 0.761285 | 0.761285 | 0.761285 | 0.761285 | 0.761285 | 0.677123 | 0 | 0.002626 | 0.226118 | 1,968 | 62 | 83 | 31.741935 | 0.855548 | 0 | 0 | 0.717391 | 0 | 0 | 0.011179 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 1 | 0.108696 | false | 0 | 0.152174 | 0 | 0.326087 | 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 |
f54d63e75911ca52d002555e616b34ddd35e1307 | 60 | py | Python | test_macro/__init__.py | kerryeon/test-macro | a65f12d7f6f1a679070e974f2abacfed7634c2c6 | [
"MIT"
] | null | null | null | test_macro/__init__.py | kerryeon/test-macro | a65f12d7f6f1a679070e974f2abacfed7634c2c6 | [
"MIT"
] | null | null | null | test_macro/__init__.py | kerryeon/test-macro | a65f12d7f6f1a679070e974f2abacfed7634c2c6 | [
"MIT"
] | null | null | null | from test_macro import macro
from .macro import TestMacro
| 12 | 28 | 0.816667 | 9 | 60 | 5.333333 | 0.555556 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 60 | 4 | 29 | 15 | 0.96 | 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 |
27601bb32c2cd869246b64a8a4b48c3a14580aed | 146 | py | Python | dashboard/components/__init__.py | CNC-lathe/digital-dashboard | d4183430025d32062e43edeb509b093a3b72dea5 | [
"MIT"
] | null | null | null | dashboard/components/__init__.py | CNC-lathe/digital-dashboard | d4183430025d32062e43edeb509b093a3b72dea5 | [
"MIT"
] | null | null | null | dashboard/components/__init__.py | CNC-lathe/digital-dashboard | d4183430025d32062e43edeb509b093a3b72dea5 | [
"MIT"
] | null | null | null | from .section_component import build_section
from .text_component import build_row, build_text_component
from .table_component import build_table
| 36.5 | 59 | 0.883562 | 21 | 146 | 5.761905 | 0.380952 | 0.371901 | 0.495868 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089041 | 146 | 3 | 60 | 48.666667 | 0.909774 | 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 | 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 |
279c574820c18c97e06820672089c5b717afc728 | 94 | py | Python | tests/test_example/test_todo.py | bryanoliveira/bento2seldon | e743e7a589863f7e7aae18313b5dfabf0a7f9f5d | [
"Apache-2.0"
] | 3 | 2021-05-18T00:34:36.000Z | 2021-09-06T02:47:29.000Z | tests/test_example/test_todo.py | bryanoliveira/bento2seldon | e743e7a589863f7e7aae18313b5dfabf0a7f9f5d | [
"Apache-2.0"
] | 241 | 2021-11-01T16:23:29.000Z | 2022-03-31T16:31:54.000Z | tests/test_example/test_todo.py | bryanoliveira/bento2seldon | e743e7a589863f7e7aae18313b5dfabf0a7f9f5d | [
"Apache-2.0"
] | 1 | 2022-03-22T14:09:50.000Z | 2022-03-22T14:09:50.000Z | import pytest
def test_todo():
"""Example test with parametrization."""
assert True
| 13.428571 | 44 | 0.680851 | 11 | 94 | 5.727273 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212766 | 94 | 6 | 45 | 15.666667 | 0.851351 | 0.361702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
27b759fe55d2bf7cb87eee8e5670162618785b1c | 2,754 | py | Python | tests/unit/test_api_auth.py | akumuthan-dev/data-flow | efb29a05136adff6c8d103f228568353e3eebee0 | [
"MIT"
] | null | null | null | tests/unit/test_api_auth.py | akumuthan-dev/data-flow | efb29a05136adff6c8d103f228568353e3eebee0 | [
"MIT"
] | null | null | null | tests/unit/test_api_auth.py | akumuthan-dev/data-flow | efb29a05136adff6c8d103f228568353e3eebee0 | [
"MIT"
] | null | null | null | from unittest import mock
import mohawk
from flask import Flask
from dataflow import api_auth_backend
TEST_CLIENT_ID = 'test-hawk-client-id'
TEST_CLIENT_KEY = 'test-hawk-client-key'
def test_auth_header():
app = Flask('dataflow-test-app')
mock_view = mock.Mock()
with app.test_request_context():
... | 34 | 87 | 0.678286 | 327 | 2,754 | 5.397554 | 0.168196 | 0.058924 | 0.063456 | 0.036261 | 0.858357 | 0.816997 | 0.800567 | 0.800567 | 0.800567 | 0.77847 | 0 | 0.009434 | 0.191721 | 2,754 | 80 | 88 | 34.425 | 0.783468 | 0 | 0 | 0.594203 | 0 | 0 | 0.137255 | 0.030501 | 0 | 0 | 0 | 0 | 0.115942 | 1 | 0.057971 | false | 0 | 0.057971 | 0 | 0.115942 | 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 |
fd70c394aa375c9967b8024578997bdd401aab86 | 49 | py | Python | Data/testingStuff.py | ThomasPerkins1123/MachineLearningPython | 4c290267a67910ffead56ad66d4e573233d7198f | [
"Apache-2.0"
] | null | null | null | Data/testingStuff.py | ThomasPerkins1123/MachineLearningPython | 4c290267a67910ffead56ad66d4e573233d7198f | [
"Apache-2.0"
] | null | null | null | Data/testingStuff.py | ThomasPerkins1123/MachineLearningPython | 4c290267a67910ffead56ad66d4e573233d7198f | [
"Apache-2.0"
] | null | null | null | from temp import testData
print(testData[3, 5])
| 12.25 | 25 | 0.755102 | 8 | 49 | 4.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.142857 | 49 | 3 | 26 | 16.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 0 | 1 | 0 | 6 |
fdf04c9ff0eeee696a05531149ca55d77c1baa19 | 20,353 | py | Python | backend/tests/baserow/contrib/database/api/views/test_view_filter.py | ashishdhngr/baserow | b098678d2165eb7c42930ee24dc6753a3cb520c3 | [
"MIT"
] | null | null | null | backend/tests/baserow/contrib/database/api/views/test_view_filter.py | ashishdhngr/baserow | b098678d2165eb7c42930ee24dc6753a3cb520c3 | [
"MIT"
] | null | null | null | backend/tests/baserow/contrib/database/api/views/test_view_filter.py | ashishdhngr/baserow | b098678d2165eb7c42930ee24dc6753a3cb520c3 | [
"MIT"
] | null | null | null | import pytest
from rest_framework.status import (
HTTP_200_OK,
HTTP_204_NO_CONTENT,
HTTP_400_BAD_REQUEST,
HTTP_404_NOT_FOUND,
)
from django.shortcuts import reverse
from baserow.contrib.database.views.models import ViewFilter
from baserow.contrib.database.views.registries import (
view_type_regis... | 38.767619 | 87 | 0.677836 | 2,690 | 20,353 | 4.795539 | 0.044981 | 0.101395 | 0.090698 | 0.055349 | 0.907287 | 0.898217 | 0.880078 | 0.863488 | 0.846589 | 0.80814 | 0 | 0.02039 | 0.19034 | 20,353 | 524 | 88 | 38.841603 | 0.762425 | 0 | 0 | 0.688559 | 0 | 0 | 0.165872 | 0.074977 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.014831 | false | 0 | 0.014831 | 0 | 0.029661 | 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 |
8bfaed8e387f4d15b885defc70adbbf8cdad9f51 | 118 | py | Python | katas/kyu_4/permutations.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/kyu_4/permutations.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/kyu_4/permutations.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | from itertools import permutations as perm
def permutations(strng):
return set(''.join(a) for a in perm(strng))
| 19.666667 | 47 | 0.728814 | 18 | 118 | 4.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169492 | 118 | 5 | 48 | 23.6 | 0.877551 | 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 |
e353e4049cb14fc13ddcead2eb098c45d889c10c | 1,266 | py | Python | tests/test_autokey.py | Malmosmo/pycipher2 | 9460cd4028dfe520f7bd4cc20f45116df3551495 | [
"MIT"
] | null | null | null | tests/test_autokey.py | Malmosmo/pycipher2 | 9460cd4028dfe520f7bd4cc20f45116df3551495 | [
"MIT"
] | null | null | null | tests/test_autokey.py | Malmosmo/pycipher2 | 9460cd4028dfe520f7bd4cc20f45116df3551495 | [
"MIT"
] | null | null | null | import string
import unittest
from pycipher2 import Autokey
class TestAutokey(unittest.TestCase):
def test_encrypt(self):
keys = ('german',
'ciphers')
plaintext = ('abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz',
'zyxwvutsrqponmlkjihgfedcbazyxwvutsrqpo... | 35.166667 | 77 | 0.666667 | 83 | 1,266 | 10.024096 | 0.421687 | 0.016827 | 0.033654 | 0.050481 | 0.728365 | 0.728365 | 0.728365 | 0.728365 | 0.728365 | 0.728365 | 0 | 0.001053 | 0.249605 | 1,266 | 35 | 78 | 36.171429 | 0.874737 | 0 | 0 | 0.538462 | 0 | 0 | 0.35545 | 0.328594 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.076923 | false | 0 | 0.115385 | 0 | 0.230769 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8b74ddf3d66da963cad3299142cb57050824b2c7 | 113 | py | Python | tests/hooks/hook_fails_throws_exception.py | future-haus/django-inbox | 02da1f825b6abc56a0c2c80d6e9b3616f3ef09b8 | [
"MIT"
] | null | null | null | tests/hooks/hook_fails_throws_exception.py | future-haus/django-inbox | 02da1f825b6abc56a0c2c80d6e9b3616f3ef09b8 | [
"MIT"
] | 14 | 2021-08-31T04:18:57.000Z | 2021-08-31T04:55:32.000Z | tests/hooks/hook_fails_throws_exception.py | future-haus/django-inbox | 02da1f825b6abc56a0c2c80d6e9b3616f3ef09b8 | [
"MIT"
] | null | null | null | from inbox.models import MessageLog
def can_send(message_log: MessageLog):
print(message_log.missing_prop)
| 18.833333 | 38 | 0.80531 | 16 | 113 | 5.4375 | 0.8125 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123894 | 113 | 5 | 39 | 22.6 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8b80f0e2016a1e49bd9b7fda71058c3b3b3d40a3 | 69 | py | Python | ex17/ex17-short.py | python-practice/lpthw | ad06dfe6a5d2351ee9216b365ff688db820cc035 | [
"MIT"
] | 1 | 2015-07-18T15:09:40.000Z | 2015-07-18T15:09:40.000Z | ex17/ex17-short.py | python-practice/lpthw | ad06dfe6a5d2351ee9216b365ff688db820cc035 | [
"MIT"
] | null | null | null | ex17/ex17-short.py | python-practice/lpthw | ad06dfe6a5d2351ee9216b365ff688db820cc035 | [
"MIT"
] | null | null | null | from sys import argv; open(argv[2], 'w').write(open(argv[1]).read())
| 34.5 | 68 | 0.652174 | 13 | 69 | 3.461538 | 0.769231 | 0.355556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 0.086957 | 69 | 1 | 69 | 69 | 0.68254 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 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 |
8bad9d8a84a23f79030603cd0594cced851505ec | 35,847 | py | Python | google/ads/google_ads/v6/proto/resources/invoice_pb2.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | null | null | null | google/ads/google_ads/v6/proto/resources/invoice_pb2.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | null | null | null | google/ads/google_ads/v6/proto/resources/invoice_pb2.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/googleads/v6/resources/invoice.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection ... | 68.28 | 4,078 | 0.791475 | 4,905 | 35,847 | 5.387768 | 0.059939 | 0.035721 | 0.061112 | 0.057517 | 0.882128 | 0.860446 | 0.801302 | 0.743293 | 0.676921 | 0.587884 | 0 | 0.045868 | 0.08832 | 35,847 | 524 | 4,079 | 68.410305 | 0.762767 | 0.011744 | 0 | 0.54491 | 1 | 0.00998 | 0.302507 | 0.23855 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017964 | 0 | 0.017964 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
478876a02730927b8f842ed597d12df6f2a9ea77 | 86 | py | Python | oscar/lib/python2.7/site-packages/faker/providers/file/en_US/__init__.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | oscar/lib/python2.7/site-packages/faker/providers/file/en_US/__init__.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | oscar/lib/python2.7/site-packages/faker/providers/file/en_US/__init__.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | from .. import Provider as FileProvider
class Provider(FileProvider):
pass
| 14.333333 | 40 | 0.709302 | 9 | 86 | 6.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 86 | 5 | 41 | 17.2 | 0.924242 | 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 |
47fb25c98afa345419453779ce60697f48034f75 | 270 | py | Python | Configuration/Geometry/python/GeometrySimHCAL_cff.py | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | Configuration/Geometry/python/GeometrySimHCAL_cff.py | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 7 | 2016-07-17T02:34:54.000Z | 2019-08-13T07:58:37.000Z | Configuration/Geometry/python/GeometrySimHCAL_cff.py | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | import FWCore.ParameterSet.Config as cms
# Ideal geometry, needed for simulation
from Geometry.CMSCommonData.hcalOnlyGeometryXML_cfi import *
from Geometry.HcalCommonData.hcalParameters_cfi import *
from Geometry.HcalCommonData.hcalDDDSimConstants_cfi import *
| 27 | 61 | 0.837037 | 29 | 270 | 7.689655 | 0.62069 | 0.161435 | 0.116592 | 0.188341 | 0.313901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114815 | 270 | 9 | 62 | 30 | 0.933054 | 0.137037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 |
9a15583af9b6913d3787c579a92dd134363cf35a | 66 | py | Python | DotfilesLibraryListeners/__init__.py | errose28/DotfilesLibraryListeners | 7115aee5a9d04131cecc5dbd30a9d09476cca4e2 | [
"Apache-2.0"
] | null | null | null | DotfilesLibraryListeners/__init__.py | errose28/DotfilesLibraryListeners | 7115aee5a9d04131cecc5dbd30a9d09476cca4e2 | [
"Apache-2.0"
] | null | null | null | DotfilesLibraryListeners/__init__.py | errose28/DotfilesLibraryListeners | 7115aee5a9d04131cecc5dbd30a9d09476cca4e2 | [
"Apache-2.0"
] | null | null | null | from . import NixInstallListener
from . import MacInstallListener
| 22 | 32 | 0.848485 | 6 | 66 | 9.333333 | 0.666667 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 66 | 2 | 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 | 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 |
9a48636f17d4808a556abca515d3a1796bc660a6 | 40 | py | Python | google_ngram_downloader/__init__.py | jalbertbowden/google-ngram-downloader | 165edbc48613800642d2aa86a1b164393d939300 | [
"MIT"
] | 1 | 2016-09-19T23:20:00.000Z | 2016-09-19T23:20:00.000Z | __init__.py | xtc283/Ngrams | aed66ac25fffac91ccec49e3800240b11a13666a | [
"MIT"
] | null | null | null | __init__.py | xtc283/Ngrams | aed66ac25fffac91ccec49e3800240b11a13666a | [
"MIT"
] | 1 | 2020-01-09T03:45:39.000Z | 2020-01-09T03:45:39.000Z | from .util import readline_google_store
| 20 | 39 | 0.875 | 6 | 40 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.916667 | 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 |
7bf3b50952f7873f0c373d12fa017f99e2776089 | 369 | py | Python | mak/libs/pyxx/cxx/grammar/expression/compound/unary/noexcept.py | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | null | null | null | mak/libs/pyxx/cxx/grammar/expression/compound/unary/noexcept.py | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | null | null | null | mak/libs/pyxx/cxx/grammar/expression/compound/unary/noexcept.py | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | null | null | null | """
noexcept-expression:
noexcept ( expression )
"""
import glrp
from .....parser import cxx11
from motor_typing import TYPE_CHECKING
@glrp.rule('noexcept-expression : "noexcept" "(" expression ")"')
@cxx11
def noexcept_expression_cxx11(self, p):
# type: (CxxParser, glrp.Production) -> None
pass
if TYP... | 19.421053 | 65 | 0.701897 | 42 | 369 | 6.047619 | 0.47619 | 0.354331 | 0.204724 | 0.283465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019417 | 0.162602 | 369 | 19 | 66 | 19.421053 | 0.802589 | 0.249322 | 0 | 0 | 0 | 0 | 0.188889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.111111 | 0.444444 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
d0096377c7d1b06ed341211c8eaee8245c446f8e | 20 | py | Python | tdml/framework/numpy/__init__.py | zechengz/tdml | af60d35b7b62259e414edaa0a45fb2d3563b0430 | [
"MIT"
] | 2 | 2020-08-08T00:36:23.000Z | 2021-06-21T19:51:30.000Z | tdml/framework/numpy/__init__.py | zechengz/tdml | af60d35b7b62259e414edaa0a45fb2d3563b0430 | [
"MIT"
] | null | null | null | tdml/framework/numpy/__init__.py | zechengz/tdml | af60d35b7b62259e414edaa0a45fb2d3563b0430 | [
"MIT"
] | 1 | 2020-10-06T19:40:41.000Z | 2020-10-06T19:40:41.000Z | from .array import * | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d03f97c82ce16f25c28833b87f7215b6929078ef | 164 | py | Python | src/api/v1/v1/email_config.py | Miguel-gh96/nfu_alfa | 102e0bdb18b1b36a419039c6e50c95a39b4f4ed7 | [
"MIT"
] | null | null | null | src/api/v1/v1/email_config.py | Miguel-gh96/nfu_alfa | 102e0bdb18b1b36a419039c6e50c95a39b4f4ed7 | [
"MIT"
] | null | null | null | src/api/v1/v1/email_config.py | Miguel-gh96/nfu_alfa | 102e0bdb18b1b36a419039c6e50c95a39b4f4ed7 | [
"MIT"
] | null | null | null | #GMAIL CONFIG
GMAIL_HOST = 'smtp.gmail.com'
GMAIL_HOST_USER = 'project.agora.supp@gmail.com'
GMAIL_HOST_PASSWORD = '123456jkl'
GMAIL_USE_TLS = True
GMAIL_PORT = 587 | 27.333333 | 48 | 0.792683 | 26 | 164 | 4.692308 | 0.615385 | 0.221311 | 0.213115 | 0.278689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060811 | 0.097561 | 164 | 6 | 49 | 27.333333 | 0.763514 | 0.073171 | 0 | 0 | 0 | 0 | 0.335526 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
d0cc9eb4e15226f1a98b9205b256d46258e5cf5b | 71 | py | Python | fastai2_audio/core/all.py | mikful/fastai2_audio | 4332c4b3ebc104e580724a5d5b490b061d509af4 | [
"Apache-2.0"
] | 65 | 2019-12-17T00:58:17.000Z | 2020-09-10T13:36:28.000Z | fastai2_audio/core/all.py | mikful/fastai2_audio | 4332c4b3ebc104e580724a5d5b490b061d509af4 | [
"Apache-2.0"
] | 45 | 2019-12-21T17:50:50.000Z | 2020-09-09T13:25:12.000Z | fastai2_audio/core/all.py | fastaudio/fastai2_audio | 5771f225abbcde1bb6478250beb286038282784e | [
"Apache-2.0"
] | 20 | 2019-12-17T19:01:41.000Z | 2020-08-27T21:28:45.000Z | from .signal import *
from .spectrogram import *
from .config import *
| 17.75 | 26 | 0.746479 | 9 | 71 | 5.888889 | 0.555556 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169014 | 71 | 3 | 27 | 23.666667 | 0.898305 | 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 |
d0d80e79255eaf2381738c23b41de0bf2561fcfe | 74 | py | Python | redmimicry/__init__.py | GitMirar/RedMimicryPythonScripting | 68b8acbeb4fcc2dc8a12336a941649f10245937c | [
"MIT"
] | 2 | 2020-07-19T04:35:17.000Z | 2021-01-08T14:09:41.000Z | redmimicry/__init__.py | GitMirar/RedMimicryPythonScripting | 68b8acbeb4fcc2dc8a12336a941649f10245937c | [
"MIT"
] | null | null | null | redmimicry/__init__.py | GitMirar/RedMimicryPythonScripting | 68b8acbeb4fcc2dc8a12336a941649f10245937c | [
"MIT"
] | null | null | null | from redmimicry.api import Api
from redmimicry.simple_bot import SimpleBot | 37 | 43 | 0.878378 | 11 | 74 | 5.818182 | 0.636364 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094595 | 74 | 2 | 43 | 37 | 0.955224 | 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 |
d0eb38317c0e889e95c6e2c326c0c4b585ac2a5e | 101 | py | Python | robo_ai/exception/invalid_credentials_error.py | robo-ai/roboai-python-sdk | 7e51951ea3d32f4bae2f8578151a2e36683d56d3 | [
"MIT"
] | null | null | null | robo_ai/exception/invalid_credentials_error.py | robo-ai/roboai-python-sdk | 7e51951ea3d32f4bae2f8578151a2e36683d56d3 | [
"MIT"
] | null | null | null | robo_ai/exception/invalid_credentials_error.py | robo-ai/roboai-python-sdk | 7e51951ea3d32f4bae2f8578151a2e36683d56d3 | [
"MIT"
] | null | null | null | from robo_ai.exception.api_error import ApiError
class InvalidCredentialsError(ApiError):
pass
| 16.833333 | 48 | 0.821782 | 12 | 101 | 6.75 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128713 | 101 | 5 | 49 | 20.2 | 0.920455 | 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 |
d0ecd6f00140ea047521c4643b745e90f139df65 | 142 | py | Python | python/pangram/pangram.py | dvl/exercism.io-solutions | 1eda73318bc0c568958df32f3b98d937f25a994f | [
"MIT"
] | 1 | 2016-02-01T02:23:28.000Z | 2016-02-01T02:23:28.000Z | python/pangram/pangram.py | dvl/exercism.io-solutions | 1eda73318bc0c568958df32f3b98d937f25a994f | [
"MIT"
] | null | null | null | python/pangram/pangram.py | dvl/exercism.io-solutions | 1eda73318bc0c568958df32f3b98d937f25a994f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import string
def is_pangram(sentence):
return all(char in sentence.lower() for char in string.ascii_lowercase) | 20.285714 | 75 | 0.711268 | 21 | 142 | 4.714286 | 0.809524 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008403 | 0.161972 | 142 | 7 | 75 | 20.285714 | 0.823529 | 0.147887 | 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 |
190e52146f1219353b3f28d3d9686afb50cb2f00 | 36 | py | Python | Framework/models/__init__.py | dercaft/2021ML_homeworks | 1d3f2751640bee7d3782ba3cf4146de9ee39fac8 | [
"MIT"
] | 2 | 2021-03-29T13:06:11.000Z | 2021-04-05T06:53:25.000Z | Framework/models/__init__.py | dercaft/2021ML_homeworks | 1d3f2751640bee7d3782ba3cf4146de9ee39fac8 | [
"MIT"
] | null | null | null | Framework/models/__init__.py | dercaft/2021ML_homeworks | 1d3f2751640bee7d3782ba3cf4146de9ee39fac8 | [
"MIT"
] | null | null | null | from .base import linear_regression
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5602d08c3e6dac514edd28dc862d8baa8d8f38f4 | 171 | py | Python | mavetools/convert/__init__.py | VariantEffect/mavetools | 4aac65ff6a6c30db2d2d5e92069a0dfc7729a757 | [
"BSD-3-Clause"
] | 1 | 2021-06-16T17:06:21.000Z | 2021-06-16T17:06:21.000Z | mavetools/convert/__init__.py | VariantEffect/mavetools | 4aac65ff6a6c30db2d2d5e92069a0dfc7729a757 | [
"BSD-3-Clause"
] | 1 | 2021-06-02T05:25:00.000Z | 2021-06-02T05:25:00.000Z | mavetools/convert/__init__.py | VariantEffect/mavetools | 4aac65ff6a6c30db2d2d5e92069a0dfc7729a757 | [
"BSD-3-Clause"
] | 1 | 2021-01-06T21:31:39.000Z | 2021-01-06T21:31:39.000Z | from mavetools.convert.convert import codon_sub_to_mavehgvs
from mavetools.convert.enrich import seqid_to_variant
__all__ = ["codon_sub_to_mavehgvs", "seqid_to_variant"]
| 34.2 | 59 | 0.853801 | 25 | 171 | 5.28 | 0.48 | 0.19697 | 0.30303 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076023 | 171 | 4 | 60 | 42.75 | 0.835443 | 0 | 0 | 0 | 0 | 0 | 0.216374 | 0.122807 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5605536bd088e8b94e3c5db1e8f5a07611bd6ee2 | 2,564 | py | Python | tests/utils.py | asamli/aiida-castep | 893113152460a632439c91652211381091566645 | [
"MIT"
] | 3 | 2021-09-02T16:02:47.000Z | 2021-12-17T22:38:20.000Z | tests/utils.py | asamli/aiida-castep | 893113152460a632439c91652211381091566645 | [
"MIT"
] | 16 | 2020-05-07T07:58:01.000Z | 2022-03-21T11:35:35.000Z | tests/utils.py | asamli/aiida-castep | 893113152460a632439c91652211381091566645 | [
"MIT"
] | 3 | 2020-05-25T13:05:51.000Z | 2021-12-17T22:39:12.000Z | """
Utility functions
"""
import os
def get_sto_structure():
"""Return a STO structure"""
from aiida.plugins import DataFactory
StructureData = DataFactory('structure')
a = 3.905
cell = ((a, 0., 0.), (0., a, 0.), (0., 0., a))
s = StructureData(cell=cell)
s.append_atom(position=(0., 0., 0... | 30.891566 | 72 | 0.562402 | 393 | 2,564 | 3.572519 | 0.152672 | 0.038462 | 0.133191 | 0.230057 | 0.777778 | 0.768519 | 0.768519 | 0.752849 | 0.752849 | 0.705128 | 0 | 0.051463 | 0.226989 | 2,564 | 82 | 73 | 31.268293 | 0.656912 | 0.063963 | 0 | 0.666667 | 0 | 0 | 0.036333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.087719 | false | 0 | 0.087719 | 0 | 0.263158 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4bd810650612c1b477437277c8e56fac5d62d3ce | 2,715 | py | Python | test/test_shellsnmp_Poller.py | mpenning/shellsnmp | 279c872b71e57b0cbb588932e53972183ff8aadb | [
"MIT"
] | 1 | 2020-02-04T04:21:59.000Z | 2020-02-04T04:21:59.000Z | test/test_shellsnmp_Poller.py | mpenning/shellsnmp | 279c872b71e57b0cbb588932e53972183ff8aadb | [
"MIT"
] | null | null | null | test/test_shellsnmp_Poller.py | mpenning/shellsnmp | 279c872b71e57b0cbb588932e53972183ff8aadb | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import sys
import re
import os
THIS_DIR = os.path.dirname(__file__)
sys.path.insert(0, os.path.join(os.path.abspath(THIS_DIR), "../shellsnmp/"))
from shellsnmp.Poller import SNMP
import pytest
def test_Poller_SNMP__parse_str_01(netsnmp_Oxsq_str1):
snmp = SNMP(community='public', host='10.0.... | 41.769231 | 92 | 0.737753 | 395 | 2,715 | 4.751899 | 0.162025 | 0.076718 | 0.055408 | 0.072456 | 0.859883 | 0.837507 | 0.824188 | 0.817794 | 0.79968 | 0.79968 | 0 | 0.089603 | 0.128545 | 2,715 | 64 | 93 | 42.421875 | 0.703719 | 0.074401 | 0 | 0.510638 | 0 | 0 | 0.147247 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 1 | 0.170213 | false | 0 | 0.106383 | 0 | 0.276596 | 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 |
4bf0001e8cc1a5a4d59c14ff7579ce2ef95e72e6 | 97 | py | Python | mc_commands/management/commands/helpers/_freeze.py | mc706/django-mc-commands | 2f9cf97c77087c6287a43c31df74567a07b32782 | [
"MIT"
] | null | null | null | mc_commands/management/commands/helpers/_freeze.py | mc706/django-mc-commands | 2f9cf97c77087c6287a43c31df74567a07b32782 | [
"MIT"
] | 1 | 2020-05-30T08:35:43.000Z | 2020-05-30T08:35:43.000Z | mc_commands/management/commands/helpers/_freeze.py | mc706/django-mc-commands | 2f9cf97c77087c6287a43c31df74567a07b32782 | [
"MIT"
] | null | null | null | import os
from fabric.api import local
def freeze():
local("pip freeze > requirements.txt")
| 16.166667 | 42 | 0.721649 | 14 | 97 | 5 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175258 | 97 | 5 | 43 | 19.4 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.298969 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ef0141f929167cadcf5c7843d4c4a83f57765a57 | 3,210 | py | Python | tests/test_poker.py | anselmomendes/Poker-Hand-Value-Ratings | 5fba451bddff83b7dec7d5211d5cd29ab66a5bb2 | [
"MIT"
] | 1 | 2021-11-20T02:46:02.000Z | 2021-11-20T02:46:02.000Z | tests/test_poker.py | anselmomendes/Poker-Hand-Value-Ratings | 5fba451bddff83b7dec7d5211d5cd29ab66a5bb2 | [
"MIT"
] | null | null | null | tests/test_poker.py | anselmomendes/Poker-Hand-Value-Ratings | 5fba451bddff83b7dec7d5211d5cd29ab66a5bb2 | [
"MIT"
] | null | null | null | import sys,os
sys.path.append(os.getcwd())
import unittest
from settings.result import Result
from core.poker_hand import PokerHand
#Unit test using Unittest which checks which hand is the strongest
class TestPoker(unittest.TestCase):
def test_poker_hand(self):
self.assertTrue(PokerH... | 72.954545 | 110 | 0.66947 | 514 | 3,210 | 4.108949 | 0.142023 | 0.172348 | 0.283144 | 0.217803 | 0.785038 | 0.733902 | 0.715909 | 0.698864 | 0.698864 | 0.698864 | 0 | 0.029805 | 0.184735 | 3,210 | 43 | 111 | 74.651163 | 0.777226 | 0.020249 | 0 | 0 | 0 | 0 | 0.237496 | 0 | 0 | 0 | 0 | 0 | 0.742857 | 1 | 0.028571 | false | 0 | 0.114286 | 0 | 0.171429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 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 |
ef2912ac6587d8d99bae5677f0c0ebdd718c5c99 | 263 | py | Python | __Courses__/Python - Introduction to Python Programming - Udacity/C5. Scripting/{Q}[The Standard Library] Compute an Exponent.py | JUD210/Study-Note | 2add9db3f11d99370f49878f0c19e9caa60d2d02 | [
"MIT"
] | null | null | null | __Courses__/Python - Introduction to Python Programming - Udacity/C5. Scripting/{Q}[The Standard Library] Compute an Exponent.py | JUD210/Study-Note | 2add9db3f11d99370f49878f0c19e9caa60d2d02 | [
"MIT"
] | null | null | null | __Courses__/Python - Introduction to Python Programming - Udacity/C5. Scripting/{Q}[The Standard Library] Compute an Exponent.py | JUD210/Study-Note | 2add9db3f11d99370f49878f0c19e9caa60d2d02 | [
"MIT"
] | null | null | null | """ Quiz: Compute an Exponent
It's your turn to import and use the math module. Use the math module to calculate e to the power of 3. print the answer.
Refer to the math module's documentation to find the function you need!
"""
import math
print(math.exp(3))
| 23.909091 | 121 | 0.741445 | 49 | 263 | 3.979592 | 0.591837 | 0.107692 | 0.2 | 0.164103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00939 | 0.190114 | 263 | 10 | 122 | 26.3 | 0.906103 | 0.840304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
ef34efbb390db47c48ead8640c21bd8b21ad5e07 | 158 | py | Python | 9term/fipt/P2PLending/lending/templatetags/extra_tags.py | nik-sergeson/bsuir-informatics-labs | 14805fb83b8e2324580b6253158565068595e804 | [
"Apache-2.0"
] | null | null | null | 9term/fipt/P2PLending/lending/templatetags/extra_tags.py | nik-sergeson/bsuir-informatics-labs | 14805fb83b8e2324580b6253158565068595e804 | [
"Apache-2.0"
] | null | null | null | 9term/fipt/P2PLending/lending/templatetags/extra_tags.py | nik-sergeson/bsuir-informatics-labs | 14805fb83b8e2324580b6253158565068595e804 | [
"Apache-2.0"
] | null | null | null | from django import template
register = template.Library()
@register.filter
def py_format(value, format_str):
return "{0:{1}}".format(value, format_str)
| 19.75 | 46 | 0.740506 | 22 | 158 | 5.181818 | 0.681818 | 0.192982 | 0.298246 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.126582 | 158 | 7 | 47 | 22.571429 | 0.811594 | 0 | 0 | 0 | 0 | 0 | 0.044304 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
ef3cb8ee4f044ba860eab61f5fba7d49ffb7842d | 3,741 | py | Python | playttt.py | Jacob-Dentes/tictactoe | 47bd28f1c26815009c53706e0f452345ec080116 | [
"MIT"
] | null | null | null | playttt.py | Jacob-Dentes/tictactoe | 47bd28f1c26815009c53706e0f452345ec080116 | [
"MIT"
] | null | null | null | playttt.py | Jacob-Dentes/tictactoe | 47bd28f1c26815009c53706e0f452345ec080116 | [
"MIT"
] | null | null | null | """
A simple script for playing tic tac toe.
This script uses the tictactoe module to allow a player to play tic tac toe
through the command line.
Author: Jacob Dentes
Date: 6 September 2021
"""
import tictactoe
def main():
running = True
while running:
p_count = -1
while True:
pr... | 37.41 | 75 | 0.405774 | 406 | 3,741 | 3.694581 | 0.206897 | 0.04 | 0.085333 | 0.058667 | 0.784667 | 0.778667 | 0.778667 | 0.778667 | 0.778667 | 0.778667 | 0 | 0.018315 | 0.489174 | 3,741 | 99 | 76 | 37.787879 | 0.766614 | 0.050254 | 0 | 0.784091 | 0 | 0 | 0.260367 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011364 | false | 0 | 0.011364 | 0 | 0.022727 | 0.181818 | 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 |
ef415616eeaea95ccbcc84ac6692a372010187d5 | 32 | py | Python | app/models/__init__.py | reaper47/weather-django | 5e2ef9afccb3f3c4289c071e5f5ff40dd931c182 | [
"MIT"
] | null | null | null | app/models/__init__.py | reaper47/weather-django | 5e2ef9afccb3f3c4289c071e5f5ff40dd931c182 | [
"MIT"
] | 3 | 2020-08-02T11:16:59.000Z | 2022-03-08T10:31:54.000Z | app/models/__init__.py | reaper47/weather-django | 5e2ef9afccb3f3c4289c071e5f5ff40dd931c182 | [
"MIT"
] | null | null | null | from .sampling import * # noqa
| 16 | 31 | 0.6875 | 4 | 32 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 32 | 1 | 32 | 32 | 0.88 | 0.125 | 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 |
ef692e8899d19ab5c8f0b7f636b94d59c8d04dea | 8,020 | py | Python | tests/test_get_options.py | sarathkumarsivan/pygithubctl | f99e5a5a4c35c5d877c617435965c468a9b4f6c7 | [
"MIT"
] | null | null | null | tests/test_get_options.py | sarathkumarsivan/pygithubctl | f99e5a5a4c35c5d877c617435965c468a9b4f6c7 | [
"MIT"
] | null | null | null | tests/test_get_options.py | sarathkumarsivan/pygithubctl | f99e5a5a4c35c5d877c617435965c468a9b4f6c7 | [
"MIT"
] | 1 | 2020-02-29T02:50:13.000Z | 2020-02-29T02:50:13.000Z | #!/usr/bin/env python
# Copyright (c) 2019 Sarath Kumar Sivan, https://github.com/sarathkumarsivan
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without li... | 43.825137 | 79 | 0.575436 | 784 | 8,020 | 5.755102 | 0.184949 | 0.05984 | 0.086436 | 0.066489 | 0.771498 | 0.771498 | 0.771498 | 0.771498 | 0.771498 | 0.771498 | 0 | 0.001483 | 0.327182 | 8,020 | 183 | 80 | 43.825137 | 0.834692 | 0.139277 | 0 | 0.934641 | 0 | 0 | 0.09907 | 0 | 0 | 0 | 0 | 0 | 0.392157 | 1 | 0.03268 | false | 0 | 0.013072 | 0 | 0.052288 | 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 |
3294e40969e0d48bb96960af6eb911aaa471d6c1 | 96 | py | Python | venv/lib/python3.8/site-packages/pip/_vendor/pep517/compat.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pip/_vendor/pep517/compat.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_vendor/pep517/compat.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/33/ee/6c/e15369f2b8f24fbe9967f89b9cf0f8e03615cd2425c821076b28ed0cfc | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
32b140c381b7515ed5308a29d175bce9749b7ea5 | 524 | py | Python | InvasiveModelsFactory.py | RickDYang/InvasiveSpeciesK | 97efd57f10151c8a1703242117fdb68d41049d37 | [
"Apache-2.0"
] | null | null | null | InvasiveModelsFactory.py | RickDYang/InvasiveSpeciesK | 97efd57f10151c8a1703242117fdb68d41049d37 | [
"Apache-2.0"
] | null | null | null | InvasiveModelsFactory.py | RickDYang/InvasiveSpeciesK | 97efd57f10151c8a1703242117fdb68d41049d37 | [
"Apache-2.0"
] | null | null | null | from Models.VggFullPatchesModel import *
from Models.VggFullSampleModel import *
from Models.ResNet50PatchesModel import *
from Models.InvasiveCombineModel import *
from Models.VggNoTopSampleModel import *
from Models.VggNotopPatchesModel import *
def getInvasiveModel():
return VggNotopPatchesModel()
#return V... | 37.428571 | 81 | 0.805344 | 40 | 524 | 10.55 | 0.3 | 0.14218 | 0.189573 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013015 | 0.120229 | 524 | 14 | 81 | 37.428571 | 0.902386 | 0.358779 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0 | 0.75 | 0.125 | 1 | 0 | 0 | 0 | 1 | null | 0 | 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 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
32b61d2d2736670b13984da2c527bd60c39d1abf | 240 | py | Python | model/loss.py | JasonLeeGHub/mytorchtemp | d2bfb45d6e1198927eca12ea4da04e4004f6146b | [
"MIT"
] | null | null | null | model/loss.py | JasonLeeGHub/mytorchtemp | d2bfb45d6e1198927eca12ea4da04e4004f6146b | [
"MIT"
] | null | null | null | model/loss.py | JasonLeeGHub/mytorchtemp | d2bfb45d6e1198927eca12ea4da04e4004f6146b | [
"MIT"
] | null | null | null | import torch.nn.functional as F
import torch.nn as nn
def nll_loss(output, target):
return F.nll_loss(output, target)
def cross_entropy_loss(output, target):
CE = nn.CrossEntropyLoss(reduction='mean')
return CE(output,target)
| 24 | 46 | 0.745833 | 37 | 240 | 4.72973 | 0.486486 | 0.274286 | 0.274286 | 0.217143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 240 | 9 | 47 | 26.666667 | 0.857843 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
32c2be26c87a4c5ac90c6e938a2d457eac6f59aa | 161 | py | Python | baselines/methods/mobananas/__init__.py | serizba/multi-obj-baselines | b5c97b8009ed32f0eb9a08454cf0d4c6620a2286 | [
"Apache-2.0"
] | null | null | null | baselines/methods/mobananas/__init__.py | serizba/multi-obj-baselines | b5c97b8009ed32f0eb9a08454cf0d4c6620a2286 | [
"Apache-2.0"
] | null | null | null | baselines/methods/mobananas/__init__.py | serizba/multi-obj-baselines | b5c97b8009ed32f0eb9a08454cf0d4c6620a2286 | [
"Apache-2.0"
] | null | null | null | from .mobananas import get_MOBANANAS
from .moshbananas import get_MOSHBANANAS
from .moshbananas import BANANAS_SH
from .neural_predictor import Neural_Predictor
| 32.2 | 46 | 0.875776 | 21 | 161 | 6.47619 | 0.428571 | 0.132353 | 0.308824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099379 | 161 | 4 | 47 | 40.25 | 0.937931 | 0 | 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 |
08850118d7cfa1b872542b98a0b3c4f06a6d9abe | 317 | py | Python | activations.py | mpslxz/theano_ops | 1cf2ed01f7f3bb2fe393717dd4014d94383a022d | [
"MIT"
] | 1 | 2020-12-11T21:46:24.000Z | 2020-12-11T21:46:24.000Z | activations.py | mpslxz/theano_ops | 1cf2ed01f7f3bb2fe393717dd4014d94383a022d | [
"MIT"
] | null | null | null | activations.py | mpslxz/theano_ops | 1cf2ed01f7f3bb2fe393717dd4014d94383a022d | [
"MIT"
] | null | null | null | import theano.tensor as T
def relu(x):
return T.maximum(0.0, x)
def tanh(x):
return T.tanh(x)
def elu(x):
return T.nnet.elu(x)
def sigmoid(x):
return T.nnet.sigmoid(x)
def softmax(x):
return T.nnet.softmax(x)
def softplus(x):
return T.nnet.softplus(x)
def linear(x):
return x
| 10.931034 | 29 | 0.621451 | 58 | 317 | 3.396552 | 0.310345 | 0.248731 | 0.243655 | 0.243655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00823 | 0.233438 | 317 | 28 | 30 | 11.321429 | 0.802469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.466667 | false | 0 | 0.066667 | 0.466667 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
08863934784dca2f6397c20372d7ba69262c5454 | 123 | py | Python | ore/__init__.py | imironhead/ml_dwarf | 880212520894940440ac62e63671e024a5a8fa45 | [
"MIT"
] | null | null | null | ore/__init__.py | imironhead/ml_dwarf | 880212520894940440ac62e63671e024a5a8fa45 | [
"MIT"
] | null | null | null | ore/__init__.py | imironhead/ml_dwarf | 880212520894940440ac62e63671e024a5a8fa45 | [
"MIT"
] | null | null | null | """
"""
from datasets import *
from deterministic_reader import DeterministicReader
from random_reader import RandomReader
| 20.5 | 52 | 0.829268 | 13 | 123 | 7.692308 | 0.615385 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113821 | 123 | 5 | 53 | 24.6 | 0.917431 | 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 |
08a5e36730c8891c57bc7140e4d4b29c70fe1e03 | 4,704 | py | Python | tests/results_reproduction/test_xlnet_lexsub.py | myrachins/LexSubGen | 5fe27901fa96e51c94280d0938135907a2e5fd80 | [
"Apache-2.0"
] | 32 | 2020-11-09T04:55:30.000Z | 2022-02-20T10:10:19.000Z | tests/results_reproduction/test_xlnet_lexsub.py | myrachins/LexSubGen | 5fe27901fa96e51c94280d0938135907a2e5fd80 | [
"Apache-2.0"
] | 3 | 2021-05-31T08:55:27.000Z | 2021-11-27T18:38:14.000Z | tests/results_reproduction/test_xlnet_lexsub.py | myrachins/LexSubGen | 5fe27901fa96e51c94280d0938135907a2e5fd80 | [
"Apache-2.0"
] | 9 | 2020-11-28T11:19:35.000Z | 2022-02-20T12:29:15.000Z | import pytest
from pathlib import Path
from lexsubgen.evaluations.lexsub import LexSubEvaluation
from lexsubgen import SubstituteGenerator
from lexsubgen.datasets.base_reader import DatasetReader
CONFIGS_PATH = Path(__file__).resolve().parent.parent.parent / "configs"
@pytest.fixture
def xlnet_subst_generator():
... | 39.2 | 88 | 0.711735 | 576 | 4,704 | 5.59375 | 0.154514 | 0.05959 | 0.055866 | 0.078212 | 0.874612 | 0.8563 | 0.821229 | 0.821229 | 0.726878 | 0.726878 | 0 | 0.022773 | 0.159864 | 4,704 | 119 | 89 | 39.529412 | 0.79251 | 0.309311 | 0 | 0.387097 | 0 | 0 | 0.108257 | 0 | 0 | 0 | 0 | 0 | 0.258065 | 1 | 0.129032 | false | 0 | 0.080645 | 0.064516 | 0.274194 | 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 |
08d7f5ca9a7722e2c7d53f9f250b4a22d8b34e5e | 53 | py | Python | dai10shou/code10-2.py | naoshige314/workshop01 | 5c7be08f99eb164b7901628de26cecfd04fa926f | [
"MIT"
] | null | null | null | dai10shou/code10-2.py | naoshige314/workshop01 | 5c7be08f99eb164b7901628de26cecfd04fa926f | [
"MIT"
] | null | null | null | dai10shou/code10-2.py | naoshige314/workshop01 | 5c7be08f99eb164b7901628de26cecfd04fa926f | [
"MIT"
] | 2 | 2021-06-10T11:53:02.000Z | 2021-06-20T15:43:39.000Z | # 1行目は N M
5 6
# 2行目以降に ai bi
0 1
1 3
1 4
2 3
2 4
3 4 | 5.888889 | 14 | 0.566038 | 20 | 53 | 1.5 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.396226 | 53 | 9 | 15 | 5.888889 | 0.4375 | 0.396226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
08e3d9b257cb19e1bf6f505399b22171799b0c48 | 7,885 | py | Python | models/coattention/parallel_coattention.py | Minys233/GCN-BMP | 21b64a3c8cc9bc33718ae09c65aa917e575132eb | [
"MIT"
] | null | null | null | models/coattention/parallel_coattention.py | Minys233/GCN-BMP | 21b64a3c8cc9bc33718ae09c65aa917e575132eb | [
"MIT"
] | null | null | null | models/coattention/parallel_coattention.py | Minys233/GCN-BMP | 21b64a3c8cc9bc33718ae09c65aa917e575132eb | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 5/5/2019 6:43 PM
# @Author : chinshin
# @FileName: parallel_coattention.py
import chainer
from chainer import functions as F
from chainer import functions
from chainer import links
from chainer_chemistry.links import GraphLinear
class ParallelCoatt... | 41.941489 | 100 | 0.610907 | 1,148 | 7,885 | 3.917247 | 0.122822 | 0.06938 | 0.011563 | 0.03469 | 0.807427 | 0.784745 | 0.741161 | 0.708028 | 0.708028 | 0.674672 | 0 | 0.027084 | 0.283576 | 7,885 | 187 | 101 | 42.165775 | 0.768986 | 0.371211 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0875 | false | 0 | 0.0625 | 0 | 0.2375 | 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 |
3ee5687a710c36c3e6d1943337c5f37863a37542 | 190 | py | Python | rpxdock/motif/__init__.py | willsheffler/tcdock | c7b8614221f4a94750054bfe5dfb12298e8d05b8 | [
"Apache-2.0"
] | 6 | 2020-09-08T09:31:52.000Z | 2022-03-29T09:53:30.000Z | rpxdock/motif/__init__.py | willsheffler/tcdock | c7b8614221f4a94750054bfe5dfb12298e8d05b8 | [
"Apache-2.0"
] | 9 | 2020-04-13T21:11:50.000Z | 2022-03-09T00:57:37.000Z | rpxdock/motif/__init__.py | willsheffler/tcdock | c7b8614221f4a94750054bfe5dfb12298e8d05b8 | [
"Apache-2.0"
] | 3 | 2020-04-13T20:04:20.000Z | 2021-12-16T22:43:50.000Z | from cppimport import import_hook
from ._motif import jagged_bin, logsum_bins, marginal_max_score
from .frames import *
from .pairdat import *
from .pairscore import *
from .rpxgen import *
| 27.142857 | 63 | 0.805263 | 27 | 190 | 5.444444 | 0.592593 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136842 | 190 | 6 | 64 | 31.666667 | 0.896341 | 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 |
f5b3759cc5273bb77ba974e64b609a4f2a7d0309 | 5,019 | py | Python | translogger/tests/test_logTransActions.py | tvdsluijs/translogger | 20d43c7607e631ba91d83b4497477bd04502edfa | [
"MIT"
] | null | null | null | translogger/tests/test_logTransActions.py | tvdsluijs/translogger | 20d43c7607e631ba91d83b4497477bd04502edfa | [
"MIT"
] | null | null | null | translogger/tests/test_logTransActions.py | tvdsluijs/translogger | 20d43c7607e631ba91d83b4497477bd04502edfa | [
"MIT"
] | null | null | null | from time import strftime
from datetime import datetime
import os
from unittest import TestCase
from translogger import LogTransActions
class TestLogTransActions(TestCase):
def test_create_filename(self):
start_file_name = "theos_test"
file = f"{start_file_name}.log"
lta = LogTransAction... | 39.210938 | 111 | 0.679617 | 687 | 5,019 | 4.605531 | 0.116448 | 0.099558 | 0.143805 | 0.128003 | 0.821113 | 0.773072 | 0.737042 | 0.730405 | 0.730405 | 0.705436 | 0 | 0 | 0.220562 | 5,019 | 127 | 112 | 39.519685 | 0.808793 | 0.00777 | 0 | 0.479167 | 0 | 0 | 0.121133 | 0.049016 | 0 | 0 | 0 | 0 | 0.15625 | 1 | 0.15625 | false | 0 | 0.052083 | 0 | 0.21875 | 0.010417 | 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 |
f5e3ad0a25219f589f3400c580723bd2c4b0cbf9 | 149 | py | Python | src/kayako/objects/news/__init__.py | iXsystems/kayako-python-api-library | 5c43ae331904eac1a66301e2f40d29a4e52fd49d | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | src/kayako/objects/news/__init__.py | iXsystems/kayako-python-api-library | 5c43ae331904eac1a66301e2f40d29a4e52fd49d | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | src/kayako/objects/news/__init__.py | iXsystems/kayako-python-api-library | 5c43ae331904eac1a66301e2f40d29a4e52fd49d | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | from news_item import NewsItem
from news_subscriber import NewsSubscriber
from news_category import NewsCategory
from news_comment import NewsComment | 37.25 | 42 | 0.899329 | 20 | 149 | 6.5 | 0.55 | 0.246154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100671 | 149 | 4 | 43 | 37.25 | 0.970149 | 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 |
de667bf748e04aaeb3d80d76bacbb31ec931bae0 | 428 | py | Python | probability/distributions/functions/function_of_two.py | vahndi/probability | 6ddf88e6f3d947c96b879e426030f60eb5cb2d59 | [
"MIT"
] | 2 | 2020-02-21T00:47:03.000Z | 2020-09-22T19:00:48.000Z | probability/distributions/functions/function_of_two.py | vahndi/probability | 6ddf88e6f3d947c96b879e426030f60eb5cb2d59 | [
"MIT"
] | 52 | 2020-01-16T16:05:08.000Z | 2022-02-24T15:10:10.000Z | probability/distributions/functions/function_of_two.py | vahndi/probability | 6ddf88e6f3d947c96b879e426030f60eb5cb2d59 | [
"MIT"
] | null | null | null | class FunctionOfTwo(object):
"""
A function of 2 distributions that can be evaluated later at specific
values.
"""
def __init__(self, distribution_1, distribution_2, method):
self._distribution_1 = distribution_1
self._distribution_2 = distribution_2
self.method = method
... | 28.533333 | 80 | 0.686916 | 51 | 428 | 5.45098 | 0.470588 | 0.28777 | 0.183453 | 0.208633 | 0.215827 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02719 | 0.226636 | 428 | 14 | 81 | 30.571429 | 0.812689 | 0.179907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
de85e1ea295a8b52761ad6e668f0deda609beb19 | 231,159 | py | Python | .tests/test_surrogates_overview.py | fat-forensics/resources | 50cba91d6a0bc16cc3370eccf905d9f95a49d19b | [
"BSD-3-Clause"
] | null | null | null | .tests/test_surrogates_overview.py | fat-forensics/resources | 50cba91d6a0bc16cc3370eccf905d9f95a49d19b | [
"BSD-3-Clause"
] | null | null | null | .tests/test_surrogates_overview.py | fat-forensics/resources | 50cba91d6a0bc16cc3370eccf905d9f95a49d19b | [
"BSD-3-Clause"
] | null | null | null | """
Test Surrogates Overview
========================
"""
# Author: Kacper Sokol <k.sokol@bristol.ac.uk>
# License: new BSD
from PIL import Image
import numpy as np
import scripts.surrogates_overview as exo
import scripts.image_classifier as imgclf
import sklearn.datasets
import sklearn.linear_model
SAMPLES = 10
BA... | 71.323357 | 79 | 0.687462 | 26,984 | 231,159 | 5.884265 | 0.054514 | 0.12516 | 0.142838 | 0.007652 | 0.935691 | 0.899604 | 0.898722 | 0.887379 | 0 | 0 | 0 | 0.547652 | 0.118542 | 231,159 | 3,240 | 80 | 71.34537 | 0.231614 | 0.001895 | 0 | 0.013754 | 0 | 0 | 0.178898 | 0.000143 | 0 | 0 | 0 | 0 | 0.002501 | 1 | 0.000625 | false | 0 | 0.001876 | 0 | 0.002501 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 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 |
de91d5c67066ff2839f00f39a5b726fc44f1c956 | 2,370 | py | Python | Font.py | roshanpoduval1998/PyNote | c5cae92496dc4680c2653a5d259479673dc1299c | [
"Unlicense"
] | null | null | null | Font.py | roshanpoduval1998/PyNote | c5cae92496dc4680c2653a5d259479673dc1299c | [
"Unlicense"
] | null | null | null | Font.py | roshanpoduval1998/PyNote | c5cae92496dc4680c2653a5d259479673dc1299c | [
"Unlicense"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
import tkinter as tk
from tkinter import *
def Font_size(Name,Text):
x_val = Text
def _8():
return x_val.config(font=("segoe ui",8))
def _9():
return x_val.config(font=("segoe ui",9))
def _10():
return x_val.config(font=("seg... | 26.043956 | 48 | 0.691561 | 380 | 2,370 | 4 | 0.115789 | 0.178947 | 0.224342 | 0.168421 | 0.723684 | 0.708553 | 0.708553 | 0.424342 | 0.424342 | 0 | 0 | 0.060277 | 0.145992 | 2,370 | 91 | 49 | 26.043956 | 0.690711 | 0.008861 | 0 | 0.214286 | 0 | 0 | 0.069973 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.242857 | false | 0 | 0.042857 | 0.228571 | 0.528571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
dea7642a658c92f4cdc535a8c733fc932f743fc8 | 163 | py | Python | models/telegram/__init__.py | bhardwajRahul/pycryptobot | 8bf003b692471fa4e21b3848818dc9646d367130 | [
"Apache-2.0"
] | null | null | null | models/telegram/__init__.py | bhardwajRahul/pycryptobot | 8bf003b692471fa4e21b3848818dc9646d367130 | [
"Apache-2.0"
] | null | null | null | models/telegram/__init__.py | bhardwajRahul/pycryptobot | 8bf003b692471fa4e21b3848818dc9646d367130 | [
"Apache-2.0"
] | 1 | 2021-12-17T08:49:09.000Z | 2021-12-17T08:49:09.000Z | from .handler import *
from .helper import *
from .control import *
from .actions import *
from .config import *
from .callbacktags import *
from .Wrapper import * | 23.285714 | 27 | 0.748466 | 21 | 163 | 5.809524 | 0.428571 | 0.491803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165644 | 163 | 7 | 28 | 23.285714 | 0.897059 | 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 |
deedcb07ea7a1db986efc254b2677b3a8a74d400 | 30,118 | py | Python | Python_3/extlib.py | waynegm/OpendTect-External-Attributes | 7caaf69ee71cc3375fcd9e4d656c669ca01dc469 | [
"MIT"
] | 22 | 2015-09-24T10:41:05.000Z | 2022-01-02T21:43:48.000Z | Python_3/extlib.py | waynegm/OpendTect-External-Attributes | 7caaf69ee71cc3375fcd9e4d656c669ca01dc469 | [
"MIT"
] | 5 | 2016-11-02T10:30:56.000Z | 2018-07-02T12:54:28.000Z | Python_3/extlib.py | waynegm/OpendTect-External-Attributes | 7caaf69ee71cc3375fcd9e4d656c669ca01dc469 | [
"MIT"
] | 8 | 2017-03-18T17:17:44.000Z | 2021-04-02T09:43:35.000Z | #
# Python External Attribute Library
#
# Copyright (C) 2016 Wayne Mogg All rights reserved.
#
# This file may be used under the terms of the MIT License
# (https://github.com/waynegm/OpendTect-External-Attributes/blob/master/LICENSE)
#
# Author: Wayne Mogg
# Date: March, 2016
# Homepage: http://waynegm.github.io/O... | 39.838624 | 117 | 0.703267 | 4,868 | 30,118 | 4.335456 | 0.074569 | 0.021322 | 0.020848 | 0.006539 | 0.833357 | 0.82227 | 0.812935 | 0.79583 | 0.792798 | 0.788865 | 0 | 0.038154 | 0.199382 | 30,118 | 755 | 118 | 39.891391 | 0.8371 | 0.722458 | 0 | 0.541667 | 0 | 0 | 0.016772 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.098485 | false | 0 | 0.015152 | 0 | 0.242424 | 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 |
defaa27db4ff0ac4462ae83b36e3df393e9399fd | 36 | py | Python | lib_dsp/cordic/__init__.py | PyGears/lib-dsp | a4c80882f5188799233dc9108f91faa4bab0ac57 | [
"MIT"
] | null | null | null | lib_dsp/cordic/__init__.py | PyGears/lib-dsp | a4c80882f5188799233dc9108f91faa4bab0ac57 | [
"MIT"
] | null | null | null | lib_dsp/cordic/__init__.py | PyGears/lib-dsp | a4c80882f5188799233dc9108f91faa4bab0ac57 | [
"MIT"
] | 3 | 2022-03-18T17:17:51.000Z | 2022-03-19T13:47:50.000Z | from .cordic.design.cordic import *
| 18 | 35 | 0.777778 | 5 | 36 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 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 |
7229b4cf4e1bf131d2d9d313615ae75690d7ecad | 108 | py | Python | torchfcn/__init__.py | linesd/pytorch-fcn | 5907fb7765bdcc0cff8b2819d6548a277f2e2231 | [
"MIT"
] | 1,736 | 2017-03-03T04:06:34.000Z | 2022-03-31T16:17:30.000Z | torchfcn/__init__.py | linesd/pytorch-fcn | 5907fb7765bdcc0cff8b2819d6548a277f2e2231 | [
"MIT"
] | 151 | 2017-02-21T03:06:49.000Z | 2022-03-27T13:47:52.000Z | torchfcn/__init__.py | linesd/pytorch-fcn | 5907fb7765bdcc0cff8b2819d6548a277f2e2231 | [
"MIT"
] | 577 | 2017-03-14T01:12:13.000Z | 2022-03-31T12:15:21.000Z | # flake8: noqa
from . import datasets
from . import models
from . import utils
from .trainer import Trainer
| 18 | 28 | 0.768519 | 15 | 108 | 5.533333 | 0.533333 | 0.361446 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.175926 | 108 | 5 | 29 | 21.6 | 0.921348 | 0.111111 | 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 |
a0da1615a874dfa751ca90d322cb3a5ecd11b8d9 | 26 | py | Python | h5Nastran/input/__init__.py | mjredmond/mrNastran | 4fa57c16e93622ad8be3fb2ed221415ed25c5635 | [
"BSD-3-Clause"
] | 3 | 2017-12-02T05:13:05.000Z | 2017-12-07T04:34:13.000Z | h5Nastran/input/__init__.py | mjredmond/mrNastran | 4fa57c16e93622ad8be3fb2ed221415ed25c5635 | [
"BSD-3-Clause"
] | null | null | null | h5Nastran/input/__init__.py | mjredmond/mrNastran | 4fa57c16e93622ad8be3fb2ed221415ed25c5635 | [
"BSD-3-Clause"
] | null | null | null | from .input import Input
| 13 | 25 | 0.769231 | 4 | 26 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 1 | 26 | 26 | 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 |
9d3960ae0042ef544beaf3ab10850f6d1343ac19 | 97 | py | Python | paysage/metrics/__init__.py | fyumoto/RBMs | 57a3b2a346cea940bd83f0174c741e8760594112 | [
"MIT"
] | 124 | 2017-02-01T23:52:58.000Z | 2022-03-03T11:51:15.000Z | paysage/metrics/__init__.py | fyumoto/RBMs | 57a3b2a346cea940bd83f0174c741e8760594112 | [
"MIT"
] | 58 | 2017-01-29T15:55:57.000Z | 2021-08-25T14:53:18.000Z | paysage/metrics/__init__.py | fyumoto/RBMs | 57a3b2a346cea940bd83f0174c741e8760594112 | [
"MIT"
] | 37 | 2017-02-12T12:55:51.000Z | 2022-03-06T16:57:50.000Z | from .generator_metrics import *
from .model_assessment import *
from .progress_monitor import *
| 24.25 | 32 | 0.814433 | 12 | 97 | 6.333333 | 0.666667 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123711 | 97 | 3 | 33 | 32.333333 | 0.894118 | 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 |
c23f6037a80b6bec99e7d346cf084b1da722d2b5 | 23,800 | py | Python | todos/tests/test_task_api.py | asidlare/todos | e6ae268efdfe68ae567b516f6cb5fa9cb8a46435 | [
"MIT"
] | null | null | null | todos/tests/test_task_api.py | asidlare/todos | e6ae268efdfe68ae567b516f6cb5fa9cb8a46435 | [
"MIT"
] | null | null | null | todos/tests/test_task_api.py | asidlare/todos | e6ae268efdfe68ae567b516f6cb5fa9cb8a46435 | [
"MIT"
] | null | null | null | from uuid import uuid4
from datetime import datetime
from tests.base import TestCaseWithDB
from todos.models.definitions import (db, UserTbl, RoleTbl, Priority, TodoListStatus,
TaskTbl, TaskStatus)
from todos.models.api.todolists_api import TodoListApi
from todos.models.api.tasks_a... | 62.962963 | 116 | 0.516218 | 2,660 | 23,800 | 4.480451 | 0.06391 | 0.057896 | 0.082732 | 0.060413 | 0.82388 | 0.809028 | 0.785115 | 0.744168 | 0.707669 | 0.687196 | 0 | 0.018771 | 0.294916 | 23,800 | 377 | 117 | 63.129973 | 0.691437 | 0.067017 | 0 | 0.489726 | 0 | 0 | 0.283659 | 0 | 0 | 0 | 0 | 0 | 0.123288 | 1 | 0.030822 | false | 0.003425 | 0.020548 | 0 | 0.054795 | 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 |
dfcb40bc76726493930930f046757ba2b69d7210 | 463,111 | py | Python | xcv/gui.py | boo13/xCV | 9287ba0289420f5d3460821ad2e95c1dab08d1b8 | [
"MIT"
] | 2 | 2019-06-05T17:21:03.000Z | 2019-07-10T01:34:23.000Z | xcv/gui.py | boo13/xCV | 9287ba0289420f5d3460821ad2e95c1dab08d1b8 | [
"MIT"
] | 6 | 2019-07-16T21:46:42.000Z | 2022-01-13T01:30:15.000Z | xcv/gui.py | boo13/xCV | 9287ba0289420f5d3460821ad2e95c1dab08d1b8 | [
"MIT"
] | 1 | 2019-07-16T21:44:20.000Z | 2019-07-16T21:44:20.000Z | import os
import sys
import random
import string
import datetime
from time import sleep
from pathlib import Path
from dataclasses import dataclass
# _________________ Local _________________
import xcv
from xcv.clock import Clock
from xcv.emojis import BOO
from xcv.stats import GameSession, FifaSession, FifaMatch
fro... | 567.53799 | 41,769 | 0.96422 | 6,883 | 463,111 | 64.716112 | 0.556298 | 0.001273 | 0.001832 | 0.000954 | 0.047571 | 0.027862 | 0.017652 | 0.007027 | 0.006297 | 0.004025 | 0 | 0.139163 | 0.020291 | 463,111 | 815 | 41,770 | 568.234356 | 0.842603 | 0.007139 | 0 | 0.192308 | 0 | 0.147436 | 0.952755 | 0.949245 | 0 | 1 | 0 | 0.002454 | 0 | 1 | 0.043269 | false | 0.003205 | 0.030449 | 0.011218 | 0.267628 | 0.008013 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dfd92040c3341d7e97aaa957ebb9c718437cb161 | 226 | py | Python | docker-app/qfieldcloud/core/utils2/__init__.py | stcz/qfieldcloud | b128f8689268d73de052e67e0c09c6c0d5abdc05 | [
"MIT"
] | null | null | null | docker-app/qfieldcloud/core/utils2/__init__.py | stcz/qfieldcloud | b128f8689268d73de052e67e0c09c6c0d5abdc05 | [
"MIT"
] | null | null | null | docker-app/qfieldcloud/core/utils2/__init__.py | stcz/qfieldcloud | b128f8689268d73de052e67e0c09c6c0d5abdc05 | [
"MIT"
] | null | null | null | import qfieldcloud.core.utils2.audit as audit
import qfieldcloud.core.utils2.db as db
import qfieldcloud.core.utils2.jobs as jobs
import qfieldcloud.core.utils2.storage as storage
__all__ = ["audit", "db", "jobs", "storage"]
| 32.285714 | 49 | 0.783186 | 33 | 226 | 5.242424 | 0.30303 | 0.393064 | 0.485549 | 0.624277 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019704 | 0.10177 | 226 | 6 | 50 | 37.666667 | 0.832512 | 0 | 0 | 0 | 0 | 0 | 0.079646 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dfe2914631061176045df65257de4b1c75b10641 | 24 | py | Python | heaps/__init__.py | travisariggs/Algorithms | 0864880e6b193954a670073244bfd5de523b4e72 | [
"MIT"
] | null | null | null | heaps/__init__.py | travisariggs/Algorithms | 0864880e6b193954a670073244bfd5de523b4e72 | [
"MIT"
] | null | null | null | heaps/__init__.py | travisariggs/Algorithms | 0864880e6b193954a670073244bfd5de523b4e72 | [
"MIT"
] | null | null | null | from .heaps import Heap
| 12 | 23 | 0.791667 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 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 |
dff69c6447f54768d1aeea7998825ddfef96b5c4 | 220 | py | Python | nsrl/policies/__init__.py | taodav/novelty-search-repr-space | 461691104dc3a72b9b4f7ec040b71d95eec434b1 | [
"MIT"
] | 11 | 2020-12-03T13:24:00.000Z | 2022-01-26T21:40:14.000Z | nsrl/policies/__init__.py | taodav/novelty-search-repr-space | 461691104dc3a72b9b4f7ec040b71d95eec434b1 | [
"MIT"
] | null | null | null | nsrl/policies/__init__.py | taodav/novelty-search-repr-space | 461691104dc3a72b9b4f7ec040b71d95eec434b1 | [
"MIT"
] | 2 | 2020-12-17T00:42:34.000Z | 2020-12-19T12:59:11.000Z | from .EpsilonGreedyPolicy import EpsilonGreedyPolicy
from .LongerExplorationPolicy import LongerExplorationPolicy
from .RandomPolicy import RandomPolicy
from .exploration_policies import BootstrapDQNPolicy, QArgmaxPolicy | 55 | 67 | 0.904545 | 18 | 220 | 11 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 220 | 4 | 67 | 55 | 0.970588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 |
dffa110ee28733321031c7f01c7e448db4a0676e | 245 | py | Python | numba/cuda/cudadrv/error.py | meawoppl/numba | bb8df0aee99133c6d52465ae9f9df2a7996339f3 | [
"BSD-2-Clause"
] | 1 | 2015-01-29T06:52:36.000Z | 2015-01-29T06:52:36.000Z | numba/cuda/cudadrv/error.py | meawoppl/numba | bb8df0aee99133c6d52465ae9f9df2a7996339f3 | [
"BSD-2-Clause"
] | null | null | null | numba/cuda/cudadrv/error.py | meawoppl/numba | bb8df0aee99133c6d52465ae9f9df2a7996339f3 | [
"BSD-2-Clause"
] | null | null | null | from __future__ import print_function, absolute_import, division
class CudaDriverError(Exception):
pass
class CudaSupportError(ImportError):
pass
class NvvmError(Exception):
pass
class NvvmSupportError(ImportError):
pass
| 13.611111 | 64 | 0.771429 | 24 | 245 | 7.625 | 0.625 | 0.147541 | 0.196721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 245 | 17 | 65 | 14.411765 | 0.901478 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.444444 | 0.333333 | 0 | 0.777778 | 0.111111 | 1 | 0 | 0 | null | 0 | 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 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
a069bac18e6323c917afcf099998f61bd626e040 | 309 | py | Python | aws_topology/stackstate_checks/aws_topology/__init__.py | Mathieu-Dirkx/stackstate-agent-integrations | 76bb486f2560e1cdcd5aabb65ef8a19ff36297c1 | [
"BSD-3-Clause"
] | 2 | 2020-03-10T13:21:37.000Z | 2021-04-01T07:52:16.000Z | aws_topology/stackstate_checks/aws_topology/__init__.py | Mathieu-Dirkx/stackstate-agent-integrations | 76bb486f2560e1cdcd5aabb65ef8a19ff36297c1 | [
"BSD-3-Clause"
] | 33 | 2020-02-05T16:18:32.000Z | 2022-03-21T14:08:04.000Z | aws_topology/stackstate_checks/aws_topology/__init__.py | Mathieu-Dirkx/stackstate-agent-integrations | 76bb486f2560e1cdcd5aabb65ef8a19ff36297c1 | [
"BSD-3-Clause"
] | 7 | 2020-03-10T13:21:39.000Z | 2021-03-11T07:16:44.000Z | # (C) StackState 2021
# All rights reserved
# Licensed under a 3-clause BSD style license (see LICENSE)
from .__about__ import __version__
from .aws_topology import AwsTopologyCheck, AwsClient, InstanceInfo, InitConfig
__all__ = ["__version__", "AwsTopologyCheck", "AwsClient", "InstanceInfo", "InitConfig"]
| 38.625 | 88 | 0.783172 | 34 | 309 | 6.617647 | 0.735294 | 0.222222 | 0.328889 | 0.417778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018382 | 0.119741 | 309 | 7 | 89 | 44.142857 | 0.808824 | 0.313916 | 0 | 0 | 0 | 0 | 0.278846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.