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
0ff8766945091b46b984bb506749080175822e2d
122
py
Python
im/kibot/data/load/__init__.py
ajmal017/amp
8de7e3b88be87605ec3bad03c139ac64eb460e5c
[ "BSD-3-Clause" ]
null
null
null
im/kibot/data/load/__init__.py
ajmal017/amp
8de7e3b88be87605ec3bad03c139ac64eb460e5c
[ "BSD-3-Clause" ]
null
null
null
im/kibot/data/load/__init__.py
ajmal017/amp
8de7e3b88be87605ec3bad03c139ac64eb460e5c
[ "BSD-3-Clause" ]
null
null
null
from .kibot_s3_data_loader import KibotS3DataLoader # noqa from .kibot_sql_data_loader import KibotSqlDataLoader # noqa
40.666667
61
0.852459
16
122
6.125
0.625
0.183673
0.326531
0
0
0
0
0
0
0
0
0.018519
0.114754
122
2
62
61
0.888889
0.07377
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
ba1edf3a6e31007614ffae6220cf0c2f709d7018
36
py
Python
django_deployer/fabfile.py
natea/django-deployer
5ce7d972db2f8500ec53ad89e7eb312d3360d074
[ "MIT" ]
19
2015-02-06T06:14:39.000Z
2021-01-06T22:27:03.000Z
django_deployer/fabfile.py
natea/django-deployer
5ce7d972db2f8500ec53ad89e7eb312d3360d074
[ "MIT" ]
null
null
null
django_deployer/fabfile.py
natea/django-deployer
5ce7d972db2f8500ec53ad89e7eb312d3360d074
[ "MIT" ]
2
2015-12-22T17:22:15.000Z
2016-03-02T12:15:01.000Z
from django_deployer.tasks import *
18
35
0.833333
5
36
5.8
1
0
0
0
0
0
0
0
0
0
0
0
0.111111
36
1
36
36
0.90625
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
e87b85794d0990b9f23e654d5b13395df77c1dc9
196
py
Python
gym_brt/control/__init__.py
Data-Science-in-Mechanical-Engineering/vision-based-furuta-pendulum
84bfc5a089a2a8ace250f030f0298d45a3f9772f
[ "MIT" ]
null
null
null
gym_brt/control/__init__.py
Data-Science-in-Mechanical-Engineering/vision-based-furuta-pendulum
84bfc5a089a2a8ace250f030f0298d45a3f9772f
[ "MIT" ]
null
null
null
gym_brt/control/__init__.py
Data-Science-in-Mechanical-Engineering/vision-based-furuta-pendulum
84bfc5a089a2a8ace250f030f0298d45a3f9772f
[ "MIT" ]
null
null
null
from gym_brt.control.control import dampen_policy, QubeFlipUpControl, QubeHoldControl, RandomControl, NoControl from gym_brt.control.calibration import CalibrCtrl, GoToLimCtrl, PIDCtrl, calibrate
65.333333
111
0.867347
22
196
7.590909
0.727273
0.083832
0.11976
0.203593
0
0
0
0
0
0
0
0
0.076531
196
2
112
98
0.922652
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
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
e89978ae2b1683ac3de3b5aadf2238ed807852fb
48
py
Python
src/core/lexer/__init__.py
hyper-neutrino/avl
b639c066a365eb370de61de57eb610ab128f433c
[ "MIT" ]
null
null
null
src/core/lexer/__init__.py
hyper-neutrino/avl
b639c066a365eb370de61de57eb610ab128f433c
[ "MIT" ]
null
null
null
src/core/lexer/__init__.py
hyper-neutrino/avl
b639c066a365eb370de61de57eb610ab128f433c
[ "MIT" ]
null
null
null
from .lexer import lex from .token import Token
16
24
0.791667
8
48
4.75
0.625
0
0
0
0
0
0
0
0
0
0
0
0.166667
48
2
25
24
0.95
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
e8ad954dca2b7fee4849d2d5573d37eea2803b8e
16,813
py
Python
src/main/python/cfn_sphere/cli.py
rayhwang-kcom/cfn-sphere
e5a3642bea1d16611c178feb93ff89e1f2f188e9
[ "Apache-2.0" ]
3
2018-08-23T14:36:36.000Z
2020-06-27T23:30:32.000Z
src/main/python/cfn_sphere/cli.py
rayhwang-kcom/cfn-sphere
e5a3642bea1d16611c178feb93ff89e1f2f188e9
[ "Apache-2.0" ]
19
2017-09-29T13:43:27.000Z
2021-02-09T10:39:44.000Z
src/main/python/cfn_sphere/cli.py
rayhwang-kcom/cfn-sphere
e5a3642bea1d16611c178feb93ff89e1f2f188e9
[ "Apache-2.0" ]
3
2019-02-18T09:36:35.000Z
2020-06-27T23:30:34.000Z
# Modifications copyright (C) 2017 KCOM import logging import sys import boto3 import botocore.session import click import os.path import re from botocore.credentials import JSONFileCache from botocore.exceptions import ClientError, BotoCoreError from cfn_sphere import StackActionHandler from cfn_sphere import __versi...
43.67013
120
0.688634
2,180
16,813
5.177064
0.108716
0.032695
0.039872
0.037657
0.766614
0.758019
0.749158
0.746411
0.746411
0.746411
0
0.004149
0.182835
16,813
384
121
43.783854
0.817308
0.002201
0
0.721713
0
0.003058
0.281209
0.009479
0
0
0
0
0
1
0.042813
false
0.003058
0.055046
0
0.103976
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
e8ae7de798bd5c51a1da0fc2d5b632574dea3501
205
py
Python
bibliopixel/util/image/directory.py
rec/leds
ed5fd11ed155e7008d4ef6d5b3d82cd7f8b3ed6a
[ "MIT" ]
253
2015-01-03T23:17:57.000Z
2021-12-14T02:31:08.000Z
bibliopixel/util/image/directory.py
rec/leds
ed5fd11ed155e7008d4ef6d5b3d82cd7f8b3ed6a
[ "MIT" ]
879
2015-01-11T16:07:25.000Z
2021-12-10T16:24:31.000Z
bibliopixel/util/image/directory.py
rec/leds
ed5fd11ed155e7008d4ef6d5b3d82cd7f8b3ed6a
[ "MIT" ]
71
2015-01-04T01:02:47.000Z
2022-03-25T18:30:10.000Z
from . import gif class Writer(gif.Writer): def __init__(self, writer): writer.gif_dir = writer.gif_dir or writer.basename super().__init__(writer) def write(self): pass
18.636364
58
0.639024
27
205
4.481481
0.518519
0.223141
0.198347
0
0
0
0
0
0
0
0
0
0.258537
205
10
59
20.5
0.796053
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0.142857
0.142857
0
0.571429
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
6
fa42110799fb23bfb1ffe6c17b6a9556b06ed0fc
122
py
Python
quadtree/__init__.py
hamolicious/Quad-Tree
6c17b54f55a45d2627dafe80f898eff54d8d227f
[ "WTFPL" ]
null
null
null
quadtree/__init__.py
hamolicious/Quad-Tree
6c17b54f55a45d2627dafe80f898eff54d8d227f
[ "WTFPL" ]
null
null
null
quadtree/__init__.py
hamolicious/Quad-Tree
6c17b54f55a45d2627dafe80f898eff54d8d227f
[ "WTFPL" ]
null
null
null
from quadtree.primitives import * from quadtree.intersector import intersects, contains from quadtree.tree import Tree
17.428571
53
0.827869
15
122
6.733333
0.533333
0.356436
0
0
0
0
0
0
0
0
0
0
0.131148
122
6
54
20.333333
0.95283
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
fa5944157151f64bc815d46461e806abcb198122
41
py
Python
jinahub/indexers/searcher/compound/FaissLMDBSearcher/__init__.py
sauravgarg540/executors
c06a16633767346eee96ec019ae6a171f125f6cb
[ "Apache-2.0" ]
null
null
null
jinahub/indexers/searcher/compound/FaissLMDBSearcher/__init__.py
sauravgarg540/executors
c06a16633767346eee96ec019ae6a171f125f6cb
[ "Apache-2.0" ]
null
null
null
jinahub/indexers/searcher/compound/FaissLMDBSearcher/__init__.py
sauravgarg540/executors
c06a16633767346eee96ec019ae6a171f125f6cb
[ "Apache-2.0" ]
null
null
null
from .faiss_lmdb import FaissLMDBSearcher
41
41
0.902439
5
41
7.2
1
0
0
0
0
0
0
0
0
0
0
0
0.073171
41
1
41
41
0.947368
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
3afc3eee706ec4fe7f0cdeeb70f2790cac5fd5a6
34
py
Python
yawigle/__init__.py
tabajara-ltd/yawigle
15dc8dd27345eebf5dbac646c1c23ca303df686f
[ "BSD-3-Clause" ]
2
2021-04-24T22:05:10.000Z
2021-04-24T22:05:22.000Z
yawigle/__init__.py
tabajara-ltd/yawigle
15dc8dd27345eebf5dbac646c1c23ca303df686f
[ "BSD-3-Clause" ]
2
2021-02-27T15:37:02.000Z
2021-02-27T15:40:23.000Z
yawigle/__init__.py
tabajara-ltd/yawigle
15dc8dd27345eebf5dbac646c1c23ca303df686f
[ "BSD-3-Clause" ]
1
2021-05-04T11:45:56.000Z
2021-05-04T11:45:56.000Z
from yawigle.yawigle import client
34
34
0.882353
5
34
6
0.8
0
0
0
0
0
0
0
0
0
0
0
0.088235
34
1
34
34
0.967742
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
d74d5ca4e59c11ae970b937d5da1b4800eba0de7
42,057
py
Python
test/interface/test_filters.py
earwick/sqlalchemy-filters
68f66a88c5fc842daf56f226f6a1d0e60c1381da
[ "Apache-2.0" ]
3
2022-03-07T16:54:54.000Z
2022-03-22T10:17:02.000Z
test/interface/test_filters.py
earwick/sqlalchemy-filters
68f66a88c5fc842daf56f226f6a1d0e60c1381da
[ "Apache-2.0" ]
1
2021-11-10T11:28:27.000Z
2021-11-16T11:45:20.000Z
test/interface/test_filters.py
earwick/sqlalchemy-filters
68f66a88c5fc842daf56f226f6a1d0e60c1381da
[ "Apache-2.0" ]
8
2021-11-08T11:38:44.000Z
2022-03-23T16:19:46.000Z
# -*- coding: utf-8 -*- import datetime import pytest from sqlalchemy import func from sqlalchemy.orm import joinedload from sqlalchemy.sql import select from sqlalchemy_filters import apply_filters from sqlalchemy_filters.exceptions import ( BadFilterFormat, BadSpec, FieldNotFound ) from sqlalchemy_filters.mode...
31.292411
79
0.562403
4,756
42,057
4.784693
0.055509
0.064554
0.051547
0.072772
0.846546
0.830858
0.804403
0.771884
0.718843
0.689269
0
0.023561
0.295599
42,057
1,343
80
31.315711
0.744574
0.008821
0
0.626437
0
0
0.128171
0.034412
0
0
0
0.000745
0.181034
1
0.069923
false
0
0.008621
0
0.103448
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
d1290d42252e81ab358de5767b87ffdb66845a3d
106
py
Python
maricilib/django/middleware/__init__.py
marici/recipebook
b46e06bf955788462f659d923ef47e329c807f92
[ "MIT" ]
2
2017-06-04T11:30:04.000Z
2017-06-21T20:17:34.000Z
maricilib/django/middleware/__init__.py
marici/recipebook
b46e06bf955788462f659d923ef47e329c807f92
[ "MIT" ]
null
null
null
maricilib/django/middleware/__init__.py
marici/recipebook
b46e06bf955788462f659d923ef47e329c807f92
[ "MIT" ]
null
null
null
from SSLRedirectMiddleware import SSLRedirectMiddleware from DebugSQLMiddleware import DebugSQLMiddleware
35.333333
55
0.924528
8
106
12.25
0.5
0
0
0
0
0
0
0
0
0
0
0
0.075472
106
2
56
53
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
d14f304950e5d1e0e377f2c1f688aef8c14c0bcd
40
py
Python
src/eAsisitent_scraper/__init__.py
PingWasFun/eAsistent-scraper
dbd2630b48cc07183a93a12d00c73371cbd3f46d
[ "MIT" ]
null
null
null
src/eAsisitent_scraper/__init__.py
PingWasFun/eAsistent-scraper
dbd2630b48cc07183a93a12d00c73371cbd3f46d
[ "MIT" ]
10
2022-03-20T07:11:49.000Z
2022-03-23T20:22:36.000Z
src/eAsisitent_scraper/__init__.py
PingWasFun/eAsistent-scraper
dbd2630b48cc07183a93a12d00c73371cbd3f46d
[ "MIT" ]
null
null
null
from .scraper import get_schedule_data
13.333333
38
0.85
6
40
5.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.125
40
2
39
20
0.914286
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
d16c9cd816667b007e626d1c6651eca57844c77c
33,934
py
Python
grdc_seasonal_plots.py
amforte/Caucasus_Erosion
c839c90282f87256220abe390993b362b88b8b74
[ "MIT" ]
2
2021-05-15T05:04:57.000Z
2021-12-10T02:25:29.000Z
grdc_seasonal_plots.py
amforte/Caucasus_Erosion
c839c90282f87256220abe390993b362b88b8b74
[ "MIT" ]
null
null
null
grdc_seasonal_plots.py
amforte/Caucasus_Erosion
c839c90282f87256220abe390993b362b88b8b74
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Plots the event, seasonal, and annual fraction vs a variety of other metrics. Written by Adam M. Forte for "Low variability runoff inhibits coupling of climate, tectonics, and topography in the Greater Caucasus" If you use this code or derivatives, please cite the original paper. """ im...
45.918809
135
0.605676
6,238
33,934
3.186919
0.044726
0.072435
0.078471
0.070825
0.898793
0.88164
0.85674
0.841499
0.831992
0.828571
0
0.060085
0.158867
33,934
738
136
45.98103
0.636408
0.404373
0
0.582888
0
0
0.10077
0.037833
0
0
0
0
0
1
0
false
0
0.008021
0
0.008021
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
d16d9c9b0f5a9573e11d561f1786fe8e61fddab5
141
py
Python
Ad-Hoc/2455.py
LorranSutter/URI-Online-Judge
aef885b9a7caa83484cf172e29eea8ec92fc3627
[ "MIT" ]
null
null
null
Ad-Hoc/2455.py
LorranSutter/URI-Online-Judge
aef885b9a7caa83484cf172e29eea8ec92fc3627
[ "MIT" ]
null
null
null
Ad-Hoc/2455.py
LorranSutter/URI-Online-Judge
aef885b9a7caa83484cf172e29eea8ec92fc3627
[ "MIT" ]
null
null
null
P1, C1, P2, C2 = map(int,input().split()) left, right = P1*C1, P2*C2 if left == right: print(0) elif left > right: print(-1) else: print(1)
20.142857
41
0.617021
27
141
3.222222
0.592593
0.310345
0.137931
0.183908
0
0
0
0
0
0
0
0.094017
0.170213
141
7
42
20.142857
0.649573
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0.6
1
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
6
0f1263410311e27e06c6b1e81b7ea8e8ba95307e
4,040
py
Python
unnoise/moyenneurV2.py
Krown0s/TraitementsImages
6d0a101c80a50abc42b3208504e8217042440b43
[ "MIT" ]
null
null
null
unnoise/moyenneurV2.py
Krown0s/TraitementsImages
6d0a101c80a50abc42b3208504e8217042440b43
[ "MIT" ]
null
null
null
unnoise/moyenneurV2.py
Krown0s/TraitementsImages
6d0a101c80a50abc42b3208504e8217042440b43
[ "MIT" ]
null
null
null
# -*- encoding: utf-8 -*- from copy import deepcopy from numpy import * """ Débruitabe par filtrage moyenneur sur les pixels noirs et blancs sur une matrice de 5×5 <image> l'image à débruiter retourne l'image débruitée """ def moyenneur(image): newimg = deepcopy(image) for x in range(newimg.shape[0...
39.607843
99
0.468317
705
4,040
2.685106
0.107801
0.184892
0.171685
0.184892
0.743265
0.73851
0.73851
0.730058
0.730058
0.730058
0
0.119293
0.327723
4,040
102
100
39.607843
0.57732
0.018564
0
0.305882
0
0
0
0
0
0
0
0
0
1
0.023529
false
0
0.023529
0
0.070588
0
0
0
0
null
0
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
7e2ecac7c74a5f5d724116b08093afd238a4077d
80
py
Python
sampleSystems/__init__.py
udanzo-p/quantiacs-python
cf698968a572a35bd884b12fef3cb407e4cfda8f
[ "MIT" ]
246
2016-09-04T14:29:16.000Z
2021-02-24T13:54:07.000Z
sampleSystems/__init__.py
udanzo-p/quantiacs-python
cf698968a572a35bd884b12fef3cb407e4cfda8f
[ "MIT" ]
7
2017-03-22T14:18:44.000Z
2020-10-20T20:04:51.000Z
sampleSystems/__init__.py
udanzo-p/quantiacs-python
cf698968a572a35bd884b12fef3cb407e4cfda8f
[ "MIT" ]
122
2016-12-01T11:39:34.000Z
2021-02-21T11:12:19.000Z
from . import meanReversion from . import trendFollowing from . import simpleTS
20
28
0.8125
9
80
7.222222
0.555556
0.461538
0
0
0
0
0
0
0
0
0
0
0.15
80
3
29
26.666667
0.955882
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
7e5a2f7ddf3890a6a9d2a2f7af81e7baf5699479
656
py
Python
aoc_cqkh42/year_2017/day_05.py
cqkh42/advent-of-code
bcf31cf8973a5b6d67492c412dce10df742e04d1
[ "MIT" ]
null
null
null
aoc_cqkh42/year_2017/day_05.py
cqkh42/advent-of-code
bcf31cf8973a5b6d67492c412dce10df742e04d1
[ "MIT" ]
null
null
null
aoc_cqkh42/year_2017/day_05.py
cqkh42/advent-of-code
bcf31cf8973a5b6d67492c412dce10df742e04d1
[ "MIT" ]
null
null
null
import itertools def part_a(data): jumps = [int(num) for num in data.split('\n')] index = 0 for step in itertools.count(0): try: new_index = index + jumps[index] except IndexError: return step else: jumps[index] += 1 index = new_index...
23.428571
55
0.510671
81
656
4.049383
0.320988
0.152439
0.073171
0.091463
0.792683
0.792683
0.792683
0.792683
0.792683
0.792683
0
0.017032
0.373476
656
27
56
24.296296
0.781022
0
0
0.782609
0
0
0.006098
0
0
0
0
0
0
1
0.086957
false
0
0.043478
0
0.217391
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
7e69c67bae6259e498005bd80b46d81d7683889f
28
py
Python
action_cwt/__init__.py
Fumipo-Theta/action_cwt
e0d747138e0201bf69716f6ab068d2f62f97d846
[ "BSD-2-Clause" ]
null
null
null
action_cwt/__init__.py
Fumipo-Theta/action_cwt
e0d747138e0201bf69716f6ab068d2f62f97d846
[ "BSD-2-Clause" ]
null
null
null
action_cwt/__init__.py
Fumipo-Theta/action_cwt
e0d747138e0201bf69716f6ab068d2f62f97d846
[ "BSD-2-Clause" ]
null
null
null
from .action_cwt import CWT
14
27
0.821429
5
28
4.4
0.8
0
0
0
0
0
0
0
0
0
0
0
0.142857
28
1
28
28
0.916667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
7e8d51a75f21913d6f12876391877fd32a019fa5
4,052
py
Python
tests/test_loader_initialization.py
peonone/itemloaders
228dd499d3bace1c604d5eee195c7a29b595f5b5
[ "BSD-3-Clause" ]
31
2020-05-05T14:19:36.000Z
2021-12-18T01:54:39.000Z
tests/test_loader_initialization.py
peonone/itemloaders
228dd499d3bace1c604d5eee195c7a29b595f5b5
[ "BSD-3-Clause" ]
46
2020-05-08T11:38:39.000Z
2022-03-18T16:26:08.000Z
tests/test_loader_initialization.py
peonone/itemloaders
228dd499d3bace1c604d5eee195c7a29b595f5b5
[ "BSD-3-Clause" ]
10
2020-07-12T12:41:35.000Z
2021-06-14T08:10:38.000Z
import unittest from itemloaders import ItemLoader class InitializationTestMixin: item_class = None def test_keep_single_value(self): """Loaded item should contain values from the initial item""" input_item = self.item_class(name='foo') il = ItemLoader(item=input_item) loade...
42.652632
87
0.655232
507
4,052
5.005917
0.096647
0.094563
0.085106
0.120567
0.887707
0.852246
0.852246
0.852246
0.852246
0.852246
0
0
0.206811
4,052
94
88
43.106383
0.78967
0.134008
0
0.588235
0
0
0.06391
0
0
0
0
0
0.294118
1
0.147059
false
0
0.029412
0
0.235294
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
0e234bda73def0f6db57c75938e52b4c1fb145ad
48
py
Python
microblog.py
hao-beixi/microblog
31aebf9a5eeb311113721553c26e1105bcf267e8
[ "MIT" ]
null
null
null
microblog.py
hao-beixi/microblog
31aebf9a5eeb311113721553c26e1105bcf267e8
[ "MIT" ]
null
null
null
microblog.py
hao-beixi/microblog
31aebf9a5eeb311113721553c26e1105bcf267e8
[ "MIT" ]
null
null
null
# Main application module from app import app
16
26
0.770833
7
48
5.285714
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.208333
48
3
27
16
0.973684
0.479167
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
0e65c30be74f364e434cc06fed9b61ba3fa99b69
3,809
py
Python
funcFont.py
Lyle-zhang/kinetic_schemes
dc572bd1eedfddb871767573724cadddc57db76d
[ "MIT" ]
1
2021-12-27T11:14:58.000Z
2021-12-27T11:14:58.000Z
funcFont.py
Lyle-zhang/kinetic_schemes
dc572bd1eedfddb871767573724cadddc57db76d
[ "MIT" ]
null
null
null
funcFont.py
Lyle-zhang/kinetic_schemes
dc572bd1eedfddb871767573724cadddc57db76d
[ "MIT" ]
1
2021-08-14T13:40:24.000Z
2021-08-14T13:40:24.000Z
""" Function based on Font 1990 kinetic reaction scheme for biomass pyrolysis. Reactions evaluated at some temperature. Functions: font1 - fluidized bed kinetics font2 - pyroprobe kinetics Reference: Font, Marcilla, Verdu, Devesa, 1990. Ind. Eng. Chem. Res., 29, pp.1846-1855. """ # Modules # -----------------------...
34.008929
79
0.481229
555
3,809
3.302703
0.237838
0.017458
0.026187
0.034915
0.767049
0.767049
0.767049
0.767049
0.767049
0.767049
0
0.06088
0.331583
3,809
112
80
34.008929
0.659073
0.518246
0
0.8
0
0
0
0
0
0
0
0
0
1
0.044444
false
0
0.022222
0
0.111111
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
0e8374f70d1ac88d7c16515d3f9986499d4308f6
20,767
py
Python
sdk/search/azure-search-documents/tests/async_tests/test_service_live_async.py
arrownj/azure-sdk-for-python
b27939483a91d5171e08b2998ed779b1f4f7dcb0
[ "MIT" ]
null
null
null
sdk/search/azure-search-documents/tests/async_tests/test_service_live_async.py
arrownj/azure-sdk-for-python
b27939483a91d5171e08b2998ed779b1f4f7dcb0
[ "MIT" ]
null
null
null
sdk/search/azure-search-documents/tests/async_tests/test_service_live_async.py
arrownj/azure-sdk-for-python
b27939483a91d5171e08b2998ed779b1f4f7dcb0
[ "MIT" ]
null
null
null
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- import asy...
47.521739
208
0.688207
2,222
20,767
6.214221
0.108461
0.050188
0.032445
0.068801
0.816411
0.795481
0.789253
0.77332
0.762094
0.757459
0
0.004164
0.202099
20,767
436
209
47.630734
0.829149
0.024414
0
0.648
0
0.002667
0.092647
0.009191
0
0
0
0
0.2
1
0.008
false
0
0.037333
0
0.056
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
0eaf5aa359a4e653021f4a04a1b930ac7f43778c
1,276
py
Python
CodingInterview2/46_TranslateNumbersToStrings/test_translate_numbers_to_strings.py
hscspring/TheAlgorithms-Python
5c2faea1d2d25a9a81a4786e053b0cc58ab46c6f
[ "MIT" ]
10
2020-07-06T11:00:58.000Z
2022-01-29T09:25:24.000Z
CodingInterview2/46_TranslateNumbersToStrings/test_translate_numbers_to_strings.py
hscspring/TheAlgorithms-Python
5c2faea1d2d25a9a81a4786e053b0cc58ab46c6f
[ "MIT" ]
null
null
null
CodingInterview2/46_TranslateNumbersToStrings/test_translate_numbers_to_strings.py
hscspring/TheAlgorithms-Python
5c2faea1d2d25a9a81a4786e053b0cc58ab46c6f
[ "MIT" ]
3
2020-07-13T06:39:23.000Z
2020-08-15T16:29:48.000Z
from translate_numbers_to_strings import get_translation_count1 from translate_numbers_to_strings import get_translation_count2 def test0(): assert get_translation_count1(0) == 1 assert get_translation_count2(0) == 1 def test10(): assert get_translation_count1(10) == 2 assert get_translation_count2...
22.385965
63
0.725705
172
1,276
5.069767
0.215116
0.385321
0.504587
0.327982
0.463303
0.112385
0.112385
0.112385
0
0
0
0.129647
0.1779
1,276
56
64
22.785714
0.701621
0
0
0
0
0
0
0
0
0
0
0
0.628571
1
0.314286
true
0
0.057143
0
0.371429
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
1
0
1
1
0
0
0
0
0
0
6
7edf205d630cecedaf8c2a2483135a4ee8cd6127
54
py
Python
dags/_gen_fernetkey.py
nawinto99/airflow-workflow
efe1b7d35fef4535c18b19bcf686090346414eec
[ "MIT" ]
null
null
null
dags/_gen_fernetkey.py
nawinto99/airflow-workflow
efe1b7d35fef4535c18b19bcf686090346414eec
[ "MIT" ]
null
null
null
dags/_gen_fernetkey.py
nawinto99/airflow-workflow
efe1b7d35fef4535c18b19bcf686090346414eec
[ "MIT" ]
null
null
null
import sys from pprint import pprint pprint(sys.path)
13.5
25
0.814815
9
54
4.888889
0.555556
0
0
0
0
0
0
0
0
0
0
0
0.12963
54
3
26
18
0.93617
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0.666667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
1
0
6
7d0c0719ef647fae07b178abaac9cae066ed1208
11,749
py
Python
test/python/BlockchainTest.py
teheperor/dvf-blockchain
72c6e49e2901711b160cecc6f78d25d182977fbc
[ "MIT" ]
1
2019-11-06T05:02:47.000Z
2019-11-06T05:02:47.000Z
test/python/BlockchainTest.py
teheperor/dvf-blockchain
72c6e49e2901711b160cecc6f78d25d182977fbc
[ "MIT" ]
4
2021-05-10T01:51:50.000Z
2022-01-22T08:51:13.000Z
test/python/BlockchainTest.py
teheperor/dvf-blockchain
72c6e49e2901711b160cecc6f78d25d182977fbc
[ "MIT" ]
null
null
null
import json import unittest from urllib.parse import urlparse import urllib.request class BlockchainTest(unittest.TestCase): def __init__(self, server1, server2): super().__init__('run_test') self.server1 = server1 self.server2 = server2 self.values = {} def run_test(self): ...
38.521311
86
0.596306
1,300
11,749
5.296923
0.087692
0.159018
0.046907
0.043421
0.861894
0.801191
0.741069
0.726692
0.705925
0.685594
0
0.026636
0.265044
11,749
304
87
38.648026
0.770816
0
0
0.603376
0
0
0.167674
0.02247
0
0
0
0
0.362869
1
0.063291
false
0
0.021097
0
0.088608
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
7d200d44e3f98de9a716bc93d7bfb53ef3fdbc04
86
py
Python
test/test_cli.py
nschloe/dedec
1adf37e05dfb7e257b00bff3c4f1b39dfb700005
[ "MIT" ]
4
2021-03-10T20:40:29.000Z
2022-03-24T02:56:34.000Z
test/test_cli.py
nschloe/decimal2rational
1adf37e05dfb7e257b00bff3c4f1b39dfb700005
[ "MIT" ]
4
2016-07-31T15:00:49.000Z
2017-04-07T09:58:59.000Z
test/test_cli.py
nschloe/dedec
1adf37e05dfb7e257b00bff3c4f1b39dfb700005
[ "MIT" ]
null
null
null
import identinum def test_cli(): identinum.cli.main(["{:f}".format(3.0 / 7.0)])
14.333333
50
0.616279
14
86
3.714286
0.785714
0
0
0
0
0
0
0
0
0
0
0.054795
0.151163
86
5
51
17.2
0.657534
0
0
0
0
0
0.046512
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
6
7d327befa6ad8db3ed0e9284a1cd98237202a171
110
py
Python
application/models/__init__.py
demetrius-mp/flask-template
2dbab372bf2d7d5ff60af430c4b69c95a41cd681
[ "MIT" ]
null
null
null
application/models/__init__.py
demetrius-mp/flask-template
2dbab372bf2d7d5ff60af430c4b69c95a41cd681
[ "MIT" ]
2
2021-10-14T02:00:15.000Z
2021-10-14T02:19:44.000Z
application/models/__init__.py
demetrius-mp/flask-template
2dbab372bf2d7d5ff60af430c4b69c95a41cd681
[ "MIT" ]
null
null
null
from application.models.user import User # noqa: F401 from application.models.role import Role # noqa: F401
36.666667
54
0.781818
16
110
5.375
0.5
0.348837
0.488372
0
0
0
0
0
0
0
0
0.06383
0.145455
110
2
55
55
0.851064
0.190909
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
adc5ec98faf83c8872bd9e1f630c1141e42e929b
96
py
Python
bol/utils/__init__.py
harveenchadha/bol
0f720813107ab2f41e895917cd0359e8c0738dd1
[ "MIT" ]
10
2021-07-09T12:27:27.000Z
2022-03-23T07:36:53.000Z
bol/utils/__init__.py
harveenchadha/bol
0f720813107ab2f41e895917cd0359e8c0738dd1
[ "MIT" ]
4
2021-07-05T19:18:32.000Z
2021-09-09T07:18:23.000Z
bol/utils/__init__.py
harveenchadha/bol
0f720813107ab2f41e895917cd0359e8c0738dd1
[ "MIT" ]
3
2021-08-05T06:34:31.000Z
2022-03-30T13:22:47.000Z
from .helper_functions import * from .constants import * from .file_operations.file_ops import *
32
39
0.8125
13
96
5.769231
0.615385
0.266667
0
0
0
0
0
0
0
0
0
0
0.114583
96
3
39
32
0.882353
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
bc3b329d4d7cdd1cc18a6759498eb25f63bae230
46
py
Python
share/gaffer/gui/mtlx_input_init.py
Sosoyan/materialXBox
75fae5b42a9136f9646a4ed12d6f155f00e7bc1d
[ "BSD-3-Clause" ]
1
2021-03-05T11:54:38.000Z
2021-03-05T11:54:38.000Z
share/gaffer/gui/mtlx_input_init.py
Sosoyan/materialXBox
75fae5b42a9136f9646a4ed12d6f155f00e7bc1d
[ "BSD-3-Clause" ]
null
null
null
share/gaffer/gui/mtlx_input_init.py
Sosoyan/materialXBox
75fae5b42a9136f9646a4ed12d6f155f00e7bc1d
[ "BSD-3-Clause" ]
1
2021-02-12T11:20:07.000Z
2021-02-12T11:20:07.000Z
import mtlx_input mtlx_input.init(application)
23
28
0.891304
7
46
5.571429
0.714286
0.461538
0
0
0
0
0
0
0
0
0
0
0.043478
46
2
28
23
0.886364
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
70c1eeb4222a28640319aff7ac6878c0e4d90e50
22,581
py
Python
authors/apps/authentication/test/test_authentication.py
Kasulejoseph/ah-backend-athena
016810d6a2391ae45985b4d43003e51ada1e81be
[ "BSD-3-Clause" ]
null
null
null
authors/apps/authentication/test/test_authentication.py
Kasulejoseph/ah-backend-athena
016810d6a2391ae45985b4d43003e51ada1e81be
[ "BSD-3-Clause" ]
31
2018-11-26T17:42:35.000Z
2022-03-11T23:36:55.000Z
authors/apps/authentication/test/test_authentication.py
Kasulejoseph/ah-backend-athena
016810d6a2391ae45985b4d43003e51ada1e81be
[ "BSD-3-Clause" ]
6
2018-11-23T09:55:02.000Z
2021-06-17T15:18:49.000Z
import json from django.urls import reverse from rest_framework.views import status from rest_framework.test import APITestCase, APIClient, APIRequestFactory from ..serializers import LoginSerializer from rest_framework.exceptions import ValidationError from ..views import VerifyAccount, RegistrationAPIView from ..mod...
53.509479
149
0.655463
2,483
22,581
5.696738
0.086589
0.039236
0.027147
0.033934
0.808978
0.768752
0.74217
0.711842
0.673029
0.656062
0
0.023101
0.237013
22,581
421
150
53.63658
0.797899
0
0
0.525469
0
0
0.274921
0.109118
0.002681
0
0
0
0.158177
1
0.10992
false
0.061662
0.040214
0
0.163539
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
6
cb02400133efa2bd7f9c3af9c6ac27372e23a50c
137
py
Python
pretrain/data/datasets/__init__.py
thilinicooray/VL-BERT
fef1e04557542733b4f7519d6288a4588ea5a040
[ "MIT" ]
5
2020-12-08T12:38:48.000Z
2021-11-25T13:19:16.000Z
code/vl-bert/pretrain/data/datasets/__init__.py
e-bug/mpre-unmasked
cd12250b58152a558e15a33113bf98d90b88e776
[ "MIT" ]
1
2021-06-21T04:05:26.000Z
2021-06-21T04:05:26.000Z
code/vl-bert/pretrain/data/datasets/__init__.py
e-bug/mpre-unmasked
cd12250b58152a558e15a33113bf98d90b88e776
[ "MIT" ]
1
2021-06-08T02:31:59.000Z
2021-06-08T02:31:59.000Z
from .conceptual_captions import ConceptualCaptionsDataset from .vcr_corpus import VCRCorpus from .general_corpus import GeneralCorpus
22.833333
58
0.875912
15
137
7.8
0.666667
0.205128
0
0
0
0
0
0
0
0
0
0
0.10219
137
5
59
27.4
0.95122
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
cb1813a1a8b3e780a324fb6c6a96b3e9f30bcbf1
7,067
py
Python
torchrec/optim/tests/test_clipping.py
terrorizer1980/torchrec
824efb76e4a1c8500e5ce976ac01e6bae894e03a
[ "BSD-3-Clause" ]
null
null
null
torchrec/optim/tests/test_clipping.py
terrorizer1980/torchrec
824efb76e4a1c8500e5ce976ac01e6bae894e03a
[ "BSD-3-Clause" ]
null
null
null
torchrec/optim/tests/test_clipping.py
terrorizer1980/torchrec
824efb76e4a1c8500e5ce976ac01e6bae894e03a
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 # Copyright (c) Meta Platforms, Inc. and affiliates. # All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. import unittest import torch from torch.autograd import Variable from torchrec.optim.cl...
35.873096
88
0.648224
875
7,067
4.984
0.100571
0.068792
0.137583
0.041275
0.885118
0.862188
0.849576
0.812199
0.812199
0.812199
0
0.042518
0.231216
7,067
196
89
36.056122
0.760169
0.061837
0
0.640625
0
0
0.019649
0
0
0
0
0
0.078125
1
0.0625
false
0
0.039063
0
0.109375
0.015625
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
cb956af2b011ff57243c1dc4faef1854291c8763
3,586
py
Python
tests/_test_hypothesis.py
Skelmis/Discord-Anti-Spam
6b0db01cb6363f84d729c240ea4b9679d509222e
[ "MIT" ]
17
2021-11-22T07:29:07.000Z
2022-03-23T12:09:40.000Z
tests/_test_hypothesis.py
Skelmis/Discord-Anti-Spam
6b0db01cb6363f84d729c240ea4b9679d509222e
[ "MIT" ]
25
2021-11-17T20:19:22.000Z
2022-03-30T09:05:35.000Z
tests/_test_hypothesis.py
Skelmis/Discord-Anti-Spam
6b0db01cb6363f84d729c240ea4b9679d509222e
[ "MIT" ]
2
2021-12-18T17:40:11.000Z
2022-02-16T03:25:17.000Z
import pytest from discord.ext import commands from hypothesis import given from hypothesis.strategies import datetimes, dictionaries, floats, lists, text # noinspection PyUnresolvedReferences from antispam import ( AntiSpamHandler, GuildAddonNotFound, GuildNotFound, MemberAddonNotFound, MemberNotF...
34.152381
83
0.70106
457
3,586
5.308534
0.177243
0.113355
0.118714
0.093982
0.784831
0.784831
0.780297
0.780297
0.773702
0.773702
0
0.009414
0.200223
3,586
104
84
34.480769
0.836471
0.011154
0
0.71875
0
0
0.002001
0
0
0
0
0
0.09375
1
0
false
0
0.109375
0
0.125
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
cb9e07b037118bb3e5e15c46a26415b177b22dbc
30
py
Python
nbunicorn/__init__.py
nbunicorn/nbunicorn
abd4ac988efeec90997fae6880ddb2e7da804f4c
[ "MIT" ]
null
null
null
nbunicorn/__init__.py
nbunicorn/nbunicorn
abd4ac988efeec90997fae6880ddb2e7da804f4c
[ "MIT" ]
null
null
null
nbunicorn/__init__.py
nbunicorn/nbunicorn
abd4ac988efeec90997fae6880ddb2e7da804f4c
[ "MIT" ]
null
null
null
def expose(func): return func
15
17
0.766667
5
30
4.6
0.8
0
0
0
0
0
0
0
0
0
0
0
0.133333
30
2
18
15
0.884615
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
cbe33c895ea29de6bb5e7c1dbc374d8493f9d248
10,460
py
Python
tests/cases/resources/tests/field.py
rysdyk/serrano
926d874b19efdd18e359d32bca601058b655b288
[ "BSD-2-Clause" ]
null
null
null
tests/cases/resources/tests/field.py
rysdyk/serrano
926d874b19efdd18e359d32bca601058b655b288
[ "BSD-2-Clause" ]
null
null
null
tests/cases/resources/tests/field.py
rysdyk/serrano
926d874b19efdd18e359d32bca601058b655b288
[ "BSD-2-Clause" ]
1
2020-01-16T15:26:37.000Z
2020-01-16T15:26:37.000Z
import json from django.test.utils import override_settings from avocado.models import DataField from avocado.events.models import Log from .base import BaseTestCase from tests.models import Project, Title class FieldResourceTestCase(BaseTestCase): def test_get_all(self): response = self.client.get('/api/f...
39.029851
81
0.597992
1,158
10,460
5.291019
0.126943
0.097927
0.073445
0.102008
0.815734
0.794843
0.756488
0.733964
0.733964
0.698384
0
0.020466
0.257266
10,460
267
82
39.17603
0.768181
0.040535
0
0.598131
0
0
0.16665
0.030255
0
0
0
0
0.261682
1
0.079439
false
0.004673
0.028037
0
0.11215
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
cbe59159b6c88063e6a3e166c1a8be81cf0cb012
66
py
Python
neuromodels/solvers/__init__.py
nicolossus/neuromodels
82f95a8670116ef26b71c02f9c94626c502bc989
[ "MIT" ]
null
null
null
neuromodels/solvers/__init__.py
nicolossus/neuromodels
82f95a8670116ef26b71c02f9c94626c502bc989
[ "MIT" ]
null
null
null
neuromodels/solvers/__init__.py
nicolossus/neuromodels
82f95a8670116ef26b71c02f9c94626c502bc989
[ "MIT" ]
null
null
null
from .brunel_solver import * from .hodgkin_huxley_solver import *
22
36
0.818182
9
66
5.666667
0.666667
0.470588
0
0
0
0
0
0
0
0
0
0
0.121212
66
2
37
33
0.87931
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
380cd10be942b329ced897627a8ce172da476c4c
46
py
Python
app/webapp.py
edgestats/edgestats-webui
fcb7e3ef5e347df50530a28fa128e947999c9d52
[ "MIT" ]
1
2021-12-10T20:03:29.000Z
2021-12-10T20:03:29.000Z
app/webapp.py
edgestats/edgestats-webui
fcb7e3ef5e347df50530a28fa128e947999c9d52
[ "MIT" ]
null
null
null
app/webapp.py
edgestats/edgestats-webui
fcb7e3ef5e347df50530a28fa128e947999c9d52
[ "MIT" ]
null
null
null
# Entry point for the webapp from . import app
23
28
0.76087
8
46
4.375
1
0
0
0
0
0
0
0
0
0
0
0
0.195652
46
2
29
23
0.945946
0.565217
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
69e6105230b3a94af38b7e82cee71c8336915fd3
86
py
Python
s_drv_textio.py
EnergitCZ/NelecticAL
477dacd6d4b8416e9e0b069fe7efcb65f54f2499
[ "MIT" ]
null
null
null
s_drv_textio.py
EnergitCZ/NelecticAL
477dacd6d4b8416e9e0b069fe7efcb65f54f2499
[ "MIT" ]
null
null
null
s_drv_textio.py
EnergitCZ/NelecticAL
477dacd6d4b8416e9e0b069fe7efcb65f54f2499
[ "MIT" ]
null
null
null
def printl(text): #Printing print(text) def getl(text): #Getting return input(text)
17.2
27
0.732558
13
86
4.846154
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.127907
86
5
28
17.2
0.84
0.174419
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.25
0.75
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
1
0
6
69eccc6521698ee4bbaeea785f8abccb44562ee5
6,714
py
Python
tests/test_cursor_fetchmany.py
adh/ctds
8c8b562341fb9635e3d89013ff06ffc6b1397abb
[ "MIT" ]
78
2016-03-14T18:02:05.000Z
2021-11-26T23:23:06.000Z
tests/test_cursor_fetchmany.py
adh/ctds
8c8b562341fb9635e3d89013ff06ffc6b1397abb
[ "MIT" ]
64
2016-10-18T17:54:08.000Z
2021-09-30T11:01:02.000Z
tests/test_cursor_fetchmany.py
adh/ctds
8c8b562341fb9635e3d89013ff06ffc6b1397abb
[ "MIT" ]
17
2016-07-21T20:22:12.000Z
2020-11-07T01:25:26.000Z
import ctds from .base import TestExternalDatabase class TestCursorFetchMany(TestExternalDatabase): '''Unit tests related to the Cursor.fetchmany() method. ''' def test___doc__(self): self.assertEqual( ctds.Cursor.fetchmany.__doc__, '''\ fetchmany(size=self.arraysize) Fetc...
44.76
97
0.513852
678
6,714
5.017699
0.153392
0.15873
0.070547
0.081129
0.783069
0.764256
0.755144
0.755144
0.743386
0.729865
0
0.018266
0.355824
6,714
149
98
45.060403
0.768324
0.017724
0
0.636364
0
0
0.02118
0
0
0
0
0
0.414141
1
0.090909
false
0
0.020202
0
0.121212
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
6
69f39949e310725092ca308cf321373d2ebb7fe4
45
py
Python
multitasking_transformers/dataloaders/__init__.py
NLPatVCU/multitasking_transformers
3245518a6cb3748916214233ce77965384df72f9
[ "MIT" ]
19
2020-09-22T08:26:23.000Z
2022-03-29T03:06:56.000Z
multitasking_transformers/dataloaders/__init__.py
NLPatVCU/multitasking_transformers
3245518a6cb3748916214233ce77965384df72f9
[ "MIT" ]
2
2020-06-08T21:27:31.000Z
2020-06-19T18:00:19.000Z
multitasking_transformers/dataloaders/__init__.py
AndriyMulyar/multitasking_transformers
3245518a6cb3748916214233ce77965384df72f9
[ "MIT" ]
5
2020-04-03T23:33:01.000Z
2020-07-02T05:42:46.000Z
from .round_robin import RoundRobinDataLoader
45
45
0.911111
5
45
8
1
0
0
0
0
0
0
0
0
0
0
0
0.066667
45
1
45
45
0.952381
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
38541941fdb6d7c2864cb624f6df2afefc95fdcd
27
py
Python
itatools/__init__.py
quantop-dungeon/Itaw
ea2c5250fda2ab000a8081af32f7d947c345210a
[ "MIT" ]
null
null
null
itatools/__init__.py
quantop-dungeon/Itaw
ea2c5250fda2ab000a8081af32f7d947c345210a
[ "MIT" ]
null
null
null
itatools/__init__.py
quantop-dungeon/Itaw
ea2c5250fda2ab000a8081af32f7d947c345210a
[ "MIT" ]
null
null
null
from itatools.itaw import *
27
27
0.814815
4
27
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.111111
27
1
27
27
0.916667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
38839fd34878b0b036838f77e63da750218dc45d
4,434
py
Python
modules/augment/misc/python/test/test_augmenter_images.py
FadyEssam/opencv_contrib
8ebe2629ec7ae17338f6dc7acceada82151185ed
[ "BSD-3-Clause" ]
null
null
null
modules/augment/misc/python/test/test_augmenter_images.py
FadyEssam/opencv_contrib
8ebe2629ec7ae17338f6dc7acceada82151185ed
[ "BSD-3-Clause" ]
1
2019-07-11T20:21:36.000Z
2019-07-11T20:21:36.000Z
modules/augment/misc/python/test/test_augmenter_images.py
FadyEssam/opencv_contrib
8ebe2629ec7ae17338f6dc7acceada82151185ed
[ "BSD-3-Clause" ]
null
null
null
import cv2 as cv import numpy as np from tests_common import NewOpenCVTests from config import MIN_NUMBER_OF_TESTS, MAX_NUMBER_OF_TESTS, MIN_IMAGE_DIM_SIZE, MAX_IMAGE_DIM_SIZE, MIN_NUMBER_OF_GROUND_TRUTH_DATA, MAX_NUMBER_OF_GROUND_TRUTH_DATA ## for consistency np.random.seed(seed=1) cv.setRNGSeed(seed=1) class augme...
40.309091
165
0.684032
593
4,434
4.841484
0.143339
0.075235
0.05573
0.104493
0.811216
0.770463
0.770463
0.770463
0.748868
0.748868
0
0.028824
0.209743
4,434
110
166
40.309091
0.790525
0.003383
0
0.641975
0
0
0.001811
0
0
0
0
0
0
1
0.049383
false
0
0.049383
0
0.111111
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
38896645bafa3ce3e7c8278772328dc3499ef23d
225
py
Python
mopidy_alarm/native/time_printer.py
valentinb/mopidy-alarm
ef268ac0f6fc811fa72f7f69961074e45a299952
[ "Apache-2.0" ]
3
2015-05-22T00:01:08.000Z
2018-03-15T07:26:13.000Z
mopidy_alarm/native/time_printer.py
valentinb/mopidy-alarm
ef268ac0f6fc811fa72f7f69961074e45a299952
[ "Apache-2.0" ]
null
null
null
mopidy_alarm/native/time_printer.py
valentinb/mopidy-alarm
ef268ac0f6fc811fa72f7f69961074e45a299952
[ "Apache-2.0" ]
null
null
null
from mopidy_alarm import time_printer_interface import os class TimePrinter(time_printer_interface.TimePrinterInterface): def print_time(self, hours, minutes): os.system("clear") print(str(hours) + ':' + str(minutes))
25
63
0.777778
29
225
5.827586
0.655172
0.130178
0.236686
0
0
0
0
0
0
0
0
0
0.111111
225
8
64
28.125
0.845
0
0
0
0
0
0.026667
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0.666667
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
1
0
6
38d8389cb3ac72a7cf1d8564dab79763a31150fc
155
py
Python
rcds/util/__init__.py
jordanbertasso/rcds
d3d655a59a350042d65476793db84e761de04829
[ "BSD-3-Clause" ]
5
2020-07-13T12:40:02.000Z
2021-08-21T11:18:28.000Z
rcds/util/__init__.py
jordanbertasso/rcds
d3d655a59a350042d65476793db84e761de04829
[ "BSD-3-Clause" ]
144
2020-07-06T11:26:49.000Z
2022-02-01T14:33:28.000Z
rcds/util/__init__.py
jordanbertasso/rcds
d3d655a59a350042d65476793db84e761de04829
[ "BSD-3-Clause" ]
7
2020-07-22T12:38:32.000Z
2021-12-21T14:27:54.000Z
from .deep_merge import deep_merge # noqa: F401 from .find import find_files # noqa: F401 from .load import SUPPORTED_EXTENSIONS, load_any # noqa: F401
38.75
62
0.774194
24
155
4.791667
0.5
0.208696
0.208696
0
0
0
0
0
0
0
0
0.069231
0.16129
155
3
63
51.666667
0.815385
0.206452
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
2a4af30837ce48aeb7cf235e57297290fdc2e3e2
61
py
Python
discord_build_info_py/handler/parse.py
Saulouk/discord
067c74ed5e5774bcaf05b13dd8fd67b6804eabfe
[ "Apache-2.0" ]
5
2020-09-25T01:01:08.000Z
2021-12-19T19:05:53.000Z
discord_build_info_py/handler/parse.py
Saulouk/discord
067c74ed5e5774bcaf05b13dd8fd67b6804eabfe
[ "Apache-2.0" ]
null
null
null
discord_build_info_py/handler/parse.py
Saulouk/discord
067c74ed5e5774bcaf05b13dd8fd67b6804eabfe
[ "Apache-2.0" ]
2
2022-02-09T07:44:19.000Z
2022-02-28T08:26:01.000Z
import json def reparse(data): return json.loads(data)
10.166667
27
0.704918
9
61
4.777778
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.196721
61
5
28
12.2
0.877551
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
6
aaa25dfe39fe55e7ef055c8e64679a60def25c30
188
py
Python
fletcher/__init__.py
jbrockmendel/fletcher
99b8f12beefed4991960f316d75199de32c30b2a
[ "MIT" ]
null
null
null
fletcher/__init__.py
jbrockmendel/fletcher
99b8f12beefed4991960f316d75199de32c30b2a
[ "MIT" ]
51
2019-10-16T12:48:11.000Z
2020-08-26T10:37:50.000Z
fletcher/__init__.py
krivonogov/fletcher
00e6f233b3503b534afbb7767dd7667f4379794d
[ "MIT" ]
null
null
null
from .base import FletcherArray, FletcherDtype, pandas_from_arrow from .string_array import TextAccessor __all__ = ["FletcherArray", "FletcherDtype", "TextAccessor", "pandas_from_arrow"]
37.6
81
0.81383
20
188
7.2
0.55
0.361111
0.208333
0
0
0
0
0
0
0
0
0
0.090426
188
4
82
47
0.842105
0
0
0
0
0
0.292553
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
6
aacf6f0055f89c4db253def8f2522a6a1d6ba89b
9,439
py
Python
data_structures_two/1_binary_heap.py
amanalok/python-dsa
4b49032c3fd7c8236f1154a3d080fd8e1713d74f
[ "MIT" ]
null
null
null
data_structures_two/1_binary_heap.py
amanalok/python-dsa
4b49032c3fd7c8236f1154a3d080fd8e1713d74f
[ "MIT" ]
null
null
null
data_structures_two/1_binary_heap.py
amanalok/python-dsa
4b49032c3fd7c8236f1154a3d080fd8e1713d74f
[ "MIT" ]
null
null
null
import sys class MinHeap: def __init__(self, capacity): self.storage = [None] * capacity self.capacity = capacity self.size = 0 def get_parent_index(self, index): return (index - 1) // 2 def get_left_child_index(self, index): return (index * 2) + 1 def get_ri...
28.008902
81
0.619557
1,259
9,439
4.378078
0.059571
0.099782
0.055878
0.040094
0.839441
0.793723
0.767598
0.759615
0.736756
0.721517
0
0.013877
0.274711
9,439
336
82
28.092262
0.791265
0
0
0.639344
0
0
0.043331
0
0
0
0
0
0
1
0.184426
false
0
0.004098
0.065574
0.303279
0.057377
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
aae23d15e329517d633883888fff6e9816ce2b15
15
py
Python
Problem109.py
Cleancode404/ProjectEuler
2f93b256b107bfb6a395b8aa197cfeacc599b00b
[ "MIT" ]
null
null
null
Problem109.py
Cleancode404/ProjectEuler
2f93b256b107bfb6a395b8aa197cfeacc599b00b
[ "MIT" ]
null
null
null
Problem109.py
Cleancode404/ProjectEuler
2f93b256b107bfb6a395b8aa197cfeacc599b00b
[ "MIT" ]
null
null
null
""" Darts """
3
5
0.333333
1
15
5
1
0
0
0
0
0
0
0
0
0
0
0
0.266667
15
4
6
3.75
0.454545
0.333333
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
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
6
2a9e4e25ec3d3bee70b92faf74f981e1e7ea3d51
31,387
py
Python
training/loss_vc2.py
zhuxinqimac/stylegan2
5c3bda161ead21ea290de4190d3704e59cf6de64
[ "BSD-Source-Code" ]
5
2020-01-23T10:04:27.000Z
2021-07-04T09:51:28.000Z
training/loss_vc2.py
zhuxinqimac/stylegan2
5c3bda161ead21ea290de4190d3704e59cf6de64
[ "BSD-Source-Code" ]
null
null
null
training/loss_vc2.py
zhuxinqimac/stylegan2
5c3bda161ead21ea290de4190d3704e59cf6de64
[ "BSD-Source-Code" ]
null
null
null
#!/usr/bin/python #-*- coding: utf-8 -*- # >.>.>.>.>.>.>.>.>.>.>.>.>.>.>.>. # Licensed under the Apache License, Version 2.0 (the "License") # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # --- File Name: loss_vc2.py # --- Creation Date: 24-04-2020 # --- Last Modified: Fri 09 A...
52.662752
142
0.693217
4,772
31,387
4.192372
0.054484
0.070979
0.054434
0.030391
0.854094
0.809657
0.782115
0.769519
0.76502
0.746176
0
0.019704
0.188295
31,387
595
143
52.751261
0.765553
0.105585
0
0.673961
0
0
0.037801
0.003787
0
0
0
0
0.010941
1
0.037199
false
0
0.010941
0
0.087527
0.006565
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
2abcc052539411d1d082fffb7be4b204bf261d97
24
py
Python
MainModule/AlphaModel/MachineLearningModel/HyperParameterOptimizer.py
sarang2dan/pytrader
55930b4f3efb8c18c4fce0d3adacdc26a2abc7ab
[ "MIT" ]
null
null
null
MainModule/AlphaModel/MachineLearningModel/HyperParameterOptimizer.py
sarang2dan/pytrader
55930b4f3efb8c18c4fce0d3adacdc26a2abc7ab
[ "MIT" ]
null
null
null
MainModule/AlphaModel/MachineLearningModel/HyperParameterOptimizer.py
sarang2dan/pytrader
55930b4f3efb8c18c4fce0d3adacdc26a2abc7ab
[ "MIT" ]
null
null
null
# todo: delete this file
24
24
0.75
4
24
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.166667
24
1
24
24
0.9
0.916667
0
null
0
null
0
0
null
0
0
1
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
1
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
0
0
0
0
0
6
2ade65a035dc3954a7d9b7d1c6638fccfdc4135b
8,262
py
Python
quantiphyse/test/slice_plane_test.py
physimals/quantiphyse
bd3be0098b9929b1987fe0f23e515fa70674b3d4
[ "Apache-2.0" ]
9
2021-02-01T06:44:31.000Z
2022-01-17T15:46:40.000Z
quantiphyse/test/slice_plane_test.py
ibme-qubic/quantiphyse
34f40424941414ce139c4612a903de3f24883576
[ "Apache-2.0" ]
34
2019-02-04T10:47:02.000Z
2020-08-13T09:36:52.000Z
quantiphyse/test/slice_plane_test.py
physimals/quantiphyse
bd3be0098b9929b1987fe0f23e515fa70674b3d4
[ "Apache-2.0" ]
2
2021-02-21T01:46:04.000Z
2021-11-15T10:55:26.000Z
""" Quantiphyse - Tests for OrthoSlice class Copyright (c) 2013-2020 University of Oxford 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 req...
38.971698
94
0.592229
1,050
8,262
4.607619
0.140952
0.017776
0.013022
0.105829
0.780074
0.778007
0.739355
0.714345
0.704423
0.674659
0
0.03481
0.25938
8,262
211
95
39.156398
0.755842
0.084967
0
0.732877
0
0
0.008495
0
0
0
0
0
0.253425
1
0.075342
false
0
0.020548
0
0.10274
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
6303229429a9331b3524ad95522d176b87a41486
189
py
Python
src/app/main/admin.py
OlegBugaichuk/site_template
7094ef7cfa0c487ac124f94642e5449dfa6d0dbb
[ "MIT" ]
null
null
null
src/app/main/admin.py
OlegBugaichuk/site_template
7094ef7cfa0c487ac124f94642e5449dfa6d0dbb
[ "MIT" ]
null
null
null
src/app/main/admin.py
OlegBugaichuk/site_template
7094ef7cfa0c487ac124f94642e5449dfa6d0dbb
[ "MIT" ]
null
null
null
from django.contrib import admin from solo.admin import SingletonModelAdmin from .models import MainPageDB @admin.register(MainPageDB) class MainPageAdmin(SingletonModelAdmin): pass
18.9
42
0.825397
21
189
7.428571
0.619048
0
0
0
0
0
0
0
0
0
0
0
0.121693
189
9
43
21
0.939759
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.166667
0.5
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
6
630ba25f20e366903e249dce970ded14e1bb22f2
99
py
Python
functions/modules/making_pizzas.py
nv-krishna/python-crash-course
d481faeb2196712cd52ca1d34dc1fe967d13712f
[ "Apache-2.0" ]
2
2020-11-02T05:52:33.000Z
2021-06-09T01:28:22.000Z
functions/modules/making_pizzas.py
nv-krishna/python-crash-course
d481faeb2196712cd52ca1d34dc1fe967d13712f
[ "Apache-2.0" ]
null
null
null
functions/modules/making_pizzas.py
nv-krishna/python-crash-course
d481faeb2196712cd52ca1d34dc1fe967d13712f
[ "Apache-2.0" ]
2
2021-04-08T05:26:04.000Z
2021-06-09T01:28:23.000Z
import pizza pizza.make_pizza(12, "cheese") pizza.make_pizza(16,"pepperoni","sausages","tomatoes")
24.75
54
0.767677
14
99
5.285714
0.642857
0.243243
0.378378
0
0
0
0
0
0
0
0
0.042553
0.050505
99
4
54
24.75
0.744681
0
0
0
0
0
0.31
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
2d497fd37e44212fbb241a980ae462c95f99e02f
245
py
Python
octopod/__init__.py
sreeshnair/octopod
c4d26c19735dff7c386338324a7ba1fd56ffbdab
[ "BSD-3-Clause" ]
27
2020-04-13T20:07:31.000Z
2020-06-11T09:08:32.000Z
octopod/__init__.py
sreeshnair/octopod
c4d26c19735dff7c386338324a7ba1fd56ffbdab
[ "BSD-3-Clause" ]
24
2020-07-09T15:43:10.000Z
2022-03-08T18:24:25.000Z
octopod/__init__.py
sreeshnair/octopod
c4d26c19735dff7c386338324a7ba1fd56ffbdab
[ "BSD-3-Clause" ]
9
2020-11-02T16:33:12.000Z
2022-03-05T00:21:40.000Z
from ._version import __version__ from octopod.dataloader import MultiDatasetLoader from octopod.ensemble import * from octopod.learner import MultiTaskLearner, MultiInputMultiTaskLearner from octopod.text import * from octopod.vision import *
30.625
72
0.853061
27
245
7.555556
0.444444
0.269608
0.166667
0
0
0
0
0
0
0
0
0
0.106122
245
7
73
35
0.931507
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
2d8f40ed0bd683a1b39ebd9efb392ea9b9c5232e
166
py
Python
pyseeta/__init__.py
Kite0011/pyseeta
078a5c2457dba9f7bd67201e224403be489ccf76
[ "MIT" ]
98
2017-04-15T18:34:53.000Z
2020-12-07T09:16:25.000Z
pyseeta/__init__.py
Kite0011/pyseeta
078a5c2457dba9f7bd67201e224403be489ccf76
[ "MIT" ]
15
2017-03-28T05:04:26.000Z
2021-09-28T11:20:32.000Z
pyseeta/__init__.py
Kite0011/pyseeta
078a5c2457dba9f7bd67201e224403be489ccf76
[ "MIT" ]
26
2017-04-25T06:06:26.000Z
2021-03-06T15:35:31.000Z
__all__ = ['aligner', 'identifier', 'detector'] from pyseeta.detector import Detector from pyseeta.aligner import Aligner from pyseeta.identifier import Identifier
23.714286
47
0.801205
19
166
6.789474
0.368421
0.255814
0.294574
0
0
0
0
0
0
0
0
0
0.114458
166
6
48
27.666667
0.877551
0
0
0
0
0
0.151515
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
6
2dfdb75d9bd897036524a29f6c86fac1865fa215
365
py
Python
Darlington/phase1/python Basic 2/day 25 solution/qtn7.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
6
2020-05-23T19:53:25.000Z
2021-05-08T20:21:30.000Z
Darlington/phase1/python Basic 2/day 25 solution/qtn7.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
8
2020-05-14T18:53:12.000Z
2020-07-03T00:06:20.000Z
Darlington/phase1/python Basic 2/day 25 solution/qtn7.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
39
2020-05-10T20:55:02.000Z
2020-09-12T17:40:59.000Z
#program to check whether a given employee code is exactly 8 digits or 12 digits. def is_valid_emp_code(emp_code): return len(emp_code) in [8, 12] and emp_code.isdigit() print(is_valid_emp_code('12345678')) print(is_valid_emp_code('1234567j')) print(is_valid_emp_code('12345678j')) print(is_valid_emp_code('12345678912...
45.625
81
0.8
63
365
4.301587
0.444444
0.232472
0.221402
0.309963
0.350554
0
0
0
0
0
0
0.140299
0.082192
365
8
82
45.625
0.668657
0.219178
0
0
0
0
0.17193
0
0
0
0
0
0
1
0.142857
false
0
0
0.142857
0.285714
0.714286
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
1
0
6
931911b827c0954766ec8f6ecfcfa9d3e10c008c
83
py
Python
mmorpg/old/Model/Direction/ZDirection/zdirection.py
InnovAnon-Inc/MAiZE
6b7b266d85f8932557013e3c32bcc728c53f616f
[ "Unlicense" ]
null
null
null
mmorpg/old/Model/Direction/ZDirection/zdirection.py
InnovAnon-Inc/MAiZE
6b7b266d85f8932557013e3c32bcc728c53f616f
[ "Unlicense" ]
null
null
null
mmorpg/old/Model/Direction/ZDirection/zdirection.py
InnovAnon-Inc/MAiZE
6b7b266d85f8932557013e3c32bcc728c53f616f
[ "Unlicense" ]
null
null
null
from Model.Direction.direction import Direction class ZDirection (Direction): pass
27.666667
47
0.843373
10
83
7
0.7
0
0
0
0
0
0
0
0
0
0
0
0.096386
83
3
48
27.666667
0.933333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0.5
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
1
1
0
1
0
0
6
931c7a08fad91c9d9674661c8abb6799ba80bb2f
41
py
Python
util/__init__.py
growlxy/CSAnalysis
54de4abfadb78b2a4e78c88bcc7dd3354370dbea
[ "Apache-2.0" ]
null
null
null
util/__init__.py
growlxy/CSAnalysis
54de4abfadb78b2a4e78c88bcc7dd3354370dbea
[ "Apache-2.0" ]
null
null
null
util/__init__.py
growlxy/CSAnalysis
54de4abfadb78b2a4e78c88bcc7dd3354370dbea
[ "Apache-2.0" ]
null
null
null
from .csv_name_getter import get_csv_name
41
41
0.902439
8
41
4.125
0.75
0.424242
0
0
0
0
0
0
0
0
0
0
0.073171
41
1
41
41
0.868421
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
932b7d34be33dc780eb39c1c57f6697697aa6e23
455
py
Python
python/testData/refactoring/inlinelocal/operatorPrecedence/matrixMultiplication.after.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/refactoring/inlinelocal/operatorPrecedence/matrixMultiplication.after.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/refactoring/inlinelocal/operatorPrecedence/matrixMultiplication.after.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
(y @ z)[::-5] (y @ z)[5] (y @ z)(5) (y @ z).foo -(y @ z) +(y @ z) ~(y @ z) 5 ** (y @ z) (y @ z) ** 5 5 * y @ z y @ z * 5 5 / (y @ z) y @ z / 5 5 // (y @ z) y @ z // 5 5 + y @ z y @ z + 5 y @ z - 5 5 - y @ z 5 >> y @ z y @ z << 5 5 & y @ z y @ z & 5 5 ^ y @ z y @ z ^ 5 5 | y @ z y @ z | 5 () in y @ z y @ z i...
7.844828
25
0.314286
125
455
1.144
0.088
0.573427
0.356643
0.447552
0.573427
0.573427
0.559441
0.482517
0.405594
0.405594
0
0.123506
0.448352
455
57
26
7.982456
0.446215
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
1
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
6
9346c28beb385b41e2333d28c935f2a53c278391
9,146
py
Python
emailapp/sql_helpers/ready_to_send_email_helper.py
manisharmagarg/Email_Management
4241d3e0970558ea8a650b424a3cdb4b5a009149
[ "Apache-2.0" ]
null
null
null
emailapp/sql_helpers/ready_to_send_email_helper.py
manisharmagarg/Email_Management
4241d3e0970558ea8a650b424a3cdb4b5a009149
[ "Apache-2.0" ]
null
null
null
emailapp/sql_helpers/ready_to_send_email_helper.py
manisharmagarg/Email_Management
4241d3e0970558ea8a650b424a3cdb4b5a009149
[ "Apache-2.0" ]
null
null
null
from .database import Database class ReadyToSendEmailsHelper(Database): def __init__(self, *args): super(ReadyToSendEmailsHelper, self).__init__(*args) def add_ready_to_emails(self, email_address, campaign_id, html_template, subject, status): data = {"email_address": email_address, "campaign...
49.978142
115
0.624863
1,171
9,146
4.549957
0.063194
0.148273
0.084647
0.09253
0.864302
0.834459
0.820946
0.795608
0.736299
0.727102
0
0.000144
0.239558
9,146
182
116
50.252747
0.765924
0.121365
0
0.515873
0
0
0.353631
0
0
0
0
0
0
1
0.198413
false
0
0.007937
0
0.380952
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
faae02d535ed69a49ed6af716d826a81a9a0403d
12
py
Python
VirClass/__init__.py
thecoparyew/Virus-classification-theano
55c4a7b804fa65d14c2167a3bbbaa2cf1b4a3521
[ "MIT" ]
null
null
null
VirClass/__init__.py
thecoparyew/Virus-classification-theano
55c4a7b804fa65d14c2167a3bbbaa2cf1b4a3521
[ "MIT" ]
5
2016-12-08T17:51:59.000Z
2017-02-23T11:18:32.000Z
VirClass/__init__.py
thecoparyew/Virus-classification-theano
55c4a7b804fa65d14c2167a3bbbaa2cf1b4a3521
[ "MIT" ]
null
null
null
"""Todo."""
6
11
0.333333
1
12
4
1
0
0
0
0
0
0
0
0
0
0
0
0.083333
12
1
12
12
0.363636
0.416667
0
null
0
null
0
0
null
0
0
1
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
1
0
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
0
0
0
0
0
6
fab3454463b17a7434ca8409498c8bf4297a6474
164
py
Python
python/645-Set-Mismatch.py
souradeepta/leetcode-practice
f20235c0e3846362a86443bc24339b337f43af04
[ "MIT" ]
null
null
null
python/645-Set-Mismatch.py
souradeepta/leetcode-practice
f20235c0e3846362a86443bc24339b337f43af04
[ "MIT" ]
null
null
null
python/645-Set-Mismatch.py
souradeepta/leetcode-practice
f20235c0e3846362a86443bc24339b337f43af04
[ "MIT" ]
null
null
null
class Solution: def findErrorNums(self, nums: List[int]) -> List[int]: return [sum(nums) - sum(set(nums)), len(nums)*(len(nums)+1)//2 - sum(set(nums))]
41
88
0.609756
25
164
4
0.56
0.14
0.2
0
0
0
0
0
0
0
0
0.014599
0.164634
164
3
89
54.666667
0.715328
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.333333
1
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
4f00955bfc05595a0c16854ca27a7d918b2295ba
21,391
py
Python
pyramid_mongo_sessions/tests/test_factory.py
vkefallinos/pyramid_mongo_sessions
a2a5881dc43ddf2b062e6210978c5b605c0c2ff6
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
pyramid_mongo_sessions/tests/test_factory.py
vkefallinos/pyramid_mongo_sessions
a2a5881dc43ddf2b062e6210978c5b605c0c2ff6
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
pyramid_mongo_sessions/tests/test_factory.py
vkefallinos/pyramid_mongo_sessions
a2a5881dc43ddf2b062e6210978c5b605c0c2ff6
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
# -*- coding: utf-8 -*- import unittest from pyramid import testing class TestRedisSessionFactory(unittest.TestCase): def _makeOne(self, request, secret='secret', **kw): from .. import RedisSessionFactory return RedisSessionFactory(secret, **kw)(request) def _assert_is_a_header_to_set_cooki...
43.744376
79
0.65766
2,403
21,391
5.542655
0.085726
0.05541
0.054058
0.047901
0.800961
0.7674
0.728884
0.713417
0.689842
0.678204
0
0.004854
0.258473
21,391
488
80
43.834016
0.834825
0.136833
0
0.709512
0
0
0.029554
0.002336
0
0
0
0
0.125964
1
0.089974
false
0
0.084833
0
0.187661
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
877e2e4e7eda725bee7b6ea4b0c76b87b02ebe48
33
py
Python
server/tests/test_model.py
liaojiacan/dyanmic-host
0b47d8fa5b596e3e3d82d75992a00a97a9d4f457
[ "MIT" ]
4
2018-02-11T09:53:22.000Z
2022-03-06T06:35:41.000Z
server/tests/test_model.py
liaojiacan/dyanmic-host
0b47d8fa5b596e3e3d82d75992a00a97a9d4f457
[ "MIT" ]
null
null
null
server/tests/test_model.py
liaojiacan/dyanmic-host
0b47d8fa5b596e3e3d82d75992a00a97a9d4f457
[ "MIT" ]
1
2020-12-11T07:03:38.000Z
2020-12-11T07:03:38.000Z
from app import create_app, db
11
31
0.757576
6
33
4
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.212121
33
2
32
16.5
0.923077
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
877fc3bb422e0ceb6977a580551be2a7a80e953a
541
py
Python
operator.py
chae-heechan/Python_Study
eceac851401f3e052ae6a0eb3854b80e7958af05
[ "MIT" ]
null
null
null
operator.py
chae-heechan/Python_Study
eceac851401f3e052ae6a0eb3854b80e7958af05
[ "MIT" ]
null
null
null
operator.py
chae-heechan/Python_Study
eceac851401f3e052ae6a0eb3854b80e7958af05
[ "MIT" ]
null
null
null
print(1+1) # 2 print(3-2) # 1 print(5*2) # 10 print(6/3) # 2 print(2**3) # 2^3 = 8 print(5%3) # 나머지 구하기 2 print(10%3) # 1 print(5//3) # 1 print(10//3) # 3 print(10 > 3) # True print(4 >= 7) # False print(10 < 3) # False print(5 <= 5) # True print(3 == 3) # True print(4 == 2) # False print(3 + 4 == 7) #True print(1 ...
17.451613
33
0.504621
113
541
2.415929
0.159292
0.32967
0.18315
0.161172
0.186813
0.095238
0
0
0
0
0
0.181373
0.245841
541
31
34
17.451613
0.487745
0.205176
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
1
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
6
87b72303fcadbfb19c2952fa3b1f9411dcb0b82e
147
py
Python
VersionDetermination/__init__.py
grobbles/verion-determination
04600ff2c854b98849de12779e36b899cbff6679
[ "MIT" ]
null
null
null
VersionDetermination/__init__.py
grobbles/verion-determination
04600ff2c854b98849de12779e36b899cbff6679
[ "MIT" ]
null
null
null
VersionDetermination/__init__.py
grobbles/verion-determination
04600ff2c854b98849de12779e36b899cbff6679
[ "MIT" ]
null
null
null
from VersionDetermination.Main import Main from VersionDetermination.LastVersionDetector import * from VersionDetermination.MergeDetector import *
36.75
54
0.884354
13
147
10
0.461538
0.553846
0
0
0
0
0
0
0
0
0
0
0.081633
147
3
55
49
0.962963
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
87c5944f22f33022be639429e38c03a81216865e
70
py
Python
folks/models.py
marinintim/folks
2dce457c9d57da34626717667b942fa91f62385f
[ "MIT" ]
4
2019-12-02T20:04:55.000Z
2020-04-30T22:14:30.000Z
folks/models.py
marinintim/folks
2dce457c9d57da34626717667b942fa91f62385f
[ "MIT" ]
null
null
null
folks/models.py
marinintim/folks
2dce457c9d57da34626717667b942fa91f62385f
[ "MIT" ]
null
null
null
from models.user import User from models.permission import Permission
23.333333
40
0.857143
10
70
6
0.5
0.333333
0
0
0
0
0
0
0
0
0
0
0.114286
70
2
41
35
0.967742
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
3562d6b325d9065d70745985684f5616dca913f5
1,193
py
Python
python/tHome/sma/test/status.py
ZigmundRat/T-Home
5dc8689f52d87dac890051e540b338b009293ced
[ "BSD-2-Clause" ]
18
2016-04-17T19:39:28.000Z
2020-11-19T06:55:20.000Z
python/tHome/sma/test/status.py
ZigmundRat/T-Home
5dc8689f52d87dac890051e540b338b009293ced
[ "BSD-2-Clause" ]
6
2016-10-31T13:53:45.000Z
2019-03-20T20:47:03.000Z
python/tHome/sma/test/status.py
ZigmundRat/T-Home
5dc8689f52d87dac890051e540b338b009293ced
[ "BSD-2-Clause" ]
12
2016-10-31T12:29:08.000Z
2021-12-28T12:18:28.000Z
import unittest from FakeSocket import FakeSocket import tHome as T #=========================================================================== #=========================================================================== class TestStatus ( T.util.test.Case ) : def test_status( self ): reply = """ 53 4D 4...
26.511111
76
0.440067
182
1,193
2.879121
0.450549
0.267176
0.30916
0.335878
0.118321
0.118321
0.09542
0.09542
0.064886
0.064886
0
0.216249
0.298407
1,193
44
77
27.113636
0.409797
0.1886
0
0
0
0
0.311917
0
0
0
0
0
0
0
null
null
0
0.088235
null
null
0.029412
0
0
0
null
1
1
1
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
1
0
0
0
0
0
0
0
0
6
356799b94c1bf7f17bf77a57fff43438539e4725
161
py
Python
analyzer/utils/Command.py
FreekDS/git-ci-analyzer
33e179ea2e569a9df3aefee40b96e5ff6d70da1f
[ "MIT" ]
1
2022-01-16T16:18:59.000Z
2022-01-16T16:18:59.000Z
analyzer/utils/Command.py
FreekDS/git-ci-analyzer
33e179ea2e569a9df3aefee40b96e5ff6d70da1f
[ "MIT" ]
null
null
null
analyzer/utils/Command.py
FreekDS/git-ci-analyzer
33e179ea2e569a9df3aefee40b96e5ff6d70da1f
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from typing import Any class Command(ABC): @abstractmethod def execute(self, *args, **kwargs) -> Any: pass
17.888889
46
0.677019
20
161
5.45
0.7
0.311927
0
0
0
0
0
0
0
0
0
0
0.229814
161
8
47
20.125
0.879032
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0.166667
0.333333
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
6
35e7011bdfafe2b99a97a7291cf15041f6f6ee1d
11,855
py
Python
tests/bigquery/test_bigquery.py
eulercamposbarros/gcloud-utils
8db8c7fce1e6343783c9ef492fc6a25fa95cd8c0
[ "Apache-2.0" ]
15
2019-02-03T16:00:01.000Z
2021-11-19T17:47:08.000Z
tests/bigquery/test_bigquery.py
alexandreyy/gcloud-utils
7938ec520fd06fb22f9211b1ec6410707cf43eb5
[ "Apache-2.0" ]
32
2018-12-18T22:56:43.000Z
2021-02-10T01:55:07.000Z
tests/bigquery/test_bigquery.py
alexandreyy/gcloud-utils
7938ec520fd06fb22f9211b1ec6410707cf43eb5
[ "Apache-2.0" ]
29
2018-12-26T13:34:58.000Z
2021-12-20T10:24:31.000Z
"""Test Bigquery Module""" import unittest import os from gcloud_utils.bigquery.bigquery import Bigquery from gcloud_utils.bigquery.query_builder import QueryBuilder from google.cloud import bigquery from mock.mock import MagicMock, patch, call from more_itertools.more import side_effect from google.api_core.exceptions...
39.516667
154
0.688739
1,429
11,855
5.323303
0.074878
0.0631
0.037597
0.026029
0.854213
0.836729
0.825818
0.781911
0.767451
0.744183
0
0
0.220413
11,855
299
155
39.648829
0.82309
0.003458
0
0.642241
0
0
0.104404
0.024093
0
0
0
0
0.172414
1
0.073276
false
0
0.051724
0
0.12931
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
ea7f5a326069ff59028fd6e381514821572b0522
37
py
Python
cv_datetime_utils/__init__.py
WildflowerSchools/wf-cv-datetime-utils
c47ad83b860d49ba84ec98cea36c8b29536be623
[ "MIT" ]
null
null
null
cv_datetime_utils/__init__.py
WildflowerSchools/wf-cv-datetime-utils
c47ad83b860d49ba84ec98cea36c8b29536be623
[ "MIT" ]
null
null
null
cv_datetime_utils/__init__.py
WildflowerSchools/wf-cv-datetime-utils
c47ad83b860d49ba84ec98cea36c8b29536be623
[ "MIT" ]
2
2019-12-06T19:45:55.000Z
2019-12-11T22:37:05.000Z
from cv_datetime_utils.core import *
18.5
36
0.837838
6
37
4.833333
1
0
0
0
0
0
0
0
0
0
0
0
0.108108
37
1
37
37
0.878788
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
575d92c8f2715e7b3dc96ffec21ac73cd5643cc4
123
py
Python
src/backend/api/routes/__init__.py
jqhoogland/anki-squared
518f8a393da5d55e10222bd11b585affdab6eab5
[ "MIT" ]
2
2021-02-17T13:42:29.000Z
2021-11-15T11:37:09.000Z
src/backend/api/routes/__init__.py
jqhoogland/anki-squared
518f8a393da5d55e10222bd11b585affdab6eab5
[ "MIT" ]
null
null
null
src/backend/api/routes/__init__.py
jqhoogland/anki-squared
518f8a393da5d55e10222bd11b585affdab6eab5
[ "MIT" ]
null
null
null
from .resources import api_resources from .queue import api_queue from .notes import api_notes from .decks import api_decks
30.75
36
0.845528
20
123
5
0.35
0.36
0
0
0
0
0
0
0
0
0
0
0.121951
123
4
37
30.75
0.925926
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
578a66980a92807973e109e8d8965feef4d645ba
149
py
Python
watcher/predictor_module/__init__.py
framaz/eye_control
2b4a15b95b4e1f2e9e8c7359416747fd4d26d4a9
[ "MIT" ]
2
2020-07-19T08:04:03.000Z
2021-02-03T14:16:04.000Z
watcher/predictor_module/__init__.py
framaz/eye_control
2b4a15b95b4e1f2e9e8c7359416747fd4d26d4a9
[ "MIT" ]
3
2020-01-31T11:15:06.000Z
2022-03-25T19:10:47.000Z
watcher/predictor_module/__init__.py
framaz/eye_control
2b4a15b95b4e1f2e9e8c7359416747fd4d26d4a9
[ "MIT" ]
null
null
null
from .basic_predictor import BasicPredictor from .gazeml_predictor import GazeMLPredictor from .visual_debug_predictor import VisualDebugPredictor
24.833333
56
0.885906
16
149
8
0.625
0.351563
0
0
0
0
0
0
0
0
0
0
0.09396
149
5
57
29.8
0.948148
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
57a3db3dac1baf8b98cfcf532c3f1ec0c6bd35ab
12,453
py
Python
FeatureEngineeringPy_DataScience/demo171_randomimputation_titanic.py
mahnooranjum/Programming_DataScience
f7a4215d4615b3f8460c3a1944a585628cf6930d
[ "MIT" ]
null
null
null
FeatureEngineeringPy_DataScience/demo171_randomimputation_titanic.py
mahnooranjum/Programming_DataScience
f7a4215d4615b3f8460c3a1944a585628cf6930d
[ "MIT" ]
null
null
null
FeatureEngineeringPy_DataScience/demo171_randomimputation_titanic.py
mahnooranjum/Programming_DataScience
f7a4215d4615b3f8460c3a1944a585628cf6930d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Demo171_RandomImputation_Titanic.ipynb ## Imputation - Replacing missing data with statistical estimates of the missing values is called imputation - Imputation completes a dataset and removes missing values - Replace by mean if the variable has a Normal distribution - Replace by med...
30.29927
122
0.78728
2,125
12,453
4.299294
0.091765
0.113835
0.149409
0.108144
0.767404
0.754378
0.750547
0.74201
0.74201
0.74201
0
0.007382
0.086244
12,453
410
123
30.373171
0.7955
0.0852
0
0.778547
0
0
0.020545
0.003351
0
0
0
0
0
1
0.00346
false
0
0.079585
0
0.086505
0.197232
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
57b2f0cb8ec6230af5d8dcb523e81135e27508fd
31,407
py
Python
rtamt/parser/ltl/LtlLexer.py
sguysc/rtamt
a16db77b61028f774d81457ff22e666229a5432c
[ "BSD-3-Clause" ]
24
2019-12-04T00:20:16.000Z
2022-03-24T17:48:14.000Z
rtamt/parser/ltl/LtlLexer.py
sguysc/rtamt
a16db77b61028f774d81457ff22e666229a5432c
[ "BSD-3-Clause" ]
142
2020-01-16T15:36:21.000Z
2022-03-28T20:40:45.000Z
rtamt/parser/ltl/LtlLexer.py
sguysc/rtamt
a16db77b61028f774d81457ff22e666229a5432c
[ "BSD-3-Clause" ]
17
2020-07-07T20:32:08.000Z
2022-03-07T07:20:22.000Z
# Generated from LtlLexer.g4 by ANTLR 4.5.1 # encoding: utf-8 from __future__ import print_function from antlr4 import * from io import StringIO def serializedATN(): with StringIO() as buf: buf.write(u"\3\u0430\ud6d1\u8206\uad2d\u4417\uaef1\u8d80\uaadd\2") buf.write(u"K\u02d4\b\1\4\2\t\2\4\3\t\3\4...
64.226994
103
0.588563
6,995
31,407
2.637312
0.158828
0.118387
0.064072
0.074588
0.265178
0.216717
0.196607
0.135028
0.120989
0.117357
0
0.327926
0.148184
31,407
488
104
64.358607
0.361642
0.001815
0
0.008511
1
0.506383
0.626639
0.563216
0
0
0
0
0.008511
1
0.004255
false
0
0.014894
0
0.193617
0.002128
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
1
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
57f98d30470e929b25ae7a8bddfb25b5640e9fbc
201
py
Python
qqai/__init__.py
clumsyme/qqai
e223dd6078a82506f17f620b741e171d0ea2456d
[ "MIT" ]
71
2018-08-23T05:46:59.000Z
2022-01-28T14:30:29.000Z
qqai/__init__.py
leon92101/qqai
e223dd6078a82506f17f620b741e171d0ea2456d
[ "MIT" ]
2
2018-08-27T01:43:47.000Z
2019-01-14T09:09:35.000Z
qqai/__init__.py
leon92101/qqai
e223dd6078a82506f17f620b741e171d0ea2456d
[ "MIT" ]
17
2018-08-23T09:27:03.000Z
2021-11-21T10:31:49.000Z
__all__ = ['nlp', 'aai', 'vision', 'Detectface', 'TextChat', 'ImgToText', 'NLPTrans'] import qqai.nlp import qqai.aai import qqai.vision from qqai.qqai import Detectface, TextChat, ImgToText, NLPTrans
33.5
85
0.741294
25
201
5.8
0.44
0.206897
0.372414
0.482759
0
0
0
0
0
0
0
0
0.109453
201
6
86
33.5
0.810056
0
0
0
0
0
0.232673
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
6
17c6824e3840765575de97a005f6c396399ac939
1,667
py
Python
filetest/__init__.py
looking-for-a-job/filetest.py
9fbe8c370d8fa73858fbc4964f0f641b93cdea0f
[ "Unlicense" ]
null
null
null
filetest/__init__.py
looking-for-a-job/filetest.py
9fbe8c370d8fa73858fbc4964f0f641b93cdea0f
[ "Unlicense" ]
null
null
null
filetest/__init__.py
looking-for-a-job/filetest.py
9fbe8c370d8fa73858fbc4964f0f641b93cdea0f
[ "Unlicense" ]
null
null
null
__all__ = ['d', 'e', 'f', 'nt', 'ot', 'r', 's', 'x', 'w'] import os def d(path): """return True if path exists and is a directory, else False""" return os.path.exists(path) and os.stat(path).st_size def e(path): """return True if path exists, else False""" return os.path.exists(path) def f(path)...
30.87037
98
0.664667
293
1,667
3.750853
0.180887
0.154686
0.120109
0.101911
0.818926
0.818926
0.795268
0.714286
0.570519
0.537762
0
0.023952
0.19856
1,667
53
99
31.45283
0.798653
0.35093
0
0.25
0
0
0.010618
0
0
0
0
0
0
1
0.375
false
0
0.041667
0
0.791667
0
0
0
0
null
0
0
0
1
1
1
1
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
1
0
0
6
aa19f21c298992d6f151fa39f133ffa7bccf8ff3
48,709
py
Python
4_extracting_mtf_tsmfe/pymfe/autocorr.py
FelSiq/ts-pymfe-tests
b11000d9745b7822f026b966d91255ecc7f77564
[ "MIT" ]
null
null
null
4_extracting_mtf_tsmfe/pymfe/autocorr.py
FelSiq/ts-pymfe-tests
b11000d9745b7822f026b966d91255ecc7f77564
[ "MIT" ]
null
null
null
4_extracting_mtf_tsmfe/pymfe/autocorr.py
FelSiq/ts-pymfe-tests
b11000d9745b7822f026b966d91255ecc7f77564
[ "MIT" ]
null
null
null
"""Module dedicated to autocorrelation time-series meta-features.""" import typing as t import statsmodels.tsa.stattools import numpy as np import sklearn.gaussian_process import pymfe._embed as _embed import pymfe._utils as _utils import pymfe._detrend as _detrend try: import pymfe.stat_tests as stat_tests exc...
38.904952
79
0.565501
5,439
48,709
4.971318
0.075933
0.039277
0.026628
0.015977
0.827397
0.801731
0.789637
0.775657
0.756796
0.745257
0
0.016001
0.354616
48,709
1,251
80
38.936051
0.844096
0.549898
0
0.656489
0
0
0.016913
0
0
0
0
0
0
1
0.053435
false
0.007634
0.022901
0
0.147583
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
aa1ad38adc981aee0e6426cd068a6d7479353d17
153
py
Python
uytrgfs.py
jatinchaudhary/python_dump
5f7d63237fcb96a66bc3c4151599c7849f0f2735
[ "bzip2-1.0.6" ]
null
null
null
uytrgfs.py
jatinchaudhary/python_dump
5f7d63237fcb96a66bc3c4151599c7849f0f2735
[ "bzip2-1.0.6" ]
null
null
null
uytrgfs.py
jatinchaudhary/python_dump
5f7d63237fcb96a66bc3c4151599c7849f0f2735
[ "bzip2-1.0.6" ]
null
null
null
class aaa: a=0 b=0 c=0 def __init__(self,a): self.a=a def __init__(self,a,b): self.a=a self.b=b
12.75
28
0.424837
26
153
2.192308
0.346154
0.350877
0.385965
0.421053
0
0
0
0
0
0
0
0.035714
0.45098
153
11
29
13.909091
0.642857
0
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.666667
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
6
a4b0fe3aae0e994ca806d9179d143ea0d478a8ff
3,168
py
Python
tools/db/tags/classifier/getData.py
rjawor/tagging
8713c6835e2c1ddc8742d2954165c9f42d47f2a8
[ "MIT" ]
null
null
null
tools/db/tags/classifier/getData.py
rjawor/tagging
8713c6835e2c1ddc8742d2954165c9f42d47f2a8
[ "MIT" ]
null
null
null
tools/db/tags/classifier/getData.py
rjawor/tagging
8713c6835e2c1ddc8742d2954165c9f42d47f2a8
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- import MySQLdb as mdb import sys import re from numpy import array_split con = mdb.connect('localhost', 'webuser', 'tialof', 'taggingdb'); with con, open('/tmp/data.txt','w') as f: print "Getting data" cur = con.cursor(mdb.cursors.DictCursor) # for Awadhi by...
58.666667
699
0.706124
459
3,168
4.649237
0.22658
0.098407
0.101218
0.067479
0.703374
0.703374
0.703374
0.703374
0.703374
0.703374
0
0.007081
0.197601
3,168
53
700
59.773585
0.832415
0.411301
0
0.133333
0
0.033333
0.438644
0.133477
0
0
0
0
0
0
null
null
0
0.133333
null
null
0.066667
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
6
a4c0244c788d3f533848d2f0e6df3cb4d6d4be45
3,149
py
Python
protlearn/features/tests/test_binary.py
tadorfer/ProtClass
da1a01ea9abd3c367b3389dfed683c6a9dfa6afd
[ "MIT" ]
24
2020-09-17T10:35:44.000Z
2022-03-09T19:19:01.000Z
protlearn/features/tests/test_binary.py
tadorfer/ProtClass
da1a01ea9abd3c367b3389dfed683c6a9dfa6afd
[ "MIT" ]
14
2020-08-09T18:23:01.000Z
2020-11-19T05:48:14.000Z
protlearn/features/tests/test_binary.py
tadorfer/ProtClass
da1a01ea9abd3c367b3389dfed683c6a9dfa6afd
[ "MIT" ]
3
2021-03-07T23:41:17.000Z
2022-02-25T18:48:37.000Z
import pytest import numpy as np from ..binary import binary import pkg_resources PATH = pkg_resources.resource_filename(__name__, 'test_data/') def test_binary(): "Test binary profile pattern" # load data X_list = open(PATH+'multiple.txt').read().splitlines() X_err = 'AGT2HT9' # get bin...
49.984127
71
0.323595
630
3,149
1.587302
0.066667
0.984
1.404
1.776
0.624
0.624
0.624
0.624
0.54
0.54
0
0.249081
0.308987
3,149
63
72
49.984127
0.210478
0.040648
0
0.45098
0
0
0.018391
0
0
0
0
0
0.019608
1
0.019608
false
0
0.078431
0
0.098039
0
0
0
1
null
1
1
1
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
6
a4edb11dfbb7382ca3b82c1060f0c4e7bc946416
42
py
Python
kivymd/uix/slider/__init__.py
marvelous-benji/KivyMD
4ab8dd339902597eaa9f8a4f9a80d8a6eb7d6053
[ "MIT" ]
1,111
2015-07-15T02:31:09.000Z
2022-03-29T17:22:02.000Z
kivymd/uix/slider/__init__.py
marvelous-benji/KivyMD
4ab8dd339902597eaa9f8a4f9a80d8a6eb7d6053
[ "MIT" ]
706
2015-06-10T22:24:13.000Z
2022-03-31T16:22:39.000Z
kivymd/uix/slider/__init__.py
marvelous-benji/KivyMD
4ab8dd339902597eaa9f8a4f9a80d8a6eb7d6053
[ "MIT" ]
561
2015-07-15T04:57:23.000Z
2022-03-31T17:14:31.000Z
from .slider import MDSlider # NOQA F401
21
41
0.761905
6
42
5.333333
1
0
0
0
0
0
0
0
0
0
0
0.088235
0.190476
42
1
42
42
0.852941
0.214286
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
a4f188a67c9a8419bf7e434471628f059fa6c143
77
py
Python
project_restaurant/food/main_dish.py
vasetousa/OOP
e4fedc497dd149c9800613ea11846e0e770d122c
[ "MIT" ]
null
null
null
project_restaurant/food/main_dish.py
vasetousa/OOP
e4fedc497dd149c9800613ea11846e0e770d122c
[ "MIT" ]
null
null
null
project_restaurant/food/main_dish.py
vasetousa/OOP
e4fedc497dd149c9800613ea11846e0e770d122c
[ "MIT" ]
null
null
null
from project_restaurant.food.food import Food class MainDish(Food): pass
19.25
45
0.792208
11
77
5.454545
0.727273
0
0
0
0
0
0
0
0
0
0
0
0.142857
77
4
46
19.25
0.909091
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
6
352af794bc6d96343732d8314151c842400c6191
154
py
Python
hub/__init__.py
NikkiBytes/pending.api
3c83bb8e413c3032a3a4539d19a779b5f0b67650
[ "Apache-2.0" ]
3
2019-02-17T23:36:35.000Z
2022-03-01T16:43:06.000Z
hub/__init__.py
NikkiBytes/pending.api
3c83bb8e413c3032a3a4539d19a779b5f0b67650
[ "Apache-2.0" ]
56
2019-01-26T16:34:12.000Z
2022-03-23T06:57:03.000Z
hub/__init__.py
NikkiBytes/pending.api
3c83bb8e413c3032a3a4539d19a779b5f0b67650
[ "Apache-2.0" ]
6
2020-10-22T17:37:54.000Z
2022-03-01T16:56:55.000Z
from standalone.hub import AutoHubServer class PendingHubServer(AutoHubServer): DEFAULT_FEATURES = AutoHubServer.DEFAULT_FEATURES + ["index","api"]
25.666667
71
0.798701
15
154
8.066667
0.733333
0.330579
0.46281
0
0
0
0
0
0
0
0
0
0.11039
154
5
72
30.8
0.883212
0
0
0
0
0
0.051948
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
6
35471e9b934b6a8065f2c4b7277738d4853e7205
108
py
Python
test_project/test_project/__init__.py
joncasdam/django-celery-fulldbresult
cc303d9437b4bf3f26334331b4c6b2d5e08619c6
[ "BSD-3-Clause" ]
22
2015-06-02T09:59:34.000Z
2016-10-31T10:37:29.000Z
test_project/test_project/__init__.py
joncasdam/django-celery-fulldbresult
cc303d9437b4bf3f26334331b4c6b2d5e08619c6
[ "BSD-3-Clause" ]
18
2015-05-25T18:48:58.000Z
2016-10-17T15:50:53.000Z
test_project/test_project/__init__.py
joncasdam/django-celery-fulldbresult
cc303d9437b4bf3f26334331b4c6b2d5e08619c6
[ "BSD-3-Clause" ]
1
2016-10-13T14:48:38.000Z
2016-10-13T14:48:38.000Z
# Do not remove! Force import from test_project.celeryapp import app as celery_app if celery_app: pass
18
52
0.777778
18
108
4.5
0.777778
0.222222
0
0
0
0
0
0
0
0
0
0
0.185185
108
5
53
21.6
0.920455
0.25
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
6
102440fd082bf2291a88cb74b1a901a8cd913a14
3,872
py
Python
bindings/python/test.py
libundo/libundo
550e03f9058c9722393dee216ec5dcf5e2712029
[ "Apache-2.0" ]
2
2019-09-29T00:47:55.000Z
2021-08-21T08:14:18.000Z
bindings/python/test.py
libundo/libundo
550e03f9058c9722393dee216ec5dcf5e2712029
[ "Apache-2.0" ]
null
null
null
bindings/python/test.py
libundo/libundo
550e03f9058c9722393dee216ec5dcf5e2712029
[ "Apache-2.0" ]
null
null
null
import os import unittest from libundo import PyUndoTree def new_tree(name): if os.path.exists(name): os.remove(name) return PyUndoTree(name.encode(), ''.encode()) class PyUndoTreeTestCase(unittest.TestCase): """Tests for navigation and serialization of PyUndoTree. """ def test_navigate...
31.225806
81
0.493543
447
3,872
4.225951
0.17226
0.214399
0.194812
0.114346
0.767073
0.730016
0.728428
0.681842
0.681842
0.681842
0
0.019798
0.334711
3,872
123
82
31.479675
0.713509
0.168905
0
0.622951
0
0
0.193518
0.028949
0
0
0
0
0.442623
1
0.081967
false
0
0.04918
0
0.163934
0
0
0
0
null
1
1
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
6
10252b28892a0d04505e2f593d3f98fb6f240a3a
22
py
Python
japanese_cloze/__init__.py
sarajaksa/anki-addons
01e4cedca0cca1df11202c52c473a8c35eb5f0b8
[ "Unlicense" ]
3
2017-03-05T21:53:06.000Z
2019-03-13T09:50:19.000Z
japanese_cloze/__init__.py
sarajaksa/anki-addons
01e4cedca0cca1df11202c52c473a8c35eb5f0b8
[ "Unlicense" ]
3
2017-03-04T16:24:15.000Z
2018-11-14T15:20:49.000Z
japanese_cloze/__init__.py
sarajaksa/anki-addons
01e4cedca0cca1df11202c52c473a8c35eb5f0b8
[ "Unlicense" ]
1
2019-05-12T10:46:25.000Z
2019-05-12T10:46:25.000Z
from . import clozejp
11
21
0.772727
3
22
5.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.181818
22
1
22
22
0.944444
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
1030af2e2bb538d2d2cf0f88d91ca8fd3953a02c
241
py
Python
wgeasywall/vars.py
Identeco/WGEasywall
301a80bf86900414951b96dc9ffd1e94c52220a5
[ "MIT" ]
null
null
null
wgeasywall/vars.py
Identeco/WGEasywall
301a80bf86900414951b96dc9ffd1e94c52220a5
[ "MIT" ]
1
2022-01-30T10:37:20.000Z
2022-01-30T10:37:20.000Z
wgeasywall/vars.py
araminian/wgeasywall
ee3d6d91f1097aa5f498e66e07ec2629cd198e6d
[ "MIT" ]
null
null
null
import os def get_wgeasywall_config_location(): home = os.getenv("HOME") return "{0}{1}".format(home,"/.wgeasywall/") def get_mongo_configuration_location(): return "{0}{1}".format(get_wgeasywall_config_location(),"mongo.yaml")
30.125
73
0.717842
32
241
5.125
0.5
0.073171
0.231707
0.329268
0
0
0
0
0
0
0
0.018605
0.107884
241
8
73
30.125
0.744186
0
0
0
0
0
0.161157
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
0.833333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
10895c7ee6abe8fdc0d8844cd3021b6b0a0a1be3
748
py
Python
test/test_utils.py
JohnCrickett/WebScraper
0bd6edf842153e23373b12b56b909f215ab51f06
[ "MIT" ]
null
null
null
test/test_utils.py
JohnCrickett/WebScraper
0bd6edf842153e23373b12b56b909f215ab51f06
[ "MIT" ]
null
null
null
test/test_utils.py
JohnCrickett/WebScraper
0bd6edf842153e23373b12b56b909f215ab51f06
[ "MIT" ]
null
null
null
from scraper.utils import is_valid_url def test_is_valid_url_valid_urls(): assert is_valid_url("") is False assert is_valid_url("http://") is False assert is_valid_url("htp://www.test.com") is False assert is_valid_url("http:/www.test.com") is False assert is_valid_url("www.test.com") is False d...
32.521739
59
0.717914
130
748
3.853846
0.184615
0.195609
0.279441
0.351297
0.842315
0.652695
0.578842
0.516966
0.516966
0.175649
0
0
0.149733
748
22
60
34
0.787736
0.005348
0
0
0
0
0.242588
0
0
0
0
0.045455
0.75
1
0.1875
true
0
0.0625
0
0.25
0
0
0
0
null
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
1
0
0
1
0
0
0
0
0
0
6
1091dd62d445d730ca381ab0f72ab09ab4acbf9b
47
py
Python
scrambler/models/__init__.py
willshi88/scrambler
fd77c05824fc99e6965d204c4f5baa1e3b0c4fb3
[ "MIT" ]
19
2021-04-30T04:12:58.000Z
2022-03-07T19:09:32.000Z
scrambler/models/__init__.py
willshi88/scrambler
fd77c05824fc99e6965d204c4f5baa1e3b0c4fb3
[ "MIT" ]
4
2021-07-02T15:07:27.000Z
2021-08-01T12:41:28.000Z
scrambler/models/__init__.py
willshi88/scrambler
fd77c05824fc99e6965d204c4f5baa1e3b0c4fb3
[ "MIT" ]
4
2021-06-28T09:41:01.000Z
2022-02-28T09:13:29.000Z
from scrambler.models.scrambler_models import *
47
47
0.87234
6
47
6.666667
0.666667
0.75
0
0
0
0
0
0
0
0
0
0
0.06383
47
1
47
47
0.909091
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
10a8deef0defece5a2c1fd2b3e5cc3491f5c0731
64
py
Python
server/iotud/tools/__init__.py
hollwann/dashboard-iot-udistrital
a92c6b65fce5c343abeffcb5badf1f4bfd9ab1f2
[ "MIT" ]
2
2020-07-02T19:09:12.000Z
2020-07-05T00:33:55.000Z
server/iotud/tools/__init__.py
hollwann/dashboard-iot-udistrital
a92c6b65fce5c343abeffcb5badf1f4bfd9ab1f2
[ "MIT" ]
3
2020-07-05T00:55:08.000Z
2022-02-27T11:29:51.000Z
server/iotud/tools/__init__.py
hollwann/dashboard-iot-udistrital
a92c6b65fce5c343abeffcb5badf1f4bfd9ab1f2
[ "MIT" ]
null
null
null
from .http import * from .mysql import * from .errors import *
12.8
21
0.703125
9
64
5
0.555556
0.444444
0
0
0
0
0
0
0
0
0
0
0.203125
64
4
22
16
0.882353
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
10afa08f4dcdd02f20e083da4e78981d7853603d
14,357
py
Python
src/calculate_variable_2d.py
bdrummond1/um_post_proc
2dc1dcaa164772e09e77cd3f3e7d927f2237228a
[ "MIT" ]
1
2020-04-23T17:06:40.000Z
2020-04-23T17:06:40.000Z
src/calculate_variable_2d.py
bdrummond1/um_post_proc
2dc1dcaa164772e09e77cd3f3e7d927f2237228a
[ "MIT" ]
null
null
null
src/calculate_variable_2d.py
bdrummond1/um_post_proc
2dc1dcaa164772e09e77cd3f3e7d927f2237228a
[ "MIT" ]
null
null
null
# Module to calculate variable # Looks for requested variable, reads in necessary data and calculates from construct_variable import * from constant_user import * # --------------------------------------------- # Main function to calculate requested variable # --------------------------------------------- def calcul...
39.770083
130
0.707808
2,094
14,357
4.600764
0.072588
0.055636
0.083039
0.084804
0.826656
0.823438
0.806726
0.727839
0.679053
0.668466
0
0.012304
0.139514
14,357
360
131
39.880556
0.767525
0.180261
0
0.54067
0
0
0.139595
0
0
0
0
0
0
0
null
null
0
0.009569
null
null
0.143541
0
0
0
null
0
0
0
1
1
1
1
0
1
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
6
52c3539589f56263ee977c8deda504e49e6fd5c6
31,372
py
Python
swifter/swifter_tests.py
openafox/swifter
5d06d136d5ee50c6e1c2331efac33b32fe0183a7
[ "MIT" ]
null
null
null
swifter/swifter_tests.py
openafox/swifter
5d06d136d5ee50c6e1c2331efac33b32fe0183a7
[ "MIT" ]
null
null
null
swifter/swifter_tests.py
openafox/swifter
5d06d136d5ee50c6e1c2331efac33b32fe0183a7
[ "MIT" ]
null
null
null
import sys import unittest import subprocess import time import logging from math import ceil from psutil import cpu_count, virtual_memory import numpy as np import numpy.testing as npt import pandas as pd import swifter from math import ceil, isclose from tqdm.auto import tqdm LOG = logging.getLogger(__name__) LOG...
41.552318
117
0.637639
4,166
31,372
4.515603
0.06097
0.036147
0.024559
0.032692
0.854986
0.831172
0.80539
0.77408
0.752339
0.710929
0
0.034189
0.247609
31,372
754
118
41.607427
0.762794
0.034426
0
0.525903
0
0.00471
0.119378
0.062783
0
0
0
0
0.125589
1
0.083203
false
0
0.025118
0.006279
0.136578
0.00471
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
52c65b584dca1b15d65c17e58570f1abcb3c3ea8
99
py
Python
pyUtilities/__init__.py
gregmoille/InstrumentControl
4cc8477e36f7c4ad4bf4f54036fdd8dd985b4133
[ "MIT" ]
3
2018-05-02T20:14:15.000Z
2020-10-18T03:57:09.000Z
pyUtilities/__init__.py
gregmoille/InstrumentControl
4cc8477e36f7c4ad4bf4f54036fdd8dd985b4133
[ "MIT" ]
1
2019-05-23T15:21:08.000Z
2019-05-23T15:21:08.000Z
pyUtilities/__init__.py
gregmoille/InstrumentControl
4cc8477e36f7c4ad4bf4f54036fdd8dd985b4133
[ "MIT" ]
2
2019-05-16T20:36:25.000Z
2020-09-22T18:26:49.000Z
from .createpyqtgraph import CreatePyQtGraph, ReplaceData, ShowDataTip, SetPen, PlotDownSampleTrace
99
99
0.878788
8
99
10.875
0.875
0
0
0
0
0
0
0
0
0
0
0
0.070707
99
1
99
99
0.945652
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
52e5048f8855d8bd38d768b87fddab7eaa80678c
332
py
Python
classy_text/__init__.py
mt-edwards/classy-text
5d33f935e4879f4649d08d927d8428a3cec11a29
[ "MIT" ]
null
null
null
classy_text/__init__.py
mt-edwards/classy-text
5d33f935e4879f4649d08d927d8428a3cec11a29
[ "MIT" ]
null
null
null
classy_text/__init__.py
mt-edwards/classy-text
5d33f935e4879f4649d08d927d8428a3cec11a29
[ "MIT" ]
null
null
null
from .batch_train_sequence_model import * from .build_model import * from .explore_data import * from .integration_test import * from .load_data import * from .train_fine_tuned_sequence_model import * from .train_ngram_model import * from .train_sequence_model import * from .tune_ngram_model import * from .vectorize_da...
30.181818
46
0.819277
48
332
5.291667
0.354167
0.354331
0.354331
0.271654
0.220472
0
0
0
0
0
0
0
0.120482
332
10
47
33.2
0.869863
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
5e121c1e7c70ee9a94d9b7704b1eb0956ee91db9
199
py
Python
keras/data_loaders/__init__.py
Abhay242/language-identification-
4b05f6cba588bc4862a3034911407f5f503db0d0
[ "MIT" ]
3
2019-08-20T08:02:21.000Z
2020-10-17T17:45:13.000Z
keras/data_loaders/__init__.py
Abhay242/language-identification-
4b05f6cba588bc4862a3034911407f5f503db0d0
[ "MIT" ]
13
2020-01-28T22:32:17.000Z
2022-02-10T00:01:56.000Z
keras/data_loaders/__init__.py
Abhay242/language-identification-
4b05f6cba588bc4862a3034911407f5f503db0d0
[ "MIT" ]
null
null
null
from .csv_loader import CSVLoader from .image_loader import ImageLoader from .spectrogram2 import Spectrogram2Loader from .DirectoryLoader import DirectoryLoader #from rosa_loader import RosaLoader
28.428571
44
0.869347
23
199
7.391304
0.521739
0.211765
0
0
0
0
0
0
0
0
0
0.011236
0.105528
199
6
45
33.166667
0.94382
0.170854
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
eaf6fecf0531cfcb476a80b99ff5810d7670521d
21,279
py
Python
tests/google/appengine/api/modules/modules_stub_test.py
phil-lopreiato/appengine-python-standard
5e2c400a24d299bb86e98f755a6ef510b4e1e0df
[ "Apache-2.0" ]
28
2021-01-06T19:55:21.000Z
2022-03-28T09:41:08.000Z
tests/google/appengine/api/modules/modules_stub_test.py
SOFTWARESOLUTONS-PVT-LIMITED/appengine-python-standard
530a54b0fc0eb74d9dc29b19b7c4cdfab0556ebc
[ "Apache-2.0" ]
13
2021-06-17T09:38:17.000Z
2022-03-11T01:12:33.000Z
tests/google/appengine/api/modules/modules_stub_test.py
SOFTWARESOLUTONS-PVT-LIMITED/appengine-python-standard
530a54b0fc0eb74d9dc29b19b7c4cdfab0556ebc
[ "Apache-2.0" ]
28
2021-03-09T19:27:37.000Z
2022-01-21T21:18:52.000Z
#!/usr/bin/env python # # Copyright 2007 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
42.987879
80
0.732412
2,419
21,279
6.273667
0.06821
0.111624
0.080061
0.093701
0.918094
0.88093
0.848445
0.813785
0.799157
0.790854
0
0.012171
0.135063
21,279
494
81
43.074899
0.812388
0.035293
0
0.676259
0
0
0.05835
0
0
0
0
0
0.083933
1
0.1247
false
0
0.019185
0
0.146283
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
d811239a10dc111aca3c8d81f538d5725e14bb95
13,121
py
Python
tests/core/authenticate/test_authenticate.py
marcosflobo/cheetah-api
9575f92ac59bc69885325b2ecee15b00c2d6a4f1
[ "BSD-3-Clause" ]
3
2018-02-08T16:38:34.000Z
2018-11-16T01:44:59.000Z
tests/core/authenticate/test_authenticate.py
marcosflobo/cheetah-api
9575f92ac59bc69885325b2ecee15b00c2d6a4f1
[ "BSD-3-Clause" ]
null
null
null
tests/core/authenticate/test_authenticate.py
marcosflobo/cheetah-api
9575f92ac59bc69885325b2ecee15b00c2d6a4f1
[ "BSD-3-Clause" ]
null
null
null
from datetime import datetime from unittest import TestCase import mock from cheetahapi.core.authenticate import Authenticate from cheetahapi.core.db.model import Token from tests.factories.factory_fixtures import UserFactory from tests.factories.factory_fixtures import TokenFactory exp_token = TokenFactory() exp_us...
54.443983
119
0.714122
1,788
13,121
4.858501
0.073266
0.078969
0.102797
0.124439
0.890641
0.878554
0.85461
0.839415
0.812824
0.800852
0
0.013012
0.191677
13,121
240
120
54.670833
0.806053
0.072937
0
0.588832
0
0
0.248345
0.227829
0
0
0
0
0.258883
1
0.076142
false
0.010152
0.035533
0
0.13198
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
dc632a2f7242559c01809154d6e7b9a4ab9a719f
34,460
py
Python
hexagdly.py
SKellerML/MAGICML
681c3df723c5dd18dd3d7bd51155bebf4fcfa9b3
[ "MIT" ]
1
2020-08-12T10:41:48.000Z
2020-08-12T10:41:48.000Z
hexagdly.py
SKellerML/MAGICML
681c3df723c5dd18dd3d7bd51155bebf4fcfa9b3
[ "MIT" ]
null
null
null
hexagdly.py
SKellerML/MAGICML
681c3df723c5dd18dd3d7bd51155bebf4fcfa9b3
[ "MIT" ]
null
null
null
""" This file contains utilities to set up hexagonal convolution and pooling kernels in PyTorch. The size of the input is abitrary, whereas the layout from top to bottom (along tensor index 2) has to be of zig-zag-edge shape and from left to right (along tensor index 3) of armchair-edge shape as shown below. __ __ ...
49.018492
161
0.512362
3,866
34,460
4.338334
0.062856
0.052468
0.042034
0.021464
0.866146
0.813797
0.786132
0.76115
0.739506
0.725197
0
0.020478
0.390656
34,460
702
162
49.088319
0.778265
0.171474
0
0.662526
0
0
0.08118
0.014243
0
0
0
0
0.060041
1
0.074534
false
0
0.010352
0
0.165631
0.008282
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
dc75381e8566e1cc8b53fe8a0fa2467c7e98bec8
35
py
Python
colorguard/__init__.py
pwnslinger/colorguard
c2d37f98c6c65c5598576438959ccdffb3e0f76f
[ "BSD-2-Clause" ]
9
2016-08-20T23:39:21.000Z
2020-11-06T22:44:53.000Z
colorguard/__init__.py
pwnslinger/colorguard
c2d37f98c6c65c5598576438959ccdffb3e0f76f
[ "BSD-2-Clause" ]
2
2017-11-30T21:34:29.000Z
2021-04-29T17:56:26.000Z
colorguard/__init__.py
pwnslinger/colorguard
c2d37f98c6c65c5598576438959ccdffb3e0f76f
[ "BSD-2-Clause" ]
11
2016-08-21T13:14:57.000Z
2021-04-29T01:27:33.000Z
from .colorguard import ColorGuard
17.5
34
0.857143
4
35
7.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.114286
35
1
35
35
0.967742
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6