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
dfa7d2490f520b795ded3eda0b6702f7c61e53a9
3,228
py
Python
tbot/migrations/20190127_01_7TC2M-twitch-user-id-type-change.py
thomaserlang/tbot
99cfa204d86ef35cf2cc9482ae5a44abb35b443a
[ "MIT" ]
null
null
null
tbot/migrations/20190127_01_7TC2M-twitch-user-id-type-change.py
thomaserlang/tbot
99cfa204d86ef35cf2cc9482ae5a44abb35b443a
[ "MIT" ]
10
2022-02-14T11:40:20.000Z
2022-03-09T22:44:03.000Z
tbot/migrations/20190127_01_7TC2M-twitch-user-id-type-change.py
thomaserlang/tbot
99cfa204d86ef35cf2cc9482ae5a44abb35b443a
[ "MIT" ]
1
2020-09-19T16:38:24.000Z
2020-09-19T16:38:24.000Z
""" twitch user id type change """ from yoyo import step __depends__ = {'20190126_02_Fnsd3-drop-twitch-chatlog-insert-trigger'} steps = [ step(''' ALTER TABLE `twitch_badges` CHANGE COLUMN `channel_id` `channel_id` VARCHAR(36) NOT NULL , CHANGE COLUMN `user_id` `user_id` VARCHAR(36) NOT NULL ; '...
34.709677
83
0.650867
429
3,228
4.680653
0.135198
0.185259
0.14243
0.153386
0.804781
0.804781
0.797809
0.780378
0.778386
0.778386
0
0.027778
0.219331
3,228
92
84
35.086957
0.769048
0.008055
0
0.697674
0
0
0.886349
0.066061
0
0
0
0
0
1
0
false
0
0.011628
0
0.011628
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
dfa917d9001f65635c687515492e42cc11f281ed
66,134
py
Python
UMLRT2Kiltera_MM/Properties/Pattern/Himesis/HExitPtConOPsOfExitPtOUT_CompleteLHS.py
levilucio/SyVOLT
7526ec794d21565e3efcc925a7b08ae8db27d46a
[ "MIT" ]
3
2017-06-02T19:26:27.000Z
2021-06-14T04:25:45.000Z
UMLRT2Kiltera_MM/Properties/Pattern/Himesis/HExitPtConOPsOfExitPtOUT_CompleteLHS.py
levilucio/SyVOLT
7526ec794d21565e3efcc925a7b08ae8db27d46a
[ "MIT" ]
8
2016-08-24T07:04:07.000Z
2017-05-26T16:22:47.000Z
UMLRT2Kiltera_MM/Properties/Pattern/Himesis/HExitPtConOPsOfExitPtOUT_CompleteLHS.py
levilucio/SyVOLT
7526ec794d21565e3efcc925a7b08ae8db27d46a
[ "MIT" ]
1
2019-10-31T06:00:23.000Z
2019-10-31T06:00:23.000Z
from core.himesis import Himesis, HimesisPreConditionPatternLHS import cPickle as pickle from uuid import UUID class HExitPtConOPsOfExitPtOUT_CompleteLHS(HimesisPreConditionPatternLHS): def __init__(self): """ Creates the himesis graph representing the AToM3 model HExitPtConOPsOfExitPtOUT_Complet...
50.330289
811
0.524012
7,769
66,134
4.342129
0.048397
0.040553
0.057627
0.043754
0.891741
0.845379
0.838442
0.806664
0.800024
0.797059
0
0.024358
0.197962
66,134
1,313
812
50.368621
0.611629
0.335833
0
0.622222
0
0.001307
0.645662
0.186694
0
0
0
0
0
1
0.054902
false
0
0.003922
0.052288
0.16732
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
5f32dbdfc7c7dd6cd652f8b348ec5fa64ed25be0
8,383
py
Python
models/only_students.py
fvergaracl/gonsa2_backend
2e354179cd337e6e98a6f23eb0a5c3f9c5e7b57e
[ "MIT" ]
null
null
null
models/only_students.py
fvergaracl/gonsa2_backend
2e354179cd337e6e98a6f23eb0a5c3f9c5e7b57e
[ "MIT" ]
1
2019-10-19T21:11:38.000Z
2019-10-19T21:11:38.000Z
models/only_students.py
fvergaracl/gonsa2_backend
2e354179cd337e6e98a6f23eb0a5c3f9c5e7b57e
[ "MIT" ]
null
null
null
import mysql.connector from settings.config import Database, Config from datetime import datetime def get_all_challenges_student(student_nick): try: database_ = Database() config = database_.config cnx = mysql.connector.connect(**config) cursor = cnx.cursor() query = "SELECT all_c.id_number, all_c.title, al...
47.630682
774
0.752714
1,278
8,383
4.615023
0.076682
0.069176
0.050695
0.061207
0.90963
0.883689
0.874873
0.859105
0.848423
0.834012
0
0.000423
0.15436
8,383
175
775
47.902857
0.83157
0
0
0.709091
0
0.042424
0.373658
0.120377
0
0
0
0
0
0
null
null
0
0.018182
null
null
0.066667
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
a033c804c79d97af64a034a3f15ee889001dc815
3,188
py
Python
flask/send/zones_upload.py
Artelys/Safer-Roads
ba9eb4b2c0f02c40142caa612ed7998c7ee01155
[ "MIT" ]
null
null
null
flask/send/zones_upload.py
Artelys/Safer-Roads
ba9eb4b2c0f02c40142caa612ed7998c7ee01155
[ "MIT" ]
null
null
null
flask/send/zones_upload.py
Artelys/Safer-Roads
ba9eb4b2c0f02c40142caa612ed7998c7ee01155
[ "MIT" ]
null
null
null
import pandas as pd import json from functions import typeOfJson def zones_upload(es, path, name): with open(path, "r") as f: data = json.load(f) data = data["features"] category = typeOfJson(name, data[0]["properties"]) if category == "corine": return corine_upload(es, data, name) else: return adm...
28.464286
110
0.619511
470
3,188
4.121277
0.176596
0.049561
0.057821
0.033041
0.857512
0.829633
0.829633
0.793495
0.793495
0.793495
0
0.016673
0.191029
3,188
112
111
28.464286
0.734393
0.012233
0
0.774194
0
0
0.234584
0
0
0
0
0
0
1
0.032258
false
0
0.075269
0
0.215054
0.010753
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
a04519be0ab141f0a16e04a2501ddc8cc852f1af
10,402
py
Python
tests/export/html/test_drawing_graphic_blip.py
botzill/pydocx
98c6aa626d875278240eabea8f86a914840499b3
[ "Apache-2.0" ]
127
2015-01-12T22:35:34.000Z
2022-01-20T06:24:18.000Z
tests/export/html/test_drawing_graphic_blip.py
turbo-q/pydocx
98c6aa626d875278240eabea8f86a914840499b3
[ "Apache-2.0" ]
156
2015-01-05T19:55:56.000Z
2020-10-14T07:01:42.000Z
tests/export/html/test_drawing_graphic_blip.py
turbo-q/pydocx
98c6aa626d875278240eabea8f86a914840499b3
[ "Apache-2.0" ]
45
2015-02-22T18:52:08.000Z
2021-06-14T08:05:47.000Z
# coding: utf-8 from __future__ import ( absolute_import, print_function, unicode_literals, ) import base64 from pydocx.constants import EMUS_PER_PIXEL from pydocx.openxml.packaging import ImagePart, MainDocumentPart from pydocx.test import DocumentGeneratorTestCase from pydocx.test.utils import Wordproc...
29.384181
78
0.422034
820
10,402
5.153659
0.167073
0.02319
0.025556
0.026503
0.804307
0.774255
0.768339
0.763133
0.763133
0.754614
0
0.006868
0.482119
10,402
353
79
29.467422
0.777613
0.053163
0
0.861386
0
0
0.548394
0.005795
0
0
0
0
0.019802
1
0.019802
false
0
0.023102
0
0.046205
0.0033
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
a075c4d6e61059a94becc41d6c616a24115804bb
102
py
Python
chainer_dense_fusion/visualizations/__init__.py
knorth55/chainer-dense-fusion
8ff53173d7071fc2cfcd05b1e0b2c544aeed090b
[ "MIT" ]
22
2019-01-31T23:50:30.000Z
2021-09-13T09:41:00.000Z
chainer_dense_fusion/visualizations/__init__.py
knorth55/chainer-dense-fusion
8ff53173d7071fc2cfcd05b1e0b2c544aeed090b
[ "MIT" ]
4
2019-07-31T14:40:06.000Z
2022-03-16T13:32:45.000Z
chainer_dense_fusion/visualizations/__init__.py
knorth55/chainer-dense-fusion
8ff53173d7071fc2cfcd05b1e0b2c544aeed090b
[ "MIT" ]
3
2019-08-30T09:18:45.000Z
2020-03-03T16:07:51.000Z
from chainer_dense_fusion.visualizations.vis_6d_pose_estimation import vis_6d_pose_estimation # NOQA
51
101
0.901961
15
102
5.6
0.733333
0.119048
0.214286
0.452381
0
0
0
0
0
0
0
0.021053
0.068627
102
1
102
102
0.863158
0.039216
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
1
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
26023fb2fe35eecfaa07de370d0a3755ea9bf29c
13,324
py
Python
pimdm/tree/assert_state.py
leoplo/pim_dm
e097fb8e247b14f142b6aa97d8ee34440aeba806
[ "MIT" ]
6
2020-02-04T20:59:59.000Z
2021-11-24T09:56:07.000Z
pimdm/tree/assert_state.py
leoplo/pim_dm
e097fb8e247b14f142b6aa97d8ee34440aeba806
[ "MIT" ]
4
2020-04-10T14:51:39.000Z
2022-02-14T00:59:21.000Z
pimdm/tree/assert_state.py
leoplo/pim_dm
e097fb8e247b14f142b6aa97d8ee34440aeba806
[ "MIT" ]
3
2020-08-13T17:56:35.000Z
2021-11-24T11:03:12.000Z
from abc import ABCMeta, abstractmethod from pimdm.tree import pim_globals from .metric import AssertMetric from pimdm.utils import TYPE_CHECKING if TYPE_CHECKING: from .tree_if_downstream import TreeInterfaceDownstream class AssertStateABC(metaclass=ABCMeta): @staticmethod @abstractmethod def receiv...
33.903308
103
0.711048
1,176
13,324
7.82483
0.118197
0.159965
0.041078
0.056509
0.807651
0.748316
0.726581
0.726581
0.659965
0.617257
0
0.00038
0.210973
13,324
392
104
33.989796
0.874917
0.113404
0
0.779736
0
0
0.175839
0.14202
0
0
0
0
0.440529
1
0.220264
false
0.008811
0.022026
0.030837
0.317181
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
1
0
1
0
0
0
0
0
0
0
8
260e054fc78ceb55c7ef8d4568e5ad88b73646a2
308
py
Python
back/api/email.py
NOBLEGG/RPS
0088af2db89e070377f56b0e2ebb34b5d7999fc0
[ "RSA-MD" ]
null
null
null
back/api/email.py
NOBLEGG/RPS
0088af2db89e070377f56b0e2ebb34b5d7999fc0
[ "RSA-MD" ]
7
2021-03-19T13:26:27.000Z
2022-02-27T05:28:30.000Z
back/api/email.py
NOBLEGG/RPS
0088af2db89e070377f56b0e2ebb34b5d7999fc0
[ "RSA-MD" ]
null
null
null
def active_message(domain, uidb64, token): return f"아래 링크를 클릭하시면 인증이 완료되며, 바로 로그인하실 수 있습니다.\n\n링크 : https://{domain}/activate/{uidb64}/{token}\n\n감사합니다." def reset_message(domain, uidb64, token): return f"아래 링크를 클릭하시면 비밀번호 변경을 진행하실 수 있습니다.\n\n링크 : https://{domain}/reset/{uidb64}/{token}\n\n감사합니다."
51.333333
114
0.698052
51
308
4.176471
0.509804
0.206573
0.178404
0.225352
0.57277
0.57277
0.384977
0.384977
0.384977
0
0
0.029851
0.12987
308
5
115
61.6
0.764925
0
0
0
0
0.5
0.623377
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
7
26249f2d384f2cf9aa52dcca113a31404e295b4e
105
py
Python
multilingual_project_blog/settings/__init__.py
bigee/django-multilingual-project-blog
c62d568ac42b3c7f711624bf7029ac56e7342b6a
[ "MIT" ]
null
null
null
multilingual_project_blog/settings/__init__.py
bigee/django-multilingual-project-blog
c62d568ac42b3c7f711624bf7029ac56e7342b6a
[ "MIT" ]
8
2020-02-11T23:25:46.000Z
2022-03-11T23:15:31.000Z
multilingual_project_blog/settings/__init__.py
bigee/django-multilingual-project-blog
c62d568ac42b3c7f711624bf7029ac56e7342b6a
[ "MIT" ]
null
null
null
# flake8: noqa from .base_settings import * from .django_settings import * from .installed_apps import *
21
30
0.780952
14
105
5.642857
0.642857
0.35443
0.455696
0
0
0
0
0
0
0
0
0.011111
0.142857
105
4
31
26.25
0.866667
0.114286
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
1
0
0
7
2658998d970dc0a72102e1ef78ea720e04cb88a8
1,570
py
Python
diwali-wishes/code.py
AtmaMani/py-micro
7fb4d4b28aa55172c351a69d3e50ef17f905ebb5
[ "MIT" ]
null
null
null
diwali-wishes/code.py
AtmaMani/py-micro
7fb4d4b28aa55172c351a69d3e50ef17f905ebb5
[ "MIT" ]
null
null
null
diwali-wishes/code.py
AtmaMani/py-micro
7fb4d4b28aa55172c351a69d3e50ef17f905ebb5
[ "MIT" ]
null
null
null
import board import neopixel import time pixels = neopixel.NeoPixel(board.NEOPIXEL, 10) pixels.brightness = 0.01 while True: # animate first 3 led for i in range(4): pixels[i] = (255,255,255) time.sleep(0.15) # animate 4 - 10 led faster for i in range(4,10): pixels[i] = (255,2...
22.428571
46
0.535032
265
1,570
3.169811
0.113208
0.052381
0.178571
0.157143
0.863095
0.845238
0.815476
0.815476
0.754762
0.754762
0
0.172784
0.288535
1,570
70
47
22.428571
0.57923
0.064331
0
0.792453
0
0
0
0
0
0
0
0
0
1
0
false
0
0.056604
0
0.056604
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
cd370987032767e358bed122591bc54a6d5651ed
465
py
Python
temp/test.py
Team20s/blockchain_python
438eb4540198693f4f592541d671a2056adb8a42
[ "Apache-2.0" ]
1
2021-11-04T05:46:19.000Z
2021-11-04T05:46:19.000Z
temp/test.py
Team20s/blockchain_python
438eb4540198693f4f592541d671a2056adb8a42
[ "Apache-2.0" ]
null
null
null
temp/test.py
Team20s/blockchain_python
438eb4540198693f4f592541d671a2056adb8a42
[ "Apache-2.0" ]
null
null
null
from bitcoin import * priv = sha256('a') pubk = privtopub(priv) addr = pubtoaddr(pubk) print(priv) print(pubk) print(addr) print() priv = sha256('b') pubk = privtopub(priv) addr = pubtoaddr(pubk) print(priv) print(pubk) print(addr) print() priv = sha256('c') pubk = privtopub(priv) addr = pubtoaddr(pubk) print(pr...
12.567568
22
0.698925
67
465
4.850746
0.208955
0.221538
0.209231
0.258462
0.904615
0.904615
0.904615
0.904615
0.904615
0.904615
0
0.029851
0.135484
465
37
23
12.567568
0.778607
0
0
0.827586
0
0
0.008584
0
0
0
0
0
0
1
0
false
0
0.034483
0
0.034483
0.551724
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
11
cd75e4b929ff589bf6a42b8d6a2cdbd0d5ad51b1
137
py
Python
src/engagement_service/sensors.py
littlebee/shelly-bot
e25f2759bf1c7ac61bacbe70221910184e49beba
[ "MIT" ]
null
null
null
src/engagement_service/sensors.py
littlebee/shelly-bot
e25f2759bf1c7ac61bacbe70221910184e49beba
[ "MIT" ]
null
null
null
src/engagement_service/sensors.py
littlebee/shelly-bot
e25f2759bf1c7ac61bacbe70221910184e49beba
[ "MIT" ]
null
null
null
from common.hardware.adeept_ultrasonic import get_distance # returns float in meters def camera_distance(): return get_distance()
17.125
58
0.79562
18
137
5.833333
0.833333
0.209524
0
0
0
0
0
0
0
0
0
0
0.145985
137
7
59
19.571429
0.897436
0.167883
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0.333333
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
1
1
0
1
1
0
0
0
7
cd94070ee4a3832f7b976ff0ad7c1269cbb6e8bf
197
py
Python
brainlit/algorithms/__init__.py
alishakodibagkar/brainlit
2dc12eac3ea71412a36ecace3bab2deebd2ef29c
[ "Apache-2.0" ]
null
null
null
brainlit/algorithms/__init__.py
alishakodibagkar/brainlit
2dc12eac3ea71412a36ecace3bab2deebd2ef29c
[ "Apache-2.0" ]
null
null
null
brainlit/algorithms/__init__.py
alishakodibagkar/brainlit
2dc12eac3ea71412a36ecace3bab2deebd2ef29c
[ "Apache-2.0" ]
null
null
null
import brainlit.algorithms.connect_fragments import brainlit.algorithms.generate_fragments from brainlit.algorithms.connect_fragments import * from brainlit.algorithms.generate_fragments import *
32.833333
52
0.883249
22
197
7.727273
0.318182
0.423529
0.282353
0.4
0.470588
0
0
0
0
0
0
0
0.06599
197
5
53
39.4
0.923913
0
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
9
26e2879ab5a5dfc3861128ad1fc88e3a36887a6c
4,541
py
Python
code.py
Phyxius/quarantine-day-counter
67bf0f3b8c27e7a90c4e3aed91fce55e83aaffb9
[ "WTFPL" ]
null
null
null
code.py
Phyxius/quarantine-day-counter
67bf0f3b8c27e7a90c4e3aed91fce55e83aaffb9
[ "WTFPL" ]
null
null
null
code.py
Phyxius/quarantine-day-counter
67bf0f3b8c27e7a90c4e3aed91fce55e83aaffb9
[ "WTFPL" ]
null
null
null
import time import board import terminalio from adafruit_matrixportal.matrixportal import MatrixPortal from secrets import secrets import microcontroller TEXT_COLOR = 0x202020 TIME_UPDATE_INTERVAL = 1 * 60 * 60 OPENWEATHER_API_URL = f"https://api.openweathermap.org/data/2.5/weather?q={secrets['zip']},{secrets.get('cou...
29.296774
201
0.650518
604
4,541
4.668874
0.193709
0.031915
0.053901
0.051064
0.997872
0.997872
0.997872
0.997872
0.997872
0.997872
0
0.048023
0.220436
4,541
155
202
29.296774
0.748588
0.043823
0
0.931298
0
0.015267
0.155976
0.035533
0
0
0.003692
0
0
0
null
null
0
0.091603
null
null
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
f83a61b23a4cf54a789b09e73ce12dbb4b510e89
98
py
Python
modules/transformations/__init__.py
bira37/puzzle-effect-filter
5960d741aab7bed1368d0f66699b7cde3ea8fb17
[ "MIT" ]
1
2021-11-19T00:38:07.000Z
2021-11-19T00:38:07.000Z
modules/transformations/__init__.py
bira37/puzzle-effect-filter
5960d741aab7bed1368d0f66699b7cde3ea8fb17
[ "MIT" ]
null
null
null
modules/transformations/__init__.py
bira37/puzzle-effect-filter
5960d741aab7bed1368d0f66699b7cde3ea8fb17
[ "MIT" ]
1
2021-11-19T09:23:25.000Z
2021-11-19T09:23:25.000Z
from .transformations_handler import add_padding from .transformations_handler import transform_v1
49
49
0.908163
12
98
7.083333
0.666667
0.447059
0.611765
0.752941
0
0
0
0
0
0
0
0.010989
0.071429
98
2
49
49
0.923077
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
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
8
f89e71799e940b6a08893000fb99cb18ef1f2397
342
py
Python
pacote-download/PythonTeste/aula07.py
Mariana02Santos/Python
a7bf3489b58d691578f888719c1ad6227ad39d74
[ "MIT" ]
null
null
null
pacote-download/PythonTeste/aula07.py
Mariana02Santos/Python
a7bf3489b58d691578f888719c1ad6227ad39d74
[ "MIT" ]
null
null
null
pacote-download/PythonTeste/aula07.py
Mariana02Santos/Python
a7bf3489b58d691578f888719c1ad6227ad39d74
[ "MIT" ]
null
null
null
# ** potência ou pow(4,3) # // divisão inteira nom = input('Comment vous vous appellez? ') print('Cest un plaisir de vous conaitre {:20}!'.format(nom)) print('Cest un plaisir de vous conaitre {:>20}!'.format(nom)) print('Cest un plaisir de vous conaitre {:^20}!'.format(nom)) print('Cest un plaisir de vous conaitre {:=^...
31.090909
62
0.678363
53
342
4.377358
0.377358
0.155172
0.189655
0.310345
0.741379
0.741379
0.741379
0.741379
0.741379
0.741379
0
0.033898
0.137427
342
10
63
34.2
0.752542
0.122807
0
0
0
0
0.639456
0
0
0
0
0
0
1
0
false
0
0
0
0
0.8
0
0
0
null
0
1
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
9
f8a78c723191f2bc762ec7170a8bb695008ce29c
5,062
py
Python
modules/test_cases.py
vince-wu/CompositionalDrift
96f0cca2197d8398128f49b394b36f6d8b5bdc04
[ "MIT" ]
5
2020-03-18T05:03:03.000Z
2021-06-16T18:05:34.000Z
modules/test_cases.py
vince-wu/CompositionalDrift
96f0cca2197d8398128f49b394b36f6d8b5bdc04
[ "MIT" ]
5
2019-05-20T22:40:18.000Z
2021-06-01T23:46:09.000Z
modules/test_cases.py
vince-wu/CompositionalDrift
96f0cca2197d8398128f49b394b36f6d8b5bdc04
[ "MIT" ]
1
2020-10-20T22:31:37.000Z
2020-10-20T22:31:37.000Z
import math import numpy as np from structures import Reaction, Polymer def some_zero_valued_reactivities(): """ DESCRIPTION: Generates a reaction with zeros in the reactivity ratio list RETURNS: Reaction object """ n = np.random.randint(2, 4) model = "Mayo-Lewis" max_monomer_amounts = 50...
37.220588
84
0.73627
675
5,062
5.266667
0.12
0.137834
0.084388
0.070323
0.897046
0.88917
0.879044
0.879044
0.855134
0.855134
0
0.018169
0.173647
5,062
136
85
37.220588
0.8317
0.125444
0
0.771429
1
0
0.011545
0
0
0
0
0
0
1
0.047619
false
0
0.028571
0
0.12381
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
e47744c83a0c8d7f650614c97fe46a4f84afe368
6,361
py
Python
testing.py
IntegratedMindHeart/project_red_mind
a76af03627a4202a4f26a092b5cf4f93f2f5e2a6
[ "Apache-2.0" ]
2
2021-07-01T08:17:00.000Z
2021-07-01T08:18:35.000Z
testing.py
IntegratedMindHeart/project_red_mind
a76af03627a4202a4f26a092b5cf4f93f2f5e2a6
[ "Apache-2.0" ]
null
null
null
testing.py
IntegratedMindHeart/project_red_mind
a76af03627a4202a4f26a092b5cf4f93f2f5e2a6
[ "Apache-2.0" ]
1
2020-10-15T20:06:43.000Z
2020-10-15T20:06:43.000Z
import time from selenium import webdriver from selenium.webdriver.common.keys import Keys driver=webdriver.Chrome(r'C:\Users\Tranzita Systems\Downloads\chromedriver_win32\chromedriver.exe') time.sleep(2) driver.maximize_window() # driver.get('http://projectredmind.herokuapp.com') driver.get('http://127.0.0.1:...
29.586047
122
0.742336
1,063
6,361
4.269991
0.118532
0.130866
0.094735
0.181758
0.849526
0.832562
0.829258
0.796211
0.787398
0.750386
0
0.04695
0.082534
6,361
215
123
29.586047
0.730809
0.036944
0
0.745562
0
0.053254
0.295235
0.262506
0
0
0
0
0
1
0.011834
false
0.011834
0.017751
0
0.029586
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
e4e9dfbc867048cc1632162adb47ab3aca136e7b
587
py
Python
debugging/name-mapping-test.py
bietiekay/riak-fuse
ea9c4c0cfdc171c7d467040539d224f7559c76e1
[ "BSD-2-Clause" ]
null
null
null
debugging/name-mapping-test.py
bietiekay/riak-fuse
ea9c4c0cfdc171c7d467040539d224f7559c76e1
[ "BSD-2-Clause" ]
null
null
null
debugging/name-mapping-test.py
bietiekay/riak-fuse
ea9c4c0cfdc171c7d467040539d224f7559c76e1
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python # Quick test import NameMapping print(NameMapping.legacyPathToRiakBucketName('IMG_','/fdaf16c657d997656bbccc5752eefa9f/images/1620028670_192497.jpg')) print(NameMapping.legacyPathToRiakBucketName('IMG_','/fdaf16c657d997656bbccc5752eefa9f/images/')) print(NameMapping.legacyPathToRiakBucketName('...
48.916667
118
0.860307
45
587
11.088889
0.4
0.160321
0.252505
0.270541
0.715431
0.715431
0.625251
0.364729
0
0
0
0.223776
0.025554
587
11
119
53.363636
0.648601
0.052811
0
0
0
0
0.5
0.478339
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0.833333
0
0
1
null
0
1
1
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
1
0
0
0
0
1
0
8
5f93ea1379a12178e3db326eb696ce61fe0ba9ea
2,617
py
Python
data_processor/modify_filenames.py
BoyuanChen/visual_behavior_modeling
8b6eb0516c562306c5d775632223ad0de775f170
[ "MIT" ]
9
2019-12-04T12:50:43.000Z
2021-02-28T13:45:30.000Z
data_processor/modify_filenames.py
BoyuanChen/visual_behavior_modeling
8b6eb0516c562306c5d775632223ad0de775f170
[ "MIT" ]
null
null
null
data_processor/modify_filenames.py
BoyuanChen/visual_behavior_modeling
8b6eb0516c562306c5d775632223ad0de775f170
[ "MIT" ]
2
2020-07-09T20:35:15.000Z
2020-11-16T14:03:10.000Z
# import os # from tqdm import tqdm # from subprocess import call # base_path = './data_imgs/rgb_target_imgs' # filelist = os.listdir(base_path) # for p_file in tqdm(filelist): # filepath = os.path.join(base_path, p_file) # new_file_name = 'cur_' + p_file.split('_')[1] # new_file_name = os.path.join(base_path...
33.987013
114
0.677875
407
2,617
3.945946
0.137592
0.109589
0.09589
0.078456
0.888543
0.877958
0.864259
0.849938
0.849938
0.849938
0
0.009558
0.160489
2,617
77
115
33.987013
0.721438
0.166221
0
0.777778
0
0.055556
0.211157
0.173352
0
0
0
0
0
1
0
false
0
0.111111
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
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
39667e2c31cf2f368d6a4ea10e67dfac3e4bfba2
35
py
Python
src/lib/pdb.py
DTenore/skulpt
098d20acfb088d6db85535132c324b7ac2f2d212
[ "MIT" ]
2,671
2015-01-03T08:23:25.000Z
2022-03-31T06:15:48.000Z
src/lib/pdb.py
wakeupmuyunhe/skulpt
a8fb11a80fb6d7c016bab5dfe3712517a350b347
[ "MIT" ]
972
2015-01-05T08:11:00.000Z
2022-03-29T13:47:15.000Z
src/lib/pdb.py
wakeupmuyunhe/skulpt
a8fb11a80fb6d7c016bab5dfe3712517a350b347
[ "MIT" ]
845
2015-01-03T19:53:36.000Z
2022-03-29T18:34:22.000Z
import _sk_fail; _sk_fail._("pdb")
17.5
34
0.742857
6
35
3.5
0.666667
0.571429
0
0
0
0
0
0
0
0
0
0
0.085714
35
1
35
35
0.65625
0
0
0
0
0
0.085714
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
1
0
0
7
397cbf7e0c5de3cf4fce3323e878b0f32167cfae
122
py
Python
montepython/likelihoods/extended_plik_Planck_highl_EE/__init__.py
ivandebono/montepython_public_3.2dev_Python3
16771c3d37faaa3f80b171c01d78da56a75aa3d9
[ "MIT" ]
null
null
null
montepython/likelihoods/extended_plik_Planck_highl_EE/__init__.py
ivandebono/montepython_public_3.2dev_Python3
16771c3d37faaa3f80b171c01d78da56a75aa3d9
[ "MIT" ]
null
null
null
montepython/likelihoods/extended_plik_Planck_highl_EE/__init__.py
ivandebono/montepython_public_3.2dev_Python3
16771c3d37faaa3f80b171c01d78da56a75aa3d9
[ "MIT" ]
null
null
null
from montepython.likelihood_class import Likelihood_clik class extended_plik_Planck_highl_EE(Likelihood_clik): pass
20.333333
56
0.860656
16
122
6.125
0.75
0.285714
0
0
0
0
0
0
0
0
0
0
0.106557
122
5
57
24.4
0.899083
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
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
1
0
0
7
f2fe3f6a87e365cedb1fb047e0d9cf49639fa253
462
py
Python
src/accounts/serializers/__init__.py
loganathanengrr/Django-Rest-Core
928c2d816c0aa48453dde8642ef1b263f76ae39d
[ "MIT" ]
1
2020-02-18T11:09:56.000Z
2020-02-18T11:09:56.000Z
src/accounts/serializers/__init__.py
loganathanengrr/Django-Rest-Core
928c2d816c0aa48453dde8642ef1b263f76ae39d
[ "MIT" ]
8
2020-02-11T23:20:50.000Z
2022-03-11T23:32:18.000Z
src/accounts/serializers/__init__.py
loganathanengrr/Django-Rest-Core
928c2d816c0aa48453dde8642ef1b263f76ae39d
[ "MIT" ]
null
null
null
from .serializers import ( UserCreateSerializer, CurrentUserSerializer, TokenCreateSerializer, PasswordResetSerializer, PasswordResetConfirmSerializer, ActivationSerializer, PasswordChangeSerializer, UsernameChangeSerializer, ) __all__ = [ 'UserCreateSerializer','CurrentUserSerializer','TokenCreateSerializer...
28.875
110
0.852814
20
462
19.5
0.6
0.210256
0.317949
0.435897
0.938462
0.938462
0.938462
0.938462
0
0
0
0
0.0671
462
16
111
28.875
0.904872
0
0
0
0
0
0.395248
0.308855
0
0
0
0
0
1
0
false
0.357143
0.071429
0
0.071429
0
1
0
1
null
1
1
1
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
0
0
1
0
0
0
0
0
10
844b2918c7505b4587fbe2607186313750e8a86a
4,535
py
Python
datahub/dbmaintenance/test/commands/test_update_adviser_contact_email.py
Staberinde/data-hub-api
3d0467dbceaf62a47158eea412a3dba827073300
[ "MIT" ]
6
2019-12-02T16:11:24.000Z
2022-03-18T10:02:02.000Z
datahub/dbmaintenance/test/commands/test_update_adviser_contact_email.py
Staberinde/data-hub-api
3d0467dbceaf62a47158eea412a3dba827073300
[ "MIT" ]
1,696
2019-10-31T14:08:37.000Z
2022-03-29T12:35:57.000Z
datahub/dbmaintenance/test/commands/test_update_adviser_contact_email.py
Staberinde/data-hub-api
3d0467dbceaf62a47158eea412a3dba827073300
[ "MIT" ]
9
2019-11-22T12:42:03.000Z
2021-09-03T14:25:05.000Z
from io import BytesIO import pytest from django.core.management import call_command from reversion.models import Version from datahub.company.test.factories import AdviserFactory pytestmark = pytest.mark.django_db def test_run(s3_stubber, caplog): """Test that the command updates the specified records (ignori...
29.640523
95
0.670121
543
4,535
5.423573
0.206262
0.06893
0.114771
0.076061
0.821732
0.806791
0.806791
0.741596
0.728014
0.728014
0
0.034273
0.202205
4,535
152
96
29.835526
0.779713
0.042117
0
0.70339
0
0
0.310305
0.147181
0
0
0
0
0.101695
1
0.025424
false
0
0.042373
0
0.067797
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
ffbcbdd7ad21abf9e5df46244f0645f34558089d
259
py
Python
kissim/encoding/__init__.py
AJK-dev/kissim
15375000d47b5d5485322fc725809f853a3659de
[ "MIT" ]
null
null
null
kissim/encoding/__init__.py
AJK-dev/kissim
15375000d47b5d5485322fc725809f853a3659de
[ "MIT" ]
1
2021-05-03T14:35:34.000Z
2021-05-18T16:15:02.000Z
kissim/encoding/__init__.py
AJK-dev/kissim
15375000d47b5d5485322fc725809f853a3659de
[ "MIT" ]
null
null
null
""" Encode kinase pockets as subpocket-based structural fingerprint. """ from .base import FingerprintBase from .fingerprint import Fingerprint from .fingerprint_normalized import FingerprintNormalized from .fingerprint_generator import FingerprintGenerator
28.777778
64
0.853282
26
259
8.423077
0.615385
0.205479
0
0
0
0
0
0
0
0
0
0
0.100386
259
8
65
32.375
0.939914
0.247104
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
1
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
1
0
7
ffe7411aec8a66eaa1b6165766ca9d1acfa4f1f8
5,837
py
Python
aiolifx/products.py
bdraco/aiolifx
9bd8c5e6d291f4c79314989402f7e2c6476d5851
[ "MIT" ]
null
null
null
aiolifx/products.py
bdraco/aiolifx
9bd8c5e6d291f4c79314989402f7e2c6476d5851
[ "MIT" ]
null
null
null
aiolifx/products.py
bdraco/aiolifx
9bd8c5e6d291f4c79314989402f7e2c6476d5851
[ "MIT" ]
null
null
null
product_map = { 1: 'Original 1000', 3: 'Color 650', 10: 'White 800 (Low Voltage)', 11: 'White 800 (High Voltage)', 18: 'White 900 BR30 (Low Voltage)', 20: 'Color 1000 BR30', 22: 'Color 1000', 27: 'LIFX A19', 28: 'LIFX BR30', 29: 'LIFX+ A19', 30: 'LIFX+ BR30', 31: 'LIFX Z', ...
29.331658
41
0.429501
526
5,837
4.655894
0.129278
0.102899
0.165374
0.215598
0.83381
0.81911
0.81911
0.81911
0.810943
0.810943
0
0.111832
0.419394
5,837
198
42
29.479798
0.6108
0
0
0.709184
0
0
0.287354
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
fff92904da86d16d1bc43c0f273b3756307eb940
205
py
Python
tests/test_utilities.py
echeu/ironman
551baae6e3c8515347c2c47128d77897e7c4c38b
[ "MIT" ]
5
2017-11-17T12:30:27.000Z
2019-08-15T03:04:17.000Z
tests/test_utilities.py
echeu/ironman
551baae6e3c8515347c2c47128d77897e7c4c38b
[ "MIT" ]
24
2015-11-03T06:54:48.000Z
2022-03-03T21:51:21.000Z
tests/test_utilities.py
echeu/ironman
551baae6e3c8515347c2c47128d77897e7c4c38b
[ "MIT" ]
3
2018-12-24T08:39:54.000Z
2021-09-29T21:42:01.000Z
from ironman.utilities import chunks def test_chunks(): assert list(chunks('abc', 1)) == ['a', 'b', 'c'] assert list(chunks('abc', 2)) == ['ab', 'c'] assert list(chunks('abc', 3)) == ['abc']
25.625
52
0.560976
29
205
3.931034
0.586207
0.263158
0.421053
0.5
0.350877
0
0
0
0
0
0
0.017964
0.185366
205
7
53
29.285714
0.664671
0
0
0
0
0
0.087805
0
0
0
0
0
0.6
1
0.2
true
0
0.2
0
0.4
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
1
0
0
1
0
0
0
0
0
0
7
08215ae83d393d01678e0bd082fde450f91a0a94
3,741
py
Python
modules/dart.py
ymshenyu/QvTodoBot
20af06caaaedbee85247c94af04be7aadd7508ac
[ "MIT" ]
2
2020-06-28T19:49:37.000Z
2021-12-28T11:01:13.000Z
modules/dart.py
ymshenyu/QvTodoBot
20af06caaaedbee85247c94af04be7aadd7508ac
[ "MIT" ]
null
null
null
modules/dart.py
ymshenyu/QvTodoBot
20af06caaaedbee85247c94af04be7aadd7508ac
[ "MIT" ]
5
2020-05-16T07:11:00.000Z
2021-09-27T15:15:09.000Z
from telegram.bot import Bot from telegram.ext import CommandHandler, CallbackContext from telegram import Update, Message from typing import List class Darter: def __init__(self, bot: Bot): self.bot = bot def getCommands(self) -> List[CommandHandler]: return [CommandHandler("dart", self.dart...
36.676471
74
0.577118
420
3,741
5.061905
0.130952
0.152869
0.124177
0.163688
0.795861
0.795861
0.795861
0.795861
0.795861
0.795861
0
0.011755
0.317829
3,741
101
75
37.039604
0.818574
0
0
0.717391
0
0
0.012029
0
0
0
0
0
0.130435
1
0.086957
false
0
0.043478
0.01087
0.152174
0
0
0
0
null
0
0
1
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
7
082fec2734637c2d7456b33d6880c0867ffa1207
256
py
Python
fewshot/data/iterators/__init__.py
sebamenabar/oc-fewshot-public
2dad8c9f24cb1bfe72d8b13b33d28f6788d86ca8
[ "MIT" ]
18
2020-07-12T11:07:27.000Z
2022-02-06T04:17:23.000Z
fewshot/data/iterators/__init__.py
renmengye/oc-fewshot
eb12bd5b426518fd8353304f0760f5c24f1b3c12
[ "MIT" ]
2
2021-10-14T17:38:50.000Z
2021-11-10T14:07:04.000Z
fewshot/data/iterators/__init__.py
renmengye/oc-fewshot
eb12bd5b426518fd8353304f0760f5c24f1b3c12
[ "MIT" ]
6
2020-11-11T19:18:28.000Z
2021-06-04T14:20:03.000Z
from .episode_iterator import EpisodeIterator # NOQA from .minibatch_iterator import MinibatchIterator # NOQA from .semisupervised_episode_iterator import SemiSupervisedEpisodeIterator # NOQA from .sim_episode_iterator import SimEpisodeIterator # NOQA
51.2
82
0.859375
26
256
8.230769
0.461538
0.261682
0.294393
0
0
0
0
0
0
0
0
0
0.109375
256
4
83
64
0.938596
0.074219
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
1
0
0
7
f2313c9174553d27ffe161673e7b37399a82f929
37
py
Python
notebook/python_sandbox/pkg_sample/foo.py
xyise/xyise
e2bc1c2e824da4fc5cd1d81aaef76a1ad147fb01
[ "Apache-2.0" ]
null
null
null
notebook/python_sandbox/pkg_sample/foo.py
xyise/xyise
e2bc1c2e824da4fc5cd1d81aaef76a1ad147fb01
[ "Apache-2.0" ]
null
null
null
notebook/python_sandbox/pkg_sample/foo.py
xyise/xyise
e2bc1c2e824da4fc5cd1d81aaef76a1ad147fb01
[ "Apache-2.0" ]
null
null
null
def some_function(): return 42000
18.5
20
0.72973
5
37
5.2
1
0
0
0
0
0
0
0
0
0
0
0.166667
0.189189
37
2
21
18.5
0.7
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
true
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
1
0
0
1
1
0
0
7
f25f4159b5a1ffb25bf24507c1664dbfb0c3c34c
26,514
py
Python
Utils/Data/Features/Generated/EngagerFeature/NumberOfPreviousEngagementWithLanguage.py
MaurizioFD/recsys-challenge-2020-twitter
95dc024fb4f8777aa62e1304536daece640428de
[ "Apache-2.0" ]
44
2020-07-09T11:31:17.000Z
2022-03-04T05:50:48.000Z
Utils/Data/Features/Generated/EngagerFeature/NumberOfPreviousEngagementWithLanguage.py
kiminh/recsys-challenge-2020-twitter
567f0db40be7db3d21c360f2ca6cdf2addc7c698
[ "Apache-2.0" ]
3
2020-10-02T18:55:21.000Z
2020-10-13T22:13:58.000Z
Utils/Data/Features/Generated/EngagerFeature/NumberOfPreviousEngagementWithLanguage.py
kiminh/recsys-challenge-2020-twitter
567f0db40be7db3d21c360f2ca6cdf2addc7c698
[ "Apache-2.0" ]
9
2020-08-08T14:55:59.000Z
2021-09-06T09:17:03.000Z
import numpy as np from Utils.Data.DatasetUtils import is_test_or_val_set, get_train_set_id_from_test_or_val_set, \ get_test_or_val_set_id_from_train from Utils.Data.Features.Generated.TweetFeature.IsEngagementType import * from Utils.Data.Features.MappedFeatures import MappedFeatureEngagerId, MappedFeatureCreator...
49.744841
134
0.683563
2,833
26,514
5.993999
0.044123
0.085861
0.049467
0.06042
0.90666
0.905836
0.862729
0.852423
0.838172
0.833873
0
0.001755
0.247944
26,514
532
135
49.838346
0.84985
0.06687
0
0.870192
1
0
0.073494
0.073494
0
0
0
0
0
1
0.033654
false
0
0.012019
0
0.064904
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
f28df92d282153528564387f196718a04f8a879b
3,177
py
Python
tests/cli/test_subscriptions.py
RichMooreNR/newrelic-lambda-cli
770df2f2097c7ab250375a3787be30f2cbdb80ce
[ "Apache-2.0" ]
29
2019-11-21T18:39:02.000Z
2022-02-11T19:28:25.000Z
tests/cli/test_subscriptions.py
RichMooreNR/newrelic-lambda-cli
770df2f2097c7ab250375a3787be30f2cbdb80ce
[ "Apache-2.0" ]
118
2019-11-21T18:32:00.000Z
2022-03-31T23:58:31.000Z
tests/cli/test_subscriptions.py
RichMooreNR/newrelic-lambda-cli
770df2f2097c7ab250375a3787be30f2cbdb80ce
[ "Apache-2.0" ]
28
2019-11-21T18:02:38.000Z
2022-02-26T10:08:38.000Z
from moto import mock_lambda, mock_logs from newrelic_lambda_cli.cli import cli, register_groups @mock_lambda @mock_logs def test_subscriptions_install(aws_credentials, cli_runner): """ Assert that 'newrelic-lambda subscriptions install' attempts to install the New Relic log subscription on a function. ...
25.620968
83
0.52282
300
3,177
5.313333
0.21
0.075282
0.027604
0.045169
0.892095
0.892095
0.883312
0.835634
0.835634
0.760351
0
0.007317
0.354737
3,177
123
84
25.829268
0.770244
0.075228
0
0.823529
0
0
0.330459
0.081407
0
0
0
0
0.098039
1
0.019608
false
0
0.019608
0
0.039216
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
4b50b9fa31d96ed0379ceb60bf424af98ae38590
12,683
py
Python
chest.py
EtlamGit/PySlicer
4f2015ca995377d34dd176045396dcf51bc78a2a
[ "MIT" ]
1
2021-02-16T16:27:54.000Z
2021-02-16T16:27:54.000Z
chest.py
EtlamGit/PySlicer
4f2015ca995377d34dd176045396dcf51bc78a2a
[ "MIT" ]
null
null
null
chest.py
EtlamGit/PySlicer
4f2015ca995377d34dd176045396dcf51bc78a2a
[ "MIT" ]
null
null
null
# copyright 2020 EtlamGit import os import os.path from PIL import Image class Chest: def __init__(self, image_dimension_64): self.scale = image_dimension_64 / 64.0 def scale_it(self, ox, oy, dx, dy): return (int(ox * self.scale), int(oy * self.scale), int(ox * self.scale + dx * self.scale),...
56.874439
139
0.653079
2,199
12,683
3.549341
0.05457
0.114158
0.165022
0.223959
0.924279
0.914414
0.842409
0.703908
0.6041
0.580141
0
0.074904
0.197903
12,683
222
140
57.130631
0.692323
0.036506
0
0.165714
0
0
0.009104
0.006398
0
0
0
0
0
1
0.548571
false
0
0.017143
0.531429
0.6
0
0
0
0
null
0
0
1
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
1
1
0
0
8
4bb5bf393f1ccf3c27f87954fd43ffe4d2c9d3e9
47
py
Python
bempp/api/grid/__init__.py
pescap/bempp-cl
3a68666e8db0e873d418b734289067483f68f12e
[ "MIT" ]
null
null
null
bempp/api/grid/__init__.py
pescap/bempp-cl
3a68666e8db0e873d418b734289067483f68f12e
[ "MIT" ]
null
null
null
bempp/api/grid/__init__.py
pescap/bempp-cl
3a68666e8db0e873d418b734289067483f68f12e
[ "MIT" ]
null
null
null
from .grid import Grid from .grid import union
15.666667
23
0.787234
8
47
4.625
0.5
0.432432
0.756757
0
0
0
0
0
0
0
0
0
0.170213
47
2
24
23.5
0.948718
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
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
8
4bb967e45a532dbe2dbea252a0c56564edd4d8c8
30,104
py
Python
apt_parser/templates.py
mwregan2/MiriTE
6b65939454db60bf10619d50fcb5769d23598b76
[ "CNRI-Python" ]
null
null
null
apt_parser/templates.py
mwregan2/MiriTE
6b65939454db60bf10619d50fcb5769d23598b76
[ "CNRI-Python" ]
24
2019-08-09T15:03:20.000Z
2022-03-04T10:04:48.000Z
apt_parser/templates.py
mwregan2/MiriTE
6b65939454db60bf10619d50fcb5769d23598b76
[ "CNRI-Python" ]
4
2019-06-16T15:03:23.000Z
2020-12-02T19:51:52.000Z
import re import logging from . import dithering from . import constants as c LOG = logging.getLogger('parse_apt.templates') class Template(object): """ Generic template object from which every class derive """ def __init__(self, template, metadata=None): """ :param template: MiriI...
38.644416
118
0.608657
3,396
30,104
5.249117
0.067138
0.0414
0.080108
0.086054
0.838326
0.830192
0.822506
0.810502
0.798889
0.78537
0
0.001773
0.269134
30,104
778
119
38.694087
0.808427
0.131444
0
0.749491
0
0
0.143144
0.009873
0
0
0
0
0
1
0.044807
false
0.002037
0.008147
0.002037
0.107943
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
29954ffe7037c68e3ff52ee53f093b13c4e6a94f
49
py
Python
instance/config.py
alphonce-otieno-odhiambo/HOTLINE-BLINKNEWS
a29fefce2b5925c3c8c0ce86f7f9f7687148b24a
[ "MIT" ]
null
null
null
instance/config.py
alphonce-otieno-odhiambo/HOTLINE-BLINKNEWS
a29fefce2b5925c3c8c0ce86f7f9f7687148b24a
[ "MIT" ]
null
null
null
instance/config.py
alphonce-otieno-odhiambo/HOTLINE-BLINKNEWS
a29fefce2b5925c3c8c0ce86f7f9f7687148b24a
[ "MIT" ]
null
null
null
NEWS_API_KEY = 'a0811784c6544548b7bef41c29abb906'
49
49
0.897959
4
49
10.5
1
0
0
0
0
0
0
0
0
0
0
0.468085
0.040816
49
1
49
49
0.425532
0
0
0
0
0
0.64
0.64
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
29d81ce7e9955e6715a3c721b480315d889473d2
26,270
py
Python
src/evalfitness.py
afuentesconwet/pySTEPforPython2.7
59c30ac9b663c1bfc90fe592709a1304302b08a7
[ "Unlicense" ]
null
null
null
src/evalfitness.py
afuentesconwet/pySTEPforPython2.7
59c30ac9b663c1bfc90fe592709a1304302b08a7
[ "Unlicense" ]
null
null
null
src/evalfitness.py
afuentesconwet/pySTEPforPython2.7
59c30ac9b663c1bfc90fe592709a1304302b08a7
[ "Unlicense" ]
null
null
null
""" evalfitness =========== Contains methods to evaluate the fitness of a tree. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS...
45.528596
299
0.584126
3,136
26,270
4.828763
0.106186
0.057716
0.018887
0.014528
0.840454
0.826917
0.815558
0.807568
0.786568
0.770125
0
0.016193
0.327674
26,270
576
300
45.607639
0.841184
0.347811
0
0.737089
0
0
0.013322
0.007289
0
0
0
0
0
0
null
null
0.004695
0.046948
null
null
0.018779
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
d99bfb211c75d8eab0472906468db064b753990d
5,719
py
Python
searchBar/basicapp/tests.py
rajvijen/Industry-Visit-Planning-and-Booking
fe54f9f354eb88cd78b1bc18a61908fe7de03577
[ "MIT" ]
null
null
null
searchBar/basicapp/tests.py
rajvijen/Industry-Visit-Planning-and-Booking
fe54f9f354eb88cd78b1bc18a61908fe7de03577
[ "MIT" ]
8
2019-09-05T04:58:20.000Z
2022-01-13T00:58:01.000Z
searchBar/basicapp/tests.py
rajvijen/ASE-101
fe54f9f354eb88cd78b1bc18a61908fe7de03577
[ "MIT" ]
5
2018-11-15T19:04:29.000Z
2018-11-17T06:10:38.000Z
from django.test import TestCase ,Client from django.http import HttpRequest from django.urls import reverse from .models import UserProfileInfo from django.contrib.auth.models import User class ListView_Testing(TestCase): @classmethod def setUpTestData(cls): cls.client = Client() cls...
42.051471
119
0.678965
634
5,719
5.976341
0.135647
0.071259
0.090261
0.105305
0.845342
0.837952
0.818422
0.803378
0.77857
0.764846
0
0.01801
0.203882
5,719
136
120
42.051471
0.814188
0.01801
0
0.623188
0
0
0.14698
0.074434
0
0
0
0
0.318841
1
0.217391
false
0.028986
0.072464
0
0.318841
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
1
0
0
0
0
0
0
0
7
d9b62fd684a9d894868becf64c722ba0a9f07ed7
7,827
py
Python
sdk/python/pulumi_aws/ec2transitgateway/_inputs.py
sibuthomasmathew/pulumi-aws
6351f2182eb6f693d4e09e4136c385adfa0ab674
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/ec2transitgateway/_inputs.py
sibuthomasmathew/pulumi-aws
6351f2182eb6f693d4e09e4136c385adfa0ab674
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/ec2transitgateway/_inputs.py
sibuthomasmathew/pulumi-aws
6351f2182eb6f693d4e09e4136c385adfa0ab674
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from .. import _utilitie...
31.817073
241
0.624633
910
7,827
5.247253
0.117582
0.040209
0.06534
0.042723
0.870785
0.870785
0.870785
0.870785
0.870785
0.870785
0
0.002265
0.266769
7,827
245
242
31.946939
0.829761
0.360802
0
0.863309
1
0
0.078819
0.038854
0
0
0
0
0
1
0.215827
false
0
0.035971
0
0.381295
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
9
d9ca0340d823d6a22f59d2483c8291da931963b3
2,066
py
Python
PA3/cs231n/datasets/get_assignment3_data.py
mcreng/cs231n
60b07e6a55b4cb239931daad5e0c8c8eeed46c1f
[ "MIT" ]
13
2019-02-13T08:27:59.000Z
2021-12-20T07:04:49.000Z
PA3/cs231n/datasets/get_assignment3_data.py
mcreng/cs231n
60b07e6a55b4cb239931daad5e0c8c8eeed46c1f
[ "MIT" ]
1
2018-12-23T15:33:01.000Z
2019-01-29T15:35:17.000Z
PA3/cs231n/datasets/get_assignment3_data.py
mcreng/cs231n
60b07e6a55b4cb239931daad5e0c8c8eeed46c1f
[ "MIT" ]
4
2019-02-13T08:28:02.000Z
2022-03-11T08:48:45.000Z
from __future__ import print_function from six.moves.urllib import request import zipfile import os url = "http://cs231n.stanford.edu/coco_captioning.zip" file_name = url.split('/')[-1] u = request.urlopen(url) f = open(file_name, 'wb') meta = u.info() file_size = int(meta.get("Content-Length")) print("Do...
23.747126
81
0.627299
312
2,066
3.951923
0.224359
0.136253
0.097324
0.051095
0.900243
0.841849
0.841849
0.841849
0.841849
0.841849
0
0.032297
0.205712
2,066
87
82
23.747126
0.719074
0
0
0.897059
0
0
0.171126
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.058824
0.132353
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
d9dff2248b7b72cc764ad8da51dace8f63f7fc75
103
py
Python
utils/mixture.py
LuckyDC/generalizing-reid-improved
ec78ba033e2961ba3d1d19d86ecc18d5f6ac8e39
[ "MIT" ]
null
null
null
utils/mixture.py
LuckyDC/generalizing-reid-improved
ec78ba033e2961ba3d1d19d86ecc18d5f6ac8e39
[ "MIT" ]
null
null
null
utils/mixture.py
LuckyDC/generalizing-reid-improved
ec78ba033e2961ba3d1d19d86ecc18d5f6ac8e39
[ "MIT" ]
null
null
null
class MixUp: def __init__(self): pass class CutMix: def __init__(self): pass
11.444444
23
0.572816
12
103
4.25
0.583333
0.27451
0.431373
0.588235
0
0
0
0
0
0
0
0
0.349515
103
8
24
12.875
0.761194
0
0
0.666667
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.333333
0
0
0.666667
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
7
d9ea39d50c5ed1bf5e244ced5fab929f3d7c68ac
186
py
Python
pytype/tools/merge_pyi/test_data/scope.py
Jrryy/pytype
2d2855dc97d5ccee22ad233a83524616c17c44c9
[ "Apache-2.0" ]
3,882
2015-03-22T12:17:15.000Z
2022-03-31T17:13:20.000Z
pytype/tools/merge_pyi/test_data/scope.py
Jrryy/pytype
2d2855dc97d5ccee22ad233a83524616c17c44c9
[ "Apache-2.0" ]
638
2015-11-03T06:34:44.000Z
2022-03-31T23:41:48.000Z
pytype/tools/merge_pyi/test_data/scope.py
Jrryy/pytype
2d2855dc97d5ccee22ad233a83524616c17c44c9
[ "Apache-2.0" ]
301
2015-08-14T10:21:17.000Z
2022-03-08T11:03:40.000Z
class C: def f(self, x): pass def g(self): def f(x): #gets ignored by pytype but fixer sees it, generates warning (FIXME?) return 1 return f
20.666667
87
0.537634
28
186
3.571429
0.75
0.08
0
0
0
0
0
0
0
0
0
0.008621
0.376344
186
8
88
23.25
0.853448
0.365591
0
0
1
0
0
0
0
0
0
0.125
0
1
0.428571
false
0.142857
0
0.142857
0.857143
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
1
0
0
1
0
1
0
1
1
0
0
8
8a2bf79b038ac78476e1750555394f4311eaaab3
2,543
py
Python
imagemagick/convert.py
vmiklos/vmexam
ff4ef386d3cfd84b8ed06387cbd87b119dd50448
[ "MIT" ]
1
2015-02-09T10:21:51.000Z
2015-02-09T10:21:51.000Z
imagemagick/convert.py
vmiklos/vmexam
ff4ef386d3cfd84b8ed06387cbd87b119dd50448
[ "MIT" ]
null
null
null
imagemagick/convert.py
vmiklos/vmexam
ff4ef386d3cfd84b8ed06387cbd87b119dd50448
[ "MIT" ]
null
null
null
import os, shutil, sys who = sys.argv[1] def system(cmd): print "-> " + cmd os.system(cmd) bigs = [] smalls = [] os.chdir(who) for root, dirs, files in os.walk("8as"): for i in files: bigs.append(os.path.join("8as", i)) for root, dirs, files in os.walk("4es"): for i in files: smalls.append(os.path.join("4...
41.016129
146
0.672827
441
2,543
3.879819
0.142857
0.175336
0.151958
0.22443
0.769141
0.769141
0.768556
0.715956
0.715956
0.715956
0
0.040941
0.097129
2,543
61
147
41.688525
0.704268
0
0
0.125
0
0
0.263862
0
0
0
0
0
0
0
null
null
0
0.020833
null
null
0.145833
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
1
0
0
0
0
0
0
0
0
7
8a2dea66f1e117cb3b7044cf2cf38a99f097e817
32,095
py
Python
unixtimestampfield/tests.py
bducraux/django-unixtimestampfield
cb8b9f8dcfe43be8110845062406e16b2f25e9d1
[ "MIT" ]
22
2015-12-25T06:31:22.000Z
2021-07-14T02:46:36.000Z
unixtimestampfield/tests.py
bducraux/django-unixtimestampfield
cb8b9f8dcfe43be8110845062406e16b2f25e9d1
[ "MIT" ]
7
2015-12-11T14:49:37.000Z
2022-01-05T01:56:24.000Z
unixtimestampfield/tests.py
bducraux/django-unixtimestampfield
cb8b9f8dcfe43be8110845062406e16b2f25e9d1
[ "MIT" ]
6
2018-05-14T02:35:30.000Z
2021-04-07T03:25:57.000Z
import logging from django.test import TestCase, override_settings from django.db import models from django.utils import timezone from django import forms from django.core import exceptions from django.template import Template, Context from .fields import UnixTimeStampField, OrdinalField, TimestampPatchMixin, Ordina...
40.068664
96
0.676367
4,336
32,095
4.798662
0.043819
0.169414
0.116884
0.070745
0.903638
0.884606
0.878214
0.851877
0.825924
0.800067
0
0.069526
0.197383
32,095
800
97
40.11875
0.738199
0.001838
0
0.685484
0
0
0.065909
0.001592
0
0
0
0
0.420968
1
0.080645
false
0
0.012903
0
0.159677
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
1
0
0
0
0
0
0
0
0
0
7
8a419fe36b3b7a41d40f50c6c12fa3a96dea92cc
15,611
py
Python
django_comments_xtd/tests/test_moderation.py
mcguia/critical-design
dbe1c2d24d373dafed7b6214d2259dda76bb633c
[ "BSD-2-Clause" ]
null
null
null
django_comments_xtd/tests/test_moderation.py
mcguia/critical-design
dbe1c2d24d373dafed7b6214d2259dda76bb633c
[ "BSD-2-Clause" ]
null
null
null
django_comments_xtd/tests/test_moderation.py
mcguia/critical-design
dbe1c2d24d373dafed7b6214d2259dda76bb633c
[ "BSD-2-Clause" ]
null
null
null
from __future__ import unicode_literals import re try: from unittest.mock import patch except ImportError: from mock import patch from datetime import datetime, timedelta import django from django.contrib.auth.models import User from django.core.urlresolvers import reverse from django.test import TestCase t...
45.914706
78
0.581449
1,735
15,611
5.039193
0.098559
0.04964
0.033055
0.029738
0.870639
0.857028
0.829349
0.804415
0.802013
0.78417
0
0.00921
0.304465
15,611
339
79
46.050147
0.796003
0.039716
0
0.791096
0
0
0.108484
0.033534
0
0
0
0
0.133562
1
0.075342
false
0.013699
0.061644
0
0.171233
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
8a5e5d6ef4e44de1f8564b05f1ba64f19dba228e
3,884
py
Python
DataStructures/BinarySearchTree/tests/binary_search_tree_test.py
Nalhin/AlgorithmsAndDataStructures
2d2c87d0572e107c993c3c8866b8beefd4d22082
[ "MIT" ]
1
2021-11-16T13:02:25.000Z
2021-11-16T13:02:25.000Z
DataStructures/BinarySearchTree/tests/binary_search_tree_test.py
Nalhin/AlgorithmsAndDataStructures
2d2c87d0572e107c993c3c8866b8beefd4d22082
[ "MIT" ]
null
null
null
DataStructures/BinarySearchTree/tests/binary_search_tree_test.py
Nalhin/AlgorithmsAndDataStructures
2d2c87d0572e107c993c3c8866b8beefd4d22082
[ "MIT" ]
null
null
null
from random import random import pytest from DataStructures.BinarySearchTree.binary_search_tree import BinarySearchTree @pytest.fixture() def binary_search_tree(): return BinarySearchTree() def populate_tree(binary_search_tree, items): for i in items: binary_search_tree.insert(i) class TestBinar...
29.203008
79
0.668898
493
3,884
4.947262
0.099391
0.226322
0.301763
0.207462
0.801148
0.751538
0.736777
0.708897
0.708897
0.708897
0
0.028212
0.242533
3,884
132
80
29.424242
0.800816
0
0
0.569767
0
0
0
0
0
0
0
0
0.151163
1
0.174419
false
0
0.034884
0.011628
0.232558
0
0
0
0
null
1
1
1
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
9
8a77179b02819d4afffd9754c1de104ccbf039bb
92,716
py
Python
app/api/tests/test_api.py
edwardly1002/doccano
d7b56eedc50132b18dee5f9bd5ef4f9a9ff27441
[ "MIT" ]
1
2021-07-25T02:37:01.000Z
2021-07-25T02:37:01.000Z
app/api/tests/test_api.py
edwardly1002/doccano
d7b56eedc50132b18dee5f9bd5ef4f9a9ff27441
[ "MIT" ]
11
2021-04-06T18:42:53.000Z
2022-02-10T10:52:57.000Z
app/api/tests/test_api.py
munivinayk/Doccano-master
9e7aab7b4422579df4e8b67bebd0a9215edf558a
[ "MIT" ]
null
null
null
import os from django.conf import settings from django.test import override_settings from rest_framework import status from rest_framework.reverse import reverse from rest_framework.test import APITestCase from model_mommy import mommy from ..models import User, SequenceAnnotation, Document, Role, RoleMapping from .....
52.146232
117
0.66173
10,710
92,716
5.381419
0.035481
0.100373
0.041884
0.039906
0.887308
0.855851
0.81369
0.779509
0.754351
0.728238
0
0.006599
0.244931
92,716
1,777
118
52.175577
0.816675
0.002707
0
0.619891
0
0
0.077927
0.026412
0
0
0
0.000563
0.089918
1
0.136921
false
0.141008
0.008856
0
0.162807
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
1
0
0
0
0
0
7
0a03953c605fb4587c8f0deea8227a8b1c2f9ad9
3,822
py
Python
robotframework-ls/src/robotframework_ls/__init__.py
DetachHead/robotframework-lsp
a82438f45b75f3afbe3f80a970b75ed9065f96a7
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
robotframework-ls/src/robotframework_ls/__init__.py
DetachHead/robotframework-lsp
a82438f45b75f3afbe3f80a970b75ed9065f96a7
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
robotframework-ls/src/robotframework_ls/__init__.py
DetachHead/robotframework-lsp
a82438f45b75f3afbe3f80a970b75ed9065f96a7
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
__version__ = "0.28.0" version_info = [int(x) for x in __version__.split(".")] import os.path import sys __file__ = os.path.abspath(__file__) if __file__.endswith((".pyc", ".pyo")): __file__ = __file__[:-1] def import_robocorp_ls_core(): """ Helper function to make sure that robocorp_ls_core is imported...
34.745455
88
0.525641
401
3,822
4.708229
0.184539
0.095339
0.090042
0.03178
0.851695
0.836864
0.799788
0.799788
0.799788
0.799788
0
0.002074
0.369178
3,822
109
89
35.06422
0.781004
0.05887
0
0.735632
0
0
0.14896
0.013772
0
0
0
0
0.022989
1
0.022989
false
0
0.16092
0
0.183908
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
0a1d2e6a3972255183efb35b7ba92cc9c171b8f3
182,158
py
Python
server/www/packages/packages-windows/x86/ldap3/protocol/schemas/edir914.py
tinygg/teleport
5ac759c707d355767a209e29becaadf250b0e366
[ "Apache-2.0" ]
640
2018-09-12T03:14:13.000Z
2022-03-30T04:38:09.000Z
server/www/packages/packages-windows/x86/ldap3/protocol/schemas/edir914.py
tinygg/teleport
5ac759c707d355767a209e29becaadf250b0e366
[ "Apache-2.0" ]
175
2018-09-10T19:52:20.000Z
2022-03-30T04:37:30.000Z
server/www/packages/packages-windows/x86/ldap3/protocol/schemas/edir914.py
tinygg/teleport
5ac759c707d355767a209e29becaadf250b0e366
[ "Apache-2.0" ]
230
2018-09-13T02:40:49.000Z
2022-03-29T11:53:58.000Z
""" """ # Created on 2019.08.31 # # Author: Giovanni Cannata # # Copyright 2014 - 2020 Giovanni Cannata # # This file is part of ldap3. # # ldap3 is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published # by the Free Software Founda...
157.439931
2,033
0.678252
31,266
182,158
3.865829
0.050726
0.049872
0.022264
0.051775
0.67852
0.664232
0.649538
0.631576
0.610338
0.595761
0
0.227642
0.155299
182,158
1,157
2,034
157.439931
0.55789
0.004183
0
0.060124
0
0.816092
0.999551
0.4196
0
0
0
0
0
1
0
false
0.051282
0
0
0
0.008842
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
7
0a28277ecb07f211806e8d3a0f39f0692a06fe83
165
py
Python
src/dame/tests/test__utils.py
sirspock/mint_cli
6159c9434a20903d0a68a4aa2b61cb57827a48f7
[ "Apache-2.0" ]
3
2020-04-01T21:18:10.000Z
2021-04-19T23:10:31.000Z
src/dame/tests/test__utils.py
mintproject/dame_cli
6159c9434a20903d0a68a4aa2b61cb57827a48f7
[ "Apache-2.0" ]
68
2020-04-01T19:58:18.000Z
2021-04-28T13:37:59.000Z
src/dame/tests/test__utils.py
sirspock/mint_cli
6159c9434a20903d0a68a4aa2b61cb57827a48f7
[ "Apache-2.0" ]
null
null
null
from dame._utils import init_logger, get_latest_version def test_init_logger(): init_logger() def test_get_latest_version(): assert get_latest_version()
16.5
55
0.781818
24
165
4.875
0.5
0.25641
0.410256
0
0
0
0
0
0
0
0
0
0.145455
165
9
56
18.333333
0.829787
0
0
0
0
0
0
0
0
0
0
0
0.2
1
0.4
true
0
0.2
0
0.6
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
1
0
0
7
0a2961396006c534b0ba7468777b9df0e3001e57
243
py
Python
supermamas/pamperings/forms/__init__.py
oasalonen/supermamas
3ab2b2370de903cea614ea9dfa10ce1c0504a715
[ "Apache-2.0" ]
null
null
null
supermamas/pamperings/forms/__init__.py
oasalonen/supermamas
3ab2b2370de903cea614ea9dfa10ce1c0504a715
[ "Apache-2.0" ]
null
null
null
supermamas/pamperings/forms/__init__.py
oasalonen/supermamas
3ab2b2370de903cea614ea9dfa10ce1c0504a715
[ "Apache-2.0" ]
null
null
null
from supermamas.pamperings.forms.pampering_filter import PamperingFilterForm from supermamas.pamperings.forms.create_pampering import CreatePamperingForm from supermamas.pamperings.forms.pampering_invitation_form import PamperingInvitationForm
81
89
0.917695
25
243
8.76
0.52
0.191781
0.328767
0.39726
0.347032
0
0
0
0
0
0
0
0.045267
243
3
89
81
0.943966
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
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
7
0a6240345cb91f842ad64f95de677c935ec5f394
133,000
py
Python
test/test_markdown_setext_headings_extra.py
jackdewinter/pymarkdown
7ae408ba0b24506fa07552ffe520750bbff38c53
[ "MIT" ]
20
2021-01-14T17:39:09.000Z
2022-03-14T08:35:22.000Z
test/test_markdown_setext_headings_extra.py
jackdewinter/pymarkdown
7ae408ba0b24506fa07552ffe520750bbff38c53
[ "MIT" ]
304
2020-08-15T23:24:00.000Z
2022-03-31T23:34:03.000Z
test/test_markdown_setext_headings_extra.py
jackdewinter/pymarkdown
7ae408ba0b24506fa07552ffe520750bbff38c53
[ "MIT" ]
3
2021-08-11T10:26:26.000Z
2021-11-02T20:41:27.000Z
""" https://github.github.com/gfm/#setext-headings """ import pytest from .utils import act_and_assert # pylint: disable=too-many-lines @pytest.mark.gfm def test_setext_headings_extra_01(): """ Test case extra 1: SetExt heading starts with a backslash escape """ # Arrange source_markdown = """...
26.232742
120
0.538887
18,543
133,000
3.736289
0.02443
0.080425
0.064144
0.045957
0.909255
0.889178
0.863312
0.847031
0.835354
0.824009
0
0.039372
0.228293
133,000
5,069
121
26.237917
0.635648
0.146955
0
0.7317
0
0.104932
0.438961
0.183976
0
0
0
0
0.062834
1
0.06252
false
0
0.000628
0
0.063148
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
6ad4fafcb502ea54b2a1f5a1e0f4f759fe3ae8d8
24,234
py
Python
sdk/python/pulumi_gcp/projects/iam_policy.py
la3mmchen/pulumi-gcp
0e3c6fecd062dff78a4fd95b7ebd5ce4492ad1ea
[ "ECL-2.0", "Apache-2.0" ]
121
2018-06-18T19:16:42.000Z
2022-03-31T06:06:48.000Z
sdk/python/pulumi_gcp/projects/iam_policy.py
la3mmchen/pulumi-gcp
0e3c6fecd062dff78a4fd95b7ebd5ce4492ad1ea
[ "ECL-2.0", "Apache-2.0" ]
492
2018-06-22T19:41:03.000Z
2022-03-31T15:33:53.000Z
sdk/python/pulumi_gcp/projects/iam_policy.py
la3mmchen/pulumi-gcp
0e3c6fecd062dff78a4fd95b7ebd5ce4492ad1ea
[ "ECL-2.0", "Apache-2.0" ]
43
2018-06-19T01:43:13.000Z
2022-03-23T22:43:37.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
41.496575
240
0.632624
2,858
24,234
5.235829
0.107768
0.031409
0.03181
0.029404
0.883788
0.872427
0.860799
0.845763
0.834002
0.824779
0
0.010789
0.277131
24,234
583
241
41.567753
0.843418
0.647479
0
0.492537
1
0
0.087269
0.005476
0
0
0
0
0
1
0.149254
false
0.007463
0.037313
0
0.276119
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
0a73fd1003779f12f08227e95989aeb45b095e69
3,546
py
Python
setup.py
bung87/jieba_fast
92b54dd9c1816382784cb0e8e02d92bf2564eea8
[ "MIT" ]
2
2019-08-05T01:34:04.000Z
2019-10-12T15:49:42.000Z
setup.py
hufulin/jieba_fast
c85771c036ca4652c65268cbd749d15ac8fdde26
[ "MIT" ]
null
null
null
setup.py
hufulin/jieba_fast
c85771c036ca4652c65268cbd749d15ac8fdde26
[ "MIT" ]
1
2020-03-17T16:47:48.000Z
2020-03-17T16:47:48.000Z
# -*- coding: utf-8 -*- from distutils.core import setup, Extension import platform LONGDOC = 'Use C and Swig to Speed up jieba<Chinese Words Segementation Utilities>' jieba_fast_functions_py2 = Extension('_jieba_fast_functions_py2', sources=['jieba_fast/source/jieba_fast_functions_wrap_py2_w...
43.777778
96
0.581782
344
3,546
5.834302
0.264535
0.098655
0.17439
0.077728
0.903338
0.870453
0.870453
0.870453
0.826607
0.826607
0
0.021594
0.281726
3,546
80
97
44.325
0.766392
0.005922
0
0.794521
0
0
0.529946
0.057338
0
0
0
0
0
1
0
false
0
0.027397
0
0.027397
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
0a8836b1458939f9ee9e326aec838e0e99b6c0c6
7,372
py
Python
src/genie/libs/parser/asa/tests/ShowRoute/cli/equal/golden_output_2_expected.py
nujo/genieparser
083b01efc46afc32abe1a1858729578beab50cd3
[ "Apache-2.0" ]
204
2018-06-27T00:55:27.000Z
2022-03-06T21:12:18.000Z
src/genie/libs/parser/asa/tests/ShowRoute/cli/equal/golden_output_2_expected.py
nujo/genieparser
083b01efc46afc32abe1a1858729578beab50cd3
[ "Apache-2.0" ]
468
2018-06-19T00:33:18.000Z
2022-03-31T23:23:35.000Z
src/genie/libs/parser/asa/tests/ShowRoute/cli/equal/golden_output_2_expected.py
nujo/genieparser
083b01efc46afc32abe1a1858729578beab50cd3
[ "Apache-2.0" ]
309
2019-01-16T20:21:07.000Z
2022-03-30T12:56:41.000Z
expected_output = { "vrf": { "default": { "address_family": { "ipv4": { "routes": { "10.121.65.0/24": { "active": True, "candidate_default": False, "dat...
46.955414
76
0.220429
374
7,372
4.114973
0.152406
0.109162
0.070175
0.051982
0.969461
0.950617
0.950617
0.950617
0.950617
0.950617
0
0.13066
0.685431
7,372
156
77
47.25641
0.532988
0
0
0.653846
0
0
0.212968
0.054531
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
0afb6f5349db0a76e2184a12e8d2230cba3f79ef
30,523
py
Python
torchsample/transforms/affine3d_transforms.py
JoostJM/torchsample
5bfde5e36e51314b117024dc98607433e8234390
[ "MIT" ]
null
null
null
torchsample/transforms/affine3d_transforms.py
JoostJM/torchsample
5bfde5e36e51314b117024dc98607433e8234390
[ "MIT" ]
null
null
null
torchsample/transforms/affine3d_transforms.py
JoostJM/torchsample
5bfde5e36e51314b117024dc98607433e8234390
[ "MIT" ]
null
null
null
""" Affine transforms implemented on torch tensors, and requiring only one interpolation """ import math import random import torch as th from ..utils import th_affine3d, th_random_choice class RandomAffine3D(object): def __init__(self, rotation_range=None, translation_range...
36.819059
89
0.539397
3,531
30,523
4.566695
0.068536
0.026047
0.032992
0.015814
0.80738
0.795473
0.771907
0.75907
0.744372
0.730419
0
0.015453
0.378796
30,523
828
90
36.863527
0.834977
0.367199
0
0.708134
0
0
0.024956
0
0
0
0
0
0
1
0.07177
false
0
0.009569
0
0.184211
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
e408450fd809c8382f6f39d174f9c71bf13d2588
61
py
Python
modules/ckanext-ytp_drupal/ckanext/ytp_drupal/celery_import.py
eetumans/opendata
061f58550bcb820016a764cca4763ed0a5f627fe
[ "MIT" ]
16
2018-07-12T14:26:02.000Z
2022-02-24T12:10:00.000Z
modules/ckanext-ytp_drupal/ckanext/ytp_drupal/celery_import.py
eetumans/opendata
061f58550bcb820016a764cca4763ed0a5f627fe
[ "MIT" ]
751
2017-09-28T07:47:50.000Z
2022-03-31T12:08:25.000Z
modules/ckanext-ytp_drupal/ckanext/ytp_drupal/celery_import.py
vrk-kpa/opendata-ckan
8936e2d9e700b9e5534fe2a51eedc2d1ede8c10b
[ "MIT" ]
6
2017-10-31T07:47:07.000Z
2021-10-06T07:09:07.000Z
def task_imports(): return ['ckanext.ytp_drupal.tasks']
15.25
39
0.704918
8
61
5.125
1
0
0
0
0
0
0
0
0
0
0
0
0.147541
61
3
40
20.333333
0.788462
0
0
0
0
0
0.4
0.4
0
0
0
0
0
1
0.5
true
0
0.5
0.5
1.5
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
1
1
0
0
7
7c1934e0b182ebeeebae567c0a47deebba567f63
22,613
py
Python
tests/unit/operations/test_sshops.py
myungseokang/aws-elastic-beanstalk-cli
339ff2660058ad76d0aef2e86ebe97d68f5f2789
[ "Apache-2.0" ]
110
2020-01-15T22:58:46.000Z
2022-03-27T20:47:33.000Z
tests/unit/operations/test_sshops.py
QPC-database/aws-elastic-beanstalk-cli
87ad9d8bbe5e4e7cb01b1bd4392eda33cb1943f7
[ "Apache-2.0" ]
89
2020-01-15T23:18:34.000Z
2022-03-31T21:56:05.000Z
tests/unit/operations/test_sshops.py
QPC-database/aws-elastic-beanstalk-cli
87ad9d8bbe5e4e7cb01b1bd4392eda33cb1943f7
[ "Apache-2.0" ]
50
2020-01-15T22:58:53.000Z
2022-02-11T17:39:28.000Z
# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file accompa...
39.055268
124
0.661389
2,764
22,613
5.030753
0.09081
0.085221
0.078533
0.134628
0.872132
0.8548
0.844444
0.83639
0.819705
0.803524
0
0.02266
0.238889
22,613
578
125
39.122837
0.785254
0.023703
0
0.757396
0
0.001972
0.262645
0.167603
0
0
0
0
0.078895
1
0.055227
false
0
0.013807
0
0.071006
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
7c2160488520b872bdf57d0dd7199295c8482b6a
22,373
py
Python
python/Tracker_wrapper/ObjectnessVisualizer.py
ibogun/DeepAntrack
0b13d363a30c8ad63c0e2c8cbc16aebff90de69a
[ "MIT" ]
1
2016-09-13T18:20:17.000Z
2016-09-13T18:20:17.000Z
python/Tracker_wrapper/ObjectnessVisualizer.py
ibogun/DeepAntrack
0b13d363a30c8ad63c0e2c8cbc16aebff90de69a
[ "MIT" ]
null
null
null
python/Tracker_wrapper/ObjectnessVisualizer.py
ibogun/DeepAntrack
0b13d363a30c8ad63c0e2c8cbc16aebff90de69a
[ "MIT" ]
null
null
null
__author__ = 'Ivan' import objectness_python import tracker_python from Dataset import VOT2015Dataset import numpy as np import matplotlib.pyplot as plt import cv2 from matplotlib import gridspec import re import os import time import math import copy class ObjectnessVizualizer(object): """Class to perform objectn...
32.709064
116
0.538998
2,887
22,373
4.034292
0.087288
0.00996
0.011419
0.007556
0.811454
0.808019
0.796858
0.79411
0.782433
0.766292
0
0.04427
0.334644
22,373
684
117
32.709064
0.738143
0.024449
0
0.769384
0
0
0.041722
0.030854
0
0
0
0
0
0
null
null
0
0.023857
null
null
0.037773
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
7c3865b126a3a4d6d2190aace430df22e1463b4c
147
py
Python
environments/assets/gym_dummy/envs/__init__.py
GPaolo/SERENE
83bc38a37ad8f1be9695d2483fd463428d4dae23
[ "MIT" ]
3
2021-04-19T21:55:00.000Z
2021-12-20T15:26:12.000Z
environments/assets/gym_dummy/envs/__init__.py
GPaolo/SERENE
83bc38a37ad8f1be9695d2483fd463428d4dae23
[ "MIT" ]
null
null
null
environments/assets/gym_dummy/envs/__init__.py
GPaolo/SERENE
83bc38a37ad8f1be9695d2483fd463428d4dae23
[ "MIT" ]
null
null
null
# Created by Giuseppe Paolo # Date: 13/03/2020 from gym_dummy.envs.dummy_env import DummyEnv from gym_dummy.envs.walker_2d_env import Walker2DEnv
29.4
52
0.823129
25
147
4.64
0.72
0.12069
0.206897
0.275862
0
0
0
0
0
0
0
0.076923
0.115646
147
5
52
29.4
0.815385
0.292517
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
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
7
7c40e1014c91b4f27ea4e52c1bae71cf398004d6
5,114
py
Python
app/gws/gis/ows/_test/gml_writer_test.py
ewie/gbd-websuite
6f2814c7bb64d11cb5a0deec712df751718fb3e1
[ "Apache-2.0" ]
null
null
null
app/gws/gis/ows/_test/gml_writer_test.py
ewie/gbd-websuite
6f2814c7bb64d11cb5a0deec712df751718fb3e1
[ "Apache-2.0" ]
null
null
null
app/gws/gis/ows/_test/gml_writer_test.py
ewie/gbd-websuite
6f2814c7bb64d11cb5a0deec712df751718fb3e1
[ "Apache-2.0" ]
null
null
null
import gws.gis.gml import gws.gis.shape import gws.tools.xml2 """ drop table if exists tt; create temporary table tt (w text); insert into tt values ('POINT (30 10)'), ('LINESTRING (30 10, 10 30, 40 40)'), ('POLYGON ((30 10, 40 40, 20 40, 10 20, 30 10))'), ('POLYGON ((35 10, 45 45, 15 40, 10 20, 35 10),(20 30, 35 35,...
73.057143
628
0.635315
848
5,114
3.821934
0.089623
0.02962
0.078988
0.078062
0.894477
0.890157
0.859303
0.821969
0.699475
0.682814
0
0.168409
0.139617
5,114
69
629
74.115942
0.568182
0
0
0.042553
0
0.468085
0.768123
0.452778
0
0
0
0
0.021277
1
0.021277
false
0
0.06383
0
0.085106
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
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
7c78321489bb69c30962b38d73e6663adad1bfe6
4,826
py
Python
nakamoto/sector/sector.py
YazzyYaz/nakamoto-coefficient
e6764e7b797dcc3dd19fbef51fd71f703a2097e7
[ "MIT" ]
6
2019-01-17T03:40:15.000Z
2020-08-25T10:30:00.000Z
nakamoto/sector/sector.py
ForkWatch/nakamoto-coefficient
e6764e7b797dcc3dd19fbef51fd71f703a2097e7
[ "MIT" ]
2
2019-07-09T20:05:36.000Z
2019-12-17T15:57:22.000Z
nakamoto/sector/sector.py
ForkWatch/nakamoto-coefficient
e6764e7b797dcc3dd19fbef51fd71f703a2097e7
[ "MIT" ]
2
2019-07-09T20:02:57.000Z
2020-08-25T10:30:10.000Z
from .analysis import Gini, LorenzPlot from nakamoto.coefficient import SectorNakamoto import uuid import numpy as np class Sector(object): def __init__(self, currency, **kwargs): self.uuid = uuid.uuid4() self.data = None self.type = None self.plot_notebook = kwargs.get('plot_note...
34.971014
110
0.656651
597
4,826
5.040201
0.093802
0.093054
0.065138
0.051844
0.849452
0.849452
0.849452
0.828847
0.804919
0.804919
0
0.000842
0.261293
4,826
137
111
35.226277
0.843198
0
0
0.852174
0
0
0.077704
0.028181
0
0
0
0
0
1
0.173913
false
0.008696
0.034783
0
0.347826
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
7c9afbb917ef2178c7273c4e1a8d4399d1993823
202
py
Python
graspy/plot/__init__.py
dfrancisco1998/graspy
241c2f4586d9d44bc7f2e6a7451c9383ad8ff841
[ "Apache-2.0" ]
null
null
null
graspy/plot/__init__.py
dfrancisco1998/graspy
241c2f4586d9d44bc7f2e6a7451c9383ad8ff841
[ "Apache-2.0" ]
null
null
null
graspy/plot/__init__.py
dfrancisco1998/graspy
241c2f4586d9d44bc7f2e6a7451c9383ad8ff841
[ "Apache-2.0" ]
1
2020-03-31T22:02:24.000Z
2020-03-31T22:02:24.000Z
import sys import matplotlib as mpl from .plot import heatmap, gridplot, pairplot, degreeplot, edgeplot, screeplot __all__ = ["heatmap", "gridplot", "pairplot", "degreeplot", "edgeplot", "screeplot"]
28.857143
84
0.747525
22
202
6.681818
0.636364
0.204082
0.312925
0.44898
0.680272
0.680272
0
0
0
0
0
0
0.123762
202
6
85
33.666667
0.830508
0
0
0
0
0
0.247525
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
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
1
0
0
7
6b182c02cf77c48634a782704b6561d9ab805eab
7,811
py
Python
model/resnet34.py
FAHAI-1/tensorflow-cifar100
4b5b76d0a310e007620e9a4f7d14da4e5db939e3
[ "Apache-2.0" ]
109
2019-05-12T13:26:10.000Z
2022-03-09T01:45:20.000Z
model/resnet34.py
FAHAI-1/tensorflow-cifar100
4b5b76d0a310e007620e9a4f7d14da4e5db939e3
[ "Apache-2.0" ]
10
2019-05-16T08:26:01.000Z
2020-07-27T05:56:35.000Z
model/resnet34.py
FAHAI-1/tensorflow-cifar100
4b5b76d0a310e007620e9a4f7d14da4e5db939e3
[ "Apache-2.0" ]
40
2019-05-19T14:38:00.000Z
2022-02-25T16:18:39.000Z
import tensorflow as tf def identity_block2d(input_tensor, kernel_size, filters, stage, block, is_training, reuse, kernel_initializer=tf.contrib.layers.variance_scaling_initializer()): filters1, filters2, filters3 = filters conv_name_2 = 'conv' + str(stage) + '_' + str(block) + '_3x3' bn_name_2 = 'bn' + str(s...
71.009091
199
0.745743
1,199
7,811
4.615513
0.083403
0.208891
0.107336
0.190459
0.96133
0.953379
0.936935
0.934225
0.932779
0.92519
0
0.066895
0.10242
7,811
110
200
71.009091
0.722436
0.051338
0
0.450704
0
0
0.035405
0
0
0
0
0
0
1
0.056338
false
0
0.014085
0
0.126761
0
0
0
0
null
1
0
1
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
8
6b1f7b9a1ebaac5dd02bf19d01af7e8f19b5b095
460
py
Python
lastpass/blob.py
guilt/lastpass-python
cb4cf24aa2b73b1ab72e2c14c1a61abeeff10597
[ "MIT" ]
1
2020-10-12T22:49:22.000Z
2020-10-12T22:49:22.000Z
lastpass/blob.py
guilt/lastpass-python
cb4cf24aa2b73b1ab72e2c14c1a61abeeff10597
[ "MIT" ]
null
null
null
lastpass/blob.py
guilt/lastpass-python
cb4cf24aa2b73b1ab72e2c14c1a61abeeff10597
[ "MIT" ]
null
null
null
# coding: utf-8 class Blob(object): def __init__(self, bytes_, key_iteration_count): self.bytes = bytes_ self.key_iteration_count = key_iteration_count def encryption_key(self, username, password): from . import fetcher return fetcher.make_key(username, password, self.key_iterat...
35.384615
98
0.715217
60
460
5.083333
0.4
0.236066
0.334426
0.206557
0
0
0
0
0
0
0
0.002717
0.2
460
12
99
38.333333
0.826087
0.028261
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.222222
0.111111
0.111111
0.777778
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
7
860a209e88a855aa7c9f4457529521f75d9be34f
1,269
py
Python
graphql/pyutils/tests/test_pair_set.py
ThanksBoomerang/graphql-core-legacy
6e2fbccdec655ce9122b84d3808c14242c4e6b96
[ "MIT" ]
8
2020-03-23T21:34:02.000Z
2021-11-12T11:27:45.000Z
graphql/pyutils/tests/test_pair_set.py
ThanksBoomerang/graphql-core-legacy
6e2fbccdec655ce9122b84d3808c14242c4e6b96
[ "MIT" ]
17
2020-03-14T22:22:29.000Z
2022-03-16T19:26:37.000Z
graphql/pyutils/tests/test_pair_set.py
ThanksBoomerang/graphql-core-legacy
6e2fbccdec655ce9122b84d3808c14242c4e6b96
[ "MIT" ]
17
2020-03-23T12:06:23.000Z
2022-02-13T05:33:32.000Z
from graphql.pyutils.pair_set import PairSet def test_pair_set(): ps = PairSet() are_mutually_exclusive = True ps.add(1, 2, are_mutually_exclusive) ps.add(2, 4, are_mutually_exclusive) assert ps.has(1, 2, are_mutually_exclusive) assert ps.has(2, 1, are_mutually_exclusive) assert not ps.h...
30.214286
57
0.720252
207
1,269
4.154589
0.115942
0.474419
0.534884
0.423256
0.883721
0.802326
0.702326
0.665116
0.451163
0.367442
0
0.04058
0.184397
1,269
41
58
30.95122
0.790338
0
0
0.428571
0
0
0
0
0
0
0
0
0.642857
1
0.071429
false
0
0.035714
0
0.107143
0
0
0
0
null
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
7
86134b6b61ea921dd8bee67243e1897bd71043af
27,205
py
Python
tickets/tests.py
IreneG5/spss_online
760abcdd3304a141396ab982ca17cb992afbcecd
[ "CNRI-Python", "blessing" ]
14
2017-09-28T12:15:42.000Z
2022-01-27T20:27:01.000Z
tickets/tests.py
IreneG5/spss_online
760abcdd3304a141396ab982ca17cb992afbcecd
[ "CNRI-Python", "blessing" ]
null
null
null
tickets/tests.py
IreneG5/spss_online
760abcdd3304a141396ab982ca17cb992afbcecd
[ "CNRI-Python", "blessing" ]
9
2017-10-25T16:49:02.000Z
2022-01-22T10:48:18.000Z
# -*- coding: utf-8 -*- from django.test import TestCase from django.core.urlresolvers import reverse from accounts.models import User from products.models import Product, Purchase from tickets.models import Ticket, Comment class TicketsPageVisitorTest(TestCase): """ Test tickets page for visitors (not logged in)...
44.892739
86
0.490094
2,477
27,205
5.245458
0.060961
0.049257
0.047102
0.053106
0.875548
0.851305
0.841453
0.824675
0.813592
0.80351
0
0.014811
0.411799
27,205
605
87
44.966942
0.79715
0.058776
0
0.852941
0
0
0.094885
0.011467
0
0
0
0
0.048319
1
0.090336
false
0.063025
0.010504
0
0.128151
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
8
86361c51e5202094af60dc2cc1c71b8b512c52ee
42,313
py
Python
openmdao/solvers/nonlinear/tests/test_newton.py
johnjasa/OpenMDAO
e3c14254d09ba1360ff4c57380a684bead2962e1
[ "Apache-2.0" ]
null
null
null
openmdao/solvers/nonlinear/tests/test_newton.py
johnjasa/OpenMDAO
e3c14254d09ba1360ff4c57380a684bead2962e1
[ "Apache-2.0" ]
null
null
null
openmdao/solvers/nonlinear/tests/test_newton.py
johnjasa/OpenMDAO
e3c14254d09ba1360ff4c57380a684bead2962e1
[ "Apache-2.0" ]
1
2018-07-27T06:39:15.000Z
2018-07-27T06:39:15.000Z
"""Test the Newton nonlinear solver. """ import unittest import numpy as np import openmdao.api as om from openmdao.core.tests.test_discrete import InternalDiscreteGroup from openmdao.test_suite.components.double_sellar import DoubleSellar, DoubleSellarImplicit, \ SubSellar from openmdao.test_suite.components.i...
37.181898
110
0.618179
5,341
42,313
4.725894
0.06759
0.040886
0.045482
0.057763
0.868072
0.844856
0.828058
0.811576
0.797354
0.783329
0
0.056736
0.246874
42,313
1,137
111
37.2146
0.735338
0.062369
0
0.779412
0
0.001337
0.083306
0.000758
0
0
0
0
0.15107
1
0.064171
false
0.002674
0.044118
0
0.11631
0.018717
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
865c07a372e648094a619cbb1cfcdd64a73a30de
34,628
py
Python
coniii/ising_eqn/ising_eqn_7.py
eltrompetero/coniii
d698696c11e12a62fe3340eb2f4d3344145a96dd
[ "MIT" ]
14
2019-04-29T16:51:05.000Z
2022-02-05T06:33:15.000Z
coniii/ising_eqn/ising_eqn_7.py
eltrompetero/coniii
d698696c11e12a62fe3340eb2f4d3344145a96dd
[ "MIT" ]
28
2018-10-30T03:43:11.000Z
2021-10-12T11:56:56.000Z
coniii/ising_eqn/ising_eqn_7.py
eltrompetero/coniii
d698696c11e12a62fe3340eb2f4d3344145a96dd
[ "MIT" ]
7
2019-04-29T16:34:41.000Z
2021-08-23T00:42:42.000Z
# MIT License # # Copyright (c) 2019 Edward D. Lee, Bryan C. Daniels # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use,...
77.81573
181
0.457953
11,468
34,628
1.380014
0.023631
0.25515
0.333818
0.401112
0.88342
0.879123
0.867623
0.861936
0.839821
0.833123
0
0.270614
0.099544
34,628
444
182
77.990991
0.236939
0.039621
0
0.431373
0
0
0
0
0
0
0
0
0
1
0.004902
false
0
0.004902
0
0.009804
0
0
0
1
null
1
1
1
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
12
866ea75fcaf31cf737d4fe83c3e409c62d9d9af5
14,411
py
Python
models/tf_Cifar_OC_NN_Models.py
chihyunsong/oc-nn
f57130545f221fee67e9780d2a93ca48b9d10ba5
[ "MIT" ]
203
2018-02-26T09:52:15.000Z
2022-03-09T12:51:38.000Z
models/tf_Cifar_OC_NN_Models.py
dherath/oc-nn
f57130545f221fee67e9780d2a93ca48b9d10ba5
[ "MIT" ]
22
2018-05-07T19:36:49.000Z
2022-03-30T04:00:25.000Z
models/tf_Cifar_OC_NN_Models.py
dherath/oc-nn
f57130545f221fee67e9780d2a93ca48b9d10ba5
[ "MIT" ]
81
2018-02-22T21:17:49.000Z
2022-03-24T04:53:46.000Z
# USAGE # python test_network.py --model dog_not_dog.model --image images/examples/dog_01.png # import the necessary packages import numpy as np import tensorflow as tf from keras import backend as K import time ## Declare the scoring functions g = lambda x : 1/(1 + tf.exp(-x)) #g = lambda x : x # Linear def nnS...
27.190566
115
0.587399
2,078
14,411
3.926853
0.128489
0.035294
0.015931
0.005882
0.810907
0.800368
0.779289
0.775245
0.763358
0.741054
0
0.035086
0.286032
14,411
529
116
27.241966
0.757994
0.145514
0
0.801303
0
0
0.042931
0.018937
0
0
0
0
0
0
null
null
0
0.029316
null
null
0.045603
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
867b64ae3a9da5cf750a274f80e71ce485f874c6
170
py
Python
pyclesperanto_prototype/_tier0/_set_wait_for_kernel_finish.py
elsandal/pyclesperanto_prototype
7bda828813b86b44b63d73d5e8f466d9769cded1
[ "BSD-3-Clause" ]
64
2020-03-18T12:11:22.000Z
2022-03-31T08:19:18.000Z
pyclesperanto_prototype/_tier0/_set_wait_for_kernel_finish.py
elsandal/pyclesperanto_prototype
7bda828813b86b44b63d73d5e8f466d9769cded1
[ "BSD-3-Clause" ]
148
2020-05-14T06:14:11.000Z
2022-03-26T15:02:31.000Z
pyclesperanto_prototype/_tier0/_set_wait_for_kernel_finish.py
elsandal/pyclesperanto_prototype
7bda828813b86b44b63d73d5e8f466d9769cded1
[ "BSD-3-Clause" ]
16
2020-05-31T00:53:44.000Z
2022-03-23T13:20:57.000Z
def set_wait_for_kernel_finish(wait_for_kernel_finish : bool = None): from ._program import OCLProgram OCLProgram._wait_for_kernel_finish = wait_for_kernel_finish
56.666667
69
0.835294
25
170
5.08
0.48
0.220472
0.409449
0.598425
0.598425
0.598425
0.598425
0.598425
0
0
0
0
0.117647
170
3
70
56.666667
0.846667
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
0.666667
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
8
86a188e2dd126aae75a4e5fed70b19e04ab71ab1
1,962
py
Python
tests/test_cli_utils_path.py
MinePlayersPE/streamlink
481eab652c2947fdbaf0790df0d3cf4ed8130cd5
[ "BSD-2-Clause" ]
4
2020-10-17T06:35:39.000Z
2021-05-14T20:00:01.000Z
tests/test_cli_utils_path.py
MinePlayersPE/streamlink
481eab652c2947fdbaf0790df0d3cf4ed8130cd5
[ "BSD-2-Clause" ]
null
null
null
tests/test_cli_utils_path.py
MinePlayersPE/streamlink
481eab652c2947fdbaf0790df0d3cf4ed8130cd5
[ "BSD-2-Clause" ]
null
null
null
import pytest from streamlink_cli.utils.path import replace_chars from tests import posix_only, windows_only @pytest.mark.parametrize("char", [i for i in range(32)]) def test_replace_chars_unprintable(char: int): assert replace_chars(f"foo{chr(char)}{chr(char)}bar") == "foo_bar", "Replaces unprintable characters...
35.035714
113
0.671254
262
1,962
4.698473
0.179389
0.243704
0.233956
0.170593
0.828595
0.721365
0.649066
0.535337
0.535337
0.535337
0
0.014654
0.130479
1,962
55
114
35.672727
0.706917
0
0
0.473684
0
0
0.171764
0.014271
0
0
0
0
0.421053
1
0.210526
false
0
0.078947
0
0.289474
0.052632
0
0
0
null
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
7
86cf67028ffaca556ac80d4ba4b69899911ab9dd
151
py
Python
test/test_export_modules.py
ESA-PhiLab/python-mapswipe-workers
558d55320159483524a6a204680802bf868d74e7
[ "Apache-2.0" ]
2
2019-12-28T16:51:46.000Z
2020-05-06T18:20:24.000Z
test/test_export_modules.py
ESA-PhiLab/python-mapswipe-workers
558d55320159483524a6a204680802bf868d74e7
[ "Apache-2.0" ]
null
null
null
test/test_export_modules.py
ESA-PhiLab/python-mapswipe-workers
558d55320159483524a6a204680802bf868d74e7
[ "Apache-2.0" ]
null
null
null
"""Test export modules.""" from export_module import export_project_results, export_projects, export_users_and_stats def test_export_module(): pass
21.571429
89
0.821192
21
151
5.47619
0.666667
0.173913
0
0
0
0
0
0
0
0
0
0
0.099338
151
6
90
25.166667
0.845588
0.13245
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
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
1
1
1
1
0
1
0
0
7
86d684994afc13bc84fa4f864e6c0d49b427d69b
2,448
py
Python
python3/lib/python3.6/site-packages/tensorflow/_api/v1/compat/v2/errors/__init__.py
TruongThuyLiem/keras2tensorflow
726f2370160701081cb43fbd8b56154c10d7ad63
[ "MIT" ]
3
2020-10-12T15:47:01.000Z
2022-01-14T19:51:26.000Z
python3/lib/python3.6/site-packages/tensorflow/_api/v1/compat/v2/errors/__init__.py
TruongThuyLiem/keras2tensorflow
726f2370160701081cb43fbd8b56154c10d7ad63
[ "MIT" ]
null
null
null
python3/lib/python3.6/site-packages/tensorflow/_api/v1/compat/v2/errors/__init__.py
TruongThuyLiem/keras2tensorflow
726f2370160701081cb43fbd8b56154c10d7ad63
[ "MIT" ]
2
2020-08-03T13:02:06.000Z
2020-11-04T03:15:44.000Z
# This file is MACHINE GENERATED! Do not edit. # Generated by: tensorflow/python/tools/api/generator/create_python_api.py script. """Exception types for TensorFlow errors. """ from __future__ import print_function as _print_function from tensorflow.lite.python.lite import _NotFoundError as NotFoundError from tensorfl...
55.636364
82
0.882353
301
2,448
7.046512
0.245847
0.256483
0.311174
0.437529
0.650636
0.650636
0.360679
0
0
0
0
0
0.069036
2,448
43
83
56.930233
0.930671
0.067402
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
0.972222
0
0.972222
0.055556
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
d49fb6d5776ce774de27dabef17fd71f3e259cb6
6,545
py
Python
loldib/getratings/models/NA/na_rammus/na_rammus_top.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_rammus/na_rammus_top.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_rammus/na_rammus_top.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
from getratings.models.ratings import Ratings class NA_Rammus_Top_Aatrox(Ratings): pass class NA_Rammus_Top_Ahri(Ratings): pass class NA_Rammus_Top_Akali(Ratings): pass class NA_Rammus_Top_Alistar(Ratings): pass class NA_Rammus_Top_Amumu(Ratings): pass class NA_Rammus_Top_Anivia(Ratings): ...
15.695444
46
0.766692
972
6,545
4.736626
0.151235
0.209818
0.389661
0.479583
0.803432
0.803432
0
0
0
0
0
0
0.169748
6,545
416
47
15.733173
0.847258
0
0
0.498195
0
0
0
0
0
0
0
0
0
1
0
true
0.498195
0.00361
0
0.501805
0
0
0
0
null
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
8
d4a50b0a6c42d222a00f860eab1ceb35f7e6fd28
5,581
py
Python
src/tests/presale/test_account.py
abrock/pretix
cd9c048458afce1198276e5936bf583578855a4f
[ "ECL-2.0", "Apache-2.0" ]
1
2021-06-23T07:44:54.000Z
2021-06-23T07:44:54.000Z
src/tests/presale/test_account.py
awg24/pretix
b1d67a48601838bac0d4e498cbe8bdcd16013d60
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/tests/presale/test_account.py
awg24/pretix
b1d67a48601838bac0d4e498cbe8bdcd16013d60
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
import time from tests.base import BrowserTest from tests.presale.test_event import EventTestMixin from pretix.base.models import User class UserSettingsTest(EventTestMixin, BrowserTest): def setUp(self): super().setUp() self.user = User.objects.create_global_user('dummy@dummy.dummy', 'dummy') ...
54.184466
114
0.715463
815
5,581
4.577914
0.117791
0.134012
0.17636
0.26454
0.837577
0.784508
0.775931
0.733047
0.726883
0.718842
0
0.000633
0.150152
5,581
102
115
54.715686
0.786
0.007884
0
0.602273
0
0
0.141489
0.004518
0
0
0
0
0.102273
1
0.102273
false
0.125
0.045455
0
0.159091
0
0
0
0
null
0
0
1
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
1
0
0
0
0
0
8
d4d1bea6bc7c98ce1e9f1db549e6e7d617eea23d
76
py
Python
__init__.py
NorthGuard/axes_sequence
6c9d28c3b18e3f9cf899056a5ff86cff0ec547f3
[ "MIT" ]
1
2017-07-11T12:38:17.000Z
2017-07-11T12:38:17.000Z
__init__.py
NorthGuard/axes_sequence
6c9d28c3b18e3f9cf899056a5ff86cff0ec547f3
[ "MIT" ]
null
null
null
__init__.py
NorthGuard/axes_sequence
6c9d28c3b18e3f9cf899056a5ff86cff0ec547f3
[ "MIT" ]
null
null
null
from .axes_sequence import AxesSequence from .axes_sequence import AxesGrid
25.333333
39
0.868421
10
76
6.4
0.6
0.25
0.5
0.6875
0
0
0
0
0
0
0
0
0.105263
76
2
40
38
0.941176
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
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
8
d4e2842a4444814e240d47436217ef5564025f19
98,347
py
Python
tables/tests/test_do_undo.py
Marco-Sulla/PyTables
c06642ed12b1c99df76feb11f08a37b3e479ffbc
[ "BSD-3-Clause" ]
1
2021-02-10T15:56:05.000Z
2021-02-10T15:56:05.000Z
tables/tests/test_do_undo.py
Marco-Sulla/PyTables
c06642ed12b1c99df76feb11f08a37b3e479ffbc
[ "BSD-3-Clause" ]
1
2021-01-22T18:23:27.000Z
2021-01-22T18:23:27.000Z
tables/tests/test_do_undo.py
Marco-Sulla/PyTables
c06642ed12b1c99df76feb11f08a37b3e479ffbc
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import warnings import tables from tables import IsDescription, StringCol, BoolCol, IntCol, FloatCol from tables.node import NotLoggedMixin from tables.path import join_path from tables.tests import common from tables.tests.common import unittest from tables.tests.common import PyTablesTestCa...
35.85381
79
0.612281
11,392
98,347
5.186096
0.03915
0.164861
0.066588
0.063896
0.886104
0.8511
0.820447
0.792417
0.764658
0.737339
0
0.037729
0.256449
98,347
2,742
80
35.866885
0.770191
0.154372
0
0.744841
0
0
0.144727
0.014186
0
0
0
0
0.387117
1
0.057536
false
0.001876
0.005629
0
0.076923
0.077548
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
0794b2411672826b91a88649d990d09b514526d3
2,390
py
Python
scripts/quest/q34931e.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
54
2019-04-16T23:24:48.000Z
2021-12-18T11:41:50.000Z
scripts/quest/q34931e.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
3
2019-05-19T15:19:41.000Z
2020-04-27T16:29:16.000Z
scripts/quest/q34931e.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
49
2020-11-25T23:29:16.000Z
2022-03-26T16:20:24.000Z
# Created by MechAviv # Quest ID :: 34931 # Not coded yet sm.setSpeakerID(3001510) sm.setSpeakerType(3) sm.flipDialogue() sm.setBoxChat() sm.boxChatPlayerAsSpeaker() sm.setBoxOverrideSpeaker() sm.flipBoxChat() sm.flipBoxChatPlayerAsSpeaker() sm.setColor(1) sm.sendNext("#face1#Good work! I'm getting the signal again. W...
64.594595
1,151
0.702092
607
2,390
2.764415
0.265239
0.228844
0.253874
0.224076
0.647199
0.63528
0.54708
0.54708
0.54708
0.54708
0
0.448827
0.215063
2,390
36
1,152
66.388889
0.445629
0.703766
0
0.695652
0
0.086957
0.277539
0
0
1
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
1
0
0
0
0
0
1
0
0
0
0
0
0
8
07d5737ffacba50ef4c83fc492e72bc9bc3b9ad9
47,003
py
Python
test/test_reassembly.py
lfntac/vppmirror
efbd124378b2a2c46d2747cab8eecf1b172f5c05
[ "Apache-2.0" ]
2
2019-04-03T10:09:09.000Z
2020-09-23T08:56:24.000Z
test/test_reassembly.py
napatech/vpp
de146e5d5f7e919b423feeff3159c4ecd564c353
[ "Apache-2.0" ]
null
null
null
test/test_reassembly.py
napatech/vpp
de146e5d5f7e919b423feeff3159c4ecd564c353
[ "Apache-2.0" ]
1
2019-03-12T18:19:23.000Z
2019-03-12T18:19:23.000Z
#!/usr/bin/env python from random import shuffle import six import unittest from parameterized import parameterized import scapy.compat from scapy.packet import Raw from scapy.layers.l2 import Ether, GRE from scapy.layers.inet import IP, UDP, ICMP from scapy.layers.inet6 import IPv6, IPv6ExtHdrFragment, ICMPv6ParamP...
39.432047
79
0.600643
5,725
47,003
4.682795
0.070917
0.022194
0.035585
0.019135
0.876944
0.847924
0.826924
0.80473
0.7869
0.773546
0
0.03495
0.303002
47,003
1,191
80
39.465155
0.78337
0.096909
0
0.714122
0
0.002296
0.035157
0.005522
0
0
0.000857
0.001679
0.06659
1
0.072331
false
0
0.016073
0
0.094145
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
07e73b52c9805b7fabebfaf13301bd4f44398c78
19,032
py
Python
unit_tests/monitoring/test_metric.py
Ofekmeister/google-cloud-python
07dd51bc447beca67b8da1c66f1dfb944ef70418
[ "Apache-2.0" ]
null
null
null
unit_tests/monitoring/test_metric.py
Ofekmeister/google-cloud-python
07dd51bc447beca67b8da1c66f1dfb944ef70418
[ "Apache-2.0" ]
null
null
null
unit_tests/monitoring/test_metric.py
Ofekmeister/google-cloud-python
07dd51bc447beca67b8da1c66f1dfb944ef70418
[ "Apache-2.0" ]
null
null
null
# Copyright 2016 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agree...
34.353791
78
0.615017
1,809
19,032
6.322278
0.117192
0.1023
0.093993
0.02046
0.800909
0.778701
0.751596
0.734721
0.709802
0.681123
0
0.009407
0.273855
19,032
553
79
34.415913
0.818162
0.037253
0
0.70922
0
0
0.160994
0.069489
0
0
0
0
0.210402
1
0.068558
false
0
0.018913
0.004728
0.118203
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
580323503389fcedaa7b7264e100d8b10dfddb6b
124
py
Python
stable_baselines3/cql/__init__.py
mjyoo2/stable-baselines3
ef7a580219df6d977b56fb99e503890bd5211195
[ "MIT" ]
null
null
null
stable_baselines3/cql/__init__.py
mjyoo2/stable-baselines3
ef7a580219df6d977b56fb99e503890bd5211195
[ "MIT" ]
null
null
null
stable_baselines3/cql/__init__.py
mjyoo2/stable-baselines3
ef7a580219df6d977b56fb99e503890bd5211195
[ "MIT" ]
null
null
null
from stable_baselines3.cql.policies import CnnPolicy, MlpPolicy, MultiInputPolicy from stable_baselines3.cql.cql import CQL
41.333333
81
0.870968
16
124
6.625
0.5625
0.188679
0.377358
0.433962
0
0
0
0
0
0
0
0.017544
0.080645
124
2
82
62
0.912281
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
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
7
ed162cf23bb14376fc73244dc010cb29b7165712
89
py
Python
src/commands/__init__.py
AAU-PSix/canary
93b07d23cd9380adc03a6aa1291a13eaa3b3008c
[ "MIT" ]
null
null
null
src/commands/__init__.py
AAU-PSix/canary
93b07d23cd9380adc03a6aa1291a13eaa3b3008c
[ "MIT" ]
null
null
null
src/commands/__init__.py
AAU-PSix/canary
93b07d23cd9380adc03a6aa1291a13eaa3b3008c
[ "MIT" ]
null
null
null
from .generate_tests import * from .create_cfg import * from .mutation_analysis import *
22.25
32
0.797753
12
89
5.666667
0.666667
0.294118
0
0
0
0
0
0
0
0
0
0
0.134831
89
3
33
29.666667
0.883117
0
0
0
1
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
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
ed264f2843b4478c9017a67b89051904ff2b56db
93
py
Python
kyujipy/__init__.py
DrTurnon/KyujiPy
8f358de3c3d9f88dad45eabeb30f0befa37728e3
[ "MIT" ]
8
2020-05-17T11:57:15.000Z
2022-02-26T21:45:23.000Z
kyujipy/__init__.py
DrTurnon/KyujiPy
8f358de3c3d9f88dad45eabeb30f0befa37728e3
[ "MIT" ]
null
null
null
kyujipy/__init__.py
DrTurnon/KyujiPy
8f358de3c3d9f88dad45eabeb30f0befa37728e3
[ "MIT" ]
2
2020-10-11T15:05:22.000Z
2021-04-03T14:02:35.000Z
from kyujipy.converter import BasicConverter from kyujipy.converter import KyujitaiConverter
31
47
0.892473
10
93
8.3
0.6
0.26506
0.481928
0.626506
0
0
0
0
0
0
0
0
0.086022
93
2
48
46.5
0.976471
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
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
8
ed623216d5c887835d9dfb0bdda9fedf9366020f
15,799
py
Python
tests/commands/test_grow.py
kapb14/hatch
e7f7e094571780d6499d41960999134966ae699d
[ "Apache-2.0", "MIT" ]
1
2018-03-15T17:27:37.000Z
2018-03-15T17:27:37.000Z
tests/commands/test_grow.py
anmolsrivastava05/hatch
df2c9d46ee7713a1bc156c361cfd0f78e5935297
[ "Apache-2.0" ]
null
null
null
tests/commands/test_grow.py
anmolsrivastava05/hatch
df2c9d46ee7713a1bc156c361cfd0f78e5935297
[ "Apache-2.0" ]
null
null
null
import os import shutil from click.testing import CliRunner from hatch.cli import hatch from hatch.env import install_packages from hatch.settings import ( SETTINGS_FILE, copy_default_settings, save_settings ) from hatch.utils import basepath, temp_chdir, temp_move_path from hatch.venv import create_venv, venv fr...
34.87638
82
0.581429
2,116
15,799
4.094518
0.061909
0.069252
0.098107
0.055863
0.897853
0.893698
0.86265
0.836103
0.826985
0.789705
0
0.018015
0.255143
15,799
452
83
34.95354
0.718219
0
0
0.723529
0
0
0.164124
0
0
0
0
0
0.276471
1
0.073529
false
0
0.026471
0
0.1
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
ed7b0eb96944fa5b11d1b7bac5fc6cd2a3539e8b
3,642
py
Python
unittests/tools/test_netsparker_parser.py
mtcolman/django-DefectDojo
76175aca446e077884bdb5e1d8e2a671a0840775
[ "BSD-3-Clause" ]
249
2016-09-06T21:04:40.000Z
2018-01-19T15:59:44.000Z
unittests/tools/test_netsparker_parser.py
mtcolman/django-DefectDojo
76175aca446e077884bdb5e1d8e2a671a0840775
[ "BSD-3-Clause" ]
255
2016-09-06T21:36:37.000Z
2018-01-19T19:57:57.000Z
unittests/tools/test_netsparker_parser.py
mtcolman/django-DefectDojo
76175aca446e077884bdb5e1d8e2a671a0840775
[ "BSD-3-Clause" ]
152
2016-09-06T21:04:54.000Z
2018-01-18T08:52:24.000Z
from ..dojo_test_case import DojoTestCase from dojo.models import Test from dojo.tools.netsparker.parser import NetsparkerParser class TestNetsparkerParser(DojoTestCase): def test_parse_file_with_one_finding(self): testfile = open("unittests/scans/netsparker/netsparker_one_finding.json") parser =...
51.295775
106
0.637562
465
3,642
4.933333
0.197849
0.170009
0.100262
0.081081
0.8483
0.830863
0.830863
0.808631
0.758936
0.758936
0
0.03041
0.223504
3,642
70
107
52.028571
0.780764
0
0
0.671875
0
0.078125
0.162548
0.09006
0
0
0
0
0.53125
1
0.03125
false
0
0.046875
0
0.09375
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
1
0
0
0
0
0
0
0
0
0
7
9c3b3f2d937e4612a91680d993ac557e569c3c6d
216
py
Python
stroylux/main/export_import/__init__.py
vladkoblynsky/shop
aaf027f4111605772624a868a0243b221b97c857
[ "BSD-3-Clause" ]
null
null
null
stroylux/main/export_import/__init__.py
vladkoblynsky/shop
aaf027f4111605772624a868a0243b221b97c857
[ "BSD-3-Clause" ]
7
2020-09-19T16:24:46.000Z
2022-01-13T03:19:46.000Z
stroylux/main/export_import/__init__.py
vladkoblynsky/shop
aaf027f4111605772624a868a0243b221b97c857
[ "BSD-3-Clause" ]
null
null
null
class ExportObjStatus: SUCCESS = 'success' ERROR = 'error' IN_PROGRESS = 'in_progress' CHOICES = [ (SUCCESS, 'Success'), (ERROR, 'Error'), (IN_PROGRESS, 'In progress'), ]
19.636364
37
0.546296
19
216
6.052632
0.368421
0.347826
0.330435
0.417391
0.765217
0.765217
0.765217
0.765217
0
0
0
0
0.310185
216
10
38
21.6
0.771812
0
0
0
0
0
0.212963
0
0
0
0
0
0
1
0
false
0
0
0
0.555556
0
1
0
0
null
1
1
1
0
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
0
0
0
0
0
1
0
0
8
92c0ee370f5d7d8dc167154a973a5c647466e52a
23,574
py
Python
sdk/lusid/api/data_types_api.py
fossabot/lusid-sdk-python
154a0232a00026d79379aec7196555f24d742ade
[ "MIT" ]
null
null
null
sdk/lusid/api/data_types_api.py
fossabot/lusid-sdk-python
154a0232a00026d79379aec7196555f24d742ade
[ "MIT" ]
null
null
null
sdk/lusid/api/data_types_api.py
fossabot/lusid-sdk-python
154a0232a00026d79379aec7196555f24d742ade
[ "MIT" ]
null
null
null
# coding: utf-8 """ LUSID API FINBOURNE Technology # noqa: E501 The version of the OpenAPI document: 0.11.2321 Contact: info@finbourne.com Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import re # noqa: F401 # python 2 and python 3 compatibility lib...
52.620536
281
0.624544
2,935
23,574
4.815332
0.088245
0.047548
0.077266
0.030567
0.9233
0.922663
0.920045
0.905399
0.904762
0.904762
0
0.017495
0.289556
23,574
447
282
52.738255
0.826367
0.453593
0
0.712264
1
0.056604
0.263625
0.052346
0
0
0
0
0
1
0.033019
false
0
0.023585
0
0.089623
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
92c106a0f22157ed7abf3a3750ddca7d861d3ece
32
py
Python
__init__.py
dzianissokalau/SRM_checker
0f275a945316c6caf9ca7508ef7936c76fb43a52
[ "MIT" ]
null
null
null
__init__.py
dzianissokalau/SRM_checker
0f275a945316c6caf9ca7508ef7936c76fb43a52
[ "MIT" ]
null
null
null
__init__.py
dzianissokalau/SRM_checker
0f275a945316c6caf9ca7508ef7936c76fb43a52
[ "MIT" ]
null
null
null
from .check_srm import check_srm
32
32
0.875
6
32
4.333333
0.666667
0.615385
0
0
0
0
0
0
0
0
0
0
0.09375
32
1
32
32
0.896552
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
1
0
0
7
92c1b81caf62fcfeca75b22a6a6ebad7701f9266
6,755
py
Python
day19/Python/day19.py
prabhigupta/instaBlog
02f219ea278d85c7799d739294c664aa5a47719a
[ "Apache-2.0" ]
null
null
null
day19/Python/day19.py
prabhigupta/instaBlog
02f219ea278d85c7799d739294c664aa5a47719a
[ "Apache-2.0" ]
1
2021-12-25T19:22:09.000Z
2021-12-25T19:22:09.000Z
day19/Python/day19.py
prabhigupta/AOC2021
02f219ea278d85c7799d739294c664aa5a47719a
[ "Apache-2.0" ]
null
null
null
import numpy as np from collections import Counter from termcolor import colored from pyfiglet import * print(colored("Advent of Code - Day 19", "yellow").center(80, "-")) print(colored(figlet_format("Beacon Scanner",font="small",justify="center"), 'green')) print(colored("Output","yellow").center(80, "-")) r = [] r.ap...
39.273256
102
0.519467
1,111
6,755
3.135914
0.091809
0.037887
0.179104
0.061998
0.886912
0.886912
0.886912
0.883467
0.883467
0.883467
0
0.013877
0.28527
6,755
172
103
39.273256
0.707746
0.008734
0
0.905405
0
0
0.02435
0
0
0
0
0
0
1
0
false
0
0.027027
0
0.027027
0.040541
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
92d28cd75dd9a8b7f662534c23c819536efe13ce
6,411
py
Python
sdk/monitor/azure-monitor-query/tests/test_exceptions.py
lambertpan/azure-sdk-for-python
cc7e454fc04ec61cf021adeaac4fc0fc0a0805b2
[ "MIT" ]
1
2021-09-16T02:33:52.000Z
2021-09-16T02:33:52.000Z
sdk/monitor/azure-monitor-query/tests/test_exceptions.py
lambertpan/azure-sdk-for-python
cc7e454fc04ec61cf021adeaac4fc0fc0a0805b2
[ "MIT" ]
null
null
null
sdk/monitor/azure-monitor-query/tests/test_exceptions.py
lambertpan/azure-sdk-for-python
cc7e454fc04ec61cf021adeaac4fc0fc0a0805b2
[ "MIT" ]
null
null
null
from datetime import timedelta, datetime import pytest import os from azure.identity import ClientSecretCredential from azure.core.exceptions import HttpResponseError from azure.monitor.query import LogsQueryClient, LogsBatchQuery, LogsQueryError,LogsQueryResult, QueryPartialErrorException def _credential(): crede...
39.091463
123
0.656528
690
6,411
5.83913
0.131884
0.073716
0.043683
0.072971
0.8414
0.831968
0.831968
0.81236
0.79449
0.773393
0
0.049703
0.237404
6,411
163
124
39.331288
0.774391
0
0
0.780645
0
0
0.185151
0
0
0
0
0
0.083871
1
0.051613
false
0
0.03871
0
0.096774
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
92ffb78a1cbd206add3df2707962335b3b855059
12,085
py
Python
tests/integration/test_grant_and_revoke/test.py
johnskopis/ClickHouse
318f14b95e0bbc02d1a5f07241d8f2c1c3d4d281
[ "Apache-2.0" ]
8
2019-06-04T02:50:13.000Z
2022-02-10T06:46:51.000Z
tests/integration/test_grant_and_revoke/test.py
johnskopis/ClickHouse
318f14b95e0bbc02d1a5f07241d8f2c1c3d4d281
[ "Apache-2.0" ]
16
2021-06-07T21:32:30.000Z
2022-03-31T21:08:29.000Z
tests/integration/test_grant_and_revoke/test.py
johnskopis/ClickHouse
318f14b95e0bbc02d1a5f07241d8f2c1c3d4d281
[ "Apache-2.0" ]
null
null
null
import pytest from helpers.cluster import ClickHouseCluster from helpers.test_tools import TSV import re cluster = ClickHouseCluster(__file__) instance = cluster.add_instance('instance') @pytest.fixture(scope="module", autouse=True) def start_cluster(): try: cluster.start() instance.quer...
54.192825
252
0.670749
1,804
12,085
4.433481
0.068182
0.203176
0.14016
0.087147
0.854714
0.84146
0.804701
0.784321
0.759315
0.73831
0
0.007881
0.181051
12,085
222
253
54.436937
0.800243
0
0
0.487952
0
0.012048
0.504427
0
0
0
0
0
0.433735
0
null
null
0.024096
0.024096
null
null
0
0
0
0
null
1
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
1
1
0
0
0
0
0
0
0
0
9
1318748a15fdc63a88de41d290fef356d0533a84
467
py
Python
ports/unix/variants/manifest.py
ljk53/micropython
838f3a1ff6e291f9ee287d3c2152097946d4fe8c
[ "MIT" ]
1
2021-05-29T13:44:20.000Z
2021-05-29T13:44:20.000Z
ports/unix/variants/manifest.py
ljk53/micropython
838f3a1ff6e291f9ee287d3c2152097946d4fe8c
[ "MIT" ]
1
2021-05-31T22:39:54.000Z
2021-05-31T22:39:54.000Z
ports/unix/variants/manifest.py
ljk53/micropython
838f3a1ff6e291f9ee287d3c2152097946d4fe8c
[ "MIT" ]
1
2021-06-22T07:39:06.000Z
2021-06-22T07:39:06.000Z
freeze_as_mpy('$(MPY_DIR)/tools', 'upip.py') freeze_as_mpy('$(MPY_DIR)/tools', 'upip_utarfile.py', opt=3) freeze('$(MPY_DIR)/lib/lv_bindings/driver/linux', 'evdev.py') freeze('$(MPY_DIR)/lib/lv_bindings/lib', 'lv_colors.py') freeze('$(MPY_DIR)/lib/lv_bindings/lib', 'async_utils.py') freeze('$(MPY_DIR)/lib/lv_bindings/l...
51.888889
67
0.72591
79
467
3.987342
0.278481
0.152381
0.228571
0.285714
0.752381
0.752381
0.673016
0.507937
0.222222
0
0
0.002222
0.036403
467
8
68
58.375
0.697778
0
0
0
0
0
0.698073
0.453961
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
1
1
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
7
1375c1f52b862fbfc864160fccce7c0540d4d8d1
1,693
py
Python
blog/httphelp.py
hsiang-ever/django_blog
eb863d6495638692ddd4de58f063533ceb2de111
[ "MIT" ]
null
null
null
blog/httphelp.py
hsiang-ever/django_blog
eb863d6495638692ddd4de58f063533ceb2de111
[ "MIT" ]
null
null
null
blog/httphelp.py
hsiang-ever/django_blog
eb863d6495638692ddd4de58f063533ceb2de111
[ "MIT" ]
null
null
null
from urllib.request import urlopen, Request import json def getPostList(): # url = 'http://0.0.0.0:5000/posts/' url = 'https://shorten-url-1491815099304.appspot.com/posts/' headers = {'Content-Type': 'application/json'} req = Request(url=url, headers=headers) res = urlopen(req) posts = json.loads(res.read())['po...
30.232143
75
0.679268
242
1,693
4.743802
0.165289
0.026132
0.026132
0.039199
0.810976
0.810976
0.810976
0.810976
0.810976
0.804007
0
0.070047
0.114589
1,693
55
76
30.781818
0.695797
0.16775
0
0.702703
0
0
0.311828
0
0
0
0
0
0
1
0.135135
false
0
0.054054
0
0.297297
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
137c7495e1b1686700844a777c25af6b9c94e279
15,279
py
Python
genome_designer/variants/tests/test_vcf_parser.py
churchlab/millstone
ddb5d003a5b8a7675e5a56bafd5c432d9642b473
[ "MIT" ]
45
2015-09-30T14:55:33.000Z
2021-06-28T02:33:30.000Z
genome_designer/variants/tests/test_vcf_parser.py
churchlab/millstone
ddb5d003a5b8a7675e5a56bafd5c432d9642b473
[ "MIT" ]
261
2015-06-03T20:41:56.000Z
2022-03-07T08:46:10.000Z
genome_designer/variants/tests/test_vcf_parser.py
churchlab/millstone
ddb5d003a5b8a7675e5a56bafd5c432d9642b473
[ "MIT" ]
22
2015-06-04T20:43:10.000Z
2022-02-27T08:27:34.000Z
""" Tests for vcf_parser.py """ import os from django.conf import settings from django.test import TestCase import vcf from main.models import AlignmentGroup from main.models import Chromosome from main.models import Dataset from main.models import ExperimentSample from main.models import Variant from main.models im...
48.198738
1,206
0.662347
2,262
15,279
4.276304
0.127321
0.017781
0.017368
0.017368
0.828595
0.810297
0.767807
0.744133
0.732761
0.726145
0
0.11474
0.222528
15,279
316
1,207
48.351266
0.699554
0.287715
0
0.614634
0
0
0.044276
0.0113
0
0
0
0
0.107317
1
0.029268
false
0
0.102439
0
0.136585
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
13868f879246c68859ec6c33940fb1a1f22bad69
3,395
py
Python
Fastir_Collector/fs/windowsVistaFiles.py
Unam3dd/Train-2018-2020
afb6ae70fe338cbe55a21b74648d91996b818fa2
[ "MIT" ]
4
2021-04-23T15:39:17.000Z
2021-12-27T22:53:24.000Z
Fastir_Collector/fs/windowsVistaFiles.py
Unam3dd/Train-2018-2020
afb6ae70fe338cbe55a21b74648d91996b818fa2
[ "MIT" ]
null
null
null
Fastir_Collector/fs/windowsVistaFiles.py
Unam3dd/Train-2018-2020
afb6ae70fe338cbe55a21b74648d91996b818fa2
[ "MIT" ]
2
2021-04-19T08:28:54.000Z
2022-01-19T13:23:29.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from fs import _FS class WindowsVistaFiles(_FS): def __init__(self, params): super(WindowsVistaFiles, self).__init__(params) self.userprofile = params['USERPROFILE'] def __list_named_pipes(self): return super(WindowsVista...
43.525641
111
0.697791
369
3,395
6.02981
0.143631
0.20764
0.245393
0.21573
0.838652
0.812135
0.572584
0.495281
0.371236
0.371236
0
0.001776
0.170839
3,395
77
112
44.090909
0.788632
0.006186
0
0.222222
0
0
0.210558
0.201661
0
0
0
0
0
1
0.388889
false
0
0.037037
0.074074
0.518519
0.074074
0
0
0
null
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
7
13a06e5d37cfa811e586aa7684292c546e854691
11,050
py
Python
tests/integration/test_io.py
t-b/pynwb
b58e7b003247485120380360bb112bc6b22c7e60
[ "BSD-3-Clause-LBNL" ]
1
2021-04-13T20:47:36.000Z
2021-04-13T20:47:36.000Z
tests/integration/test_io.py
t-b/pynwb
b58e7b003247485120380360bb112bc6b22c7e60
[ "BSD-3-Clause-LBNL" ]
null
null
null
tests/integration/test_io.py
t-b/pynwb
b58e7b003247485120380360bb112bc6b22c7e60
[ "BSD-3-Clause-LBNL" ]
null
null
null
import unittest2 as unittest import six from datetime import datetime from dateutil.tz import tzlocal, tzutc import os from h5py import File from pynwb import NWBFile, TimeSeries, get_manager from pynwb.form.backends.hdf5 import HDF5IO from pynwb.form.build import GroupBuilder, DatasetBuilder from pynwb.form.spec imp...
47.62931
111
0.548597
1,080
11,050
5.447222
0.149074
0.031277
0.030937
0.021758
0.932517
0.932517
0.932517
0.932517
0.932517
0.932517
0
0.018638
0.339638
11,050
231
112
47.835498
0.787584
0.012127
0
0.934343
0
0
0.156054
0.007729
0
0
0
0
0.161616
1
0.060606
false
0
0.055556
0.010101
0.146465
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
13f2aff61986beff23ed48dc8621cb957b84ee68
2,087
py
Python
apps/users/migrations/0030_auto_20201003_0952.py
lucasjaroszewski/incremental-game
bae8823f986be0fd046bd50195d43fbc548fad90
[ "MIT" ]
null
null
null
apps/users/migrations/0030_auto_20201003_0952.py
lucasjaroszewski/incremental-game
bae8823f986be0fd046bd50195d43fbc548fad90
[ "MIT" ]
5
2021-06-09T17:54:51.000Z
2022-03-12T00:46:49.000Z
apps/users/migrations/0030_auto_20201003_0952.py
lucasjaroszewski/incremental-game
bae8823f986be0fd046bd50195d43fbc548fad90
[ "MIT" ]
1
2020-09-27T18:26:15.000Z
2020-09-27T18:26:15.000Z
# Generated by Django 3.0.6 on 2020-10-03 12:52 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0029_auto_20200930_2241'), ] operations = [ migrations.AddField( model_name='character', ...
32.107692
163
0.574509
185
2,087
6.356757
0.27027
0.076531
0.153061
0.197279
0.828231
0.801871
0.801871
0.701531
0.701531
0.701531
0
0.032258
0.301869
2,087
64
164
32.609375
0.77488
0.021562
0
0.689655
1
0
0.109804
0.011275
0
0
0
0
0
1
0
false
0
0.034483
0
0.086207
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
b936c1bbe34b4b5785d82f35bc91fc71a5fa32d4
51,711
py
Python
grafana/common/dashboards/aggregated/rssac_reporting.py
MikeAT/visualizer
946b98d82eaf7ec508861115585afd683fc49e5c
[ "MIT" ]
6
2021-03-03T17:52:24.000Z
2022-02-10T11:45:22.000Z
grafana/common/dashboards/aggregated/rssac_reporting.py
Acidburn0zzz/visualizer
20fba91f0d26b98531f97f643c8329640d1c0d11
[ "MIT" ]
1
2021-04-29T12:34:04.000Z
2021-04-29T14:50:17.000Z
grafana/common/dashboards/aggregated/rssac_reporting.py
Acidburn0zzz/visualizer
20fba91f0d26b98531f97f643c8329640d1c0d11
[ "MIT" ]
2
2021-04-27T14:02:03.000Z
2021-11-12T10:34:32.000Z
# Copyright 2021 Internet Corporation for Assigned Names and Numbers. # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, you can obtain one at https://mozilla.org/MPL/2.0/. # # Developed by Sinodun IT (sinodun.com) # # Ag...
51.711
120
0.301464
2,662
51,711
5.779113
0.09429
0.022751
0.034126
0.032111
0.892551
0.889236
0.87266
0.858944
0.855824
0.855824
0
0.030625
0.640077
51,711
999
121
51.762763
0.795938
0.006246
0
0.874239
0
0
0.446105
0.036922
0
0
0
0
0
1
0.001014
false
0
0.003043
0.001014
0.005071
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
1
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
8
b97fb5b288c10cbff036fa63cb51d4149b87a792
98
py
Python
spotifyClient/config.py
sebcampos/music
b508654f9524127bd2681628a9ec4b88dc607c8d
[ "MIT" ]
null
null
null
spotifyClient/config.py
sebcampos/music
b508654f9524127bd2681628a9ec4b88dc607c8d
[ "MIT" ]
null
null
null
spotifyClient/config.py
sebcampos/music
b508654f9524127bd2681628a9ec4b88dc607c8d
[ "MIT" ]
null
null
null
CLIENT_ID = "9f9c1dd9992f4c1aa1b51059f3ec9805" CLIENT_SECRET = "34e88d7df570483d9df03f27c62a80ff"
32.666667
50
0.877551
6
98
14
0.833333
0
0
0
0
0
0
0
0
0
0
0.434783
0.061224
98
2
51
49
0.478261
0
0
0
0
0
0.653061
0.653061
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7