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
532a99cc74e11ddca37eaeec94d2d794557e219e
12,369
py
Python
software/GPIB.py
freakyengine/GPIBoE-Gateway
cb04a3a4466e440f93a97329863fe6ee82d7a94b
[ "MIT" ]
2
2020-01-02T05:36:16.000Z
2020-03-30T16:10:23.000Z
software/GPIB.py
freakyengine/GPIBoE-Gateway
cb04a3a4466e440f93a97329863fe6ee82d7a94b
[ "MIT" ]
null
null
null
software/GPIB.py
freakyengine/GPIBoE-Gateway
cb04a3a4466e440f93a97329863fe6ee82d7a94b
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # last modified 2019/09 ## DOC ------------------------------------------------------------------------- # This class generates a GPIB interface based on the IEEE 488.1 specifications. # RESTRICTION: works only as single controller and must be either listener or # talker. # It works with a Raspberr...
30.692308
96
0.558574
1,401
12,369
4.722341
0.192719
0.013603
0.023579
0.029625
0.360339
0.264359
0.225363
0.190901
0.182437
0.170949
0
0.054893
0.294527
12,369
402
97
30.768657
0.7033
0.239389
0
0.315574
1
0
0.044999
0
0
0
0.033158
0
0
1
0.163934
false
0
0.012295
0.02459
0.315574
0.004098
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
53324c4c33ad132ee3edf6f5106c9528bab82295
4,838
py
Python
trb2_new_params/datplot.py
youngmp/ympgbe1
264adafd9445f91736aa5042ac9708d6b28d8c91
[ "BSD-2-Clause" ]
null
null
null
trb2_new_params/datplot.py
youngmp/ympgbe1
264adafd9445f91736aa5042ac9708d6b28d8c91
[ "BSD-2-Clause" ]
null
null
null
trb2_new_params/datplot.py
youngmp/ympgbe1
264adafd9445f91736aa5042ac9708d6b28d8c91
[ "BSD-2-Clause" ]
null
null
null
""" This script is for the dirty work. Get Fourier coefficients Plot sine/cosine coefficients as a function of gm Plot other data """ import matplotlib.pylab as mp import numpy as np from fourier_approx import * def main(): parvals = np.arange(.05,.3+.0125,.0125) Ndat = len(parvals) grayscale_val = 0.0 ...
34.312057
90
0.549401
659
4,838
3.966616
0.248862
0.045907
0.033665
0.027544
0.183244
0.118975
0.118975
0.088753
0.088753
0.088753
0
0.031415
0.29599
4,838
140
91
34.557143
0.736054
0.380116
0
0.111111
0
0
0.03588
0.008488
0
0
0
0
0
0
null
null
0
0.055556
null
null
0.037037
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
53358f46b19a3c07987a7eb4352e4a90e014a8e2
456
py
Python
airflow_unittest_template/tests/conftest.py
jsal13/tutorials-tools-and-templates
650f9a3805a84958f67ad49b1f94196108922c93
[ "MIT" ]
null
null
null
airflow_unittest_template/tests/conftest.py
jsal13/tutorials-tools-and-templates
650f9a3805a84958f67ad49b1f94196108922c93
[ "MIT" ]
null
null
null
airflow_unittest_template/tests/conftest.py
jsal13/tutorials-tools-and-templates
650f9a3805a84958f67ad49b1f94196108922c93
[ "MIT" ]
null
null
null
from datetime import datetime, timedelta import pytest from airflow import DAG # What is a conftest? # For more info, check out: https://docs.pytest.org/en/2.7.3/plugins.html?highlight=re @pytest.fixture def test_dag(): """Returns a test dag if the operator requires a dag to run in.""" return DAG( "t...
26.823529
86
0.684211
67
456
4.58209
0.731343
0.068404
0
0
0
0
0
0
0
0
0
0.01084
0.190789
456
16
87
28.5
0.821138
0.364035
0
0
0
0
0.106007
0
0
0
0
0
0
1
0.1
true
0
0.3
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
1
0
0
0
0
0
0
1
5335f46295574907ba72eae222943c47c5a9837f
747
py
Python
backend/web/service/__init__.py
pecimuth/synthia
a54265ca6f772959d395de789bfe16bf054d97ad
[ "MIT" ]
null
null
null
backend/web/service/__init__.py
pecimuth/synthia
a54265ca6f772959d395de789bfe16bf054d97ad
[ "MIT" ]
null
null
null
backend/web/service/__init__.py
pecimuth/synthia
a54265ca6f772959d395de789bfe16bf054d97ad
[ "MIT" ]
null
null
null
from flask import Flask from flask.cli import with_appcontext from core import model from web.service.database import get_db_engine, close_db import click from web.service.injector import pop_injector @click.command('recreate-database') @with_appcontext def recreate_database_command(): """Drop all tables in a da...
27.666667
61
0.768407
109
747
5.06422
0.422018
0.027174
0.059783
0.050725
0
0
0
0
0
0
0
0
0.144578
747
26
62
28.730769
0.86385
0.167336
0
0
0
0
0.064784
0
0
0
0
0
0
1
0.125
false
0
0.375
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
53361b61b81d87d83a6525954db405cdef102ade
1,880
py
Python
python/packager/packager/metadata/constants.py
peturingi/opae-sdk
c9da064787e670925cf6030909ba4ac496c80437
[ "BSD-3-Clause" ]
220
2017-09-02T20:07:11.000Z
2022-03-01T03:53:35.000Z
python/packager/packager/metadata/constants.py
peturingi/opae-sdk
c9da064787e670925cf6030909ba4ac496c80437
[ "BSD-3-Clause" ]
1,335
2017-11-05T03:02:55.000Z
2022-03-29T23:14:06.000Z
python/packager/packager/metadata/constants.py
peturingi/opae-sdk
c9da064787e670925cf6030909ba4ac496c80437
[ "BSD-3-Clause" ]
80
2017-09-01T21:28:16.000Z
2022-03-09T08:04:05.000Z
# Copyright(c) 2017, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the followin...
50.810811
77
0.767021
268
1,880
5.36194
0.563433
0.025052
0.02366
0.032011
0.128045
0.094642
0.094642
0.094642
0.094642
0.094642
0
0.026178
0.187234
1,880
36
78
52.222222
0.914267
0.918085
0
0
0
0
0.154472
0
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5336b89d5c642dd5befe508b4137361f999455df
1,321
gyp
Python
binding.gyp
talrasha007/lmdb-queue
3857ebbdfdb0b902cc970746762fad810e7b282e
[ "MIT" ]
36
2015-04-23T00:29:36.000Z
2021-12-13T09:16:29.000Z
binding.gyp
talrasha007/lmdb-queue
3857ebbdfdb0b902cc970746762fad810e7b282e
[ "MIT" ]
2
2015-08-08T02:05:06.000Z
2017-07-13T03:48:20.000Z
binding.gyp
talrasha007/lmdb-queue
3857ebbdfdb0b902cc970746762fad810e7b282e
[ "MIT" ]
15
2015-07-02T02:31:14.000Z
2021-07-14T04:51:50.000Z
{ "targets": [ { "target_name": "lmdb-queue", "include_dirs" : [ "<!(node -e \"require('nan')\")", "<!(node -e \"require('nnu')\")", "deps" ], "dependencies": [ "<(module_root_dir)/deps/lmdb.gyp:lmdb" ], "sources": [ "src/module.cc", ...
23.175439
54
0.358819
92
1,321
5.043478
0.608696
0.053879
0.051724
0
0
0
0
0
0
0
0
0.015299
0.455715
1,321
57
55
23.175439
0.630042
0
0
0.087719
0
0
0.403933
0.083207
0
0
0
0
0
1
0
true
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
1
0
0
0
0
0
0
1
533809c5b6572f9cc43d329626c0e9a8712e5612
8,640
py
Python
tests/test_parametric_components/test_toroidal_field_coil_rectangle.py
generein/paramak
cec738b278c285a17eaa69fc1f35ea4788204a8c
[ "MIT" ]
25
2021-06-22T07:29:32.000Z
2022-03-28T13:30:53.000Z
tests/test_parametric_components/test_toroidal_field_coil_rectangle.py
generein/paramak
cec738b278c285a17eaa69fc1f35ea4788204a8c
[ "MIT" ]
181
2021-06-22T00:56:30.000Z
2022-03-31T22:36:54.000Z
tests/test_parametric_components/test_toroidal_field_coil_rectangle.py
generein/paramak
cec738b278c285a17eaa69fc1f35ea4788204a8c
[ "MIT" ]
8
2021-07-05T12:29:43.000Z
2022-03-24T13:17:37.000Z
import unittest import pytest import paramak class TestToroidalFieldCoilRectangle(unittest.TestCase): def setUp(self): self.test_shape = paramak.ToroidalFieldCoilRectangle( horizontal_start_point=(100, 700), vertical_mid_point=(800, 0), thickness=50, dista...
37.565217
96
0.620949
1,035
8,640
4.964251
0.130435
0.104321
0.169521
0.099844
0.793499
0.737057
0.627092
0.582912
0.543207
0.4819
0
0.078969
0.281829
8,640
229
97
37.729258
0.749073
0.161111
0
0.358025
0
0
0.013373
0
0
0
0
0
0.197531
1
0.08642
false
0
0.018519
0
0.111111
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
533b33ca779075bd3590558993c53aaa32c9692b
2,001
py
Python
sidhulabs/elastic/client.py
sidhulabs/sidhulabs-py
f3b6cc6dbd12dce3179bf8b129cfc002bc366d83
[ "Apache-2.0" ]
null
null
null
sidhulabs/elastic/client.py
sidhulabs/sidhulabs-py
f3b6cc6dbd12dce3179bf8b129cfc002bc366d83
[ "Apache-2.0" ]
null
null
null
sidhulabs/elastic/client.py
sidhulabs/sidhulabs-py
f3b6cc6dbd12dce3179bf8b129cfc002bc366d83
[ "Apache-2.0" ]
null
null
null
import os from elasticsearch import Elasticsearch from loguru import logger def get_elastic_client( url: str, api_id: str = os.environ.get("ELASTIC_API_ID"), api_key: str = os.environ.get("ELASTIC_API_KEY"), no_creds: bool = False, **kwargs ): """ Returns an Elasticsearch client using api...
27.410959
122
0.661669
265
2,001
4.849057
0.328302
0.093385
0.056031
0.059144
0.210895
0.210895
0.20856
0.155642
0.107393
0
0
0.001993
0.247876
2,001
72
123
27.791667
0.851827
0.531734
0
0
0
0
0.200504
0
0
0
0
0
0.090909
1
0.090909
false
0.090909
0.136364
0
0.409091
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
1
0
0
0
0
0
1
533badf3ab9143349207b20a61ede69bfb612260
163
py
Python
cli/__init__.py
oaoouo/railgun
b09d276723976740841d8b8adf9cbf87a05cd970
[ "MIT" ]
null
null
null
cli/__init__.py
oaoouo/railgun
b09d276723976740841d8b8adf9cbf87a05cd970
[ "MIT" ]
null
null
null
cli/__init__.py
oaoouo/railgun
b09d276723976740841d8b8adf9cbf87a05cd970
[ "MIT" ]
null
null
null
# coding: utf-8 """ railgun-cli ```````````` railgun command line tool :License: MIT :Copyright: @neo1218 @oaoouo """ __version__ = '0.1.3'
12.538462
32
0.539877
18
163
4.666667
0.944444
0
0
0
0
0
0
0
0
0
0
0.066116
0.257669
163
12
33
13.583333
0.628099
0.674847
0
0
0
0
0.2
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
533ef1925b2674d8913638b3b51ccb2e0cf4ae6a
13,973
py
Python
predict_40.py
pykao/ISLES2017-mRS-prediction
851e3dba38589c265e568ad74c691b59fba7b7ea
[ "MIT" ]
1
2020-06-01T09:11:02.000Z
2020-06-01T09:11:02.000Z
predict_40.py
pykao/ISLES2017-mRS-prediction
851e3dba38589c265e568ad74c691b59fba7b7ea
[ "MIT" ]
1
2021-08-18T08:30:40.000Z
2021-09-03T09:45:18.000Z
predict_40.py
pykao/ISLES2017-mRS-prediction
851e3dba38589c265e568ad74c691b59fba7b7ea
[ "MIT" ]
null
null
null
import paths import csv import os import logging import argparse import SimpleITK as sitk import numpy as np import matplotlib.pyplot as plt from sklearn.preprocessing import StandardScaler from sklearn.model_selection import RepeatedStratifiedKFold, LeaveOneOut from sklearn.feature_selection import VarianceThreshold...
43.39441
163
0.680384
1,709
13,973
5.272674
0.17086
0.058595
0.03751
0.031739
0.461991
0.377982
0.306181
0.243258
0.211408
0.194984
0
0.013162
0.135476
13,973
321
164
43.529595
0.732781
0.281686
0
0.075342
0
0.013699
0.153292
0.015879
0
0
0
0
0
1
0
false
0.068493
0.205479
0
0.205479
0.006849
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
1
0
0
0
0
0
1
5349e34aaf17a1ef307ceb97b2cc71a1f670e9bf
1,456
py
Python
examples/synthetic/hartmann6_4/hartmann6_4.py
hase1128/dragonfly
4be7e4c539d3edccc4d243ab9f972b1ffb0d9a5c
[ "MIT" ]
675
2018-08-23T17:30:46.000Z
2022-03-30T18:37:23.000Z
examples/synthetic/hartmann6_4/hartmann6_4.py
hase1128/dragonfly
4be7e4c539d3edccc4d243ab9f972b1ffb0d9a5c
[ "MIT" ]
62
2018-11-30T23:40:19.000Z
2022-03-10T19:47:27.000Z
examples/synthetic/hartmann6_4/hartmann6_4.py
hase1128/dragonfly
4be7e4c539d3edccc4d243ab9f972b1ffb0d9a5c
[ "MIT" ]
349
2018-09-10T19:04:34.000Z
2022-03-31T13:10:45.000Z
""" Hartmann function in 6 dimensions. This function assumes that the input is a list of 4 elements in the following order a one dimensional int, a 2D float, a 1D float, a 2D int. -- kandasamy@cs.cmu.edu """ # pylint: disable=invalid-name # pylint: disable=bad-whitespace import numpy as np def hartmann6_4(x)...
30.333333
87
0.515797
230
1,456
3.217391
0.430435
0.067568
0.072973
0.054054
0.137838
0.081081
0.081081
0
0
0
0
0.202811
0.315934
1,456
47
88
30.978723
0.540161
0.263049
0
0.076923
0
0
0
0
0
0
0
0
0
1
0.153846
false
0
0.038462
0
0.346154
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
534ee198cd2484401ca912b168b6f23f894971b9
952
py
Python
messaging/admin.py
danielmicaletti/Procurement-Order-Management-App
0066e08c8ea18f10216489abe9b892bb6eb78c0e
[ "MIT" ]
null
null
null
messaging/admin.py
danielmicaletti/Procurement-Order-Management-App
0066e08c8ea18f10216489abe9b892bb6eb78c0e
[ "MIT" ]
null
null
null
messaging/admin.py
danielmicaletti/Procurement-Order-Management-App
0066e08c8ea18f10216489abe9b892bb6eb78c0e
[ "MIT" ]
null
null
null
from django.contrib import admin from messaging.models import Mail, MailReply, MailFile, Chat, ChatMessage class MailFileInline(admin.StackedInline): model = MailFile extra = 0 class MailReplyInline(admin.StackedInline): model = MailReply extra = 0 class MailAdmin(admin.ModelAdmin): inlines = [...
24.410256
83
0.681723
96
952
6.59375
0.385417
0.086888
0.109005
0.06951
0.075829
0
0
0
0
0
0
0.003958
0.203782
952
38
84
25.052632
0.831135
0
0
0.241379
0
0
0.12395
0
0
0
0
0
0
1
0
false
0
0.068966
0
0.758621
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
534f04caae512c4377e9feee5f26ea496923b33d
5,164
py
Python
sweep_builder/expectation_builder/expectations_inventory/inventory.py
panoramichq/data-collection-fb
550b90a303c880ae8c3dfd2801dc4f991a969f89
[ "MIT" ]
null
null
null
sweep_builder/expectation_builder/expectations_inventory/inventory.py
panoramichq/data-collection-fb
550b90a303c880ae8c3dfd2801dc4f991a969f89
[ "MIT" ]
null
null
null
sweep_builder/expectation_builder/expectations_inventory/inventory.py
panoramichq/data-collection-fb
550b90a303c880ae8c3dfd2801dc4f991a969f89
[ "MIT" ]
null
null
null
""" This file contains a mapping of normative report type labels to entities that require these reports and to report task implementations effectively fulfilling the normative report requirement. """ import functools from typing import Dict, List from config import jobs as jobs_config from common.enums.entity import E...
45.699115
118
0.690163
614
5,164
5.320847
0.156352
0.085706
0.082645
0.132231
0.70554
0.49801
0.367309
0.218549
0.119376
0.026936
0
0
0.27227
5,164
112
119
46.107143
0.869345
0.040666
0
0.235294
0
0
0
0
0
0
0
0
0
1
0
true
0
0.127451
0
0.127451
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
1
0
0
0
0
0
0
1
5355779936eb55e1800cfc04db20002e8798bacf
7,078
py
Python
predictive_monitoring/lstm_approach/gcd_single-job_multivariate_prediction.py
polaris-slo-cloud/polaris-ai
12e5118ab35c18c7e37762f63035794fbe48b4de
[ "Apache-2.0" ]
3
2021-12-30T08:20:44.000Z
2022-01-24T08:08:31.000Z
predictive_monitoring/lstm_approach/gcd_single-job_multivariate_prediction.py
polaris-slo-cloud/polaris-ai
12e5118ab35c18c7e37762f63035794fbe48b4de
[ "Apache-2.0" ]
null
null
null
predictive_monitoring/lstm_approach/gcd_single-job_multivariate_prediction.py
polaris-slo-cloud/polaris-ai
12e5118ab35c18c7e37762f63035794fbe48b4de
[ "Apache-2.0" ]
null
null
null
import argparse import os import sys from collections import defaultdict from math import sqrt import json from ..gcd_data_manipulation import data_aggregation from ..gcd_data_manipulation import extract_train_test from ..gcd_data_manipulation import load_data from keras.layers import Dense from keras.layers import LS...
37.057592
119
0.662051
956
7,078
4.665272
0.24477
0.030269
0.016144
0.015695
0.16435
0.131839
0.131839
0.108072
0.058744
0.058744
0
0.01225
0.215739
7,078
190
120
37.252632
0.791209
0.02317
0
0.061644
0
0
0.137726
0.014772
0
0
0
0
0
0
null
null
0
0.109589
null
null
0.013699
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5357453bcfa5d84e02f3725df19cd9e7e55a286e
340
py
Python
tests/frontend/index_tests.py
NamPNQ/thongtinluadao.info
6a7fd43330652dfc668bcd91bc830a3b38a349c2
[ "WTFPL" ]
null
null
null
tests/frontend/index_tests.py
NamPNQ/thongtinluadao.info
6a7fd43330652dfc668bcd91bc830a3b38a349c2
[ "WTFPL" ]
12
2016-01-26T10:54:50.000Z
2018-10-23T09:55:05.000Z
tests/frontend/index_tests.py
NamPNQ/thongtinluadao.info
6a7fd43330652dfc668bcd91bc830a3b38a349c2
[ "WTFPL" ]
4
2016-01-12T09:01:07.000Z
2018-10-21T03:34:01.000Z
# -*- coding: utf-8 -*- """ tests.frontend.index_tests ~~~~~~~~~~~~~~~~~~~~ frontend index tests module """ from . import TTLDFrontendTestCase class IndexTestCase(TTLDFrontendTestCase): def test_page_title(self): r = self.get('/') self.assertOk(r) self.assertIn('<title>Thong...
18.888889
54
0.602941
34
340
5.941176
0.676471
0.128713
0.178218
0.227723
0
0
0
0
0
0
0
0.003731
0.211765
340
17
55
20
0.75
0.291176
0
0
0
0
0.099548
0.095023
0
0
0
0
0.333333
1
0.166667
false
0
0.166667
0
0.5
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
0
0
0
0
0
1
5358a3b8fd18f700d80ec0501756bfd72bfbbaf6
42,246
py
Python
ai_flow/protobuf/scheduling_service_pb2.py
flink-extended/ai-flow
d1427a243097d94d77fedbe1966500ae26975a13
[ "Apache-2.0" ]
79
2021-10-15T07:32:27.000Z
2022-03-28T04:10:19.000Z
ai_flow/protobuf/scheduling_service_pb2.py
flink-extended/ai-flow
d1427a243097d94d77fedbe1966500ae26975a13
[ "Apache-2.0" ]
153
2021-10-15T05:23:46.000Z
2022-02-23T06:07:10.000Z
ai_flow/protobuf/scheduling_service_pb2.py
flink-extended/ai-flow
d1427a243097d94d77fedbe1966500ae26975a13
[ "Apache-2.0" ]
23
2021-10-15T02:36:37.000Z
2022-03-17T02:59:27.000Z
# # Copyright 2022 The AI Flow Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
46.322368
5,898
0.780595
4,933
42,246
6.354348
0.079059
0.025649
0.062432
0.055988
0.725962
0.635998
0.61322
0.603299
0.581542
0.550692
0
0.044882
0.102353
42,246
911
5,899
46.373216
0.78171
0.038631
0
0.664649
0
0.015739
0.269396
0.237776
0
0
0
0
0
1
0
false
0
0.010896
0
0.010896
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5358ebd1184c8f2e2f584279937948b4f30bebfa
1,012
py
Python
test/py3_test_controller.py
glowatsk/txtorcon
db8de75a4568561b118be11299bda61f3fb84719
[ "MIT" ]
180
2015-01-12T23:57:06.000Z
2022-03-17T00:24:35.000Z
test/py3_test_controller.py
glowatsk/txtorcon
db8de75a4568561b118be11299bda61f3fb84719
[ "MIT" ]
262
2015-01-16T21:14:50.000Z
2022-02-25T01:33:42.000Z
test/py3_test_controller.py
glowatsk/txtorcon
db8de75a4568561b118be11299bda61f3fb84719
[ "MIT" ]
61
2015-01-05T01:10:57.000Z
2022-01-04T08:13:39.000Z
from mock import Mock from twisted.trial import unittest from twisted.internet.defer import ensureDeferred from zope.interface import directlyProvides from txtorcon import TorConfig from txtorcon.interface import ITorControlProtocol from txtorcon.controller import Tor class ClientOnionServiceAuthenticationTests3(un...
33.733333
72
0.729249
115
1,012
6.330435
0.347826
0.057692
0.098901
0.074176
0.17033
0.098901
0.098901
0
0
0
0
0.001206
0.18083
1,012
29
73
34.896552
0.87696
0
0
0
0
0
0.09585
0
0
0
0
0
0.136364
1
0.090909
false
0
0.318182
0.045455
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
535932a55d3969162b70837fdd2f6394c5ff6c68
593
py
Python
225-implement-stack-using-queues/225-implement-stack-using-queues.py
tlylt/LeetCodeAnki
9f69504c3762f7895d95c2a592f18ad395199ff4
[ "MIT" ]
1
2022-02-14T08:03:32.000Z
2022-02-14T08:03:32.000Z
225-implement-stack-using-queues/225-implement-stack-using-queues.py
tlylt/LeetCodeAnki
9f69504c3762f7895d95c2a592f18ad395199ff4
[ "MIT" ]
null
null
null
225-implement-stack-using-queues/225-implement-stack-using-queues.py
tlylt/LeetCodeAnki
9f69504c3762f7895d95c2a592f18ad395199ff4
[ "MIT" ]
null
null
null
class MyStack: def __init__(self): self.q = deque() def push(self, x: int) -> None: self.q.append(x) def pop(self) -> int: for i in range(len(self.q)-1): self.q.append(self.q.popleft()) return self.q.popleft() def top(self) -> int: temp = self.pop() ...
23.72
62
0.558179
89
593
3.640449
0.449438
0.123457
0.101852
0
0
0
0
0
0
0
0
0.011848
0.288364
593
25
63
23.72
0.755924
0.252951
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.066667
0.6
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
535cfd142019344b255c1bd16762fe61448d2588
2,535
py
Python
imagernn/dataproc/picsom_bin_data.py
rakshithShetty/captionGAN
3a1d33923aee05ea46d2556f59cb892132a1e5c2
[ "MIT" ]
66
2017-12-04T05:23:29.000Z
2022-03-16T02:43:23.000Z
imagernn/dataproc/picsom_bin_data.py
Jevin754/captionGAN
b9d1331e7a64ed20e152a749eaa1f086c0be556d
[ "MIT" ]
5
2018-02-28T06:25:53.000Z
2021-11-07T16:38:03.000Z
imagernn/dataproc/picsom_bin_data.py
Jevin754/captionGAN
b9d1331e7a64ed20e152a749eaa1f086c0be556d
[ "MIT" ]
17
2017-11-16T01:45:15.000Z
2022-02-06T08:09:08.000Z
#!/usr/bin/python from struct import unpack import sys import os import numpy as np class picsom_bin_data: def __init__(self, path) : self._path = path self._fp = open(path) self._header = self._fp.read(64) # print self._header[0:4] if self._header[0:4] != "PSBD" : raise Exception('Not a ...
27.857143
91
0.615385
390
2,535
3.769231
0.241026
0.040816
0.032653
0.012245
0.370748
0.355782
0.253061
0.253061
0.253061
0.253061
0
0.018926
0.228797
2,535
90
92
28.166667
0.732992
0.035108
0
0.157143
0
0
0.104056
0
0
0
0
0
0
0
null
null
0.014286
0.057143
null
null
0.071429
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
535eada3721ea18d34bdddd276d925f377d2f1fd
4,869
py
Python
CIM100/IEC61970/Base/Meas/ValueAliasSet.py
MaximeBaudette/PyCIM
d68ee5ccfc1d32d44c5cd09fb173142fb5ff4f14
[ "MIT" ]
null
null
null
CIM100/IEC61970/Base/Meas/ValueAliasSet.py
MaximeBaudette/PyCIM
d68ee5ccfc1d32d44c5cd09fb173142fb5ff4f14
[ "MIT" ]
null
null
null
CIM100/IEC61970/Base/Meas/ValueAliasSet.py
MaximeBaudette/PyCIM
d68ee5ccfc1d32d44c5cd09fb173142fb5ff4f14
[ "MIT" ]
null
null
null
# Copyright (C) 2010-2011 Richard Lincoln # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish...
41.262712
989
0.687616
620
4,869
5.346774
0.304839
0.026546
0.01448
0.01448
0.459125
0.459125
0.441931
0.394268
0.315837
0.315837
0
0.006472
0.238447
4,869
117
990
41.615385
0.88754
0.512426
0
0.344262
0
0
0.020035
0
0
0
0
0
0
1
0.213115
false
0
0.016393
0
0.442623
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
5367640785fdc88c824bb362baf77c30bb170a9a
628
py
Python
python/arrays/0015-3sum.py
karolinyoliveira/leetcode-ebbinghaus-practice
5149e06f1c187b87e280fd58541c11d8ab8626d3
[ "MIT" ]
2
2021-05-28T03:41:39.000Z
2021-10-19T16:53:16.000Z
python/arrays/0015-3sum.py
karolinyoliveira/leetcode-ebbinghaus-practice
5149e06f1c187b87e280fd58541c11d8ab8626d3
[ "MIT" ]
null
null
null
python/arrays/0015-3sum.py
karolinyoliveira/leetcode-ebbinghaus-practice
5149e06f1c187b87e280fd58541c11d8ab8626d3
[ "MIT" ]
null
null
null
from typing import List def threeSum(nums: List[int]) -> List[List[int]]: response = [] nums.sort() for i, n in enumerate(nums): if i > 0 and n == nums[i - 1]: continue l, r = i + 1, len(nums) - 1 while l < r: s = n + nums[l] + nums[r] ...
25.12
55
0.356688
79
628
2.835443
0.367089
0.089286
0.120536
0.089286
0.098214
0
0
0
0
0
0
0.036424
0.519108
628
25
56
25.12
0.705298
0
0
0.15
0
0
0
0
0
0
0
0
0
1
0.05
false
0
0.05
0
0.15
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5368e5cceb0eb455607c37278c8b4a2204cd7dc9
1,108
py
Python
setup.py
quattro/egrm
c3cce1cd710d81543bc3c24cc4087a3a4aa399a1
[ "MIT" ]
null
null
null
setup.py
quattro/egrm
c3cce1cd710d81543bc3c24cc4087a3a4aa399a1
[ "MIT" ]
null
null
null
setup.py
quattro/egrm
c3cce1cd710d81543bc3c24cc4087a3a4aa399a1
[ "MIT" ]
null
null
null
from setuptools import dist, setup, Extension # bootstrap numpy; can we workaround this? dist.Distribution().fetch_build_eggs(["numpy>=1.14.5"]) # should be fine now import numpy as np def readme(): with open("README.rst") as f: return f.read() setup( name="egrm", version="0.1", author="C...
24.622222
79
0.612816
129
1,108
5.170543
0.751938
0.017991
0.023988
0.026987
0
0
0
0
0
0
0
0.01986
0.227437
1,108
44
80
25.181818
0.759346
0.054152
0
0.111111
0
0
0.356938
0.021053
0
0
0
0
0
1
0.027778
true
0
0.055556
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
1
0
0
0
0
0
0
1
725954985db1cecdd222cdefbdfca3ec2c046b0d
271
py
Python
extraction/utils.py
bltlab/mot
4896c8e6b5e6895a27662b5e92897c0752b7adaa
[ "MIT" ]
8
2022-01-18T06:28:45.000Z
2022-03-24T13:14:48.000Z
extraction/utils.py
bltlab/mot
4896c8e6b5e6895a27662b5e92897c0752b7adaa
[ "MIT" ]
null
null
null
extraction/utils.py
bltlab/mot
4896c8e6b5e6895a27662b5e92897c0752b7adaa
[ "MIT" ]
null
null
null
from pymongo import MongoClient from pymongo.collection import Collection ARCHIVEDOTORG = "archive.org" def get_sitemap_collection(port: int = 27200) -> Collection: client = MongoClient(port=port) voa_corpus = client.voa_corpus return voa_corpus.sitemaps
22.583333
60
0.774908
33
271
6.212121
0.575758
0.131707
0
0
0
0
0
0
0
0
0
0.021834
0.154982
271
11
61
24.636364
0.873362
0
0
0
0
0
0.04059
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
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
7259ea6fcf3b446bfe5dd5ecb9ab4a7bd5b4febd
5,667
py
Python
zerver/lib/generate_test_data.py
rtzll/zulip
b831df8f7fc2f5b89ec998266901ac491d52a7fc
[ "Apache-2.0" ]
null
null
null
zerver/lib/generate_test_data.py
rtzll/zulip
b831df8f7fc2f5b89ec998266901ac491d52a7fc
[ "Apache-2.0" ]
11
2021-02-08T20:59:55.000Z
2022-03-12T00:51:41.000Z
zerver/lib/generate_test_data.py
usmanmuhd/zulip
0600646fbfdcfb20c0c0d47950690a6efac873aa
[ "Apache-2.0" ]
1
2019-10-14T23:36:14.000Z
2019-10-14T23:36:14.000Z
import itertools import ujson import random from typing import List, Dict, Any, Text, Optional def load_config(): # type: () -> Dict [str, Any] with open("zerver/fixtures/config.generate_data.json", "r") as infile: config = ujson.load(infile) return config def get_stream_title(gens): # type: ...
29.826316
76
0.585848
712
5,667
4.598315
0.258427
0.029322
0.062309
0.021381
0.17807
0.163409
0.111179
0.055589
0.043372
0.043372
0
0.000713
0.257103
5,667
189
77
29.984127
0.77696
0.203106
0
0.165217
1
0
0.113489
0.014047
0
0
0
0.005291
0
1
0.104348
false
0
0.034783
0.008696
0.226087
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
725c69db63875796786bb8b92005313a70593760
654
py
Python
skfem/element/element_tri/element_tri_morley.py
carlosal1015/scikit-fem
1e73a417e9b43fe0a36e29807792c41fa289b77d
[ "BSD-3-Clause" ]
null
null
null
skfem/element/element_tri/element_tri_morley.py
carlosal1015/scikit-fem
1e73a417e9b43fe0a36e29807792c41fa289b77d
[ "BSD-3-Clause" ]
null
null
null
skfem/element/element_tri/element_tri_morley.py
carlosal1015/scikit-fem
1e73a417e9b43fe0a36e29807792c41fa289b77d
[ "BSD-3-Clause" ]
null
null
null
from ..element_h2 import ElementH2 class ElementTriMorley(ElementH2): nodal_dofs = 1 facet_dofs = 1 dim = 2 maxdeg = 2 dofnames = ['u', 'u_n'] def gdof(self, u, du, ddu, v, e, n, i): if i == 0: return u(*v[0]) elif i == 1: return u(*v[1]) elif i...
25.153846
62
0.412844
110
654
2.418182
0.318182
0.093985
0.090226
0.112782
0
0
0
0
0
0
0
0.098765
0.380734
654
25
63
26.16
0.558025
0
0
0
0
0
0.007645
0
0
0
0
0
0
1
0.045455
false
0
0.045455
0
0.636364
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
725ca210a66d4f36120219185f68d07088255206
10,386
py
Python
pytests/epengine/bucket_config.py
ramalingam-cb/testrunner
81cea7a5a493cf0c67fca7f97c667cd3c6ad2142
[ "Apache-2.0" ]
null
null
null
pytests/epengine/bucket_config.py
ramalingam-cb/testrunner
81cea7a5a493cf0c67fca7f97c667cd3c6ad2142
[ "Apache-2.0" ]
null
null
null
pytests/epengine/bucket_config.py
ramalingam-cb/testrunner
81cea7a5a493cf0c67fca7f97c667cd3c6ad2142
[ "Apache-2.0" ]
null
null
null
import time import logger import unittest from TestInput import TestInput, TestInputSingleton from memcacheConstants import ERR_NOT_FOUND from castest.cas_base import CasBaseTest from couchbase_helper.documentgenerator import BlobGenerator from mc_bin_client import MemcachedError from membase.api.rest_client import R...
41.710843
133
0.632775
1,131
10,386
5.642794
0.213086
0.031025
0.022407
0.020683
0.417737
0.375901
0.333594
0.288154
0.258696
0.226575
0
0.005173
0.274119
10,386
248
134
41.879032
0.841358
0.017716
0
0.378238
0
0
0.109533
0.002297
0
0
0
0
0.020725
0
null
null
0.025907
0.103627
null
null
0.015544
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
7265bd6bc634d90595643d485a3950c818f8d70c
524
py
Python
mapgen.py
arunrajora/algorithms
3590deefbf94382e10ebd16692118328fc9b538a
[ "MIT" ]
1
2017-08-20T20:35:53.000Z
2017-08-20T20:35:53.000Z
mapgen.py
arunrajora/algorithms
3590deefbf94382e10ebd16692118328fc9b538a
[ "MIT" ]
null
null
null
mapgen.py
arunrajora/algorithms
3590deefbf94382e10ebd16692118328fc9b538a
[ "MIT" ]
1
2017-06-10T18:51:56.000Z
2017-06-10T18:51:56.000Z
import sys,os root = "./codes/" for path, subdirs, files in os.walk(root): print "processing : "+path print "\tfound "+str(len(files)+len(subdirs))+" files." mapperFile=open(path+"/mapper.txt","w+") for dir in subdirs: print "\t\tadding directory : "+dir mapperFile.write(dir+"\n"); for file in files: if(fi...
29.111111
75
0.652672
76
524
4.5
0.473684
0.052632
0.076023
0
0
0
0
0
0
0
0
0
0.148855
524
18
76
29.111111
0.766816
0
0
0
0
0
0.260952
0
0
0
0
0
0
0
null
null
0
0.0625
null
null
0.3125
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
7265fad273cee1af138bf3bfc25d81197e7ec7b7
1,922
py
Python
cog/view.py
DrNeilSmith/cog
7fc6ee4790ab68f22828dd5550a616ac8a3c3423
[ "MIT" ]
158
2018-07-09T02:46:54.000Z
2022-03-06T15:56:49.000Z
cog/view.py
DrNeilSmith/cog
7fc6ee4790ab68f22828dd5550a616ac8a3c3423
[ "MIT" ]
18
2018-07-12T14:59:01.000Z
2022-01-02T04:57:20.000Z
cog/view.py
DrNeilSmith/cog
7fc6ee4790ab68f22828dd5550a616ac8a3c3423
[ "MIT" ]
22
2019-01-31T14:57:39.000Z
2022-03-16T07:25:53.000Z
script_part1 =r""" <!DOCTYPE html> <html lang="en"> <head> <title>Cog Graph</title> <style type="text/css"> body { padding: 0; margin: 0; width: 100%;!important; height: 100%;!important; } #cog-graph-view { width: 700px; height: 700px; ...
19.414141
62
0.434443
176
1,922
4.698864
0.471591
0.038694
0.043531
0.058041
0
0
0
0
0
0
0
0.037872
0.422997
1,922
99
63
19.414141
0.707845
0
0
0.116279
0
0
0.949558
0.081643
0
0
0
0
0
1
0
false
0
0.023256
0
0.023256
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
726e0441a33e85f0e332eaf637a1da5820855ecf
3,444
py
Python
configs/aitod/v001.19.09_aitod_faster_rcnn_r50_iou_assigner_PT_0.7_NT_0.4.py
jwwangchn/mmdet-aitod
a4f1cad1f6ba079037a58edda885981654885b9e
[ "Apache-2.0" ]
2
2021-04-23T12:15:43.000Z
2021-06-09T05:28:10.000Z
configs/aitod/v001.19.09_aitod_faster_rcnn_r50_iou_assigner_PT_0.7_NT_0.4.py
jwwangchn/mmdet-aitod
a4f1cad1f6ba079037a58edda885981654885b9e
[ "Apache-2.0" ]
null
null
null
configs/aitod/v001.19.09_aitod_faster_rcnn_r50_iou_assigner_PT_0.7_NT_0.4.py
jwwangchn/mmdet-aitod
a4f1cad1f6ba079037a58edda885981654885b9e
[ "Apache-2.0" ]
1
2021-12-18T02:11:30.000Z
2021-12-18T02:11:30.000Z
""" Faster R-CNN with Normalized Wasserstein Assigner Average Precision (AP) @[ IoU=0.50:0.95 | area= all | maxDets=1500 ] = 0.053 Average Precision (AP) @[ IoU=0.25 | area= all | maxDets=1500 ] = -1.000 Average Precision (AP) @[ IoU=0.50 | area= all | maxDets=1500 ] = 0.130 Average Precision (AP) ...
48.507042
81
0.494483
459
3,444
3.638344
0.30719
0.050299
0.061078
0.050299
0.533533
0.495808
0.479042
0.466467
0.391617
0.319162
0
0.154204
0.250581
3,444
70
82
49.2
0.492832
0.792683
0
0.285714
0
0
0.209104
0.204836
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
726fd0637de87febd9ae746fab89f5b46596f5d7
5,703
py
Python
commander/lib/toycompile.py
how2how/ToyHome
4457b1d28e21ed6fd4ab980a0f7fed345c570ae3
[ "Apache-2.0" ]
1
2020-07-26T01:08:30.000Z
2020-07-26T01:08:30.000Z
commander/lib/toycompile.py
how2how/ToyHome
4457b1d28e21ed6fd4ab980a0f7fed345c570ae3
[ "Apache-2.0" ]
null
null
null
commander/lib/toycompile.py
how2how/ToyHome
4457b1d28e21ed6fd4ab980a0f7fed345c570ae3
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import ast import marshal import logging logger = logging class Compiler(ast.NodeTransformer): def __init__(self, data, path=False, main=False, docstrings=False): source = data if path: with open(data) as src: source = src.read() sel...
30.174603
78
0.516921
639
5,703
4.480438
0.250391
0.027943
0.023053
0.020957
0.149144
0.122599
0.071953
0.071953
0.023053
0
0
0.007767
0.367877
5,703
188
79
30.335106
0.786408
0.003682
0
0.213793
0
0
0.061092
0
0.006897
0
0
0
0
0
null
null
0
0.062069
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7271b2c0f28220a9d6ee8e937a6231cc6ccdc5fd
456
py
Python
lab2.py
A-Glavin/ia241-github
c8371d2cdcceac0fa146b798caafc4d2db9c7e74
[ "MIT" ]
null
null
null
lab2.py
A-Glavin/ia241-github
c8371d2cdcceac0fa146b798caafc4d2db9c7e74
[ "MIT" ]
null
null
null
lab2.py
A-Glavin/ia241-github
c8371d2cdcceac0fa146b798caafc4d2db9c7e74
[ "MIT" ]
null
null
null
''' lab2 ''' #3.1 my_name = "Tom" print(my_name.upper()) #3.2 my_id = 123 print(my_id) #3.3 # 123=my_id my_id=your_id=123 print(my_id) print(your_id) #3.4 my_id_str= "123" print(my_id_str) #3.5 #print(my_name+my_id) #3.6 print(my_name+my_id_str) #3.7 print(my_name*3) #3.8 print('hello, world. This is my fi...
9.913043
64
0.653509
99
456
2.818182
0.292929
0.129032
0.157706
0.129032
0.412186
0.164875
0.164875
0
0
0
0
0.106494
0.155702
456
45
65
10.133333
0.618182
0.247807
0
0.142857
0
0
0.204969
0
0
0
0
0
0
1
0
false
0
0
0
0
0.642857
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
1
0
1
727d722452c045178c426d54504026973753b6ae
25,908
py
Python
pynetdicom2/dimsemessages.py
blanebf/pynetdicom2
c3c9eb35b914864feca3715c67d3ec3eacb39455
[ "MIT" ]
7
2015-06-08T19:40:51.000Z
2021-01-03T17:11:12.000Z
pynetdicom2/dimsemessages.py
blanebf/pynetdicom2
c3c9eb35b914864feca3715c67d3ec3eacb39455
[ "MIT" ]
1
2019-08-11T03:38:02.000Z
2019-08-11T03:38:02.000Z
pynetdicom2/dimsemessages.py
blanebf/pynetdicom2
c3c9eb35b914864feca3715c67d3ec3eacb39455
[ "MIT" ]
1
2018-04-19T08:12:30.000Z
2018-04-19T08:12:30.000Z
# Copyright (c) 2021 Pavel 'Blane' Tuchin # Copyright (c) 2012 Patrice Munger # This file is part of pynetdicom, released under a modified MIT license. # See the file license.txt included with this distribution, also # available at http://pynetdicom.googlecode.com # """ In this module you can find classes that i...
31.788957
99
0.671183
3,206
25,908
5.324392
0.135995
0.026889
0.048975
0.030931
0.597832
0.58553
0.563855
0.556356
0.521851
0.484651
0
0.049964
0.239849
25,908
814
100
31.82801
0.816797
0.218465
0
0.342308
0
0
0.155019
0.071511
0
0
0.065475
0
0
1
0.046154
false
0
0.026923
0.003846
0.553846
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
727f41ab476ea5df71fb3d3271fa2876db26cbde
979
py
Python
model/plotter.py
JakartaLaw/bayesianfactormodel
0a75412d965ae2ed5c093315cb27f82d4a578590
[ "MIT" ]
null
null
null
model/plotter.py
JakartaLaw/bayesianfactormodel
0a75412d965ae2ed5c093315cb27f82d4a578590
[ "MIT" ]
null
null
null
model/plotter.py
JakartaLaw/bayesianfactormodel
0a75412d965ae2ed5c093315cb27f82d4a578590
[ "MIT" ]
null
null
null
import itertools import pandas as pd import numpy as np import matplotlib.pyplot as plt from model.parameterframe import ParameterFrame class Plotter(object): def __init__(self, trace_df): self.trace_df = trace_df def __repr__(self): p, k = self.get_dimensions() return '(p = ' + str...
21.282609
66
0.541369
135
979
3.659259
0.407407
0.08502
0.066802
0
0
0
0
0
0
0
0
0.03876
0.341164
979
45
67
21.755556
0.727132
0.073544
0
0
0
0
0.014428
0
0
0
0
0
0
1
0.178571
false
0
0.178571
0.035714
0.535714
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
72811b536529edb4898a140ce07d7d3f8d1b62a5
340
py
Python
setup.py
HaasCM/python_template
b3123011fa3c39695930de2a461d97f0bbd3f244
[ "MIT" ]
null
null
null
setup.py
HaasCM/python_template
b3123011fa3c39695930de2a461d97f0bbd3f244
[ "MIT" ]
null
null
null
setup.py
HaasCM/python_template
b3123011fa3c39695930de2a461d97f0bbd3f244
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='template_app', version='0.1', packages=['template_one', 'package_one', 'package_two'], entry_points={ 'console_scripts': [ 'start-app = template_app.__main__:main' ] }, ...
26.153846
64
0.497059
31
340
5.064516
0.741935
0.140127
0
0
0
0
0
0
0
0
0
0.009615
0.388235
340
12
65
28.333333
0.745192
0
0
0
0
0
0.3
0.076471
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
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
1
0
0
0
0
0
0
1
72886602be987fd6878eaa03e698e30ad25f6923
2,763
py
Python
scripts/aggregate_volume.py
chenzeyuczy/KDD2017
2d0dc5c089653ed2163783dc99372c7fb7c2cca6
[ "MIT" ]
null
null
null
scripts/aggregate_volume.py
chenzeyuczy/KDD2017
2d0dc5c089653ed2163783dc99372c7fb7c2cca6
[ "MIT" ]
null
null
null
scripts/aggregate_volume.py
chenzeyuczy/KDD2017
2d0dc5c089653ed2163783dc99372c7fb7c2cca6
[ "MIT" ]
2
2020-06-20T14:18:23.000Z
2021-01-16T00:06:11.000Z
# -*- coding: utf-8 -*- #!/usr/bin/env python """ Calculate volume for each 20-minute time window. """ import math from datetime import datetime,timedelta file_suffix = '.csv' path = '../dataSets/dataSet_phase2/' # set the data directory filename = 'volume(table 6)_training2' def avgVolume(in_file): ...
37.337838
102
0.591748
341
2,763
4.504399
0.322581
0.14974
0.078125
0.085938
0.175781
0.158854
0.054688
0.054688
0
0
0
0.012091
0.281578
2,763
73
103
37.849315
0.761713
0.12414
0
0
0
0
0.070876
0.011598
0
0
0
0
0
1
0.04
false
0.16
0.04
0
0.08
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
1
0
0
0
0
0
1
728d6bdc46717ae662911d473592e34f597133f4
1,464
py
Python
reverb.py
ctoth/shooter
2151678355553527a944c29678c13f741c1ee6c9
[ "MIT" ]
null
null
null
reverb.py
ctoth/shooter
2151678355553527a944c29678c13f741c1ee6c9
[ "MIT" ]
null
null
null
reverb.py
ctoth/shooter
2151678355553527a944c29678c13f741c1ee6c9
[ "MIT" ]
null
null
null
import libaudioverse class Reverb(object): def __init__(self, simulation): self.simulation = simulation self.reverb = libaudioverse.FdnReverbNode(self.simulation) self.input_node = libaudioverse.GainNode(self.simulation, channels = 2) self.splitter = libaudioverse.ChannelSplitterNode(self.simulation,...
25.241379
83
0.719262
190
1,464
5.473684
0.247368
0.125
0.053846
0.076923
0.051923
0
0
0
0
0
0
0.015715
0.17418
1,464
57
84
25.684211
0.8445
0.04918
0
0.095238
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.02381
0.095238
0.428571
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
728e4fa80f673ea6608aa11b2f4be786babb5394
302
py
Python
src/ape/plugins/pluggy_patch.py
benjyz/ape
b5f3ff28c97c463a764881032cb2cfcd21201d07
[ "Apache-2.0" ]
null
null
null
src/ape/plugins/pluggy_patch.py
benjyz/ape
b5f3ff28c97c463a764881032cb2cfcd21201d07
[ "Apache-2.0" ]
null
null
null
src/ape/plugins/pluggy_patch.py
benjyz/ape
b5f3ff28c97c463a764881032cb2cfcd21201d07
[ "Apache-2.0" ]
null
null
null
from typing import Any, Callable, TypeVar, cast import pluggy # type: ignore F = TypeVar("F", bound=Callable[..., Any]) hookimpl = cast(Callable[[F], F], pluggy.HookimplMarker("ape")) hookspec = pluggy.HookspecMarker("ape") plugin_manager = pluggy.PluginManager("ape") class PluginType: pass
21.571429
63
0.715232
37
302
5.810811
0.621622
0
0
0
0
0
0
0
0
0
0
0
0.135762
302
13
64
23.230769
0.823755
0.039735
0
0
0
0
0.034722
0
0
0
0
0
0
1
0
false
0.125
0.25
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
1
0
0
0
0
0
1
7291aa8ec7ccfa5fa46c971057ff496d00df0eb3
3,029
py
Python
web2py/applications/test_app/modules/plugin_appreport/form_report_web2py.py
eddgt/web2py
956c67754bbbdeaa5479f61d6a91ce0de87861e9
[ "BSD-3-Clause" ]
null
null
null
web2py/applications/test_app/modules/plugin_appreport/form_report_web2py.py
eddgt/web2py
956c67754bbbdeaa5479f61d6a91ce0de87861e9
[ "BSD-3-Clause" ]
null
null
null
web2py/applications/test_app/modules/plugin_appreport/form_report_web2py.py
eddgt/web2py
956c67754bbbdeaa5479f61d6a91ce0de87861e9
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ Copyright (c) 2010, 2011 Lucas D'Avila - email lucassdvl@gmail.com / twitter @lucadavila This file is part of appreport. appreport is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (LGPL v3) as published by the Free Softwar...
35.22093
119
0.620337
384
3,029
4.757813
0.424479
0.034483
0.032841
0.031199
0.097975
0.03503
0.03503
0
0
0
0
0.008656
0.275338
3,029
85
120
35.635294
0.82369
0.431496
0
0
0
0
0.034675
0
0
0
0
0.011765
0
1
0.125
false
0
0.15625
0
0.40625
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
7291fe6f3b71cd76f711c3a1628f7aafa1b8fcd0
2,693
py
Python
drop-boxes/register-qcml-dropbox/old.py
qbicsoftware/etl-scripts
e1cea11b5f55fb218e7d4c8d49bdd3c5fe6c62c6
[ "MIT" ]
2
2018-04-20T15:48:02.000Z
2021-11-30T17:39:28.000Z
drop-boxes/register-qcml-dropbox/old.py
qbicsoftware/etl-scripts
e1cea11b5f55fb218e7d4c8d49bdd3c5fe6c62c6
[ "MIT" ]
41
2017-07-19T11:17:26.000Z
2021-09-28T12:10:49.000Z
drop-boxes/register-qcml-dropbox/old.py
qbicsoftware/etl-scripts
e1cea11b5f55fb218e7d4c8d49bdd3c5fe6c62c6
[ "MIT" ]
2
2017-04-27T10:32:33.000Z
2018-02-20T09:26:12.000Z
''' Note: print statements go to: ~openbis/servers/datastore_server/log/startup_log.txt ''' import sys sys.path.append('/home-link/qeana10/bin/') import re import os import shutil import subprocess import ch.systemsx.cisd.etlserver.registrator.api.v2 from java.io import File from org.apache.commons.io import FileUti...
32.445783
146
0.761233
348
2,693
5.850575
0.485632
0.015717
0.020629
0.017682
0.051081
0.051081
0.051081
0.051081
0.051081
0.051081
0
0.015671
0.123283
2,693
82
147
32.841463
0.846675
0.199777
0
0.075472
0
0.018868
0.130859
0.05127
0
0
0
0
0
0
null
null
0
0.188679
null
null
0.037736
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
7294f87b800dcad135bcae758de6bc1a77916184
26,109
py
Python
IQDMPDF/parsers/verisoft.py
IQDM/IQDM-PDF
8f4f04bfa93a76bca8d54706db24f2ab5c516f3e
[ "MIT" ]
5
2020-11-23T18:53:01.000Z
2022-03-29T11:09:25.000Z
IQDMPDF/parsers/verisoft.py
IQDM/IQDM-PDF
8f4f04bfa93a76bca8d54706db24f2ab5c516f3e
[ "MIT" ]
22
2020-11-23T18:47:57.000Z
2021-03-15T02:51:32.000Z
IQDMPDF/parsers/verisoft.py
IQDM/IQDM-PDF
8f4f04bfa93a76bca8d54706db24f2ab5c516f3e
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # verisoft.py """PTW VeriSoft report parser""" # # Copyright (c) 2021 Dan Cutright # This file is part of IQDM-PDF, released under a MIT license. # See the file LICENSE included with this distribution from IQDMPDF.parsers.generic import ParserBase from IQDMPDF.pdf_rea...
30.394645
79
0.480677
2,738
26,109
4.429511
0.093499
0.023087
0.015831
0.016161
0.5047
0.402292
0.308377
0.244476
0.18247
0.160208
0
0.011177
0.345513
26,109
858
80
30.43007
0.69856
0.212341
0
0.158654
0
0
0.197738
0
0
0
0
0
0
1
0.108173
false
0.057692
0.004808
0
0.223558
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
1
0
0
0
0
0
1
7298cd93a27cee7f3f2eaf54d827054f4cfbc22a
1,150
py
Python
fOutputBody.py
SkyLined/HTTP
f4e895508494dc007acd3ad011465a174e12ad88
[ "CC-BY-4.0" ]
2
2020-06-25T03:51:05.000Z
2021-01-30T07:27:08.000Z
fOutputBody.py
SkyLined/HTTP
f4e895508494dc007acd3ad011465a174e12ad88
[ "CC-BY-4.0" ]
null
null
null
fOutputBody.py
SkyLined/HTTP
f4e895508494dc007acd3ad011465a174e12ad88
[ "CC-BY-4.0" ]
null
null
null
from mConsole import oConsole; from mColorsAndChars import *; from mCP437 import fsCP437FromByte; def fOutputBody(sxBody, bOutputEOF, xPrefix = []): if isinstance(sxBody, str): xCR = "\r"; xLF = "\n"; xBodyColor = COLOR_BODY_DECODED; fsChar = lambda sChar: sChar; else: xCR = ord("\r"); xL...
25
50
0.577391
128
1,150
5.109375
0.390625
0.050459
0.04893
0.061162
0
0
0
0
0
0
0
0.02716
0.295652
1,150
46
51
25
0.779012
0
0
0.162791
0
0
0.006957
0
0
0
0
0
0
0
null
null
0
0.069767
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7299b8b97629af34fd72c5cb11e5a0fe9a93e803
942
py
Python
farms/views.py
FlowFX/sturdy-potato
d33c6695f71cf8e6517dbd5a4d80c17df38734a8
[ "MIT" ]
12
2017-04-22T11:15:01.000Z
2021-08-10T15:09:12.000Z
farms/views.py
FlowFX/sturdy-potato
d33c6695f71cf8e6517dbd5a4d80c17df38734a8
[ "MIT" ]
59
2017-03-10T18:23:31.000Z
2018-02-01T15:16:30.000Z
farms/views.py
FlowFX/sturdy-potato
d33c6695f71cf8e6517dbd5a4d80c17df38734a8
[ "MIT" ]
1
2020-07-10T09:26:11.000Z
2020-07-10T09:26:11.000Z
"""Views for the farms app.""" from django.http import HttpResponse, JsonResponse from django.views.generic import CreateView, DetailView from .forms import AddressForm from .models import Address from postalcodes_mexico import places def get_places(request): if request.method == 'GET': postal_code = ...
22.428571
58
0.687898
115
942
5.452174
0.417391
0.127592
0.086124
0.086124
0
0
0
0
0
0
0
0.008021
0.205945
942
41
59
22.97561
0.830214
0.105096
0
0.086957
0
0
0.080144
0
0
0
0
0
0
1
0.043478
false
0
0.217391
0
0.521739
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
729c5c04836624cf972f3e608e29b936a6fd6c56
1,864
py
Python
examples/action/tensorflow/net/config.py
yuqj1990/deepano_train
c7247801ccea4c3a5c0be9c9091fc91876dbf279
[ "Unlicense" ]
21
2019-11-28T06:11:17.000Z
2020-06-15T00:45:46.000Z
examples/action/tensorflow/net/config.py
yuqj1990/deepano_train
c7247801ccea4c3a5c0be9c9091fc91876dbf279
[ "Unlicense" ]
12
2019-11-20T01:38:28.000Z
2020-06-30T06:29:40.000Z
examples/action/tensorflow/net/config.py
yuqj1990/deepano_face_train
c7247801ccea4c3a5c0be9c9091fc91876dbf279
[ "Unlicense" ]
10
2019-11-26T00:50:06.000Z
2020-06-20T05:43:45.000Z
class RNNConfig(object): embedding_dim = 64 num_classes = 101 num_layers= 2 # num hidden layers hidden_dim = 256 # num hidden rnn = 'gru' # lstm 或 gru dropout_keep_prob = 0.8 # dropout keep prob learning_rate = 1e-3 # batch_size = 128 # print_p...
41.422222
106
0.679721
258
1,864
4.689922
0.527132
0.109091
0.056198
0.016529
0
0
0
0
0
0
0
0.052556
0.254828
1,864
44
107
42.363636
0.818575
0.372854
0
0
0
0
0.069808
0.0637
0
0
0
0
0
1
0
false
0
0
0
1
0.027027
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
72a5a56ac759e8c25bd0a18e123fc4d5bb5304ec
999
py
Python
geostore/resources.py
linz/geostore
50997954ef9f9f9686f111b12659cbbfe32d9bd8
[ "MIT" ]
25
2021-05-19T08:05:07.000Z
2022-03-14T02:48:58.000Z
geostore/resources.py
linz/geostore
50997954ef9f9f9686f111b12659cbbfe32d9bd8
[ "MIT" ]
311
2021-05-17T23:04:56.000Z
2022-03-31T10:41:44.000Z
geostore/resources.py
linz/geostore
50997954ef9f9f9686f111b12659cbbfe32d9bd8
[ "MIT" ]
1
2022-01-03T05:38:32.000Z
2022-01-03T05:38:32.000Z
from enum import Enum from .environment import PRODUCTION_ENVIRONMENT_NAME, environment_name def prefix_non_prod_name(name: str) -> str: env_name = environment_name() if env_name == PRODUCTION_ENVIRONMENT_NAME: return name return f"{env_name}-{name}" class Resource(Enum): @property def...
32.225806
70
0.753754
126
999
5.587302
0.333333
0.085227
0.055398
0.048295
0
0
0
0
0
0
0
0.002387
0.161161
999
30
71
33.3
0.837709
0
0
0
0
0
0.213213
0.116116
0
0
0
0
0
1
0.086957
false
0
0.173913
0.043478
0.956522
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
72acf12460e21f6882e7d526bb04dabfe677d4a6
6,814
py
Python
src/melodia/core/tone.py
meownoid/melodia
e5d115b49f6d46b0e57274d02e9dfae58fcd1523
[ "MIT" ]
4
2020-11-16T16:16:52.000Z
2021-08-29T10:48:34.000Z
src/melodia/core/tone.py
meownoid/melodia
e5d115b49f6d46b0e57274d02e9dfae58fcd1523
[ "MIT" ]
null
null
null
src/melodia/core/tone.py
meownoid/melodia
e5d115b49f6d46b0e57274d02e9dfae58fcd1523
[ "MIT" ]
1
2021-09-23T09:34:25.000Z
2021-09-23T09:34:25.000Z
import re from typing import Dict _notation_regex = re.compile(r'(?P<tone>[ABCDEFG])(?P<transposition>[#b]*)(?P<octave>-?\d+)?') _tone_mapping: Dict[str, int] = { 'C': 0, 'D': 2, 'E': 4, 'F': 5, 'G': 7, 'A': 9, 'B': 11 } _reverse_tone_mapping: Dict[int, str] = {v: k for k, v in _tone_mappin...
28.391667
112
0.575433
837
6,814
4.526882
0.210275
0.057007
0.067564
0.031671
0.405648
0.361309
0.305094
0.274743
0.198733
0.17023
0
0.021489
0.310244
6,814
239
113
28.51046
0.784681
0.46199
0
0.059701
0
0
0.109555
0.051006
0
0
0
0
0
1
0.208955
false
0
0.029851
0
0.462687
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
72add056fa154d3b94cd1b4017727bd5baa75d60
528
py
Python
scripts/resave_mnist_models.py
C0ldstudy/trojai
10ac6c719f367a569a48b19e7ef18cf90df3a310
[ "Apache-2.0" ]
59
2019-07-11T02:33:38.000Z
2022-02-02T01:51:29.000Z
scripts/resave_mnist_models.py
C0ldstudy/trojai
10ac6c719f367a569a48b19e7ef18cf90df3a310
[ "Apache-2.0" ]
4
2020-04-13T03:48:32.000Z
2021-09-11T05:13:57.000Z
scripts/resave_mnist_models.py
C0ldstudy/trojai
10ac6c719f367a569a48b19e7ef18cf90df3a310
[ "Apache-2.0" ]
19
2019-09-17T21:09:06.000Z
2022-03-31T17:55:18.000Z
from trojai.modelgen.utils import resave_trojai_model_as_dict # TODO: import the class which implements the network that is to be resaved def resave_models(files): """ Convert PyTorch models saved by simple torch.save(model) calls to TrojAI model specification dictionaries. :param files: (list of strings)...
31.058824
110
0.734848
77
528
4.753247
0.636364
0.090164
0.092896
0.103825
0.125683
0
0
0
0
0
0
0.004662
0.1875
528
16
111
33
0.848485
0.454545
0
0
0
0
0.097015
0
0
0
0
0.0625
0
1
0.142857
false
0
0.142857
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
1
0
0
0
0
0
0
0
0
0
0
1
72b0c68cf00168ab503deeee1b78056da4099b3d
402
py
Python
backend/stock/migrations/0039_alter_mysector_name.py
fengxia41103/stock
1bba08f77e9038ebdd3905fe734bb51e5fb1bdf1
[ "MIT" ]
1
2021-09-30T05:25:08.000Z
2021-09-30T05:25:08.000Z
backend/stock/migrations/0039_alter_mysector_name.py
fengxia41103/stock
1bba08f77e9038ebdd3905fe734bb51e5fb1bdf1
[ "MIT" ]
8
2021-09-30T05:27:09.000Z
2021-12-03T23:02:24.000Z
backend/stock/migrations/0039_alter_mysector_name.py
fengxia41103/stock
1bba08f77e9038ebdd3905fe734bb51e5fb1bdf1
[ "MIT" ]
3
2021-09-29T05:11:45.000Z
2021-10-31T07:26:31.000Z
# Generated by Django 3.2.8 on 2021-10-08 19:25 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('stock', '0038_mysector_user'), ] operations = [ migrations.AlterField( model_name='mysector', name='name', ...
21.157895
73
0.599502
45
402
5.266667
0.8
0
0
0
0
0
0
0
0
0
0
0.072664
0.281095
402
18
74
22.333333
0.747405
0.11194
0
0
1
0
0.098592
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
72b0ea360b552c9e8949336fa60a6dd6d4cf4309
3,065
py
Python
OKExAPI/Common.py
landicefu/OKExDailyReport
c1a32fe9194a051f02657bfb226ad76c86064d8a
[ "Apache-2.0" ]
1
2018-11-25T17:34:27.000Z
2018-11-25T17:34:27.000Z
OKExAPI/Common.py
landicefu/OKExDailyReport
c1a32fe9194a051f02657bfb226ad76c86064d8a
[ "Apache-2.0" ]
null
null
null
OKExAPI/Common.py
landicefu/OKExDailyReport
c1a32fe9194a051f02657bfb226ad76c86064d8a
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # encoding: utf-8 import hashlib import json ERROR_CODES = { 10000: '必选参数不能为空', 10001: '用户请求频率过快,超过该接口允许的限额', 10002: '系统错误', 10004: '请求失败', 10005: 'SecretKey不存在', 10006: 'Api_key不存在', 10007: '签名不匹配', 10008: '非法参数', 10009: '订单不存在', 1001...
23.219697
59
0.574225
314
3,065
5.544586
0.894904
0.010339
0.011488
0
0
0
0
0
0
0
0
0.215652
0.249592
3,065
131
60
23.396947
0.54
0.017618
0
0
0
0
0.350731
0.054189
0
0
0
0
0
1
0.016529
false
0
0.016529
0
0.049587
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
72b31382eae0856afdfe53fb80e686d50c52c462
3,267
py
Python
python-tornado/unit-test.py
paulmoore/pubnub-api
879352ec9e508fd601c4eba94641279d225a8e03
[ "MIT" ]
1
2015-11-27T13:39:04.000Z
2015-11-27T13:39:04.000Z
python-tornado/unit-test.py
paulmoore/pubnub-api
879352ec9e508fd601c4eba94641279d225a8e03
[ "MIT" ]
null
null
null
python-tornado/unit-test.py
paulmoore/pubnub-api
879352ec9e508fd601c4eba94641279d225a8e03
[ "MIT" ]
null
null
null
## www.pubnub.com - PubNub Real-time push service in the cloud. # coding=utf8 ## PubNub Real-time Push APIs and Notifications Framework ## Copyright (c) 2010 Stephen Blum ## http://www.pubnub.com/ ## ----------------------------------- ## PubNub 3.0 Real-time Push Cloud API ## ----------------------------------- fr...
29.7
78
0.400979
254
3,267
5.098425
0.389764
0.043243
0.030888
0.030116
0.101931
0
0
0
0
0
0
0.006198
0.160392
3,267
109
79
29.972477
0.465184
0.433731
0
0.295082
0
0
0.155134
0.016741
0
0
0
0
0
1
0.131148
false
0.016393
0.04918
0
0.180328
0.180328
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
72b6697e59388fe4a6a1d1239e7a5bb3fc8a272a
3,359
py
Python
generate_api_test_report.py
lewyuejian/Automation
18122ce2c5debe485fab7dac5f8007f4b7b2d51f
[ "MIT" ]
1
2021-12-07T08:38:54.000Z
2021-12-07T08:38:54.000Z
generate_api_test_report.py
lewyuejian/ApiAutomation
18122ce2c5debe485fab7dac5f8007f4b7b2d51f
[ "MIT" ]
null
null
null
generate_api_test_report.py
lewyuejian/ApiAutomation
18122ce2c5debe485fab7dac5f8007f4b7b2d51f
[ "MIT" ]
1
2021-08-15T07:12:52.000Z
2021-08-15T07:12:52.000Z
#!/usr/bin/env python3 # -*- encoding: utf-8 -*- ''' @author: yuejl @application: @contact: lewyuejian@163.com @file: generate_api_test_report.py @time: 2021/7/3 0003 22:04 @desc: ''' from common.base.read_report_config import ReadReportConfig import subprocess import platform import multiprocessing from common.strutil...
46.652778
128
0.657338
434
3,359
4.764977
0.288018
0.163443
0.116054
0.078337
0.370406
0.18472
0.051257
0.051257
0.051257
0.051257
0
0.012355
0.228937
3,359
71
129
47.309859
0.7861
0.061625
0
0.148148
1
0.037037
0.168153
0.018471
0
0
0
0
0
1
0.018519
false
0
0.111111
0
0.12963
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
72b892e6edf9c66019abcdd5c4f26509696448cf
12,285
py
Python
Ryven/packages/auto_generated/ast/nodes.py
tfroehlich82/Ryven
cb57c91d13949712844a4410a9302c4a90d28dcd
[ "MIT" ]
2,872
2020-07-01T09:06:34.000Z
2022-03-31T05:52:32.000Z
Ryven/packages/auto_generated/ast/nodes.py
dhf327/Ryven
a11e361528d982a9dd3c489dd536f8b05ffd56e1
[ "MIT" ]
59
2020-06-28T12:50:50.000Z
2022-03-27T19:07:54.000Z
Ryven/packages/auto_generated/ast/nodes.py
dhf327/Ryven
a11e361528d982a9dd3c489dd536f8b05ffd56e1
[ "MIT" ]
339
2020-07-05T04:36:20.000Z
2022-03-24T07:25:18.000Z
from NENV import * import ast class NodeBase(Node): pass class _Dims_Getter_Node(NodeBase): """ Deprecated. Use elts instead.""" title = '_dims_getter' type_ = 'ast' init_inputs = [ ] init_outputs = [ NodeOutputBP(type_='data'), ] color = '#32DA22' ...
24.326733
92
0.603012
1,491
12,285
4.760563
0.187123
0.058608
0.032544
0.050296
0.4235
0.408848
0.38377
0.356438
0.356438
0.320795
0
0.017267
0.278714
12,285
504
93
24.375
0.783772
0.276272
0
0.492958
0
0
0.084268
0.002507
0
0
0
0
0
1
0.073944
false
0.003521
0.007042
0
0.528169
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
72c13bf60608de5335f77c5d53d352ce9601f368
419
py
Python
app/paas_config.py
alphagov/team-metrics
96eaab6d924670f72ee06d54b5e7790b82db15c9
[ "MIT" ]
null
null
null
app/paas_config.py
alphagov/team-metrics
96eaab6d924670f72ee06d54b5e7790b82db15c9
[ "MIT" ]
null
null
null
app/paas_config.py
alphagov/team-metrics
96eaab6d924670f72ee06d54b5e7790b82db15c9
[ "MIT" ]
2
2019-08-29T13:59:36.000Z
2021-04-10T19:39:53.000Z
import os import json def extract_paas_config(): vcap_services = json.loads(os.environ['VCAP_SERVICES']) set_config_env_vars(vcap_services) def set_config_env_vars(vcap_services): os.environ['SQLALCHEMY_DATABASE_URI'] = vcap_services['postgres'][0]['credentials']['uri'] credentials = vcap_services[...
24.647059
94
0.718377
57
419
5
0.473684
0.252632
0.084211
0.112281
0.196491
0.196491
0
0
0
0
0
0.005571
0.143198
419
16
95
26.1875
0.788301
0
0
0
0
0
0.195704
0.054893
0
0
0
0
0
1
0.2
false
0
0.2
0
0.4
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
72c24f3817d478cb1bddfa853ca5b365384d855a
3,657
py
Python
Lab_Code/Python/template-python2.6.py
alexgraehl/TimeForScience
d69093a6ea5b3f6d6dee59d2842be1e1d55f49e2
[ "MIT" ]
6
2015-11-24T17:35:05.000Z
2018-09-08T04:29:20.000Z
Lab_Code/Python/template-python2.6.py
alexgraehl/TimeForScience
d69093a6ea5b3f6d6dee59d2842be1e1d55f49e2
[ "MIT" ]
null
null
null
Lab_Code/Python/template-python2.6.py
alexgraehl/TimeForScience
d69093a6ea5b3f6d6dee59d2842be1e1d55f49e2
[ "MIT" ]
1
2015-11-11T09:13:44.000Z
2015-11-11T09:13:44.000Z
#!/usr/bin/python ''' ************* THIS USES 'optparse' which is for python 2.6, but it's the future now, so you can use argparse (python 2.7) ******** Note: we use the 'optparse' module to parse command line arguments, becuase the 'argparse' requires Python 2.7 (which is not present in older distributions, like Ubun...
43.023529
236
0.670221
501
3,657
4.824351
0.441118
0.036409
0.041374
0.01324
0.048821
0.032271
0.032271
0.032271
0.032271
0
0
0.009766
0.216024
3,657
84
237
43.535714
0.833275
0.19114
0
0.163636
0
0.054545
0.453925
0.00785
0
0
0
0
0
1
0.036364
false
0.163636
0.109091
0
0.163636
0.236364
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
1
0
0
0
0
0
1
72c7ee6c2e2e48c29bab18ccd04a150cd45cf75c
7,462
py
Python
protocall/interpreter/grammar.py
google/protocall
0b02cdaa696c883ce3ececb41341e6648d325fec
[ "Apache-2.0" ]
16
2016-07-17T14:47:03.000Z
2021-10-12T03:35:44.000Z
protocall/interpreter/grammar.py
google/protocall
0b02cdaa696c883ce3ececb41341e6648d325fec
[ "Apache-2.0" ]
null
null
null
protocall/interpreter/grammar.py
google/protocall
0b02cdaa696c883ce3ececb41341e6648d325fec
[ "Apache-2.0" ]
11
2016-09-17T14:32:21.000Z
2021-10-12T03:35:39.000Z
# Copyright 2016 Google Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agre...
35.032864
364
0.750201
1,018
7,462
5.318271
0.166994
0.017732
0.023642
0.029553
0.140562
0.04433
0.009235
0.009235
0.009235
0
0
0.007387
0.111096
7,462
212
365
35.198113
0.808835
0.104396
0
0
0
0
0.016044
0
0
0
0
0
0
1
0.192771
false
0.042169
0.018072
0.192771
0.403614
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
1
0
0
0
1
72ca14878aeea4302a23a5b85e355bf4dab55626
553
py
Python
src/einsteinpy/tests/test_examples.py
Suyog7130/einsteinpy
557c166666e7280e7100f8761868effe1677b5a7
[ "MIT" ]
2
2019-04-07T04:01:57.000Z
2019-07-11T11:59:55.000Z
src/einsteinpy/tests/test_examples.py
Suyog7130/einsteinpy
557c166666e7280e7100f8761868effe1677b5a7
[ "MIT" ]
null
null
null
src/einsteinpy/tests/test_examples.py
Suyog7130/einsteinpy
557c166666e7280e7100f8761868effe1677b5a7
[ "MIT" ]
null
null
null
from einsteinpy.bodies import Body from einsteinpy.coordinates import SphericalDifferential from einsteinpy.examples import perihelion from einsteinpy.geodesic import Geodesic from einsteinpy.metric import Schwarzschild def test_perihelion_works(): p = perihelion() assert isinstance(p.attractor, Body) ass...
29.105263
67
0.788427
64
553
6.71875
0.375
0.162791
0.15814
0.102326
0.130233
0
0
0
0
0
0
0.002105
0.141049
553
18
68
30.722222
0.903158
0
0
0.142857
0
0
0.003617
0
0
0
0
0
0.357143
1
0.142857
false
0
0.357143
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
72d1a5168b166c2a90051737ac7a960d1f522559
404
py
Python
src/deepbluesky/__main__.py
thebombzen/deep-blue-sky
ba2ee74cb27c9276028643bad92194ef8b59da5d
[ "MIT" ]
null
null
null
src/deepbluesky/__main__.py
thebombzen/deep-blue-sky
ba2ee74cb27c9276028643bad92194ef8b59da5d
[ "MIT" ]
null
null
null
src/deepbluesky/__main__.py
thebombzen/deep-blue-sky
ba2ee74cb27c9276028643bad92194ef8b59da5d
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # pylint: disable=invalid-name import discord from .deepbluesky import DeepBlueSky # Launch a default Deep Blue Sky bot def _main(): client: DeepBlueSky = DeepBlueSky(bot_name='deep-blue-sky') @client.event async def on_message(message: discord.Message) -> None: await clie...
21.263158
63
0.707921
52
404
5.25
0.596154
0.058608
0.080586
0
0
0
0
0
0
0
0
0.003021
0.180693
404
18
64
22.444444
0.821752
0.210396
0
0
0
0
0.066456
0
0
0
0
0
0
1
0.1
true
0
0.2
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
1
0
0
0
0
0
0
1
72d1f5fb14ba89a9c69f608f42335008b0a673cb
2,673
py
Python
spacyOps.py
yeshwindbz9/natural-language-processing_crash_codes
9656d9b20eec787eab0dd1acbf2b57c537c58ef2
[ "MIT" ]
null
null
null
spacyOps.py
yeshwindbz9/natural-language-processing_crash_codes
9656d9b20eec787eab0dd1acbf2b57c537c58ef2
[ "MIT" ]
null
null
null
spacyOps.py
yeshwindbz9/natural-language-processing_crash_codes
9656d9b20eec787eab0dd1acbf2b57c537c58ef2
[ "MIT" ]
null
null
null
""" Natural language processing is an area of CS & AI that focuses on the interactions between computers and human language particularly in analyzing and processing the natural language text data is unstructed and needs to be processed NLP uses a variety of techniques to create structure out of text data """ #...
35.64
94
0.721287
443
2,673
4.295711
0.417607
0.014714
0.014714
0.02207
0.08618
0.069364
0.069364
0.069364
0.069364
0.069364
0
0.011201
0.164983
2,673
75
95
35.64
0.84095
0.334456
0
0.176471
0
0
0.352256
0
0
0
0
0
0
1
0
false
0
0.029412
0
0.029412
0.676471
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
1
0
1
72d5b7e2e499ef450aaaacd9da3884415914c26d
1,123
py
Python
bot/core/commands_reporter/command_failure_reasons.py
Gliger13/bdo_daily_bot
d569405fcae1978c2bb1ac34d1f75936040a3552
[ "MIT" ]
null
null
null
bot/core/commands_reporter/command_failure_reasons.py
Gliger13/bdo_daily_bot
d569405fcae1978c2bb1ac34d1f75936040a3552
[ "MIT" ]
null
null
null
bot/core/commands_reporter/command_failure_reasons.py
Gliger13/bdo_daily_bot
d569405fcae1978c2bb1ac34d1f75936040a3552
[ "MIT" ]
null
null
null
""" Contains variable with commands fails reasons """ from enum import Enum class CommandFailureReasons(Enum): """ Contains the reasons for the failed commands. """ CAPTAIN_NOT_EXIST = "captain_not_exist" RAID_NOT_FOUND = "raid_not_found" RAID_EXIST = "raid_exist" USER_NOT_RESPONSE = "user...
35.09375
75
0.765806
152
1,123
5.065789
0.302632
0.124675
0.050649
0.041558
0.376623
0.051948
0
0
0
0
0
0
0.163847
1,123
31
76
36.225806
0.820021
0.081033
0
0
0
0
0.363726
0.103072
0
0
0
0
0
1
0
false
0
0.043478
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
72d96a457f2c97845c14b9a2ba7786f2e5eb1ea2
1,979
py
Python
cloudrunner_server/db/versions/24b5de6bb949_node_reservations_and_apiservice.py
ttrifonov/cloudrunner-server
3b2426c8d9987e78425899010b534afc7734d8d4
[ "Apache-2.0" ]
2
2016-03-31T08:45:29.000Z
2021-04-28T15:18:45.000Z
cloudrunner_server/db/versions/24b5de6bb949_node_reservations_and_apiservice.py
ttrifonov/cloudrunner-server
3b2426c8d9987e78425899010b534afc7734d8d4
[ "Apache-2.0" ]
null
null
null
cloudrunner_server/db/versions/24b5de6bb949_node_reservations_and_apiservice.py
ttrifonov/cloudrunner-server
3b2426c8d9987e78425899010b534afc7734d8d4
[ "Apache-2.0" ]
null
null
null
"""node reservations and ApiService Revision ID: 24b5de6bb949 Revises: 2ba9ac1cbd43 Create Date: 2015-02-17 14:21:16.918470 """ # revision identifiers, used by Alembic. revision = '24b5de6bb949' down_revision = '2ba9ac1cbd43' from alembic import op import sqlalchemy as sa def upgrade(): ### commands auto gene...
39.58
122
0.699848
255
1,979
5.321569
0.286275
0.082535
0.123803
0.147384
0.537951
0.529845
0.471629
0.356669
0.058954
0
0
0.040556
0.127842
1,979
49
123
40.387755
0.745655
0.156645
0
0.064516
0
0
0.234719
0.067237
0
0
0
0
0
1
0.064516
false
0.096774
0.064516
0
0.129032
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
1
0
0
0
0
0
1
72d9be70ae6ccd0145a76dda042aa4d580ce03cc
10,717
py
Python
tests/test_aggregations.py
hugoShaka/alerta
6244c64c869fc1eea8ceda9f5481e267eba87afa
[ "Apache-2.0" ]
null
null
null
tests/test_aggregations.py
hugoShaka/alerta
6244c64c869fc1eea8ceda9f5481e267eba87afa
[ "Apache-2.0" ]
60
2020-07-27T07:00:45.000Z
2022-03-21T18:02:18.000Z
tests/test_aggregations.py
hugoShaka/alerta
6244c64c869fc1eea8ceda9f5481e267eba87afa
[ "Apache-2.0" ]
1
2020-11-24T03:16:49.000Z
2020-11-24T03:16:49.000Z
import json import unittest from uuid import uuid4 from alerta.app import create_app, db class AggregationsTestCase(unittest.TestCase): def setUp(self): test_config = { 'TESTING': True, 'AUTH_REQUIRED': False, 'ALERT_TIMEOUT': 120, 'HISTORY_LIMIT': 5 ...
32.574468
105
0.467202
880
10,717
5.594318
0.136364
0.093845
0.065814
0.106033
0.777372
0.679057
0.659557
0.644729
0.636807
0.616697
0
0.02159
0.386302
10,717
328
106
32.67378
0.726927
0.009144
0
0.548611
0
0
0.219436
0.006787
0
0
0
0
0.121528
1
0.013889
false
0
0.013889
0.003472
0.034722
0
0
0
0
null
0
0
0
0
0
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
1
72da303bc41174be5b8e633da28ae2e745fd5113
6,589
py
Python
solver.py
brumitt/scramble-solver
2f81034a02868c45289663630e378d4da06cc9e0
[ "MIT" ]
null
null
null
solver.py
brumitt/scramble-solver
2f81034a02868c45289663630e378d4da06cc9e0
[ "MIT" ]
null
null
null
solver.py
brumitt/scramble-solver
2f81034a02868c45289663630e378d4da06cc9e0
[ "MIT" ]
null
null
null
#!/usr/bin/env python """Scramble Solver Usage: solver.py <cards> solver.py (-h | --help) solver.py --version Options: -h --help Show this screen. --version Show version. """ from docopt import docopt import yaml import os class Board(list): def __init__(self,*args,**kwargs): self.x...
34.139896
108
0.501138
778
6,589
4.107969
0.177378
0.042553
0.060075
0.06383
0.381727
0.348561
0.338548
0.301001
0.223091
0.188986
0
0.037989
0.344817
6,589
192
109
34.317708
0.70234
0.049932
0
0.210938
0
0
0.058884
0
0
0
0
0
0
0
null
null
0.015625
0.023438
null
null
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
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
72dcde276529a7a113addde88750006004f05a4e
5,356
py
Python
sdk/packages/pyalice/Message.py
ddr95070/RMIsaac
ee3918f685f0a88563248ddea11d089581077973
[ "FSFAP" ]
null
null
null
sdk/packages/pyalice/Message.py
ddr95070/RMIsaac
ee3918f685f0a88563248ddea11d089581077973
[ "FSFAP" ]
null
null
null
sdk/packages/pyalice/Message.py
ddr95070/RMIsaac
ee3918f685f0a88563248ddea11d089581077973
[ "FSFAP" ]
1
2022-01-28T16:37:51.000Z
2022-01-28T16:37:51.000Z
''' Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. NVIDIA CORPORATION and its licensors retain all intellectual property and proprietary rights in and to this software, related documentation and any modifications thereto. Any use, reproduction, disclosure or distribution of this software and related docu...
30.959538
90
0.65646
656
5,356
5.205793
0.242378
0.041874
0.032796
0.023426
0.189165
0.147584
0.147584
0.113031
0.107174
0.107174
0
0.002262
0.257282
5,356
172
91
31.139535
0.856209
0.255788
0
0.292453
0
0
0.0766
0
0
0
0
0
0.056604
1
0.207547
false
0
0.066038
0
0.471698
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
72e65c2d6c23bf314c2402d185da49801a4c4d33
11,637
py
Python
venv/lib/python3.6/site-packages/ansible_collections/check_point/mgmt/plugins/modules/cp_mgmt_access_rules.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
1
2020-01-22T13:11:23.000Z
2020-01-22T13:11:23.000Z
venv/lib/python3.6/site-packages/ansible_collections/check_point/mgmt/plugins/modules/cp_mgmt_access_rules.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
12
2020-02-21T07:24:52.000Z
2020-04-14T09:54:32.000Z
venv/lib/python3.6/site-packages/ansible_collections/check_point/mgmt/plugins/modules/cp_mgmt_access_rules.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # # Ansible module to manage Check Point Firewall (c) 2019 # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your o...
32.872881
156
0.554524
1,242
11,637
5.10628
0.23752
0.060549
0.034689
0.021444
0.366131
0.30369
0.261589
0.257174
0.175812
0.161621
0
0.003177
0.350778
11,637
353
157
32.966006
0.836267
0.059122
0
0.457944
0
0.028037
0.711097
0.018114
0
0
0
0
0
1
0.003115
false
0
0.012461
0
0.015576
0.003115
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
72f1d09dfc25a7f0905560bdc8e07dca449c9106
2,384
py
Python
student.py
daphliu-zz/cscoffeechat_matching
2801c106216fb1935c7ed2c24c9b766ed829de8b
[ "MIT" ]
1
2019-11-17T23:27:10.000Z
2019-11-17T23:27:10.000Z
student.py
daphliu-zz/cscoffeechat_matching
2801c106216fb1935c7ed2c24c9b766ed829de8b
[ "MIT" ]
8
2019-11-05T07:21:50.000Z
2021-06-01T23:51:56.000Z
student.py
daphliu/cscoffeechat_matching
2801c106216fb1935c7ed2c24c9b766ed829de8b
[ "MIT" ]
2
2022-02-09T06:58:12.000Z
2022-02-11T03:35:02.000Z
# These are words that will appear in most intros, and should be ignored when calculating # the similarity score. # TODO: improve the set of words that we should ignore. IGNORED_WORDS = set(["I", "I'm", "and", "a", "to"]) class Student: name = "" email = "" year = 1 gender = "Female" should_match_w...
32.216216
93
0.67995
310
2,384
5.009677
0.33871
0.067611
0.048294
0.061172
0.138442
0.094012
0.054089
0
0
0
0
0.002743
0.235319
2,384
73
94
32.657534
0.84915
0.305789
0
0
0
0
0.010127
0
0
0
0
0.013699
0
1
0.15
false
0
0
0.075
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
1
0
0
0
0
0
0
0
0
0
0
1
72f78f1735bb0e7b2591581cdda1690d1b42b63a
6,599
py
Python
test/test_ntparse.py
Letractively/rdflib
b92e162efd61506d19ed25a12960cd32f0c7432e
[ "BSD-3-Clause" ]
null
null
null
test/test_ntparse.py
Letractively/rdflib
b92e162efd61506d19ed25a12960cd32f0c7432e
[ "BSD-3-Clause" ]
null
null
null
test/test_ntparse.py
Letractively/rdflib
b92e162efd61506d19ed25a12960cd32f0c7432e
[ "BSD-3-Clause" ]
null
null
null
import unittest import logging import os import re from rdflib import Graph, Literal, URIRef from rdflib.plugins.parsers import ntriples from rdflib.py3compat import bytestype, b log = logging.getLogger(__name__) class NTTestCase(unittest.TestCase): def testIssue78(self): g = Graph() g.add((URIRef...
39.753012
186
0.618124
866
6,599
4.639723
0.21709
0.037332
0.035839
0.084619
0.483076
0.39771
0.369836
0.33773
0.323295
0.323295
0
0.031292
0.215487
6,599
165
187
39.993939
0.744833
0.05516
0
0.176471
0
0.066176
0.297237
0.071497
0
0
0
0
0.147059
0
null
null
0
0.058824
null
null
0.007353
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
f4054d01ac2a3032c8abe3f55e9e638aa9328dd6
1,072
py
Python
apps/core/migrations/0001_initial.py
marcelogumercinocosta/repdoc
900f32a42e66d92ca613cbd876bb02d25b885b1c
[ "MIT" ]
null
null
null
apps/core/migrations/0001_initial.py
marcelogumercinocosta/repdoc
900f32a42e66d92ca613cbd876bb02d25b885b1c
[ "MIT" ]
null
null
null
apps/core/migrations/0001_initial.py
marcelogumercinocosta/repdoc
900f32a42e66d92ca613cbd876bb02d25b885b1c
[ "MIT" ]
null
null
null
# Generated by Django 3.1.7 on 2021-04-01 17:45 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Documento', fields=[ ('id', models.AutoFiel...
35.733333
131
0.568097
103
1,072
5.796117
0.592233
0.073702
0.075377
0.087102
0
0
0
0
0
0
0
0.027027
0.275187
1,072
29
132
36.965517
0.741313
0.041978
0
0
1
0
0.143415
0
0
0
0
0
0
1
0
false
0
0.045455
0
0.227273
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
f40b809b8a90870089fa98d6a3179b19175830dd
4,069
py
Python
src/lib/gs_ocpmon/providers/notifiers/snmptrap.py
goldmansachs/gs-ocpmon
5f20e6be98143dd20d6336076d42546dc4f1a981
[ "Apache-2.0" ]
12
2016-03-20T04:22:34.000Z
2020-10-19T14:09:38.000Z
src/lib/gs_ocpmon/providers/notifiers/snmptrap.py
goldmansachs/gs-ocpmon
5f20e6be98143dd20d6336076d42546dc4f1a981
[ "Apache-2.0" ]
null
null
null
src/lib/gs_ocpmon/providers/notifiers/snmptrap.py
goldmansachs/gs-ocpmon
5f20e6be98143dd20d6336076d42546dc4f1a981
[ "Apache-2.0" ]
8
2018-06-10T17:19:02.000Z
2021-08-22T16:22:01.000Z
# (C) Copyright 2016, Goldman Sachs. 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 ...
41.520408
175
0.63824
500
4,069
5.038
0.432
0.023819
0.043668
0.061532
0.096467
0.096467
0.051211
0.017864
0
0
0
0.011924
0.237405
4,069
97
176
41.948454
0.799871
0.146228
0
0.119403
0
0.044776
0.2438
0.060054
0
0
0
0
0
0
null
null
0
0.134328
null
null
0.029851
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
f40cad2d87fdc1b7c1720489b561cd03902715a7
8,841
py
Python
image_scraper/image_scraper.py
TheBrane/science-knowledge-scraping
4c4a2f403d5fc1be0417691e2b6db01677bcda6d
[ "MIT" ]
5
2018-10-02T12:58:54.000Z
2020-09-09T23:56:14.000Z
image_scraper/image_scraper.py
TheBrane/science-knowledge-scraping
4c4a2f403d5fc1be0417691e2b6db01677bcda6d
[ "MIT" ]
1
2021-07-20T16:10:38.000Z
2021-07-20T16:10:38.000Z
image_scraper/image_scraper.py
TheBrane/science-knowledge-scraping
4c4a2f403d5fc1be0417691e2b6db01677bcda6d
[ "MIT" ]
2
2017-11-21T15:50:12.000Z
2020-01-31T15:38:15.000Z
import requests import csv from BeautifulSoup import * import sys import codecs import re import time import operator import json reload(sys) sys.setdefaultencoding('utf8') sys.stdout = codecs.getwriter('utf8')(sys.stdout) def loadNodes(nodes_file): ''' Loads a dictionary of nodes from the backup file Returns: ...
32.503676
266
0.617577
1,203
8,841
4.478803
0.217789
0.016333
0.023757
0.028211
0.278953
0.235338
0.195249
0.151819
0.151819
0.151819
0
0.009905
0.21208
8,841
272
267
32.503676
0.763566
0.062889
0
0.21659
0
0.004608
0.150829
0.016452
0
0
0
0
0
0
null
null
0
0.041475
null
null
0.032258
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
f40d14232677bce5449c3b51274b042303a9e7d5
1,836
py
Python
Company Questions/Visa/addNode_DoublyLinkedList.py
deepamsshah/coding-interviews-prep
27b108691df8f856c7534b9b8cd896a171e16475
[ "Vim", "Fair", "MIT" ]
4
2020-09-11T18:22:32.000Z
2022-01-05T20:36:29.000Z
Company Questions/Visa/addNode_DoublyLinkedList.py
deepamsshah/coding-interviews-prep
27b108691df8f856c7534b9b8cd896a171e16475
[ "Vim", "Fair", "MIT" ]
null
null
null
Company Questions/Visa/addNode_DoublyLinkedList.py
deepamsshah/coding-interviews-prep
27b108691df8f856c7534b9b8cd896a171e16475
[ "Vim", "Fair", "MIT" ]
3
2020-09-27T17:26:10.000Z
2021-01-10T16:06:47.000Z
{ class Node: def __init__(self, data): self.data = data self.next = None self.prev = None class DoublyLinkedList: def __init__(self): self.head = None def append(self, new_data): new_node = Node(new_data) new_node.next = None if self.head is None: new_node.prev = None self.head = new_node ret...
24.48
85
0.604031
268
1,836
4.011194
0.276119
0.045581
0.04186
0.036279
0.182326
0.111628
0.111628
0.111628
0.111628
0.111628
0
0.001528
0.287037
1,836
75
86
24.48
0.81971
0.096405
0
0.1
0
0
0.006139
0
0
0
0
0
0
0
null
null
0
0
null
null
0.066667
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
f41128e66a1a4b93a6ee7fdd467aa70d8a6c3aeb
7,891
py
Python
pysnmp/HUAWEI-PPP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/HUAWEI-PPP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/HUAWEI-PPP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module HUAWEI-PPP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HUAWEI-PPP-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 19:36:10 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2...
127.274194
977
0.763148
859
7,891
7.008149
0.180442
0.007309
0.010963
0.014618
0.414286
0.359801
0.352658
0.352658
0.352658
0.34103
0
0.080525
0.082499
7,891
61
978
129.360656
0.750967
0.040806
0
0.056604
0
0
0.171032
0.035714
0
0
0
0
0
1
0
false
0
0.150943
0
0.150943
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f412430c9314a8ddb531aee4c03ee4ae08b832d0
9,176
py
Python
test_stream.py
kostyanenikita/python-streams
43544c31da91b8c57e927fa0c931dce55b4c192b
[ "MIT" ]
null
null
null
test_stream.py
kostyanenikita/python-streams
43544c31da91b8c57e927fa0c931dce55b4c192b
[ "MIT" ]
null
null
null
test_stream.py
kostyanenikita/python-streams
43544c31da91b8c57e927fa0c931dce55b4c192b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import unittest from collections import namedtuple from stream import Stream, ParallelStream def parametrized(*lst): def wrapper(func): def inner_wrapper(*args, **kwargs): for bundle in lst: func(*args, *bundle, **kwargs) return inner_wrapp...
26.909091
102
0.483871
1,034
9,176
4.194391
0.102515
0.018446
0.164399
0.242103
0.682038
0.594651
0.424487
0.372147
0.347014
0.316117
0
0.056539
0.365846
9,176
340
103
26.988235
0.688778
0.002289
0
0.410072
0
0
0.007211
0
0
0
0
0
0.143885
1
0.158273
false
0
0.010791
0
0.18705
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
0
0
0
0
0
1
f4184cd0b079d27cfeac49c2489bd42cb9bdd6da
970
py
Python
tests/app/config.py
Garito/yOpenApi
425968d8c40b406def066f10991243205d3748cc
[ "MIT" ]
null
null
null
tests/app/config.py
Garito/yOpenApi
425968d8c40b406def066f10991243205d3748cc
[ "MIT" ]
null
null
null
tests/app/config.py
Garito/yOpenApi
425968d8c40b406def066f10991243205d3748cc
[ "MIT" ]
null
null
null
from os import urandom from os.path import exists from binascii import hexlify class Config: DEBUG = True DEBUG_EMAILS = True TESTING = True HOST = "localhost" PUBLIC_HOST = HOST PORT = 8000 SERVER_NAME = "http://{}:{}".format(PUBLIC_HOST, PORT) API_SERVER_NAME = SERVER_NAME MONGO_TABLE = "tests" ...
29.393939
82
0.679381
135
970
4.674074
0.496296
0.095087
0.061807
0.080824
0
0
0
0
0
0
0
0.017327
0.16701
970
32
83
30.3125
0.763614
0
0
0
0
0
0.227835
0.052577
0
0
0
0
0
1
0
false
0
0.111111
0
0.814815
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
f418ae86bb8b8491d7253a6e03ff8a58f110b1a9
578
py
Python
patch.py
bastienleonard/pysfml-cython
c71194988ba90678cbc4c9e6fd3e03f53ac4c2e4
[ "Zlib", "BSD-2-Clause" ]
14
2015-09-14T18:04:27.000Z
2021-02-19T16:51:57.000Z
patch.py
bastienleonard/pysfml-cython
c71194988ba90678cbc4c9e6fd3e03f53ac4c2e4
[ "Zlib", "BSD-2-Clause" ]
3
2015-12-14T17:07:45.000Z
2021-10-02T05:55:11.000Z
patch.py
bastienleonard/pysfml-cython
c71194988ba90678cbc4c9e6fd3e03f53ac4c2e4
[ "Zlib", "BSD-2-Clause" ]
3
2015-04-12T16:57:02.000Z
2021-02-20T17:15:51.000Z
#! /usr/bin/env python2 # -*- coding: utf-8 -*- """This script modifies some Cython-generated files. Currently, it's only needed to call it when building for Python 3.""" import os.path import re def patch_sf_h(): """Remove the DL_IMPORT macros in src/sfml.h.""" filename = os.path.join('src', 'sfml.h'...
18.0625
72
0.598616
90
578
3.688889
0.633333
0.036145
0.048193
0
0
0
0
0
0
0
0
0.008909
0.223183
578
31
73
18.645161
0.730512
0.354671
0
0
1
0
0.122905
0.064246
0
0
0
0
0
1
0.153846
false
0
0.230769
0
0.384615
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
f41a7d8aed2eb2c0eae029aececdbff5f36060c0
2,210
py
Python
Chapter13/Scripts/arenaapp/application/models.py
monocilindro/Mastering-Geospatial-Analysis-with-Python
2cee571403aa0d96f6c2eb7400792286a81dc7e9
[ "MIT" ]
64
2018-05-04T16:54:59.000Z
2022-03-22T11:26:21.000Z
Chapter13/Scripts/arenaapp/application/models.py
monocilindro/Mastering-Geospatial-Analysis-with-Python
2cee571403aa0d96f6c2eb7400792286a81dc7e9
[ "MIT" ]
1
2020-05-31T00:45:28.000Z
2020-05-31T18:29:07.000Z
Chapter13/Scripts/arenaapp/application/models.py
monocilindro/Mastering-Geospatial-Analysis-with-Python
2cee571403aa0d96f6c2eb7400792286a81dc7e9
[ "MIT" ]
41
2018-05-10T21:31:44.000Z
2022-03-23T11:12:33.000Z
from application import app # The database connections and session management are managed with SQLAlchemy functions from sqlalchemy import create_engine from sqlalchemy.ext.declarative import declarative_base from sqlalchemy import Column, Integer, String, ForeignKey, Float from sqlalchemy.orm import sessionmaker from...
36.833333
91
0.749774
275
2,210
5.901818
0.265455
0.056069
0.055453
0.046827
0.37215
0.299445
0.281577
0.281577
0.25077
0.177449
0
0.010221
0.158824
2,210
60
92
36.833333
0.862829
0.233032
0
0.309524
0
0
0.090101
0.013634
0
0
0
0
0
1
0
false
0
0.166667
0
0.904762
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
f41d0c22b37e826f71d182502377651864754206
301
py
Python
api/jobs.py
feiwencaho/sharezone
0a72cef8d9c1b6fa8e007c2df55d32fbdb43fa23
[ "Apache-2.0" ]
null
null
null
api/jobs.py
feiwencaho/sharezone
0a72cef8d9c1b6fa8e007c2df55d32fbdb43fa23
[ "Apache-2.0" ]
6
2021-03-18T21:23:50.000Z
2022-03-11T23:32:30.000Z
api/jobs.py
hifeiwenchao/sharezone
0a72cef8d9c1b6fa8e007c2df55d32fbdb43fa23
[ "Apache-2.0" ]
null
null
null
from sharezone import celery_app from api import service import logging logger = logging.getLogger('api') @celery_app.task(bind=True) def test(self): logger.info('test is running...') @celery_app.task(bind=True) def close_order(self, order_id): return service.trade.close_order(order_id)
18.8125
46
0.757475
46
301
4.804348
0.521739
0.122172
0.117647
0.153846
0.217195
0.217195
0
0
0
0
0
0
0.126246
301
15
47
20.066667
0.840304
0
0
0.2
0
0
0.069767
0
0
0
0
0
0
1
0.2
false
0
0.3
0.1
0.6
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
f4209a1c842265f40ec0fc7671dde0758b4ddb3d
1,816
py
Python
test/sanity/issue4788-openremote-cdtopen/test.py
jtg-gg/node-webkit
bf309df6ccb7743f6211e5bcb109bb0fdf0ac294
[ "MIT" ]
27
2015-03-11T10:04:08.000Z
2017-12-09T18:34:11.000Z
test/sanity/issue4788-openremote-cdtopen/test.py
jtg-gg/node-webkit
bf309df6ccb7743f6211e5bcb109bb0fdf0ac294
[ "MIT" ]
null
null
null
test/sanity/issue4788-openremote-cdtopen/test.py
jtg-gg/node-webkit
bf309df6ccb7743f6211e5bcb109bb0fdf0ac294
[ "MIT" ]
7
2015-08-12T05:15:39.000Z
2016-12-15T04:11:03.000Z
import time import os import subprocess import sys sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) from nw_util import * from selenium import webdriver from selenium.webdriver.chrome.options import Options from selenium.webdriver.common import utils from selenium.common.exceptions import N...
27.938462
110
0.645925
213
1,816
5.352113
0.450704
0.036842
0.045614
0.052632
0.090351
0.078947
0.078947
0
0
0
0
0.012117
0.227423
1,816
64
111
28.375
0.800428
0
0
0.127273
0
0.036364
0.229075
0.039648
0
0
0
0
0.018182
0
null
null
0.018182
0.163636
null
null
0.036364
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
f4221f4d4c6cb720648d76a33cf3e75817172244
1,305
py
Python
continuous_control/Utils/utils.py
BLUECARVIN/Several-ReinforcementLearning
e71f5d06e9db5e2c45d1cc923b28b5404f77eb5e
[ "MIT" ]
null
null
null
continuous_control/Utils/utils.py
BLUECARVIN/Several-ReinforcementLearning
e71f5d06e9db5e2c45d1cc923b28b5404f77eb5e
[ "MIT" ]
null
null
null
continuous_control/Utils/utils.py
BLUECARVIN/Several-ReinforcementLearning
e71f5d06e9db5e2c45d1cc923b28b5404f77eb5e
[ "MIT" ]
null
null
null
import numpy as np import torch def hard_update(target, source): ''' Copies the parameters from source network to target network paras: ----------------------------------------- target: the target pytorch model which needs to be updated source: the source pytorch model is used to update the target network '''...
30.348837
74
0.670498
181
1,305
4.779006
0.320442
0.063584
0.052023
0.053179
0.582659
0.531792
0.531792
0.531792
0.427746
0.427746
0
0.00541
0.150192
1,305
43
75
30.348837
0.774572
0.582375
0
0.166667
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.166667
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
1
0
0
0
0
0
0
0
1
f4236a65f0f399c5244eca70c263e875dcd5a45a
290
py
Python
source/api/controlplane/profile/infrastructure/app.py
awslabs/aws-media-replay-engine
2c217eff42f8e2c56b43e2ecf593f5aaa92c5451
[ "Apache-2.0" ]
22
2021-11-24T01:23:07.000Z
2022-03-26T23:24:46.000Z
source/api/controlplane/profile/infrastructure/app.py
awslabs/aws-media-replay-engine
2c217eff42f8e2c56b43e2ecf593f5aaa92c5451
[ "Apache-2.0" ]
null
null
null
source/api/controlplane/profile/infrastructure/app.py
awslabs/aws-media-replay-engine
2c217eff42f8e2c56b43e2ecf593f5aaa92c5451
[ "Apache-2.0" ]
3
2021-12-10T09:42:51.000Z
2022-02-16T02:22:50.000Z
#!/usr/bin/env python3 # Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 from aws_cdk import core as cdk from stacks.chaliceapp import ChaliceApp app = cdk.App() ChaliceApp(app, 'aws-mre-controlplane-profile') app.synth()
22.307692
74
0.755172
44
290
4.954545
0.772727
0.119266
0
0
0
0
0
0
0
0
0
0.027778
0.131034
290
12
75
24.166667
0.837302
0.451724
0
0
0
0
0.179487
0.179487
0
0
0
0
0
1
0
false
0
0.4
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
1
0
0
0
0
1
f42530788d32de356c4d662de8526714429c9719
665
py
Python
release/stubs.min/Rhino/DocObjects/__init___parts/RhinoObjectSelectionEventArgs.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
182
2017-06-27T02:26:15.000Z
2022-03-30T18:53:43.000Z
release/stubs.min/Rhino/DocObjects/__init___parts/RhinoObjectSelectionEventArgs.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
28
2017-06-27T13:38:23.000Z
2022-03-15T11:19:44.000Z
release/stubs.min/Rhino/DocObjects/__init___parts/RhinoObjectSelectionEventArgs.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
67
2017-06-28T09:43:59.000Z
2022-03-20T21:17:10.000Z
class RhinoObjectSelectionEventArgs(EventArgs): # no doc Document=property(lambda self: object(),lambda self,v: None,lambda self: None) """Get: Document(self: RhinoObjectSelectionEventArgs) -> RhinoDoc """ RhinoObjects=property(lambda self: object(),lambda self,v: None,lambda self: None) """Get: Rhin...
21.451613
84
0.711278
71
665
6.661972
0.380282
0.190275
0.114165
0.15222
0.348837
0.348837
0.348837
0.348837
0.348837
0.348837
0
0
0.172932
665
30
85
22.166667
0.86
0.009023
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
f427032d0d54b8d315d64ed95a8821513cd2cc8d
2,535
py
Python
CI-Python/qa327_test/integration/test_purchase.py
TankyFranky/CMPE-327-SOFT_QUAL_ASSU
ab2aae11a5d8ca2d943357b9da144a601b84f869
[ "MIT" ]
1
2021-01-11T18:36:09.000Z
2021-01-11T18:36:09.000Z
CI-Python/qa327_test/integration/test_purchase.py
E-Leask/CMPE-327-SOFT_QUAL_ASSU-1
ab2aae11a5d8ca2d943357b9da144a601b84f869
[ "MIT" ]
null
null
null
CI-Python/qa327_test/integration/test_purchase.py
E-Leask/CMPE-327-SOFT_QUAL_ASSU-1
ab2aae11a5d8ca2d943357b9da144a601b84f869
[ "MIT" ]
2
2021-01-11T18:34:53.000Z
2021-01-18T18:22:46.000Z
import pytest from seleniumbase import BaseCase from qa327_test.conftest import base_url from datetime import date, timedelta dateTime = date.today() dateTime = dateTime + timedelta(days=10) future_date = dateTime.strftime("%Y-%m-%d") format_date = dateTime.strftime("%Y-%m-%d") @pytest.mark.usefixtures('server') cl...
33.8
116
0.628008
317
2,535
4.861199
0.318612
0.062297
0.031149
0.038936
0.403634
0.249189
0.10902
0.10902
0
0
0
0.011429
0.240631
2,535
74
117
34.256757
0.789091
0.154635
0
0.1
0
0
0.234397
0.047642
0
0
0
0
0.05
1
0.05
false
0.15
0.1
0
0.175
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
1
0
0
0
0
0
1
f4272d866dcea660b01ebc0010be93078c3bcf77
353
py
Python
.modules/.recon-ng/recon/mixins/resolver.py
termux-one/EasY_HaCk
0a8d09ca4b126b027b6842e02fa0c29d8250e090
[ "Apache-2.0" ]
1,103
2018-04-20T14:08:11.000Z
2022-03-29T06:22:43.000Z
.modules/.recon-ng/recon/mixins/resolver.py
sshourya948/EasY_HaCk
0a8d09ca4b126b027b6842e02fa0c29d8250e090
[ "Apache-2.0" ]
29
2019-04-03T14:52:38.000Z
2022-03-24T12:33:05.000Z
.modules/.recon-ng/recon/mixins/resolver.py
sshourya948/EasY_HaCk
0a8d09ca4b126b027b6842e02fa0c29d8250e090
[ "Apache-2.0" ]
161
2018-04-20T15:57:12.000Z
2022-03-15T19:16:16.000Z
import dns class ResolverMixin(object): def get_resolver(self): '''Returns a dnspython default resolver object configured with the framework's global options.''' resolver = dns.resolver.get_default_resolver() resolver.nameservers = [self._global_options['nameserver']] resolver.life...
32.090909
105
0.70255
39
353
6.230769
0.641026
0.123457
0
0
0
0
0
0
0
0
0
0.003597
0.212465
353
10
106
35.3
0.870504
0.25779
0
0
0
0
0.039063
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
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
f429048f9dd3f113a24f169586e1c824538d1820
1,022
py
Python
SvdFeature_Source_Code/demo/pairwiseRank/mkbasicfeature.py
qichaotang/Source-Code-s-Reading
0f92a5c1c464cd6f4b27a1252fdac0d92438a49a
[ "MIT" ]
1
2016-05-17T06:42:32.000Z
2016-05-17T06:42:32.000Z
SvdFeature_Source_Code/demo/pairwiseRank/mkbasicfeature.py
qichaotang/Source-Code-s-Reading
0f92a5c1c464cd6f4b27a1252fdac0d92438a49a
[ "MIT" ]
null
null
null
SvdFeature_Source_Code/demo/pairwiseRank/mkbasicfeature.py
qichaotang/Source-Code-s-Reading
0f92a5c1c464cd6f4b27a1252fdac0d92438a49a
[ "MIT" ]
null
null
null
# # This file defines the basic svd feature generator for movielen feature # import sys #make features,including global feature,user feature and item feature #the input file format:userid \t itemid \t rate \n #the output format:rate \t number of global features \t number of user features \t number of item features \...
32.967742
160
0.603718
156
1,022
3.903846
0.487179
0.034483
0.044335
0.055829
0
0
0
0
0
0
0
0.015831
0.258317
1,022
30
161
34.066667
0.787599
0.410959
0
0
0
0
0.118644
0
0
0
0
0
0
0
null
null
0
0.047619
null
null
0.095238
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
f42a9c364371bf451de026f7fb29b43a88e829cf
915
py
Python
samples/vsphere/tagging/__init__.py
restapicoding/VMware-SDK
edc387a76227be1ad7c03e5eeaf603351574f70c
[ "MIT" ]
589
2017-03-09T19:01:22.000Z
2022-03-23T08:18:32.000Z
samples/vsphere/tagging/__init__.py
restapicoding/VMware-SDK
edc387a76227be1ad7c03e5eeaf603351574f70c
[ "MIT" ]
244
2017-03-09T19:37:36.000Z
2022-03-29T07:14:21.000Z
samples/vsphere/tagging/__init__.py
restapicoding/VMware-SDK
edc387a76227be1ad7c03e5eeaf603351574f70c
[ "MIT" ]
304
2017-03-09T19:15:01.000Z
2022-03-31T04:26:59.000Z
""" * ******************************************************* * Copyright VMware, Inc. 2016. All Rights Reserved. * SPDX-License-Identifier: MIT * ******************************************************* * * DISCLAIMER. THIS PROGRAM IS PROVIDED TO YOU "AS IS" WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, WHETHER ORAL ...
33.888889
69
0.676503
99
915
5.959596
0.676768
0.045763
0.057627
0.081356
0
0
0
0
0
0
0
0.010178
0.140984
915
26
70
35.192308
0.740458
0.679781
0
0
0
0
0.212014
0
0
0
0
0
0
1
0
false
0
0.375
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
1
0
0
0
0
1
f42c5b08a61a0b31b9537b45c4b9696f66a7be36
458
py
Python
setup.py
rawg/levis
33cd6c915f51134f79f3586dc0e4a6072247b568
[ "MIT" ]
42
2016-06-29T21:13:02.000Z
2022-01-23T03:23:59.000Z
setup.py
rawg/levis
33cd6c915f51134f79f3586dc0e4a6072247b568
[ "MIT" ]
null
null
null
setup.py
rawg/levis
33cd6c915f51134f79f3586dc0e4a6072247b568
[ "MIT" ]
12
2016-07-18T20:46:55.000Z
2021-06-13T16:08:37.000Z
from distutils.core import setup setup( name = 'levis', packages = ['levis'], version = '0.5.1', description = 'A toolkit for genetic algorithms in Python.', author = 'Jeremy Fisher', author_email = 'jeremy@rentawebgeek.com', url = 'https://github.com/rawg/levis', download_url = 'https://github.com/rawg...
32.714286
84
0.674672
56
458
5.482143
0.732143
0.013029
0.091205
0.110749
0.169381
0.169381
0
0
0
0
0
0.015345
0.146288
458
13
85
35.230769
0.769821
0
0
0
0
0.076923
0.489083
0.050218
0
0
0
0
0
1
0
true
0
0.076923
0
0.076923
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
1
0
0
0
0
0
0
1
f42df5bbafd8706c85473163873e30f4981de033
1,556
py
Python
examples/tsa/example_arima.py
escheffel/statsmodels
bc70147c4c7ea00b6ac7256bbaf107902983c189
[ "BSD-3-Clause" ]
2
2017-01-05T22:44:37.000Z
2018-04-26T08:34:00.000Z
examples/tsa/example_arima.py
langmore/statsmodels
a29d0418436a9b38b11101f7741ce6cb35b9e2cd
[ "BSD-3-Clause" ]
null
null
null
examples/tsa/example_arima.py
langmore/statsmodels
a29d0418436a9b38b11101f7741ce6cb35b9e2cd
[ "BSD-3-Clause" ]
null
null
null
from statsmodels.datasets.macrodata import load_pandas from statsmodels.tsa.base.datetools import dates_from_range from statsmodels.tsa.arima_model import ARIMA import matplotlib.pyplot as plt import numpy as np import statsmodels.api as sm plt.interactive(False) # let's examine an ARIMA model of CPI cpi = load_panda...
29.358491
73
0.733933
273
1,556
4.087912
0.47619
0.037634
0.032258
0.028674
0.107527
0.048387
0
0
0
0
0
0.044428
0.117609
1,556
52
74
29.923077
0.76839
0.275064
0
0
0
0
0.034081
0
0
0
0
0
0
0
null
null
0
0.241379
null
null
0.034483
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
f43225f3bd12958a6e9370cfd52a6dc3b959587e
822
py
Python
tilepacks/tilepack/outputter/zipfile.py
smoldata/php-smol-maps
bbefe5f13c1d9f4a076341935a5eadf3d4e762b7
[ "Apache-2.0" ]
1
2017-11-02T19:14:40.000Z
2017-11-02T19:14:40.000Z
tilepacks/tilepack/outputter/zipfile.py
smoldata/smol.map
bbefe5f13c1d9f4a076341935a5eadf3d4e762b7
[ "Apache-2.0" ]
14
2017-07-01T14:02:17.000Z
2017-07-02T02:25:26.000Z
tilepacks/tilepack/outputter/zipfile.py
dphiffer/smol.map
bbefe5f13c1d9f4a076341935a5eadf3d4e762b7
[ "Apache-2.0" ]
null
null
null
import zipfile import json class ZipfileOutput(object): @staticmethod def build_from_basename(basename, **kwargs): return ZipfileOutput(basename + ".zip", **kwargs) def __init__(self, filename, **kwargs): self._filename = filename self._zipfile = None self._metadata = {} ...
29.357143
106
0.648418
97
822
5.278351
0.443299
0.107422
0.058594
0
0
0
0
0
0
0
0
0.001536
0.208029
822
27
107
30.444444
0.784946
0
0
0
0
0
0.062119
0.034105
0
0
0
0
0
1
0.3
false
0
0.1
0.05
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
1
0
0
0
0
0
0
0
1
f43c335365e6c819dcf6ab2c289ed2b0900cac2b
365
py
Python
models/marca.py
ffueper/UPOCAR
fc8441753a230f55309cf7c8adeec9b4cb1f3d71
[ "MIT" ]
2
2019-12-22T11:27:10.000Z
2020-01-11T18:54:45.000Z
models/marca.py
ffueper/upocar
fc8441753a230f55309cf7c8adeec9b4cb1f3d71
[ "MIT" ]
null
null
null
models/marca.py
ffueper/upocar
fc8441753a230f55309cf7c8adeec9b4cb1f3d71
[ "MIT" ]
null
null
null
''' Created on 27 nov. 2019 @author: Fernando Fuentes ''' from odoo import models, fields, api class marca(models.Model): _name = 'upocar.marca' _rec_name = "nombre_marca" nombre_marca = fields.Char('Nombre', size=64, required=True) modelo_ids = fields.One2many("upocar.modelo", "marca_id", ...
22.8125
106
0.684932
49
365
4.959184
0.693878
0.090535
0
0
0
0
0
0
0
0
0
0.030201
0.183562
365
15
107
24.333333
0.785235
0.136986
0
0
0
0
0.228013
0
0
0
0
0
0
1
0
false
0
0.166667
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
f43ec9b5846f22c2f4da3110027f276564c06b01
656
py
Python
Computer science/Programming languages/Python/Working with data/Data types and operations/Strings/String formatting/decimal_places.py
chanchanchong/PYTHON-TRACK-IN-HYPERSKILL
462fe08ff4a2b183fd45a0235ab1ec7a788bd54c
[ "MIT" ]
null
null
null
Computer science/Programming languages/Python/Working with data/Data types and operations/Strings/String formatting/decimal_places.py
chanchanchong/PYTHON-TRACK-IN-HYPERSKILL
462fe08ff4a2b183fd45a0235ab1ec7a788bd54c
[ "MIT" ]
null
null
null
Computer science/Programming languages/Python/Working with data/Data types and operations/Strings/String formatting/decimal_places.py
chanchanchong/PYTHON-TRACK-IN-HYPERSKILL
462fe08ff4a2b183fd45a0235ab1ec7a788bd54c
[ "MIT" ]
null
null
null
# Round the number from input to the required number of # decimals. # The input format: # Two lines: the first with a floating-point number, the second # with an integer representing the decimal count. # The output format: # A formatted string containing the rounded number. # Do NOT forget to convert the input num...
17.72973
63
0.704268
104
656
4.413462
0.528846
0.052288
0.069717
0
0
0
0
0
0
0
0
0.024074
0.176829
656
36
64
18.222222
0.825926
0.676829
0
0
0
0
0.364583
0.291667
0
0
0
0
0
1
0
false
0
0
0
0
0.6
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
1
0
1
f442fc600107aa84cf63d6c7363fbfa440b938ec
5,006
py
Python
aguaclara/core/units.py
AguaClara/AguaClara-Design-code
cc40815dfed5c4043daede0aabb23a1c13f6dca1
[ "MIT" ]
8
2019-02-21T18:47:19.000Z
2022-01-04T05:52:05.000Z
aguaclara/core/units.py
AguaClara/AguaClara_design
cc40815dfed5c4043daede0aabb23a1c13f6dca1
[ "MIT" ]
211
2018-08-31T12:12:42.000Z
2022-03-29T20:42:35.000Z
aguaclara/core/units.py
AguaClara/AguaClara_design
cc40815dfed5c4043daede0aabb23a1c13f6dca1
[ "MIT" ]
8
2019-02-12T16:10:15.000Z
2022-03-21T16:03:24.000Z
"""Module containing global unit registry. The `Pint package <https://pint.readthedocs.io/en/latest/>`_ supports arithmetic of physical quantities, which are combinations of numerical values and units of measurement. The units of a quantity come from Pint's unit registry. This module contains a unit registry, named ``...
25.540816
80
0.554934
690
5,006
3.955072
0.44058
0.033346
0.032246
0.012459
0.071821
0.031513
0
0
0
0
0
0.036186
0.18298
5,006
195
81
25.671795
0.631051
0.879744
0
0
0
0
0.085106
0
0
0
0
0
0
1
0.066667
false
0
0.2
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f446a2f5410a4df8ed3155a23d2edb1bae59cecb
543
py
Python
libraries/migrations/0004_document_project.py
rkprajapat/construction-crm
ae70238862f3048e4b1b849f9c16bf1bdf867a28
[ "MIT" ]
null
null
null
libraries/migrations/0004_document_project.py
rkprajapat/construction-crm
ae70238862f3048e4b1b849f9c16bf1bdf867a28
[ "MIT" ]
11
2020-02-12T00:51:32.000Z
2022-03-11T23:57:22.000Z
libraries/migrations/0004_document_project.py
rkprajapat/construction-crm
ae70238862f3048e4b1b849f9c16bf1bdf867a28
[ "MIT" ]
null
null
null
# Generated by Django 2.2.3 on 2019-07-15 08:15 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('projects', '0017_auto_20190714_2254'), ('libraries', '0003_document_unit'), ] operations = [ migrat...
25.857143
127
0.642726
62
543
5.516129
0.66129
0.070175
0.081871
0.128655
0
0
0
0
0
0
0
0.083933
0.232044
543
20
128
27.15
0.736211
0.082873
0
0
1
0
0.179435
0.046371
0
0
0
0
0
1
0
false
0
0.142857
0
0.357143
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
f449c69401898b03fb45aa082af86712916e91c5
3,492
py
Python
recognizer/p2.py
yatbear/cv
abff7fd64f141eef7c222c16885c8200b7dd18d0
[ "MIT" ]
null
null
null
recognizer/p2.py
yatbear/cv
abff7fd64f141eef7c222c16885c8200b7dd18d0
[ "MIT" ]
null
null
null
recognizer/p2.py
yatbear/cv
abff7fd64f141eef7c222c16885c8200b7dd18d0
[ "MIT" ]
null
null
null
#!usr/bin/env python # EN.600.661 HW #1 # # Usage: python [files] # # Implement the sequential labeling algorithm that segments # a binary image into several connected regions # # Author: yatbear <sapphirejyt@gmail.com> # 2015-09-06 import numpy as np def p2(binary_in): # Get the image size (m, ...
33.576923
73
0.409507
407
3,492
3.398034
0.289926
0.060738
0.040492
0.031815
0.219089
0.139552
0.096891
0.07086
0.040492
0.040492
0
0.028622
0.509737
3,492
104
74
33.576923
0.779206
0.17669
0
0.257143
0
0
0
0
0
0
0
0
0
1
0.014286
false
0
0.014286
0
0.042857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f452466911798ff40a1544a6d2914a8746a42158
2,374
py
Python
Visualize_the_Board/Data_Conversion/position_of_pieces.py
DylanSnyder31/Alphazero-Chess
660f50f56dc8772cceaf46d33a97aed8b0775fa8
[ "MIT" ]
17
2019-04-24T02:10:42.000Z
2022-03-15T23:39:56.000Z
Visualize_the_Board/Data_Conversion/position_of_pieces.py
DylanSnyder31/Alphazero-Chess
660f50f56dc8772cceaf46d33a97aed8b0775fa8
[ "MIT" ]
3
2020-01-07T09:52:10.000Z
2021-03-28T16:18:57.000Z
Visualize_the_Board/Data_Conversion/position_of_pieces.py
DylanSnyder31/Alphazero-Chess
660f50f56dc8772cceaf46d33a97aed8b0775fa8
[ "MIT" ]
18
2019-07-12T13:47:45.000Z
2021-12-28T00:18:53.000Z
''' This is the position of all the pieces, in a dictionary. This data is essential for the gameplay to work ''' position_dic = { 'a1': "Left White Rook", 'b1': "Left White Knight", 'c1': "Left White Bishop", 'd1': "White Queen", 'e1': "White King", 'f1': "Right White Bishop", 'g1': "Right White Knight", 'h1': "Righ...
81.862069
226
0.440607
337
2,374
3.091988
0.510386
0.025912
0
0
0
0
0
0
0
0
0
0.154839
0.281803
2,374
28
227
84.785714
0.456305
0.043808
0
0
0
0
0.369485
0
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f45657f645df12575afabc0531000adf27f5018b
14,109
py
Python
Demo/tkinter/www/htmllib.py
1byte2bytes/cpython
7fbaeb819ca7b20dca048217ff585ec195e999ec
[ "Unlicense", "TCL", "DOC", "AAL", "X11" ]
1
2019-10-25T21:41:07.000Z
2019-10-25T21:41:07.000Z
Demo/tkinter/www/htmllib.py
1byte2bytes/cpython
7fbaeb819ca7b20dca048217ff585ec195e999ec
[ "Unlicense", "TCL", "DOC", "AAL", "X11" ]
null
null
null
Demo/tkinter/www/htmllib.py
1byte2bytes/cpython
7fbaeb819ca7b20dca048217ff585ec195e999ec
[ "Unlicense", "TCL", "DOC", "AAL", "X11" ]
null
null
null
# A parser for HTML documents # HTML: HyperText Markup Language; an SGML-like syntax used by WWW to # describe hypertext documents # # SGML: Standard Generalized Markup Language # # WWW: World-Wide Web; a distributed hypertext system develped at CERN # # CERN: European Particle Physics Laboratory in Geneva, Switzerla...
22.045313
76
0.664824
2,002
14,109
4.601399
0.193806
0.030287
0.032458
0.036908
0.297221
0.206687
0.180851
0.153713
0.153713
0.132653
0
0.026086
0.17946
14,109
639
77
22.079812
0.769629
0.125027
0
0.28692
0
0
0.099032
0.052079
0
0
0
0
0
0
null
null
0.025316
0.025316
null
null
0.008439
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
f4577fa000731138e3d09814c4950f86f850679d
140,567
py
Python
src/sage/schemes/elliptic_curves/ell_number_field.py
Findstat/sage
d661c2c2bd18676014c151e9eec1e81ed12db9f6
[ "BSL-1.0" ]
null
null
null
src/sage/schemes/elliptic_curves/ell_number_field.py
Findstat/sage
d661c2c2bd18676014c151e9eec1e81ed12db9f6
[ "BSL-1.0" ]
null
null
null
src/sage/schemes/elliptic_curves/ell_number_field.py
Findstat/sage
d661c2c2bd18676014c151e9eec1e81ed12db9f6
[ "BSL-1.0" ]
null
null
null
# -*- coding: utf-8 -*- r""" Elliptic curves over number fields An elliptic curve `E` over a number field `K` can be given by a Weierstrass equation whose coefficients lie in `K` or by using ``base_extend`` on an elliptic curve defined over a subfield. One major difference to elliptic curves over `\QQ` is that there ...
39.562905
563
0.548464
20,001
140,567
3.79846
0.074146
0.018559
0.031511
0.021494
0.539007
0.479512
0.438221
0.400103
0.379556
0.355534
0
0.1059
0.330177
140,567
3,552
564
39.574043
0.700993
0.032212
0
0.255009
0
0.003643
0.045899
0.000935
0
0
0
0
0.003643
0
null
null
0.007286
0.060109
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f459214ac2177f1c3c90ebbb13674e801cc38356
1,173
py
Python
hello/hello.py
datawire/hello-kubernetes
0abc523c4ddc7b70589ed2a6f9901c88a7e196d1
[ "Apache-2.0" ]
2
2017-10-17T21:21:27.000Z
2018-04-19T08:04:22.000Z
hello/hello.py
datawire/hello-kubernetes
0abc523c4ddc7b70589ed2a6f9901c88a7e196d1
[ "Apache-2.0" ]
null
null
null
hello/hello.py
datawire/hello-kubernetes
0abc523c4ddc7b70589ed2a6f9901c88a7e196d1
[ "Apache-2.0" ]
2
2018-08-14T03:53:32.000Z
2019-07-09T13:07:21.000Z
#!/usr/bin/env python import os import datetime from flask import Flask, jsonify app = Flask(__name__) # ---------------------------------------------------------------------------------------------------------------------- # SUPPLEMENTAL CODE # ----------------------------------------------------------------------...
25.5
120
0.470588
109
1,173
4.93578
0.477064
0.04461
0.048327
0.066915
0.3829
0.3829
0.237918
0.237918
0.237918
0.237918
0
0.008351
0.183291
1,173
45
121
26.066667
0.553236
0.56607
0
0
0
0
0.127789
0
0
0
0
0
0
1
0.1875
false
0
0.1875
0.125
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
0
1
0
0
0
1
f459589580e8f96618a44ce1c96b755b898dd590
1,502
py
Python
nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSLmkTransform.py
dPys/nipype
75030b29297808e7c9a9e91b411b685154dff60b
[ "Apache-2.0" ]
1
2019-03-25T14:11:18.000Z
2019-03-25T14:11:18.000Z
nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSLmkTransform.py
dPys/nipype
75030b29297808e7c9a9e91b411b685154dff60b
[ "Apache-2.0" ]
1
2017-01-05T01:24:33.000Z
2017-01-05T01:24:33.000Z
nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSLmkTransform.py
wtriplett/nipype
388f140fceaf55438a987e9cdfa2a8e995428afd
[ "Apache-2.0" ]
1
2020-12-16T16:36:48.000Z
2020-12-16T16:36:48.000Z
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT from ..brains import BRAINSLmkTransform def test_BRAINSLmkTransform_inputs(): input_map = dict( args=dict(argstr="%s",), environ=dict(nohash=True, usedefault=True,), inputFixedLandmarks=dict(argstr="--inputFixedLandmarks %s", extensions...
39.526316
88
0.6751
146
1,502
6.863014
0.363014
0.07984
0.05988
0.02994
0.157685
0.157685
0.10978
0.10978
0.10978
0.10978
0
0
0.196405
1,502
37
89
40.594595
0.830157
0.033955
0
0.133333
1
0
0.117322
0.076605
0
0
0
0
0.066667
1
0.066667
false
0
0.033333
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f45ac7330d94106e7cb57d5ad6b1c1a3ee8cf59d
3,490
py
Python
src/python/pants/backend/native/subsystems/binaries/gcc.py
SergeKireev/pants
cd92c65aeb3dfdcee3e0946f2b68a301ef2f4541
[ "Apache-2.0" ]
null
null
null
src/python/pants/backend/native/subsystems/binaries/gcc.py
SergeKireev/pants
cd92c65aeb3dfdcee3e0946f2b68a301ef2f4541
[ "Apache-2.0" ]
1
2020-01-21T16:34:02.000Z
2020-01-21T16:34:02.000Z
src/python/pants/backend/native/subsystems/binaries/gcc.py
SergeKireev/pants
cd92c65aeb3dfdcee3e0946f2b68a301ef2f4541
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). import os from pants.backend.native.config.environment import CCompiler, CppCompiler, Platform from pants.backend.native.subsystems.utils.archive_file_mapper import ArchiveFileMapper from...
31.727273
100
0.720344
461
3,490
5.223427
0.368764
0.045681
0.037375
0.018272
0.093023
0.093023
0.093023
0.062292
0.062292
0.062292
0
0.006923
0.172206
3,490
109
101
32.018349
0.826584
0.24957
0
0.208333
0
0
0.041265
0
0
0
0
0.009174
0.013889
1
0.166667
false
0
0.083333
0.138889
0.472222
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
1
0
0
0
1
f462c3c2b566caa02cf3b44f90698c2b99efc214
6,673
py
Python
sympy/assumptions/ask_generated.py
CameronKing/sympy
3295b02c617a10ea8db0a070356cc0ba5a3b5121
[ "BSD-3-Clause" ]
2
2019-06-12T16:15:39.000Z
2019-10-06T10:40:59.000Z
sympy/assumptions/ask_generated.py
CameronKing/sympy
3295b02c617a10ea8db0a070356cc0ba5a3b5121
[ "BSD-3-Clause" ]
2
2019-08-04T13:10:46.000Z
2020-11-06T19:59:25.000Z
sympy/assumptions/ask_generated.py
CameronKing/sympy
3295b02c617a10ea8db0a070356cc0ba5a3b5121
[ "BSD-3-Clause" ]
null
null
null
""" The contents of this file are the return value of ``sympy.assumptions.ask.compute_known_facts``. Do NOT manually edit this file. Instead, run ./bin/ask_update.py. """ from sympy.core.cache import cacheit from sympy.logic.boolalg import And from sympy.assumptions.ask import Q # -{ Known facts in Conjunctive Norma...
42.234177
77
0.602278
906
6,673
4.364238
0.091611
0.054375
0.037936
0.063733
0.651745
0.383662
0.260496
0.189428
0.173748
0.138341
0
0
0.24172
6,673
157
78
42.503185
0.781423
0.036865
0
0.013793
0
0
0
0
0
0
0
0
0
1
0.013793
true
0
0.02069
0.013793
0.048276
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
1
0
0
0
0
0
0
1
f464055b9d27066abfa9abe8c9636b253c0b8d1d
4,502
py
Python
Jrcrm/app01/migrations/0013_classstudyrecord_student_studentstudyrecord.py
luyl1017713252/python
3b30cffa85b625e512415fa882b4bc7708a5e0b8
[ "MulanPSL-1.0" ]
null
null
null
Jrcrm/app01/migrations/0013_classstudyrecord_student_studentstudyrecord.py
luyl1017713252/python
3b30cffa85b625e512415fa882b4bc7708a5e0b8
[ "MulanPSL-1.0" ]
null
null
null
Jrcrm/app01/migrations/0013_classstudyrecord_student_studentstudyrecord.py
luyl1017713252/python
3b30cffa85b625e512415fa882b4bc7708a5e0b8
[ "MulanPSL-1.0" ]
null
null
null
# Generated by Django 3.1.7 on 2021-05-17 06:55 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('app01', '0012_auto_20210507_1536'), ] operations = [ migrations.CreateMode...
71.460317
241
0.618392
521
4,502
5.1881
0.320537
0.130226
0.105438
0.119497
0.500185
0.471328
0.393637
0.393637
0.393637
0.342582
0
0.028787
0.205242
4,502
62
242
72.612903
0.726663
0.009996
0
0.267857
1
0
0.142088
0.015264
0
0
0
0
0
1
0
false
0
0.053571
0
0.107143
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
f46d081da9939d05fbf6c076eae8d82d27f9b3e9
4,248
py
Python
step05.py
xuantum/StockmanDuck
aa328d00511a1024138af2eece9f31f694889f31
[ "MIT" ]
1
2020-12-24T06:36:26.000Z
2020-12-24T06:36:26.000Z
step05.py
xuantum/StockmanDuck
aa328d00511a1024138af2eece9f31f694889f31
[ "MIT" ]
null
null
null
step05.py
xuantum/StockmanDuck
aa328d00511a1024138af2eece9f31f694889f31
[ "MIT" ]
null
null
null
# Step05 needs "pd_data.pkl" generated in Step04. # Step05 analyzes the charts generated from the PD data pickled in Step04. # Step05 saves the tickers into "temp_list" if the chart is in good shape. # Comparing with the history, if the tickers listed in "temp_list" had been tweeted within the recent 5 days, # Step05 ...
45.677419
110
0.630414
610
4,248
4.257377
0.304918
0.038506
0.016943
0.023104
0.182518
0.090874
0.070081
0.043897
0.043897
0.043897
0
0.020396
0.180556
4,248
92
111
46.173913
0.725654
0.352637
0
0.1
1
0.016667
0.248806
0.118339
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.2
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