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
91c545eedebfe63072291f5498dba2aca85beda1
8,738
py
Python
basic_code/networks.py
J-asy/Emotion-FAN
30c1e24a31b2a05c0810a17eb533096a7baaeeef
[ "MIT" ]
275
2019-09-11T10:22:06.000Z
2022-03-29T07:14:31.000Z
basic_code/networks.py
J-asy/Emotion-FAN
30c1e24a31b2a05c0810a17eb533096a7baaeeef
[ "MIT" ]
34
2019-09-11T11:32:32.000Z
2022-03-18T09:32:42.000Z
basic_code/networks.py
J-asy/Emotion-FAN
30c1e24a31b2a05c0810a17eb533096a7baaeeef
[ "MIT" ]
69
2019-09-18T19:00:17.000Z
2022-03-08T11:43:49.000Z
import torch.nn as nn import math import torch.utils.model_zoo as model_zoo import torch.nn.functional as F import torch import numpy as np import cv2 import pdb def sigmoid(x): return 1 / (1 + math.exp(-x)) def norm_angle(angle): norm_angle = sigmoid(10 * (abs(angle) / 0.7853975 - 1)) return norm_angle ...
34.674603
120
0.54509
1,097
8,738
4.213309
0.160438
0.008222
0.019472
0.018174
0.412592
0.345738
0.250108
0.236694
0.216357
0.206188
0
0.051977
0.32845
8,738
251
121
34.812749
0.735685
0.041314
0
0.361702
0
0
0.027492
0.008357
0
0
0
0
0.015957
1
0.058511
false
0
0.042553
0.005319
0.18617
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
91c59190736d04c98947f42fd90af017204111ac
505
py
Python
ndscheduler/server/handlers/index.py
symphonyrm/ndscheduler
e9a56ef345b25916a2b53d1ea3349efb532d63ce
[ "BSD-2-Clause" ]
null
null
null
ndscheduler/server/handlers/index.py
symphonyrm/ndscheduler
e9a56ef345b25916a2b53d1ea3349efb532d63ce
[ "BSD-2-Clause" ]
null
null
null
ndscheduler/server/handlers/index.py
symphonyrm/ndscheduler
e9a56ef345b25916a2b53d1ea3349efb532d63ce
[ "BSD-2-Clause" ]
null
null
null
"""Serves the single page app web ui.""" import json import tornado.gen from ndscheduler import settings from ndscheduler import utils from ndscheduler.server.handlers import base class Handler(base.BaseHandler): """Index page request handler.""" @tornado.gen.coroutine def get(self): """Serve u...
25.25
82
0.732673
69
505
5.231884
0.565217
0.124654
0.072022
0.088643
0
0
0
0
0
0
0
0
0.174257
505
19
83
26.578947
0.865707
0.229703
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.5
0
0.7
0
0
0
0
null
0
0
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
0
0
1
0
0
0
0
1
91c6b0a778c821558e257de0d52e71c5f953c2bf
801
py
Python
Scripts/xbbtools/xbb_io.py
eoc21/biopython
c0f8db8f55a506837c320459957a0ce99b0618b6
[ "PostgreSQL" ]
3
2017-10-23T21:53:57.000Z
2019-09-23T05:14:12.000Z
Scripts/xbbtools/xbb_io.py
eoc21/biopython
c0f8db8f55a506837c320459957a0ce99b0618b6
[ "PostgreSQL" ]
null
null
null
Scripts/xbbtools/xbb_io.py
eoc21/biopython
c0f8db8f55a506837c320459957a0ce99b0618b6
[ "PostgreSQL" ]
6
2020-02-26T16:34:20.000Z
2020-03-04T15:34:00.000Z
#!/usr/bin/env python # Created: Wed Jun 21 13:46:35 2000 # Last changed: Time-stamp: <00/12/02 14:18:23 thomas> # Thomas.Sicheritz@molbio.uu.se, http://evolution.bmc.uu.se/~thomas # File: xbb_io.py import os, sys # os.system, sys.argv sys.path.insert(0, '.') sys.path.insert(0, os.path.expanduser('~thomas/cbs/python/...
23.558824
81
0.604245
113
801
4.212389
0.663717
0.016807
0.054622
0.058824
0
0
0
0
0
0
0
0.045531
0.259675
801
33
82
24.272727
0.757167
0.260924
0
0
0
0
0.049658
0.047945
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.055556
0
0
0
null
0
0
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
1
0
0
0
0
0
0
0
0
1
91c7653e4b544fa3638814ac8e321e91f01ca6d4
288
py
Python
HW6/Andrii_Haponov/cw_4.py
kolyasalubov/Lv-677.PythonCore
c9f9107c734a61e398154a90b8a3e249276c2704
[ "MIT" ]
null
null
null
HW6/Andrii_Haponov/cw_4.py
kolyasalubov/Lv-677.PythonCore
c9f9107c734a61e398154a90b8a3e249276c2704
[ "MIT" ]
null
null
null
HW6/Andrii_Haponov/cw_4.py
kolyasalubov/Lv-677.PythonCore
c9f9107c734a61e398154a90b8a3e249276c2704
[ "MIT" ]
6
2022-02-22T22:30:49.000Z
2022-03-28T12:51:19.000Z
# Convert a Number to a String! # We need a function that can transform a number into a string. # What ways of achieving this do you know? def number_to_string(num: int) -> str: str_num = str(num) return str_num print(number_to_string(123)) print(type(number_to_string(123)))
24
63
0.729167
51
288
3.960784
0.54902
0.158416
0.207921
0.168317
0
0
0
0
0
0
0
0.025532
0.184028
288
12
64
24
0.834043
0.458333
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0.4
0
0
0
null
0
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
0
0
0
0
0
0
2
91c7cf66ad6751a13ba5162d5a7e62b526efecd6
2,693
py
Python
project/scripts/clausecat/evaluate_clausecat.py
explosion/healthsea
4481488ed9fc85b89844ee872d0a8412a33f0b15
[ "MIT" ]
60
2021-12-15T17:14:37.000Z
2022-03-26T18:25:15.000Z
project/scripts/clausecat/evaluate_clausecat.py
zhinoos-adibi/healthsea
4481488ed9fc85b89844ee872d0a8412a33f0b15
[ "MIT" ]
3
2021-12-16T19:50:15.000Z
2022-03-28T06:10:48.000Z
project/scripts/clausecat/evaluate_clausecat.py
zhinoos-adibi/healthsea
4481488ed9fc85b89844ee872d0a8412a33f0b15
[ "MIT" ]
9
2021-12-15T21:00:05.000Z
2022-03-17T09:20:51.000Z
import spacy from spacy.scorer import PRFScore import typer from pathlib import Path from wasabi import Printer, table import operator import benepar import clausecat_component import clausecat_model import clausecat_reader import clause_segmentation import clause_aggregation msg = Printer() def main(model_path: Pa...
26.93
88
0.580394
282
2,693
5.375887
0.333333
0.065303
0.031662
0.041557
0.088391
0.064644
0.064644
0.064644
0.064644
0.064644
0
0.012068
0.32306
2,693
99
89
27.20202
0.819528
0.049016
0
0.027397
0
0
0.035658
0
0
0
0
0
0
1
0.013699
false
0
0.164384
0
0.178082
0.013699
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
91c7ef0594439547e88e45169d2cad470d31a591
130
py
Python
utils/test.py
david-waugh/network-automation
c85ab092cd9b76753c4d35f113126cfb663c1933
[ "MIT" ]
null
null
null
utils/test.py
david-waugh/network-automation
c85ab092cd9b76753c4d35f113126cfb663c1933
[ "MIT" ]
null
null
null
utils/test.py
david-waugh/network-automation
c85ab092cd9b76753c4d35f113126cfb663c1933
[ "MIT" ]
null
null
null
import pathlib print(pathlib.Path(__file__).parent.resolve()) while True: next_cmd = input("> ") print(eval(next_cmd))
14.444444
46
0.684615
17
130
4.882353
0.764706
0.168675
0
0
0
0
0
0
0
0
0
0
0.161538
130
8
47
16.25
0.761468
0
0
0
0
0
0.015504
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.4
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
0
0
0
0
0
0
0
2
91c92b40c4f1e26399a0ff522ec30f406f0ff98d
934
py
Python
nlp_annotator_api/server/app.py
IBM/deepsearch-nlp-annotator-api-example
76c2c8fd83c1e6d51c51c7b581a8c3f273b23c40
[ "Apache-2.0" ]
3
2022-01-04T12:15:22.000Z
2022-03-25T21:19:20.000Z
nlp_annotator_api/server/app.py
IBM/deepsearch-nlp-annotator-api-example
76c2c8fd83c1e6d51c51c7b581a8c3f273b23c40
[ "Apache-2.0" ]
null
null
null
nlp_annotator_api/server/app.py
IBM/deepsearch-nlp-annotator-api-example
76c2c8fd83c1e6d51c51c7b581a8c3f273b23c40
[ "Apache-2.0" ]
5
2021-09-27T08:26:09.000Z
2022-03-10T11:41:35.000Z
import logging import os import aiohttp.web from connexion import AioHttpApp from nlp_annotator_api.config.config import conf from nlp_annotator_api.config.logging import setup_logging from nlp_annotator_api.server.middleware.statsd_middleware import StatsdMiddleware from nlp_annotator_api.server.signals.statsd_clien...
26.685714
86
0.799786
128
934
5.421875
0.4375
0.086455
0.108069
0.10951
0.144092
0
0
0
0
0
0
0.007168
0.103854
934
34
87
27.470588
0.821983
0
0
0
0
0
0.073876
0.025696
0
0
0
0
0
1
0
false
0.043478
0.347826
0
0.347826
0
0
0
0
null
0
0
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
0
0
1
0
0
0
0
1
91c97df0fae07bca6b5ed203a6e4102faddf3f12
4,534
py
Python
keras_cv_attention_models/resnest/resnest.py
dcleres/keras_cv_attention_models
264876673e369f23eff49b3b589b72f908a9625b
[ "MIT" ]
140
2021-08-04T06:51:41.000Z
2022-03-30T08:08:32.000Z
keras_cv_attention_models/resnest/resnest.py
dcleres/keras_cv_attention_models
264876673e369f23eff49b3b589b72f908a9625b
[ "MIT" ]
12
2021-09-29T00:43:58.000Z
2022-03-28T07:50:35.000Z
keras_cv_attention_models/resnest/resnest.py
dcleres/keras_cv_attention_models
264876673e369f23eff49b3b589b72f908a9625b
[ "MIT" ]
20
2021-09-28T20:07:35.000Z
2022-03-31T14:06:40.000Z
import tensorflow as tf from tensorflow import keras from tensorflow.keras import backend as K from keras_cv_attention_models.aotnet import AotNet from keras_cv_attention_models.download_and_load import reload_model_weights from keras_cv_attention_models.attention_layers import batchnorm_with_activation, conv2d_no_bias...
50.377778
155
0.696074
612
4,534
4.980392
0.238562
0.023622
0.03248
0.044291
0.32185
0.250328
0.194882
0.177822
0.177822
0.145013
0
0.065789
0.161888
4,534
89
156
50.94382
0.736316
0.045214
0
0.089552
0
0
0.095491
0.029595
0
0
0
0
0
1
0.104478
false
0
0.089552
0.059701
0.298507
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
91c9ae32ffd6100ceb2a8fceee2c2c30ae4e7dc4
3,518
py
Python
dataactcore/migrations/versions/8692ab1298e1_replace_filerequest_with_filegeneration.py
brianherman/data-act-broker-backend
80eb055b9d245046192f7ad4fd0be7d0e11d2dec
[ "CC0-1.0" ]
1
2019-06-22T21:53:16.000Z
2019-06-22T21:53:16.000Z
dataactcore/migrations/versions/8692ab1298e1_replace_filerequest_with_filegeneration.py
brianherman/data-act-broker-backend
80eb055b9d245046192f7ad4fd0be7d0e11d2dec
[ "CC0-1.0" ]
3
2021-08-22T11:47:45.000Z
2022-03-29T22:06:49.000Z
dataactcore/migrations/versions/8692ab1298e1_replace_filerequest_with_filegeneration.py
brianherman/data-act-broker-backend
80eb055b9d245046192f7ad4fd0be7d0e11d2dec
[ "CC0-1.0" ]
1
2020-07-17T23:50:56.000Z
2020-07-17T23:50:56.000Z
"""replace FileRequest with FileGeneration Revision ID: 8692ab1298e1 Revises: 4bbc47f2b48d Create Date: 2018-10-24 14:54:39.278159 """ # revision identifiers, used by Alembic. revision = '8692ab1298e1' down_revision = '4bbc47f2b48d' branch_labels = None depends_on = None from alembic import op import sqlalchemy as ...
45.102564
158
0.726549
484
3,518
4.958678
0.200413
0.204167
0.04
0.05
0.529583
0.4725
0.44625
0.3575
0.283333
0.265
0
0.017025
0.115122
3,518
77
159
45.688312
0.753935
0.091245
0
0.078431
0
0
0.376701
0.160177
0
0
0
0
0
1
0.078431
false
0
0.039216
0
0.117647
0
0
0
0
null
1
0
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
0
0
0
0
0
0
0
1
91cb094ac7602563246a111f9c1326b917365ed1
10,652
py
Python
cluster.py
Birfy/Endlinking
cc87a5528498e1733111d302437aeb1142b0a47f
[ "MIT" ]
1
2020-02-20T03:46:10.000Z
2020-02-20T03:46:10.000Z
cluster.py
Birfy/Endlinking
cc87a5528498e1733111d302437aeb1142b0a47f
[ "MIT" ]
null
null
null
cluster.py
Birfy/Endlinking
cc87a5528498e1733111d302437aeb1142b0a47f
[ "MIT" ]
null
null
null
import numpy as np import random import sys chainlength = int(sys.argv[1]) dfname = sys.argv[2] outfl = 'result.data' cluster_size = int(sys.argv[3]) def readsize(dfname): with open(dfname, 'r') as df: lines = df.readlines() for line in lines: content = line.split() if content and cont...
36.986111
135
0.557548
1,438
10,652
4.107789
0.161335
0.006602
0.012189
0.014898
0.268834
0.205857
0.175047
0.156255
0.123074
0.118165
0
0.014646
0.314119
10,652
287
136
37.114983
0.793868
0.279666
0
0.25
0
0
0.029062
0
0
0
0
0
0
1
0.0625
false
0
0.015625
0
0.140625
0.020833
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
91cb09a3e92988e65a39aed7bb0bc23d1f6a9538
20,537
py
Python
util/hierarchical_primitive/cube_inclusion.py
isunchy/cuboid_abstraction
afda6ca8516c2f5e5e7292b3b22a059a4f6c84ec
[ "MIT" ]
43
2019-09-20T07:45:08.000Z
2022-03-23T04:07:21.000Z
util/hierarchical_primitive/cube_inclusion.py
SilenKZYoung/cuboid_abstraction
afda6ca8516c2f5e5e7292b3b22a059a4f6c84ec
[ "MIT" ]
4
2019-11-25T00:57:10.000Z
2021-09-02T10:59:05.000Z
util/hierarchical_primitive/cube_inclusion.py
SilenKZYoung/cuboid_abstraction
afda6ca8516c2f5e5e7292b3b22a059a4f6c84ec
[ "MIT" ]
10
2019-09-10T02:19:47.000Z
2021-06-16T05:23:43.000Z
import numpy as np import quaternion sample_points = np.array([[-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,...
315.953846
5,958
0.466378
8,476
20,537
1.119396
0.009202
0.187605
0.231134
0.255902
0.882694
0.866779
0.861298
0.860561
0.853605
0.852129
0
0.41108
0.029654
20,537
64
5,959
320.890625
0.065034
0.002727
0
0
0
0
0.002401
0
0
0
0
0
0.072727
1
0.036364
false
0
0.036364
0
0.090909
0.018182
0
0
1
null
0
1
1
1
1
1
1
1
1
0
1
0
0
0
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
13
91cc3e617eabbbaa426a11dc2dc6c376ad5cab95
740
py
Python
ituro/accounts/tests.py
kayduemre/ituro
eb5bb0655c2d85eed212d28c1d154006c57a4f03
[ "MIT" ]
9
2015-03-18T01:59:24.000Z
2022-03-09T06:36:21.000Z
ituro/accounts/tests.py
kayduemre/ituro
eb5bb0655c2d85eed212d28c1d154006c57a4f03
[ "MIT" ]
29
2015-03-18T01:59:49.000Z
2021-06-10T20:39:03.000Z
ituro/accounts/tests.py
kayduemre/ituro
eb5bb0655c2d85eed212d28c1d154006c57a4f03
[ "MIT" ]
10
2016-01-31T05:44:46.000Z
2019-10-15T06:12:27.000Z
from django.test import TestCase from django.utils import timezone from accounts.models import CustomUser, CustomUserManager class UserCreateTestCase(TestCase): def test_create_user_correctly(self): "Creating users correctly" new_user = CustomUser.objects.create( email="participant@gm...
33.636364
71
0.671622
79
740
6.113924
0.582278
0.057971
0.118012
0.091097
0.10352
0
0
0
0
0
0
0.019366
0.232432
740
21
72
35.238095
0.830986
0.032432
0
0
0
0
0.172973
0.028378
0
0
0
0
0.176471
1
0.058824
false
0
0.176471
0
0.294118
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
91ce005123b48bec43dd6a96411c6f2b6ba102be
2,284
py
Python
continuum/datasets/dtd.py
oleksost/continuum
682d66540bfbfa171ac73281ed2989f9338e88bf
[ "MIT" ]
282
2020-05-09T21:35:22.000Z
2022-03-20T11:29:41.000Z
continuum/datasets/dtd.py
oleksost/continuum
682d66540bfbfa171ac73281ed2989f9338e88bf
[ "MIT" ]
180
2020-05-03T09:31:48.000Z
2022-03-30T12:12:48.000Z
continuum/datasets/dtd.py
oleksost/continuum
682d66540bfbfa171ac73281ed2989f9338e88bf
[ "MIT" ]
34
2020-06-13T14:09:29.000Z
2022-03-14T14:05:07.000Z
import os from typing import List import numpy as np from torchvision import datasets as torchdata from continuum.datasets import ImageFolderDataset from continuum import download from continuum.tasks import TaskType class DTD(ImageFolderDataset): """Describable Textures Dataset (DTD) Reference: * ...
35.6875
108
0.595009
302
2,284
4.377483
0.377483
0.066566
0.081694
0.07413
0.21407
0.188351
0.172466
0.134644
0.087746
0.06354
0
0.010284
0.27627
2,284
63
109
36.253968
0.789474
0.077933
0
0.045455
0
0.022727
0.145813
0.036092
0
0
0
0
0
1
0.068182
false
0
0.159091
0
0.295455
0.045455
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
91ce047cf63bd3235780b724cb14faa1d2a5cf51
1,732
py
Python
src/tests/testdata.py
Doometnick/MaxiMin-2048
f1d795ec07fffe1aa239c105cf522d2c3bc9b011
[ "MIT" ]
null
null
null
src/tests/testdata.py
Doometnick/MaxiMin-2048
f1d795ec07fffe1aa239c105cf522d2c3bc9b011
[ "MIT" ]
null
null
null
src/tests/testdata.py
Doometnick/MaxiMin-2048
f1d795ec07fffe1aa239c105cf522d2c3bc9b011
[ "MIT" ]
null
null
null
from board import Direction # Tuples of input, action, expected output. moving_tests = [ ( [[0,0,0,0], [4,0,0,0], [0,0,0,0], [4,0,2,0]], Direction.UP, [[8,0,2,0], [0,0,0,0], [0,0,0,0], [0,0,0,0]] ), ( [[0,0,0,0], ...
18.623656
43
0.265012
284
1,732
1.612676
0.077465
0.406114
0.471616
0.497817
0.70524
0.689956
0.689956
0.689956
0.670306
0.670306
0
0.315444
0.472864
1,732
93
44
18.623656
0.186199
0.023672
0
0.659341
0
0
0
0
0
0
0
0
0
1
0
false
0
0.010989
0
0.010989
0
0
0
1
null
1
1
1
0
0
0
0
0
1
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
7
91ce29247f546090ea7272eb8cba1493be43a9a9
449
py
Python
test/utils/test_value.py
HansBug/pji
449d171cea0c03f4c302da886988f36f70e34ee6
[ "Apache-2.0" ]
null
null
null
test/utils/test_value.py
HansBug/pji
449d171cea0c03f4c302da886988f36f70e34ee6
[ "Apache-2.0" ]
null
null
null
test/utils/test_value.py
HansBug/pji
449d171cea0c03f4c302da886988f36f70e34ee6
[ "Apache-2.0" ]
null
null
null
import pytest from pji.utils import ValueProxy @pytest.mark.unittest class TestUtilsValue: def test_value_proxy_init(self): value = ValueProxy() assert value.value is None value = ValueProxy(233) assert value.value == 233 def test_value_proxy_set(self): value = Value...
20.409091
36
0.63029
54
449
5.12963
0.407407
0.216607
0.231047
0.122744
0.158845
0
0
0
0
0
0
0.050157
0.289532
449
21
37
21.380952
0.818182
0
0
0.266667
0
0
0
0
0
0
0
0
0.266667
1
0.133333
false
0
0.133333
0
0.333333
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
91d00c668e9c3c29e1e078f088b136cfebc103ca
1,727
py
Python
intro.py
Ebenazer-2002/library-management
8c1ededc7167d2221a3947abfeec4773da39dca9
[ "Apache-2.0" ]
null
null
null
intro.py
Ebenazer-2002/library-management
8c1ededc7167d2221a3947abfeec4773da39dca9
[ "Apache-2.0" ]
null
null
null
intro.py
Ebenazer-2002/library-management
8c1ededc7167d2221a3947abfeec4773da39dca9
[ "Apache-2.0" ]
1
2021-09-22T22:08:15.000Z
2021-09-22T22:08:15.000Z
#Intro Page from tkinter import * from PIL import Image, ImageTk import cv2 #----------------------------Start Function--------------------------# def start(event): label1.destroy() import log win.destroy() log.main() #------------------------Main Window---------------------------------#li def main_...
28.311475
72
0.466126
179
1,727
4.47486
0.486034
0.037453
0.037453
0.034956
0.037453
0
0
0
0
0
0
0.031907
0.255935
1,727
60
73
28.783333
0.59144
0.246091
0
0.095238
0
0
0.085271
0
0
0
0
0
0
1
0.071429
false
0
0.095238
0
0.166667
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
91d02ed15b88e5d9e5da4c1c6b0a923344ec181d
16,740
py
Python
notebooks/week4_help.py
hugh9876/04-multivariate-analysis
0541962842df8844aa323c368f8a4e44999c2d7f
[ "MIT" ]
null
null
null
notebooks/week4_help.py
hugh9876/04-multivariate-analysis
0541962842df8844aa323c368f8a4e44999c2d7f
[ "MIT" ]
null
null
null
notebooks/week4_help.py
hugh9876/04-multivariate-analysis
0541962842df8844aa323c368f8a4e44999c2d7f
[ "MIT" ]
null
null
null
""" This module provides helper functions to support exercises during AM1 with outliers, robust regression and template regression in the CORE data analytics workshop series, week 4. """ import numpy as np import pandas as pd import math from collections import namedtuple def recovery_sulphur_dataframe_wit...
41.435644
97
0.683871
2,165
16,740
5.130254
0.196305
0.007653
0.041325
0.023949
0.198974
0.125777
0.061223
0.031242
0.007743
0
0
0.020416
0.245102
16,740
403
98
41.538462
0.858511
0.445938
0
0.070588
0
0
0.020801
0.002645
0
0
0
0
0.017647
1
0.158824
false
0
0.023529
0.005882
0.341176
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
91d0d1d94cdf45c4bcbd44fd68f0bba0ecae92c7
2,671
py
Python
tests/actions/test_mutable_token_action.py
0xOmarA/RadixLib
85d75a47d4c4df4c1a319b74857ae2c513933623
[ "MIT" ]
32
2022-01-12T16:52:28.000Z
2022-03-24T18:05:47.000Z
tests/actions/test_mutable_token_action.py
0xOmarA/RadixLib
85d75a47d4c4df4c1a319b74857ae2c513933623
[ "MIT" ]
3
2022-01-12T17:01:55.000Z
2022-02-12T15:14:16.000Z
tests/actions/test_mutable_token_action.py
0xOmarA/RadixLib
85d75a47d4c4df4c1a319b74857ae2c513933623
[ "MIT" ]
1
2022-01-21T04:28:07.000Z
2022-01-21T04:28:07.000Z
from radixlib.actions import CreateTokenDefinition from typing import Dict, Any import unittest class TestMutableTokenAction(unittest.TestCase): """ Unit tests for the CreateTokenDefinition action of mutable tokens """ ActionDict: Dict[str, Any] = { "token_properties": { "name": "MutableTe...
47.696429
110
0.675028
260
2,671
6.803846
0.3
0.102883
0.143019
0.131148
0.131148
0.072357
0
0
0
0
0
0.017005
0.207413
2,671
56
111
47.696429
0.818611
0.137027
0
0
0
0
0.275274
0.064333
0
0
0
0
0.292683
1
0.04878
false
0
0.073171
0
0.170732
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
91d124efa1b2bf7e4e72928accf387408c43adc6
113
py
Python
src/tests/testModules/loadCfg_typeCasting/allowsCastFailKeeping/primativeTypes.py
Trimatix/carica
074be16bdf50541eb3ba92ca42d0ad901cc51bd0
[ "Apache-2.0" ]
5
2021-09-08T07:29:23.000Z
2021-11-24T00:18:22.000Z
src/tests/testModules/loadCfg_typeCasting/allowsCastFailKeeping/primativeTypes.py
Trimatix/Carica
074be16bdf50541eb3ba92ca42d0ad901cc51bd0
[ "Apache-2.0" ]
42
2021-09-08T07:31:25.000Z
2022-01-16T17:39:34.000Z
src/tests/testModules/loadCfg_typeCasting/allowsCastFailKeeping/primativeTypes.py
Trimatix/carica
074be16bdf50541eb3ba92ca42d0ad901cc51bd0
[ "Apache-2.0" ]
null
null
null
floatVar = 1.0 listVar = [3, "hello"] dictVar = { "myField": "value" } aotVar = [dictVar, dictVar] intVar = 1
16.142857
27
0.610619
14
113
4.928571
0.785714
0
0
0
0
0
0
0
0
0
0
0.044444
0.20354
113
7
28
16.142857
0.722222
0
0
0
0
0
0.149123
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
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
0
0
0
2
91d348a1fe2260f1d59725d0f07d7baf69518dae
22
py
Python
quacc/recipes/xtb/__init__.py
arosen93/HT-ASE
a76542e7a2bc5bf6e7382d8f1387374eb2abc713
[ "BSD-3-Clause-LBNL" ]
9
2022-02-08T08:31:30.000Z
2022-03-30T21:37:35.000Z
quacc/recipes/xtb/__init__.py
arosen93/HT-ASE
a76542e7a2bc5bf6e7382d8f1387374eb2abc713
[ "BSD-3-Clause-LBNL" ]
5
2022-02-02T21:47:59.000Z
2022-03-18T21:28:52.000Z
quacc/recipes/xtb/__init__.py
arosen93/HT-ASE
a76542e7a2bc5bf6e7382d8f1387374eb2abc713
[ "BSD-3-Clause-LBNL" ]
3
2022-02-23T12:00:57.000Z
2022-03-24T23:54:22.000Z
"""Recipes for xTB"""
11
21
0.590909
3
22
4.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.136364
22
1
22
22
0.684211
0.681818
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
91d380ce2b1e14c5b063e9056626bb2c1ea92f55
6,869
py
Python
src/python/pants/backend/native/subsystems/xcode_cli_tools.py
StephanErb/pants
a368267b6b4cf50138ba567f582409ed31bf5db9
[ "Apache-2.0" ]
null
null
null
src/python/pants/backend/native/subsystems/xcode_cli_tools.py
StephanErb/pants
a368267b6b4cf50138ba567f582409ed31bf5db9
[ "Apache-2.0" ]
null
null
null
src/python/pants/backend/native/subsystems/xcode_cli_tools.py
StephanErb/pants
a368267b6b4cf50138ba567f582409ed31bf5db9
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import, division, print_function, unicode_literals import os from pants.backend.native.config.environment import Assembler, CCompiler, CppC...
34.345
105
0.7084
915
6,869
5.103825
0.300546
0.023983
0.038972
0.013705
0.208137
0.165096
0.137259
0.094004
0.094004
0.062741
0
0.002553
0.201776
6,869
199
106
34.517588
0.84917
0.174989
0
0.137681
0
0.014493
0.217584
0.068028
0
0
0
0.005025
0
1
0.108696
false
0
0.057971
0.086957
0.311594
0.014493
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
91d43878e8db19b2ac8a4228dcc70b222e3033cf
11,998
py
Python
improver_tests/regrid/test_RegridWithLandSeaMask.py
yzhaobom/improver
47f9e103c63f890bfbb24d5e08d9d01d041514f7
[ "BSD-3-Clause" ]
77
2017-04-26T07:47:40.000Z
2022-03-31T09:40:49.000Z
improver_tests/regrid/test_RegridWithLandSeaMask.py
yzhaobom/improver
47f9e103c63f890bfbb24d5e08d9d01d041514f7
[ "BSD-3-Clause" ]
1,440
2017-03-29T10:04:15.000Z
2022-03-28T10:11:29.000Z
improver_tests/regrid/test_RegridWithLandSeaMask.py
MoseleyS/improver
ca028e3a1c842e3ff00b188c8ea6eaedd0a07149
[ "BSD-3-Clause" ]
72
2017-03-17T16:53:45.000Z
2022-02-16T09:41:37.000Z
# -*- coding: utf-8 -*- # ----------------------------------------------------------------------------- # (C) British Crown Copyright 2017-2021 Met Office. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions a...
35.602374
86
0.596516
1,892
11,998
3.593552
0.156977
0.038829
0.038829
0.024857
0.589646
0.553905
0.53449
0.520959
0.511252
0.484042
0
0.123426
0.272045
11,998
336
87
35.708333
0.655026
0.236039
0
0.425439
0
0
0.02382
0
0
0
0
0
0.030702
1
0.035088
false
0
0.02193
0
0.070175
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
91d4aad729e6a3ae80ef7ec7692d7daf662bb479
1,127
py
Python
setup.py
garnaat/details
07f2fc7f27b29a6ddcda918abf6ae0882450319e
[ "Apache-2.0" ]
27
2015-03-01T10:54:32.000Z
2021-09-08T14:52:30.000Z
setup.py
garnaat/details
07f2fc7f27b29a6ddcda918abf6ae0882450319e
[ "Apache-2.0" ]
3
2015-01-29T08:26:13.000Z
2017-02-14T09:35:06.000Z
setup.py
garnaat/details
07f2fc7f27b29a6ddcda918abf6ae0882450319e
[ "Apache-2.0" ]
7
2015-03-26T13:53:34.000Z
2017-05-23T20:58:28.000Z
#!/usr/bin/env python from setuptools import setup, find_packages import os requires = [ ] setup( name='details', version=open(os.path.join('details', '_version')).read(), description='Tools for processing AWS detailed billing reports', long_description=open('README.md').read(), author='Mitch G...
30.459459
68
0.632653
117
1,127
6.034188
0.581197
0.161473
0.212465
0.110482
0.076487
0
0
0
0
0
0
0.011312
0.215617
1,127
36
69
31.305556
0.78733
0.017746
0
0
0
0
0.517179
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0
0
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
0
0
0
0
0
0
0
1
91d5346576f73b2550ed5c3a87e027cb58449870
4,686
py
Python
beam_telescope_analysis/testing/test_kalman.py
YannickDieter/beam_telescope_analysis
0c678ad991a9ef42178b2eeaf58059d387362f2a
[ "MIT" ]
3
2019-03-14T09:28:43.000Z
2020-02-24T13:04:12.000Z
beam_telescope_analysis/testing/test_kalman.py
YannickDieter/beam_telescope_analysis
0c678ad991a9ef42178b2eeaf58059d387362f2a
[ "MIT" ]
14
2019-05-09T10:01:06.000Z
2021-05-20T12:52:46.000Z
beam_telescope_analysis/testing/test_kalman.py
YannickDieter/beam_telescope_analysis
0c678ad991a9ef42178b2eeaf58059d387362f2a
[ "MIT" ]
1
2019-09-07T12:06:35.000Z
2019-09-07T12:06:35.000Z
''' Script to check the correctness of the analysis. The analysis is done on raw data and all results are compared to a recorded analysis. ''' import os import unittest import numpy as np from beam_telescope_analysis import track_analysis from beam_telescope_analysis.tools import test_tools class TestTrackAnalysis...
62.48
153
0.588135
593
4,686
4.546374
0.41484
0.072329
0.020401
0.024481
0.237389
0.206231
0.206231
0.158754
0.158754
0.158754
0
0.306559
0.261417
4,686
74
154
63.324324
0.472407
0.119718
0
0.035714
0
0.017857
0.057178
0
0
0
0
0
0.017857
1
0.053571
false
0.017857
0.125
0
0.196429
0
0
0
0
null
0
0
0
0
0
0
0
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
2
91d54e85fa9e683a691056ba3de4c8a49958c847
3,723
py
Python
test/test_workflow.py
asnramos/asv
8a0979b532d06c7c352826e2acf0dd872922260e
[ "BSD-3-Clause" ]
null
null
null
test/test_workflow.py
asnramos/asv
8a0979b532d06c7c352826e2acf0dd872922260e
[ "BSD-3-Clause" ]
null
null
null
test/test_workflow.py
asnramos/asv
8a0979b532d06c7c352826e2acf0dd872922260e
[ "BSD-3-Clause" ]
null
null
null
# Licensed under a 3-clause BSD style license - see LICENSE.rst import glob import os import sys import json from os.path import join, isfile import pytest from asv import util from . import tools def test_run_publish(capfd, basic_conf_2): tmpdir, local, conf, machine_file = basic_conf_2 tmpdir = util.lon...
39.189474
85
0.552243
434
3,723
4.573733
0.331797
0.050378
0.033249
0.04534
0.349622
0.244836
0.184383
0.105793
0.062469
0.062469
0
0.018772
0.313188
3,723
94
86
39.606383
0.757528
0.076551
0
0.183099
0
0
0.229738
0.073469
0
0
0
0
0.239437
1
0.014085
false
0
0.112676
0
0.126761
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
91d673a77f43b00da4523b7edc231f25e64c3f72
5,750
py
Python
trainer.py
Metro1998/P-DQN
6ab2ac6991d2685f10887c16f854ebba6144b306
[ "MIT" ]
5
2021-12-13T15:25:07.000Z
2022-03-29T12:42:37.000Z
trainer.py
Metro1998/P-DQN
6ab2ac6991d2685f10887c16f854ebba6144b306
[ "MIT" ]
null
null
null
trainer.py
Metro1998/P-DQN
6ab2ac6991d2685f10887c16f854ebba6144b306
[ "MIT" ]
null
null
null
# @author Metro # @time 2021/11/24 import os.path import gym from agents.pdqn import P_DQN from utilities.memory import ReplayBuffer from utilities.utilities import * from utilities.route_generator import generate_routefile class Train_and_Evaluate(object): def __init__(self, config): # Environment ...
42.592593
113
0.598609
677
5,750
4.70901
0.200886
0.033877
0.056462
0.037641
0.266939
0.140841
0.120138
0.105082
0.039523
0.02133
0
0.007918
0.31913
5,750
134
114
42.910448
0.806386
0.01513
0
0.021277
0
0
0.042791
0
0
0
0
0
0
1
0.021277
false
0
0.06383
0
0.095745
0.021277
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
91d7cad5b4e7e6fe780b392c22b198941b8e6380
10,434
py
Python
server/splunkdj/views.py
splunk/splunk-webframework
a4179558616f5f4fcbfa2b54e9179f30e6395264
[ "Apache-2.0" ]
31
2015-01-20T12:49:17.000Z
2022-02-21T05:21:44.000Z
server/splunkdj/views.py
splunk/splunk-webframework
a4179558616f5f4fcbfa2b54e9179f30e6395264
[ "Apache-2.0" ]
2
2015-07-08T19:40:41.000Z
2018-04-26T21:34:35.000Z
server/splunkdj/views.py
splunk/splunk-webframework
a4179558616f5f4fcbfa2b54e9179f30e6395264
[ "Apache-2.0" ]
8
2015-02-26T13:19:45.000Z
2022-03-27T08:34:20.000Z
import sys import pprint import json import datetime import uuid import urllib import types import traceback from django.core.urlresolvers import reverse, resolve from django.http import HttpResponseRedirect, Http404, HttpResponseServerError, HttpResponseNotFound from django.conf import settings from django.contrib.aut...
37.804348
119
0.637531
1,256
10,434
5.11465
0.246019
0.00934
0.010274
0.012142
0.132783
0.074408
0.051681
0.051681
0.051681
0.051681
0
0.00382
0.247364
10,434
275
120
37.941818
0.814211
0.072168
0
0.096916
0
0.008811
0.16369
0.025256
0
0
0
0
0
0
null
null
0
0.096916
null
null
0.008811
0
0
0
null
0
0
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
1
0
0
0
0
0
0
0
0
1
91d867e70ec797fb77cf3fedd501ea6a1aca218d
8,301
py
Python
wbia/plottool/interact_keypoints.py
mmulich/wildbook-ia
81b405e2bfaa3f6c30a546fb6dc6e6488e9b2663
[ "Apache-2.0" ]
null
null
null
wbia/plottool/interact_keypoints.py
mmulich/wildbook-ia
81b405e2bfaa3f6c30a546fb6dc6e6488e9b2663
[ "Apache-2.0" ]
null
null
null
wbia/plottool/interact_keypoints.py
mmulich/wildbook-ia
81b405e2bfaa3f6c30a546fb6dc6e6488e9b2663
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import logging import utool as ut import six from . import draw_func2 as df2 from wbia.plottool import plot_helpers as ph from wbia.plottool import interact_helpers as ih from wbia.plottool.viz_featrow import draw_feat_row from wbia.plottool.viz_keypoints import show_keypoints from wbia.plottool...
39.15566
113
0.563787
1,035
8,301
4.393237
0.201932
0.037387
0.024632
0.021553
0.554651
0.506928
0.490653
0.451067
0.444469
0.362657
0
0.010508
0.312131
8,301
211
114
39.341232
0.785814
0.292013
0
0.435115
0
0
0.061973
0
0
0
0
0.014218
0
1
0.068702
false
0.022901
0.10687
0
0.183206
0.007634
0
0
0
null
0
0
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
1
0
0
0
0
0
0
0
0
0
0
1
91d921988391847f171d7f816701e122ce388582
143
py
Python
tb/storage/__init__.py
DronMDF/manabot
b412e8cb9b5247f05487bed4cbf4967f7b58327f
[ "MIT" ]
1
2017-11-29T11:51:12.000Z
2017-11-29T11:51:12.000Z
tb/storage/__init__.py
DronMDF/manabot
b412e8cb9b5247f05487bed4cbf4967f7b58327f
[ "MIT" ]
109
2017-11-28T20:51:59.000Z
2018-02-02T13:15:29.000Z
tb/storage/__init__.py
DronMDF/manabot
b412e8cb9b5247f05487bed4cbf4967f7b58327f
[ "MIT" ]
null
null
null
from .database import StDatabase from .telegram import StTelegram from .tinydb import TinyDataBase, TinySelect from .utility import StDispatch
28.6
44
0.846154
17
143
7.117647
0.647059
0
0
0
0
0
0
0
0
0
0
0
0.118881
143
4
45
35.75
0.960317
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
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
91d9d1d9ae07a637595f6f1be3521d0ea393c068
1,468
py
Python
algorithms/maths/chinese_remainder_theorem.py
hbqdev/algorithms
65cc8551d86d7e065069d165dd8bf9baf10345a0
[ "MIT" ]
22,426
2017-01-17T04:01:44.000Z
2022-03-31T12:06:16.000Z
algorithms/maths/chinese_remainder_theorem.py
Shubhanshu156/algorithms
d8f1428cee7f66376929f72c524b6e0325bf3492
[ "MIT" ]
523
2017-04-18T12:05:11.000Z
2022-03-20T11:10:41.000Z
algorithms/maths/chinese_remainder_theorem.py
AmandaStromdahl/algorithms
1652835c3aef9aa670b67a5459e51dd3a8e6a71c
[ "MIT" ]
4,900
2017-01-19T23:47:05.000Z
2022-03-31T10:00:47.000Z
from algorithms.maths.gcd import gcd from typing import List def solve_chinese_remainder(num : List[int], rem : List[int]): """ Computes the smallest x that satisfies the chinese remainder theorem for a system of equations. The system of equations has the form: x % num[0] = rem[0] x % num[1] = ...
31.234043
84
0.559264
228
1,468
3.574561
0.350877
0.030675
0.062577
0.041718
0.058896
0.058896
0.058896
0
0
0
0
0.015707
0.349455
1,468
46
85
31.913043
0.837696
0.284741
0
0
0
0
0.167335
0
0
0
0
0
0
1
0.0625
false
0
0.0625
0
0.21875
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
91da549f96f9ccca48e20a796a48546be83febae
206
py
Python
exercises/ja/exc_03_16_01.py
Jette16/spacy-course
32df0c8f6192de6c9daba89740a28c0537e4d6a0
[ "MIT" ]
2,085
2019-04-17T13:10:40.000Z
2022-03-30T21:51:46.000Z
exercises/ja/exc_03_16_01.py
Jette16/spacy-course
32df0c8f6192de6c9daba89740a28c0537e4d6a0
[ "MIT" ]
79
2019-04-18T14:42:55.000Z
2022-03-07T08:15:43.000Z
exercises/ja/exc_03_16_01.py
Jette16/spacy-course
32df0c8f6192de6c9daba89740a28c0537e4d6a0
[ "MIT" ]
361
2019-04-17T13:34:32.000Z
2022-03-28T04:42:45.000Z
import spacy nlp = spacy.load("ja_core_news_sm") text = ( "チックフィレイはジョージア州カレッジパークに本社を置く、" "チキンサンドを専門とするアメリカのファストフードレストランチェーンです。" ) # トークナイズのみ行う doc = nlp(text) print([token.text for token in doc])
17.166667
42
0.73301
23
206
6.434783
0.73913
0
0
0
0
0
0
0
0
0
0
0
0.150485
206
11
43
18.727273
0.845714
0.048544
0
0
0
0
0.407216
0.329897
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.125
1
0
0
null
0
0
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
0
0
0
0
0
0
0
1
91dad0ab0f33fc6693bf8cc4e9a065c0be985607
19,086
py
Python
apphelper/image.py
caiyueliang/chineseocr
4495598f938936c6bcb2222fa44f840a7919212c
[ "MIT" ]
null
null
null
apphelper/image.py
caiyueliang/chineseocr
4495598f938936c6bcb2222fa44f840a7919212c
[ "MIT" ]
null
null
null
apphelper/image.py
caiyueliang/chineseocr
4495598f938936c6bcb2222fa44f840a7919212c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ ##图像相关函数 @author: lywen """ import sys import six import os import base64 import requests import numpy as np import cv2 from PIL import Image import traceback import uuid from glob import glob from bs4 import BeautifulSoup def sort_box_(box): x1,y1,x2,y2,x3,y3,x4,y4 = box[:8] pts =...
29.40832
113
0.515561
3,071
19,086
3.132204
0.112341
0.017465
0.020584
0.027446
0.450463
0.429566
0.404616
0.376027
0.363967
0.339952
0
0.074795
0.297391
19,086
649
114
29.40832
0.642506
0.155035
0
0.257732
0
0
0.016641
0
0
0
0
0
0
1
0.069588
false
0
0.046392
0
0.185567
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
91db99963a9d2cafd0fa8e863ed2ec3e7df55f3e
1,320
py
Python
opendatatools/common/ui_util.py
harveywwu/OpenData
cf421465dd9b11fdbb2fbf4d00512e3aaf09d070
[ "Apache-2.0" ]
null
null
null
opendatatools/common/ui_util.py
harveywwu/OpenData
cf421465dd9b11fdbb2fbf4d00512e3aaf09d070
[ "Apache-2.0" ]
null
null
null
opendatatools/common/ui_util.py
harveywwu/OpenData
cf421465dd9b11fdbb2fbf4d00512e3aaf09d070
[ "Apache-2.0" ]
1
2020-05-29T00:26:59.000Z
2020-05-29T00:26:59.000Z
# -*- coding: UTF-8 -*- import sys, time class ShowProcess(): """ 显示处理进度的类 调用该类相关函数即可实现处理进度的显示 """ i = 0 # 当前的处理进度 max_steps = 0 # 总共需要处理的次数 max_arrow = 50 #进度条的长度 infoDone = 'done' # 初始化函数,需要知道总共的处理次数 def __init__(self, max_steps, infoDone = 'Done'): self.max_steps = ...
26.938776
77
0.526515
157
1,320
4.197452
0.394904
0.121396
0.091047
0.036419
0
0
0
0
0
0
0
0.025054
0.304545
1,320
49
78
26.938776
0.69281
0.159848
0
0.060606
0
0
0.027645
0
0.030303
0
0
0
0
0
null
null
0
0.030303
null
null
0.090909
0
0
0
null
0
0
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
1
0
0
0
0
0
0
0
0
1
91dbd76ebb4a6ee074d9e41d9b7337c54be487ec
1,748
py
Python
data_structure/stack_and_queue/494. Target Sum_ Medium.py
JunzhongLin/leetcode_practice
47b2f5cc3c87de004ae21a94024e751b40b8f559
[ "MIT" ]
null
null
null
data_structure/stack_and_queue/494. Target Sum_ Medium.py
JunzhongLin/leetcode_practice
47b2f5cc3c87de004ae21a94024e751b40b8f559
[ "MIT" ]
null
null
null
data_structure/stack_and_queue/494. Target Sum_ Medium.py
JunzhongLin/leetcode_practice
47b2f5cc3c87de004ae21a94024e751b40b8f559
[ "MIT" ]
null
null
null
''' You are given an integer array nums and an integer target. You want to build an expression out of nums by adding one of the symbols '+' and '-' before each integer in nums and then concatenate all the integers. For example, if nums = [2, 1], you can add a '+' before 2 and a '-' before 1 and concatenate them to bu...
34.96
151
0.529748
223
1,748
4.085202
0.340807
0.076839
0.065862
0.070252
0.193194
0.140505
0.140505
0.140505
0.140505
0.076839
0
0.034234
0.364989
1,748
50
152
34.96
0.786486
0.276316
0
0.142857
0
0
0
0
0
0
0
0
0
1
0.035714
false
0
0.035714
0
0.142857
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
91dd1a3b5de5801e9e8baf1d02a035b6853b1ad3
3,733
py
Python
fixtrack/frontend/pickable_markers.py
os-gabe/fixtrack
a0af4dfa9342acc0ba05c0249a32806c825b74b2
[ "MIT" ]
null
null
null
fixtrack/frontend/pickable_markers.py
os-gabe/fixtrack
a0af4dfa9342acc0ba05c0249a32806c825b74b2
[ "MIT" ]
null
null
null
fixtrack/frontend/pickable_markers.py
os-gabe/fixtrack
a0af4dfa9342acc0ba05c0249a32806c825b74b2
[ "MIT" ]
1
2022-03-25T04:26:36.000Z
2022-03-25T04:26:36.000Z
import numpy as np from fixtrack.frontend.pickable_base import PickableBase from vispy import scene class PickableMarkers(PickableBase): """ Markers that can highlight on hover and be selected """ class State(PickableBase.State): def __init__(self, **kwargs): super(PickableMarker...
33.936364
94
0.587731
462
3,733
4.450216
0.203463
0.091926
0.047665
0.034047
0.291342
0.197471
0.177043
0.154669
0.120623
0.058366
0
0.013303
0.295205
3,733
109
95
34.247706
0.768149
0.013662
0
0.213483
0
0
0.015821
0
0
0
0
0
0
1
0.134831
false
0
0.033708
0.011236
0.235955
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
91dedad5ac38b05af586adadc029baeb5dbdb36c
2,242
py
Python
examples/blocking_subscribe.py
FFY00/jeepney
293241a54fbb73581755e97191720ed1603aed34
[ "MIT" ]
null
null
null
examples/blocking_subscribe.py
FFY00/jeepney
293241a54fbb73581755e97191720ed1603aed34
[ "MIT" ]
null
null
null
examples/blocking_subscribe.py
FFY00/jeepney
293241a54fbb73581755e97191720ed1603aed34
[ "MIT" ]
null
null
null
""" Example of subscribing to a D-Bus signal using blocking I/O. This subscribes to the signal for a desktop notification being closed. To try it, start this script, then trigger a desktop notification, and close it somehow to trigger the signal. Use Ctrl-C to stop the script. This example relies on the ``org.freedes...
34.492308
88
0.752007
298
2,242
5.583893
0.459732
0.033654
0.064904
0.033654
0.055288
0
0
0
0
0
0
0.002101
0.150758
2,242
64
89
35.03125
0.871849
0.460303
0
0.121212
0
0
0.17938
0.073764
0
0
0
0
0
1
0.030303
false
0.030303
0.090909
0
0.121212
0.060606
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
91dfcb96d3cfa72fba7a82aeea1a69a09b3627d9
126
py
Python
test.py
league3236/shholiday
54d0fcfd393d09183cd77cab697f5bc60864b314
[ "MIT" ]
null
null
null
test.py
league3236/shholiday
54d0fcfd393d09183cd77cab697f5bc60864b314
[ "MIT" ]
null
null
null
test.py
league3236/shholiday
54d0fcfd393d09183cd77cab697f5bc60864b314
[ "MIT" ]
null
null
null
from shholiday import holiday2020 as hd daytuple = (1,1) nowholiday = hd.holiday2020() print(nowholiday.is_holiday(daytuple))
25.2
39
0.793651
17
126
5.823529
0.705882
0
0
0
0
0
0
0
0
0
0
0.088496
0.103175
126
5
40
25.2
0.787611
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
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
0
0
0
0
0
0
0
2
91e036fe4dd0d56410bf8828136484d3650838c6
740
py
Python
setup.py
dalejung/pandas-composition
e73e5295b2d2f44f09805dcf06db12108c555197
[ "MIT" ]
5
2015-04-08T20:58:25.000Z
2018-04-22T00:10:44.000Z
setup.py
dalejung/pandas-composition
e73e5295b2d2f44f09805dcf06db12108c555197
[ "MIT" ]
null
null
null
setup.py
dalejung/pandas-composition
e73e5295b2d2f44f09805dcf06db12108c555197
[ "MIT" ]
null
null
null
from distutils.core import setup DISTNAME='pandas_composition' FULLVERSION='0.1' ...
67.272727
94
0.172973
19
740
6.631579
0.736842
0.269841
0
0
0
0
0
0
0
0
0
0.013514
0.8
740
10
95
74
0.837838
0
0
0
0
0
0.052703
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
91e12d660ef7f4298457f9dc8c2b1a07e4f99285
404
py
Python
blog/migrations/0005_title_null.py
encukou/Zpetnovazebnik
0d058fd67049a3d42814b04486bde93bc406fa3b
[ "MIT" ]
1
2019-12-04T10:10:53.000Z
2019-12-04T10:10:53.000Z
blog/migrations/0005_title_null.py
encukou/Zpetnovazebnik
0d058fd67049a3d42814b04486bde93bc406fa3b
[ "MIT" ]
14
2019-04-07T07:46:07.000Z
2022-03-11T23:44:31.000Z
blog/migrations/0005_title_null.py
encukou/Zpetnovazebnik
0d058fd67049a3d42814b04486bde93bc406fa3b
[ "MIT" ]
1
2019-02-16T09:25:51.000Z
2019-02-16T09:25:51.000Z
# Generated by Django 2.1.7 on 2019-02-27 14:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0004_longer_password'), ] operations = [ migrations.AlterField( model_name='session', name='title', ...
21.263158
74
0.601485
45
404
5.311111
0.844444
0
0
0
0
0
0
0
0
0
0
0.075601
0.279703
404
18
75
22.444444
0.745704
0.111386
0
0
1
0
0.10084
0
0
0
0
0
0
1
0
false
0.083333
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
91e1834b8771a7ae37346ead4e29d9b3101da09b
917
py
Python
setup.py
Kuba77/Xian-DB
2f15ef1b9b7a96c21bd46e9fb8481de6feb713b7
[ "MIT" ]
1
2016-10-22T21:04:09.000Z
2016-10-22T21:04:09.000Z
setup.py
Kuba77/Xian-DB
2f15ef1b9b7a96c21bd46e9fb8481de6feb713b7
[ "MIT" ]
null
null
null
setup.py
Kuba77/Xian-DB
2f15ef1b9b7a96c21bd46e9fb8481de6feb713b7
[ "MIT" ]
null
null
null
from setuptools import setup from codecs import open from os import path here = path.abspath(path.dirname(__file__)) with open(path.join(here, 'README.rst'), encoding='utf-8') as f: long_description = f.read() setup( name='xiandb', version='0.2.0', description='A database model for Xian', long_d...
21.325581
64
0.641221
106
917
5.45283
0.698113
0.077855
0
0
0
0
0
0
0
0
0
0.012465
0.21265
917
42
65
21.833333
0.788089
0
0
0
0
0
0.393675
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
91e197a6aad024d05c47c68f4923bef335ff491f
4,993
py
Python
yolo3/focal_loss.py
ashishpatel26/tf2-yolo3
38814178643eb8e1f8b5e4fe8d448faed44ad574
[ "Apache-2.0" ]
43
2019-12-08T15:05:53.000Z
2022-03-20T13:38:07.000Z
yolo3/focal_loss.py
1911590204/tf2-yolo3
38814178643eb8e1f8b5e4fe8d448faed44ad574
[ "Apache-2.0" ]
3
2020-05-18T11:20:15.000Z
2021-02-26T01:11:04.000Z
yolo3/focal_loss.py
1911590204/tf2-yolo3
38814178643eb8e1f8b5e4fe8d448faed44ad574
[ "Apache-2.0" ]
15
2019-12-25T01:44:29.000Z
2022-01-18T08:45:49.000Z
from functools import partial import tensorflow as tf _EPSILON = tf.keras.backend.epsilon() def register_keras_custom_object(cls): tf.keras.utils.get_custom_objects()[cls.__name__] = cls return cls def binary_focal_loss(y_true, y_pred, gamma, *, pos_weight=None, from_logits=False, label_smoothing=None): ...
36.985185
106
0.616263
631
4,993
4.59271
0.183835
0.115942
0.038647
0.048309
0.360594
0.304693
0.204969
0.184955
0.184955
0.184955
0
0.003441
0.301622
4,993
135
107
36.985185
0.827646
0.070298
0
0.216495
0
0
0
0
0
0
0
0
0
1
0.082474
false
0
0.020619
0.010309
0.206186
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
91e197bc72174a007b45ebf73223d69beb79eca0
13,808
py
Python
characters/models/characters.py
Sult/evetool
155db9f3b0ecc273fe3c75daf8f9c6f37cb3e47f
[ "MIT" ]
null
null
null
characters/models/characters.py
Sult/evetool
155db9f3b0ecc273fe3c75daf8f9c6f37cb3e47f
[ "MIT" ]
null
null
null
characters/models/characters.py
Sult/evetool
155db9f3b0ecc273fe3c75daf8f9c6f37cb3e47f
[ "MIT" ]
null
null
null
import time from collections import OrderedDict from datetime import datetime, timedelta from django.db import models from django.conf import settings from django.utils.timezone import utc from .skills import Skill, SkillGroup from metrics.models import Corporation from tasks.models import EveApiCache, Task from evet...
33.596107
79
0.571915
1,308
13,808
5.930428
0.212538
0.029006
0.013923
0.019337
0.284388
0.223153
0.1926
0.178935
0.148769
0.137166
0
0.014466
0.339151
13,808
410
80
33.678049
0.835616
0.069308
0
0.253086
0
0
0.042214
0.005472
0
0
0
0
0
1
0.061728
false
0.003086
0.033951
0.012346
0.253086
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
91e3f480fdcbf40fb3a62c946e3ea8b2a208638d
92
py
Python
webex_assistant_sdk/templates/mindmeld_template/{{cookiecutter.skill_name}}/{{cookiecutter.skill_name}}/__init__.py
sachanacar/webex-assistant-sdk
bb0f1ad16973cfa5784d7d887381229fab01effa
[ "Apache-2.0" ]
null
null
null
webex_assistant_sdk/templates/mindmeld_template/{{cookiecutter.skill_name}}/{{cookiecutter.skill_name}}/__init__.py
sachanacar/webex-assistant-sdk
bb0f1ad16973cfa5784d7d887381229fab01effa
[ "Apache-2.0" ]
null
null
null
webex_assistant_sdk/templates/mindmeld_template/{{cookiecutter.skill_name}}/{{cookiecutter.skill_name}}/__init__.py
sachanacar/webex-assistant-sdk
bb0f1ad16973cfa5784d7d887381229fab01effa
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from {{cookiecutter.skill_name}}.root import app __all__ = ['app']
18.4
48
0.641304
12
92
4.5
0.916667
0
0
0
0
0
0
0
0
0
0
0.012658
0.141304
92
4
49
23
0.670886
0.228261
0
0
0
0
0.043478
0
0
0
0
0
0
0
null
null
0
0.5
null
null
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
1
0
0
0
1
0
0
0
0
4
91e4401665d568cd4d6102a4a69c6d2f7668744f
602
py
Python
backend/api/v1/dialogs/urls.py
donicrazy/ChatApp
ab129a9c0706bbb972cbce43283ba6e06d144635
[ "MIT" ]
null
null
null
backend/api/v1/dialogs/urls.py
donicrazy/ChatApp
ab129a9c0706bbb972cbce43283ba6e06d144635
[ "MIT" ]
7
2021-03-19T04:47:13.000Z
2022-01-13T02:02:46.000Z
backend/api/v1/dialogs/urls.py
donicrazy/ChatApp
ab129a9c0706bbb972cbce43283ba6e06d144635
[ "MIT" ]
null
null
null
from django.urls import path from backend.api.v1.dialogs.views import ( DialogListCreateView, DialogRetrieveUpdateDestroyAPIView, DialogMembershipListCreateView, DialogMessageListCreateView, DialogMessageRetrieveUpdateDestroyAPIView, ) urlpatterns = [ path('', DialogListCreateView.as_view()), ...
35.411765
83
0.770764
45
602
10.2
0.488889
0.065359
0.087146
0.078431
0
0
0
0
0
0
0
0.001876
0.114618
602
16
84
37.625
0.859287
0
0
0
0
0
0.074751
0
0
0
0
0
0
1
0
false
0
0.133333
0
0.133333
0
0
0
1
null
0
0
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
0
0
0
0
0
0
0
1
91e4a887944adf9f3a04214dd378ac72dc05e86a
2,100
py
Python
biomaj2galaxy/commands/init.py
genouest/biomaj2galaxy
8c76f3cc96902d9401a03e7b1a6cd8f4a7ba17bd
[ "MIT" ]
1
2015-05-11T00:08:24.000Z
2015-05-11T00:08:24.000Z
biomaj2galaxy/commands/init.py
genouest/biomaj2galaxy
8c76f3cc96902d9401a03e7b1a6cd8f4a7ba17bd
[ "MIT" ]
5
2019-04-15T16:09:50.000Z
2020-11-24T10:35:21.000Z
biomaj2galaxy/commands/init.py
genouest/biomaj2galaxy
8c76f3cc96902d9401a03e7b1a6cd8f4a7ba17bd
[ "MIT" ]
3
2015-06-14T08:33:49.000Z
2020-10-16T09:07:21.000Z
# coding: utf-8 from __future__ import absolute_import from __future__ import division from __future__ import print_function import os from bioblend import galaxy from biomaj2galaxy import config, pass_context from biomaj2galaxy.io import info, warn import click CONFIG_TEMPLATE = """## BioMAJ2Galaxy: Global Confi...
29.166667
121
0.65381
264
2,100
5.056818
0.484848
0.052434
0.035955
0.049438
0.029963
0
0
0
0
0
0
0.005703
0.248571
2,100
71
122
29.577465
0.840304
0.06381
0
0.039216
0
0
0.342186
0
0
0
0
0
0
1
0.019608
false
0.039216
0.156863
0
0.215686
0.019608
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
91e4f118680c4b4128c740a76beaad48599ab626
848
py
Python
datamart/tests/test_Dimension.py
josemrsantos/zoopla_datamart
f3a3af8071199deeb712d1814aecb6cc3cd88d57
[ "MIT" ]
1
2016-02-01T20:27:25.000Z
2016-02-01T20:27:25.000Z
datamart/tests/test_Dimension.py
josemrsantos/zoopla_datamart
f3a3af8071199deeb712d1814aecb6cc3cd88d57
[ "MIT" ]
null
null
null
datamart/tests/test_Dimension.py
josemrsantos/zoopla_datamart
f3a3af8071199deeb712d1814aecb6cc3cd88d57
[ "MIT" ]
null
null
null
from ..datamart import * def test_create_dimension(): dimension = Dimension("test_dimension") assert dimension.is_degenerate == False def test_create_dimension_insert_2_identical_lines(): ''' with 2 identical lines, only one gets stored ''' dimension = Dimension("test_dimension") dimension.add...
33.92
69
0.732311
99
848
6.040404
0.313131
0.180602
0.100334
0.110368
0.670569
0.576923
0.576923
0.448161
0.304348
0.304348
0
0.015493
0.162736
848
24
70
35.333333
0.826761
0.128538
0
0.411765
1
0
0.087379
0
0
0
0
0
0.294118
1
0.176471
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
91e5db16db7c305afa819a65e2ba7480fc9d4276
4,700
py
Python
preprocessing/convert_formats/msmarco_doc_create_train_input.py
PranjaliJain/matchmaker
b7e22eb8b70cccabf0729076df7cbab3f4ba4a1f
[ "Apache-2.0" ]
97
2021-07-11T14:34:40.000Z
2022-03-31T14:17:25.000Z
preprocessing/convert_formats/msmarco_doc_create_train_input.py
PranjaliJain/matchmaker
b7e22eb8b70cccabf0729076df7cbab3f4ba4a1f
[ "Apache-2.0" ]
12
2021-07-11T13:03:23.000Z
2022-03-02T16:07:11.000Z
preprocessing/convert_formats/msmarco_doc_create_train_input.py
PranjaliJain/matchmaker
b7e22eb8b70cccabf0729076df7cbab3f4ba4a1f
[ "Apache-2.0" ]
16
2019-12-23T01:22:35.000Z
2021-06-23T12:54:36.000Z
# # msmarco doc: create the train.tsv triples # ------------------------------- import random random.seed(42) import argparse import os import sys from tqdm import tqdm sys.path.append(os.getcwd()) from matchmaker.evaluation.msmarco_eval import * from collections import defaultdict from matchmaker.dataloaders.blin...
33.098592
154
0.636809
592
4,700
4.866554
0.275338
0.024297
0.035404
0.036446
0.287053
0.190559
0.155502
0.088164
0.088164
0.019438
0
0.018806
0.219362
4,700
142
155
33.098592
0.766421
0.268298
0
0.086957
0
0
0.122275
0
0
0
0
0
0.028986
1
0
false
0
0.115942
0
0.115942
0.014493
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
91e6679035e0b02c68e5fa8e7ebbce0f267caee0
13,748
py
Python
tests/communities/test_reply.py
powerblossom/workcloud
fd943220366ebeadfa90c59fc395f84a734b5686
[ "MIT" ]
1
2019-10-18T05:57:13.000Z
2019-10-18T05:57:13.000Z
tests/communities/test_reply.py
powerblossom/workcloud
fd943220366ebeadfa90c59fc395f84a734b5686
[ "MIT" ]
11
2019-12-02T13:59:22.000Z
2021-04-24T08:52:19.000Z
tests/communities/test_reply.py
powerblossom/workcloud
fd943220366ebeadfa90c59fc395f84a734b5686
[ "MIT" ]
null
null
null
from core.response import Response from communities.tests import TestCase class ReplyPermissionTest(TestCase): def setUp(self): self.create_user(is_staff=True) def test_permission_reply_all(self): self.create_forum() self.create_thread() thread_id = self.thread.id res...
28.404959
71
0.485598
1,432
13,748
4.511872
0.052374
0.054171
0.114533
0.13744
0.914564
0.898158
0.877418
0.839189
0.817521
0.799567
0
0.018122
0.385874
13,748
483
72
28.463768
0.747128
0
0
0.603774
0
0
0.140311
0.084812
0
0
0
0
0.091981
1
0.028302
false
0
0.004717
0
0.040094
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
91e82476dc55d0591c20d0a5e9975a53641bca72
6,711
py
Python
examples/Word2Vec_AverageVectorsTuto.py
noiseux1523/Deep-Belief-Network
6eb364a85fb128a33c539e5e414ef451f24e499d
[ "MIT" ]
1
2019-08-20T12:13:34.000Z
2019-08-20T12:13:34.000Z
examples/Word2Vec_AverageVectorsTuto.py
noiseux1523/Deep-Belief-Network
6eb364a85fb128a33c539e5e414ef451f24e499d
[ "MIT" ]
null
null
null
examples/Word2Vec_AverageVectorsTuto.py
noiseux1523/Deep-Belief-Network
6eb364a85fb128a33c539e5e414ef451f24e499d
[ "MIT" ]
null
null
null
# Author: Angela Chapman # Date: 8/6/2014 # # This file contains code to accompany the Kaggle tutorial # "Deep learning goes to the movies". The code in this file # is for Parts 2 and 3 of the tutorial, which cover how to # train a model using Word2Vec. # # *************************************** # # ****** Re...
37.915254
118
0.670094
848
6,711
5.220519
0.336085
0.022363
0.018071
0.007454
0.121075
0.109781
0.094421
0.062345
0.062345
0.029365
0
0.016003
0.236477
6,711
177
119
37.915254
0.84797
0.336463
0
0.048193
0
0
0.170927
0.031721
0
0
0
0
0
0
null
null
0
0.108434
null
null
0.108434
0
0
0
null
0
0
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
1
0
0
0
0
0
0
0
0
1
91e8cdd7e37d12c63565c41b5269a325281584b2
36
py
Python
src/phl_budget_data/etl/qcmr/positions/__init__.py
PhiladelphiaController/phl-budget-data
438999017b8659de5bfb223a038f49fe6fd4a83a
[ "MIT" ]
null
null
null
src/phl_budget_data/etl/qcmr/positions/__init__.py
PhiladelphiaController/phl-budget-data
438999017b8659de5bfb223a038f49fe6fd4a83a
[ "MIT" ]
null
null
null
src/phl_budget_data/etl/qcmr/positions/__init__.py
PhiladelphiaController/phl-budget-data
438999017b8659de5bfb223a038f49fe6fd4a83a
[ "MIT" ]
null
null
null
from .core import FullTimePositions
18
35
0.861111
4
36
7.75
1
0
0
0
0
0
0
0
0
0
0
0
0.111111
36
1
36
36
0.96875
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
91e914734fc05c34e408967e2c372a75de766234
1,207
py
Python
sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/models/search_get_schema_response.py
tzhanl/azure-sdk-for-python
18cd03f4ab8fd76cc0498f03e80fbc99f217c96e
[ "MIT" ]
1
2021-09-07T18:36:04.000Z
2021-09-07T18:36:04.000Z
sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/models/search_get_schema_response.py
tzhanl/azure-sdk-for-python
18cd03f4ab8fd76cc0498f03e80fbc99f217c96e
[ "MIT" ]
2
2019-10-02T23:37:38.000Z
2020-10-02T01:17:31.000Z
sdk/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics/models/search_get_schema_response.py
tzhanl/azure-sdk-for-python
18cd03f4ab8fd76cc0498f03e80fbc99f217c96e
[ "MIT" ]
1
2019-06-17T22:18:23.000Z
2019-06-17T22:18:23.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
36.575758
76
0.610605
122
1,207
5.959016
0.631148
0.024759
0.057772
0.074278
0
0
0
0
0
0
0
0.00099
0.163215
1,207
32
77
37.71875
0.718812
0.591549
0
0
0
0
0.188184
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.4
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
91ebeac4c8302d86c1514c58ecbae0f104ee5904
1,332
py
Python
python/ds/spiralprint.py
unhingedporter/DataStructureMustKnow
3c5b3225afa2775d37a2ff90121f73208717640a
[ "MIT" ]
3
2019-11-23T08:43:58.000Z
2019-11-23T08:52:53.000Z
python/ds/spiralprint.py
unhingedpotter/DSMustKnow
64958cbbbb3f4cdb1104c2255e555233554503f9
[ "MIT" ]
null
null
null
python/ds/spiralprint.py
unhingedpotter/DSMustKnow
64958cbbbb3f4cdb1104c2255e555233554503f9
[ "MIT" ]
null
null
null
# Python3 program to print # given matrix in spiral form def spiralPrint(m, n, a): start_row_index = 0 start_col_index = 0 l = 0 ''' start_row_index - starting row index m - ending row index start_col_index - starting column index n - ending column index i - iterator ''' while (start...
22.965517
61
0.534535
203
1,332
3.349754
0.295567
0.117647
0.152941
0.064706
0.286765
0
0
0
0
0
0
0.052144
0.352102
1,332
57
62
23.368421
0.735805
0.187688
0
0
0
0
0.004367
0
0
0
0
0
0
1
0.04
false
0
0
0
0.04
0.16
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
91ed3db43e489e433ff783f8e76e26a52b78a6d5
568
py
Python
rest-api/routers/authorization.py
marintrace/backend
ad34bd50bd5e3f90be1ac16a74d39a0a9342fa33
[ "MIT" ]
2
2021-12-14T03:14:41.000Z
2022-01-17T18:36:31.000Z
rest-api/routers/authorization.py
marintrace/backend
ad34bd50bd5e3f90be1ac16a74d39a0a9342fa33
[ "MIT" ]
1
2021-03-29T08:06:42.000Z
2021-03-29T08:06:42.000Z
rest-api/routers/authorization.py
tracing-app/backend
ad34bd50bd5e3f90be1ac16a74d39a0a9342fa33
[ "MIT" ]
null
null
null
""" Authorization Utilities """ from shared.models.user_entities import User from shared.service.jwt_auth_wrapper import JWTAuthManager manager = JWTAuthManager(oidc_vault_secret="oidc/rest", object_creator=lambda claims, assumed_role, user_roles: User( first_name=...
35.5
86
0.572183
54
568
5.740741
0.611111
0.064516
0
0
0
0
0
0
0
0
0
0
0.34507
568
15
87
37.866667
0.833333
0.040493
0
0
0
0
0.065177
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
91ee06a1881d10f22e7c8d7c219f9ef37412d52d
1,365
py
Python
photonpy/tests/psf_g2d_sigma.py
qnano/photonpy
9c03a1c9f4c2177c9c6fb3f2f16dfec2306006d4
[ "MIT" ]
5
2021-04-29T21:06:05.000Z
2022-03-23T03:45:25.000Z
photonpy/tests/psf_g2d_sigma.py
qnano/photonpy
9c03a1c9f4c2177c9c6fb3f2f16dfec2306006d4
[ "MIT" ]
null
null
null
photonpy/tests/psf_g2d_sigma.py
qnano/photonpy
9c03a1c9f4c2177c9c6fb3f2f16dfec2306006d4
[ "MIT" ]
1
2021-06-18T12:39:28.000Z
2021-06-18T12:39:28.000Z
import matplotlib.pyplot as plt import numpy as np from photonpy.cpp.context import Context import photonpy.cpp.gaussian as gaussian from photonpy.smlm.util import imshow_hstack from photonpy.cpp.estimator import Estimator def CheckDeriv(psf:Estimator, theta): nderiv,ev=psf.NumDeriv(theta,eps=1e-6) deriv,ev=p...
26.764706
106
0.606593
181
1,365
4.502762
0.375691
0.058896
0.03681
0.051534
0
0
0
0
0
0
0
0.025896
0.264469
1,365
51
107
26.764706
0.785857
0.015385
0
0.060606
0
0.030303
0.114865
0.018769
0
0
0
0
0
1
0.030303
false
0
0.181818
0
0.212121
0.121212
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
91ee64a13c556aefe5259d2a930de14c6c79472f
2,018
py
Python
tests/tools_tests/helpers_tests.py
Gautierhyp/tespy
d44ae41874baeff77619e560faea59dd0cb84c7c
[ "MIT" ]
null
null
null
tests/tools_tests/helpers_tests.py
Gautierhyp/tespy
d44ae41874baeff77619e560faea59dd0cb84c7c
[ "MIT" ]
null
null
null
tests/tools_tests/helpers_tests.py
Gautierhyp/tespy
d44ae41874baeff77619e560faea59dd0cb84c7c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 """Module for testing helper functions. This file is part of project TESPy (github.com/oemof/tespy). It's copyrighted by the contributors recorded in the version control history of the file, available from its original location tests/tools_tests/helpers_tests.py SPDX-License-Identifier: MIT """ ...
32.548387
78
0.646184
305
2,018
4.245902
0.357377
0.083398
0.049421
0.064865
0.518919
0.518919
0.518919
0.455598
0.455598
0.364479
0
0.040883
0.236373
2,018
61
79
33.081967
0.799481
0.32557
0
0.24
0
0
0.349352
0
0
0
0
0
0
1
0.12
false
0
0.08
0.08
0.28
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
91eebd9cfe8ecc166ed16501e2c6d724f724535d
4,110
py
Python
theory/model/form.py
ralfonso/theory
41684969313cfc545d74b306e409fd5bf21387b3
[ "MIT" ]
4
2015-07-03T19:53:59.000Z
2016-04-25T03:03:56.000Z
theory/model/form.py
ralfonso/theory
41684969313cfc545d74b306e409fd5bf21387b3
[ "MIT" ]
null
null
null
theory/model/form.py
ralfonso/theory
41684969313cfc545d74b306e409fd5bf21387b3
[ "MIT" ]
2
2020-03-29T22:02:29.000Z
2021-07-13T07:17:19.000Z
import formencode import pylons from pylons import app_globals as g class OutputSchema(formencode.Schema): allow_extra_fields = False enabled = formencode.validators.Int() class ConfigForm(formencode.Schema): allow_extra_fields = True filter_extra_fields = True #pre_validators = [formencode.Nest...
42.8125
139
0.682968
503
4,110
5.435388
0.324056
0.12436
0.095099
0.07425
0.287125
0.243599
0.163862
0.154353
0.154353
0.078274
0
0.003728
0.216788
4,110
95
140
43.263158
0.845604
0.051095
0
0.063492
0
0
0.087419
0
0
0
0
0
0
0
null
null
0.031746
0.047619
null
null
0.031746
0
0
0
null
0
0
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
1
0
0
0
0
0
0
0
0
1
91eed42dd8cd7828f31d4494c0f4f389955bf685
8,960
py
Python
utils/dynamo.py
OnRails-IN/backend
5f5c9703fcda282ed54f2e6315680fb30fd91a6f
[ "MIT" ]
null
null
null
utils/dynamo.py
OnRails-IN/backend
5f5c9703fcda282ed54f2e6315680fb30fd91a6f
[ "MIT" ]
null
null
null
utils/dynamo.py
OnRails-IN/backend
5f5c9703fcda282ed54f2e6315680fb30fd91a6f
[ "MIT" ]
null
null
null
""" Dynamo Utils ============ All utility functions for interactions with DynamoDB Functions - ensure_json - create_user_table - create_or_update_record - list_tables - list_records - get_record - delete_table - delete_record - check_active """ import boto3 from decimal import Deci...
24.888889
76
0.547098
930
8,960
5.174194
0.147312
0.038861
0.035328
0.087905
0.633001
0.54946
0.504988
0.446384
0.432668
0.432668
0
0.0023
0.369196
8,960
360
77
24.888889
0.84908
0.226674
0
0.583732
0
0
0.142486
0.010549
0
0
0
0
0
1
0.047847
false
0
0.014354
0
0.253589
0.090909
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
91eee874c4335dfd997cd3ef3e9c2d23c76e47b1
26
py
Python
cloudcms/branch/__init__.py
gitana/cloudcms-python-driver
8685c634880c1a6af6f359f1a25de42dcf49f319
[ "Apache-2.0" ]
null
null
null
cloudcms/branch/__init__.py
gitana/cloudcms-python-driver
8685c634880c1a6af6f359f1a25de42dcf49f319
[ "Apache-2.0" ]
null
null
null
cloudcms/branch/__init__.py
gitana/cloudcms-python-driver
8685c634880c1a6af6f359f1a25de42dcf49f319
[ "Apache-2.0" ]
null
null
null
from .branch import Branch
26
26
0.846154
4
26
5.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.115385
26
1
26
26
0.956522
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
91ef6e454e8d3a02bbbb8495426f9e53729bb9c8
30
py
Python
test2/test2.py
kubatom/my_nemtiko_repo
842a303ae120d871623c267ea76c2353d70b2fce
[ "Apache-2.0" ]
null
null
null
test2/test2.py
kubatom/my_nemtiko_repo
842a303ae120d871623c267ea76c2353d70b2fce
[ "Apache-2.0" ]
null
null
null
test2/test2.py
kubatom/my_nemtiko_repo
842a303ae120d871623c267ea76c2353d70b2fce
[ "Apache-2.0" ]
null
null
null
print('this is a test2 file')
15
29
0.7
6
30
3.5
1
0
0
0
0
0
0
0
0
0
0
0.04
0.166667
30
1
30
30
0.8
0
0
0
0
0
0.666667
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
6
37cd4b6be89839faecee7dd52588398ff12411ba
247
py
Python
src/compas_blender/forms/__init__.py
yijiangh/compas
a9e86edf6b602f47ca051fccedcaa88a5e5d3600
[ "MIT" ]
1
2019-03-27T22:32:56.000Z
2019-03-27T22:32:56.000Z
src/compas_blender/forms/__init__.py
yijiangh/compas
a9e86edf6b602f47ca051fccedcaa88a5e5d3600
[ "MIT" ]
null
null
null
src/compas_blender/forms/__init__.py
yijiangh/compas
a9e86edf6b602f47ca051fccedcaa88a5e5d3600
[ "MIT" ]
null
null
null
""" ******************************************************************************** compas_blender.forms ******************************************************************************** .. currentmodule:: compas_blender.forms """ __all__ = []
22.454545
80
0.234818
8
247
6.5
0.625
0.5
0.692308
0
0
0
0
0
0
0
0
0
0.05668
247
10
81
24.7
0.223176
0.902834
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
37cd97b1c214ca81d9e46e1e2c07bc9bb82f06f0
340
py
Python
Source/Git/Experiments/git_annotate.py
cadappl/scm-workbench
302cdb8e36bb755f4977062e8977c37e7f4491f9
[ "Apache-2.0" ]
24
2017-03-23T06:24:02.000Z
2022-03-19T13:35:44.000Z
Source/Git/Experiments/git_annotate.py
cadappl/scm-workbench
302cdb8e36bb755f4977062e8977c37e7f4491f9
[ "Apache-2.0" ]
14
2016-06-21T10:06:27.000Z
2020-07-25T11:56:23.000Z
Source/Git/Experiments/git_annotate.py
barry-scott/git-workbench
9f352875ab097ce5e45f85bf255b1fa02a196807
[ "Apache-2.0" ]
11
2016-12-25T12:36:16.000Z
2022-03-23T14:25:25.000Z
#!/usr/bin/python3 import sys import git r = git.Repo( sys.argv[1] ) num = 0 for info in r.blame( 'HEAD', sys.argv[2] ): num += 1 commit = info[0] all_lines = info[1] print( '%s %6d:%s' % (commit, num, all_lines[0]) ) for line in all_lines[1:]: num += 1 print( '%*s %6d:%s' % (4...
17
54
0.517647
57
340
3.035088
0.45614
0.138728
0.080925
0.104046
0.115607
0
0
0
0
0
0
0.057143
0.279412
340
19
55
17.894737
0.64898
0.05
0
0.166667
0
0
0.071429
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
37cf805b2f12051ac4eca05f7ae1c89c1a8dc059
544
py
Python
configs/global_configs.py
HansikaPH/time-series-forecasting
23be319a190489bc1464653a3d672edd70ab110b
[ "MIT" ]
67
2019-09-09T14:53:35.000Z
2022-02-21T08:51:15.000Z
configs/global_configs.py
HansikaPH/time-series-forecasting
23be319a190489bc1464653a3d672edd70ab110b
[ "MIT" ]
6
2019-09-09T06:11:51.000Z
2019-12-16T04:31:11.000Z
configs/global_configs.py
HansikaPH/time-series-forecasting
23be319a190489bc1464653a3d672edd70ab110b
[ "MIT" ]
18
2019-09-12T02:49:58.000Z
2022-02-16T11:15:57.000Z
# configs for the model training class model_training_configs: VALIDATION_ERRORS_DIRECTORY = 'results/validation_errors/' INFO_FREQ = 1 # configs for the model testing class model_testing_configs: RNN_FORECASTS_DIRECTORY = 'results/rnn_forecasts/' RNN_ERRORS_DIRECTORY = 'results/errors' PROCESSED_R...
30.222222
75
0.799632
66
544
6.212121
0.439394
0.156098
0.063415
0.087805
0
0
0
0
0
0
0
0.008565
0.141544
544
17
76
32
0.869379
0.185662
0
0
0
0
0.216401
0.18451
0
0
0
0
0
1
0
false
0
0
0
1
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
37cf939b241a87e359fb447071196040b0ef99e6
26,714
py
Python
openprocurement/blade/tests/auctions.py
imaginal/openprocurement.blade
4ef512e3d0c1287af1faca9caa9e5349a3c5b0fb
[ "Apache-2.0" ]
null
null
null
openprocurement/blade/tests/auctions.py
imaginal/openprocurement.blade
4ef512e3d0c1287af1faca9caa9e5349a3c5b0fb
[ "Apache-2.0" ]
null
null
null
openprocurement/blade/tests/auctions.py
imaginal/openprocurement.blade
4ef512e3d0c1287af1faca9caa9e5349a3c5b0fb
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import unittest from uuid import uuid4 from copy import deepcopy from openprocurement.api.models import get_now from openprocurement.edge.tests.base import AuctionBaseWebTest, test_award, test_auction_data, test_document, ROUTE_PREFIX try: import openprocurement.auctions.core as auctions_co...
47.960503
145
0.63521
3,189
26,714
5.25149
0.049859
0.154953
0.153819
0.066639
0.911984
0.90255
0.89222
0.881889
0.873828
0.847973
0
0.015606
0.189264
26,714
556
146
48.046763
0.757642
0.004193
0
0.739631
0
0.002304
0.197301
0.058536
0
0
0
0
0.546083
1
0.036866
false
0
0.016129
0
0.062212
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
8
37cfc9903bdf3148211aecc7d83461d403271fff
3,967
py
Python
webium/controls/select.py
kejkz/webium
ccb09876a201e75f5c5810392d4db7a8708b90cb
[ "Apache-2.0" ]
152
2015-01-16T11:26:56.000Z
2022-01-22T12:11:28.000Z
webium/controls/select.py
goblinintree/webium
ccb09876a201e75f5c5810392d4db7a8708b90cb
[ "Apache-2.0" ]
13
2015-03-05T14:36:44.000Z
2018-08-08T09:43:39.000Z
webium/controls/select.py
goblinintree/webium
ccb09876a201e75f5c5810392d4db7a8708b90cb
[ "Apache-2.0" ]
57
2015-01-27T12:53:49.000Z
2022-03-26T23:02:36.000Z
from selenium.common.exceptions import NoSuchElementException from selenium.webdriver.remote.webelement import WebElement class Select(WebElement): """ Implements logic to work with Web List UI elements """ @property def is_multiple(self): value = self.get_attribute('multiple') re...
33.058333
118
0.57575
441
3,967
5.027211
0.244898
0.022102
0.044204
0.03383
0.313938
0.262517
0.18313
0.161479
0.071719
0.051421
0
0.002258
0.330224
3,967
119
119
33.336134
0.832142
0.175952
0
0.150685
0
0
0.057404
0.017613
0
0
0
0
0
1
0.136986
false
0
0.027397
0
0.328767
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
37d1196ce920fb2354298f73f3de4a4a984c7332
12,564
py
Python
mc/cookies/CookieManager.py
zy-sunshine/falkon-pyqt5
bc2b60aa21c9b136439bd57a11f391d68c736f99
[ "MIT" ]
1
2021-04-29T05:36:44.000Z
2021-04-29T05:36:44.000Z
mc/cookies/CookieManager.py
zy-sunshine/falkon-pyqt5
bc2b60aa21c9b136439bd57a11f391d68c736f99
[ "MIT" ]
1
2020-03-28T17:43:18.000Z
2020-03-28T17:43:18.000Z
mc/cookies/CookieManager.py
zy-sunshine/falkon-pyqt5
bc2b60aa21c9b136439bd57a11f391d68c736f99
[ "MIT" ]
1
2021-01-15T20:09:24.000Z
2021-01-15T20:09:24.000Z
from PyQt5.QtWidgets import QDialog from PyQt5 import uic from PyQt5.Qt import Qt from PyQt5.Qt import QShortcut from PyQt5.Qt import QKeySequence from PyQt5.QtWidgets import QMessageBox from PyQt5.QtWidgets import QInputDialog from PyQt5.Qt import QDateTime from PyQt5.Qt import QStyle from PyQt5.Qt import QNetworkCook...
35.897143
103
0.630372
1,240
12,564
6.240323
0.206452
0.062807
0.043422
0.013182
0.256526
0.189325
0.124451
0.059188
0.031791
0.031791
0
0.004501
0.257243
12,564
349
104
36
0.824689
0.046721
0
0.142857
0
0
0.06542
0.006235
0
0
0
0
0
1
0.081633
false
0
0.065306
0.004082
0.208163
0.004082
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
37d161d2ab9998ed2955dcc68be64d87474fc1ce
1,803
py
Python
.circleci/process_submitted_data.py
dongbohu/cimr-d
7d8f7f7319cff0092946a28d1416d38c06e085d7
[ "CC-BY-4.0" ]
null
null
null
.circleci/process_submitted_data.py
dongbohu/cimr-d
7d8f7f7319cff0092946a28d1416d38c06e085d7
[ "CC-BY-4.0" ]
null
null
null
.circleci/process_submitted_data.py
dongbohu/cimr-d
7d8f7f7319cff0092946a28d1416d38c06e085d7
[ "CC-BY-4.0" ]
2
2019-05-22T16:05:54.000Z
2019-05-23T14:29:10.000Z
#!/usr/bin/env python3 import os import sys import logging import subprocess logging.basicConfig(level=logging.INFO) root_dir = 'submitted_data' submitted_file_split = set() for dir_, _, files in os.walk(root_dir): for file_name in files: rel_dir = os.path.relpath(dir_, root_dir) rel_file = os...
31.086207
95
0.585136
217
1,803
4.603687
0.359447
0.117117
0.06006
0.045045
0.16016
0.052052
0.052052
0.052052
0
0
0
0.007414
0.326678
1,803
57
96
31.631579
0.815486
0.011647
0
0
0
0
0.094382
0
0
0
0
0
0
1
0
false
0
0.146341
0
0.146341
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
37d19d97641fbdfe4cfca519ffd963eb1a649c60
469
py
Python
common/enums.py
resourceidea/resourceideaapi
4cc7db98f981d8f2011c1995e23e8a8655e31f75
[ "MIT" ]
1
2020-05-30T22:27:59.000Z
2020-05-30T22:27:59.000Z
common/enums.py
resourceidea/resourceideaapi
4cc7db98f981d8f2011c1995e23e8a8655e31f75
[ "MIT" ]
15
2020-02-11T21:53:08.000Z
2021-11-02T21:20:03.000Z
common/enums.py
resourceidea/resourceideaapi
4cc7db98f981d8f2011c1995e23e8a8655e31f75
[ "MIT" ]
1
2020-08-27T10:57:47.000Z
2020-08-27T10:57:47.000Z
import enum class Status(enum.Enum): """Status enumeration.""" ACTIVE = 'ACTIVE' DISABLED = 'DISABLED' ARCHIVED = 'ARCHIVED' DELETED = 'DELETED' class ProgressStatus(enum.Enum): """Enumeration indicates the different stages of the progress made on an engagement, job or ...
21.318182
50
0.616205
49
469
5.857143
0.612245
0.055749
0
0
0
0
0
0
0
0
0
0
0.277186
469
21
51
22.333333
0.846608
0.24307
0
0
0
0
0.222222
0
0
0
0
0
0
1
0
false
0
0.083333
0
1
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
37d29492156d47c44672b00f04cedb7fbbdcf78e
5,880
py
Python
networks/mobilenet.py
softsys4ai/FlexiBO
1406d67e5bd14d6b7210e724e6b239889f210db6
[ "MIT" ]
8
2020-06-23T07:05:18.000Z
2021-10-24T02:38:14.000Z
networks/mobilenet.py
softsys4ai/FlexiBO
1406d67e5bd14d6b7210e724e6b239889f210db6
[ "MIT" ]
null
null
null
networks/mobilenet.py
softsys4ai/FlexiBO
1406d67e5bd14d6b7210e724e6b239889f210db6
[ "MIT" ]
3
2020-01-06T10:49:12.000Z
2020-04-20T03:26:33.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
35.209581
96
0.671769
799
5,880
4.798498
0.274093
0.039645
0.039124
0.037559
0.321857
0.283255
0.250913
0.242045
0.214398
0.183881
0
0.030847
0.222619
5,880
166
97
35.421687
0.807919
0.277551
0
0.115385
0
0
0.038731
0.008701
0
0
0
0
0
0
null
null
0
0.076923
null
null
0
0
0
0
null
0
0
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
1
0
0
0
0
0
0
0
0
1
37d2de39d6a42eafed34788e36c34749e153b301
500
py
Python
info.py
altfool/mri_face_detection
3117f7f00c98efe2260936146ce6b5454b059672
[ "MIT" ]
1
2021-11-13T02:42:49.000Z
2021-11-13T02:42:49.000Z
info.py
altfool/mri_face_detection
3117f7f00c98efe2260936146ce6b5454b059672
[ "MIT" ]
null
null
null
info.py
altfool/mri_face_detection
3117f7f00c98efe2260936146ce6b5454b059672
[ "MIT" ]
null
null
null
import numpy as np img_dtype = np.float32 imgX, imgY, imgZ = (256, 256, 150) imgs_path_withfaces = '../dataset/withfaces' imgs_path_nofaces = '../dataset/nofaces' imgX_dwt1, imgY_dwt1, imgZ_dwt1 = (128, 128, 75) imgs_path_withfaces_dwt = './dataset/withfaces' imgs_path_nofaces_dwt = './dataset/nofaces' dwt_flag = (...
27.777778
54
0.752
76
500
4.565789
0.342105
0.184438
0.195965
0.138329
0.317003
0.138329
0
0
0
0
0
0.060185
0.136
500
17
55
29.411765
0.743056
0
0
0
0
0
0.148
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0
0
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
0
0
0
0
0
0
0
1
37d34e7f40c00147044227bceb687730996c355b
10,288
py
Python
biggan/paddorch/paddorch/vision/functional.py
zzz2010/Contrib
d351d83da718145cef9f6c98598f7fedc027efe5
[ "Apache-2.0" ]
20
2020-03-13T13:40:32.000Z
2022-03-10T07:31:48.000Z
biggan/paddorch/paddorch/vision/functional.py
zzz2010/Contrib
d351d83da718145cef9f6c98598f7fedc027efe5
[ "Apache-2.0" ]
34
2020-02-20T11:04:58.000Z
2022-03-12T00:54:26.000Z
biggan/paddorch/paddorch/vision/functional.py
zzz2010/Contrib
d351d83da718145cef9f6c98598f7fedc027efe5
[ "Apache-2.0" ]
41
2020-02-14T09:34:39.000Z
2022-03-10T07:31:42.000Z
# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
38.38806
111
0.602061
1,389
10,288
4.403888
0.203024
0.021743
0.012751
0.014713
0.285271
0.222168
0.18751
0.170508
0.145496
0.128494
0
0.026076
0.29549
10,288
268
112
38.38806
0.817881
0.494751
0
0.094828
0
0
0.091272
0
0
0
0
0
0.017241
1
0.043103
false
0
0.060345
0
0.172414
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
37d5209ef3010122c779cf4e6e97b119c2f9a504
14,267
py
Python
ground_battle.py
ashhansen6/minigames
5b2e0db14b3567c9b6220206105ed448fb303551
[ "MIT" ]
null
null
null
ground_battle.py
ashhansen6/minigames
5b2e0db14b3567c9b6220206105ed448fb303551
[ "MIT" ]
3
2021-03-25T02:39:44.000Z
2021-06-16T17:53:36.000Z
ground_battle.py
ashhansen6/minigames
5b2e0db14b3567c9b6220206105ed448fb303551
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Fri Jan 29 13:38:35 2021 GROUND INVASION! The Game @author: Ashton Hansen (ashhansen6@outlook.com) """ # Packages used: import numpy as np import pandas as pd import random as rng from termcolor import colored # Defining starting forces ## Defenders: def_force =...
41.961765
107
0.604892
1,671
14,267
4.968282
0.159186
0.0318
0.021682
0.018791
0.532402
0.460371
0.419778
0.400385
0.385931
0.344977
0
0.021663
0.255835
14,267
339
108
42.085546
0.76029
0.056284
0
0.44964
0
0
0.310276
0.01362
0
0
0
0
0
1
0.014388
false
0.003597
0.014388
0
0.028777
0.370504
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
37d53dc9e4eafc3370db20f7342e6ffdb10aeb9f
24,609
py
Python
src/pretalx/orga/urls.py
martinheidegger/pretalx
d812e665c1c5ce29df3eafc1985af08e4d986fef
[ "Apache-2.0" ]
null
null
null
src/pretalx/orga/urls.py
martinheidegger/pretalx
d812e665c1c5ce29df3eafc1985af08e4d986fef
[ "Apache-2.0" ]
null
null
null
src/pretalx/orga/urls.py
martinheidegger/pretalx
d812e665c1c5ce29df3eafc1985af08e4d986fef
[ "Apache-2.0" ]
null
null
null
from django.conf.urls import include, url from django.views.generic.base import RedirectView from pretalx.event.models.event import SLUG_CHARS from pretalx.orga.views import cards from .views import ( admin, auth, cfp, dashboard, event, mails, organiser, person, plugins, review...
40.54201
91
0.358771
1,657
24,609
5.234762
0.138805
0.08439
0.138344
0.021905
0.420221
0.316117
0.200599
0.068711
0.028706
0.021674
0
0.007509
0.512983
24,609
606
92
40.608911
0.716229
0
0
0.444444
0
0.004975
0.208745
0.113129
0
0
0
0
0
1
0
false
0.004975
0.008292
0
0.008292
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
37d57b222d4daa1969049535271df3dff47b0edb
1,925
py
Python
ws2122-lspm/Lib/site-packages/pm4py/statistics/overlap/utils/compute.py
Malekhy/ws2122-lspm
e4dc8b801d12f862b8ef536a0f125f346f085a00
[ "MIT" ]
1
2022-01-19T04:02:46.000Z
2022-01-19T04:02:46.000Z
ws2122-lspm/Lib/site-packages/pm4py/statistics/overlap/utils/compute.py
Malekhy/ws2122-lspm
e4dc8b801d12f862b8ef536a0f125f346f085a00
[ "MIT" ]
1
2021-11-19T07:21:48.000Z
2021-11-19T07:21:48.000Z
ws2122-lspm/Lib/site-packages/pm4py/statistics/overlap/utils/compute.py
Malekhy/ws2122-lspm
e4dc8b801d12f862b8ef536a0f125f346f085a00
[ "MIT" ]
1
2022-01-14T17:15:38.000Z
2022-01-14T17:15:38.000Z
''' This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de). PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any late...
31.048387
122
0.676883
264
1,925
4.905303
0.488636
0.015444
0.030116
0.044015
0.06332
0.043243
0
0
0
0
0
0.010753
0.227013
1,925
61
123
31.557377
0.859543
0.537143
0
0
0
0
0.008974
0
0
0
0
0
0
1
0.052632
false
0
0.210526
0
0.421053
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
37d597714762fd1b5295ccfa14750529f2501042
1,775
py
Python
webapp/apps/Base Quiz/baseui_gen.py
sk-Prime/webapp
c21d7d49de4e4442f9af29ba9f08f37b5abbd20d
[ "MIT" ]
4
2021-12-11T16:01:10.000Z
2021-12-22T19:47:51.000Z
webapp/apps/Base Quiz/baseui_gen.py
sk-Prime/webapp
c21d7d49de4e4442f9af29ba9f08f37b5abbd20d
[ "MIT" ]
null
null
null
webapp/apps/Base Quiz/baseui_gen.py
sk-Prime/webapp
c21d7d49de4e4442f9af29ba9f08f37b5abbd20d
[ "MIT" ]
null
null
null
from htmlman import HTMLMan from styleman import Template page=HTMLMan() page.make_responsive() page.add_title("Base Quiz") style=Template('antartica') page.add_body_class(style['page']) page.add_js("baseui.js") page.create_section('main',append=True) page['main'].add_style_class(style['main']) title=page.create_sec...
26.102941
73
0.750423
262
1,775
4.843511
0.282443
0.078802
0.120567
0.085106
0.080378
0.044129
0
0
0
0
0
0.010863
0.066479
1,775
68
74
26.102941
0.754979
0.021408
0
0
0
0
0.227404
0.01209
0
0
0.001727
0
0
1
0
false
0
0.04
0
0.04
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
37d5b6f804f5b3c1c18198672cc73bf3cc33a2a6
514
py
Python
cluster_config/cluster.py
srcc-msu/job_statistics
74680a4e4c105ebcff94f089e07fcb44dbcc12d9
[ "MIT" ]
null
null
null
cluster_config/cluster.py
srcc-msu/job_statistics
74680a4e4c105ebcff94f089e07fcb44dbcc12d9
[ "MIT" ]
null
null
null
cluster_config/cluster.py
srcc-msu/job_statistics
74680a4e4c105ebcff94f089e07fcb44dbcc12d9
[ "MIT" ]
null
null
null
name = "cluster" num_cores = 1000 GENERAL_PARTITIONS = ["regular"] GPU_PARTITIONS = ["gpu"] PARTITIONS = GENERAL_PARTITIONS + GPU_PARTITIONS ACTIVE_JOB_STATES = ["RUNNING", "COMPLETING"] FINISHED_JOB_STATES = ["COMPLETED", "NODE_FAIL", "TIMEOUT", "FAILED", "CANCELLED"] JOB_STATES = ACTIVE_JOB_STATES + FINISHED_JOB_...
27.052632
82
0.741245
68
514
5.382353
0.676471
0.122951
0.125683
0
0
0
0
0
0
0
0
0.024499
0.126459
514
18
83
28.555556
0.790646
0.190661
0
0
0
0
0.180929
0
0
0
0
0
0
1
0.1
false
0
0
0
0.2
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
37d62e06868fc1146c429cff23d726ebbfa8afd8
7,146
py
Python
room_assistance/indico_room_assistance/plugin.py
OmeGak/indico-plugins-cern
6e32bc158877080085ceffd021ab1d2247192f75
[ "MIT" ]
4
2019-02-12T05:08:56.000Z
2022-03-09T23:43:18.000Z
room_assistance/indico_room_assistance/plugin.py
OmeGak/indico-plugins-cern
6e32bc158877080085ceffd021ab1d2247192f75
[ "MIT" ]
40
2017-11-08T15:08:50.000Z
2022-03-28T15:09:51.000Z
room_assistance/indico_room_assistance/plugin.py
OmeGak/indico-plugins-cern
6e32bc158877080085ceffd021ab1d2247192f75
[ "MIT" ]
15
2017-11-08T12:35:59.000Z
2022-01-13T15:16:42.000Z
# This file is part of the CERN Indico plugins. # Copyright (C) 2014 - 2021 CERN # # The CERN Indico plugins are free software; you can redistribute # them and/or modify them under the terms of the MIT License; see # the LICENSE file for more details. import dateutil.parser import pytz from flask import flash, request...
52.160584
120
0.645116
773
7,146
5.730919
0.291074
0.088488
0.033183
0.02167
0.185327
0.142889
0.095711
0.095711
0.095711
0.095711
0
0.002135
0.279037
7,146
136
121
52.544118
0.857725
0.04562
0
0.085714
0
0
0.186029
0.046176
0
0
0
0
0
1
0.066667
false
0
0.190476
0.038095
0.428571
0.028571
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
37d69c9affc9004808d91089e961fe9861840f56
6,808
py
Python
datamart/materializers/wikidata_spo_materializer.py
liangmuxin/datamart
495a21588db39c9ad239409208bec701dca07f30
[ "MIT" ]
7
2018-10-02T01:32:23.000Z
2020-10-08T00:42:35.000Z
datamart/materializers/wikidata_spo_materializer.py
liangmuxin/datamart
495a21588db39c9ad239409208bec701dca07f30
[ "MIT" ]
47
2018-10-02T05:41:13.000Z
2021-02-02T21:50:31.000Z
datamart/materializers/wikidata_spo_materializer.py
liangmuxin/datamart
495a21588db39c9ad239409208bec701dca07f30
[ "MIT" ]
19
2018-10-01T22:27:20.000Z
2019-02-28T18:59:53.000Z
from datamart.materializers.materializer_base import MaterializerBase import os import urllib.request import sys import csv import copy import json from typing import List from pprint import pprint import re import typing from pandas import DataFrame import traceback class WikidataSPOMaterializer(MaterializerBase): ...
38.03352
126
0.552732
717
6,808
5.034868
0.225941
0.042382
0.022161
0.018283
0.209972
0.202216
0.184488
0.166205
0.147922
0.147922
0
0.005215
0.324031
6,808
178
127
38.247191
0.779226
0.07829
0
0.153285
0
0
0.084253
0
0
0
0
0
0
1
0.065693
false
0
0.094891
0
0.233577
0.021898
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
37d6ae677936f62a1cad64182feb228714d24c7d
1,402
py
Python
axelrod/load_data_.py
danilobellini/Axelrod
2c9212553e06095c24adcb82a5979279cbdf45fb
[ "MIT" ]
null
null
null
axelrod/load_data_.py
danilobellini/Axelrod
2c9212553e06095c24adcb82a5979279cbdf45fb
[ "MIT" ]
1
2019-01-22T09:59:52.000Z
2019-01-22T09:59:52.000Z
axelrod/load_data_.py
danilobellini/Axelrod
2c9212553e06095c24adcb82a5979279cbdf45fb
[ "MIT" ]
null
null
null
from typing import Dict, List, Tuple import pkg_resources def load_file(filename: str, directory: str) -> List[List[str]]: """Loads a data file stored in the Axelrod library's data subdirectory, likely for parameters for a strategy.""" path = "/".join((directory, filename)) data_bytes = pkg_resources...
31.155556
75
0.601284
198
1,402
4.151515
0.373737
0.036496
0.058394
0.048662
0.121655
0.121655
0.121655
0.121655
0.121655
0.121655
0
0.010329
0.240371
1,402
44
76
31.863636
0.761502
0.110556
0
0.242424
0
0
0.04564
0
0
0
0
0
0
1
0.090909
false
0
0.060606
0
0.242424
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
37d85e09c27d6497523862946e45ed0db97f77b6
5,248
py
Python
prescryptchain/api/views.py
genobank-io/CryptoVault
7c2f6c4c55df7d9e172058aad334a26786ea839f
[ "Apache-2.0" ]
3
2018-05-03T18:40:48.000Z
2019-06-09T19:04:44.000Z
prescryptchain/api/views.py
genobank-io/CryptoVault
7c2f6c4c55df7d9e172058aad334a26786ea839f
[ "Apache-2.0" ]
6
2018-06-27T00:14:46.000Z
2018-10-29T20:51:45.000Z
prescryptchain/api/views.py
genobank-io/CryptoVault
7c2f6c4c55df7d9e172058aad334a26786ea839f
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals # REST from rest_framework.viewsets import ViewSetMixin from rest_framework import routers, serializers, viewsets from rest_framework.authentication import SessionAuthentication, BasicAuthentication, TokenAuthentication from rest_framework.permissions imp...
33.858065
129
0.664444
558
5,248
6.003584
0.284946
0.034925
0.045672
0.018806
0.268358
0.203881
0.159104
0.159104
0.159104
0.125075
0
0.004004
0.238567
5,248
154
130
34.077922
0.834334
0.11109
0
0.280374
0
0
0.102369
0.004564
0
0
0
0
0
1
0.046729
false
0
0.121495
0.018692
0.429907
0.009346
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
37d92a06667232ad4a4f6ca14ad0257dd6a2e56a
2,484
py
Python
client/commands/incremental.py
stvreumi/pyre-check
94d13c8df37b53843ae92544b81042347b64315d
[ "MIT" ]
null
null
null
client/commands/incremental.py
stvreumi/pyre-check
94d13c8df37b53843ae92544b81042347b64315d
[ "MIT" ]
null
null
null
client/commands/incremental.py
stvreumi/pyre-check
94d13c8df37b53843ae92544b81042347b64315d
[ "MIT" ]
null
null
null
# Copyright (c) 2016-present, Facebook, Inc. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import atexit import logging import os import subprocess import sys from typing import List from .command import ClientException, ExitCode, State f...
31.846154
88
0.625201
269
2,484
5.568773
0.416357
0.079439
0.040053
0.052069
0.030708
0.030708
0
0
0
0
0
0.007226
0.275765
2,484
77
89
32.25974
0.825459
0.074477
0
0
0
0
0.092891
0.021805
0
0
0
0
0
1
0.070175
false
0
0.157895
0
0.280702
0.017544
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
37da81bd71be1d388df7554cdc71e1b8d0bef4e9
26,540
py
Python
main_random_policy.py
rish-raghu/Object-Goal-Navigation
d2c882f3a97396c691fc75b46bd94bb7077f7d0f
[ "MIT" ]
null
null
null
main_random_policy.py
rish-raghu/Object-Goal-Navigation
d2c882f3a97396c691fc75b46bd94bb7077f7d0f
[ "MIT" ]
null
null
null
main_random_policy.py
rish-raghu/Object-Goal-Navigation
d2c882f3a97396c691fc75b46bd94bb7077f7d0f
[ "MIT" ]
null
null
null
from collections import deque, defaultdict import os import sys import logging import time import json import gym import torch.nn as nn import torch import numpy as np import matplotlib.pyplot as plt from model import RL_Policy, Semantic_Mapping from utils.storage import GlobalRolloutStorage from envs import make_vec_...
41.020093
132
0.511492
3,339
26,540
3.830488
0.112908
0.036122
0.018765
0.02502
0.503753
0.452619
0.42455
0.395152
0.383425
0.371853
0
0.021995
0.335343
26,540
646
133
41.083591
0.703061
0.117257
0
0.433121
0
0
0.061459
0.010621
0
0
0
0.001548
0
1
0.012739
false
0
0.03397
0
0.050955
0.016985
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
37db93135f06b7cc7a06b9ea9f0839b0af335d54
6,889
py
Python
src/ITN/srmg/core/RiemannianRight.py
Yulv-git/Awesome-Ultrasound-Standard-Plane-Detection
2e35afaa891badf5a235b5d995102e4dc8a4cf0d
[ "MIT" ]
1
2022-03-24T06:54:36.000Z
2022-03-24T06:54:36.000Z
src/ITN/srmg/core/RiemannianRight.py
Yulv-git/Awesome-Ultrasound-Standard-Plane-Detection
2e35afaa891badf5a235b5d995102e4dc8a4cf0d
[ "MIT" ]
null
null
null
src/ITN/srmg/core/RiemannianRight.py
Yulv-git/Awesome-Ultrasound-Standard-Plane-Detection
2e35afaa891badf5a235b5d995102e4dc8a4cf0d
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding=utf-8 ''' Author: Shuangchi He / Yulv Email: yulvchi@qq.com Date: 2022-03-19 10:33:38 Motto: Entities should not be multiplied unnecessarily. LastEditors: Shuangchi He LastEditTime: 2022-03-23 00:52:55 FilePath: /Awesome-Ultrasound-Standard-Plane-Detection/src/ITN/srmg/core/RiemannianRigh...
27.556
108
0.609958
953
6,889
4.408185
0.376705
0.005237
0.015711
0.011426
0.240895
0.197096
0.179243
0.179243
0.179243
0.179243
0
0.034612
0.266076
6,889
249
109
27.666667
0.796282
0.650167
0
0.304348
0
0
0.05653
0
0
0
0
0.024096
0
1
0.130435
false
0
0.057971
0
0.333333
0.057971
0
0
0
null
0
0
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
1
0
0
0
0
0
0
0
0
0
0
1
37dc25007d47db4fa96ca0730b82167ce6738233
4,658
py
Python
v0449gRpc_pb2.py
StormDev87/VPH_bot_python
ae83a0b61e234912c0136ef0f176e7a88603ff28
[ "MIT" ]
1
2022-02-28T16:20:33.000Z
2022-02-28T16:20:33.000Z
v0449gRpc_pb2.py
StormDev87/VPH_bot_python
ae83a0b61e234912c0136ef0f176e7a88603ff28
[ "MIT" ]
null
null
null
v0449gRpc_pb2.py
StormDev87/VPH_bot_python
ae83a0b61e234912c0136ef0f176e7a88603ff28
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: v0449gRpc.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from go...
43.12963
790
0.800129
527
4,658
6.658444
0.239089
0.042747
0.056996
0.054716
0.266743
0.167569
0.165289
0.165289
0.129952
0
0
0.090549
0.077716
4,658
107
791
43.53271
0.726257
0.145771
0
0.210526
1
0.013158
0.29336
0.181772
0
0
0
0
0
1
0
false
0
0.065789
0
0.065789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
37dd454cd95fe5c19347e66dba4d2c8da8d4857f
14,423
py
Python
api/resources_portal/test/views/test_search_endpoint.py
AlexsLemonade/resources-portal
d91c6c8d6135461faccbc78ef2b0be3f9b358f21
[ "BSD-3-Clause" ]
null
null
null
api/resources_portal/test/views/test_search_endpoint.py
AlexsLemonade/resources-portal
d91c6c8d6135461faccbc78ef2b0be3f9b358f21
[ "BSD-3-Clause" ]
536
2019-11-13T15:49:03.000Z
2022-03-28T20:17:24.000Z
api/resources_portal/test/views/test_search_endpoint.py
AlexsLemonade/resources-portal
d91c6c8d6135461faccbc78ef2b0be3f9b358f21
[ "BSD-3-Clause" ]
1
2020-04-03T02:07:29.000Z
2020-04-03T02:07:29.000Z
import datetime from django.core.management import call_command from django.urls import reverse from rest_framework import status from rest_framework.test import APITestCase from resources_portal.management.commands.populate_dev_database import populate_dev_database from resources_portal.models import Material, Organ...
35.264059
99
0.662969
1,606
14,423
5.71731
0.108344
0.05391
0.034306
0.038336
0.745045
0.708016
0.682095
0.67164
0.643651
0.63374
0
0.005949
0.230743
14,423
408
100
35.35049
0.821631
0.0468
0
0.570342
0
0
0.099481
0.028997
0
0
0
0
0.148289
1
0.079848
false
0
0.026616
0
0.117871
0.007605
0
0
0
null
0
0
0
0
1
0
0
0
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
2
37ddb9f83521ff471c035e9cd6a4902772e590bf
5,107
py
Python
mindarmour/utils/logger.py
hboshnak/mindarmour
0609a4eaea875a84667bed279add9305752880cc
[ "Apache-2.0" ]
139
2020-03-28T02:37:07.000Z
2022-03-24T15:35:39.000Z
mindarmour/utils/logger.py
hboshnak/mindarmour
0609a4eaea875a84667bed279add9305752880cc
[ "Apache-2.0" ]
2
2020-04-02T09:50:21.000Z
2020-05-09T06:52:57.000Z
mindarmour/utils/logger.py
hboshnak/mindarmour
0609a4eaea875a84667bed279add9305752880cc
[ "Apache-2.0" ]
12
2020-03-28T02:52:42.000Z
2021-07-15T08:05:06.000Z
# Copyright 2019 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
32.119497
91
0.595457
621
5,107
4.761675
0.289855
0.024349
0.027054
0.018938
0.308759
0.291173
0.266824
0.266824
0.256679
0.223199
0
0.008542
0.289407
5,107
158
92
32.322785
0.806283
0.440572
0
0.192308
0
0
0.085931
0.029907
0
0
0
0
0
1
0.192308
false
0
0.019231
0
0.326923
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
37de891f427c0291be7aba179849ea2f6a86e5c6
281
py
Python
Python/Programming Basics/Simple Calculations/17. Daily Earnings.py
teodoramilcheva/softuni-software-engineering
98dc9faa66f42570f6538fd7ef186d2bd1d39bff
[ "MIT" ]
null
null
null
Python/Programming Basics/Simple Calculations/17. Daily Earnings.py
teodoramilcheva/softuni-software-engineering
98dc9faa66f42570f6538fd7ef186d2bd1d39bff
[ "MIT" ]
null
null
null
Python/Programming Basics/Simple Calculations/17. Daily Earnings.py
teodoramilcheva/softuni-software-engineering
98dc9faa66f42570f6538fd7ef186d2bd1d39bff
[ "MIT" ]
null
null
null
workdays = float(input()) daily_tips = float(input()) exchange_rate = float(input()) salary = workdays * daily_tips annual_income = salary * 12 + salary * 2.5 net_income = annual_income - annual_income * 25 / 100 result = net_income / 365 * exchange_rate print('%.2f' % result)
23.416667
53
0.711744
39
281
4.897436
0.512821
0.157068
0.188482
0
0
0
0
0
0
0
0
0.055085
0.160142
281
11
54
25.545455
0.754237
0
0
0
0
0
0.014235
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
0
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
0
0
0
0
0
0
0
1
37e09e1c599fd41f037cb54000938dba1d33127b
7,483
py
Python
bert_rerannker_eval.py
satya77/transformer_rankers
0d2c20bd26041d887fb65102020a0b609ec967fc
[ "MIT" ]
null
null
null
bert_rerannker_eval.py
satya77/transformer_rankers
0d2c20bd26041d887fb65102020a0b609ec967fc
[ "MIT" ]
null
null
null
bert_rerannker_eval.py
satya77/transformer_rankers
0d2c20bd26041d887fb65102020a0b609ec967fc
[ "MIT" ]
null
null
null
from transformer_rankers.trainers import transformer_trainer from transformer_rankers.datasets import dataset, preprocess_scisumm_ranked from transformer_rankers.eval import results_analyses_tools from transformers import BertTokenizer, BertForSequenceClassification from sacred.observers import FileStorageObserver fro...
47.967949
116
0.526928
821
7,483
4.544458
0.263094
0.027339
0.027875
0.028947
0.292415
0.254891
0.226749
0.218172
0.210935
0.136425
0
0.013634
0.372711
7,483
156
117
47.967949
0.78121
0.425498
0
0.025974
0
0
0.149788
0.016722
0
0
0
0
0
1
0.025974
false
0
0.168831
0
0.220779
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
37e0cdbd73052a4cfa66dd46c357ae89f7505242
424
py
Python
python/p21.py
tonyfg/project_euler
3a9e6352a98faaa506056b42160c91bffe93838c
[ "WTFPL" ]
null
null
null
python/p21.py
tonyfg/project_euler
3a9e6352a98faaa506056b42160c91bffe93838c
[ "WTFPL" ]
null
null
null
python/p21.py
tonyfg/project_euler
3a9e6352a98faaa506056b42160c91bffe93838c
[ "WTFPL" ]
null
null
null
#Q: Evaluate the sum of all the amicable numbers under 10000. #A: 31626 def divisor_sum(n): return sum([i for i in xrange (1, n//2+1) if not n%i]) def sum_amicable(start, end): sum = 0 for i in xrange(start, end): tmp = divisor_sum(i) if i == divisor_sum(tmp) and i != tmp: ...
26.5
61
0.610849
77
424
3.298701
0.493506
0.11811
0.047244
0.094488
0
0
0
0
0
0
0
0.071429
0.273585
424
15
62
28.266667
0.753247
0.261792
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.1
0
0
0
null
0
0
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
1
0
0
0
0
0
0
0
0
1
37e13b4fd890037fc4d7192b2e7467ef9a1cb201
4,033
py
Python
check.py
Dysoncat/student-services-slas-chat-bot
5d9c7105cef640c34018d260249b6a05b959e73f
[ "MIT" ]
null
null
null
check.py
Dysoncat/student-services-slas-chat-bot
5d9c7105cef640c34018d260249b6a05b959e73f
[ "MIT" ]
null
null
null
check.py
Dysoncat/student-services-slas-chat-bot
5d9c7105cef640c34018d260249b6a05b959e73f
[ "MIT" ]
null
null
null
import long_responses as long # Returns the probability of a message matching the responses that we have def messageProb(userMessage, recognizedWords, isSingleResponse=False, requiredWords=[]): messageCertainty = 0 hasRequiredWords = True # Counts how many words are present in each predefined message ...
40.33
154
0.623109
485
4,033
5.039175
0.334021
0.06383
0.055237
0.027823
0.183306
0.139116
0.108838
0.108838
0.108838
0.108838
0
0.00665
0.21696
4,033
99
155
40.737374
0.767258
0.147037
0
0.063492
0
0
0.223454
0.009043
0
0
0
0
0
1
0.063492
false
0
0.015873
0
0.15873
0.047619
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
37e16ab061f36f12398b74b8a1440f3cc6768529
1,446
py
Python
image_predictor/utils.py
jdalzatec/streamlit-manizales-tech-talks
619af5edc79a22ed4cc9f50dd2d0379399357549
[ "MIT" ]
2
2022-02-05T15:48:55.000Z
2022-02-05T15:57:40.000Z
image_predictor/utils.py
jdalzatec/streamlit-manizales-tech-talks
619af5edc79a22ed4cc9f50dd2d0379399357549
[ "MIT" ]
null
null
null
image_predictor/utils.py
jdalzatec/streamlit-manizales-tech-talks
619af5edc79a22ed4cc9f50dd2d0379399357549
[ "MIT" ]
4
2022-02-05T15:49:02.000Z
2022-02-05T15:58:14.000Z
from io import StringIO import numpy as np from h5py import File from keras.models import load_model as keras_load_model from PIL import Image, ImageOps def predict(image, model): # Create the array of the right shape to feed into the keras model # The 'length' or number of images you can put into the array ...
32.133333
81
0.697095
218
1,446
4.541284
0.444954
0.040404
0.028283
0
0
0
0
0
0
0
0
0.035587
0.222683
1,446
44
82
32.863636
0.845196
0.331259
0
0
0
0
0.001046
0
0
0
0
0
0
1
0.12
false
0
0.2
0.04
0.44
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
37e2c12beb329286ae2d567a8dedde433414f28a
417
py
Python
client/setup.py
emilywoods/docker-workshop
46fef25ed06ab33f653bebffdd837ee4cc31c373
[ "MIT" ]
1
2022-03-21T07:32:36.000Z
2022-03-21T07:32:36.000Z
client/setup.py
emilywoods/docker-workshop
46fef25ed06ab33f653bebffdd837ee4cc31c373
[ "MIT" ]
null
null
null
client/setup.py
emilywoods/docker-workshop
46fef25ed06ab33f653bebffdd837ee4cc31c373
[ "MIT" ]
null
null
null
from setuptools import setup setup( name="workshop-client", install_requires=["flask==1.1.1", "requests==2.22.0"], python_requires=">=3.7", classifiers=[ "Development Status :: 1 - Beta", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "P...
27.8
58
0.580336
46
417
5.217391
0.630435
0.2375
0.3125
0.325
0
0
0
0
0
0
0
0.047923
0.2494
417
14
59
29.785714
0.71885
0
0
0
0
0
0.539568
0
0
0
0
0
0
1
0
true
0
0.076923
0
0.076923
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
37e304a5ab34e95d070c76d96d91559914adff14
561
py
Python
tests/facebook/models/test_photo.py
Socian-Ltd/python-facebook-1
e9a4f626b37541103c9534a29342ef6033c09c06
[ "Apache-2.0" ]
2
2021-03-16T02:58:10.000Z
2021-03-16T16:53:23.000Z
tests/facebook/models/test_photo.py
nedsons/python-facebook
bf2b4a70ef0e0a67a142f5856586ea318f9807ea
[ "Apache-2.0" ]
null
null
null
tests/facebook/models/test_photo.py
nedsons/python-facebook
bf2b4a70ef0e0a67a142f5856586ea318f9807ea
[ "Apache-2.0" ]
1
2021-06-02T07:15:35.000Z
2021-06-02T07:15:35.000Z
import json import unittest import pyfacebook.models as models class PhotoModelTest(unittest.TestCase): BASE_PATH = "testdata/facebook/models/photos/" with open(BASE_PATH + 'photo.json', 'rb') as f: PHOTO_INFO = json.loads(f.read().decode('utf-8')) def testPhoto(self): m = models.Photo....
28.05
60
0.686275
75
561
5.026667
0.573333
0.159151
0.127321
0
0
0
0
0
0
0
0
0.078431
0.181818
561
19
61
29.526316
0.742919
0
0
0
0
0
0.14082
0.057041
0
0
0
0
0.307692
1
0.076923
false
0
0.230769
0
0.461538
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
37e4a1783cf1d5a9318a74c7d860d1f54e64ee4e
5,837
py
Python
airbyte-integrations/connectors/source-scaffold-source-python/source_scaffold_source_python/source.py
curanaj/airbyte-dbt-demo
f6b8ccd8f8e57b7ea84caf814b14d836338e8007
[ "MIT" ]
null
null
null
airbyte-integrations/connectors/source-scaffold-source-python/source_scaffold_source_python/source.py
curanaj/airbyte-dbt-demo
f6b8ccd8f8e57b7ea84caf814b14d836338e8007
[ "MIT" ]
null
null
null
airbyte-integrations/connectors/source-scaffold-source-python/source_scaffold_source_python/source.py
curanaj/airbyte-dbt-demo
f6b8ccd8f8e57b7ea84caf814b14d836338e8007
[ "MIT" ]
null
null
null
# MIT License # # Copyright (c) 2020 Airbyte # # 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 limitation the rights # to use, copy, modify, merge, publ...
47.072581
122
0.704471
758
5,837
5.408971
0.358839
0.021463
0.010244
0.02122
0.204146
0.18
0.18
0.18
0.18
0.18
0
0.002256
0.240535
5,837
123
123
47.455285
0.922626
0.648621
0
0.05
0
0
0.091442
0
0
0
0
0
0
1
0.075
false
0
0.15
0
0.325
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
37e4f2c4b90817314cd77bae4c4800a1c5a1cfd8
11,933
py
Python
alerter/src/monitorables/nodes/chainlink_node.py
SimplyVC/panic
2f5c327ea0d14b6a49dc8f4599a255048bc2ff6d
[ "Apache-2.0" ]
41
2019-08-23T12:40:42.000Z
2022-03-28T11:06:02.000Z
alerter/src/monitorables/nodes/chainlink_node.py
SimplyVC/panic
2f5c327ea0d14b6a49dc8f4599a255048bc2ff6d
[ "Apache-2.0" ]
147
2019-08-30T22:09:48.000Z
2022-03-30T08:46:26.000Z
alerter/src/monitorables/nodes/chainlink_node.py
SimplyVC/panic
2f5c327ea0d14b6a49dc8f4599a255048bc2ff6d
[ "Apache-2.0" ]
3
2019-09-03T21:12:28.000Z
2021-08-18T14:27:56.000Z
from datetime import datetime from typing import Optional, Dict, List, Union from schema import Schema, Or from src.monitorables.nodes.node import Node from src.utils.exceptions import InvalidDictSchemaException class ChainlinkNode(Node): def __init__(self, node_name: str, node_id: str, parent_id: str) -> None:...
37.407524
80
0.67636
1,466
11,933
5.090723
0.108458
0.079325
0.111483
0.037518
0.646791
0.404395
0.257939
0.223771
0.192952
0.171513
0
0
0.252661
11,933
318
81
37.525157
0.836847
0.185704
0
0.217617
0
0
0.039777
0.024369
0
0
0
0
0
1
0.217617
false
0
0.025907
0.072539
0.378238
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
37e57878ec351c326eab8dff88096e5a9b705681
8,983
py
Python
experiments/vgg16/VGG16_utils.py
petrapoklukar/DCA
e5b3f3481433306a4b33e712272f8bbf5e9d05ce
[ "MIT" ]
2
2022-02-14T15:54:22.000Z
2022-02-15T18:43:36.000Z
experiments/vgg16/VGG16_utils.py
petrapoklukar/DCA
e5b3f3481433306a4b33e712272f8bbf5e9d05ce
[ "MIT" ]
null
null
null
experiments/vgg16/VGG16_utils.py
petrapoklukar/DCA
e5b3f3481433306a4b33e712272f8bbf5e9d05ce
[ "MIT" ]
null
null
null
import pickle import numpy as np import os def _analyze_query_point_assignment( query_data_dict: dict, init_Rdata_dict: dict, init_Edata_dict: dict, num_R: int, query_point_assignment_array: np.ndarray, root: str, n_points_to_copy=50, ): """ Analyzes and visualizes qDCA results. ...
36.815574
87
0.571969
1,088
8,983
4.348346
0.132353
0.043754
0.059184
0.068696
0.596914
0.512788
0.447263
0.395477
0.313464
0.301205
0
0.015974
0.317043
8,983
243
88
36.967078
0.755175
0.075365
0
0.267327
0
0
0.13352
0.06026
0
0
0
0
0
1
0.009901
false
0
0.014851
0
0.029703
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
37e640e884ea7efdcb34d9809f129977c3b8f796
2,905
py
Python
back-end/RawFishSheep/app_cart/views.py
Coldarra/RawFishSheep
266bd9d8d9832d5c692b63e7515d45fdc4f6acc4
[ "Apache-2.0" ]
null
null
null
back-end/RawFishSheep/app_cart/views.py
Coldarra/RawFishSheep
266bd9d8d9832d5c692b63e7515d45fdc4f6acc4
[ "Apache-2.0" ]
4
2021-10-06T22:49:52.000Z
2022-02-27T12:28:18.000Z
back-end/RawFishSheep/app_cart/views.py
Coldarra/RawFishSheep
266bd9d8d9832d5c692b63e7515d45fdc4f6acc4
[ "Apache-2.0" ]
null
null
null
from .models import * from decorator import * from app_goods.views import getGoodsByID # 查询当前用户所有的购物车信息 def getCartByUser(user_id=None): if user_id == None: raise ParamException() return Cart.objects.filter(user_id=user_id) def getSelectedCart(user_id=None): if user_id == None: raise P...
29.05
78
0.685714
393
2,905
4.857506
0.145038
0.144578
0.117863
0.136197
0.614458
0.572027
0.481928
0.470927
0.440545
0.3934
0
0.011704
0.205852
2,905
99
79
29.343434
0.815778
0.014114
0
0.408451
0
0
0.017489
0
0
0
0
0
0
1
0.15493
false
0
0.042254
0.014085
0.323944
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
37e6a1c12c2e7ca4fa6cc0bc35bd20189bfd7063
7,704
py
Python
extensions/catsum.py
johannesgiorgis/my-timewarrior-extensions
1a8b83359298d3cbf002148f02b5ef6f1693a797
[ "MIT" ]
null
null
null
extensions/catsum.py
johannesgiorgis/my-timewarrior-extensions
1a8b83359298d3cbf002148f02b5ef6f1693a797
[ "MIT" ]
1
2022-02-14T16:53:54.000Z
2022-02-14T16:53:54.000Z
extensions/catsum.py
xoiopure/my-timewarrior-extensions
1a8b83359298d3cbf002148f02b5ef6f1693a797
[ "MIT" ]
1
2021-08-29T00:32:18.000Z
2021-08-29T00:32:18.000Z
#!/usr/bin/env python3 ############################################################################### # # Category Summaries # # ############################################################################### import datetime import io import json import logging import pprint import sys from typing import Dict, Any ...
31.57377
98
0.641874
899
7,704
5.292547
0.221357
0.08575
0.043716
0.020177
0.269021
0.166036
0.12232
0.067255
0.044977
0.044977
0
0.010339
0.221573
7,704
243
99
31.703704
0.783058
0.123572
0
0.10828
0
0.019108
0.144562
0.047575
0
0
0
0.004115
0
1
0.050955
false
0
0.050955
0
0.146497
0.082803
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
37e90c8995ed6a6f4dbc2bb7d6d0c967a69b04ab
3,881
py
Python
resources/hotel.py
jnascimentocode/REST-API-COM-PYTHON-E-FLASK
c55dca53f3a864c6c1aba8bbde63dcadc3c19347
[ "MIT" ]
null
null
null
resources/hotel.py
jnascimentocode/REST-API-COM-PYTHON-E-FLASK
c55dca53f3a864c6c1aba8bbde63dcadc3c19347
[ "MIT" ]
null
null
null
resources/hotel.py
jnascimentocode/REST-API-COM-PYTHON-E-FLASK
c55dca53f3a864c6c1aba8bbde63dcadc3c19347
[ "MIT" ]
null
null
null
from typing import ParamSpecArgs from flask_restful import Resource, reqparse from models.hotel import HotelModel from flask_jwt_extended import jwt_required from models.site import SiteModel from resources.filtros import * import sqlite3 path_params = reqparse.RequestParser() path_params.add_argument('cidade', type=s...
34.345133
116
0.631538
461
3,881
5.156182
0.26898
0.038284
0.038284
0.061843
0.424485
0.346235
0.280606
0.174169
0.142196
0.142196
0
0.012182
0.259727
3,881
112
117
34.651786
0.815176
0.001804
0
0.303371
0
0
0.152713
0
0
0
0
0
0
1
0.05618
false
0
0.078652
0
0.314607
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
37e97b75428a1033eda5441303e4da93aa132446
221
py
Python
src/wormhole/__main__.py
dmgolembiowski/magic-wormhole
d517a10282d5e56f300db462b1a6eec517202af7
[ "MIT" ]
2,801
2021-01-10T16:37:14.000Z
2022-03-31T19:02:50.000Z
src/wormhole/__main__.py
dmgolembiowski/magic-wormhole
d517a10282d5e56f300db462b1a6eec517202af7
[ "MIT" ]
52
2021-01-10T01:54:00.000Z
2022-03-11T13:12:41.000Z
src/wormhole/__main__.py
dmgolembiowski/magic-wormhole
d517a10282d5e56f300db462b1a6eec517202af7
[ "MIT" ]
106
2021-01-21T14:32:22.000Z
2022-03-18T10:33:09.000Z
from __future__ import absolute_import, print_function, unicode_literals if __name__ == "__main__": from .cli import cli cli.wormhole() else: # raise ImportError('this module should not be imported') pass
27.625
72
0.737557
28
221
5.285714
0.821429
0
0
0
0
0
0
0
0
0
0
0
0.18552
221
7
73
31.571429
0.822222
0.248869
0
0
0
0
0.04878
0
0
0
0
0
0
1
0
true
0.166667
0.333333
0
0.333333
0.166667
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
0
0
0
5
37eaf107409d84d5c2fde68eaa08ffa5c4d85c18
2,413
py
Python
testing/berge_equilibrium_cndp.py
Eliezer-Beczi/CNDP
73decdfaef1c9e546ad94dd7448c89078af27034
[ "MIT" ]
1
2021-08-13T09:14:40.000Z
2021-08-13T09:14:40.000Z
testing/berge_equilibrium_cndp.py
Eliezer-Beczi/CNDP
73decdfaef1c9e546ad94dd7448c89078af27034
[ "MIT" ]
null
null
null
testing/berge_equilibrium_cndp.py
Eliezer-Beczi/CNDP
73decdfaef1c9e546ad94dd7448c89078af27034
[ "MIT" ]
null
null
null
import networkx as nx import utils.connectivity_metrics as connectivity_metric from platypus import NSGAII, EpsMOEA, NSGAIII, EpsNSGAII, Problem, Dominance, Subset, TournamentSelector, \ HypervolumeFitnessEvaluator, Archive import statistics import multiprocessing as mp G = nx.read_adjlist("input/Ventresca/Barabas...
25.135417
111
0.63075
300
2,413
4.823333
0.356667
0.024879
0.06358
0.033172
0.070491
0.070491
0.027643
0
0
0
0
0.020705
0.259428
2,413
95
112
25.4
0.789032
0
0
0.075758
0
0
0.037298
0.016991
0
0
0
0
0
1
0.106061
false
0
0.075758
0
0.30303
0.045455
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0