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
63f1bbf7c5bc0ddb0546934f8c64da5077e3f88c
5,343
py
Python
pitfall/utils.py
bincyber/pitfall
680c33ae30a2ed1d2bbf742f74accc34b81b1f5b
[ "Apache-2.0" ]
33
2019-11-06T03:45:55.000Z
2020-12-15T09:14:42.000Z
pitfall/utils.py
bincyber/pitfall
680c33ae30a2ed1d2bbf742f74accc34b81b1f5b
[ "Apache-2.0" ]
3
2019-11-19T19:02:44.000Z
2020-03-29T17:52:11.000Z
pitfall/utils.py
bincyber/pitfall
680c33ae30a2ed1d2bbf742f74accc34b81b1f5b
[ "Apache-2.0" ]
1
2020-07-29T07:33:52.000Z
2020-07-29T07:33:52.000Z
# Copyright 2019 Ali (@bincyber) # # 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 writing, ...
31.429412
102
0.703724
745
5,343
4.936913
0.279195
0.035889
0.016313
0.014138
0.26074
0.219685
0.177814
0.177814
0.159869
0.159869
0
0.031798
0.199513
5,343
169
103
31.615385
0.828151
0.321168
0
0.197531
0
0
0.061995
0.035755
0
0
0
0
0
1
0.185185
false
0.049383
0.135802
0.012346
0.506173
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
63f2138c7f6ecd04713fbbea646ddb3dcb6f6400
93
py
Python
ch06/matplotlib_demo.py
jabrena/space-math
313d66f48ef642d7ce4d2c9765d55bc4bdade17b
[ "Apache-2.0" ]
1
2021-07-26T18:40:15.000Z
2021-07-26T18:40:15.000Z
ch06/matplotlib_demo.py
jabrena/space-math
313d66f48ef642d7ce4d2c9765d55bc4bdade17b
[ "Apache-2.0" ]
24
2021-07-10T15:31:05.000Z
2022-03-17T06:43:36.000Z
ch06/matplotlib_demo.py
jabrena/space-math
313d66f48ef642d7ce4d2c9765d55bc4bdade17b
[ "Apache-2.0" ]
null
null
null
import matplotlib.pyplot as plt plt.plot([1,23,2,4]) plt.ylabel('some numbers') plt.show()
13.285714
31
0.709677
17
93
3.882353
0.823529
0
0
0
0
0
0
0
0
0
0
0.060241
0.107527
93
6
32
15.5
0.73494
0
0
0
0
0
0.129032
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
63f28425c3f52ac3335ca7b5ceae3be50c402ea4
62,779
py
Python
pysnmp/HP-ICF-IP-ROUTING.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/HP-ICF-IP-ROUTING.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/HP-ICF-IP-ROUTING.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 HP-ICF-IP-ROUTING (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HP-ICF-IP-ROUTING # Produced by pysmi-0.3.4 at Mon Apr 29 19:21:41 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Ma...
136.77342
9,869
0.751079
7,055
62,779
6.683203
0.059674
0.00929
0.012407
0.015186
0.390901
0.35913
0.316628
0.299724
0.283054
0.273786
0
0.089248
0.09011
62,779
458
9,870
137.072052
0.736179
0.005225
0
0.126761
0
0
0.170062
0.059063
0
0
0
0
0
1
0
false
0
0.032864
0
0.051643
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
63f3eca2bcc5a707c88b9689f2ad3589628e5416
13,261
py
Python
chb/bctypes/BCTyp.py
kestreltechnology/CodeHawk-Binary
aa0b2534e0318e5fb3770ec7b4d78feb0feb2394
[ "MIT" ]
null
null
null
chb/bctypes/BCTyp.py
kestreltechnology/CodeHawk-Binary
aa0b2534e0318e5fb3770ec7b4d78feb0feb2394
[ "MIT" ]
null
null
null
chb/bctypes/BCTyp.py
kestreltechnology/CodeHawk-Binary
aa0b2534e0318e5fb3770ec7b4d78feb0feb2394
[ "MIT" ]
null
null
null
# ------------------------------------------------------------------------------ # CodeHawk Binary Analyzer # Author: Henny Sipma # ------------------------------------------------------------------------------ # The MIT License (MIT) # # Copyright (c) 2021-2022 Aarno Labs LLC # # Permission is hereby granted, free of ...
25.900391
80
0.567981
1,494
13,261
4.907631
0.18407
0.05401
0.039007
0.0491
0.456765
0.435079
0.42335
0.309875
0.304692
0.274823
0
0.007841
0.307594
13,261
511
81
25.951076
0.790677
0.190785
0
0.569767
0
0
0.068907
0
0
0
0
0
0
1
0.232558
false
0
0.034884
0.148256
0.511628
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
1
0
0
0
2
63f444046bb1df157608c2a56987485735098de5
1,810
py
Python
select_language.py
elviscruz45/Selenium
4959b552fe3658802663520fc817f5e3c86aa2b7
[ "MIT" ]
null
null
null
select_language.py
elviscruz45/Selenium
4959b552fe3658802663520fc817f5e3c86aa2b7
[ "MIT" ]
null
null
null
select_language.py
elviscruz45/Selenium
4959b552fe3658802663520fc817f5e3c86aa2b7
[ "MIT" ]
null
null
null
import unittest from selenium import webdriver #submodulo para usar el dropdown from selenium.webdriver.support.ui import Select class LanguageOptions(unittest.TestCase): def setUp(self): self.driver = webdriver.Chrome(executable_path = r'./chromedriver') driver = self.driver driver.implicitly_wait(30) driv...
36.2
89
0.781215
245
1,810
5.608163
0.493878
0.101892
0.07278
0.021834
0.11936
0.085881
0.085881
0.085881
0.085881
0.085881
0
0.003824
0.133149
1,810
50
90
36.2
0.871893
0.324309
0
0.071429
0
0
0.11047
0
0
0
0
0
0.142857
1
0.107143
false
0
0.107143
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
63f4edbce00fde34ebff1d87a9721442ae30e42f
819
py
Python
tests/test_control.py
chaostoolkit-incubator/chaostoolkit-opentracing
c3b4cf755f81db40a4a5fbf342fc6d70455eee42
[ "Apache-2.0" ]
4
2019-03-06T07:02:28.000Z
2021-12-14T05:16:46.000Z
tests/test_control.py
chaostoolkit-incubator/chaostoolkit-opentracing
c3b4cf755f81db40a4a5fbf342fc6d70455eee42
[ "Apache-2.0" ]
2
2019-05-23T16:53:09.000Z
2019-06-20T10:10:59.000Z
tests/test_control.py
chaostoolkit-incubator/chaostoolkit-opentracing
c3b4cf755f81db40a4a5fbf342fc6d70455eee42
[ "Apache-2.0" ]
2
2019-04-27T20:17:43.000Z
2019-11-29T21:44:21.000Z
# -*- coding: utf-8 -*- from unittest.mock import patch import opentracing from chaoslib.types import Configuration from chaostracing.control import cleanup_control, configure_control def test_create_noop_tracer(configuration: Configuration): assert opentracing.is_global_tracer_registered() is False tracer ...
30.333333
67
0.765568
98
819
6.183673
0.438776
0.079208
0.062706
0.082508
0.141914
0.141914
0.141914
0
0
0
0
0.002899
0.157509
819
26
68
31.5
0.875362
0.025641
0
0
0
0
0.011307
0
0
0
0
0
0.333333
1
0.111111
false
0
0.222222
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
63f5d05472c335001bf35ef47f9208c6df7b37a9
1,870
py
Python
rnn/lang_model_pred_next_word/config.py
hautan/train_tf
0946c7a497703f13c156de9f0135296fd91127ee
[ "Apache-2.0" ]
null
null
null
rnn/lang_model_pred_next_word/config.py
hautan/train_tf
0946c7a497703f13c156de9f0135296fd91127ee
[ "Apache-2.0" ]
null
null
null
rnn/lang_model_pred_next_word/config.py
hautan/train_tf
0946c7a497703f13c156de9f0135296fd91127ee
[ "Apache-2.0" ]
null
null
null
import tensorflow as tf import flags logging = tf.logging BASIC = "basic" CUDNN = "cudnn" BLOCK = "block" def get_config(): """Get model config.""" config = None if flags.FLAGS.model == "small": config = SmallConfig() elif flags.FLAGS.model == "medium": config = MediumConfig() elif flags.FLAGS.mode...
19.684211
60
0.664706
293
1,870
4.003413
0.276451
0.068201
0.063939
0.047741
0.343564
0.343564
0.343564
0.322251
0.286445
0.286445
0
0.07474
0.227273
1,870
95
61
19.684211
0.737024
0.045989
0
0.367089
0
0
0.032405
0
0
0
0
0
0
1
0.012658
false
0
0.025316
0
0.759494
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
63f9a97f8a1d12a0c494ff5ebbdc9c80c2a7869b
1,752
py
Python
sensor/components/rf24.py
mattgrogan/ledmatrix
3a54de98ab107cf1266404400c7eb576007c8b17
[ "MIT" ]
1
2017-10-27T20:27:13.000Z
2017-10-27T20:27:13.000Z
sensor/components/rf24.py
mattgrogan/ledmatrix
3a54de98ab107cf1266404400c7eb576007c8b17
[ "MIT" ]
null
null
null
sensor/components/rf24.py
mattgrogan/ledmatrix
3a54de98ab107cf1266404400c7eb576007c8b17
[ "MIT" ]
null
null
null
import logging import time import requests import influxdb from nrf24 import NRF24 log = logging.getLogger("ledmatrix") class RF24_Sensor(object): def __init__(self, dbclient): # Set up the RF24 pipes = [[0xe7, 0xe7, 0xe7, 0xe7, 0xe7], [0xc2, 0xc2, 0xc2, 0xc2, 0xc2]] ...
20.372093
65
0.586758
211
1,752
4.796209
0.436019
0.133399
0.035573
0.031621
0
0
0
0
0
0
0
0.057304
0.292808
1,752
85
66
20.611765
0.759483
0.059932
0
0
0
0
0.076478
0
0
0
0.028278
0
0
1
0.081633
false
0
0.102041
0
0.22449
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
63fc3f147de82089b59cb13ec3cb28b094d1398f
4,465
py
Python
spider/spider.py
omilab/internet-archive-link-extractor
c6940134ccaa68fff57b71001ff9d1c3e80cab9b
[ "MIT" ]
3
2018-04-30T08:06:40.000Z
2021-06-28T05:29:14.000Z
spider/spider.py
omilab/internet-archive-link-extractor
c6940134ccaa68fff57b71001ff9d1c3e80cab9b
[ "MIT" ]
1
2021-03-18T15:21:31.000Z
2021-03-18T15:21:31.000Z
spider/spider.py
omilab/internet-archive-link-extractor
c6940134ccaa68fff57b71001ff9d1c3e80cab9b
[ "MIT" ]
null
null
null
from bs4 import BeautifulSoup, SoupStrainer import tldextract import json import re from urlparse import urlparse, urlunparse import requests ARCHIVE_WEB_URL = 'http://web.archive.org/web' ARCHIVE_CDX_URL = 'http://web.archive.org/cdx/search/cdx' MAX_EXTRACTION_LEVEL = 5 class Spider: def __init__(self, extrac...
36.598361
166
0.533707
491
4,465
4.659878
0.291242
0.027535
0.022727
0.031469
0.09222
0.020105
0
0
0
0
0
0.009437
0.359239
4,465
121
167
36.900826
0.790283
0.108399
0
0.059524
0
0
0.057465
0.011801
0
0
0
0
0
1
0.071429
false
0.083333
0.071429
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
63fcf04b9b9a8d66be7df9996321e5a3e5b4d7e9
9,145
py
Python
test/test_SM/test_ploshadki/test_ploshadka_b2b_center.py
IrinaSlobodchikova/marker
72f981134fb025a94348cd2bc829fa8430a01372
[ "Apache-2.0" ]
null
null
null
test/test_SM/test_ploshadki/test_ploshadka_b2b_center.py
IrinaSlobodchikova/marker
72f981134fb025a94348cd2bc829fa8430a01372
[ "Apache-2.0" ]
null
null
null
test/test_SM/test_ploshadki/test_ploshadka_b2b_center.py
IrinaSlobodchikova/marker
72f981134fb025a94348cd2bc829fa8430a01372
[ "Apache-2.0" ]
null
null
null
def test_sm_b2b_center_include_eic_yestoday(app): app.testhelpersm.refresh_page() app.session.open_SM_page(app.smPurchases) app.session.ensure_login_sm(app.username, app.password) app.session.ensure_login_sm(app.username, app.password) app.session.open_SM_page(app.smPurchases) app.testHelperS...
48.386243
113
0.774522
1,207
9,145
5.603977
0.060481
0.23906
0.092401
0.047309
1
1
1
0.992164
0.988468
0.988468
0
0.023597
0.128814
9,145
188
114
48.643617
0.825405
0.15298
0
0.931034
0
0
0.014245
0
0
0
0
0
0.137931
1
0.068966
false
0.137931
0
0
0.068966
0
0
0
0
null
1
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
9
63fd4bd54b5d3ab935a4584d74cf20a2fb417b19
38
py
Python
tests/functional/modules/a_hidden_import/__init__.py
hawkhai/pyinstaller
016a24479b34de161792c72dde455a81ad4c78ae
[ "Apache-2.0" ]
9,267
2015-01-01T04:08:45.000Z
2022-03-31T11:42:38.000Z
tests/functional/modules/a_hidden_import/__init__.py
hawkhai/pyinstaller
016a24479b34de161792c72dde455a81ad4c78ae
[ "Apache-2.0" ]
5,150
2015-01-01T12:09:56.000Z
2022-03-31T18:06:12.000Z
tests/functional/modules/a_hidden_import/__init__.py
hawkhai/pyinstaller
016a24479b34de161792c72dde455a81ad4c78ae
[ "Apache-2.0" ]
2,101
2015-01-03T10:25:27.000Z
2022-03-30T11:04:42.000Z
from . import submodule # noqa: F401
19
37
0.710526
5
38
5.4
1
0
0
0
0
0
0
0
0
0
0
0.1
0.210526
38
1
38
38
0.8
0.263158
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
63fdd3f4280910bb636973ee1df67b1888e017fe
340
py
Python
celery_project/tools/exceptions.py
JasonLearning/dzdp_spider
2e09b1a18ae7f168ff1cd7457dc6b50f2cb364a7
[ "Apache-2.0" ]
null
null
null
celery_project/tools/exceptions.py
JasonLearning/dzdp_spider
2e09b1a18ae7f168ff1cd7457dc6b50f2cb364a7
[ "Apache-2.0" ]
null
null
null
celery_project/tools/exceptions.py
JasonLearning/dzdp_spider
2e09b1a18ae7f168ff1cd7457dc6b50f2cb364a7
[ "Apache-2.0" ]
null
null
null
# !/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 17/2/17 下午2:39 # @Author : Jason # @File : exceptions.py class InvalidGoodUrlException(Exception): pass class InvalidCategoryUrlException(Exception): pass class DocumentNotFoundException(Exception): pass class InvalidParamException(E...
15.454545
45
0.688235
34
340
6.882353
0.705882
0.222222
0.230769
0
0
0
0
0
0
0
0
0.032967
0.197059
340
21
46
16.190476
0.824176
0.332353
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
63fdf7825ab44c67de691a26081114f91b5fc925
9,985
bzl
Python
cc/private/common.bzl
EtherealWake/tools
54e81b4cd01c1af34e4180376aac60bb96668865
[ "0BSD" ]
1
2019-08-13T01:11:11.000Z
2019-08-13T01:11:11.000Z
cc/private/common.bzl
EtherealWake/tools
54e81b4cd01c1af34e4180376aac60bb96668865
[ "0BSD" ]
null
null
null
cc/private/common.bzl
EtherealWake/tools
54e81b4cd01c1af34e4180376aac60bb96668865
[ "0BSD" ]
null
null
null
# # Copyright (c) 2019 Jonathan McGee <broken.source@etherealwake.com> # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS I...
33.733108
80
0.665699
1,188
9,985
5.256734
0.19697
0.049319
0.022898
0.025781
0.395516
0.330184
0.273979
0.234428
0.184948
0.128743
0
0.000522
0.232649
9,985
295
81
33.847458
0.814539
0.221332
0
0.265403
0
0
0.163767
0.061347
0
0
0
0
0
1
0.042654
false
0
0
0.018957
0.090047
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
120014680c2bd2d7ca378ada98745e9de9eb3aee
7,094
py
Python
platforms/m3/programming/program_via_i2c.py
lab11/M-ulator
95b49c6194678c74accca4a20af71380efbcac5f
[ "Apache-2.0", "MIT" ]
19
2015-01-26T10:47:23.000Z
2021-08-13T11:07:54.000Z
platforms/m3/programming/program_via_i2c.py
lab11/M-ulator
95b49c6194678c74accca4a20af71380efbcac5f
[ "Apache-2.0", "MIT" ]
14
2015-08-24T02:35:46.000Z
2021-05-05T03:53:44.000Z
platforms/m3/programming/program_via_i2c.py
lab11/M-ulator
95b49c6194678c74accca4a20af71380efbcac5f
[ "Apache-2.0", "MIT" ]
9
2015-05-27T23:27:35.000Z
2020-10-05T22:02:43.000Z
#!/usr/bin/env python # # self-test: socat -x pty,link=/tmp/com1,raw,echo=0 pty,link=/tmp/com2,raw,echo=0 from math import ceil from m3_common import printing_sleep as sleep import socket import sys import os import mimetypes import queue import logging logging.basicConfig(level=logging.INFO, format="%(message)s") log...
31.669643
89
0.64914
1,084
7,094
4.173432
0.256458
0.090628
0.019452
0.014368
0.307913
0.251547
0.195402
0.173077
0.116711
0.079576
0
0.04174
0.199605
7,094
223
90
31.811659
0.755019
0.057795
0
0.22905
0
0
0.275929
0
0
0
0.01289
0
0
1
0.01676
false
0
0.050279
0
0.089385
0.005587
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1200fc9093c669658eb3eda6038151eb69622171
7,889
py
Python
aviacme/cert.py
vidarno/aviacme
6a00c29fda1664e5f546c879487bba84ca9d3681
[ "MIT" ]
null
null
null
aviacme/cert.py
vidarno/aviacme
6a00c29fda1664e5f546c879487bba84ca9d3681
[ "MIT" ]
null
null
null
aviacme/cert.py
vidarno/aviacme
6a00c29fda1664e5f546c879487bba84ca9d3681
[ "MIT" ]
null
null
null
"""Functions related to certificates""" import json import logging import uuid from datetime import datetime, timedelta from enum import Enum from pathlib import Path import attr from cryptography import x509 from cryptography.hazmat.backends import default_backend logger = logging.getLogger(__name__) class CertErr...
30.110687
88
0.591837
930
7,889
4.848387
0.212903
0.035485
0.025948
0.01242
0.213129
0.172987
0.129075
0.080284
0.06609
0.047017
0
0.005589
0.296869
7,889
261
89
30.226054
0.807283
0.119534
0
0.150538
0
0.005376
0.099956
0.011415
0
0
0
0
0
1
0.091398
false
0
0.048387
0
0.317204
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
12016e4fe64bb35056a54608c56a4fed76dd5e23
4,456
py
Python
LeNetWithS3Pooling/training/pooling.py
cclauss/DL4AGX
b4d73f6c39b0428e32ce5656352800cc7e2cfb22
[ "Apache-2.0" ]
1
2021-04-16T10:20:08.000Z
2021-04-16T10:20:08.000Z
LeNetWithS3Pooling/training/pooling.py
andi4191/DL4AGX
b2aec0cc0d1375bcc29a94999e8cf66ca8e218fd
[ "Apache-2.0" ]
null
null
null
LeNetWithS3Pooling/training/pooling.py
andi4191/DL4AGX
b2aec0cc0d1375bcc29a94999e8cf66ca8e218fd
[ "Apache-2.0" ]
null
null
null
########################################################################## # Copyright (c) 2018-2019 NVIDIA Corporation. 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 #...
37.445378
84
0.559022
541
4,456
4.480592
0.32902
0.029703
0.034653
0.013201
0.321782
0.283828
0.244224
0.210396
0.15429
0.15429
0
0.022282
0.335278
4,456
118
85
37.762712
0.796084
0.375673
0
0.169811
0
0
0
0
0
0
0
0
0
1
0.037736
false
0
0.09434
0
0.169811
0.018868
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1203afb61ab68811b0be249f8039a7d8df5ddf01
85,636
py
Python
hubspot/cms/blogs/blog_posts/models/blog_post.py
Ronfer/hubspot-api-python
1c87274ecbba4aa3c7728f890ccc6e77b2b6d2e4
[ "Apache-2.0" ]
117
2020-04-06T08:22:53.000Z
2022-03-18T03:41:29.000Z
hubspot/cms/blogs/blog_posts/models/blog_post.py
Ronfer/hubspot-api-python
1c87274ecbba4aa3c7728f890ccc6e77b2b6d2e4
[ "Apache-2.0" ]
62
2020-04-06T16:21:06.000Z
2022-03-17T16:50:44.000Z
hubspot/cms/blogs/blog_posts/models/blog_post.py
Ronfer/hubspot-api-python
1c87274ecbba4aa3c7728f890ccc6e77b2b6d2e4
[ "Apache-2.0" ]
45
2020-04-06T16:13:52.000Z
2022-03-30T21:33:17.000Z
# coding: utf-8 """ Blog Post endpoints \"Use these endpoints for interacting with Blog Posts, Blog Authors, and Blog Tags\" # noqa: E501 The version of the OpenAPI document: v3 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from hubspot.cms.blo...
32.315472
181
0.57115
10,329
85,636
4.520767
0.07203
0.0711
0.073156
0.070543
0.706585
0.629232
0.601007
0.529843
0.462019
0.380341
0
0.023237
0.332127
85,636
2,649
182
32.327671
0.793195
0.305444
0
0.040829
0
0
0.185602
0.0268
0
0
0
0
0
1
0.080402
false
0.007538
0.002513
0
0.127513
0.001256
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1204747831fc9864ec931f9ad42fa72ea7913318
4,743
py
Python
detector/train.py
EthanLuu/code-clone-detector
0b6270ba18f9f266de0160c758e3e4554912fe08
[ "MIT" ]
3
2021-11-22T03:57:43.000Z
2022-01-11T12:08:52.000Z
detector/train.py
EthanLuu/code-clone-detector
0b6270ba18f9f266de0160c758e3e4554912fe08
[ "MIT" ]
null
null
null
detector/train.py
EthanLuu/code-clone-detector
0b6270ba18f9f266de0160c758e3e4554912fe08
[ "MIT" ]
1
2021-07-12T04:25:32.000Z
2021-07-12T04:25:32.000Z
import pandas as pd import os import torch import numpy as np import pickle import dill from settings import settings from model import BatchProgramCC from torch.autograd import Variable from gensim.models.word2vec import Word2Vec from sklearn.metrics import precision_recall_fscore_support categories = 5 HIDDEN_DIM =...
33.167832
118
0.571157
591
4,743
4.377327
0.27242
0.02126
0.023193
0.037109
0.259374
0.172787
0.091612
0.074217
0
0
0
0.031117
0.308876
4,743
142
119
33.401408
0.758084
0.023614
0
0.153846
0
0
0.045848
0.004542
0
0
0
0
0
1
0.034188
false
0
0.094017
0
0.136752
0.068376
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1205449d8dab287437413d7a919c70335600e9bd
653
py
Python
src/lesson02/06-function.py
shq-shq-shq/python-lessons
fac96b0c95c676e8256329ac269ad4530f245d84
[ "MIT" ]
null
null
null
src/lesson02/06-function.py
shq-shq-shq/python-lessons
fac96b0c95c676e8256329ac269ad4530f245d84
[ "MIT" ]
null
null
null
src/lesson02/06-function.py
shq-shq-shq/python-lessons
fac96b0c95c676e8256329ac269ad4530f245d84
[ "MIT" ]
null
null
null
def поздороваться(): print("Привет, программист!") поздороваться() поздороваться() поздороваться() поздороваться() поздороваться() def поздравить_с(как, чем): print(как + " поздравляю с " + чем + "!") поздравить_с("непременно", "новым годом") поздороваться() поздравить_с("вяло", "днём тунеядца и разгильдяя"...
20.40625
50
0.7366
70
653
6.657143
0.428571
0.165236
0.251073
0.223176
0
0
0
0
0
0
0
0
0.134763
653
31
51
21.064516
0.824779
0
0
0.478261
0
0
0.222393
0
0
0
0
0
0
1
0.173913
false
0
0
0
0.173913
0.086957
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1205b697340a6ca66a4b5eefeee7e83d113d7439
3,336
py
Python
whatthefood/data/visualise.py
lychanl/WhatTheFood
94b6eec2c306e7e55b19395cde207d6e6beec7fe
[ "MIT" ]
null
null
null
whatthefood/data/visualise.py
lychanl/WhatTheFood
94b6eec2c306e7e55b19395cde207d6e6beec7fe
[ "MIT" ]
null
null
null
whatthefood/data/visualise.py
lychanl/WhatTheFood
94b6eec2c306e7e55b19395cde207d6e6beec7fe
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import pickle import numpy as np import argparse from whatthefood.data.xml_to_obj import parse_file from whatthefood.data.obj_to_nparray import get_objects_from_output, load_input_image from whatthefood.data.preprocessing import ScalePreprocessor from whatthefood.classification.utils im...
34.391753
103
0.658573
459
3,336
4.588235
0.261438
0.02849
0.026591
0.037987
0.197531
0.132004
0.11301
0.05603
0.05603
0.05603
0
0.015052
0.223321
3,336
96
104
34.75
0.797761
0
0
0.027027
0
0
0.053657
0
0
0
0
0
0.013514
1
0.040541
false
0
0.108108
0
0.148649
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
0
0
1
0
120640bc4f94db61aa5fd8dea942754f11d7021a
855
py
Python
simulator.py
kryzsec/TOS_Prankster_Simulator
4ef6f7133bf50607dc1a720e97ed636e740a9dc0
[ "Unlicense" ]
null
null
null
simulator.py
kryzsec/TOS_Prankster_Simulator
4ef6f7133bf50607dc1a720e97ed636e740a9dc0
[ "Unlicense" ]
null
null
null
simulator.py
kryzsec/TOS_Prankster_Simulator
4ef6f7133bf50607dc1a720e97ed636e740a9dc0
[ "Unlicense" ]
null
null
null
from random import randint d3 = 0 d4 = 0 d5 = 0 d6 = 0 d7 = 0 d8 = 0 d9p = 0 nm = 100000 def roll(): return randint(1,10); def count(): num = 0 n2 = 0; while(num<3): n2+=1 r = roll() if r == 10: pass else: num+=1 return n2 def avg_win_day(): return (d3*3+d4*4+d5*5+d6*6+d7*7+d8*8+d9p*9)/nm te...
15.545455
262
0.523977
172
855
2.581395
0.290698
0.078829
0.121622
0
0
0
0
0
0
0
0
0.178788
0.22807
855
54
263
15.833333
0.493939
0
0
0
0
0.023256
0.19578
0
0
0
0
0
0
1
0.069767
false
0.023256
0.023256
0.046512
0.162791
0.046512
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
1206d8e2c1e71e7cdd590a11a2f6c861efb19b7e
12,320
py
Python
1_code/cluster/predict_symptoms_scv_grid.py
lindenmp/NormativeNeuroDev_CrossSec_DWI
af54928f047dd0c08fefcd7102b604cfeb84d364
[ "MIT" ]
null
null
null
1_code/cluster/predict_symptoms_scv_grid.py
lindenmp/NormativeNeuroDev_CrossSec_DWI
af54928f047dd0c08fefcd7102b604cfeb84d364
[ "MIT" ]
7
2020-03-25T14:09:37.000Z
2022-01-13T02:37:09.000Z
1_code/cluster/predict_symptoms_scv_grid.py
lindenmp/neurodev_cs_predictive
af54928f047dd0c08fefcd7102b604cfeb84d364
[ "MIT" ]
null
null
null
import argparse # Essentials import os, sys, glob import pandas as pd import numpy as np import copy import json # Stats import scipy as sp from scipy import stats # Sklearn from sklearn.pipeline import Pipeline from sklearn.preprocessing import StandardScaler from sklearn.model_selection import KFold, GridSearchCV,...
43.380282
173
0.589205
1,766
12,320
3.843148
0.151189
0.007662
0.026816
0.01886
0.442022
0.364962
0.274937
0.238544
0.1662
0.128334
0
0.007008
0.189286
12,320
283
174
43.533569
0.672507
0.217289
0
0.045198
0
0
0.075151
0.006671
0
0
0
0
0
1
0.033898
false
0
0.084746
0
0.163842
0.011299
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1206fe6c45497b764461237225d86918b1452f87
941
py
Python
code/Interpreters/RThread.py
antuniooh/Dattebayo-compiler
fd6767aee1c131dcbf76fc061bce43224df03f8b
[ "MIT" ]
null
null
null
code/Interpreters/RThread.py
antuniooh/Dattebayo-compiler
fd6767aee1c131dcbf76fc061bce43224df03f8b
[ "MIT" ]
null
null
null
code/Interpreters/RThread.py
antuniooh/Dattebayo-compiler
fd6767aee1c131dcbf76fc061bce43224df03f8b
[ "MIT" ]
1
2021-12-05T14:00:39.000Z
2021-12-05T14:00:39.000Z
from threading import Thread class ThreadWithReturnValue(Thread): def __init__(self, group=None, target=None, name=None, args=(), kwargs={}, Verbose=None): """ Performs the creation of an object of type ThreadWithReturnValue :param group: group of thread :param target: ta...
28.515152
76
0.564293
106
941
4.867925
0.301887
0.108527
0.125969
0
0
0
0
0
0
0
0
0
0.339001
941
32
77
29.40625
0.829582
0.321998
0
0
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0.076923
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1207c0c819347d26f1f5ae9a5c2ef2ea9e853dbd
1,783
py
Python
src/recognize.py
avi09/Desktop-Assistant
58019b41872af932c219106db94f7c3772cdde36
[ "MIT" ]
1
2020-11-24T11:34:57.000Z
2020-11-24T11:34:57.000Z
src/recognize.py
avi09/Desktop-Assistant
58019b41872af932c219106db94f7c3772cdde36
[ "MIT" ]
null
null
null
src/recognize.py
avi09/Desktop-Assistant
58019b41872af932c219106db94f7c3772cdde36
[ "MIT" ]
null
null
null
import speech_recognition as sr from gtts import gTTS import os import threading import time heard = False control = False r = sr.Recognizer() audio = "" def secondary_detect(): global heard, control, audio, r while True: s = "" if control==True: try: s = r.recognize_google(audio).lower() except sr.U...
23.155844
92
0.658441
244
1,783
4.77459
0.340164
0.072961
0.07897
0.051502
0.338197
0.338197
0.288412
0.288412
0.288412
0.288412
0
0.007868
0.215928
1,783
76
93
23.460526
0.825465
0.017947
0
0.477612
0
0
0.209262
0
0
0
0
0
0
1
0.059701
false
0
0.074627
0
0.179104
0.149254
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1209b37a5fff85e6894affb2d4a1eb23e4cf32e9
838
py
Python
counting_test.py
marcoher/rbm
94e16393048c6a70353580c59cf0c8dc1977dd19
[ "MIT" ]
null
null
null
counting_test.py
marcoher/rbm
94e16393048c6a70353580c59cf0c8dc1977dd19
[ "MIT" ]
null
null
null
counting_test.py
marcoher/rbm
94e16393048c6a70353580c59cf0c8dc1977dd19
[ "MIT" ]
null
null
null
from __future__ import division from model2 import RBM2 import numpy as np n = 15 samples = 400 X = np.zeros((samples, n, 2), dtype=np.int32) for i in xrange(samples): m = np.random.randint(1, n//2) j1 = np.random.choice(n, size=(m), replace=False) j2 = np.random.choice(n, size=(m), replace=False) X...
22.648649
83
0.607399
171
838
2.935673
0.397661
0.01992
0.017928
0.059761
0.256972
0.179283
0.12749
0.12749
0
0
0
0.113343
0.168258
838
36
84
23.277778
0.606887
0
0
0
0
0
0.069212
0
0
0
0
0
0
0
null
null
0
0.12
null
null
0.24
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
1209cdcba3e6b97b1c44983c53df59e38dab1068
629
py
Python
experiments/swiss-roll2-17May.py
ishank011/gp-structure-search
7984693f359baad07870ca24f058ff0bb52468b5
[ "MIT" ]
1
2020-04-08T12:25:37.000Z
2020-04-08T12:25:37.000Z
experiments/swiss-roll2-17May.py
hassan-bdw/gp-structure-search
ca6771cb08ee993f474b8e206a0410aa0b62e58a
[ "MIT" ]
null
null
null
experiments/swiss-roll2-17May.py
hassan-bdw/gp-structure-search
ca6771cb08ee993f474b8e206a0410aa0b62e58a
[ "MIT" ]
null
null
null
# Runs on all swiss roll datasets, quickly. Experiment(description='Swiss roll normalized slow', data_dir='../data/swiss-roll2/', max_depth=10, random_order=False, k=1, debug=False, local_computation=False, n_rand=3, sd=4, ...
26.208333
52
0.508744
66
629
4.651515
0.787879
0.058632
0
0
0
0
0
0
0
0
0
0.034031
0.392687
629
23
53
27.347826
0.769634
0.065183
0
0
0
0
0.134812
0.039249
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
120b99a0975e33345360483fef0a78b371c52141
2,633
py
Python
ai/split-chinese/jieba-base.py
veaba/ncov
6019f6b90761fd39363f8a7182ffcee22b9cb7ed
[ "MIT" ]
288
2020-01-21T06:12:03.000Z
2022-01-16T08:03:13.000Z
ai/split-chinese/jieba-base.py
veaba/ncov
6019f6b90761fd39363f8a7182ffcee22b9cb7ed
[ "MIT" ]
26
2020-01-20T05:07:31.000Z
2022-03-12T00:24:56.000Z
ai/split-chinese/jieba-base.py
veaba/ncov
6019f6b90761fd39363f8a7182ffcee22b9cb7ed
[ "MIT" ]
48
2020-01-22T09:05:59.000Z
2022-01-16T08:03:11.000Z
# encoding=utf-8 import jieba.posseg as psg # string="来到北京清华大学" string ="""  4月12日0—24时,31个省(自治区、直辖市)和新疆生产建设兵团报告新增确诊病例108例,其中98例为境外输入病例,10例为本土病例(黑龙江7例,广东3例);新增死亡病例2例(湖北2例);新增疑似病例6例,均为境外输入病例(黑龙江4例,上海2例)。   当日新增治愈出院病例88例,解除医学观察的密切接触者1092人,重症病例减少18例。   境外输入现有确诊病例867例(含重症病例38例),现有疑似病例72例。累计确诊病例1378例,累计治愈出院病例511例,无死亡病例。 ...
65.825
179
0.550703
429
2,633
3.377622
0.463869
0.027605
0.020704
0.020704
0.093858
0.075224
0.046239
0.031746
0
0
0
0.161033
0.191037
2,633
40
180
65.825
0.51831
0.029244
0
0
0
0.307692
0.866667
0.838889
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0.076923
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
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
120ca5c4ac58e2fc2895a4b9f281ee43dcb77564
2,120
py
Python
venv/lib/python3.7/site-packages/allauth/socialaccount/providers/azure/views.py
vikram0207/django-rest
eafec575999dce6859dc7b99177cff339b2bcbdd
[ "MIT" ]
12
2019-08-02T07:58:16.000Z
2022-01-31T23:45:08.000Z
venv/lib/python3.7/site-packages/allauth/socialaccount/providers/azure/views.py
vikram0207/django-rest
eafec575999dce6859dc7b99177cff339b2bcbdd
[ "MIT" ]
23
2019-01-19T08:54:48.000Z
2022-03-11T23:39:37.000Z
venv/lib/python3.7/site-packages/allauth/socialaccount/providers/azure/views.py
vikram0207/django-rest
eafec575999dce6859dc7b99177cff339b2bcbdd
[ "MIT" ]
17
2020-03-03T08:42:17.000Z
2020-10-03T16:08:49.000Z
from __future__ import unicode_literals import requests from allauth.socialaccount.providers.oauth2.views import ( OAuth2Adapter, OAuth2CallbackView, OAuth2LoginView, ) from .provider import AzureProvider LOGIN_URL = 'https://login.microsoftonline.com/common/oauth2/v2.0' GRAPH_URL = 'https://graph.micr...
33.650794
108
0.692925
267
2,120
5.378277
0.460674
0.050139
0.039694
0.045961
0.151114
0.131616
0.114206
0.075209
0.075209
0.075209
0
0.014156
0.166981
2,120
62
109
34.193548
0.798981
0.396698
0
0
0
0
0.153349
0.025827
0
0
0
0
0
1
0.038462
false
0
0.153846
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
120ca81e28bba9f7cc8389252be215df8a98086a
44,887
py
Python
meerk40t/lihuiyu/gui/lhystudiosdrivergui.py
joerlane/meerk40t
a75d78848ff1682640e112111fb6ac4e23e08616
[ "MIT" ]
null
null
null
meerk40t/lihuiyu/gui/lhystudiosdrivergui.py
joerlane/meerk40t
a75d78848ff1682640e112111fb6ac4e23e08616
[ "MIT" ]
null
null
null
meerk40t/lihuiyu/gui/lhystudiosdrivergui.py
joerlane/meerk40t
a75d78848ff1682640e112111fb6ac4e23e08616
[ "MIT" ]
null
null
null
# -*- coding: ISO-8859-1 -*- import wx from meerk40t.core.units import Length from meerk40t.gui.icons import icons8_administrative_tools_50 from meerk40t.gui.mwindow import MWindow from meerk40t.kernel import signal_listener _ = wx.GetTranslation FIX_SPEEDS_RATIO = 0.9195 class ConfigurationUsb(wx.Panel): def...
39.409131
414
0.646111
5,919
44,887
4.613617
0.08346
0.060019
0.02307
0.035447
0.666911
0.536509
0.407902
0.341475
0.257873
0.203164
0
0.018295
0.249872
44,887
1,138
415
39.443761
0.79273
0.036091
0
0.252155
0
0.011853
0.102989
0.000555
0
0
0
0
0
1
0.067888
false
0.019397
0.005388
0.001078
0.085129
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
120cce945b9f176ef8b7f631e3e71f050cc39657
2,686
py
Python
fast_multiplier_utils.py
morozyto/SMASH
70a42bfd27b593a5ddb13a8afe58a0853a9f3a46
[ "MIT" ]
null
null
null
fast_multiplier_utils.py
morozyto/SMASH
70a42bfd27b593a5ddb13a8afe58a0853a9f3a46
[ "MIT" ]
null
null
null
fast_multiplier_utils.py
morozyto/SMASH
70a42bfd27b593a5ddb13a8afe58a0853a9f3a46
[ "MIT" ]
null
null
null
import tools from multiprocessing import SimpleQueue, Process import numpy as np __all__ = ['fast_multiply'] def get_b(i, level_to_nodes, max_level, b): indices = level_to_nodes[max_level][i].Indices start, end = indices[0], indices[-1] res = b[start:end + 1] return res def get_G(k, i, level_to_no...
31.6
119
0.61653
465
2,686
3.326882
0.169892
0.122172
0.209438
0.155139
0.528119
0.528119
0.464771
0.332902
0.2883
0.214609
0
0.021718
0.228593
2,686
84
120
31.97619
0.724903
0
0
0.131148
0
0
0.004842
0
0
0
0
0
0
1
0.098361
false
0
0.04918
0
0.245902
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
120dee089b6cc07493a0c81d69883ab91214ae37
187
py
Python
storage/urls.py
Robin8Put/pmes
338bec94162098f05b75bad035417317e1252fd2
[ "Apache-2.0" ]
5
2018-07-31T07:37:09.000Z
2019-05-27T04:40:38.000Z
storage/urls.py
Robin8Put/pmes
338bec94162098f05b75bad035417317e1252fd2
[ "Apache-2.0" ]
4
2018-08-01T11:11:54.000Z
2022-03-11T23:20:53.000Z
storage/urls.py
Robin8Put/pmes
338bec94162098f05b75bad035417317e1252fd2
[ "Apache-2.0" ]
5
2018-06-09T07:42:04.000Z
2018-12-28T21:15:52.000Z
import tornado.web import settings import views storage_router = tornado.web.Application([ (settings.ENDPOINTS["storage"], views.StorageHandler) ], debug=settings.DEBUG)
26.714286
62
0.73262
20
187
6.8
0.55
0.147059
0
0
0
0
0
0
0
0
0
0
0.160428
187
7
63
26.714286
0.866242
0
0
0
0
0
0.037234
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1210c5c1adc2120eef651c0b252f64a8824fdac1
449
py
Python
MPNet/AE/data_loader.py
liqi17thu/MPNet
b2dd2fa6037c5a307708de865c10c8ba86856e59
[ "MIT" ]
null
null
null
MPNet/AE/data_loader.py
liqi17thu/MPNet
b2dd2fa6037c5a307708de865c10c8ba86856e59
[ "MIT" ]
null
null
null
MPNet/AE/data_loader.py
liqi17thu/MPNet
b2dd2fa6037c5a307708de865c10c8ba86856e59
[ "MIT" ]
null
null
null
import torch import torch.utils.data as data import os import pickle import numpy as np import nltk from PIL import Image import os.path import random def load_dataset(N=30000, NP=1800): obstacles = np.zeros((N, 2800), dtype=np.float32) for i in range(0, N): temp = np.fromfile('../dataset2/obs_cloud/o...
22.45
73
0.668151
71
449
4.197183
0.619718
0.073826
0
0
0
0
0
0
0
0
0
0.053521
0.209354
449
19
74
23.631579
0.785915
0
0
0
0
0
0.064588
0.055679
0
0
0
0
0
1
0.0625
false
0
0.5625
0
0.6875
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
1
0
0
2
12112f7d0f3727152084ea033286d88e53e8c329
2,885
py
Python
module3-nosql-and-document-oriented-databases/rpg_mongo.py
krsmith/DS-Unit-3-Sprint-2-SQL-and-Databases
9617528ad5fd23354623926b819f98f9a063d252
[ "MIT" ]
null
null
null
module3-nosql-and-document-oriented-databases/rpg_mongo.py
krsmith/DS-Unit-3-Sprint-2-SQL-and-Databases
9617528ad5fd23354623926b819f98f9a063d252
[ "MIT" ]
null
null
null
module3-nosql-and-document-oriented-databases/rpg_mongo.py
krsmith/DS-Unit-3-Sprint-2-SQL-and-Databases
9617528ad5fd23354623926b819f98f9a063d252
[ "MIT" ]
null
null
null
import pymongo import json import urllib.request connection_string = 'mongodb://<USERNAME>:<PASSWORD>@cluster0-shard-00-00-pjgev.mongodb.net:27017,cluster0-shard-00-01-pjgev.mongodb.net:27017,cluster0-shard-00-02-pjgev.mongodb.net:27017/test?ssl=true&replicaSet=Cluster0-shard-0&authSource=admin&retryWrites=true' clien...
38.466667
264
0.744194
423
2,885
4.933806
0.264775
0.021562
0.030666
0.040249
0.426449
0.374221
0.327264
0.18735
0.18735
0.18735
0
0.019562
0.114038
2,885
74
265
38.986486
0.796948
0.141768
0
0.137255
0
0.019608
0.318606
0.129712
0
0
0
0
0
1
0
false
0.019608
0.058824
0
0.058824
0.254902
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
121240feaf02f8178ec17474cc615822de1faa36
411
py
Python
twikwak17/phases/__init__.py
shaypal5/gender_augmented_twitter_network
3a33feb4dfdb9413201d7844a15ecacf21ef9ba0
[ "MIT" ]
null
null
null
twikwak17/phases/__init__.py
shaypal5/gender_augmented_twitter_network
3a33feb4dfdb9413201d7844a15ecacf21ef9ba0
[ "MIT" ]
null
null
null
twikwak17/phases/__init__.py
shaypal5/gender_augmented_twitter_network
3a33feb4dfdb9413201d7844a15ecacf21ef9ba0
[ "MIT" ]
null
null
null
"""The different phases of the data generation pipeline.""" from .phase1 import ( # noqa: F401 phase1, ) from .phase2 import ( # noqa: F401 phase2, ) from .phase3 import ( # noqa: F401 phase3, ) from .phase4 import ( # noqa: F401 phase4, ) from .phase5 import ( # noqa: F401 phase5, ) from .pha...
17.125
59
0.620438
50
411
5.1
0.36
0.27451
0.384314
0
0
0
0
0
0
0
0
0.115132
0.260341
411
23
60
17.869565
0.723684
0.318735
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
121268fc44398fa4d8c57e08b1e5e38fe9e492b2
4,458
py
Python
AlyMoly/tags/templatetags/tags.py
CreceLibre/alymoly
1420e305f41301b8548dfbbabfc64330b74403be
[ "MIT" ]
null
null
null
AlyMoly/tags/templatetags/tags.py
CreceLibre/alymoly
1420e305f41301b8548dfbbabfc64330b74403be
[ "MIT" ]
null
null
null
AlyMoly/tags/templatetags/tags.py
CreceLibre/alymoly
1420e305f41301b8548dfbbabfc64330b74403be
[ "MIT" ]
null
null
null
#!/usr/bin/env python #-*- encoding: UTF-8 -*- ############################################### # Todos los derechos reservados a: # # CreceLibre Consultores en Tecnologías Ltda. # # # # ©Milton Inostroza Aguilera # # minostro@minostro.com ...
33.268657
84
0.482952
458
4,458
4.674672
0.386463
0.025222
0.022419
0.037366
0.224661
0.170014
0.163475
0.155068
0.136385
0.078935
0
0.02963
0.364065
4,458
133
85
33.518797
0.723104
0.136608
0
0.217949
0
0
0.116334
0
0
0
0
0.007519
0
0
null
null
0
0.012821
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
12139f49154f34b8c8740a61c1db66b2f3f6df64
453
py
Python
airodb_analyzer/ui/aboutBoxForm.py
jeremydumais/airodb-analyzer
2056b95891b3543c51758bc586a98b90e54c9670
[ "MIT" ]
null
null
null
airodb_analyzer/ui/aboutBoxForm.py
jeremydumais/airodb-analyzer
2056b95891b3543c51758bc586a98b90e54c9670
[ "MIT" ]
null
null
null
airodb_analyzer/ui/aboutBoxForm.py
jeremydumais/airodb-analyzer
2056b95891b3543c51758bc586a98b90e54c9670
[ "MIT" ]
null
null
null
from PyQt5 import QtCore, QtGui, QtWidgets, uic import qdarkgraystyle class Ui_AboutBoxForm(QtWidgets.QDialog): def __init__(self): super(Ui_AboutBoxForm, self).__init__() uic.loadUi('airodb_analyzer/designer/aboutBoxForm.ui', self) self.setStyleSheet(qdarkgraystyle.load_stylesheet()) ...
34.846154
68
0.717439
47
453
6.659574
0.617021
0.089457
0
0
0
0
0
0
0
0
0
0.00271
0.18543
453
13
69
34.846154
0.845528
0.015453
0
0
0
0
0.089686
0.089686
0
0
0
0
0
1
0.2
false
0
0.2
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
0
0
0
0
1
0
1216510f06846187ec2c36e2c66ddc29c2a13123
4,263
py
Python
flashback/thread.py
miroli/flashback
a7ac89a522c09f3b2277fb0cf3a8cf8da95ae3d1
[ "MIT" ]
1
2017-06-09T13:14:35.000Z
2017-06-09T13:14:35.000Z
flashback/thread.py
miroli/flashback
a7ac89a522c09f3b2277fb0cf3a8cf8da95ae3d1
[ "MIT" ]
1
2016-12-27T19:23:34.000Z
2016-12-27T19:23:34.000Z
flashback/thread.py
miroli/flashback
a7ac89a522c09f3b2277fb0cf3a8cf8da95ae3d1
[ "MIT" ]
1
2016-12-26T16:25:18.000Z
2016-12-26T16:25:18.000Z
# -*- coding: utf-8 -*- import csv import json import datetime import urllib from collections import Counter import requests from bs4 import BeautifulSoup from .post import Post class TrashException(Exception): pass class AuthException(Exception): pass class LoginException(Exception): pass class ...
29.19863
75
0.594183
537
4,263
4.610801
0.353818
0.029079
0.022213
0.009693
0.131664
0.096123
0.065428
0.028271
0.028271
0.028271
0
0.007185
0.281726
4,263
145
76
29.4
0.801437
0.050199
0
0.076923
0
0
0.212182
0.008487
0
0
0
0
0
1
0.134615
false
0.038462
0.076923
0.038462
0.346154
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
121677d83b1b19d4371425c9caf2a48da8fb17ef
1,152
py
Python
utils/print_statistics.py
tianchenji/Multimodal-SVAE
c76b7f8984610e32819510a7a5295124b97460be
[ "MIT" ]
8
2020-11-12T23:43:28.000Z
2022-01-14T02:01:18.000Z
utils/print_statistics.py
tianchenji/Multimodal-SVAE
c76b7f8984610e32819510a7a5295124b97460be
[ "MIT" ]
null
null
null
utils/print_statistics.py
tianchenji/Multimodal-SVAE
c76b7f8984610e32819510a7a5295124b97460be
[ "MIT" ]
2
2020-11-18T03:35:38.000Z
2021-10-21T12:38:59.000Z
import numpy as np import pandas as pd def print_statistics(correct, confusion_m, total, confusion_m_flag): if confusion_m_flag == 0: accuracy = 100 * np.array(correct) / np.array(total) index = ['normal', 'untvbl obs', 'tvbl obs', 'crash'] columns = ['accuracy'] print('Accuracy of...
44.307692
95
0.598958
157
1,152
4.267516
0.343949
0.134328
0.067164
0.085075
0.297015
0.240299
0.240299
0
0
0
0
0.015927
0.236979
1,152
26
96
44.307692
0.746303
0
0
0
0
0
0.203816
0
0
0
0
0
0
1
0.045455
false
0
0.090909
0
0.136364
0.272727
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1219cb36a0069666978851302744932b7773dff4
1,185
py
Python
chaperone/cproc/pt/oneshot.py
msabramo/chaperone
9ff2c3a5b9c6820f8750320a564ea214042df06f
[ "Apache-2.0" ]
186
2015-07-22T00:08:04.000Z
2021-11-05T21:51:09.000Z
chaperone/cproc/pt/oneshot.py
msabramo/chaperone
9ff2c3a5b9c6820f8750320a564ea214042df06f
[ "Apache-2.0" ]
24
2015-07-27T15:30:14.000Z
2021-09-11T21:19:37.000Z
chaperone/cproc/pt/oneshot.py
msabramo/chaperone
9ff2c3a5b9c6820f8750320a564ea214042df06f
[ "Apache-2.0" ]
26
2016-01-11T21:02:30.000Z
2021-08-31T11:09:25.000Z
import asyncio from chaperone.cproc.subproc import SubProcess from chaperone.cutil.errors import ChProcessError class OneshotProcess(SubProcess): process_timeout = 60.0 # default for a oneshot is 90 seconds @asyncio.coroutine def process_started_co(self): result = yield from self.timed_wait...
42.321429
127
0.654852
146
1,185
5.205479
0.486301
0.092105
0.047368
0.034211
0.105263
0.105263
0.105263
0.105263
0.105263
0.105263
0
0.013559
0.253165
1,185
27
128
43.888889
0.845198
0.029536
0
0
0
0
0.202091
0.039199
0
0
0
0
0
1
0.086957
false
0
0.130435
0
0.304348
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
121a3ac8ab5af490306c27ce4f405eed59364158
7,994
py
Python
Flask Application/App.py
kalninandre/Harvard
0c4e5de4a54873b2f9ce663ee1776a055c7dd3ac
[ "MIT" ]
null
null
null
Flask Application/App.py
kalninandre/Harvard
0c4e5de4a54873b2f9ce663ee1776a055c7dd3ac
[ "MIT" ]
null
null
null
Flask Application/App.py
kalninandre/Harvard
0c4e5de4a54873b2f9ce663ee1776a055c7dd3ac
[ "MIT" ]
null
null
null
import os from cs50 import SQL from flask import Flask, flash, redirect, render_template, request, session from flask_session import Session from tempfile import mkdtemp from werkzeug.security import check_password_hash, generate_password_hash from helpers import apology, login_required, lookup, usd # Configure appl...
30.166038
173
0.628596
987
7,994
4.99696
0.189463
0.041363
0.036902
0.020681
0.385037
0.324209
0.226277
0.195053
0.195053
0.143147
0
0.004125
0.241931
7,994
264
174
30.280303
0.809736
0.097573
0
0.358025
0
0.012346
0.265101
0.002936
0
0
0
0
0
1
0.061728
false
0.074074
0.04321
0
0.320988
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
121a3b6415753931da04c67d483406265b360d92
673,905
py
Python
pysnmp/BLADETYPE6-NETWORK-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/BLADETYPE6-NETWORK-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/BLADETYPE6-NETWORK-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 BLADETYPE6-NETWORK-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/BLADETYPE6-NETWORK-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:22:26 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (d...
154.105877
17,458
0.729892
86,087
673,905
5.713604
0.04104
0.015736
0.014046
0.018395
0.559389
0.552855
0.530761
0.510124
0.487544
0.448306
0
0.107863
0.097377
673,905
4,372
17,459
154.141125
0.700754
0.000502
0
0
0
0
0.103623
0.03274
0
0
0
0
0
1
0
false
0.006415
0.002291
0
0.002291
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
121d25679819deafcd527e85f968ff7009bafc54
1,918
py
Python
setup.py
dnif-archive/fnExchange
d75431b37da3193447b919b4be2e0104266156f1
[ "Apache-2.0" ]
1
2017-07-19T22:13:54.000Z
2017-07-19T22:13:54.000Z
setup.py
dnif/fnExchange
d75431b37da3193447b919b4be2e0104266156f1
[ "Apache-2.0" ]
1
2021-03-25T21:27:21.000Z
2021-03-25T21:27:21.000Z
setup.py
dnif-archive/fnExchange
d75431b37da3193447b919b4be2e0104266156f1
[ "Apache-2.0" ]
1
2021-07-07T18:55:19.000Z
2021-07-07T18:55:19.000Z
""" fnExchange is a scalable, open source API layer (also called an API "router") that provides a consistent proxy web interface for invoking various web APIs without the caller having to write separate, special-purpose code for each of them. fnExchange is packaged as a command line interface executable ``fnexchange``...
28.626866
69
0.663712
228
1,918
5.5
0.653509
0.047847
0.059809
0.036683
0
0
0
0
0
0
0
0.014657
0.217414
1,918
66
70
29.060606
0.820786
0.309176
0
0.046512
0
0
0.458618
0.015945
0
0
0
0
0
1
0
false
0
0.046512
0
0.046512
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
121d57b33c2245662cdd146e4a68652096cf0275
3,026
py
Python
local_traction_control.py
ngrabbs/traction_control
0289604658d68b144a1867f2c70e3c177cc559fe
[ "MIT" ]
null
null
null
local_traction_control.py
ngrabbs/traction_control
0289604658d68b144a1867f2c70e3c177cc559fe
[ "MIT" ]
null
null
null
local_traction_control.py
ngrabbs/traction_control
0289604658d68b144a1867f2c70e3c177cc559fe
[ "MIT" ]
null
null
null
################################################################################ # Time SPK: Traction retard VSS1 VSS2 VSS1 ms 1 VSS2 ms 1 TC slip * time # the info for traction control says "slip% X 0.01s" # Retard 0.0 3.3 6.7 10.0 # slip x time 0.0 6.7 13.3 20.0 # settings were above 50.1 mph and 10% slip...
35.186047
143
0.639128
448
3,026
4.127232
0.236607
0.075717
0.081125
0.102217
0.35695
0.333153
0.187128
0.187128
0.187128
0.091942
0
0.070124
0.203569
3,026
85
144
35.6
0.696266
0.245208
0
0.072727
0
0
0.022385
0.010507
0
0
0
0
0
1
0.036364
false
0
0.018182
0
0.163636
0.018182
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
121df04623646121d44d2f0b190065f249970791
869
py
Python
key_value_store/models.py
nahidsaikat/Key-Value-Store
a8e8422727bb4e221b0a78bdb279888cb95cd7ab
[ "MIT" ]
null
null
null
key_value_store/models.py
nahidsaikat/Key-Value-Store
a8e8422727bb4e221b0a78bdb279888cb95cd7ab
[ "MIT" ]
6
2020-06-05T20:17:24.000Z
2021-06-10T18:05:59.000Z
key_value_store/models.py
nahidsaikat/Key-Value-Store
a8e8422727bb4e221b0a78bdb279888cb95cd7ab
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth import get_user_model User = get_user_model() class KeyValue(models.Model): key = models.CharField(max_length=128) value = models.TextField() ttl = models.DecimalField(max_digits=10, decimal_places=6) created_by = models.ForeignKey(User, related_...
41.380952
119
0.747986
123
869
5.073171
0.439024
0.072115
0.104167
0.136218
0.49359
0.336538
0.150641
0.150641
0
0
0
0.007958
0.132336
869
20
120
43.45
0.819629
0
0
0
0
0
0.065593
0
0
0
0
0
0
1
0.066667
false
0
0.133333
0.066667
0.933333
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
121f6860127d88688471d0adde04fc41ca279285
6,455
py
Python
util/Spotify.py
broskh/YouSpotify
fcdfe9edb07085a3a607c07adfa60434088e1da5
[ "MIT" ]
null
null
null
util/Spotify.py
broskh/YouSpotify
fcdfe9edb07085a3a607c07adfa60434088e1da5
[ "MIT" ]
null
null
null
util/Spotify.py
broskh/YouSpotify
fcdfe9edb07085a3a607c07adfa60434088e1da5
[ "MIT" ]
null
null
null
import codecs import eyed3 import http.client import http.server import json import re from sys import exit import taglib import time import urllib.error import urllib.parse import urllib.request import webbrowser from util import log class Spotify: # Requires an OAuth token. def __init__(self, auth): ...
40.85443
115
0.612703
803
6,455
4.818182
0.321295
0.028431
0.019385
0.008788
0.100284
0.074955
0.063065
0.063065
0.044973
0.044973
0
0.010603
0.254841
6,455
157
116
41.11465
0.793763
0.177072
0
0.104348
0
0
0.174135
0.023067
0
0
0
0
0
1
0.113043
false
0.008696
0.121739
0.017391
0.330435
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1220a3fd8450e8b80799d200f0692602eebe42b1
5,003
py
Python
L4/4.2/PEP8/L1_PEP8.py
Wittline/Python_scripts
9d576e8cc9ef08ec7f1bcc8bb6207dae5ccc5734
[ "MIT" ]
1
2021-08-20T08:25:40.000Z
2021-08-20T08:25:40.000Z
L4/4.2/PEP8/L1_PEP8.py
Wittline/Python_scripts
9d576e8cc9ef08ec7f1bcc8bb6207dae5ccc5734
[ "MIT" ]
null
null
null
L4/4.2/PEP8/L1_PEP8.py
Wittline/Python_scripts
9d576e8cc9ef08ec7f1bcc8bb6207dae5ccc5734
[ "MIT" ]
1
2021-08-20T08:25:41.000Z
2021-08-20T08:25:41.000Z
import math import unittest def calculate_sd(d): m = calculate_mean(d) v = sum([((i - m) ** 2) for i in d]) / len(d) return v ** 0.5 def calculate_mean(n): return sum(n)/len(n) def calculate_median(d): d.sort() n = len(d) if n % 2 == 0: m1 = d[n//2] m...
31.866242
66
0.496302
647
5,003
3.75425
0.48068
0.039522
0.04611
0.041169
0.205846
0.205846
0.194319
0.181968
0.181968
0.1655
0
0.290333
0.369378
5,003
157
67
31.866242
0.479556
0
0
0.120301
0
0
0.006601
0
0
0
0
0
0.067669
1
0.112782
false
0
0.015038
0.007519
0.225564
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1220c122965971e839f7899fd39817e879a3842e
6,173
py
Python
foodx_devops_tools/pipeline_config/_paths.py
Food-X-Technologies/foodx_devops_tools
57d1bf1304d9c9a386eaffa427f9eb36c410c350
[ "MIT" ]
3
2021-06-23T20:53:43.000Z
2022-01-26T14:19:43.000Z
foodx_devops_tools/pipeline_config/_paths.py
Food-X-Technologies/foodx_devops_tools
57d1bf1304d9c9a386eaffa427f9eb36c410c350
[ "MIT" ]
33
2021-08-09T15:44:51.000Z
2022-03-03T18:28:02.000Z
foodx_devops_tools/pipeline_config/_paths.py
Food-X-Technologies/foodx_devops_tools
57d1bf1304d9c9a386eaffa427f9eb36c410c350
[ "MIT" ]
1
2021-06-23T20:53:52.000Z
2021-06-23T20:53:52.000Z
# Copyright (c) 2021 Food-X Technologies # # This file is part of foodx_devops_tools. # # You should have received a copy of the MIT License along with # foodx_devops_tools. If not, see <https://opensource.org/licenses/MIT>. """Configuration file path management.""" import logging import pathlib import typing fr...
32.151042
80
0.609266
662
6,173
5.441088
0.217523
0.076346
0.033037
0.027762
0.208495
0.149084
0.149084
0.077179
0.051638
0.051638
0
0.003463
0.298234
6,173
191
81
32.319372
0.828024
0.145796
0
0.169118
0
0
0.107755
0.009743
0
0
0
0
0
1
0.058824
false
0
0.029412
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1221ab57e777c610f8f73a258240f6686a45ed69
65
py
Python
nestor/datasets/__init__.py
usnistgov/nestor-tmp
6cc35dcf4dac029f94c4bc92783b5dc37bc205ce
[ "RSA-MD" ]
16
2018-07-06T16:36:56.000Z
2021-12-13T03:02:02.000Z
nestor/datasets/__init__.py
usnistgov/nestor-tmp
6cc35dcf4dac029f94c4bc92783b5dc37bc205ce
[ "RSA-MD" ]
46
2018-08-06T15:51:35.000Z
2021-08-02T21:00:51.000Z
nestor/datasets/__init__.py
usnistgov/nestor-tmp
6cc35dcf4dac029f94c4bc92783b5dc37bc205ce
[ "RSA-MD" ]
7
2020-04-27T18:56:24.000Z
2021-08-14T02:44:40.000Z
from .base import load_excavators __all__ = ["load_excavators"]
16.25
33
0.784615
8
65
5.625
0.75
0.622222
0
0
0
0
0
0
0
0
0
0
0.123077
65
3
34
21.666667
0.789474
0
0
0
0
0
0.230769
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
12227937dd3e5390b3fd917fdf9a71333a4de64c
414
py
Python
easy/n-repeated element in size 2n array/solution.py
ilya-sokolov/leetcode
ad421111d0d7c5ec5245f33552e94a373b6fd426
[ "MIT" ]
4
2021-06-03T22:19:13.000Z
2021-10-05T18:14:12.000Z
easy/n-repeated element in size 2n array/solution.py
ilya-sokolov/leetcode
ad421111d0d7c5ec5245f33552e94a373b6fd426
[ "MIT" ]
null
null
null
easy/n-repeated element in size 2n array/solution.py
ilya-sokolov/leetcode
ad421111d0d7c5ec5245f33552e94a373b6fd426
[ "MIT" ]
null
null
null
from typing import List class Solution: def repeatedNTimes(self, nums: List[int]) -> int: for k in range(1, 4): for i in range(len(nums) - k): if nums[i] == nums[i + k]: return nums[i] return -1 s = Solution() print(s.repeatedNTimes([1, 2, 3, 3])) ...
24.352941
53
0.52657
66
414
3.30303
0.393939
0.068807
0.275229
0
0
0
0
0
0
0
0
0.072917
0.304348
414
16
54
25.875
0.684028
0
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.083333
0
0.416667
0.25
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1222c7282f49d3772df08b9a182251c1657c7ca1
948
py
Python
deploy/show_events.py
Acria-Network/Acria-Contracts
3c8b0e6f453ef531a8464ee0bed3cf5642938633
[ "MIT" ]
29
2021-03-11T14:30:21.000Z
2022-02-23T09:15:48.000Z
deploy/show_events.py
harshitvermadu/Acria-Contracts
3c8b0e6f453ef531a8464ee0bed3cf5642938633
[ "MIT" ]
3
2021-05-02T13:58:53.000Z
2022-01-11T19:12:49.000Z
deploy/show_events.py
harshitvermadu/Acria-Contracts
3c8b0e6f453ef531a8464ee0bed3cf5642938633
[ "MIT" ]
8
2021-04-08T12:32:26.000Z
2022-02-23T09:23:56.000Z
import json from web3 import Web3, HTTPProvider, IPCProvider from web3.middleware import geth_poa_middleware import os from os.path import join, dirname from dotenv import load_dotenv load_dotenv(join(dirname(__file__), '.env')) if(os.environ.get("WEB3_USE_IPC") == False): web3 = Web3(HTTPProvider(os.environ.get(...
33.857143
93
0.778481
135
948
5.22963
0.414815
0.063739
0.084986
0.090652
0.050992
0
0
0
0
0
0
0.023364
0.097046
948
27
94
35.111111
0.801402
0
0
0
0
0
0.148734
0.109705
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
12280aa5408dc93a80e62d7f0a71a4647ad5b226
5,088
py
Python
branches/old/python/ansi-C-generator/generate_source_a4d.py
jeffhammond/spaghetty
e2dbe2dd2621110b899b21dff590906a579e8bf5
[ "BSD-2-Clause" ]
1
2018-01-05T16:13:08.000Z
2018-01-05T16:13:08.000Z
branches/old/python/ansi-C-generator/generate_source_a4d.py
jeffhammond/spaghetty
e2dbe2dd2621110b899b21dff590906a579e8bf5
[ "BSD-2-Clause" ]
null
null
null
branches/old/python/ansi-C-generator/generate_source_a4d.py
jeffhammond/spaghetty
e2dbe2dd2621110b899b21dff590906a579e8bf5
[ "BSD-2-Clause" ]
null
null
null
import fileinput import string import sys import os c_compiler = 'icc' c_link_flags = '-g -O1 -xT -march=core2 -mtune=core2 -align'# -strict-ansi' c_opt_flags = '-g -O3 -xT -march=core2 -mtune=core2 -funroll-loops -align'# -strict-ansi' fortran_compiler = 'ifort' fortran_link_flags = '-g -O1 -xT -march=core2 -mtune=co...
47.551402
128
0.584906
824
5,088
3.461165
0.139563
0.171809
0.247195
0.313114
0.595722
0.525947
0.427419
0.370968
0.319776
0.265428
0
0.03175
0.17669
5,088
106
129
48
0.649081
0.338836
0
0
0
0.014493
0.289016
0.047119
0
0
0
0
0
0
null
null
0
0.057971
null
null
0.014493
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
122bd4054f1dcb784497724ac66a52927f337457
42,079
py
Python
pybin3/insts.py
avielazari/vlsistuff
34304dc64437fc849d74addd09963dca587df537
[ "MIT" ]
26
2018-03-17T18:14:22.000Z
2022-03-14T07:23:13.000Z
pybin3/insts.py
psumesh/vlsistuff
1fe64b093d0581d99c7d826b74c31b8655fa0b31
[ "MIT" ]
1
2019-10-16T10:31:11.000Z
2019-10-17T04:14:53.000Z
pybin3/insts.py
psumesh/vlsistuff
1fe64b093d0581d99c7d826b74c31b8655fa0b31
[ "MIT" ]
7
2018-07-16T07:51:25.000Z
2022-02-15T14:22:54.000Z
#! /usr/bin/env python3 import os,string,sys,types instructions={} inst_id=1 OpcodeWidth=25 Dnops={} DmanualIfields={} DmanualOpcodes={} DnfSpecials = {} Chip = 'chip' def get_inst_id(): global inst_id x = inst_id inst_id=inst_id+1 return x class Instruction: def __init__(self,Name): self...
29.080166
136
0.502887
5,427
42,079
3.822738
0.081629
0.060735
0.016437
0.017208
0.482454
0.411597
0.379302
0.357129
0.323677
0.306035
0
0.022352
0.323796
42,079
1,446
137
29.100277
0.706755
0.022386
0
0.428686
0
0.004808
0.183015
0.02822
0
0
0
0
0
1
0.049679
false
0.001603
0.001603
0.000801
0.108173
0.020833
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
122c1bf9143cdfc0dacdc43325b18177c4f1fcae
7,598
py
Python
tests/test_types.py
theLine/LSP
b0c1045862601ee6e6fd3250d3a441d46a6e8d7c
[ "MIT" ]
753
2017-04-21T23:58:56.000Z
2019-12-21T13:39:08.000Z
tests/test_types.py
theLine/LSP
b0c1045862601ee6e6fd3250d3a441d46a6e8d7c
[ "MIT" ]
776
2019-12-21T19:12:46.000Z
2022-03-27T16:04:14.000Z
tests/test_types.py
theLine/LSP
b0c1045862601ee6e6fd3250d3a441d46a6e8d7c
[ "MIT" ]
125
2017-08-14T21:10:34.000Z
2019-12-21T02:34:38.000Z
from LSP.plugin.core.types import diff from LSP.plugin.core.types import DocumentSelector from LSP.plugin.core.typing import List from unittest.mock import MagicMock import sublime import unittest class TestDiff(unittest.TestCase): def test_add(self) -> None: added, removed = diff(("a", "b", "c"), ("a", ...
51.337838
116
0.655436
950
7,598
5.065263
0.163158
0.069825
0.146093
0.17685
0.71862
0.659393
0.61783
0.604115
0.564422
0.236284
0
0.005418
0.174125
7,598
147
117
51.687075
0.760956
0.082127
0
0.125
0
0
0.158781
0.053411
0
0
0
0
0.473214
1
0.160714
false
0
0.053571
0.008929
0.25
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
1
0
0
0
0
0
0
0
0
0
2
122d72a559d873a88dff7bb5b54a57ab59446d18
97
py
Python
tests/inline_test_resources/5/subA/script.py
thesynman/pybricksdev
6f34cfb7a5f26628fe3cedae1ce51ee6024f57b9
[ "MIT" ]
null
null
null
tests/inline_test_resources/5/subA/script.py
thesynman/pybricksdev
6f34cfb7a5f26628fe3cedae1ce51ee6024f57b9
[ "MIT" ]
null
null
null
tests/inline_test_resources/5/subA/script.py
thesynman/pybricksdev
6f34cfb7a5f26628fe3cedae1ce51ee6024f57b9
[ "MIT" ]
null
null
null
import subB.importA import importB my_local = 'ggg' print(subB.importA.foo) print(importB.flab)
13.857143
23
0.783505
15
97
5
0.666667
0.293333
0
0
0
0
0
0
0
0
0
0
0.103093
97
6
24
16.166667
0.862069
0
0
0
0
0
0.030928
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0.4
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
122df72ef8387bf146c14aba36a7307760cd2cfc
1,242
py
Python
demo/py/shap.py
berak/opencv_smallfry
fd8f64980dff0527523791984d6cb3dfcd2bc9bc
[ "BSD-3-Clause" ]
57
2015-02-16T06:43:24.000Z
2022-03-16T06:21:36.000Z
demo/py/shap.py
berak/opencv_smallfry
fd8f64980dff0527523791984d6cb3dfcd2bc9bc
[ "BSD-3-Clause" ]
4
2016-03-08T09:51:09.000Z
2021-03-29T10:18:55.000Z
demo/py/shap.py
berak/opencv_smallfry
fd8f64980dff0527523791984d6cb3dfcd2bc9bc
[ "BSD-3-Clause" ]
27
2015-03-28T19:55:34.000Z
2022-01-09T15:03:15.000Z
import numpy as np import cv2 im = cv2.imread('py/shap.png') cv2.imshow('original image',im) cv2.waitKey() imgray = cv2.cvtColor(im,cv2.COLOR_BGR2GRAY) cv2.imshow('gray image',imgray) cv2.waitKey() ret,thresh = cv2.threshold(imgray,80,255,1) cv2.imshow('thresh image',thresh) cv2.waitKey() image, contours, hierarchy...
24.84
91
0.624799
188
1,242
4.106383
0.340426
0.031088
0.110104
0.129534
0.275907
0.275907
0.17487
0.11399
0
0
0
0.086781
0.202093
1,242
49
92
25.346939
0.69223
0
0
0.204545
0
0
0.094203
0
0
0
0
0
0
0
null
null
0
0.045455
null
null
0.181818
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
12309dafba73623c841ad45a9bf13a6868d28f00
182
py
Python
scripts/dir.py
DEMON1A/EasyShell
d37589b616f844c4d6f01ad594642033463f346b
[ "MIT" ]
3
2021-02-02T15:07:27.000Z
2021-05-21T10:02:08.000Z
scripts/dir.py
DEMON1A/EasyShell
d37589b616f844c4d6f01ad594642033463f346b
[ "MIT" ]
7
2021-02-03T11:14:04.000Z
2021-02-18T19:39:25.000Z
scripts/dir.py
DEMON1A/EasyShell
d37589b616f844c4d6f01ad594642033463f346b
[ "MIT" ]
null
null
null
from os import system , name def Run(Input): if name == "nt": # Windows Machine system('dir') else: # Linux/Unix Machine system('ls')
20.222222
29
0.505495
21
182
4.380952
0.809524
0.282609
0
0
0
0
0
0
0
0
0
0
0.379121
182
9
30
20.222222
0.814159
0.186813
0
0
0
0
0.050725
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
123220df37e0808414ed2913c0bf8b65b7d004a4
5,840
py
Python
dmlab2d/random_agent.py
jifflund/lab2d
f634c378d428dd19e8b154aa5b590d33f42438bf
[ "Apache-2.0" ]
377
2020-11-16T01:30:06.000Z
2022-03-24T09:30:00.000Z
dmlab2d/random_agent.py
jifflund/lab2d
f634c378d428dd19e8b154aa5b590d33f42438bf
[ "Apache-2.0" ]
17
2020-11-18T13:57:12.000Z
2022-03-28T01:20:52.000Z
dmlab2d/random_agent.py
jifflund/lab2d
f634c378d428dd19e8b154aa5b590d33f42438bf
[ "Apache-2.0" ]
47
2020-11-16T12:36:10.000Z
2022-03-24T17:50:18.000Z
# Copyright 2019 The DMLab2D 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...
31.73913
80
0.682363
743
5,840
5.188425
0.300135
0.016342
0.030869
0.008301
0.092348
0.079377
0.046693
0.046693
0
0
0
0.011487
0.209932
5,840
183
81
31.912568
0.824014
0.246062
0
0.183486
0
0
0.080297
0
0
0
0
0
0
1
0.110092
false
0
0.082569
0.018349
0.266055
0.06422
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
12342b9334c2a4a3508d4c58273cbcad27a8143b
7,336
py
Python
KthFoldADXMultiPeriod.py
adamrvfisher/TechnicalAnalysisLibrary
38a22b2b2b5052623f81edb11b3c5460fc254e45
[ "Apache-2.0" ]
3
2019-04-26T11:13:14.000Z
2020-01-10T05:58:16.000Z
KthFoldADXMultiPeriod.py
adamrvfisher/TechnicalAnalysisLibrary
38a22b2b2b5052623f81edb11b3c5460fc254e45
[ "Apache-2.0" ]
null
null
null
KthFoldADXMultiPeriod.py
adamrvfisher/TechnicalAnalysisLibrary
38a22b2b2b5052623f81edb11b3c5460fc254e45
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ @author: Adam Reinhold Von Fisher - https://www.linkedin.com/in/adamrvfisher/ """ #pandas_datareader is deprecated, use YahooGrabber #This is part of a k-th fold optimization tool #Import modules #import numpy as np #from pandas_datareader import data import pandas as pd import time as t ...
33.497717
83
0.643675
1,116
7,336
4.228495
0.148746
0.013562
0.041534
0.035601
0.581903
0.551176
0.534011
0.534011
0.534011
0.51494
0
0.044896
0.134678
7,336
218
84
33.651376
0.698488
0.166031
0
0.575163
0
0
0.195207
0
0
0
0
0
0
1
0
false
0
0.039216
0
0.039216
0.052288
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1235812bfd2f59b3e973436432bfcc56572fe49f
2,292
py
Python
python/hw5/logger.py
jeremy24/494-graph-algos
031a90e46304f405829bad7658965aae215833e1
[ "MIT" ]
null
null
null
python/hw5/logger.py
jeremy24/494-graph-algos
031a90e46304f405829bad7658965aae215833e1
[ "MIT" ]
null
null
null
python/hw5/logger.py
jeremy24/494-graph-algos
031a90e46304f405829bad7658965aae215833e1
[ "MIT" ]
null
null
null
from __future__ import print_function import logging import sys import pip import os def install(package): try: pip.main(["install", package]) except Exception as ex: raise "Unable to install " + package + ex try: install("colorlog") import colorlog except Exception as ex: raise...
25.186813
87
0.545375
253
2,292
4.786561
0.367589
0.034682
0.042114
0.047069
0.039637
0
0
0
0
0
0
0.001302
0.329843
2,292
90
88
25.466667
0.787109
0.052792
0
0.130435
0
0
0.106697
0
0
0
0
0
0
1
0.144928
false
0
0.086957
0.043478
0.362319
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1237cd245f6b8ab6e5c7b528805435a944e1e442
18,438
py
Python
agents.py
fiorenza2/OffCon3
b5e139e40cee74c4f8d507ed4786fd33ed025157
[ "MIT" ]
17
2021-01-28T17:54:23.000Z
2021-12-21T15:22:22.000Z
agents.py
jparkerholder/OffCon3
b5e139e40cee74c4f8d507ed4786fd33ed025157
[ "MIT" ]
1
2021-02-15T19:28:05.000Z
2021-03-14T23:25:04.000Z
agents.py
fiorenza2/OffCon3
b5e139e40cee74c4f8d507ed4786fd33ed025157
[ "MIT" ]
2
2021-06-21T12:14:44.000Z
2021-08-08T10:04:30.000Z
import copy import numpy as np import torch import torch.nn.functional as F from utils import ReplayPool from networks import Policy, StochasticPolicy, DoubleQFunc device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu") class OffPolicyAgent: def __init__(self, seed, state_dim, action_dim, ...
42.87907
176
0.642911
2,462
18,438
4.504468
0.089764
0.016772
0.016231
0.030298
0.732191
0.703427
0.690352
0.665464
0.649594
0.649594
0
0.015998
0.260929
18,438
429
177
42.979021
0.797828
0.052988
0
0.660436
0
0
0.023944
0.002871
0
0
0
0
0.009346
1
0.124611
false
0
0.018692
0.031153
0.242991
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
12383b0b628c1ffcd2fa0c6b1e0b4f97764ed9f1
33,002
py
Python
egg/platform_cpu.py
eschnett/nsimd
11a58156ac8f1d8b60f1112c41efd9ef91d91c3d
[ "MIT" ]
null
null
null
egg/platform_cpu.py
eschnett/nsimd
11a58156ac8f1d8b60f1112c41efd9ef91d91c3d
[ "MIT" ]
null
null
null
egg/platform_cpu.py
eschnett/nsimd
11a58156ac8f1d8b60f1112c41efd9ef91d91c3d
[ "MIT" ]
null
null
null
# Copyright (c) 2019 Agenium Scale # # 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, distr...
40.050971
80
0.43158
3,685
33,002
3.719674
0.110448
0.018968
0.017874
0.023565
0.56307
0.512366
0.444809
0.397388
0.365653
0.347195
0
0.035769
0.292649
33,002
823
81
40.099635
0.551405
0.161263
0
0.414676
0
0.027304
0.278262
0.034062
0
0
0
0
0
1
0.093857
false
0
0.001706
0.022184
0.274744
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1238eb6ce8b77f02945606bdd4829850e210eefb
1,160
py
Python
app/types/hitbox.py
Ahmed-Khaled-dev/modern-meerkats
e54304303c77928a2566f4e4c3eefb98135acfc7
[ "MIT" ]
1
2022-01-07T02:38:08.000Z
2022-01-07T02:38:08.000Z
app/types/hitbox.py
Ahmed-Khaled-dev/modern-meerkats
e54304303c77928a2566f4e4c3eefb98135acfc7
[ "MIT" ]
null
null
null
app/types/hitbox.py
Ahmed-Khaled-dev/modern-meerkats
e54304303c77928a2566f4e4c3eefb98135acfc7
[ "MIT" ]
null
null
null
from typing import Type from blessed import Terminal from pydantic import BaseModel from app import constants as const class HitBox(BaseModel): """A hitbox is any entity that provides some sort of interaction""" pos_x: int pos_y: int content: str time: int parent: Type def __lt__(self,...
29
74
0.622414
171
1,160
4.02924
0.356725
0.081277
0.046444
0.056604
0.208999
0.182874
0.182874
0
0
0
0
0.002375
0.274138
1,160
39
75
29.74359
0.815914
0.130172
0
0
0
0
0.006042
0
0
0
0
0
0
1
0.148148
false
0
0.148148
0.074074
0.666667
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
1239594d29a58dedb1b0d505621f1a432d45aa38
21,907
py
Python
stf/dataset/TestSet_avg_mars.py
TencentYoutuResearch/PersonReID-TSF
b56ba8f4b2cbd7569ab15f62474369dd40d3dca7
[ "Apache-2.0" ]
19
2021-01-07T11:09:46.000Z
2021-12-31T13:05:02.000Z
stf/dataset/TestSet_avg_mars.py
TencentYoutuResearch/PersonReID-TSF
b56ba8f4b2cbd7569ab15f62474369dd40d3dca7
[ "Apache-2.0" ]
null
null
null
stf/dataset/TestSet_avg_mars.py
TencentYoutuResearch/PersonReID-TSF
b56ba8f4b2cbd7569ab15f62474369dd40d3dca7
[ "Apache-2.0" ]
2
2021-01-08T08:30:32.000Z
2021-02-04T02:18:55.000Z
from __future__ import print_function import sys import time import os.path as osp from PIL import Image import cv2 import numpy as np import random from collections import defaultdict from .Dataset import Dataset from ..utils.utils import measure_time from ..utils.re_ranking import re_ranking from ..utils.metric imp...
38.568662
111
0.545305
2,790
21,907
4.003584
0.102509
0.033214
0.020143
0.015219
0.515756
0.427932
0.378603
0.331244
0.306088
0.297851
0
0.012909
0.33875
21,907
567
112
38.636684
0.75818
0.109782
0
0.142857
0
0.003484
0.057158
0.001812
0
0
0
0
0.003484
1
0.027875
false
0
0.059233
0
0.114983
0.069686
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1239dd44b691726320f6ca0baac8f4ca02b74a2c
1,793
py
Python
aiautomation/log/simple_log.py
marvinren/aiautomation
639f57f502104dd170dca24dd9ff15d80c031e21
[ "MIT" ]
null
null
null
aiautomation/log/simple_log.py
marvinren/aiautomation
639f57f502104dd170dca24dd9ff15d80c031e21
[ "MIT" ]
null
null
null
aiautomation/log/simple_log.py
marvinren/aiautomation
639f57f502104dd170dca24dd9ff15d80c031e21
[ "MIT" ]
null
null
null
from aiautomation.log.abstract_log import AbstractLog from aiautomation.utils.log import get_logger ''' 写入控制台和文件的日志 ''' class SimpleLog(AbstractLog): def step_log_before(self, oper_type, oper_name, oper_id, parent_oper_id=None, *key, **kwargs): if oper_type == AbstractLog.STEP_TYPE_COMPONENT: ...
49.805556
144
0.654769
263
1,793
4.239544
0.220532
0.016144
0.059193
0.071749
0.565919
0.501345
0.479821
0.394619
0.356951
0.218834
0
0
0.179587
1,793
36
145
49.805556
0.757988
0
0
0.166667
0
0
0.140282
0
0
0
0
0
0
1
0.25
false
0
0.083333
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
123ad9a6c56f78cf322240c246b2a2483aa5e071
326
py
Python
config.py
statsu1990/kaggle_google_quest_qa
4b3569aa6d8b58d2315301a3ad86e6ed1d71c6db
[ "MIT" ]
3
2020-02-13T02:11:02.000Z
2021-09-05T13:15:34.000Z
config.py
statsu1990/kaggle_google_quest_qa
4b3569aa6d8b58d2315301a3ad86e6ed1d71c6db
[ "MIT" ]
null
null
null
config.py
statsu1990/kaggle_google_quest_qa
4b3569aa6d8b58d2315301a3ad86e6ed1d71c6db
[ "MIT" ]
null
null
null
PATH = '../input/google-quest-challenge/' #BERT_PRETRAINED_MODEL = 'bert-base-cased' BERT_PRETRAINED_MODEL = 'bert-base-uncased' BERT_TOKENIZER_PATH = '../input/transformers/' + BERT_PRETRAINED_MODEL + '/tokenizer/' BERT_PRETRAINED_MODEL_PATH = '../input/transformers/' + BERT_PRETRAINED_MODEL + '/pretrained_mod...
40.75
101
0.751534
37
326
6.243243
0.351351
0.38961
0.411255
0.199134
0.580087
0.34632
0
0
0
0
0
0
0.09816
326
7
102
46.571429
0.785714
0.125767
0
0
0
0
0.442029
0.275362
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
123c1170a7e53c991d85e76f7f6ae02014930f9c
1,875
py
Python
server/dive_server/training.py
Minious/dive
a3867e524021899c7231e4908452d70d9e30aaed
[ "Apache-2.0" ]
null
null
null
server/dive_server/training.py
Minious/dive
a3867e524021899c7231e4908452d70d9e30aaed
[ "Apache-2.0" ]
null
null
null
server/dive_server/training.py
Minious/dive
a3867e524021899c7231e4908452d70d9e30aaed
[ "Apache-2.0" ]
null
null
null
from girder.models.assetstore import Assetstore from girder.models.file import File from girder.models.folder import Folder from girder.models.item import Item from girder.models.upload import Upload from girder.models.user import User from dive_server.utils import get_annotation_csv_generator from dive_utils.constant...
31.779661
96
0.703467
221
1,875
5.855204
0.38914
0.046368
0.074189
0.03864
0.060278
0.060278
0
0
0
0
0
0
0.215467
1,875
58
97
32.327586
0.879674
0.153067
0
0.214286
0
0
0.061251
0
0
0
0
0.017241
0
1
0.047619
false
0
0.214286
0
0.309524
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
123e93ac8a310f95ec894f08e807cdf1c4916bbf
504
py
Python
stacks/345.Reverse Vowels of a string.py
Rage-ops/Leetcode-Solutions
48d4ecbb92a0bb7a7bb74a1445b593a67357ac02
[ "MIT" ]
1
2020-11-23T13:52:11.000Z
2020-11-23T13:52:11.000Z
stacks/345.Reverse Vowels of a string.py
harsha-sam/Leetcode-Solutions
48d4ecbb92a0bb7a7bb74a1445b593a67357ac02
[ "MIT" ]
null
null
null
stacks/345.Reverse Vowels of a string.py
harsha-sam/Leetcode-Solutions
48d4ecbb92a0bb7a7bb74a1445b593a67357ac02
[ "MIT" ]
null
null
null
# Easy # https://leetcode.com/problems/reverse-vowels-of-a-string/ # Time Complexity: O(N) # Space Complexity: O(N) class Solution: def reverseVowels(self, s: str) -> str: stack = [] for letter in s: if letter in "aeiouAEIOU": stack.append(letter) word = "" ...
26.526316
59
0.494048
55
504
4.527273
0.6
0.128514
0.096386
0.096386
0.257028
0.257028
0.257028
0.257028
0
0
0
0
0.39881
504
19
60
26.526316
0.821782
0.212302
0
0.307692
0
0
0.050891
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1240429f9a41acc91fc6ae8891a5c5c03f0644c3
1,360
py
Python
cowsay/lib/cows/awesome_face.py
Ovlic/cowsay_py
1ee8d11d6d895d7695d57e26003d71ce18379d3b
[ "MIT" ]
null
null
null
cowsay/lib/cows/awesome_face.py
Ovlic/cowsay_py
1ee8d11d6d895d7695d57e26003d71ce18379d3b
[ "MIT" ]
null
null
null
cowsay/lib/cows/awesome_face.py
Ovlic/cowsay_py
1ee8d11d6d895d7695d57e26003d71ce18379d3b
[ "MIT" ]
null
null
null
def Awesome_face(thoughts, eyes, eye, tongue): return f""" {thoughts} {thoughts} \#[/[#:xxxxxx:#[/[\\x [/\\ &3N W3& \\/[x [[x\@W W\@x[[\\ /#&N N_# /#\@ \@#/x ...
45.333333
83
0.263235
105
1,360
3.285714
0.428571
0.023188
0.026087
0.023188
0.028986
0
0
0
0
0
0
0.061693
0.4875
1,360
30
84
45.333333
0.433286
0
0
0.066667
0
0
0.952976
0.107274
0
0
0
0
0
1
0.033333
false
0
0
0.033333
0.066667
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
12447d579d2c9381064673a0bdaf590d555c5609
280
py
Python
pygarlic_validator/__init__.py
bybatkhuu/pygarlic_validator
8ea42545dbcede3faee553e02a5f7e560f9179c1
[ "MIT" ]
1
2022-03-31T06:37:43.000Z
2022-03-31T06:37:43.000Z
pygarlic_validator/__init__.py
bybatkhuu/pygarlic_validator
8ea42545dbcede3faee553e02a5f7e560f9179c1
[ "MIT" ]
null
null
null
pygarlic_validator/__init__.py
bybatkhuu/pygarlic_validator
8ea42545dbcede3faee553e02a5f7e560f9179c1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- try: from pygarlic_validator.validator import validators, checkers, errors from pygarlic_validator.__version__ import __version__ except ImportError: from .validator import validators, checkers, errors from .__version__ import __version__
31.111111
73
0.771429
30
280
6.6
0.466667
0.121212
0.212121
0.333333
0.434343
0.434343
0
0
0
0
0
0.004255
0.160714
280
8
74
35
0.838298
0.075
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.833333
0
0.833333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
12480d98d0d64204e46e36015b2e324e7c79f23a
13,460
py
Python
spanclient/_endpoint_wrapper.py
illuscio-dev/spanclient-py
6308d221d179ed0db7c211c7a7ec7e2944e8864c
[ "MIT" ]
null
null
null
spanclient/_endpoint_wrapper.py
illuscio-dev/spanclient-py
6308d221d179ed0db7c211c7a7ec7e2944e8864c
[ "MIT" ]
null
null
null
spanclient/_endpoint_wrapper.py
illuscio-dev/spanclient-py
6308d221d179ed0db7c211c7a7ec7e2944e8864c
[ "MIT" ]
null
null
null
import functools import copy from dataclasses import dataclass from marshmallow import Schema from typing import ( Optional, MutableMapping, Any, Union, Callable, Tuple, Dict, AsyncGenerator, Generator, Sequence, ) from spantools import MimeType, convert_params_headers, MimeType...
35.702918
88
0.6
1,431
13,460
5.502446
0.168414
0.020447
0.04064
0.042672
0.383287
0.34633
0.337694
0.33109
0.326264
0.326264
0
0.002994
0.305201
13,460
376
89
35.797872
0.838965
0.180684
0
0.426966
0
0
0.007534
0
0
0
0
0
0
1
0.048689
false
0.003745
0.041199
0
0.164794
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
12482b1ff107157da56ff15cc84b2172386b95f3
3,240
py
Python
SimpleGP/tests/test_gppg.py
mgraffg/simplegp
7e4639e3ac76571a4e67669cad6e8e775b3fc345
[ "Apache-2.0" ]
2
2015-03-18T17:26:20.000Z
2019-03-18T17:28:16.000Z
SimpleGP/tests/test_gppg.py
mgraffg/simplegp
7e4639e3ac76571a4e67669cad6e8e775b3fc345
[ "Apache-2.0" ]
1
2015-04-19T17:02:49.000Z
2015-07-21T18:48:34.000Z
SimpleGP/tests/test_gppg.py
mgraffg/simplegp
7e4639e3ac76571a4e67669cad6e8e775b3fc345
[ "Apache-2.0" ]
null
null
null
import test_classification import numpy as np from SimpleGP import SparseGPPG, SparseArray from SimpleGP.gppg import PGCl import os cl = test_classification.cl X = test_classification.X def test_gppg(): x = map(lambda x: SparseArray.fromlist(X[x]), range(X.shape[0])) fname = 'gppg.npy.gz' gp = SparseGPPG...
32.079208
71
0.591975
465
3,240
4.012903
0.180645
0.016077
0.053591
0.053055
0.574491
0.541265
0.521972
0.499464
0.49732
0.4791
0
0.02935
0.263889
3,240
100
72
32.4
0.75304
0
0
0.375
0
0
0.018827
0
0
0
0
0
0.15
0
null
null
0
0.0625
null
null
0.025
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
124879265e549764033ecbb3482f5f663c09d3b1
1,911
py
Python
shift_detector/precalculations/embedding_distance_precalculation.py
hpi-bp1819-naumann/shift-detector
5d081d05ec084021f11827aa3fd3e167854b2a2a
[ "Apache-2.0" ]
3
2019-06-21T11:41:08.000Z
2019-10-24T06:41:51.000Z
shift_detector/precalculations/embedding_distance_precalculation.py
hpi-bp1819-naumann/shift-detector
5d081d05ec084021f11827aa3fd3e167854b2a2a
[ "Apache-2.0" ]
63
2019-05-16T12:09:57.000Z
2022-02-10T00:21:01.000Z
shift_detector/precalculations/embedding_distance_precalculation.py
hpi-bp1819-naumann/shift-detector
5d081d05ec084021f11827aa3fd3e167854b2a2a
[ "Apache-2.0" ]
null
null
null
from shift_detector.precalculations.text_embedding_precalculation import TextEmbeddingPrecalculation from shift_detector.precalculations.store import Store from shift_detector.precalculations.precalculation import Precalculation from datawig.utils import random_split import numpy as np from numpy.linalg import norm c...
38.22
116
0.672423
238
1,911
5.193277
0.323529
0.07767
0.084951
0.124595
0.168285
0.168285
0.075243
0
0
0
0
0.024557
0.232862
1,911
49
117
39
0.818554
0.065934
0
0
0
0
0.020069
0
0
0
0
0
0
1
0.15625
false
0
0.1875
0.0625
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
0
0
0
1
0
1249f53ad50c951d95cda4379ed3d03ccaa7e132
694
py
Python
examples/sync_tx.py
tebzzz/archon
5276e06ccc2e08e034473108a4dd8e36b6ba6078
[ "MIT" ]
78
2018-09-20T12:50:42.000Z
2021-12-17T11:44:03.000Z
examples/sync_tx.py
tebzzz/archon
5276e06ccc2e08e034473108a4dd8e36b6ba6078
[ "MIT" ]
49
2018-11-18T16:58:27.000Z
2019-09-29T18:41:51.000Z
examples/sync_tx.py
tebzzz/archon
5276e06ccc2e08e034473108a4dd8e36b6ba6078
[ "MIT" ]
21
2018-09-20T11:31:50.000Z
2021-10-19T17:01:47.000Z
""" """ import archon.facade as facade import archon.broker as broker import archon.exchange.exchanges as exc import archon.model.models as models from archon.util import * from pymongo import MongoClient import time import datetime import math afacade = facade.Facade() broker.setClientsFromFile(afacade) a = brok...
20.411765
61
0.682997
100
694
4.59
0.49
0.104575
0
0
0
0
0
0
0
0
0
0.00177
0.185879
694
34
62
20.411765
0.810619
0
0
0
0
0
0.046579
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0.041667
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
124b92d2c7084377d87fc8f02f1de1ed63f57eef
505
py
Python
web-scraping/scrapy/items.py
mponweiser/thesis-LDA-in-R
e3be172f97e96c53c3941801e0b913d68621a1a0
[ "MIT" ]
4
2016-03-14T12:17:16.000Z
2021-01-27T01:14:30.000Z
web-scraping/scrapy/items.py
mponweiser/thesis-LDA-in-R
e3be172f97e96c53c3941801e0b913d68621a1a0
[ "MIT" ]
null
null
null
web-scraping/scrapy/items.py
mponweiser/thesis-LDA-in-R
e3be172f97e96c53c3941801e0b913d68621a1a0
[ "MIT" ]
3
2016-03-14T12:17:24.000Z
2020-05-05T22:53:53.000Z
# Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/topics/items.html from scrapy.item import Item, Field class PnasItem(Item): # define the fields for your item here like: category = Field() category_minor = Field() authors = Field() title = Field() ...
22.954545
48
0.647525
64
505
5.03125
0.59375
0.099379
0
0
0
0
0
0
0
0
0
0
0.241584
505
21
49
24.047619
0.840731
0.29703
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.071429
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
124c0cc2c66967fcbd74c872c18100920840b8b1
792
py
Python
scripts/format_files.py
paltmey/masterthesis
43ed469bcd0ad7f0d578277743f9776078a2c3c3
[ "MIT" ]
null
null
null
scripts/format_files.py
paltmey/masterthesis
43ed469bcd0ad7f0d578277743f9776078a2c3c3
[ "MIT" ]
null
null
null
scripts/format_files.py
paltmey/masterthesis
43ed469bcd0ad7f0d578277743f9776078a2c3c3
[ "MIT" ]
null
null
null
import subprocess from argparse import ArgumentParser def run(src_dir, fast=False): print(f'Formatting all files under {src_dir} using black.') cmd = ['black'] if fast: cmd.append('--fast') cmd.append(src_dir) subprocess.run(cmd) if __name__ == '__main__': parser = ArgumentParser(des...
31.68
124
0.683081
100
792
5.22
0.54
0.057471
0.049808
0
0
0
0
0
0
0
0
0
0.19697
792
24
125
33
0.820755
0
0
0
0
0
0.311869
0
0
0
0
0
0
1
0.058824
false
0
0.117647
0
0.176471
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
124da53c618c855ab0d8247e2652d534cd052cf4
873
py
Python
eval_empatheticdialogues.py
skywalker023/focused-empathy
04bdd0cf2fcd7bb4ee204cacb54ce970f426c916
[ "MIT" ]
29
2021-09-07T06:54:23.000Z
2022-03-25T12:33:04.000Z
eval_empatheticdialogues.py
skywalker023/focused-empathy
04bdd0cf2fcd7bb4ee204cacb54ce970f426c916
[ "MIT" ]
8
2021-09-25T05:39:40.000Z
2022-03-29T07:04:08.000Z
eval_empatheticdialogues.py
skywalker023/focused-empathy
04bdd0cf2fcd7bb4ee204cacb54ce970f426c916
[ "MIT" ]
2
2021-11-07T08:27:38.000Z
2022-01-09T05:28:41.000Z
import socket import datetime import os import better_exceptions from from_parlai.eval_model import eval_model from from_parlai.eval_model import setup_args as eval_setupargs better_exceptions.hook() __PATH__ = os.path.abspath(os.path.dirname(__file__)) def setup_args(current_time): parser = eval_setupargs() ...
27.28125
65
0.705613
113
873
5.070796
0.59292
0.062827
0.048866
0.062827
0.101222
0.101222
0
0
0
0
0
0.002817
0.186712
873
31
66
28.16129
0.804225
0
0
0
0
0
0.132875
0.054983
0
0
0
0
0
1
0.037037
false
0
0.222222
0
0.296296
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
0
0
0
0
0
0
0
0
1
0
124edb12bc0b4f9c7c2db07a2a02bfd911251b8c
315
py
Python
ares/phenom/__init__.py
jlashner/ares
6df2b676ded6bd59082a531641cb1dadd475c8a8
[ "MIT" ]
null
null
null
ares/phenom/__init__.py
jlashner/ares
6df2b676ded6bd59082a531641cb1dadd475c8a8
[ "MIT" ]
null
null
null
ares/phenom/__init__.py
jlashner/ares
6df2b676ded6bd59082a531641cb1dadd475c8a8
[ "MIT" ]
1
2021-06-16T23:13:56.000Z
2021-06-16T23:13:56.000Z
from ares.phenom.Tanh21cm import Tanh21cm from ares.phenom.OpticalDepth import Madau1995 from ares.phenom.Gaussian21cm import Gaussian21cm from ares.phenom.DustCorrection import DustCorrection from ares.phenom.Parametric21cm import Parametric21cm from ares.phenom.ParameterizedQuantity import ParameterizedQuantity
45
67
0.885714
36
315
7.75
0.305556
0.172043
0.301075
0
0
0
0
0
0
0
0
0.054983
0.07619
315
6
68
52.5
0.90378
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
124f15794814742ded4d3518fa8a3f798acf1841
5,408
py
Python
klsh/utils.py
tonygrey/klsh
77dbcd2bdd3f04e4d9add136201afda31c964580
[ "BSD-3-Clause" ]
28
2015-08-21T07:42:52.000Z
2022-03-23T23:18:14.000Z
klsh/utils.py
tonygrey/klsh
77dbcd2bdd3f04e4d9add136201afda31c964580
[ "BSD-3-Clause" ]
2
2016-02-04T12:52:28.000Z
2016-02-19T07:25:25.000Z
klsh/utils.py
tonygrey/klsh
77dbcd2bdd3f04e4d9add136201afda31c964580
[ "BSD-3-Clause" ]
6
2016-02-04T06:18:43.000Z
2020-05-10T10:42:27.000Z
import itertools import contextlib import time import numbers import numpy as np @contextlib.contextmanager def timeit(fmt=None): if fmt is None: fmt = "{0:.2g} sec" t0 = time.time() yield t1 = time.time() print(fmt.format(t1 - t0)) def create_rng(seed): """Turn seed into a np.random...
29.878453
78
0.568787
743
5,408
4.096904
0.271871
0.023653
0.01774
0.018068
0.099869
0.058476
0.04205
0.022339
0.022339
0.022339
0
0.014375
0.318232
5,408
180
79
30.044444
0.811229
0.331731
0
0.131868
0
0
0.022452
0.00709
0
0
0
0.005556
0.065934
1
0.065934
false
0
0.054945
0
0.186813
0.010989
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
12504e8a755643f44ae1e7436164776d1957ad7b
622
py
Python
RecoEgamma/EgammaElectronProducers/python/lowPtGsfElectrons_cfi.py
gputtley/cmssw
c1ef8454804e4ebea8b65f59c4a952a6c94fde3b
[ "Apache-2.0" ]
2
2020-01-27T15:21:37.000Z
2020-05-11T11:13:18.000Z
RecoEgamma/EgammaElectronProducers/python/lowPtGsfElectrons_cfi.py
gputtley/cmssw
c1ef8454804e4ebea8b65f59c4a952a6c94fde3b
[ "Apache-2.0" ]
8
2020-03-20T23:18:36.000Z
2020-05-27T11:00:06.000Z
RecoEgamma/EgammaElectronProducers/python/lowPtGsfElectrons_cfi.py
gputtley/cmssw
c1ef8454804e4ebea8b65f59c4a952a6c94fde3b
[ "Apache-2.0" ]
3
2017-06-07T15:22:28.000Z
2019-02-28T20:48:30.000Z
import FWCore.ParameterSet.Config as cms from RecoEgamma.EgammaElectronProducers.gsfElectrons_cfi import * lowPtGsfElectrons = ecalDrivenGsfElectrons.clone( gsfElectronCoresTag = "lowPtGsfElectronCores", gedElectronMode = True, ) from Configuration.Eras.Modifier_fastSim_cff import fastSim fastSim.toModify(lo...
38.875
92
0.85209
68
622
7.544118
0.529412
0.031189
0.046784
0.077973
0.183236
0.183236
0.183236
0
0
0
0
0.038394
0.078778
622
15
93
41.466667
0.856894
0
0
0
0
0
0.073955
0.073955
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
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
12538ece1750dfd1837c7ec0ab51c093bdd2eb86
1,767
py
Python
Apps/Black_Jack.py
srp98/Python-Stuff
fade8934718e01a3d30cf9db93515b8f02a20b18
[ "MIT" ]
null
null
null
Apps/Black_Jack.py
srp98/Python-Stuff
fade8934718e01a3d30cf9db93515b8f02a20b18
[ "MIT" ]
null
null
null
Apps/Black_Jack.py
srp98/Python-Stuff
fade8934718e01a3d30cf9db93515b8f02a20b18
[ "MIT" ]
1
2019-10-31T03:16:04.000Z
2019-10-31T03:16:04.000Z
def hand_total(hand): total = 0 # Count number of aces and deal with how to apply them at the end aces = 0 for card in hand: if card in ['J', 'Q', 'K']: total += 10 elif card == 'A': aces += 1 else: # Convert the number on card to int's ...
36.061224
94
0.615167
302
1,767
3.490066
0.337748
0.028463
0.047438
0.091082
0.131879
0.060721
0
0
0
0
0
0.050553
0.283531
1,767
49
95
36.061224
0.781991
0.640634
0
0.105263
0
0
0.007233
0
0
0
0
0
0
1
0.105263
false
0
0
0
0.210526
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1254aa54269ff251642c4464e9329b6e5da57064
6,281
py
Python
models/gaussian/gaussian/Gaussian.py
lijun99/altar
92c2915de3de0c51138d382c8192ead7d6eed1a1
[ "BSD-3-Clause" ]
6
2019-07-25T08:02:09.000Z
2022-02-09T04:19:31.000Z
models/gaussian/gaussian/Gaussian.py
lijun99/altar
92c2915de3de0c51138d382c8192ead7d6eed1a1
[ "BSD-3-Clause" ]
null
null
null
models/gaussian/gaussian/Gaussian.py
lijun99/altar
92c2915de3de0c51138d382c8192ead7d6eed1a1
[ "BSD-3-Clause" ]
null
null
null
# -*- python -*- # -*- coding: utf-8 -*- # # michael a.g. aïvázis <michael.aivazis@para-sim.com> # # (c) 2013-2021 parasim inc # (c) 2010-2021 california institute of technology # all rights reserved # # externals import math # the package import altar # declaration class Gaussian(altar.models.bayesian, family="alt...
30.342995
96
0.61694
846
6,281
4.531915
0.289598
0.019562
0.018258
0.021909
0.137194
0.125456
0.119197
0.09494
0.09494
0.073552
0
0.014922
0.295813
6,281
206
97
30.490291
0.85191
0.396434
0
0.1875
0
0
0.089762
0.005891
0
0
0
0
0
1
0.075
false
0
0.025
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1255698f615a2ee79f73dfb0cbca1d3e028c33b4
2,486
py
Python
prototype/crawling/harvesta/modules/naverfuncs.py
latte-horse/jaehyun
159963b405b1726717f99df0e4ba62df195aeb94
[ "MIT" ]
null
null
null
prototype/crawling/harvesta/modules/naverfuncs.py
latte-horse/jaehyun
159963b405b1726717f99df0e4ba62df195aeb94
[ "MIT" ]
null
null
null
prototype/crawling/harvesta/modules/naverfuncs.py
latte-horse/jaehyun
159963b405b1726717f99df0e4ba62df195aeb94
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- #naverFuncs.py import requests import urllib.request from bs4 import BeautifulSoup import re import json if __name__ != '__main__': from . import config #-------------------------------------------------------------------------- # 실시간 인기 검색어 cnt개 반환 #--------------------------------------...
33.146667
98
0.498793
249
2,486
4.843373
0.51004
0.043118
0.016584
0.019901
0.086235
0.086235
0
0
0
0
0
0.008705
0.214401
2,486
75
99
33.146667
0.608807
0.249397
0
0.163265
0
0.020408
0.142162
0.011351
0
0
0
0
0
1
0.040816
false
0
0.142857
0
0.22449
0.102041
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1255cd8f4e10c6adbb9a42935b7c7849e265c1ab
2,922
py
Python
Setup.py
uHappyLogic/GaiaDbConsumer
a615b689fc30a3cc9dfd0b581d279899bf7a0f8b
[ "MIT" ]
null
null
null
Setup.py
uHappyLogic/GaiaDbConsumer
a615b689fc30a3cc9dfd0b581d279899bf7a0f8b
[ "MIT" ]
null
null
null
Setup.py
uHappyLogic/GaiaDbConsumer
a615b689fc30a3cc9dfd0b581d279899bf7a0f8b
[ "MIT" ]
null
null
null
#!/usr/bin/python import argparse import multiprocessing from distutils.util import strtobool def configure_argparse(): ap = argparse.ArgumentParser() ap.add_argument("-p", "--password", required=True, type=str, help="database password") ap.add_argument("-u", "--user", required=True, t...
32.831461
107
0.469884
301
2,922
4.415282
0.325581
0.013544
0.084274
0.090293
0.281415
0.267871
0.149737
0.13243
0.090293
0
0
0.006204
0.393224
2,922
88
108
33.204545
0.743373
0.005476
0
0.298701
0
0
0.337694
0.016867
0
0
0
0
0
1
0.025974
false
0.064935
0.038961
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
0
1
0
0
0
0
0
1
1256c1154db4f6069ce7c07c379eb4a4a4e45448
1,893
py
Python
src/opencmiss/utils/iron/doc/doxygen/exampleprocessor/BaseHTMLProcessor.py
tsalemink/opencmiss.utils
c727d9b922330e3ca38967fa7dbe6480f698f9a2
[ "Apache-2.0" ]
null
null
null
src/opencmiss/utils/iron/doc/doxygen/exampleprocessor/BaseHTMLProcessor.py
tsalemink/opencmiss.utils
c727d9b922330e3ca38967fa7dbe6480f698f9a2
[ "Apache-2.0" ]
null
null
null
src/opencmiss/utils/iron/doc/doxygen/exampleprocessor/BaseHTMLProcessor.py
tsalemink/opencmiss.utils
c727d9b922330e3ca38967fa7dbe6480f698f9a2
[ "Apache-2.0" ]
null
null
null
from sgmllib import SGMLParser import htmlentitydefs class BaseHTMLProcessor(SGMLParser): def reset(self): # extend (called by SGMLParser.__init__) self.pieces = [] self.buffer = "" self.parents = [] SGMLParser.reset(self) def unknown_starttag(self, tag, attrs): strattrs = "".join([' %s="%s"' % (key,...
27.434783
73
0.624934
264
1,893
4.401515
0.280303
0.137694
0.192771
0.055077
0.237522
0.208262
0.208262
0.165232
0.108434
0.075732
0
0.002553
0.172213
1,893
68
74
27.838235
0.738992
0.020074
0
0.037037
0
0
0.087438
0.023243
0
0
0
0
0
0
null
null
0
0.037037
null
null
0.018519
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
125988da139b4ae5434a553bc0bdc723e1b0fa96
2,708
py
Python
neo/Network/core/uintbase.py
BarracudaPff/code-golf-data-pythpn
42e8858c2ebc6a061012bcadb167d29cebb85c5e
[ "MIT" ]
null
null
null
neo/Network/core/uintbase.py
BarracudaPff/code-golf-data-pythpn
42e8858c2ebc6a061012bcadb167d29cebb85c5e
[ "MIT" ]
null
null
null
neo/Network/core/uintbase.py
BarracudaPff/code-golf-data-pythpn
42e8858c2ebc6a061012bcadb167d29cebb85c5e
[ "MIT" ]
null
null
null
if TYPE_CHECKING: pass class UIntBase(serializable.SerializableMixin): _data = bytearray() _hash: int = 0 def __init__(self, num_bytes: int, data: Union[bytes, bytearray] = None) -> None: super(UIntBase, self).__init__() if data is None: self._data = bytearray(num_bytes) else: if isinstance(data, bytes)...
32.626506
138
0.677253
395
2,708
4.382278
0.255696
0.073946
0.031774
0.043905
0.153668
0.099365
0.099365
0.099365
0.064125
0
0
0.006772
0.182053
2,708
83
139
32.626506
0.774718
0.065731
0
0.155844
0
0
0.086241
0
0
0
0
0
0
1
0.194805
false
0.038961
0
0.077922
0.467532
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
125bc5ecf5acb0a84b6c7d88d2625e8761895e24
1,171
py
Python
_lib/settings.py
bjuggler/lvrobi
f7831b471058414d9ca383ab3729f3f6f26990c9
[ "MIT" ]
null
null
null
_lib/settings.py
bjuggler/lvrobi
f7831b471058414d9ca383ab3729f3f6f26990c9
[ "MIT" ]
null
null
null
_lib/settings.py
bjuggler/lvrobi
f7831b471058414d9ca383ab3729f3f6f26990c9
[ "MIT" ]
null
null
null
from pathlib import Path PROJECT_DIR = Path(__file__).resolve().parent.parent DATA_DIR = PROJECT_DIR.joinpath("data") DATA_ORIGIN_DIR = DATA_DIR.joinpath("_origin") DATA_AFTER_PREPARATION_DIR = DATA_DIR.joinpath("prepared") DATA_TRIPS_AS_HEXES_DIR = DATA_DIR.joinpath("trips_as_hexes") DATA_ORIGIN_AMIENS_DIR = DATA_O...
39.033333
70
0.676345
146
1,171
4.972603
0.369863
0.206612
0.143251
0.15427
0.242424
0.143251
0
0
0
0
0
0.008584
0.204099
1,171
30
71
39.033333
0.770386
0.020495
0
0
0
0
0.203316
0
0
0
0
0
0
1
0
false
0
0.043478
0
0.043478
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
125c09cc6e61d12b4e11b62f59ed5ddecd04ee2c
231
py
Python
class2/class2_ex1.py
daveg999/Automation_class
d23652ecae56b790684971dda6e85a1d2367e22b
[ "Apache-2.0" ]
null
null
null
class2/class2_ex1.py
daveg999/Automation_class
d23652ecae56b790684971dda6e85a1d2367e22b
[ "Apache-2.0" ]
null
null
null
class2/class2_ex1.py
daveg999/Automation_class
d23652ecae56b790684971dda6e85a1d2367e22b
[ "Apache-2.0" ]
null
null
null
# Python libraries # Ex1a import pysnmp import paramiko # Ex1b dir(pysnmp) ver = pysnmp.__version__ print "pysnmp version is: %s " % ver dir(paramiko) ver = paramiko.__version__ print "paramiko version is: %s " % ver # Ex1c
12.157895
38
0.714286
31
231
5.064516
0.451613
0.165605
0.127389
0.165605
0
0
0
0
0
0
0
0.016043
0.190476
231
18
39
12.833333
0.823529
0.134199
0
0
0
0
0.237113
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0.25
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
1
0
0
0
0
0
0
0
0
2
125df78648f1c8732c0895fa28745acc66e1387e
18,971
py
Python
pyhrt/continuous.py
tansey/hrt
f6d271a34590d073a08f0fc40f40e898f38cdf97
[ "MIT" ]
19
2018-11-05T19:08:03.000Z
2022-02-15T03:58:47.000Z
pyhrt/continuous.py
tansey/hrt
f6d271a34590d073a08f0fc40f40e898f38cdf97
[ "MIT" ]
1
2019-11-20T22:35:54.000Z
2019-11-20T23:06:51.000Z
pyhrt/continuous.py
tansey/hrt
f6d271a34590d073a08f0fc40f40e898f38cdf97
[ "MIT" ]
5
2019-04-15T23:17:26.000Z
2020-04-10T04:18:22.000Z
import os import sys import numpy as np import torch import torch.autograd as autograd import torch.nn as nn import torch.optim as optim from scipy.stats import norm from scipy.stats.mstats import gmean from pyhrt.utils import batches, create_folds, logsumexp ###########################################################...
40.278132
132
0.600706
2,703
18,971
4.118757
0.153533
0.010779
0.011318
0.010779
0.358214
0.316087
0.27405
0.262014
0.215755
0.206054
0
0.023734
0.249328
18,971
470
133
40.36383
0.758023
0.18154
0
0.201299
0
0
0.052545
0.003951
0
0
0
0
0
1
0.068182
false
0
0.042208
0.019481
0.175325
0.038961
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
125e4ce6af2e9208f22b7dc0cf1dfcc12caa2872
178
py
Python
src/__init__.py
mldev-ai/ML-Text-Classification
fc3d64aaa56796c4ed22b7842df66d59eb90b8ab
[ "MIT" ]
null
null
null
src/__init__.py
mldev-ai/ML-Text-Classification
fc3d64aaa56796c4ed22b7842df66d59eb90b8ab
[ "MIT" ]
null
null
null
src/__init__.py
mldev-ai/ML-Text-Classification
fc3d64aaa56796c4ed22b7842df66d59eb90b8ab
[ "MIT" ]
null
null
null
from src.FeatureExtractor import Extractor from src.DataLoader import Dataset from src.Trainer import TrainClf from src.Inference import PredictClf from src.Models import MLModel
35.6
42
0.865169
25
178
6.16
0.52
0.227273
0
0
0
0
0
0
0
0
0
0
0.106742
178
5
43
35.6
0.968553
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
126250776d5fa66f301a109cdcf5f21aeacb6568
3,637
py
Python
swig/python2/tests/ConcurrentHelpers/SysrepoTester.py
rastislavszabo/sysrepo
dd947fee3b606d354eb7bf50fecef020b943b523
[ "Apache-2.0" ]
null
null
null
swig/python2/tests/ConcurrentHelpers/SysrepoTester.py
rastislavszabo/sysrepo
dd947fee3b606d354eb7bf50fecef020b943b523
[ "Apache-2.0" ]
null
null
null
swig/python2/tests/ConcurrentHelpers/SysrepoTester.py
rastislavszabo/sysrepo
dd947fee3b606d354eb7bf50fecef020b943b523
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = "Rastislav Szabo <raszabo@cisco.com>, Lukas Macko <lmacko@cisco.com>" __copyright__ = "Copyright 2016, Cisco Systems, Inc." __license__ = "Apache 2.0" # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compl...
33.990654
115
0.670058
457
3,637
5.210066
0.371991
0.087778
0.021
0.036959
0.275095
0.232255
0.198236
0.135657
0.029399
0
0
0.004628
0.22766
3,637
106
116
34.311321
0.843005
0.165796
0
0.271429
0
0
0.053329
0
0
0
0
0
0.085714
1
0.285714
false
0
0.042857
0
0.342857
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
12638715ec5a1d40ed4f3618c30418ac709c540c
1,144
py
Python
ars2/utils.py
Stranger469/ARS2
b6d62b66997180abe01b676d5359c20daa42b7ad
[ "Apache-2.0" ]
null
null
null
ars2/utils.py
Stranger469/ARS2
b6d62b66997180abe01b676d5359c20daa42b7ad
[ "Apache-2.0" ]
null
null
null
ars2/utils.py
Stranger469/ARS2
b6d62b66997180abe01b676d5359c20daa42b7ad
[ "Apache-2.0" ]
null
null
null
import numpy as np from typing import List from wrench.basemodel import BaseClassModel from wrench.dataset import BaseDataset from sklearn.metrics import f1_score from snorkel.utils import probs_to_preds def calc_prior(labels: List, n_class: int): return [labels.count(i) for i in range(n_class)] def create_unb...
33.647059
95
0.704545
175
1,144
4.417143
0.365714
0.071151
0.031048
0.018111
0.041397
0
0
0
0
0
0
0.009657
0.185315
1,144
33
96
34.666667
0.819742
0.007867
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.25
0.041667
0.5
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1266741504356d2c9f8af5c310226fc914cad6c6
663
py
Python
homedisplay/info_internet_connection/views.py
ojarva/home-info-display
873d022308732baff94d0dc2381cf9dc7dce23b7
[ "BSD-3-Clause" ]
1
2016-11-28T04:35:06.000Z
2016-11-28T04:35:06.000Z
homedisplay/info_internet_connection/views.py
ojarva/home-info-display
873d022308732baff94d0dc2381cf9dc7dce23b7
[ "BSD-3-Clause" ]
160
2015-01-01T20:59:29.000Z
2016-04-25T13:36:52.000Z
homedisplay/info_internet_connection/views.py
ojarva/home-info-display
873d022308732baff94d0dc2381cf9dc7dce23b7
[ "BSD-3-Clause" ]
1
2015-02-25T21:24:01.000Z
2015-02-25T21:24:01.000Z
from .models import get_latest_serialized from django.core import serializers from django.http import HttpResponse from django.views.generic import View from django.conf import settings import json class GetJson(View): def get(self, _): # pylint:disable=no-self-use return HttpResponse(json.dumps(get_late...
30.136364
97
0.720965
82
663
5.682927
0.414634
0.085837
0.081545
0.060086
0.154506
0.154506
0.154506
0.154506
0.154506
0
0
0
0.182504
663
21
98
31.571429
0.859779
0.07994
0
0.125
0
0
0.075783
0
0
0
0
0
0
1
0.125
false
0.0625
0.375
0.0625
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
12695b68be997681bd60160adfb2433e6ae6d592
363
py
Python
stko/calculators/results/rmsd_results.py
stevenbennett96/stko
ee340af4fc549d5a2c3e9cba8360661335efe0fd
[ "MIT" ]
null
null
null
stko/calculators/results/rmsd_results.py
stevenbennett96/stko
ee340af4fc549d5a2c3e9cba8360661335efe0fd
[ "MIT" ]
null
null
null
stko/calculators/results/rmsd_results.py
stevenbennett96/stko
ee340af4fc549d5a2c3e9cba8360661335efe0fd
[ "MIT" ]
2
2020-05-08T17:51:25.000Z
2020-05-11T09:03:24.000Z
""" RMSD Results ============= #. :class:`.RmsdResults` Results class for extracting RMSD of two molecules. """ from .results import Results class RmsdResults(Results): """ Results class containing RMSD measures. """ def __init__(self, generator): self._value = next(generator) def ...
13.961538
51
0.630854
39
363
5.692308
0.538462
0.216216
0.207207
0.27027
0
0
0
0
0
0
0
0
0.231405
363
25
52
14.52
0.795699
0.399449
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
0.833333
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
126a6a2bd916dd0fdaa7da08e0f5d55a3f54c764
235
py
Python
section_5_price_alert/src/models/stores/views.py
sagarnildass/The-complete-python-web-course
d5c21eebeeea466a0fa46c9dfac203c0e5b01433
[ "MIT" ]
null
null
null
section_5_price_alert/src/models/stores/views.py
sagarnildass/The-complete-python-web-course
d5c21eebeeea466a0fa46c9dfac203c0e5b01433
[ "MIT" ]
null
null
null
section_5_price_alert/src/models/stores/views.py
sagarnildass/The-complete-python-web-course
d5c21eebeeea466a0fa46c9dfac203c0e5b01433
[ "MIT" ]
null
null
null
from flask import Blueprint store_blueprint = Blueprint('stores', __name__) @store_blueprint.route('/') def index(): return "This is the stores index" @store_blueprint.route('store/<string:name>') def store_page(name): pass
19.583333
47
0.731915
31
235
5.290323
0.548387
0.256098
0.231707
0
0
0
0
0
0
0
0
0
0.13617
235
11
48
21.363636
0.807882
0
0
0
0
0
0.212766
0
0
0
0
0
0
1
0.25
false
0.125
0.125
0.125
0.5
0.5
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
1
0
6
126ad831faaee91fb0ce16251134cb082143384a
5,462
py
Python
program_helper/ast/parser/ast_similarity_checker.py
jajajaqlt/nsg
1873f2b5e10441110c3c69940ceb4650f9684ac0
[ "Apache-2.0" ]
10
2021-11-02T18:30:38.000Z
2022-03-21T06:31:33.000Z
program_helper/ast/parser/ast_similarity_checker.py
rohanmukh/nag
f2c4b8e60a97c58a6a1c549cc8b4753ebfe8a5e3
[ "Apache-2.0" ]
2
2021-11-05T18:40:42.000Z
2022-03-30T04:33:08.000Z
program_helper/ast/parser/ast_similarity_checker.py
rohanmukh/nag
f2c4b8e60a97c58a6a1c549cc8b4753ebfe8a5e3
[ "Apache-2.0" ]
2
2021-11-03T19:14:06.000Z
2021-11-03T23:47:09.000Z
# Copyright 2017 Rice University # # 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 writin...
36.172185
115
0.658184
740
5,462
4.6
0.224324
0.093713
0.070505
0.029965
0.312867
0.269389
0.15658
0.118684
0.118684
0.118684
0
0.017086
0.249908
5,462
150
116
36.413333
0.813766
0.100879
0
0.133333
0
0
0.057382
0
0
0
0
0
0.009524
1
0.142857
false
0
0.057143
0.019048
0.314286
0.019048
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
126b7d17b9178997cd2b9b067f78352641394f99
375
py
Python
supervised/regression/ridgeRegression.py
SaadChaouki/ml-eli5-cli5
625a69edadf4737e41c58193873cf8a54273d7f0
[ "MIT" ]
1
2021-05-04T19:53:12.000Z
2021-05-04T19:53:12.000Z
supervised/regression/ridgeRegression.py
SaadChaouki/ml-eli5-cli5
625a69edadf4737e41c58193873cf8a54273d7f0
[ "MIT" ]
null
null
null
supervised/regression/ridgeRegression.py
SaadChaouki/ml-eli5-cli5
625a69edadf4737e41c58193873cf8a54273d7f0
[ "MIT" ]
null
null
null
from supervised.base.baseRegression import BaseRegression from processing.regularization import L2Regularization class RidgeRegression(BaseRegression): def __init__(self, iterations=5000, learning_rate=.01, alpha=1): super(RidgeRegression, self).__init__(iterations=iterations, learning_rate=learning_rate)...
41.666667
97
0.808
38
375
7.684211
0.552632
0.123288
0
0
0
0
0
0
0
0
0
0.027108
0.114667
375
8
98
46.875
0.85241
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
126c70cfd4f5dd58b70d6563429b9753c64c44e8
941
py
Python
merpy/__init__.py
AndreLamurias/merpy
eebfa602f07603178d8ae8706e2e7d18b068f7c8
[ "Apache-2.0" ]
5
2019-06-25T11:00:14.000Z
2022-03-31T17:31:38.000Z
merpy/__init__.py
AndreLamurias/merpy
eebfa602f07603178d8ae8706e2e7d18b068f7c8
[ "Apache-2.0" ]
4
2020-01-08T11:05:35.000Z
2020-11-12T12:32:38.000Z
merpy/__init__.py
AndreLamurias/merpy
eebfa602f07603178d8ae8706e2e7d18b068f7c8
[ "Apache-2.0" ]
2
2021-03-14T21:24:59.000Z
2021-10-03T10:53:36.000Z
from .merpy import ( get_entities, get_similarities, generate_lexicon, process_lexicon, show_lexicons, get_lexicons, download_lexicon, create_lexicon, create_mappings, download_mer, download_lexicons, mer_path, get_entities_mp, create_lexicon_from_file, delete...
20.021277
31
0.68119
98
941
5.969388
0.285714
0.075214
0.047863
0.088889
0.882051
0.882051
0.882051
0.882051
0.882051
0.882051
0
0
0.226355
941
46
32
20.456522
0.803571
0
0
0
1
0
0.329437
0.05101
0
0
0
0
0
1
0
false
0
0.022222
0
0.022222
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
126d523eba5326c29ad99290557c03112dd4b6ae
3,231
py
Python
sk_pymc3/model/base_model.py
drewblasius/pymc3-sklearn
a46c325179459a2eae394f72c4be186d3e074214
[ "MIT" ]
1
2020-07-13T12:45:20.000Z
2020-07-13T12:45:20.000Z
sk_pymc3/model/base_model.py
drewblasius/pymc3-sklearn
a46c325179459a2eae394f72c4be186d3e074214
[ "MIT" ]
null
null
null
sk_pymc3/model/base_model.py
drewblasius/pymc3-sklearn
a46c325179459a2eae394f72c4be186d3e074214
[ "MIT" ]
null
null
null
import logging import numpy as np import pandas as pd import pymc3 as pm import theano as tt from abc import ABC, abstractmethod from contextlib import contextmanager from sklearn.base import BaseEstimator from typing import List, Optional, Tuple, Union logger = logging.getLogger(__name__) class BasePyMC3Model(ABC,...
29.108108
101
0.561436
407
3,231
4.297297
0.321867
0.034305
0.027444
0.027444
0.104059
0.029731
0
0
0
0
0
0.005629
0.340142
3,231
110
102
29.372727
0.814728
0.065924
0
0.02439
0
0.012195
0.061997
0
0
0
0
0
0
1
0.134146
false
0.012195
0.109756
0.012195
0.353659
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
126e4a7de56e62d9de7e709a7a92d3187bd9274a
2,678
py
Python
ww/website_domain.py
hbradleyiii/ww
5a537ab6865fcfb43a253cdb8cf2397a53d940a7
[ "MIT" ]
null
null
null
ww/website_domain.py
hbradleyiii/ww
5a537ab6865fcfb43a253cdb8cf2397a53d940a7
[ "MIT" ]
null
null
null
ww/website_domain.py
hbradleyiii/ww
5a537ab6865fcfb43a253cdb8cf2397a53d940a7
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # name: website_domain.py # author: Harold Bradley III # email: harold@bradleystudio.net # created on: 11/03/2015 # # TODO: add DNS API capabilities """ ww.website_domain ~~~~~~~~~~~~~~~~~ A class to describe and ...
36.189189
85
0.519417
293
2,678
4.65529
0.430034
0.046188
0.024194
0.020528
0.177419
0.177419
0.136364
0.09824
0.09824
0.09824
0
0.007776
0.279686
2,678
73
86
36.684932
0.699326
0.242718
0
0.195122
0
0
0.412682
0.150478
0
0
0
0.013699
0
1
0.073171
false
0
0.121951
0
0.317073
0.414634
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
1
0
2
126e7487809cb90beb4de4d2e2b2d8e5ed3bbb80
275
py
Python
03-datatypes/examples/03-floats.py
luxwarp/python-course
d6ec4961ef43bd9d99954cffaea837220638e83f
[ "0BSD" ]
null
null
null
03-datatypes/examples/03-floats.py
luxwarp/python-course
d6ec4961ef43bd9d99954cffaea837220638e83f
[ "0BSD" ]
null
null
null
03-datatypes/examples/03-floats.py
luxwarp/python-course
d6ec4961ef43bd9d99954cffaea837220638e83f
[ "0BSD" ]
null
null
null
#!/usr/bin/env python3 # Floats (float) is numeric values like 1.0, 100,5 0,478, -1.36 print("1.0 + 0.2 =", 1.0 + 0.2) print("2.4 - 100.7 =", 2.4 - 100.7) print("2.7 * 1.5 =", 2.7 * 1.5) # You can do expressions and mixing integers and floats. print("1 + 2.5 =", 1 + 2.5)
25
63
0.574545
61
275
2.590164
0.442623
0.037975
0.037975
0.050633
0
0
0
0
0
0
0
0.217195
0.196364
275
10
64
27.5
0.497738
0.501818
0
0
0
0
0.328358
0
0
0
0
0
0
1
0
true
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4