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
416df2bd5134a68308640c6df12f0add33304524
1,202
py
Python
style.py
GuilhermeBalog/ia
d2bef4aacaa19ce16f34ec8b8a34f1684aabdcd5
[ "MIT" ]
1
2021-08-04T14:53:28.000Z
2021-08-04T14:53:28.000Z
style.py
GuilhermeBalog/ia
d2bef4aacaa19ce16f34ec8b8a34f1684aabdcd5
[ "MIT" ]
2
2022-01-13T03:49:52.000Z
2022-03-12T00:58:48.000Z
style.py
GuilhermeBalog/ia
d2bef4aacaa19ce16f34ec8b8a34f1684aabdcd5
[ "MIT" ]
null
null
null
import sys def title(text): if sys.platform.startswith('linux'): print('\033[1;32m\n{}'.format(text.upper())) print('-'*len(text), end='\n\n\033[m') else: print('\n{}'.format(text.upper())) print('-'*len(text), end='\n\n') def header(text): print() if sys.platform.startswith('linux'): pri...
24.04
95
0.604825
182
1,202
3.950549
0.269231
0.044506
0.062587
0.127955
0.375522
0.375522
0.325452
0.325452
0.183588
0.183588
0
0.10109
0.160566
1,202
49
96
24.530612
0.611497
0
0
0.378378
0
0.054054
0.22629
0.105657
0
0
0
0
0
1
0.162162
false
0
0.027027
0
0.243243
0.486486
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
4188a66417dca530d352daddb1239331755edf3d
4,969
py
Python
test/test_cores/test_spi.py
meetps/rhea
f8a9a08fb5e14c5c4488ef68a2dff4d18222c2c0
[ "MIT" ]
1
2022-03-16T23:56:09.000Z
2022-03-16T23:56:09.000Z
test/test_cores/test_spi.py
meetps/rhea
f8a9a08fb5e14c5c4488ef68a2dff4d18222c2c0
[ "MIT" ]
null
null
null
test/test_cores/test_spi.py
meetps/rhea
f8a9a08fb5e14c5c4488ef68a2dff4d18222c2c0
[ "MIT" ]
null
null
null
# # Copyright (c) 2013-2015 Christopher L. Felton # import traceback import pytest import argparse from myhdl import * from rhea.cores.spi import spi_controller from rhea.cores.spi import SPIBus from rhea.models.spi import SPIEEPROM from rhea.system import Global, Clock, Reset from rhea.system import Wishbone from...
32.477124
92
0.528074
563
4,969
4.566607
0.333925
0.038506
0.040451
0.052898
0.247375
0.180863
0.159471
0.159471
0.143135
0.088681
0
0.03
0.356007
4,969
152
93
32.690789
0.773438
0.112699
0
0.166667
0
0
0.067168
0
0
0
0.007514
0.006579
0.029412
0
null
null
0.009804
0.107843
null
null
0.147059
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
418f843ac77af7631193bca423cf8764a8fbec16
1,658
py
Python
circa/drag.py
baldwint/circa
99a2773d43dfb7a474abc201733f5689e3178382
[ "MIT" ]
null
null
null
circa/drag.py
baldwint/circa
99a2773d43dfb7a474abc201733f5689e3178382
[ "MIT" ]
null
null
null
circa/drag.py
baldwint/circa
99a2773d43dfb7a474abc201733f5689e3178382
[ "MIT" ]
null
null
null
import numpy as n from matplotlib import pyplot as plt from wanglib.pylab_extensions.density import density_plot x = n.arange(-2,2,.001) y = n.arange(-2,2,.001) def wave(x,y): X,Y = n.meshgrid(x,y) Z = n.sin(10*(X + Y)) return Z def mandelbrot(x,y): X,Y = n.meshgrid(x,y) C = X + 1j*Y z = 0 ...
23.685714
69
0.61158
257
1,658
3.863813
0.326848
0.022155
0.012085
0.016113
0.322256
0.237664
0.175227
0.175227
0.08862
0.08862
0
0.032853
0.247286
1,658
69
70
24.028986
0.762821
0.044632
0
0.230769
0
0
0.04804
0
0
0
0
0
0
0
null
null
0
0.057692
null
null
0.019231
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
41934a556ea78732e3f9331a35bf0f680be4c2e3
5,109
py
Python
mavenn/development/20.08.05_layers.py
jbkinney/mave-nn
bc1de2e147f3f2be38c42e7bd1cf921ec6870879
[ "MIT" ]
12
2020-09-15T04:20:48.000Z
2022-02-12T00:51:05.000Z
mavenn/development/20.08.05_layers.py
jbkinney/sortseq_tools
bc1de2e147f3f2be38c42e7bd1cf921ec6870879
[ "MIT" ]
12
2020-06-07T21:15:59.000Z
2022-03-03T18:10:46.000Z
mavenn/development/20.08.05_layers.py
jbkinney/sortseq_tools
bc1de2e147f3f2be38c42e7bd1cf921ec6870879
[ "MIT" ]
1
2022-01-04T18:22:27.000Z
2022-01-04T18:22:27.000Z
# Note: in all these computations, batch size is in the first index. class GPLayer(keras.layers.Layer): def __init__(self, L, # Sequence length C, # Alphabet size **kwargs): self.C = C self.L = L super().__init__(**kwargs) def get_...
31.152439
94
0.582306
638
5,109
4.440439
0.194357
0.060007
0.090011
0.036004
0.591599
0.507589
0.470879
0.444758
0.444758
0.409813
0
0.008062
0.320219
5,109
163
95
31.343558
0.807659
0.157957
0
0.473684
0
0
0.079874
0.018451
0
0
0
0
0.031579
0
null
null
0
0
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
41a0103edee8038cc7c29a6b2e7569677659518f
3,431
py
Python
specs/nimoy/specification_spec.py
browncoat-ninjas/nimoy
ff46fd6169c57af2177c0649a3d4c45340e61d3b
[ "Apache-2.0" ]
92
2017-09-15T17:35:25.000Z
2022-03-24T08:38:02.000Z
specs/nimoy/specification_spec.py
Luftzig/nimoy
cdc49332674f9ccbfcd1a0ac6bf62625eadcc16d
[ "Apache-2.0" ]
16
2017-12-07T05:36:09.000Z
2022-02-04T07:40:20.000Z
specs/nimoy/specification_spec.py
Luftzig/nimoy
cdc49332674f9ccbfcd1a0ac6bf62625eadcc16d
[ "Apache-2.0" ]
9
2017-12-17T19:32:56.000Z
2020-04-04T14:15:13.000Z
from unittest import mock from nimoy.specification import Specification class FeatureBlockRuleEnforcerSpec(Specification): def where_function_is_called_before_feature(self): with expect: class SomeSpec(Specification): def test_something(self, where_visited=False): ...
32.367925
112
0.642378
355
3,431
5.884507
0.230986
0.043562
0.087123
0.071805
0.387267
0.342269
0.305888
0.261848
0.153183
0.085208
0
0.002419
0.277179
3,431
105
113
32.67619
0.839919
0.028855
0
0.472973
0
0
0.063063
0.040541
0
0
0
0
0.189189
1
0.148649
false
0.067568
0.027027
0
0.297297
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
41a3fdcb108ae7dc467de4697bf8a49ee0d4f07c
4,654
py
Python
bioimageio/core/prediction_pipeline/_prediction_pipeline.py
bioimage-io/python-bioimage-io
f09c88fadfd70fb2bccb3fffd88838c985950962
[ "MIT" ]
null
null
null
bioimageio/core/prediction_pipeline/_prediction_pipeline.py
bioimage-io/python-bioimage-io
f09c88fadfd70fb2bccb3fffd88838c985950962
[ "MIT" ]
69
2019-11-21T15:37:28.000Z
2021-09-22T08:30:14.000Z
bioimageio/core/prediction_pipeline/_prediction_pipeline.py
bioimage-io/python-bioimage-io
f09c88fadfd70fb2bccb3fffd88838c985950962
[ "MIT" ]
2
2019-12-05T14:57:35.000Z
2021-05-18T12:33:00.000Z
import abc import math from dataclasses import dataclass from typing import List, Optional, Tuple import xarray as xr from marshmallow import missing from bioimageio.core.resource_io import nodes from ._combined_processing import CombinedProcessing from ._model_adapters import ModelAdapter, create_model_adapter from ...
30.821192
120
0.686076
540
4,654
5.709259
0.27963
0.042815
0.031139
0.035031
0.170289
0.1265
0.097957
0.08628
0.059033
0.059033
0
0.004399
0.218522
4,654
150
121
31.026667
0.843277
0.138161
0
0.183908
0
0
0.001565
0
0
0
0
0
0.011494
1
0.183908
false
0
0.114943
0.057471
0.505747
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
41a5d4733ff2974bc9ead79cf2641e7fe7d230c8
2,100
py
Python
python/upgrade_gvrf_ver/gvrf_upgrade.py
nitosan/GearVRf-scripts
d30363f4ba4ab48acf6a956fa04b058e87b5fac1
[ "Apache-2.0" ]
null
null
null
python/upgrade_gvrf_ver/gvrf_upgrade.py
nitosan/GearVRf-scripts
d30363f4ba4ab48acf6a956fa04b058e87b5fac1
[ "Apache-2.0" ]
null
null
null
python/upgrade_gvrf_ver/gvrf_upgrade.py
nitosan/GearVRf-scripts
d30363f4ba4ab48acf6a956fa04b058e87b5fac1
[ "Apache-2.0" ]
null
null
null
import argparse import fnmatch import os import re import ut def upgrade_gvrf_projects(proj_path, target_version, is_modify_file): curr_path = ut.get_curr_path() curr_path = os.path.join(curr_path, proj_path) for base_dir, dirs, files in os.walk(curr_path): for f in fnmatch.filter(files, "*"): ...
35.59322
123
0.540476
231
2,100
4.649351
0.354978
0.037244
0.047486
0.026071
0.067039
0.067039
0.067039
0
0
0
0
0.00374
0.363333
2,100
58
124
36.206897
0.799551
0
0
0.090909
0
0
0.13619
0.012381
0
0
0
0
0
0
null
null
0
0.113636
null
null
0.159091
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
41a6a95fe1368eed9be5c22ed64d4aa21fda6cba
2,372
py
Python
test/ParserTestUtils.py
rg911/catbuffer
a5eeb103d55fede452d8f1f4bb65a447a4c373e8
[ "MIT" ]
1
2019-08-18T15:12:29.000Z
2019-08-18T15:12:29.000Z
test/ParserTestUtils.py
rg911/catbuffer
a5eeb103d55fede452d8f1f4bb65a447a4c373e8
[ "MIT" ]
1
2019-08-06T23:06:02.000Z
2019-08-06T23:06:02.000Z
test/ParserTestUtils.py
rg911/catbuffer
a5eeb103d55fede452d8f1f4bb65a447a4c373e8
[ "MIT" ]
null
null
null
from catparser.CatsParseException import CatsParseException class SingleLineParserTestUtils: def __init__(self, parser_factory_type, unittest): self.parser_factory_type = parser_factory_type self.unittest = unittest def assert_parse(self, line, expected_result): # Arrange: par...
30.025316
82
0.658094
252
2,372
5.93254
0.194444
0.113043
0.147826
0.154515
0.458863
0.440803
0.440803
0.348495
0.348495
0.348495
0
0
0.255059
2,372
78
83
30.410256
0.846067
0.081788
0
0.475
0
0
0
0
0
0
0
0
0.375
1
0.225
false
0
0.025
0
0.325
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
41a735252b0e7b9938e3280bed8a86d69d2de3c8
873
py
Python
setup.py
understood/ytreporty
1042b27430fe333d34f75e42d9a2dadfc1b7b29d
[ "Apache-2.0" ]
1
2019-07-12T20:17:29.000Z
2019-07-12T20:17:29.000Z
setup.py
understood/ytreporty
1042b27430fe333d34f75e42d9a2dadfc1b7b29d
[ "Apache-2.0" ]
null
null
null
setup.py
understood/ytreporty
1042b27430fe333d34f75e42d9a2dadfc1b7b29d
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8; mode: Python; -*- # # 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...
32.333333
70
0.741123
124
873
5.16129
0.677419
0.09375
0.040625
0.05
0
0
0
0
0
0
0
0.006916
0.171821
873
26
71
33.576923
0.878285
0.639175
0
0
0
0
0.269103
0.083056
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
41a7c948088ad4bbe249cacfab09e59fa16b6ba2
503
py
Python
erddap_metrics/api/run.py
axiom-data-science/erddap-metrics
a5a96710605448f5f6cb8b2d6c5d856d31dcb523
[ "Apache-2.0" ]
3
2021-01-13T18:04:43.000Z
2021-08-20T23:52:28.000Z
erddap_metrics/api/run.py
axiom-data-science/erddap-metrics
a5a96710605448f5f6cb8b2d6c5d856d31dcb523
[ "Apache-2.0" ]
null
null
null
erddap_metrics/api/run.py
axiom-data-science/erddap-metrics
a5a96710605448f5f6cb8b2d6c5d856d31dcb523
[ "Apache-2.0" ]
1
2021-01-13T18:04:57.000Z
2021-01-13T18:04:57.000Z
#!python # coding=utf-8 import hug from hug.middleware import CORSMiddleware from erddap_metrics.api import prom from erddap_metrics.api import rest hug.API(__name__).http.add_middleware(CORSMiddleware(hug.API(__name__), allow_origins=["*"])) hug.API(__name__).extend(rest, '/rest') hug.API(__name__).extend(prom, '/...
22.863636
93
0.729622
68
503
5
0.426471
0.088235
0.147059
0.117647
0.152941
0
0
0
0
0
0
0.004515
0.119284
503
21
94
23.952381
0.76298
0.039761
0
0
0
0
0.058212
0
0
0
0
0
0
1
0.076923
false
0
0.307692
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
1
0
0
0
0
1
41ab4b06df5c1baa286a0fbfdec47f6b19b6ca1b
1,588
py
Python
py/2019/day22/day22.py
cs-cordero/advent-of-code
614b8f78b43c54ef180a7dc411a0d1366a62944f
[ "MIT" ]
null
null
null
py/2019/day22/day22.py
cs-cordero/advent-of-code
614b8f78b43c54ef180a7dc411a0d1366a62944f
[ "MIT" ]
null
null
null
py/2019/day22/day22.py
cs-cordero/advent-of-code
614b8f78b43c54ef180a7dc411a0d1366a62944f
[ "MIT" ]
2
2019-12-01T15:33:27.000Z
2020-12-14T05:37:23.000Z
from typing import List def solution1(data: List[str]) -> str: # https://codeforces.com/blog/entry/72593 a = 1 b = 0 m = 10007 for instruction in data: if instruction == "deal into new stack": a *= -1 b *= -1 b -= 1 elif "cut" in instruction: ...
26.032787
62
0.493073
205
1,588
3.77561
0.312195
0.020672
0.015504
0.113695
0.612403
0.612403
0.612403
0.612403
0.612403
0.612403
0
0.08143
0.365869
1,588
60
63
26.466667
0.68719
0.085642
0
0.680851
0
0
0.111878
0
0
0
0
0
0
1
0.042553
false
0
0.021277
0
0.106383
0.042553
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
41ac5cad377987cba2cfaa7fe24d34328fc52f1d
257
py
Python
mikaponics/foundation/views.py
mikaponics/mikaponics-back
98e1ff8bab7dda3492e5ff637bf5aafd111c840c
[ "BSD-3-Clause" ]
2
2019-04-30T23:51:41.000Z
2019-05-04T00:35:52.000Z
mikaponics/foundation/views.py
mikaponics/mikaponics-back
98e1ff8bab7dda3492e5ff637bf5aafd111c840c
[ "BSD-3-Clause" ]
27
2019-04-30T20:22:28.000Z
2022-02-10T08:10:32.000Z
mikaponics/foundation/views.py
mikaponics/mikaponics-back
98e1ff8bab7dda3492e5ff637bf5aafd111c840c
[ "BSD-3-Clause" ]
null
null
null
from django.http import JsonResponse def index_view(request): """ Function returns basic information about our project. """ data = { 'name': 'Mikaponics API Web-Service', 'version': 1.0, } return JsonResponse(data)
19.769231
57
0.622568
28
257
5.678571
0.928571
0
0
0
0
0
0
0
0
0
0
0.010638
0.268482
257
12
58
21.416667
0.835106
0.206226
0
0
0
0
0.196809
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
41bb6dba66a2cac2618793cc5b1bb27adda797d7
15,613
py
Python
Code.py
aditagrawal/NLP_Employer_Name_matching
7071a2f049e74c256b8b95fb8fe3efd0db86abce
[ "Unlicense" ]
null
null
null
Code.py
aditagrawal/NLP_Employer_Name_matching
7071a2f049e74c256b8b95fb8fe3efd0db86abce
[ "Unlicense" ]
null
null
null
Code.py
aditagrawal/NLP_Employer_Name_matching
7071a2f049e74c256b8b95fb8fe3efd0db86abce
[ "Unlicense" ]
null
null
null
#!/usr/bin/python3 import pandas as pd import numpy as np import re from tqdm import tqdm import warnings warnings.filterwarnings('ignore') from multiprocessing import Pool #import jellyfish import time import pickle import tqdm import math import scipy.stats as ss # remove common words list to_remove=['0','-','1st...
34.389868
143
0.678793
2,196
15,613
4.647086
0.258197
0.085154
0.031749
0.032925
0.315336
0.260755
0.247232
0.224204
0.22097
0.210387
0
0.02618
0.14616
15,613
453
144
34.465784
0.739254
0
0
0.171512
0
0
0.276049
0.061955
0
0
0
0
0
0
null
null
0
0.034884
null
null
0.020349
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
41bf80eb51a34d67863aaddc9ab1069167ea38b9
1,696
py
Python
ooobuild/lo/ui/window_content_factory.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/ui/window_content_factory.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/ui/window_content_factory.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # # Copyright 2022 :Barry-Thomas-Paul: Moss # # 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 applicab...
35.333333
192
0.75059
237
1,696
5.223629
0.603376
0.048465
0.024233
0.029079
0.027464
0.027464
0
0
0
0
0
0.019397
0.179245
1,696
47
193
36.085106
0.869971
0.730542
0
0
0
0
0.206897
0.095491
0
0
0
0
0
1
0
false
0
0.166667
0
0.833333
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
41c261c39d724212ea8e551fc7ba36bebd70a398
367
py
Python
ex032.py
dsjocimar/python
5716f46a9fa7f64aa78a39df9c262c5392571340
[ "MIT" ]
null
null
null
ex032.py
dsjocimar/python
5716f46a9fa7f64aa78a39df9c262c5392571340
[ "MIT" ]
null
null
null
ex032.py
dsjocimar/python
5716f46a9fa7f64aa78a39df9c262c5392571340
[ "MIT" ]
null
null
null
# Exercício 032 from datetime import date ano = int(input('Digite um ano qualquer. Digite 0 para analisar o ano ATUAL ')) if ano == 0: ano = date.today().year if ano % 4 == 0 and ano % 100 != 0 or ano % 400 == 0: print(f'O ano de \033[1m{ano}\033[m \033[1;32mé BISSEXTO!\033[m') else: print(f'O Ano de \033...
30.583333
79
0.637602
72
367
3.25
0.5
0.068376
0.059829
0.08547
0.239316
0.239316
0.239316
0.239316
0.239316
0.239316
0
0.159864
0.19891
367
11
80
33.363636
0.636054
0.035422
0
0
0
0.25
0.485795
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.25
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
41c52c879f96b779ec4ceec951bf676b07d2762b
1,801
py
Python
tests/test_save_and_load_itk.py
Ordgod/segmentation_metrics
abf17fd71c975b9e95a7b661f2cdbff834f03416
[ "MIT" ]
7
2020-08-27T22:06:32.000Z
2021-02-02T14:20:40.000Z
tests/test_save_and_load_itk.py
Ordgod/segmentation_metrics
abf17fd71c975b9e95a7b661f2cdbff834f03416
[ "MIT" ]
1
2020-11-04T17:08:59.000Z
2021-02-06T11:59:03.000Z
tests/test_save_and_load_itk.py
Ordgod/segmentation_metrics
abf17fd71c975b9e95a7b661f2cdbff834f03416
[ "MIT" ]
1
2020-10-02T14:50:16.000Z
2020-10-02T14:50:16.000Z
import glob import importlib import os import unittest import SimpleITK as sitk import numpy as np import sys import seg_metrics.seg_metrics as sg from parameterized import parameterized from medutils.medutils import save_itk import tempfile SUFFIX_LS = {".mhd", ".mha", ".nrrd", ".nii", ".nii.gz"} TEST_CASE1 = [{ "IM...
39.152174
111
0.638534
245
1,801
4.522449
0.330612
0.037906
0.013538
0.06769
0.352888
0.347473
0.309567
0.185921
0.185921
0.185921
0
0.065369
0.201555
1,801
46
112
39.152174
0.705146
0.093837
0
0
0
0
0.077538
0
0
0
0
0
0.085714
1
0.028571
false
0
0.314286
0
0.371429
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
41c845c82322e36c1b5f1d49e1fc9a1f018ac439
648
py
Python
test/test.py
surabibio/grbl-1
58753758884d950857b4b956a069fc11e70996b1
[ "MIT" ]
14
2015-02-24T14:03:48.000Z
2019-09-14T10:48:45.000Z
test/test.py
surabibio/grbl-1
58753758884d950857b4b956a069fc11e70996b1
[ "MIT" ]
2
2015-12-23T23:05:55.000Z
2021-11-25T08:04:38.000Z
test/test.py
surabibio/grbl-1
58753758884d950857b4b956a069fc11e70996b1
[ "MIT" ]
9
2015-05-04T23:46:12.000Z
2020-09-04T15:59:09.000Z
import random import serial import time ser = serial.Serial('/dev/tty.usbmodem24111', 115200, timeout=0.001) time.sleep(1) outstanding = 0 data = '' while True: time.sleep(0.1) data += ser.read() pos = data.find('\n') if pos == -1: line = '' else: line = data[0:pos + 1] data ...
25.92
71
0.533951
89
648
3.88764
0.449438
0.034682
0.075145
0
0
0
0
0
0
0
0
0.07947
0.300926
648
25
72
25.92
0.684327
0.026235
0
0
0
0
0.064976
0.034865
0
0
0
0
0
0
null
null
0
0.125
null
null
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
1
0
0
0
0
0
0
0
0
1
41cabab0ba1e97f48f58e6026e10e695a6340642
5,008
py
Python
tests/selenium/child_links_test.py
ajorpheus/sbr-ui
ea79ace6abb0b2c4aea8c4040c7134da9b873a4c
[ "MIT" ]
null
null
null
tests/selenium/child_links_test.py
ajorpheus/sbr-ui
ea79ace6abb0b2c4aea8c4040c7134da9b873a4c
[ "MIT" ]
null
null
null
tests/selenium/child_links_test.py
ajorpheus/sbr-ui
ea79ace6abb0b2c4aea8c4040c7134da9b873a4c
[ "MIT" ]
null
null
null
import unittest from selenium import webdriver from tests.helper_methods import create_selenium_config from tests.constants import BASE_URL, SEARCH_URL, REU_CHILD_TABLE, RURN, UNIT_TYPE_INPUT_ID, PERIOD_INPUT_ID from tests.constants import CHILD_LINKS_TABS_ID, LEU_TAB, LOU_TAB, REU_TAB, CH_TAB, PAYE_TAB, VAT_TAB from...
50.585859
117
0.736422
763
5,008
4.422018
0.158585
0.065205
0.045643
0.068465
0.546532
0.489034
0.40249
0.375519
0.320984
0.320984
0
0.007156
0.162939
5,008
98
118
51.102041
0.79771
0.048922
0
0.157895
0
0
0.075627
0.046977
0
0
0
0.010204
0.289474
1
0.184211
false
0.039474
0.131579
0
0.342105
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
68c05c2893b1694b22f8d08771ba69e4515ba741
8,890
py
Python
acictf/sharing-is-caring/sss-wikipedia.py
benhunter/ctf
3de1a222ea0034ef15eb6b75585b03a6ee37ec37
[ "MIT" ]
null
null
null
acictf/sharing-is-caring/sss-wikipedia.py
benhunter/ctf
3de1a222ea0034ef15eb6b75585b03a6ee37ec37
[ "MIT" ]
1
2022-03-31T22:44:36.000Z
2022-03-31T22:44:36.000Z
acictf/sharing-is-caring/sss-wikipedia.py
benhunter/ctf
3de1a222ea0034ef15eb6b75585b03a6ee37ec37
[ "MIT" ]
null
null
null
""" The following Python implementation of Shamir's Secret Sharing is released into the Public Domain under the terms of CC0 and OWFa: https://creativecommons.org/publicdomain/zero/1.0/ http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0 See the bottom few lines for usage. Tested on Python 2 and 3. ...
30.549828
170
0.657818
1,111
8,890
5.150315
0.237624
0.004893
0.010486
0.019224
0.283293
0.253757
0.253757
0.242922
0.221251
0.221251
0
0.223009
0.237345
8,890
291
171
30.549828
0.620944
0.331721
0
0.329032
0
0
0.064693
0
0
0
0
0
0.012903
1
0.141935
false
0
0.032258
0
0.309677
0.090323
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
68c11044951c278430363a0b844139b2a72388ce
520
py
Python
py/solns/searchInRotatedSortedArr/searchInRotatedSortedArr.py
zcemycl/algoTest
9518fb2b60fd83c85aeb2ab809ff647aaf643f0a
[ "MIT" ]
1
2022-01-26T16:33:45.000Z
2022-01-26T16:33:45.000Z
py/solns/searchInRotatedSortedArr/searchInRotatedSortedArr.py
zcemycl/algoTest
9518fb2b60fd83c85aeb2ab809ff647aaf643f0a
[ "MIT" ]
null
null
null
py/solns/searchInRotatedSortedArr/searchInRotatedSortedArr.py
zcemycl/algoTest
9518fb2b60fd83c85aeb2ab809ff647aaf643f0a
[ "MIT" ]
1
2022-01-26T16:35:44.000Z
2022-01-26T16:35:44.000Z
class Solution: @staticmethod def naive(nums,target): l,r = 0,len(nums)-1 while l<=r: m = (l+r)//2 if nums[m]==target: return m if nums[l]<=nums[m]: if target>=nums[l] and target<nums[m]: r=m-1 ...
24.761905
54
0.35
64
520
2.84375
0.296875
0.10989
0.098901
0.153846
0
0
0
0
0
0
0
0.032922
0.532692
520
20
55
26
0.716049
0
0
0.368421
0
0
0
0
0
0
0
0
0
1
0.052632
false
0
0
0
0.210526
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
68d0e7f049c530c48351fb28b32bbe9c683eeafc
2,952
py
Python
hc/front/tests/test_posts.py
andela/dashiki-healthchecks
8e3c219561d53cfe7c45da40110652219a96046f
[ "BSD-3-Clause" ]
null
null
null
hc/front/tests/test_posts.py
andela/dashiki-healthchecks
8e3c219561d53cfe7c45da40110652219a96046f
[ "BSD-3-Clause" ]
22
2017-06-14T16:43:29.000Z
2020-06-05T17:48:48.000Z
hc/front/tests/test_posts.py
andela/dashiki-healthchecks
8e3c219561d53cfe7c45da40110652219a96046f
[ "BSD-3-Clause" ]
1
2017-07-14T09:31:54.000Z
2017-07-14T09:31:54.000Z
from django.urls import reverse from hc.test import BaseTestCase from hc.front.models import Post class PostsTestCase(BaseTestCase): def setUp(self): super(PostsTestCase, self).setUp() def test_user_can_view_all_blog_posts(self): post = Post(user=self.alice, title="Post Title", body="Post Bo...
37.846154
98
0.667005
371
2,952
5.150943
0.226415
0.062794
0.075353
0.091052
0.687075
0.631083
0.510727
0.469911
0.393511
0.393511
0
0.011368
0.195461
2,952
77
99
38.337662
0.793263
0
0
0.446429
0
0
0.133469
0.010501
0
0
0
0
0.25
1
0.160714
false
0.071429
0.053571
0
0.232143
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
68d2bb530b6adecd375b233f2b25e0e274952fd1
990
py
Python
Day 60/main.py
anti-batman/100-Days-of-Code
2ba087a8eacd86f23104349f3044baf9965d5073
[ "MIT" ]
72
2021-02-20T06:00:46.000Z
2022-03-29T21:54:01.000Z
Day 60/main.py
anti-batman/100-Days-of-Code
2ba087a8eacd86f23104349f3044baf9965d5073
[ "MIT" ]
2
2021-06-05T17:39:16.000Z
2022-01-30T08:58:14.000Z
Day 60/main.py
anti-batman/100-Days-of-Code
2ba087a8eacd86f23104349f3044baf9965d5073
[ "MIT" ]
21
2021-04-03T09:59:48.000Z
2022-01-30T20:24:43.000Z
from flask import Flask, render_template, request import smtplib import os from dotenv import load_dotenv load_dotenv() MY_EMAIL = os.getenv("MY_EMAIL") MY_PASSWORD = os.getenv("MY_PASSWORD") app = Flask(__name__) @app.route('/') def index(): return render_template('index.html') @app.route("/form entry", met...
26.756757
142
0.632323
122
990
4.909836
0.516393
0.046745
0.033389
0.056761
0.096828
0
0
0
0
0
0
0.002594
0.221212
990
37
143
26.756757
0.774319
0
0
0
0
0.035714
0.244198
0.051463
0
0
0
0
0
1
0.071429
false
0.071429
0.142857
0.035714
0.321429
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
68d7c864ae4826d89ba118bb9a1f8e78f86ffc09
1,065
py
Python
posthog/tasks/calculate_cohort.py
nrickles3/posthog
29c952a1ce67fcc1815219e864163ab6695560d9
[ "MIT" ]
1
2020-12-08T04:04:52.000Z
2020-12-08T04:04:52.000Z
posthog/tasks/calculate_cohort.py
yaoshuyin/posthog
1835174c7b3015d0c47260dff98d4a752dc0abde
[ "MIT" ]
null
null
null
posthog/tasks/calculate_cohort.py
yaoshuyin/posthog
1835174c7b3015d0c47260dff98d4a752dc0abde
[ "MIT" ]
null
null
null
import logging import os import time from celery import shared_task from dateutil.relativedelta import relativedelta from django.db.models import F from django.utils import timezone from posthog.models import Cohort logger = logging.getLogger(__name__) MAX_AGE_MINUTES = 15 PARALLEL_COHORTS = int(os.environ.get("PAR...
32.272727
107
0.757746
151
1,065
5.145695
0.536424
0.057915
0.033462
0
0
0
0
0
0
0
0
0.006557
0.140845
1,065
32
108
33.28125
0.842623
0.09108
0
0
0
0
0.075648
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.454545
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
68da682f7952b78eca3d09a90be4b577ea967a5e
4,942
py
Python
getmovies.py
balrok/kodi_htmlmovies
ca0a598e17de05f414a6c9d331cc2dc184868982
[ "MIT" ]
1
2020-12-15T15:38:35.000Z
2020-12-15T15:38:35.000Z
getmovies.py
balrok/kodi_htmlmovies
ca0a598e17de05f414a6c9d331cc2dc184868982
[ "MIT" ]
null
null
null
getmovies.py
balrok/kodi_htmlmovies
ca0a598e17de05f414a6c9d331cc2dc184868982
[ "MIT" ]
null
null
null
import requests import json import sys import os from hashlib import sha1 import time import pickle class JsonRPCClient(object): def __init__(self, host, port=8080, user="", password="", cache_duration=60*60*24): self.host = host self.port = port self.user = user self.password = pa...
31.883871
141
0.590449
631
4,942
4.484945
0.301109
0.029682
0.031802
0.029682
0.293993
0.24629
0.24629
0.186926
0.154417
0.130389
0
0.029193
0.265277
4,942
154
142
32.090909
0.750207
0.059085
0
0.159664
0
0
0.113049
0.00969
0
0
0
0.006494
0
0
null
null
0.033613
0.10084
null
null
0.033613
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
68de3dd33b7471706e6f8a70827478ddbdc576f3
256
py
Python
iocage_api/dsn/__init__.py
pirogoeth/iocage-api
1d67d44b139a184ce0fce959c014d3b65ba70c4d
[ "Unlicense" ]
null
null
null
iocage_api/dsn/__init__.py
pirogoeth/iocage-api
1d67d44b139a184ce0fce959c014d3b65ba70c4d
[ "Unlicense" ]
null
null
null
iocage_api/dsn/__init__.py
pirogoeth/iocage-api
1d67d44b139a184ce0fce959c014d3b65ba70c4d
[ "Unlicense" ]
null
null
null
from iocage_api.dsn import base, sentry DSN_HANDLERS = { 'base' : base.BaseDSNDriver, 'sentry' : sentry.SentryDSNDriver, } def load_dsn(name): if name not in DSN_HANDLERS: return None return DSN_HANDLERS[name]
16
45
0.636719
31
256
5.096774
0.580645
0.208861
0
0
0
0
0
0
0
0
0
0
0.28125
256
15
46
17.066667
0.858696
0
0
0
0
0
0.039063
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.444444
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
68e288e32f7c05f670238b0aaec893cb93a996e3
663
py
Python
build/mac/should_use_hermetic_xcode.py
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
build/mac/should_use_hermetic_xcode.py
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
build/mac/should_use_hermetic_xcode.py
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.000Z
#!/usr/bin/env python # Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Prints "1" if Chrome targets should be built with hermetic xcode. Otherwise prints "0". Usage: python should_use_hermetic_xcode.p...
20.71875
78
0.713424
100
663
4.55
0.7
0.057143
0
0
0
0
0
0
0
0
0
0.018248
0.173454
663
31
79
21.387097
0.812044
0.26546
0
0
0
0
0.178248
0.081571
0
0
0
0
0
0
null
null
0
0.153846
null
null
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
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
68e45722c2e81854b5337f262b1f1bc69bbe6a8c
606
py
Python
stuff/pyfb.py
siliconchris1973/picbrick
409a99acf80fde38d7661dbd429158e3f439fcb5
[ "Apache-2.0" ]
null
null
null
stuff/pyfb.py
siliconchris1973/picbrick
409a99acf80fde38d7661dbd429158e3f439fcb5
[ "Apache-2.0" ]
null
null
null
stuff/pyfb.py
siliconchris1973/picbrick
409a99acf80fde38d7661dbd429158e3f439fcb5
[ "Apache-2.0" ]
null
null
null
import os import pygame disp_no = os.getenv('DISPLAY') if disp_no: print "I'm running under X display = {0}".format(disp_no) driver = 'directfb' drivers = ['directfb', 'fbcon', 'svgalib'] found = False for driver in drivers: if not os.getenv('SDL_VIDEODRIVER'): os.putenv('SDL_VIDEODRIVER', driver) ...
21.642857
61
0.648515
81
606
4.790123
0.555556
0.046392
0
0
0
0
0
0
0
0
0
0.004264
0.226073
606
27
62
22.444444
0.823028
0
0
0
0
0
0.280992
0
0
0
0
0
0
0
null
null
0
0.090909
null
null
0.136364
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
68e5e6151e1350d94d6614dfed468512c860c97f
1,177
py
Python
data-analysis/views.py
rizalasrul/python-pandas-data-analysis
300be1e2c4ac088489f8de00c070a10afbe6515c
[ "MIT" ]
1
2019-03-10T08:51:55.000Z
2019-03-10T08:51:55.000Z
data-analysis/views.py
rizalasrul/python-pandas-data-analysis
300be1e2c4ac088489f8de00c070a10afbe6515c
[ "MIT" ]
null
null
null
data-analysis/views.py
rizalasrul/python-pandas-data-analysis
300be1e2c4ac088489f8de00c070a10afbe6515c
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.http import HttpResponse from django.template import loader import datetime import pandas as pd # Create your views here. def index(request): df = pd.read_table("simpleview/data.csv", sep=","); datas = pd.DataFrame(df) head = pd.DataFrame(df, columns=[datas.co...
32.694444
80
0.701784
167
1,177
4.892216
0.431138
0.073439
0.047736
0.04896
0.176255
0.176255
0.097919
0
0
0
0
0.005076
0.163127
1,177
36
81
32.694444
0.824365
0.019541
0
0
0
0
0.21856
0.018213
0
0
0
0
0
1
0.172414
false
0
0.172414
0.068966
0.517241
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
68f79f2a3d4cff0a569b57b4e18aa7daeddf111b
1,101
py
Python
test/test_customization.py
FND/markdown-checklist
80302833dcfbc0ceb085c9b7bda737d616a7b285
[ "MIT" ]
68
2015-02-08T16:05:41.000Z
2022-02-27T19:21:18.000Z
test/test_customization.py
FND/markdown-checklist
80302833dcfbc0ceb085c9b7bda737d616a7b285
[ "MIT" ]
10
2015-01-27T02:58:31.000Z
2021-10-02T19:53:34.000Z
test/test_customization.py
FND/markdown-checklist
80302833dcfbc0ceb085c9b7bda737d616a7b285
[ "MIT" ]
44
2015-02-11T19:24:13.000Z
2022-01-26T13:10:28.000Z
from markdown import markdown from markdown_checklist.extension import ChecklistExtension def render_item(caption, checked): checked = ' checked' if checked else '' template = '<li><label><input type="checkbox" disabled%s>%s</label></li>' return template % (checked, caption) def test_checklists(): ...
26.214286
77
0.653043
131
1,101
5.442748
0.290076
0.088359
0.1669
0.245442
0.517532
0.462833
0.263675
0.263675
0
0
0
0
0.169846
1,101
41
78
26.853659
0.780088
0
0
0.34375
0
0
0.47139
0.023615
0
0
0
0
0.0625
1
0.0625
false
0
0.0625
0
0.15625
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
68f88d65404c16043f4aa472d4342a95b19b514d
1,092
py
Python
hackerrank/verybigsum/solution.py
lemming52/white_pawn
590cb2fdb20e8df3885141ae237ed09bbb4d2a18
[ "MIT" ]
null
null
null
hackerrank/verybigsum/solution.py
lemming52/white_pawn
590cb2fdb20e8df3885141ae237ed09bbb4d2a18
[ "MIT" ]
null
null
null
hackerrank/verybigsum/solution.py
lemming52/white_pawn
590cb2fdb20e8df3885141ae237ed09bbb4d2a18
[ "MIT" ]
null
null
null
""" Calculate and print the sum of the elements in an array, keeping in mind that some of those integers may be quite large. Function Description Complete the aVeryBigSum function in the editor below. It must return the sum of all array elements. aVeryBigSum has the following parameter(s): ar: an array of ...
19.5
121
0.698718
153
1,092
4.921569
0.54902
0.01992
0.021248
0.042497
0.047809
0
0
0
0
0
0
0.073547
0.228022
1,092
55
122
19.854545
0.819692
0.627289
0
0
0
0
0.06414
0
0
0
0
0
0
1
0.071429
false
0
0.357143
0.071429
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
68f8d82e246587da1507b9a2292d57e061089cb4
1,040
py
Python
kumapot/__main__.py
octacode/KumaPot
4231f7e4f41f1d6fc63cb04ea5d018aaf665ab13
[ "MIT" ]
null
null
null
kumapot/__main__.py
octacode/KumaPot
4231f7e4f41f1d6fc63cb04ea5d018aaf665ab13
[ "MIT" ]
null
null
null
kumapot/__main__.py
octacode/KumaPot
4231f7e4f41f1d6fc63cb04ea5d018aaf665ab13
[ "MIT" ]
null
null
null
""" KumaPot. Simple TCP Logger Usage: python -m kumapot <config_filepath> Sample: python -m kumapot kumapot.example.ini Options: [<config_filepath>] Path to Configuration options .ini file -h --help Show this screen """ import configparser import sys from kumapot import HoneyPot if len(sys.ar...
23.636364
90
0.697115
148
1,040
4.804054
0.513514
0.098453
0.067511
0
0
0
0
0
0
0
0
0.035147
0.151923
1,040
43
91
24.186047
0.770975
0.298077
0
0
0
0
0.206657
0.040222
0
0
0
0.023256
0
1
0
false
0
0.157895
0
0.157895
0.105263
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
68f9cce4243642fa8ef737e920f4277d62ad3eaf
415
py
Python
reddit_dashboard/migrations/0017_auto_20201118_2308.py
tarikyayla/reddit_dashboard
e5ecf3349a5c9333793c3ae5375bc4a0e501a16c
[ "MIT" ]
null
null
null
reddit_dashboard/migrations/0017_auto_20201118_2308.py
tarikyayla/reddit_dashboard
e5ecf3349a5c9333793c3ae5375bc4a0e501a16c
[ "MIT" ]
null
null
null
reddit_dashboard/migrations/0017_auto_20201118_2308.py
tarikyayla/reddit_dashboard
e5ecf3349a5c9333793c3ae5375bc4a0e501a16c
[ "MIT" ]
1
2020-11-27T23:24:09.000Z
2020-11-27T23:24:09.000Z
# Generated by Django 3.1.2 on 2020-11-18 20:08 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('reddit_dashboard', '0016_auto_20201118_2255'), ] operations = [ migrations.AlterField( model_name='posts', name='sub...
21.842105
64
0.619277
46
415
5.434783
0.869565
0
0
0
0
0
0
0
0
0
0
0.112211
0.26988
415
18
65
23.055556
0.712871
0.108434
0
0
1
0
0.154891
0.0625
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ec009350a60d82d6cb7df835b438e7e1cea9f954
4,522
py
Python
data_exploration.py
rjegankumar/enron_email_fraud_identification
a8da5dc1efcce4f08382fb26826ed483978907a0
[ "MIT" ]
null
null
null
data_exploration.py
rjegankumar/enron_email_fraud_identification
a8da5dc1efcce4f08382fb26826ed483978907a0
[ "MIT" ]
null
null
null
data_exploration.py
rjegankumar/enron_email_fraud_identification
a8da5dc1efcce4f08382fb26826ed483978907a0
[ "MIT" ]
null
null
null
#!/usr/bin/python import pickle import pprint import matplotlib.pyplot as plt import numpy as np from feature_format import featureFormat, targetFeatureSplit enron_data = pickle.load(open("final_project_dataset.pkl", "r")) # length of the dictionary i.e. no. of training examples print "\n# of training examples:", le...
34
79
0.71517
646
4,522
4.73065
0.244582
0.082461
0.057592
0.07199
0.368783
0.29483
0.218914
0.156086
0.156086
0.143325
0
0.014418
0.187085
4,522
133
80
34
0.816921
0.144626
0
0.058824
0
0
0.222761
0.060136
0
0
0
0
0
0
null
null
0
0.073529
null
null
0.132353
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
ec02416d114404302ee61ee136ff8aaa54bfe0c7
3,308
py
Python
search/info/utils/content.py
aircov/-
2e306b846dcdd3c57f1dba4493dc3d2babb036a7
[ "Apache-2.0" ]
null
null
null
search/info/utils/content.py
aircov/-
2e306b846dcdd3c57f1dba4493dc3d2babb036a7
[ "Apache-2.0" ]
null
null
null
search/info/utils/content.py
aircov/-
2e306b846dcdd3c57f1dba4493dc3d2babb036a7
[ "Apache-2.0" ]
null
null
null
import re from config import es def _highlight(response_es): # 高亮展示es搜索结果 article_list = response_es["hits"]["hits"] for article in article_list: source = article["_source"] highlight = article["highlight"] for key in highlight.keys(): item = highlight[key][0] ...
31.504762
103
0.35399
243
3,308
4.703704
0.395062
0.041995
0.028871
0.031496
0.206474
0.169729
0.169729
0.169729
0.169729
0.085739
0
0.011002
0.505441
3,308
104
104
31.807692
0.687653
0.13029
0
0.271429
0
0
0.10582
0
0
0
0
0
0
1
0.042857
false
0
0.028571
0
0.114286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ec0732f4bc8935bb4f3498d1675568db4219fa70
338
py
Python
pyrival/numerical/polynomial.py
MattJDavidson/aoc2021
1c26697da55e58408f36525639d201303f808b1b
[ "Apache-2.0" ]
748
2018-09-27T01:08:12.000Z
2022-03-25T17:31:56.000Z
pyrival/numerical/polynomial.py
MattJDavidson/aoc2021
1c26697da55e58408f36525639d201303f808b1b
[ "Apache-2.0" ]
38
2019-02-24T14:50:02.000Z
2022-03-25T01:27:50.000Z
pyrival/numerical/polynomial.py
MattJDavidson/aoc2021
1c26697da55e58408f36525639d201303f808b1b
[ "Apache-2.0" ]
288
2018-10-29T11:55:57.000Z
2022-03-20T04:37:27.000Z
def poly(a, x): val = 0 for ai in reversed(a): val *= x val += ai return val def diff(a): return [a[i + 1] * (i + 1) for i in range(len(a) - 1)] def divroot(a, x0): b, a[-1] = a[-1], 0 for i in reversed(range(len(a) - 1)): a[i], b = a[i + 1] * x0 + b, a[i] a.p...
17.789474
58
0.434911
65
338
2.261538
0.307692
0.054422
0.040816
0.136054
0
0
0
0
0
0
0
0.051887
0.372781
338
18
59
18.777778
0.641509
0
0
0
0
0
0
0
0
0
0
0
0
1
0.214286
false
0
0
0.071429
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
ec0b5b2e2f20676ba1d64083304593b2c18af70d
1,602
py
Python
tests/test_check_reference_positions.py
burkesquires/FeaVar
68695bff105fbabbda18f27b0d296f7f446ca0bb
[ "CC0-1.0" ]
1
2019-10-28T16:58:34.000Z
2019-10-28T16:58:34.000Z
tests/test_check_reference_positions.py
burkesquires/nvariant
68695bff105fbabbda18f27b0d296f7f446ca0bb
[ "CC0-1.0" ]
1
2021-09-03T13:37:57.000Z
2021-09-03T20:40:55.000Z
tests/test_check_reference_positions.py
burkesquires/ombre
68695bff105fbabbda18f27b0d296f7f446ca0bb
[ "CC0-1.0" ]
null
null
null
from unittest import TestCase from FeaVar import FeaVar class TestCheckReferencePositions1(TestCase): def test_check_adjusted_positions(self): test_ref_seq = "-A--BB---CCC----DDDD" test_positions1 = [1, 3, 5] adjusted_positions1 = FeaVar.adjust_positions_for_insertions(test_ref_seq, t...
34.085106
105
0.671036
141
1,602
7.241135
0.304965
0.054848
0.078355
0.041136
0.742409
0.667973
0.667973
0.667973
0.667973
0.62096
0
0.023401
0.19975
1,602
46
106
34.826087
0.773011
0
0
0.5
0
0
0.274657
0.262172
0
0
0
0
0.125
1
0.125
false
0
0.083333
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ec0f433077e8c1378c401a7a803d6c6d6f596966
3,286
py
Python
prev_ob_models/exclude/GilraBhalla2015/cells/load_cells.py
fameshpatel/olfactorybulb
8d7a644b4560309ef177c0590ff73ed4c2432604
[ "MIT" ]
null
null
null
prev_ob_models/exclude/GilraBhalla2015/cells/load_cells.py
fameshpatel/olfactorybulb
8d7a644b4560309ef177c0590ff73ed4c2432604
[ "MIT" ]
null
null
null
prev_ob_models/exclude/GilraBhalla2015/cells/load_cells.py
fameshpatel/olfactorybulb
8d7a644b4560309ef177c0590ff73ed4c2432604
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys import math sys.path.extend(["..","../channels"]) from channelConstants import * # for CELSIUS, the global temperature import moose from moose.neuroml import * def load_cells(): MML = MorphML({'temperature':CELSIUS}) ## writing ../cells/ bel...
53.868852
127
0.707243
437
3,286
5.180778
0.437071
0.024735
0.091873
0.109541
0.284894
0.27076
0.204064
0.204064
0.204064
0.172261
0
0.032689
0.180767
3,286
60
128
54.766667
0.808321
0.716677
0
0
0
0
0.229263
0.201613
0
0
0
0
0
1
0.058824
false
0
0.352941
0
0.470588
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
ec1c683761a0a89fbd88a332ab7094574be872bc
2,348
py
Python
h1st_contrib/iot_mgmt/data/migrations/0023_auto_20181110_0727.py
h1st-ai/h1st-contrib
38fbb1fff4513bb3433bc12f2b436836e5e51c80
[ "Apache-2.0" ]
1
2022-02-19T18:55:43.000Z
2022-02-19T18:55:43.000Z
h1st_contrib/iot_mgmt/data/migrations/0023_auto_20181110_0727.py
h1st-ai/h1st-contrib
38fbb1fff4513bb3433bc12f2b436836e5e51c80
[ "Apache-2.0" ]
null
null
null
h1st_contrib/iot_mgmt/data/migrations/0023_auto_20181110_0727.py
h1st-ai/h1st-contrib
38fbb1fff4513bb3433bc12f2b436836e5e51c80
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.1.1 on 2018-11-10 07:27 import django.contrib.postgres.fields.jsonb from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('IoT_DataMgmt', '0022_equipmentinstancedatafielddailyaggregate'), ] oper...
48.916667
262
0.658007
223
2,348
6.672646
0.376682
0.042339
0.084677
0.100806
0.53293
0.489919
0.467742
0.27957
0.217742
0.217742
0
0.011532
0.224446
2,348
47
263
49.957447
0.805601
0.019165
0
0.195122
1
0
0.297262
0.193394
0
0
0
0
0
1
0
false
0
0.073171
0
0.146341
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ec23bbf96ffa2e6ed4c5e2946b98a5cffe26154a
7,059
py
Python
native_client_sdk/src/build_tools/generate_make.py
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
1
2019-04-23T15:57:04.000Z
2019-04-23T15:57:04.000Z
native_client_sdk/src/build_tools/generate_make.py
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
null
null
null
native_client_sdk/src/build_tools/generate_make.py
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import os import sys SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) ARCHITECTURES = ['32', '64'] def WriteMakefile(src...
29.659664
79
0.577277
921
7,059
4.318132
0.234528
0.006538
0.031682
0.026402
0.206186
0.176012
0.146844
0.107619
0.078451
0.021121
0
0.003103
0.269443
7,059
237
80
29.78481
0.768082
0.107947
0
0.176136
0
0
0.225673
0.003663
0.005682
0
0
0.004219
0
0
null
null
0
0.011364
null
null
0.005682
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
ec2b169dd6a8aff0615e28db5d3141d8133085c5
2,088
py
Python
data_store/utils.py
scaramallion/pydicom-data
bbb723879690bb77e077a6d57657930998e92bd5
[ "MIT" ]
null
null
null
data_store/utils.py
scaramallion/pydicom-data
bbb723879690bb77e077a6d57657930998e92bd5
[ "MIT" ]
null
null
null
data_store/utils.py
scaramallion/pydicom-data
bbb723879690bb77e077a6d57657930998e92bd5
[ "MIT" ]
null
null
null
from enum import IntEnum import fnmatch import os from pathlib import Path from typing import List class DataTypes(IntEnum): """Constants for data types.""" DATASET = 0 CHARSET = 1 PALETTE = 2 DICOMDIR = 3 class DataStore: """Interface to pydicom-data data storage. Attributes -----...
26.769231
83
0.569923
250
2,088
4.704
0.328
0.027211
0.038265
0.043367
0.290816
0.163265
0.163265
0.113946
0.113946
0.113946
0
0.004986
0.327586
2,088
77
84
27.116883
0.832621
0.431034
0
0.083333
0
0
0.073753
0
0
0
0
0
0
1
0.125
false
0
0.208333
0
0.708333
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
ec2d59ae9139269974b06678beee434758e0d757
368
py
Python
atom/__init__.py
ashwinvin/atom
ff1296ee954517b02fb36aea95666c65c5ef0a26
[ "MIT" ]
2
2021-04-19T05:13:50.000Z
2021-04-23T09:08:25.000Z
atom/__init__.py
ashwinvin/atom
ff1296ee954517b02fb36aea95666c65c5ef0a26
[ "MIT" ]
null
null
null
atom/__init__.py
ashwinvin/atom
ff1296ee954517b02fb36aea95666c65c5ef0a26
[ "MIT" ]
null
null
null
import logging import os import coloredlogs __version__ = "1.1.1" # Set root log level logging.basicConfig(format="%(asctime)s %(name)s %(levelname)s: %(message)s", level=logging.INFO) coloredlogs.install(level=logging.INFO) # Set Discord.py log level logging.getLogger("discord.client").setLevel(logging.INFO) loggi...
24.533333
97
0.769022
51
368
5.470588
0.509804
0.172043
0.107527
0
0
0
0
0
0
0
0
0.008902
0.084239
368
14
98
26.285714
0.818991
0.116848
0
0
0
0
0.226708
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ec2e709e69f91f65e3487ffd908d3535a1a5d2f0
698
py
Python
generator/group.py
Gornghost/python_courses
729b54af3a120305a812e7db558f74c81c419a83
[ "Apache-2.0" ]
null
null
null
generator/group.py
Gornghost/python_courses
729b54af3a120305a812e7db558f74c81c419a83
[ "Apache-2.0" ]
null
null
null
generator/group.py
Gornghost/python_courses
729b54af3a120305a812e7db558f74c81c419a83
[ "Apache-2.0" ]
null
null
null
from model.group import Group import random import string import os.path import jsonpickle def random_string(prefix, maxlen): symbols = string.ascii_letters + string.digits + " "*10 return prefix + "".join([random.choice(symbols) for i in range(random.randrange(maxlen))]).strip() testdata = [Group(name="", ...
30.347826
116
0.703438
98
698
4.867347
0.510204
0.050314
0.025157
0.046122
0
0
0
0
0
0
0
0.016474
0.130372
698
23
117
30.347826
0.769358
0
0
0
0
0
0.062947
0
0
0
0
0
0
1
0.0625
false
0
0.3125
0
0.4375
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
ec38500ec97ee0b8110ee04afdece06a8bc437f0
2,606
py
Python
toolium/test/test_test_cases.py
davidmoremad/toolium
c77e45a18a995c7f22da68b65520851720653cb7
[ "Apache-2.0" ]
1
2019-01-29T13:20:48.000Z
2019-01-29T13:20:48.000Z
toolium/test/test_test_cases.py
davidmoremad/toolium
c77e45a18a995c7f22da68b65520851720653cb7
[ "Apache-2.0" ]
null
null
null
toolium/test/test_test_cases.py
davidmoremad/toolium
c77e45a18a995c7f22da68b65520851720653cb7
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- u""" Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U. This file is part of Toolium. 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/lic...
31.780488
101
0.718342
354
2,606
5.124294
0.426554
0.044101
0.046307
0.017641
0.148842
0.099228
0.055127
0.055127
0
0
0
0.004288
0.194551
2,606
81
102
32.17284
0.859933
0.314275
0
0.04878
0
0
0.132537
0.054608
0
0
0
0
0.170732
1
0.195122
false
0.195122
0.121951
0
0.390244
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
ec38a7120c80ea6f7ca34e175c841abc34b57443
6,223
py
Python
backend/app/cv/models.py
T-101/cv
dcd375e539e292edcf2366f84927532c1b0d3d9b
[ "MIT" ]
null
null
null
backend/app/cv/models.py
T-101/cv
dcd375e539e292edcf2366f84927532c1b0d3d9b
[ "MIT" ]
11
2020-06-05T18:58:34.000Z
2021-10-05T19:52:07.000Z
backend/app/cv/models.py
T-101/cv
dcd375e539e292edcf2366f84927532c1b0d3d9b
[ "MIT" ]
null
null
null
import os from django.db import models from django.db.models.signals import post_delete from django.dispatch import receiver from django.utils.crypto import get_random_string def upload_obfuscated_filename(instance, orig_filename): _filename, _ext = os.path.splitext(orig_filename) _fn = get_random_string(len...
30.655172
145
0.697413
761
6,223
5.486202
0.199737
0.043114
0.077605
0.103473
0.563114
0.492216
0.431856
0.362156
0.362156
0.351617
0
0.012029
0.18512
6,223
202
146
30.806931
0.81128
0
0
0.30137
0
0.013699
0.117146
0.024426
0
0
0
0
0
1
0.116438
false
0.013699
0.034247
0.075342
0.780822
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
ec3ad5e08f47f4fd1d450ed68a12442586b37cee
4,018
py
Python
nba_dashboard/api_endpoints/player.py
jsonchin/nba_dfs_dashboard
4f91c435531d6dc7589f2a5eafe91c42cb301ab6
[ "Apache-2.0" ]
1
2020-01-14T18:23:45.000Z
2020-01-14T18:23:45.000Z
nba_dashboard/api_endpoints/player.py
jsonchin/nba_dfs_dashboard
4f91c435531d6dc7589f2a5eafe91c42cb301ab6
[ "Apache-2.0" ]
null
null
null
nba_dashboard/api_endpoints/player.py
jsonchin/nba_dfs_dashboard
4f91c435531d6dc7589f2a5eafe91c42cb301ab6
[ "Apache-2.0" ]
null
null
null
""" Contains functions that map to api_request routes. - /player/{player_id}/profile - /player/{player_id}/logs - /player/{player_id}/averages """ from flask import request, url_for import json from .. import app from .. import db_utils from .utils import map_rows_to_cols from collections import defaultdict CURRENT_...
29.115942
134
0.4888
451
4,018
4.144124
0.261641
0.094168
0.048154
0.036383
0.477261
0.413055
0.326913
0.225789
0.225789
0.225789
0
0.026512
0.399204
4,018
137
135
29.328467
0.747722
0.077153
0
0.518868
0
0.018868
0.667034
0.033875
0
0
0
0
0
1
0.028302
false
0
0.056604
0
0.113208
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ec47afff6637ef208551d02ff5af005166b70359
422
py
Python
run.py
JacobChen258/AI-Markov-Probability
909696597850e746e1cd7eef06df4aee0ce67ef2
[ "MIT" ]
null
null
null
run.py
JacobChen258/AI-Markov-Probability
909696597850e746e1cd7eef06df4aee0ce67ef2
[ "MIT" ]
null
null
null
run.py
JacobChen258/AI-Markov-Probability
909696597850e746e1cd7eef06df4aee0ce67ef2
[ "MIT" ]
null
null
null
from utils import GFrame from sokoban import Sokoban from sokoban import TileMap from argparse import ArgumentParser if __name__ == "__main__": parser = ArgumentParser() parser.add_argument("-m", "--map", help="Map to run on", type=str, required = False, default = "test") args = parser.parse_args() fr...
24.823529
104
0.701422
56
422
5.107143
0.607143
0.076923
0.118881
0
0
0
0
0
0
0
0
0.005747
0.175355
422
16
105
26.375
0.816092
0.049763
0
0
0
0
0.09799
0
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
ec567362e4de27cab20b0dad3a7a22e25076a250
2,503
py
Python
main.py
xanderstevenson/network-automation-demo
0300675c5e8dc15510a7f4ddfa9997e37b34951b
[ "MIT" ]
1
2021-02-15T13:11:09.000Z
2021-02-15T13:11:09.000Z
main.py
xanderstevenson/swiss-army-conf
0300675c5e8dc15510a7f4ddfa9997e37b34951b
[ "MIT" ]
null
null
null
main.py
xanderstevenson/swiss-army-conf
0300675c5e8dc15510a7f4ddfa9997e37b34951b
[ "MIT" ]
null
null
null
# import stsndard and non-standard libraries from netmiko import ConnectHandler from getpass import getpass from prettytable import PrettyTable import os # import other modules from ssh.ssh_interfaces import ssh_interfaces from ssh.ssh_startup_config import ssh_startup_config from ssh.ssh_runnin_config import ssh_run...
35.757143
80
0.491011
213
2,503
5.089202
0.309859
0.058118
0.083026
0.119926
0.211255
0.055351
0
0
0
0
0
0.008055
0.305633
2,503
69
81
36.275362
0.61565
0.051538
0
0.134615
0
0.076923
0.424588
0
0
0
0
0
0
1
0
false
0.134615
0.173077
0
0.173077
0.057692
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
ec570453cb05a0255799994e9c13e71aae5097b5
3,612
py
Python
tools/cluster.py
Mutefish0/graduation-project
b6c47e946a6ed2fe25389881828e15b5e522eeb5
[ "Apache-2.0" ]
null
null
null
tools/cluster.py
Mutefish0/graduation-project
b6c47e946a6ed2fe25389881828e15b5e522eeb5
[ "Apache-2.0" ]
null
null
null
tools/cluster.py
Mutefish0/graduation-project
b6c47e946a6ed2fe25389881828e15b5e522eeb5
[ "Apache-2.0" ]
null
null
null
#coding=utf8 # KMeansCluster: # train(vectors, k) -> (means, groups) import numpy as np import random class KMeansCluster (object): """ k-means 聚类 """ def __init__(self): """ `distance`: 训练时所用的距离公式 """ self.weights = None def _dist(self, p1, p2): """ ...
25.985612
81
0.468162
402
3,612
4.169154
0.266169
0.052506
0.01432
0.02864
0.085919
0.070406
0
0
0
0
0
0.017225
0.405316
3,612
138
82
26.173913
0.763035
0.043189
0
0.113636
0
0
0.019344
0
0
0
0
0
0
0
null
null
0
0.022727
null
null
0.034091
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
6b4d5a84c71738ec66958a42ffc180d8388393de
517
py
Python
migrations/0002_auto_20201016_0142.py
communitysoft/discoursessoclient
7905378fb2c004e7f5849fee60eb4ac6a6ae163e
[ "MIT" ]
null
null
null
migrations/0002_auto_20201016_0142.py
communitysoft/discoursessoclient
7905378fb2c004e7f5849fee60eb4ac6a6ae163e
[ "MIT" ]
null
null
null
migrations/0002_auto_20201016_0142.py
communitysoft/discoursessoclient
7905378fb2c004e7f5849fee60eb4ac6a6ae163e
[ "MIT" ]
null
null
null
# Generated by Django 2.2.12 on 2020-10-16 01:42 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('discoursessoclient', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='ssorecord', name='id', ...
22.478261
70
0.586074
50
517
5.96
0.74
0.060403
0.120805
0.147651
0
0
0
0
0
0
0
0.055402
0.301741
517
22
71
23.5
0.770083
0.088975
0
0.25
1
0
0.130064
0
0
0
0
0
0
1
0
false
0
0.0625
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6b5216e5950167883f7a7b6df31b4410a14ba81c
6,873
py
Python
tests/unit/core/agent/test_manager.py
tim-schilling/scout_apm_python
aa334294f5e5abed22d8f268ff9978f5a857a367
[ "MIT" ]
60
2018-04-15T04:09:39.000Z
2022-03-29T12:10:40.000Z
tests/unit/core/agent/test_manager.py
tim-schilling/scout_apm_python
aa334294f5e5abed22d8f268ff9978f5a857a367
[ "MIT" ]
326
2018-03-28T16:09:13.000Z
2022-03-03T13:50:23.000Z
tests/unit/core/agent/test_manager.py
tim-schilling/scout_apm_python
aa334294f5e5abed22d8f268ff9978f5a857a367
[ "MIT" ]
25
2018-05-30T17:59:46.000Z
2022-02-24T19:40:02.000Z
# coding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals import errno import logging import sys from scout_apm.core.agent.manager import ( CoreAgentManager, get_socket_path, parse_manifest, ) from scout_apm.core.config import scout_config from tests.compat import m...
30.0131
82
0.603376
805
6,873
4.857143
0.137888
0.087468
0.046036
0.055243
0.747826
0.704348
0.678261
0.629923
0.609719
0.57468
0
0.012434
0.286192
6,873
228
83
30.144737
0.78455
0.001746
0
0.522727
0
0
0.150022
0.058609
0
0
0
0
0.176136
1
0.102273
false
0
0.039773
0
0.159091
0.005682
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6b55b5421d122615b0760d518633a1402121b7bc
6,673
py
Python
GCE/.ipynb_checkpoints/train_for_GCE-checkpoint.py
yjbang/math6380
045bf9dd877b4b387580459fd747a4e428cbe8ff
[ "MIT" ]
1
2021-09-09T14:28:01.000Z
2021-09-09T14:28:01.000Z
GCE/.ipynb_checkpoints/train_for_GCE-checkpoint.py
yjbang/Model-Generalization-for-Fact-Checking
045bf9dd877b4b387580459fd747a4e428cbe8ff
[ "MIT" ]
null
null
null
GCE/.ipynb_checkpoints/train_for_GCE-checkpoint.py
yjbang/Model-Generalization-for-Fact-Checking
045bf9dd877b4b387580459fd747a4e428cbe8ff
[ "MIT" ]
null
null
null
from __future__ import print_function import torch import torch.nn as nn import torch.optim as optim import torch.nn.functional as F import torch.backends.cudnn as cudnn import torchvision import torchvision.transforms as transforms import os import argparse import csv from utils import * from GCEloss import GCELo...
32.55122
113
0.602428
789
6,673
4.959442
0.244613
0.0276
0.052134
0.011245
0.359315
0.328648
0.290825
0.275492
0.24278
0.200358
0
0.014283
0.255058
6,673
205
114
32.55122
0.772883
0.020081
0
0.264901
0
0
0.131579
0.017082
0
0
0
0
0.006623
0
null
null
0
0.086093
null
null
0.046358
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
6b59a567892c1696a916a84ed318c0c531b6419a
1,680
py
Python
example.py
shawnchin/hexaviz
2ef731a37ec97dfb6c806c1413e596ad87549758
[ "MIT" ]
null
null
null
example.py
shawnchin/hexaviz
2ef731a37ec97dfb6c806c1413e596ad87549758
[ "MIT" ]
1
2015-11-24T13:33:22.000Z
2015-11-24T13:33:22.000Z
example.py
shawnchin/hexaviz
2ef731a37ec97dfb6c806c1413e596ad87549758
[ "MIT" ]
1
2015-11-24T00:09:28.000Z
2015-11-24T00:09:28.000Z
import hexaviz def main(): m = hexaviz.Mesh() m.add_component('service1', needs_ports=['n1', 'n2'], provides_ports=['p1']) m.add_component('service2', needs_ports=['n1', 'n2'], provides_ports=['p2']) m.add_component('service3', needs_ports=['n13', 'n23'], provides_ports=['p13', 'p23']) m.add_comp...
36.521739
90
0.671429
221
1,680
4.773756
0.20362
0.075829
0.098578
0.03981
0.466351
0.344076
0.064455
0
0
0
0
0.050137
0.133333
1,680
45
91
37.333333
0.674451
0
0
0
0
0
0.214286
0
0
0
0
0
0
0
null
null
0
0.029412
null
null
0.029412
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
6b600334025f1c80ea98d8b00b012fb412039869
5,314
py
Python
sdk/python/feast/specs/FeatureGroupSpec_pb2.py
davidheryanto/feast
72cc8bd2cd0040f7bc44df255f95bad00cacd720
[ "Apache-2.0" ]
null
null
null
sdk/python/feast/specs/FeatureGroupSpec_pb2.py
davidheryanto/feast
72cc8bd2cd0040f7bc44df255f95bad00cacd720
[ "Apache-2.0" ]
null
null
null
sdk/python/feast/specs/FeatureGroupSpec_pb2.py
davidheryanto/feast
72cc8bd2cd0040f7bc44df255f95bad00cacd720
[ "Apache-2.0" ]
2
2020-05-20T22:07:11.000Z
2021-07-25T17:28:24.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: feast/specs/FeatureGroupSpec.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message fro...
39.073529
558
0.762138
649
5,314
5.976888
0.220339
0.046404
0.100541
0.061872
0.520237
0.459912
0.424336
0.385666
0.385666
0.385666
0
0.03754
0.112721
5,314
135
559
39.362963
0.785154
0.06417
0
0.553571
1
0.017857
0.23142
0.199194
0
0
0
0
0
1
0
false
0
0.053571
0
0.053571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6b66e727845796f97247827e5e57852939089ec8
696
py
Python
pythonexercicios/ex042-analisandotrianguloV2.py
marroni1103/exercicios-pyton
734162cc4b63ed30d754a6efe4c5622baaa1a50b
[ "MIT" ]
null
null
null
pythonexercicios/ex042-analisandotrianguloV2.py
marroni1103/exercicios-pyton
734162cc4b63ed30d754a6efe4c5622baaa1a50b
[ "MIT" ]
null
null
null
pythonexercicios/ex042-analisandotrianguloV2.py
marroni1103/exercicios-pyton
734162cc4b63ed30d754a6efe4c5622baaa1a50b
[ "MIT" ]
null
null
null
print('\033[34m-=\033[m'*12) print('Analisador de Trianulo') print('\033[34m-=\033[m'*12) a = float(input('Informe a primeira reta: ')) b = float(input('Informe a segunda reta: ')) c = float(input('Informe a terceira reta: ')) if a + b > c and a + c > b and b + c > a: print(f'Com essas retas {a} X {b} X {c} conse...
36.631579
83
0.596264
125
696
3.32
0.304
0.024096
0.122892
0.13012
0.419277
0.419277
0.231325
0.231325
0.115663
0.115663
0
0.037665
0.237069
696
18
84
38.666667
0.743879
0
0
0.125
0
0
0.505747
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
6b692cdfba3e6d0a390e44d86ebacf46d3e38232
486
py
Python
pylisp/packet/lisp/control/constants.py
steffann/pylisp
84d084b03dfb408d439ffa2b4b60495e8ca78b5e
[ "BSD-3-Clause" ]
3
2015-10-01T11:39:44.000Z
2017-03-09T00:21:29.000Z
pylisp/packet/lisp/control/constants.py
steffann/pylisp
84d084b03dfb408d439ffa2b4b60495e8ca78b5e
[ "BSD-3-Clause" ]
1
2017-02-10T08:34:16.000Z
2017-02-10T08:34:16.000Z
pylisp/packet/lisp/control/constants.py
steffann/pylisp
84d084b03dfb408d439ffa2b4b60495e8ca78b5e
[ "BSD-3-Clause" ]
2
2015-02-12T09:10:59.000Z
2021-11-05T23:41:28.000Z
''' Created on 7 jan. 2013 @author: sander ''' # The following Key ID values are defined by this specification as used # in any packet type that references a Key ID field: # # Name Number Defined in #----------------------------------------------- # None 0 n/a # ...
25.578947
71
0.512346
67
486
3.537313
0.61194
0.105485
0.067511
0.084388
0.21097
0
0
0
0
0
0
0.112805
0.325103
486
18
72
27
0.609756
0.804527
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6b730f87a0436b1858e5854a29b7140ce942be0c
1,424
py
Python
base/utils/origins.py
korenlev/calipso-cvim
39278a5cf09c40b26a8a143ccc0c8d437961abc2
[ "Apache-2.0" ]
null
null
null
base/utils/origins.py
korenlev/calipso-cvim
39278a5cf09c40b26a8a143ccc0c8d437961abc2
[ "Apache-2.0" ]
null
null
null
base/utils/origins.py
korenlev/calipso-cvim
39278a5cf09c40b26a8a143ccc0c8d437961abc2
[ "Apache-2.0" ]
null
null
null
############################################################################### # Copyright (c) 2017-2020 Koren Lev (Cisco Systems), # # Yaron Yogev (Cisco Systems), Ilia Abashin (Cisco Systems) and others # # # ...
36.512821
79
0.508427
137
1,424
5.109489
0.525547
0.068571
0.051429
0.048571
0.111429
0.111429
0.111429
0.111429
0.111429
0
0
0.012257
0.3125
1,424
38
80
37.473684
0.702758
0.411517
0
0.1
0
0
0.078313
0
0
0
0
0
0
1
0.1
false
0.05
0.05
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6b73c05f1566fefb38d880aa5ac9247d6a1239a8
552
py
Python
complexity_science/ca/rules2d/brians.py
KristerJazz/complexity-science
2340b7467d50c45d06fa93db7603f7f2778d3c4c
[ "BSD-3-Clause" ]
null
null
null
complexity_science/ca/rules2d/brians.py
KristerJazz/complexity-science
2340b7467d50c45d06fa93db7603f7f2778d3c4c
[ "BSD-3-Clause" ]
2
2021-03-28T16:23:00.000Z
2021-04-05T08:10:35.000Z
complexity_science/ca/rules2d/brians.py
KristerJazz/complexity-science
2340b7467d50c45d06fa93db7603f7f2778d3c4c
[ "BSD-3-Clause" ]
null
null
null
import numpy as np class BriansBrain: def apply(self, current, neighbors): result = np.zeros_like(current) sum_one = np.zeros_like(current) for key in neighbors: sum_one += (neighbors[key]==1).astype(int) current_state = current.copy() zero = (current_state ==0)...
29.052632
57
0.606884
72
552
4.444444
0.430556
0.2625
0.178125
0.1125
0
0
0
0
0
0
0
0.022727
0.282609
552
18
58
30.666667
0.785354
0
0
0
0
0
0
0
0
0
0
0
0
1
0.066667
false
0
0.066667
0
0.266667
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
6b831c05b9beaf5f772a50be0cc4098a3b5efde6
1,525
py
Python
composer-dynamic-dag-demo/gcs_loop_dag.py
anandj123/gcpdemo
96ef4c64047b16f397369c71ace74daa7d43acec
[ "MIT" ]
null
null
null
composer-dynamic-dag-demo/gcs_loop_dag.py
anandj123/gcpdemo
96ef4c64047b16f397369c71ace74daa7d43acec
[ "MIT" ]
null
null
null
composer-dynamic-dag-demo/gcs_loop_dag.py
anandj123/gcpdemo
96ef4c64047b16f397369c71ace74daa7d43acec
[ "MIT" ]
null
null
null
from airflow import DAG from airflow.operators.dummy_operator import DummyOperator from airflow.operators.bash_operator import BashOperator from airflow.operators.python_operator import PythonOperator from airflow.contrib.operators.gcs_list_operator import GoogleCloudStorageListOperator from airflow.models import Varia...
36.309524
130
0.694426
188
1,525
5.404255
0.462766
0.086614
0.059055
0.035433
0
0
0
0
0
0
0
0.008347
0.214426
1,525
42
131
36.309524
0.839733
0.030164
0
0.060606
0
0
0.145368
0.066261
0
0
0
0
0
1
0.030303
false
0
0.30303
0
0.333333
0.030303
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
6b85f4abd3aced7b088690f1385a31fbba845a96
811
py
Python
crypto/diffie_hellman/example.py
yujungcheng/algorithm_and_data_structure
3742238227067217b82bf35ca3a968db4375f3c9
[ "Apache-2.0" ]
null
null
null
crypto/diffie_hellman/example.py
yujungcheng/algorithm_and_data_structure
3742238227067217b82bf35ca3a968db4375f3c9
[ "Apache-2.0" ]
null
null
null
crypto/diffie_hellman/example.py
yujungcheng/algorithm_and_data_structure
3742238227067217b82bf35ca3a968db4375f3c9
[ "Apache-2.0" ]
1
2020-04-16T01:17:04.000Z
2020-04-16T01:17:04.000Z
#!/usr/bin/python3 # ref: https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange#Cryptographic_explanation # ref: https://en.wikipedia.org/wiki/RSA_(cryptosystem) shared_modulus = 23 shared_base = 5 print("shared modulus: %s" % shared_modulus) print("shared base: %s" % shared_base) print("-"*40) alice_sec...
27.033333
98
0.711467
131
811
4.206107
0.267176
0.165154
0.072595
0.068966
0.274047
0.214156
0.119782
0
0
0
0
0.02381
0.119605
811
29
99
27.965517
0.747899
0.205919
0
0.157895
0
0
0.275862
0
0
0
0
0
0
1
0
false
0
0
0
0
0.578947
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
6b865733a6c745d23069582c658896c11ad655ee
3,571
py
Python
optimization/experiments/util.py
adalrsjr1/smart-tuning
d8cb9f4ba41e7c068eda75b0fb581dcc8f329064
[ "MIT" ]
1
2021-10-04T18:02:55.000Z
2021-10-04T18:02:55.000Z
optimization/experiments/util.py
adalrsjr1/smart-tuning
d8cb9f4ba41e7c068eda75b0fb581dcc8f329064
[ "MIT" ]
null
null
null
optimization/experiments/util.py
adalrsjr1/smart-tuning
d8cb9f4ba41e7c068eda75b0fb581dcc8f329064
[ "MIT" ]
null
null
null
from collections import namedtuple import requests import numpy as np class PrometheusAccessLayer: def __init__(self, prometheus_url:str, prometheus_port:str): self.url = prometheus_url self.port = prometheus_port def query(self, query, timestamp=None): url = f'http://{self.url}:{self...
29.03252
106
0.554747
388
3,571
4.971649
0.201031
0.033178
0.029031
0.031104
0.130119
0.111975
0.099533
0.068429
0.068429
0
0
0.002832
0.307757
3,571
123
107
29.03252
0.777508
0.092411
0
0.1125
0
0.0125
0.114002
0.025093
0
0
0
0
0
1
0.2
false
0
0.0375
0.0625
0.5875
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
6b8b6876c9cbad72f6f1ac781bcb6989d456ba2a
1,237
py
Python
tests/reconstruction_algorithms/test_baseline_delay_and_sum.py
IPASC/standardised-image-reconstruction
75d350a9f8da57413fabbd8dd5ed23fdfb35d4ed
[ "MIT" ]
3
2021-09-07T10:44:48.000Z
2021-12-15T10:51:39.000Z
tests/reconstruction_algorithms/test_baseline_delay_and_sum.py
IPASC/standardised-image-reconstruction
75d350a9f8da57413fabbd8dd5ed23fdfb35d4ed
[ "MIT" ]
12
2021-11-14T23:01:28.000Z
2022-03-29T19:08:13.000Z
tests/reconstruction_algorithms/test_baseline_delay_and_sum.py
IPASC/standardised-image-reconstruction
75d350a9f8da57413fabbd8dd5ed23fdfb35d4ed
[ "MIT" ]
null
null
null
""" SPDX-FileCopyrightText: 2021 International Photoacoustic Standardisation Consortium (IPASC) SPDX-FileCopyrightText: 2021 Janek Gröhl SPDX-FileCopyrightText: 2021 François Varray SPDX-License-Identifier: MIT """ from tests.reconstruction_algorithms import TestClassBase from image_reconstruction.reconstruction_algor...
30.170732
93
0.666128
145
1,237
5.434483
0.434483
0.079949
0.095178
0.049492
0.053299
0
0
0
0
0
0
0.035294
0.244139
1,237
40
94
30.925
0.807487
0.1827
0
0
0
0
0.090728
0
0
0
0
0
0
1
0.035714
false
0
0.071429
0.035714
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6b8ecd80013d2d2c1ddadf8cb26144e20099340a
1,102
py
Python
inter/models/commands.py
zhudotexe/discord-slash-roller
8da92616d2e5e62544b52155a49ce8f2f80cb014
[ "MIT" ]
1
2021-08-22T15:27:21.000Z
2021-08-22T15:27:21.000Z
inter/models/commands.py
zhudotexe/discord-slash-roller
8da92616d2e5e62544b52155a49ce8f2f80cb014
[ "MIT" ]
null
null
null
inter/models/commands.py
zhudotexe/discord-slash-roller
8da92616d2e5e62544b52155a49ce8f2f80cb014
[ "MIT" ]
null
null
null
""" This file implements the command models found at https://discord.com/developers/docs/interactions/slash-commands#application-command-object. """ from __future__ import annotations import enum from typing import List, Optional, Union from pydantic import BaseModel from .discord import snowflake __all__ = ('Comma...
21.607843
91
0.725045
121
1,102
6.487603
0.561983
0.026752
0.04586
0.053503
0
0
0
0
0
0
0
0.010101
0.19147
1,102
50
92
22.04
0.870932
0.127042
0
0.147059
0
0
0.0587
0
0
0
0
0
0
1
0
false
0
0.147059
0
0.970588
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
6b931b6ca2119e6a984bf62ff90087353cf9d35c
854
py
Python
takeyourmeds/groups/groups_billing/migrations/0001_initial.py
takeyourmeds/takeyourmeds-web
edf24188f26948902cfb69793b4d5aa3cf8b6dea
[ "MIT" ]
11
2015-06-01T16:31:42.000Z
2022-03-01T01:20:58.000Z
takeyourmeds/groups/groups_billing/migrations/0001_initial.py
takeyourmeds/takeyourmeds-web
edf24188f26948902cfb69793b4d5aa3cf8b6dea
[ "MIT" ]
111
2015-07-20T13:23:16.000Z
2017-09-08T08:17:10.000Z
takeyourmeds/groups/groups_billing/migrations/0001_initial.py
takeyourmeds/takeyourmeds-web
edf24188f26948902cfb69793b4d5aa3cf8b6dea
[ "MIT" ]
6
2015-07-15T08:08:12.000Z
2018-06-23T00:13:13.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9c1 on 2015-11-28 18:54 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('groups', '0003_auto_20151128_1854'), ...
28.466667
147
0.593677
90
854
5.477778
0.688889
0.048682
0.056795
0.089249
0
0
0
0
0
0
0
0.061389
0.275176
854
29
148
29.448276
0.735057
0.078454
0
0
1
0
0.121173
0.056122
0
0
0
0
0
1
0
false
0
0.142857
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6b9344c5e45e65c779e0d387befcdc2a53d19115
4,308
py
Python
examples/full_example.py
CedricTravelletti/MESLAS
362c7f13c5f3d7261e7603920c22429275a4958b
[ "MIT" ]
null
null
null
examples/full_example.py
CedricTravelletti/MESLAS
362c7f13c5f3d7261e7603920c22429275a4958b
[ "MIT" ]
null
null
null
examples/full_example.py
CedricTravelletti/MESLAS
362c7f13c5f3d7261e7603920c22429275a4958b
[ "MIT" ]
null
null
null
""" Demonstrates how to define a multivariate Gaussian Random Field, sample a realization and plot it. """ import numpy as np import torch from meslas.means import LinearMean from meslas.covariance.spatial_covariance_functions import Matern32 from meslas.covariance.cross_covariances import UniformMixing from meslas.c...
36.508475
90
0.685237
663
4,308
4.374057
0.354449
0.007586
0.010345
0.004138
0.032069
0.015862
0
0
0
0
0
0.030933
0.152043
4,308
117
91
36.820513
0.762935
0.587279
0
0
0
0
0.032615
0
0
0
0
0
0
1
0
false
0
0.324324
0
0.324324
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
1
0
0
0
0
1
6b9a0c69017c7cf9404309df6dec99552fe52d89
425
py
Python
pacote-download/Exercicios-desafios/exe067.py
stephacastro/Python-
83ab2312d568ca088e033d574c10569a8af95460
[ "MIT" ]
null
null
null
pacote-download/Exercicios-desafios/exe067.py
stephacastro/Python-
83ab2312d568ca088e033d574c10569a8af95460
[ "MIT" ]
null
null
null
pacote-download/Exercicios-desafios/exe067.py
stephacastro/Python-
83ab2312d568ca088e033d574c10569a8af95460
[ "MIT" ]
null
null
null
'''Faça um programa que mostre a tabuada de varios numeros, um de cada vez, para cada valor digitado pelo usuario. O programa sera interrompido quando u número solicitado for negativo''' while True: n = int(input('Quer ver a taboada de qual valor: ')) print('-' * 35) if n < 0: break for c in ra...
35.416667
114
0.637647
68
425
3.985294
0.705882
0.051661
0
0
0
0
0
0
0
0
0
0.024768
0.24
425
12
115
35.416667
0.814241
0.423529
0
0.222222
0
0
0.341667
0
0
0
0
0
0
1
0
false
0
0
0
0
0.444444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
6b9afe238f927e0b051d3c90b03ff3e3f6c307f9
2,693
py
Python
module/M_drown.py
mehrdad-shokri/a2sv
4021632cfe479be7fee9e17c122cd8a664b6deb3
[ "MIT" ]
655
2017-09-11T19:35:20.000Z
2022-03-31T08:01:10.000Z
module/M_drown.py
mehrdad-shokri/a2sv
4021632cfe479be7fee9e17c122cd8a664b6deb3
[ "MIT" ]
41
2016-02-01T13:00:20.000Z
2020-11-20T18:58:37.000Z
module/M_drown.py
mehrdad-shokri/a2sv
4021632cfe479be7fee9e17c122cd8a664b6deb3
[ "MIT" ]
262
2017-09-16T22:15:50.000Z
2022-03-31T00:38:42.000Z
import socket from C_display import * #Module def check_tls(hostname,port): client_hello = '16030100d8010000d403037d408377c8e5204623867604ab0ee4a140043a4e383f770a1e6b66c2d45d34e820de8656a211d79fa9809e9ae6404bb7bcc372afcdd6f51882e39ac2241a8535090016c02bc02fc00ac009c013c01400330039002f0035000a0100007500000014001200...
32.445783
463
0.72967
291
2,693
6.61512
0.28866
0.08
0.074805
0.054545
0.255065
0.183377
0.183377
0.120519
0.050909
0.050909
0
0.247226
0.163387
2,693
82
464
32.841463
0.60719
0.036391
0
0.397059
0
0
0.305673
0.219992
0
0
0.007719
0
0
1
0.029412
false
0
0.029412
0
0.147059
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6bad7831d8a3ca0647246465499a6b4a5eafceb6
1,674
py
Python
model_test.py
Whu-gaozhao/my_mmdetection3d
798dcdb7a2358220bb588399f179cf8a98e55cf8
[ "Apache-2.0" ]
null
null
null
model_test.py
Whu-gaozhao/my_mmdetection3d
798dcdb7a2358220bb588399f179cf8a98e55cf8
[ "Apache-2.0" ]
null
null
null
model_test.py
Whu-gaozhao/my_mmdetection3d
798dcdb7a2358220bb588399f179cf8a98e55cf8
[ "Apache-2.0" ]
1
2022-03-03T08:32:06.000Z
2022-03-03T08:32:06.000Z
# class Base: # def __init__(self,a,b=1): # print("a:",a) # print("b:",b) # class A(Base): # def __init__(self,c,d=1,**kwargs): # super().__init__(**kwargs) # print("c:",c) # print("d:",d) # a=A('c',a=2) import argparse import copy import mmcv import os import time imp...
27
76
0.718638
260
1,674
4.376923
0.346154
0.04833
0.035149
0.026362
0.029877
0
0
0
0
0
0
0.007057
0.153524
1,674
61
77
27.442623
0.796048
0.137993
0
0
0
0
0.083799
0
0
0
0
0
0
1
0.026316
false
0
0.473684
0
0.526316
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
6bb2fe3d363c52f15cdafbfe9363ecccf531d039
3,080
py
Python
Resources/pygletResource.py
berkeleyhackclub/BeginnerPython
d48d6aa332639abfaa0722fa567b4d1e740450ef
[ "CNRI-Python" ]
7
2018-10-24T04:03:10.000Z
2021-03-15T23:07:54.000Z
Resources/pygletResource.py
berkeleyhackclub/BeginnerPython
d48d6aa332639abfaa0722fa567b4d1e740450ef
[ "CNRI-Python" ]
null
null
null
Resources/pygletResource.py
berkeleyhackclub/BeginnerPython
d48d6aa332639abfaa0722fa567b4d1e740450ef
[ "CNRI-Python" ]
3
2019-01-20T17:42:34.000Z
2020-12-09T02:27:16.000Z
# THIS IS A RESOURCE FOR PYGLET # Make sure you have python3 installed on your computer # _______________________________________________________ # HOW TO: Import the pyglet module. Make sure you run 'pip install' import pyglet # HOW TO: Create a new pyglet window. Set the width, height, and caption properties. windo...
30.49505
97
0.713312
495
3,080
4.274747
0.345455
0.023629
0.04017
0.054348
0.137996
0.125709
0.112476
0.064272
0
0
0
0.022145
0.164286
3,080
100
98
30.8
0.799922
0.378896
0
0.060606
0
0
0.049416
0
0
0
0
0
0
1
0.090909
false
0.060606
0.015152
0
0.106061
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
6bb3d9f3c6f5af4524da65a5c58d720d05807fca
1,407
py
Python
navycut/errors/misc.py
navycut/navycut
1d49621105c7c4683d52a3d2c853ae7165b9dc0d
[ "MIT" ]
13
2021-04-26T04:00:36.000Z
2021-09-18T19:57:58.000Z
navycut/errors/misc.py
FlaskAio/navycut
40f378f1710a26645df8d726c4d1caf33097da50
[ "MIT" ]
21
2021-09-27T03:19:21.000Z
2022-03-31T03:20:59.000Z
navycut/errors/misc.py
FlaskAio/navycut
40f378f1710a26645df8d726c4d1caf33097da50
[ "MIT" ]
7
2021-07-21T06:21:55.000Z
2021-09-02T17:58:04.000Z
class NCBaseError(Exception): def __init__(self, message) -> None: super(NCBaseError, self).__init__(message) class DataTypeMismatchError(Exception): def __init__(self, provided_data, place:str=None, required_data_type:str=None) -> None: message = f"{provided_data} datatype isn't supported for...
43.96875
160
0.739872
149
1,407
6.516779
0.302013
0.086509
0.115345
0.144181
0.129763
0.07415
0.07415
0
0
0
0
0
0.15494
1,407
32
161
43.96875
0.816653
0
0
0.08
0
0.04
0.196023
0.054688
0
0
0
0
0
1
0.28
false
0
0.12
0
0.68
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
6bbb94543956c43e7f798a9a15989b2d18b50d4a
5,130
py
Python
simulation.py
sgpritam/2048-python
1366db6a712b6808699d6b71166487d7cc01a88c
[ "BSD-3-Clause" ]
79
2016-01-01T17:41:11.000Z
2022-02-21T18:18:13.000Z
simulation.py
sgpritam/2048-python
1366db6a712b6808699d6b71166487d7cc01a88c
[ "BSD-3-Clause" ]
4
2017-04-08T15:14:08.000Z
2021-12-25T00:51:34.000Z
simulation.py
sgpritam/2048-python
1366db6a712b6808699d6b71166487d7cc01a88c
[ "BSD-3-Clause" ]
63
2017-02-25T13:54:44.000Z
2022-01-17T18:04:59.000Z
#!/usr/bin/env python # Copyright 2014 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import os import sys import time import random import multiprocessing sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir)) #from...
24.902913
75
0.632749
698
5,130
4.571633
0.326648
0.017549
0.021937
0.020683
0.076465
0.035725
0.035725
0.035725
0.035725
0
0
0.023321
0.230994
5,130
205
76
25.02439
0.785551
0.131969
0
0.108974
0
0
0.16787
0.062726
0
0
0
0
0.00641
0
null
null
0.012821
0.044872
null
null
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
6bbf738be7c45fd3e5ba19833e49142e01560983
551
py
Python
ghostwriter/commandcenter/migrations/0002_auto_20201009_1918.py
bbhunter/Ghostwriter
1b684ddd119feed9891e83b39c9b314b41d086ca
[ "BSD-3-Clause" ]
601
2019-07-30T17:06:37.000Z
2022-03-31T00:55:31.000Z
ghostwriter/commandcenter/migrations/0002_auto_20201009_1918.py
chrismaddalena/Ghostwriter
5a938358450cd0e69a42883b1b18e067644744a8
[ "BSD-3-Clause" ]
150
2019-08-01T07:20:22.000Z
2022-03-29T19:18:02.000Z
ghostwriter/commandcenter/migrations/0002_auto_20201009_1918.py
chrismaddalena/Ghostwriter
5a938358450cd0e69a42883b1b18e067644744a8
[ "BSD-3-Clause" ]
126
2019-07-30T17:42:49.000Z
2022-03-21T20:43:35.000Z
# Generated by Django 2.2.3 on 2020-10-09 19:18 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('commandcenter', '0001_initial'), ] operations = [ migrations.AlterField( model_name='cloudservicesconfiguration', na...
29
196
0.664247
63
551
5.698413
0.809524
0.05571
0
0
0
0
0
0
0
0
0
0.051765
0.228675
551
18
197
30.611111
0.792941
0.08167
0
0
1
0
0.323413
0.051587
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6bd509aac115fffc3dc7e8d9f7a7e8a95773c22c
144
py
Python
tools/pathBuild.py
imondev/ComDown
4de887eaed87ac793baab0d95e654f6c019626c0
[ "MIT" ]
1
2021-07-11T21:58:06.000Z
2021-07-11T21:58:06.000Z
tools/pathBuild.py
imondev/ComDown
4de887eaed87ac793baab0d95e654f6c019626c0
[ "MIT" ]
null
null
null
tools/pathBuild.py
imondev/ComDown
4de887eaed87ac793baab0d95e654f6c019626c0
[ "MIT" ]
null
null
null
from termcolor import colored import os def build(title, path): path=os.path.join(path, title) try: os.mkdir(path) finally: return path
14.4
31
0.729167
23
144
4.565217
0.608696
0
0
0
0
0
0
0
0
0
0
0
0.166667
144
10
32
14.4
0.875
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6bdbf579c0b9567bc74d583189610a9b7722fcf6
1,600
py
Python
examples/starwars/data.py
radekwlsk/graphene-django
b552dcac24364d3ef824f865ba419c74605942b2
[ "MIT" ]
4,038
2016-09-18T01:45:22.000Z
2022-03-31T01:06:57.000Z
examples/starwars/data.py
radekwlsk/graphene-django
b552dcac24364d3ef824f865ba419c74605942b2
[ "MIT" ]
1,104
2016-09-19T20:10:22.000Z
2022-03-30T17:37:46.000Z
examples/starwars/data.py
radekwlsk/graphene-django
b552dcac24364d3ef824f865ba419c74605942b2
[ "MIT" ]
791
2016-09-18T13:48:11.000Z
2022-03-29T08:32:06.000Z
from .models import Character, Faction, Ship def initialize(): human = Character(name="Human") human.save() droid = Character(name="Droid") droid.save() rebels = Faction(id="1", name="Alliance to Restore the Republic", hero=human) rebels.save() empire = Faction(id="2", name="Galactic Em...
22.535211
81
0.655625
227
1,600
4.53304
0.312775
0.052478
0.049563
0.033042
0.038873
0.038873
0
0
0
0
0
0.009339
0.196875
1,600
70
82
22.857143
0.79144
0.079375
0
0.047619
0
0
0.097279
0
0
0
0
0
0
1
0.166667
false
0
0.02381
0.119048
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
1
0
0
0
1
6bde8d3356446612903ffd323b08c23939c49ebe
958
py
Python
rss/state_handler.py
balemessenger/rss_reader_bot
453f817544e5ae54c7bbee39a1fad97064de5da4
[ "Apache-2.0" ]
null
null
null
rss/state_handler.py
balemessenger/rss_reader_bot
453f817544e5ae54c7bbee39a1fad97064de5da4
[ "Apache-2.0" ]
1
2021-06-02T00:00:14.000Z
2021-06-02T00:00:14.000Z
rss/state_handler.py
balemessenger/rss_reader_bot
453f817544e5ae54c7bbee39a1fad97064de5da4
[ "Apache-2.0" ]
1
2019-07-16T10:07:13.000Z
2019-07-16T10:07:13.000Z
from rss.objects import bot from rss.create_rss import * from main_config import BotConfig from rss.default import error, start_command_handler, start_message_handler, guide_message_handler, back_message_handler from rss.remove_rss import remove_rss_conversation_handler from rss.rss_list import get_rss_list_handler # f...
36.846154
120
0.814196
137
958
5.335766
0.240876
0.05472
0.114911
0.155951
0.268126
0.087551
0
0
0
0
0
0
0.122129
958
25
121
38.32
0.869203
0.038622
0
0
0
0
0
0
0
0
0
0
0
1
0.045455
false
0
0.318182
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
6be55cd3c1cf374ad3246b25a74a0567c993a6b9
893
py
Python
scraper/storage_spiders/sieuthisua365vn.py
chongiadung/choinho
d2a216fe7a5064d73cdee3e928a7beef7f511fd1
[ "MIT" ]
null
null
null
scraper/storage_spiders/sieuthisua365vn.py
chongiadung/choinho
d2a216fe7a5064d73cdee3e928a7beef7f511fd1
[ "MIT" ]
10
2020-02-11T23:34:28.000Z
2022-03-11T23:16:12.000Z
scraper/storage_spiders/sieuthisua365vn.py
chongiadung/choinho
d2a216fe7a5064d73cdee3e928a7beef7f511fd1
[ "MIT" ]
3
2018-08-05T14:54:25.000Z
2021-06-07T01:49:59.000Z
# Auto generated by generator.py. Delete this line if you make modification. from scrapy.spiders import Rule from scrapy.linkextractors import LinkExtractor XPATH = { 'name' : "//h1[@class='titleProduct']", 'price' : "//div[@class='desc3']/span[@class='price']", 'category' : "//div[@class='inner']/a", ...
33.074074
84
0.634938
99
893
5.606061
0.656566
0.057658
0.079279
0
0
0
0
0
0
0
0
0.016949
0.141097
893
26
85
34.346154
0.706649
0.157895
0
0
1
0
0.470588
0.241979
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6be90ca746decca73fe417c1abdeccea638b933f
1,292
py
Python
evaluation/2019-06-Journal/expressiveness-python/uncertain/boolean.py
lmouline/aintea
687eae73d25a99c5de2b0be02c90ebd0ad4a1262
[ "Apache-2.0" ]
1
2019-02-27T15:15:20.000Z
2019-02-27T15:15:20.000Z
evaluation/2019-06-Journal/expressiveness-python/uncertain/boolean.py
lmouline/uscript
687eae73d25a99c5de2b0be02c90ebd0ad4a1262
[ "Apache-2.0" ]
5
2019-02-08T13:30:30.000Z
2019-02-22T14:46:31.000Z
evaluation/2019-06-Journal/expressiveness-python/uncertain/boolean.py
lmouline/uscript
687eae73d25a99c5de2b0be02c90ebd0ad4a1262
[ "Apache-2.0" ]
null
null
null
import openturns as ot class UBoolean: """ Wrapper class of ot.Bernoulli to enable boolean operator """ def __init__(self, confidence=ot.Bernoulli()): self.confidence = confidence def __str__(self): return "UBoolean(" + str(self.confidence.getP()) + ")" def __and__(self, oth...
30.761905
104
0.608359
143
1,292
5.363636
0.307692
0.146023
0.140808
0.097784
0.3103
0.3103
0.3103
0.3103
0.3103
0.3103
0
0.002146
0.278638
1,292
41
105
31.512195
0.820815
0.043344
0
0.285714
0
0
0.041017
0
0
0
0
0
0
1
0.25
false
0
0.035714
0.071429
0.642857
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
6bf85f802c95642389a0c5becdbd43c066505bb7
236
py
Python
runtests/test.py
thautwarm/gkdtikz
28249378be47e9a906889e941778d4de764521c0
[ "MIT" ]
1
2020-12-03T08:31:02.000Z
2020-12-03T08:31:02.000Z
runtests/test.py
thautwarm/gkdtikz
28249378be47e9a906889e941778d4de764521c0
[ "MIT" ]
null
null
null
runtests/test.py
thautwarm/gkdtikz
28249378be47e9a906889e941778d4de764521c0
[ "MIT" ]
null
null
null
import yaml import io from gkdtikz.tree import root, GkdInterface n = yaml.load(""" a: - a - b """, Loader=yaml.SafeLoader) root(lambda x: print(x, end=''), n) class S: globals = {} GkdInterface.load(S, lambda x: print(x, end=''))
16.857143
48
0.652542
37
236
4.162162
0.567568
0.090909
0.155844
0.168831
0.207792
0
0
0
0
0
0
0
0.165254
236
14
48
16.857143
0.781726
0
0
0
0
0
0.050633
0
0
0
0
0
0
1
0
false
0
0.25
0
0.416667
0.166667
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6bf869d26a14e3c584f3d05273c9b451c9eb2f74
1,530
py
Python
python/INNNER_CLASS/multilever_inner_class.py
priyanshgupta1998/Programming-
f65e28d59f171d9bf4ef5522b9ffcdb784652a38
[ "MIT" ]
null
null
null
python/INNNER_CLASS/multilever_inner_class.py
priyanshgupta1998/Programming-
f65e28d59f171d9bf4ef5522b9ffcdb784652a38
[ "MIT" ]
null
null
null
python/INNNER_CLASS/multilever_inner_class.py
priyanshgupta1998/Programming-
f65e28d59f171d9bf4ef5522b9ffcdb784652a38
[ "MIT" ]
null
null
null
#Multilevel Inner Classes #In multilevel inner classes, the inner class contains another class which inner classes to the previous one. class Outer: """Outer Class""" def __init__(self): ## instantiating the 'Inner' class self.inner = self.Inner() ## instantiating the multilevel 'Inn...
27.321429
110
0.613725
185
1,530
4.983784
0.178378
0.130152
0.083514
0.069414
0.607375
0.40564
0.303688
0.247289
0.08243
0
0
0.008364
0.296732
1,530
55
111
27.818182
0.848513
0.209804
0
0.416667
0
0
0.159346
0
0
0
0
0
0
1
0.25
false
0
0
0
0.375
0.25
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
6bf8ba3cb44a907af1193d04e6c4eba0c4d6b51a
740
py
Python
fulltext/backends/__pptx.py
mushroom2/fulltext
c8b9caca70a86383e8e907f19cdb84f8621bde89
[ "MIT" ]
83
2015-08-14T02:02:42.000Z
2022-01-17T23:02:35.000Z
fulltext/backends/__pptx.py
mushroom2/fulltext
c8b9caca70a86383e8e907f19cdb84f8621bde89
[ "MIT" ]
59
2017-09-25T20:53:16.000Z
2020-08-09T11:13:20.000Z
fulltext/backends/__pptx.py
mushroom2/fulltext
c8b9caca70a86383e8e907f19cdb84f8621bde89
[ "MIT" ]
15
2015-04-09T13:59:21.000Z
2022-03-12T15:21:07.000Z
from __future__ import absolute_import import pptx from six import StringIO from fulltext.util import BaseBackend from fulltext.util import exiftool_title class Backend(BaseBackend): def handle_path(self, path): text, p = StringIO(), pptx.Presentation(path) for slide in p.slides: fo...
28.461538
69
0.609459
91
740
4.813187
0.483516
0.054795
0.073059
0.100457
0
0
0
0
0
0
0
0
0.32027
740
25
70
29.6
0.870775
0
0
0
0
0
0.005405
0
0
0
0
0
0
1
0.105263
false
0
0.263158
0.052632
0.526316
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
6bfbca22ef1a61fee08a8c56e4d6f7b5b0473adc
925
py
Python
api/migrations/0052_auto_20190418_1357.py
pvital/patchew
70834c81ebee66a975df5f847d4b6ad62ddde6af
[ "MIT" ]
54
2016-08-06T18:04:22.000Z
2022-02-24T22:55:07.000Z
api/migrations/0052_auto_20190418_1357.py
pvital/patchew
70834c81ebee66a975df5f847d4b6ad62ddde6af
[ "MIT" ]
125
2016-06-21T01:06:29.000Z
2022-03-25T16:59:18.000Z
api/migrations/0052_auto_20190418_1357.py
pvital/patchew
70834c81ebee66a975df5f847d4b6ad62ddde6af
[ "MIT" ]
17
2016-08-23T15:44:46.000Z
2021-11-22T16:13:36.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.20 on 2019-04-18 13:57 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('api', '0051_populate_property_fields'), ] operations = [ migrations.AlterUniqueTog...
24.342105
49
0.565405
72
925
7.097222
0.597222
0.111546
0.129159
0.105675
0.183953
0.183953
0.183953
0
0
0
0
0.0352
0.324324
925
37
50
25
0.7824
0.074595
0
0.466667
1
0
0.159437
0.033998
0
0
0
0
0
1
0
false
0
0.066667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6bfd0a879a654617168f73ee39da132cdaab1d32
1,683
py
Python
tests/features/change_theme_on_legacy_widgets.py
dmalves/ttkbootstrap
04d441c7a0cfbe6a2debea80c41994201dfc5562
[ "MIT" ]
406
2021-04-04T10:58:14.000Z
2022-03-29T22:24:36.000Z
tests/features/change_theme_on_legacy_widgets.py
dmalves/ttkbootstrap
04d441c7a0cfbe6a2debea80c41994201dfc5562
[ "MIT" ]
149
2021-03-26T12:45:41.000Z
2022-03-28T20:27:29.000Z
tests/features/change_theme_on_legacy_widgets.py
dmalves/ttkbootstrap
04d441c7a0cfbe6a2debea80c41994201dfc5562
[ "MIT" ]
52
2021-04-08T14:50:28.000Z
2022-03-27T15:23:41.000Z
import tkinter as tk from ttkbootstrap import Style from random import choice root = tk.Tk() root.minsize(500, 500) style = Style('superhero') def new_theme(): theme = choice(style.theme_names()) print(theme) style.theme_use(theme) btn = tk.Button(root, text='Primary') btn.configure(command=new_theme) b...
25.5
78
0.709447
300
1,683
3.95
0.303333
0.094515
0.118143
0.165401
0.411814
0.244726
0.21097
0.192405
0
0
0
0.059452
0.110517
1,683
65
79
25.892308
0.732131
0
0
0
0
0
0.093936
0
0
0
0
0
0
1
0.020408
false
0
0.061224
0
0.081633
0.020408
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d4075b9646764144299dad831fe7920748b672a3
6,777
py
Python
IO.py
parallelpro/SolarlikePeakbagging
97c5b72eef9b0cf719da43d4a8ae5f1955567dda
[ "MIT" ]
null
null
null
IO.py
parallelpro/SolarlikePeakbagging
97c5b72eef9b0cf719da43d4a8ae5f1955567dda
[ "MIT" ]
null
null
null
IO.py
parallelpro/SolarlikePeakbagging
97c5b72eef9b0cf719da43d4a8ae5f1955567dda
[ "MIT" ]
1
2021-12-22T16:21:49.000Z
2021-12-22T16:21:49.000Z
import numpy as np __all__ = ["fitGuess"] class myStructure: def __init__(self, headers, data): # we do not indulge adults assert type(headers) is dict, "type of headers should be dict." assert type(data) is np.ndarray, "type of data should be ndarray." assert (len(data.shape) is 1) & (not (data....
25.670455
96
0.655305
875
6,777
4.892571
0.177143
0.048587
0.02733
0.012614
0.318851
0.266527
0.258117
0.215604
0.215604
0.215604
0
0.007907
0.17884
6,777
263
97
25.768061
0.761366
0.714328
0
0.052632
0
0
0.09873
0
0
0
0
0
0.078947
0
null
null
0
0.026316
null
null
0.026316
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
d412da5d87450e52e6c9f8c8a44306f70ca07443
590
py
Python
test/ResultsAndPrizes/duel/test_duel_winning_numbers_for_several_draws.py
FearFactor1/SPA
a05aaa924c5bebb52cd508ebdf7fd3b81c49fac7
[ "Apache-2.0" ]
1
2019-12-05T06:50:54.000Z
2019-12-05T06:50:54.000Z
test/ResultsAndPrizes/duel/test_duel_winning_numbers_for_several_draws.py
FearFactor1/SPA
a05aaa924c5bebb52cd508ebdf7fd3b81c49fac7
[ "Apache-2.0" ]
null
null
null
test/ResultsAndPrizes/duel/test_duel_winning_numbers_for_several_draws.py
FearFactor1/SPA
a05aaa924c5bebb52cd508ebdf7fd3b81c49fac7
[ "Apache-2.0" ]
null
null
null
# Дуэль + Выигрышные номера нескольких тиражей def test_duel_winning_numbers_for_several_draws(app): app.ResultAndPrizes.open_page_results_and_prizes() app.ResultAndPrizes.click_game_duel() app.ResultAndPrizes.click_the_winning_numbers_for_several_draws() app.ResultAndPrizes.click_ok_for_several_draw...
45.384615
82
0.840678
76
590
6
0.5
0.315789
0.111842
0.092105
0.320175
0.320175
0
0
0
0
0
0.005607
0.09322
590
13
83
45.384615
0.846729
0.074576
0
0
0
0
0.031193
0
0
0
0
0
0.111111
1
0.111111
false
0
0
0
0.111111
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
d419a9b9eef6d6bba47a56102f3dc361a68104e0
730
py
Python
smarthome-web-portal/tools/docker/utils.py
kyper999/SmartHome-Demo2
3e7e23c59c5e7c31b334dbb8eda280dc591eec44
[ "Apache-2.0" ]
null
null
null
smarthome-web-portal/tools/docker/utils.py
kyper999/SmartHome-Demo2
3e7e23c59c5e7c31b334dbb8eda280dc591eec44
[ "Apache-2.0" ]
null
null
null
smarthome-web-portal/tools/docker/utils.py
kyper999/SmartHome-Demo2
3e7e23c59c5e7c31b334dbb8eda280dc591eec44
[ "Apache-2.0" ]
null
null
null
import datetime import json import os def get_utc_now(): return datetime.datetime.utcnow() def format_datetime(date_time): """Generate string from datetime object.""" return date_time.strftime("%Y-%m-%d %H:%M:%S") def get_vcap_service(): vcap_config = os.getenv('VCAP_SERVICES', None...
27.037037
79
0.634247
91
730
4.901099
0.593407
0.067265
0
0
0
0
0
0
0
0
0
0.021505
0.235616
730
26
80
28.076923
0.777778
0.050685
0
0
1
0
0.192716
0.092564
0
0
0
0
0
1
0.176471
false
0
0.176471
0.058824
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d41c747806d9a53e2ae86bf7eeb9aa2bff2f01cf
470
py
Python
photos/migrations/0003_auto_20200523_1349.py
mosesbabu/photoshare
18f2e72882fde6ce45482f9cf59af3ef41351585
[ "MIT" ]
null
null
null
photos/migrations/0003_auto_20200523_1349.py
mosesbabu/photoshare
18f2e72882fde6ce45482f9cf59af3ef41351585
[ "MIT" ]
9
2021-03-19T03:53:39.000Z
2022-03-12T00:32:01.000Z
photos/migrations/0003_auto_20200523_1349.py
mosesbabu/photoshare
18f2e72882fde6ce45482f9cf59af3ef41351585
[ "MIT" ]
null
null
null
# Generated by Django 3.0.6 on 2020-05-23 10:49 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('photos', '0002_auto_20200523_1317'), ] operations = [ migrations.AlterModelOptions( name='image', options={}, ), ...
20.434783
47
0.559574
45
470
5.688889
0.755556
0.105469
0
0
0
0
0
0
0
0
0
0.098101
0.32766
470
22
48
21.363636
0.712025
0.095745
0
0.125
1
0
0.144208
0.054374
0
0
0
0
0
1
0
false
0
0.0625
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d4212598eacec1cfb5c17559f2f8839e45a516d6
3,860
py
Python
torcms/handlers/wiki_history_manager.py
seaioheroes/TorCMS-master
266aa6dcf8e2d36024dd278e6f56fd638c88c6ff
[ "MIT" ]
null
null
null
torcms/handlers/wiki_history_manager.py
seaioheroes/TorCMS-master
266aa6dcf8e2d36024dd278e6f56fd638c88c6ff
[ "MIT" ]
null
null
null
torcms/handlers/wiki_history_manager.py
seaioheroes/TorCMS-master
266aa6dcf8e2d36024dd278e6f56fd638c88c6ff
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- ''' History handler for wiki, and page. ''' import tornado.escape import tornado.web from torcms.model.wiki_model import MWiki from torcms.model.wiki_hist_model import MWikiHist from torcms.core.tools import diff_table from .post_history_handler import EditHistoryHander class WikiHistoryHand...
27.971014
105
0.567098
452
3,860
4.632743
0.212389
0.040115
0.0468
0.054441
0.354823
0.297039
0.200573
0.17383
0.143266
0.101242
0
0.005763
0.325648
3,860
137
106
28.175182
0.798694
0.060622
0
0.354839
0
0
0.057356
0.015486
0
0
0
0
0
1
0.064516
false
0.075269
0.064516
0
0.215054
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
d42cb0a75fb3d8fd8a1f1c919549870d904daac1
2,952
py
Python
iris/webscraping.py
JonasTFab/Master
fc080516c3a4c324b196fc7fd50b5861c2790ead
[ "MIT" ]
null
null
null
iris/webscraping.py
JonasTFab/Master
fc080516c3a4c324b196fc7fd50b5861c2790ead
[ "MIT" ]
null
null
null
iris/webscraping.py
JonasTFab/Master
fc080516c3a4c324b196fc7fd50b5861c2790ead
[ "MIT" ]
null
null
null
import requests """ A webscraping tool that looks for information from a URL based on the keyword argument 'get_info_of'. Currently only tested on https://iris.lmsal.com/iris2/iris2_chapter02_01.html#inversion-of-iris-mg-ii-h-k-lines-with-iris2 because of its relevance. Definitely not the most elegant approach, but wo...
38.842105
186
0.63313
418
2,952
4.272727
0.291866
0.196529
0.133259
0.171333
0.56103
0.495521
0.37682
0.285554
0.209406
0.209406
0
0.011017
0.200542
2,952
75
187
39.36
0.745763
0.076897
0
0.054054
0
0.027027
0.281735
0.038356
0
0
0
0
0
1
0.027027
false
0
0.027027
0
0.081081
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d42cb3fb2b6e0ba10a4f5d5859e2195654a5c365
572
py
Python
brokers/models.py
rishikesh67/trycookiecutter
a5748ddbd0020970341b8ce2674fb84009f1f8cf
[ "MIT" ]
null
null
null
brokers/models.py
rishikesh67/trycookiecutter
a5748ddbd0020970341b8ce2674fb84009f1f8cf
[ "MIT" ]
null
null
null
brokers/models.py
rishikesh67/trycookiecutter
a5748ddbd0020970341b8ce2674fb84009f1f8cf
[ "MIT" ]
null
null
null
from django.db import models from django.db import models from tenant_schemas.models import TenantMixin class Client(TenantMixin): """ TenantMixin has 2 fields - domain_url - schema_name """ name = models.CharField(max_length=100) created_at = models.DateTimeField(auto_now_add=Tru...
26
84
0.70979
75
572
5.186667
0.6
0.051414
0.061697
0.092545
0.277635
0.133676
0
0
0
0
0
0.009029
0.225524
572
22
85
26
0.869074
0.243007
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0.090909
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
d42d792c0952633f40c31e954f6ab72a23fff9c4
3,209
py
Python
python_project/svn_post_commit_sendmail.py
bbotte/bbotte
97d5eee50230bc81c001842617c4b677efa777b2
[ "Apache-2.0" ]
43
2019-11-01T07:18:48.000Z
2022-03-30T09:08:58.000Z
python_project/svn_post_commit_sendmail.py
wangyuqianily/bbotte.github.io
7b7522c1db445179a5be029f1da4db70bcc154f4
[ "Apache-2.0" ]
1
2020-02-24T01:51:54.000Z
2020-02-27T02:23:22.000Z
python_project/svn_post_commit_sendmail.py
wangyuqianily/bbotte.github.io
7b7522c1db445179a5be029f1da4db70bcc154f4
[ "Apache-2.0" ]
20
2019-11-01T01:12:58.000Z
2022-03-17T11:50:10.000Z
#!/usr/bin/python #coding=utf-8 from email.mime.text import MIMEText from email.header import Header import os import smtplib class SVNHook(): def __init__(self, repository, revision): self.repository = repository self.revision = revision self.mail_host = 'XXX.com' self.mail_user =...
34.505376
125
0.514802
383
3,209
4.206266
0.321149
0.069522
0.068281
0.022346
0.245189
0.181875
0.181875
0.181875
0.181875
0.181875
0
0.02182
0.328763
3,209
92
126
34.880435
0.725162
0.008725
0
0.175
0
0.0125
0.409248
0.031142
0
0
0
0
0
0
null
null
0.025
0.05
null
null
0.0125
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
d42f56022a2645914d15492aa78ad020472add9b
550
py
Python
team25final/CODE/3.regression model/predict.py
SKZhao97/Data_Analysis_and_Visualization_Final_Project
1ec7ccfaaa93847c24d95e69d700409e0a6acfe8
[ "MIT" ]
1
2019-11-29T22:23:32.000Z
2019-11-29T22:23:32.000Z
team25final/CODE/3.regression model/predict.py
SKZhao97/NYC_Taxi_Price_Prediction
1ec7ccfaaa93847c24d95e69d700409e0a6acfe8
[ "MIT" ]
null
null
null
team25final/CODE/3.regression model/predict.py
SKZhao97/NYC_Taxi_Price_Prediction
1ec7ccfaaa93847c24d95e69d700409e0a6acfe8
[ "MIT" ]
2
2020-07-31T06:11:44.000Z
2020-08-04T01:52:42.000Z
import pandas as pd import lightgbm as lgb from sklearn.metrics import mean_squared_error import utils as utils def predict(X_test): #feature columns [2,3,5,6,11,12,13] print('Loading model to predict...') # load model to predict bst = lgb.Booster(model_file='./model.txt') # can only predict with the best iterati...
26.190476
69
0.718182
93
550
4.096774
0.602151
0.052493
0.094488
0
0
0
0
0
0
0
0
0.023454
0.147273
550
20
70
27.5
0.788913
0.223636
0
0
0
0
0.20283
0
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.5
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d4314965938761fb613ba541276258d29fe62aab
2,136
py
Python
vespa/common/auto_gui/exception_report.py
vespa-mrs/vespa
6d3e84a206ec427ac1304e70c7fadf817432956b
[ "BSD-3-Clause" ]
null
null
null
vespa/common/auto_gui/exception_report.py
vespa-mrs/vespa
6d3e84a206ec427ac1304e70c7fadf817432956b
[ "BSD-3-Clause" ]
4
2021-04-17T13:58:31.000Z
2022-01-20T14:19:57.000Z
vespa/common/auto_gui/exception_report.py
vespa-mrs/vespa
6d3e84a206ec427ac1304e70c7fadf817432956b
[ "BSD-3-Clause" ]
3
2021-06-05T16:34:57.000Z
2022-01-19T16:13:22.000Z
# -*- coding: UTF-8 -*- # # generated by wxGlade 1.0.0 on Fri Jan 22 22:56:32 2021 # import wx # begin wxGlade: dependencies # end wxGlade # begin wxGlade: extracode # end wxGlade class MyDialog(wx.Dialog): def __init__(self, *args, **kwds): # begin wxGlade: MyDialog.__init__ kwds["style"] = kw...
31.411765
112
0.636236
319
2,136
4.100313
0.294671
0.055046
0.036697
0.042049
0.202599
0.126911
0.09633
0.09633
0.041284
0.041284
0
0.0454
0.226592
2,136
67
113
31.880597
0.746368
0.118914
0
0.058824
1
0
0.074906
0
0
0
0
0
0
1
0.058824
false
0
0.029412
0
0.117647
0.029412
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d435071cc12f94f47350c49131c8378b3d49998b
7,420
py
Python
autodist/proto/graphitem_pb2.py
big-data-lab-umbc/autodist
c8514b27cf5608f35254b63c4ac8093c7295a8e7
[ "Apache-2.0" ]
null
null
null
autodist/proto/graphitem_pb2.py
big-data-lab-umbc/autodist
c8514b27cf5608f35254b63c4ac8093c7295a8e7
[ "Apache-2.0" ]
null
null
null
autodist/proto/graphitem_pb2.py
big-data-lab-umbc/autodist
c8514b27cf5608f35254b63c4ac8093c7295a8e7
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: autodist/proto/graphitem.proto from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_data...
39.052632
687
0.75876
920
7,420
5.808696
0.148913
0.040419
0.086452
0.058383
0.610778
0.571295
0.508982
0.495509
0.480539
0.480539
0
0.033328
0.118464
7,420
189
688
39.259259
0.783672
0.054582
0
0.588957
1
0.01227
0.167571
0.120325
0
0
0
0
0
1
0
false
0
0.030675
0
0.030675
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d436a89dca5d4758fb990f18dd9633f7f2c8409f
1,265
py
Python
random-forest.py
Kaggia/ai_exercises
700758ed43612663d4f63c39c91b347767a9c689
[ "Apache-2.0" ]
null
null
null
random-forest.py
Kaggia/ai_exercises
700758ed43612663d4f63c39c91b347767a9c689
[ "Apache-2.0" ]
null
null
null
random-forest.py
Kaggia/ai_exercises
700758ed43612663d4f63c39c91b347767a9c689
[ "Apache-2.0" ]
null
null
null
import pandas as pd import numpy as np import matplotlib.pyplot as plt from sklearn.ensemble import RandomForestClassifier from sklearn.neighbors import KNeighborsClassifier from sklearn.model_selection import train_test_split from sklearn.model_selection import cross_val_score from sklearn.metrics import classi...
39.53125
98
0.796047
187
1,265
5.235294
0.518717
0.067416
0.032686
0.051073
0.06333
0
0
0
0
0
0
0.011029
0.139921
1,265
31
99
40.806452
0.888787
0.301186
0
0
0
0
0.054567
0
0
0
0
0
0
1
0
false
0
0.473684
0
0.473684
0.105263
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
d43f8d9fa19dfa87bda63ce24cc48d1f58c1418d
2,040
py
Python
1-Beginner/keyvalue/ui_main.py
Kishore-abhimanyu/Side-Projects
c241accbf298acb02e6666990752cbbe1d271e8d
[ "MIT" ]
26
2020-05-28T09:44:00.000Z
2021-10-02T08:34:40.000Z
1-Beginner/keyvalue/ui_main.py
Kishore-abhimanyu/Side-Projects
c241accbf298acb02e6666990752cbbe1d271e8d
[ "MIT" ]
17
2020-10-12T04:58:10.000Z
2021-10-02T17:39:08.000Z
1-Beginner/keyvalue/ui_main.py
Kishore-abhimanyu/Side-Projects
c241accbf298acb02e6666990752cbbe1d271e8d
[ "MIT" ]
15
2020-08-10T01:09:36.000Z
2021-10-02T15:17:39.000Z
# -*- coding: utf-8 -*- ################################################################################ ## Form generated from reading UI file 'mainYtosBE.ui' ## ## Created by: Qt User Interface Compiler version 5.15.2 ## ## WARNING! All changes made in this file will be lost when recompiling UI file! ###############...
35.172414
82
0.622059
221
2,040
5.737557
0.39819
0.094637
0.023659
0.023659
0
0
0
0
0
0
0
0.044285
0.180882
2,040
57
83
35.789474
0.714542
0.111275
0
0
1
0
0.130647
0.012821
0
0
0
0
0
1
0.057143
false
0
0.085714
0
0.171429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d4458ce057d8b1b124fa1180d15087340b817d25
2,440
py
Python
tests/test_immediate.py
XPerianer/pytest-immediate
5d8b3162b7c30745b25d233c00e3983fa405bd1b
[ "MIT" ]
null
null
null
tests/test_immediate.py
XPerianer/pytest-immediate
5d8b3162b7c30745b25d233c00e3983fa405bd1b
[ "MIT" ]
null
null
null
tests/test_immediate.py
XPerianer/pytest-immediate
5d8b3162b7c30745b25d233c00e3983fa405bd1b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from unittest import mock def prepare_testdir(testdir): testdir.makepyfile(""" import pytest def test_one(): print("One") def test_two(): print("Two") """) def test_reordering(testdir): prepare_testdir(testdir) result = testdir...
32.105263
98
0.486475
231
2,440
4.917749
0.25974
0.077465
0.086268
0.116197
0.538732
0.450704
0.419894
0.419894
0.419894
0.333627
0
0.003167
0.352869
2,440
75
99
32.533333
0.716276
0.021721
0
0.354839
0
0
0.317953
0.139262
0
0
0
0
0.032258
1
0.048387
false
0.064516
0.032258
0
0.080645
0.032258
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d4499f7fa68eeaedd223975ccbdd2d67b03dbc0b
5,052
py
Python
stereomag/rank.py
Dawars/stereo-magnification
9fcae3c3157a232144eb782f720d083f21f75515
[ "Apache-2.0" ]
348
2018-10-09T18:38:02.000Z
2022-03-17T19:54:33.000Z
stereomag/rank.py
Dawars/stereo-magnification
9fcae3c3157a232144eb782f720d083f21f75515
[ "Apache-2.0" ]
37
2018-10-16T04:42:01.000Z
2021-11-14T08:47:14.000Z
stereomag/rank.py
Dawars/stereo-magnification
9fcae3c3157a232144eb782f720d083f21f75515
[ "Apache-2.0" ]
83
2018-10-10T02:42:19.000Z
2022-03-17T19:54:35.000Z
#!/usr/bin/python # # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
30.993865
80
0.60669
780
5,052
3.84359
0.237179
0.033356
0.029353
0.011674
0.172782
0.157438
0.139426
0.123416
0.096064
0.084723
0
0.022936
0.223278
5,052
162
81
31.185185
0.739551
0.153998
0
0.098214
0
0
0.202272
0.021025
0
0
0
0
0.035714
0
null
null
0
0.0625
null
null
0.160714
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
d4538d814fee30600bb7a5ca2ff2e9bd855cf0fc
2,361
py
Python
apps/profile/models.py
IT-PM-OpenAdaptronik/Webapp
c3bdde0ca56b6d77f49bc830fa2b8bb41a26bae4
[ "MIT" ]
2
2017-12-17T21:28:22.000Z
2018-02-02T14:44:58.000Z
apps/profile/models.py
IT-PM-OpenAdaptronik/Webapp
c3bdde0ca56b6d77f49bc830fa2b8bb41a26bae4
[ "MIT" ]
118
2017-10-31T13:45:09.000Z
2018-02-24T20:51:42.000Z
apps/profile/models.py
OpenAdaptronik/Rattler
c3bdde0ca56b6d77f49bc830fa2b8bb41a26bae4
[ "MIT" ]
null
null
null
import os from django.db import models from django.conf import settings from django.utils.translation import gettext_lazy as _ from django.db.models.signals import post_save from django.dispatch import receiver from django.contrib.auth import get_user_model # Create your models here. class Profile(models.Model): ...
42.927273
108
0.750953
294
2,361
5.792517
0.309524
0.035232
0.064592
0.08808
0.300646
0.221961
0.184381
0.150323
0.10687
0.10687
0
0.006773
0.124524
2,361
54
109
43.722222
0.817126
0.010165
0
0.15
0
0
0.127195
0
0
0
0
0
0
1
0.1
false
0
0.175
0.05
0.825
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
d45636523a24f521eea8f97be19f2f2e53aa97e4
650
py
Python
apps/food/admin.py
jasonvriends/lifetracker
4678bdf25a69b6b15bc1ec5024f8e842d613383b
[ "MIT" ]
1
2022-01-24T02:14:08.000Z
2022-01-24T02:14:08.000Z
apps/food/admin.py
jasonvriends/lifetracker
4678bdf25a69b6b15bc1ec5024f8e842d613383b
[ "MIT" ]
null
null
null
apps/food/admin.py
jasonvriends/lifetracker
4678bdf25a69b6b15bc1ec5024f8e842d613383b
[ "MIT" ]
null
null
null
from django.contrib import admin from django.contrib.auth import get_user_model from pint.registry import UnitRegistry from .models import Activity, Ingredient, Recipe, RecipeIngredient User = get_user_model() class RecipeIngredientInline(admin.StackedInline): model = RecipeIngredient extra = 0 class Reci...
24.074074
66
0.772308
73
650
6.767123
0.465753
0.054656
0.103239
0.076923
0
0
0
0
0
0
0
0.00177
0.130769
650
27
67
24.074074
0.872566
0
0
0.117647
0
0
0.030722
0
0
0
0
0
0
1
0
false
0
0.235294
0
0.764706
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
d458808efbff16a759a66d9301b855d82a9affa2
877
py
Python
src/main_train.py
georghess/EBM_ONGOING
c5cabe71d26972a7346c13248549b6b4b4fca9f0
[ "MIT" ]
null
null
null
src/main_train.py
georghess/EBM_ONGOING
c5cabe71d26972a7346c13248549b6b4b4fca9f0
[ "MIT" ]
null
null
null
src/main_train.py
georghess/EBM_ONGOING
c5cabe71d26972a7346c13248549b6b4b4fca9f0
[ "MIT" ]
1
2022-03-28T07:55:57.000Z
2022-03-28T07:55:57.000Z
import os, sys from pathlib import Path import torch import torchvision from net_module import loss_functions as loss_func from net_module.net import GridCodec from data_handle import data_handler as dh from data_handle import dataset as ds import pre_load print("Program: training\n") ### Config root_dir = Path(__...
28.290323
95
0.733181
128
877
4.734375
0.429688
0.039604
0.042904
0.066007
0
0
0
0
0
0
0
0.002751
0.171038
877
31
96
28.290323
0.830812
0.017104
0
0
0
0
0.074766
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
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
1
0
0
0
0
1
d461d8c82d78076fa27af95f8e60de746659f1d7
982
py
Python
day6.py
danvk/advent2019
c9ae15e205e64db97853c9cecf6b1116e75f496d
[ "Apache-2.0" ]
3
2020-01-08T12:41:46.000Z
2021-12-08T15:23:34.000Z
day6.py
danvk/advent2019
c9ae15e205e64db97853c9cecf6b1116e75f496d
[ "Apache-2.0" ]
null
null
null
day6.py
danvk/advent2019
c9ae15e205e64db97853c9cecf6b1116e75f496d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import fileinput def read_orbit(line): a, b = line.strip().split(')') return a, b def make_orbit_map(orbits): parent = {} for big, small in orbits: parent[small] = big return parent def num_direct_and_indirect(orbit_map, obj): num = 0 while obj in orbit_m...
20.040816
61
0.618126
152
982
3.710526
0.315789
0.212766
0.074468
0.090426
0.248227
0.095745
0.095745
0
0
0
0
0.008357
0.268839
982
48
62
20.458333
0.777159
0.020367
0
0
0
0
0.015609
0
0
0
0
0
0
1
0.147059
false
0
0.029412
0
0.323529
0.029412
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