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
50c9c6bdbfe7ced608c21a9e7ea3c4650da31a60
1,643
py
Python
contracts/tests/test_LibSignatures.py
PerunEthereum/Perun
0704f481e8747f6f4405e67abe1cafd5d96d2ab8
[ "MIT" ]
64
2018-04-10T19:28:59.000Z
2020-11-10T02:56:57.000Z
contracts/tests/test_LibSignatures.py
PerunEthereum/Perun
0704f481e8747f6f4405e67abe1cafd5d96d2ab8
[ "MIT" ]
2
2018-05-18T15:39:10.000Z
2018-12-17T19:00:50.000Z
contracts/tests/test_LibSignatures.py
PerunEthereum/Perun
0704f481e8747f6f4405e67abe1cafd5d96d2ab8
[ "MIT" ]
9
2018-04-10T21:17:41.000Z
2019-12-10T11:42:34.000Z
import pytest accounts = ['0xd0edc0d7073c2931edbadbdcab6b67ea4929a110', '0xa7183ed8bd8961a004f2213daa307386a49745d7', '0xa5b40bbbe0cc5f7f9ce2fae5aa0e3572a55bd02c'] messages = ['0123456789', '', 'test' * 100] signatures = ['0xa03cdc8c0af5867cb0d97d0fd23ff54fc792c9537adcbd71148172b77b079336697d0a12245d8797e5266d2e81aa69...
54.766667
149
0.805843
136
1,643
9.588235
0.411765
0.065184
0.041411
0.085123
0.184049
0.184049
0.156442
0.156442
0.156442
0.156442
0
0.239484
0.102861
1,643
29
150
56.655172
0.645183
0
0
0
0
0
0.352404
0.317712
0
0
0.317712
0
0.045455
1
0.272727
false
0
0.045455
0.136364
0.454545
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
1
0
0
0
1
0
0
0
3
50de2e92e21f8ca26dfb2186b2837697cc777918
2,086
py
Python
fibertree/codec/compression_types.py
Fibertree-Project/fibertree
6fbb1971c31fcc9b27e09591a1ee2d66ae0e7b76
[ "MIT" ]
2
2021-02-03T20:34:14.000Z
2021-02-04T06:36:51.000Z
fibertree/codec/compression_types.py
FPSG-UIUC/fibertree
6fbb1971c31fcc9b27e09591a1ee2d66ae0e7b76
[ "MIT" ]
1
2021-06-19T02:59:01.000Z
2021-06-23T13:20:11.000Z
fibertree/codec/compression_types.py
FPSG-UIUC/fibertree
6fbb1971c31fcc9b27e09591a1ee2d66ae0e7b76
[ "MIT" ]
1
2021-06-16T15:03:33.000Z
2021-06-16T15:03:33.000Z
from .formats.uncompressed import Uncompressed from .formats.coord_list import CoordinateList from .formats.bitvector import Bitvector from .formats.hashtable import HashTable from .formats.balanced_tree import RBTree from .formats.rle import RunLengthEncoding """ # U = uncompressed # size of vector = shape of fibe...
35.355932
130
0.725791
267
2,086
5.606742
0.367041
0.044088
0.032064
0.034068
0.148297
0.135605
0.10688
0.10688
0.10688
0.10688
0
0.002343
0.181687
2,086
58
131
35.965517
0.874634
0.095877
0
0
0
0
0.013333
0
0
0
0
0.034483
0
1
0
false
0
0.857143
0
0.857143
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
1
0
1
0
0
3
50fd25d2d57abc3f8afa907f678cd50741a42220
3,533
py
Python
rplugin/python3/nvim_diary_template/tests/test_event_helpers.py
CrossR/nvim_notes
355bfec2339d1c6a612e1a89e6e4a3aed9e70f43
[ "MIT" ]
6
2019-01-11T23:09:32.000Z
2021-03-04T04:22:04.000Z
rplugin/python3/nvim_diary_template/tests/test_event_helpers.py
CrossR/nvim_notes
355bfec2339d1c6a612e1a89e6e4a3aed9e70f43
[ "MIT" ]
20
2018-07-22T16:20:56.000Z
2019-11-10T14:11:05.000Z
rplugin/python3/nvim_diary_template/tests/test_event_helpers.py
CrossR/nvim_notes
355bfec2339d1c6a612e1a89e6e4a3aed9e70f43
[ "MIT" ]
null
null
null
import unittest from typing import List from dateutil import parser from ..classes.calendar_event_class import CalendarEvent from ..helpers.event_helpers import format_event, sort_events from ..utils.constants import ISO_FORMAT class event_helpersTest(unittest.TestCase): """ Tests for functions in the event...
37.189474
76
0.555618
410
3,533
4.678049
0.156098
0.112617
0.100104
0.194995
0.706465
0.693952
0.676747
0.650156
0.650156
0.650156
0
0.124741
0.317011
3,533
94
77
37.585106
0.67012
0.035664
0
0.706667
0
0
0.138135
0
0
0
0
0
0.026667
1
0.026667
false
0
0.08
0
0.12
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0fc6b5d1d7d8068f49fffbd3af72bf5f3e62c582
334
py
Python
wavresample.py
YuzukiTsuru/SinsyPlus
bc0318d4e7281a35513f29bb5ee356cbdc6e2aa4
[ "MIT" ]
8
2020-04-22T04:24:31.000Z
2021-11-05T22:34:05.000Z
wavresample.py
GloomyGhost-MosquitoCoil/SinsyPlus
bc0318d4e7281a35513f29bb5ee356cbdc6e2aa4
[ "MIT" ]
4
2020-04-29T02:28:45.000Z
2020-10-29T06:20:25.000Z
wavresample.py
GloomyGhost-MosquitoCoil/SinsyPlus
bc0318d4e7281a35513f29bb5ee356cbdc6e2aa4
[ "MIT" ]
1
2020-04-22T04:24:33.000Z
2020-04-22T04:24:33.000Z
from scipy.io import wavfile # 读取文件 def wavwrite(wavsrc): return wavsrc # 文件压缩 def wavzip(wavsrc, filename, ziprate): # 读取原始文件采样率 sampleRate, musicdata = wavfile.read(wavsrc) # 压缩,储存 wavfile.write(filename, sampleRate // ziprate, musicdata[::5]) # wavzip("test.wav", "testout.wav"...
19.647059
67
0.646707
39
334
5.538462
0.666667
0
0
0
0
0
0
0
0
0
0
0.007752
0.227545
334
16
68
20.875
0.829457
0.206587
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0fdd5fdc7e50772a4f23ba49a016c6e317a8070e
643
py
Python
test.py
sharmas1ddharth/Mushroom_Classification
0ee9d833320af329c06b410093993723c277f13a
[ "MIT" ]
1
2021-08-19T23:03:00.000Z
2021-08-19T23:03:00.000Z
test.py
sharmas1ddharth/Mushroom_Classification
0ee9d833320af329c06b410093993723c277f13a
[ "MIT" ]
2
2021-08-18T00:24:16.000Z
2021-08-18T06:05:43.000Z
test.py
sharmas1ddharth/Mushroom_Classification
0ee9d833320af329c06b410093993723c277f13a
[ "MIT" ]
1
2021-08-17T22:55:32.000Z
2021-08-17T22:55:32.000Z
import pandas as pd from src import mushroom_classification """ data = pd.read_csv('data/raw/mushrooms.csv') cols = list(data.columns) for col in cols: unique_val = data[col].unique() print(f"{col} = {unique_val}") Process finished with exit code 0 """ # data = pd.read_csv("C:\\Users\\Siddharth\\Deskt...
20.09375
125
0.63297
94
643
4.234043
0.62766
0.110553
0.130653
0.065327
0
0
0
0
0
0
0
0.013233
0.177294
643
31
126
20.741935
0.73913
0.508554
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
0fe7ebc3e6345fae22c4874fb81ab50fd807cbd5
1,033
py
Python
ta/tests/__init__.py
amalekji/trading-tech-analysis
b360062d6b2a31f0bf237e42a9a399d3b1f6c306
[ "MIT" ]
1
2020-07-18T09:05:57.000Z
2020-07-18T09:05:57.000Z
ta/tests/__init__.py
amalekji/trading-tech-analysis
b360062d6b2a31f0bf237e42a9a399d3b1f6c306
[ "MIT" ]
null
null
null
ta/tests/__init__.py
amalekji/trading-tech-analysis
b360062d6b2a31f0bf237e42a9a399d3b1f6c306
[ "MIT" ]
1
2020-12-30T17:10:14.000Z
2020-12-30T17:10:14.000Z
from ta.tests.momentum import (TestKAMAIndicator, TestRateOfChangeIndicator, TestRSIIndicator, TestStochasticOscillator, TestTSIIndicator, TestUltimateOscillator, TestWilliamsRIndicator) from ta.tests.trend import (TestADXIndic...
60.764706
77
0.604066
50
1,033
12.48
0.68
0.048077
0.088141
0
0
0
0
0
0
0
0
0.003021
0.359148
1,033
16
78
64.5625
0.939577
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.3125
0
0.3125
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
0fedd660dc1d92bf3e366bc35176ae764a9cb81e
571
py
Python
isic_archive/tasks/__init__.py
ImageMarkup/isic-archive
7cd8097886d685ec629e2fcba079271fb77d028f
[ "Apache-2.0" ]
42
2015-12-12T14:05:46.000Z
2022-03-26T15:20:39.000Z
isic_archive/tasks/__init__.py
ImageMarkup/isic-archive
7cd8097886d685ec629e2fcba079271fb77d028f
[ "Apache-2.0" ]
494
2015-07-09T16:14:12.000Z
2021-03-09T09:37:36.000Z
isic_archive/tasks/__init__.py
ImageMarkup/uda
d221af3368baf3a06ecab67e69e9d0077426c8f9
[ "Apache-2.0" ]
12
2015-08-20T14:20:48.000Z
2020-10-20T01:14:44.000Z
from isic_archive.tasks.image import generateLargeImage, generateSuperpixels, \ ingestImage, markImageIngested from isic_archive.tasks.metadata import applyMetadata from isic_archive.tasks.notification import maybeSendIngestionNotifications, \ sendIngestionNotification from isic_archive.tasks.zip import ingestB...
31.722222
79
0.796848
41
571
10.902439
0.439024
0.071588
0.134228
0.178971
0
0
0
0
0
0
0
0
0.131349
571
17
80
33.588235
0.90121
0
0
0
1
0
0.273205
0.136602
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
1
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0ff13b4937b53390d780e138ec52f556e8188964
3,880
py
Python
learn/deep_autoencoder.py
rupakc/DriftGAN
acd2ebbed96d0b4d3ede38b01d7d6620f9b0f426
[ "Apache-2.0" ]
null
null
null
learn/deep_autoencoder.py
rupakc/DriftGAN
acd2ebbed96d0b4d3ede38b01d7d6620f9b0f426
[ "Apache-2.0" ]
null
null
null
learn/deep_autoencoder.py
rupakc/DriftGAN
acd2ebbed96d0b4d3ede38b01d7d6620f9b0f426
[ "Apache-2.0" ]
null
null
null
from keras.layers import Input, Dense, Dropout from keras.models import Model from keras import regularizers from keras.layers import Conv2D, MaxPooling2D, UpSampling2D, LSTM, Bidirectional, RepeatVector, GRU def get_regression_autoencoder(dimension, optimizer_name='adadelta', loss_function='kullback_leibler_divergen...
45.647059
124
0.730928
492
3,880
5.603659
0.191057
0.091404
0.037722
0.063838
0.792891
0.770765
0.730867
0.663402
0.663402
0.650707
0
0.02758
0.130928
3,880
84
125
46.190476
0.790036
0.031186
0
0.65
0
0
0.058307
0.014377
0
0
0
0
0
1
0.083333
false
0
0.066667
0
0.233333
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0ff48f27644cf94eee43da5927a61bad7fb9c0d2
5,969
py
Python
klvdata/elementparser.py
stharding/klvdata
e34529c4eba7c8cd00fe56834b623d8e5770f47a
[ "MIT" ]
6
2016-10-21T00:49:27.000Z
2017-08-31T04:36:38.000Z
klvdata/elementparser.py
stharding/klvdata
e34529c4eba7c8cd00fe56834b623d8e5770f47a
[ "MIT" ]
null
null
null
klvdata/elementparser.py
stharding/klvdata
e34529c4eba7c8cd00fe56834b623d8e5770f47a
[ "MIT" ]
2
2017-05-26T10:44:34.000Z
2017-06-23T22:05:55.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # The MIT License (MIT) # # Copyright (c) 2017 Matthew Pare (paretech@gmail.com) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software wit...
29.994975
94
0.669291
724
5,969
5.26105
0.292818
0.077973
0.031767
0.046206
0.371226
0.351798
0.242846
0.188763
0.16041
0.051457
0
0.005828
0.252639
5,969
198
95
30.146465
0.848016
0.310102
0
0.517857
0
0
0.002868
0
0
0
0
0.005051
0
1
0.258929
false
0.053571
0.107143
0.080357
0.598214
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
1
0
0
1
0
0
3
ba0585f2acb72a1bd2b685ee302dd4f03555013b
1,028
py
Python
fias/importer/signals.py
xiva-wgt/django-fias
966e9905d6205cec8b51cbe6751382198c67f2cb
[ "BSD-3-Clause" ]
108
2015-02-26T16:33:23.000Z
2022-01-05T22:47:59.000Z
fias/importer/signals.py
xiva-wgt/django-fias
966e9905d6205cec8b51cbe6751382198c67f2cb
[ "BSD-3-Clause" ]
74
2015-01-26T11:15:08.000Z
2021-12-17T05:29:07.000Z
fias/importer/signals.py
xiva-wgt/django-fias
966e9905d6205cec8b51cbe6751382198c67f2cb
[ "BSD-3-Clause" ]
81
2015-01-22T09:55:59.000Z
2022-03-23T04:53:05.000Z
# coding: utf-8 from __future__ import unicode_literals, absolute_import from django.dispatch import Signal pre_fetch_version = Signal(providing_args=[]) post_fetch_version = Signal(providing_args=[]) pre_download = Signal(providing_args=['url']) post_download = Signal(providing_args=['url', 'path']) pre_unpack = S...
32.125
56
0.769455
133
1,028
5.571429
0.263158
0.364372
0.461538
0.194332
0.74359
0.419703
0
0
0
0
0
0.001055
0.077821
1,028
31
57
33.16129
0.780591
0.012646
0
0
0
0
0.093781
0
0
0
0
0
0
1
0
false
0
0.3
0
0.3
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ba29bd13b06309156ade56dcd2e871362a66c67c
1,498
py
Python
ai/GameDomainObjects/player.py
RoboCupULaval/StrategyAI
ccddde144f2c0a67113d2e5ffe7c75ed9d4a3d19
[ "MIT" ]
13
2018-03-14T10:20:10.000Z
2021-12-10T05:36:47.000Z
ai/GameDomainObjects/player.py
RoboCupULaval/StrategyIA
ccddde144f2c0a67113d2e5ffe7c75ed9d4a3d19
[ "MIT" ]
200
2016-04-29T23:13:01.000Z
2018-03-13T14:36:39.000Z
ai/GameDomainObjects/player.py
RoboCupULaval/StrategyIA
ccddde144f2c0a67113d2e5ffe7c75ed9d4a3d19
[ "MIT" ]
45
2015-07-04T18:57:39.000Z
2018-01-11T16:11:13.000Z
# Under MIT License, see LICENSE.txt from Util.pose import Pose from config.config import Config class Player: def __init__(self, number_id: int, team): assert isinstance(number_id, int) assert number_id in range(0, Config()['ENGINE']['max_robot_id']) self._id = number_id self._...
22.029412
72
0.620828
190
1,498
4.7
0.263158
0.089586
0.109742
0.06047
0.094065
0.094065
0.094065
0.094065
0
0
0
0.004638
0.280374
1,498
67
73
22.358209
0.823748
0.026035
0
0.1875
0
0
0.015797
0
0
0
0
0
0.083333
1
0.291667
false
0
0.041667
0.208333
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e85a2081ae837edaf03fd246b8e3a8103117065b
151,502
py
Python
core-plugins/flow/4/as/initialize-master-data.py
aarpon/obit_flow_core_technology
4b66729672232b10beb3509fd5f5bf83ee89d329
[ "Apache-2.0" ]
2
2019-08-06T15:11:14.000Z
2019-11-05T18:40:54.000Z
core-plugins/flow/4/as/initialize-master-data.py
aarpon/obit_flow_core_technology
4b66729672232b10beb3509fd5f5bf83ee89d329
[ "Apache-2.0" ]
3
2017-09-25T13:01:07.000Z
2019-10-24T06:43:39.000Z
core-plugins/flow/4/as/initialize-master-data.py
aarpon/obit_flow_core_technology
4b66729672232b10beb3509fd5f5bf83ee89d329
[ "Apache-2.0" ]
1
2017-09-25T07:48:38.000Z
2017-09-25T07:48:38.000Z
# -*- coding: utf-8 -*- import ch.systemsx.cisd.openbis.generic.server.jython.api.v1.DataType as DataType print("Importing Flow Core Technology Master Data...") tr = service.transaction() # ============================================================================== # # FILE FORMATS # # ===========================...
62.500825
213
0.898424
18,956
151,502
6.52854
0.010762
0.077573
0.035296
0.02715
0.945077
0.875625
0.726734
0.578417
0.437251
0.318654
0
0.017995
0.029062
151,502
2,423
214
62.52662
0.823309
0.107114
0
0.007366
0
0
0.069687
0.022522
0
0
0
0
0
1
0
false
0
0.001842
0
0.001842
0.001228
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e8815813cbd1dd4ec62c5536625c7263b76499d5
446
py
Python
tests/test_rectangle.py
OthnielDona/planefigures
5faa86f9609dc567679f3cb3ad0c543d29b91d83
[ "MIT" ]
2
2019-07-27T01:01:23.000Z
2019-07-27T13:23:02.000Z
tests/test_rectangle.py
OthnielDona/planefigures
5faa86f9609dc567679f3cb3ad0c543d29b91d83
[ "MIT" ]
3
2020-03-24T17:38:59.000Z
2020-04-29T19:38:54.000Z
tests/test_rectangle.py
OthnielDona/planefigures
5faa86f9609dc567679f3cb3ad0c543d29b91d83
[ "MIT" ]
null
null
null
"""Tests for rectangle function""" import pytest import planefigures as figures def test_rectangle_on_string_arguments(): with pytest.raises(TypeError): figures.rectangle('12',12) with pytest.raises(TypeError): figures.rectangle(12,'12') def test_rectangle_on_float_arguments(): with pytes...
26.235294
41
0.715247
56
446
5.553571
0.375
0.128617
0.205788
0.321543
0.636656
0.636656
0.636656
0.636656
0.302251
0
0
0.04878
0.172646
446
17
42
26.235294
0.794038
0.06278
0
0.333333
0
0
0.009685
0
0
0
0
0
0
1
0.166667
true
0
0.166667
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
e892fa0fb432f91abcf4357bf3d3a0a28d1a064a
142
py
Python
trader/core/enum/ma_type.py
Ricky294/trader
5f5ecc047fb3ff82476cb751ac9fc3d5fa749dc5
[ "MIT" ]
null
null
null
trader/core/enum/ma_type.py
Ricky294/trader
5f5ecc047fb3ff82476cb751ac9fc3d5fa749dc5
[ "MIT" ]
null
null
null
trader/core/enum/ma_type.py
Ricky294/trader
5f5ecc047fb3ff82476cb751ac9fc3d5fa749dc5
[ "MIT" ]
null
null
null
from enum import Enum class MAType(Enum): EMA = "EMA" WMA = "WMA" SMA = "SMA" def __str__(self): return self.value
12.909091
25
0.56338
19
142
4
0.684211
0
0
0
0
0
0
0
0
0
0
0
0.323944
142
10
26
14.2
0.791667
0
0
0
0
0
0.06338
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.142857
1
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
1
1
0
0
3
e8b5fdb0b1b58a4479f483c85f1113b570315da4
2,458
py
Python
src/puremvc/patterns/mediator.py
scVENUS/puremvc-python-standard-framework
942bec84220fbc601e8064104199881271ad54c9
[ "BSD-3-Clause" ]
12
2015-01-26T03:48:00.000Z
2021-12-13T06:08:28.000Z
src/puremvc/patterns/mediator.py
scVENUS/puremvc-python-standard-framework
942bec84220fbc601e8064104199881271ad54c9
[ "BSD-3-Clause" ]
4
2016-01-25T15:48:35.000Z
2018-02-19T17:02:20.000Z
src/puremvc/patterns/mediator.py
scVENUS/puremvc-python-standard-framework
942bec84220fbc601e8064104199881271ad54c9
[ "BSD-3-Clause" ]
12
2015-09-02T03:49:52.000Z
2021-01-24T15:23:59.000Z
""" PureMVC Python Port by Toby de Havilland <toby.de.havilland@puremvc.org> PureMVC - Copyright(c) 2006-08 Futurescale, Inc., Some rights reserved. Your reuse is governed by the Creative Commons Attribution 3.0 License """ import puremvc.interfaces import puremvc.patterns.observer import puremvc.patterns.facade c...
27.931818
111
0.633035
274
2,458
5.664234
0.416058
0.028995
0.023196
0.027062
0.076031
0.046392
0.046392
0.046392
0.046392
0
0
0.005102
0.282343
2,458
87
112
28.252874
0.874717
0.435313
0
0.115385
0
0
0.033149
0
0
0
0
0
0
1
0.307692
false
0.115385
0.115385
0
0.615385
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
1
0
0
1
0
0
3
e8d069daa4b6854f90b9d1d7d36adb9dfe3ade7b
4,968
py
Python
src/tests/component/ubs_fixtures/filedownload.py
carbonblack/cbc-binary-toolkit
92c90b80e3c3e0b5c2473ef2086d2ce2fb651db4
[ "MIT" ]
8
2020-05-12T18:08:52.000Z
2021-12-27T06:11:00.000Z
src/tests/component/ubs_fixtures/filedownload.py
carbonblack/cbc-binary-toolkit
92c90b80e3c3e0b5c2473ef2086d2ce2fb651db4
[ "MIT" ]
4
2020-05-13T16:07:49.000Z
2020-06-30T18:47:14.000Z
src/tests/component/ubs_fixtures/filedownload.py
carbonblack/cbc-binary-toolkit
92c90b80e3c3e0b5c2473ef2086d2ce2fb651db4
[ "MIT" ]
3
2020-05-16T19:57:57.000Z
2020-11-01T08:43:31.000Z
# -*- coding: utf-8 -*- # ******************************************************* # Copyright (c) VMware, Inc. 2020-2021. All Rights Reserved. # SPDX-License-Identifier: MIT # ******************************************************* # * # * DISCLAIMER. THIS PROGRAM IS PROVIDED TO YOU "AS IS" WITHOUT # * WARRANTIES OR C...
36
86
0.650564
413
4,968
7.622276
0.302663
0.013342
0.031131
0.037802
0.739199
0.682973
0.630559
0.630559
0.630559
0.630559
0
0.203969
0.198672
4,968
137
87
36.262774
0.584527
0.114734
0
0.646552
0
0
0.611136
0.246691
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
1
0
1
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
3
2cd6b5a95cdbed1bb10ea0104562db3e9171566c
603
py
Python
cpc/ir/Int.py
U-Ar/Cpresto
f723458fb237c9e3e8bc8a6afdf7c81858a65363
[ "BSD-3-Clause" ]
1
2021-05-09T07:10:19.000Z
2021-05-09T07:10:19.000Z
cpc/ir/Int.py
U-Ar/Cpresto
f723458fb237c9e3e8bc8a6afdf7c81858a65363
[ "BSD-3-Clause" ]
null
null
null
cpc/ir/Int.py
U-Ar/Cpresto
f723458fb237c9e3e8bc8a6afdf7c81858a65363
[ "BSD-3-Clause" ]
null
null
null
from .Expr import Expr from asm.ImmediateValue import ImmediateValue class Int(Expr): def __init__(self,t,value): super().__init__(t) self._value = value def value(self): return self._value def is_constant(self): return True def asm_value(self): return...
24.12
59
0.636816
72
603
5.111111
0.444444
0.097826
0.081522
0
0
0
0
0
0
0
0
0
0.26534
603
25
60
24.12
0.8307
0
0
0
0
0
0.061258
0
0
0
0
0
0
1
0.388889
false
0
0.111111
0.222222
0.777778
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
2cfe7139529b12a581bfb122e88f3d5ac919f11c
246
py
Python
Python/47-oop-defining-a-class.py
strawman2511/Learning
21ee7bdad376060503fdc0a739fed2d7bd40f9b9
[ "MIT" ]
1
2022-03-16T23:25:54.000Z
2022-03-16T23:25:54.000Z
Python/47-oop-defining-a-class.py
strawman2511/Learning
21ee7bdad376060503fdc0a739fed2d7bd40f9b9
[ "MIT" ]
null
null
null
Python/47-oop-defining-a-class.py
strawman2511/Learning
21ee7bdad376060503fdc0a739fed2d7bd40f9b9
[ "MIT" ]
null
null
null
class Person: "This is a person class" age = 10 def greet(self): print("Hello") # Output: 10 print(Person.age) # Output: <function Person.greet> print(Person.greet) # Output: "This is a person class" print(Person.__doc__)
15.375
34
0.654472
35
246
4.485714
0.428571
0.210191
0.089172
0.165605
0.229299
0
0
0
0
0
0
0.020833
0.219512
246
15
35
16.4
0.796875
0.402439
0
0
0
0
0.161677
0
0
0
0
0
0
1
0.125
false
0
0
0
0.375
0.5
0
0
0
null
1
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
1
0
3
fa164c39f36ab2fbe007dd31ac575770cb386acb
44,930
py
Python
ot/backend.py
cedricvincentcuaz/POT
cb510644b2fd65e4ce216a7799ce7401f71548b8
[ "MIT" ]
null
null
null
ot/backend.py
cedricvincentcuaz/POT
cb510644b2fd65e4ce216a7799ce7401f71548b8
[ "MIT" ]
null
null
null
ot/backend.py
cedricvincentcuaz/POT
cb510644b2fd65e4ce216a7799ce7401f71548b8
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Multi-lib backend for POT The goal is to write backend-agnostic code. Whether you're using Numpy, PyTorch, or Jax, POT code should work nonetheless. To achieve that, POT provides backend classes which implements functions in their respective backend imitating Numpy API. As a convention, we ...
29.893546
151
0.607968
6,125
44,930
4.383673
0.081959
0.031471
0.056313
0.043426
0.666927
0.633259
0.585847
0.514674
0.448082
0.326965
0
0.004168
0.27919
44,930
1,502
152
29.913449
0.824893
0.287826
0
0.530135
0
0.00246
0.01656
0
0
0
0
0
0.00984
1
0.296433
false
0.00123
0.01476
0.150062
0.607626
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
fa3634683b8e525f495415e1b885cfa0af5b035d
196
py
Python
catalog/bindings/gmd/md_obligation_code_type.py
NIVANorge/s-enda-playground
56ae0a8978f0ba8a5546330786c882c31e17757a
[ "Apache-2.0" ]
null
null
null
catalog/bindings/gmd/md_obligation_code_type.py
NIVANorge/s-enda-playground
56ae0a8978f0ba8a5546330786c882c31e17757a
[ "Apache-2.0" ]
null
null
null
catalog/bindings/gmd/md_obligation_code_type.py
NIVANorge/s-enda-playground
56ae0a8978f0ba8a5546330786c882c31e17757a
[ "Apache-2.0" ]
null
null
null
from enum import Enum __NAMESPACE__ = "http://www.isotc211.org/2005/gmd" class MdObligationCodeType(Enum): MANDATORY = "mandatory" OPTIONAL = "optional" CONDITIONAL = "conditional"
19.6
50
0.719388
20
196
6.85
0.75
0
0
0
0
0
0
0
0
0
0
0.042945
0.168367
196
9
51
21.777778
0.797546
0
0
0
0
0
0.306122
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
fa49044dbf4ba9196377e0f84385381da7e66206
240
py
Python
tutorials/05_AutoML/dh_project/dh_project/autoregressor/model_run.py
sjiang87/tutorials
376480cb672e1a017917ed330b99ed2fda3a6ec1
[ "BSD-2-Clause" ]
null
null
null
tutorials/05_AutoML/dh_project/dh_project/autoregressor/model_run.py
sjiang87/tutorials
376480cb672e1a017917ed330b99ed2fda3a6ec1
[ "BSD-2-Clause" ]
null
null
null
tutorials/05_AutoML/dh_project/dh_project/autoregressor/model_run.py
sjiang87/tutorials
376480cb672e1a017917ed330b99ed2fda3a6ec1
[ "BSD-2-Clause" ]
null
null
null
from deephyper.sklearn.regressor import run as sklearn_run def load_data(): from sklearn.datasets import load_boston X, y = load_boston(return_X_y=True) return X, y def run(config): return sklearn_run(config, load_data)
20
58
0.741667
38
240
4.473684
0.447368
0.035294
0.094118
0
0
0
0
0
0
0
0
0
0.183333
240
12
59
20
0.867347
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0.142857
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
fa5e30b883e5e98403b83569cfbbec84ffa8f717
187
py
Python
apps/common/__init__.py
Freen247/dj_blog
f7df1a7b101d41835a334b78cddf3570968799e4
[ "Apache-2.0" ]
51
2020-09-28T09:41:03.000Z
2022-03-19T08:25:19.000Z
apps/common/__init__.py
Freen247/dj_blog
f7df1a7b101d41835a334b78cddf3570968799e4
[ "Apache-2.0" ]
17
2020-09-24T10:26:40.000Z
2022-03-12T00:49:05.000Z
apps/common/__init__.py
Freen247/django_blogback
f7df1a7b101d41835a334b78cddf3570968799e4
[ "Apache-2.0" ]
11
2020-10-10T01:23:09.000Z
2022-02-08T17:06:09.000Z
#!/usr/bin/env python3.6 # -*- coding: utf-8 -*- # software: PyCharm # file: __init__.py.py # Created by eason on 2018/3/5 17:20 # site: boywithacoin.cn # contact: aboyinsky@outlook.com
23.375
36
0.684492
30
187
4.133333
0.966667
0
0
0
0
0
0
0
0
0
0
0.08125
0.144385
187
7
37
26.714286
0.69375
0.925134
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
d70707715db94a60ca997136152b93a5871674e9
8,181
py
Python
basic_utils/env_wrapper.py
hzxsnczpku/banrinochoujou
9e04bc5c561ab674fd10e4991aa4b5ae86364f6c
[ "MIT" ]
9
2017-10-22T07:27:02.000Z
2019-12-23T08:01:28.000Z
basic_utils/env_wrapper.py
hzxsnczpku/banrinochoujou
9e04bc5c561ab674fd10e4991aa4b5ae86364f6c
[ "MIT" ]
null
null
null
basic_utils/env_wrapper.py
hzxsnczpku/banrinochoujou
9e04bc5c561ab674fd10e4991aa4b5ae86364f6c
[ "MIT" ]
1
2017-10-31T10:44:04.000Z
2017-10-31T10:44:04.000Z
import gym import numpy as np from skimage.color import rgb2gray from skimage.transform import resize from collections import deque from gym.spaces import Box from pybullet_envs.bullet.racecarGymEnv import RacecarGymEnv class Scaler(object): """ A class recording the mean and variance of the observation. ...
29.857664
114
0.569613
971
8,181
4.666323
0.15345
0.042375
0.035312
0.026484
0.748621
0.731627
0.712205
0.69808
0.69808
0.69808
0
0.008261
0.334189
8,181
273
115
29.967033
0.823573
0.237135
0
0.614173
0
0
0.016138
0
0
0
0
0
0
1
0.141732
false
0.023622
0.055118
0
0.299213
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d712cf0fedf528f4b386088c45e2181d1ac28aeb
4,576
py
Python
src/pypine/do/InMemoryFile.py
jkpubsrc/PyPine
e0144fabd8d7cd061f14ac4478ba2d3bc8fafe03
[ "Apache-1.1" ]
null
null
null
src/pypine/do/InMemoryFile.py
jkpubsrc/PyPine
e0144fabd8d7cd061f14ac4478ba2d3bc8fafe03
[ "Apache-1.1" ]
null
null
null
src/pypine/do/InMemoryFile.py
jkpubsrc/PyPine
e0144fabd8d7cd061f14ac4478ba2d3bc8fafe03
[ "Apache-1.1" ]
null
null
null
import sys import os import typing import grp import pwd import jk_typing #import jk_prettyprintobj from ._CommonDataObjectMixin import _CommonDataObjectMixin from ..FileTypeInfo import FileTypeInfo class InMemoryFile(object): ###############################################################################...
19.724138
129
0.530157
433
4,576
5.418014
0.228637
0.084399
0.044331
0.044757
0.324808
0.192668
0.104859
0.104859
0.056266
0.056266
0
0.001554
0.15625
4,576
231
130
19.809524
0.606061
0.057037
0
0.352459
0
0
0.024156
0
0
0
0
0
0
1
0.245902
false
0
0.065574
0.188525
0.598361
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d7144374d04c2e7b6062880e0a57340239da9424
70
py
Python
find_explored/config.py
hpfilho/FlickrTasks
fdf1a08e8b1db41324edf9f49d7268c5af38434a
[ "MIT" ]
1
2022-02-05T06:36:37.000Z
2022-02-05T06:36:37.000Z
find_explored/config.py
hpfilho/FlickrTasks
fdf1a08e8b1db41324edf9f49d7268c5af38434a
[ "MIT" ]
null
null
null
find_explored/config.py
hpfilho/FlickrTasks
fdf1a08e8b1db41324edf9f49d7268c5af38434a
[ "MIT" ]
1
2021-02-14T19:00:33.000Z
2021-02-14T19:00:33.000Z
# id of set to add explored photos photoset_id = '72157651834915447'
17.5
34
0.771429
10
70
5.3
0.9
0
0
0
0
0
0
0
0
0
0
0.293103
0.171429
70
3
35
23.333333
0.62069
0.457143
0
0
0
0
0.485714
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d71b9ae2e3345f2a7a3a0ffbbbaa5a146ff72b09
19,027
py
Python
pysnmp/smi/mibs/SNMP-NOTIFICATION-MIB.py
fabriziovanni/pysnmp
eef4cc03b4da199e9c131ddd18ccb7501f1f2c40
[ "BSD-2-Clause" ]
null
null
null
pysnmp/smi/mibs/SNMP-NOTIFICATION-MIB.py
fabriziovanni/pysnmp
eef4cc03b4da199e9c131ddd18ccb7501f1f2c40
[ "BSD-2-Clause" ]
null
null
null
pysnmp/smi/mibs/SNMP-NOTIFICATION-MIB.py
fabriziovanni/pysnmp
eef4cc03b4da199e9c131ddd18ccb7501f1f2c40
[ "BSD-2-Clause" ]
null
null
null
# # This file is part of pysnmp software. # # Copyright (c) 2005-2018, Ilya Etingof <etingof@gmail.com> # License: http://snmplabs.com/pysnmp/license.html # # PySNMP MIB module SNMP-NOTIFICATION-MIB (http://snmplabs.com/pysnmp) # ASN.1 source http://mibs.snmplabs.com:80/asn1/SNMP-NOTIFICATION-MIB # Produced by pysmi-0....
192.191919
1,757
0.804856
2,332
19,027
6.565609
0.205403
0.03762
0.065835
0.007576
0.390373
0.288159
0.260401
0.250474
0.218079
0.183136
0
0.035101
0.100121
19,027
98
1,758
194.153061
0.859129
0.024754
0
0
0
0.244186
0.529364
0.064661
0
0
0
0
0
1
0
false
0
0.093023
0
0.093023
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d720ee0d974c620b033207cb5fff276504d81959
1,053
py
Python
txServiceRegistry/utils/utils.py
racker/python-twisted-service-registry-client
72adfce04c609d72f09ee2f21e9d31be12aefd80
[ "Apache-2.0" ]
null
null
null
txServiceRegistry/utils/utils.py
racker/python-twisted-service-registry-client
72adfce04c609d72f09ee2f21e9d31be12aefd80
[ "Apache-2.0" ]
2
2021-04-30T20:30:25.000Z
2022-02-11T03:38:41.000Z
txServiceRegistry/utils/utils.py
racker/python-twisted-service-registry-client
72adfce04c609d72f09ee2f21e9d31be12aefd80
[ "Apache-2.0" ]
null
null
null
# Copyright 2012 Rackspace Hosting, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to ...
29.25
74
0.728395
143
1,053
5.335664
0.65035
0.078637
0.034076
0.04194
0
0
0
0
0
0
0
0.009501
0.20038
1,053
35
75
30.085714
0.896675
0.531814
0
0.133333
0
0
0
0
0
0
0
0
0
1
0.266667
false
0.133333
0.2
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
1
0
1
0
0
1
0
0
3
d722036851473c7455f0ca8f493af1c325fb5f0d
10,908
py
Python
tests/sat/Models/c785.180.UNSAT.dimacs.test.py
bernardocuteri/wasp
05c8f961776dbdbf7afbf905ee00fc262eba51ad
[ "Apache-2.0" ]
19
2015-12-03T08:53:45.000Z
2022-03-31T02:09:43.000Z
tests/sat/Models/c785.180.UNSAT.dimacs.test.py
bernardocuteri/wasp
05c8f961776dbdbf7afbf905ee00fc262eba51ad
[ "Apache-2.0" ]
80
2017-11-25T07:57:32.000Z
2018-06-10T19:03:30.000Z
tests/sat/Models/c785.180.UNSAT.dimacs.test.py
bernardocuteri/wasp
05c8f961776dbdbf7afbf905ee00fc262eba51ad
[ "Apache-2.0" ]
6
2015-01-15T07:51:48.000Z
2020-06-18T14:47:48.000Z
input = """ c num blocks = 1 c num vars = 180 c minblockids[0] = 1 c maxblockids[0] = 180 p cnf 180 785 -119 50 -67 0 -114 -178 170 0 100 81 119 0 -8 37 77 0 60 -10 164 0 4 -120 -175 0 -134 40 -165 0 178 -135 1 0 -7 -175 -9 0 107 -24 -92 0 -24 -171 133 0 135 -10 -63 0 -121 -165 108 0 83 -173 168 0 14 171 89 0 -55 82 13...
13.720755
22
0.595618
3,163
10,908
2.054063
0.061018
0.005079
0.001847
0.003078
0
0
0
0
0
0
0
0.83161
0.290612
10,908
794
23
13.738035
0.008012
0
0
0
0
0
0.997433
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
1
0
0
0
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d73e2b2a7b53b1c3075d786268c8edd4d46b9ecd
765
py
Python
oslo_devsupport/model/messaging.py
berrange/oslo.devsupport
463c5842e95c5f8a7009ab1041f290e3a1050a06
[ "Apache-1.1" ]
null
null
null
oslo_devsupport/model/messaging.py
berrange/oslo.devsupport
463c5842e95c5f8a7009ab1041f290e3a1050a06
[ "Apache-1.1" ]
null
null
null
oslo_devsupport/model/messaging.py
berrange/oslo.devsupport
463c5842e95c5f8a7009ab1041f290e3a1050a06
[ "Apache-1.1" ]
null
null
null
from . import operation from oslo_versionedobjects import fields from oslo_versionedobjects import base class MessagingBase(operation.Operation): # Version 1.0: Initial version VERSION = "1.0" fields = { 'server': fields.StringField(nullable=True), 'topic': fields.StringField(), ...
21.857143
55
0.720261
69
765
7.956522
0.405797
0.154827
0.191257
0.218579
0.20765
0.20765
0
0
0
0
0
0.006369
0.179085
765
34
56
22.5
0.867834
0.036601
0
0.272727
0
0
0.057221
0
0
0
0
0
0
1
0
false
0.136364
0.136364
0
0.409091
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
d75c9f6506c115683e9746af9c0acc5c2e570d93
441
py
Python
alfi/mcmc/samplers/__init__.py
mrandri19/alfi
3782ab93ab8d77f55914b0795db0f132088c5281
[ "MIT" ]
4
2022-01-24T11:20:32.000Z
2022-03-03T11:03:58.000Z
alfi/mcmc/samplers/__init__.py
mossjacob/reggae
673b483731e6f162f41c3b52dc30f6a0df4684bf
[ "MIT" ]
null
null
null
alfi/mcmc/samplers/__init__.py
mossjacob/reggae
673b483731e6f162f41c3b52dc30f6a0df4684bf
[ "MIT" ]
2
2022-02-23T01:41:08.000Z
2022-03-06T19:50:12.000Z
from alfi.mcmc.samplers.mixed import MixedSampler from alfi.mcmc.samplers.mh import MetropolisKernel from alfi.mcmc.samplers.delay import DelaySampler from alfi.mcmc.samplers.latent import LatentGPSampler from alfi.mcmc.samplers.gibbs import GibbsSampler from alfi.mcmc.samplers.hmc import HMCSampler __all__ = [ '...
27.5625
53
0.777778
49
441
6.918367
0.367347
0.141593
0.212389
0.353982
0
0
0
0
0
0
0
0
0.133787
441
16
54
27.5625
0.887435
0
0
0
0
0
0.174208
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d7662945bddb4616d21c40931fe17bdad96c43bf
506
py
Python
THU--Deep_Learning/homework-3/layers/reshape_layer.py
AlbertMillan/THU--ACM_2019-2021
fc5b3cc7efcd8066e04cf6da6785c6051cd665fb
[ "MIT" ]
4
2020-12-29T14:49:44.000Z
2021-09-17T07:46:28.000Z
Deep Learning/Assignments/Assignment 3/layers/reshape_layer.py
Sahandfer/Tsinghua
0c1944aee8395e57429f27d9b0dd478460dcc8b3
[ "CC-BY-4.0" ]
null
null
null
Deep Learning/Assignments/Assignment 3/layers/reshape_layer.py
Sahandfer/Tsinghua
0c1944aee8395e57429f27d9b0dd478460dcc8b3
[ "CC-BY-4.0" ]
2
2020-12-26T03:05:53.000Z
2020-12-29T14:51:51.000Z
"""Reshape layer""" class ReshapeLayer(): def __init__(self, input_shape, output_shape): """ Apply the reshape operation to the incoming data Args: num_input: size of each input sample num_output: size of each output sample """ self.input_shape = input_shape self.output_shape = output_sha...
25.3
51
0.70751
68
506
5.058824
0.426471
0.104651
0.122093
0
0
0
0
0
0
0
0
0
0.197628
506
19
52
26.631579
0.847291
0.316206
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.222222
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d780053dcd6eb61aaa2b5f74f35b9a1f21d63dc5
6,155
py
Python
snare/net/addr.py
nategraf/snare
6f11f1aa18163df08c8cb66902c170e9a525465b
[ "MIT" ]
1
2021-04-16T15:14:12.000Z
2021-04-16T15:14:12.000Z
snare/net/addr.py
nategraf/snare
6f11f1aa18163df08c8cb66902c170e9a525465b
[ "MIT" ]
null
null
null
snare/net/addr.py
nategraf/snare
6f11f1aa18163df08c8cb66902c170e9a525465b
[ "MIT" ]
null
null
null
# coding: utf-8 """ Network address functions """ import fcntl import socket import struct import logging logger = logging.getLogger(__name__) # Dummy socket used for fcntl functions _socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) class AddrMeta(type): @property def maxvalue(cls): return ...
26.76087
96
0.594476
799
6,155
4.414268
0.209011
0.025801
0.014176
0.01928
0.27814
0.221151
0.208676
0.19053
0.171817
0.171817
0
0.03005
0.28091
6,155
229
97
26.877729
0.766832
0.304793
0
0.133333
0
0
0.023383
0
0
0
0.010945
0
0
1
0.258333
false
0
0.033333
0.133333
0.608333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d7885d73e7f2c3e117d9f9a85c112479dca22cd8
171,384
py
Python
pysnmp-with-texts/RUCKUS-SZ-EVENT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/RUCKUS-SZ-EVENT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/RUCKUS-SZ-EVENT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module RUCKUS-SZ-EVENT-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/RUCKUS-SZ-EVENT-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:59:01 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default...
237.373961
13,848
0.78823
18,700
171,384
7.223957
0.044278
0.074263
0.120677
0.148407
0.714283
0.643144
0.604184
0.59134
0.574255
0.565209
0
0.027408
0.074149
171,384
721
13,849
237.70319
0.823937
0.001937
0
0
0
0.233894
0.504791
0.068573
0
0
0
0
0
1
0
false
0.005602
0.022409
0
0.022409
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d788f7b1f5c631fa45ca6f544b2558fb7e5699a7
3,490
py
Python
tests/test_init.py
kopf/httsleep
e9d1c40b50e96bff2e5873e9c7aed53443d53453
[ "Apache-2.0" ]
54
2016-08-01T11:55:18.000Z
2021-04-10T19:38:06.000Z
tests/test_init.py
kopf/httsleep
e9d1c40b50e96bff2e5873e9c7aed53443d53453
[ "Apache-2.0" ]
16
2016-08-08T08:14:02.000Z
2018-11-04T15:16:59.000Z
tests/test_init.py
kopf/httsleep
e9d1c40b50e96bff2e5873e9c7aed53443d53453
[ "Apache-2.0" ]
5
2016-08-08T07:16:23.000Z
2018-05-17T20:53:26.000Z
import requests import pytest from httsleep.main import HttSleeper, DEFAULT_MAX_RETRIES URL = 'http://example.com' REQUEST = requests.Request(method='GET', url=URL) CONDITION = {'status_code': 200} def test_request_built_from_url(): obj = HttSleeper(URL, CONDITION) assert obj.request.url == URL assert ...
27.480315
90
0.688825
426
3,490
5.483568
0.166667
0.144692
0.188356
0.171233
0.465753
0.412243
0.286387
0.239298
0.167808
0.136986
0
0.015352
0.178797
3,490
126
91
27.698413
0.799721
0.022923
0
0.202381
0
0
0.074031
0
0
0
0
0
0.22619
1
0.202381
false
0.011905
0.035714
0
0.238095
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
d78ceb9499f44344e5e43bf70cac2890df030c1d
127
py
Python
python/testData/inspections/PyUnboundLocalVariableInspection/ForBreakElse.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/inspections/PyUnboundLocalVariableInspection/ForBreakElse.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/inspections/PyUnboundLocalVariableInspection/ForBreakElse.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
def f(c): for i in [1, 2, 3]: if c: x = 0 break else: x = 1 return x #pass
14.111111
23
0.322835
20
127
2.05
0.8
0
0
0
0
0
0
0
0
0
0
0.092593
0.574803
127
8
24
15.875
0.666667
0.031496
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ad156e719e86e38cd70d1eeec856ad03b17cae6d
518
py
Python
graspologic/__init__.py
tliu68/graspologic
d1cf7678bc63ab9769828a82a90f66bf1dfa0eff
[ "MIT" ]
null
null
null
graspologic/__init__.py
tliu68/graspologic
d1cf7678bc63ab9769828a82a90f66bf1dfa0eff
[ "MIT" ]
null
null
null
graspologic/__init__.py
tliu68/graspologic
d1cf7678bc63ab9769828a82a90f66bf1dfa0eff
[ "MIT" ]
null
null
null
# Copyright (c) Microsoft Corporation and contributors. # Licensed under the MIT License. import graspologic.align import graspologic.cluster import graspologic.datasets import graspologic.embed import graspologic.inference import graspologic.layouts import graspologic.models import graspologic.partition import graspo...
24.666667
55
0.861004
57
518
7.684211
0.491228
0.504566
0
0
0
0
0
0
0
0
0
0
0.094595
518
20
56
25.9
0.933902
0.164093
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.933333
0
0.933333
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
1
0
1
0
0
3
ad296f030274a649eea8d196c3e6a6fba4d5e71c
527
py
Python
release/stubs.min/System/__init___parts/ICloneable.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
182
2017-06-27T02:26:15.000Z
2022-03-30T18:53:43.000Z
release/stubs.min/System/__init___parts/ICloneable.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
28
2017-06-27T13:38:23.000Z
2022-03-15T11:19:44.000Z
release/stubs.min/System/__init___parts/ICloneable.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
67
2017-06-28T09:43:59.000Z
2022-03-20T21:17:10.000Z
class ICloneable: """ Supports cloning,which creates a new instance of a class with the same value as an existing instance. """ def Clone(self): """ Clone(self: ICloneable) -> object Creates a new object that is a copy of the current instance. Returns: A new object that is a copy of this ins...
31
147
0.679317
75
527
4.4
0.493333
0.036364
0.066667
0.084848
0.327273
0.327273
0.327273
0.327273
0
0
0
0
0.216319
527
16
148
32.9375
0.799031
0.749526
0
0.4
0
0
0
0
0
0
0
0
0
1
0.4
false
0.4
0
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
1
0
1
0
0
1
0
0
3
ad667f9781b41d140d2ba667dae80d3f15a3d34e
1,584
py
Python
tests/llutil/test_dictprocess.py
tjyuyao/ice-learn
99087181d2d15cb55a3c34004550179366ce601a
[ "MIT" ]
1
2022-03-29T11:06:36.000Z
2022-03-29T11:06:36.000Z
tests/llutil/test_dictprocess.py
tjyuyao/ice-learn
99087181d2d15cb55a3c34004550179366ce601a
[ "MIT" ]
null
null
null
tests/llutil/test_dictprocess.py
tjyuyao/ice-learn
99087181d2d15cb55a3c34004550179366ce601a
[ "MIT" ]
null
null
null
import ice def test_dictprocess(): @ice.dictprocess def Sub1(x, y): return {"z": x-y} @ice.dictprocess def Sub2(x, y): return @ice.dictprocess def Sub3(x, y): return x-y @ice.dictprocess def Sub4(x, y): return {"z": x-y, "w": x + y} @ice.dictprocess def Sub5(x, y): return x ...
56.571429
212
0.571338
294
1,584
3.07483
0.190476
0.026549
0.039823
0.053097
0.630531
0.536504
0.371681
0.228982
0.163717
0.128319
0
0.061502
0.209596
1,584
28
213
56.571429
0.660543
0
0
0.227273
0
0.090909
0.417035
0
0
0
0
0
0.454545
1
0.272727
false
0
0.045455
0.227273
0.318182
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
1
0
1
0
0
0
1
0
0
0
3
ad6bfc4177d24dfe0b8bffdd010a3d4a47bab225
23
py
Python
pyhomeworksqs/__init__.py
rverstappen/pyhomeworksqs
a58cb733563bcc078460c87b229d8e0b6bda702d
[ "MIT" ]
null
null
null
pyhomeworksqs/__init__.py
rverstappen/pyhomeworksqs
a58cb733563bcc078460c87b229d8e0b6bda702d
[ "MIT" ]
null
null
null
pyhomeworksqs/__init__.py
rverstappen/pyhomeworksqs
a58cb733563bcc078460c87b229d8e0b6bda702d
[ "MIT" ]
null
null
null
name = "pyhomeworksqs"
11.5
22
0.73913
2
23
8.5
1
0
0
0
0
0
0
0
0
0
0
0
0.130435
23
1
23
23
0.85
0
0
0
0
0
0.565217
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ad6ed14e5852cf6d0cc0e96e71f8f337656e51eb
307
py
Python
PDBTinker/tests/test_PDBTinker.py
markahix/PDBTinker
22e65be6576cd241bc917981e151531f59e18eb0
[ "BSD-3-Clause" ]
1
2020-10-22T11:07:49.000Z
2020-10-22T11:07:49.000Z
PDBTinker/tests/test_PDBTinker.py
markahix/PDBTinker
22e65be6576cd241bc917981e151531f59e18eb0
[ "BSD-3-Clause" ]
null
null
null
PDBTinker/tests/test_PDBTinker.py
markahix/PDBTinker
22e65be6576cd241bc917981e151531f59e18eb0
[ "BSD-3-Clause" ]
null
null
null
""" Unit and regression test for the PDBTinker package. """ # Import package, test suite, and other packages as needed import PDBTinker import pytest import sys def test_PDBTinker_imported(): """Sample test, will always pass so long as import statement worked""" assert "PDBTinker" in sys.modules
23.615385
74
0.752443
43
307
5.325581
0.674419
0
0
0
0
0
0
0
0
0
0
0
0.172638
307
12
75
25.583333
0.901575
0.566775
0
0
0
0
0.075
0
0
0
0
0
0.2
1
0.2
true
0
0.8
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
ad73f28e4f41132d8b076bb597efc66b2f9afd48
73
py
Python
config.py
jstrand/presto
7ee30a8bec898c706ae059f4bb610ef0b2d1c448
[ "MIT" ]
null
null
null
config.py
jstrand/presto
7ee30a8bec898c706ae059f4bb610ef0b2d1c448
[ "MIT" ]
null
null
null
config.py
jstrand/presto
7ee30a8bec898c706ae059f4bb610ef0b2d1c448
[ "MIT" ]
null
null
null
bind_to = 'localhost' port = 8001 client_id = 'INSERT GOOGLE CLIENT ID'
14.6
37
0.726027
11
73
4.636364
0.818182
0.313725
0
0
0
0
0
0
0
0
0
0.066667
0.178082
73
4
38
18.25
0.783333
0
0
0
0
0
0.444444
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a8dacbac7feb94a1bc508e3ea0d4d32c24c54028
333
py
Python
framewirc/exceptions.py
meshy/framewirc
3a75e95c3cdad8705d09e1e80d05feb766e97893
[ "BSD-2-Clause" ]
41
2015-10-13T22:46:07.000Z
2018-05-06T16:46:18.000Z
framewirc/exceptions.py
meshy/framewirc
3a75e95c3cdad8705d09e1e80d05feb766e97893
[ "BSD-2-Clause" ]
22
2015-10-13T22:52:00.000Z
2018-03-05T20:30:50.000Z
framewirc/exceptions.py
meshy/framewirc
3a75e95c3cdad8705d09e1e80d05feb766e97893
[ "BSD-2-Clause" ]
2
2015-10-16T22:51:10.000Z
2015-11-23T23:19:49.000Z
class MessageTooLong(Exception): pass class MissingAttributes(Exception): def __init__(self, attrs): msg = 'Required attribute(s) missing: {}'.format(attrs) super().__init__(msg) class MustBeBytes(Exception): pass class NoLineEnding(Exception): pass class StrayLineEnding(Exceptio...
15.857143
63
0.690691
33
333
6.727273
0.575758
0.234234
0.243243
0
0
0
0
0
0
0
0
0
0.204204
333
20
64
16.65
0.837736
0
0
0.333333
0
0
0.099099
0
0
0
0
0
0
1
0.083333
false
0.333333
0
0
0.5
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
a8ff5fa69dbf81086e984fdf5ea299a4f3735edf
254
py
Python
risk/templatetags/filters.py
atlasfoo/risk_audit_websys
df43a48699b16d0d0bade3f597d889bfe20eda7b
[ "MIT" ]
null
null
null
risk/templatetags/filters.py
atlasfoo/risk_audit_websys
df43a48699b16d0d0bade3f597d889bfe20eda7b
[ "MIT" ]
13
2021-05-28T05:22:16.000Z
2021-06-02T05:49:07.000Z
risk/templatetags/filters.py
atlasfoo/risksys
df43a48699b16d0d0bade3f597d889bfe20eda7b
[ "MIT" ]
null
null
null
from django import template register = template.Library() @register.filter(name='sum_economic_loss') def sum_economic_loss(effect_list): """Sums the economic loss values in an effects list""" return sum(el.economic_loss for el in effect_list)
25.4
58
0.767717
38
254
4.947368
0.605263
0.255319
0.159574
0
0
0
0
0
0
0
0
0
0.141732
254
9
59
28.222222
0.862385
0.188976
0
0
0
0
0.085
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
d11ba30ccfe5550d5c8e365cc70991b788a58cf9
28,689
py
Python
src/larksuiteoapi/service/sheets/v2/model.py
VXenomac/oapi-sdk-python
156b789b3d20653802f64842c9a26229dd9252d7
[ "Apache-2.0" ]
50
2021-04-11T05:24:10.000Z
2022-03-29T10:14:13.000Z
src/larksuiteoapi/service/sheets/v2/model.py
larksuite/oapi-sdk-python
70fda5b1ccf765938bf207dff0117c0c03a93605
[ "Apache-2.0" ]
20
2021-04-07T15:17:44.000Z
2022-03-23T06:27:12.000Z
src/larksuiteoapi/service/sheets/v2/model.py
VXenomac/oapi-sdk-python
156b789b3d20653802f64842c9a26229dd9252d7
[ "Apache-2.0" ]
8
2021-04-25T15:02:17.000Z
2022-03-13T15:00:59.000Z
# -*- coding: UTF-8 -*- # Code generated by lark suite oapi sdk gen from typing import List, Dict, Any from ....utils.dt import to_json_decorator import attr @to_json_decorator @attr.s class User(object): member_type = attr.ib(type=str, default=None, metadata={'json': 'memberType'}) member_id = attr.ib(typ...
38.97962
130
0.723936
3,536
28,689
5.77517
0.080034
0.075217
0.125361
0.288331
0.758582
0.73684
0.689682
0.689682
0.658048
0.596298
0
0.000039
0.110112
28,689
736
131
38.97962
0.799843
0.002196
0
0.629771
1
0
0.125279
0.003878
0
0
0
0
0
1
0
false
0
0.01145
0
0.687023
0
0
0
0
null
0
0
1
0
1
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
3
d12c9b3ff119ec9f66a4838f2834bfb12df0cb83
356
py
Python
release/win32/data/setupwinegg.py
peircej/matplotlib
8a590fa2475e2350cf350d155089cfef18846765
[ "MIT", "PSF-2.0", "BSD-3-Clause" ]
1
2016-08-09T14:14:42.000Z
2016-08-09T14:14:42.000Z
release/win32/data/setupwinegg.py
peircej/matplotlib
8a590fa2475e2350cf350d155089cfef18846765
[ "MIT", "PSF-2.0", "BSD-3-Clause" ]
null
null
null
release/win32/data/setupwinegg.py
peircej/matplotlib
8a590fa2475e2350cf350d155089cfef18846765
[ "MIT", "PSF-2.0", "BSD-3-Clause" ]
null
null
null
from distutils import cygwinccompiler try: # Python 2.6 # Replace the msvcr func to return an empty list cygwinccompiler.get_msvcr cygwinccompiler.get_msvcr = lambda: [] except AttributeError: pass from setuptools import setup execfile('setup.py', {'additional_params' : {'namesp...
22.25
52
0.696629
40
356
6.075
0.8
0.148148
0.1893
0
0
0
0
0
0
0
0
0.007168
0.216292
356
15
53
23.733333
0.863799
0.160112
0
0
0
0
0.185811
0
0
0
0
0
0
1
0
true
0.1
0.2
0
0.2
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
d146fc7b06fef90f3ee93ed13e7400380e326e04
1,010
py
Python
deep-rl/lib/python2.7/site-packages/OpenGL/GLX/EXT/import_context.py
ShujaKhalid/deep-rl
99c6ba6c3095d1bfdab81bd01395ced96bddd611
[ "MIT" ]
3
2019-04-01T11:03:04.000Z
2019-12-31T02:17:15.000Z
deep-rl/lib/python2.7/site-packages/OpenGL/GLX/EXT/import_context.py
ShujaKhalid/deep-rl
99c6ba6c3095d1bfdab81bd01395ced96bddd611
[ "MIT" ]
1
2021-02-08T20:34:54.000Z
2021-02-08T20:34:54.000Z
deep-rl/lib/python2.7/site-packages/OpenGL/GLX/EXT/import_context.py
ShujaKhalid/deep-rl
99c6ba6c3095d1bfdab81bd01395ced96bddd611
[ "MIT" ]
1
2021-09-23T13:43:07.000Z
2021-09-23T13:43:07.000Z
'''OpenGL extension EXT.import_context This module customises the behaviour of the OpenGL.raw.GLX.EXT.import_context to provide a more Python-friendly API Overview (from the spec) This extension allows multiple X clients to share an indirect rendering context. Additional convenience procedures to get the cur...
31.5625
71
0.80297
141
1,010
5.673759
0.531915
0.075
0.1
0.05625
0.13
0.13
0.095
0.095
0
0
0
0
0.139604
1,010
32
72
31.5625
0.920598
0.657426
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
true
0
0.888889
0
1.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
d15f248e52e3a5f945152660dc25859bad3ca60a
263
py
Python
apps/users/admin.py
goodbad3/MoocOnline
6d2007aff2a553ca71d956cf8173b87c939983f8
[ "MIT" ]
null
null
null
apps/users/admin.py
goodbad3/MoocOnline
6d2007aff2a553ca71d956cf8173b87c939983f8
[ "MIT" ]
null
null
null
apps/users/admin.py
goodbad3/MoocOnline
6d2007aff2a553ca71d956cf8173b87c939983f8
[ "MIT" ]
null
null
null
from django.contrib import admin from django.contrib.auth.admin import UserAdmin from users.models import UserProfile # Register your models here. ''' class UserAdmin(admin.ModelAdmin): pass admin.site.register(UserProfile, UserAdmin) # 注册admin '''
18.785714
59
0.760456
32
263
6.25
0.5625
0.1
0.17
0
0
0
0
0
0
0
0
0
0.152091
263
13
60
20.230769
0.896861
0.098859
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
d1738d805fbf44379cf4a5963439bbeacf67b315
135
py
Python
metaextract/tests/fixtures/setuptools_simple/setup.py
toabctl/metaextract
0ab4a2de21eebf6805e5f8b0937446b93dd63a20
[ "Apache-2.0" ]
8
2017-06-14T18:51:56.000Z
2019-03-26T18:16:03.000Z
metaextract/tests/fixtures/setuptools_simple/setup.py
toabctl/metaextract
0ab4a2de21eebf6805e5f8b0937446b93dd63a20
[ "Apache-2.0" ]
7
2016-11-27T02:09:32.000Z
2021-12-08T13:04:18.000Z
metaextract/tests/fixtures/setuptools_simple/setup.py
toabctl/metaextract
0ab4a2de21eebf6805e5f8b0937446b93dd63a20
[ "Apache-2.0" ]
3
2018-06-04T15:48:07.000Z
2019-03-26T14:24:41.000Z
import setuptools setuptools.setup( name='testpkg', install_requires=['foo', 'bar'], extras_require={'extra1': 'pkg1'}, )
16.875
38
0.651852
14
135
6.142857
0.928571
0
0
0
0
0
0
0
0
0
0
0.017699
0.162963
135
7
39
19.285714
0.743363
0
0
0
0
0
0.17037
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
d175d9c61b7dd9037763698ce8fa0bc138582299
13
py
Python
piptv_pmg/__init__.py
KeltenP/pmg
f75f4d07bd0b2cf3a1be7d4817d0c3b99dc04e4c
[ "MIT" ]
24
2019-10-03T21:11:25.000Z
2022-01-27T03:23:21.000Z
piptv_pmg/__init__.py
KeltenP/pmg
f75f4d07bd0b2cf3a1be7d4817d0c3b99dc04e4c
[ "MIT" ]
22
2019-10-05T18:01:40.000Z
2021-09-13T10:36:13.000Z
piptv_pmg/__init__.py
KeltenP/pmg
f75f4d07bd0b2cf3a1be7d4817d0c3b99dc04e4c
[ "MIT" ]
13
2019-10-14T00:33:39.000Z
2021-05-11T05:57:44.000Z
name = "pmg"
6.5
12
0.538462
2
13
3.5
1
0
0
0
0
0
0
0
0
0
0
0
0.230769
13
1
13
13
0.7
0
0
0
0
0
0.230769
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
66f4876e2dd32c9f501bfcbcfbb8c5c61f9619d9
2,310
py
Python
tests/validator_testing_tools.py
DDMAL/tripoli
9c2371ab05549c433814d892a47cd3cff14035d3
[ "MIT" ]
18
2016-08-08T18:53:43.000Z
2020-12-08T02:57:57.000Z
tests/validator_testing_tools.py
DDMAL/tripoli
9c2371ab05549c433814d892a47cd3cff14035d3
[ "MIT" ]
33
2016-07-22T14:33:15.000Z
2021-03-19T22:32:30.000Z
tests/validator_testing_tools.py
DDMAL/tripoli
9c2371ab05549c433814d892a47cd3cff14035d3
[ "MIT" ]
1
2017-05-30T08:14:10.000Z
2017-05-30T08:14:10.000Z
import unittest import inspect from tripoli.validator_logging import ValidatorLog class ValidatorTestingTools(unittest.TestCase): def setUp(self): self.test_subject = None raise NotImplemented def has_error(self, error): """Check if a particular error was raised.""" return e...
33.478261
88
0.658009
288
2,310
5.069444
0.260417
0.087671
0.164384
0.071918
0.619178
0.605479
0.521233
0.407534
0.39863
0.39863
0
0
0.248918
2,310
68
89
33.970588
0.841499
0.044156
0
0.408163
0
0
0.048703
0
0
0
0
0
0.122449
1
0.285714
false
0
0.061224
0.122449
0.530612
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0f0aa84635b37b625d6b08c8c51e3c761c01c8e0
264
py
Python
geo_knowledge_hub/records/__init__.py
M3nin0/geo-knowledge-hub
3e4a090cf5a76f5e6fb56f31adcfb2ca271e4111
[ "MIT" ]
null
null
null
geo_knowledge_hub/records/__init__.py
M3nin0/geo-knowledge-hub
3e4a090cf5a76f5e6fb56f31adcfb2ca271e4111
[ "MIT" ]
null
null
null
geo_knowledge_hub/records/__init__.py
M3nin0/geo-knowledge-hub
3e4a090cf5a76f5e6fb56f31adcfb2ca271e4111
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (C) 2021 GEO Secretariat. # # geo-knowledge-hub-ext is free software; you can redistribute it and/or # modify it under the terms of the MIT License; see LICENSE file for more # details. """GEO Knowledge Hub Record Service"""
26.4
73
0.708333
41
264
4.560976
0.829268
0.128342
0.160428
0
0
0
0
0
0
0
0
0.022936
0.174242
264
9
74
29.333333
0.834862
0.920455
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
0f0c01290f2f9a4a63a5b8d2ba4372d7ee56e49c
207
py
Python
ch_03/pie.py
berchev/python_learning
5b99065cade53c64b4ede3d0e583c58573ca654c
[ "MIT" ]
null
null
null
ch_03/pie.py
berchev/python_learning
5b99065cade53c64b4ede3d0e583c58573ca654c
[ "MIT" ]
null
null
null
ch_03/pie.py
berchev/python_learning
5b99065cade53c64b4ede3d0e583c58573ca654c
[ "MIT" ]
null
null
null
#!/usr/bin/env python def pie_percent(n): """ :param n: int :return: int precodition: n >0 """ return int(100 / n ) print(pie_percent(3)) print(pie_percent(2)) print(pie_percent(5))
15.923077
24
0.603865
32
207
3.78125
0.5625
0.330579
0.371901
0
0
0
0
0
0
0
0
0.04375
0.227053
207
13
25
15.923077
0.7125
0.31401
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0.6
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
0f10f92edfd1701866f915c1af539392e1c6bf4b
121
py
Python
module1/queries.py
ryanleeallred/databases-ds33
98ac2ede2aaf9f8ea48c5276c63537bb5ad3b4e1
[ "MIT" ]
null
null
null
module1/queries.py
ryanleeallred/databases-ds33
98ac2ede2aaf9f8ea48c5276c63537bb5ad3b4e1
[ "MIT" ]
null
null
null
module1/queries.py
ryanleeallred/databases-ds33
98ac2ede2aaf9f8ea48c5276c63537bb5ad3b4e1
[ "MIT" ]
null
null
null
name_and_hp = '''SELECT name, hp FROM charactercreator_character;''' # More queries to go here below
20.166667
52
0.636364
15
121
4.933333
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.280992
121
5
53
24.2
0.850575
0.239669
0
0
0
0
0.741573
0.303371
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0f161d6fef12431b2a3a64e1dd9569796b6ee619
16,697
py
Python
script/utils/Object_Labeling.py
SAMMiCA/ChangeSim
76f93c1de49830af168f029813a77c4eacc35419
[ "MIT" ]
39
2021-03-08T10:00:07.000Z
2022-03-02T13:23:07.000Z
script/utils/Object_Labeling.py
chickenbestlover/ChangeSim
76f93c1de49830af168f029813a77c4eacc35419
[ "MIT" ]
3
2021-07-08T06:40:13.000Z
2022-03-18T14:10:10.000Z
script/utils/Object_Labeling.py
chickenbestlover/ChangeSim
76f93c1de49830af168f029813a77c4eacc35419
[ "MIT" ]
11
2021-03-23T11:44:10.000Z
2021-12-27T09:19:51.000Z
# -*- coding: utf-8 -*- import numpy as np from .dict_indexing import Dict_indexing import torch class SegHelper: def __init__(self,opt=None,idx2color_path='../../backup/idx2color.txt',num_class=32): self.opt = opt self.num_classes = num_class self.idx2color_path = idx2color_path f ...
60.937956
112
0.67605
1,831
16,697
6.05953
0.16166
0.464353
0.360162
0.384317
0.72402
0.656242
0.567463
0.182695
0.182695
0.128977
0
0.027908
0.141582
16,697
273
113
61.161172
0.74618
0.025933
0
0.009174
0
0
0.182081
0.034175
0
0
0
0
0
1
0.036697
false
0
0.013761
0
0.082569
0.027523
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0f3c505e4298d645f8ebc22c913422bd8709eb71
19
py
Python
Alpha/__init__.py
MuddyFishing/juejin-strategy
17595e6bf4a118e1fa87c90bfb0fd78afa69a60b
[ "Apache-2.0" ]
670
2015-11-20T05:51:30.000Z
2022-03-31T14:19:05.000Z
Alpha/__init__.py
MuddyFishing/juejin-strategy
17595e6bf4a118e1fa87c90bfb0fd78afa69a60b
[ "Apache-2.0" ]
5
2016-06-07T09:14:19.000Z
2020-08-19T00:03:30.000Z
Alpha/__init__.py
MuddyFishing/juejin-strategy
17595e6bf4a118e1fa87c90bfb0fd78afa69a60b
[ "Apache-2.0" ]
347
2015-11-28T08:57:58.000Z
2022-03-31T03:27:02.000Z
__author__ = 'tao'
9.5
18
0.684211
2
19
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.157895
19
1
19
19
0.5625
0
0
0
0
0
0.157895
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0f6985ee158344f55ae84b304ff7bc05ce373a69
125
gyp
Python
binding.gyp
lillyliv/wiux-backend
96ad7336dd17eee1c091c725bfc1864c78d81dcf
[ "Apache-2.0" ]
4
2021-11-04T15:17:16.000Z
2021-12-24T20:25:04.000Z
binding.gyp
lillyliv/wiux-backend
96ad7336dd17eee1c091c725bfc1864c78d81dcf
[ "Apache-2.0" ]
11
2021-12-16T18:18:21.000Z
2022-01-19T03:45:58.000Z
binding.gyp
lillyliv/wiux-backend
96ad7336dd17eee1c091c725bfc1864c78d81dcf
[ "Apache-2.0" ]
1
2021-12-30T03:12:44.000Z
2021-12-30T03:12:44.000Z
{ "targets": [ { "target_name": "SpatialHashing", "sources": ["src/SpatialHashing/SpatialHashing.cc"] } ] }
12.5
56
0.576
9
125
7.888889
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.224
125
9
57
13.888889
0.731959
0
0
0
0
0
0.6
0.288
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
0f6f0e398e5d0f4b3b1a405c48f9e8cfde0e052c
1,727
py
Python
classes/question.py
pbexe/DQS
ea54a97f4c815575f132aa4154dc274304339a73
[ "MIT" ]
null
null
null
classes/question.py
pbexe/DQS
ea54a97f4c815575f132aa4154dc274304339a73
[ "MIT" ]
null
null
null
classes/question.py
pbexe/DQS
ea54a97f4c815575f132aa4154dc274304339a73
[ "MIT" ]
null
null
null
class Question: def __init__(self, text, category): self.__question_text = text self.__question_category = category @property def question_text(self): return self.__question_text @question_text.setter def question_text(self, value): self.__question_text = value ...
25.776119
59
0.694268
187
1,727
5.909091
0.090909
0.141176
0.076018
0.086878
0.704977
0.684163
0.684163
0.684163
0.684163
0.684163
0
0
0.231616
1,727
66
60
26.166667
0.832705
0
0
0.68
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0
0.12
0.48
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
1
0
0
0
1
0
0
0
3
0f7e0914567e592d39150e89ec31e31dbd9f9705
1,153
py
Python
src/_stories/summary.py
gtors/stories
0614624f472151f20617afa4e6c4a0af9b409b6d
[ "BSD-2-Clause" ]
null
null
null
src/_stories/summary.py
gtors/stories
0614624f472151f20617afa4e6c4a0af9b409b6d
[ "BSD-2-Clause" ]
null
null
null
src/_stories/summary.py
gtors/stories
0614624f472151f20617afa4e6c4a0af9b409b6d
[ "BSD-2-Clause" ]
null
null
null
class FailureSummary(object): def __init__(self, protocol, ctx, failed_method, reason): self.__protocol = protocol self.is_success = False self.is_failure = True self.ctx = ctx self.__failed_method = failed_method self.__failure_reason = reason def failed_on(self...
26.813953
63
0.658283
129
1,153
5.418605
0.224806
0.120172
0.077253
0.11588
0.472103
0.400572
0.306152
0.217454
0.217454
0.217454
0
0
0.264527
1,153
42
64
27.452381
0.824292
0
0
0.363636
0
0
0.015611
0
0
0
0
0
0.030303
1
0.272727
false
0
0
0.121212
0.515152
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0f85935bfc2916eb08414d8e797f1fb038c8b98b
12,917
py
Python
sudoku.py
sok63/sudoku-1
db8145dfea28c3f2e885ac40c0570cac40e7924b
[ "Apache-2.0" ]
1
2015-09-30T17:03:35.000Z
2015-09-30T17:03:35.000Z
sudoku.py
pengdai2/sudoku
db8145dfea28c3f2e885ac40c0570cac40e7924b
[ "Apache-2.0" ]
null
null
null
sudoku.py
pengdai2/sudoku
db8145dfea28c3f2e885ac40c0570cac40e7924b
[ "Apache-2.0" ]
3
2015-09-30T17:09:27.000Z
2021-03-17T10:52:51.000Z
# # Sudoku object module. # # This module contains various Sudoku entities such as node, # row, col, box, and last but not the least the entire board. # The strategy logic is teased out of this module entirely. # import re import abc class ValueException(Exception): def __init__(self, value): self.value ...
26.798755
101
0.563753
1,742
12,917
4.049943
0.125718
0.053863
0.04961
0.014741
0.317505
0.259249
0.205103
0.180865
0.135082
0.124876
0
0.008007
0.323217
12,917
481
102
26.85447
0.799016
0.05187
0
0.30033
0
0
0.014636
0.005651
0
0
0
0
0
1
0.267327
false
0
0.006601
0.168317
0.534653
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7e1e16cf028627b75b9669d223672963c7bd592c
176
py
Python
okteam/main.py
o-fedorov/okteam
4b65530fffd2dee37e2ab0595d7073283575ed1f
[ "MIT" ]
null
null
null
okteam/main.py
o-fedorov/okteam
4b65530fffd2dee37e2ab0595d7073283575ed1f
[ "MIT" ]
null
null
null
okteam/main.py
o-fedorov/okteam
4b65530fffd2dee37e2ab0595d7073283575ed1f
[ "MIT" ]
null
null
null
from . import tsurka from .settings import BACKGROUND, HEIGHT, TITLE, WIDTH def draw(): screen.fill(BACKGROUND) tsurka.draw() def update(dt): tsurka.update(dt)
14.666667
54
0.693182
23
176
5.304348
0.608696
0.131148
0
0
0
0
0
0
0
0
0
0
0.193182
176
11
55
16
0.859155
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0
0.571429
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
1
0
0
0
0
1
0
0
3
7e25d530eed61280c4825b27568dadb7a7ba75b4
101
py
Python
helloWorld/helloWorldApp/apps.py
brentde/redditClone
f3e750c3a595fa446491c84191a8517855448917
[ "MIT" ]
4
2019-10-29T22:49:54.000Z
2020-02-17T06:14:07.000Z
helloWorld/helloWorldApp/apps.py
jcheon/reddit_clone
e4efc5dac7b131e564296cb2421b296c860b47bf
[ "MIT" ]
16
2019-11-25T02:39:18.000Z
2022-02-10T13:28:22.000Z
helloWorld/helloWorldApp/apps.py
brentde/redditClone
f3e750c3a595fa446491c84191a8517855448917
[ "MIT" ]
1
2019-10-22T06:38:30.000Z
2019-10-22T06:38:30.000Z
from django.apps import AppConfig class HelloworldappConfig(AppConfig): name = 'helloWorldApp'
16.833333
37
0.782178
10
101
7.9
0.9
0
0
0
0
0
0
0
0
0
0
0
0.148515
101
5
38
20.2
0.918605
0
0
0
0
0
0.128713
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7e383f8bed15b8e1b5a1331ee227c7072413a78a
5,171
py
Python
webapp/models.py
mattl1598/sp-website
648fae50f7ecc604f92809794b728fd09d21b532
[ "Apache-2.0" ]
null
null
null
webapp/models.py
mattl1598/sp-website
648fae50f7ecc604f92809794b728fd09d21b532
[ "Apache-2.0" ]
16
2021-06-03T00:42:36.000Z
2021-06-07T15:37:12.000Z
webapp/models.py
mattl1598/sp-website
648fae50f7ecc604f92809794b728fd09d21b532
[ "Apache-2.0" ]
null
null
null
from datetime import datetime from webapp import db from webapp import login_manager from werkzeug.security import generate_password_hash, check_password_hash from flask_login import UserMixin class RadioPlayViewCounts(db.Model): id = db.Column(db.String(16), primary_key=True) show_id = db.Column(db.String(16), db....
33.147436
118
0.71785
780
5,171
4.635897
0.175641
0.139381
0.174226
0.141593
0.46073
0.396571
0.347069
0.300608
0.2724
0.243086
0
0.014326
0.10907
5,171
155
119
33.36129
0.770567
0
0
0.241667
1
0.033333
0.128408
0.023593
0
0
0
0
0
1
0.1
false
0.083333
0.041667
0.058333
0.866667
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
1
0
0
1
0
0
3
7e4b158a9adf1c2931372cc31bf7a07776a6694d
8,711
py
Python
logic/s_game_play_stage2.py
redtreeai/super-flying-chess
1df9a2697cfd353e13ef4896aa6328437c0caaa2
[ "MIT" ]
20
2019-09-30T06:15:18.000Z
2021-04-16T09:24:27.000Z
logic/s_game_play_stage2.py
redtreeai/super-flying-chess
1df9a2697cfd353e13ef4896aa6328437c0caaa2
[ "MIT" ]
2
2019-09-30T06:30:38.000Z
2019-10-09T09:40:04.000Z
logic/s_game_play_stage2.py
redtreeai/super-flying-chess
1df9a2697cfd353e13ef4896aa6328437c0caaa2
[ "MIT" ]
3
2019-10-09T06:13:45.000Z
2020-04-03T07:45:24.000Z
# -*- coding: utf-8 -*- # @Time : 19-8-29 上午10:07 # @Author : Redtree # @File : s_game_play_stage2.py # @Desc : 执行移动逻辑阶段 from data import player_runtime from data import routes from logic import loader def dojob(): # 开始执行角色移动逻辑 # 1 获取当前队伍编号 team = player_runtime.INFO['turn'] # 2 根据队伍编号获取校验...
42.492683
103
0.371484
820
8,711
3.743902
0.147561
0.203257
0.254723
0.149837
0.601954
0.547557
0.376547
0.376547
0.365472
0.365472
0
0.027575
0.512915
8,711
204
104
42.70098
0.69597
0.066468
0
0.496296
0
0
0.087155
0
0
0
0
0
0
1
0.007407
false
0.007407
0.022222
0
0.02963
0
0
0
0
null
1
1
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
3
7e6853671793246b9f46d3614cb6a2a904d65358
691
py
Python
src/model/SGDRegressionModel.py
ASethi77/StateOfTheMedia
98512ba5e5242d7d9c2bdb0f6725d4ae0170ca8b
[ "Apache-2.0" ]
null
null
null
src/model/SGDRegressionModel.py
ASethi77/StateOfTheMedia
98512ba5e5242d7d9c2bdb0f6725d4ae0170ca8b
[ "Apache-2.0" ]
null
null
null
src/model/SGDRegressionModel.py
ASethi77/StateOfTheMedia
98512ba5e5242d7d9c2bdb0f6725d4ae0170ca8b
[ "Apache-2.0" ]
null
null
null
from .regression_model import RegressionModel from sklearn.externals import joblib from sklearn.linear_model import SGDRegressor class SGDRegressionModel(RegressionModel): def __init__(self, train_data): RegressionModel.__init__(self, train_data) self.model = SGDRegressor() def train(self, x=None, y=None): x ...
24.678571
45
0.749638
110
691
4.527273
0.318182
0.108434
0.052209
0.068273
0.088353
0.088353
0
0
0
0
0
0
0.149059
691
27
46
25.592593
0.846939
0
0
0
0
0
0
0
0
0
0
0
0
1
0.315789
false
0
0.157895
0.105263
0.631579
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7e69afc9dbdf181df237976fda3ad3f323d8c261
230
py
Python
create_adverstiment.py
kiriharu/telegram-redirect
db96ad201ce6dc78c0b6b044f151c5c1fa50291e
[ "MIT" ]
22
2019-08-11T12:37:25.000Z
2021-03-27T18:12:56.000Z
create_adverstiment.py
kiriharu/telegram-redirect
db96ad201ce6dc78c0b6b044f151c5c1fa50291e
[ "MIT" ]
null
null
null
create_adverstiment.py
kiriharu/telegram-redirect
db96ad201ce6dc78c0b6b044f151c5c1fa50291e
[ "MIT" ]
1
2021-03-04T16:13:14.000Z
2021-03-04T16:13:14.000Z
from models import Adverstiment adv = Adverstiment() link = input("Enter adverstiment link: ") picture = input("Enter adverstiment picture: ") show = input("Enter shows count: ") adv.create(link=link, picture=picture, show=show)
28.75
49
0.747826
29
230
5.931034
0.448276
0.174419
0.255814
0
0
0
0
0
0
0
0
0
0.126087
230
8
49
28.75
0.855721
0
0
0
0
0
0.311688
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7e86901614a77cd828d91df91656f11e04abfb13
827
py
Python
tests/test_operator.py
marmeladema/calligra
912becec93a2246ed322656131b7bd9fe51fff95
[ "MIT" ]
1
2020-11-29T07:25:34.000Z
2020-11-29T07:25:34.000Z
tests/test_operator.py
marmeladema/calligra
912becec93a2246ed322656131b7bd9fe51fff95
[ "MIT" ]
1
2019-04-19T15:06:31.000Z
2019-04-26T13:24:36.000Z
tests/test_operator.py
marmeladema/calligra
912becec93a2246ed322656131b7bd9fe51fff95
[ "MIT" ]
null
null
null
import unittest import calligra.operator class TestBinary(unittest.TestCase): def test_array(self): op = calligra.operator.array('a', '3') self.assertEqual(str(op), 'a[3]') op = calligra.operator.array(op, '5') self.assertEqual(str(op), 'a[3][5]') op = calligra.operator.array('7', op) self.assertEqual(st...
28.517241
45
0.674728
122
827
4.508197
0.163934
0.290909
0.229091
0.181818
0.283636
0.08
0
0
0
0
0
0.017906
0.122128
827
28
46
29.535714
0.739669
0
0
0
0
0
0.061669
0
0
0
0
0
0.304348
1
0.173913
false
0
0.086957
0
0.304348
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7e8f9fa0b23752e21dc15626be041e6fa0528d01
148
py
Python
django_admin_sticky_notes/urls.py
dchoruzy/django_admin_sticky_notes
3e2643dbbf1c405d82852281fd1398a7f02419b6
[ "MIT" ]
6
2021-09-08T04:45:21.000Z
2021-09-14T17:44:30.000Z
django_admin_sticky_notes/urls.py
dchoruzy/django_admin_sticky_notes
3e2643dbbf1c405d82852281fd1398a7f02419b6
[ "MIT" ]
null
null
null
django_admin_sticky_notes/urls.py
dchoruzy/django_admin_sticky_notes
3e2643dbbf1c405d82852281fd1398a7f02419b6
[ "MIT" ]
null
null
null
from django.urls import path from django_admin_sticky_notes.views import StickyNoteView urlpatterns = [ path("", StickyNoteView.as_view()), ]
18.5
58
0.77027
18
148
6.111111
0.722222
0.181818
0
0
0
0
0
0
0
0
0
0
0.135135
148
7
59
21.142857
0.859375
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7e9a554e2b2e04d0d8eeb7b8a23e4642507efa1b
28
py
Python
bemoss_lib/utils/__init__.py
Entek-Technical-Services/BEMOSS3.5
581a205b4129530474a5ceee93cb36ef62992d4c
[ "BSD-3-Clause" ]
73
2017-07-11T21:46:41.000Z
2022-03-11T03:35:25.000Z
bemoss_lib/utils/__init__.py
Entek-Technical-Services/BEMOSS3.5
581a205b4129530474a5ceee93cb36ef62992d4c
[ "BSD-3-Clause" ]
19
2017-10-10T22:06:15.000Z
2022-03-28T21:03:33.000Z
bemoss_lib/utils/__init__.py
Entek-Technical-Services/BEMOSS3.5
581a205b4129530474a5ceee93cb36ef62992d4c
[ "BSD-3-Clause" ]
36
2017-06-24T00:17:03.000Z
2022-03-31T13:58:36.000Z
__author__ = "BEMOSS Team"
14
27
0.714286
3
28
5.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.178571
28
1
28
28
0.695652
0
0
0
0
0
0.392857
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7eab69fbd5c722b91fb64ff8002e8ecc18759b88
188
py
Python
models/backbones/backbone_provider.py
chencgln/Multi-Bin-Orientation
5e1d47ff590d5df1fe3cbb8bc3d81d4092b408f3
[ "Apache-2.0" ]
null
null
null
models/backbones/backbone_provider.py
chencgln/Multi-Bin-Orientation
5e1d47ff590d5df1fe3cbb8bc3d81d4092b408f3
[ "Apache-2.0" ]
null
null
null
models/backbones/backbone_provider.py
chencgln/Multi-Bin-Orientation
5e1d47ff590d5df1fe3cbb8bc3d81d4092b408f3
[ "Apache-2.0" ]
null
null
null
from models.backbones import darknet, vgg def backbone_fn(backbone): if backbone=="darknet53": return darknet.darknet53 elif backbone=="resnet18": return vgg.vgg16
26.857143
41
0.702128
22
188
5.954545
0.681818
0
0
0
0
0
0
0
0
0
0
0.053691
0.207447
188
7
42
26.857143
0.825503
0
0
0
0
0
0.089947
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
0e2fba5bd9c977c6009a24572199fcbdcc82bf36
553
py
Python
Assets/Python/Contrib/CvModName.py
macaurther/DOCUSA
40586727c351d1b1130c05c2d4648cca3a8bacf5
[ "MIT" ]
93
2015-11-20T04:13:36.000Z
2022-03-24T00:03:08.000Z
Assets/Python/Contrib/CvModName.py
macaurther/DOCUSA
40586727c351d1b1130c05c2d4648cca3a8bacf5
[ "MIT" ]
206
2015-11-09T00:27:15.000Z
2021-12-04T19:05:18.000Z
Assets/Python/Contrib/CvModName.py
dguenms/Dawn-of-Civilization
1c4f510af97a869637cddb4c0859759158cea5ce
[ "MIT" ]
117
2015-11-08T02:43:46.000Z
2022-02-12T06:29:00.000Z
#CvModName.py modName = "BUG Mod" displayName = "BUG Mod" modVersion = "4.4 [Build 2220]" civName = "BtS" civVersion = "3.13-3.19" def getName(): return modName def getDisplayName(): return displayName def getVersion(): return modVersion def getNameAndVersion(): return modName + " " + modVe...
16.264706
39
0.678119
55
553
6.818182
0.472727
0.104
0
0
0
0
0
0
0
0
0
0.02765
0.21519
553
33
40
16.757576
0.836406
0.0217
0
0
0
0
0.088757
0
0
0
0
0
0
1
0.380952
false
0
0
0.380952
0.761905
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0e6d47cacf3b1763e40eef5c43774e4cd4995f2b
587
py
Python
tests/unit/opera/parser/tosca/v_1_3/test_interface_definition_for_template.py
abitrolly/xopera-opera
49694282db95bb425b988117b90b629f898803ec
[ "Apache-2.0" ]
31
2019-02-12T06:52:24.000Z
2022-03-23T06:48:10.000Z
tests/unit/opera/parser/tosca/v_1_3/test_interface_definition_for_template.py
abitrolly/xopera-opera
49694282db95bb425b988117b90b629f898803ec
[ "Apache-2.0" ]
190
2019-05-09T09:12:38.000Z
2022-03-31T06:21:51.000Z
tests/unit/opera/parser/tosca/v_1_3/test_interface_definition_for_template.py
abitrolly/xopera-opera
49694282db95bb425b988117b90b629f898803ec
[ "Apache-2.0" ]
19
2019-05-09T13:36:22.000Z
2022-01-25T21:27:50.000Z
from opera.parser.tosca.v_1_3.interface_definition_for_template import InterfaceDefinitionForTemplate class TestParse: def test_full(self, yaml_ast): InterfaceDefinitionForTemplate.parse(yaml_ast( # language=yaml """ inputs: in: put operations:...
27.952381
101
0.596252
49
587
6.897959
0.693878
0.08284
0.065089
0.242604
0.313609
0.313609
0.313609
0
0
0
0
0.005102
0.332198
587
20
102
29.35
0.857143
0.022147
0
0
0
0
0.005747
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
0e7059e9eb7e8e271d6bc2a7242905c5c77ab54b
224
py
Python
rlbot/messages/flat/BoostOption.py
danielbairamian/RL-RL
4fc4ac14bd10088e83e7a15c3319370f74d0a756
[ "MIT" ]
3
2020-04-30T14:33:10.000Z
2021-10-11T00:12:35.000Z
rlbot/messages/flat/BoostOption.py
danielbairamian/RL-RL
4fc4ac14bd10088e83e7a15c3319370f74d0a756
[ "MIT" ]
null
null
null
rlbot/messages/flat/BoostOption.py
danielbairamian/RL-RL
4fc4ac14bd10088e83e7a15c3319370f74d0a756
[ "MIT" ]
null
null
null
# automatically generated by the FlatBuffers compiler, do not modify # namespace: flat class BoostOption(object): Normal_Boost = 0 Unlimited_Boost = 1 Slow_Recharge = 2 Rapid_Recharge = 3 No_Boost = 4
18.666667
68
0.709821
29
224
5.310345
0.896552
0
0
0
0
0
0
0
0
0
0
0.02924
0.236607
224
11
69
20.363636
0.871345
0.366071
0
0
1
0
0
0
0
0
0
0
0
1
0
false
0
0
0
1
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
0e825204bc4c443ffcf78fd12e1a75dc7ef2a8c1
381
py
Python
selector/tests/test_models.py
mpassid/MPASSid-connect
61fafe0ffe02e8fa363473afd261dd5bc48aa9af
[ "MIT" ]
null
null
null
selector/tests/test_models.py
mpassid/MPASSid-connect
61fafe0ffe02e8fa363473afd261dd5bc48aa9af
[ "MIT" ]
4
2018-04-27T07:32:22.000Z
2018-08-21T12:12:21.000Z
selector/tests/test_models.py
mpassid/MPASSid-connect
61fafe0ffe02e8fa363473afd261dd5bc48aa9af
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import unittest from selector.models import User from selector.tests.factories import UserFactory class TestUser(unittest.TestCase): def setUp(self): self.u = UserFactory.create() def test_get_full_name(self): self.assertTrue(self.u.get_full_name()) def teadDown(self): p...
16.565217
53
0.727034
52
381
5.230769
0.634615
0.088235
0.080882
0
0
0
0
0
0
0
0
0.012539
0.16273
381
22
54
17.318182
0.840125
0.191601
0
0
0
0
0
0
0
0
0
0
0.1
1
0.3
false
0.1
0.3
0
0.7
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
1
0
0
1
0
0
3
0ea13f6ac5881c94b4c6eda0d4850882f6c31d21
260
py
Python
Python/Fundamentals/OOP/Deck_Of_Cards/player.py
handtjaxon1/Coding-Dojo-Development
9cca0ae84749984a164541c476dc445b29b498b9
[ "MIT" ]
null
null
null
Python/Fundamentals/OOP/Deck_Of_Cards/player.py
handtjaxon1/Coding-Dojo-Development
9cca0ae84749984a164541c476dc445b29b498b9
[ "MIT" ]
null
null
null
Python/Fundamentals/OOP/Deck_Of_Cards/player.py
handtjaxon1/Coding-Dojo-Development
9cca0ae84749984a164541c476dc445b29b498b9
[ "MIT" ]
null
null
null
class Player: def __init__(self, name: str): self.name = name self.wins = 0 def add_win(self): self.wins += 1 class Player_War(Player): def __init__(self, name: str): super().__init__(name) self.card = None
21.666667
34
0.573077
35
260
3.857143
0.457143
0.177778
0.192593
0.251852
0.355556
0.355556
0
0
0
0
0
0.011111
0.307692
260
12
35
21.666667
0.738889
0
0
0.2
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
0ea26173d2a05783946952c05717d294a4d37fc5
402
py
Python
utils.py
woutdp/GroceryStoreCashRegister
e76a9cd27c3543a43be8bcc1c10c55fba6be7ef0
[ "MIT" ]
null
null
null
utils.py
woutdp/GroceryStoreCashRegister
e76a9cd27c3543a43be8bcc1c10c55fba6be7ef0
[ "MIT" ]
null
null
null
utils.py
woutdp/GroceryStoreCashRegister
e76a9cd27c3543a43be8bcc1c10c55fba6be7ef0
[ "MIT" ]
null
null
null
from decimal import Decimal from typing import List from constants import CURRENCY def list_printout(list_of_objects: List) -> str: """ Takes in a list of objects and outputs a string where each item in the list is separated by a new line. """ return '\n'.join([str(i) for i in list_of_objects]) def...
26.8
107
0.708955
65
402
4.292308
0.553846
0.064516
0.139785
0
0
0
0
0
0
0
0
0.003096
0.196517
402
15
108
26.8
0.860681
0.256219
0
0
0
0
0.109155
0.088028
0
0
0
0
0
1
0.285714
false
0
0.428571
0.142857
1
0.142857
0
0
0
null
0
0
0
0
0
0
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
1
1
0
0
0
3
7ec34e678f0d41b5c81c8f920af7d57cb3f1cfdd
108
py
Python
learn-to-code-with-python/13-Lists-Methods/the-count-method.py
MaciejZurek/python_practicing
0a426f2aed151573e1f8678e0239ff596d92bbde
[ "MIT" ]
null
null
null
learn-to-code-with-python/13-Lists-Methods/the-count-method.py
MaciejZurek/python_practicing
0a426f2aed151573e1f8678e0239ff596d92bbde
[ "MIT" ]
null
null
null
learn-to-code-with-python/13-Lists-Methods/the-count-method.py
MaciejZurek/python_practicing
0a426f2aed151573e1f8678e0239ff596d92bbde
[ "MIT" ]
null
null
null
car_lot = ["Ford", "Dodge", "Toyota", "Ford", "Toyota", "Chevrolet", "Ford"] print(car_lot.count("Ford"))
21.6
76
0.611111
14
108
4.571429
0.571429
0.1875
0
0
0
0
0
0
0
0
0
0
0.111111
108
4
77
27
0.666667
0
0
0
0
0
0.392523
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
7eeaec46a4447b7a3206d7aa33328ff1baa759ba
104
py
Python
tiger.py
theGreenJedi/practicepy
330da97b0c79c3c8792ebb4166ecf2609545e127
[ "MIT" ]
null
null
null
tiger.py
theGreenJedi/practicepy
330da97b0c79c3c8792ebb4166ecf2609545e127
[ "MIT" ]
null
null
null
tiger.py
theGreenJedi/practicepy
330da97b0c79c3c8792ebb4166ecf2609545e127
[ "MIT" ]
null
null
null
import cat pet = input( 'Enter A Pet Name: ' ) cat.purr( pet ) cat.lick( pet ) cat.nap( pet )
13
36
0.567308
18
104
3.333333
0.611111
0.2
0
0
0
0
0
0
0
0
0
0
0.278846
104
7
37
14.857143
0.786667
0
0
0
0
0
0.1875
0
0
0
0
0
0
0
null
null
0
0.2
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
7efc7e9c43d563ab6dd756051da4fd58e11d7417
85
py
Python
pro1/study/apps.py
BhanuPrakashNani/StudentPortal
689f12e693c01b5f78e8acee7e77b390434ae047
[ "MIT" ]
9
2018-12-03T12:51:25.000Z
2018-12-19T23:43:07.000Z
pro1/study/apps.py
BhanuPrakashNani/StudentPortal
689f12e693c01b5f78e8acee7e77b390434ae047
[ "MIT" ]
97
2018-11-17T18:34:18.000Z
2018-12-29T15:34:50.000Z
pro1/study/apps.py
itsvrushabh/StudentPortal
e10f2aa7b8da021ae8a285160f64695ad5bc7a72
[ "MIT" ]
34
2018-12-01T16:30:09.000Z
2019-01-09T16:51:04.000Z
from django.apps import AppConfig class StudyConfig(AppConfig): name = 'study'
14.166667
33
0.741176
10
85
6.3
0.9
0
0
0
0
0
0
0
0
0
0
0
0.176471
85
5
34
17
0.9
0
0
0
0
0
0.058824
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7d20fe56171710869365d52d9fcad0ae08d0def0
1,595
py
Python
providers/jongaprovider.py
prods/excallgraph
5db45c90eb2e1f41a0eedacc28391efeb0f17b86
[ "MIT" ]
null
null
null
providers/jongaprovider.py
prods/excallgraph
5db45c90eb2e1f41a0eedacc28391efeb0f17b86
[ "MIT" ]
null
null
null
providers/jongaprovider.py
prods/excallgraph
5db45c90eb2e1f41a0eedacc28391efeb0f17b86
[ "MIT" ]
null
null
null
import errno from os import path, makedirs import jonga from providers import CallgraphProviderBase, CallgraphConfiguration def get_new_jonga_instance(configuration: CallgraphConfiguration, caller_name: str = None): return JongaProvider(configuration=configuration, caller_name=caller_name) class JongaProvider...
30.673077
104
0.671473
182
1,595
5.604396
0.351648
0.068627
0.041176
0.088235
0.101961
0.101961
0
0
0
0
0
0.00082
0.235737
1,595
51
105
31.27451
0.835931
0.025705
0
0
0
0
0.02594
0.025292
0
0
0
0
0
1
0.257143
false
0.028571
0.114286
0.114286
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
1
0
0
0
1
1
0
0
3
7d32c8082f43a04aeaa1f1b7592225c98b01c434
7,071
py
Python
ansible/test/units/module_utils/basic/test_exit_json.py
dyim42/dfw-meetup-20160312
a99a34e7fce99ba9d57cace2bb32b8a9f974fa9c
[ "BSD-2-Clause" ]
null
null
null
ansible/test/units/module_utils/basic/test_exit_json.py
dyim42/dfw-meetup-20160312
a99a34e7fce99ba9d57cace2bb32b8a9f974fa9c
[ "BSD-2-Clause" ]
null
null
null
ansible/test/units/module_utils/basic/test_exit_json.py
dyim42/dfw-meetup-20160312
a99a34e7fce99ba9d57cace2bb32b8a9f974fa9c
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # (c) 2015, Toshio Kuratomi <tkuratomi@ansible.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (a...
43.919255
102
0.634847
853
7,071
5.127784
0.225088
0.051212
0.028807
0.035208
0.755144
0.740741
0.695473
0.665981
0.665981
0.664152
0
0.01097
0.252298
7,071
160
103
44.19375
0.816342
0.122755
0
0.6
0
0
0.112765
0.005663
0
0
0
0
0.166667
1
0.083333
false
0.091667
0.075
0
0.191667
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
ada2f88165988648d2bc8ef54e573540fc98aa11
2,606
py
Python
2.py
Swizec/advent-of-code-2017
efcdac9ddb81dd1db4a7bc0945ff4c13f6f15513
[ "MIT" ]
5
2017-12-02T08:55:59.000Z
2018-01-11T05:52:18.000Z
2.py
Swizec/advent-of-code-2017
efcdac9ddb81dd1db4a7bc0945ff4c13f6f15513
[ "MIT" ]
null
null
null
2.py
Swizec/advent-of-code-2017
efcdac9ddb81dd1db4a7bc0945ff4c13f6f15513
[ "MIT" ]
1
2020-06-18T19:27:02.000Z
2020-06-18T19:27:02.000Z
input = """737 1866 1565 1452 1908 1874 232 1928 201 241 922 281 1651 1740 1012 1001 339 581 41 127 331 133 51 131 129 95 499 527 518 435 508 494 1014 575 1166 259 152 631 1152 1010 182 943 163 158 1037 1108 1092 887 56 491 409 1263 1535 41 1431 1207 1393 700 1133 53 131 466 202 62 632 403 118 352 253 672 711 135 116 ...
41.365079
245
0.728703
555
2,606
3.421622
0.589189
0.008425
0.012638
0.020537
0.090574
0.073723
0.073723
0
0
0
0
0.443063
0.228319
2,606
63
246
41.365079
0.501243
0.005372
0
0
0
0
0.761938
0
0
0
0
0
0
0
null
null
0
0
null
null
0.083333
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
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
adab0258f80cad063f0ab9e6b41b79ff289f359b
738
py
Python
codewars/8kyu/mohamedashrafamin/They_say_that/test.py
mohamedashrafamin/Training_one
11748fdde85cdc9083e2b0bde7519b51a7acfa62
[ "MIT" ]
null
null
null
codewars/8kyu/mohamedashrafamin/They_say_that/test.py
mohamedashrafamin/Training_one
11748fdde85cdc9083e2b0bde7519b51a7acfa62
[ "MIT" ]
2
2019-01-22T10:53:42.000Z
2019-01-31T08:02:48.000Z
codewars/8kyu/mohamedashrafamin/They_say_that/test.py
mohamedashrafamin/Training_one
11748fdde85cdc9083e2b0bde7519b51a7acfa62
[ "MIT" ]
13
2019-01-22T10:37:42.000Z
2019-01-25T13:30:43.000Z
import unittest from colorama import Fore from main import is_opposite class TestSum(unittest.TestCase): def test(self): self.assertEqual(is_opposite("ab", "AB"), True) print(Fore.GREEN + 'Test Passed') self.assertEqual(is_opposite("aB", "Ab"), True) print(Fore.GREEN + 'Test Pas...
28.384615
66
0.626016
91
738
4.923077
0.32967
0.133929
0.1875
0.279018
0.622768
0.622768
0.546875
0.546875
0.546875
0.4375
0
0
0.226287
738
25
67
29.52
0.784588
0
0
0.277778
0
0
0.161247
0
0
0
0
0
0.277778
1
0.055556
false
0.333333
0.166667
0
0.277778
0.333333
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
adac9b21524e0e5e327ee591c167e6046f4f3265
1,834
py
Python
tekstowo.py
krzesu0/tekstowoLyrics
13316f717a1b52d1f4ff1eb518691a34530a815b
[ "MIT" ]
9
2019-05-15T05:49:09.000Z
2022-01-19T21:01:43.000Z
tekstowo.py
krzesu0/tekstowoLyrics
13316f717a1b52d1f4ff1eb518691a34530a815b
[ "MIT" ]
3
2019-11-09T22:51:46.000Z
2021-06-02T04:15:22.000Z
tekstowo.py
krzesu0/tekstowoLyrics
13316f717a1b52d1f4ff1eb518691a34530a815b
[ "MIT" ]
1
2019-11-09T21:41:49.000Z
2019-11-09T21:41:49.000Z
"""Main file for tekstowo.py""" import models def login(username, password, session=models.session): """Log default session in to use features of logged in user.""" session.login(username, password) def logout(session=models.session): """Logout account. Alias of models.session.logout. Be ...
32.75
76
0.689749
220
1,834
5.722727
0.404545
0.092931
0.127085
0.069102
0.22081
0.123908
0.123908
0.123908
0.123908
0.123908
0
0.000679
0.197383
1,834
55
77
33.345455
0.85462
0.334787
0
0
0
0
0.019108
0
0
0
0
0
0
1
0.32
false
0.12
0.04
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
1
0
1
0
0
1
0
0
3
adc3c19df5ba2032dc19de5ab0561ce596be4b78
217
py
Python
Statistics/variance_samprop.py
harshalupadhye/statistic
33d9fa183e6268f97c2394d8134f1e3fc2efc2c0
[ "MIT" ]
null
null
null
Statistics/variance_samprop.py
harshalupadhye/statistic
33d9fa183e6268f97c2394d8134f1e3fc2efc2c0
[ "MIT" ]
null
null
null
Statistics/variance_samprop.py
harshalupadhye/statistic
33d9fa183e6268f97c2394d8134f1e3fc2efc2c0
[ "MIT" ]
1
2019-11-17T04:15:50.000Z
2019-11-17T04:15:50.000Z
from pprint import pprint from Statistics.proportion import prop from Statistics.popuvar import popuvar def variance_sample_prop(my_pop): p,proportion_success= prop(my_pop) return popuvar(proportion_success)
27.125
38
0.824885
30
217
5.766667
0.5
0.16185
0.104046
0
0
0
0
0
0
0
0
0
0.124424
217
7
39
31
0.910526
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.5
0
0.833333
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
ade3bdb50b06f8541cafeb97bc942380faa0014a
1,108
py
Python
post/models.py
Prabhu204/-SerPaper
daf5dc85239c46bcba067e75674cf3d00ad5d93e
[ "MIT" ]
null
null
null
post/models.py
Prabhu204/-SerPaper
daf5dc85239c46bcba067e75674cf3d00ad5d93e
[ "MIT" ]
null
null
null
post/models.py
Prabhu204/-SerPaper
daf5dc85239c46bcba067e75674cf3d00ad5d93e
[ "MIT" ]
null
null
null
from django.db import models # Article Model class Article(models.Model): title = models.CharField(max_length=200) preview = models.TextField(max_length=500) content = models.TextField(max_length=5000) posted = models.DateTimeField(auto_now_add=True) def __str__(self): return self.title class Researchpaper(...
26.380952
79
0.782491
156
1,108
5.307692
0.320513
0.141304
0.173913
0.231884
0.638889
0.508454
0.508454
0.460145
0.35628
0.35628
0
0.04154
0.109206
1,108
42
80
26.380952
0.797366
0.011733
0
0.413793
0
0
0
0
0
0
0
0
0
1
0.137931
false
0
0.034483
0.137931
1
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
1
1
0
0
3
adee780d495879ca97de312312cbf0204eef7499
25
py
Python
scripts/__init__.py
6un9-h0-Dan/CIRTKit
58b8793ada69320ffdbdd4ecdc04a3bb2fa83c37
[ "MIT" ]
97
2017-12-18T15:19:28.000Z
2022-03-25T07:10:00.000Z
scripts/__init__.py
robertdigital/CIRTKit
58b8793ada69320ffdbdd4ecdc04a3bb2fa83c37
[ "MIT" ]
1
2019-01-29T16:29:27.000Z
2019-01-29T16:29:27.000Z
scripts/__init__.py
robertdigital/CIRTKit
58b8793ada69320ffdbdd4ecdc04a3bb2fa83c37
[ "MIT" ]
21
2018-04-04T18:12:13.000Z
2021-06-12T09:40:58.000Z
__author__ = 'byt3smith'
12.5
24
0.76
2
25
7.5
1
0
0
0
0
0
0
0
0
0
0
0.045455
0.12
25
1
25
25
0.636364
0
0
0
0
0
0.36
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bc0943b7bc8ba2c3453191008024c0444e42a0e4
14,077
py
Python
stubs.min/Autodesk/Revit/DB/__init___parts/RevitLinkType.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
1
2017-07-25T14:30:18.000Z
2017-07-25T14:30:18.000Z
stubs.min/Autodesk/Revit/DB/__init___parts/RevitLinkType.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
stubs.min/Autodesk/Revit/DB/__init___parts/RevitLinkType.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
class RevitLinkType(ElementType,IDisposable): """ This class represents another Revit Document ("link") brought into the current one ("host"). """ @staticmethod def Create(document,*__args): """ Create(document: Document,path: ModelPath,options: RevitLinkOptions) -> RevitLinkLoadResult C...
33.838942
215
0.688144
1,740
14,077
5.52931
0.162644
0.02401
0.018709
0.015903
0.536535
0.516994
0.497973
0.471988
0.420538
0.398919
0
0.000095
0.253392
14,077
415
216
33.920482
0.915319
0.758187
0
0.492063
0
0
0
0
0
0
0
0
0
1
0.428571
false
0.428571
0
0
0.507937
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
1
0
0
1
0
0
3
bc3343165eb5261f8b4a7bd2b24a88b43eac6b09
12,600
py
Python
input_validation.py
stkyle/bulwark
68d77648838cb30a5ed48337cf57ad17e60e20c6
[ "MIT" ]
null
null
null
input_validation.py
stkyle/bulwark
68d77648838cb30a5ed48337cf57ad17e60e20c6
[ "MIT" ]
null
null
null
input_validation.py
stkyle/bulwark
68d77648838cb30a5ed48337cf57ad17e60e20c6
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Sun Apr 5 15:22:58 2015 @author: steve """ import re import csv # Match Regex #REGEX_URL = '^((((https?|ftps?|gopher|telnet|nntp)://)|(mailto:|news:))(%[0-9A-Fa-f]{2}|[-()_.!~*';/?:@&=+$,A-Za-z0-9])+)([).!';/?:,][[:blank:]])?$]' REGEX_EMAIL = r"^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+...
33.157895
1,094
0.595397
2,133
12,600
3.424285
0.243788
0.038335
0.01506
0.018072
0.233844
0.221522
0.203313
0.171824
0.146906
0.131572
0
0.061836
0.178571
12,600
379
1,095
33.245383
0.643672
0
0
0.204545
0
0.075758
0.390619
0.372711
0
0
0
0
0
0
null
null
0.083333
0.015152
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
70dcf60d21baa9f65096c9f111b2f8afd0741f4f
160
py
Python
python/pygame-1.9.1release/test/movie_tags.py
Luno89/cardboard-battle-bot
027b6def7b615f7ae77cdf4cc9e877f174c78315
[ "MIT" ]
1
2020-08-27T08:28:05.000Z
2020-08-27T08:28:05.000Z
python/pygame-1.9.1release/test/movie_tags.py
Luno89/cardboard-battle-bot
027b6def7b615f7ae77cdf4cc9e877f174c78315
[ "MIT" ]
null
null
null
python/pygame-1.9.1release/test/movie_tags.py
Luno89/cardboard-battle-bot
027b6def7b615f7ae77cdf4cc9e877f174c78315
[ "MIT" ]
null
null
null
__tags__ = [] import pygame try: pygame.movie._NOT_IMPLEMENTED_ except AttributeError: pass else: __tags__.extend(('ignore', 'subprocess_ignore'))
16
52
0.725
17
160
6.117647
0.823529
0
0
0
0
0
0
0
0
0
0
0
0.1625
160
9
53
17.777778
0.776119
0
0
0
0
0
0.14375
0
0
0
0
0
0
1
0
false
0.125
0.125
0
0.125
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
70f0afa861f2a8455b7c9dd8f6426d0c3201db79
5,657
py
Python
jax/hessian_computation.py
PForet/spectral-density
6defcc310cfce77c6aafd7ea7324fd5e6bf434c3
[ "Apache-2.0" ]
71
2019-08-11T23:15:29.000Z
2022-03-15T13:59:59.000Z
jax/hessian_computation.py
PForet/spectral-density
6defcc310cfce77c6aafd7ea7324fd5e6bf434c3
[ "Apache-2.0" ]
4
2019-10-21T15:06:08.000Z
2021-02-14T23:17:23.000Z
jax/hessian_computation.py
PForet/spectral-density
6defcc310cfce77c6aafd7ea7324fd5e6bf434c3
[ "Apache-2.0" ]
17
2019-08-11T23:16:37.000Z
2021-09-24T05:39:33.000Z
# Copyright 2019 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
34.284848
80
0.718402
901
5,657
4.422863
0.285239
0.024843
0.018821
0.013049
0.167629
0.072773
0.038645
0.027604
0.027604
0.027604
0
0.003369
0.212834
5,657
164
81
34.493902
0.891534
0.690472
0
0.042553
0
0
0.026786
0
0
0
0
0.018293
0
1
0.234043
false
0
0.170213
0.085106
0.638298
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
1
0
0
0
0
1
0
0
3
70fb608cd905471697dd4972d94653246c2cf086
159
py
Python
authentication/admin.py
raptor419/delhiration
a12938e041803d7dbc3480bdf880e3f49ddd2c1a
[ "MIT" ]
null
null
null
authentication/admin.py
raptor419/delhiration
a12938e041803d7dbc3480bdf880e3f49ddd2c1a
[ "MIT" ]
null
null
null
authentication/admin.py
raptor419/delhiration
a12938e041803d7dbc3480bdf880e3f49ddd2c1a
[ "MIT" ]
null
null
null
# -*- encoding: utf-8 -*- from django.contrib import admin # Register your models here. from authentication.models import User admin.site.register(User)
13.25
38
0.735849
21
159
5.571429
0.714286
0
0
0
0
0
0
0
0
0
0
0.007463
0.157233
159
11
39
14.454545
0.865672
0.314465
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
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
1
0
1
0
0
0
0
3
cb050764a8eb387cdfc1e98a2d0ccb4898e30188
647
py
Python
hello/migrations/0014_counter.py
StafaH/jamm-bandit
3c489817acc5c9b4d86a283809d59569b07f53d7
[ "MIT" ]
2
2021-06-30T11:22:21.000Z
2021-06-30T11:22:23.000Z
hello/migrations/0014_counter.py
StafaH/jamm-bandit
3c489817acc5c9b4d86a283809d59569b07f53d7
[ "MIT" ]
null
null
null
hello/migrations/0014_counter.py
StafaH/jamm-bandit
3c489817acc5c9b4d86a283809d59569b07f53d7
[ "MIT" ]
2
2020-11-12T18:05:00.000Z
2020-11-28T20:06:58.000Z
# Generated by Django 3.1.4 on 2020-12-30 17:41 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('hello', '0013_auto_20201229_1956'), ] operations = [ migrations.CreateModel( name='Counter', fields=[ ...
28.130435
114
0.579598
66
647
5.545455
0.69697
0.090164
0.188525
0.245902
0.254098
0
0
0
0
0
0
0.073753
0.287481
647
22
115
29.409091
0.720174
0.069552
0
0
1
0
0.118333
0.038333
0
0
0
0
0
1
0
false
0
0.0625
0
0.25
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cb1af2526f81e6b5ff358fdf8f4d159f3013bbfd
1,340
py
Python
db_cru.py
telaust/api_test
61a37c5a6b57db0a6b5d1784593767a146b99584
[ "MIT" ]
null
null
null
db_cru.py
telaust/api_test
61a37c5a6b57db0a6b5d1784593767a146b99584
[ "MIT" ]
null
null
null
db_cru.py
telaust/api_test
61a37c5a6b57db0a6b5d1784593767a146b99584
[ "MIT" ]
null
null
null
from datetime import datetime, timedelta from typing import Optional from sqlalchemy.orm import Session import db_models as models import schemas from auth_utils import * def get_user(db: Session, user_id: int): return db.query(models.User).filter(models.User.id == user_id).first() def get_user_full(db: Sessi...
27.916667
82
0.647015
191
1,340
4.335079
0.293194
0.057971
0.047101
0.068841
0.165459
0.094203
0.094203
0.094203
0
0
0
0.003003
0.254478
1,340
47
83
28.510638
0.825826
0.039552
0
0.068966
0
0
0
0
0
0
0
0
0
1
0.172414
false
0.137931
0.206897
0.103448
0.62069
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
1
1
0
0
3
cb3f46559e5f2f3ff0c76ba3c0980235257c54b8
318
py
Python
tests/test_tokenize.py
cwt/ssg
b55c7edaab456751c5a9280ffce138e93626facc
[ "Apache-2.0" ]
25
2019-07-15T06:44:01.000Z
2022-01-06T04:05:37.000Z
tests/test_tokenize.py
cwt/ssg
b55c7edaab456751c5a9280ffce138e93626facc
[ "Apache-2.0" ]
6
2019-07-19T07:35:46.000Z
2022-01-06T09:42:23.000Z
tests/test_tokenize.py
cwt/ssg
b55c7edaab456751c5a9280ffce138e93626facc
[ "Apache-2.0" ]
4
2019-07-15T05:52:46.000Z
2020-10-01T11:45:59.000Z
import unittest from ssg import syllable_tokenize, decode class TestTokenize(unittest.TestCase): def test_decode(self): self.assertEqual(decode('ทดสอบ', ['0', '0', '1', '0', '0', '0']), ['ทด', 'สอบ']) def test_tokenize(self): self.assertEqual(syllable_tokenize('ทดสอบ'), ['ทด','สอบ'])
31.8
73
0.628931
39
318
5.025641
0.487179
0.030612
0.193878
0
0
0
0
0
0
0
0
0.022989
0.179245
318
10
74
31.8
0.727969
0
0
0
0
0
0.081505
0
0
0
0
0
0.25
1
0.25
false
0
0.25
0
0.625
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
cb512cb7c9a5b51d2a2afc6e6f119404e1ec92a7
160
py
Python
login.py
mrklees/robinhood-python
2a1d053d28b2a00511066e933a126802c0e2db2e
[ "Apache-2.0" ]
106
2018-03-02T17:40:51.000Z
2022-02-23T22:24:44.000Z
login.py
mrklees/robinhood-python
2a1d053d28b2a00511066e933a126802c0e2db2e
[ "Apache-2.0" ]
35
2018-03-02T17:43:41.000Z
2021-06-24T19:02:51.000Z
login.py
mrklees/robinhood-python
2a1d053d28b2a00511066e933a126802c0e2db2e
[ "Apache-2.0" ]
33
2018-04-21T05:26:42.000Z
2021-11-28T09:45:38.000Z
#!/usr/bin/env python3 from robinhood.RobinhoodCachedClient import RobinhoodCachedClient client = RobinhoodCachedClient() client.login() print('Logged in!')
17.777778
65
0.8
16
160
8
0.8125
0.421875
0
0
0
0
0
0
0
0
0
0.006897
0.09375
160
8
66
20
0.875862
0.13125
0
0
0
0
0.072464
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cb9302ac412b00a1df78c5ff866f5d1e88eab493
110
py
Python
output/models/ms_data/particles/particles_ea011_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/ms_data/particles/particles_ea011_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/ms_data/particles/particles_ea011_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.ms_data.particles.particles_ea011_xsd.particles_ea011 import Doc __all__ = [ "Doc", ]
18.333333
83
0.772727
15
110
5.133333
0.733333
0.363636
0
0
0
0
0
0
0
0
0
0.0625
0.127273
110
5
84
22
0.739583
0
0
0
0
0
0.027273
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cb93cb336e60b2eafd43c131edac44daf1b30ca9
2,724
py
Python
tests/test_pool.py
jp-larose/hobgoblin
e0383d3284ec7ec0cd992325619961052e4ca6c1
[ "Apache-2.0" ]
82
2016-11-17T10:07:55.000Z
2021-09-04T12:53:16.000Z
tests/test_pool.py
jp-larose/hobgoblin
e0383d3284ec7ec0cd992325619961052e4ca6c1
[ "Apache-2.0" ]
76
2016-07-06T15:01:51.000Z
2020-08-26T18:04:27.000Z
tests/test_pool.py
jp-larose/hobgoblin
e0383d3284ec7ec0cd992325619961052e4ca6c1
[ "Apache-2.0" ]
24
2017-02-19T05:23:42.000Z
2020-06-18T22:51:10.000Z
import asyncio import pytest @pytest.mark.asyncio async def test_pool_init(connection_pool): await connection_pool.init_pool() assert len(connection_pool._available) == 1 await connection_pool.close() @pytest.mark.asyncio async def test_acquire_release(connection_pool): conn = await connection_pool...
30.266667
70
0.745595
350
2,724
5.542857
0.122857
0.346392
0.244845
0.227835
0.756701
0.685567
0.637113
0.613402
0.582474
0.582474
0
0.021768
0.173642
2,724
89
71
30.606742
0.840071
0
0
0.583333
0
0
0
0
0
0
0
0
0.222222
1
0
false
0
0.027778
0
0.027778
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cbb5175a960a9554f86224103ced2d13395fc7b4
126
py
Python
annotationTool/src/main/java/NLP/Python/dos2unix.py
yannislinardos/AnnotationTool
3a9806e43b48cb56a967db652baba9f80af19702
[ "Apache-2.0" ]
1
2019-06-05T13:21:41.000Z
2019-06-05T13:21:41.000Z
annotationTool/src/main/java/NLP/Python/dos2unix.py
yannislinardos/AnnotationTool
3a9806e43b48cb56a967db652baba9f80af19702
[ "Apache-2.0" ]
null
null
null
annotationTool/src/main/java/NLP/Python/dos2unix.py
yannislinardos/AnnotationTool
3a9806e43b48cb56a967db652baba9f80af19702
[ "Apache-2.0" ]
null
null
null
import sys filename = sys.argv[1] text = open(filename, 'rb').read().replace('\r\n', '\n') open(filename, 'wb').write(text)
31.5
57
0.634921
20
126
4
0.7
0.3
0
0
0
0
0
0
0
0
0
0.008929
0.111111
126
4
58
31.5
0.705357
0
0
0
0
0
0.080645
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cbe4c2e8462f4a17d0d0e35a7d859b2b7e1d9c98
55
py
Python
challenge_1/python/phil-harmoniq/challenge_1.py
rchicoli/2017-challenges
44f0b672e5dea34de1dde131b6df837d462f8e29
[ "Apache-2.0" ]
271
2017-01-01T22:58:36.000Z
2021-11-28T23:05:29.000Z
challenge_1/python/phil-harmoniq/challenge_1.py
AakashOfficial/2017Challenges
a8f556f1d5b43c099a0394384c8bc2d826f9d287
[ "Apache-2.0" ]
283
2017-01-01T23:26:05.000Z
2018-03-23T00:48:55.000Z
challenge_1/python/phil-harmoniq/challenge_1.py
AakashOfficial/2017Challenges
a8f556f1d5b43c099a0394384c8bc2d826f9d287
[ "Apache-2.0" ]
311
2017-01-01T22:59:23.000Z
2021-09-23T00:29:12.000Z
s = "I am going to reverse this string" print(s[::-1])
18.333333
39
0.636364
11
55
3.181818
0.909091
0
0
0
0
0
0
0
0
0
0
0.022222
0.181818
55
2
40
27.5
0.755556
0
0
0
0
0
0.6
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
cbe62c19667981cc903ed2d65d5e5358ffd1d88d
317
py
Python
Testing script.py
karst-poulsen/ENM-Protein-Predictor
dafb962989b8d4003650086c02253ac1975a236c
[ "MIT" ]
null
null
null
Testing script.py
karst-poulsen/ENM-Protein-Predictor
dafb962989b8d4003650086c02253ac1975a236c
[ "MIT" ]
null
null
null
Testing script.py
karst-poulsen/ENM-Protein-Predictor
dafb962989b8d4003650086c02253ac1975a236c
[ "MIT" ]
1
2020-05-13T19:59:43.000Z
2020-05-13T19:59:43.000Z
import pandas as pd df1=pd.DataFrame({'key':['1','2','3','4'], 'Col2':['st1', ' st2', 'st3', 'st4']}) df2=pd.DataFrame({'key':['1','2','3','4'], 'Col3':['sta', ' stb', 'stc', 'std']}) print(df1) print(df2) df1.set_index('key').join(df2.set_index('key')) print(df1) df1.join(df2.set_index('key'), on='key') print(df1)
31.7
81
0.577287
55
317
3.272727
0.490909
0.133333
0.183333
0.166667
0.4
0.2
0.2
0
0
0
0
0.081633
0.072555
317
10
82
31.7
0.530612
0
0
0.333333
0
0
0.188679
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.444444
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3