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
03c611fb4f50a42c6f79fa67871d099851e47dda
107
py
Python
testtakepicture.py
1082sqnatc/missionspacelab2019
439753c8e309ece98963f58c9bb443217e75364e
[ "Apache-2.0" ]
null
null
null
testtakepicture.py
1082sqnatc/missionspacelab2019
439753c8e309ece98963f58c9bb443217e75364e
[ "Apache-2.0" ]
12
2019-12-01T15:52:08.000Z
2020-02-02T13:52:36.000Z
testtakepicture.py
1082sqnatc/missionspacelab2019
439753c8e309ece98963f58c9bb443217e75364e
[ "Apache-2.0" ]
null
null
null
from src.takepicture import takePicture x=1 while x < 10: takePicture(x) print("success") x=x+1
17.833333
39
0.672897
17
107
4.235294
0.588235
0.333333
0
0
0
0
0
0
0
0
0
0.047619
0.214953
107
6
40
17.833333
0.809524
0
0
0
0
0
0.064815
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
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
03d3ac7a4d3e7b410abc26d86dafcac236ceca0f
337
py
Python
app/bot/types.py
DramatikMan/mlhl-01-python-bot
ab65432781db8bb5b0ff3b698514a14393809360
[ "MIT" ]
null
null
null
app/bot/types.py
DramatikMan/mlhl-01-python-bot
ab65432781db8bb5b0ff3b698514a14393809360
[ "MIT" ]
null
null
null
app/bot/types.py
DramatikMan/mlhl-01-python-bot
ab65432781db8bb5b0ff3b698514a14393809360
[ "MIT" ]
null
null
null
from typing import Any from telegram.ext import CallbackContext, Dispatcher CCT = CallbackContext[ dict[Any, Any], dict[Any, Any], dict[Any, Any] ] DP = Dispatcher[ CCT, dict[Any, Any], dict[Any, Any], dict[Any, Any] ] DataRecord = tuple[ int, int, int, int, int, int, int, int, int, s...
16.85
64
0.626113
47
337
4.489362
0.340426
0.227488
0.298578
0.341232
0.412322
0.412322
0.412322
0.412322
0.28436
0
0
0
0.240356
337
19
65
17.736842
0.824219
0
0
0.375
0
0
0
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
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
03ecb8a44ff3c3e66ce134246974ad0988fe8e8e
1,242
py
Python
examples/tempy_examples.py
NinoDoko/TemPy
c6bdd4c12ae1a4a5db6a852295f7f758b7dc595a
[ "Apache-2.0" ]
null
null
null
examples/tempy_examples.py
NinoDoko/TemPy
c6bdd4c12ae1a4a5db6a852295f7f758b7dc595a
[ "Apache-2.0" ]
null
null
null
examples/tempy_examples.py
NinoDoko/TemPy
c6bdd4c12ae1a4a5db6a852295f7f758b7dc595a
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import json import os from flask import Flask app = Flask(__name__) @app.route('/') def none_handler(): from templates.homepage import page return page.render() @app.route('/hello_world') def hello_world_handler(): from templates.hello_world import page return page.render() ...
22.581818
69
0.706924
171
1,242
4.929825
0.28655
0.075919
0.189798
0.166074
0.355872
0.355872
0.355872
0.225386
0.128114
0
0
0.004812
0.163446
1,242
54
70
23
0.806545
0.016908
0
0.219512
0
0
0.07137
0
0
0
0
0
0
1
0.195122
false
0
0.268293
0
0.658537
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
0
0
1
0
0
3
ff0c4addd4684de4de158e744b10372828e5a73b
99
py
Python
globals/__init__.py
anmartinezs/pyseg
f991d8826e8d4e1eff70064183cb79425b7e9109
[ "Apache-2.0" ]
1
2018-09-11T17:10:52.000Z
2018-09-11T17:10:52.000Z
globals/__init__.py
anmartinezs/pyseg
f991d8826e8d4e1eff70064183cb79425b7e9109
[ "Apache-2.0" ]
null
null
null
globals/__init__.py
anmartinezs/pyseg
f991d8826e8d4e1eff70064183cb79425b7e9109
[ "Apache-2.0" ]
null
null
null
__author__ = 'martinez' import vtk import numpy as np from variables import * from utils import *
14.142857
23
0.767677
14
99
5.142857
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.181818
99
7
24
14.142857
0.888889
0
0
0
0
0
0.08
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
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
ff109f1e8d0d2b14f171554da2663b60fd683a02
495
py
Python
practice/aboutfunctions.py
mrElnekave/Hallow-Valley
6c3ba0dc3932839941a00362da0212850b2b20a6
[ "MIT" ]
null
null
null
practice/aboutfunctions.py
mrElnekave/Hallow-Valley
6c3ba0dc3932839941a00362da0212850b2b20a6
[ "MIT" ]
null
null
null
practice/aboutfunctions.py
mrElnekave/Hallow-Valley
6c3ba0dc3932839941a00362da0212850b2b20a6
[ "MIT" ]
null
null
null
def create_path(path:str): """ :param path:path is the relative path from the pixel images folder :return: return the relative path from roots of project """ return current_path + path #a function name is before the parameters and after the def #function parameters: the values that the function kn...
49.5
80
0.753535
75
495
4.946667
0.546667
0.06469
0.080863
0.102426
0
0
0
0
0
0
0
0
0.189899
495
10
81
49.5
0.925187
0.818182
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
2072a741b04f9c964e7ed9b4b5f47b7e8423121d
3,628
py
Python
cubam/MajorityModel.py
welinder/cubam
fe5ba700f1adbb489c69af311558d64370d73d36
[ "BSD-3-Clause-Clear" ]
20
2015-01-10T02:53:44.000Z
2022-03-20T18:10:15.000Z
cubam/MajorityModel.py
afcarl/cubam
fe5ba700f1adbb489c69af311558d64370d73d36
[ "BSD-3-Clause-Clear" ]
1
2019-01-30T17:02:51.000Z
2019-01-30T17:02:51.000Z
cubam/MajorityModel.py
afcarl/cubam
fe5ba700f1adbb489c69af311558d64370d73d36
[ "BSD-3-Clause-Clear" ]
12
2016-02-22T02:43:55.000Z
2021-09-19T20:50:09.000Z
from BinaryModel import * from numpy.random import rand class MajorityModel(BinaryModel): def __init__(self, filename=None): self.mdlPrm = { 'addNoise' : False, } self.wkrIds = {} self.imgIds = {} if filename: self.load_data(filename) else: ...
27.484848
78
0.5543
476
3,628
4.111345
0.243697
0.081758
0.033725
0.022483
0.304037
0.210015
0.159939
0.092489
0.029637
0
0
0.008512
0.320011
3,628
131
79
27.694656
0.784759
0.078556
0
0.2
0
0
0.00552
0
0
0
0
0.007634
0
1
0.288889
false
0.1
0.022222
0.133333
0.477778
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
1
0
0
0
3
207dbca61480d6630a2424d70a7f583f2e795a69
263
py
Python
main/__init__.py
graingert/LiteBot
8ce84fb9e150e532adc4d5c549b0c04f208ba20c
[ "MIT" ]
null
null
null
main/__init__.py
graingert/LiteBot
8ce84fb9e150e532adc4d5c549b0c04f208ba20c
[ "MIT" ]
null
null
null
main/__init__.py
graingert/LiteBot
8ce84fb9e150e532adc4d5c549b0c04f208ba20c
[ "MIT" ]
null
null
null
from main import status, tps, server_commands, scoreboard def setup(bot): bot.add_cog(status.Status(bot), True) bot.add_cog(tps.Tps(bot), True) bot.add_cog(server_commands.ServerCommands(bot), True) bot.add_cog(scoreboard.ScoreBoard(bot), True)
29.222222
58
0.737643
40
263
4.7
0.375
0.12766
0.191489
0.207447
0.255319
0
0
0
0
0
0
0
0.13308
263
8
59
32.875
0.824561
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
20a31ef74c9a035d85a87d60cf973255e1f7ccbd
349
py
Python
backend/app/app/models/__init__.py
benlau6/fastapi-fullstack
68a46d576310a1c846315228c1251f36ea23f056
[ "MIT" ]
1
2022-01-29T07:53:35.000Z
2022-01-29T07:53:35.000Z
backend/app/app/models/__init__.py
benlau6/fastapi-fullstack
68a46d576310a1c846315228c1251f36ea23f056
[ "MIT" ]
null
null
null
backend/app/app/models/__init__.py
benlau6/fastapi-fullstack
68a46d576310a1c846315228c1251f36ea23f056
[ "MIT" ]
null
null
null
from .team import Team, TeamRead, TeamCreate, TeamUpdate # , TeamReadWithHeroes from .hero import Hero, HeroRead, HeroCreate, HeroUpdate # , HeroReadWithTeam from typing import List, Optional class TeamReadWithHeroes(TeamRead): heroes: List[HeroRead] = [] class HeroReadWithTeam(HeroRead): team...
26.846154
81
0.733524
34
349
7.529412
0.529412
0
0
0
0
0
0
0
0
0
0
0
0.183381
349
12
82
29.083333
0.898246
0.111748
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.428571
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
20b2e3e32b7c66d0208f3258b3c38daa89dc0d38
297
py
Python
test/sysinfo_test.py
peitur/docker-util
6579c59b809a3dab80c440baa5fabc669cf88b9b
[ "Apache-2.0" ]
1
2016-05-19T13:43:21.000Z
2016-05-19T13:43:21.000Z
test/sysinfo_test.py
peitur/docker-util
6579c59b809a3dab80c440baa5fabc669cf88b9b
[ "Apache-2.0" ]
1
2020-11-23T10:21:16.000Z
2020-11-23T10:25:16.000Z
test/sysinfo_test.py
peitur/docker-util
6579c59b809a3dab80c440baa5fabc669cf88b9b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python3 import sys,os,re sys.path.append( "../lib" ) sys.path.append( "./lib" ) import Controller import unittest from pprint import pprint class SysinfoTest( unittest.TestCase ): def test_configuration( self ): pass def test_information( self ): pass
13.5
39
0.666667
37
297
5.297297
0.621622
0.071429
0.132653
0.163265
0
0
0
0
0
0
0
0.00431
0.218855
297
21
40
14.142857
0.840517
0.057239
0
0.181818
0
0
0.039427
0
0
0
0
0
0
1
0.181818
false
0.181818
0.363636
0
0.636364
0.090909
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
1
1
0
0
0
0
3
20c08cb1cb00cfdd681c8e68fa79bcb41a100fd8
108
py
Python
code/arc012_1_01.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
3
2019-08-16T16:55:48.000Z
2021-04-11T10:21:40.000Z
code/arc012_1_01.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
code/arc012_1_01.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
d=({"Saturday":0,"Sunday":0,"Monday":5,"Tuesday":4,"Wednesday":3,"Thursday":2,"Friday":1}) print(d[input()])
54
90
0.638889
18
108
3.833333
0.888889
0
0
0
0
0
0
0
0
0
0
0.065421
0.009259
108
2
91
54
0.579439
0
0
0
0
0
0.458716
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
20d1c04ac4717063c357eb5f6d023fd7588ec86e
279
py
Python
dataset/classification_datasets/__init__.py
JetBrains-Research/contrastive-learning-framework
f213ba2928677e46f7c3938afc96cbbdc64ed77c
[ "MIT" ]
4
2020-12-25T10:00:01.000Z
2022-03-17T21:09:37.000Z
dataset/classification_datasets/__init__.py
JetBrains-Research/contrastive-learning-framework
f213ba2928677e46f7c3938afc96cbbdc64ed77c
[ "MIT" ]
4
2021-03-12T09:50:20.000Z
2021-05-07T17:59:20.000Z
dataset/classification_datasets/__init__.py
JetBrains-Research/contrastive-learning-framework
f213ba2928677e46f7c3938afc96cbbdc64ed77c
[ "MIT" ]
1
2022-03-17T21:09:41.000Z
2022-03-17T21:09:41.000Z
from .code_transformer_dataset import CodeTransformerDataset from .graph_dataset import GraphDataset from .path_dataset import PathDataset from .text_dataset import TextDataset __all__ = [ "TextDataset", "PathDataset", "GraphDataset", "CodeTransformerDataset" ]
23.25
60
0.78853
26
279
8.115385
0.5
0.246446
0
0
0
0
0
0
0
0
0
0
0.146953
279
11
61
25.363636
0.886555
0
0
0
0
0
0.200717
0.078853
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
20dd4926d6dbb2603389704c797b5810776b1bfd
596
py
Python
src/python/web/handler/status.py
AlekLT/seedsync
d370a94253384e1e6e5caa5fcd44692f1d1f1ce3
[ "Apache-2.0" ]
255
2017-12-25T00:53:40.000Z
2022-03-27T10:29:21.000Z
src/python/web/handler/status.py
AlekLT/seedsync
d370a94253384e1e6e5caa5fcd44692f1d1f1ce3
[ "Apache-2.0" ]
111
2018-01-04T10:35:49.000Z
2022-03-29T15:12:52.000Z
src/python/web/handler/status.py
AlekLT/seedsync
d370a94253384e1e6e5caa5fcd44692f1d1f1ce3
[ "Apache-2.0" ]
53
2017-12-25T09:34:19.000Z
2022-03-15T17:53:27.000Z
# Copyright 2017, Inderpreet Singh, All rights reserved. from bottle import HTTPResponse from common import Status, overrides from ..web_app import IHandler, WebApp from ..serialize import SerializeStatusJson class StatusHandler(IHandler): def __init__(self, status: Status): self.__status = status ...
28.380952
71
0.746644
72
596
5.861111
0.486111
0.094787
0.075829
0
0
0
0
0
0
0
0
0.008114
0.172819
596
20
72
29.8
0.84787
0.090604
0
0
0
0
0.025926
0
0
0
0
0
0
1
0.230769
false
0
0.307692
0
0.692308
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
1
0
1
0
0
3
20ec501020c2772aa4720af36c66feb8ad8012c1
817
py
Python
blin/config.py
cyber-chuvash/blinBlinskiyNoviyGod
b4dab1c254194579636aa7db18dd49203e60e381
[ "MIT" ]
null
null
null
blin/config.py
cyber-chuvash/blinBlinskiyNoviyGod
b4dab1c254194579636aa7db18dd49203e60e381
[ "MIT" ]
null
null
null
blin/config.py
cyber-chuvash/blinBlinskiyNoviyGod
b4dab1c254194579636aa7db18dd49203e60e381
[ "MIT" ]
null
null
null
import json import logging import os class _JsonConfig: def __init__(self): self._conf = \ json.loads(open(os.path.join(os.path.abspath(os.path.dirname(__file__)), '../config.json'), 'r').read()) @property def log_level(self): return logging.getLevelName(self._conf.get('log_le...
20.425
116
0.640147
102
817
4.862745
0.441176
0.064516
0.056452
0.076613
0.290323
0.193548
0.193548
0.193548
0
0
0
0.017081
0.21175
817
39
117
20.948718
0.753106
0
0
0.28
0
0
0.087117
0
0
0
0
0
0
1
0.24
false
0
0.12
0.2
0.64
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
20ef0d8c7ddd5cae1764648c947491c9f4c7cb34
10,524
py
Python
code/vendor/node_js2c.py
thorium-cfx/fivem
587eb7c12066a2ebf8631bde7bb39ee2df1b5a0c
[ "MIT" ]
5,411
2017-04-14T08:57:56.000Z
2022-03-30T19:35:15.000Z
code/vendor/node_js2c.py
thorium-cfx/fivem
587eb7c12066a2ebf8631bde7bb39ee2df1b5a0c
[ "MIT" ]
802
2017-04-21T14:18:36.000Z
2022-03-31T21:20:48.000Z
code/vendor/node_js2c.py
thorium-cfx/fivem
587eb7c12066a2ebf8631bde7bb39ee2df1b5a0c
[ "MIT" ]
2,011
2017-04-14T09:44:15.000Z
2022-03-31T15:40:39.000Z
import os import subprocess import sys inputs = [ 'lib/assert/strict.js', 'lib/assert.js', 'lib/async_hooks.js', 'lib/buffer.js', 'lib/child_process.js', 'lib/cluster.js', 'lib/console.js', 'lib/constants.js', 'lib/crypto.js', 'lib/dgram.js', 'lib/diagnostics_channel.js', 'lib/dns/promises.js', ...
32.481481
155
0.711612
1,540
10,524
4.775325
0.192208
0.176775
0.342943
0.051673
0.286511
0.171471
0.121838
0.113408
0.101169
0.101169
0
0.004096
0.095211
10,524
323
156
32.582043
0.768221
0
0
0.102564
0
0
0.776036
0.684246
0
0
0
0
0.016026
1
0
false
0.00641
0.009615
0
0.009615
0.003205
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4547e6bcdb29f652198235c9fc8271e10d92d051
117
py
Python
BasicConcepts/SyntaxErrors/Volume1_Chapter6_SyntaxErrors_Fixed.py
jpike/PythonProgrammingForKids
79a36d6db525d39f78e33b6f7b2d0da0d65a073c
[ "Unlicense" ]
null
null
null
BasicConcepts/SyntaxErrors/Volume1_Chapter6_SyntaxErrors_Fixed.py
jpike/PythonProgrammingForKids
79a36d6db525d39f78e33b6f7b2d0da0d65a073c
[ "Unlicense" ]
null
null
null
BasicConcepts/SyntaxErrors/Volume1_Chapter6_SyntaxErrors_Fixed.py
jpike/PythonProgrammingForKids
79a36d6db525d39f78e33b6f7b2d0da0d65a073c
[ "Unlicense" ]
null
null
null
# Commenting syntax errors. print("Printing out a message!") # This is a comment. floating_point_number = 1.5 * 2.7
29.25
54
0.726496
19
117
4.368421
0.947368
0
0
0
0
0
0
0
0
0
0
0.040816
0.162393
117
3
55
39
0.806122
0.376068
0
0
0
0
0.328571
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
4559e964e50001ba3247b35781b62b682a586366
2,247
py
Python
app/ml.py
JeffreyAsuncion/fastapi_test
384a4bbb5fd283f55f34cd036905d9fb8d3314ab
[ "MIT" ]
null
null
null
app/ml.py
JeffreyAsuncion/fastapi_test
384a4bbb5fd283f55f34cd036905d9fb8d3314ab
[ "MIT" ]
null
null
null
app/ml.py
JeffreyAsuncion/fastapi_test
384a4bbb5fd283f55f34cd036905d9fb8d3314ab
[ "MIT" ]
null
null
null
"""Machine learning functions""" from fastapi import APIRouter from sklearn.neighbors import NearestNeighbors import pandas as pd from joblib import load import pickle from app.city_state_json import city_state_2_id_num router = APIRouter() # filename = 'app/recommend/recommendation_model.sav' # model_file = open(f...
29.565789
82
0.581219
266
2,247
4.669173
0.424812
0.057971
0.016103
0.019324
0.024155
0
0
0
0
0
0
0.034018
0.306631
2,247
76
83
29.565789
0.763158
0.835781
0
0
0
0
0
0
0
0
0
0
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
455c8ff0c603475739ee650d803fb990973e2d71
115
py
Python
abc110_c.py
hythof/atc
12cb94ebe693e1f469ce0d982bc2924b586552cd
[ "CC0-1.0" ]
null
null
null
abc110_c.py
hythof/atc
12cb94ebe693e1f469ce0d982bc2924b586552cd
[ "CC0-1.0" ]
null
null
null
abc110_c.py
hythof/atc
12cb94ebe693e1f469ce0d982bc2924b586552cd
[ "CC0-1.0" ]
null
null
null
s=input() t=input() ss=sorted(map(s.count,set(s))) tt=sorted(map(t.count,set(t))) print('Yes' if ss==tt else 'No')
19.166667
32
0.643478
25
115
2.96
0.56
0.243243
0
0
0
0
0
0
0
0
0
0
0.078261
115
5
33
23
0.698113
0
0
0
0
0
0.043478
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
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
455ec14366cbca1ad699f01e8d919c9468857541
126
py
Python
setup.py
HDembinski/bibtools
1dcc9b2ad19c11e01848a2d9a26bcad7f20e9141
[ "BSD-3-Clause" ]
null
null
null
setup.py
HDembinski/bibtools
1dcc9b2ad19c11e01848a2d9a26bcad7f20e9141
[ "BSD-3-Clause" ]
null
null
null
setup.py
HDembinski/bibtools
1dcc9b2ad19c11e01848a2d9a26bcad7f20e9141
[ "BSD-3-Clause" ]
null
null
null
from setuptools import setup from glob import glob setup( name='bibtools', version='0.0.1', scripts=glob('src/*.py'), )
15.75
28
0.68254
19
126
4.526316
0.684211
0
0
0
0
0
0
0
0
0
0
0.028037
0.150794
126
8
29
15.75
0.775701
0
0
0
0
0
0.165354
0
0
0
0
0
0
1
0
true
0
0.285714
0
0.285714
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
45633fd4e855086655acb3712ae36101ef73aca3
1,097
py
Python
tests/test_tokenizer.py
AlessandroVol23/DEMorphy
a19532a21ac0ce7334ba3203274dc28ba95075d3
[ "MIT" ]
43
2018-03-07T11:05:00.000Z
2022-01-28T06:44:01.000Z
tests/test_tokenizer.py
AlessandroVol23/DEMorphy
a19532a21ac0ce7334ba3203274dc28ba95075d3
[ "MIT" ]
6
2018-04-06T09:40:32.000Z
2019-12-30T08:08:57.000Z
tests/test_tokenizer.py
AlessandroVol23/DEMorphy
a19532a21ac0ce7334ba3203274dc28ba95075d3
[ "MIT" ]
13
2018-03-20T09:22:53.000Z
2021-11-12T13:33:23.000Z
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals import pytest from demorphy.tokenizer import tokenize class TestTokenizer: def test_split_simple(self): assert tokenize(u"Ich bin krank") == [u"Ich", u"bin", u"krank"] def test_split_hypen(self): assert tokenize(...
43.88
142
0.64722
187
1,097
3.700535
0.304813
0.060694
0.104046
0.16474
0.219653
0.127168
0.086705
0
0
0
0
0.001103
0.1732
1,097
24
143
45.708333
0.761852
0.019143
0
0
0
0
0.348231
0.039106
0
0
0
0
0.375
1
0.375
false
0
0.1875
0
0.625
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
4566f1df5335aa685d6a7563d2d07326d10dd71f
911
py
Python
melange/event_serializer.py
Rydra/melange
5de67dd4eab506353ea05f30df6d250997e3c97f
[ "MIT" ]
7
2017-11-22T15:52:46.000Z
2022-01-17T23:01:24.000Z
melange/event_serializer.py
Rydra/melange
5de67dd4eab506353ea05f30df6d250997e3c97f
[ "MIT" ]
1
2017-11-30T16:13:52.000Z
2019-02-12T14:51:54.000Z
melange/event_serializer.py
Rydra/melange
5de67dd4eab506353ea05f30df6d250997e3c97f
[ "MIT" ]
3
2017-11-15T16:34:20.000Z
2022-01-24T11:05:54.000Z
import json from typing import Generic, Dict, Optional from melange.helpers.typing import T class MessageSerializer(Generic[T]): """ You need to provide a way to convert a message from your sqs into something meaningful for your domain (e.g. into a Domain Event) """ def manifest(self, data: T) -...
25.305556
87
0.641054
114
911
5.105263
0.429825
0.068729
0.051546
0.065292
0.113402
0.113402
0.113402
0
0
0
0
0
0.259056
911
35
88
26.028571
0.862222
0.19539
0
0.111111
0
0
0.005797
0
0
0
0
0
0
1
0.333333
false
0.111111
0.166667
0.166667
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
4571f5ea9930c1e8a75a9d3d4c06b5bd761edd2d
4,058
py
Python
src/ebonite/ext/numpy/dataset.py
geffy/ebonite
2d85eeca44ac1799e743bafe333887712e325060
[ "Apache-2.0" ]
1
2019-11-27T14:33:45.000Z
2019-11-27T14:33:45.000Z
src/ebonite/ext/numpy/dataset.py
geffy/ebonite
2d85eeca44ac1799e743bafe333887712e325060
[ "Apache-2.0" ]
null
null
null
src/ebonite/ext/numpy/dataset.py
geffy/ebonite
2d85eeca44ac1799e743bafe333887712e325060
[ "Apache-2.0" ]
null
null
null
from typing import Tuple, Type import numpy as np from pyjackson.core import ArgList, Field from pyjackson.generics import Serializer from ebonite.core.analyzer.base import CanIsAMustHookMixin, TypeHookMixin from ebonite.core.analyzer.dataset import DatasetHook from ebonite.core.objects.dataset_type import DatasetTyp...
28.985714
111
0.679645
492
4,058
5.443089
0.235772
0.022405
0.026139
0.029873
0.28342
0.227035
0.104556
0.085138
0.029873
0
0
0.003157
0.21932
4,058
139
112
29.194245
0.842172
0.210202
0
0.131579
0
0
0.016425
0
0
0
0
0.007194
0
1
0.263158
false
0
0.105263
0.171053
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
4586103dff65390c36a39a858fcae5341e48ccd7
2,777
py
Python
app/handlers/admins/moderation.py
vitaliy-ukiru/math-bot
72c116b4f5a4aa6a5f8eaae67ecbbf3df821f9e9
[ "MIT" ]
1
2021-12-11T07:41:38.000Z
2021-12-11T07:41:38.000Z
app/handlers/admins/moderation.py
vitaliy-ukiru/math-bot
72c116b4f5a4aa6a5f8eaae67ecbbf3df821f9e9
[ "MIT" ]
8
2021-05-08T21:48:34.000Z
2022-01-20T15:42:00.000Z
app/handlers/admins/moderation.py
vitaliy-ukiru/math-bot
72c116b4f5a4aa6a5f8eaae67ecbbf3df821f9e9
[ "MIT" ]
null
null
null
# Source: https://github.com/aiogram/bot/blob/master/aiogram_bot/handlers/simple_admin.py import logging from aiogram import types from aiogram.utils import exceptions from babel.dates import format_timedelta from app.loader import dp from app.utils.timedelta import parse_timedelta_from_message logger = logging.ge...
31.556818
99
0.657184
333
2,777
5.288288
0.276276
0.045429
0.068143
0.07155
0.700738
0.700738
0.700738
0.660988
0.660988
0.660988
0
0
0.242708
2,777
87
100
31.91954
0.837375
0.044292
0
0.555556
0
0
0.125283
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.166667
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
459b244b831dbaca46e8bc6cd6ce8c182a965598
75
py
Python
icls/models/resnet/resnet_test.py
TaikiInoue/iClassification
7045c7721c9ee86e3823b13722d22b6c0095b76a
[ "MIT" ]
null
null
null
icls/models/resnet/resnet_test.py
TaikiInoue/iClassification
7045c7721c9ee86e3823b13722d22b6c0095b76a
[ "MIT" ]
null
null
null
icls/models/resnet/resnet_test.py
TaikiInoue/iClassification
7045c7721c9ee86e3823b13722d22b6c0095b76a
[ "MIT" ]
null
null
null
from torchvision.models import resnet50 model = resnet50(pretrained=True)
18.75
39
0.826667
9
75
6.888889
0.888889
0
0
0
0
0
0
0
0
0
0
0.059701
0.106667
75
3
40
25
0.865672
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
45af30155ad4a759e535f66f6ceb28eae04047f8
398
py
Python
map_the_data.py
andrewnash/Thar-She-Blows
3019d4150c4b4763e979416c33ff62ab9dbcc306
[ "Beerware" ]
1
2021-01-16T14:16:38.000Z
2021-01-16T14:16:38.000Z
map_the_data.py
stuckatmarine/Thar-She-Blows
3019d4150c4b4763e979416c33ff62ab9dbcc306
[ "Beerware" ]
null
null
null
map_the_data.py
stuckatmarine/Thar-She-Blows
3019d4150c4b4763e979416c33ff62ab9dbcc306
[ "Beerware" ]
1
2019-01-27T20:13:40.000Z
2019-01-27T20:13:40.000Z
def create_box(input_corners): x = (float(input_corners[0][0]), float(input_corners[1][0])) y = (float(input_corners[0][1]), float(input_corners[1][1])) windmill_lats, windmill_lons = zip(*[ (max(x), max(y)), (min(x), max(y)), (min(x), min(y)), (max(x), min(y)), ...
26.533333
64
0.525126
57
398
3.491228
0.298246
0.301508
0.341709
0.180905
0.165829
0
0
0
0
0
0
0.027491
0.268844
398
14
65
28.428571
0.656357
0
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.181818
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
45b69d9e8f458c8ffc0da247fee252792dcb4f07
1,176
py
Python
Python/Testing/NoiseRemove.py
mishranilesh012/Natural_Language_Processing_Techniques
cb7056d07ce339929eea289cb27aff6d08850781
[ "Apache-2.0" ]
1
2019-04-02T18:15:36.000Z
2019-04-02T18:15:36.000Z
Python/Testing/NoiseRemove.py
mishranilesh012/Natural_Language_Processing_Techniques
cb7056d07ce339929eea289cb27aff6d08850781
[ "Apache-2.0" ]
null
null
null
Python/Testing/NoiseRemove.py
mishranilesh012/Natural_Language_Processing_Techniques
cb7056d07ce339929eea289cb27aff6d08850781
[ "Apache-2.0" ]
null
null
null
import struct import scipy.io.wavfile as wf import numpy import pydub # for i in range(wave_file.getnframes()): # # read a single frame and advance to next frame # current_frame = wave_file.readframes(1) # # # check for silence # silent = True # # wave frame samples are stored in little endian**...
28
131
0.681122
160
1,176
4.91875
0.53125
0.040661
0.048285
0.033037
0
0
0
0
0
0
0
0.012712
0.197279
1,176
42
131
28
0.820975
0.72534
0
0
0
0
0.17931
0.075862
0
0
0
0
0
1
0
true
0
0.833333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
45b6b44fc3e96a3e82849428dcf6936a0c8ee650
67
py
Python
merchant-server/constants.py
googleinterns/product-catalog-builder-for-smbs
c328801df5ac5064bf62372f3d32299329c0e361
[ "Apache-2.0" ]
2
2020-05-28T05:35:37.000Z
2020-05-29T15:49:22.000Z
merchant-server/constants.py
googleinterns/product-catalog-builder-for-smbs
c328801df5ac5064bf62372f3d32299329c0e361
[ "Apache-2.0" ]
13
2020-05-28T10:42:18.000Z
2022-03-31T04:10:45.000Z
merchant-server/constants.py
googleinterns/product-catalog-builder-for-smbs
c328801df5ac5064bf62372f3d32299329c0e361
[ "Apache-2.0" ]
1
2020-10-18T06:23:00.000Z
2020-10-18T06:23:00.000Z
NEW_ORDER = "NEW_ORDER" ONGOING = "ONGOING" PRODUCTS_PER_PAGE = 10
16.75
23
0.761194
10
67
4.7
0.7
0.340426
0
0
0
0
0
0
0
0
0
0.034483
0.134328
67
3
24
22.333333
0.775862
0
0
0
0
0
0.238806
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
45be19aa04aea9d081ff9b9affbf49589fe19ece
411
py
Python
traceml/traceml/vendor/matplotlylib/__init__.py
jinheeson1008/tensorflow-lstm-regression
f31fc1181a5696a25f5737398ee0715c24626248
[ "Apache-2.0" ]
4
2022-01-07T11:30:53.000Z
2022-03-22T11:48:20.000Z
traceml/traceml/vendor/matplotlylib/__init__.py
jinheeson1008/tensorflow-lstm-regression
f31fc1181a5696a25f5737398ee0715c24626248
[ "Apache-2.0" ]
9
2022-01-02T08:47:28.000Z
2022-03-18T23:18:20.000Z
traceml/traceml/vendor/matplotlylib/__init__.py
jinheeson1008/tensorflow-lstm-regression
f31fc1181a5696a25f5737398ee0715c24626248
[ "Apache-2.0" ]
null
null
null
""" matplotlylib ============ This module converts matplotlib figure objects into JSON structures which can be understood and visualized by Plotly. Most of the functionality should be accessed through the parent directory's 'tools' module or 'plotly' package. """ from __future__ import absolute_import from .rendere...
24.176471
77
0.793187
54
411
5.907407
0.759259
0
0
0
0
0
0
0
0
0
0
0
0.138686
411
16
78
25.6875
0.90113
0.625304
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
45df59c4c66385bfd79fb073d750cb26999b1094
1,758
py
Python
reader/common/labels.py
nicolay-r/RuSentRel
4fc0df1580d3da21f0be1e832e403652f73caed1
[ "MIT" ]
5
2019-01-28T10:31:07.000Z
2021-09-08T06:25:30.000Z
reader/common/labels.py
nicolay-r/RuSentRel
4fc0df1580d3da21f0be1e832e403652f73caed1
[ "MIT" ]
null
null
null
reader/common/labels.py
nicolay-r/RuSentRel
4fc0df1580d3da21f0be1e832e403652f73caed1
[ "MIT" ]
1
2019-08-18T18:30:56.000Z
2019-08-18T18:30:56.000Z
class Label: @staticmethod def from_str(value): for l in Label._get_supported_labels(): if l.to_str() == value: return l raise Exception("Label by value '{}' doesn't supported".format(value)) @staticmethod def from_int(value): assert(isinstance(val...
22.831169
87
0.584187
210
1,758
4.695238
0.2
0.045639
0.073022
0.033469
0.735294
0.609533
0.56288
0.529412
0.482759
0.482759
0
0.004105
0.307167
1,758
76
88
23.131579
0.805419
0
0
0.5
0
0
0.08604
0
0
0
0
0
0.074074
1
0.277778
false
0
0
0.111111
0.555556
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
45e649838e23cf031bb5255dcfd4e23a12c7bf08
551
py
Python
events/tracon2022/urls.py
con2/kompassi
4938059b8f239ad5ecf06a526adf8b62bce52263
[ "CC-BY-3.0" ]
13
2015-11-29T12:19:12.000Z
2021-02-21T15:42:11.000Z
events/tracon2022/urls.py
con2/kompassi
4938059b8f239ad5ecf06a526adf8b62bce52263
[ "CC-BY-3.0" ]
23
2015-04-29T19:43:34.000Z
2021-02-10T05:50:17.000Z
events/tracon2022/urls.py
con2/kompassi
4938059b8f239ad5ecf06a526adf8b62bce52263
[ "CC-BY-3.0" ]
11
2015-09-20T18:59:00.000Z
2020-02-07T08:47:34.000Z
from django.conf.urls import url from .views import tracon2022_afterparty_participants_view, tracon2022_afterparty_summary_view urlpatterns = [ url( r'^events/(?P<event_slug>tracon2022)/labour/surveys/kaatoilmo/results.xlsx$', tracon2022_afterparty_participants_view, name='tracon2022_afte...
29
94
0.733212
59
551
6.508475
0.40678
0.3125
0.25
0.28125
0.270833
0.270833
0.270833
0.270833
0.270833
0.270833
0
0.069565
0.165154
551
18
95
30.611111
0.765217
0
0
0.285714
0
0
0.392015
0.392015
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
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
aff371e591da00d7135ed8ebb4ce8865d7e19a6f
1,183
py
Python
vavs_project/fbdata/generic.py
valuesandvalue/valuesandvalue
7d7602d0b620b38dcb761c63e74077a00bae891f
[ "MIT" ]
1
2016-03-17T10:00:28.000Z
2016-03-17T10:00:28.000Z
vavs_project/fbdata/generic.py
valuesandvalue/valuesandvalue
7d7602d0b620b38dcb761c63e74077a00bae891f
[ "MIT" ]
null
null
null
vavs_project/fbdata/generic.py
valuesandvalue/valuesandvalue
7d7602d0b620b38dcb761c63e74077a00bae891f
[ "MIT" ]
null
null
null
# fbdata.generic # FBDATA from .models import ( FBAlbum, FBEvent, FBLink, FBPhoto, FBStatus, FBVideo, StreamPost ) _FB_CLASSES = { 'album': FBAlbum, 'event': FBEvent, 'link': FBLink, 'photo': FBPhoto, 'status': FBStatus, 'video': FBVideo, 'post': StreamPost } de...
25.170213
75
0.705833
161
1,183
4.962733
0.21118
0.0801
0.148936
0.18398
0.229036
0.115144
0.115144
0.115144
0.115144
0.115144
0
0
0.169907
1,183
46
76
25.717391
0.813646
0.017751
0
0
0
0
0.029336
0
0
0
0
0
0
1
0.235294
false
0
0.029412
0.235294
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
b304511c23a05e5c02a15ade41a42766675c4bda
242
py
Python
ikologikapi/domain/AbstractIkologikCustomerObject.py
Ikologik/ikologik-api-python
5bf32d7dde3366110c6fde4fc76d74fb461eb8b5
[ "MIT" ]
null
null
null
ikologikapi/domain/AbstractIkologikCustomerObject.py
Ikologik/ikologik-api-python
5bf32d7dde3366110c6fde4fc76d74fb461eb8b5
[ "MIT" ]
null
null
null
ikologikapi/domain/AbstractIkologikCustomerObject.py
Ikologik/ikologik-api-python
5bf32d7dde3366110c6fde4fc76d74fb461eb8b5
[ "MIT" ]
null
null
null
from ikologikapi.domain.AbstractIkologikObject import AbstractIkologikObject class AbstractIkologikCustomerObject(AbstractIkologikObject): def __init__(self, customer: str): super().__init__() self.customer = customer
24.2
76
0.772727
19
242
9.421053
0.684211
0.089385
0.178771
0
0
0
0
0
0
0
0
0
0.157025
242
9
77
26.888889
0.877451
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
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
b3071a1b815f8d4b62fc6b810125289866f9f503
180
py
Python
portal/serializers.py
Radek198/Food-Co-op
eee5077d9cd9f5f9b71a649e7fb086f5e04d3f83
[ "MIT" ]
null
null
null
portal/serializers.py
Radek198/Food-Co-op
eee5077d9cd9f5f9b71a649e7fb086f5e04d3f83
[ "MIT" ]
null
null
null
portal/serializers.py
Radek198/Food-Co-op
eee5077d9cd9f5f9b71a649e7fb086f5e04d3f83
[ "MIT" ]
null
null
null
from rest_framework import serializers class ProductSerializer(serializers.Serializer): product = serializers.ListField( child=serializers.CharField(max_length=200))
25.714286
52
0.794444
18
180
7.833333
0.833333
0
0
0
0
0
0
0
0
0
0
0.019231
0.133333
180
6
53
30
0.884615
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.75
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
b31ad98a0700b36b49c1882b67967d373ee628c9
2,625
py
Python
app/auth/forms.py
karomag/microblog
7511dbd99c4fec6558fd4a94249622ebffdf52ac
[ "MIT" ]
null
null
null
app/auth/forms.py
karomag/microblog
7511dbd99c4fec6558fd4a94249622ebffdf52ac
[ "MIT" ]
null
null
null
app/auth/forms.py
karomag/microblog
7511dbd99c4fec6558fd4a94249622ebffdf52ac
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- """Forms auth.""" from flask_babel import _ from flask_babel import lazy_gettext as _l from flask_wtf import FlaskForm from wtforms import ( BooleanField, PasswordField, StringField, SubmitField, ) from wtforms.validators import ( DataRequired, Email, EqualTo, Va...
28.225806
80
0.656
268
2,625
6.320896
0.320896
0.116883
0.088548
0.053129
0.595041
0.557261
0.460449
0.402597
0.364817
0.364817
0
0.001474
0.224762
2,625
92
81
28.532609
0.830958
0.209524
0
0.276596
0
0
0.121196
0
0
0
0
0.021739
0
1
0.042553
false
0.276596
0.12766
0
0.553191
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
1
0
0
1
0
0
3
b31e1295214eda15108196ecd3b6619c813ed189
5,473
py
Python
guess_movie/quizz/models.py
tanguyesteoule/movizz
1b3bc00fcdd6f0c566fdffabf56c4117fa790b02
[ "MIT" ]
1
2022-01-29T20:14:28.000Z
2022-01-29T20:14:28.000Z
guess_movie/quizz/models.py
renauddahou/movizz
1b3bc00fcdd6f0c566fdffabf56c4117fa790b02
[ "MIT" ]
null
null
null
guess_movie/quizz/models.py
renauddahou/movizz
1b3bc00fcdd6f0c566fdffabf56c4117fa790b02
[ "MIT" ]
1
2022-01-16T13:45:40.000Z
2022-01-16T13:45:40.000Z
from django.db import models # class Game(models.Model): # name = models.CharField(max_length=200) # # def __str__(self): # return self.name class Movie(models.Model): imdb_id = models.CharField(max_length=200, null=True, blank=True) name = models.CharField(max_length=200, null=True, blank=...
36.731544
108
0.723004
744
5,473
5.110215
0.120968
0.067333
0.102578
0.13414
0.789584
0.745923
0.711205
0.66728
0.633877
0.590216
0
0.014415
0.15074
5,473
148
109
36.97973
0.803571
0.04915
0
0.381443
0
0.010309
0.069709
0.061814
0
0
0
0
0
1
0.14433
false
0
0.010309
0.14433
1
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
b32342c6d36a233f788e221c35a9371d05ba8ac7
76
py
Python
exercicios/Curso_Udemy_Python/sec3_aula66.py
IgoPereiraBarros/maratona-data-science-brasil
cc07476579134a2764f00d229d415657555dcdd1
[ "MIT" ]
null
null
null
exercicios/Curso_Udemy_Python/sec3_aula66.py
IgoPereiraBarros/maratona-data-science-brasil
cc07476579134a2764f00d229d415657555dcdd1
[ "MIT" ]
null
null
null
exercicios/Curso_Udemy_Python/sec3_aula66.py
IgoPereiraBarros/maratona-data-science-brasil
cc07476579134a2764f00d229d415657555dcdd1
[ "MIT" ]
null
null
null
lista = ['python', 'c', 'c++', 'ruby', 'php'] print(sorted(lista, key=len))
25.333333
45
0.552632
11
76
3.818182
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.118421
76
3
46
25.333333
0.626866
0
0
0
0
0
0.220779
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
b33850aba2836a183da06d1f438221c324a27842
172
py
Python
seniorproject/preprocessing/preprocess_sample.py
teammanicotti/writingstyle
001fecf34ed3db3699b53a586e5078dbf190a72f
[ "MIT" ]
null
null
null
seniorproject/preprocessing/preprocess_sample.py
teammanicotti/writingstyle
001fecf34ed3db3699b53a586e5078dbf190a72f
[ "MIT" ]
4
2020-11-13T18:49:50.000Z
2022-02-10T01:26:11.000Z
seniorproject/preprocessing/preprocess_sample.py
teammanicotti/writingstyle
001fecf34ed3db3699b53a586e5078dbf190a72f
[ "MIT" ]
null
null
null
"""Preprocessing Sample.""" __author__ = 'Devon Welcheck' def preprocess(req, resp, resource, params): # pylint: disable=unused-argument """Preprocess skeleton."""
21.5
79
0.703488
17
172
6.882353
0.941176
0
0
0
0
0
0
0
0
0
0
0
0.139535
172
7
80
24.571429
0.790541
0.436047
0
0
0
0
0.162791
0
0
0
0
0
0
1
0.5
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
b3459b788b9b0f9bc1d67f711ca82a899ecdbfb0
9,008
py
Python
source/rttov_test/profile-datasets-py/div52/011.py
bucricket/projectMAScorrection
89489026c8e247ec7c364e537798e766331fe569
[ "BSD-3-Clause" ]
null
null
null
source/rttov_test/profile-datasets-py/div52/011.py
bucricket/projectMAScorrection
89489026c8e247ec7c364e537798e766331fe569
[ "BSD-3-Clause" ]
1
2022-03-12T12:19:59.000Z
2022-03-12T12:19:59.000Z
source/rttov_test/profile-datasets-py/div52/011.py
bucricket/projectMAScorrection
89489026c8e247ec7c364e537798e766331fe569
[ "BSD-3-Clause" ]
null
null
null
""" Profile ../profile-datasets-py/div52/011.py file automaticaly created by prof_gen.py script """ self["ID"] = "../profile-datasets-py/div52/011.py" self["Q"] = numpy.array([ 1.60776800e+00, 5.75602400e+00, 7.00189400e+00, 7.33717600e+00, 6.76175900e+00, 8.41951900e+00, 6.5464...
54.26506
92
0.571603
1,390
9,008
3.702158
0.435971
0.014574
0.023319
0.024485
0.037505
0.02876
0.018267
0.012826
0.012826
0.012826
0
0.665269
0.25877
9,008
165
93
54.593939
0.105437
0.010546
0
0
0
0
0.027088
0.003934
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
2fa4bb5e606b31eeef997386be13e4aa1bf047f9
1,239
py
Python
src/waldur_core/core/api_groups_mapping.py
ahti87/waldur-mastermind
772268e62dfd8eadb387b2ec3789785817a6e621
[ "MIT" ]
null
null
null
src/waldur_core/core/api_groups_mapping.py
ahti87/waldur-mastermind
772268e62dfd8eadb387b2ec3789785817a6e621
[ "MIT" ]
null
null
null
src/waldur_core/core/api_groups_mapping.py
ahti87/waldur-mastermind
772268e62dfd8eadb387b2ec3789785817a6e621
[ "MIT" ]
null
null
null
API_GROUPS = { 'authentication': ['/api-auth/', '/api/auth-valimo/',], 'user': ['/api/users/', '/api/user-invitations/', '/api/user-counters/',], 'organization': [ '/api/customers/', '/api/customer-permissions-log/', '/api/customer-permissions-reviews/', '/api/customer-permis...
35.4
78
0.583535
106
1,239
6.811321
0.396226
0.34903
0.091413
0.080332
0
0
0
0
0
0
0
0
0.216303
1,239
34
79
36.441176
0.743563
0
0
0.088235
0
0
0.678773
0.580307
0
0
0
0
0
1
0
false
0
0
0
0
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2fa4e15f7417a6448e8ac7c6f3304b5c54934d36
1,758
py
Python
python/345.py
kylekanos/project-euler-1
af7089356a4cea90f8ef331cfdc65e696def6140
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
python/345.py
kylekanos/project-euler-1
af7089356a4cea90f8ef331cfdc65e696def6140
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
python/345.py
kylekanos/project-euler-1
af7089356a4cea90f8ef331cfdc65e696def6140
[ "BSD-2-Clause-FreeBSD" ]
1
2019-09-17T00:55:58.000Z
2019-09-17T00:55:58.000Z
#!/usr/bin/env python s=""" 7 53 183 439 863 497 383 563 79 973 287 63 343 169 583 627 343 773 959 943 767 473 103 699 303 957 703 583 639 913 447 283 463 29 23 487 463 993 119 883 327 493 423 159 743 217 623 3 399 853 407 103 983 89 463 290 516 212 462 350 960 376 682 962 300 780 486 502 912 800 250 346 172 812 350 8...
28.354839
65
0.632537
388
1,758
2.865979
0.608247
0.043165
0.016187
0.032374
0.084532
0.03777
0.03777
0.03777
0.03777
0
0
0.535852
0.26223
1,758
61
66
28.819672
0.321511
0.104096
0
0.044444
0
0
0.562859
0
0
0
0
0
0
0
null
null
0
0
null
null
0.022222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
2fbcd6e97434f0c483e0b9f7376b9e31fd73e295
569
py
Python
faddr/database.py
kido5217/faddr
116c789ac3985cc3f461203e249d8043dcb73428
[ "MIT" ]
1
2022-03-10T17:52:13.000Z
2022-03-10T17:52:13.000Z
faddr/database.py
kido5217/faddr
116c789ac3985cc3f461203e249d8043dcb73428
[ "MIT" ]
45
2021-08-08T15:23:42.000Z
2022-03-28T20:23:57.000Z
faddr/database.py
kido5217/faddr
116c789ac3985cc3f461203e249d8043dcb73428
[ "MIT" ]
1
2021-10-22T00:46:35.000Z
2021-10-22T00:46:35.000Z
from tinydb import TinyDB # TODO: redo this, maybe use SQL class Database: def __init__(self, db_file): """Create database file, erase previous one if exists.""" self.db = TinyDB(db_file) # TODO: implement db files rotation, for now just replace all data self.db.truncate() ...
28.45
74
0.643234
83
569
4.180723
0.493976
0.172911
0.086455
0
0
0
0
0
0
0
0
0
0.260105
569
19
75
29.947368
0.824228
0.45167
0
0
0
0
0
0
0
0
0
0.052632
0
1
0.333333
false
0.111111
0.111111
0
0.555556
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
1
0
0
0
0
0
3
2fcf3382e080f3b77010b56e004724a5a0e7a4f8
1,806
py
Python
models/peak.py
anva-kn/ramanflow
0a8852a0a8d57d97e5ccd011bc6bc8659ecd666c
[ "MIT" ]
null
null
null
models/peak.py
anva-kn/ramanflow
0a8852a0a8d57d97e5ccd011bc6bc8659ecd666c
[ "MIT" ]
1
2021-12-05T06:40:27.000Z
2021-12-07T07:18:18.000Z
models/peak.py
anva-kn/ramanflow
0a8852a0a8d57d97e5ccd011bc6bc8659ecd666c
[ "MIT" ]
null
null
null
import numpy as np from dataclasses import dataclass, field from spectrum_component import SpectrumComponent from scipy.optimize import minimize from typing import List, Optional @dataclass class Peak(SpectrumComponent): __beta_fit: np.ndarray = field(init=False) __yhat_fit: np.ndarray = field(init=False) ...
30.1
114
0.611849
242
1,806
4.202479
0.305785
0.048181
0.023599
0.029499
0.318584
0.235988
0.104228
0.104228
0.104228
0.104228
0
0.00936
0.290144
1,806
60
115
30.1
0.783931
0.121816
0
0.166667
0
0
0.014483
0
0
0
0
0.016667
0
1
0.194444
false
0
0.138889
0.138889
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
1
1
0
0
3
2fd57e4ea7c49631ccd30b28d1e5572f8c08ea1c
537
py
Python
2020/examples-in-class-2020-10-22/list_vs_dictionary1.py
ati-ozgur/course-python
38237d120043c07230658b56dc3aeb01c3364933
[ "Apache-2.0" ]
1
2021-02-04T16:59:11.000Z
2021-02-04T16:59:11.000Z
2020/examples-in-class-2020-10-22/list_vs_dictionary1.py
ati-ozgur/course-python
38237d120043c07230658b56dc3aeb01c3364933
[ "Apache-2.0" ]
null
null
null
2020/examples-in-class-2020-10-22/list_vs_dictionary1.py
ati-ozgur/course-python
38237d120043c07230658b56dc3aeb01c3364933
[ "Apache-2.0" ]
1
2019-10-30T14:37:48.000Z
2019-10-30T14:37:48.000Z
# Ask user to enter their country name. # print out their phone code. l_country_phone_code = ["China","86","Germany","49","Turkey","90"] def country_name_to_phone_code_list(country_name): for index in range(len(l_country_phone_code)): if l_country_phone_code[index] == country_name: return l_country_phone_code[...
26.85
66
0.795158
89
537
4.348315
0.337079
0.232558
0.167959
0.232558
0.49354
0.379845
0.24031
0
0
0
0
0.014344
0.091248
537
20
67
26.85
0.778689
0.121043
0
0
0
0
0.089362
0
0
0
0
0
0
1
0.2
false
0.1
0
0
0.3
0.3
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
1
0
0
0
0
0
3
2fe1655ebd31d04947a0a2208508011d402682bf
204
py
Python
app/__init__.py
jesiqueira/work
4baf5277af4ca0537fca9ba8eeec45d4281ef76d
[ "MIT" ]
null
null
null
app/__init__.py
jesiqueira/work
4baf5277af4ca0537fca9ba8eeec45d4281ef76d
[ "MIT" ]
null
null
null
app/__init__.py
jesiqueira/work
4baf5277af4ca0537fca9ba8eeec45d4281ef76d
[ "MIT" ]
null
null
null
from flask import Flask def create_app(): app = Flask(__name__) #Rotas from app.controllers.main.rotas import main #Registrar Blueprint app.register_blueprint(main) return app
15.692308
47
0.70098
26
204
5.269231
0.538462
0
0
0
0
0
0
0
0
0
0
0
0.230392
204
12
48
17
0.872611
0.117647
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0.166667
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
1
0
1
0
0
3
2fe1e63f271fbc465668c88a0d44f3a5739d9e29
10,050
py
Python
risk_register/rules.py
justin441/risk_management
2f5f0f62aae34998db7cf4155297ce4f6a8d774e
[ "MIT" ]
null
null
null
risk_register/rules.py
justin441/risk_management
2f5f0f62aae34998db7cf4155297ce4f6a8d774e
[ "MIT" ]
null
null
null
risk_register/rules.py
justin441/risk_management
2f5f0f62aae34998db7cf4155297ce4f6a8d774e
[ "MIT" ]
null
null
null
import rules # ------------predicates------------ # Processus @rules.predicate def is_process_manager(user, processus): return processus.proc_manager == user @rules.predicate def is_process_upper_mgt(user, processus): bu = processus.business_unit return bu.bu_manager == user # Activités @rules.predic...
40.361446
119
0.816816
1,352
10,050
5.578402
0.058432
0.067887
0.085388
0.067887
0.878414
0.852692
0.739724
0.683903
0.641872
0.585256
0
0
0.100498
10,050
248
120
40.524194
0.834292
0.044876
0
0.304348
0
0
0.180441
0.149514
0
0
0
0
0
1
0.124224
false
0
0.006211
0.043478
0.285714
0
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
2fe6856451079b7092c8013f6dea797816021d81
263
py
Python
dotplug/__init__.py
arubertoson/dotplug
c95e06add33864a43e4934e1c5e54f90eb5e262d
[ "MIT" ]
null
null
null
dotplug/__init__.py
arubertoson/dotplug
c95e06add33864a43e4934e1c5e54f90eb5e262d
[ "MIT" ]
1
2018-07-24T07:47:08.000Z
2018-07-24T07:47:08.000Z
dotplug/__init__.py
arubertoson/dotplug
c95e06add33864a43e4934e1c5e54f90eb5e262d
[ "MIT" ]
null
null
null
""" Entry Point """ import asyncio from dotplug.main import main from dotplug.console import ncurses def _main(): import uvloop asyncio.set_event_loop_policy(uvloop.EventLoopPolicy()) with ncurses(): asyncio.run(main()) input("")
14.611111
59
0.676806
31
263
5.612903
0.612903
0.126437
0
0
0
0
0
0
0
0
0
0
0.212928
263
17
60
15.470588
0.84058
0.041825
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
true
0
0.444444
0
0.555556
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
2ffa77f1e40ba05e4e11e3418487de31ab281199
679
py
Python
stubs.min/System/Runtime/InteropServices/__init___parts/GuidAttribute.py
denfromufa/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
1
2017-07-07T11:15:45.000Z
2017-07-07T11:15:45.000Z
stubs.min/System/Runtime/InteropServices/__init___parts/GuidAttribute.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
stubs.min/System/Runtime/InteropServices/__init___parts/GuidAttribute.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
class GuidAttribute(Attribute,_Attribute): """ Supplies an explicit System.Guid when an automatic GUID is undesirable. GuidAttribute(guid: str) """ def __init__(self,*args): """ x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ f...
30.863636
215
0.687776
86
679
4.860465
0.453488
0.107656
0.114833
0.136364
0.270335
0.270335
0.270335
0.270335
0.270335
0.270335
0
0
0.173785
679
21
216
32.333333
0.745098
0.4919
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.285714
false
0.285714
0
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
640924f10b1d56697c6fdd50eb6f54c032ea499e
308
py
Python
services/web/server/src/simcore_service_webserver/session.py
oetiker/osparc-simcore
00918bf8f000840cc70cc49458780a55858d52ea
[ "MIT" ]
null
null
null
services/web/server/src/simcore_service_webserver/session.py
oetiker/osparc-simcore
00918bf8f000840cc70cc49458780a55858d52ea
[ "MIT" ]
2
2018-05-13T09:10:57.000Z
2019-03-06T08:10:40.000Z
services/web/server/src/simcore_service_webserver/session.py
oetiker/osparc-simcore
00918bf8f000840cc70cc49458780a55858d52ea
[ "MIT" ]
null
null
null
""" Session submodule """ from aiohttp import web from servicelib.session import get_session from servicelib.session import setup_session as do_setup_session def setup(app: web.Application): do_setup_session(app) # alias setup_session = setup __all__ = ( "setup_session", "get_session", )
14.666667
64
0.746753
40
308
5.425
0.4
0.276498
0.193548
0.248848
0
0
0
0
0
0
0
0
0.168831
308
20
65
15.4
0.847656
0.077922
0
0
0
0
0.087273
0
0
0
0
0
0
1
0.1
false
0
0.3
0
0.4
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
640a9d4160e1e902532bad6cb3c3e5185242dc67
11,852
py
Python
photometa/forms.py
Flantropy/photometalizer
3ccfba4a8783f310a33d28c614252cb07bc48536
[ "MIT" ]
null
null
null
photometa/forms.py
Flantropy/photometalizer
3ccfba4a8783f310a33d28c614252cb07bc48536
[ "MIT" ]
null
null
null
photometa/forms.py
Flantropy/photometalizer
3ccfba4a8783f310a33d28c614252cb07bc48536
[ "MIT" ]
null
null
null
from django.core.exceptions import ValidationError from django.core.validators import FileExtensionValidator from django.core.files.uploadedfile import InMemoryUploadedFile from django.forms import Form, ModelForm, FileInput from django.forms.fields import * from captcha.fields import CaptchaField from .models import ...
54.118721
85
0.724435
1,433
11,852
5.739707
0.181438
0.142006
0.201337
0.335562
0.747356
0.735198
0.59003
0.329726
0.166201
0.054711
0
0.002386
0.151451
11,852
218
86
54.366972
0.815452
0.648161
0
0.202381
0
0
0.068216
0
0
0
0
0
0
1
0.011905
false
0
0.095238
0
0.452381
0.011905
0
0
0
null
0
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6427067cb0803864cbac859e6090f9b18cef3bcf
1,090
py
Python
engine/vector.py
dbrizov/PyTetris
f783526a37944452607d86c5def28dbaf3cd4481
[ "MIT" ]
3
2018-07-19T11:59:02.000Z
2021-12-19T15:05:02.000Z
engine/vector.py
dbrizov/PyTetris
f783526a37944452607d86c5def28dbaf3cd4481
[ "MIT" ]
null
null
null
engine/vector.py
dbrizov/PyTetris
f783526a37944452607d86c5def28dbaf3cd4481
[ "MIT" ]
null
null
null
import math class Vector2(tuple): def __new__(cls, x, y): return tuple.__new__(cls, (x, y)) @property def x(self): return self[0] @property def y(self): return self[1] def __add__(self, vector): return Vector2(self.x + vector.x, self.y + vector.y) def __...
22.708333
72
0.590826
157
1,090
3.89172
0.203822
0.090016
0.08838
0.1473
0.477905
0.422259
0.422259
0.422259
0.422259
0.422259
0
0.020101
0.269725
1,090
47
73
23.191489
0.747487
0
0
0.15625
0
0
0.016514
0
0
0
0
0
0
1
0.375
false
0
0.03125
0.375
0.8125
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
644292c4d61839088d132ddd059480c729616e9c
2,604
py
Python
RL.py
apurva-rai/Reinforcement_Learning
9b979b9dd1f63cb966be3230f1aab494d0d477cb
[ "MIT" ]
null
null
null
RL.py
apurva-rai/Reinforcement_Learning
9b979b9dd1f63cb966be3230f1aab494d0d477cb
[ "MIT" ]
null
null
null
RL.py
apurva-rai/Reinforcement_Learning
9b979b9dd1f63cb966be3230f1aab494d0d477cb
[ "MIT" ]
null
null
null
import numpy as np #SARSA class that has function to train and test simple treasure finding path class SARSA: def __init__(self,a,r,action,reward,Q): if a is None: self.a = 0.5 if r is None: self.r = 0.75 self.a = a self.r = r self.action = action ...
27.702128
136
0.519585
335
2,604
4.014925
0.191045
0.05948
0.04461
0.032714
0.854275
0.793309
0.628996
0.579926
0.526394
0.460967
0
0.012129
0.366743
2,604
93
137
28
0.803517
0.060676
0
0.794118
0
0
0
0
0
0
0
0
0
1
0.088235
false
0
0.014706
0
0.161765
0
0
0
0
null
0
0
0
1
1
0
0
0
0
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
ff56d4da695b936f27e4f59c482e9fc6e6d38fb1
1,202
py
Python
ServerPackage/Game.py
PaulieC/rls
fbff3a303a981a65069c9dc679c15d61056b88f1
[ "Apache-2.0" ]
null
null
null
ServerPackage/Game.py
PaulieC/rls
fbff3a303a981a65069c9dc679c15d61056b88f1
[ "Apache-2.0" ]
null
null
null
ServerPackage/Game.py
PaulieC/rls
fbff3a303a981a65069c9dc679c15d61056b88f1
[ "Apache-2.0" ]
null
null
null
__author__ = "Paul Council, Joseph Gonzoph, Anand Patel" __version__ = "sprint1" __credits__ = ["Matt Martorana, Justin Read"] # imports from ServerPackage import Observer class Game(Observer.Observer): name = None @staticmethod def num_players_per_game(): """ Number of players in a game...
26.711111
72
0.616473
156
1,202
4.634615
0.544872
0.024896
0.041494
0.041494
0
0
0
0
0
0
0
0.002439
0.317804
1,202
44
73
27.318182
0.879268
0.488353
0
0.133333
0
0
0.167038
0
0
0
0
0
0
1
0.266667
false
0.133333
0.066667
0.066667
0.6
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
ff5986eb7d80707f56a8beab2a20415bc7fe42b3
23,051
py
Python
Kevin/4.py
kevin-ci/advent-of-code-2020
697dd3d2639e30e59b228fa417ca5a76cd94f9e5
[ "MIT" ]
null
null
null
Kevin/4.py
kevin-ci/advent-of-code-2020
697dd3d2639e30e59b228fa417ca5a76cd94f9e5
[ "MIT" ]
null
null
null
Kevin/4.py
kevin-ci/advent-of-code-2020
697dd3d2639e30e59b228fa417ca5a76cd94f9e5
[ "MIT" ]
null
null
null
import re input = """iyr:2010 ecl:gry hgt:181cm pid:591597745 byr:1920 hcl:#6b5442 eyr:2029 cid:123 cid:223 byr:1927 hgt:177cm hcl:#602927 iyr:2016 pid:404183620 ecl:amb eyr:2020 byr:1998 ecl:hzl cid:178 hcl:#a97842 iyr:2014 hgt:166cm pid:594143498 eyr:2030 ecl:hzl pid:795349208 iyr:2018 eyr:2024 hcl:#de745c hgt:15...
18.817143
80
0.753633
4,514
23,051
3.843376
0.16903
0.015217
0.006225
0.002248
0.02248
0.008761
0.00634
0.003574
0.003574
0.003574
0
0.410835
0.129582
23,051
1,224
81
18.832516
0.453848
0.001735
0
0.207568
0
0.036757
0.934192
0
0
0
0
0
0
1
0.001081
false
0
0.001081
0
0.014054
0.002162
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
ff645fb0b531eb78c5209f67de47acd24606ce15
407
py
Python
teeport/__init__.py
SPEAR3-ML/teeport-client-python
cb0a81e9a8e111bf4116484bbe496252aa8d9edc
[ "MIT" ]
null
null
null
teeport/__init__.py
SPEAR3-ML/teeport-client-python
cb0a81e9a8e111bf4116484bbe496252aa8d9edc
[ "MIT" ]
null
null
null
teeport/__init__.py
SPEAR3-ML/teeport-client-python
cb0a81e9a8e111bf4116484bbe496252aa8d9edc
[ "MIT" ]
null
null
null
# Copyright (c) 2019-2020, SPEAR3 authors (see AUTHORS.txt). # Licensed under the BSD 3-clause license (see LICENSE.txt) # The reason we need nest_asyncio is that we run multiple event loops in a # single thread, that's not allowed. The future work should be create a new # thread for each event loop so we can get rid ...
37
75
0.773956
71
407
4.380282
0.71831
0.141479
0
0
0
0
0
0
0
0
0
0.029499
0.167076
407
10
76
40.7
0.887906
0.796069
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
ff67664ebb9e9ff9a5a17938e52f47a51c7667d5
75
py
Python
Hacker_Rank/Python: Division.py
Jai-kishan/Practice-Questions
cf3a3eb5c2e930fcfcb762d822430060bb5deb2d
[ "Apache-2.0" ]
1
2019-05-04T09:21:00.000Z
2019-05-04T09:21:00.000Z
Hacker_Rank/Python: Division.py
Jai-kishan/Practice-Questions
cf3a3eb5c2e930fcfcb762d822430060bb5deb2d
[ "Apache-2.0" ]
null
null
null
Hacker_Rank/Python: Division.py
Jai-kishan/Practice-Questions
cf3a3eb5c2e930fcfcb762d822430060bb5deb2d
[ "Apache-2.0" ]
null
null
null
a=int(input()) b=int(input()) print (a/b) a=float(a) b=float(b) print (a/b)
12.5
14
0.613333
18
75
2.555556
0.333333
0.130435
0.304348
0
0
0
0
0
0
0
0
0
0.093333
75
6
15
12.5
0.676471
0
0
0.333333
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
ff83e388de90ffa2ddc5c91abc3eff56e6220ae3
1,170
py
Python
pyvims/planets/__type__.py
seignovert/pyvims
a70b5b9b8bc5c37fa43b7db4d15407f312a31849
[ "BSD-3-Clause" ]
4
2019-09-16T15:50:22.000Z
2021-04-08T15:32:48.000Z
pyvims/planets/__type__.py
seignovert/pyvims
a70b5b9b8bc5c37fa43b7db4d15407f312a31849
[ "BSD-3-Clause" ]
3
2018-05-04T09:28:24.000Z
2018-12-03T09:00:31.000Z
pyvims/planets/__type__.py
seignovert/pyvims
a70b5b9b8bc5c37fa43b7db4d15407f312a31849
[ "BSD-3-Clause" ]
1
2020-10-12T15:14:17.000Z
2020-10-12T15:14:17.000Z
"""Abstract planet type.""" class Planet(type): """Abstract Planet object.""" MEAN_RADIUS = (None, None) # [km] ± err [km] RADII = ((None, None), (None, None), (None, None)) # [km] ± err [km] def __str__(cls): return cls.__name__ def __repr__(cls): retur...
22.941176
73
0.513675
148
1,170
3.898649
0.25
0.083189
0.095321
0.117851
0.218371
0.190641
0
0
0
0
0
0.009913
0.310256
1,170
50
74
23.4
0.702602
0.223077
0
0.206897
0
0
0.037123
0.030162
0
0
0
0
0
1
0.344828
false
0
0
0.103448
0.793103
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
ffba6d1b0d4c9fc9bf206561d7474e75ff42b979
343
py
Python
pushit/backends/mpns.py
rhblind/django-pushit
491ab14b7b1004eb73420d23bcc2b74fafaaf7a3
[ "MIT" ]
null
null
null
pushit/backends/mpns.py
rhblind/django-pushit
491ab14b7b1004eb73420d23bcc2b74fafaaf7a3
[ "MIT" ]
null
null
null
pushit/backends/mpns.py
rhblind/django-pushit
491ab14b7b1004eb73420d23bcc2b74fafaaf7a3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals from pushit.backends import PushBackend class MPNSPushBackend(PushBackend): """ """ def __init__(self, connection_alias, **options): super(MPNSPushBackend, self).__init__(connection_alias, **options) raise...
21.4375
74
0.71137
33
343
6.909091
0.69697
0.131579
0.192982
0
0
0
0
0
0
0
0
0.003546
0.177843
343
15
75
22.866667
0.804965
0.061224
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
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
1
0
1
0
0
3
440da21df1681ee860c03c4cbe74d77afefdd093
253
py
Python
tests/examples/simple.py
Tiendil/coulson
6ce12f10731930bf6931f73b752976aeda839cc4
[ "BSD-3-Clause" ]
null
null
null
tests/examples/simple.py
Tiendil/coulson
6ce12f10731930bf6931f73b752976aeda839cc4
[ "BSD-3-Clause" ]
null
null
null
tests/examples/simple.py
Tiendil/coulson
6ce12f10731930bf6931f73b752976aeda839cc4
[ "BSD-3-Clause" ]
null
null
null
def assigned_type_mismatch(): x = 666 x = '666' return x def annotation_type_mismatch(x: int = '666'): return x def assigned_type_mismatch_between_calls(case): if case: x = 666 else: x = '666' return x
12.65
47
0.588933
35
253
4.028571
0.4
0.113475
0.212766
0.326241
0
0
0
0
0
0
0
0.087209
0.320158
253
19
48
13.315789
0.732558
0
0
0.583333
0
0
0.035857
0
0
0
0
0
0
1
0.25
false
0
0
0.083333
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
4447797a9aae9e4e0e21cce2510d72157327de0f
255
py
Python
neos/secrets.py
mralext20/neos.py
5e83a868969a9782ddfc7eba023108290ccda97c
[ "MIT" ]
2
2021-03-30T16:24:19.000Z
2021-04-06T08:20:55.000Z
neos/secrets.py
mralext20/neos.py
5e83a868969a9782ddfc7eba023108290ccda97c
[ "MIT" ]
null
null
null
neos/secrets.py
mralext20/neos.py
5e83a868969a9782ddfc7eba023108290ccda97c
[ "MIT" ]
null
null
null
import random import string def generate() -> str: """ direct reimpl of secretID.js from account.neosvr.com """ length = 12 valid_chars = string.ascii_letters + string.digits return "".join(random.choices(valid_chars, k=length))
21.25
57
0.678431
33
255
5.151515
0.787879
0.117647
0
0
0
0
0
0
0
0
0
0.009901
0.207843
255
11
58
23.181818
0.831683
0.203922
0
0
1
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
44762645211964973e9a09e8d66e0bf5a566fa40
189
py
Python
mysite/documents/urls.py
JarvisDong/Project-CGD
e499e13f358629583faf2778d8ba55852cf4cecf
[ "MIT" ]
null
null
null
mysite/documents/urls.py
JarvisDong/Project-CGD
e499e13f358629583faf2778d8ba55852cf4cecf
[ "MIT" ]
null
null
null
mysite/documents/urls.py
JarvisDong/Project-CGD
e499e13f358629583faf2778d8ba55852cf4cecf
[ "MIT" ]
null
null
null
# URLconf: map the index view in view.py to a URL from django.conf.urls import url from . import views from django.views.generic import TemplateView app_name = 'documents' urlpatterns = []
27
49
0.772487
30
189
4.833333
0.733333
0.096552
0
0
0
0
0
0
0
0
0
0
0.153439
189
7
50
27
0.90625
0.248677
0
0
0
0
0.06383
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
4492b8f104d0fabe71c89becba245f5e4644669e
228
py
Python
src/Brain/Functions/Analyzer.py
SidisLiveYT/Discord-AI
b321856266740304b70ab63bbfcdb5285854aa7d
[ "MIT" ]
null
null
null
src/Brain/Functions/Analyzer.py
SidisLiveYT/Discord-AI
b321856266740304b70ab63bbfcdb5285854aa7d
[ "MIT" ]
null
null
null
src/Brain/Functions/Analyzer.py
SidisLiveYT/Discord-AI
b321856266740304b70ab63bbfcdb5285854aa7d
[ "MIT" ]
null
null
null
from Resources.StorageGround import Greetings print(Greetings); def Analyzer_Text_Department(RawString): #Taking List of Words to Analyze Indiviually SplitSting = RawString.split() #for word in SplitSting:
25.333333
48
0.75
26
228
6.5
0.884615
0
0
0
0
0
0
0
0
0
0
0
0.188596
228
8
49
28.5
0.913514
0.289474
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
922fa3dca598bcb019c6f728700b805a4c18143d
2,744
py
Python
tests/test_eos_token_seq_length.py
v0lta/tfkaldi
4772e881cc168439723c19f69a2425588f661060
[ "MIT" ]
57
2017-01-19T15:58:46.000Z
2021-01-12T17:57:31.000Z
tests/test_eos_token_seq_length.py
v0lta/tfkaldi
4772e881cc168439723c19f69a2425588f661060
[ "MIT" ]
null
null
null
tests/test_eos_token_seq_length.py
v0lta/tfkaldi
4772e881cc168439723c19f69a2425588f661060
[ "MIT" ]
15
2017-02-25T17:44:35.000Z
2019-09-23T14:03:18.000Z
from __future__ import absolute_import, division, print_function import numpy as np import tensorflow as tf from IPython.core.debugger import Tracer; debug_here = Tracer(); batch_size = 5 max_it = tf.constant(6) char_mat_1 = [[0.0, 0.0, 0.0, 0.9, 0.0, 0.0], [0.0, 0.0, 0.0, 0.9, 0.0, 0.0], ...
34.3
80
0.543367
581
2,744
2.414802
0.151463
0.344975
0.451176
0.513186
0.263008
0.234498
0.229508
0.224519
0.223806
0.223806
0
0.164165
0.247449
2,744
79
81
34.734177
0.515254
0.020044
0
0.278689
0
0
0
0
0
0
0
0
0
1
0
false
0
0.065574
0
0.065574
0.131148
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
923c4e2cb4ba7cdc78f566b0f424d01000307fda
1,213
py
Python
static/src/srcjpy.py
JoshuaOndieki/oneforma-fashion-attribute
00aaea0e964adbe7b33e5e51cd8eabb42817dec7
[ "MIT" ]
null
null
null
static/src/srcjpy.py
JoshuaOndieki/oneforma-fashion-attribute
00aaea0e964adbe7b33e5e51cd8eabb42817dec7
[ "MIT" ]
null
null
null
static/src/srcjpy.py
JoshuaOndieki/oneforma-fashion-attribute
00aaea0e964adbe7b33e5e51cd8eabb42817dec7
[ "MIT" ]
null
null
null
import json def restructure_category_data(): with open('categoryimages.json', 'r') as jfile: new_data = json.load(jfile) with open('category.json') as jfile: data = json.load(jfile) with open('category.json', 'w') as jfile: for item in data: item['IMAGES'] = new_data[...
26.369565
56
0.623248
167
1,213
4.401198
0.179641
0.097959
0.097959
0.138776
0.734694
0.734694
0.734694
0.734694
0.682993
0.487075
0
0.003236
0.235779
1,213
45
57
26.955556
0.789644
0
0
0.387097
0
0
0.13108
0
0
0
0
0
0
1
0.096774
false
0
0.032258
0
0.129032
0
0
0
0
null
0
0
0
0
1
1
1
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
923fbcda3f989955bd68ae7294e1df2739368dbf
1,792
py
Python
test/detect_os.py
ThunderSoft123/mbed-ls
bf2750e2da4649591fcbb8047e0926ae4d6c74fd
[ "Apache-2.0" ]
null
null
null
test/detect_os.py
ThunderSoft123/mbed-ls
bf2750e2da4649591fcbb8047e0926ae4d6c74fd
[ "Apache-2.0" ]
null
null
null
test/detect_os.py
ThunderSoft123/mbed-ls
bf2750e2da4649591fcbb8047e0926ae4d6c74fd
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python """ mbed SDK Copyright (c) 2011-2015 ARM Limited 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 ...
27.151515
76
0.708147
243
1,792
5.024691
0.477366
0.063063
0.042588
0.055692
0.117117
0.047502
0
0
0
0
0
0.009207
0.212054
1,792
65
77
27.569231
0.855524
0.370536
0
0.0625
0
0
0.035907
0
0
0
0
0
0.15625
1
0.21875
false
0.0625
0.28125
0
0.53125
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
926e172260da95c8e0bed936db852d904ce5ea3f
6,249
py
Python
datamine/loaders/liqtool.py
Saran33/datamine_python
396a01883fe98f31e32d506d50e4eeaa2de06466
[ "BSD-3-Clause" ]
39
2019-05-15T19:22:03.000Z
2022-03-08T08:54:51.000Z
datamine/loaders/liqtool.py
Saran33/datamine_python
396a01883fe98f31e32d506d50e4eeaa2de06466
[ "BSD-3-Clause" ]
9
2019-02-26T03:50:27.000Z
2021-07-24T15:31:38.000Z
datamine/loaders/liqtool.py
Saran33/datamine_python
396a01883fe98f31e32d506d50e4eeaa2de06466
[ "BSD-3-Clause" ]
11
2019-04-16T12:32:29.000Z
2021-08-28T15:09:51.000Z
from . import Loader import pandas as pd from datetime import datetime, timedelta start = datetime(1970, 1, 1) # Unix epoch start time class LiqLoader(Loader): dataset = 'LIQTOOL' fileglob = 'LIQTOOL_*.csv.gz' index = 'tradedate' dtypes = {'category': ('symbol', 'time_zone'), 'int6...
99.190476
265
0.666187
979
6,249
3.548519
0.094995
0.207254
0.064767
0.046056
0
0
0
0
0
0
0
0.063592
0.212354
6,249
62
266
100.790323
0.642219
0.003361
0
0
0
0
0.625763
0.259878
0
0
0
0
0
1
0.017544
false
0
0.052632
0
0.157895
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
927646be7e0eba265112163bf55301fe33919254
1,465
py
Python
tests/tests_earthquake.py
domenicosolazzo/Earthquake
4a9940c0f10f686bafb27521b1d9ba83a2930968
[ "MIT" ]
null
null
null
tests/tests_earthquake.py
domenicosolazzo/Earthquake
4a9940c0f10f686bafb27521b1d9ba83a2930968
[ "MIT" ]
null
null
null
tests/tests_earthquake.py
domenicosolazzo/Earthquake
4a9940c0f10f686bafb27521b1d9ba83a2930968
[ "MIT" ]
null
null
null
import unittest from lib.earthquake import Earthquake class EarthquakeTestCase(unittest.TestCase): def setUp(self): self.earthquake = Earthquake(service="fake") def test_refresh_exists(self): self.assertTrue(callable(getattr(self.earthquake,"refresh")),"True") def test_refresh_does_take_at_m...
63.695652
120
0.736519
174
1,465
5.95977
0.304598
0.135005
0.101254
0.111861
0.480231
0.322083
0.322083
0.322083
0.175506
0.175506
0
0.000786
0.131741
1,465
22
121
66.590909
0.814465
0
0
0.095238
0
0
0.185666
0
0
0
0
0
0.428571
1
0.380952
false
0
0.095238
0
0.52381
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
0
1
0
0
3
928b9676a71b52831a3150e851b3660ba36d9a5e
579
py
Python
avatar/plugins/avatar_plugin.py
gitttt/avatar-python-private
aa33ac9f37b7a1d79943ac89109f3f9e38cf3736
[ "ECL-2.0", "Apache-2.0" ]
30
2017-09-05T18:21:57.000Z
2022-01-13T08:23:49.000Z
avatar/plugins/avatar_plugin.py
gitttt/avatar-python-private
aa33ac9f37b7a1d79943ac89109f3f9e38cf3736
[ "ECL-2.0", "Apache-2.0" ]
1
2016-12-08T13:17:53.000Z
2016-12-08T13:27:36.000Z
avatar/plugins/avatar_plugin.py
K-atc/avatar-python
c6d74f85f63333e3031e1f5e208d3f90e316a9e4
[ "ECL-2.0", "Apache-2.0" ]
11
2017-09-26T07:36:50.000Z
2020-10-31T00:47:08.000Z
class AvatarPlugin: """ Abstract interface for all Avatar plugins Upon start() and stop(), plugins are expected to register/unregister their own event handlers by the means of :func:`System.register_event_listener` and :func:`System.unregister_event_listener` """ def __init__(self, system)...
27.571429
83
0.649396
68
579
5.397059
0.529412
0.081744
0.13079
0.171662
0.302452
0.302452
0.207084
0
0
0
0
0
0.253886
579
20
84
28.95
0.849537
0.487047
0
0.333333
0
0
0
0
0
0
0
0
0.333333
1
0.444444
false
0
0
0
0.555556
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
929989a699a5e40cd08c6754c513c1391f4e851e
3,371
py
Python
test/test_datatypes.py
panny2207/OWL-RL
218c5779290a0fbd653e40ab377e19b4f7c394fb
[ "W3C-20150513" ]
null
null
null
test/test_datatypes.py
panny2207/OWL-RL
218c5779290a0fbd653e40ab377e19b4f7c394fb
[ "W3C-20150513" ]
null
null
null
test/test_datatypes.py
panny2207/OWL-RL
218c5779290a0fbd653e40ab377e19b4f7c394fb
[ "W3C-20150513" ]
null
null
null
""" Test for OWL 2 RL/RDF rules from Table 8. The Semantics of Datatypes https://www.w3.org/TR/owl2-profiles/#Reasoning_in_OWL_2_RL_and_RDF_Graphs_using_Rules NOTE: The following axioms are skipped on purpose - dt-eq - dt-diff """ from rdflib import Graph, Literal, Namespace, RDF, XSD, RDFS import owlrl DAML...
35.861702
85
0.68407
524
3,371
4.351145
0.236641
0.107456
0.130263
0.266667
0.564035
0.518421
0.503509
0.478947
0
0
0
0.010241
0.188965
3,371
93
86
36.247312
0.823702
0.131415
0
0.103448
0
0
0.060195
0
0
0
0
0.010753
0.62069
1
0.051724
false
0
0.034483
0
0.086207
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
1
1
0
0
0
0
0
0
0
0
0
3
929dfa2e3f9cf68cb55576bcbba4406af6eaa25b
381
py
Python
avazu-ctr/rf.py
ldamewood/renormalization
9dd2293f8e39fd671abae4f4f5914c9ccbcd5519
[ "MIT" ]
6
2016-11-26T02:39:27.000Z
2018-05-11T02:02:03.000Z
avazu-ctr/rf.py
chrinide/renormalization
9dd2293f8e39fd671abae4f4f5914c9ccbcd5519
[ "MIT" ]
null
null
null
avazu-ctr/rf.py
chrinide/renormalization
9dd2293f8e39fd671abae4f4f5914c9ccbcd5519
[ "MIT" ]
5
2015-01-12T20:22:56.000Z
2018-03-22T03:38:15.000Z
#!/usr/bin/env python from __future__ import print_function from sklearn.feature_extraction import FeatureHasher from sklearn.ensemble import RandomForestClassifier from sklearn.pipeline import make_pipeline from sklearn.metrics import log_loss import ctr learner = RandomForestClassifier(verbose = False, n_jobs = -1...
27.214286
62
0.811024
53
381
5.660377
0.679245
0.146667
0
0
0
0
0
0
0
0
0
0.005988
0.12336
381
14
63
27.214286
0.892216
0.052493
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.111111
0.666667
0
0.666667
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
92a48b86c4e76dd5956f70160e597a930611bbec
11,633
py
Python
scripts/flowed_plaquette_plot.py
hmvege/GluonicLQCD
9bb7466fce408bf51cb98d65f639acd37d034d62
[ "MIT" ]
1
2019-04-12T08:12:30.000Z
2019-04-12T08:12:30.000Z
scripts/flowed_plaquette_plot.py
hmvege/GluonicLQCD
9bb7466fce408bf51cb98d65f639acd37d034d62
[ "MIT" ]
2
2021-03-14T12:30:39.000Z
2021-03-14T12:33:17.000Z
scripts/flowed_plaquette_plot.py
hmvege/GluonicLQCD
9bb7466fce408bf51cb98d65f639acd37d034d62
[ "MIT" ]
1
2020-05-14T02:12:33.000Z
2020-05-14T02:12:33.000Z
import matplotlib.pyplot as plt, numpy as np plaq_morningstar_ubuntu = np.array(""" 0 0.61401745 1 0.62927918 2 0.64409064 3 0.65844519 4 0.67233862 5 0.68576903 6 0.69873661 7 0.71124351 8 0.72329362 9 0.73489239 10 0.74604666 11 0.75676448 12 0.76705495 1...
20.022375
81
0.63423
1,915
11,633
3.809399
0.305483
0.012337
0.017272
0.01645
0.425908
0.385058
0.372173
0.372173
0.348184
0.348184
0
0.660948
0.278432
11,633
580
82
20.056897
0.208125
0.047709
0
0.377289
0
0
0.849272
0.006333
0
0
0
0
0
1
0.001832
false
0
0.001832
0
0.005495
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
92a9d8e5eb6b7dfd1c874a961a7ca59965c56a76
278
py
Python
inner_rpc/inner_rpc/ir_exceptions.py
chenjiee815/inner_rpc
d6b4945dfb3ea7fda7a64cfe23d19f8539f988cf
[ "Apache-2.0" ]
1
2015-09-17T01:22:28.000Z
2015-09-17T01:22:28.000Z
inner_rpc/inner_rpc/ir_exceptions.py
chenjiee815/inner_rpc
d6b4945dfb3ea7fda7a64cfe23d19f8539f988cf
[ "Apache-2.0" ]
null
null
null
inner_rpc/inner_rpc/ir_exceptions.py
chenjiee815/inner_rpc
d6b4945dfb3ea7fda7a64cfe23d19f8539f988cf
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # encoding=utf-8 """ inner_rpc.ir_exceptions ----------------- 该模块主要包括公共的异常定义 """ class BaseError(Exception): pass class SocketError(BaseError): pass class SocketTimeout(SocketError): pass class DataError(BaseError): pass
12.636364
33
0.643885
28
278
6.321429
0.678571
0.152542
0
0
0
0
0
0
0
0
0
0.004484
0.197842
278
21
34
13.238095
0.789238
0.334532
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
92ae5b5d2fee593a7d7b0979f8e6f0afa7ccd217
160
py
Python
malib/value_functions/__init__.py
wwxFromTju/malib
7cd2a4af55cf1f56da8854e26ea7a4f3782ceea2
[ "MIT" ]
6
2021-05-19T10:25:36.000Z
2021-12-27T03:30:33.000Z
malib/value_functions/__init__.py
wwxFromTju/malib
7cd2a4af55cf1f56da8854e26ea7a4f3782ceea2
[ "MIT" ]
1
2021-05-29T04:51:37.000Z
2021-05-30T06:18:10.000Z
malib/value_functions/__init__.py
ying-wen/malib_deprecated
875338b81c4d87064ad31201f461ef742db05f25
[ "MIT" ]
1
2021-05-31T16:16:12.000Z
2021-05-31T16:16:12.000Z
from malib.value_functions.value_function import ( MLPValueFunction, CommNetValueFunction, BiCNetValueFunction, ) # __all__ = ["MLPValueFunction"]
20
50
0.7625
12
160
9.666667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.15625
160
7
51
22.857143
0.859259
0.1875
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
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
2b8975fc52de46e8e473c2014db381061743a8e1
598
py
Python
mall/apps/goods/views.py
codedaliu/meiduo
909d75eb55e52f9dae8879c5ad1d48ffb52fa498
[ "MIT" ]
null
null
null
mall/apps/goods/views.py
codedaliu/meiduo
909d75eb55e52f9dae8879c5ad1d48ffb52fa498
[ "MIT" ]
null
null
null
mall/apps/goods/views.py
codedaliu/meiduo
909d75eb55e52f9dae8879c5ad1d48ffb52fa498
[ "MIT" ]
null
null
null
from django.shortcuts import render # Create your views here. from rest_framework.views import APIView from contents.serializers import HotSKUListSerializer from goods.models import SKU class HomeAPIView(APIView): pass ''' 列表数据 热销数据:应该是到哪个分类去获取哪个分类的热销数据中 1.获取分类id 2.根据id获取数据 3.将数据转化为字典 4返回相应 ''' from rest_f...
19.290323
81
0.779264
73
598
6.260274
0.657534
0.087527
0.074398
0
0
0
0
0
0
0
0
0.009747
0.14214
598
31
82
19.290323
0.881092
0.038462
0
0
0
0
0.034274
0
0
0
0
0
0
1
0.083333
false
0.083333
0.416667
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
2b9799f7570f968fd082853bb9689a42c333baf1
115
py
Python
mini-scripts/Python_Casting_(float).txt.py
Web-Dev-Collaborative/PYTHON_PRAC
856f902fb43dcccae168d34ee6aacc02427a7ac6
[ "MIT" ]
5
2021-06-02T23:44:25.000Z
2021-12-27T16:21:57.000Z
mini-scripts/Python_Casting_(float).txt.py
Web-Dev-Collaborative/PYTHON_PRAC
856f902fb43dcccae168d34ee6aacc02427a7ac6
[ "MIT" ]
22
2021-05-31T01:33:25.000Z
2021-10-18T18:32:39.000Z
mini-scripts/Python_Casting_(float).txt.py
Web-Dev-Collaborative/PYTHON_PRAC
856f902fb43dcccae168d34ee6aacc02427a7ac6
[ "MIT" ]
3
2021-06-19T03:37:47.000Z
2021-08-31T00:49:51.000Z
x = float(1) y = float(2.8) z = float("3") w = float("4.2") print(x) print(y) print(z) print(w) # Author: Bryan G
11.5
18
0.573913
25
115
2.64
0.56
0
0
0
0
0
0
0
0
0
0
0.06383
0.182609
115
9
19
12.777778
0.638298
0.13913
0
0
0
0
0.041237
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
2b9c734ead852fe398bcf4cfccc73af317c3a224
52
py
Python
torrenttv/utils/list_utils/__init__.py
AlexCovizzi/torrenttv
25ae5490568110a7ea1f2e5eb74505ef8eea002d
[ "MIT" ]
null
null
null
torrenttv/utils/list_utils/__init__.py
AlexCovizzi/torrenttv
25ae5490568110a7ea1f2e5eb74505ef8eea002d
[ "MIT" ]
19
2020-05-03T17:06:24.000Z
2021-03-11T05:26:57.000Z
torrenttv/utils/list_utils/__init__.py
AlexCovizzi/torrenttv
25ae5490568110a7ea1f2e5eb74505ef8eea002d
[ "MIT" ]
1
2020-05-04T19:00:00.000Z
2020-05-04T19:00:00.000Z
from .flatten import flatten __all__ = ["flatten"]
13
28
0.730769
6
52
5.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.153846
52
3
29
17.333333
0.772727
0
0
0
0
0
0.134615
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
2bd0eeb3efd70d103d079728734a516aeedb0822
462
py
Python
code_doc/migrations/0004_auto_20141110_1508.py
coordt/code_doc
c2fac64ac3ad61952a2d9f036727166741f9aff9
[ "BSD-3-Clause" ]
null
null
null
code_doc/migrations/0004_auto_20141110_1508.py
coordt/code_doc
c2fac64ac3ad61952a2d9f036727166741f9aff9
[ "BSD-3-Clause" ]
null
null
null
code_doc/migrations/0004_auto_20141110_1508.py
coordt/code_doc
c2fac64ac3ad61952a2d9f036727166741f9aff9
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [("code_doc", "0003_auto_20141107_1708")] operations = [ migrations.RemoveField(model_name="project", name="description"), migration...
28.875
80
0.714286
47
462
6.765957
0.617021
0.198113
0.245283
0.283019
0.283019
0.283019
0
0
0
0
0
0.043478
0.15368
462
15
81
30.8
0.769821
0.045455
0
0
0
0
0.205011
0.052392
0
0
0
0
0
1
0
false
0
0.222222
0
0.555556
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
0
0
1
0
0
3
2be8a156acf59142491eb2fae24285870882e1a5
4,333
py
Python
dac.py
hurasum/esp32_python
59302ea48c3e1e0190fed09f78bb18d5f49b9c71
[ "Unlicense" ]
null
null
null
dac.py
hurasum/esp32_python
59302ea48c3e1e0190fed09f78bb18d5f49b9c71
[ "Unlicense" ]
1
2021-12-14T09:34:25.000Z
2021-12-20T13:41:03.000Z
dac.py
hurasum/esp32_python
59302ea48c3e1e0190fed09f78bb18d5f49b9c71
[ "Unlicense" ]
null
null
null
""" DAC typing class ESP32 has two 8-bit DAC (digital to analog converter) channels, connected to GPIO25 (Channel 1) and GPIO26 (Channel 2). The DAC driver allows these channels to be set to arbitrary voltages.<br The DAC channels can also be driven with DMA-style written sample data, via the I2S driver when using the...
39.036036
199
0.647357
650
4,333
4.309231
0.286154
0.017494
0.011424
0.021421
0.338451
0.324884
0.318815
0.267405
0.228133
0.158515
0
0.037279
0.294253
4,333
110
200
39.390909
0.878679
0.761828
0
0.470588
0
0
0
0
0
0
0
0
0
1
0.470588
false
0.470588
0
0
0.529412
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
2bead42e8898fc07fa3042e49464fb1267055a6b
44
py
Python
vuln/__init__.py
Maskhe/DongTai-engine
70d61617e4ba469adf8cf97879820d8a09a0359c
[ "Apache-2.0" ]
16
2021-09-01T05:59:56.000Z
2022-01-17T11:44:39.000Z
vuln/__init__.py
Maskhe/DongTai-engine
70d61617e4ba469adf8cf97879820d8a09a0359c
[ "Apache-2.0" ]
14
2021-09-17T10:00:20.000Z
2022-02-15T10:55:32.000Z
vuln/__init__.py
Maskhe/DongTai-engine
70d61617e4ba469adf8cf97879820d8a09a0359c
[ "Apache-2.0" ]
26
2021-09-01T06:29:54.000Z
2022-03-25T02:38:55.000Z
default_app_config = 'vuln.apps.VulnConfig'
22
43
0.818182
6
44
5.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.068182
44
1
44
44
0.829268
0
0
0
0
0
0.454545
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
2bf2011196393733885cd4b7e26234b68e030539
212
py
Python
solidity/install_solc.py
pdos-team/pdos
7c96e36b4545d103cc56176197ec590fe2691344
[ "MIT" ]
null
null
null
solidity/install_solc.py
pdos-team/pdos
7c96e36b4545d103cc56176197ec590fe2691344
[ "MIT" ]
null
null
null
solidity/install_solc.py
pdos-team/pdos
7c96e36b4545d103cc56176197ec590fe2691344
[ "MIT" ]
1
2020-03-15T14:31:13.000Z
2020-03-15T14:31:13.000Z
#!/usr/bin/env python3 import os import sys if os.getuid() != 0: print ("Must be run as root, sorry.") sys.exit(-1) from solcx import install_solc_pragma install_solc_pragma('>0.5.0 <0.6.0') print ("Done.")
16.307692
38
0.683962
39
212
3.615385
0.692308
0.085106
0.241135
0
0
0
0
0
0
0
0
0.049724
0.146226
212
12
39
17.666667
0.729282
0.099057
0
0
0
0
0.236842
0
0
0
0
0
0
1
0
true
0
0.375
0
0.375
0.25
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
2bf4eed1a2461a7de84607671464c884ba1a974c
3,301
py
Python
backend/backend/settings/base.py
rrhg/react-django-docker-boilerplate
760237e7503c25740a77eacb6249d538ea9ad0b0
[ "MIT" ]
null
null
null
backend/backend/settings/base.py
rrhg/react-django-docker-boilerplate
760237e7503c25740a77eacb6249d538ea9ad0b0
[ "MIT" ]
null
null
null
backend/backend/settings/base.py
rrhg/react-django-docker-boilerplate
760237e7503c25740a77eacb6249d538ea9ad0b0
[ "MIT" ]
null
null
null
""" Base settings to build other settings files upon. """ import os """ Django settings for backend project. Generated by 'django-admin startproject' using Django 3.1.4. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see...
24.819549
91
0.688882
354
3,301
6.322034
0.403955
0.087131
0.053172
0.067024
0.197945
0.170241
0.100536
0.087578
0.053619
0
0
0.009218
0.178431
3,301
132
92
25.007576
0.816003
0.188428
0
0
1
0
0.55017
0.440051
0
0
0
0
0
1
0
false
0.082192
0.027397
0
0.027397
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
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
ecfc0d21e03b429f3f05fc69177ca324657bae11
52,954
py
Python
siptrackweb/forms.py
lalusvipi/siptrackweb
e4d2882595a40d3dbb1bb74c1838937988726d8e
[ "BSD-2-Clause" ]
38
2015-03-18T08:05:35.000Z
2021-11-09T10:57:54.000Z
siptrackweb/forms.py
lalusvipi/siptrackweb
e4d2882595a40d3dbb1bb74c1838937988726d8e
[ "BSD-2-Clause" ]
29
2015-06-25T11:28:07.000Z
2019-11-30T21:15:30.000Z
siptrackweb/forms.py
lalusvipi/siptrackweb
e4d2882595a40d3dbb1bb74c1838937988726d8e
[ "BSD-2-Clause" ]
13
2015-03-18T06:57:46.000Z
2021-06-22T10:38:49.000Z
from django import forms class EmptyForm(forms.Form): pass class LoginForm(forms.Form): username = forms.CharField( max_length=50, label='Username' ) password = forms.CharField( max_length=32, label='Password', widget=forms.PasswordInput(), required=True...
43.981728
146
0.587321
5,292
52,954
5.763605
0.082011
0.075276
0.082489
0.111603
0.745385
0.713845
0.690764
0.6607
0.64034
0.624701
0
0.013371
0.305114
52,954
1,203
147
44.018288
0.815528
0.01252
0
0.604089
0
0.001859
0.17819
0
0
0
0
0
0
1
0.019517
false
0.076208
0.009294
0
0.310409
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
a60999b70bdab73a337c0a801d933159535f4296
382
py
Python
schemas/users.py
Ashishb21/propertyConnect
60bc23125e4b45cc5e0c3b2cff8d57afd57ecbb8
[ "MIT" ]
null
null
null
schemas/users.py
Ashishb21/propertyConnect
60bc23125e4b45cc5e0c3b2cff8d57afd57ecbb8
[ "MIT" ]
null
null
null
schemas/users.py
Ashishb21/propertyConnect
60bc23125e4b45cc5e0c3b2cff8d57afd57ecbb8
[ "MIT" ]
null
null
null
from typing import Optional from pydantic import BaseModel,EmailStr #properties required during user creation class RegisterUser(BaseModel): username: str email : EmailStr password : str phone_no: int class ShowUser(BaseModel): username: str email: EmailStr is_active: bool class Conf...
21.222222
52
0.717277
48
382
5.645833
0.729167
0.125461
0.147601
0.184502
0.243542
0
0
0
0
0
0
0
0.235602
382
18
53
21.222222
0.928082
0.188482
0
0.307692
0
0
0
0
0
0
0
0
0
1
0
false
0.076923
0.153846
0
0.923077
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
1
0
0
1
0
0
3
a632c715f3c468a9c0bbb7af69ade32291a51b6d
365
py
Python
sailfish/kernel/__init__.py
macfadyen/sailfish
44752a6769a2a7566a90dd9c8df21d4e2c49d720
[ "MIT" ]
9
2021-06-29T15:43:58.000Z
2022-03-20T10:13:26.000Z
sailfish/kernel/__init__.py
macfadyen/sailfish
44752a6769a2a7566a90dd9c8df21d4e2c49d720
[ "MIT" ]
1
2021-07-14T02:24:53.000Z
2021-07-14T02:24:53.000Z
sailfish/kernel/__init__.py
macfadyen/sailfish
44752a6769a2a7566a90dd9c8df21d4e2c49d720
[ "MIT" ]
8
2021-06-09T09:11:15.000Z
2021-11-02T20:25:27.000Z
""" A Python module to facilitate JIT-compiled CPU-GPU agnostic compute kernels. Kernel libraries are collections of functions written in C code that can be compiled for CPU execution using a normal C compiler via the CFFI module, or for GPU execution using a CUDA or ROCm compiler via cupy. """ from . import library ...
30.416667
76
0.786301
60
365
4.766667
0.716667
0.104895
0.104895
0
0
0
0
0
0
0
0
0
0.175342
365
11
77
33.181818
0.950166
0.789041
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
a643fa6b9b973e3eaf970f5c1bcf721c67f1b002
141
py
Python
code/chokudai_S002_g_01.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
3
2019-08-16T16:55:48.000Z
2021-04-11T10:21:40.000Z
code/chokudai_S002_g_01.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
code/chokudai_S002_g_01.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
from functools import reduce from fractions import gcd n=int(input()) for i in range(n): a,b=map(int,input().split()) print(gcd(a,b))
23.5
32
0.680851
26
141
3.692308
0.692308
0.166667
0
0
0
0
0
0
0
0
0
0
0.156028
141
6
33
23.5
0.806723
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
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
a654337a734e79739f69d3d53dd0928fa3930eaa
10,448
py
Python
portReporter.py
XXXTheInternXXX/portReporter
40bf983379a6f21c4c9c7143cab61a8b9a024665
[ "MIT" ]
null
null
null
portReporter.py
XXXTheInternXXX/portReporter
40bf983379a6f21c4c9c7143cab61a8b9a024665
[ "MIT" ]
null
null
null
portReporter.py
XXXTheInternXXX/portReporter
40bf983379a6f21c4c9c7143cab61a8b9a024665
[ "MIT" ]
null
null
null
# Scan IP for open SQL port (Default Port) # Run Whois on the IP found # Scan all the ports and show which ones are left open # If no open ports, then move on import os import sys amIRoot = os.getuid() if not amIRoot == 0: print ("Run me as root plz UwU. I need to send mor packetz.") sys.exit(0) import logging logg...
71.07483
5,009
0.733825
1,811
10,448
4.213694
0.685809
0.027519
0.015725
0.011794
0.116236
0.112043
0.09029
0.082689
0.075613
0.075613
0
0.427231
0.08193
10,448
147
5,010
71.07483
0.368328
0.077718
0
0.206612
0
0.016529
0.118399
0
0
0
0.000832
0
0
1
0.049587
false
0
0.057851
0
0.115702
0.008264
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a6661363f224a1485632726708cd49bda0d4229c
80
py
Python
landlab/components/lake_fill/__init__.py
saraahsimon/landlab
1cf809b685efbccaaa149b5899a600c3ccedf30f
[ "MIT" ]
null
null
null
landlab/components/lake_fill/__init__.py
saraahsimon/landlab
1cf809b685efbccaaa149b5899a600c3ccedf30f
[ "MIT" ]
null
null
null
landlab/components/lake_fill/__init__.py
saraahsimon/landlab
1cf809b685efbccaaa149b5899a600c3ccedf30f
[ "MIT" ]
null
null
null
from .lake_fill_barnes import LakeMapperBarnes __all__ = ["LakeMapperBarnes"]
16
46
0.8125
8
80
7.375
0.875
0
0
0
0
0
0
0
0
0
0
0
0.1125
80
4
47
20
0.830986
0
0
0
0
0
0.2
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
a69cf74b6c616c2a2b00c96da7d545e93b1d79f2
3,143
py
Python
src/types_constraintes.py
julien-antigny/JConfig
ba344a3ecd5b104fb361733cb789aa6b03c41c28
[ "Apache-2.0" ]
null
null
null
src/types_constraintes.py
julien-antigny/JConfig
ba344a3ecd5b104fb361733cb789aa6b03c41c28
[ "Apache-2.0" ]
null
null
null
src/types_constraintes.py
julien-antigny/JConfig
ba344a3ecd5b104fb361733cb789aa6b03c41c28
[ "Apache-2.0" ]
null
null
null
TYPES = {"int","float","str","bool","list"} MATCH_TYPES = {"int": int, "float": float, "str": str, "bool": bool, "list": list} CONSTRAINTS = { "is_same_type": lambda x, y: type(x) == type(y), "int" :{ "min_inc": lambda integer, min: integer >= min, "min_exc": lambda integer, ...
40.818182
96
0.560929
440
3,143
3.8
0.072727
0.108852
0.083732
0.080742
0.772129
0.768541
0.727273
0.665072
0.620813
0.620813
0
0.000895
0.289214
3,143
76
97
41.355263
0.747538
0
0
0.444444
0
0
0.124552
0
0
0
0
0
0
1
0
false
0
0
0
0
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
a6a07499f9e41376f3c3ce20f6b665363c5200f6
1,529
py
Python
visual_diarization_svm/clear_opt_flow_features_train.py
cvossos2046/visual_speaker_diarization_svm_project
bdc57d893ad9c04145568310c068f9c3e2305cf8
[ "MIT" ]
null
null
null
visual_diarization_svm/clear_opt_flow_features_train.py
cvossos2046/visual_speaker_diarization_svm_project
bdc57d893ad9c04145568310c068f9c3e2305cf8
[ "MIT" ]
null
null
null
visual_diarization_svm/clear_opt_flow_features_train.py
cvossos2046/visual_speaker_diarization_svm_project
bdc57d893ad9c04145568310c068f9c3e2305cf8
[ "MIT" ]
null
null
null
def main(): video = "NET20070330_thlep_1_2" file_path = "optical_flow_features_train/" + video optical_flow_features_train = open(file_path + "/optical_flow_features_train.txt", "r") clear_of_features_train = open(file_path + "/clear_opt_flow_features_train.txt", "w") visual_ids = [] for line ...
39.205128
207
0.63244
211
1,529
4.21327
0.28436
0.219348
0.191226
0.24297
0.508436
0.386952
0.287964
0.287964
0.287964
0.287964
0
0.027193
0.254415
1,529
38
208
40.236842
0.752632
0.031393
0
0.344828
0
0
0.118999
0.099391
0
0
0
0
0
1
0.034483
false
0
0
0
0.034483
0.034483
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
470fe23973530032b500905cb2a05ec7d7b4bff3
238
py
Python
ensysmod/model/ts_capacity_max.py
NOWUM/EnSysMod
18c8a2198db3510e667c1f0298d00a3dfcb0aab7
[ "MIT" ]
1
2021-12-10T19:41:01.000Z
2021-12-10T19:41:01.000Z
ensysmod/model/ts_capacity_max.py
NOWUM/EnSysMod
18c8a2198db3510e667c1f0298d00a3dfcb0aab7
[ "MIT" ]
83
2021-10-20T22:54:28.000Z
2022-03-24T19:07:06.000Z
ensysmod/model/ts_capacity_max.py
NOWUM/EnSysMod
18c8a2198db3510e667c1f0298d00a3dfcb0aab7
[ "MIT" ]
null
null
null
from sqlalchemy import Column, PickleType from ensysmod.database.base_class import Base from ensysmod.database.ref_base_class import RefCRBase class CapacityMax(RefCRBase, Base): max_capacities = Column(PickleType, nullable=False)
26.444444
55
0.827731
30
238
6.433333
0.533333
0.165803
0.207254
0
0
0
0
0
0
0
0
0
0.113445
238
8
56
29.75
0.914692
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.6
0
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
471cbbb20475ef2a9c2237f251f9c85a33676981
127
py
Python
input_tests.py
KittyKuttleFish/Python
3bb0309d55ac63982706653b00591fc286c6deeb
[ "Unlicense" ]
null
null
null
input_tests.py
KittyKuttleFish/Python
3bb0309d55ac63982706653b00591fc286c6deeb
[ "Unlicense" ]
null
null
null
input_tests.py
KittyKuttleFish/Python
3bb0309d55ac63982706653b00591fc286c6deeb
[ "Unlicense" ]
null
null
null
test = input("Please enter any string for input testing:") print("Testing String...") import time time.sleep(5) if(test)
21.166667
59
0.692913
19
127
4.631579
0.736842
0
0
0
0
0
0
0
0
0
0
0.009434
0.165354
127
5
60
25.4
0.820755
0
0
0
0
0
0.483607
0
0
0
0
0
0
0
null
null
0
0.2
null
null
0.2
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
47209eebbc149e62a5f0d2dabf52ddf2204e7525
1,036
py
Python
tests/utils/test_string_utils.py
PeterSulcs/mlflow
14c48e7bb1ca6cd6a3c1b249a486cd98bd5e7051
[ "Apache-2.0" ]
10,351
2018-07-31T02:52:49.000Z
2022-03-31T23:33:13.000Z
tests/utils/test_string_utils.py
PeterSulcs/mlflow
14c48e7bb1ca6cd6a3c1b249a486cd98bd5e7051
[ "Apache-2.0" ]
3,733
2018-07-31T01:38:51.000Z
2022-03-31T23:56:25.000Z
tests/utils/test_string_utils.py
PeterSulcs/mlflow
14c48e7bb1ca6cd6a3c1b249a486cd98bd5e7051
[ "Apache-2.0" ]
2,596
2018-07-31T06:38:39.000Z
2022-03-31T23:56:32.000Z
import pytest from mlflow.utils.string_utils import strip_prefix, strip_suffix, is_string_type @pytest.mark.parametrize( "original,prefix,expected", [("smoketest", "smoke", "test"), ("", "test", ""), ("", "", ""), ("test", "", "test")], ) def test_strip_prefix(original, prefix, expected): assert strip_pr...
31.393939
91
0.666023
130
1,036
5.046154
0.238462
0.146341
0.219512
0.181402
0.580793
0.330793
0.1875
0.096037
0.096037
0.096037
0
0.006826
0.151544
1,036
32
92
32.375
0.739477
0
0
0.08
0
0
0.141892
0.046332
0
0
0
0
0.48
1
0.12
false
0
0.08
0
0.2
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
1
0
0
0
0
0
0
0
0
0
3
4723dcee9820113cc4255a18cebb8871583017fd
124
py
Python
tests/data/samplecfg.py
glebshevchukk/gradslam
ce38c98537e1521b5e0a780f1c53f26924df7dab
[ "MIT" ]
1,048
2020-11-06T03:49:27.000Z
2022-03-28T17:57:05.000Z
tests/data/samplecfg.py
glebshevchukk/gradslam
ce38c98537e1521b5e0a780f1c53f26924df7dab
[ "MIT" ]
32
2020-11-08T09:19:21.000Z
2022-03-14T20:36:25.000Z
tests/data/samplecfg.py
glebshevchukk/gradslam
ce38c98537e1521b5e0a780f1c53f26924df7dab
[ "MIT" ]
124
2020-11-08T07:29:57.000Z
2022-03-16T11:40:56.000Z
import os import sys from gradslam.config import CfgNode as CN cfg = CN() cfg.TRAIN = CN() cfg.TRAIN.HYPERPARAM_1 = 0.9
11.272727
41
0.717742
22
124
4
0.681818
0.170455
0.227273
0
0
0
0
0
0
0
0
0.029703
0.185484
124
10
42
12.4
0.841584
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
472b7eae05711c0a1df1ff938d239d30340dd29a
60
py
Python
tests/dummy_cell_env.py
pktl/distributed_game_of_life
9ac63cec43977fff2653e7a1b9c7a4c12bbd7925
[ "MIT" ]
null
null
null
tests/dummy_cell_env.py
pktl/distributed_game_of_life
9ac63cec43977fff2653e7a1b9c7a4c12bbd7925
[ "MIT" ]
null
null
null
tests/dummy_cell_env.py
pktl/distributed_game_of_life
9ac63cec43977fff2653e7a1b9c7a4c12bbd7925
[ "MIT" ]
null
null
null
from src.dgol_worker.cell_env import CellEnv ce = CellEnv()
20
44
0.8
10
60
4.6
0.9
0
0
0
0
0
0
0
0
0
0
0
0.116667
60
3
45
20
0.867925
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5b3efa495764e79db80a8d873dca101b98d76f42
682
py
Python
meep/__init__.py
mtander/meep
5b8085014d43f9201b2283bc7d9085f1ace20406
[ "MIT" ]
null
null
null
meep/__init__.py
mtander/meep
5b8085014d43f9201b2283bc7d9085f1ace20406
[ "MIT" ]
null
null
null
meep/__init__.py
mtander/meep
5b8085014d43f9201b2283bc7d9085f1ace20406
[ "MIT" ]
null
null
null
from flask import Flask from config import DefaultConfig # factory method for creating app objects def create_app(config=DefaultConfig()): app = Flask(__name__, instance_relative_config=True) app.config.from_object(config) # initialize database and migrations from meep.models import db, migrate ...
27.28
56
0.752199
89
682
5.640449
0.460674
0.095618
0.139442
0.199203
0
0
0
0
0
0
0
0
0.187683
682
24
57
28.416667
0.906137
0.13783
0
0
0
0
0
0
0
0
0
0
0
1
0.066667
false
0
0.533333
0
0.666667
0.066667
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
5b4477c7ff32f21e1eedcba6eff6f119beced119
1,120
py
Python
src/api/migrations/0003_auto_20190604_1058.py
pradipta/back-end
05895b051afc4c8e0cb17db708063d80102e9de5
[ "MIT" ]
17
2019-05-11T22:15:34.000Z
2022-03-26T22:45:33.000Z
src/api/migrations/0003_auto_20190604_1058.py
pradipta/back-end
05895b051afc4c8e0cb17db708063d80102e9de5
[ "MIT" ]
390
2019-05-23T10:48:57.000Z
2021-12-17T21:01:43.000Z
src/api/migrations/0003_auto_20190604_1058.py
pradipta/back-end
05895b051afc4c8e0cb17db708063d80102e9de5
[ "MIT" ]
40
2019-05-21T14:41:57.000Z
2021-01-30T13:39:38.000Z
# Generated by Django 2.2.2 on 2019-06-04 15:58 from django.db import migrations class Migration(migrations.Migration): dependencies = [("api", "0002_auto_20190522_1618")] operations = [ migrations.DeleteModel(name="ActiveAdminComment"), migrations.DeleteModel(name="AdminUser"), mig...
37.333333
58
0.686607
100
1,120
7.66
0.43
0.493473
0.587467
0
0
0
0
0
0
0
0
0.033732
0.179464
1,120
29
59
38.62069
0.799782
0.040179
0
0
1
0
0.188257
0.021435
0
0
0
0
0
1
0
false
0
0.043478
0
0.173913
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5b47c020381d563cd22c6d5f79397ba250b6cf19
266
py
Python
solutions/pybasic_ex1_4_1.py
mfernandes61/python-basic
fc105db0e2e3af1830d833eef368fd011b4fcf5e
[ "Unlicense" ]
40
2017-02-22T05:35:16.000Z
2022-01-10T09:28:35.000Z
solutions/pybasic_ex1_4_1.py
mfernandes61/python-basic
fc105db0e2e3af1830d833eef368fd011b4fcf5e
[ "Unlicense" ]
10
2016-12-12T17:06:50.000Z
2019-06-14T13:34:22.000Z
solutions/pybasic_ex1_4_1.py
mfernandes61/python-basic
fc105db0e2e3af1830d833eef368fd011b4fcf5e
[ "Unlicense" ]
47
2017-03-24T19:48:50.000Z
2022-02-27T15:53:09.000Z
# Protein sequence given seq = "MPISEPTFFEIF" # Split the sequence into its component amino acids seq_list = list(seq) # Use a set to establish the unique amino acids unique_amino_acids = set(seq_list) # Print out the unique amino acids print(unique_amino_acids)
22.166667
51
0.781955
42
266
4.809524
0.5
0.247525
0.316832
0.188119
0
0
0
0
0
0
0
0
0.161654
266
11
52
24.181818
0.90583
0.567669
0
0
0
0
0.109091
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
5b47c29aaab3cdf3c4e1671a310113a2c0e1ba3f
486
py
Python
campy/private/backends/backend_interactive_console.py
TristenSeth/campy
9e726c342d682239e1c19e6f5645c0b2167d7fab
[ "MIT" ]
null
null
null
campy/private/backends/backend_interactive_console.py
TristenSeth/campy
9e726c342d682239e1c19e6f5645c0b2167d7fab
[ "MIT" ]
null
null
null
campy/private/backends/backend_interactive_console.py
TristenSeth/campy
9e726c342d682239e1c19e6f5645c0b2167d7fab
[ "MIT" ]
null
null
null
from campy.private.backend_base import ConsoleBackendBase class InteractiveConsoleBackend(ConsoleBackendBase): def clear_console(self): pass def set_console_font(self, font): pass def set_console_size(self, console_size): pass def get_console_line(self): return input(...
20.25
57
0.658436
57
486
5.385965
0.473684
0.143322
0.14658
0.117264
0
0
0
0
0
0
0
0
0.261317
486
23
58
21.130435
0.855153
0.141975
0
0.25
0
0
0
0
0
0
0
0
0
1
0.416667
false
0.25
0.083333
0.083333
0.666667
0.083333
0
0
0
null
0
0
0
0
0
0
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
5b56109d5d5abec15a2278c520d6306048bb083e
270
py
Python
templates/flask/flaskRest/app/configs/config.py
david-osas/create-basic-app
860fc579672855093ad8426fb01d010de4c7cff8
[ "MIT" ]
2
2020-12-01T11:33:36.000Z
2020-12-01T12:25:49.000Z
templates/flask/flaskRest/app/configs/config.py
david-osas/create-basic-app
860fc579672855093ad8426fb01d010de4c7cff8
[ "MIT" ]
2
2020-11-25T14:38:57.000Z
2020-11-25T22:55:25.000Z
templates/flask/flaskRest/app/configs/config.py
david-osas/create-basic-app
860fc579672855093ad8426fb01d010de4c7cff8
[ "MIT" ]
2
2020-11-26T08:59:50.000Z
2021-03-30T20:01:06.000Z
from .development_config import DevelopmentConfig from .production_config import ProductionConfig from .testing_config import TestingConfig ENVIRONMENT_MAPPING = { "production": ProductionConfig, "development": DevelopmentConfig, "testing": TestingConfig }
27
49
0.807407
23
270
9.304348
0.478261
0.168224
0
0
0
0
0
0
0
0
0
0
0.12963
270
9
50
30
0.910638
0
0
0
0
0
0.103704
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
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
5b728343141af718346ac4978505ec35a2d52270
470
py
Python
problems/greedy/Solution870.py
akalu/cs-problems-python
9b1bd8e3932be62135a38a77f955ded9a766b654
[ "MIT" ]
null
null
null
problems/greedy/Solution870.py
akalu/cs-problems-python
9b1bd8e3932be62135a38a77f955ded9a766b654
[ "MIT" ]
null
null
null
problems/greedy/Solution870.py
akalu/cs-problems-python
9b1bd8e3932be62135a38a77f955ded9a766b654
[ "MIT" ]
null
null
null
""" Given two arrays A and B of equal size, the advantage of A with respect to B is the number of indices i for which A[i] > B[i]. Return any permutation of A that maximizes its advantage with respect to B. Example 1: Input: A = [2,7,11,15], B = [1,10,4,11] Output: [2,11,7,15] ID...
23.5
82
0.63617
82
470
3.646341
0.670732
0.020067
0.086957
0.093645
0
0
0
0
0
0
0
0.065089
0.280851
470
19
83
24.736842
0.819527
0.823404
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
5b805582575f471d3237916e3dc521e5bb626336
1,033
py
Python
TEP/lista3/C.py
GuilhermeBraz/unb-workflow
37d680a675a87cea2ff936badf94d757393870c3
[ "MIT" ]
null
null
null
TEP/lista3/C.py
GuilhermeBraz/unb-workflow
37d680a675a87cea2ff936badf94d757393870c3
[ "MIT" ]
null
null
null
TEP/lista3/C.py
GuilhermeBraz/unb-workflow
37d680a675a87cea2ff936badf94d757393870c3
[ "MIT" ]
null
null
null
# Argus was charged with guarding Io, which is not an ordinary cow. Io is quite an explorer, and she wanders off rather frequently, making Argus' life stressful. So the cowherd decided to construct an enclosed pasture for Io. # There are nnn trees growing along the river, where Argus tends Io. For this problem, the riv...
114.777778
408
0.75605
186
1,033
4.198925
0.586022
0.019206
0.007682
0.010243
0
0
0
0
0
0
0
0.010714
0.186834
1,033
9
409
114.777778
0.919048
0.893514
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5b88fe4835697ffe0c79e926b04e81fcc84ab9fd
111
py
Python
OLD.dir/module2.py
romchegue/Python
444476088e64d5da66cb00174f3d1d30ebbe38f6
[ "bzip2-1.0.6" ]
null
null
null
OLD.dir/module2.py
romchegue/Python
444476088e64d5da66cb00174f3d1d30ebbe38f6
[ "bzip2-1.0.6" ]
null
null
null
OLD.dir/module2.py
romchegue/Python
444476088e64d5da66cb00174f3d1d30ebbe38f6
[ "bzip2-1.0.6" ]
null
null
null
print('starting to load...') import sys name = 42 def func(): pass class klass: pass print('done loading.')
11.1
28
0.675676
17
111
4.411765
0.882353
0
0
0
0
0
0
0
0
0
0
0.021739
0.171171
111
9
29
12.333333
0.793478
0
0
0
0
0
0.288288
0
0
0
0
0
0
1
0.166667
false
0.333333
0.166667
0
0.5
0.333333
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