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
61382bc4afdbca2e8ccf4130880a465632c1b519
1,457
py
Python
asdc/main.py
jancervenka/airbus-ship-detection
87cb1c786182afa248a324f65b23153aa998e6ae
[ "MIT" ]
3
2020-06-02T11:46:24.000Z
2020-12-15T23:30:51.000Z
asdc/main.py
jancervenka/airbus-ship-detection
87cb1c786182afa248a324f65b23153aa998e6ae
[ "MIT" ]
2
2021-08-25T14:50:24.000Z
2021-11-10T19:57:14.000Z
asdc/main.py
jancervenka/airbus-ship-detection
87cb1c786182afa248a324f65b23153aa998e6ae
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # 2020, Jan Cervenka import argparse import asdc.core import asdc.service from . import version def _create_arg_parser(): """ Creates the CLI argument parser. """ parser = argparse.ArgumentParser(conflict_handler='resolve', ...
28.568627
80
0.602608
162
1,457
5.179012
0.438272
0.077473
0.035757
0.057211
0.054827
0
0
0
0
0
0
0.006518
0.262869
1,457
50
81
29.14
0.774674
0.079616
0
0
0
0
0.140673
0
0
0
0
0
0
1
0.074074
false
0
0.148148
0
0.259259
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6138630a4dc2a9c9e1dbd63c0ab09714aa15f8bf
1,612
py
Python
service_lib/database.py
qwc-services/sogis-agdi
f278612c42f648da07448905f2b8021b279e66bc
[ "MIT" ]
null
null
null
service_lib/database.py
qwc-services/sogis-agdi
f278612c42f648da07448905f2b8021b279e66bc
[ "MIT" ]
null
null
null
service_lib/database.py
qwc-services/sogis-agdi
f278612c42f648da07448905f2b8021b279e66bc
[ "MIT" ]
1
2021-04-15T09:54:49.000Z
2021-04-15T09:54:49.000Z
from sqlalchemy import create_engine import os class DatabaseEngine(): """Helper for database connections using SQLAlchemy engines""" def __init__(self): """Constructor""" self.engines = {} def db_engine(self, conn_str, service_suffix=None): """Return engine.""" # conn_st...
33.583333
77
0.598015
181
1,612
5.093923
0.375691
0.06833
0.047722
0.097614
0.106291
0.060738
0
0
0
0
0
0
0.298387
1,612
47
78
34.297872
0.815208
0.246898
0
0
0
0
0.122345
0.065421
0
0
0
0
0
1
0.192308
false
0
0.076923
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6139d3a7a69668275919aa5180c16fec38121a2e
4,681
py
Python
twitterbot/quoteproviders.py
HashCollision/TwitterBot
a5214cf7e607b633bf2757b0f95ecce722f84b71
[ "Apache-2.0" ]
2
2016-05-24T00:14:24.000Z
2016-05-24T00:23:35.000Z
twitterbot/quoteproviders.py
HashCollision/TwitterBot
a5214cf7e607b633bf2757b0f95ecce722f84b71
[ "Apache-2.0" ]
null
null
null
twitterbot/quoteproviders.py
HashCollision/TwitterBot
a5214cf7e607b633bf2757b0f95ecce722f84b71
[ "Apache-2.0" ]
null
null
null
from collections import namedtuple import requests, pickle from abc import ABCMeta, abstractmethod from bs4 import BeautifulSoup from utilities import * from random import randint from threading import Thread # Tuple object Quote = namedtuple('Quote', ['text', 'author']) class QuoteException(Exception): def __...
28.369697
119
0.574023
549
4,681
4.741348
0.300546
0.021514
0.016904
0.02305
0.135229
0.135229
0.10219
0.10219
0.066078
0.038417
0
0.004149
0.330699
4,681
164
120
28.542683
0.826684
0.186712
0
0.316832
0
0
0.075027
0
0
0
0
0
0
1
0.178218
false
0.019802
0.069307
0.039604
0.425743
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
613b28a17ffdfc4fef538068198f63de8c5ff4b3
1,085
py
Python
day9.py
dos1/AoC21
9095b96b831aac76cb9f0ce06e3f639db2da3977
[ "MIT" ]
null
null
null
day9.py
dos1/AoC21
9095b96b831aac76cb9f0ce06e3f639db2da3977
[ "MIT" ]
null
null
null
day9.py
dos1/AoC21
9095b96b831aac76cb9f0ce06e3f639db2da3977
[ "MIT" ]
null
null
null
data = [list(map(int,line.strip())) for line in open("inputday9")] def fieldVal(f): i,j = f return data[i][j] def adjacent(field): fields = [] i, j = field if i > 0: fields.append((i-1, j)) if j > 0: fields.append((i, j-1)) if i < len(data) - 1: fields.append((i+1, j)) if j < len(data[0]) ...
23.085106
66
0.61106
169
1,085
3.923077
0.260355
0.0181
0.078431
0.042232
0.171946
0.054299
0.054299
0
0
0
0
0.023725
0.223041
1,085
46
67
23.586957
0.762752
0
0
0
0
0
0.008295
0
0
0
0
0
0
1
0.102564
false
0
0
0
0.205128
0.025641
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
613ca0e7d669ae62d1b3a594a9cc5a7023782a4e
8,879
py
Python
Movement/Hexapod_orig.py
IanSMoyes/SpiderPi
cc3469980ae87b92d0dc43c05dbd579f0fa8c4b1
[ "Apache-2.0" ]
7
2021-03-15T10:06:20.000Z
2022-03-23T02:53:15.000Z
Movement/Hexapod_orig.py
IanSMoyes/SpiderPi
cc3469980ae87b92d0dc43c05dbd579f0fa8c4b1
[ "Apache-2.0" ]
null
null
null
Movement/Hexapod_orig.py
IanSMoyes/SpiderPi
cc3469980ae87b92d0dc43c05dbd579f0fa8c4b1
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python3 # -*- coding: UTF-8 -*- # Copyright HiWonder.hk # Further development by ians.moyes@gmail.com # Translation by Google # Library to control the hexapod using reverse kinematics of # lower servo values on the port side lead to # forward positions at the shoulder # Lifting the knee # Dropping the ank...
31.154386
112
0.615159
1,293
8,879
4.169374
0.238206
0.031163
0.018364
0.023743
0.328881
0.282693
0.259692
0.232424
0.219069
0.188091
0
0.048452
0.272441
8,879
284
113
31.264085
0.786068
0.403762
0
0.201258
0
0
0.025
0
0
0
0
0
0
1
0.062893
false
0
0.018868
0
0.125786
0.069182
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
613de78cdbae49064c79b2114c044757966e3e48
3,474
py
Python
services/keyphrase/s3io.py
etherlabsio/ai-engine
e73a4419a34db42a410e2a7e7629eb946b86f2c2
[ "MIT" ]
null
null
null
services/keyphrase/s3io.py
etherlabsio/ai-engine
e73a4419a34db42a410e2a7e7629eb946b86f2c2
[ "MIT" ]
null
null
null
services/keyphrase/s3io.py
etherlabsio/ai-engine
e73a4419a34db42a410e2a7e7629eb946b86f2c2
[ "MIT" ]
1
2020-04-19T11:07:42.000Z
2020-04-19T11:07:42.000Z
import logging from timeit import default_timer as timer from pathlib import Path import os logger = logging.getLogger(__name__) class S3IO(object): # S3 storage utility functions def __init__(self, s3_client, graph_utils_obj, utils): self.s3_client = s3_client self.gutils = graph_utils_obj ...
32.166667
88
0.603051
427
3,474
4.5363
0.208431
0.049561
0.043366
0.068663
0.447083
0.384099
0.357253
0.32318
0.255034
0.173464
0
0.012616
0.315486
3,474
107
89
32.46729
0.801934
0.049511
0
0.214286
0
0
0.056095
0
0
0
0
0
0
1
0.071429
false
0
0.047619
0
0.214286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6140f4864924eda9b670c10a00a2c03017c34114
172
py
Python
HSCI Simulation/config/log.py
kymanj/hsci-rebal-backtest
b8ffe82d2720e131972cee29dc3ce94095b78a8f
[ "MIT" ]
null
null
null
HSCI Simulation/config/log.py
kymanj/hsci-rebal-backtest
b8ffe82d2720e131972cee29dc3ce94095b78a8f
[ "MIT" ]
null
null
null
HSCI Simulation/config/log.py
kymanj/hsci-rebal-backtest
b8ffe82d2720e131972cee29dc3ce94095b78a8f
[ "MIT" ]
null
null
null
import logging import logging.config from config.conf import * def get_logger(): logging.config.dictConfig(log_config) log = logging.getLogger() return log
14.333333
41
0.732558
22
172
5.636364
0.545455
0.209677
0
0
0
0
0
0
0
0
0
0
0.186047
172
11
42
15.636364
0.885714
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.714286
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
614252f9d56b5baa9a7b131316ccedbd8d3dbb4a
637
py
Python
module1/task3.py
teslaistra/PythonTasksForITAM
0fc5c7b0ff11ae7c364187e2fffbee935ecbaaf2
[ "MIT" ]
1
2022-01-10T07:21:39.000Z
2022-01-10T07:21:39.000Z
module1/task3.py
teslaistra/PythonTasksForITAM
0fc5c7b0ff11ae7c364187e2fffbee935ecbaaf2
[ "MIT" ]
null
null
null
module1/task3.py
teslaistra/PythonTasksForITAM
0fc5c7b0ff11ae7c364187e2fffbee935ecbaaf2
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # подсказка: тут надо погуглить методы pop, index, extend, insert # пример гугл запроса: python pop list # есть список животных в зоопарке zoo = ['lion', 'kangaroo', 'elephant', 'monkey', ] # TODO посадите медведя (bear) между львом и кенгуру # и выведите список на кон...
25.48
78
0.729984
91
637
5.10989
0.736264
0.077419
0.096774
0.109677
0.180645
0.180645
0
0
0
0
0
0.001927
0.185243
637
24
79
26.541667
0.894027
0.863422
0
0
0
0
0.351351
0
0
0
0
0.041667
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
2
614370770bf4f2125beed54d00eade84072999da
5,242
py
Python
tests/unit_tests/test_solute_tempering.py
MauriceKarrenbrock/HREMGromacs
3741820bee466ae3b4a69a8241c0905b5beffe0c
[ "MIT" ]
null
null
null
tests/unit_tests/test_solute_tempering.py
MauriceKarrenbrock/HREMGromacs
3741820bee466ae3b4a69a8241c0905b5beffe0c
[ "MIT" ]
null
null
null
tests/unit_tests/test_solute_tempering.py
MauriceKarrenbrock/HREMGromacs
3741820bee466ae3b4a69a8241c0905b5beffe0c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # pylint: disable=missing-docstring # pylint: disable=redefined-outer-name # pylint: disable=wildcard-import # pylint: disable=unused-wildcard-import # pylint: disable=no-self-use ############################################################# # Copyright (c) 2021-2021 Maurice Karrenbrock ...
37.442857
77
0.579168
555
5,242
5.133333
0.254054
0.030888
0.039312
0.04212
0.298701
0.200421
0.135837
0.135837
0.09126
0.09126
0
0.039441
0.30351
5,242
139
78
37.71223
0.740893
0.072491
0
0.106383
0
0
0.147713
0.093202
0
0
0
0
0.106383
1
0.06383
false
0
0.042553
0
0.148936
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
61444ae72f9460a2cd081ed2da2655c89e4a8499
55,822
py
Python
rubin_sim/maf/utils/snNSNUtils.py
RileyWClarke/flarubin
eb7b1ee21c828523f8a5374fe4510fe6e5ec2a2a
[ "MIT" ]
null
null
null
rubin_sim/maf/utils/snNSNUtils.py
RileyWClarke/flarubin
eb7b1ee21c828523f8a5374fe4510fe6e5ec2a2a
[ "MIT" ]
null
null
null
rubin_sim/maf/utils/snNSNUtils.py
RileyWClarke/flarubin
eb7b1ee21c828523f8a5374fe4510fe6e5ec2a2a
[ "MIT" ]
null
null
null
from rubin_sim.photUtils import SignalToNoise from rubin_sim.photUtils import PhotometricParameters from rubin_sim.photUtils import Bandpass, Sed from rubin_sim.data import get_data_dir import numpy as np from scipy.constants import * from functools import wraps import os import h5py import multiprocessing from astrop...
32.229792
110
0.542958
6,690
55,822
4.400598
0.12003
0.012806
0.00574
0.004076
0.319429
0.249253
0.212874
0.19127
0.164063
0.141848
0
0.022242
0.333919
55,822
1,731
111
32.248411
0.769539
0.292501
0
0.114047
0
0
0.056707
0.003373
0
0
0
0
0
1
0.069541
false
0.034771
0.022253
0.005563
0.157163
0.008345
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
614535211fbffaf38f476eca68331d6b1c4b8571
50
py
Python
ourgroceries/exceptions.py
pironic/py-our-groceries
0c6726287123dae287e1e6c27d956c738113ed48
[ "MIT" ]
5
2019-07-21T20:18:50.000Z
2021-03-12T13:57:00.000Z
ourgroceries/exceptions.py
pironic/py-our-groceries
0c6726287123dae287e1e6c27d956c738113ed48
[ "MIT" ]
11
2019-08-05T20:38:15.000Z
2022-03-08T02:32:06.000Z
ourgroceries/exceptions.py
pironic/py-our-groceries
0c6726287123dae287e1e6c27d956c738113ed48
[ "MIT" ]
10
2019-10-22T19:34:53.000Z
2022-03-08T01:57:33.000Z
class InvalidLoginException(Exception): pass
12.5
39
0.78
4
50
9.75
1
0
0
0
0
0
0
0
0
0
0
0
0.16
50
4
40
12.5
0.928571
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.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
0
1
1
0
0
0
0
0
4
614690b30fc8452b96340bd8f0827de2f164d10d
6,818
py
Python
teslabot/plugins/corecommands/corecommands.py
Anachronos/teslabot
4e8b5fef42c8cc2ecb7a6bdb0a26d52a002501a0
[ "MIT" ]
2
2019-06-05T12:19:39.000Z
2021-11-23T19:50:02.000Z
teslabot/plugins/corecommands/corecommands.py
Anachronos/teslabot
4e8b5fef42c8cc2ecb7a6bdb0a26d52a002501a0
[ "MIT" ]
null
null
null
teslabot/plugins/corecommands/corecommands.py
Anachronos/teslabot
4e8b5fef42c8cc2ecb7a6bdb0a26d52a002501a0
[ "MIT" ]
3
2015-12-30T10:04:01.000Z
2021-11-23T19:50:06.000Z
from pluginbase import PluginBase import logging class CoreCommands(PluginBase): """Provides basic commands.""" def __init__(self): PluginBase.__init__(self) self.name = 'CoreCommands' self.logger = logging.getLogger('teslabot.plugin.corecommands') self.set_cmd...
35.14433
122
0.51144
757
6,818
4.529723
0.169089
0.05366
0.072033
0.069991
0.593467
0.527559
0.42578
0.369204
0.34879
0.312044
0
0.014363
0.37709
6,818
194
123
35.14433
0.79303
0.080815
0
0.562092
0
0.006536
0.057388
0.007921
0
0
0
0
0
1
0.111111
false
0
0.026144
0
0.143791
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
614784716577e5dd872b37fdcf3f9913cb77fa39
242
py
Python
Hash_Encryption/learn_hash.py
KECB/learn
5b52c5c3ac640dd2a9064c33baaa9bc1885cf15f
[ "MIT" ]
2
2017-09-25T04:29:59.000Z
2018-11-04T09:53:59.000Z
Hash_Encryption/learn_hash.py
KECB/learn
5b52c5c3ac640dd2a9064c33baaa9bc1885cf15f
[ "MIT" ]
null
null
null
Hash_Encryption/learn_hash.py
KECB/learn
5b52c5c3ac640dd2a9064c33baaa9bc1885cf15f
[ "MIT" ]
null
null
null
def bkdr_hash(code): seed = 131 # 通常使用素数, 31, 131, 1313, 13131, 131313 等 hash_result = 0 for i in range(len(code)): hash_result = (hash_result * seed) + ord(code[i]) return hash_result print(bkdr_hash('JKiidalk'))
22
57
0.632231
37
242
3.972973
0.621622
0.272109
0
0
0
0
0
0
0
0
0
0.130435
0.239669
242
10
58
24.2
0.668478
0.157025
0
0
0
0
0.039801
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
0.142857
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6147f22b0796759c5a32f0ffdb28f704d41d8247
2,587
py
Python
unittest_reinvent/library_design/test_fragment_reactions.py
MolecularAI/reinvent-chemistry
bf0235bc2b1168b1db54c1e04bdba04b166ab7bf
[ "MIT" ]
null
null
null
unittest_reinvent/library_design/test_fragment_reactions.py
MolecularAI/reinvent-chemistry
bf0235bc2b1168b1db54c1e04bdba04b166ab7bf
[ "MIT" ]
null
null
null
unittest_reinvent/library_design/test_fragment_reactions.py
MolecularAI/reinvent-chemistry
bf0235bc2b1168b1db54c1e04bdba04b166ab7bf
[ "MIT" ]
1
2022-03-22T15:24:13.000Z
2022-03-22T15:24:13.000Z
import unittest from reinvent_chemistry import Conversions from reinvent_chemistry.library_design.fragment_reactions import FragmentReactions from unittest_reinvent.library_design.fixtures import FRAGMENT_REACTION_SUZUKI, SCAFFOLD_SUZUKI from unittest_reinvent.fixtures.test_data import CELECOXIB, ASPIRIN, CELECOXIB_FR...
45.385965
113
0.722845
299
2,587
5.882943
0.177258
0.05685
0.054576
0.047754
0.561683
0.54747
0.54747
0.54747
0.54747
0.521887
0
0.002933
0.209123
2,587
56
114
46.196429
0.856794
0
0
0.510638
0
0
0
0
0
0
0
0
0.085106
1
0.085106
false
0
0.106383
0
0.212766
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
61483b47ea13bcf3672a9c8fa8c62b5a43a043b2
4,998
py
Python
plataformas.py
AlejandroArango/Plataforma
590efe70e5fe87cc758f22984a3f7b1dab05b650
[ "MIT" ]
1
2016-05-10T13:10:38.000Z
2016-05-10T13:10:38.000Z
plataformas.py
AlejandroArango/Plataforma
590efe70e5fe87cc758f22984a3f7b1dab05b650
[ "MIT" ]
9
2016-05-10T13:13:30.000Z
2016-06-13T17:27:54.000Z
plataformas.py
AlejandroArango/Plataforma
590efe70e5fe87cc758f22984a3f7b1dab05b650
[ "MIT" ]
null
null
null
""" administrar la plataforma, aca ira todo el diseño de obstaculos """ import pygame from funcion_sprites import Sprite # variables que se tomaran para pintar las plataformas #nombre objeto x y xtam/ytam ################################# nivel 1 suelo_inicio = (140, 0, 70, 40) ...
31.043478
95
0.560024
668
4,998
3.979042
0.232036
0.039127
0.031603
0.014673
0.156509
0.079759
0.079759
0.079759
0.079759
0.079759
0
0.140708
0.321729
4,998
161
96
31.043478
0.643363
0.155462
0
0.089888
0
0
0.006378
0.006378
0
0
0
0.006211
0
1
0.033708
false
0
0.022472
0
0.078652
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6148e688ffc31bbe8333eace2095c1273f09545a
1,781
py
Python
nanitosbaby/store/models.py
Hector-hedb12/nanitosbaby
86eff05157dab02a7daca61e1f70ec76bbf6cbdf
[ "MIT" ]
null
null
null
nanitosbaby/store/models.py
Hector-hedb12/nanitosbaby
86eff05157dab02a7daca61e1f70ec76bbf6cbdf
[ "MIT" ]
null
null
null
nanitosbaby/store/models.py
Hector-hedb12/nanitosbaby
86eff05157dab02a7daca61e1f70ec76bbf6cbdf
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals, absolute_import from django.db import models from django.utils.encoding import python_2_unicode_compatible from django.utils.translation import ugettext_lazy as _ @python_2_unicode_compatible class Category(models.Model): name = models.CharField(_(...
29.683333
102
0.708029
214
1,781
5.584112
0.383178
0.082845
0.058577
0.100418
0.30795
0.185774
0.185774
0.185774
0.11046
0.11046
0
0.012129
0.16676
1,781
59
103
30.186441
0.793127
0.011791
0
0.375
0
0
0.105802
0
0
0
0
0
0
1
0.1
false
0
0.1
0.1
0.775
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6149697222d0da55c214eb02250d731291f31b6d
2,357
py
Python
danceschool/private_events/admin.py
django-danceschool/django-danceschool
65ae09ffdcb0821e82df0e1f634fe13c0384a525
[ "BSD-3-Clause" ]
32
2017-09-12T04:25:25.000Z
2022-03-21T10:48:07.000Z
danceschool/private_events/admin.py
django-danceschool/django-danceschool
65ae09ffdcb0821e82df0e1f634fe13c0384a525
[ "BSD-3-Clause" ]
97
2017-09-01T02:43:08.000Z
2022-01-03T18:20:34.000Z
danceschool/private_events/admin.py
django-danceschool/django-danceschool
65ae09ffdcb0821e82df0e1f634fe13c0384a525
[ "BSD-3-Clause" ]
19
2017-09-26T13:34:46.000Z
2022-03-21T10:48:10.000Z
from django.contrib import admin from django.utils.translation import gettext_lazy as _ from django.forms import ModelForm from danceschool.core.admin import EventChildAdmin, EventOccurrenceInline from danceschool.core.models import Event from danceschool.core.forms import LocationWithDataWidget from .models import P...
31.013158
120
0.662707
219
2,357
7.054795
0.502283
0.028479
0.036893
0
0
0
0
0
0
0
0
0.000549
0.227832
2,357
75
121
31.426667
0.848352
0.064913
0
0.037037
0
0
0.193119
0.033486
0
0
0
0
0
1
0.037037
false
0
0.12963
0
0.518519
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
614a153769e50dd807fe365bb1c9feed089ce54f
8,124
py
Python
build/lib/lsh_example/pos_analyzer.py
huangbeidan/activeLearner_autophrase
c7f1a4f1c7ea57a36c29c246ba393ba31e040353
[ "MIT" ]
1
2021-03-05T15:42:32.000Z
2021-03-05T15:42:32.000Z
build/lib/lsh_example/pos_analyzer.py
huangbeidan/activeLearner_autophrase
c7f1a4f1c7ea57a36c29c246ba393ba31e040353
[ "MIT" ]
null
null
null
build/lib/lsh_example/pos_analyzer.py
huangbeidan/activeLearner_autophrase
c7f1a4f1c7ea57a36c29c246ba393ba31e040353
[ "MIT" ]
null
null
null
import itertools import os import pickle import re from collections import defaultdict import matplotlib.pyplot as plt plt.style.use('seaborn-white') import numpy as np import pandas as pd import ast import dill from tqdm import tqdm from active_learner.Phrases import Phrases class PosTag_Query_Fetcher: def __in...
33.295082
94
0.588996
1,000
8,124
4.536
0.208
0.055556
0.046296
0.026455
0.219136
0.12522
0.099647
0.073633
0.061287
0.061287
0
0.009586
0.319424
8,124
243
95
33.432099
0.810816
0.104874
0
0.196429
0
0
0.044475
0.030855
0
0
0
0.004115
0
1
0.071429
false
0
0.071429
0
0.214286
0.02381
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
614a784b21f0e47a46d44318d8132068954b427e
2,595
py
Python
imapfw/actions/unittests.py
paralax/imapfw
740a4fed1a1de28e4134a115a1dd9c6e90e29ec1
[ "MIT" ]
492
2015-10-12T18:18:48.000Z
2022-02-14T11:46:46.000Z
imapfw/actions/unittests.py
paralax/imapfw
740a4fed1a1de28e4134a115a1dd9c6e90e29ec1
[ "MIT" ]
21
2015-11-10T00:49:07.000Z
2021-12-30T07:51:25.000Z
imapfw/actions/unittests.py
paralax/imapfw
740a4fed1a1de28e4134a115a1dd9c6e90e29ec1
[ "MIT" ]
40
2015-10-15T13:27:31.000Z
2021-12-30T07:52:24.000Z
# The MIT License (MIT). # Copyright (c) 2015, Nicolas Sebrecht & contributors. from imapfw.interface import implements, checkInterfaces from imapfw.conf import Parser from .interface import ActionInterface # Annotations. from imapfw.annotation import ExceptionClass @checkInterfaces() @implements(ActionInterface) ...
36.041667
79
0.72447
261
2,595
7.114943
0.321839
0.077544
0.112009
0.168013
0.282714
0
0
0
0
0
0
0.002861
0.191908
2,595
71
80
36.549296
0.88269
0.055491
0
0.040816
0
0
0.015561
0
0
0
0
0
0
1
0.102041
false
0
0.326531
0.020408
0.510204
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
614f64eed672024b79c76d390fd31ab4e15367ca
118
py
Python
PythonTKinter/HelloWord.py
M3nin0/ProgrammingMyVacation
6968c39caa63cdd82df34ca1aea66521c1ff0f1b
[ "Apache-2.0" ]
null
null
null
PythonTKinter/HelloWord.py
M3nin0/ProgrammingMyVacation
6968c39caa63cdd82df34ca1aea66521c1ff0f1b
[ "Apache-2.0" ]
null
null
null
PythonTKinter/HelloWord.py
M3nin0/ProgrammingMyVacation
6968c39caa63cdd82df34ca1aea66521c1ff0f1b
[ "Apache-2.0" ]
null
null
null
from tkinter import * janela = Tk() Label(janela, text="Ola mundo com interface grafica").pack() janela.mainloop()
14.75
60
0.720339
16
118
5.3125
0.875
0
0
0
0
0
0
0
0
0
0
0
0.144068
118
7
61
16.857143
0.841584
0
0
0
0
0
0.262712
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
615107e9730f254889331e6cdcc60a9ff7200755
5,569
py
Python
circletracking/fluctuation.py
caspervdw/circletracking
2d981a1bd3f2982d5d36932d7d5a38e912fcdba3
[ "BSD-3-Clause" ]
4
2016-03-08T14:10:05.000Z
2022-02-03T21:26:51.000Z
circletracking/fluctuation.py
caspervdw/circletracking
2d981a1bd3f2982d5d36932d7d5a38e912fcdba3
[ "BSD-3-Clause" ]
2
2016-03-29T12:40:28.000Z
2016-04-01T09:36:58.000Z
circletracking/fluctuation.py
caspervdw/circletracking
2d981a1bd3f2982d5d36932d7d5a38e912fcdba3
[ "BSD-3-Clause" ]
2
2016-03-08T14:10:48.000Z
2020-12-23T05:59:26.000Z
from __future__ import (division, unicode_literals) import numpy as np from .algebraic import fit_ellipse import matplotlib.pyplot as plt def circle_deviation(coords): """ Fits a circle to given coordinates using an algebraic fit. Additionally returns the deviations from the circle radius in a list sorted on...
35.025157
79
0.601724
794
5,569
4.13728
0.29471
0.019483
0.010654
0.012177
0.139726
0.114764
0.091933
0.074277
0.074277
0.074277
0
0.015805
0.284252
5,569
158
80
35.246835
0.808329
0.415874
0
0.056338
0
0
0.021516
0.007944
0
0
0
0
0
1
0.042254
false
0
0.056338
0
0.140845
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
615208940aacf2ea5bf13b4e47d62132c7e2ae78
2,083
py
Python
Demos/collindemo.py
ToyVo/PygamePhysics
0645c0d5965f042c13e74df4e07d9147a936a482
[ "MIT" ]
null
null
null
Demos/collindemo.py
ToyVo/PygamePhysics
0645c0d5965f042c13e74df4e07d9147a936a482
[ "MIT" ]
null
null
null
Demos/collindemo.py
ToyVo/PygamePhysics
0645c0d5965f042c13e74df4e07d9147a936a482
[ "MIT" ]
null
null
null
from typing import Tuple, List import pygame from Contact.Contact import handle_contact from Forces.Bond import Bond from Forces.Gravity import Gravity from Forces.PairForce import PairForce from Forces.SingleForce import SingleForce from Objects.Circle import Circle from Objects.Particle import Particle from Vec2 im...
28.534247
113
0.610178
296
2,083
4.233108
0.324324
0.012769
0.059856
0.063847
0.158021
0.103751
0.103751
0.090184
0.090184
0.090184
0
0.068988
0.269323
2,083
72
114
28.930556
0.754271
0.046567
0
0.137255
0
0
0.004042
0
0
0
0
0
0
1
0.019608
false
0
0.196078
0
0.215686
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
61521a23bb3936ffe427e5e47857a88b1ac1f072
409
py
Python
tests/test_str_to_sprite.py
davidbstein/gitfiti
f5787e5b8719b1bf7f017c0a58e9429d7d9c52f6
[ "MIT" ]
null
null
null
tests/test_str_to_sprite.py
davidbstein/gitfiti
f5787e5b8719b1bf7f017c0a58e9429d7d9c52f6
[ "MIT" ]
null
null
null
tests/test_str_to_sprite.py
davidbstein/gitfiti
f5787e5b8719b1bf7f017c0a58e9429d7d9c52f6
[ "MIT" ]
null
null
null
from sprites import str_to_sprite, ONEUP_STR SYMBOLS = ''' .*******. *=~~-~~=* *~~---~~* *=*****=* **-*-*-** .*-----*. ..*****.. ''' NUMBERS = [ [0,4,4,4,4,4,4,4,0], [4,3,2,2,0,2,2,3,4], [4,2,2,0,0,0,2,2,4], [4,3,4,4,4,4,4,3,4], [4,4,0,4,0,4,0,4,4], [0,4,0,0,0,0,0,4,0], [0,0,4,4,4,4,4,0,0], ] def tes...
14.607143
44
0.457213
86
409
2.081395
0.197674
0.212291
0.201117
0.178771
0.251397
0.156425
0
0
0
0
0
0.182081
0.154034
409
27
45
15.148148
0.33526
0
0
0
0
0
0.173594
0
0
0
0
0
0.045455
1
0.045455
false
0
0.045455
0
0.090909
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
61526a179dd4c5b5a65b9ebfc991253615c1c9af
843
py
Python
api_v1/tests/test_models.py
mrkiura/yolo
4f739b54ac6a44b83f86270bb0d728b920794ce5
[ "Unlicense", "MIT" ]
3
2016-12-13T10:14:51.000Z
2019-04-22T11:11:32.000Z
api_v1/tests/test_models.py
mrkiura/yolo
4f739b54ac6a44b83f86270bb0d728b920794ce5
[ "Unlicense", "MIT" ]
6
2016-06-10T12:37:48.000Z
2016-06-21T05:47:23.000Z
api_v1/tests/test_models.py
mrkiura/yolo
4f739b54ac6a44b83f86270bb0d728b920794ce5
[ "Unlicense", "MIT" ]
1
2016-09-14T18:42:13.000Z
2016-09-14T18:42:13.000Z
from django.db import models from django.test import TestCase from factories import UserFactory, BucketlistFactory, BucketlistItemFactory class UserModelTest(TestCase): def setUp(self): self.user = UserFactory.create(username='kiura') def test_user_creation(self): user = UserFactory.create(...
29.068966
75
0.734282
93
843
6.548387
0.333333
0.065681
0.078818
0.098522
0.308703
0
0
0
0
0
0
0
0.164887
843
28
76
30.107143
0.865057
0
0
0.157895
0
0
0.055819
0
0
0
0
0
0.157895
1
0.315789
false
0
0.157895
0
0.631579
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
61528e35d9ee5f29afe80a029bf86e560218db6f
10,455
py
Python
student_teacher_trainer.py
ashwinpn/Computer-Vision
9dc3abfe416385171b76e2bad6872e10f36a12b4
[ "MIT" ]
1
2021-03-26T14:35:21.000Z
2021-03-26T14:35:21.000Z
student_teacher_trainer.py
ashwinpn/Computer-Vision
9dc3abfe416385171b76e2bad6872e10f36a12b4
[ "MIT" ]
null
null
null
student_teacher_trainer.py
ashwinpn/Computer-Vision
9dc3abfe416385171b76e2bad6872e10f36a12b4
[ "MIT" ]
null
null
null
import torch import torch.nn import torch.nn.functional as F from tqdm import tqdm import gc from run_nerf_helpers import * import numpy as np import matplotlib.pyplot as plt from collections import deque import argparse device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu") def save_model(global_step...
45.064655
175
0.726351
1,563
10,455
4.600768
0.174024
0.048394
0.047281
0.015575
0.363232
0.268252
0.222361
0.197886
0.158114
0.158114
0
0.011641
0.153706
10,455
232
176
45.064655
0.801085
0.088283
0
0.08
0
0.005714
0.161338
0.016302
0
0
0
0
0
1
0.005714
false
0
0.057143
0
0.062857
0.097143
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
61539c546a71ee8c53ffbc384e4ce521dc6eee99
4,864
py
Python
generatePassionlyUser.py
killax-d/Passionly-API
8f6df152a2d05ea3cc9aa97bc0cb369b3881b51e
[ "MIT" ]
null
null
null
generatePassionlyUser.py
killax-d/Passionly-API
8f6df152a2d05ea3cc9aa97bc0cb369b3881b51e
[ "MIT" ]
null
null
null
generatePassionlyUser.py
killax-d/Passionly-API
8f6df152a2d05ea3cc9aa97bc0cb369b3881b51e
[ "MIT" ]
null
null
null
import random N = int(input("Number of users needed : ")) last_address_id = int(input("Last address id : ")) last_user_id = int(input("Last user id : ")) file = open('users.sql', 'w+') questions = { 1: {'unique': True, 'criteria': 'random', 'answers': [1, 2, 3]}, 2: {'unique': True, 'criteria': 'random', 'answers'...
38
286
0.632813
621
4,864
4.890499
0.280193
0.023049
0.047415
0.047415
0.180771
0.106355
0.081989
0.055647
0.021732
0
0
0.038407
0.127467
4,864
128
287
38
0.677191
0.019326
0
0
0
0.011494
0.238768
0.018759
0
0
0
0
0
1
0.068966
false
0.022989
0.011494
0.011494
0.183908
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6154e6e5f3741da1515e451470c33863b67c5a95
2,453
py
Python
ggacha/item.py
wmyfelix/genshin-gacha-kit
1828004ae2807b4f99b6b879545f344b60b01013
[ "MIT" ]
3
2021-06-21T04:21:46.000Z
2021-08-10T22:28:33.000Z
ggacha/item.py
wmyfelix/genshin-gacha-kit
1828004ae2807b4f99b6b879545f344b60b01013
[ "MIT" ]
1
2021-07-27T14:28:49.000Z
2022-02-21T16:15:19.000Z
ggacha/item.py
wmyfelix/genshin-gacha-kit
1828004ae2807b4f99b6b879545f344b60b01013
[ "MIT" ]
1
2021-07-29T12:40:14.000Z
2021-07-29T12:40:14.000Z
# class Item: # """角色和武器的工具类。""" # # # items == [{"item_id":"1022","name":"温迪","item_type":"角色","rank_type":"5"}, ...] # items = http_get_json( # url='https://webstatic.mihoyo.com/hk4e/gacha_info/cn_gf01/items/zh-cn.json' # ) # # # ###########################################################...
33.148649
87
0.398288
213
2,453
4.502347
0.356808
0.058394
0.050052
0.040667
0.419187
0.419187
0.312826
0.254432
0.254432
0.254432
0
0.010229
0.322462
2,453
73
88
33.60274
0.566787
0.807583
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
61554c110af8beac3d6fe3a418cd6ef5cf1b047a
506
py
Python
recbole/model/sequential_recommender/coserec.py
mengruwu/RecBole
251fb3478a35b061a2a411d598e8c716b94133c1
[ "MIT" ]
null
null
null
recbole/model/sequential_recommender/coserec.py
mengruwu/RecBole
251fb3478a35b061a2a411d598e8c716b94133c1
[ "MIT" ]
null
null
null
recbole/model/sequential_recommender/coserec.py
mengruwu/RecBole
251fb3478a35b061a2a411d598e8c716b94133c1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # @Time : 2020/9/18 11:33 # @Author : Hui Wang # @Email : hui.wang@ruc.edu.cn """ SASRec ################################################ Reference: Wang-Cheng Kang et al. "Self-Attentive Sequential Recommendation." in ICDM 2018. Reference: https://github.com/kang205/SASRec """...
21.083333
84
0.616601
60
506
5.05
0.766667
0.046205
0
0
0
0
0
0
0
0
0
0.051887
0.162055
506
23
85
22
0.662736
0.598814
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
61573280417ff62fd3e211db5ccac015351a1d2f
614
py
Python
whisper/templatetags/chat.py
PragmaticMates/django-whisper
2cf94d5adcc5d897502b4a379034184c8ec833a1
[ "Apache-2.0" ]
4
2019-02-15T16:37:18.000Z
2021-12-01T04:10:09.000Z
whisper/templatetags/chat.py
PragmaticMates/django-whisper
2cf94d5adcc5d897502b4a379034184c8ec833a1
[ "Apache-2.0" ]
null
null
null
whisper/templatetags/chat.py
PragmaticMates/django-whisper
2cf94d5adcc5d897502b4a379034184c8ec833a1
[ "Apache-2.0" ]
null
null
null
from django import template from django.contrib.auth import get_user_model register = template.Library() @register.simple_tag(takes_context=True) def room_slug(context, subject): request = context['request'] if isinstance(subject, get_user_model()): if not request.user.is_authenticated: ...
27.909091
53
0.688925
80
614
4.9875
0.5125
0.120301
0.06015
0
0
0
0
0
0
0
0
0
0.192182
614
21
54
29.238095
0.804435
0
0
0
0
0
0.066775
0.040717
0
0
0
0
0
1
0.066667
false
0
0.133333
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6157c056f3cdc35a654509bab1d1b88e2a48945a
6,919
py
Python
chement/core.py
NaleRaphael/chement
fcd32c60107f2cdb15abda1c858e1444fc6ff6cc
[ "MIT" ]
null
null
null
chement/core.py
NaleRaphael/chement
fcd32c60107f2cdb15abda1c858e1444fc6ff6cc
[ "MIT" ]
null
null
null
chement/core.py
NaleRaphael/chement
fcd32c60107f2cdb15abda1c858e1444fc6ff6cc
[ "MIT" ]
null
null
null
import logging import requests from .config import MeshConfiguration, ChebiConfiguration, EntrezConfiguration from .parser import BasicParser, ChebiObjectParser from .objbase import MeshObject from .sparql import SparqlQuery, QueryTerm2UI __all__ = ['MeshURI', 'MeshRDFRequest', 'MeshRDFResponse', 'MeshSearchRequest', ...
31.738532
103
0.6222
741
6,919
5.653171
0.182186
0.022917
0.031511
0.025782
0.40487
0.338744
0.307472
0.232275
0.232275
0.232275
0
0.001971
0.266802
6,919
217
104
31.884793
0.823773
0.008527
0
0.423529
0
0
0.085327
0
0
0
0
0
0
1
0.117647
false
0
0.041176
0
0.270588
0.011765
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
615842aa488c11ca9578f55dc30c65b00ee3a393
5,815
py
Python
deeptables/fe/dae.py
daBawse167/deeptables
74254d451107e567b4497e0fe81ac484201713ec
[ "Apache-2.0" ]
828
2020-05-24T02:42:33.000Z
2022-03-31T01:37:36.000Z
deeptables/fe/dae.py
daBawse167/deeptables
74254d451107e567b4497e0fe81ac484201713ec
[ "Apache-2.0" ]
36
2020-06-02T14:20:20.000Z
2022-02-23T11:05:09.000Z
deeptables/fe/dae.py
daBawse167/deeptables
74254d451107e567b4497e0fe81ac484201713ec
[ "Apache-2.0" ]
170
2020-05-26T15:43:13.000Z
2022-03-25T06:35:37.000Z
# -*- coding:utf-8 -*- __author__ = 'yangjian' """ Denoise Auto-encoder Denosing auto encoders are an important and crucial tools for feature selection and extraction. """ import numpy as np from tensorflow.keras.callbacks import EarlyStopping, ReduceLROnPlateau from tensorflow.keras.layers import Dense, Input from te...
41.241135
118
0.601204
710
5,815
4.74507
0.240845
0.050757
0.029682
0.032057
0.261799
0.191748
0.146631
0.091422
0.091422
0.038587
0
0.025255
0.291831
5,815
140
119
41.535714
0.792861
0.103869
0
0.06
0
0
0.035721
0.004342
0
0
0
0
0
1
0.08
false
0
0.05
0
0.2
0.02
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
615a9a697c37336d51a7cdc176a1e9ceeb62b8d2
1,133
py
Python
Tree/leetcode_tree/medium/94.py
catdog001/leetcode_python
b70588121ef2ce5c27ff4cb610c81c33c961a3db
[ "Apache-2.0" ]
null
null
null
Tree/leetcode_tree/medium/94.py
catdog001/leetcode_python
b70588121ef2ce5c27ff4cb610c81c33c961a3db
[ "Apache-2.0" ]
null
null
null
Tree/leetcode_tree/medium/94.py
catdog001/leetcode_python
b70588121ef2ce5c27ff4cb610c81c33c961a3db
[ "Apache-2.0" ]
null
null
null
""" 给定一个二叉树,返回它的中序 遍历。 示例: 输入: [1,null,2,3] 1 \ 2 / 3 输出: [1,3,2] 进阶: 递归算法很简单,你可以通过迭代算法完成吗? 来源:力扣(LeetCode) 链接:https://leetcode-cn.com/problems/binary-tree-inorder-traversal 著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注明出处。 """ """ 非递归方法进行中序遍历,因为递归可以用栈来进行模拟,故而需要借助于数据结构栈。 左右孩子节点需要以根节点为基础,在知道根节点的情况下才可以访问左右孩子节点。故而...
20.981481
77
0.560459
121
1,133
5.214876
0.661157
0.006339
0
0
0
0
0
0
0
0
0
0.01297
0.319506
1,133
53
78
21.377358
0.805447
0.381289
0
0
0
0
0
0
0
0
0
0
0
1
0.066667
false
0
0
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
615b87236ff51760bc21a84e0a677faa94a2d249
690
py
Python
programmers/42840/python/krwns97.py
algorithm-everyday/algorithm-everyday
b79a34b4db626c15b540443b8c929edc21992e14
[ "MIT" ]
2
2021-03-29T14:30:39.000Z
2021-03-29T15:08:55.000Z
programmers/42840/python/krwns97.py
algorithm-everyday/algorithm-everyday
b79a34b4db626c15b540443b8c929edc21992e14
[ "MIT" ]
50
2021-02-16T13:50:33.000Z
2021-06-15T04:33:46.000Z
programmers/42840/python/krwns97.py
gon125/algorithm-everyday
b79a34b4db626c15b540443b8c929edc21992e14
[ "MIT" ]
5
2021-02-08T14:12:10.000Z
2021-02-24T13:21:22.000Z
def calculate_result(p_answer,answer): result=0 for i in range(len(answer)): if p_answer[i%len(p_answer)] == answer[i]: result+=1 return result def solution(answers): p1_answer=[1,2,3,4,5] p2_answer=[2,1,2,3,2,4,2,5] p3_answer=[3,3,1,1,2,2,4,4,5,5] p1=calculat...
28.75
51
0.571014
115
690
3.313043
0.234783
0.15748
0.068241
0
0
0
0
0
0
0
0
0.106796
0.253623
690
24
52
28.75
0.63301
0.053623
0
0.095238
0
0
0
0
0
0
0
0
0
1
0.095238
false
0
0
0
0.190476
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
615c5121211df490e4956df5cee84fd40785167a
1,154
py
Python
bqq/data/schemas.py
martintupy/bqq
e07bc021ffaa6c4fa9aa51a77492003aebabd54d
[ "Apache-2.0" ]
null
null
null
bqq/data/schemas.py
martintupy/bqq
e07bc021ffaa6c4fa9aa51a77492003aebabd54d
[ "Apache-2.0" ]
null
null
null
bqq/data/schemas.py
martintupy/bqq
e07bc021ffaa6c4fa9aa51a77492003aebabd54d
[ "Apache-2.0" ]
null
null
null
import glob import json import os import shutil from pathlib import Path from typing import List from bqq import const from bqq.types import JobInfo from google.cloud.bigquery.schema import SchemaField class Schemas: def __init__(self): self.path = const.BQQ_SCHEMAS def clear(self): dirs = g...
28.146341
75
0.607452
154
1,154
4.461039
0.383117
0.058224
0.052402
0.046579
0
0
0
0
0
0
0
0
0.278163
1,154
40
76
28.85
0.82473
0
0
0
0
0
0.10312
0.090988
0
0
0
0
0
1
0.125
false
0
0.28125
0
0.46875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
615d1643b3681fae499461bb4a105e05c5f7cdca
190
py
Python
pseudo_ircbot.py
EdLeafe/elastic_irc
38959e25c0b9b309b89a46c3f7ab0a3576429621
[ "MIT" ]
null
null
null
pseudo_ircbot.py
EdLeafe/elastic_irc
38959e25c0b9b309b89a46c3f7ab0a3576429621
[ "MIT" ]
1
2020-07-03T14:36:10.000Z
2020-07-03T14:36:10.000Z
pseudo_ircbot.py
EdLeafe/elastic_irc
38959e25c0b9b309b89a46c3f7ab0a3576429621
[ "MIT" ]
null
null
null
import datetime import async_parse_irc yesterday = datetime.date.today() - datetime.timedelta(days=1) start = yesterday.strftime("%Y-%m-%d") async_parse_irc.parse(start=start, quiet=True)
23.75
62
0.773684
28
190
5.107143
0.642857
0.13986
0.181818
0
0
0
0
0
0
0
0
0.005747
0.084211
190
7
63
27.142857
0.816092
0
0
0
0
0
0.042105
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
615e397ada402e05ece5e8287e4aabf1e19a3939
5,929
py
Python
apis/posts_api/tests/test_posts_utils.py
MasterBDX/find-your-api
23e22093df36574cb81703f315da5bfdf1efc51e
[ "MIT" ]
2
2020-12-31T10:32:18.000Z
2021-01-01T03:15:30.000Z
apis/posts_api/tests/test_posts_utils.py
MasterBDX/find-your-api
23e22093df36574cb81703f315da5bfdf1efc51e
[ "MIT" ]
null
null
null
apis/posts_api/tests/test_posts_utils.py
MasterBDX/find-your-api
23e22093df36574cb81703f315da5bfdf1efc51e
[ "MIT" ]
null
null
null
from django.test import TestCase from django.urls import reverse from rest_framework import status from rest_framework.test import APIClient from apis.models import UserApiModel,PostApiModel from ..utils import (get_new_post, get_serialized_data, create_api_posts) from ..se...
43.277372
88
0.508517
560
5,929
5.205357
0.203571
0.066895
0.046655
0.041166
0.521441
0.483705
0.47307
0.452487
0.419211
0.401372
0
0.021324
0.39096
5,929
136
89
43.595588
0.785932
0.075561
0
0.48
0
0
0.098519
0
0
0
0
0
0.17
1
0.07
false
0
0.08
0
0.17
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
616298ee15060701f29d812b70019b35885dd80a
550
py
Python
Chapter14/config_parser_read.py
PacktPublishing/GettingStartedwithPythonfortheInternetofThings-
a5a86ae38b3a4c625dfc1213d32a3f49e1e298c6
[ "MIT" ]
6
2017-05-17T17:51:45.000Z
2021-11-08T13:10:35.000Z
Chapter14/config_parser_read.py
PacktPublishing/GettingStartedwithPythonfortheInternetofThings-
a5a86ae38b3a4c625dfc1213d32a3f49e1e298c6
[ "MIT" ]
null
null
null
Chapter14/config_parser_read.py
PacktPublishing/GettingStartedwithPythonfortheInternetofThings-
a5a86ae38b3a4c625dfc1213d32a3f49e1e298c6
[ "MIT" ]
14
2017-05-21T17:59:40.000Z
2021-10-02T16:58:16.000Z
#!/usr/bin/python3 import configparser if __name__ == "__main__": # initialize ConfigParser config_parser = configparser.ConfigParser() # Let's read the config file config_parser.read('raspi.cfg') device_id = config_parser.get('AppInfo', 'id') debug_switch = config_parser.get('AppInfo', 'debug_switch') senso...
26.190476
64
0.736364
75
550
5.106667
0.413333
0.156658
0.117493
0.172324
0
0
0
0
0
0
0
0.002123
0.143636
550
20
65
27.5
0.81104
0.205455
0
0
0
0
0.252315
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.2
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
61634c5d28ec0e5fa95553fd25e04a02267c3a23
301
py
Python
common/src/stack/command/stack/commands/report/system/tests/test_df.py
khanfluence/stacki-cumulus-switch
df54afb20f6ea6a3a136b3c09b30df54ea79ffcc
[ "BSD-3-Clause" ]
123
2015-05-12T23:36:45.000Z
2017-07-05T23:26:57.000Z
common/src/stack/command/stack/commands/report/system/tests/test_df.py
khanfluence/stacki-cumulus-switch
df54afb20f6ea6a3a136b3c09b30df54ea79ffcc
[ "BSD-3-Clause" ]
177
2015-06-05T19:17:47.000Z
2017-07-07T17:57:24.000Z
common/src/stack/command/stack/commands/report/system/tests/test_df.py
khanfluence/stacki-cumulus-switch
df54afb20f6ea6a3a136b3c09b30df54ea79ffcc
[ "BSD-3-Clause" ]
32
2015-06-07T02:25:03.000Z
2017-06-23T07:35:35.000Z
import shutil def test_slash_not_full(host): total, used, free = shutil.disk_usage('/') assert free > 0 def test_export_not_full(host): total, used, free = shutil.disk_usage('/export') assert free > 0 def test_var_not_full(host): total, used, free = shutil.disk_usage('/var') assert free > 0
21.5
49
0.724252
49
301
4.204082
0.346939
0.101942
0.160194
0.23301
0.742718
0.567961
0.567961
0.567961
0.567961
0
0
0.011673
0.146179
301
13
50
23.153846
0.789883
0
0
0.3
0
0
0.039867
0
0
0
0
0
0.3
1
0.3
false
0
0.1
0
0.4
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
6163a41389d6c9447247605bd31c2fde594d5dae
748
py
Python
mintohours_norm.py
GiacomoCrevani/CESP_MSc_thesis
bce0b6ccee06630a04c5590caf0b4ed42b359c90
[ "CC0-1.0" ]
null
null
null
mintohours_norm.py
GiacomoCrevani/CESP_MSc_thesis
bce0b6ccee06630a04c5590caf0b4ed42b359c90
[ "CC0-1.0" ]
null
null
null
mintohours_norm.py
GiacomoCrevani/CESP_MSc_thesis
bce0b6ccee06630a04c5590caf0b4ed42b359c90
[ "CC0-1.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Fri Sep 10 10:18:55 2021 @author: giaco """ #code useful to shift from min resolution to hourly, such that the csv load demand can be fed as input to MicrogridsPy #yearly profile is required import numpy as np import pandas as pd #minute and hour indexes minute_in...
27.703704
119
0.695187
130
748
3.946154
0.607692
0.023392
0
0
0
0
0
0
0
0
0
0.085106
0.183155
748
26
120
28.769231
0.754501
0.364973
0
0
0
0
0.351039
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
616495d99eaadbc172ec861f51af65378cdd26cd
2,314
py
Python
Git-Gamer.py
nikilson/git-gamer
d0862f8d2cbbc47d057975b9af87fdebece9132f
[ "MIT" ]
null
null
null
Git-Gamer.py
nikilson/git-gamer
d0862f8d2cbbc47d057975b9af87fdebece9132f
[ "MIT" ]
null
null
null
Git-Gamer.py
nikilson/git-gamer
d0862f8d2cbbc47d057975b9af87fdebece9132f
[ "MIT" ]
null
null
null
import os from os import path from datetime import datetime import subprocess # Checking the default location # add remote location home = (path.expanduser("~")) git_gamer_location = path.join(home, "GitGamer") current_cwd = os.getcwd() #hide console # si = subprocess.STARTUPINFO() # si.dwFlags |= subprocess.STARTF_U...
32.138889
80
0.703976
341
2,314
4.557185
0.316716
0.081081
0.082368
0.03861
0.151223
0.151223
0.10103
0.07722
0
0
0
0.001541
0.1586
2,314
72
81
32.138889
0.79661
0.085566
0
0.137255
0
0
0.178922
0.011275
0
0
0
0
0
1
0.019608
false
0
0.078431
0
0.117647
0.019608
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6164c0914aca12f9a4b8a2c1a13e7d76578e7120
2,564
py
Python
src/objective.py
azane/chomp
843ce07148389a63f46091daed12c83c8a3ac52c
[ "MIT" ]
1
2022-03-27T11:02:54.000Z
2022-03-27T11:02:54.000Z
src/objective.py
azane/chomp
843ce07148389a63f46091daed12c83c8a3ac52c
[ "MIT" ]
null
null
null
src/objective.py
azane/chomp
843ce07148389a63f46091daed12c83c8a3ac52c
[ "MIT" ]
1
2022-03-27T11:03:22.000Z
2022-03-27T11:03:22.000Z
import numpy as np import theano as th import sympy as sm import theano.tensor as tt from typing import * def slow_fdiff_1(n: int) -> np.ndarray: K = np.diag(np.ones(n) * -1, 0) K += np.diag(np.ones(n - 1) * 1, 1) K = np.vstack((np.zeros(n), K)) K[0, 0] = 1. K[-1, -1] = -1. return K def slow...
26.163265
80
0.585803
417
2,564
3.558753
0.302158
0.010782
0.043127
0.045822
0.231806
0.177898
0.177898
0.157682
0.157682
0.114555
0
0.021455
0.25468
2,564
98
81
26.163265
0.755102
0.24688
0
0.181818
0
0
0.001586
0
0
0
0
0
0.036364
1
0.127273
false
0
0.090909
0
0.345455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6166fba4b94593c2647210c0e98e1420a4c404f3
649
py
Python
regex-improve.py
tylerjereddy/regex-improve
526ac8ae1bb97bbc5401f3e1796a065ca6d30d98
[ "MIT" ]
null
null
null
regex-improve.py
tylerjereddy/regex-improve
526ac8ae1bb97bbc5401f3e1796a065ca6d30d98
[ "MIT" ]
1
2020-12-28T23:01:49.000Z
2020-12-29T15:47:39.000Z
regex-improve.py
tylerjereddy/regex-improve
526ac8ae1bb97bbc5401f3e1796a065ca6d30d98
[ "MIT" ]
null
null
null
import lib from lib import extra_char_class, general import argparse if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument("-d", help="target directory") parser.add_argument("-n", help="name of regex offense") args = parser.par...
30.904762
77
0.644068
72
649
5.5
0.527778
0.161616
0.106061
0
0
0
0
0
0
0
0
0
0.268105
649
20
78
32.45
0.833684
0.11094
0
0
0
0
0.113438
0
0
0
0
0
0
1
0
false
0
0.214286
0
0.214286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
61678ae5338640a2f904c427e986cfa9ce80ea04
2,200
py
Python
radarly/user.py
gvannest/radarly-py
fba9a575b0d1e4d6a2f1041506ece55298b17e0f
[ "Apache-2.0" ]
6
2018-04-27T10:01:46.000Z
2019-02-19T13:14:16.000Z
radarly/user.py
gvannest/radarly-py
fba9a575b0d1e4d6a2f1041506ece55298b17e0f
[ "Apache-2.0" ]
1
2021-02-16T04:12:44.000Z
2021-03-19T08:05:10.000Z
radarly/user.py
gvannest/radarly-py
fba9a575b0d1e4d6a2f1041506ece55298b17e0f
[ "Apache-2.0" ]
5
2019-02-04T17:11:06.000Z
2021-11-12T05:07:43.000Z
""" This module defines objects used to explore information about a Radarly User. For security reasons, you can only retrieve information about the current user of the API. """ from .api import RadarlyApi from .model import SourceModel from .project import InfoProject class User(SourceModel): """Object used to e...
34.375
83
0.612727
277
2,200
4.787004
0.415162
0.022624
0.027149
0.036199
0.031674
0.031674
0
0
0
0
0
0.002558
0.289091
2,200
63
84
34.920635
0.845269
0.591364
0
0
0
0
0.1
0.031507
0
0
0
0
0
1
0.15
false
0
0.15
0
0.45
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
61696efc02baa4bd76628d5a785149b2ecf4ac45
11,300
py
Python
018-crackme-z3/asdf.py
gynvael/stream
2d1a3f25b2f83241b39dab931d9ff03fca81d26e
[ "MIT" ]
152
2016-02-04T10:40:46.000Z
2022-03-03T18:25:54.000Z
018-crackme-z3/asdf.py
gynvael/stream
2d1a3f25b2f83241b39dab931d9ff03fca81d26e
[ "MIT" ]
4
2016-03-11T23:49:46.000Z
2017-06-16T18:58:53.000Z
018-crackme-z3/asdf.py
gynvael/stream
2d1a3f25b2f83241b39dab931d9ff03fca81d26e
[ "MIT" ]
48
2016-01-31T19:13:36.000Z
2021-09-03T19:50:17.000Z
from z3 import * def movsx(v): return ZeroExt(32 - 8, v) def imul(a, b, c = None): if c is None: return a * b return b * c def xor_(r, v): return r ^ v def or_(r, v): return r | v def mov(_, r2): return r2 def shr(r1, c): return LShR(r1, c) def shl(r1, c): return r1 <...
24.197002
43
0.544867
1,926
11,300
3.089304
0.03946
0.035294
0.024202
0.02521
0.725882
0.689076
0.684706
0.684706
0.656134
0.656134
0
0.086348
0.285664
11,300
466
44
24.248927
0.650768
0.001681
0
0.739421
0
0
0.01378
0
0
0
0.050402
0
0
0
null
null
0
0.002227
null
null
0.002227
0
0
0
null
0
0
0
0
0
0
0
0
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
3
6169a29f451a12cc8e1ba3235f472011542270b8
6,388
py
Python
appengine/gce-backend/models.py
Swift1313/luci-py
0a4fdfc25f89833026be6a8b29c0a27b8f3c5fc4
[ "Apache-2.0" ]
null
null
null
appengine/gce-backend/models.py
Swift1313/luci-py
0a4fdfc25f89833026be6a8b29c0a27b8f3c5fc4
[ "Apache-2.0" ]
null
null
null
appengine/gce-backend/models.py
Swift1313/luci-py
0a4fdfc25f89833026be6a8b29c0a27b8f3c5fc4
[ "Apache-2.0" ]
null
null
null
# Copyright 2016 The LUCI Authors. All rights reserved. # Use of this source code is governed under the Apache License, Version 2.0 # that can be found in the LICENSE file. """Datastore model for GCE Backend.""" from google.appengine.ext import ndb from google.appengine.ext.ndb import msgprop from components.machine...
42.304636
79
0.770664
822
6,388
5.940389
0.243309
0.056523
0.083555
0.100963
0.384395
0.272578
0.164653
0.139873
0.094204
0.077002
0
0.001863
0.159518
6,388
150
80
42.586667
0.907618
0.539292
0
0.057692
0
0
0
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.942308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
616a739668994a5946257c047aa9b7976b970b06
456
py
Python
src/core/settings/drf.py
SELO77/django_template
7686ffc3ea0f5eba355702426a94c98a7f71086d
[ "BSD-2-Clause" ]
null
null
null
src/core/settings/drf.py
SELO77/django_template
7686ffc3ea0f5eba355702426a94c98a7f71086d
[ "BSD-2-Clause" ]
null
null
null
src/core/settings/drf.py
SELO77/django_template
7686ffc3ea0f5eba355702426a94c98a7f71086d
[ "BSD-2-Clause" ]
null
null
null
REST_FRAMEWORK = { 'DEFAULT_PERMISSION_CLASSES': ( 'rest_framework.permissions.AllowAny', ), 'DEFAULT_THROTTLE_CLASSES': ( 'rest_framework.throttling.AnonRateThrottle', 'rest_framework.throttling.UserRateThrottle', 'core.throttling.PreSingUpThrottle', ), 'DEFAULT_THRO...
26.823529
53
0.620614
39
456
7
0.666667
0.190476
0.14652
0
0
0
0
0
0
0
0
0.014327
0.234649
456
17
54
26.823529
0.767908
0
0
0.125
0
0
0.612691
0.490153
0
0
0
0
0
1
0
false
0
0
0
0
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
617041d0e30c332e98269360d1d57e46d26d1bed
57
py
Python
trading.py
samanbalahang/tradingBot
9432c813957a64808058637f3409160ad8e6dcab
[ "MIT" ]
null
null
null
trading.py
samanbalahang/tradingBot
9432c813957a64808058637f3409160ad8e6dcab
[ "MIT" ]
null
null
null
trading.py
samanbalahang/tradingBot
9432c813957a64808058637f3409160ad8e6dcab
[ "MIT" ]
null
null
null
from driver import driver driver.printWhatIneed(driver)
14.25
29
0.842105
7
57
6.857143
0.571429
0
0
0
0
0
0
0
0
0
0
0
0.105263
57
3
30
19
0.941176
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
5
61723a1b20b4237f505c9fd4feae8442da74d3da
1,430
py
Python
utils/reshuffle.py
Longday0923/CODAH_Baseline
e9e331452a12c85e35969833cbfc824d6c0256c1
[ "MIT" ]
196
2020-05-05T01:29:52.000Z
2022-03-29T04:07:54.000Z
utils/reshuffle.py
Longday0923/CODAH_Baseline
e9e331452a12c85e35969833cbfc824d6c0256c1
[ "MIT" ]
15
2020-06-29T13:48:21.000Z
2022-03-30T06:51:02.000Z
utils/reshuffle.py
Longday0923/CODAH_Baseline
e9e331452a12c85e35969833cbfc824d6c0256c1
[ "MIT" ]
48
2020-05-07T12:11:07.000Z
2022-03-18T05:28:08.000Z
import argparse import json from tqdm import tqdm import numpy as np params = { 'src':{ 'train': './data/{ds}/statement/train.statement.jsonl', 'dev': './data/{ds}/statement/dev.statement.jsonl', }, 'tgt':{ 'train': './data/{ds}/statement/train.statement_.jsonl', 'dev': './d...
22.698413
82
0.603497
203
1,430
4.20197
0.35468
0.028136
0.07034
0.046893
0.260258
0.173505
0.173505
0.173505
0.173505
0.173505
0
0.004401
0.205594
1,430
62
83
23.064516
0.746479
0
0
0.043478
0
0
0.175562
0.119382
0
0
0
0
0
1
0.021739
false
0
0.086957
0
0.130435
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6174f1287314ede549a08cfd2e4fe1fae8d82fdd
1,813
py
Python
solar/orchestration/executor.py
Mirantis/solar
7d12e56d403d70a923cd1caa9c7e3c8cf6fc57aa
[ "Apache-2.0" ]
7
2015-09-07T22:52:32.000Z
2016-01-14T09:27:09.000Z
solar/orchestration/executor.py
Mirantis/solar
7d12e56d403d70a923cd1caa9c7e3c8cf6fc57aa
[ "Apache-2.0" ]
117
2015-09-08T05:46:16.000Z
2016-04-14T16:46:33.000Z
solar/orchestration/executor.py
Mirantis/solar
7d12e56d403d70a923cd1caa9c7e3c8cf6fc57aa
[ "Apache-2.0" ]
21
2015-09-08T06:34:50.000Z
2015-12-09T09:14:24.000Z
# Copyright 2015 Mirantis, Inc. # # 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 ...
32.375
78
0.675124
269
1,813
4.446097
0.483271
0.046823
0.033445
0.046823
0
0
0
0
0
0
0
0.005662
0.220629
1,813
55
79
32.963636
0.840764
0.478764
0
0
0
0
0.086768
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.047619
0.380952
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
617706d9af1528050554eb4adddf06173dba8150
1,016
py
Python
colors.py
roralsorom/hfdoyedu
2281a7f98d20d9aae451d245df6a3310327f8988
[ "MIT" ]
null
null
null
colors.py
roralsorom/hfdoyedu
2281a7f98d20d9aae451d245df6a3310327f8988
[ "MIT" ]
null
null
null
colors.py
roralsorom/hfdoyedu
2281a7f98d20d9aae451d245df6a3310327f8988
[ "MIT" ]
null
null
null
import platform, os try: if platform.system() == 'Windows': os.system('cls') else: os.system('clear') except: pass # Foreground colors def black(): return '\u001b[30;1m' def red(): return '\u001b[31;1m' def green(): return '\u001b[32;1m' def yellow(): return '\u001b[33;1...
15.393939
85
0.600394
153
1,016
3.882353
0.424837
0.314815
0.070707
0
0
0
0
0
0
0
0
0.127065
0.225394
1,016
66
86
15.393939
0.6277
0.034449
0
0
0
0
0.312564
0
0
0
0
0
0
1
0.377778
true
0.022222
0.022222
0.377778
0.777778
0.022222
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
5
617945e5c13e5b25e8537f02420f73656a8bb4f4
235
py
Python
server/utils/__init__.py
yseiren87/jellicleSpace
10d693bbc04e6b89a7ce15d2dc9797cec2a553b7
[ "Apache-2.0" ]
null
null
null
server/utils/__init__.py
yseiren87/jellicleSpace
10d693bbc04e6b89a7ce15d2dc9797cec2a553b7
[ "Apache-2.0" ]
7
2021-03-19T04:47:00.000Z
2021-09-22T19:10:46.000Z
server/utils/__init__.py
yseiren87/jellicleSpace
10d693bbc04e6b89a7ce15d2dc9797cec2a553b7
[ "Apache-2.0" ]
null
null
null
from .hash import HashUtil from .log import log, LogUtil from .choice import Choice, ChoiceUtil from .parameter_keys import ParameterKeys from .page import PageAdapter, Page, PageListABC from .response import get_serializer_error_code
33.571429
48
0.838298
32
235
6.03125
0.59375
0
0
0
0
0
0
0
0
0
0
0
0.119149
235
6
49
39.166667
0.932367
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
617a966d2ec2515454023b0e3b38beba6de4a70c
3,164
py
Python
SUAVE/SUAVE-2.5.0/trunk/SUAVE/Optimization/line_plot.py
Vinicius-Tanigawa/Undergraduate-Research-Project
e92372f07882484b127d7affe305eeec2238b8a9
[ "MIT" ]
null
null
null
SUAVE/SUAVE-2.5.0/trunk/SUAVE/Optimization/line_plot.py
Vinicius-Tanigawa/Undergraduate-Research-Project
e92372f07882484b127d7affe305eeec2238b8a9
[ "MIT" ]
null
null
null
SUAVE/SUAVE-2.5.0/trunk/SUAVE/Optimization/line_plot.py
Vinicius-Tanigawa/Undergraduate-Research-Project
e92372f07882484b127d7affe305eeec2238b8a9
[ "MIT" ]
null
null
null
## @ingroup Optimization # line_plot.py # # Created: Oct 2017, M. Vegh # Modified: Nov 2017, M. Vegh # May 2021, E. Botero # ---------------------------------------------------------------------- # Imports # ------------------------------------------- from SUAVE.Core import Data import numpy as np imp...
28.763636
116
0.523704
353
3,164
4.524079
0.31728
0.035066
0.061365
0.013776
0.052599
0.03757
0.03757
0.03757
0
0
0
0.02153
0.310051
3,164
110
117
28.763636
0.710032
0.378003
0
0.04878
0
0
0
0
0
0
0
0
0
1
0.02439
false
0
0.073171
0
0.121951
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
617acae417a764a9156239c61c9cc59f10cf60e7
4,725
py
Python
tests/models/torch/q_functions/test_qr_q_function.py
ningyixue/AIPI530_Final_Project
b95353ffd003692a37a59042dfcd744a18b7e802
[ "MIT" ]
565
2020-08-01T02:44:28.000Z
2022-03-30T15:00:54.000Z
tests/models/torch/q_functions/test_qr_q_function.py
ningyixue/AIPI530_Final_Project
b95353ffd003692a37a59042dfcd744a18b7e802
[ "MIT" ]
144
2020-08-01T03:45:10.000Z
2022-03-30T14:51:16.000Z
tests/models/torch/q_functions/test_qr_q_function.py
ningyixue/AIPI530_Final_Project
b95353ffd003692a37a59042dfcd744a18b7e802
[ "MIT" ]
103
2020-08-26T13:27:34.000Z
2022-03-31T12:24:27.000Z
import numpy as np import pytest import torch from d3rlpy.models.torch import ContinuousQRQFunction, DiscreteQRQFunction from d3rlpy.models.torch.q_functions.qr_q_function import _make_taus from d3rlpy.models.torch.q_functions.utility import ( pick_quantile_value_by_action, ) from ..model_test import ( DummyE...
35
79
0.699471
700
4,725
4.427143
0.125714
0.084221
0.035495
0.058083
0.815424
0.748629
0.681187
0.64182
0.64182
0.64182
0
0.023112
0.175873
4,725
134
80
35.261194
0.772727
0.055026
0
0.536082
0
0
0.02382
0
0
0
0
0
0.113402
1
0.020619
false
0
0.072165
0
0.092784
0
0
0
0
null
0
0
0
1
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
617be70d6fecc6506f598c0678a0433f7d103f61
1,636
py
Python
tensorflow/contrib/tensor_forest/hybrid/python/hybrid_layer.py
uve/tensorflow
e08079463bf43e5963acc41da1f57e95603f8080
[ "Apache-2.0" ]
6
2022-02-04T18:12:24.000Z
2022-03-21T23:57:12.000Z
Lib/site-packages/tensorflow/contrib/tensor_forest/hybrid/python/hybrid_layer.py
shfkdroal/Robot-Learning-in-Mixed-Adversarial-and-Collaborative-Settings
1fa4cd6a566c8745f455fc3d2273208f21f88ced
[ "bzip2-1.0.6" ]
1
2021-05-20T00:58:04.000Z
2021-05-20T00:58:04.000Z
Lib/site-packages/tensorflow/contrib/tensor_forest/hybrid/python/hybrid_layer.py
shfkdroal/Robot-Learning-in-Mixed-Adversarial-and-Collaborative-Settings
1fa4cd6a566c8745f455fc3d2273208f21f88ced
[ "bzip2-1.0.6" ]
1
2022-02-08T03:53:23.000Z
2022-02-08T03:53:23.000Z
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
38.952381
85
0.690709
199
1,636
5.517588
0.572864
0.054645
0.043716
0.029144
0
0
0
0
0
0
0
0.006056
0.192543
1,636
41
86
39.902439
0.825132
0.517726
0
0.117647
0
0
0
0
0
0
0
0
0
1
0.176471
false
0
0.235294
0
0.470588
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
617d27d4548b76f46d756f8b92e2089d0b92bead
2,553
py
Python
src/webpubsub/azext_webpubsub/commands.py
sanmishra18/azure-cli-extensions
05499b7931a1fe4cd4536a6b83fa4f8f13663996
[ "MIT" ]
null
null
null
src/webpubsub/azext_webpubsub/commands.py
sanmishra18/azure-cli-extensions
05499b7931a1fe4cd4536a6b83fa4f8f13663996
[ "MIT" ]
1
2020-07-30T06:44:01.000Z
2020-07-30T06:44:01.000Z
src/webpubsub/azext_webpubsub/commands.py
Juliehzl/azure-cli-extensions
b0b33f4d45c2e4c50ece782851291d967e1f36e2
[ "MIT" ]
1
2020-11-09T17:17:42.000Z
2020-11-09T17:17:42.000Z
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
42.55
94
0.655307
280
2,553
5.646429
0.292857
0.050601
0.047438
0.063251
0.466161
0.330803
0.097407
0
0
0
0
0.004276
0.17548
2,553
59
95
43.271186
0.746793
0.143361
0
0.095238
0
0
0.268684
0.080697
0
0
0
0
0
1
0.02381
false
0
0.071429
0
0.095238
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
617ec542b17aa0614e17eb7e4ef071d83563f0fa
5,730
py
Python
wte/src/ebook.py
webalorn/web-to-ebook
19ca8810ad1da04dda7e348c709fa93e56f48377
[ "MIT" ]
null
null
null
wte/src/ebook.py
webalorn/web-to-ebook
19ca8810ad1da04dda7e348c709fa93e56f48377
[ "MIT" ]
null
null
null
wte/src/ebook.py
webalorn/web-to-ebook
19ca8810ad1da04dda7e348c709fa93e56f48377
[ "MIT" ]
null
null
null
import json import datetime import imghdr import os from ebooklib import epub from .util import Log, do_hash, downoad_image, format_filename from .util import ImageData, TmpImageData class Chapter: def __init__(self, title='', content=''): self.title = title self.content = content self.f...
29.536082
92
0.549215
671
5,730
4.554396
0.205663
0.04123
0.014725
0.015707
0.073953
0.040576
0.020942
0
0
0
0
0.001313
0.335602
5,730
193
93
29.689119
0.801418
0.011518
0
0.104575
0
0
0.092435
0.020855
0
0
0
0
0
1
0.091503
false
0
0.045752
0.019608
0.215686
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
617f4db708e6677801930a8cb78c9f9531107ac6
537
py
Python
Curso_Python/funcoes.py
FranciscoCabrita1/Cabrita
af9dfb12dbc64cf6181d4e906156170c5449877e
[ "MIT" ]
5
2020-08-24T23:29:58.000Z
2022-02-07T19:58:07.000Z
Curso_Python/funcoes.py
lulavalenca/Curso-Completo-de-Python-no-Youtube
af9dfb12dbc64cf6181d4e906156170c5449877e
[ "MIT" ]
null
null
null
Curso_Python/funcoes.py
lulavalenca/Curso-Completo-de-Python-no-Youtube
af9dfb12dbc64cf6181d4e906156170c5449877e
[ "MIT" ]
2
2020-08-24T23:30:06.000Z
2021-12-23T18:23:38.000Z
def soma(num1, num2): soma1 = num1 soma2 = num2 soma_total = soma1 + soma2 return soma_total def sub(num1, num2): sub1 = num1 sub2 = num2 sub_total = sub1 - sub2 return sub_total def mult(num1, num2): mult1 = num1 mult2 = num2 mult_total = mult1 * mult2 return mult_tota...
15.794118
30
0.621974
83
537
3.903614
0.325301
0.098765
0
0
0
0
0
0
0
0
0
0.108808
0.281192
537
33
31
16.272727
0.73057
0
0
0
0
0
0
0
0
0
0
0
0
1
0.153846
false
0
0
0
0.307692
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
617fe9d2491f54f1bdb39bd1f350bb89243e2b5c
2,510
py
Python
setup.py
all-in-one-of/vfxwindow
247571512ffbfd4deb2ba505a75c5de658efffbd
[ "MIT" ]
null
null
null
setup.py
all-in-one-of/vfxwindow
247571512ffbfd4deb2ba505a75c5de658efffbd
[ "MIT" ]
null
null
null
setup.py
all-in-one-of/vfxwindow
247571512ffbfd4deb2ba505a75c5de658efffbd
[ "MIT" ]
1
2021-02-17T00:00:10.000Z
2021-02-17T00:00:10.000Z
import os from setuptools import setup, find_packages # Get the README.md text with open(os.path.join(os.path.dirname(__file__), 'README.md'), 'r') as f: readme = f.read() # Parse vfxwindow/__init__.py for a version with open(os.path.join(os.path.dirname(__file__), 'vfxwindow/__init__.py'), 'r') as f: for li...
39.21875
104
0.604781
278
2,510
5.33813
0.543165
0.115229
0.151617
0.105121
0.196766
0.140162
0.04717
0.04717
0.04717
0
0
0.022063
0.223506
2,510
63
105
39.84127
0.739354
0.025498
0
0.035088
0
0
0.507163
0.017192
0
0
0
0
0
1
0
false
0
0.035088
0
0.035088
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
618125d2be7dce4de9f6012471e1a0187416e62e
1,085
py
Python
tests/tamr_client/dataset/test_unified.py
ianbakst/tamr-client
ae7a6190a2251d31f973f9d5a7170ac5dc097f97
[ "Apache-2.0" ]
9
2019-08-13T11:07:06.000Z
2022-01-14T18:15:13.000Z
tests/tamr_client/dataset/test_unified.py
ianbakst/tamr-client
ae7a6190a2251d31f973f9d5a7170ac5dc097f97
[ "Apache-2.0" ]
166
2019-08-09T18:51:05.000Z
2021-12-02T15:24:15.000Z
tests/tamr_client/dataset/test_unified.py
ianbakst/tamr-client
ae7a6190a2251d31f973f9d5a7170ac5dc097f97
[ "Apache-2.0" ]
21
2019-08-12T15:37:31.000Z
2021-06-15T14:06:23.000Z
import pytest import tamr_client as tc from tests.tamr_client import fake @fake.json def test_from_project(): s = fake.session() project = fake.mastering_project() unified_dataset = tc.dataset.unified.from_project(s, project) assert unified_dataset.name == "dataset 1 name" assert unified_dataset...
26.463415
68
0.693088
138
1,085
5.23913
0.362319
0.135546
0.08852
0.062241
0.276625
0.276625
0.204703
0
0
0
0
0.003425
0.192627
1,085
40
69
27.125
0.821918
0
0
0.266667
0
0
0.132719
0
0
0
0
0
0.2
1
0.1
false
0
0.1
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6182c969ad7fb85cbef2147f3700b1928d79dc52
827
py
Python
benchmarks/cof/benchmark_kagome.py
andrewtarzia/stk
1ac2ecbb5c9940fe49ce04cbf5603fd7538c475a
[ "MIT" ]
21
2018-04-12T16:25:24.000Z
2022-02-14T23:05:43.000Z
benchmarks/cof/benchmark_kagome.py
JelfsMaterialsGroup/stk
0d3e1b0207aa6fa4d4d5ee8dfe3a29561abb08a2
[ "MIT" ]
8
2019-03-19T12:36:36.000Z
2020-11-11T12:46:00.000Z
benchmarks/cof/benchmark_kagome.py
supramolecular-toolkit/stk
0d3e1b0207aa6fa4d4d5ee8dfe3a29561abb08a2
[ "MIT" ]
5
2018-08-07T13:00:16.000Z
2021-11-01T00:55:10.000Z
from __future__ import annotations import pytest import stk def build_kagome( lattice_size: tuple[int, int, int], ) -> stk.ConstructedMolecule: bb1 = stk.BuildingBlock('BrCCBr', [stk.BromoFactory()]) bb2 = stk.BuildingBlock( smiles='BrC1C(Br)CC(Br)C(Br)C1', functional_groups=[stk.BromoFa...
20.170732
59
0.61185
97
827
5.051546
0.43299
0.134694
0.067347
0.085714
0.102041
0.102041
0
0
0
0
0
0.024351
0.255139
827
40
60
20.675
0.771104
0
0
0.125
0
0
0.033857
0.026602
0
0
0
0
0
1
0.09375
false
0
0.09375
0.03125
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
61834390d44ad5f3b9dd369dbaaec75a4acc533c
363
py
Python
intro/part05-03_go/src/go.py
Hannah-Abi/python-pro-21
2ce32c4bf118054329d19afdf83c50561be1ada8
[ "MIT" ]
null
null
null
intro/part05-03_go/src/go.py
Hannah-Abi/python-pro-21
2ce32c4bf118054329d19afdf83c50561be1ada8
[ "MIT" ]
null
null
null
intro/part05-03_go/src/go.py
Hannah-Abi/python-pro-21
2ce32c4bf118054329d19afdf83c50561be1ada8
[ "MIT" ]
null
null
null
# Write your solution here def who_won(game_board: list): score1 = 0 score2 = 0 for row in game_board: for square in row: if square == 1: score1 += 1 if square == 2: score2 += 1 if score1 > score2: return 1 elif score1 <score2: ...
22.6875
30
0.490358
46
363
3.804348
0.5
0.102857
0.205714
0
0
0
0
0
0
0
0
0.084158
0.443526
363
16
31
22.6875
0.782178
0.066116
0
0
0
0
0
0
0
0
0
0
0
1
0.066667
false
0
0
0
0.266667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
61844ed5b13cdfaa913f4dc893bd0de862df86b6
4,538
py
Python
model_compress/distil/theseus/classifier.py
Oneflow-Inc/Oneflow-Model-Compression
1a346fa0a586ee0277814ecb56e5bee772d9bb05
[ "Apache-2.0" ]
4
2021-03-19T02:40:41.000Z
2022-01-10T15:25:47.000Z
model_compress/distil/theseus/classifier.py
Oneflow-Inc/Oneflow-Model-Compression
1a346fa0a586ee0277814ecb56e5bee772d9bb05
[ "Apache-2.0" ]
1
2022-03-04T07:19:43.000Z
2022-03-04T07:19:43.000Z
model_compress/distil/theseus/classifier.py
Oneflow-Inc/Oneflow-Model-Compression
1a346fa0a586ee0277814ecb56e5bee772d9bb05
[ "Apache-2.0" ]
3
2021-03-19T02:40:46.000Z
2021-08-10T06:42:17.000Z
""" Copyright 2020 The OneFlow Authors. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agr...
35.732283
92
0.697223
569
4,538
5.198594
0.304042
0.043949
0.018932
0.017241
0.220419
0.158553
0.07336
0.022312
0
0
0
0.01375
0.230718
4,538
126
93
36.015873
0.833572
0.160423
0
0.117647
0
0
0.019205
0
0
0
0
0
0
1
0.029412
false
0
0.039216
0
0.098039
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
618468ad6f14a6779b255dc46c34d2d8d1593c9f
3,027
py
Python
learned_control.py
roatienza/gym-miniworld
2c377975e34ab588900a3c019ade126f14336610
[ "Apache-2.0" ]
null
null
null
learned_control.py
roatienza/gym-miniworld
2c377975e34ab588900a3c019ade126f14336610
[ "Apache-2.0" ]
null
null
null
learned_control.py
roatienza/gym-miniworld
2c377975e34ab588900a3c019ade126f14336610
[ "Apache-2.0" ]
null
null
null
""" This script allows a trained policy to control the simulator. Usage: """ import sys import argparse import pyglet import math from pyglet import clock import numpy as np import gym import gym_miniworld import torch from policy import DDPGActor import os os.environ["KMP_DUPLICATE_LIB_OK"]="TRUE" device = torch...
25.436975
108
0.664024
427
3,027
4.569087
0.35363
0.023065
0.043567
0.047155
0.08816
0.08816
0.031779
0
0
0
0
0.004858
0.184011
3,027
119
109
25.436975
0.78502
0.08226
0
0.15
0
0
0.157133
0.010138
0
0
0
0
0
1
0.0625
false
0.0125
0.1375
0
0.2125
0.1375
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
61868506a540e6d64a7676c2f81831e96a954fd0
7,000
py
Python
welib/beams/theory.py
moonieann/welib
0e430ad3ca034d0d2d60bdb7bbe06c947ce08f52
[ "MIT" ]
24
2019-07-24T23:37:10.000Z
2022-03-30T20:40:40.000Z
welib/beams/theory.py
moonieann/welib
0e430ad3ca034d0d2d60bdb7bbe06c947ce08f52
[ "MIT" ]
null
null
null
welib/beams/theory.py
moonieann/welib
0e430ad3ca034d0d2d60bdb7bbe06c947ce08f52
[ "MIT" ]
11
2019-03-14T13:47:04.000Z
2022-03-31T15:47:27.000Z
import numpy as np import scipy.optimize as sciopt def UniformBeamBendingModes(Type,EI,rho,A,L,w=None,x=None,Mtop=0,norm='tip_norm',nModes=4): """ returns Mode shapes and frequencies for a uniform beam in bending References: Inman : Engineering variation Author: E. Branlard""" if x is N...
40.462428
143
0.503286
1,086
7,000
3.21547
0.162983
0.0252
0.041237
0.020619
0.597938
0.583047
0.520905
0.461913
0.453895
0.451031
0
0.045782
0.285429
7,000
172
144
40.697674
0.652339
0.320143
0
0.5
0
0
0.093938
0.019776
0
0
0
0
0
1
0.029412
false
0.009804
0.019608
0
0.078431
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6189d5672ebf077fa41e985fa4017fb1eed01eb4
2,095
py
Python
Simulacoes_Mdf/calor1d-mdf.py
Devsart/MecFlu-TransCal-Comp-EM
65997ad52decbd18ed9f2cba24773831a60821cd
[ "MIT" ]
2
2021-11-17T15:36:11.000Z
2022-03-22T03:10:34.000Z
Simulacoes_Mdf/calor1d-mdf.py
Devsart/MecFlu-TransCal-Comp-EM
65997ad52decbd18ed9f2cba24773831a60821cd
[ "MIT" ]
null
null
null
Simulacoes_Mdf/calor1d-mdf.py
Devsart/MecFlu-TransCal-Comp-EM
65997ad52decbd18ed9f2cba24773831a60821cd
[ "MIT" ]
null
null
null
## =================================================================== ## # this is file calor1d-mdf.py, created at 10-Aug-2021 # # maintained by Gustavo Rabello dos Anjos # # e-mail: gustavo.rabello@gmail.com # ## =======================...
24.940476
73
0.500716
313
2,095
3.351438
0.354633
0.011439
0.08103
0.037178
0.175405
0.034318
0.034318
0.034318
0.034318
0
0
0.030916
0.197136
2,095
83
74
25.240964
0.592747
0.538902
0
0
0
0
0.07684
0
0
0
0
0
0
1
0
false
0
0.052632
0
0.052632
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
618ade09c95d4239170873da2e9d324707a951ba
3,115
py
Python
gym_reinmav/envs/mujoco/mujoco_quad.py
peterminh227/reinmav-gym
518122b16b86d59f744b3116e6187dafd49a3de4
[ "BSD-3-Clause" ]
60
2019-03-08T21:14:38.000Z
2022-01-23T20:43:21.000Z
gym_reinmav/envs/mujoco/mujoco_quad.py
peterminh227/reinmav-gym
518122b16b86d59f744b3116e6187dafd49a3de4
[ "BSD-3-Clause" ]
8
2019-03-09T09:09:38.000Z
2022-03-25T15:36:51.000Z
gym_reinmav/envs/mujoco/mujoco_quad.py
peterminh227/reinmav-gym
518122b16b86d59f744b3116e6187dafd49a3de4
[ "BSD-3-Clause" ]
22
2019-03-08T19:47:49.000Z
2022-03-29T09:14:01.000Z
# ********************************************************************** # # Copyright (c) 2019, Autonomous Systems Lab # Author: Dongho Kang <eastsky.kang@gmail.com> # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # ...
36.647059
80
0.669342
418
3,115
4.88756
0.478469
0.019579
0.016642
0.022516
0.090064
0.066569
0.066569
0.066569
0.066569
0.066569
0
0.006486
0.208026
3,115
85
81
36.647059
0.821646
0.551204
0
0.055556
0
0
0.0211
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.083333
0.527778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
618bc5da5028f8a5ae914bfcd162c1293c24f9e3
1,130
py
Python
scripts/sup13b.py
seqcode/multimds
8dbda98675a6d20bcecb76ab85ea8fd1571b4da3
[ "MIT" ]
1
2019-10-29T12:33:57.000Z
2019-10-29T12:33:57.000Z
scripts/sup13b.py
seqcode/multimds
8dbda98675a6d20bcecb76ab85ea8fd1571b4da3
[ "MIT" ]
null
null
null
scripts/sup13b.py
seqcode/multimds
8dbda98675a6d20bcecb76ab85ea8fd1571b4da3
[ "MIT" ]
null
null
null
from matplotlib import pyplot as plt import numpy as np gene_names = ("Hxt1", "Has1", "Tda1", "Gal1", "Gal7", "Gal10", "Gal3", "Gal4", "Gal2") sgds = np.array(["YHR094C", "YMR290C", "YMR291W", "YBR020W", "YBR018C", "YBR019C", "YDR009W", "YPL248C", "YLR081W"]) logfcs = np.zeros((len(sgds), 1)) with open("rnaseq_counts...
35.3125
116
0.669912
191
1,130
3.937173
0.591623
0.007979
0.029255
0.039894
0.071809
0.071809
0.071809
0.071809
0.071809
0
0
0.075356
0.130973
1,130
31
117
36.451613
0.690428
0.080531
0
0
0
0
0.122587
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
618cb0aba3761441ae45aecbf80394c671104e77
1,221
py
Python
NBABet/Api.py
davideganna/NBA_Bet
dba00542b8ed63a5a7290f25209270b32d18fb86
[ "MIT" ]
4
2021-08-02T07:49:51.000Z
2021-12-14T18:49:27.000Z
NBABet/Api.py
davideganna/NBA_Bet
dba00542b8ed63a5a7290f25209270b32d18fb86
[ "MIT" ]
1
2021-08-03T14:55:13.000Z
2021-08-03T14:55:13.000Z
NBABet/Api.py
davideganna/NBA_Bet
dba00542b8ed63a5a7290f25209270b32d18fb86
[ "MIT" ]
null
null
null
from datetime import datetime, time, timedelta import requests class Api: """ Base class for interfacing with the Basketball API. """ def __init__(self): self.url = 'https://v1.basketball.api-sports.io/' with open('secrets/api_key') as f: self.api_key = f.readline() ...
33
92
0.568387
142
1,221
4.774648
0.5
0.053097
0.029499
0
0
0
0
0
0
0
0
0.013857
0.290745
1,221
36
93
33.916667
0.769053
0.116298
0
0
0
0
0.153484
0
0
0
0
0
0
1
0.08
false
0
0.08
0
0.24
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
618e5e92671550304fe7e2988adbd2203a5edaeb
78
py
Python
backend/backend/settings/__init__.py
pvgupta24/CryptoWill
d7fe3aaa220e4540d81607ba1b55dea4e37e4baa
[ "MIT" ]
1
2020-02-03T11:55:38.000Z
2020-02-03T11:55:38.000Z
backend/backend/settings/__init__.py
pvgupta24/CryptoWill
d7fe3aaa220e4540d81607ba1b55dea4e37e4baa
[ "MIT" ]
10
2019-08-04T06:10:31.000Z
2022-02-12T18:17:12.000Z
backend/backend/settings/__init__.py
pvgupta24/CryptoWill
d7fe3aaa220e4540d81607ba1b55dea4e37e4baa
[ "MIT" ]
2
2019-08-07T19:47:28.000Z
2020-09-24T00:09:21.000Z
try: from .local import * except Exception: from .production import *
15.6
29
0.679487
9
78
5.888889
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.24359
78
4
30
19.5
0.898305
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.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
0
1
0
1
0
0
0
0
4
6190b9256d260af348eecbf353cef77fea75bac1
18,619
py
Python
lib/data/PTFTrainDataset.py
KORguy/PIFu_Part
bd199d439a94f8bc8b4036898b0f1ec01e56ab9e
[ "MIT" ]
null
null
null
lib/data/PTFTrainDataset.py
KORguy/PIFu_Part
bd199d439a94f8bc8b4036898b0f1ec01e56ab9e
[ "MIT" ]
null
null
null
lib/data/PTFTrainDataset.py
KORguy/PIFu_Part
bd199d439a94f8bc8b4036898b0f1ec01e56ab9e
[ "MIT" ]
null
null
null
from torch.utils.data import Dataset import numpy as np import os import random import torchvision.transforms as transforms from PIL import Image, ImageOps import cv2 import torch from PIL.ImageFilter import GaussianBlur import trimesh import logging import json from math import sqrt import datetime log = logging.getL...
40.127155
128
0.576669
2,455
18,619
4.173523
0.150306
0.034257
0.021472
0.028694
0.211009
0.116826
0.047628
0.037868
0.030256
0.024205
0
0.026088
0.300016
18,619
463
129
40.213823
0.760071
0.132982
0
0.053797
0
0
0.030965
0
0
0
0
0
0
1
0.037975
false
0
0.044304
0.012658
0.126582
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
61931b1ad82c48c08668bff66dafa37dd46511d7
1,452
py
Python
corehq/apps/app_manager/management/commands/migrate_template_apps_form_ids.py
johan--/commcare-hq
86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd
[ "BSD-3-Clause" ]
null
null
null
corehq/apps/app_manager/management/commands/migrate_template_apps_form_ids.py
johan--/commcare-hq
86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd
[ "BSD-3-Clause" ]
1
2022-03-12T01:03:25.000Z
2022-03-12T01:03:25.000Z
corehq/apps/app_manager/management/commands/migrate_template_apps_form_ids.py
johan--/commcare-hq
86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd
[ "BSD-3-Clause" ]
null
null
null
import re from corehq.apps.app_manager.management.commands.helpers import AppMigrationCommandBase from corehq.apps.app_manager.models import Application, load_app_template, ATTACHMENT_REGEX from corehq.apps.app_manager.util import update_unique_ids from corehq.apps.es import AppES def _get_first_form_id(app): ret...
33.767442
91
0.681818
191
1,452
4.884817
0.376963
0.057878
0.060021
0.054662
0.113612
0
0
0
0
0
0
0.001781
0.226584
1,452
42
92
34.571429
0.829029
0
0
0
0
0
0.118539
0.014473
0
0
0
0
0
1
0.103448
false
0
0.172414
0.034483
0.482759
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6193bfee1768facfda0ce3e818f38f6c1211a5c7
35
py
Python
simeeg/__init__.py
balandongiv/simeeg
5af28e4cf7352c3d7d1072843675d83077994be2
[ "MIT" ]
null
null
null
simeeg/__init__.py
balandongiv/simeeg
5af28e4cf7352c3d7d1072843675d83077994be2
[ "MIT" ]
null
null
null
simeeg/__init__.py
balandongiv/simeeg
5af28e4cf7352c3d7d1072843675d83077994be2
[ "MIT" ]
null
null
null
from .create_epoch import sim_data
17.5
34
0.857143
6
35
4.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.114286
35
1
35
35
0.903226
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
61968ddb7de4d43cb380b5c4ce7a1cead3ca1554
1,582
py
Python
tool/macvima.py
MrWhiteSoul/WannaTool
78df7eee605367d04e3e77bfa5865afda680eb4f
[ "MIT" ]
70
2020-04-10T09:50:57.000Z
2022-03-31T23:26:46.000Z
tool/macvima.py
Acc3ssGr4nt3d/WannaTool
5aba765597f35e221e619c231890fb3af9fc156e
[ "MIT" ]
1
2021-12-12T12:20:17.000Z
2021-12-12T12:22:31.000Z
tool/macvima.py
Acc3ssGr4nt3d/WannaTool
5aba765597f35e221e619c231890fb3af9fc156e
[ "MIT" ]
19
2020-04-10T06:26:56.000Z
2022-03-20T03:08:54.000Z
import os, sys R = '\x1b[1;31m' N = '\x1b[0m' Y = '\x1b[1;33m' G = '\x1b[1;37m' print '%s+---------------------------------------------------+%s' % (R, N) print '%s||[#]%s--------------%s[ VBug Maker ]%s---------------%s[#]||%s' % (Y, R, Y, R, Y, N) print '%s||%s |___________%s[ Simple Virus Maker ]%s____________|%s ||...
51.032258
132
0.487358
282
1,582
2.524823
0.205674
0.115169
0.08427
0.05618
0.564607
0.491573
0.462079
0.452247
0.384831
0.384831
0
0.01171
0.190265
1,582
30
133
52.733333
0.544106
0
0
0.366667
0
0.033333
0.53287
0.138432
0
0
0
0
0
0
null
null
0
0.033333
null
null
0.4
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
6196974d359ee517dc4c5d99b45a48b0d864e2dc
3,131
py
Python
vouchers/forms.py
mnalam30/django-online-shopping
e6ee11b79cb70390e55063624de5afe5a55dfb6c
[ "Apache-2.0" ]
1
2021-03-04T13:41:46.000Z
2021-03-04T13:41:46.000Z
vouchers/forms.py
mnalam30/django-online-shopping
e6ee11b79cb70390e55063624de5afe5a55dfb6c
[ "Apache-2.0" ]
null
null
null
vouchers/forms.py
mnalam30/django-online-shopping
e6ee11b79cb70390e55063624de5afe5a55dfb6c
[ "Apache-2.0" ]
null
null
null
from django import forms from django.utils.translation import ugettext_lazy as _ from .models import Voucher, VoucherUser, Campaign from .settings import VOUCHER_TYPES class VoucherGenerationForm(forms.Form): quantity = forms.IntegerField(label=_("Quantity")) value = forms.IntegerField(label=_("Voucher Code"))...
46.731343
122
0.647716
390
3,131
5.087179
0.335897
0.040323
0.100806
0.102319
0.225806
0.203629
0.185988
0.166835
0.085181
0.059476
0
0.000865
0.261258
3,131
66
123
47.439394
0.856896
0.099329
0
0.071429
0
0.017857
0.16957
0
0
0
0
0
0
1
0.035714
false
0
0.071429
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
61970ad9c7f8e5b9b733cf5f5d1fca63b77e8dc8
603
py
Python
alembic/versions/5a99c71e171_position.py
wenbs/mptracker
e011ab11954bbf785ae11fea7ed977440df2284a
[ "MIT" ]
4
2015-01-20T15:03:15.000Z
2017-03-15T09:56:07.000Z
alembic/versions/5a99c71e171_position.py
wenbs/mptracker
e011ab11954bbf785ae11fea7ed977440df2284a
[ "MIT" ]
3
2021-03-31T18:53:12.000Z
2022-03-21T22:16:35.000Z
alembic/versions/5a99c71e171_position.py
wenbs/mptracker
e011ab11954bbf785ae11fea7ed977440df2284a
[ "MIT" ]
6
2015-12-13T08:56:49.000Z
2021-08-07T20:36:29.000Z
revision = '5a99c71e171' down_revision = '1b8378b8914' from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import postgresql def upgrade(): op.create_table('position', sa.Column('id', postgresql.UUID(), nullable=False), sa.Column('title', sa.Text(), nullable=True), sa....
27.409091
69
0.6733
68
603
5.897059
0.485294
0.079801
0.079801
0.119701
0.154613
0.154613
0
0
0
0
0
0.034137
0.174129
603
21
70
28.714286
0.771084
0
0
0
0
0
0.135987
0
0
0
0
0
0
1
0.125
false
0
0.1875
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
61975dd02f9311f448952592cb72dfbe22211c3e
3,401
py
Python
ipfshttpclient/client/p2p.py
emendir/py-ipfs-http-client
2d7c113a14841295059e098836ab29f8cadc6b88
[ "MIT" ]
null
null
null
ipfshttpclient/client/p2p.py
emendir/py-ipfs-http-client
2d7c113a14841295059e098836ab29f8cadc6b88
[ "MIT" ]
null
null
null
ipfshttpclient/client/p2p.py
emendir/py-ipfs-http-client
2d7c113a14841295059e098836ab29f8cadc6b88
[ "MIT" ]
null
null
null
import typing as ty from . import base class Section(base.SectionBase): @base.returns_no_item def forward(self, protocol: str, peer_id: str, port: str, **kwargs: base.CommonArgs): """Forward connections to libp2p service Forward connections made to the specified port to another IPFS node. ...
32.084906
142
0.57042
373
3,401
5.171582
0.286863
0.031104
0.023328
0.026957
0.414204
0.336444
0.174184
0.150337
0.150337
0.150337
0
0.016551
0.324904
3,401
105
143
32.390476
0.823606
0.510438
0
0.083333
0
0
0.071197
0
0
0
0
0
0
1
0.125
false
0
0.083333
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
61976d319862419967d46e66ec95fec2253bac78
2,562
py
Python
teek/_timeouts.py
Akuli/tkinder
c360fbfe086ca09cdd856a8636de05b24e1b7093
[ "MIT" ]
23
2019-01-15T00:07:30.000Z
2022-01-18T06:19:18.000Z
teek/_timeouts.py
Akuli/tkinder
c360fbfe086ca09cdd856a8636de05b24e1b7093
[ "MIT" ]
12
2019-01-13T19:51:52.000Z
2021-05-17T17:55:51.000Z
teek/_timeouts.py
Akuli/pythotk
c360fbfe086ca09cdd856a8636de05b24e1b7093
[ "MIT" ]
7
2019-01-13T19:48:26.000Z
2021-04-21T13:30:21.000Z
import teek from teek._tcl_calls import make_thread_safe # there's no after_info because i don't see how it would be useful in # teek class _Timeout: def __init__(self, after_what, callback, args, kwargs): if kwargs is None: kwargs = {} self._callback = callback self._args =...
32.025
77
0.635441
328
2,562
4.734756
0.396341
0.040567
0.069543
0.03284
0.079202
0.061816
0.061816
0.061816
0.061816
0.061816
0
0
0.266198
2,562
79
78
32.43038
0.826064
0.290788
0
0.113636
0
0
0.070568
0
0
0
0
0
0
1
0.159091
false
0
0.045455
0
0.295455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
61982cacdc8a6976367345bdb3009678a7eb11ca
704
py
Python
plynx/utils/executor.py
khaxis/plynx
20768470261fc5f29cb660c815c479b49765b2fe
[ "Apache-2.0" ]
137
2018-11-14T07:13:33.000Z
2020-02-03T12:32:35.000Z
plynx/utils/executor.py
khaxis/plynx
20768470261fc5f29cb660c815c479b49765b2fe
[ "Apache-2.0" ]
10
2019-01-11T21:51:14.000Z
2020-01-30T01:29:22.000Z
plynx/utils/executor.py
khaxis/plynx
20768470261fc5f29cb660c815c479b49765b2fe
[ "Apache-2.0" ]
11
2018-11-14T15:05:54.000Z
2019-09-09T15:45:49.000Z
"""Utils to work with executors""" from typing import Any, Dict import plynx.db.node import plynx.utils.exceptions import plynx.utils.plugin_manager def materialize_executor(node_dict: Dict[str, Any]): """ Create a Node object from a dictionary Parameters: node_dict (dict): dictionary representation...
27.076923
97
0.705966
98
704
4.94898
0.428571
0.082474
0.045361
0.094845
0
0
0
0
0
0
0
0
0.197443
704
25
98
28.16
0.858407
0.271307
0
0
0
0
0.069328
0
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
6198438a50eea685cb2143288d75dfde992efd74
273
py
Python
front_end/django-project/cyder/urls.py
Jonathan56/CyDER
58cc88f5140585b6d4d9073eca29e3d3b324eb5e
[ "BSD-3-Clause-LBNL" ]
10
2017-05-03T18:00:49.000Z
2021-07-25T03:09:32.000Z
front_end/django-project/cyder/urls.py
Jonathan56/CyDER
58cc88f5140585b6d4d9073eca29e3d3b324eb5e
[ "BSD-3-Clause-LBNL" ]
null
null
null
front_end/django-project/cyder/urls.py
Jonathan56/CyDER
58cc88f5140585b6d4d9073eca29e3d3b324eb5e
[ "BSD-3-Clause-LBNL" ]
2
2018-02-12T17:14:15.000Z
2021-02-02T02:12:27.000Z
from django.urls import path, include urlpatterns = [ path('model_viewer/', include('cyder.models.urls')), path('projects/', include('cyder.projects.urls')), path('api/', include('cyder.api.urls', namespace='api')), path('', include('cyder.main.urls')), ]
30.333333
61
0.652015
33
273
5.363636
0.454545
0.271186
0
0
0
0
0
0
0
0
0
0
0.128205
273
8
62
34.125
0.743697
0
0
0
0
0
0.344322
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6198d569648753c3575588522b2c2f89e1b9135e
4,173
py
Python
linux-distro/package/nuxleus/Source/Vendor/Microsoft/IronPython-2.0.1/Lib/headstock/example/microblog/microblog/web/application.py
mdavid/nuxleus
653f1310d8bf08eaa5a7e3326c2349e56a6abdc2
[ "BSD-3-Clause" ]
1
2017-03-28T06:41:51.000Z
2017-03-28T06:41:51.000Z
linux-distro/package/nuxleus/Source/Vendor/Microsoft/IronPython-2.0.1/Lib/headstock/example/microblog/microblog/web/application.py
mdavid/nuxleus
653f1310d8bf08eaa5a7e3326c2349e56a6abdc2
[ "BSD-3-Clause" ]
null
null
null
linux-distro/package/nuxleus/Source/Vendor/Microsoft/IronPython-2.0.1/Lib/headstock/example/microblog/microblog/web/application.py
mdavid/nuxleus
653f1310d8bf08eaa5a7e3326c2349e56a6abdc2
[ "BSD-3-Clause" ]
1
2016-12-13T21:08:58.000Z
2016-12-13T21:08:58.000Z
# -*- coding: utf-8 -*- import cherrypy from microblog.web import MICROBLOG_SESSION_PROFILE from microblog.web.oidtool import DEFAULT_SESSION_NAME from microblog.profile.manager import ProfileManager from microblog.profile.user import EmptyUserProfile, UserProfile from microblog.web.speakup import SpeakUpWebApplication...
37.594595
81
0.654445
452
4,173
5.878319
0.25
0.033873
0.039142
0.036131
0.208129
0.164471
0.106887
0.05796
0.05796
0.05796
0
0.001273
0.247304
4,173
110
82
37.936364
0.844635
0.005032
0
0.127907
0
0
0.056386
0.016386
0
0
0
0
0
1
0.093023
false
0
0.081395
0
0.255814
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
61994048e974aac7ccedc29d996420c49db567d8
879
py
Python
examples/renderimage.py
acgessler/pysfml2-cython
dfb81e399af2eb389a1953bbe78c2e73778e3440
[ "Zlib", "BSD-2-Clause" ]
1
2019-08-16T16:33:12.000Z
2019-08-16T16:33:12.000Z
examples/renderimage.py
acgessler/pysfml2-cython
dfb81e399af2eb389a1953bbe78c2e73778e3440
[ "Zlib", "BSD-2-Clause" ]
null
null
null
examples/renderimage.py
acgessler/pysfml2-cython
dfb81e399af2eb389a1953bbe78c2e73778e3440
[ "Zlib", "BSD-2-Clause" ]
null
null
null
#! /usr/bin/env python2 # -*- coding: utf-8 -*- import sf import sys def main(): window = sf.RenderWindow(sf.VideoMode(640, 480), 'RenderImage example') window.framerate_limit = 60 running = True rect0 = sf.Shape.rectangle(5, 5, 90, 50, sf.Color.GREEN, 2, sf.Color.BLUE) rect1 = sf.Shape.rect...
23.131579
78
0.583618
127
879
3.96063
0.527559
0.069583
0.063618
0
0
0
0
0
0
0
0
0.083333
0.262799
879
37
79
23.756757
0.692901
0.050057
0
0
0
0
0.032413
0
0
0
0
0
0
1
0.037037
false
0
0.074074
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6199950eb37c3a2d83fa0622f8dc17926db687b5
21,867
py
Python
hit_z_road.py
bigshotJin/HitZRoad
5f01de7a785a21fc011322f8e3e655e97fcf02a9
[ "MIT" ]
1
2019-12-28T16:47:01.000Z
2019-12-28T16:47:01.000Z
hit_z_road.py
bigshotJin/HitZRoad
5f01de7a785a21fc011322f8e3e655e97fcf02a9
[ "MIT" ]
null
null
null
hit_z_road.py
bigshotJin/HitZRoad
5f01de7a785a21fc011322f8e3e655e97fcf02a9
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ this module need easy_logging """ import os import pandas as pd import numpy as np from easy_logging.easylogging import EasyVerboseLogging EVLobj = EasyVerboseLogging() EVLobj.set_class_logger_level('INFO') EVLobj.get_class_logger() class HitZombieRoad(object): def __init__(self): ...
47.536957
137
0.517721
2,213
21,867
4.678265
0.063263
0.105283
0.081909
0.071091
0.859075
0.840143
0.828456
0.790978
0.749251
0.717666
0
0.010352
0.399232
21,867
460
138
47.536957
0.777727
0.007088
0
0.6875
0
0
0.170952
0.081421
0
0
0
0
0
1
0.028646
false
0.005208
0.010417
0
0.052083
0.010417
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
619ac3477b76575f17b9d296fa87950aefd73474
91
py
Python
enthought/envisage/i_application.py
enthought/etsproxy
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
[ "BSD-3-Clause" ]
3
2016-12-09T06:05:18.000Z
2018-03-01T13:00:29.000Z
enthought/envisage/i_application.py
enthought/etsproxy
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
[ "BSD-3-Clause" ]
1
2020-12-02T00:51:32.000Z
2020-12-02T08:48:55.000Z
enthought/envisage/i_application.py
enthought/etsproxy
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
[ "BSD-3-Clause" ]
null
null
null
# proxy module from __future__ import absolute_import from envisage.i_application import *
22.75
38
0.846154
12
91
5.916667
0.75
0
0
0
0
0
0
0
0
0
0
0
0.120879
91
3
39
30.333333
0.8875
0.131868
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
619ba5260e66d9abf9514a7f5139f96e733a0a46
4,085
py
Python
src/lybica/loader.py
protone/lybica-runner
185b3fc4ffc7a6e066baa6c2f030e109db97b4b1
[ "MIT" ]
null
null
null
src/lybica/loader.py
protone/lybica-runner
185b3fc4ffc7a6e066baa6c2f030e109db97b4b1
[ "MIT" ]
3
2015-11-04T09:43:35.000Z
2015-11-12T09:41:21.000Z
src/lybica/loader.py
protone/lybica-runner
185b3fc4ffc7a6e066baa6c2f030e109db97b4b1
[ "MIT" ]
null
null
null
from .executor import ScriptExecutor import logging SCRIPT_CONFIG = [ # health check script before install package { "name": 'install_package_pre_check', "search_path": ["${TESTCASE_PATH}/AreaCI/${PID}/install_package_pre_check", "${BRANCH_ROOT}/PlatformCI/${PID}/${PRODUCT}/${TES...
47.5
107
0.622766
436
4,085
5.408257
0.172018
0.088634
0.161154
0.136556
0.749788
0.716709
0.716709
0.656064
0.457591
0.227311
0
0
0.228641
4,085
85
108
48.058824
0.748334
0.020563
0
0.197368
0
0
0.576432
0.451589
0
0
0
0
0
1
0.039474
false
0
0.026316
0
0.118421
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
619fe24fa47471571e21443afa6062ff41ae9a71
453
py
Python
src/settings.py
tokku5552/google-photo-backup
6508f98d979faea9de617af91e7f660b2b5de4d1
[ "MIT" ]
1
2022-03-06T22:55:02.000Z
2022-03-06T22:55:02.000Z
src/settings.py
tokku5552/google-photo-backup
6508f98d979faea9de617af91e7f660b2b5de4d1
[ "MIT" ]
3
2021-09-03T15:28:31.000Z
2021-09-09T14:22:52.000Z
src/settings.py
tokku5552/google-photo-backup
6508f98d979faea9de617af91e7f660b2b5de4d1
[ "MIT" ]
null
null
null
# -*- coding: utf_8 -*- SCOPES = ['https://www.googleapis.com/auth/photoslibrary'] API_SERVICE_NAME = 'photoslibrary' API_VERSION = 'v1' CLIENT_SECRET_FILE = 'client_secret.json' CREDENTIAL_FILE = 'credential.json' AQUIRED_MEDIA_LIST = 'aquired_list.json' TMP_DIR = 'tmp' DESTINATION_DIR = '/gpbk' QUERY_FILTER = True PA...
28.3125
58
0.754967
66
453
4.863636
0.727273
0.099688
0
0
0
0
0
0
0
0
0
0.027295
0.110375
453
15
59
30.2
0.769231
0.083885
0
0
0
0
0.366505
0.080097
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
61a149a007bdaed2b1f3bdf21b8ba8f1aa8948a9
109
py
Python
notification/strategy/starter.py
EhsanSaZ/send_message_api_bale_bot
803e9b91d1eea477d3060b5dcc4e0099641876c9
[ "MIT" ]
1
2018-11-12T17:00:35.000Z
2018-11-12T17:00:35.000Z
notification/strategy/starter.py
EhsanSaZ/send_message_api_bale_bot
803e9b91d1eea477d3060b5dcc4e0099641876c9
[ "MIT" ]
null
null
null
notification/strategy/starter.py
EhsanSaZ/send_message_api_bale_bot
803e9b91d1eea477d3060b5dcc4e0099641876c9
[ "MIT" ]
null
null
null
class Starter: def start(self, notification_sender, server_actor_ref): raise NotImplementedError
27.25
59
0.761468
12
109
6.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.183486
109
3
60
36.333333
0.898876
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
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
0
0
0
0
1
0
0
4
61a1e5af27a2cafee845ea0db041e5f1132696f9
10,968
py
Python
marketplace/views/views_internalpackage.py
MOOCworkbench/MOOCworkbench
c478dd4f185c50e0a48319e2b30d418533c32a34
[ "MIT" ]
null
null
null
marketplace/views/views_internalpackage.py
MOOCworkbench/MOOCworkbench
c478dd4f185c50e0a48319e2b30d418533c32a34
[ "MIT" ]
1
2017-07-09T17:38:21.000Z
2017-07-09T17:38:22.000Z
marketplace/views/views_internalpackage.py
MOOCworkbench/MOOCworkbench
c478dd4f185c50e0a48319e2b30d418533c32a34
[ "MIT" ]
null
null
null
import logging from django.contrib import messages from django.contrib.auth.decorators import login_required from django.core.urlresolvers import reverse from django.http import JsonResponse from django.shortcuts import get_object_or_404, redirect, render from django.views.generic import CreateView, DetailView, Update...
45.510373
122
0.728209
1,245
10,968
6.217671
0.180723
0.019377
0.014468
0.024803
0.346467
0.25901
0.193903
0.128924
0.105284
0.09159
0
0.001456
0.185904
10,968
240
123
45.7
0.865494
0.081236
0
0.236264
0
0
0.105342
0.032351
0
0
0
0
0.038462
1
0.104396
false
0
0.120879
0.010989
0.472527
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
61a374a8f30ac135dfdea6d33f444e83e80642d0
351
py
Python
cmz/cms_news/templatetags/cms_news.py
inmagik/cmz
e183f0c7203bda5efb1cbeb96f4f06a76aa91231
[ "MIT" ]
1
2016-10-01T18:35:24.000Z
2016-10-01T18:35:24.000Z
cmz/cms_news/templatetags/cms_news.py
inmagik/cmz
e183f0c7203bda5efb1cbeb96f4f06a76aa91231
[ "MIT" ]
8
2016-09-14T21:39:09.000Z
2016-10-25T20:08:31.000Z
cmz/cms_news/templatetags/cms_news.py
inmagik/cmz
e183f0c7203bda5efb1cbeb96f4f06a76aa91231
[ "MIT" ]
null
null
null
from django import template from ..models import News register = template.Library() @register.simple_tag(takes_context=True) def cms_news_list(context, num_items=10): page = context['request'].GET.get('page', 1); page = int(page) #todo: add num pages, total items.. return News.objects.language().all()...
29.25
70
0.717949
52
351
4.711538
0.615385
0.097959
0
0
0
0
0
0
0
0
0
0.013201
0.136752
351
11
71
31.909091
0.79538
0.096866
0
0
0
0
0.03481
0
0
0
0
0.090909
0
1
0.125
false
0
0.25
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
61a3ed8c8f681309c585aa2c83621f052b9174bd
127
py
Python
backend/db.py
Dr-Irina/hac_front
bf1cbc6a23ab799ccaa8cdbbb3372c4812a31ed7
[ "MIT" ]
1
2019-06-24T03:49:40.000Z
2019-06-24T03:49:40.000Z
backend/db.py
DWhistle/VisionLabsHackathon
34feddbc2d076921d22aa1c9260250e190b03aec
[ "MIT" ]
2
2021-03-09T08:28:43.000Z
2021-05-09T05:37:55.000Z
backend/db.py
DWhistle/VisionLabsHackathon
34feddbc2d076921d22aa1c9260250e190b03aec
[ "MIT" ]
null
null
null
import sqlite3 db = sqlite3.connect("database.db") cursor = db.cursor() cursor.execute("CREATE TABLE model (VARCHAR models)")
21.166667
53
0.748031
17
127
5.588235
0.705882
0.168421
0
0
0
0
0
0
0
0
0
0.017699
0.110236
127
6
53
21.166667
0.823009
0
0
0
0
0
0.359375
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
61a68e456f4449af8da3440868679e66e2e5feef
6,143
py
Python
examples/math/fft/fft.py
matthiaskramm/corepy
b2aad4e86adca10420e825fb65dcbd031cf44bb1
[ "BSD-3-Clause" ]
8
2016-02-20T03:52:58.000Z
2022-01-24T15:04:14.000Z
examples/math/fft/fft.py
matthiaskramm/corepy
b2aad4e86adca10420e825fb65dcbd031cf44bb1
[ "BSD-3-Clause" ]
null
null
null
examples/math/fft/fft.py
matthiaskramm/corepy
b2aad4e86adca10420e825fb65dcbd031cf44bb1
[ "BSD-3-Clause" ]
6
2015-12-11T05:21:15.000Z
2020-12-11T10:59:15.000Z
# Copyright (c) 2006-2009 The Trustees of Indiana University. # All rights reserved. # # Redistribution and use in source and binary forms, with or without ...
27.424107
80
0.541266
930
6,143
3.508602
0.246237
0.049341
0.034324
0.033711
0.392277
0.374808
0.357953
0.35213
0.323016
0.308918
0
0.032775
0.319551
6,143
223
81
27.547085
0.747847
0.444571
0
0.441667
0
0
0.016985
0
0
0
0
0
0.016667
0
null
null
0
0.033333
null
null
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
61a8845e1ccc4a6f9d7930913c7112d6c98c2b1b
1,049
py
Python
solutions/day13/p2/main.py
tosmun/AdventOfCode
62f4f3a8cc3761ee5d5eaf682ae9c2c985cd80b5
[ "Apache-2.0" ]
1
2017-07-15T19:01:03.000Z
2017-07-15T19:01:03.000Z
solutions/day13/p2/main.py
tosmun/Python-AdventOfCode
62f4f3a8cc3761ee5d5eaf682ae9c2c985cd80b5
[ "Apache-2.0" ]
null
null
null
solutions/day13/p2/main.py
tosmun/Python-AdventOfCode
62f4f3a8cc3761ee5d5eaf682ae9c2c985cd80b5
[ "Apache-2.0" ]
null
null
null
from itertools import permutations if __name__ == "__main__": map = { } with open('../input.txt', 'r') as fp: while True: line=fp.readline() if line is None or line == '': break parts = line.split(" ") person = parts[0] value = int(parts[3]) if parts[2] == 'lose': value = value * -1 ne...
26.225
62
0.622498
155
1,049
4.129032
0.412903
0.084375
0.05625
0.04375
0.060938
0
0
0
0
0
0
0.022086
0.22307
1,049
39
63
26.897436
0.76319
0.095329
0
0
0
0
0.032804
0
0
0
0
0
0
1
0
false
0
0.029412
0
0.029412
0.029412
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
61a8ee8668b6519e9812f7d7814d89c33330873b
2,755
py
Python
memberaudit/migrations/0005_add_character_attributes.py
buahaha/aa-memberaudit
3824fd5dec06631f7b54caa0248c2f6dcb08636a
[ "MIT" ]
null
null
null
memberaudit/migrations/0005_add_character_attributes.py
buahaha/aa-memberaudit
3824fd5dec06631f7b54caa0248c2f6dcb08636a
[ "MIT" ]
null
null
null
memberaudit/migrations/0005_add_character_attributes.py
buahaha/aa-memberaudit
3824fd5dec06631f7b54caa0248c2f6dcb08636a
[ "MIT" ]
null
null
null
# Generated by Django 3.1.6 on 2021-02-19 15:45 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("memberaudit", "0004_wallet_transactions"), ] operations = [ migrations.CreateModel( name="Chara...
37.739726
83
0.460254
178
2,755
6.983146
0.539326
0.125503
0.022526
0.035398
0.067578
0.067578
0.067578
0
0
0
0
0.013125
0.419238
2,755
72
84
38.263889
0.76375
0.016334
0
0.121212
1
0
0.246307
0.034343
0
0
0
0
0
1
0
false
0
0.030303
0
0.075758
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
61aa4cd0aa9e08c093a70a1f326924e6e96fd86c
13,031
py
Python
review/models.py
osaimola/django-review
e4f10838a88b84749bda5bd8febaf7d85447fcdf
[ "MIT" ]
null
null
null
review/models.py
osaimola/django-review
e4f10838a88b84749bda5bd8febaf7d85447fcdf
[ "MIT" ]
null
null
null
review/models.py
osaimola/django-review
e4f10838a88b84749bda5bd8febaf7d85447fcdf
[ "MIT" ]
null
null
null
"""Just an empty models file to let the testrunner recognize this as app.""" from django.conf import settings from django.contrib.contenttypes import fields from django.contrib.contenttypes.models import ContentType from django.db import models from django.utils import timezone from django.utils.encoding import python_...
33.412821
79
0.647149
1,586
13,031
5.163304
0.210593
0.020149
0.013677
0.020515
0.180364
0.107461
0.090121
0.082061
0.052754
0.052754
0
0.006861
0.272964
13,031
389
80
33.498715
0.857505
0.351393
0
0.240741
0
0
0.064878
0.00844
0
0
0
0.002571
0
1
0.060185
false
0
0.037037
0.023148
0.342593
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
61aabee9e72f77565b8fbe0b0256f2a2d385c406
2,170
py
Python
python/oneflow/test/modules/test_consistent_stateful_kernel_with_cache.py
L-Net-1992/oneflow
4dc08d65caea36fdd137841ac95551218897e730
[ "Apache-2.0" ]
1
2022-03-14T11:17:56.000Z
2022-03-14T11:17:56.000Z
python/oneflow/test/modules/test_consistent_stateful_kernel_with_cache.py
L-Net-1992/oneflow
4dc08d65caea36fdd137841ac95551218897e730
[ "Apache-2.0" ]
null
null
null
python/oneflow/test/modules/test_consistent_stateful_kernel_with_cache.py
L-Net-1992/oneflow
4dc08d65caea36fdd137841ac95551218897e730
[ "Apache-2.0" ]
1
2021-12-15T02:14:49.000Z
2021-12-15T02:14:49.000Z
""" Copyright 2020 The OneFlow Authors. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agr...
31.449275
84
0.654839
296
2,170
4.591216
0.412162
0.04415
0.039735
0.05298
0.358352
0.358352
0.358352
0.358352
0.358352
0.358352
0
0.019572
0.246544
2,170
68
85
31.911765
0.811621
0.283871
0
0.318182
0
0
0.010996
0
0
0
0
0
0.045455
1
0.045455
false
0
0.113636
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
61aae320c56823e1a7c2629bfb5dc35bb1362267
618
py
Python
main.py
johnpfeiffer/go-lanscan
7fde4052249f5535fe3138f8789c04c15fa57eff
[ "MIT" ]
null
null
null
main.py
johnpfeiffer/go-lanscan
7fde4052249f5535fe3138f8789c04c15fa57eff
[ "MIT" ]
null
null
null
main.py
johnpfeiffer/go-lanscan
7fde4052249f5535fe3138f8789c04c15fa57eff
[ "MIT" ]
null
null
null
#!/usr/bin/env python import webapp2 downloads_html = """<html> <body> download the latest build at: <table> <tr> <th>os</th> <th>download link</th> </tr> <tr> <td>linux amd64</td> <td><a href='https://go-lanscan.appspot.com/go-lanscan'>https://go-lanscan.appspot.com/go-lanscan</a></td> </tr> </table> Source code at <...
22.071429
120
0.694175
89
618
4.797753
0.516854
0.126464
0.046838
0.098361
0.332553
0.332553
0.154567
0
0
0
0
0.008961
0.097087
618
27
121
22.888889
0.756272
0.032362
0
0.181818
0
0.090909
0.644295
0
0
0
0
0
0
1
0.045455
false
0
0.045455
0
0.136364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
61ab1ecec0d561e9b48dbeb6b94f8d2303697a63
1,437
py
Python
schools3/ml/experiments/multi_dataset_experiment.py
dssg/mlpolicylab_fall20_schools3_public
f8eff4c56e9bada1eb81ddaca03686d7ef53c2c4
[ "MIT" ]
null
null
null
schools3/ml/experiments/multi_dataset_experiment.py
dssg/mlpolicylab_fall20_schools3_public
f8eff4c56e9bada1eb81ddaca03686d7ef53c2c4
[ "MIT" ]
null
null
null
schools3/ml/experiments/multi_dataset_experiment.py
dssg/mlpolicylab_fall20_schools3_public
f8eff4c56e9bada1eb81ddaca03686d7ef53c2c4
[ "MIT" ]
null
null
null
import pandas as pd from tqdm import tqdm from schools3.data.datasets.datasets_generator import DatasetsGenerator from schools3.ml.experiments.models_experiment import ModelsExperiment from schools3.config import main_config # an experiment that trains models and reports metrics for multiple grades class MultiDataset...
38.837838
83
0.695894
171
1,437
5.549708
0.385965
0.073762
0.031612
0.040042
0
0
0
0
0
0
0
0.002712
0.230341
1,437
36
84
39.916667
0.855335
0.050104
0
0.066667
0
0
0.014684
0
0
0
0
0
0
1
0.066667
false
0
0.166667
0
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
61ab41a7638425f234e3651bbe06958031c532d2
43,906
py
Python
recordsearch_data_scraper/scrapers.py
wragge/recordsearch_tools_new
b1a8b9d8f7c68107f186cfc69d601489fb4110e1
[ "Apache-2.0" ]
null
null
null
recordsearch_data_scraper/scrapers.py
wragge/recordsearch_tools_new
b1a8b9d8f7c68107f186cfc69d601489fb4110e1
[ "Apache-2.0" ]
1
2021-04-27T01:27:38.000Z
2021-04-27T01:27:38.000Z
recordsearch_data_scraper/scrapers.py
wragge/recordsearch_tools_new
b1a8b9d8f7c68107f186cfc69d601489fb4110e1
[ "Apache-2.0" ]
1
2021-07-14T08:23:29.000Z
2021-07-14T08:23:29.000Z
# AUTOGENERATED! DO NOT EDIT! File to edit: 00_scrapers.ipynb (unless otherwise specified). __all__ = ['make_session', 'make_browser', 's', 'browsers', 'cache_db', 'RS_URLS', 'ITEM_FORM', 'KW_OPTIONS', 'FORMATS', 'LOCATIONS', 'ACCESS', 'AGENCY_FORM', 'AGENCY_LOCATIONS', 'AGENCY_STATUS', 'SERIES_FORM', 'RSBa...
37.114117
159
0.60256
4,990
43,906
5.166533
0.124449
0.01792
0.047787
0.016291
0.444824
0.397037
0.366976
0.3361
0.313215
0.272526
0
0.006981
0.285474
43,906
1,183
160
37.114117
0.813624
0.217692
0
0.365526
1
0.002445
0.233716
0.079317
0
0
0
0
0
1
0.067237
false
0.003667
0.013447
0.00489
0.167482
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
61ab642b229d604ba34d9d88a40117fa3578d4e2
276
py
Python
wrappers/bcftools/view/wrapper.py
delvinso/crg2
366f9dd6f89db2243765688bd0c2d9a2b3d170f4
[ "Apache-2.0" ]
null
null
null
wrappers/bcftools/view/wrapper.py
delvinso/crg2
366f9dd6f89db2243765688bd0c2d9a2b3d170f4
[ "Apache-2.0" ]
null
null
null
wrappers/bcftools/view/wrapper.py
delvinso/crg2
366f9dd6f89db2243765688bd0c2d9a2b3d170f4
[ "Apache-2.0" ]
null
null
null
__author__ = "Johannes Köster" __copyright__ = "Copyright 2016, Johannes Köster" __email__ = "koester@jimmy.harvard.edu" __license__ = "MIT" from snakemake.shell import shell shell( "bcftools view {snakemake.params} {snakemake.input[0]} " "-o {snakemake.output[0]}" )
21.230769
87
0.731884
32
276
5.8125
0.71875
0.150538
0
0
0
0
0
0
0
0
0
0.025105
0.134058
276
12
88
23
0.753138
0
0
0
0
0
0.550725
0.166667
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
61ac0e6db30abca8f91a026b4103c099bb566e16
4,728
py
Python
tensorflow/python/ops/ragged/ragged_range_op_test.py
uve/tensorflow
e08079463bf43e5963acc41da1f57e95603f8080
[ "Apache-2.0" ]
null
null
null
tensorflow/python/ops/ragged/ragged_range_op_test.py
uve/tensorflow
e08079463bf43e5963acc41da1f57e95603f8080
[ "Apache-2.0" ]
null
null
null
tensorflow/python/ops/ragged/ragged_range_op_test.py
uve/tensorflow
e08079463bf43e5963acc41da1f57e95603f8080
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
37.52381
81
0.586717
648
4,728
4.151235
0.226852
0.055762
0.10632
0.14052
0.414498
0.369145
0.346097
0.322677
0.305948
0.259108
0
0.070749
0.243655
4,728
125
82
37.824
0.681488
0.185702
0
0.216867
0
0
0.007305
0
0
0
0
0
0.253012
1
0.108434
false
0
0.084337
0
0.204819
0.012048
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
61ac853aed3414f5df7058083f22b577f7f6c8d2
256
py
Python
run/dev.py
LuxQuad/ozet-core-api
bf0cd9e4b58bf9b7e805843df4dfe7320afa7e4b
[ "MIT" ]
null
null
null
run/dev.py
LuxQuad/ozet-core-api
bf0cd9e4b58bf9b7e805843df4dfe7320afa7e4b
[ "MIT" ]
5
2021-08-10T03:38:31.000Z
2021-08-11T12:39:34.000Z
run/dev.py
LuxQuad/ozet-core-api
bf0cd9e4b58bf9b7e805843df4dfe7320afa7e4b
[ "MIT" ]
null
null
null
import uvicorn HOST = "127.0.0.1" PORT = 8000 ENV = ".misc/env/dev.env" SERVICE = "app.main:service" LOG_LEVEL = "trace" if __name__ == "__main__": uvicorn.run(SERVICE, host=HOST, port=PORT, log_level=LOG_LEVEL, workers=4, env_file=ENV, reload=True)
23.272727
105
0.703125
42
256
4
0.595238
0.142857
0
0
0
0
0
0
0
0
0
0.04955
0.132813
256
10
106
25.6
0.707207
0
0
0
0
0
0.214844
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0