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
bf5476a99b904312698f8abb7ca77298b3328233
2,187
py
Python
pipeline_tools/tests/test_http_requests_manager.py
HumanCellAtlas/pipeline-tools
d9e22df56089a6b163901656e5ce9fa7d6420b48
[ "BSD-3-Clause" ]
5
2017-11-17T18:40:37.000Z
2021-01-20T04:06:47.000Z
pipeline_tools/tests/test_http_requests_manager.py
HumanCellAtlas/pipeline-tools
d9e22df56089a6b163901656e5ce9fa7d6420b48
[ "BSD-3-Clause" ]
113
2017-12-08T18:18:06.000Z
2021-10-12T15:10:07.000Z
pipeline_tools/tests/test_http_requests_manager.py
HumanCellAtlas/pipeline-tools
d9e22df56089a6b163901656e5ce9fa7d6420b48
[ "BSD-3-Clause" ]
3
2020-07-29T17:31:00.000Z
2021-01-18T08:18:48.000Z
import os from pipeline_tools.shared import http_requests from pipeline_tools.tests.http_requests_manager import HttpRequestsManager class TestHttpRequestsManager(object): def test_enter_creates_directory(self): with HttpRequestsManager() as temp_dir: assert os.path.isdir(temp_dir) is True ...
48.6
78
0.72428
290
2,187
5.158621
0.189655
0.208556
0.168449
0.147727
0.791444
0.683155
0.493984
0.34893
0.207219
0.061497
0
0.004678
0.218107
2,187
44
79
49.704545
0.870175
0
0
0.105263
0
0
0.005944
0
0
0
0
0
0.631579
1
0.105263
false
0.026316
0.078947
0
0.210526
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
bf579ef37f00057befa3537dfc9690e6ad5ef6ea
338
py
Python
exercicios/ex030.py
thiago5171/python.
92010818bb18ac906a79da762cd7cf219b308a6d
[ "MIT" ]
1
2021-01-04T05:33:32.000Z
2021-01-04T05:33:32.000Z
exercicios/ex030.py
thiago5171/python.
92010818bb18ac906a79da762cd7cf219b308a6d
[ "MIT" ]
null
null
null
exercicios/ex030.py
thiago5171/python.
92010818bb18ac906a79da762cd7cf219b308a6d
[ "MIT" ]
null
null
null
""" Faça um programa que mostre na tela uma contagem regressiva para o estouro de fogos de artifício, indo de 10 até 0, com uma pausa de 1 segundo entre eles. """ #importar a bliblioteca para esperar from time import sleep print("contagem regressiva para os fogos!!!!") for a in range(10,0,-1): print(a) sleep...
26
86
0.718935
58
338
4.189655
0.672414
0.148148
0.18107
0
0
0
0
0
0
0
0
0.032727
0.186391
338
13
87
26
0.850909
0.565089
0
0
0
0
0.302158
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.5
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
bf6d745e878acd11086c45c0ac3690698eb15808
878
py
Python
pycmp/ast/relational.py
aeroshev/CMP
f4366972dfd752833094920728e4ce11ee58feae
[ "MIT" ]
null
null
null
pycmp/ast/relational.py
aeroshev/CMP
f4366972dfd752833094920728e4ce11ee58feae
[ "MIT" ]
null
null
null
pycmp/ast/relational.py
aeroshev/CMP
f4366972dfd752833094920728e4ce11ee58feae
[ "MIT" ]
null
null
null
from .lhs_rhs_node import LhsRhsNode from .node import Node class GreaterRelationalNode(LhsRhsNode): """Greater relational object node""" __slots__ = ("lhs", "rhs") def __init__(self, lhs: Node, rhs: Node) -> None: super().__init__(lhs, rhs) class GreaterEqualRelationalNode(LhsRhsNode): """...
25.085714
53
0.644647
100
878
5.16
0.23
0.104651
0.116279
0.139535
0.571705
0.571705
0.571705
0.571705
0.571705
0.571705
0
0
0.207289
878
34
54
25.823529
0.741379
0.13098
0
0.666667
0
0
0.032345
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
bf7e00138ceb2dee6fc7672aef4c28096e6f5f2d
222
py
Python
baudelaire/log.py
juliendoutre/baudelaire
ac56b2eb1c3cae85290cb6e97047fcf92efa9338
[ "MIT" ]
null
null
null
baudelaire/log.py
juliendoutre/baudelaire
ac56b2eb1c3cae85290cb6e97047fcf92efa9338
[ "MIT" ]
3
2021-08-25T15:52:30.000Z
2022-03-02T15:00:46.000Z
baudelaire/log.py
juliendoutre/baudelaire
ac56b2eb1c3cae85290cb6e97047fcf92efa9338
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import logging def init_logger() -> None: logging.basicConfig( level=logging.INFO, format="%(asctime)s - %(name)s - %(levelname)s - %(message)s", )
18.5
70
0.576577
27
222
4.703704
0.814815
0
0
0
0
0
0
0
0
0
0
0.011628
0.225225
222
11
71
20.181818
0.726744
0.193694
0
0
0
0
0.293785
0
0
0
0
0
0
1
0.166667
true
0
0.166667
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
bf8abe19af162b07ee8693f479fcf83b32705d01
62
py
Python
homeassistant/components/solax/const.py
PiotrMachowski/core
b9d7d0cae2ccd2d88e90e49cc09e154a27ed809b
[ "Apache-2.0" ]
3
2022-01-27T17:00:51.000Z
2022-03-09T03:49:03.000Z
homeassistant/components/solax/const.py
PiotrMachowski/core
b9d7d0cae2ccd2d88e90e49cc09e154a27ed809b
[ "Apache-2.0" ]
17
2021-11-24T06:24:20.000Z
2022-03-31T07:17:52.000Z
homeassistant/components/solax/const.py
PiotrMachowski/core
b9d7d0cae2ccd2d88e90e49cc09e154a27ed809b
[ "Apache-2.0" ]
1
2022-01-03T06:44:44.000Z
2022-01-03T06:44:44.000Z
"""Constants for the solax integration.""" DOMAIN = "solax"
12.4
42
0.677419
7
62
6
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.16129
62
4
43
15.5
0.807692
0.580645
0
0
0
0
0.25
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
2
bfaa5e2e34d9dc7abb5025474da9084e993e3367
271
py
Python
setup.py
Christoph-Raab/log-parser
be8648ff90bcd90b0cd1f6164497bd67c7c8a520
[ "Apache-2.0" ]
null
null
null
setup.py
Christoph-Raab/log-parser
be8648ff90bcd90b0cd1f6164497bd67c7c8a520
[ "Apache-2.0" ]
null
null
null
setup.py
Christoph-Raab/log-parser
be8648ff90bcd90b0cd1f6164497bd67c7c8a520
[ "Apache-2.0" ]
null
null
null
from setuptools import setup setup( name='ams-recruiting-4', version='0.1.0', packages=['app', 'app.tests'], author='Christoph Raab', description='Log Parser to parse a log and find top 10 hosts and http status code stats for first 7 days of july' )
27.1
117
0.682657
43
271
4.302326
0.883721
0
0
0
0
0
0
0
0
0
0
0.032407
0.202952
271
9
118
30.111111
0.824074
0
0
0
0
0.125
0.538745
0
0
0
0
0
0
1
0
true
0
0.125
0
0.125
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
1
0
0
0
0
0
0
2
bfac680a7756d1f7085b91861417901fc08c133c
959
py
Python
ditto/tickets/api/views.py
Kvoti/ditto
eb4efb241e54bf679222d14afeb71d9d5441c122
[ "BSD-3-Clause" ]
null
null
null
ditto/tickets/api/views.py
Kvoti/ditto
eb4efb241e54bf679222d14afeb71d9d5441c122
[ "BSD-3-Clause" ]
9
2015-11-10T15:17:22.000Z
2015-11-12T11:07:02.000Z
ditto/tickets/api/views.py
Kvoti/ditto
eb4efb241e54bf679222d14afeb71d9d5441c122
[ "BSD-3-Clause" ]
null
null
null
from django.shortcuts import get_object_or_404 from rest_framework import generics, response from rest_framework.decorators import api_view from .. import models from . import serializers class TicketList(generics.ListAPIView): serializer_class = serializers.ViewTicketSerializer #TODO permission_classes ...
26.638889
66
0.72367
119
959
5.680672
0.403361
0.081361
0.048817
0.06213
0.281065
0.281065
0.281065
0.195266
0.195266
0.195266
0
0.011509
0.184567
959
35
67
27.4
0.852941
0.094891
0
0.166667
0
0
0.042775
0
0
0
0
0.028571
0
1
0.125
false
0
0.208333
0.041667
0.541667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
bfbb683724740e166f33fd05b72d67cd8cf85a90
743
py
Python
netbox/dcim/migrations/0093_auto_20200205_0157.py
sharknasuhorse/netbox
733497ab9ed7ae521911ff83a28a6c3b3e2d17e1
[ "Apache-2.0" ]
null
null
null
netbox/dcim/migrations/0093_auto_20200205_0157.py
sharknasuhorse/netbox
733497ab9ed7ae521911ff83a28a6c3b3e2d17e1
[ "Apache-2.0" ]
null
null
null
netbox/dcim/migrations/0093_auto_20200205_0157.py
sharknasuhorse/netbox
733497ab9ed7ae521911ff83a28a6c3b3e2d17e1
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.2.10 on 2020-02-05 01:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dcim', '0092_fix_rack_outer_unit'), ] operations = [ migrations.AddField( model_name='device', name='cpus', ...
25.62069
74
0.577389
72
743
5.861111
0.541667
0.127962
0.163507
0.191943
0.530806
0.530806
0.443128
0.255924
0.255924
0.255924
0
0.038835
0.306864
743
28
75
26.535714
0.780583
0.061911
0
0.5
1
0
0.086331
0.034532
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bfc300d49b013ccdea69bd527fa29e5bf6df9edc
482
py
Python
src/Services/errorHandlers.py
CarolineYao/SentimentAnalysisProject
9d74da8a2eb6ea1afa7b1f93f70267775770ebe6
[ "Apache-2.0" ]
2
2021-03-21T02:51:06.000Z
2021-03-31T00:43:28.000Z
src/Services/errorHandlers.py
CarolineYao/SentimentAnalysisProject
9d74da8a2eb6ea1afa7b1f93f70267775770ebe6
[ "Apache-2.0" ]
11
2021-04-16T18:36:46.000Z
2021-04-24T22:05:30.000Z
src/Services/errorHandlers.py
CarolineYao/SentimentAnalysisProject
9d74da8a2eb6ea1afa7b1f93f70267775770ebe6
[ "Apache-2.0" ]
null
null
null
from flask import json, request, jsonify, make_response import werkzeug exception_to_error_code = { "BadRequest": 400 } def _get_exception_error_code(e): exception_type = type(e).__name__ return exception_to_error_code[exception_type] def _compute_error_json(e): return { "code": _get_exceptio...
25.368421
78
0.746888
66
482
4.939394
0.393939
0.138037
0.156442
0.193252
0.202454
0
0
0
0
0
0
0.007444
0.1639
482
19
78
25.368421
0.801489
0
0
0
0
0
0.043478
0
0
0
0
0
0
1
0.2
false
0
0.133333
0.133333
0.533333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
2
bfc8dca2a4334f428f588c97ca86d690c342a3ea
2,978
py
Python
hub_app/views/auth.py
passiopeia/passiopeia-hub
4eed28297a0b134d6b942fa15a9423448dcc2b7e
[ "MIT" ]
null
null
null
hub_app/views/auth.py
passiopeia/passiopeia-hub
4eed28297a0b134d6b942fa15a9423448dcc2b7e
[ "MIT" ]
29
2020-02-09T18:28:01.000Z
2021-06-25T15:32:48.000Z
hub_app/views/auth.py
passiopeia/passiopeia-hub
4eed28297a0b134d6b942fa15a9423448dcc2b7e
[ "MIT" ]
null
null
null
""" Views for authentication """ from django.conf import settings from django.contrib import messages from django.contrib.auth import logout, authenticate, login from django.http import HttpRequest, HttpResponse from django.shortcuts import redirect, render from django.utils.translation import gettext_lazy as _ from dj...
31.347368
106
0.637005
336
2,978
5.497024
0.309524
0.043313
0.059556
0.055225
0.178127
0.118029
0
0
0
0
0
0
0.261585
2,978
94
107
31.680851
0.839927
0.07589
0
0.105263
0
0
0.078876
0.00885
0
0
0
0
0
1
0.105263
false
0.105263
0.175439
0
0.54386
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
bfcdfdba48c95669e0e76e609a8b505485f754ac
576
py
Python
userapp/urls.py
ZiYin-ss/pythonnetshop
81699a5b370aacfe2c0a6effa62bcf743c766810
[ "MIT" ]
null
null
null
userapp/urls.py
ZiYin-ss/pythonnetshop
81699a5b370aacfe2c0a6effa62bcf743c766810
[ "MIT" ]
null
null
null
userapp/urls.py
ZiYin-ss/pythonnetshop
81699a5b370aacfe2c0a6effa62bcf743c766810
[ "MIT" ]
null
null
null
# coding=utf-8 from django.conf.urls import url from . import views urlpatterns = [ url(r'^register/$', views.RegisterView.as_view()), url(r'^checkUname/$', views.CheckUnameView.as_view()), url(r'^center/$', views.CenterView.as_view()), url(r'^logout/$', views.LogoutView.as_view()), url(r'^login/$...
33.882353
58
0.659722
77
576
4.818182
0.428571
0.097035
0.19407
0.215633
0
0
0
0
0
0
0
0.001976
0.121528
576
16
59
36
0.731225
0.020833
0
0
0
0
0.172598
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
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
0
0
0
2
bfd6cdf411b1236fecf1f3f86e61cba1e575ea9d
15,289
py
Python
modules/flow0d/cardiovascular0D_coronary.py
marchirschvogel/amb
af48b2a672cfcfb7a081020cda599fde85aa6b65
[ "BSD-4-Clause" ]
null
null
null
modules/flow0d/cardiovascular0D_coronary.py
marchirschvogel/amb
af48b2a672cfcfb7a081020cda599fde85aa6b65
[ "BSD-4-Clause" ]
null
null
null
modules/flow0d/cardiovascular0D_coronary.py
marchirschvogel/amb
af48b2a672cfcfb7a081020cda599fde85aa6b65
[ "BSD-4-Clause" ]
null
null
null
#!/usr/bin/env python3 # Copyright (c) 2019-2021, Dr.-Ing. Marc Hirschvogel # All rights reserved. # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. import sys import sympy as sp # coronary model with a 3-element Windkessel (ZCR, proxim...
59.956863
316
0.583753
2,472
15,289
3.188511
0.078479
0.114565
0.073078
0.027404
0.83862
0.785207
0.684217
0.574473
0.499493
0.393301
0
0.011936
0.254758
15,289
254
317
60.192913
0.679831
0.291517
0
0.171053
0
0
0.150942
0.006401
0
0
0
0
0
1
0.052632
false
0
0.013158
0
0.092105
0.039474
0
0
0
null
0
0
0
1
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
2
44a7fcb30ea1a2d7351e7f6dc2670d873ed47ea8
847
py
Python
tests/record/test_enums.py
Ellipsanime/openpype-shotgun
21c753d3dd4d55923462f3c833f650678b138b6e
[ "MIT" ]
6
2021-09-01T16:04:30.000Z
2022-02-14T21:41:51.000Z
tests/record/test_enums.py
Ellipsanime/shotgrid-leecher
a2272e77d1f1326026bf1ccb19adeb32ea05f676
[ "MIT" ]
null
null
null
tests/record/test_enums.py
Ellipsanime/shotgrid-leecher
a2272e77d1f1326026bf1ccb19adeb32ea05f676
[ "MIT" ]
null
null
null
import uuid from assertpy import assert_that from shotgrid_leecher.record.enums import QueryStringType def test_query_string_type_from_unknown_type(): # Arrange guid = uuid.uuid4() # Act actual = QueryStringType.from_param(str(type(guid))) # Assert assert_that(actual.value).is_equal_to(str) ...
21.717949
57
0.720189
112
847
5.098214
0.267857
0.087566
0.084063
0.126095
0.723292
0.723292
0.353765
0.353765
0.227671
0.227671
0
0.001449
0.18536
847
38
58
22.289474
0.826087
0.088548
0
0.125
0
0
0.017128
0
0
0
0
0
0.3125
1
0.25
false
0
0.1875
0
0.4375
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
44be4f0992561a0c32bc42865b9a4f56162d8e40
188
py
Python
lab2_part2.py
mariac-molina/KR
742496b94d922e0c2ad8ed2443cfa5dbca2255ab
[ "MIT" ]
null
null
null
lab2_part2.py
mariac-molina/KR
742496b94d922e0c2ad8ed2443cfa5dbca2255ab
[ "MIT" ]
null
null
null
lab2_part2.py
mariac-molina/KR
742496b94d922e0c2ad8ed2443cfa5dbca2255ab
[ "MIT" ]
null
null
null
from agents import * class Dirt(Thing): pass vac = VacuumEnvironment() d1 = Dirt() d2 = Dirt() d3 = Dirt() vac.add_thing(d1, [0,0]) vac.add_thing(d2, [0,1]) vac.add_thing(d3, [0,2])
14.461538
25
0.638298
33
188
3.545455
0.484848
0.153846
0.282051
0
0
0
0
0
0
0
0
0.076433
0.164894
188
12
26
15.666667
0.66879
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.1
0.1
0
0.2
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
44d308822813ccc8ff6c1c9898e86853d6f5cb36
1,451
py
Python
src/yolo_preparing.py
vikasg603/Vehicle-Front-Rear-Detection-for-License-Plate-Detection-Enhancement
afc70fc41633df4f47326b43e28cd596e0cff5e6
[ "MIT" ]
29
2019-07-22T01:57:42.000Z
2022-03-31T15:51:42.000Z
src/yolo_preparing.py
vikasg603/Vehicle-Front-Rear-Detection-for-License-Plate-Detection-Enhancement
afc70fc41633df4f47326b43e28cd596e0cff5e6
[ "MIT" ]
6
2020-02-13T06:11:55.000Z
2021-06-17T18:13:08.000Z
src/yolo_preparing.py
vikasg603/Vehicle-Front-Rear-Detection-for-License-Plate-Detection-Enhancement
afc70fc41633df4f47326b43e28cd596e0cff5e6
[ "MIT" ]
17
2019-09-19T09:56:16.000Z
2021-06-12T22:42:30.000Z
''' This file is used to delete the images without labels (Delete the images without corresponding txt file) AND THEN Generate the train.txt and test.txt for YOLO ''' from os.path import splitext, isfile, join, basename from os import remove from glob import glob, iglob # root path dir = '/home/shaoheng/Documents/cars...
26.87037
102
0.710544
221
1,451
4.565611
0.434389
0.031715
0.032706
0.044599
0.087215
0
0
0
0
0
0
0.006612
0.166092
1,451
54
103
26.87037
0.827273
0.163336
0
0.074074
1
0
0.118291
0.059146
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.037037
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
44e48d04ee4ee10d7aecdc979070743cccd3efa0
1,453
py
Python
model_loader.py
donikv/IlluminationBase
4aade52bb8a1065f10b94ffda09645a681d8160c
[ "MIT" ]
null
null
null
model_loader.py
donikv/IlluminationBase
4aade52bb8a1065f10b94ffda09645a681d8160c
[ "MIT" ]
null
null
null
model_loader.py
donikv/IlluminationBase
4aade52bb8a1065f10b94ffda09645a681d8160c
[ "MIT" ]
null
null
null
import tensorflow as tf def create_pb_model(pb_path, sz, bs): def load_graph(frozen_graph_filename): # We load the protobuf file from the disk and parse it to retrieve the # unserialized graph_def with tf.compat.v1.gfile.GFile(frozen_graph_filename, "rb") as f: graph_def = tf.co...
44.030303
127
0.69649
216
1,453
4.425926
0.375
0.117155
0.041841
0.033473
0.221757
0.089958
0.089958
0.089958
0.089958
0
0
0.005199
0.205781
1,453
33
128
44.030303
0.823224
0.13627
0
0
0
0
0.015987
0
0
0
0
0
0
1
0.166667
false
0
0.375
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
0
0
1
0
1
0
0
2
44e49c032bac65086d077a8992a244914982c69d
169
py
Python
yc102/201.py
c-yan/yukicoder
cdbbd65402177225dd989df7fe01f67908484a69
[ "MIT" ]
null
null
null
yc102/201.py
c-yan/yukicoder
cdbbd65402177225dd989df7fe01f67908484a69
[ "MIT" ]
null
null
null
yc102/201.py
c-yan/yukicoder
cdbbd65402177225dd989df7fe01f67908484a69
[ "MIT" ]
null
null
null
SA, PA, XA = input().split() SB, PB, XB = input().split() PA = int(PA) PB = int(PB) if PA > PB: print(SA) elif PA < PB: print(SB) elif PA == PB: print(-1)
13
28
0.52071
31
169
2.83871
0.419355
0.181818
0.306818
0.295455
0
0
0
0
0
0
0
0.008065
0.266272
169
12
29
14.083333
0.701613
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.3
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
44e5f10835175fa66fe0e1b28440b7dd339bb52e
1,587
py
Python
trade.py
pjwarner/m-oney-an
65e49fea886514cfd51abd028b5ba1c02030b9cc
[ "WTFPL" ]
null
null
null
trade.py
pjwarner/m-oney-an
65e49fea886514cfd51abd028b5ba1c02030b9cc
[ "WTFPL" ]
null
null
null
trade.py
pjwarner/m-oney-an
65e49fea886514cfd51abd028b5ba1c02030b9cc
[ "WTFPL" ]
null
null
null
import dbConnection as data import calcCost as cost from decimal import * import getMtGoxRequest as req class trade: def __init__(self): print 'Initialized...' self.info = req.get_res('0/info.php', {}) self.priceInfo = req.get_res('1/BTCUSD/public/ticker', {}) def buy(self): """ Current implem...
28.339286
89
0.649653
201
1,587
5.069652
0.432836
0.027478
0.026497
0.019627
0.30422
0.235525
0.090285
0.090285
0
0
0
0.009494
0.203529
1,587
55
90
28.854545
0.796677
0.074354
0
0.2
0
0
0.228764
0.018503
0
0
0
0.018182
0
0
null
null
0
0.133333
null
null
0.3
0
0
0
null
0
0
0
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
1
0
0
0
0
0
0
0
0
2
44f78a06e2dd542830062b762b87ccc649a76933
160
py
Python
VectorMessenger/MessengerCore/MessengerBase.py
VectorMessenger/VectorMessenger_Zero
a024dcc8a178943d2bd7a37fe252ba0eec311148
[ "MIT" ]
null
null
null
VectorMessenger/MessengerCore/MessengerBase.py
VectorMessenger/VectorMessenger_Zero
a024dcc8a178943d2bd7a37fe252ba0eec311148
[ "MIT" ]
1
2020-09-05T20:24:13.000Z
2020-09-06T18:06:25.000Z
VectorMessenger/MessengerCore/MessengerBase.py
maximilionus/VectorMessenger
a024dcc8a178943d2bd7a37fe252ba0eec311148
[ "MIT" ]
null
null
null
import socket class VMUDPBase: def __init__(self): self.sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) self.sock.settimeout(2.0)
20
68
0.6875
22
160
4.727273
0.636364
0.153846
0
0
0
0
0
0
0
0
0
0.015748
0.20625
160
7
69
22.857143
0.80315
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
0
0
0
2
78024167eb5d6b1c67ff8e6bcb6f0475b28ed605
1,980
py
Python
py_local_maxima/cpu.py
benhollar/py-local-maxima
997d130fe074bf2db9395b5d2236c1f90f34ea3d
[ "MIT" ]
null
null
null
py_local_maxima/cpu.py
benhollar/py-local-maxima
997d130fe074bf2db9395b5d2236c1f90f34ea3d
[ "MIT" ]
null
null
null
py_local_maxima/cpu.py
benhollar/py-local-maxima
997d130fe074bf2db9395b5d2236c1f90f34ea3d
[ "MIT" ]
null
null
null
from scipy.ndimage.filters import maximum_filter as _max_filter from scipy.ndimage.morphology import binary_erosion as _binary_erosion from skimage.feature import peak_local_max def detect_skimage(image, neighborhood, threshold=1e-12): """Detect peaks using a local maximum filter (via skimage) Parameters ...
34.137931
76
0.678283
234
1,980
5.65812
0.350427
0.054381
0.063444
0.045317
0.610272
0.610272
0.610272
0.610272
0.610272
0.610272
0
0.012838
0.252525
1,980
57
77
34.736842
0.881757
0.60404
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.25
0
0.583333
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
780a74bc19415983131989f4855532f38f51296f
1,460
py
Python
make_encode_sets.py
akiss77/rust-url
275b3d2995c29b7d539ca5295c23070ce634c3c4
[ "Apache-2.0", "MIT" ]
null
null
null
make_encode_sets.py
akiss77/rust-url
275b3d2995c29b7d539ca5295c23070ce634c3c4
[ "Apache-2.0", "MIT" ]
null
null
null
make_encode_sets.py
akiss77/rust-url
275b3d2995c29b7d539ca5295c23070ce634c3c4
[ "Apache-2.0", "MIT" ]
null
null
null
# Copyright 2013-2014 Simon Sapin. # # Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or # http://www.apache.org/licenses/LICENSE-2.0> or the MIT license # <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your # option. This file may not be copied, modified, or distributed # except according to t...
34.761905
69
0.540411
194
1,460
4.036082
0.402062
0.010217
0.043423
0.056194
0.63857
0.63857
0.63857
0.63857
0.63857
0.63857
0
0.035524
0.228767
1,460
41
70
35.609756
0.659858
0.255479
0
0
0
0.071429
0.542672
0.025974
0
0
0.007421
0
0
1
0
true
0.035714
0
0
0
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
780c93a71a426f40ae8aa874ef516f957142eff9
2,159
py
Python
loggerBot/common/utils.py
mcpiroman/jarchiwum-server
e219eb0380bb4880fb83009fab21a4a1bf1a70ba
[ "MIT" ]
null
null
null
loggerBot/common/utils.py
mcpiroman/jarchiwum-server
e219eb0380bb4880fb83009fab21a4a1bf1a70ba
[ "MIT" ]
null
null
null
loggerBot/common/utils.py
mcpiroman/jarchiwum-server
e219eb0380bb4880fb83009fab21a4a1bf1a70ba
[ "MIT" ]
null
null
null
import base64 import datetime import re import os def print_with_time(*args): print('[' + datetime.datetime.now().strftime("%H:%M:%S") + ']', *args) def str_2_base64(data, encoding="utf-8"): return str(base64.b64encode(data.encode(encoding)), encoding) def base64_2_str(data, encoding="utf-8"): return str...
30.842857
141
0.621584
318
2,159
4.006289
0.289308
0.069074
0.06044
0.040031
0.284144
0.136578
0.048666
0
0
0
0
0.018724
0.20843
2,159
70
142
30.842857
0.726741
0.037981
0
0.074074
0
0
0.037736
0
0
0
0
0
0
1
0.203704
false
0
0.074074
0.111111
0.462963
0.037037
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
7815cef5f4e3303c68ae700e7c4bf5b2dbeb5374
254
py
Python
Scripts/codewars8.py
mateusvarelo/Codewars
00398f31c207268cc6b03ab4c8179486f1426563
[ "MIT" ]
null
null
null
Scripts/codewars8.py
mateusvarelo/Codewars
00398f31c207268cc6b03ab4c8179486f1426563
[ "MIT" ]
null
null
null
Scripts/codewars8.py
mateusvarelo/Codewars
00398f31c207268cc6b03ab4c8179486f1426563
[ "MIT" ]
null
null
null
def to_weird_case(string='This is a test'): nova_string = [let.upper() if i % 2 == 0 else let.lower() for i,let in enumerate(string) ] print(nova_string) return ''.join(nova_string) print(to_weird_case())
36.285714
61
0.582677
37
254
3.810811
0.648649
0.212766
0.156028
0
0
0
0
0
0
0
0
0.011111
0.291339
254
7
62
36.285714
0.772222
0
0
0
0
0
0.054902
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
0.285714
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
783e850fbc9eaa710f62de2f98e65c63b977a570
772
py
Python
online_judge/helpers/session.py
ashimaathri/online-judge
596ac26ad9b6ffd44fbee16274a45d39d14ed8e8
[ "Apache-2.0" ]
null
null
null
online_judge/helpers/session.py
ashimaathri/online-judge
596ac26ad9b6ffd44fbee16274a45d39d14ed8e8
[ "Apache-2.0" ]
null
null
null
online_judge/helpers/session.py
ashimaathri/online-judge
596ac26ad9b6ffd44fbee16274a45d39d14ed8e8
[ "Apache-2.0" ]
null
null
null
from functools import wraps from flask import session, url_for, request, redirect def is_authenticated(): return 'username' in session def login_required(f): @wraps(f) def wrapper(*args, **kwargs): if is_authenticated(): return f(*args, **kwargs) else: return redire...
28.592593
97
0.612694
89
772
5.157303
0.41573
0.087146
0.091503
0.043573
0.191721
0.191721
0.191721
0.191721
0.191721
0.191721
0
0
0.273316
772
26
98
29.692308
0.818182
0
0
0.521739
0
0
0.09456
0.068653
0
0
0
0
0
1
0.217391
false
0
0.086957
0.043478
0.652174
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
784483c632bd685eabf370609b342188b4c48b45
83
py
Python
bingo_board/tastypie/__init__.py
colinsullivan/bingo-board
b6ac0832830685ce2b843d89718b3e056238f46c
[ "MIT" ]
2
2016-05-14T03:19:59.000Z
2017-10-14T00:12:21.000Z
bingo_board/tastypie/__init__.py
colinsullivan/bingo-board
b6ac0832830685ce2b843d89718b3e056238f46c
[ "MIT" ]
null
null
null
bingo_board/tastypie/__init__.py
colinsullivan/bingo-board
b6ac0832830685ce2b843d89718b3e056238f46c
[ "MIT" ]
null
null
null
__author__ = 'Daniel Lindsley, Cody Soyland, Matt Croydon' __version__ = (0, 9, 5)
27.666667
58
0.722892
11
83
4.727273
1
0
0
0
0
0
0
0
0
0
0
0.042857
0.156627
83
2
59
41.5
0.7
0
0
0
0
0
0.518072
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
2
786b1fbee5a36922428e72d0435bc4901d2f54b7
1,405
py
Python
2.7/ptp_path.py
SnoWolf2018/Python
2f64dd95b23e35a36a726fe3fc54d3b16d6640f9
[ "MIT" ]
null
null
null
2.7/ptp_path.py
SnoWolf2018/Python
2f64dd95b23e35a36a726fe3fc54d3b16d6640f9
[ "MIT" ]
null
null
null
2.7/ptp_path.py
SnoWolf2018/Python
2f64dd95b23e35a36a726fe3fc54d3b16d6640f9
[ "MIT" ]
null
null
null
import sys import os import numpy as np '''path tests''' #print 'current path' #print os.getcwd() #'''Your Shell Path''' #print os.path.abspath(os.path.dirname(__file__)) #'''Your script Path''' # #print 'get upper path' #print os.path.abspath(os.path.dirname(os.path.dirname(__file__))) #print os.path.abspath(os.path....
31.222222
107
0.711032
233
1,405
4.184549
0.253219
0.092308
0.093333
0.092308
0.504615
0.457436
0.457436
0.390769
0.268718
0.194872
0
0.010015
0.076157
1,405
44
108
31.931818
0.74114
0.53879
0
0
0
0
0.164352
0.050926
0
0
0
0
0
0
null
null
0
0.25
null
null
0.416667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
2
786ca32ea3f645bc91b4d2e777913fb26f085977
647
py
Python
data/main.py
oyjuffer/Battler-V1.1
2c2576e018546acd67c0d4e9bbde546fb2b3c075
[ "MIT" ]
null
null
null
data/main.py
oyjuffer/Battler-V1.1
2c2576e018546acd67c0d4e9bbde546fb2b3c075
[ "MIT" ]
null
null
null
data/main.py
oyjuffer/Battler-V1.1
2c2576e018546acd67c0d4e9bbde546fb2b3c075
[ "MIT" ]
null
null
null
### MAIN ### # IMPORT LIBRARIES import os import pygame # IMPORT GAME FILES from . import constants from . import control from . import setup from .states import main_menu, game_setup # CLASSES # FUNCTIONs def main(): """ This is the main function for the game; it sets up a game object and state dictionaries....
21.566667
89
0.724884
95
647
4.810526
0.421053
0.087527
0.085339
0.118162
0.19256
0.078775
0
0
0
0
0
0
0.190108
647
29
90
22.310345
0.872137
0.383308
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.5
0
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
0
0
0
0
0
0
1
0
1
0
0
2
786d845bc4652c1b25431ab55cfe974a3dd6d850
3,760
py
Python
attr_functions.py
ecreager/beta-tcvae
692d336927c0bf393e3b89e9e58ea299d93c660e
[ "MIT" ]
null
null
null
attr_functions.py
ecreager/beta-tcvae
692d336927c0bf393e3b89e9e58ea299d93c660e
[ "MIT" ]
null
null
null
attr_functions.py
ecreager/beta-tcvae
692d336927c0bf393e3b89e9e58ea299d93c660e
[ "MIT" ]
null
null
null
""" Convert ground truth latent classes into binary sensitive attributes """ def attr_fn_0(y): return y[:,0] >= 1 def attr_fn_1(y): return y[:,1] >= 1 def attr_fn_2(y): return y[:,2] >= 3 def attr_fn_3(y): return y[:,3] >= 20 def attr_fn_4(y): return y[:,4] >= 16 def attr_fn_5(y): ret...
31.333333
103
0.587766
676
3,760
2.918639
0.140533
0.264572
0.174354
0.141916
0.348708
0.330968
0.255449
0.217942
0.128738
0.028383
0
0.061576
0.226862
3,760
119
104
31.596639
0.617131
0.080053
0
0
0
0
0.144641
0
0
0
0
0
0
1
0.133333
false
0
0.011111
0.122222
0.277778
0.011111
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
2
78acb4d1ab7b8468300b2e8615b1fa7063ceb553
14,180
py
Python
ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/fipClearVirtualLinksFcf_template.py
OpenIxia/ixnetwork_restpy
f628db450573a104f327cf3c737ca25586e067ae
[ "MIT" ]
20
2019-05-07T01:59:14.000Z
2022-02-11T05:24:47.000Z
ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/fipClearVirtualLinksFcf_template.py
OpenIxia/ixnetwork_restpy
f628db450573a104f327cf3c737ca25586e067ae
[ "MIT" ]
60
2019-04-03T18:59:35.000Z
2022-02-22T12:05:05.000Z
ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/fipClearVirtualLinksFcf_template.py
OpenIxia/ixnetwork_restpy
f628db450573a104f327cf3c737ca25586e067ae
[ "MIT" ]
13
2019-05-20T10:48:31.000Z
2021-10-06T07:45:44.000Z
from ixnetwork_restpy.base import Base from ixnetwork_restpy.files import Files class FipClearVirtualLinksFcf(Base): __slots__ = () _SDM_NAME = 'fipClearVirtualLinksFcf' _SDM_ATT_MAP = { 'HeaderFipVersion': 'fipClearVirtualLinksFcf.header.fipVersion-1', 'HeaderFipReserved': 'fipClearVirtua...
47.905405
254
0.74859
1,072
14,180
9.729478
0.146455
0.033653
0.049185
0.032407
0.468073
0.351103
0.328571
0.306999
0.306999
0.306999
0
0.013809
0.182863
14,180
295
255
48.067797
0.886338
0.150635
0
0.367647
0
0
0.429815
0.407327
0
0
0
0
0
1
0.198529
false
0
0.198529
0.007353
0.617647
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
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
78b28f8b8e09a90c872295744785a2fcf5d48e52
178
py
Python
PyExercises - CeV - Mundo 3/Exercises (35 - 43)/Ex 41/ex 41.py
PatrickAMenezes/PyExercises-CursoEmVideo-Mundo3
3c02768eb720c2112ececc95be95caf2bdd98fb1
[ "MIT" ]
null
null
null
PyExercises - CeV - Mundo 3/Exercises (35 - 43)/Ex 41/ex 41.py
PatrickAMenezes/PyExercises-CursoEmVideo-Mundo3
3c02768eb720c2112ececc95be95caf2bdd98fb1
[ "MIT" ]
null
null
null
PyExercises - CeV - Mundo 3/Exercises (35 - 43)/Ex 41/ex 41.py
PatrickAMenezes/PyExercises-CursoEmVideo-Mundo3
3c02768eb720c2112ececc95be95caf2bdd98fb1
[ "MIT" ]
null
null
null
from Functions import readint, readfloat num_int = readint.readint() num_float = readfloat.readfloat() print(f'The integer entered was {num_int} and the float was {num_float}.')
35.6
74
0.780899
27
178
5
0.555556
0.088889
0
0
0
0
0
0
0
0
0
0
0.117978
178
4
75
44.5
0.859873
0
0
0
0
0
0.359551
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
0
0
0
0
0
0
0
0
2
78b6b35899e791d09f677d48c50b802d2d92179f
1,651
py
Python
tests/base/test_view.py
bluetyson/discretize
a4ead91d6a1f84658ab20946da5fa86dc9ccc831
[ "MIT" ]
null
null
null
tests/base/test_view.py
bluetyson/discretize
a4ead91d6a1f84658ab20946da5fa86dc9ccc831
[ "MIT" ]
null
null
null
tests/base/test_view.py
bluetyson/discretize
a4ead91d6a1f84658ab20946da5fa86dc9ccc831
[ "MIT" ]
null
null
null
from __future__ import print_function import unittest import numpy as np import matplotlib.pyplot as plt import discretize from discretize import Tests, utils import pytest np.random.seed(16) TOL = 1e-1 class Cyl3DView(unittest.TestCase): def setUp(self): self.mesh = discretize.CylMesh([10, 4, 12]) ...
27.065574
68
0.618413
222
1,651
4.531532
0.346847
0.119284
0.190855
0.166998
0.4334
0.371769
0.195825
0.195825
0.149105
0.149105
0
0.02451
0.258631
1,651
60
69
27.516667
0.797386
0.114476
0
0.189189
0
0
0.028276
0
0
0
0
0
0.027027
1
0.081081
false
0
0.189189
0
0.297297
0.027027
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
78bcca66650d7c00bcf4921892684fdf5ef9500e
2,332
py
Python
Implicit/auth_server/Implicit_auth_server.py
YungYanix/auth-server-sample
fcd222365b170e5b95c38743e04b96c913c9114b
[ "Apache-2.0" ]
63
2018-10-21T13:19:06.000Z
2022-02-14T15:09:47.000Z
Implicit/auth_server/Implicit_auth_server.py
YungYanix/auth-server-sample
fcd222365b170e5b95c38743e04b96c913c9114b
[ "Apache-2.0" ]
4
2018-08-21T05:12:22.000Z
2021-04-29T05:58:27.000Z
Implicit/auth_server/Implicit_auth_server.py
YungYanix/auth-server-sample
fcd222365b170e5b95c38743e04b96c913c9114b
[ "Apache-2.0" ]
39
2018-10-07T20:01:34.000Z
2022-03-30T20:45:07.000Z
import json #import ssl import urllib.parse as urlparse from auth import (authenticate_user_credentials, generate_access_token, verify_client_info, JWT_LIFE_SPAN) from flask import Flask, redirect, render_template, request from urllib.parse import urlencode app = Flask(__name__) @app.route('/auth...
29.518987
73
0.698971
304
2,332
5.078947
0.328947
0.128238
0.072539
0.08614
0.289508
0.233161
0.167098
0.167098
0.167098
0.167098
0
0.013663
0.183962
2,332
79
74
29.518987
0.797688
0.121355
0
0.267857
1
0
0.117964
0.012726
0
0
0
0
0
1
0.053571
false
0.053571
0.089286
0
0.285714
0.017857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
78c43652f320e3471c58650efdd06b98f86140b4
238
py
Python
settings.py
mr-karan/FinalYearCSE
f361cddb2f7f84d67f170a20780af2add0550f5f
[ "MIT" ]
3
2015-11-20T16:27:14.000Z
2015-11-21T19:50:45.000Z
settings.py
mr-karan/FinalYearCSE
f361cddb2f7f84d67f170a20780af2add0550f5f
[ "MIT" ]
null
null
null
settings.py
mr-karan/FinalYearCSE
f361cddb2f7f84d67f170a20780af2add0550f5f
[ "MIT" ]
6
2015-11-20T16:25:57.000Z
2017-08-09T16:07:20.000Z
import os user_agent = 'when is my cakeday by /u/avinassh' scopes = ['identity'] app_key = os.environ['APP_KEY'] app_secret = os.environ['APP_SECRET'] refresh_token = os.environ['REFRESH_TOKEN'] access_token = os.environ['ACCESS_TOKEN']
26.444444
48
0.747899
37
238
4.567568
0.540541
0.213018
0.142012
0
0
0
0
0
0
0
0
0
0.109244
238
8
49
29.75
0.79717
0
0
0
0
0
0.34874
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
152924a9c0fa53561cb2e6e1edd37e0f56ec7dc7
560
py
Python
db/fdependency.py
ContentsViewer/Python-stdlib
21b1b4d698a6c5b4f2328ecf2a2f91edca580448
[ "MIT" ]
null
null
null
db/fdependency.py
ContentsViewer/Python-stdlib
21b1b4d698a6c5b4f2328ecf2a2f91edca580448
[ "MIT" ]
null
null
null
db/fdependency.py
ContentsViewer/Python-stdlib
21b1b4d698a6c5b4f2328ecf2a2f91edca580448
[ "MIT" ]
null
null
null
class FDependency: """ Function dependecy class Example: fd1 = FDependency(['A','B'],['C']) fd2 = FDependency(['B'],['D']) fd3 = FDependency(['A','B','E'],['C','D']) fd4 = FDependency(['C','D'],['E']) fd5 = FDependency(['C','E'],['A']) """ def __init__(self, lh, r...
24.347826
79
0.480357
71
560
3.619718
0.366197
0.093385
0.101167
0
0
0
0
0
0
0
0
0.012531
0.2875
560
22
80
25.454545
0.631579
0.380357
0
0
0
0
0.014085
0
0
0
0
0
0
1
0.375
false
0
0
0.25
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
0
0
0
2
15367803f08ec85c9fafa07efb29fa91a829f528
190
py
Python
tests/unit/test_util.py
galsuchetzky/PytorchTemplate
4d80bfadf2012275e84ce757730e62155e4a78c5
[ "MIT" ]
1
2021-01-16T09:29:07.000Z
2021-01-16T09:29:07.000Z
tests/unit/test_visualization.py
galsuchetzky/PytorchTemplate
4d80bfadf2012275e84ce757730e62155e4a78c5
[ "MIT" ]
null
null
null
tests/unit/test_visualization.py
galsuchetzky/PytorchTemplate
4d80bfadf2012275e84ce757730e62155e4a78c5
[ "MIT" ]
null
null
null
import unittest """ TODO testing: 1) """ class TestClassName(unittest.TestCase): def test_(self): self.assertIsNotNone(None) if __name__ == '__main__': unittest.main()
11.875
39
0.657895
20
190
5.8
0.8
0
0
0
0
0
0
0
0
0
0
0.006623
0.205263
190
15
40
12.666667
0.761589
0
0
0
0
0
0.048485
0
0
0
0
0.066667
0.166667
1
0.166667
false
0
0.166667
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
1
0
0
0
0
0
0
0
0
0
0
2
15647c31000dcd9737832f06d134b1446b4e3c63
324
py
Python
tests/test_pycuda.py
karthik20122001/docker-python
bdf14ce8f0e848773480084a0e55b34a23be5abe
[ "Apache-2.0" ]
2,030
2015-04-14T15:44:41.000Z
2022-03-29T18:06:53.000Z
tests/test_pycuda.py
karthik20122001/docker-python
bdf14ce8f0e848773480084a0e55b34a23be5abe
[ "Apache-2.0" ]
666
2015-04-14T20:14:30.000Z
2022-03-29T12:59:21.000Z
tests/test_pycuda.py
karthik20122001/docker-python
bdf14ce8f0e848773480084a0e55b34a23be5abe
[ "Apache-2.0" ]
951
2015-05-07T18:26:08.000Z
2022-03-27T08:46:05.000Z
"""Tests for general GPU support""" import unittest from common import gpu_test class TestPycuda(unittest.TestCase): @gpu_test def test_pycuda(self): import pycuda.driver pycuda.driver.init() gpu_name = pycuda.driver.Device(0).name() self.assertNotEqual(0, len(gpu_nam...
21.6
50
0.66358
41
324
5.121951
0.560976
0.171429
0
0
0
0
0
0
0
0
0
0.008065
0.234568
324
14
51
23.142857
0.83871
0.089506
0
0
0
0
0
0
0
0
0
0
0.111111
1
0.111111
false
0
0.333333
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
0
0
1
0
1
0
0
2
156a75381a0b49ff297dec179ffc0fcd9a943c9d
529
py
Python
mobilebdd/reports/jsonifier.py
PhoenixWright/MobileBDDCore
b133061cf2c8b8d95ea9164734b726ee8a3c03a0
[ "Apache-2.0" ]
null
null
null
mobilebdd/reports/jsonifier.py
PhoenixWright/MobileBDDCore
b133061cf2c8b8d95ea9164734b726ee8a3c03a0
[ "Apache-2.0" ]
null
null
null
mobilebdd/reports/jsonifier.py
PhoenixWright/MobileBDDCore
b133061cf2c8b8d95ea9164734b726ee8a3c03a0
[ "Apache-2.0" ]
null
null
null
import json from mobilebdd.reports.base import BaseReporter class JsonReporter(BaseReporter): """ outputs the test run results in the form of a json one example use case is to plug this into a bdd api that returns the results in json format. """ def __init__(self, config): super(Jso...
23
80
0.646503
70
529
4.757143
0.642857
0.042042
0
0
0
0
0
0
0
0
0
0
0.270321
529
22
81
24.045455
0.862694
0.374291
0
0
0
0
0.028986
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
157895b34e1a914dfe08c03e72e184aba974f065
835
py
Python
cuda_cffi/info.py
grlee77/python-cuda-cffi
73dd0fd48ed2c2e0f5eddfbf82ed592a0af8a162
[ "BSD-3-Clause" ]
13
2016-03-10T11:43:07.000Z
2021-09-01T11:33:21.000Z
cuda_cffi/info.py
grlee77/python-cuda-cffi
73dd0fd48ed2c2e0f5eddfbf82ed592a0af8a162
[ "BSD-3-Clause" ]
2
2015-10-30T03:55:02.000Z
2016-04-26T19:43:41.000Z
cuda_cffi/info.py
grlee77/python-cuda-cffi
73dd0fd48ed2c2e0f5eddfbf82ed592a0af8a162
[ "BSD-3-Clause" ]
6
2015-09-07T17:33:33.000Z
2019-03-08T19:09:16.000Z
#!/usr/bin/env python """ cuda_cffi ========= cuda_cffi provides python interfaces to a subset of functions defined in the cuSPARSE and cuSOLVER libraries distributed as part of NVIDIA's CUDA Programming Toolkit [1]. It is meant to complement the existing scikits.cuda package [2] which wraps cuBLAS, CULA, etc. This ...
25.30303
76
0.687425
113
835
5.044248
0.619469
0.02807
0.070175
0
0
0
0
0
0
0
0
0.011494
0.166467
835
32
77
26.09375
0.807471
0.985629
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
15792d58680486aeffd9cdc9f9a842b2cc178b95
6,593
py
Python
lossfunction.py
ChristophReich1996/DeepFoveaPP_for_Video_Reconstruction_and_Super_Resolution
a7e95313722f392b020d8c414c1812c3b00a2bac
[ "MIT" ]
3
2020-11-08T10:28:47.000Z
2022-02-15T00:51:26.000Z
lossfunction.py
ChristophReich1996/DeepFoveaPP_for_Video_Reconstruction_and_Super_Resolution
a7e95313722f392b020d8c414c1812c3b00a2bac
[ "MIT" ]
2
2022-02-14T09:40:26.000Z
2022-02-23T14:11:20.000Z
lossfunction.py
ChristophReich1996/DeepFoveaPP_for_Video_Reconstruction_and_Super_Resolution
a7e95313722f392b020d8c414c1812c3b00a2bac
[ "MIT" ]
null
null
null
from typing import List, Tuple import torch import torch.nn as nn import torch.nn.functional as F import robust_loss_pytorch class AdaptiveRobustLoss(nn.Module): """ This class implements the adaptive robust loss function proposed by Jon Barron for image tensors """ def __init__(self, device: str = ...
36.225275
124
0.652359
742
6,593
5.617251
0.206199
0.09237
0.045345
0.047985
0.508637
0.462092
0.432342
0.404511
0.370441
0.370441
0
0.005963
0.2624
6,593
181
125
36.425414
0.851121
0.406492
0
0.280702
0
0
0.003581
0
0
0
0
0
0
1
0.22807
false
0
0.087719
0
0.54386
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
1593aabb59ea04aaf33e84f78f4bea1426769ed0
569
py
Python
scripts/plot.py
Rabscuttler/heat
245a926d3b7983b533de109ffc6887cd8eef0e58
[ "MIT" ]
3
2020-10-16T09:39:55.000Z
2020-12-08T15:31:43.000Z
scripts/plot.py
Rabscuttler/heat
245a926d3b7983b533de109ffc6887cd8eef0e58
[ "MIT" ]
1
2020-10-16T10:54:59.000Z
2020-10-16T11:16:43.000Z
scripts/plot.py
Rabscuttler/heat
245a926d3b7983b533de109ffc6887cd8eef0e58
[ "MIT" ]
1
2020-10-16T10:24:56.000Z
2020-10-16T10:24:56.000Z
# general plotting functions import matplotlib.pyplot as plt # plot the given hourly profile def hourly_profile(profile): hourly_profile_building('SFH',profile) hourly_profile_building('MFH',profile) hourly_profile_building('COM',profile) def hourly_profile_building(building,profile): for(name,data) ...
29.947368
52
0.731107
75
569
5.413333
0.546667
0.192118
0.206897
0.206897
0
0
0
0
0
0
0
0
0.154657
569
18
53
31.611111
0.844075
0.098418
0
0
0
0
0.141176
0
0
0
0
0
0
1
0.153846
false
0
0.076923
0
0.230769
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
0
0
0
2
159bb42fbf4127aaa9cdb636c5ee7ed7717c4de3
303
py
Python
problem/01000~09999/02004/2004.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
1
2019-04-19T16:37:44.000Z
2019-04-19T16:37:44.000Z
problem/01000~09999/02004/2004.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
1
2019-04-20T11:42:44.000Z
2019-04-20T11:42:44.000Z
problem/01000~09999/02004/2004.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
3
2019-04-19T16:37:47.000Z
2021-10-25T00:45:00.000Z
MIN=lambda a,b: a if a<b else b def FactoPowerCount(n,x): count = 0 while n//x>0: count+=n//x n//=x return count n,m=map(int,input().split()) print(MIN(FactoPowerCount(n,2)-FactoPowerCount(m,2)-FactoPowerCount(n-m,2), FactoPowerCount(n,5)-FactoPowerCount(m,5)-FactoPowerCount(n-m,5)))
25.25
76
0.676568
55
303
3.727273
0.4
0.390244
0.165854
0.17561
0
0
0
0
0
0
0
0.030303
0.128713
303
12
76
25.25
0.746212
0
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0
0.2
0.1
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ec69a250e6eeb5ca1d2d397a83c7cd001c6507f1
258
py
Python
service_catalog/serializers/instance_serializer.py
a-belhadj/squest
8714fefc332ab1ab349508488455f4a1f2ab8a82
[ "Apache-2.0" ]
null
null
null
service_catalog/serializers/instance_serializer.py
a-belhadj/squest
8714fefc332ab1ab349508488455f4a1f2ab8a82
[ "Apache-2.0" ]
null
null
null
service_catalog/serializers/instance_serializer.py
a-belhadj/squest
8714fefc332ab1ab349508488455f4a1f2ab8a82
[ "Apache-2.0" ]
null
null
null
from rest_framework import serializers from service_catalog.models import Instance class InstanceSerializer(serializers.ModelSerializer): class Meta: model = Instance fields = '__all__' read_only_fields = ['service', 'state']
21.5
54
0.72093
26
258
6.846154
0.730769
0
0
0
0
0
0
0
0
0
0
0
0.209302
258
11
55
23.454545
0.872549
0
0
0
0
0
0.073643
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
ec8d8671d479ae9e1455b7605098cab6dc29c910
370
py
Python
trains/migrations/0010_auto_20201125_1131.py
Seshathri-saravanan/quest
397c92e36167b9554fd72f55bdac0a2cbcdfea6f
[ "MIT" ]
null
null
null
trains/migrations/0010_auto_20201125_1131.py
Seshathri-saravanan/quest
397c92e36167b9554fd72f55bdac0a2cbcdfea6f
[ "MIT" ]
null
null
null
trains/migrations/0010_auto_20201125_1131.py
Seshathri-saravanan/quest
397c92e36167b9554fd72f55bdac0a2cbcdfea6f
[ "MIT" ]
1
2021-11-09T15:58:33.000Z
2021-11-09T15:58:33.000Z
# Generated by Django 3.1.3 on 2020-11-25 06:01 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('trains', '0009_auto_20201125_0840'), ] operations = [ migrations.DeleteModel( name='Station', ), migrations.DeleteModel(...
18.5
47
0.578378
36
370
5.861111
0.777778
0.199052
0.236967
0
0
0
0
0
0
0
0
0.121569
0.310811
370
19
48
19.473684
0.705882
0.121622
0
0.307692
1
0
0.145511
0.071207
0
0
0
0
0
1
0
false
0
0.076923
0
0.307692
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ec96237cd8cc883405f6bc0af4185cef06bc1c37
279
py
Python
Products/PloneGetPaid/Extensions/plugin.py
collective/Products.PloneGetPaid
8a89ce3585315d84221b7ab46bfb28beeefda3b2
[ "ZPL-2.1" ]
2
2019-10-27T22:12:10.000Z
2021-02-17T19:54:55.000Z
Products/PloneGetPaid/Extensions/plugin.py
collective/Products.PloneGetPaid
8a89ce3585315d84221b7ab46bfb28beeefda3b2
[ "ZPL-2.1" ]
1
2017-08-24T11:40:25.000Z
2017-08-24T13:38:45.000Z
Products/PloneGetPaid/Extensions/plugin.py
collective/Products.PloneGetPaid
8a89ce3585315d84221b7ab46bfb28beeefda3b2
[ "ZPL-2.1" ]
2
2016-02-04T09:06:52.000Z
2021-02-17T19:55:02.000Z
def install_ups( self ): from getpaid.ups import plugin plugin.UPSPlugin( self ).install() return "installed ups" def install_warehouse( self ): from getpaid.warehouse import plugin plugin.WarehousePlugin( self ).install() return "warehouse installed"
23.25
44
0.716846
32
279
6.1875
0.40625
0.10101
0.151515
0
0
0
0
0
0
0
0
0
0.197133
279
11
45
25.363636
0.883929
0
0
0
0
0
0.115523
0
0
0
0
0
0
1
0.25
false
0
0.25
0
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
0
1
0
0
2
ec96ecf37e8be9515def57e4957e76268bfce6fb
715
py
Python
tests/features/test_bootloader_subcmd_creator.py
keaparrot/secbootctl
a624677a8987023a3a55d7e002c3c980bdd0e0bd
[ "MIT" ]
null
null
null
tests/features/test_bootloader_subcmd_creator.py
keaparrot/secbootctl
a624677a8987023a3a55d7e002c3c980bdd0e0bd
[ "MIT" ]
null
null
null
tests/features/test_bootloader_subcmd_creator.py
keaparrot/secbootctl
a624677a8987023a3a55d7e002c3c980bdd0e0bd
[ "MIT" ]
null
null
null
import unittest from tests import unittest_helper class TestBootloaderSubcmdCreatorController(unittest_helper.SubCmdCreatorTestCase): FEATURE_NAME: str = 'bootloader' SUBCOMMAND_DATA: list = [ {'name': 'bootloader:install', 'help_message': 'install bootloader (systemd-boot)'}, {'name': 'bootl...
37.631579
95
0.690909
70
715
6.814286
0.385714
0.146751
0.125786
0.209644
0.297694
0
0
0
0
0
0
0
0.159441
715
18
96
39.722222
0.793677
0
0
0
0
0
0.482517
0.030769
0
0
0
0
0
1
0
true
0
0.153846
0
0.384615
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
1
0
0
0
0
0
0
2
eca35fe0df628aaa559ac3feaaaa2361bb953e46
88
py
Python
Guanabara/ex11 - modulos_pacotes/uteis/numeros/__init__.py
Edu1769/python
86ed93227c4c7f21a7deabe1408ab5760b757712
[ "MIT" ]
null
null
null
Guanabara/ex11 - modulos_pacotes/uteis/numeros/__init__.py
Edu1769/python
86ed93227c4c7f21a7deabe1408ab5760b757712
[ "MIT" ]
null
null
null
Guanabara/ex11 - modulos_pacotes/uteis/numeros/__init__.py
Edu1769/python
86ed93227c4c7f21a7deabe1408ab5760b757712
[ "MIT" ]
null
null
null
def fatorial(n): f = 1 for cont in range(1,n+1): f= f*cont return f
14.666667
29
0.5
17
88
2.588235
0.588235
0
0
0
0
0
0
0
0
0
0
0.054545
0.375
88
5
30
17.6
0.745455
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ecac99d699435f93cfd1e51d2d1a5b805d1b6bc8
3,178
py
Python
celery/utils/coroutine.py
amplify-education/celery
3ea8824d9bdb6c5928701cf8466287d4259aa0e0
[ "BSD-3-Clause" ]
null
null
null
celery/utils/coroutine.py
amplify-education/celery
3ea8824d9bdb6c5928701cf8466287d4259aa0e0
[ "BSD-3-Clause" ]
null
null
null
celery/utils/coroutine.py
amplify-education/celery
3ea8824d9bdb6c5928701cf8466287d4259aa0e0
[ "BSD-3-Clause" ]
null
null
null
from __future__ import absolute_import from functools import wraps from Queue import Queue from celery.utils import cached_property def coroutine(fun): """Decorator that turns a generator into a coroutine that is started automatically, and that can send values back to the caller. **Example coroutine th...
22.223776
71
0.515104
365
3,178
4.372603
0.30137
0.050125
0.025063
0.037594
0.101504
0.101504
0.101504
0.101504
0.101504
0.101504
0
0.012036
0.372561
3,178
142
72
22.380282
0.788365
0.436753
0
0.035714
0
0
0.02086
0
0
0
0
0
0
1
0.25
false
0
0.071429
0.125
0.625
0.017857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
ecae6e2a3aadf361e9d57e5624c06911947b104d
943
py
Python
src/nexpy/api/frills/models/pdfdecay.py
nexpy/nexpy
d0c58afe0e199c758de71e3067babed9aaac2bd1
[ "BSD-3-Clause-Clear" ]
36
2015-06-24T11:36:20.000Z
2022-03-22T00:53:09.000Z
src/nexpy/api/frills/models/pdfdecay.py
nexpy/nexpy
d0c58afe0e199c758de71e3067babed9aaac2bd1
[ "BSD-3-Clause-Clear" ]
88
2015-01-01T21:53:53.000Z
2021-07-13T16:45:17.000Z
src/nexpy/api/frills/models/pdfdecay.py
nexpy/nexpy
d0c58afe0e199c758de71e3067babed9aaac2bd1
[ "BSD-3-Clause-Clear" ]
21
2015-02-23T14:07:26.000Z
2022-03-02T02:47:24.000Z
import numpy as np from lmfit.model import Model class PDFdecayModel(Model): r"""A model to describe the product of a decaying exponential and a Gaussian with three parameters: ``amplitude``, ``xi``, and ``sigma`` .. math:: f(x; A, \xi, \sigma) = A e^{[-{|x|}/\xi]} e^{[{-{x^2}/{{2\sigma}^2}}]} ...
33.678571
80
0.589608
138
943
3.963768
0.427536
0.010969
0.036563
0.02925
0.032907
0
0
0
0
0
0
0.017403
0.207847
943
27
81
34.925926
0.714859
0.412513
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.181818
0.090909
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
ecbb9b16b77ba8040416e94366ac602affcd72eb
2,959
py
Python
enaml/qt/qt_time_selector.py
mmckerns/enaml
ebf417b4dce9132bffa038a588ad90436a59d37e
[ "BSD-3-Clause" ]
11
2015-01-04T14:29:23.000Z
2019-12-25T05:38:37.000Z
enaml/qt/qt_time_selector.py
mmckerns/enaml
ebf417b4dce9132bffa038a588ad90436a59d37e
[ "BSD-3-Clause" ]
36
2015-02-20T00:56:53.000Z
2020-12-04T10:02:14.000Z
enaml/qt/qt_time_selector.py
mmckerns/enaml
ebf417b4dce9132bffa038a588ad90436a59d37e
[ "BSD-3-Clause" ]
3
2015-11-19T15:11:37.000Z
2019-03-11T23:45:02.000Z
#------------------------------------------------------------------------------ # Copyright (c) 2012, Enthought, Inc. # All rights reserved. #------------------------------------------------------------------------------ from .qt.QtGui import QTimeEdit from .qt_bounded_time import QtBoundedTime class QtTimeSelector...
29.59
79
0.457249
266
2,959
4.977444
0.338346
0.083082
0.049094
0.039275
0.181269
0.181269
0.181269
0.124622
0.124622
0.124622
0
0.001812
0.253802
2,959
99
80
29.888889
0.597826
0.548158
0
0
0
0
0.024598
0
0
0
0
0
0
1
0.363636
false
0
0.090909
0
0.590909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
ecd4a32534bbb7e445aa76db4c3789d6ad522af4
170
py
Python
core/models/behaviours/nameable.py
bergran/pokemon_project_example
f6a406a80b99515f0e0ad5e64b0aa70046ad6fc5
[ "MIT" ]
null
null
null
core/models/behaviours/nameable.py
bergran/pokemon_project_example
f6a406a80b99515f0e0ad5e64b0aa70046ad6fc5
[ "MIT" ]
3
2020-02-11T22:32:29.000Z
2020-06-13T13:07:03.000Z
core/models/behaviours/nameable.py
bergran/pokemon_project_example
f6a406a80b99515f0e0ad5e64b0aa70046ad6fc5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django.db import models class Nameable(models.Model): name = models.CharField(max_length=40) class Meta: abstract = True
15.454545
42
0.647059
22
170
4.954545
0.863636
0
0
0
0
0
0
0
0
0
0
0.022901
0.229412
170
10
43
17
0.80916
0.123529
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
ecd5954788c9bd3720cc86ce8cf59f8d86cd6c45
109
py
Python
cortex2/__init__.py
lowenhere/emotiv-cortex2-python-client
e55eb79c952f93b4c23e6c4794f432d4e0d08d37
[ "MIT" ]
10
2019-08-28T11:41:45.000Z
2021-11-24T05:10:05.000Z
cortex2/__init__.py
lowenhere/emotiv-cortex2-python-client
e55eb79c952f93b4c23e6c4794f432d4e0d08d37
[ "MIT" ]
1
2021-10-31T08:27:08.000Z
2021-10-31T08:27:08.000Z
cortex2/__init__.py
lowenhere/emotiv-cortex2-python-client
e55eb79c952f93b4c23e6c4794f432d4e0d08d37
[ "MIT" ]
9
2019-08-28T11:42:12.000Z
2022-01-07T08:50:02.000Z
from .emotiv_cortex2_client import EmotivCortex2Client __all__ = [ 'EmotivCortex2Client' ] # Version 1.0.0
13.625
54
0.788991
12
109
6.666667
0.833333
0
0
0
0
0
0
0
0
0
0
0.063158
0.12844
109
7
55
15.571429
0.778947
0.119266
0
0
0
0
0.202128
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ece6066139d1ea3cbb70eabfb53e40fbb6a66b9f
1,406
py
Python
sequeval/profiler.py
D2KLab/sequeval
71e1b40fa728492bef52a2ec0fb0353dce32602d
[ "MIT" ]
10
2018-09-11T10:32:04.000Z
2021-12-14T07:03:32.000Z
sequeval/profiler.py
D2KLab/sequeval
71e1b40fa728492bef52a2ec0fb0353dce32602d
[ "MIT" ]
null
null
null
sequeval/profiler.py
D2KLab/sequeval
71e1b40fa728492bef52a2ec0fb0353dce32602d
[ "MIT" ]
2
2018-12-11T02:59:01.000Z
2019-11-23T13:23:51.000Z
class Profiler: def __init__(self, sequences): users = [] items = [] ratings = [] for sequence in sequences: for rating in sequence: users.append(rating[1]) items.append(rating[0]) ratings.append(rating) self._seq...
24.666667
73
0.533428
147
1,406
5.013605
0.238095
0.085482
0.104478
0.103121
0.211669
0.07327
0
0
0
0
0
0.002215
0.357752
1,406
56
74
25.107143
0.813953
0.247511
0
0
0
0
0
0
0
0
0
0
0
1
0.269231
false
0
0
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
01a6e80a41995fd5591d6a314430ffc8d27d321d
271
py
Python
lib/python2.7/site-packages/tdl/queue/abstractions/response/fatal_error_response.py
DPNT-Sourcecode/CHK-uimw01
87144ae10115d7a8df565f5109666f00bc001ce4
[ "Apache-2.0" ]
null
null
null
lib/python2.7/site-packages/tdl/queue/abstractions/response/fatal_error_response.py
DPNT-Sourcecode/CHK-uimw01
87144ae10115d7a8df565f5109666f00bc001ce4
[ "Apache-2.0" ]
null
null
null
lib/python2.7/site-packages/tdl/queue/abstractions/response/fatal_error_response.py
DPNT-Sourcecode/CHK-uimw01
87144ae10115d7a8df565f5109666f00bc001ce4
[ "Apache-2.0" ]
null
null
null
from tdl.queue.actions.stop_action import StopAction class FatalErrorResponse: def __init__(self, message): self._message = message self.client_action = StopAction def get_audit_text(self): return 'error = "{0}"'.format(self._message)
22.583333
52
0.693727
32
271
5.5625
0.6875
0.185393
0
0
0
0
0
0
0
0
0
0.004673
0.210332
271
11
53
24.636364
0.827103
0
0
0
0
0
0.04797
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.142857
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
01af11c3fe8fe6969ebefa86dd4e94146c55307e
302
py
Python
mqtt2kasa/const.py
johnjones4/mqtt2kasa
d710684d7fe7fdddd651a1c82c92cd8f293a8b63
[ "MIT" ]
12
2021-02-18T22:29:34.000Z
2022-03-22T23:31:54.000Z
mqtt2kasa/const.py
johnjones4/mqtt2kasa
d710684d7fe7fdddd651a1c82c92cd8f293a8b63
[ "MIT" ]
3
2021-04-12T20:30:50.000Z
2021-09-12T00:26:42.000Z
mqtt2kasa/const.py
johnjones4/mqtt2kasa
d710684d7fe7fdddd651a1c82c92cd8f293a8b63
[ "MIT" ]
5
2021-04-09T08:28:10.000Z
2022-03-22T22:18:23.000Z
#!/usr/bin/env python MQTT_DEFAULT_CLIENT_ID = "mqtt2kasa" MQTT_DEFAULT_CLIENT_TOPIC_FORMAT = "/kasa/device/{}" MQTT_DEFAULT_BROKER_IP = "192.168.10.238" MQTT_DEFAULT_RECONNECT_INTERVAL = 13 # [seconds] KASA_DEFAULT_POLL_INTERVAL = 10 # [seconds] KEEP_ALIVE_DEFAULT_TASK_INTERVAL = 1.5 # [seconds]
33.555556
52
0.784768
44
302
4.931818
0.659091
0.202765
0.156682
0
0
0
0
0
0
0
0
0.066176
0.099338
302
8
53
37.75
0.731618
0.165563
0
0
0
0
0.153226
0
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
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
2
01af218ac003f155da873a30357ec4b6c0fa6165
1,070
py
Python
formulario/migrations/0005_auto_20200910_2123.py
giuliocc/censo-querido-diario
0a83244d6c7a9de21f72ce1b441868bc517d0aec
[ "MIT" ]
40
2020-09-09T00:21:03.000Z
2021-12-12T03:30:37.000Z
formulario/migrations/0005_auto_20200910_2123.py
giuliocc/censo-querido-diario
0a83244d6c7a9de21f72ce1b441868bc517d0aec
[ "MIT" ]
41
2020-10-02T01:56:40.000Z
2022-03-23T14:08:22.000Z
formulario/migrations/0005_auto_20200910_2123.py
giuliocc/censo-querido-diario
0a83244d6c7a9de21f72ce1b441868bc517d0aec
[ "MIT" ]
23
2020-09-30T19:15:45.000Z
2022-03-03T01:03:28.000Z
# Generated by Django 3.1.1 on 2020-09-10 21:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('formulario', '0004_auto_20200909_2313'), ] operations = [ migrations.RemoveField( model_name='mapeamento', name='lin...
26.097561
57
0.54486
101
1,070
5.643564
0.405941
0.078947
0.166667
0.201754
0.592982
0.592982
0.592982
0.512281
0.431579
0.431579
0
0.049365
0.337383
1,070
40
58
26.75
0.754584
0.042056
0
0.558824
1
0
0.125122
0.022483
0
0
0
0
0
1
0
false
0
0.029412
0
0.117647
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
01c0aa4a179d1a5eec9822db5629d7108a07bfaf
612
py
Python
colaboradores/forms.py
lauraziebarth/dispositivos_mercos
395c2dfac67e82061d59cd19c9f1be588cd16376
[ "MIT" ]
null
null
null
colaboradores/forms.py
lauraziebarth/dispositivos_mercos
395c2dfac67e82061d59cd19c9f1be588cd16376
[ "MIT" ]
5
2021-03-19T13:26:31.000Z
2022-02-10T14:55:56.000Z
colaboradores/forms.py
lauraziebarth/dispositivos_mercos
395c2dfac67e82061d59cd19c9f1be588cd16376
[ "MIT" ]
null
null
null
# coding: utf-8 from __future__ import absolute_import from __future__ import print_function from __future__ import unicode_literals from django import forms from colaboradores.enums import AREAS class FormColaborador(forms.Form): nome = forms.CharField(max_length=100, required=True) email = forms.CharField(m...
30.6
70
0.787582
78
612
5.948718
0.435897
0.150862
0.103448
0.148707
0.426724
0.426724
0.163793
0
0
0
0
0.018727
0.127451
612
19
71
32.210526
0.850187
0.021242
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.153846
0.384615
0
1
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
2
01cdbd18fffc1ef56408a700794cf4ad608323b9
267
py
Python
qcloudsdkticket/GetCategoryListRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
qcloudsdkticket/GetCategoryListRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
qcloudsdkticket/GetCategoryListRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from qcloudsdkcore.request import Request class GetCategoryListRequest(Request): def __init__(self): super(GetCategoryListRequest, self).__init__( 'ticket', 'qcloudcliV1', 'GetCategoryList', 'ticket.api.qcloud.com')
26.7
80
0.692884
25
267
7.08
0.76
0
0
0
0
0
0
0
0
0
0
0.00905
0.172285
267
9
81
29.666667
0.791855
0.078652
0
0
0
0
0.217213
0.086066
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
0
0
0
2
01ce6d6100e46a2adfec35c9179bd9156caaa1f9
2,133
py
Python
fixture/user.py
planofmind/python_training
3b8f9a44b5760e3b9b18abc2b8f1441fff982b43
[ "Apache-2.0" ]
null
null
null
fixture/user.py
planofmind/python_training
3b8f9a44b5760e3b9b18abc2b8f1441fff982b43
[ "Apache-2.0" ]
null
null
null
fixture/user.py
planofmind/python_training
3b8f9a44b5760e3b9b18abc2b8f1441fff982b43
[ "Apache-2.0" ]
null
null
null
from selenium.webdriver.support.select import Select class UserHelper: def __init__(self, app): self.app = app def create(self, user): wd = self.app.wd wd.find_element_by_link_text("add new").click() wd.find_element_by_name("firstname").send_keys(user.firstname) wd.fin...
52.02439
85
0.7173
324
2,133
4.32716
0.191358
0.115549
0.250357
0.288873
0.46719
0.171184
0.048502
0.048502
0.048502
0.048502
0
0.005507
0.148617
2,133
40
86
53.325
0.76652
0
0
0.055556
0
0
0.091889
0.016409
0
0
0
0
0
1
0.083333
false
0
0.027778
0
0.138889
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
0
0
0
2
01e0afca8047522cf78284cfee6142a02a5d8854
658
py
Python
novelutils/data/scrapy_settings.py
vtkhang/novelutils-public
785f283ad8bc775f3d45d5056b831407df6acb4f
[ "BSD-3-Clause" ]
null
null
null
novelutils/data/scrapy_settings.py
vtkhang/novelutils-public
785f283ad8bc775f3d45d5056b831407df6acb4f
[ "BSD-3-Clause" ]
null
null
null
novelutils/data/scrapy_settings.py
vtkhang/novelutils-public
785f283ad8bc775f3d45d5056b831407df6acb4f
[ "BSD-3-Clause" ]
null
null
null
"""Store the settings of spider for utils crawler. """ def get_settings(): """Return the settings of spider. Returns ------- dict Spider settings. """ return { "AUTOTHROTTLE_ENABLED": True, "DEFAULT_REQUEST_HEADERS": { "Accept": "text/html,application/xhtml...
29.909091
89
0.554711
80
658
4.475
0.725
0.061453
0.072626
0.106145
0
0
0
0
0
0
0
0.069328
0.276596
658
21
90
31.333333
0.682773
0.183891
0
0
0
0.181818
0.617063
0.170635
0
0
0
0
0
1
0.090909
true
0
0
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
01fc8880bc65c6334e7a5472abb8baa4bb323c37
11,610
py
Python
tests/lib/bes/git/test_git.py
reconstruir/bes
82ff54b2dadcaef6849d7de424787f1dedace85c
[ "Apache-2.0" ]
null
null
null
tests/lib/bes/git/test_git.py
reconstruir/bes
82ff54b2dadcaef6849d7de424787f1dedace85c
[ "Apache-2.0" ]
null
null
null
tests/lib/bes/git/test_git.py
reconstruir/bes
82ff54b2dadcaef6849d7de424787f1dedace85c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python #-*- coding:utf-8; mode:python; indent-tabs-mode: nil; c-basic-offset: 2; tab-width: 2 -*- # import os.path as path, os, unittest from bes.testing.unit_test import unit_test from bes.fs.file_util import file_util from bes.fs.temp_file import temp_file from bes.archive.archiver import archiver fro...
37.572816
110
0.690439
1,823
11,610
4.065277
0.084476
0.141681
0.057887
0.056673
0.802726
0.758872
0.673054
0.657401
0.617326
0.563757
0
0.025962
0.160637
11,610
308
111
37.694805
0.734531
0.012748
0
0.553846
0
0
0.10796
0.014837
0
0
0
0
0.226923
1
0.096154
false
0
0.038462
0
0.146154
0
0
0
0
null
0
0
0
1
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
2
bf22bf7735b1f6872f79c9d3bf8ca02e465a2a92
299
py
Python
src/sweetrpg_COMPONENT_web/application/auth/__init__.py
sweetrpg/web-template
975e65bbdb848be4108f35a1039b6583850b792c
[ "MIT" ]
null
null
null
src/sweetrpg_COMPONENT_web/application/auth/__init__.py
sweetrpg/web-template
975e65bbdb848be4108f35a1039b6583850b792c
[ "MIT" ]
1
2022-03-30T20:21:59.000Z
2022-03-30T20:21:59.000Z
src/sweetrpg_COMPONENT_web/application/auth/__init__.py
sweetrpg/web-template
975e65bbdb848be4108f35a1039b6583850b792c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- __author__ = "Paul Schifferer <dm@sweetrpg.com>" """ """ from flask_oauthlib.provider import OAuth2Provider # from authlib.integrations.flask_client import OAuth from flask import current_app import logging from sweetrpg_COMPONENT_web.application import constants import os
24.916667
56
0.795987
38
299
6.026316
0.710526
0.078603
0
0
0
0
0
0
0
0
0
0.007547
0.113712
299
11
57
27.181818
0.856604
0.244147
0
0
0
0
0.152778
0
0
0
0
0
0
1
0
false
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
0
0
1
0
1
0
0
2
bf2e3555de2a0252d8c0e4046fa49859b4a2a388
256
py
Python
Python/exo v2/exo 3 v2.py
Cantin-L/Professionelle
132a33ebac1f96d4ece5f5ef06341860e4de22c8
[ "MIT" ]
1
2021-07-20T08:25:01.000Z
2021-07-20T08:25:01.000Z
Python/exo v2/exo 3 v2.py
Cantin-L/Professionelle
132a33ebac1f96d4ece5f5ef06341860e4de22c8
[ "MIT" ]
null
null
null
Python/exo v2/exo 3 v2.py
Cantin-L/Professionelle
132a33ebac1f96d4ece5f5ef06341860e4de22c8
[ "MIT" ]
null
null
null
''' Auteur : Cantin L. Site web : https://itliocorp.fr Version : 0.2 License : MIT 3.0 Sujet : Notions : Afficher une variable, Importation de valeur, Un petit peu de math, Commentaires Fonction à utiliser : input(...) print(...) '''
15.058824
91
0.632813
34
256
4.764706
0.941176
0
0
0
0
0
0
0
0
0
0
0.020513
0.238281
256
16
92
16
0.810256
0.898438
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
bf331bd7b0cbabab3f6a2144bbf9a11912605908
215
py
Python
doc/urls.py
sfreedgood/redline_django_with_NLP
b5dc8582a2b2222baee00bc580bfecc351c3591a
[ "MIT" ]
null
null
null
doc/urls.py
sfreedgood/redline_django_with_NLP
b5dc8582a2b2222baee00bc580bfecc351c3591a
[ "MIT" ]
12
2019-07-10T02:54:27.000Z
2022-02-10T09:20:25.000Z
doc/urls.py
sfreedgood/redline_django_with_NLP
b5dc8582a2b2222baee00bc580bfecc351c3591a
[ "MIT" ]
1
2019-07-08T20:39:42.000Z
2019-07-08T20:39:42.000Z
from django.urls import path from . import views urlpatterns = [ path('', views.index, name = 'index'), path('upload', views.upload_doc, name='upload'), path('nlptest', views.nlptest, name='nlptest') ]
23.888889
52
0.660465
27
215
5.222222
0.444444
0
0
0
0
0
0
0
0
0
0
0
0.167442
215
9
53
23.888889
0.78771
0
0
0
0
0
0.143519
0
0
0
0
0
0
1
0
false
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
0
0
0
0
0
0
0
2
170e309fdf93e8b17f90bc3ee3b3de7f57055388
936
py
Python
develocorder/logger.py
wahtak/develocorder
e8fb5d4e93355c6d28a08f5a21d3e948459da392
[ "MIT" ]
10
2020-01-24T17:48:36.000Z
2020-01-31T20:52:08.000Z
develocorder/logger.py
wahtak/develocorder
e8fb5d4e93355c6d28a08f5a21d3e948459da392
[ "MIT" ]
null
null
null
develocorder/logger.py
wahtak/develocorder
e8fb5d4e93355c6d28a08f5a21d3e948459da392
[ "MIT" ]
null
null
null
from collections import deque import numpy as np class Logger: """Print recorded values.""" def __init__(self, name): """ :param name str: identifier for printed value """ self.name = name def __call__(self, value): print("{}: {}".format(self.name, value)) cla...
25.297297
92
0.599359
109
936
4.963303
0.412844
0.088725
0.07024
0.081331
0.262477
0.262477
0.262477
0
0
0
0
0
0.287393
936
36
93
26
0.811094
0.320513
0
0.266667
0
0
0.021314
0
0
0
0
0
0
1
0.266667
false
0
0.133333
0
0.533333
0.133333
0
0
0
null
0
0
0
0
0
0
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
2
170ea3b680bff1564701199e3b138b6ae349ba0c
1,961
py
Python
third_party/paprika.py
constructorfleet/rasa-actions-eddie
a5219bca792f44f1756c0ce35bb1909a9d6d09e0
[ "MIT" ]
null
null
null
third_party/paprika.py
constructorfleet/rasa-actions-eddie
a5219bca792f44f1756c0ce35bb1909a9d6d09e0
[ "MIT" ]
1
2021-06-02T00:47:41.000Z
2021-06-02T00:47:41.000Z
third_party/paprika.py
constructorfleet/rasa-actions-eddie
a5219bca792f44f1756c0ce35bb1909a9d6d09e0
[ "MIT" ]
null
null
null
# import logging # import sys # import traceback # from random import randint # from typing import Dict, Text, Any, List # # from pyprika import Pyprika # from rasa_sdk import Tracker # from rasa_sdk.events import SlotSet # from rasa_sdk.executor import CollectingDispatcher # # from . import ( # RECIPE_CATEGORIES_S...
33.810345
88
0.645079
212
1,961
5.679245
0.306604
0.066445
0.027409
0.049834
0.236711
0.196844
0.094684
0
0
0
0
0.002051
0.253952
1,961
57
89
34.403509
0.820916
0.941356
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
1724d359efa9971693b18c03a2376a07dfcf34b9
1,159
py
Python
compyler/node.py
dgisolfi/Compyler
2f213177d986289b6d9c00d9d00bb21a9047f8db
[ "MIT" ]
null
null
null
compyler/node.py
dgisolfi/Compyler
2f213177d986289b6d9c00d9d00bb21a9047f8db
[ "MIT" ]
1
2019-05-16T18:38:02.000Z
2019-05-16T18:38:02.000Z
compyler/node.py
dgisolfi/Compyler
2f213177d986289b6d9c00d9d00bb21a9047f8db
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # 2019-2-12 # Daniel Nicolas Gisolfi class Node: def __init__(self, name, parent, nid, kind, line, pos): self.__name = name self.__children = [] self.__parent = parent # id for treelib to use self.__nid = nid # to hold kind of node (leaf or branch...
19.316667
59
0.584124
135
1,159
4.733333
0.311111
0.120501
0.153365
0
0
0
0
0
0
0
0
0.01027
0.327869
1,159
59
60
19.644068
0.810013
0.125108
0
0.282051
0
0
0
0
0
0
0
0
0
1
0.282051
false
0
0
0.179487
0.487179
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
17288f1147d8f1db7ec47591ac1b34db0665f4fd
1,085
py
Python
tests/test_user.py
samsonosiomwan/SQL-model
24935e29182461af787a002c7d3bf15d7e71dc4a
[ "MIT" ]
null
null
null
tests/test_user.py
samsonosiomwan/SQL-model
24935e29182461af787a002c7d3bf15d7e71dc4a
[ "MIT" ]
null
null
null
tests/test_user.py
samsonosiomwan/SQL-model
24935e29182461af787a002c7d3bf15d7e71dc4a
[ "MIT" ]
null
null
null
import unittest import sys sys.path.append('src/models') from user import User from datetime import datetime class TestUser(unittest.TestCase): def setUp(self): self.user = User() def test_all(self): self.assertIsInstance(self.user.all(),list) self.assertIsNotNone(self.user.all()) de...
31
77
0.658065
140
1,085
5.014286
0.292857
0.148148
0.163818
0.192308
0.37037
0.119658
0
0
0
0
0
0.013746
0.195392
1,085
35
78
31
0.790378
0
0
0
0
0
0.060773
0
0
0
0
0
0.37037
1
0.259259
false
0
0.148148
0
0.444444
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
0
0
0
2
173a2e2737cf95c5b7e645d3cc9e1761a75a4307
514
py
Python
tests/utils.py
unplugstudio/mezzanine-webinars
5490015573e3c0e0e4ca84a0e6e2296e1b40983d
[ "0BSD" ]
1
2020-10-05T04:29:40.000Z
2020-10-05T04:29:40.000Z
tests/utils.py
unplugstudio/mezzanine-webinars
5490015573e3c0e0e4ca84a0e6e2296e1b40983d
[ "0BSD" ]
null
null
null
tests/utils.py
unplugstudio/mezzanine-webinars
5490015573e3c0e0e4ca84a0e6e2296e1b40983d
[ "0BSD" ]
null
null
null
from __future__ import unicode_literals, absolute_import from django.contrib.auth import get_user_model from django.test import TestCase from django_functest import FuncWebTestMixin, ShortcutLoginMixin User = get_user_model() class WebTestBase(FuncWebTestMixin, ShortcutLoginMixin, TestCase): @classmethod d...
28.555556
67
0.750973
57
514
6.561404
0.54386
0.080214
0.064171
0
0
0
0
0
0
0
0
0
0.167315
514
17
68
30.235294
0.873832
0
0
0
0
0
0.040856
0
0
0
0
0
0
1
0.083333
false
0.083333
0.333333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
2
174a108072a7425040a6e1d4b3e9df286ab3fff8
2,058
py
Python
credential_test.py
davidngatia/Locker
17decadbf81e41a9a11bbd4c4f6e47722e4c47ef
[ "MIT" ]
null
null
null
credential_test.py
davidngatia/Locker
17decadbf81e41a9a11bbd4c4f6e47722e4c47ef
[ "MIT" ]
null
null
null
credential_test.py
davidngatia/Locker
17decadbf81e41a9a11bbd4c4f6e47722e4c47ef
[ "MIT" ]
null
null
null
import unittest from credential import Credential class TestCredential(unittest.TestCase): """ Test class that defines test cases for the credential class behavioursself. Args: unittest.TestCase:TestCase class that helps in creating test cases """ def setUp(self): """ Set ...
29.826087
114
0.670068
231
2,058
5.78355
0.329004
0.078593
0.076347
0.049401
0.248503
0.176647
0.148204
0.098802
0.098802
0
0
0.009628
0.242954
2,058
68
115
30.264706
0.847882
0.305637
0
0.08
0
0
0.061093
0
0
0
0
0
0.28
1
0.28
false
0.12
0.08
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
175a268582095bc6d85f8d1042e01660c38d82f9
1,181
py
Python
tests/core/test_oauth2/test_rfc7591.py
YPCrumble/authlib
782a0fced780849418dc2a869528d10387e24b65
[ "BSD-3-Clause" ]
3,172
2017-11-11T05:54:14.000Z
2022-03-31T23:59:59.000Z
tests/core/test_oauth2/test_rfc7591.py
YPCrumble/authlib
782a0fced780849418dc2a869528d10387e24b65
[ "BSD-3-Clause" ]
397
2017-11-11T02:49:06.000Z
2022-03-31T21:02:37.000Z
tests/core/test_oauth2/test_rfc7591.py
YPCrumble/authlib
782a0fced780849418dc2a869528d10387e24b65
[ "BSD-3-Clause" ]
387
2017-11-18T08:59:56.000Z
2022-03-15T18:37:37.000Z
from unittest import TestCase from authlib.oauth2.rfc7591 import ClientMetadataClaims from authlib.jose.errors import InvalidClaimError class ClientMetadataClaimsTest(TestCase): def test_validate_redirect_uris(self): claims = ClientMetadataClaims({'redirect_uris': ['foo']}, {}) self.assertRaises(I...
39.366667
69
0.720576
115
1,181
7.191304
0.243478
0.050786
0.108827
0.261185
0.471584
0.471584
0.471584
0.407497
0.407497
0.3289
0
0.005071
0.165114
1,181
29
70
40.724138
0.833671
0
0
0.272727
0
0
0.062659
0
0
0
0
0
0.272727
1
0.272727
false
0
0.136364
0
0.454545
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
0
0
0
2
175e936e297cfc92b801df5418fec2dbbe973ecc
3,805
py
Python
python/examples/gtk_example.py
rambo/arDuBUS
d68ec05d75b3f463254039b31c31afec7e752f83
[ "MIT" ]
3
2016-01-31T21:48:37.000Z
2021-01-17T00:39:22.000Z
python/examples/gtk_example.py
rambo/arDuBUS
d68ec05d75b3f463254039b31c31afec7e752f83
[ "MIT" ]
null
null
null
python/examples/gtk_example.py
rambo/arDuBUS
d68ec05d75b3f463254039b31c31afec7e752f83
[ "MIT" ]
null
null
null
#!/usr/bin/env python """This is a very simple arDuBUS example reading one button and controlling PWM of one LED, use the provided YML to generate the Arduino code 1. Copy ardubus.yml.example to examples/ardubus.yml and symlink/copy examples/gtk_example_devices.yml to examples/devices.yml 2. Use bin/codegenerator.py e...
40.052632
141
0.686202
535
3,805
4.71215
0.347664
0.03927
0.031733
0.037683
0.204284
0.143197
0.084094
0.06188
0.06188
0.06188
0
0.013324
0.211038
3,805
94
142
40.478723
0.826449
0.096452
0
0
1
0
0.15071
0.013469
0
0
0
0
0
0
null
null
0
0.107143
null
null
0.035714
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
1
0
0
0
0
0
0
0
0
2
177af1ee9c9dc084c6c17ec6cb6801cdd9108b72
666
py
Python
app_python.py
BernLeWal/raskeytar_webapp
e391d33ade46bf42d8b7c530d3e3215ab59511f1
[ "MIT" ]
null
null
null
app_python.py
BernLeWal/raskeytar_webapp
e391d33ade46bf42d8b7c530d3e3215ab59511f1
[ "MIT" ]
null
null
null
app_python.py
BernLeWal/raskeytar_webapp
e391d33ade46bf42d8b7c530d3e3215ab59511f1
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # # The Website of raskeytar.at implemented in Python hosted by Flask. # from flask import Flask, send_from_directory from flask import request from flask import render_template webapp = Flask(__name__, template_folder="app_python") # Templates @webapp.route("/index.html") def send_inde...
23.785714
69
0.704204
91
666
4.901099
0.472527
0.060538
0.100897
0.112108
0.130045
0
0
0
0
0
0
0.016187
0.165165
666
27
70
24.666667
0.785971
0.196697
0
0.133333
0
0
0.149701
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
178af2d2169034400f79a3626b82d369e10c1d1b
1,639
py
Python
CS362_TESTS/jacobsonUnitTest2.py
IsaacMarquez907/CS361_GROUP_PROJECT
a72b28dbb2667bd1c7181217925f2240783b09da
[ "Unlicense" ]
1
2020-01-21T04:57:21.000Z
2020-01-21T04:57:21.000Z
CS362_TESTS/jacobsonUnitTest2.py
IsaacMarquez907/CS362_GROUP_PROJECT
a72b28dbb2667bd1c7181217925f2240783b09da
[ "Unlicense" ]
null
null
null
CS362_TESTS/jacobsonUnitTest2.py
IsaacMarquez907/CS362_GROUP_PROJECT
a72b28dbb2667bd1c7181217925f2240783b09da
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 # import necessary libraries import os import sys import unittest #allow the script to be run directly sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) #import function to test from youtube_dl.utils import clean_html #Unit test for the html clean f...
49.666667
317
0.71385
262
1,639
4.320611
0.40458
0.087456
0.053004
0.070671
0.305654
0.190813
0.160777
0.072438
0
0
0
0.007937
0.154362
1,639
33
318
49.666667
0.808802
0.208664
0
0
0
0.111111
0.453344
0.118974
0
0
0
0
0.277778
1
0.277778
false
0
0.222222
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
1
0
0
0
0
1
0
0
2
1791eb83fa46ddae9b97a7bd5231f71431d8f5b2
268
py
Python
pandaexcel.py
cenchaojun/pytorch-image-models
e4924ce077112a91a8bafdc351a4cf142e52a561
[ "Apache-2.0" ]
null
null
null
pandaexcel.py
cenchaojun/pytorch-image-models
e4924ce077112a91a8bafdc351a4cf142e52a561
[ "Apache-2.0" ]
null
null
null
pandaexcel.py
cenchaojun/pytorch-image-models
e4924ce077112a91a8bafdc351a4cf142e52a561
[ "Apache-2.0" ]
null
null
null
import pandas as pd def deal(): # 列表 company_name_list = ['12312', '141', '515', '41'] # list转dataframe df = pd.DataFrame(company_name_list) # 保存到本地excel df.to_csv("company_name_li.csv", index=False) if __name__ == '__main__': deal()
15.764706
53
0.623134
35
268
4.342857
0.714286
0.217105
0.197368
0
0
0
0
0
0
0
0
0.063107
0.231343
268
16
54
16.75
0.674757
0.104478
0
0
0
0
0.169492
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.285714
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bd63bc31388f866b14fdddf9b1cf07bcc62db28a
1,083
py
Python
tests/test_date_serialisation.py
thehyve/transmart_loader
699079b6254d7dbc12c6e7b42a2ab1bc96e65cf2
[ "MIT" ]
3
2019-04-02T08:45:08.000Z
2021-07-12T19:49:06.000Z
tests/test_date_serialisation.py
thehyve/transmart_loader
699079b6254d7dbc12c6e7b42a2ab1bc96e65cf2
[ "MIT" ]
16
2019-03-28T18:20:58.000Z
2022-01-11T14:44:44.000Z
tests/test_date_serialisation.py
thehyve/transmart_loader
699079b6254d7dbc12c6e7b42a2ab1bc96e65cf2
[ "MIT" ]
1
2019-09-13T17:15:51.000Z
2019-09-13T17:15:51.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """Tests for the date formatter of the TransmartCopyWriter. """ from datetime import datetime, timezone, date from dateutil.tz import gettz from transmart_loader.copy_writer import format_date, microseconds def test_date_serialization(): assert format_date( d...
36.1
70
0.619575
150
1,083
4.4
0.326667
0.106061
0.145455
0.181818
0.530303
0.530303
0.334848
0.304545
0.266667
0.181818
0
0.193939
0.238227
1,083
29
71
37.344828
0.606061
0.091413
0
0.363636
0
0
0.131148
0
0
0
0
0
0.272727
1
0.045455
true
0
0.136364
0
0.181818
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
1
0
0
0
0
0
0
2
bd6b86cefd1eb354983719d9c8a180e01e6adf9d
956
py
Python
strar/errors.py
martvanrijthoven/strar
d58a78eabd758778b9320b08302da5ab46f3e0a8
[ "MIT" ]
null
null
null
strar/errors.py
martvanrijthoven/strar
d58a78eabd758778b9320b08302da5ab46f3e0a8
[ "MIT" ]
1
2021-07-29T18:20:54.000Z
2021-07-29T18:20:54.000Z
strar/errors.py
martvanrijthoven/strar
d58a78eabd758778b9320b08302da5ab46f3e0a8
[ "MIT" ]
null
null
null
from dataclasses import dataclass from typing import Optional @dataclass(frozen=True) class RegistrantNotRegisteredError(Exception): """Raised when registrant name does not exist in the register""" cls: type registrant_name: str register: Optional[dict] def __post_init__(self): super()._...
28.969697
118
0.680962
115
956
5.321739
0.391304
0.091503
0.083333
0.088235
0.204248
0.127451
0.127451
0.127451
0
0
0
0
0.220711
956
32
119
29.875
0.821477
0.060669
0
0.173913
0
0.043478
0.292601
0.137892
0
0
0
0
0
1
0.217391
false
0
0.086957
0.130435
0.695652
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
bd6e354e01e0d40c1007ffc53dfa90ad2123c75b
6,514
py
Python
pru/SphereTurnArc.py
euctrl-pru/rt-python
da5d0040e250bd159845a0d43bf0b73eab368863
[ "MIT" ]
null
null
null
pru/SphereTurnArc.py
euctrl-pru/rt-python
da5d0040e250bd159845a0d43bf0b73eab368863
[ "MIT" ]
null
null
null
pru/SphereTurnArc.py
euctrl-pru/rt-python
da5d0040e250bd159845a0d43bf0b73eab368863
[ "MIT" ]
null
null
null
# Copyright (c) 2018 Via Technology Ltd. All Rights Reserved. # Consult your license regarding permissions and restrictions. """ This module supports turning arcs in Spherical Vector coordinates. """ import numpy as np from via_sphere import distance_radians, Arc3d MIN_TURN_ANGLE = np.deg2rad(1.0) """ The minimum tur...
28.199134
88
0.602548
785
6,514
4.833121
0.170701
0.056932
0.02135
0.023722
0.405904
0.352135
0.267791
0.249341
0.240907
0.229046
0
0.008116
0.300123
6,514
230
89
28.321739
0.824084
0.449493
0
0.164179
0
0
0.013547
0
0
0
0
0
0
1
0.238806
false
0
0.029851
0
0.537313
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
bd71df699f14eca41a956d896f303f361a9c4e80
3,537
bzl
Python
bazel/aprutil.bzl
arunvc/incubator-pagespeed-mod
10cb54ab31c2b153a20b2e70e56f7b2dfe0dfc00
[ "Apache-2.0" ]
535
2015-04-08T20:39:06.000Z
2018-01-04T03:19:47.000Z
bazel/aprutil.bzl
pagespeed/modpagespeed
6199d78ec7bbff506d497d880fbf0ac9e917c0aa
[ "MIT" ]
672
2015-04-08T13:15:58.000Z
2018-01-07T16:39:58.000Z
bazel/aprutil.bzl
pagespeed/modpagespeed
6199d78ec7bbff506d497d880fbf0ac9e917c0aa
[ "MIT" ]
100
2018-01-08T11:49:19.000Z
2022-02-13T05:53:04.000Z
aprutil_build_rule = """ cc_library( name = "aprutil", srcs = [ "@mod_pagespeed//third_party/aprutil:aprutil_pagespeed_memcache_c", 'buckets/apr_brigade.c', 'buckets/apr_buckets.c', 'buckets/apr_buckets_alloc.c', 'buckets/apr_buckets_eos.c', 'buckets/apr_buckets_...
31.864865
75
0.575912
449
3,537
4.278396
0.22049
0.154086
0.171786
0.112441
0.188964
0.088496
0.088496
0.041645
0
0
0
0.005712
0.257563
3,537
111
76
31.864865
0.725819
0.017246
0
0.037037
0
0
0.991364
0.592976
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bd8cf5360a2a130a3cceb67db3930ead44a1ce2e
1,390
py
Python
tests/test_base.py
1xch/fliki
a1e890e10907c4b6de09cbdbf09a1b6d3421f364
[ "MIT" ]
3
2020-04-25T07:53:56.000Z
2022-01-25T02:33:09.000Z
tests/test_base.py
1xch/fliki
a1e890e10907c4b6de09cbdbf09a1b6d3421f364
[ "MIT" ]
null
null
null
tests/test_base.py
1xch/fliki
a1e890e10907c4b6de09cbdbf09a1b6d3421f364
[ "MIT" ]
null
null
null
def test_base(app): assert app.extensions['fliki'] is not None def test_has_index(client): r = client.get('/test/', follow_redirects=True) assert b"Title: index\nSummary: base page for wiki" not in r.data assert b"Welcome to your flask-wiki" in r.data def test_new_page(client): r = client.get('/...
31.590909
79
0.646763
208
1,390
4.168269
0.225962
0.103806
0.175317
0.185698
0.576701
0.470588
0.264129
0.143022
0.143022
0.143022
0
0.00653
0.228777
1,390
43
80
32.325581
0.802239
0
0
0.096774
0
0
0.22518
0.015827
0
0
0
0
0.322581
1
0.225806
false
0
0
0
0.225806
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
0
0
0
2
bd9b5ced33f02eaecf4e5e434f4ff5f3219fee3b
781
py
Python
prodrop/exceptions.py
adambeagle/prodrop_project
53a9412ccff3045f71b42924d9c6615a1a26fb7e
[ "MIT" ]
3
2015-04-29T04:37:33.000Z
2019-03-31T04:44:15.000Z
prodrop/exceptions.py
adambeagle/prodrop_project
53a9412ccff3045f71b42924d9c6615a1a26fb7e
[ "MIT" ]
null
null
null
prodrop/exceptions.py
adambeagle/prodrop_project
53a9412ccff3045f71b42924d9c6615a1a26fb7e
[ "MIT" ]
null
null
null
""" exceptions.py Author: Adam Beagle PURPOSE: Contains all custom exception classes for the prodrop package. """ ############################################################################### # ParseTreeError and iheritors class ParseTreeError(Exception): """Base class for all parse tree related errors.""" ...
19.525
79
0.606914
59
781
8.033898
0.559322
0.113924
0.122363
0
0
0
0
0
0
0
0
0
0.135723
781
39
80
20.025641
0.702222
0.243278
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
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
2
bda0d9864bad33973bec6b4960b18db4217b7d80
259
py
Python
fudbyte/apps/core/urls.py
niieq/fudbyte
b8f7339908492d64858ca7d8471b5b45f7b4e097
[ "BSD-3-Clause" ]
null
null
null
fudbyte/apps/core/urls.py
niieq/fudbyte
b8f7339908492d64858ca7d8471b5b45f7b4e097
[ "BSD-3-Clause" ]
5
2021-03-19T03:03:36.000Z
2022-01-13T01:33:56.000Z
fudbyte/apps/core/urls.py
niieq/fudbyte
b8f7339908492d64858ca7d8471b5b45f7b4e097
[ "BSD-3-Clause" ]
null
null
null
from django.conf.urls import url from .views import index, food_detail, post_food_comment urlpatterns = [ url(r'^$', index), url(r'^food/(?P<food_slug>[-\w]+)$', food_detail), url(r'^food/(?P<food_slug>[-\w]+)/add_comment$', post_food_comment) ]
28.777778
71
0.664093
40
259
4.075
0.45
0.07362
0.184049
0.110429
0.220859
0.220859
0.220859
0
0
0
0
0
0.127413
259
9
72
28.777778
0.721239
0
0
0
0
0
0.269231
0.261538
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
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
0
0
0
0
0
2
bdb242786fb31331e64164b3360ac2301da48549
850
py
Python
config.py
Johnsoneer/The-Quote-Book
deaf7d8b80524b81b317542c85017691766e91c5
[ "MIT" ]
null
null
null
config.py
Johnsoneer/The-Quote-Book
deaf7d8b80524b81b317542c85017691766e91c5
[ "MIT" ]
2
2020-05-17T03:57:04.000Z
2020-05-25T22:51:45.000Z
config.py
Johnsoneer/The-Quote-Book
deaf7d8b80524b81b317542c85017691766e91c5
[ "MIT" ]
null
null
null
from app.env import env ''' Uses environment variables to secure secrets whilst giving our server the ability to access certain key parameters for things like emailing users managing csrf tokens. ''' class Config(object): SECRET_KEY = env.SECRET_KEY DATABASE_USER = env.DATABASE_USER DATABASE_PASSWORD =...
38.636364
196
0.768235
116
850
5.405172
0.603448
0.055821
0.082935
0
0
0
0
0
0
0
0
0.011142
0.155294
850
21
197
40.47619
0.862117
0
0
0
0
0.071429
0.188988
0.188988
0
0
0
0
0
1
0
false
0.214286
0.071429
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
bde8426c0d8644b6fab4629a7d4b53755445dcc6
3,127
py
Python
tests/test_config_debug.py
nmichlo/eunomia
5c6ef13b5af5335d4437867953b5eaa872ac56bb
[ "MIT" ]
3
2021-02-07T17:55:46.000Z
2021-02-15T11:58:36.000Z
tests/test_config_debug.py
nmichlo/eunomia
5c6ef13b5af5335d4437867953b5eaa872ac56bb
[ "MIT" ]
null
null
null
tests/test_config_debug.py
nmichlo/eunomia
5c6ef13b5af5335d4437867953b5eaa872ac56bb
[ "MIT" ]
null
null
null
import re from eunomia.config.nodes import SubNode from tests.test_backend_obj import _make_config_group from tests.util import temp_capture_stdout # ========================================================================= # # Test Config Objects # # ==========...
67.978261
738
0.589703
440
3,127
4.240909
0.206818
0.075027
0.081458
0.05895
0.722401
0.673633
0.628081
0.599678
0.599678
0.582529
0
0.08496
0.164375
3,127
45
739
69.488889
0.601607
0.192837
0
0.25
0
0.166667
0.600877
0.334928
0
0
0
0.022222
0.208333
1
0.041667
false
0
0.166667
0
0.208333
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
2
bdfcabaebcc317de2b6e9a615df1e8d6a157dbc9
752
py
Python
portfolio/migrations/0008_auto_20190225_1927.py
sarath196/Portfolio-Web-Theme
0c9d5b373e49e8f9dfbafd8a098490cb678c18ba
[ "MIT" ]
3
2020-08-10T06:54:31.000Z
2022-03-28T01:31:57.000Z
portfolio/migrations/0008_auto_20190225_1927.py
sarath196/Portfolio-Web-Theme
0c9d5b373e49e8f9dfbafd8a098490cb678c18ba
[ "MIT" ]
9
2021-04-08T20:32:26.000Z
2022-03-12T00:30:09.000Z
portfolio/migrations/0008_auto_20190225_1927.py
sarath196/Portfolio-Web-Theme
0c9d5b373e49e8f9dfbafd8a098490cb678c18ba
[ "MIT" ]
1
2020-10-07T09:08:15.000Z
2020-10-07T09:08:15.000Z
# Generated by Django 2.0 on 2019-02-25 19:27 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('portfolio', '0007_auto_20190225_1849'), ] operations = [ migrations.AddField( model_name='portfoliopage', name='git_ur...
25.931034
74
0.579787
75
752
5.693333
0.56
0.126464
0.161593
0.189696
0.491803
0.491803
0.388759
0.388759
0.388759
0.388759
0
0.063098
0.304521
752
28
75
26.857143
0.753346
0.057181
0
0.5
1
0
0.135785
0.032532
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
da023176d7d05d70f3e87d1bef8d28dfee1d16b8
11,871
py
Python
katachi/tools/assign_landmarks.py
WhoIsJack/data-driven-analysis-lateralline
0111c9e06e0cac57e4707b3fcb1553ca5ba4f236
[ "MIT" ]
3
2020-06-09T13:48:14.000Z
2021-01-29T13:50:19.000Z
katachi/tools/assign_landmarks.py
WhoIsJack/data-driven-analysis-lateralline
0111c9e06e0cac57e4707b3fcb1553ca5ba4f236
[ "MIT" ]
null
null
null
katachi/tools/assign_landmarks.py
WhoIsJack/data-driven-analysis-lateralline
0111c9e06e0cac57e4707b3fcb1553ca5ba4f236
[ "MIT" ]
2
2020-05-29T12:52:24.000Z
2021-09-04T12:20:46.000Z
# -*- coding: utf-8 -*- """ Created on Wed Nov 22 11:04:07 2017 @author: Jonas Hartmann @ Gilmour group @ EMBL Heidelberg @descript: Generates a sparse 3D point cloud representation for each cell in a segmented stack based on the intensity distribution of a second stack within the cell's s...
42.095745
79
0.631118
1,566
11,871
4.678161
0.215198
0.013104
0.018155
0.007644
0.404177
0.36309
0.306716
0.271908
0.251297
0.208982
0
0.005913
0.259203
11,871
281
80
42.245552
0.827155
0.118524
0
0.22549
1
0
0.10923
0
0
0
0
0
0
0
null
null
0
0.068627
null
null
0.078431
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
1
0
0
0
0
0
0
0
0
2
da1736ff245e4b96b34e6bebf1a1fb4271ca46a1
550
py
Python
users/factories.py
bllli/Django-China-API
79a5d85fe88ba7784d08d370b8e7519f7274f208
[ "MIT" ]
187
2018-03-08T11:18:11.000Z
2021-12-26T13:29:02.000Z
users/factories.py
bllli/Django-China-API
79a5d85fe88ba7784d08d370b8e7519f7274f208
[ "MIT" ]
67
2018-03-09T14:56:47.000Z
2021-06-24T08:52:40.000Z
users/factories.py
bllli/Django-China-API
79a5d85fe88ba7784d08d370b8e7519f7274f208
[ "MIT" ]
52
2018-03-08T11:18:12.000Z
2021-08-02T16:07:04.000Z
# factories that automatically create user data import factory from users.models import User class UserFactory(factory.DjangoModelFactory): class Meta: model = User username = factory.Sequence(lambda n: 'user%s' % n) email = factory.LazyAttribute(lambda o: '%s@example.com' % o.username) pass...
27.5
74
0.696364
65
550
5.8
0.584615
0.05305
0
0
0
0
0
0
0
0
0
0
0.198182
550
19
75
28.947368
0.854875
0.081818
0
0
0
0
0.055666
0
0
0
0
0
0
1
0.076923
false
0.076923
0.153846
0
0.769231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
da29ac80359dc38527fef0e92ad8e2970ade5281
4,821
py
Python
lib/solutions/checkout.py
DPNT-Sourcecode/CHK-hqvw01
5dc4e1d7ae873fcc0648b1563fa5945121078aac
[ "Apache-2.0" ]
null
null
null
lib/solutions/checkout.py
DPNT-Sourcecode/CHK-hqvw01
5dc4e1d7ae873fcc0648b1563fa5945121078aac
[ "Apache-2.0" ]
null
null
null
lib/solutions/checkout.py
DPNT-Sourcecode/CHK-hqvw01
5dc4e1d7ae873fcc0648b1563fa5945121078aac
[ "Apache-2.0" ]
null
null
null
# Basic price table, without offers PRICES = {"A": 50, "B": 30, "C": 20, "D": 15, "E": 40, "F": 10, "G": 20, "H": 10, "I": 35, "J": 60, "K": 70, "L": 90, "M": 15, "N": 40, "O": 1...
30.707006
80
0.507986
672
4,821
3.316964
0.199405
0.13459
0.269179
0.15074
0.474652
0.366083
0.366083
0.349035
0.318528
0.318528
0
0.036409
0.327733
4,821
156
81
30.903846
0.651342
0.169467
0
0.061856
0
0
0.012299
0
0
0
0
0
0
0
null
null
0
0
null
null
0.020619
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
da61250aa6643c4a337c5f2a9ca191ecdb0ddab5
645
py
Python
baseline/CLIP-zero-shot/detection/sliding_params.py
Wuziyi616/slot_attention
ef9ddc9be1a29dc4a42dff5cdbed1dc308bc8230
[ "Apache-2.0" ]
null
null
null
baseline/CLIP-zero-shot/detection/sliding_params.py
Wuziyi616/slot_attention
ef9ddc9be1a29dc4a42dff5cdbed1dc308bc8230
[ "Apache-2.0" ]
null
null
null
baseline/CLIP-zero-shot/detection/sliding_params.py
Wuziyi616/slot_attention
ef9ddc9be1a29dc4a42dff5cdbed1dc308bc8230
[ "Apache-2.0" ]
1
2021-11-11T19:44:14.000Z
2021-11-11T19:44:14.000Z
from typing import Tuple import attr @attr.s(auto_attribs=True) class SlidingParams: # model configs resolution: Tuple[int, int] = (256, 256) # since we not using ViT num_slots: int = 7 # at most 6 obj per image/video # architecture of CLIP pre-trained model clip_arch: str = 'ViT-B/32' # ...
30.714286
82
0.705426
94
645
4.734043
0.670213
0.031461
0.044944
0.067416
0.220225
0.139326
0
0
0
0
0
0.031189
0.204651
645
20
83
32.25
0.836257
0.420155
0
0
0
0
0.172603
0.150685
0
0
0
0
0
1
0
true
0
0.2
0
0.9
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
2
da74c164beb57516cd28e526f1f970f9e510784c
1,033
py
Python
examples/convert_text_to_paths.py
CatherineH/svgpathtools
fecfaa33a83c4c7541b7f1c908ee4ec50989e64c
[ "MIT" ]
2
2019-11-15T08:44:38.000Z
2022-03-09T10:14:25.000Z
examples/convert_text_to_paths.py
CatherineH/svgpathtools
fecfaa33a83c4c7541b7f1c908ee4ec50989e64c
[ "MIT" ]
null
null
null
examples/convert_text_to_paths.py
CatherineH/svgpathtools
fecfaa33a83c4c7541b7f1c908ee4ec50989e64c
[ "MIT" ]
1
2020-04-03T09:45:15.000Z
2020-04-03T09:45:15.000Z
from xml.dom.minidom import parseString from svgpathtools import svgdoc2paths, wsvg example_text = '<svg>' \ ' <rect x="100" y="100" height="200" width="200" style="fill:#0ff;" />' \ ' <line x1="200" y1="200" x2="200" y2="300" />' \ ' <line x1="200" y1="200" x2="300" y2...
44.913043
89
0.465634
134
1,033
3.574627
0.343284
0.112735
0.083507
0.125261
0.281837
0.281837
0.141962
0.141962
0
0
0
0.183956
0.300097
1,033
23
90
44.913043
0.478562
0
0
0
0
0.333333
0.585106
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
16f1f95d365d862943c43fad1bfc0be2e30bd679
10,725
py
Python
plotcollection.py
camminady/camminapy
99276a9e9c4f59c1fa5706ae0618fe63963aeed5
[ "MIT" ]
null
null
null
plotcollection.py
camminady/camminapy
99276a9e9c4f59c1fa5706ae0618fe63963aeed5
[ "MIT" ]
null
null
null
plotcollection.py
camminady/camminapy
99276a9e9c4f59c1fa5706ae0618fe63963aeed5
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt from scipy.interpolate import RegularGridInterpolator, interp1d import kitcolors as kit from scipy.interpolate import interp1d from scipy.interpolate import RegularGridInterpolator from .getvalues import getcircles, getcuts import os from scipy.special import sph_harm ...
33.62069
99
0.573427
1,749
10,725
3.473413
0.128645
0.025021
0.031605
0.016461
0.77284
0.716872
0.699259
0.695473
0.660576
0.615309
0
0.067646
0.21296
10,725
318
100
33.726415
0.652055
0.221725
0
0.522727
0
0
0.090755
0.007362
0
0
0
0
0
1
0.036364
false
0.004545
0.077273
0
0.113636
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
16fa58008fe4cfaa085d3c9228736ec7d6489130
190
py
Python
fastapi/test/test_app.py
oslokommune/lambda-boilerplate
a0c7c10754a0bc2d146b52c65de66a03856c9c46
[ "MIT" ]
null
null
null
fastapi/test/test_app.py
oslokommune/lambda-boilerplate
a0c7c10754a0bc2d146b52c65de66a03856c9c46
[ "MIT" ]
null
null
null
fastapi/test/test_app.py
oslokommune/lambda-boilerplate
a0c7c10754a0bc2d146b52c65de66a03856c9c46
[ "MIT" ]
null
null
null
from aws_xray_sdk.core import xray_recorder import app xray_recorder.begin_segment("Test") def test_read_root(): response = app.read_root() assert response == {"hello": "world"}
17.272727
43
0.731579
27
190
4.851852
0.666667
0.183206
0
0
0
0
0
0
0
0
0
0
0.152632
190
10
44
19
0.813665
0
0
0
0
0
0.073684
0
0
0
0
0
0.166667
1
0.166667
false
0
0.333333
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
e5058910eaa60dfd470ee4a373cfe0234f6ad70f
3,052
py
Python
config/v1.py
shucheng-ai/WDA-web-server
6709c2558c7262ba832c2b2401bc9b6d3a706b92
[ "Apache-2.0" ]
null
null
null
config/v1.py
shucheng-ai/WDA-web-server
6709c2558c7262ba832c2b2401bc9b6d3a706b92
[ "Apache-2.0" ]
null
null
null
config/v1.py
shucheng-ai/WDA-web-server
6709c2558c7262ba832c2b2401bc9b6d3a706b92
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # coding:utf-8 import os import sys """ config 1.0 """ DEBUG = True HOST = '0.0.0.0' PORT = 8000 NAME = 'layout' DEPLOY = 0 # 0: 单机部署 ; 1: 接入云服务器 HOMEPAGE = "/projects" ERRPAGE = "/404" TEST_ID = 0 # path _PATH = os.path.abspath(os.path.dirname(__file__)) APP_PATH = os.path.abspath(os.path.di...
27.25
89
0.72772
528
3,052
3.994318
0.174242
0.159317
0.172594
0.199147
0.542911
0.514462
0.491228
0.390232
0.367947
0.252726
0
0.032847
0.102228
3,052
111
90
27.495496
0.736861
0.069135
0
0.088235
0
0
0.122238
0.008553
0
0
0
0
0
1
0
false
0.058824
0.058824
0
0.058824
0.044118
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
0
0
0
2
e50e5f946f2fbde0d4e757f3df09b377f67be58d
333
py
Python
uwtools/__init__.py
AlexEidt/uwtools
33ba159059cb3b6981a47cda5a8d92e1966011c3
[ "MIT" ]
7
2020-06-19T01:40:01.000Z
2021-06-28T22:41:20.000Z
uwtools/__init__.py
AlexEidt/uwtools
33ba159059cb3b6981a47cda5a8d92e1966011c3
[ "MIT" ]
null
null
null
uwtools/__init__.py
AlexEidt/uwtools
33ba159059cb3b6981a47cda5a8d92e1966011c3
[ "MIT" ]
1
2021-05-31T14:16:24.000Z
2021-05-31T14:16:24.000Z
from .parse_courses import parse_catalogs as course_catalogs from .parse_courses import get_departments as departments from .parse_schedules import gather as time_schedules from .parse_schedules import get_academic_year as academic_year from .parse_buildings import get_buildings as buildings from .parse_buildings i...
33.3
63
0.870871
48
333
5.75
0.333333
0.195652
0.115942
0.15942
0
0
0
0
0
0
0
0
0.111111
333
10
64
33.3
0.932432
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
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
2
e5296bb78e888268080237498f92c050c11591ae
692
py
Python
halotools/utils/__init__.py
aphearin/halotools
10a23ab83638d8f6f98c30862455fe152d8f322b
[ "BSD-3-Clause" ]
null
null
null
halotools/utils/__init__.py
aphearin/halotools
10a23ab83638d8f6f98c30862455fe152d8f322b
[ "BSD-3-Clause" ]
27
2015-01-14T18:21:50.000Z
2018-07-10T05:44:21.000Z
halotools/utils/__init__.py
aphearin/halotools
10a23ab83638d8f6f98c30862455fe152d8f322b
[ "BSD-3-Clause" ]
2
2015-09-30T01:06:58.000Z
2018-04-29T11:40:08.000Z
r""" This module contains helper functions used throughout the Halotools package. """ from __future__ import division, print_function, absolute_import, unicode_literals from .spherical_geometry import * from .array_utils import * from .io_utils import * from .table_utils import * from .value_added_halo_table_functions...
38.444444
82
0.848266
86
692
6.476744
0.569767
0.16158
0.08079
0
0
0
0
0
0
0
0
0
0.104046
692
17
83
40.705882
0.898387
0.109827
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.933333
0
0.933333
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
0
1
0
1
0
0
0
0
2
e52ecd6a625914412c003f3784ee18641a2a8f2a
133
py
Python
src/model_params.py
madhu121/Image-Driven-Machine-Learning-Approach-for-Microstructure-Classification-and-Segmentation-Ti-6Al-4V
40fab48534f4c85b703107722f8657838dd9b5db
[ "MIT" ]
null
null
null
src/model_params.py
madhu121/Image-Driven-Machine-Learning-Approach-for-Microstructure-Classification-and-Segmentation-Ti-6Al-4V
40fab48534f4c85b703107722f8657838dd9b5db
[ "MIT" ]
null
null
null
src/model_params.py
madhu121/Image-Driven-Machine-Learning-Approach-for-Microstructure-Classification-and-Segmentation-Ti-6Al-4V
40fab48534f4c85b703107722f8657838dd9b5db
[ "MIT" ]
null
null
null
width=200 height=200 total_size = 1000 train_size = 800 validation_size = 100 test_size = total_size - train_size - validation_size
16.625
53
0.796992
21
133
4.714286
0.52381
0.181818
0
0
0
0
0
0
0
0
0
0.140351
0.142857
133
7
54
19
0.72807
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
2
e54ff93b2371715251b0154f447be41278f70413
882
py
Python
presqt/api_v1/utilities/validation/get_process_info_data.py
craig-willis/presqt
b920527bf8998696f516d65a50f0a5c3862c4558
[ "Apache-2.0" ]
null
null
null
presqt/api_v1/utilities/validation/get_process_info_data.py
craig-willis/presqt
b920527bf8998696f516d65a50f0a5c3862c4558
[ "Apache-2.0" ]
null
null
null
presqt/api_v1/utilities/validation/get_process_info_data.py
craig-willis/presqt
b920527bf8998696f516d65a50f0a5c3862c4558
[ "Apache-2.0" ]
null
null
null
from rest_framework import status from presqt.utilities import read_file from presqt.utilities import PresQTValidationError def get_process_info_data(action, ticket_number): """ Get the JSON from process_info.json in the requested ticket number directory. Parameters ---------- action : str ...
33.923077
103
0.696145
103
882
5.786408
0.456311
0.161074
0.075503
0.083893
0
0
0
0
0
0
0
0.004386
0.22449
882
26
104
33.923077
0.866959
0.390023
0
0
0
0
0.156057
0.069815
0
0
0
0
0
1
0.111111
false
0
0.333333
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
0
0
1
0
1
0
0
2
e55300fb2b77294b6126a7a16c410c7d7ccb2fbf
1,906
py
Python
TASSELpy/net/maizegenetics/dna/snp/CoreGenotypeTable.py
er432/TASSELpy
2273d2252786679e023d1279f0c717a29ddd6d35
[ "BSD-3-Clause" ]
1
2015-11-30T21:54:19.000Z
2015-11-30T21:54:19.000Z
TASSELpy/net/maizegenetics/dna/snp/CoreGenotypeTable.py
er432/TASSELpy
2273d2252786679e023d1279f0c717a29ddd6d35
[ "BSD-3-Clause" ]
null
null
null
TASSELpy/net/maizegenetics/dna/snp/CoreGenotypeTable.py
er432/TASSELpy
2273d2252786679e023d1279f0c717a29ddd6d35
[ "BSD-3-Clause" ]
null
null
null
from TASSELpy.net.maizegenetics.dna.snp.GenotypeTable import GenotypeTable from TASSELpy.utils.helper import make_sig from TASSELpy.utils.Overloading import javaConstructorOverload import javabridge ## Dictionary to hold java imports java_imports = {'AlleleDepth':'net/maizegenetics/dna/snp/depth/AlleleDepth', ...
51.513514
102
0.681007
164
1,906
7.792683
0.292683
0.103286
0.118936
0.103286
0.303599
0.248826
0.248826
0.120501
0.120501
0.120501
0
0
0.206716
1,906
36
103
52.944444
0.845238
0.164743
0
0.086957
0
0
0.387875
0.232073
0
0
0
0
0
1
0.043478
false
0.043478
0.521739
0
0.652174
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
e557815675f8359c91c5c855cfa87591bb61e665
579
py
Python
drfxios/context_processors.py
milano-slesarik/django-drfxios
39b3f55aa45fac41e17d34d34a84060ad722291f
[ "MIT" ]
2
2020-05-04T15:01:45.000Z
2020-05-15T22:57:43.000Z
drfxios/context_processors.py
milano-slesarik/django-drfxios
39b3f55aa45fac41e17d34d34a84060ad722291f
[ "MIT" ]
null
null
null
drfxios/context_processors.py
milano-slesarik/django-drfxios
39b3f55aa45fac41e17d34d34a84060ad722291f
[ "MIT" ]
null
null
null
import json from django.conf import settings from django.core.exceptions import ImproperlyConfigured from django.utils.module_loading import import_string def drfxios(request): DRFXIOS_ROUTER_PATH = getattr(settings, 'DRFXIOS_ROUTER_PATH', None) if not DRFXIOS_ROUTER_PATH: raise ImproperlyConfigured(...
28.95
84
0.720207
73
579
5.493151
0.506849
0.162095
0.21197
0
0
0
0
0
0
0
0
0.002169
0.2038
579
19
85
30.473684
0.867679
0
0
0
0
0
0.143351
0
0
0
0
0
0
1
0.0625
false
0
0.3125
0
0.4375
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
0
0
0
2
e55a167f2912fbe419aaea958649982fd16ef4d9
9,780
py
Python
pysnmp/ELTEX-MES-BRIDGE-EXT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/ELTEX-MES-BRIDGE-EXT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/ELTEX-MES-BRIDGE-EXT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module ELTEX-MES-BRIDGE-EXT-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ELTEX-MES-BRIDGE-EXT-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:46:17 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7....
123.797468
1,756
0.784356
1,010
9,780
7.59505
0.153465
0.009386
0.011341
0.015122
0.330074
0.270369
0.252901
0.244818
0.227089
0.218224
0
0.104519
0.081391
9,780
78
1,757
125.384615
0.749332
0.034969
0
0
0
0
0.120161
0.031393
0
0
0
0
0
1
0
false
0
0.142857
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e55eb75b1aedbfa2d34ba6b3c54359f14b6f94ac
231
py
Python
backend/core/urls.py
open-contracting/pelican-frontend
136421f6dc0b8269d689c0ddaf49ebbe5ebf3691
[ "BSD-3-Clause" ]
null
null
null
backend/core/urls.py
open-contracting/pelican-frontend
136421f6dc0b8269d689c0ddaf49ebbe5ebf3691
[ "BSD-3-Clause" ]
57
2021-06-29T15:09:22.000Z
2022-01-28T18:21:23.000Z
backend/core/urls.py
open-contracting/pelican-frontend
136421f6dc0b8269d689c0ddaf49ebbe5ebf3691
[ "BSD-3-Clause" ]
null
null
null
from django.urls import include, path urlpatterns = [ path("", include("dqt.urls"), name="api"), path("datasets/", include("controller.urls"), name="controller"), path("", include("exporter.urls"), name="exporter"), ]
28.875
69
0.645022
26
231
5.730769
0.5
0.161074
0
0
0
0
0
0
0
0
0
0
0.134199
231
7
70
33
0.745
0
0
0
0
0
0.285714
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2