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
8c589124ac7bc0eabe9f3a0e18ce5e6539db153b
230
py
Python
netflix_problems/problem_1.py
loftwah/Daily-Coding-Problem
0327f0b4f69ef419436846c831110795c7a3c1fe
[ "MIT" ]
129
2018-10-14T17:52:29.000Z
2022-01-29T15:45:57.000Z
netflix_problems/problem_1.py
loftwah/Daily-Coding-Problem
0327f0b4f69ef419436846c831110795c7a3c1fe
[ "MIT" ]
2
2019-11-30T23:28:23.000Z
2020-01-03T16:30:32.000Z
netflix_problems/problem_1.py
loftwah/Daily-Coding-Problem
0327f0b4f69ef419436846c831110795c7a3c1fe
[ "MIT" ]
60
2019-02-21T09:18:31.000Z
2022-03-25T21:01:04.000Z
"""This problem was asked by Netflix. Given a sorted list of integers of length N, determine if an element x is in the list without performing any multiplication, division, or bit-shift operations. Do this in O(log N) time """
28.75
81
0.756522
40
230
4.35
0.875
0
0
0
0
0
0
0
0
0
0
0
0.182609
230
7
82
32.857143
0.925532
0.965217
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
4fc85891deb0cb94f6ed4b7b69ab52271d10d12d
286
py
Python
ecom/api/payment/urls.py
detkartik/mystore
0e2fc4e775cc97c09c6016ef77adb53f7f6b7f27
[ "MIT" ]
null
null
null
ecom/api/payment/urls.py
detkartik/mystore
0e2fc4e775cc97c09c6016ef77adb53f7f6b7f27
[ "MIT" ]
null
null
null
ecom/api/payment/urls.py
detkartik/mystore
0e2fc4e775cc97c09c6016ef77adb53f7f6b7f27
[ "MIT" ]
null
null
null
from rest_framework import routers from django.urls import path,include from . import views urlpatterns = [ path('gettoken/<str:id>/<str:token>/',views.generate_token,name="token.generate"), path('process/<str:id>/<str:token>/',views.process_payment,name="payment.process"), ]
31.777778
87
0.737762
39
286
5.333333
0.487179
0.048077
0.076923
0.125
0.173077
0
0
0
0
0
0
0
0.094406
286
9
88
31.777778
0.803089
0
0
0
1
0
0.30662
0.205575
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
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
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8b3b685f7f9b86c6d5675e08d9f4104c9cb89d5f
150
py
Python
examples/pets/cat/__init__.py
ellethee/argparseinator
f333282429a81c6965e93472fa24bde203275b31
[ "MIT" ]
5
2017-06-16T08:11:16.000Z
2018-12-17T15:55:11.000Z
examples/pets/cat/__init__.py
ellethee/argparseinator
f333282429a81c6965e93472fa24bde203275b31
[ "MIT" ]
null
null
null
examples/pets/cat/__init__.py
ellethee/argparseinator
f333282429a81c6965e93472fa24bde203275b31
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ === Cat === Does the cat's things. """ from argparseinator import get_compiled import cat.commands __version__ = "0.0.1"
12.5
39
0.646667
21
150
4.380952
0.809524
0
0
0
0
0
0
0
0
0
0
0.031746
0.16
150
11
40
13.636364
0.698413
0.386667
0
0
0
0
0.059524
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
8b46fabea7a9262a12a8baea869ece151c0f1419
385
py
Python
examples/save_tree_2_file.py
caiquanyou/treelib
2c91e62aca9e39467792e6cd2b3e84b12101cbe9
[ "Apache-2.0" ]
582
2015-01-06T19:12:58.000Z
2022-03-31T02:24:05.000Z
examples/save_tree_2_file.py
caiquanyou/treelib
2c91e62aca9e39467792e6cd2b3e84b12101cbe9
[ "Apache-2.0" ]
118
2015-01-17T06:25:50.000Z
2022-03-31T14:38:03.000Z
examples/save_tree_2_file.py
caiquanyou/treelib
2c91e62aca9e39467792e6cd2b3e84b12101cbe9
[ "Apache-2.0" ]
170
2015-02-10T16:07:15.000Z
2022-03-23T17:57:27.000Z
# -*- coding: utf-8 -*- from treelib import Tree tree = Tree() tree.create_node("Harry", "harry") # root node tree.create_node("Jane", "jane", parent="harry") tree.create_node("Bill", "bill", parent="harry") tree.create_node("Diane", "diane", parent="jane") tree.create_node("Mary", "mary", parent="diane") tree.creat...
29.615385
49
0.680519
55
385
4.654545
0.345455
0.234375
0.328125
0.164063
0.195313
0
0
0
0
0
0
0.005731
0.093506
385
12
50
32.083333
0.727794
0.080519
0
0
0
0
0.236467
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8b49f14476a17f94fbd32e40fe2247cdefd2d212
305
py
Python
app/checkout_backend/interfaces/offer_repository.py
jcazallasc/lana-python-challenge
134ef30b6dcc7c323c90df8992b194741f071d95
[ "MIT" ]
null
null
null
app/checkout_backend/interfaces/offer_repository.py
jcazallasc/lana-python-challenge
134ef30b6dcc7c323c90df8992b194741f071d95
[ "MIT" ]
null
null
null
app/checkout_backend/interfaces/offer_repository.py
jcazallasc/lana-python-challenge
134ef30b6dcc7c323c90df8992b194741f071d95
[ "MIT" ]
null
null
null
from typing import List from checkout_backend.entities.offer_entity import OfferEntity class OfferRepository: def update_or_create(self, product_code: str, defaults: dict) -> OfferEntity: raise NotImplementedError def all(self) -> List[OfferEntity]: raise NotImplementedError
23.461538
81
0.757377
34
305
6.647059
0.735294
0.141593
0.309735
0
0
0
0
0
0
0
0
0
0.180328
305
12
82
25.416667
0.904
0
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0
0.714286
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
8c680b9a5240b9764076161f6b2f8eb7058d573a
4,006
py
Python
dnn/initialization.py
makramjandar/OopsDeepNeuralNetworkFromScratch...
c58755016e41cb01416aaf6bb67e84ba070d9f04
[ "Apache-2.0" ]
1
2020-08-05T23:26:51.000Z
2020-08-05T23:26:51.000Z
dnn/initialization.py
makramjandar/Object-Oriented-Deep-Neural-Networks
c58755016e41cb01416aaf6bb67e84ba070d9f04
[ "Apache-2.0" ]
null
null
null
dnn/initialization.py
makramjandar/Object-Oriented-Deep-Neural-Networks
c58755016e41cb01416aaf6bb67e84ba070d9f04
[ "Apache-2.0" ]
1
2020-08-25T12:08:17.000Z
2020-08-25T12:08:17.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- # @uthor: Makram Jandar # ____ ___ ____ ______ ____ ___ _ ____ _____ ___ ______ ____ _ ___ # | | \| | | |/ | | | | |/ | | / \| \ # | || _ || || || || o | | | ||__/ | o | || | | _ | ...
45.011236
84
0.430604
355
4,006
4.515493
0.23662
0.300062
0.296943
0.215221
0.461634
0.461634
0.444791
0.444791
0.424205
0.409233
0
0.024555
0.410384
4,006
88
85
45.522727
0.653683
0.304044
0
0.333333
0
0
0.024078
0
0
0
0
0
0
1
0.041667
false
0
0.041667
0
0.145833
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8c68646f02d8c5a86ac27f86598dd788477fd584
137
py
Python
pipecaster/single_channel_pipeline.py
ajcallegari/pipecaster
dc283db67662385a54179310e3dbede04ec3db84
[ "MIT" ]
null
null
null
pipecaster/single_channel_pipeline.py
ajcallegari/pipecaster
dc283db67662385a54179310e3dbede04ec3db84
[ "MIT" ]
1
2021-03-26T21:06:06.000Z
2021-03-26T21:06:06.000Z
pipecaster/single_channel_pipeline.py
ajcallegari/pipecaster
dc283db67662385a54179310e3dbede04ec3db84
[ "MIT" ]
null
null
null
""" Replacement for the scikit-learn single channel pipeline. """ __all__ = ['Pipeline'] class Pipeline(Clonable, Saveable): pass
13.7
57
0.708029
15
137
6.2
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.167883
137
9
58
15.222222
0.815789
0.416058
0
0
0
0
0.111111
0
0
0
0
0
0
1
0
false
0.333333
0
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
8c6a28d0ecfe63b38eec8557ec7546dd74ff6bcc
341
py
Python
SUAVE/SUAVE-2.5.0/trunk/SUAVE/Core/__init__.py
Vinicius-Tanigawa/Undergraduate-Research-Project
e92372f07882484b127d7affe305eeec2238b8a9
[ "MIT" ]
null
null
null
SUAVE/SUAVE-2.5.0/trunk/SUAVE/Core/__init__.py
Vinicius-Tanigawa/Undergraduate-Research-Project
e92372f07882484b127d7affe305eeec2238b8a9
[ "MIT" ]
null
null
null
SUAVE/SUAVE-2.5.0/trunk/SUAVE/Core/__init__.py
Vinicius-Tanigawa/Undergraduate-Research-Project
e92372f07882484b127d7affe305eeec2238b8a9
[ "MIT" ]
null
null
null
## @defgroup Core # Core is all the under the hood magic that makes SUAVE work. from .Arrays import * from .Data import Data from .DataOrdered import DataOrdered from .Diffed_Data import Diffed_Data, diff from .Container import Container from .ContainerOrdered import ContainerOrdered fro...
28.416667
61
0.73607
44
341
5.659091
0.5
0.080321
0
0
0
0
0
0
0
0
0
0
0.222874
341
12
62
28.416667
0.939623
0.217009
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
8c99972301f930df6a344438ebc00893a62e08a9
1,791
py
Python
Python/npd.py
markvilar/Cardinal
a3d87d34ed253a7a4400ed056c5d59c20f15973b
[ "Apache-2.0" ]
null
null
null
Python/npd.py
markvilar/Cardinal
a3d87d34ed253a7a4400ed056c5d59c20f15973b
[ "Apache-2.0" ]
null
null
null
Python/npd.py
markvilar/Cardinal
a3d87d34ed253a7a4400ed056c5d59c20f15973b
[ "Apache-2.0" ]
null
null
null
import datetime from typing import List from utilities import custom_split class Line: def __init__(self, data: str): self._data = data.replace("\n", "") def __repr__(self): return self._data def __str__(self): return self._data def get_data(self): return se...
25.585714
72
0.591848
225
1,791
4.413333
0.244444
0.11279
0.11279
0.072508
0.263847
0.239678
0.239678
0.144008
0.144008
0.07855
0
0.003906
0.285315
1,791
70
73
25.585714
0.771875
0.036851
0
0.354167
0
0
0.021474
0
0
0
0
0
0
1
0.333333
false
0
0.0625
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
1
0
0
3
8c9c62be03cdf7cc0c66afe801449e4ecc81995c
113
py
Python
scripts/portal/merTutoFight.py
Snewmy/swordie
ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17
[ "MIT" ]
2
2020-08-25T06:55:19.000Z
2021-03-15T14:37:34.000Z
scripts/portal/merTutoFight.py
Snewmy/swordie
ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17
[ "MIT" ]
null
null
null
scripts/portal/merTutoFight.py
Snewmy/swordie
ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17
[ "MIT" ]
3
2020-08-25T06:55:25.000Z
2020-12-01T13:07:43.000Z
# 910150002 - Path of the Glowcaves -> Blooming Forest (Frozen Fairy Forest) sm.warp(910150003, 0) sm.dispose()
28.25
77
0.734513
16
113
5.1875
0.875
0
0
0
0
0
0
0
0
0
0
0.197917
0.150442
113
3
78
37.666667
0.666667
0.663717
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
8c9ee8fff2937fab9689c95d55762a233cda103b
814
py
Python
tests/molecular/topology_graphs/vertex/cases/cof/conftest.py
stevenbennett96/stk
6e5af87625b83e0bfc7243bc42d8c7a860cbeb76
[ "MIT" ]
21
2018-04-12T16:25:24.000Z
2022-02-14T23:05:43.000Z
tests/molecular/topology_graphs/vertex/cases/cof/conftest.py
stevenbennett96/stk
6e5af87625b83e0bfc7243bc42d8c7a860cbeb76
[ "MIT" ]
8
2019-03-19T12:36:36.000Z
2020-11-11T12:46:00.000Z
tests/molecular/topology_graphs/vertex/cases/cof/conftest.py
stevenbennett96/stk
6e5af87625b83e0bfc7243bc42d8c7a860cbeb76
[ "MIT" ]
5
2018-08-07T13:00:16.000Z
2021-11-01T00:55:10.000Z
import numpy as np import pytest from pytest_lazyfixture import lazy_fixture # Fixtures must be visible for lazy_fixture() calls. from .fixtures import * # noqa @pytest.fixture( params=( lazy_fixture('cof1'), lazy_fixture('cof2'), lazy_fixture('cof3'), ), ) def case_data(request): ...
16.958333
52
0.62285
105
814
4.752381
0.371429
0.11022
0.190381
0.200401
0.448898
0.448898
0.280561
0.192385
0.192385
0
0
0.035144
0.230958
814
47
53
17.319149
0.761981
0.067568
0
0.4
0
0
0.015873
0
0
0
0
0
0
1
0.142857
false
0
0.114286
0.142857
0.4
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
1
0
0
0
3
8cfa6d02f5a4a3ac8ea855533fcb2f80163f2403
208
py
Python
django_class/helllo_world/helllo_world/urls.py
Jayson7/mumswhocode-cohort2-python-files
1d84e121a63bd0072acabd14859c849a02919ab6
[ "MIT" ]
null
null
null
django_class/helllo_world/helllo_world/urls.py
Jayson7/mumswhocode-cohort2-python-files
1d84e121a63bd0072acabd14859c849a02919ab6
[ "MIT" ]
null
null
null
django_class/helllo_world/helllo_world/urls.py
Jayson7/mumswhocode-cohort2-python-files
1d84e121a63bd0072acabd14859c849a02919ab6
[ "MIT" ]
1
2022-01-27T11:35:46.000Z
2022-01-27T11:35:46.000Z
from apps import views from apps.views import * from django.contrib import admin from django.urls import path urlpatterns = [ path('admin/', admin.site.urls), path("", views.Hompage, name="home") ]
20.8
40
0.706731
29
208
5.068966
0.482759
0.108844
0
0
0
0
0
0
0
0
0
0
0.168269
208
9
41
23.111111
0.849711
0
0
0
0
0
0.048077
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5065e22afe8a03417e8b73b08ee47606361026e2
1,250
py
Python
Lib/fontelemetry/parsers/toml.py
inkwork/fb-reporter
0b153f248e49ffd994cba5f3d92377df7dc17b8f
[ "Apache-2.0" ]
4
2019-05-15T19:29:25.000Z
2020-11-28T09:24:26.000Z
Lib/fontelemetry/parsers/toml.py
googlefonts/fontelemetry
b4d77d1beebd94b55e5fc5545fb1d7ea33c29d0b
[ "Apache-2.0" ]
12
2019-02-11T22:55:00.000Z
2019-07-16T18:38:12.000Z
Lib/fontelemetry/parsers/toml.py
inkwork/fb-reporter
0b153f248e49ffd994cba5f3d92377df7dc17b8f
[ "Apache-2.0" ]
1
2019-05-15T19:29:13.000Z
2019-05-15T19:29:13.000Z
# Copyright 2019 Fontelemetry Authors and Contributors # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or...
29.069767
96
0.7352
180
1,250
5.027778
0.477778
0.066298
0.046409
0.035359
0.114917
0.114917
0.114917
0.114917
0.114917
0.114917
0
0.008048
0.2048
1,250
42
97
29.761905
0.902414
0.7752
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
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
1
0
0
1
0
1
0
0
3
50cb5cdec0fa67389a353841ba2f87d953e7498f
643
py
Python
pypad/active_skill/multihit_laser_as.py
candyninja001/pypad
82bfc104c2524ca54cc415d37d2c21fec471838f
[ "MIT" ]
null
null
null
pypad/active_skill/multihit_laser_as.py
candyninja001/pypad
82bfc104c2524ca54cc415d37d2c21fec471838f
[ "MIT" ]
null
null
null
pypad/active_skill/multihit_laser_as.py
candyninja001/pypad
82bfc104c2524ca54cc415d37d2c21fec471838f
[ "MIT" ]
null
null
null
from . import ActiveSkill from ..skill_loader import SkillLoader from ..region import Region class MultihitLaserAS(ActiveSkill): _handle_types = {188} def parse_args(self): self.damage = self.args[0] self.mass_attack = False def args_to_json(self): return { 'damage': ...
23.814815
57
0.659409
76
643
5.368421
0.473684
0.073529
0.068627
0
0
0
0
0
0
0
0
0.01046
0.25661
643
27
57
23.814815
0.843096
0.03888
0
0
0
0
0.10859
0
0
0
0
0
0
1
0.210526
false
0
0.157895
0.157895
0.631579
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
50cf3aa2c0f1f9c1c2f515cf57038c6f3f34ca66
386
py
Python
desafio018.py
romstk/pythonExercicios
a7a6ce7828ec28f5d8eadc0207214722cfc6fcd8
[ "MIT" ]
null
null
null
desafio018.py
romstk/pythonExercicios
a7a6ce7828ec28f5d8eadc0207214722cfc6fcd8
[ "MIT" ]
null
null
null
desafio018.py
romstk/pythonExercicios
a7a6ce7828ec28f5d8eadc0207214722cfc6fcd8
[ "MIT" ]
null
null
null
from math import cos, sin, tan,radians angulo = float(input('Digito um ângulo :')) seno = sin(radians(angulo)) print('O ângulo de {}° tem o SENO de {:.2f}'.format(angulo,seno)) cosseno = cos(radians(angulo)) print('O ângulo de {}° tem o COSSENO de {:.2f}'.format(angulo,cosseno)) tangente = tan(radians(angulo)) print('O...
42.888889
73
0.69171
64
386
4.21875
0.375
0.192593
0.2
0.211111
0.351852
0.351852
0.351852
0.351852
0.237037
0
0
0.008876
0.124352
386
8
74
48.25
0.781065
0
0
0
0
0
0.34456
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.375
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0faa63deffa56032e8c093364bc185212424213d
114
py
Python
tests/conftest.py
EVEprosper/pytest-prosper
3e52f5d11438dac55d318dfae5f8dd8092762584
[ "Unlicense" ]
null
null
null
tests/conftest.py
EVEprosper/pytest-prosper
3e52f5d11438dac55d318dfae5f8dd8092762584
[ "Unlicense" ]
null
null
null
tests/conftest.py
EVEprosper/pytest-prosper
3e52f5d11438dac55d318dfae5f8dd8092762584
[ "Unlicense" ]
null
null
null
"""conftest: pytest configuration""" import helpers helpers.clear_mongo_test_db() pytest_plugins = ['pytester']
16.285714
36
0.77193
13
114
6.461538
0.846154
0
0
0
0
0
0
0
0
0
0
0
0.096491
114
6
37
19
0.815534
0.263158
0
0
0
0
0.102564
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
0fc80af1721e97036e968fe02c0fba36183da36f
2,783
py
Python
test/test_norm_coord.py
fl1ghtly/slicer
6a867070a413bac1a3aa98a4ae3d903734ce07dd
[ "MIT" ]
null
null
null
test/test_norm_coord.py
fl1ghtly/slicer
6a867070a413bac1a3aa98a4ae3d903734ce07dd
[ "MIT" ]
null
null
null
test/test_norm_coord.py
fl1ghtly/slicer
6a867070a413bac1a3aa98a4ae3d903734ce07dd
[ "MIT" ]
1
2020-09-18T08:48:41.000Z
2020-09-18T08:48:41.000Z
import unittest from src.slice.image_split import normalize_coordinates class TestNormCoord(unittest.TestCase): def setUp(self): self.left_1 = (1, 1) self.right_1 = (2, 2) self.set_1 = {(1, 1), (1, 2), (2, 1), (2, 2)} self.left_2 = (1, 1) self.right_2 = (4, 3) self....
50.6
97
0.461013
419
2,783
2.885442
0.100239
0.036394
0.198511
0.289495
0.653433
0.626964
0.599669
0.588089
0.588089
0.567411
0
0.128874
0.339202
2,783
55
98
50.6
0.528548
0.008624
0
0
0
0
0.010152
0
0
0
0
0.018182
0.222222
1
0.088889
false
0.022222
0.044444
0
0.155556
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
1
0
0
0
0
0
0
0
0
0
0
3
0feaffa2d47cba52a1756f8a57d797150469ad17
89
py
Python
HelloWorld.py
meHimanshu/Hello-World-1
6a5b7318adc3d2c337b72fbebe65bb35884ad377
[ "MIT" ]
null
null
null
HelloWorld.py
meHimanshu/Hello-World-1
6a5b7318adc3d2c337b72fbebe65bb35884ad377
[ "MIT" ]
null
null
null
HelloWorld.py
meHimanshu/Hello-World-1
6a5b7318adc3d2c337b72fbebe65bb35884ad377
[ "MIT" ]
1
2019-10-02T13:01:27.000Z
2019-10-02T13:01:27.000Z
def helloWorld(yourName): print('Hello World'+ yourName) helloWorld('Hackerobert')
14.833333
34
0.730337
9
89
7.222222
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.134831
89
5
35
17.8
0.844156
0
0
0
0
0
0.25
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
0ffb515686afc7a5d650fdeba6c19199b305b235
323
py
Python
world/admin.py
kevincornish/HeckGuide
eb974d6b589908f5fc2308d41032a48941cc3d21
[ "MIT" ]
4
2022-02-16T10:19:11.000Z
2022-03-17T03:34:26.000Z
world/admin.py
kevincornish/HeckGuide
eb974d6b589908f5fc2308d41032a48941cc3d21
[ "MIT" ]
1
2022-02-17T14:02:31.000Z
2022-03-31T03:56:42.000Z
world/admin.py
kevincornish/HeckGuide
eb974d6b589908f5fc2308d41032a48941cc3d21
[ "MIT" ]
3
2022-02-17T06:13:52.000Z
2022-03-23T21:37:21.000Z
from django.contrib import admin from .models import WorldSegments class WorldSegmentsAdmin(admin.ModelAdmin): list_display = ('description', 'name', 'owner_group_name', 'owner_username', 'world_id', 'created', 'last_modified') search_fields = ['owner_username'] admin.site.register(WorldSegments, WorldSegmentsAdm...
40.375
118
0.789474
36
323
6.861111
0.722222
0.072874
0
0
0
0
0
0
0
0
0
0
0.089783
323
8
119
40.375
0.840136
0
0
0
0
0
0.268519
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
ba0a1707da78be4209a64b47f0c5387181210fee
1,217
py
Python
JTP Recap./0.Data_Type/String.py
SNP0301/Study_Python
bb7ce7a0d915131c281152e7faee5b57c290df6b
[ "MIT" ]
null
null
null
JTP Recap./0.Data_Type/String.py
SNP0301/Study_Python
bb7ce7a0d915131c281152e7faee5b57c290df6b
[ "MIT" ]
null
null
null
JTP Recap./0.Data_Type/String.py
SNP0301/Study_Python
bb7ce7a0d915131c281152e7faee5b57c290df6b
[ "MIT" ]
null
null
null
""" String 1) Cover with " " or ' ' or """ """ or ''' ''' 2) Include ' or " with "'" or '"' or \' or \" 3) Change line with \n or ''' ''' or """ """ String Operation 1) Concatenate : str + str 2) Multiply : str * times 3) Get length : len(str) 4) Indexing : str[num] ...
29.682927
61
0.508628
171
1,217
3.602339
0.48538
0.032468
0.025974
0.032468
0
0
0
0
0
0
0
0.033998
0.299096
1,217
41
62
29.682927
0.688159
0.979458
0
0
0
0.028571
0.987113
0.056701
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
ba1128347a2cb45ab9148f05a3df719a3031ba77
402
py
Python
strings.py
Mastercoder96/Excercism-Code-Solutions
a8b6001664768c483660404b3de72a66bb43b0cf
[ "MIT" ]
null
null
null
strings.py
Mastercoder96/Excercism-Code-Solutions
a8b6001664768c483660404b3de72a66bb43b0cf
[ "MIT" ]
null
null
null
strings.py
Mastercoder96/Excercism-Code-Solutions
a8b6001664768c483660404b3de72a66bb43b0cf
[ "MIT" ]
null
null
null
def add_prefix_un(word): return "un" + word def make_word_groups(vocab_words): return(" :: " + vocab_words[0]).join(vocab_words) def remove_suffix_ness(word): base = word[:-4] if base[-1] == 'i': return base[:-1] + 'y' return base def noun_to_verb(sentenc...
12.181818
60
0.547264
51
402
4.098039
0.568627
0.143541
0
0
0
0
0
0
0
0
0
0.013937
0.28607
402
33
61
12.181818
0.714286
0
0
0
0
0
0.029777
0
0
0
0
0
0
1
0.363636
false
0
0
0.272727
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
1
1
0
0
3
ba22ab999a53659d0302e7a61549083d5f1f4015
7,544
py
Python
cestimii/geomshapes.py
biberger/Cestimii
7a3e3ec5495cddac7c477516de2be8ee42db2bf4
[ "BSD-3-Clause" ]
null
null
null
cestimii/geomshapes.py
biberger/Cestimii
7a3e3ec5495cddac7c477516de2be8ee42db2bf4
[ "BSD-3-Clause" ]
5
2021-10-02T15:54:42.000Z
2021-10-05T20:16:42.000Z
cestimii/geomshapes.py
biberger/Cestimii
7a3e3ec5495cddac7c477516de2be8ee42db2bf4
[ "BSD-3-Clause" ]
1
2021-09-20T14:16:48.000Z
2021-09-20T14:16:48.000Z
# -*- coding: utf-8 -*- """ Created on Fri Nov 20 15:13:44 2020 @author: Simon Biberger """ import numpy as np def circle(r=1, c=[0,0,0], sampH=360): """ Returns parametrization of a circle with radius 'r' at center (cx,cy,cz) and 'sampH' amount of samples. The default values are 1, (0,0,0) and...
34.135747
103
0.590536
1,283
7,544
3.469213
0.113016
0.014379
0.010784
0.010784
0.74882
0.732869
0.706133
0.691081
0.679623
0.655583
0
0.042333
0.270414
7,544
221
104
34.135747
0.766352
0.454799
0
0.577982
0
0
0
0
0
0
0
0
0
1
0.082569
false
0
0.009174
0
0.174312
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e8477ea9c6aa35914d476e93f7008ed1c2557253
352
py
Python
website/api/__init__.py
ongzhixian/hci-admin
25564d0b906df466390ff7124ac75b765be87429
[ "MIT" ]
null
null
null
website/api/__init__.py
ongzhixian/hci-admin
25564d0b906df466390ff7124ac75b765be87429
[ "MIT" ]
null
null
null
website/api/__init__.py
ongzhixian/hci-admin
25564d0b906df466390ff7124ac75b765be87429
[ "MIT" ]
null
null
null
################################################################################ # Define package composition ################################################################################ __all__ = ["root", "test", "message", "administration", "kb", "classifier", "note"] # ZX: There's a better way to do this; see ...
50.285714
83
0.377841
26
352
4.961538
1
0
0
0
0
0
0
0
0
0
0
0
0.088068
352
7
84
50.285714
0.401869
0.284091
0
0
0
0
0.5
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e84851167947008043bf488d27fc19310bffa472
433
py
Python
attendance/urls.py
hanship0530/privateSchoolCMS
6cc425e0e7fdbd576c6bf4f3681238c509b35a5f
[ "MIT" ]
1
2018-09-27T10:02:15.000Z
2018-09-27T10:02:15.000Z
attendance/urls.py
dxdiag20/privateSchoolCMS
6cc425e0e7fdbd576c6bf4f3681238c509b35a5f
[ "MIT" ]
3
2019-01-04T05:50:59.000Z
2019-01-24T01:05:49.000Z
attendance/urls.py
hanship0530/privateSchoolCMS
6cc425e0e7fdbd576c6bf4f3681238c509b35a5f
[ "MIT" ]
2
2018-09-21T16:12:38.000Z
2018-11-23T07:54:20.000Z
from django.conf.urls import url from . import views from django.contrib.auth.decorators import login_required urlpatterns = [ url(r'^$', login_required(views.AttendanceView.searchStudent), name="attendanceSearch"), url(r'^attendanceList/$', login_required(views.AttendanceView.getAttendList), name="getAttendLi...
43.3
104
0.757506
50
433
6.48
0.5
0.160494
0.166667
0.296296
0
0
0
0
0
0
0
0
0.08776
433
9
105
48.111111
0.820253
0
0
0
0
0
0.196305
0.048499
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
e848ef47012ddf975757a196d439afe811683a67
11,650
py
Python
gaphor/services/tests/test_undomanager.py
Texopolis/gaphor
3b190620075fd413258af1e7a007b4b2167a7564
[ "Apache-2.0" ]
867
2018-01-09T00:19:09.000Z
2022-03-31T02:49:23.000Z
gaphor/services/tests/test_undomanager.py
burakozturk16/gaphor
86267a5200ac4439626d35d306dbb376c3800107
[ "Apache-2.0" ]
790
2018-01-13T23:47:07.000Z
2022-03-31T16:04:27.000Z
gaphor/services/tests/test_undomanager.py
burakozturk16/gaphor
86267a5200ac4439626d35d306dbb376c3800107
[ "Apache-2.0" ]
117
2018-01-09T02:24:49.000Z
2022-03-23T08:07:42.000Z
"""Test the UndoManager.""" import pytest from gaphor.core import event_handler from gaphor.core.modeling import Element from gaphor.core.modeling.event import AssociationUpdated from gaphor.core.modeling.properties import association, attribute, derivedunion from gaphor.services.undomanager import NotInTransactionExc...
26.967593
84
0.700258
1,571
11,650
4.914067
0.0662
0.179534
0.07487
0.056995
0.804663
0.760492
0.718653
0.678497
0.640674
0.562435
0
0.012887
0.200687
11,650
431
85
27.030162
0.816151
0.005579
0
0.683871
0
0
0.012609
0
0
0
0
0
0.36129
1
0.064516
false
0.029032
0.022581
0
0.132258
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e84a40f88a8c849929f609e73924d0336def7654
396
py
Python
release/stubs.min/Rhino/DocObjects/__init___parts/RhinoDeselectAllObjectsEventArgs.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
182
2017-06-27T02:26:15.000Z
2022-03-30T18:53:43.000Z
release/stubs.min/Rhino/DocObjects/__init___parts/RhinoDeselectAllObjectsEventArgs.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
28
2017-06-27T13:38:23.000Z
2022-03-15T11:19:44.000Z
release/stubs.min/Rhino/DocObjects/__init___parts/RhinoDeselectAllObjectsEventArgs.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
67
2017-06-28T09:43:59.000Z
2022-03-20T21:17:10.000Z
class RhinoDeselectAllObjectsEventArgs(EventArgs): # no doc Document=property(lambda self: object(),lambda self,v: None,lambda self: None) """Get: Document(self: RhinoDeselectAllObjectsEventArgs) -> RhinoDoc """ ObjectCount=property(lambda self: object(),lambda self,v: None,lambda self: None) """Get:...
22
83
0.717172
39
396
7.282051
0.410256
0.211268
0.126761
0.169014
0.394366
0.394366
0.394366
0.394366
0.394366
0.394366
0
0
0.156566
396
17
84
23.294118
0.850299
0.015152
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
1
0
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
1
0
0
3
e866a519c12ce4d89536fc5784fdd1dfff75d9d5
293
py
Python
nasaomnireader/__init__.py
mishka251/nasaomnireader
2c54d2e5e5682efd5173d92ef3383783601e0df7
[ "MIT" ]
null
null
null
nasaomnireader/__init__.py
mishka251/nasaomnireader
2c54d2e5e5682efd5173d92ef3383783601e0df7
[ "MIT" ]
null
null
null
nasaomnireader/__init__.py
mishka251/nasaomnireader
2c54d2e5e5682efd5173d92ef3383783601e0df7
[ "MIT" ]
null
null
null
# (C) 2020 University of Colorado AES-CCAR-SEDA (Space Environment Data Analysis) Group # Written by Liam M. Kilcommons import traceback try: from nasaomnireader.omnireader_config import config except: print(traceback.format_exc()) from nasaomnireader.default_config import config
32.555556
87
0.791809
38
293
6.026316
0.789474
0.157205
0.157205
0
0
0
0
0
0
0
0
0.016
0.146758
293
8
88
36.625
0.9
0.392491
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
e86e1159c05a6fba559059a524f9ebdebb21a53b
1,640
py
Python
htrc/models/__init__.py
htrc/HTRC-WorksetToolk
ca43dd69af3094ef84450f8cee09a44fced2001b
[ "Apache-2.0" ]
5
2017-08-29T16:04:13.000Z
2022-02-01T22:39:12.000Z
htrc/models/__init__.py
htrc/HTRC-WorksetToolk
ca43dd69af3094ef84450f8cee09a44fced2001b
[ "Apache-2.0" ]
18
2017-07-26T13:05:46.000Z
2021-03-25T15:43:52.000Z
htrc/models/__init__.py
htrc/HTRC-WorksetToolk
ca43dd69af3094ef84450f8cee09a44fced2001b
[ "Apache-2.0" ]
2
2017-09-14T04:49:39.000Z
2018-06-18T17:00:33.000Z
import os from abc import ABC, abstractmethod from typing import List class Page(ABC): @property @abstractmethod def text_lines(self) -> List[str]: """ The lines of text on the page """ pass @property def text(self) -> str: return os.linesep.join(self.text_...
23.768116
98
0.639024
221
1,640
4.524887
0.162896
0.099
0.091
0.08
0.62
0.499
0.437
0.214
0.148
0.148
0
0.004082
0.253049
1,640
68
99
24.117647
0.812245
0.017683
0
0.291667
0
0
0
0
0
0
0
0
0
1
0.291667
false
0.020833
0.0625
0.229167
0.645833
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e873ec91a20b40299381f296dbb4bd76aeea75bc
313
py
Python
test.py
piwnk/pywnk
e151fecdbf79842591328875f6885329a5e02f3f
[ "MIT" ]
null
null
null
test.py
piwnk/pywnk
e151fecdbf79842591328875f6885329a5e02f3f
[ "MIT" ]
null
null
null
test.py
piwnk/pywnk
e151fecdbf79842591328875f6885329a5e02f3f
[ "MIT" ]
null
null
null
from utils import interrupt_after, print_execution_time, profiler import time @interrupt_after(6) @print_execution_time @profiler() def test(): print('Starting') time.sleep(5) print('Ending') if __name__ == '__main__': try: test() except TimeoutError: print('Interrupted')
16.473684
65
0.677316
36
313
5.5
0.638889
0.141414
0.181818
0.262626
0
0
0
0
0
0
0
0.008065
0.207668
313
18
66
17.388889
0.790323
0
0
0
0
0
0.105431
0
0
0
0
0
0
1
0.071429
true
0
0.142857
0
0.214286
0.357143
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
e877ce0cde70dbbb2fe4b39034099d6f1868aee9
1,016
py
Python
repos/spiketoolkit/spiketoolkit/preprocessing/rectify.py
tjd2002/spikeforest2
2e393564b858b2995aa2ccccd9bd73065681b5de
[ "Apache-2.0" ]
null
null
null
repos/spiketoolkit/spiketoolkit/preprocessing/rectify.py
tjd2002/spikeforest2
2e393564b858b2995aa2ccccd9bd73065681b5de
[ "Apache-2.0" ]
null
null
null
repos/spiketoolkit/spiketoolkit/preprocessing/rectify.py
tjd2002/spikeforest2
2e393564b858b2995aa2ccccd9bd73065681b5de
[ "Apache-2.0" ]
null
null
null
from spikeextractors import RecordingExtractor import numpy as np class RectifyRecording(RecordingExtractor): def __init__(self, *, recording): RecordingExtractor.__init__(self) self._recording = recording self.copyChannelProperties(recording) def getSamplingFrequency(self): re...
30.787879
119
0.701772
108
1,016
6.342593
0.277778
0.113869
0.061314
0.10073
0
0
0
0
0
0
0
0.001266
0.222441
1,016
32
120
31.75
0.865823
0
0
0
0
0
0
0
0
0
0
0
0
1
0.24
false
0
0.08
0.16
0.56
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e87ff9d092d29b544b00a2bff0f4b4b43108f698
1,565
py
Python
category_encoder/__init__.py
richardMcQueary/category_encoders
4ff3cdeb424e7ad2441431706b90b64184cd106c
[ "BSD-3-Clause" ]
null
null
null
category_encoder/__init__.py
richardMcQueary/category_encoders
4ff3cdeb424e7ad2441431706b90b64184cd106c
[ "BSD-3-Clause" ]
null
null
null
category_encoder/__init__.py
richardMcQueary/category_encoders
4ff3cdeb424e7ad2441431706b90b64184cd106c
[ "BSD-3-Clause" ]
null
null
null
""" .. module:: category_encoder :synopsis: :platform: """ from category_encoder.backward_difference import BackwardDifferenceEncoder from category_encoder.binary import BinaryEncoder from category_encoder.count import CountEncoder from category_encoder.hashing import HashingEncoder from category_encoder.helmert...
29.528302
77
0.808307
151
1,565
8.10596
0.390728
0.232843
0.279412
0
0
0
0
0
0
0
0
0.002191
0.12524
1,565
52
78
30.096154
0.891892
0.034505
0
0
0
0
0.197868
0.016656
0
0
0
0
0
1
0
false
0
0.439024
0
0.439024
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
1
0
0
0
0
3
e8bbebd910fd705a3ad44d4e35b32ff63106e57e
2,901
py
Python
Day_003/treasure-island-start.py
masedos/100DaysOfCodePython
5e52ca07635aaf29b4a83d865d2e063364a11a66
[ "MIT" ]
null
null
null
Day_003/treasure-island-start.py
masedos/100DaysOfCodePython
5e52ca07635aaf29b4a83d865d2e063364a11a66
[ "MIT" ]
null
null
null
Day_003/treasure-island-start.py
masedos/100DaysOfCodePython
5e52ca07635aaf29b4a83d865d2e063364a11a66
[ "MIT" ]
null
null
null
#!/usr/bin/env python __version__ = '0.0.1' __author__ = 'Fernandes Macedo' __email__ = 'masedos@gmail.com' print(''' ******************************************************************************* | | | | _________|________________.=""_;=.___________...
52.745455
219
0.552568
243
2,901
3.934156
0.518519
0.048117
0.069038
0.087866
0.087866
0.025105
0.025105
0.025105
0.025105
0.025105
0
0.01615
0.210272
2,901
54
220
53.722222
0.401135
0.081696
0
0.113636
0
0.204545
0.729598
0.350132
0
0
0
0
0
1
0
false
0
0
0
0
0.204545
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e8be0769644c8dda8575aea6e6a78911f1032cde
611
py
Python
mot/models/blocks/osblock.py
CnybTseng/JDE
599bd6de74fc3794694bf1e3baca741d2b517e0e
[ "MIT" ]
23
2020-07-03T10:14:20.000Z
2021-03-29T07:34:31.000Z
mot/models/blocks/osblock.py
CnybTseng/JDE
599bd6de74fc3794694bf1e3baca741d2b517e0e
[ "MIT" ]
4
2020-09-23T14:30:46.000Z
2021-04-01T02:17:13.000Z
mot/models/blocks/osblock.py
CnybTseng/JDE
599bd6de74fc3794694bf1e3baca741d2b517e0e
[ "MIT" ]
8
2020-07-13T08:33:19.000Z
2021-03-31T09:16:30.000Z
import torch from torch import nn class LiteConv3x3(nn.Module): """Lite 3x3 convolution""" def __init__(self): super(LiteConv3x3, self).__init__() def forward(self, input): return input class AG(nn.Module): """Aggregation gate""" def __init__(self): super(AG, self).__i...
21.068966
43
0.612111
71
611
4.816901
0.408451
0.070175
0.096491
0.140351
0.362573
0.362573
0.362573
0.362573
0.251462
0
0
0.013245
0.258592
611
29
44
21.068966
0.741722
0.08838
0
0.473684
0
0
0.0369
0
0
0
0
0
0
1
0.315789
false
0
0.105263
0.157895
0.736842
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
2ccf96fdcca3f2a8eac1f2838b7f482f09fd8522
114
py
Python
torch_audiomentations/utils/multichannel.py
mogwai/torch-audiomentations
7d36c4b5970ca3c16482703fa8e8164ff63c20d0
[ "MIT" ]
null
null
null
torch_audiomentations/utils/multichannel.py
mogwai/torch-audiomentations
7d36c4b5970ca3c16482703fa8e8164ff63c20d0
[ "MIT" ]
null
null
null
torch_audiomentations/utils/multichannel.py
mogwai/torch-audiomentations
7d36c4b5970ca3c16482703fa8e8164ff63c20d0
[ "MIT" ]
null
null
null
def is_multichannel(samples): """ :param samples: :return: """ return len(samples.shape) > 2
14.25
33
0.570175
12
114
5.333333
0.75
0
0
0
0
0
0
0
0
0
0
0.012195
0.280702
114
7
34
16.285714
0.768293
0.210526
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
2cd338afff14b53b761b88979dde82c6f9c93648
1,457
py
Python
foreignform/widgets.py
uditagarwal/django-foreignform
45916b7e2413b38e2d33ce263913a4d01e932ddf
[ "MIT" ]
null
null
null
foreignform/widgets.py
uditagarwal/django-foreignform
45916b7e2413b38e2d33ce263913a4d01e932ddf
[ "MIT" ]
null
null
null
foreignform/widgets.py
uditagarwal/django-foreignform
45916b7e2413b38e2d33ce263913a4d01e932ddf
[ "MIT" ]
null
null
null
from django.forms import widgets from django.utils.safestring import mark_safe class CodeMirrorWidget(widgets.Textarea): def render(self, name, value, attrs=None): if 'class' not in attrs.keys(): attrs['class'] = '' attrs['class'] += ' codemirror-json-editor' html = super().r...
42.852941
119
0.606726
189
1,457
4.666667
0.291005
0.090703
0.181406
0.208617
0.568027
0.548753
0.548753
0.548753
0.548753
0.548753
0
0.049239
0.233356
1,457
33
120
44.151515
0.740376
0.059712
0
0
0
0.307692
0.534166
0.05878
0
0
0
0
0
1
0.038462
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
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2ce7b46f8751f5716ed79eae1c9bac030eb033a8
1,132
py
Python
101/misc/getting_inputs.py
hariharanragothaman/pymaster
b3d033b4d5c75c69f587c94d9d12cd4a349a6a69
[ "Apache-2.0" ]
10
2020-09-21T22:23:09.000Z
2022-01-25T16:58:44.000Z
101/misc/getting_inputs.py
hariharanragothaman/pymaster
b3d033b4d5c75c69f587c94d9d12cd4a349a6a69
[ "Apache-2.0" ]
null
null
null
101/misc/getting_inputs.py
hariharanragothaman/pymaster
b3d033b4d5c75c69f587c94d9d12cd4a349a6a69
[ "Apache-2.0" ]
null
null
null
import sys from bisect import bisect_left def bin_number(n, size=4): return bin(n)[2:].zfill(size) def iar(): return list(map(int, input().split())) def ini(): return int(input()) def isp(): return map(int, input().split()) def sti(): return str(input()) def par(a): print(" ".join(li...
15.722222
73
0.59364
168
1,132
3.857143
0.428571
0.049383
0.050926
0.074074
0.118827
0.089506
0.089506
0
0
0
0
0.004667
0.242933
1,132
71
74
15.943662
0.751459
0.037102
0
0.04878
0
0
0.008272
0
0
0
0
0
0
1
0.341463
false
0
0.04878
0.243902
0.731707
0.04878
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
2cf841133d613f2bb6b9eb042542be8d77b2c2c4
3,512
py
Python
nr.fs/src/nr/fs/_tempfile.py
NiklasRosenstein/nr-python
dc5b31ae5773ea4522a6f35112792dde9e872bef
[ "MIT" ]
3
2018-11-20T22:19:35.000Z
2020-10-31T09:23:53.000Z
nr.fs/src/nr/fs/_tempfile.py
NiklasRosenstein/python-nr
dc5b31ae5773ea4522a6f35112792dde9e872bef
[ "MIT" ]
3
2021-08-09T00:14:26.000Z
2021-08-09T00:28:27.000Z
nr.fs/src/nr/fs/_tempfile.py
NiklasRosenstein/nr-python
dc5b31ae5773ea4522a6f35112792dde9e872bef
[ "MIT" ]
3
2019-03-22T06:15:17.000Z
2020-10-31T09:23:53.000Z
# -*- coding: utf8 -*- # Copyright (c) 2019 Niklas Rosenstein # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, mo...
26.014815
83
0.692198
499
3,512
4.721443
0.354709
0.040747
0.029711
0.02292
0.188879
0.144312
0.144312
0.071307
0.040747
0.040747
0
0.001794
0.206435
3,512
134
84
26.208955
0.843559
0.378986
0
0.421053
0
0
0.028195
0
0
0
0
0
0
1
0.263158
false
0
0.078947
0.157895
0.565789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
2cfc9a960e0f6931959bc2e43f48a57e6a0e55df
2,362
py
Python
dlrm_sample/ort_run.py
MrDoghead/dlrm
9b0d8ea992daa515104c7967f30110684283ebb1
[ "MIT" ]
null
null
null
dlrm_sample/ort_run.py
MrDoghead/dlrm
9b0d8ea992daa515104c7967f30110684283ebb1
[ "MIT" ]
null
null
null
dlrm_sample/ort_run.py
MrDoghead/dlrm
9b0d8ea992daa515104c7967f30110684283ebb1
[ "MIT" ]
null
null
null
import onnx import onnxruntime import numpy as np #model_path = "../tb0875_10M/dlrm_s_pytorch.onnx" model_path = "../fake_tb0875_10M/dlrm_s_pytorch.onnx" onnxruntime.set_default_logger_severity(3) session = onnxruntime.InferenceSession(model_path) print("session created") # This file `./dlrm_inputs.npy` gives 10 crit...
45.423077
80
0.698137
366
2,362
4.306011
0.262295
0.214467
0.181472
0.296954
0.031726
0.031726
0
0
0
0
0
0.049726
0.071973
2,362
51
81
46.313725
0.669252
0.11177
0
0
0
0
0.300048
0.018156
0
0
0
0
0
1
0
false
0
0.069767
0
0.069767
0.093023
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fa2a5774feb466df068fd3c8269a3ab03debd52c
98
py
Python
Exerc2-14.py
JoaozinhoProgramation/infosatc-lp-avaliativo-01
af63edc5696695ff073c492b48fbb80ffe3701d3
[ "MIT" ]
null
null
null
Exerc2-14.py
JoaozinhoProgramation/infosatc-lp-avaliativo-01
af63edc5696695ff073c492b48fbb80ffe3701d3
[ "MIT" ]
null
null
null
Exerc2-14.py
JoaozinhoProgramation/infosatc-lp-avaliativo-01
af63edc5696695ff073c492b48fbb80ffe3701d3
[ "MIT" ]
null
null
null
n1 = float(input("informe um número em graus:")) print("{}° = {}rad ".format(n1,(n1*(3.14/180))))
49
49
0.591837
17
98
3.470588
0.882353
0
0
0
0
0
0
0
0
0
0
0.103448
0.112245
98
2
49
49
0.563218
0
0
0
0
0
0.40404
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
fa3651bf3cd9bfce7f3baa661b65a88681f02058
330
py
Python
test/test_prerun.py
ssbarnea/ansible-compat
2140084a6926b6eb911a5ab962e7f0164915620d
[ "MIT" ]
null
null
null
test/test_prerun.py
ssbarnea/ansible-compat
2140084a6926b6eb911a5ab962e7f0164915620d
[ "MIT" ]
null
null
null
test/test_prerun.py
ssbarnea/ansible-compat
2140084a6926b6eb911a5ab962e7f0164915620d
[ "MIT" ]
null
null
null
"""Tests for ansible_compat.prerun module.""" import os from ansible_compat.prerun import get_cache_dir def test_get_cache_dir_relative() -> None: """Test behaviors of get_cache_dir.""" relative_path = "." abs_path = os.path.abspath(relative_path) assert get_cache_dir(relative_path) == get_cache_dir(...
27.5
66
0.748485
49
330
4.653061
0.44898
0.175439
0.241228
0.25
0.201754
0
0
0
0
0
0
0
0.142424
330
11
67
30
0.805654
0.218182
0
0
0
0
0.004049
0
0
0
0
0
0.166667
1
0.166667
false
0
0.333333
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
fa384c443c7b17487a2041d9d04294f1cbab55b2
188
py
Python
task.py
DrugowitschLab/motion-structure-identification
908f084b36c7387daf0cbfe75f16bab70cf96db9
[ "MIT" ]
null
null
null
task.py
DrugowitschLab/motion-structure-identification
908f084b36c7387daf0cbfe75f16bab70cf96db9
[ "MIT" ]
null
null
null
task.py
DrugowitschLab/motion-structure-identification
908f084b36c7387daf0cbfe75f16bab70cf96db9
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod import pylab as pl class Task(ABC): def __init__(self, ax: pl.Axes): self.ax = ax @abstractmethod def update(self): pass
15.666667
36
0.632979
26
188
4.423077
0.615385
0.104348
0
0
0
0
0
0
0
0
0
0
0.281915
188
11
37
17.090909
0.851852
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0.125
0.25
0
0.625
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
fa4871724d9b71fa92eeb19fbeddcdeba47692d9
5,587
py
Python
src/podspy/graph/base.py
jwllee/podspy
a3ab176a83004069a27405acfc42838c135c555d
[ "MIT" ]
1
2019-02-06T09:26:17.000Z
2019-02-06T09:26:17.000Z
src/podspy/graph/base.py
wailamjonathanlee/podspy
a3ab176a83004069a27405acfc42838c135c555d
[ "MIT" ]
12
2019-01-02T14:31:17.000Z
2019-01-22T18:24:03.000Z
src/podspy/graph/base.py
wailamjonathanlee/podspy
a3ab176a83004069a27405acfc42838c135c555d
[ "MIT" ]
null
null
null
#!/usr/bin/env python """This is the base module. This module contains base graph classes. """ from podspy.utils import attributes as attrib from abc import ABC, abstractmethod import uuid, logging logger = logging.getLogger(__file__) class AbstractGraphElement(ABC): @abstractmethod def __init__(self, l...
27.935
102
0.606587
664
5,587
4.775602
0.216867
0.03122
0.025229
0.031536
0.344371
0.33018
0.301798
0.291391
0.268054
0.218858
0
0.001511
0.289064
5,587
199
103
28.075377
0.796828
0.238232
0
0.456311
0
0
0.024236
0
0
0
0
0
0
1
0.300971
false
0.029126
0.029126
0.116505
0.650485
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
fa4dc851d8bcc698b4012c4f77e6ea4685f01ae6
203
py
Python
app/crud/crud.py
pandalearnstocode/ml-ms-api-template
8b6b8e7d050bba4eb6e93e29ef56224f14cad1db
[ "MIT" ]
null
null
null
app/crud/crud.py
pandalearnstocode/ml-ms-api-template
8b6b8e7d050bba4eb6e93e29ef56224f14cad1db
[ "MIT" ]
null
null
null
app/crud/crud.py
pandalearnstocode/ml-ms-api-template
8b6b8e7d050bba4eb6e93e29ef56224f14cad1db
[ "MIT" ]
null
null
null
from pydantic import BaseModel class MMM(BaseModel): id: int color: str mass: float class CreateMMM(BaseModel): color: str mass: float class UpdateMMM(BaseModel): color: str
12.6875
30
0.674877
25
203
5.48
0.56
0.175182
0.175182
0.248175
0.321168
0
0
0
0
0
0
0
0.251232
203
15
31
13.533333
0.901316
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0
0.1
0
1
0
1
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
3
fa71190cf936a62d68d87a6d8cb4b216f3618a86
191
py
Python
Curso_Python/Secao3-Python-Intermediario-Programacao-Procedural/46_47_ 48_49_50_51_funcoes_4/funcoes.py
pedrohd21/Cursos-Feitos
b223aad83867bfa45ad161d133e33c2c200d42bd
[ "MIT" ]
null
null
null
Curso_Python/Secao3-Python-Intermediario-Programacao-Procedural/46_47_ 48_49_50_51_funcoes_4/funcoes.py
pedrohd21/Cursos-Feitos
b223aad83867bfa45ad161d133e33c2c200d42bd
[ "MIT" ]
null
null
null
Curso_Python/Secao3-Python-Intermediario-Programacao-Procedural/46_47_ 48_49_50_51_funcoes_4/funcoes.py
pedrohd21/Cursos-Feitos
b223aad83867bfa45ad161d133e33c2c200d42bd
[ "MIT" ]
null
null
null
variavel = 'Valor' def func(): print(variavel) def func2(): # global variavel // nn é boa pratica de programação variavel = 'Outro valor' print(variavel) func() func2()
11.9375
56
0.633508
23
191
5.26087
0.608696
0.214876
0
0
0
0
0
0
0
0
0
0.013889
0.246073
191
15
57
12.733333
0.826389
0.26178
0
0.25
0
0
0.115108
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
d737b31543f5fcac51b23ddb936b198ba4eed917
160
py
Python
webalyzer/settings/__init__.py
mdn/webalyzer
0b897d5df4a2c8d6881b5acefba707369b2f2b8c
[ "BSD-3-Clause" ]
10
2015-04-28T17:27:19.000Z
2019-08-16T08:30:30.000Z
redunter/settings/__init__.py
peterbe/redunter
311378f2f5454a6199a90dcce983e79e236b9447
[ "BSD-3-Clause" ]
27
2015-04-03T15:59:34.000Z
2017-07-25T16:43:58.000Z
redunter/settings/__init__.py
peterbe/redunter
311378f2f5454a6199a90dcce983e79e236b9447
[ "BSD-3-Clause" ]
8
2015-04-06T17:37:15.000Z
2022-02-19T01:33:42.000Z
import sys import decouple try: from .base import * # noqa except decouple.UndefinedValueError as exp: print('ERROR:', exp.message) sys.exit(1)
14.545455
43
0.6875
21
160
5.238095
0.761905
0
0
0
0
0
0
0
0
0
0
0.007937
0.2125
160
10
44
16
0.865079
0.025
0
0
0
0
0.038961
0
0
0
0
0
0
1
0
true
0
0.428571
0
0.428571
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
d73da0e0bb513f036e82443d5ec357cc5432f8ff
16,565
py
Python
SAGN_with_SLE/src/layers.py
ytchx1999/MAXP_DGL_Graph
01ea0dc3e6f957b8c7a9b6958df02559f1866b32
[ "MIT" ]
21
2021-12-23T14:03:41.000Z
2022-03-24T06:47:05.000Z
Precomputing/SAGN_with_SLE/src/layers.py
VITA-Group/Large_Scale_GCN_Benchmarking
d4c85a899a22b5a982ae437eac037f3629454510
[ "MIT" ]
2
2021-09-22T03:31:10.000Z
2022-03-18T08:01:53.000Z
Precomputing/SAGN_with_SLE/src/layers.py
VITA-Group/Large_Scale_GCN_Benchmarking
d4c85a899a22b5a982ae437eac037f3629454510
[ "MIT" ]
6
2022-01-14T05:27:13.000Z
2022-01-19T12:59:16.000Z
import torch from torch import nn import math from typing import Optional from torch import Tensor eps=1e-5 ################################################################ # DGL's implementation of FeedForwardNet (MLP) for SIGN class FeedForwardNet(nn.Module): def __init__(self, in_feats, hidden, out_feats, n_la...
40.304136
187
0.561425
2,099
16,565
4.22868
0.07575
0.049347
0.037179
0.034475
0.779292
0.733101
0.719694
0.680374
0.662348
0.662348
0
0.009206
0.3115
16,565
410
188
40.402439
0.769049
0.126954
0
0.66443
0
0
0.01154
0
0
0
0
0
0.006711
1
0.07047
false
0
0.016779
0
0.134228
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d73f707531abe7eb7d37be7c1a458302eeeb5b65
190
py
Python
packages/PIPS/validation/C_syntax/string06.py
DVSR1966/par4all
86b33ca9da736e832b568c5637a2381f360f1996
[ "MIT" ]
51
2015-01-31T01:51:39.000Z
2022-02-18T02:01:50.000Z
packages/PIPS/validation/C_syntax/string06.py
DVSR1966/par4all
86b33ca9da736e832b568c5637a2381f360f1996
[ "MIT" ]
7
2017-05-29T09:29:00.000Z
2019-03-11T16:01:39.000Z
packages/PIPS/validation/C_syntax/string06.py
DVSR1966/par4all
86b33ca9da736e832b568c5637a2381f360f1996
[ "MIT" ]
12
2015-03-26T08:05:38.000Z
2022-02-18T02:01:51.000Z
from __future__ import with_statement # this is to work with python2.5 from pyps import workspace, module with workspace("string06.c",deleteOnClose=True) as w: map(module.display,w.fun)
38
70
0.784211
30
190
4.8
0.766667
0
0
0
0
0
0
0
0
0
0
0.024242
0.131579
190
4
71
47.5
0.848485
0.157895
0
0
0
0
0.063291
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
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
1
0
0
0
0
3
d746f41a9e56569ddd34386c8bef4d8d7051caf2
372
py
Python
binarysearch.py
youhusky/Facebook_Prepare
4045bcb652537711b3680b2aa17204ae73c6bde8
[ "MIT" ]
6
2017-10-30T05:35:46.000Z
2020-12-15T06:51:52.000Z
binarysearch.py
youhusky/Facebook_Prepare
4045bcb652537711b3680b2aa17204ae73c6bde8
[ "MIT" ]
1
2017-10-30T04:11:31.000Z
2017-10-30T05:46:24.000Z
binarysearch.py
youhusky/Facebook_Prepare
4045bcb652537711b3680b2aa17204ae73c6bde8
[ "MIT" ]
2
2020-09-03T07:14:02.000Z
2021-05-21T19:19:57.000Z
a = [1,2,3,4,5,5,5,5,5,5,5,6] #a= [1,2,2,4,5,5] target = 5 l = 0 r = len(a) - 1 while l +1 < r: mid = (l+r)/2 if a[mid] < target: l = mid else: r = mid print l if a[l] == target else r l = 0 r = len(a) -1 while l +1 < r: mid = (l+r)/2 if a[mid] <= target: l = mid els...
16.173913
32
0.432796
84
372
1.916667
0.202381
0.086957
0.093168
0.099379
0.677019
0.677019
0.63354
0.63354
0.63354
0.63354
0
0.115385
0.370968
372
23
33
16.173913
0.57265
0.043011
0
0.7
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.1
0
0
1
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
1
0
0
0
0
0
0
0
0
3
d77326885d6c7b06329cb8ba5aa3c5e7d924886d
106
py
Python
talentmap_api/projected_tandem/apps.py
MetaPhase-Consulting/State-TalentMAP-API
4e238cbfe241fd3d0a718a9a0fc038dbed00f13b
[ "CC0-1.0" ]
7
2018-10-17T15:13:05.000Z
2021-12-10T14:53:38.000Z
talentmap_api/projected_tandem/apps.py
MetaPhase-Consulting/State-TalentMAP-API
4e238cbfe241fd3d0a718a9a0fc038dbed00f13b
[ "CC0-1.0" ]
208
2018-12-28T17:11:00.000Z
2022-03-29T18:47:23.000Z
talentmap_api/projected_tandem/apps.py
MetaPhase-Consulting/State-TalentMAP-API
4e238cbfe241fd3d0a718a9a0fc038dbed00f13b
[ "CC0-1.0" ]
null
null
null
from django.apps import AppConfig class ProjectedTandemConfig(AppConfig): name = 'projected_tandem'
17.666667
39
0.792453
11
106
7.545455
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.141509
106
5
40
21.2
0.912088
0
0
0
0
0
0.150943
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d77a782599811b6f3a3379571583b02483122a63
637
py
Python
loginApp/models.py
ibamacsr/painelmma_api
a11a6cd63e312f09f445b139fcff8c11ab383764
[ "MIT" ]
null
null
null
loginApp/models.py
ibamacsr/painelmma_api
a11a6cd63e312f09f445b139fcff8c11ab383764
[ "MIT" ]
null
null
null
loginApp/models.py
ibamacsr/painelmma_api
a11a6cd63e312f09f445b139fcff8c11ab383764
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import AbstractUser from django.core.urlresolvers import reverse # Create your models here. class UserPermited(models.Model): username = models.CharField(max_length=11,unique=True) def __str__(self): return self.username class LDAPUser(A...
25.48
74
0.728414
83
637
5.445783
0.590361
0.066372
0.061947
0.097345
0
0
0
0
0
0
0
0.009615
0.183673
637
24
75
26.541667
0.859615
0.147567
0
0.153846
0
0
0.037106
0
0
0
0
0
0
1
0.230769
false
0
0.230769
0.230769
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
1
0
0
0
1
1
0
0
3
d78c8e888bb6c6624d426e289fd812735050780c
218
py
Python
utilities/prev_projects/DATAFIT/TESTS/tests_fit.py
Saldenisov/pyconlyse
1de301b4a4c15ee0bd19034aa8d5da1beacfd124
[ "MIT" ]
null
null
null
utilities/prev_projects/DATAFIT/TESTS/tests_fit.py
Saldenisov/pyconlyse
1de301b4a4c15ee0bd19034aa8d5da1beacfd124
[ "MIT" ]
null
null
null
utilities/prev_projects/DATAFIT/TESTS/tests_fit.py
Saldenisov/pyconlyse
1de301b4a4c15ee0bd19034aa8d5da1beacfd124
[ "MIT" ]
null
null
null
''' Created on 4 juil. 2016 @author: saldenisov ''' import unittest from ANALYSIS import Fit class TestsFit(unittest.TestCase): def pulse_1exp(self): pass if __name__ == '__main__': unittest.main()
13.625
34
0.683486
27
218
5.185185
0.851852
0
0
0
0
0
0
0
0
0
0
0.034682
0.206422
218
16
35
13.625
0.774566
0.201835
0
0
0
0
0.047904
0
0
0
0
0
0
1
0.142857
false
0.142857
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
1
0
0
1
0
0
3
d7953d23aee89677ab92bb413baa632082f5043c
6,028
py
Python
src/OTLMOW/OTLModel/Datatypes/KlDynBordZ30Modelnaam.py
davidvlaminck/OTLClassPython
71330afeb37c3ea6d9981f521ff8f4a3f8b946fc
[ "MIT" ]
2
2022-02-01T08:58:11.000Z
2022-02-08T13:35:17.000Z
src/OTLMOW/OTLModel/Datatypes/KlDynBordZ30Modelnaam.py
davidvlaminck/OTLMOW
71330afeb37c3ea6d9981f521ff8f4a3f8b946fc
[ "MIT" ]
null
null
null
src/OTLMOW/OTLModel/Datatypes/KlDynBordZ30Modelnaam.py
davidvlaminck/OTLMOW
71330afeb37c3ea6d9981f521ff8f4a3f8b946fc
[ "MIT" ]
null
null
null
# coding=utf-8 from OTLMOW.OTLModel.Datatypes.KeuzelijstField import KeuzelijstField from OTLMOW.OTLModel.Datatypes.KeuzelijstWaarde import KeuzelijstWaarde # Generated with OTLEnumerationCreator. To modify: extend, do not edit class KlDynBordZ30Modelnaam(KeuzelijstField): """Keuzelijst met de gangbare modelnamen...
81.459459
158
0.563371
574
6,028
5.916376
0.116725
0.037691
0.142226
0.204064
0.750883
0.669022
0.550353
0.550353
0.550353
0.550353
0
0.102209
0.316689
6,028
73
159
82.575342
0.722263
0.036828
0
0
1
0.238806
0.452915
0.003622
0
0
0
0
0
1
0
false
0
0.029851
0
0.134328
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
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ad06b6a59fdb3772a403dea7364117cbdd93d6ad
56
py
Python
software/multifluids_icferst/tests/shocktube_1d_explicit/region_ids.py
msc-acse/acse-9-independent-research-project-Wade003
cfcba990d52ccf535171cf54c0a91b184db6f276
[ "MIT" ]
2
2020-05-11T02:39:46.000Z
2020-05-11T03:08:38.000Z
software/multifluids_icferst/tests/shocktube_1d_explicit/region_ids.py
msc-acse/acse-9-independent-research-project-Wade003
cfcba990d52ccf535171cf54c0a91b184db6f276
[ "MIT" ]
null
null
null
software/multifluids_icferst/tests/shocktube_1d_explicit/region_ids.py
msc-acse/acse-9-independent-research-project-Wade003
cfcba990d52ccf535171cf54c0a91b184db6f276
[ "MIT" ]
2
2020-05-21T22:50:19.000Z
2020-10-28T17:16:31.000Z
def val(X): if X<0: return 1 else: return 2
9.333333
12
0.517857
11
56
2.636364
0.818182
0
0
0
0
0
0
0
0
0
0
0.085714
0.375
56
5
13
11.2
0.742857
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
ad0a80f7f0599514d32e894fa0989a705340b70e
311
py
Python
app/util/conversions.py
bbedward/monkeytalks
2f40a0cf7f9a9b8690e2c13fe86113a43ceeca09
[ "MIT" ]
9
2019-04-01T13:42:41.000Z
2021-12-30T20:32:48.000Z
app/util/conversions.py
bbedward/monkeytalks
2f40a0cf7f9a9b8690e2c13fe86113a43ceeca09
[ "MIT" ]
1
2021-08-01T00:00:06.000Z
2021-08-01T00:00:06.000Z
app/util/conversions.py
bbedward/monkeytalks
2f40a0cf7f9a9b8690e2c13fe86113a43ceeca09
[ "MIT" ]
8
2019-04-26T15:32:56.000Z
2021-08-09T11:52:53.000Z
class BananoConversions(): # 1 BANANO = 10e29 RAW RAW_PER_BAN = 10 ** 29 @classmethod def raw_to_banano(self, raw_amt): return raw_amt / self.RAW_PER_BAN @staticmethod def banano_to_raw(ban_amt): expanded = float(ban_amt) * 100 return int(expanded) * (10 ** 27)
25.916667
41
0.633441
43
311
4.302326
0.511628
0.064865
0.097297
0
0
0
0
0
0
0
0
0.070485
0.270096
311
12
42
25.916667
0.744493
0.064309
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ad10f5956946213f58e9c32e9beea42bfb1d9fcd
111
py
Python
beginner9.py
sivaram-oss/GUVI-codekata
e4e007734e2c8db75ee9db27ef4f4bdd3c677509
[ "MIT" ]
1
2018-01-25T06:11:05.000Z
2018-01-25T06:11:05.000Z
beginner9.py
sivaramasubramanian/GUVI-codekata
e4e007734e2c8db75ee9db27ef4f4bdd3c677509
[ "MIT" ]
null
null
null
beginner9.py
sivaramasubramanian/GUVI-codekata
e4e007734e2c8db75ee9db27ef4f4bdd3c677509
[ "MIT" ]
1
2018-01-25T10:21:50.000Z
2018-01-25T10:21:50.000Z
n=int(input()) k=int(input()) sum=0 for i in range(n): x=int(input()) if i<k: sum+=x print(sum)
13.875
18
0.531532
23
111
2.565217
0.565217
0.40678
0
0
0
0
0
0
0
0
0
0.011905
0.243243
111
8
19
13.875
0.690476
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ad11da4d2ec0d02c859aeb66bf45ed871cf2cbe0
1,325
py
Python
Python Snippets with Documentation/08 Modules/01 Creating Modules.py
AhmedRaja1/Python-Beginner-s-Starter-Kit
285cfbeb7207e6531954f21cae3a062f977ee5a0
[ "MIT" ]
1
2021-09-27T16:47:25.000Z
2021-09-27T16:47:25.000Z
Python Snippets with Documentation/08 Modules/01 Creating Modules.py
AhmedRaja1/Python-Beginner-s-Starter-Kit
285cfbeb7207e6531954f21cae3a062f977ee5a0
[ "MIT" ]
null
null
null
Python Snippets with Documentation/08 Modules/01 Creating Modules.py
AhmedRaja1/Python-Beginner-s-Starter-Kit
285cfbeb7207e6531954f21cae3a062f977ee5a0
[ "MIT" ]
1
2021-09-27T16:47:33.000Z
2021-09-27T16:47:33.000Z
# 01 Creating Modules # A module is a file.py # We should separete our code in modules like products in a supermarket. Like a sections grouping products # In this example for the following functions "cal_tax()" and "calc_shipping()" that are related with sales we should create a module with the name "sales.py" for exa...
41.40625
194
0.763019
222
1,325
4.509009
0.441441
0.05994
0.015984
0
0
0
0
0
0
0
0
0.001854
0.18566
1,325
31
195
42.741935
0.925857
0.874717
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
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
1
0
0
0
0
3
ad2f1e03dc334e765a7cc3331c89b6ff2f214b5b
487
py
Python
climate/covariance.py
CedricTravelletti/Climate
38098e1ca537fbc1be6856540ea64215555d2ce6
[ "MIT" ]
null
null
null
climate/covariance.py
CedricTravelletti/Climate
38098e1ca537fbc1be6856540ea64215555d2ce6
[ "MIT" ]
null
null
null
climate/covariance.py
CedricTravelletti/Climate
38098e1ca537fbc1be6856540ea64215555d2ce6
[ "MIT" ]
null
null
null
from math import radians, sin, cos, asin, sqrt, pi, atan, atan2, fabs import numpy as np def _poisson_covariance(dist, lambda0): """ Poisson covariance model on the sphere. Parameters ---------- dist: float Great circle distance. lambda0: float Lengthscale parameter. """ ...
24.35
77
0.64271
61
487
5.04918
0.622951
0.220779
0
0
0
0
0
0
0
0
0
0.036939
0.221766
487
19
78
25.631579
0.775726
0.293635
0
0
0
0
0.022801
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
ad2f53a2cdbfe4441b3a1008478c9502f88cef08
112
py
Python
exercícios/EX_CursoEmVideo/ex112/teste.py
jose-carlos-code/CursoEmvideo-python
8c9b82db2c2b906f6d8f2359a680b9b3af25da43
[ "MIT" ]
1
2021-01-11T15:10:36.000Z
2021-01-11T15:10:36.000Z
exercícios/EX_CursoEmVideo/ex112/teste.py
jose-carlos-code/CursoEmvideo-python
8c9b82db2c2b906f6d8f2359a680b9b3af25da43
[ "MIT" ]
null
null
null
exercícios/EX_CursoEmVideo/ex112/teste.py
jose-carlos-code/CursoEmvideo-python
8c9b82db2c2b906f6d8f2359a680b9b3af25da43
[ "MIT" ]
null
null
null
from ex112.utilidadesCEV import dado, moeda p = dado.leiadinheiro('digite um preço: R$') moeda.resumo(p, 10, 15)
37.333333
44
0.75
18
112
4.666667
0.833333
0
0
0
0
0
0
0
0
0
0
0.070707
0.116071
112
3
45
37.333333
0.777778
0
0
0
0
0
0.168142
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ad2fc43105f494b003ef1317125835a98f1b89f1
81,140
py
Python
tests/test_flatland_envs_sparse_rail_generator.py
null-pi/flatland-challenge
babc6895551f96da1c1b6bea6953db498cfa8644
[ "MIT" ]
null
null
null
tests/test_flatland_envs_sparse_rail_generator.py
null-pi/flatland-challenge
babc6895551f96da1c1b6bea6953db498cfa8644
[ "MIT" ]
1
2020-09-04T13:57:01.000Z
2020-09-09T19:21:33.000Z
tests/test_flatland_envs_sparse_rail_generator.py
null-pi/flatland-challenge
babc6895551f96da1c1b6bea6953db498cfa8644
[ "MIT" ]
null
null
null
import unittest import warnings import numpy as np from flatland.core.grid.grid_utils import Vec2dOperations as Vec2d from flatland.envs.observations import GlobalObsForRailEnv from flatland.envs.rail_env import RailEnv from flatland.envs.rail_generators import sparse_rail_generator from flatland.envs.schedule_genera...
53.24147
164
0.636468
12,914
81,140
3.763667
0.020598
0.109168
0.15472
0.216608
0.833841
0.602646
0.593943
0.061991
0.054049
0.054049
0
0.166371
0.187146
81,140
1,523
165
53.276428
0.570556
0.015578
0
0.043537
0
0
0.072062
0.000677
0
0
0
0
0.522449
1
0.004762
false
0
0.006122
0
0.010884
0.002041
0
0
0
null
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
ad3d2c0849889563e8f18aa98a9ff7f1d30a6146
10,410
py
Python
Spelling_check.py
songoku4/CODEC
905342a433d76af92e143c33a80955c29ce31c6f
[ "MIT" ]
null
null
null
Spelling_check.py
songoku4/CODEC
905342a433d76af92e143c33a80955c29ce31c6f
[ "MIT" ]
null
null
null
Spelling_check.py
songoku4/CODEC
905342a433d76af92e143c33a80955c29ce31c6f
[ "MIT" ]
null
null
null
if_list=['if','fi'] for_list=['for','fro','ofr','orf','rof','rfo'] elif_list=['elif', 'elfi', 'eilf', 'eifl', 'efil', 'efli', 'leif', 'lefi', 'lief', 'life', 'lfie', 'lfei', 'ilef', 'ilfe', 'ielf', 'iefl', 'ifel', 'ifle', 'flie', 'flei', 'file', 'fiel', 'feil', 'feli'] else_list=['else', 'eles', 'esle', 'esel', 'ees...
216.875
7,213
0.586071
1,140
10,410
5.307895
0.516667
0.023798
0.03173
0.036358
0.413651
0.402082
0.285573
0.285573
0.285573
0.285573
0
0.001871
0.126993
10,410
47
7,214
221.489362
0.663952
0
0
0.108696
0
0
0.512593
0
0
0
0
0
0
1
0.043478
false
0.065217
0
0
0.086957
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
1
0
0
0
0
0
3
ad5a05cd9df51d28c5d77eb556ce3f8dc02e2f56
358
py
Python
LoansApp/admin.py
EKibet/LoanManage
da500b739b6b872db5535b96e41101a0646cb370
[ "MIT" ]
null
null
null
LoansApp/admin.py
EKibet/LoanManage
da500b739b6b872db5535b96e41101a0646cb370
[ "MIT" ]
6
2020-02-11T23:41:22.000Z
2021-09-08T00:46:32.000Z
LoansApp/admin.py
EKibet/LoanManage
da500b739b6b872db5535b96e41101a0646cb370
[ "MIT" ]
1
2021-11-23T13:46:25.000Z
2021-11-23T13:46:25.000Z
from django.contrib import admin from .models import * # Register your models here. admin.site.register(Profile) admin.site.register(Address) admin.site.register(PersonalParticulars) admin.site.register(EmploymentDetails) admin.site.register(BusinessType) admin.site.register(BankDetails) admin.site.register(LoanPartic...
29.833333
40
0.837989
44
358
6.818182
0.409091
0.24
0.453333
0
0
0
0
0
0
0
0
0
0.058659
358
12
41
29.833333
0.890208
0.072626
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
ad6b8dbfcf8400d10d1f0087446cf76c88fc2116
3,845
py
Python
Scripts/simulation/tunable_time.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
Scripts/simulation/tunable_time.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
Scripts/simulation/tunable_time.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
# uncompyle6 version 3.7.4 # Python bytecode 3.7 (3394) # Decompiled from: Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] # Embedded file name: T:\InGame\Gameplay\Scripts\Server\tunable_time.py # Compiled at: 2020-02-22 02:14:27 # Size of source mod 2**32: 5326 bytes from sims4...
43.693182
194
0.744083
519
3,845
5.252408
0.233141
0.044387
0.072634
0.068232
0.764123
0.736244
0.703595
0.692223
0.608584
0.561996
0
0.038052
0.145644
3,845
88
195
43.693182
0.791781
0.077243
0
0.571429
0
0
0.127612
0.014116
0
0
0
0
0
1
0.111111
false
0
0.031746
0.047619
0.507937
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
ad839d58d442b4f67365c3a33f6994975dd13070
329
py
Python
python/rotational-cipher/rotational_cipher.py
fruit-in/exercism-solution
942f824e2dacd23ee9fd12f5b3e8abed0aeb9581
[ "MIT" ]
9
2020-12-12T03:29:33.000Z
2021-08-11T13:08:06.000Z
python/rotational-cipher/rotational_cipher.py
fruit-in/exercism-solution
942f824e2dacd23ee9fd12f5b3e8abed0aeb9581
[ "MIT" ]
null
null
null
python/rotational-cipher/rotational_cipher.py
fruit-in/exercism-solution
942f824e2dacd23ee9fd12f5b3e8abed0aeb9581
[ "MIT" ]
null
null
null
def rotate(text, key): def encode_single(char, key): if char.isupper(): return chr((ord(char) - 65 + key) % 26 + 65) elif char.islower(): return chr((ord(char) - 97 + key) % 26 + 97) else: return char return ''.join(map(lambda c: encode_single(c, key)...
29.909091
62
0.522796
44
329
3.863636
0.5
0.141176
0.141176
0.188235
0
0
0
0
0
0
0
0.054299
0.328267
329
10
63
32.9
0.714932
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
a8e61308a2c7caa2b889794cdb8a9366ebd9356e
451
py
Python
dinosaur.py
koaning/mktestdocs
96bfc7e43cf6d14053db215b183ba68d9df6c616
[ "Apache-2.0" ]
49
2020-12-02T15:47:47.000Z
2022-03-18T15:04:25.000Z
dinosaur.py
koaning/mktestdocs
96bfc7e43cf6d14053db215b183ba68d9df6c616
[ "Apache-2.0" ]
null
null
null
dinosaur.py
koaning/mktestdocs
96bfc7e43cf6d14053db215b183ba68d9df6c616
[ "Apache-2.0" ]
5
2021-07-20T17:22:09.000Z
2021-12-23T14:12:46.000Z
# This file is actually used to mock a module for the tests. class Dinosaur: def __init__(self): self.name = "trex" @staticmethod def a(value): return value @classmethod def b(cls, value): return value def hello(self): return self.name def roar(): """ ...
14.09375
60
0.549889
56
451
4.339286
0.535714
0.065844
0.131687
0
0
0
0
0
0
0
0
0
0.337029
451
31
61
14.548387
0.812709
0.201774
0
0.133333
0
0
0.072948
0
0
0
0
0
0
1
0.4
false
0
0
0.2
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
a8e667303c42ce022374a87caa89f9cb4401c0d3
1,546
py
Python
env/Lib/site-packages/OpenGL/raw/GL/NV/viewport_swizzle.py
5gconnectedbike/Navio2
8c3f2b5d8bbbcea1fc08739945183c12b206712c
[ "BSD-3-Clause" ]
210
2016-04-09T14:26:00.000Z
2022-03-25T18:36:19.000Z
env/Lib/site-packages/OpenGL/raw/GL/NV/viewport_swizzle.py
5gconnectedbike/Navio2
8c3f2b5d8bbbcea1fc08739945183c12b206712c
[ "BSD-3-Clause" ]
72
2016-09-04T09:30:19.000Z
2022-03-27T17:06:53.000Z
env/Lib/site-packages/OpenGL/raw/GL/NV/viewport_swizzle.py
5gconnectedbike/Navio2
8c3f2b5d8bbbcea1fc08739945183c12b206712c
[ "BSD-3-Clause" ]
64
2016-04-09T14:26:49.000Z
2022-03-21T11:19:47.000Z
'''Autogenerated by xml_generate script, do not edit!''' from OpenGL import platform as _p, arrays # Code generation uses this from OpenGL.raw.GL import _types as _cs # End users want this... from OpenGL.raw.GL._types import * from OpenGL.raw.GL import _errors from OpenGL.constant import Constant as _C import ctypes _...
53.310345
116
0.862872
259
1,546
4.559846
0.27027
0.330229
0.34547
0.132091
0.607113
0.484335
0
0
0
0
0
0.039483
0.049806
1,546
28
117
55.214286
0.764466
0.064683
0
0
1
0
0.280751
0.280751
0
0
0.050035
0
0
1
0.083333
false
0.041667
0.25
0.041667
0.375
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a8e8cf02822cc97ae92125455e983366d8b9e969
84
py
Python
abc214_a.py
hythof/atc
12cb94ebe693e1f469ce0d982bc2924b586552cd
[ "CC0-1.0" ]
null
null
null
abc214_a.py
hythof/atc
12cb94ebe693e1f469ce0d982bc2924b586552cd
[ "CC0-1.0" ]
null
null
null
abc214_a.py
hythof/atc
12cb94ebe693e1f469ce0d982bc2924b586552cd
[ "CC0-1.0" ]
null
null
null
n=int(input()) if n<=125: print(4) elif n<=211: print(6) else: print(8)
10.5
14
0.535714
16
84
2.8125
0.75
0
0
0
0
0
0
0
0
0
0
0.142857
0.25
84
7
15
12
0.571429
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
a8ff7e44870bc69cef222f9dcfa4b9d4b0245d81
454
py
Python
PythonRosebot/rosebot.py
fisherds/RPi
93da536a007600c881f79c80745925e93c13ee18
[ "MIT" ]
1
2021-07-18T22:09:20.000Z
2021-07-18T22:09:20.000Z
PythonRosebot/rosebot.py
fisherds/RPi
93da536a007600c881f79c80745925e93c13ee18
[ "MIT" ]
null
null
null
PythonRosebot/rosebot.py
fisherds/RPi
93da536a007600c881f79c80745925e93c13ee18
[ "MIT" ]
null
null
null
""" Authors: Dave Fisher and PUT_YOUR_NAMES_HERE. """ # TODO: Uncomment the modules used for this lab. import rosebot_drive_system # import leds # import arm_and_claw ############################################################################### # RoseBot class. ##################################################...
28.375
79
0.475771
40
454
5.05
0.7
0.163366
0.178218
0
0
0
0
0
0
0
0
0
0.118943
454
15
80
30.266667
0.505
0.317181
0
0
0
0
0
0
0
0
0
0.066667
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
1
0
0
1
0
0
0
0
1
0
0
3
d10743ccecdce958fb4d40e5de23819cebe73082
257,651
py
Python
jieba/posseg/prob_trans.py
litebook/litebook
3e0fc6daa62a4782a4a1103fe41b9bc56e677e00
[ "Python-2.0" ]
20
2015-01-27T04:50:16.000Z
2019-12-09T02:23:15.000Z
jieba/posseg/prob_trans.py
litebook/litebook
3e0fc6daa62a4782a4a1103fe41b9bc56e677e00
[ "Python-2.0" ]
1
2020-11-26T04:10:27.000Z
2021-01-03T22:36:12.000Z
jieba/posseg/prob_trans.py
hujun-open/litebook
3e0fc6daa62a4782a4a1103fe41b9bc56e677e00
[ "Python-2.0" ]
2
2017-05-09T06:56:00.000Z
2020-11-20T15:23:16.000Z
{('B', 'a'): {('E', 'a'): 0.9949479593949608, ('M', 'a'): 0.005052040605039197}, ('B', 'ad'): {('E', 'ad'): 0.9992523782106919, ('M', 'ad'): 0.0007476217893081491}, ('B', 'ag'): {}, ('B', 'an'): {('E', 'an'): 1.0}, ('B', 'b'): {('E', 'b'): 0.934691101357768, ('M', 'b'): 0.06530889864223...
48.760598
79
0.438034
22,119
257,651
5.102401
0.202631
0.007948
0.002153
0.001861
0.001737
0
0
0
0
0
0
0.585564
0.34629
257,651
5,283
80
48.769828
0.08451
0
0
0.000379
0
0
0.052393
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
d120a091d737c4fdddd30ea948870f478da8a505
585
py
Python
RabbitMq/src/serializer.py
SvenSommer/LegoSorter.BrickRecognition
1a653b597c3902f3c042182c414640eeaafcca87
[ "MIT" ]
null
null
null
RabbitMq/src/serializer.py
SvenSommer/LegoSorter.BrickRecognition
1a653b597c3902f3c042182c414640eeaafcca87
[ "MIT" ]
null
null
null
RabbitMq/src/serializer.py
SvenSommer/LegoSorter.BrickRecognition
1a653b597c3902f3c042182c414640eeaafcca87
[ "MIT" ]
null
null
null
import codecs import pickle from Models.messages.message import Message def serializeMessage(message: Message): return pickle.dumps(message) def deserializeMessage(text: str): return pickle.loads(text) def serializeImage(image: str): # print(f'before serialization: {image}') return codecs.encode(...
21.666667
105
0.733333
72
585
5.916667
0.430556
0.046948
0.112676
0
0
0
0
0
0
0
0
0.019881
0.140171
585
26
106
22.5
0.827038
0.133333
0
0
0
0
0.043912
0
0
0
0
0
0
1
0.333333
false
0
0.25
0.25
0.916667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d12b9dab2140245e116aff775d7907a19564bc4b
23,195
py
Python
python/pb/envoy/config/endpoint/v4alpha/load_report_pb2.py
adriangb/enterprise-client
5d50b457425b0c6d08415b0d986fa9151b792151
[ "Apache-2.0" ]
null
null
null
python/pb/envoy/config/endpoint/v4alpha/load_report_pb2.py
adriangb/enterprise-client
5d50b457425b0c6d08415b0d986fa9151b792151
[ "Apache-2.0" ]
null
null
null
python/pb/envoy/config/endpoint/v4alpha/load_report_pb2.py
adriangb/enterprise-client
5d50b457425b0c6d08415b0d986fa9151b792151
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: envoy/config/endpoint/v4alpha/load_report.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection ...
57.413366
2,857
0.791119
2,959
23,195
5.866509
0.088205
0.038251
0.063483
0.074889
0.750792
0.701884
0.656489
0.597788
0.570943
0.537473
0
0.045862
0.096616
23,195
403
2,858
57.555831
0.782571
0.029748
0
0.641304
1
0.095109
0.210805
0.183015
0
0
0
0
0
1
0
false
0
0.029891
0
0.029891
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d16f93d39966b1b84ddce3873b35351d4f354d1f
777
py
Python
examples/create_rule_and_print_rule.py
BitsOfBinary/yarabuilder
ba16256cac0be113092b22cfb16a2e6ea7778624
[ "MIT" ]
10
2020-06-09T21:20:40.000Z
2021-08-09T20:27:24.000Z
examples/create_rule_and_print_rule.py
BitsOfBinary/yarabuilder
ba16256cac0be113092b22cfb16a2e6ea7778624
[ "MIT" ]
null
null
null
examples/create_rule_and_print_rule.py
BitsOfBinary/yarabuilder
ba16256cac0be113092b22cfb16a2e6ea7778624
[ "MIT" ]
1
2021-01-21T21:49:03.000Z
2021-01-21T21:49:03.000Z
import yarabuilder import pprint yara_builder = yarabuilder.YaraBuilder() yara_builder.create_rule("my_rule") yara_builder.add_meta("my_rule", "description", "Generated by yarabuilder") yara_builder.add_import("my_rule", "pe") yara_builder.add_tag("my_rule", "yarabuilder") yara_builder.add_text_string("my_rule", "Ano...
40.894737
96
0.78121
120
777
4.691667
0.375
0.253996
0.248668
0.08881
0.234458
0.234458
0.234458
0.127886
0
0
0
0.004121
0.063063
777
19
97
40.894737
0.769231
0
0
0
1
0
0.304627
0
0
0
0
0
0
1
0
false
0
0.1875
0
0.1875
0.125
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d1762439479327e07fe3552a77328c93e42b9eba
21
py
Python
src/restLayer/app/datascience/__init__.py
ucsd-ccbb/Oncolist
a3c7ecde6f665a665873e5aa7be5bc3778f5b17e
[ "MIT" ]
null
null
null
src/restLayer/app/datascience/__init__.py
ucsd-ccbb/Oncolist
a3c7ecde6f665a665873e5aa7be5bc3778f5b17e
[ "MIT" ]
null
null
null
src/restLayer/app/datascience/__init__.py
ucsd-ccbb/Oncolist
a3c7ecde6f665a665873e5aa7be5bc3778f5b17e
[ "MIT" ]
null
null
null
__author__ = 'agary'
10.5
20
0.714286
2
21
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
21
1
21
21
0.611111
0
0
0
0
0
0.238095
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
66f87140b241efe041a432a0b637ca950e10bba1
100
py
Python
level_file_templates/__init__.py
parkmichael777/git-gud
1b7999cfe45714932a2339f56010f00412abed57
[ "MIT" ]
null
null
null
level_file_templates/__init__.py
parkmichael777/git-gud
1b7999cfe45714932a2339f56010f00412abed57
[ "MIT" ]
null
null
null
level_file_templates/__init__.py
parkmichael777/git-gud
1b7999cfe45714932a2339f56010f00412abed57
[ "MIT" ]
null
null
null
from gitgud.skills.util import Skill skill = Skill( '{long_name}', '{name}', [ ] )
11.111111
36
0.54
11
100
4.818182
0.727273
0.377358
0
0
0
0
0
0
0
0
0
0
0.29
100
8
37
12.5
0.746479
0
0
0
0
0
0.17
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0f1bf4db8dc7bd6741b979c2d345c13f44c5825d
94
py
Python
road/road.py
jadnohra/daisy
105c0f37c6adbe85ce830375c5e2fc89cbcc6cc9
[ "MIT" ]
3
2021-09-26T10:50:35.000Z
2022-01-25T02:44:37.000Z
road/road.py
jadnohra/daisy
105c0f37c6adbe85ce830375c5e2fc89cbcc6cc9
[ "MIT" ]
1
2021-09-09T14:19:31.000Z
2021-09-09T14:19:31.000Z
road/road.py
jadnohra/daisy
105c0f37c6adbe85ce830375c5e2fc89cbcc6cc9
[ "MIT" ]
null
null
null
class Road(): def __init__(self): self.curves = [] self.curve_table = {}
15.666667
29
0.521277
10
94
4.4
0.8
0
0
0
0
0
0
0
0
0
0
0
0.329787
94
6
29
15.666667
0.698413
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
0f47772ad66c31e854f149e1a5956986bc125e07
591
py
Python
complex_function_grapher.py
spencerparkin/ComplexFunctionGrapher
780eea1fa704d3dcf0f41e701acbe709d0e8c410
[ "MIT" ]
null
null
null
complex_function_grapher.py
spencerparkin/ComplexFunctionGrapher
780eea1fa704d3dcf0f41e701acbe709d0e8c410
[ "MIT" ]
null
null
null
complex_function_grapher.py
spencerparkin/ComplexFunctionGrapher
780eea1fa704d3dcf0f41e701acbe709d0e8c410
[ "MIT" ]
null
null
null
# complex_function_grapher.py class ComplexFunctionGrapher(object): # Derivatives of this class can graph complex-valued functions # of a complex variable in a variety of ways. def __init__(self, window_min=None, window_max=None): self.window_min = complex(real=-10.0, imag=-10.0) if window_min...
45.461538
95
0.712352
91
591
4.472527
0.549451
0.088452
0.063882
0.068796
0
0
0
0
0
0
0
0.025806
0.213198
591
13
96
45.461538
0.849462
0.35533
0
0
0
0
0
0
0
0
0
0.076923
0
1
0.333333
false
0.166667
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
1
0
0
1
0
1
0
0
0
0
0
3
0f72aa325f1fb85e67f4b22563a401f880b848f0
111
py
Python
landlab/components/taylor_nonlinear_hillslope_flux/__init__.py
awickert/landlab
496de56717a5877db96f354a1b1285bfabe8b56f
[ "MIT" ]
1
2019-06-01T07:39:49.000Z
2019-06-01T07:39:49.000Z
landlab/components/taylor_nonlinear_hillslope_flux/__init__.py
awickert/landlab
496de56717a5877db96f354a1b1285bfabe8b56f
[ "MIT" ]
1
2018-04-07T08:24:56.000Z
2018-04-07T13:52:03.000Z
landlab/components/taylor_nonlinear_hillslope_flux/__init__.py
awickert/landlab
496de56717a5877db96f354a1b1285bfabe8b56f
[ "MIT" ]
null
null
null
from .taylor_nonlinear_hillslope_flux import TaylorNonLinearDiffuser __all__ = ['TaylorNonLinearDiffuser', ]
22.2
68
0.846847
9
111
9.666667
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.09009
111
4
69
27.75
0.861386
0
0
0
0
0
0.209091
0.209091
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
0f739e29307c5c3b3c18cc6b5ad96cae0e76e4ea
143
py
Python
tests/test_main.py
lotrekagency/django-google-site-verification
5f2dc33f0265c481ea4da57ab5b6660a2a2cda14
[ "MIT" ]
2
2020-07-22T19:21:39.000Z
2021-01-18T21:21:21.000Z
tests/test_main.py
lotrekagency/django-google-site-verification
5f2dc33f0265c481ea4da57ab5b6660a2a2cda14
[ "MIT" ]
2
2020-06-05T18:45:54.000Z
2021-06-10T20:35:26.000Z
tests/test_main.py
lotrekagency/django-google-site-verification
5f2dc33f0265c481ea4da57ab5b6660a2a2cda14
[ "MIT" ]
null
null
null
def test_verify_site(client): content = client.get('/google11a50bcc62df11b5.html').content assert '11a50bcc62df11b5' in str(content)
23.833333
64
0.755245
16
143
6.625
0.8125
0
0
0
0
0
0
0
0
0
0
0.145161
0.132867
143
5
65
28.6
0.709677
0
0
0
0
0
0.312057
0.198582
0
0
0
0
0.333333
1
0.333333
false
0
0
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
0f7961c4af92ba8e95f8a58e0bab945d86caa836
23,504
py
Python
grpc/python/ops_test.py
wdomitrz/seed_rl
182cf8f9a7fd83eb1c118ccda20945eb481e1899
[ "Apache-2.0" ]
1
2019-10-14T11:38:32.000Z
2019-10-14T11:38:32.000Z
grpc/python/ops_test.py
qstanczyk/seed_rl
ac1b615377c63566a877bba4c2786c4a0010250d
[ "Apache-2.0" ]
null
null
null
grpc/python/ops_test.py
qstanczyk/seed_rl
ac1b615377c63566a877bba4c2786c4a0010250d
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # Copyright 2019 The SEED Authors # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agre...
28.524272
80
0.645039
3,020
23,504
4.915563
0.104305
0.040013
0.03678
0.046076
0.76221
0.740047
0.712698
0.687033
0.659953
0.63449
0
0.020846
0.218303
23,504
823
81
28.558931
0.787133
0.047269
0
0.676948
0
0.001623
0.043647
0
0
0
0
0
0.077922
1
0.136364
false
0.00974
0.019481
0.045455
0.225649
0.001623
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0f7c7487284e1ccd1e87c9dee90d895c2bf5cce4
459
py
Python
gym_wmgds/__init__.py
ozcell/gym_wmgds_ma
c2cb22943913361947216b908d50decc46616e99
[ "Python-2.0", "OLDAP-2.7" ]
1
2020-12-23T16:38:15.000Z
2020-12-23T16:38:15.000Z
gym_wmgds/__init__.py
ozcell/gym_wmgds_ma
c2cb22943913361947216b908d50decc46616e99
[ "Python-2.0", "OLDAP-2.7" ]
null
null
null
gym_wmgds/__init__.py
ozcell/gym_wmgds_ma
c2cb22943913361947216b908d50decc46616e99
[ "Python-2.0", "OLDAP-2.7" ]
null
null
null
import distutils.version import os import sys import warnings from gym_wmgds import error from gym_wmgds.utils import reraise from gym_wmgds.version import VERSION as __version__ from gym_wmgds.core import Env, GoalEnv, Wrapper, ObservationWrapper, ActionWrapper, RewardWrapper from gym_wmgds.spaces import Space from ...
28.6875
98
0.8061
65
459
5.461538
0.430769
0.138028
0.23662
0.101408
0
0
0
0
0
0
0
0
0.122004
459
15
99
30.6
0.880893
0
0
0
0
0
0.067538
0
0
0
0
0
0
1
0
false
0
0.916667
0
0.916667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
0f8341c759afacff2a2d7a8c0329e577540346a7
154
py
Python
video_playlist/models.py
chalikavanyaa/stu-do-list
b6af2f1072936240a59f1b63cc7fc32999132da4
[ "Unlicense" ]
2
2021-12-02T07:15:24.000Z
2021-12-15T06:27:53.000Z
video_playlist/models.py
chalikavanyaa/stu-do-list
b6af2f1072936240a59f1b63cc7fc32999132da4
[ "Unlicense" ]
1
2021-11-05T12:42:12.000Z
2021-11-05T12:42:12.000Z
video_playlist/models.py
chalikavanyaa/stu-do-list
b6af2f1072936240a59f1b63cc7fc32999132da4
[ "Unlicense" ]
6
2021-10-30T13:44:16.000Z
2021-12-29T09:14:18.000Z
from django.db import models # Create your models here. class Video(models.Model): Title = models.CharField(max_length=100) Link = models.URLField()
22
42
0.753247
22
154
5.227273
0.818182
0
0
0
0
0
0
0
0
0
0
0.022727
0.142857
154
6
43
25.666667
0.848485
0.155844
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
0f8d4f2fdd01e0e9e6f444d5a76b227b9eecd1e2
170
py
Python
config.py
Brandonnogithub/annotation_squad
e057b2a162339921f2accd5ebfc022902b79cc39
[ "MIT" ]
null
null
null
config.py
Brandonnogithub/annotation_squad
e057b2a162339921f2accd5ebfc022902b79cc39
[ "MIT" ]
null
null
null
config.py
Brandonnogithub/annotation_squad
e057b2a162339921f2accd5ebfc022902b79cc39
[ "MIT" ]
null
null
null
class Config(object): max_len = 512 - 2 num_sample = 50 processed_path = "data/processed/dev.json" def __init__(self): pass config = Config()
14.166667
46
0.617647
22
170
4.454545
0.863636
0
0
0
0
0
0
0
0
0
0
0.04878
0.276471
170
12
47
14.166667
0.747967
0
0
0
0
0
0.134503
0.134503
0
0
0
0
0
1
0.142857
false
0.142857
0
0
0.714286
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
1
0
0
1
0
0
3
0f90d51f4f0729dc2005f7b545b14ed77dd98b64
1,054
py
Python
lebanese_channels/channel.py
blazeinmedia/Lebanese-Channels
f314868ac3da69ce5a27f6f953145096be1c31eb
[ "MIT" ]
1
2020-04-09T19:39:35.000Z
2020-04-09T19:39:35.000Z
lebanese_channels/channel.py
blazeinmedia/Lebanese-Channels
f314868ac3da69ce5a27f6f953145096be1c31eb
[ "MIT" ]
null
null
null
lebanese_channels/channel.py
blazeinmedia/Lebanese-Channels
f314868ac3da69ce5a27f6f953145096be1c31eb
[ "MIT" ]
null
null
null
import re from abc import ABC, abstractmethod from typing import List from lebanese_channels.epg.program_data import ProgramData class Channel(ABC): @abstractmethod def get_name(self) -> str: pass @abstractmethod def get_logo(self) -> str: pass @abstractmethod def get_stream...
20.269231
58
0.616698
124
1,054
5.040323
0.370968
0.048
0.128
0.12
0.3248
0.2544
0.1056
0.1056
0
0
0
0
0.293169
1,054
51
59
20.666667
0.838926
0.024668
0
0.472222
0
0
0.002924
0
0
0
0
0
0
1
0.25
false
0.111111
0.111111
0.055556
0.611111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
7e58caac52d827662933ded95f3b31f22c896bf1
714
py
Python
tests/test_urls.py
occrp-attic/exactitude
9fe13aa70f1aac644dbc999e0b21683db507f02d
[ "MIT" ]
3
2019-03-29T00:15:53.000Z
2020-03-29T18:58:28.000Z
tests/test_urls.py
occrp-attic/exactitude
9fe13aa70f1aac644dbc999e0b21683db507f02d
[ "MIT" ]
3
2018-02-15T23:57:04.000Z
2018-04-10T12:47:22.000Z
tests/test_urls.py
occrp-attic/exactitude
9fe13aa70f1aac644dbc999e0b21683db507f02d
[ "MIT" ]
1
2017-12-02T15:49:21.000Z
2017-12-02T15:49:21.000Z
import unittest from exactitude import urls class UrlsTest(unittest.TestCase): def test_is_url(self): self.assertTrue(urls.validate('http://foo.org')) self.assertFalse(urls.validate(None)) self.assertFalse(urls.validate('hello')) def test_parse_url(self): self.assertEqual(ur...
34
79
0.614846
98
714
4.438776
0.306122
0.177011
0.229885
0.275862
0.45977
0.45977
0.45977
0.45977
0.45977
0.45977
0
0.006826
0.179272
714
20
80
35.7
0.735495
0
0
0
0
0
0.264706
0
0
0
0
0
0.571429
1
0.142857
false
0
0.142857
0
0.357143
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
7e5d3c44a66497d8a436a3ad3f1fa1177e325f1f
432
py
Python
slice.py
taccisum/py_base_learn
d7608827cb03f3d24dabe51309dabc832a55fb34
[ "MIT" ]
null
null
null
slice.py
taccisum/py_base_learn
d7608827cb03f3d24dabe51309dabc832a55fb34
[ "MIT" ]
null
null
null
slice.py
taccisum/py_base_learn
d7608827cb03f3d24dabe51309dabc832a55fb34
[ "MIT" ]
null
null
null
#coding=utf-8 ls = [1, 2, 3, 4, 5, 6, 7] print '定义一个list', ls print print '取前三个元素', ls[0:3] print '取第二、第三及第四个元素', ls[1:4] print print '取倒数第二、第三个元素', ls[-3:-1] print '取最后两个元素', ls[-2:] print print '前5个数中,每隔一个数取一个', ls[0:5:2] print '所有数,每隔一个数取一个', ls[::2] print print '复制一个list', ls[:] print print '################...
13.935484
40
0.594907
76
432
3.381579
0.368421
0.272374
0.023346
0.031128
0.054475
0.054475
0.054475
0
0
0
0
0.082418
0.157407
432
30
41
14.4
0.623626
0.027778
0
0.35
0
0
0.308612
0.055024
0
0
0
0
0
0
null
null
0
0
null
null
0.9
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
1
0
0
0
0
0
0
1
0
3
7e69321ab33176778e0a15eea1879d19ef3a8d6c
210
py
Python
AtCoder/ABC125/B.py
takaaki82/Java-Lessons
c4f11462bf84c091527dde5f25068498bfb2cc49
[ "MIT" ]
1
2018-11-25T04:15:45.000Z
2018-11-25T04:15:45.000Z
AtCoder/ABC125/B.py
takaaki82/Java-Lessons
c4f11462bf84c091527dde5f25068498bfb2cc49
[ "MIT" ]
null
null
null
AtCoder/ABC125/B.py
takaaki82/Java-Lessons
c4f11462bf84c091527dde5f25068498bfb2cc49
[ "MIT" ]
2
2018-08-08T13:01:14.000Z
2018-11-25T12:38:36.000Z
N = int(input()) v_list = list(map(int, input().split())) c_list = list(map(int, input().split())) ans = 0 for i in range(N): v = v_list[i] c = c_list[i] if v > c: ans += v -c print(ans)
15
40
0.52381
40
210
2.65
0.4
0.226415
0.207547
0.264151
0.45283
0.45283
0
0
0
0
0
0.006494
0.266667
210
13
41
16.153846
0.681818
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.1
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7e82ae21991c8aeb9d4938bf6b1211877aea548b
751
py
Python
wgame/models.py
siriusxyl/my_site
229304a108d7155576ca8bed1bb21da93c318b14
[ "MIT" ]
null
null
null
wgame/models.py
siriusxyl/my_site
229304a108d7155576ca8bed1bb21da93c318b14
[ "MIT" ]
null
null
null
wgame/models.py
siriusxyl/my_site
229304a108d7155576ca8bed1bb21da93c318b14
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- from __future__ import unicode_literals from django.db import models # Create your models here. class WGameVersion(models.Model): game = models.CharField(max_length=50, default='') version = models.CharField(max_length=20, default='') switch = models.IntegerField(default=0) c...
28.884615
58
0.740346
95
751
5.642105
0.421053
0.139925
0.16791
0.223881
0.649254
0.649254
0.649254
0.649254
0.649254
0.649254
0
0.020124
0.139814
751
25
59
30.04
0.809598
0.05992
0
0.571429
0
0
0
0
0
0
0
0
0
1
0
false
0
0.142857
0
1
0
0
0
0
null
0
0
1
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
3
7e92b9c02dd9e5cf3026435083e8d08a8a6ac396
687
py
Python
accounts/urls.py
aghalloran/WordGameBackend
277a7e721566580ca32820eaf5b21a2f0beaeff2
[ "MIT" ]
null
null
null
accounts/urls.py
aghalloran/WordGameBackend
277a7e721566580ca32820eaf5b21a2f0beaeff2
[ "MIT" ]
null
null
null
accounts/urls.py
aghalloran/WordGameBackend
277a7e721566580ca32820eaf5b21a2f0beaeff2
[ "MIT" ]
null
null
null
from django.conf.urls import patterns, include, url urlpatterns = patterns('', url(r'^login/$','django.contrib.auth.views.login', {'template_name':'accounts/login.html'}), url(r'^logout/$','django.contrib.auth.views.logout', {'next_page':'/wordgame/main/'}), url(r'^password_change/$','djan...
42.9375
74
0.687045
82
687
5.573171
0.353659
0.043764
0.148797
0.19256
0.275711
0
0
0
0
0
0
0
0.120815
687
15
75
45.8
0.756623
0
0
0
0
0
0.634111
0.389213
0
0
0
0
0
1
0
false
0.384615
0.076923
0
0.076923
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
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
7e96e92c2984d325e28609dad4fe9edcbcf2edd7
188
py
Python
wsgi.py
acalec/goes-on
e1af47532bbc1f7efd8a60135abcc6cac8eb2e07
[ "MIT" ]
null
null
null
wsgi.py
acalec/goes-on
e1af47532bbc1f7efd8a60135abcc6cac8eb2e07
[ "MIT" ]
null
null
null
wsgi.py
acalec/goes-on
e1af47532bbc1f7efd8a60135abcc6cac8eb2e07
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import sys from os.path import abspath from os.path import dirname import app sys.path.insert(0, abspath(dirname(__file__))) application = app.configured_app()
14.461538
46
0.765957
29
188
4.793103
0.586207
0.086331
0.143885
0.230216
0
0
0
0
0
0
0
0.012195
0.12766
188
12
47
15.666667
0.835366
0.111702
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7e9e97899b3023e6f82bba744f9922166701571f
368
py
Python
partners/models.py
zqsun/Buybuybiz_pinax
80cfba721ab7ea83538b11c830158259816aec2e
[ "MIT" ]
null
null
null
partners/models.py
zqsun/Buybuybiz_pinax
80cfba721ab7ea83538b11c830158259816aec2e
[ "MIT" ]
null
null
null
partners/models.py
zqsun/Buybuybiz_pinax
80cfba721ab7ea83538b11c830158259816aec2e
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class Partners(models.Model): name = models.CharField(max_length=50) company = models.CharField(max_length=100) title = models.CharField(max_length=100) description = models.TextField(default=" ") picture = models.ImageField(upload_to='partner_images',blank=...
33.454545
67
0.779891
50
368
5.56
0.68
0.161871
0.194245
0.258993
0.194245
0
0
0
0
0
0
0.024316
0.105978
368
11
68
33.454545
0.820669
0.065217
0
0
0
0
0.043732
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0.111111
1
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
1
0
0
0
3
7eaebda4cb0a4eff3103e067cafbdfc92ac9740f
97
py
Python
problem/01000~09999/01225/1225.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
1
2019-04-19T16:37:44.000Z
2019-04-19T16:37:44.000Z
problem/01000~09999/01225/1225.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
1
2019-04-20T11:42:44.000Z
2019-04-20T11:42:44.000Z
problem/01000~09999/01225/1225.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
3
2019-04-19T16:37:47.000Z
2021-10-25T00:45:00.000Z
a,b=input().split() bSum,ans=0,0 for i in b: bSum+=int(i) for i in a: ans+=int(i)*bSum print(ans)
19.4
28
0.639175
25
97
2.48
0.48
0.129032
0.193548
0
0
0
0
0
0
0
0
0.023529
0.123711
97
5
29
19.4
0.705882
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7eb0aa2f58c575fb0112c480d42a6adbf68ea09c
137
py
Python
src/chippy8/__main__.py
jeffnyman/chippy8
11f502d11752fd41187647ac332622cb619ddf86
[ "MIT" ]
null
null
null
src/chippy8/__main__.py
jeffnyman/chippy8
11f502d11752fd41187647ac332622cb619ddf86
[ "MIT" ]
null
null
null
src/chippy8/__main__.py
jeffnyman/chippy8
11f502d11752fd41187647ac332622cb619ddf86
[ "MIT" ]
null
null
null
"""Package entry point for ChipPy-8.""" import sys from chippy8.startup import main if __name__ == "__main__": sys.exit(main())
12.454545
39
0.678832
19
137
4.473684
0.789474
0
0
0
0
0
0
0
0
0
0
0.017857
0.182482
137
10
40
13.7
0.741071
0.240876
0
0
0
0
0.081633
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
0e2485129fa0ccdcc6257ee30278605051d00659
2,639
py
Python
backend/app/conftest.py
rickh94/sheet_music_database
4216ff0dbbcd2323e68f64368c8062cdfcc0358f
[ "MIT" ]
null
null
null
backend/app/conftest.py
rickh94/sheet_music_database
4216ff0dbbcd2323e68f64368c8062cdfcc0358f
[ "MIT" ]
9
2020-06-05T19:52:13.000Z
2022-02-12T08:45:04.000Z
backend/app/conftest.py
rickh94/sheet_music_database
4216ff0dbbcd2323e68f64368c8062cdfcc0358f
[ "MIT" ]
null
null
null
import pytest from django.contrib.auth import get_user_model from rest_framework import status from core.models import Sheet, Tag, Instrument pytestmark = pytest.mark.django_db @pytest.fixture def user1_password(): return "The 44th President" @pytest.fixture def user2_password(): return "The 44th First La...
21.455285
85
0.688139
344
2,639
5.098837
0.244186
0.111174
0.13683
0.047891
0.554162
0.478335
0.399658
0.295895
0.210946
0.152794
0
0.02261
0.195529
2,639
122
86
21.631148
0.80358
0
0
0.390805
0
0
0.093217
0.016673
0
0
0
0
0
1
0.206897
false
0.068966
0.045977
0.137931
0.45977
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
0e385f1fa3606dd88c702b311a048368c3d106fe
318
py
Python
core/urls.py
tarkadal/Covid-Django-Stats
d1936a75b232f2977096571629d80c6fde5eba29
[ "MIT" ]
null
null
null
core/urls.py
tarkadal/Covid-Django-Stats
d1936a75b232f2977096571629d80c6fde5eba29
[ "MIT" ]
null
null
null
core/urls.py
tarkadal/Covid-Django-Stats
d1936a75b232f2977096571629d80c6fde5eba29
[ "MIT" ]
null
null
null
from django.contrib import admin from django.urls import path import core.views as views from core.views import index urlpatterns = [ path('', views.index, name='index'), path('england/', views.covid_england, name='covid_england'), path('england/<str:area>/', views.covid_england, name='covid_england'), ]
31.8
75
0.726415
44
318
5.159091
0.386364
0.211454
0.14978
0.185022
0.290749
0.290749
0
0
0
0
0
0
0.128931
318
10
76
31.8
0.819495
0
0
0
0
0
0.181818
0
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
0
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
1
0
0
0
0
3
0e3a96c7b2f205327e2e49a31529d53cf9847609
400
py
Python
Dataset/Leetcode/test/121/296.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/121/296.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/121/296.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution: def XXX(self, prices: List[int]) -> int: n = len(prices) dp = [0]*n dp[0] = 0 minPri = prices[0] for i in range(1,n): if prices[i] < minPri: minPri = prices[i] if prices[i] - minPri <= 0: dp[i] = 0 ...
25
44
0.405
51
400
3.176471
0.431373
0.17284
0.240741
0.185185
0
0
0
0
0
0
0
0.03271
0.465
400
15
45
26.666667
0.724299
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
0e3e1b59e921886feed22412a14d70c8d6b4b969
261
py
Python
nnutil/layers/repeat.py
aroig/nnutil
88df41ee89f592a28c1661ee8837dd8e8ca42cf3
[ "BSD-3-Clause" ]
null
null
null
nnutil/layers/repeat.py
aroig/nnutil
88df41ee89f592a28c1661ee8837dd8e8ca42cf3
[ "BSD-3-Clause" ]
null
null
null
nnutil/layers/repeat.py
aroig/nnutil
88df41ee89f592a28c1661ee8837dd8e8ca42cf3
[ "BSD-3-Clause" ]
null
null
null
import copy import tensorflow as tf from .segment import Segment class Repeat(Segment): def __init__(self, layer, num, **kwargs): layers = [copy.deepcopy(layer) for i in range(0, num)] super(Repeat, self).__init__(layers=layers, **kwargs)
26.1
62
0.689655
36
261
4.777778
0.638889
0
0
0
0
0
0
0
0
0
0
0.004739
0.191571
261
9
63
29
0.810427
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
0e4f7bd8b265edd0c50e2912a9a7b178dd76a572
482
py
Python
src/euler_python_package/euler_python/easiest/p001.py
wilsonify/euler
5214b776175e6d76a7c6d8915d0e062d189d9b79
[ "MIT" ]
null
null
null
src/euler_python_package/euler_python/easiest/p001.py
wilsonify/euler
5214b776175e6d76a7c6d8915d0e062d189d9b79
[ "MIT" ]
null
null
null
src/euler_python_package/euler_python/easiest/p001.py
wilsonify/euler
5214b776175e6d76a7c6d8915d0e062d189d9b79
[ "MIT" ]
null
null
null
def sum_multiples_of_3_or_5_below_n(n): """ If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. """ return sum(x for x in range(n) if (x % 3 == 0 or x % 5 == 0)) def problem001(): """ Find the sum of al...
20.956522
80
0.616183
88
482
3.125
0.443182
0.16
0.174545
0.203636
0.301818
0.247273
0.174545
0.174545
0
0
0
0.098551
0.284232
482
22
81
21.909091
0.698551
0.383817
0
0
0
0
0.031746
0
0
0
0
0
0
1
0.285714
false
0
0
0
0.571429
0.142857
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
0ea69479a0cf3b5f2256f7a742364089d6c0e67f
1,354
py
Python
explorer/python-api/explorer_python_api/logger.py
johnnynetgevity/cardano-sl
1499214d93767b703b9599369a431e67d83f10a2
[ "Apache-2.0" ]
4,174
2017-01-15T16:32:20.000Z
2022-03-30T12:41:57.000Z
explorer/python-api/explorer_python_api/logger.py
johnnynetgevity/cardano-sl
1499214d93767b703b9599369a431e67d83f10a2
[ "Apache-2.0" ]
2,959
2017-01-23T08:40:46.000Z
2020-07-29T07:59:43.000Z
explorer/python-api/explorer_python_api/logger.py
johnnynetgevity/cardano-sl
1499214d93767b703b9599369a431e67d83f10a2
[ "Apache-2.0" ]
779
2017-01-20T22:23:05.000Z
2022-03-30T12:41:59.000Z
from datetime import datetime LEVELS = ['trace', 'debug', 'info', 'warn', 'severe'] class Logger(): __slots__ = ['logger', 'level'] # def __init__(self, logger='', level='debug'): def __init__(self, logger='', level='debug'): self.level = LEVELS.index(level) self.logger = logger def...
34.717949
97
0.602659
169
1,354
4.757396
0.260355
0.136816
0.104478
0.124378
0.384328
0.384328
0.317164
0.317164
0.317164
0.317164
0
0
0.228213
1,354
38
98
35.631579
0.769378
0.033235
0
0
0
0
0.164499
0.052028
0
0
0
0
0
1
0.259259
false
0
0.037037
0.185185
0.62963
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
1
0
0
3
7ebe42177009005ab0c692a9d3c666dfcd5115fe
386
py
Python
ej/admin.py
Aktay-0/WP_EJ
b627e928a3a1d7bd0e059fb58964915fa8daf906
[ "MIT" ]
null
null
null
ej/admin.py
Aktay-0/WP_EJ
b627e928a3a1d7bd0e059fb58964915fa8daf906
[ "MIT" ]
null
null
null
ej/admin.py
Aktay-0/WP_EJ
b627e928a3a1d7bd0e059fb58964915fa8daf906
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import * # Register your models here. admin.site.register(Users_login) admin.site.register(Students) admin.site.register(Teachers) admin.site.register(Admins) admin.site.register(Groups) admin.site.register(Subjects) admin.site.register(Schedule) admin.site.register(Repla...
25.733333
33
0.821244
53
386
5.962264
0.396226
0.28481
0.537975
0
0
0
0
0
0
0
0
0
0.062176
386
15
34
25.733333
0.872928
0.067358
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
7ecc381f9141ad842c57a0b1cbd983abdbe6805a
2,749
py
Python
qlib/qbit.py
fufik/qlib
f71b1de1598eaa4ed98f73a28d5fa0a84d92d35d
[ "MIT" ]
null
null
null
qlib/qbit.py
fufik/qlib
f71b1de1598eaa4ed98f73a28d5fa0a84d92d35d
[ "MIT" ]
null
null
null
qlib/qbit.py
fufik/qlib
f71b1de1598eaa4ed98f73a28d5fa0a84d92d35d
[ "MIT" ]
null
null
null
import numpy as np import cmath from qlib.error import QbitError import qlib.matrix as mat class qbit: def __init__(self,*prms): if len(prms) == 2: lower,upper = prms[0],prms[1] if round((abs(lower)**2 + abs(upper)**2),5) == 1: self.vector = np.array([[upper],[lower]]...
33.120482
134
0.558749
422
2,749
3.530806
0.2109
0.100671
0.032215
0.044295
0.434899
0.414765
0.292617
0.193289
0.193289
0.193289
0
0.031915
0.247726
2,749
82
135
33.52439
0.688588
0.24518
0
0.127273
0
0
0.048035
0
0
0
0
0
0
1
0.236364
false
0
0.072727
0.2
0.545455
0.036364
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7ee8043d62ac1c3955d2466979af7b3850e13540
138
py
Python
atcoder/other/tkppc_2015_b.py
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
1
2018-11-12T15:18:55.000Z
2018-11-12T15:18:55.000Z
atcoder/other/tkppc_2015_b.py
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
null
null
null
atcoder/other/tkppc_2015_b.py
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
null
null
null
range = xrange; input = raw_input ans = (0, -10**5) for i in range(int(input())): ans = max(ans, (int(input()), -i-1)) print(-ans[1])
23
40
0.572464
25
138
3.12
0.6
0.205128
0
0
0
0
0
0
0
0
0
0.052632
0.173913
138
5
41
27.6
0.631579
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3