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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
173d95490a42510e2c597222248a1c543e75fe0d | 503 | py | Python | src/masonite/providers/AuthenticationProvider.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | 1,816 | 2018-02-14T01:59:51.000Z | 2022-03-31T17:09:20.000Z | src/masonite/providers/AuthenticationProvider.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | 340 | 2018-02-11T00:27:26.000Z | 2022-03-21T12:00:24.000Z | src/masonite/providers/AuthenticationProvider.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | 144 | 2018-03-18T00:08:16.000Z | 2022-02-26T01:51:58.000Z | from ..authentication import Auth
from ..authentication.guards import WebGuard
from ..configuration import config
from .Provider import Provider
class AuthenticationProvider(Provider):
def __init__(self, application):
self.application = application
def register(self):
auth = Auth(self.applica... | 27.944444 | 78 | 0.715706 | 55 | 503 | 6.436364 | 0.418182 | 0.211864 | 0.107345 | 0.169492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182903 | 503 | 17 | 79 | 29.588235 | 0.861314 | 0 | 0 | 0 | 0 | 0 | 0.035785 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0.076923 | 0.307692 | 0 | 0.615385 | 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 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e5246e1e0f1e535692e216ba800693123f7d1f66 | 48 | py | Python | operations.py | grahamas/py-control | 75cf011bfd0acbd1f9f33d42502797c2e6931da0 | [
"Apache-2.0"
] | 1 | 2015-10-17T00:26:41.000Z | 2015-10-17T00:26:41.000Z | operations.py | grahamas/py-control | 75cf011bfd0acbd1f9f33d42502797c2e6931da0 | [
"Apache-2.0"
] | null | null | null | operations.py | grahamas/py-control | 75cf011bfd0acbd1f9f33d42502797c2e6931da0 | [
"Apache-2.0"
] | null | null | null | from email.parser import Parser as EmailParser
| 16 | 46 | 0.833333 | 7 | 48 | 5.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 2 | 47 | 24 | 0.97561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e52a203c2ccf61ab88b8482f73c6465d2268defa | 3,187 | py | Python | listshuffler-be/tests/unit/test_get_instance.py | csiztom/listshuffler | d4fea7da3d506e93cca4a8e79c6f0ba98aebbac5 | [
"MIT"
] | null | null | null | listshuffler-be/tests/unit/test_get_instance.py | csiztom/listshuffler | d4fea7da3d506e93cca4a8e79c6f0ba98aebbac5 | [
"MIT"
] | null | null | null | listshuffler-be/tests/unit/test_get_instance.py | csiztom/listshuffler | d4fea7da3d506e93cca4a8e79c6f0ba98aebbac5 | [
"MIT"
] | null | null | null | import json
import datetime
from unittest import TestCase, mock
from src.get_instance import app
def good_api_event():
return {
"body": '{ "adminID": "thisnthat"}',
"queryStringParameters": None
}
def bad_api_event():
return {
"body": None,
"queryStringParameters": None
... | 40.858974 | 98 | 0.641356 | 389 | 3,187 | 5.020566 | 0.190231 | 0.107015 | 0.079877 | 0.106503 | 0.806452 | 0.774706 | 0.738863 | 0.722478 | 0.722478 | 0.686124 | 0 | 0.020505 | 0.204267 | 3,187 | 77 | 99 | 41.38961 | 0.749606 | 0 | 0 | 0.453125 | 0 | 0 | 0.140885 | 0.050832 | 0 | 0 | 0 | 0 | 0.28125 | 1 | 0.109375 | false | 0 | 0.0625 | 0.03125 | 0.21875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
e574996bc0202b49abe400b283ca369147ff8b82 | 16 | py | Python | tmp/testdata/pkg/b.py | KGerring/importlab | bda6e8146b6b8eda3bb8f208944b30bcf340f92c | [
"Apache-2.0"
] | 130 | 2018-03-12T13:20:17.000Z | 2022-03-31T17:15:14.000Z | tmp/testdata/pkg/b.py | KGerring/importlab | bda6e8146b6b8eda3bb8f208944b30bcf340f92c | [
"Apache-2.0"
] | 33 | 2018-05-02T22:52:07.000Z | 2022-01-07T20:27:20.000Z | tmp/testdata/pkg/b.py | KGerring/importlab | bda6e8146b6b8eda3bb8f208944b30bcf340f92c | [
"Apache-2.0"
] | 20 | 2018-03-01T08:35:42.000Z | 2022-01-07T05:32:41.000Z | from . import c
| 8 | 15 | 0.6875 | 3 | 16 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 16 | 1 | 16 | 16 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e5ed5de6c346b76eddb462b214028d40178f5d14 | 35 | py | Python | appicon/ios/__init__.py | oxcug/appicon | 33aaadd24d2bf9a7bf05f4977f27e93e453c2b52 | [
"MIT"
] | 2 | 2021-10-03T09:37:42.000Z | 2021-11-17T03:45:02.000Z | appicon/ios/__init__.py | oxcug/appicon | 33aaadd24d2bf9a7bf05f4977f27e93e453c2b52 | [
"MIT"
] | 1 | 2021-11-17T03:44:53.000Z | 2021-11-24T07:28:50.000Z | appicon/ios/__init__.py | oxcug/appicon | 33aaadd24d2bf9a7bf05f4977f27e93e453c2b52 | [
"MIT"
] | 1 | 2021-11-23T17:26:30.000Z | 2021-11-23T17:26:30.000Z | from .iosicongen import IOSIconGen
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e5f576f5a31b4fe7217f43ebd802c8ffdbedc147 | 452 | py | Python | exercises/concept/ghost-gobble-arcade-game/.meta/exemplar.py | gsilvapt/python | d675468b2437d4c09c358d023ef998a05a781f58 | [
"MIT"
] | 200 | 2019-12-12T13:50:59.000Z | 2022-02-20T22:38:42.000Z | exercises/concept/ghost-gobble-arcade-game/.meta/exemplar.py | gsilvapt/python | d675468b2437d4c09c358d023ef998a05a781f58 | [
"MIT"
] | 1,938 | 2019-12-12T08:07:10.000Z | 2021-01-29T12:56:13.000Z | exercises/concept/ghost-gobble-arcade-game/.meta/exemplar.py | gsilvapt/python | d675468b2437d4c09c358d023ef998a05a781f58 | [
"MIT"
] | 239 | 2019-12-12T14:09:08.000Z | 2022-03-18T00:04:07.000Z | def eat_ghost(power_pellet_active, touching_ghost):
return power_pellet_active and touching_ghost
def score(touching_power_pellet, touching_dot):
return touching_power_pellet or touching_dot
def lose(power_pellet_active, touching_ghost):
return not power_pellet_active and touching_ghost
def win(has_ea... | 30.133333 | 79 | 0.836283 | 68 | 452 | 5.102941 | 0.279412 | 0.253602 | 0.293948 | 0.288184 | 0.628242 | 0.628242 | 0.207493 | 0 | 0 | 0 | 0 | 0 | 0.119469 | 452 | 14 | 80 | 32.285714 | 0.871859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
005ee26e767e4bc7dca34ebcd3b53d1e560c6609 | 169 | py | Python | geometry/admin.py | rankrh/soli | 8f19945a175106064591d09a53d07fcbfa26b7da | [
"MIT"
] | null | null | null | geometry/admin.py | rankrh/soli | 8f19945a175106064591d09a53d07fcbfa26b7da | [
"MIT"
] | null | null | null | geometry/admin.py | rankrh/soli | 8f19945a175106064591d09a53d07fcbfa26b7da | [
"MIT"
] | 2 | 2019-09-07T15:10:14.000Z | 2020-09-04T01:51:19.000Z | from django.contrib import admin
from geometry.models.point import Point
from geometry.models.shape import Shape
admin.site.register(Point)
admin.site.register(Shape)
| 21.125 | 39 | 0.828402 | 25 | 169 | 5.6 | 0.44 | 0.171429 | 0.257143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094675 | 169 | 7 | 40 | 24.142857 | 0.915033 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0071c08d45e3e8b1de67e8ce7f78ed225823a3ec | 80 | py | Python | src/hugtools/_version.py | adam-huganir/hugtools | 5aa84f0d99b50146239db5567ecc2af57403b27d | [
"Apache-2.0"
] | null | null | null | src/hugtools/_version.py | adam-huganir/hugtools | 5aa84f0d99b50146239db5567ecc2af57403b27d | [
"Apache-2.0"
] | 1 | 2021-12-01T20:55:19.000Z | 2021-12-01T20:55:19.000Z | src/hugtools/_version.py | adam-huganir/hugtools | 5aa84f0d99b50146239db5567ecc2af57403b27d | [
"Apache-2.0"
] | null | null | null | import importlib.metadata
__version__ = importlib.metadata.version("hugtools")
| 20 | 52 | 0.825 | 8 | 80 | 7.75 | 0.625 | 0.548387 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 80 | 3 | 53 | 26.666667 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
00b5cd966755f628b193bfb01431cf448e75a645 | 109 | py | Python | ds4ml/__init__.py | SebastianWolf-SAP/data-synthesis-for-machine-learning | b622739776cedf57a906d7304a96aa31f767340c | [
"Apache-2.0"
] | 12 | 2019-10-24T08:52:41.000Z | 2021-12-20T21:54:09.000Z | ds4ml/__init__.py | SebastianWolf-SAP/data-synthesis-for-machine-learning | b622739776cedf57a906d7304a96aa31f767340c | [
"Apache-2.0"
] | 7 | 2020-01-07T23:02:42.000Z | 2022-02-17T21:36:19.000Z | ds4ml/__init__.py | SebastianWolf-SAP/data-synthesis-for-machine-learning | b622739776cedf57a906d7304a96aa31f767340c | [
"Apache-2.0"
] | 9 | 2019-12-16T19:51:48.000Z | 2022-02-27T18:40:40.000Z |
from ds4ml.dataset import DataSet
from ds4ml.attribute import Attribute
from ds4ml.evaluator import BiFrame
| 21.8 | 37 | 0.853211 | 15 | 109 | 6.2 | 0.466667 | 0.290323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.119266 | 109 | 4 | 38 | 27.25 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
00d32dc81dc01f16a6e50f888e34ac4df6f30081 | 48 | py | Python | system/t10_task/__init__.py | kchida/aptly | 07165efc9d4bcd7018031787f27e70c2d8ecb8b9 | [
"MIT"
] | 16 | 2015-02-10T16:32:43.000Z | 2021-08-10T18:59:10.000Z | system/t10_task/__init__.py | kchida/aptly | 07165efc9d4bcd7018031787f27e70c2d8ecb8b9 | [
"MIT"
] | null | null | null | system/t10_task/__init__.py | kchida/aptly | 07165efc9d4bcd7018031787f27e70c2d8ecb8b9 | [
"MIT"
] | 8 | 2015-02-28T23:21:55.000Z | 2020-11-24T11:29:30.000Z | """
Test aptly task run
"""
from .run import *
| 8 | 19 | 0.604167 | 7 | 48 | 4.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229167 | 48 | 5 | 20 | 9.6 | 0.783784 | 0.395833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
00d75005f806879ad5517a2afd14f553a6b136e4 | 46 | py | Python | deepdraken/image_generation/__init__.py | DevavratSinghBisht/deepdraken | 66671bee2d677d3e900077c5d1c66c0b1eff2cee | [
"Apache-2.0"
] | null | null | null | deepdraken/image_generation/__init__.py | DevavratSinghBisht/deepdraken | 66671bee2d677d3e900077c5d1c66c0b1eff2cee | [
"Apache-2.0"
] | null | null | null | deepdraken/image_generation/__init__.py | DevavratSinghBisht/deepdraken | 66671bee2d677d3e900077c5d1c66c0b1eff2cee | [
"Apache-2.0"
] | null | null | null | from deepdraken.image_generation.gans import * | 46 | 46 | 0.869565 | 6 | 46 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 46 | 1 | 46 | 46 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
00e102f25593b40d8de301614018fb8cd2e98fbd | 652 | py | Python | bdd/contact_scenario.py | apzhad/test | c82746d1d934974d8c789972b1871b6eeccdfae3 | [
"Apache-2.0"
] | null | null | null | bdd/contact_scenario.py | apzhad/test | c82746d1d934974d8c789972b1871b6eeccdfae3 | [
"Apache-2.0"
] | null | null | null | bdd/contact_scenario.py | apzhad/test | c82746d1d934974d8c789972b1871b6eeccdfae3 | [
"Apache-2.0"
] | null | null | null | from pytest_bdd import scenario
from .contact_steps import *
@scenario('contact.feature', 'Add new contact')
def test_add_new_contact():
pass
@scenario('contact.feature', 'Modify contact')
def test_modify_contact():
pass
@scenario('contact.feature', 'Delete contact')
def test_delete_contact... | 19.757576 | 59 | 0.707055 | 79 | 652 | 5.594937 | 0.253165 | 0.20362 | 0.298643 | 0.294118 | 0.486425 | 0.486425 | 0.208145 | 0 | 0 | 0 | 0 | 0 | 0.179448 | 652 | 32 | 60 | 20.375 | 0.826168 | 0 | 0 | 0.3 | 0 | 0 | 0.320968 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | true | 0.3 | 0.1 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
daff5e1c27f79e9b3f667f4459b34028cc623888 | 173 | py | Python | part_1_players/NeuralNetTest.py | mattmahowald/NFL-Draft-Regression | 59e58581f07c1a5209e18116176ea491b6f3ee0f | [
"MIT"
] | null | null | null | part_1_players/NeuralNetTest.py | mattmahowald/NFL-Draft-Regression | 59e58581f07c1a5209e18116176ea491b6f3ee0f | [
"MIT"
] | null | null | null | part_1_players/NeuralNetTest.py | mattmahowald/NFL-Draft-Regression | 59e58581f07c1a5209e18116176ea491b6f3ee0f | [
"MIT"
] | null | null | null | from Regressor import Regressor
regressor = Regressor()
outputLR = regressor.fit_and_predict(2015)
outputNN = regressor.fit_and_predict(2015)
print outputLR
print outputNN | 21.625 | 42 | 0.83237 | 22 | 173 | 6.363636 | 0.454545 | 0.257143 | 0.214286 | 0.314286 | 0.371429 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051613 | 0.104046 | 173 | 8 | 43 | 21.625 | 0.851613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0.333333 | 1 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
979ae30f6d701be60a9d0554886510f6ed353c59 | 152 | py | Python | cnmodel/data/__init__.py | asasmal/cnmodel | ca834ae05e3c6487a441c9a6608eeacd46dae6aa | [
"BSD-3-Clause"
] | 1 | 2020-01-26T12:46:58.000Z | 2020-01-26T12:46:58.000Z | cnmodel/data/__init__.py | asasmal/cnmodel | ca834ae05e3c6487a441c9a6608eeacd46dae6aa | [
"BSD-3-Clause"
] | null | null | null | cnmodel/data/__init__.py | asasmal/cnmodel | ca834ae05e3c6487a441c9a6608eeacd46dae6aa | [
"BSD-3-Clause"
] | 1 | 2020-01-26T12:47:01.000Z | 2020-01-26T12:47:01.000Z | from ._db import get, get_source, add_table_data
from . import connectivity
from . import synapses
from . import populations
from . import ionchannels
| 21.714286 | 48 | 0.802632 | 21 | 152 | 5.619048 | 0.571429 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151316 | 152 | 6 | 49 | 25.333333 | 0.914729 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c126aed837ba9fedd9f0050b0250c174cc25aa68 | 16,266 | py | Python | script_federated_training.py | ameldocena/StratifiedAggregation | 0031fea120bff00c739eb6c3d654a5c6d3f094bb | [
"MIT"
] | null | null | null | script_federated_training.py | ameldocena/StratifiedAggregation | 0031fea120bff00c739eb6c3d654a5c6d3f094bb | [
"MIT"
] | null | null | null | script_federated_training.py | ameldocena/StratifiedAggregation | 0031fea120bff00c739eb6c3d654a5c6d3f094bb | [
"MIT"
] | null | null | null | from data_distribution import replace_N_with_M
from utilities import RandomSelectionStrategy
from saving_utils import get_class_label_from_num
import random as rd
import numpy as np
from server_core import run_exp
#START_EXP_IDX
exper = dict()
#exper['index'] = [956, 957, 958, 959, 960, 961] #MKrum-Horded-Unif, Median... | 57.073684 | 269 | 0.631809 | 1,934 | 16,266 | 5.102378 | 0.098759 | 0.04621 | 0.068403 | 0.045602 | 0.820835 | 0.805634 | 0.800162 | 0.800162 | 0.800162 | 0.795501 | 0 | 0.044513 | 0.25833 | 16,266 | 284 | 270 | 57.274648 | 0.773458 | 0.387741 | 0 | 0.65 | 0 | 0.005 | 0.369049 | 0.15863 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03 | 0 | 0.03 | 0.005 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
c15349ea8722695845337fa3f7655e9282355cf0 | 124,524 | py | Python | py_stringmatching/tests/test_simfunctions.py | kevalii/py_stringmatching | 6edeea7ca3035e4a170bc84a5b57b81e2b45b016 | [
"BSD-3-Clause"
] | 115 | 2016-04-20T06:59:28.000Z | 2022-02-12T03:32:59.000Z | py_stringmatching/tests/test_simfunctions.py | kevalii/py_stringmatching | 6edeea7ca3035e4a170bc84a5b57b81e2b45b016 | [
"BSD-3-Clause"
] | 59 | 2016-04-20T06:56:11.000Z | 2022-01-25T08:16:58.000Z | py_stringmatching/tests/test_simfunctions.py | kevalii/py_stringmatching | 6edeea7ca3035e4a170bc84a5b57b81e2b45b016 | [
"BSD-3-Clause"
] | 17 | 2016-04-20T06:59:46.000Z | 2022-01-18T17:45:48.000Z |
# coding=utf-8
from __future__ import unicode_literals
import math
import unittest
from nose.tools import *
# sequence based similarity measures
from py_stringmatching.similarity_measure.affine import Affine
from py_stringmatching.similarity_measure.bag_distance import BagDistance
from py_stringmatching.similar... | 48.190402 | 149 | 0.64602 | 17,051 | 124,524 | 4.461498 | 0.026626 | 0.079082 | 0.082855 | 0.074902 | 0.936903 | 0.911861 | 0.886727 | 0.852918 | 0.816321 | 0.728655 | 0 | 0.047624 | 0.19634 | 124,524 | 2,583 | 150 | 48.209059 | 0.712536 | 0.017105 | 0 | 0.455763 | 0 | 0 | 0.088863 | 0.000392 | 0 | 0 | 0 | 0 | 0.388331 | 1 | 0.189861 | false | 0 | 0.012912 | 0 | 0.213773 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
c159c39cd994ca79ff0311fceb831a58e520312d | 3,770 | py | Python | tests/func/goodreads/complement_file/test_comp_file_favourites.py | josealobato/go-over | ebc012a4d74a81fc729419f4ea670b9d6b4271bb | [
"MIT"
] | null | null | null | tests/func/goodreads/complement_file/test_comp_file_favourites.py | josealobato/go-over | ebc012a4d74a81fc729419f4ea670b9d6b4271bb | [
"MIT"
] | 7 | 2022-02-13T09:21:55.000Z | 2022-03-02T07:56:31.000Z | tests/func/goodreads/complement_file/test_comp_file_favourites.py | josealobato/go-over | ebc012a4d74a81fc729419f4ea670b9d6b4271bb | [
"MIT"
] | null | null | null | from typing import Dict
import json
import pytest
from ...func_test_tools import load_result, load_result_from_path, exist_in_path
from ...constants import *
# Favourites fixtures
@pytest.fixture(scope='function', name='complemetary_data_with_favourite_true')
def json_complement_file_with_favourites_true(tmpdir_fact... | 45.421687 | 123 | 0.752785 | 508 | 3,770 | 5.297244 | 0.165354 | 0.049052 | 0.059457 | 0.086213 | 0.842809 | 0.822371 | 0.759941 | 0.753623 | 0.753623 | 0.658863 | 0 | 0.008869 | 0.162599 | 3,770 | 83 | 124 | 45.421687 | 0.843522 | 0.285411 | 0 | 0.461538 | 0 | 0 | 0.116332 | 0.073513 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.134615 | false | 0 | 0.115385 | 0 | 0.307692 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
c181729bb25f4361f5f37e30f6971bf86808fcb7 | 20 | py | Python | spynoza/conversion/__init__.py | spinoza-centre/spynoza | d71d69e3ea60c9544f4e63940f053a2d1b3ac65f | [
"MIT"
] | 7 | 2016-06-21T11:51:07.000Z | 2018-08-10T15:41:37.000Z | spynoza/conversion/__init__.py | spinoza-centre/spynoza | d71d69e3ea60c9544f4e63940f053a2d1b3ac65f | [
"MIT"
] | 12 | 2017-07-05T09:14:31.000Z | 2018-09-13T12:19:14.000Z | spynoza/conversion/__init__.py | spinoza-centre/spynoza | d71d69e3ea60c9544f4e63940f053a2d1b3ac65f | [
"MIT"
] | 8 | 2016-09-26T12:35:59.000Z | 2021-06-05T05:50:23.000Z | from . import nodes
| 10 | 19 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c1a808acfe0dc3048b2e6b4aa4185fe31fab66da | 133 | py | Python | podpac/core/compositor/__init__.py | creare-com/podpac | 7feb5c957513c146ce73ba1c36c630284f513a6e | [
"Apache-2.0"
] | 46 | 2018-04-06T19:54:32.000Z | 2022-02-08T02:00:02.000Z | podpac/core/compositor/__init__.py | creare-com/podpac | 7feb5c957513c146ce73ba1c36c630284f513a6e | [
"Apache-2.0"
] | 474 | 2018-04-05T22:21:09.000Z | 2022-02-24T14:21:16.000Z | podpac/core/compositor/__init__.py | creare-com/podpac | 7feb5c957513c146ce73ba1c36c630284f513a6e | [
"Apache-2.0"
] | 4 | 2019-04-11T17:49:53.000Z | 2020-11-29T22:36:53.000Z | from .compositor import BaseCompositor
from .ordered_compositor import OrderedCompositor
from .tile_compositor import TileCompositor
| 33.25 | 49 | 0.887218 | 14 | 133 | 8.285714 | 0.571429 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090226 | 133 | 3 | 50 | 44.333333 | 0.958678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c1b1ec8402e9cb39400ee25265bc948fd6f938b5 | 105 | py | Python | creator/ingest_runs/models/__init__.py | kids-first/kf-api-study-creator | 93a79b108b6474f9b4135ace06c89ddcf63dd257 | [
"Apache-2.0"
] | 3 | 2019-05-04T02:07:28.000Z | 2020-10-16T17:47:44.000Z | creator/ingest_runs/models/__init__.py | kids-first/kf-api-study-creator | 93a79b108b6474f9b4135ace06c89ddcf63dd257 | [
"Apache-2.0"
] | 604 | 2019-02-21T18:14:51.000Z | 2022-02-10T08:13:54.000Z | creator/ingest_runs/models/__init__.py | kids-first/kf-api-study-creator | 93a79b108b6474f9b4135ace06c89ddcf63dd257 | [
"Apache-2.0"
] | null | null | null | from .ingest_run import *
from .validation_run import *
from ..common.model import State, CANCEL_SOURCES
| 26.25 | 48 | 0.8 | 15 | 105 | 5.4 | 0.666667 | 0.222222 | 0.320988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12381 | 105 | 3 | 49 | 35 | 0.880435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c1eeed1fc6225f2ae37c0bea3552166b6186ccd4 | 78 | py | Python | pyvi/identification/__init__.py | d-bouvier/pyvi | 6b38bfaed75f84f6bf2ef43b11535510ee1c0490 | [
"BSD-3-Clause"
] | 16 | 2018-06-24T03:42:56.000Z | 2022-03-31T08:31:01.000Z | pyvi/identification/__init__.py | d-bouvier/pyvi | 6b38bfaed75f84f6bf2ef43b11535510ee1c0490 | [
"BSD-3-Clause"
] | null | null | null | pyvi/identification/__init__.py | d-bouvier/pyvi | 6b38bfaed75f84f6bf2ef43b11535510ee1c0490 | [
"BSD-3-Clause"
] | 3 | 2019-03-21T01:18:39.000Z | 2021-12-02T00:50:20.000Z | from .methods import __doc__
from .methods import *
__all__ = methods.__all__
| 19.5 | 28 | 0.794872 | 10 | 78 | 5 | 0.5 | 0.44 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141026 | 78 | 3 | 29 | 26 | 0.746269 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
de0882c410fb2e767d06c97855b465a0d7420ac5 | 8,553 | py | Python | tests/test_metrics.py | TomMonks/basecast | 312c2c2a80a4cd15257be4b53ced87d5d5fa5ec7 | [
"MIT"
] | 2 | 2020-08-01T20:52:41.000Z | 2021-01-05T14:53:24.000Z | tests/test_metrics.py | TomMonks/basecast | 312c2c2a80a4cd15257be4b53ced87d5d5fa5ec7 | [
"MIT"
] | 24 | 2020-05-09T20:24:48.000Z | 2022-02-04T10:06:06.000Z | tests/test_metrics.py | TomMonks/basecast | 312c2c2a80a4cd15257be4b53ced87d5d5fa5ec7 | [
"MIT"
] | 1 | 2020-10-30T17:09:48.000Z | 2020-10-30T17:09:48.000Z | '''
Unit test for forecast error functions (point and coverage)
in the metrics module
'''
import pytest
import numpy as np
from forecast_tools import metrics as m
@pytest.mark.parametrize("y_true, y_pred, metrics, expected",
[([1], [1], 'all', 6),
([1], [1], ['mae'... | 42.133005 | 78 | 0.440313 | 1,057 | 8,553 | 3.437086 | 0.130558 | 0.045417 | 0.041288 | 0.060556 | 0.817781 | 0.746491 | 0.714836 | 0.70823 | 0.688137 | 0.645747 | 0 | 0.215257 | 0.406875 | 8,553 | 202 | 79 | 42.341584 | 0.500887 | 0.079387 | 0 | 0.507353 | 0 | 0 | 0.052905 | 0 | 0 | 0 | 0 | 0 | 0.080882 | 1 | 0.080882 | false | 0 | 0.022059 | 0 | 0.102941 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e700947920c447b701228e5faf198f323b5e2f51 | 8,333 | py | Python | twiliotutorial/tests/unit/test_beer.py | Telmediq/twiliotutorial | e3ef3514f38ba7aca905ce262e9bb0a33dfc0741 | [
"MIT"
] | null | null | null | twiliotutorial/tests/unit/test_beer.py | Telmediq/twiliotutorial | e3ef3514f38ba7aca905ce262e9bb0a33dfc0741 | [
"MIT"
] | 6 | 2020-02-12T01:21:56.000Z | 2021-06-10T18:42:23.000Z | twiliotutorial/tests/unit/test_beer.py | Telmediq/twiliotutorial | e3ef3514f38ba7aca905ce262e9bb0a33dfc0741 | [
"MIT"
] | null | null | null | import json
from unittest import mock
from unittest.mock import call
from django.conf import settings
from django.test import SimpleTestCase
from twiliotutorial.beer import Beer, BeerFact
class BeerTestCase(SimpleTestCase):
"""Test Beer class methods. Since we dont have a Database, use SimpleTestCase"""
de... | 40.0625 | 115 | 0.579383 | 966 | 8,333 | 4.587992 | 0.096273 | 0.095668 | 0.064982 | 0.060018 | 0.878384 | 0.857626 | 0.814982 | 0.797834 | 0.78926 | 0.773466 | 0 | 0.006958 | 0.310092 | 8,333 | 207 | 116 | 40.256039 | 0.763959 | 0.00888 | 0 | 0.666667 | 0 | 0 | 0.115958 | 0.032352 | 0 | 0 | 0 | 0 | 0.089286 | 1 | 0.077381 | false | 0 | 0.035714 | 0 | 0.119048 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
e76d038a0c563a2aabc5139fe5f6def48e7226b3 | 42 | py | Python | database/models/__init__.py | ai404/esafe-platform | 2e29ab2d3deb81fd999b74a2f6844c54a836c6d8 | [
"MIT"
] | null | null | null | database/models/__init__.py | ai404/esafe-platform | 2e29ab2d3deb81fd999b74a2f6844c54a836c6d8 | [
"MIT"
] | null | null | null | database/models/__init__.py | ai404/esafe-platform | 2e29ab2d3deb81fd999b74a2f6844c54a836c6d8 | [
"MIT"
] | null | null | null | from .account import *
from .main import * | 21 | 22 | 0.738095 | 6 | 42 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 2 | 23 | 21 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e7b43b052276fdf6a913ba420462bd2b9031c9f6 | 138 | py | Python | extract_leaked_messages_to_csv_and_sqlite.py | DavidDarlingKhepryOrg/patriot-coalition-leaked-message-analysis | 00533276abb9aa3a7f1b6562eb675ac2c7a60c92 | [
"Apache-2.0"
] | null | null | null | extract_leaked_messages_to_csv_and_sqlite.py | DavidDarlingKhepryOrg/patriot-coalition-leaked-message-analysis | 00533276abb9aa3a7f1b6562eb675ac2c7a60c92 | [
"Apache-2.0"
] | 2 | 2020-10-09T05:20:13.000Z | 2020-10-09T05:28:16.000Z | extract_leaked_messages_to_csv_and_sqlite.py | DavidDarlingKhepryOrg/patriot-coalition-leaked-message-analysis | 00533276abb9aa3a7f1b6562eb675ac2c7a60c92 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
from leaked_message_extractor import extract_leaked_messages
if __name__ == "__main__":
extract_leaked_messages()
| 19.714286 | 60 | 0.797101 | 17 | 138 | 5.647059 | 0.764706 | 0.270833 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 138 | 6 | 61 | 23 | 0.786885 | 0.115942 | 0 | 0 | 0 | 0 | 0.066116 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
99d0b5c144a4b958fe93acd7abdc08f1f20f0c5a | 87 | py | Python | aluno/models.py | latreta/dvestagio | d18f7c7184748c7b88e335ae9ffd2bdcc197d14f | [
"MIT"
] | null | null | null | aluno/models.py | latreta/dvestagio | d18f7c7184748c7b88e335ae9ffd2bdcc197d14f | [
"MIT"
] | null | null | null | aluno/models.py | latreta/dvestagio | d18f7c7184748c7b88e335ae9ffd2bdcc197d14f | [
"MIT"
] | null | null | null | from django.contrib.auth.models import AbstractUser
class Aluno(AbstractSet):
pass | 21.75 | 51 | 0.804598 | 11 | 87 | 6.363636 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126437 | 87 | 4 | 52 | 21.75 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
99d58b1f25371a6eb9ba62d50293307f7182fbdd | 16,857 | py | Python | named-entity-recognition/modeling.py | minstar/biobert-pytorch | 344e16e0e1afa508f4959eeabf12072e0da07ed3 | [
"Apache-2.0"
] | null | null | null | named-entity-recognition/modeling.py | minstar/biobert-pytorch | 344e16e0e1afa508f4959eeabf12072e0da07ed3 | [
"Apache-2.0"
] | null | null | null | named-entity-recognition/modeling.py | minstar/biobert-pytorch | 344e16e0e1afa508f4959eeabf12072e0da07ed3 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
import os
import pdb
import torch
import torch.nn.functional as F
from torch.nn import CrossEntropyLoss
from transformers import (
BertConfig,
BertModel,
BertForTokenClassification,
BertTokenizer,
RobertaConfig,
RobertaForTokenClassification,
Robe... | 46.31044 | 156 | 0.635048 | 2,117 | 16,857 | 4.757676 | 0.073217 | 0.07645 | 0.051628 | 0.02641 | 0.823173 | 0.810068 | 0.805103 | 0.795572 | 0.769261 | 0.757744 | 0 | 0.013296 | 0.268257 | 16,857 | 364 | 157 | 46.31044 | 0.803243 | 0.08756 | 0 | 0.67029 | 0 | 0 | 0.001569 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050725 | false | 0 | 0.025362 | 0 | 0.177536 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
821650f3a8ecee7fcfadd17c136b1f722c9a5562 | 4,853 | py | Python | code/model/encoder/mpnn_encoder.py | ZJU-Fangyin/KCL | 1d1002aeee785e4eb1dfc121d6cbb9cefa4e985c | [
"MIT"
] | 24 | 2021-12-04T13:44:22.000Z | 2022-03-19T08:10:19.000Z | code/model/encoder/mpnn_encoder.py | Fangyin1994/KCL | 004f5681b77e4e75c791c909696fdb8a208501a2 | [
"MIT"
] | 3 | 2021-12-20T08:14:06.000Z | 2022-03-28T08:03:09.000Z | code/model/encoder/mpnn_encoder.py | Fangyin1994/KCL | 004f5681b77e4e75c791c909696fdb8a208501a2 | [
"MIT"
] | 1 | 2021-12-22T09:29:55.000Z | 2021-12-22T09:29:55.000Z |
import torch
import torch.nn as nn
import torch.nn.functional as F
import pdb
from dgl.nn.pytorch import NNConv
from ..layer.kmpnn import KMPNN
class MPNNGNN(nn.Module):
def __init__(self, args):
super(MPNNGNN, self).__init__()
self.project_node_feats = nn.Sequential(
nn.Linear(args... | 39.137097 | 103 | 0.630744 | 637 | 4,853 | 4.470958 | 0.138148 | 0.119733 | 0.093399 | 0.126756 | 0.82198 | 0.796699 | 0.777739 | 0.777739 | 0.777739 | 0.777739 | 0 | 0.009287 | 0.245621 | 4,853 | 123 | 104 | 39.455285 | 0.768642 | 0.052545 | 0 | 0.622449 | 0 | 0 | 0.125136 | 0.010483 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061224 | false | 0.040816 | 0.061224 | 0 | 0.163265 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
82372c1aa5eed2d3b2988372440512d2bc376ebe | 201 | py | Python | Python/money_calculator.py | janvi16/-HACKTOBERFEST2K20 | aa9c8b6f7feb245793c0a003ba6fbea3fca9ca22 | [
"Apache-2.0"
] | null | null | null | Python/money_calculator.py | janvi16/-HACKTOBERFEST2K20 | aa9c8b6f7feb245793c0a003ba6fbea3fca9ca22 | [
"Apache-2.0"
] | null | null | null | Python/money_calculator.py | janvi16/-HACKTOBERFEST2K20 | aa9c8b6f7feb245793c0a003ba6fbea3fca9ca22 | [
"Apache-2.0"
] | null | null | null | def money_calculator(montante, taxa_juros_simples_mensal, dias_corridos):
#Calculates the money if you make an investment
return montante + montante*(taxa_juros_simples_mensal/30)*dias_corridos | 67 | 75 | 0.825871 | 28 | 201 | 5.607143 | 0.678571 | 0.152866 | 0.216561 | 0.305732 | 0.382166 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.114428 | 201 | 3 | 75 | 67 | 0.870787 | 0.228856 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
41493a791b2cee75d4115b2fcbfd5340303fc657 | 249 | py | Python | CircuitQuantifier/critics.py | utkarsh7236/SCILLA | e11e4d753823ad522a1b3168283b6e6ffe3ea393 | [
"Apache-2.0"
] | 17 | 2019-12-09T19:09:07.000Z | 2021-08-29T01:11:13.000Z | CircuitQuantifier/critics.py | utkarsh7236/SCILLA | e11e4d753823ad522a1b3168283b6e6ffe3ea393 | [
"Apache-2.0"
] | 1 | 2021-04-14T15:08:18.000Z | 2021-04-14T15:08:18.000Z | CircuitQuantifier/critics.py | utkarsh7236/SCILLA | e11e4d753823ad522a1b3168283b6e6ffe3ea393 | [
"Apache-2.0"
] | 2 | 2020-06-05T03:01:06.000Z | 2020-07-09T07:13:12.000Z |
from CircuitQuantifier.critic_double_well import merit_DoubleWell
from CircuitQuantifier.critic_example_multi_evaluations import merit_TwoEvalExample
from CircuitQuantifier.critic_target_spectrum import merit_TargetSpectrum
| 49.8 | 83 | 0.839357 | 25 | 249 | 7.96 | 0.6 | 0.316583 | 0.407035 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148594 | 249 | 4 | 84 | 62.25 | 0.938679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4189aab0db9345e40ecf39d8a707768eb97cc0e9 | 35,366 | py | Python | src/xspline/core.py | zhengp0/bspline | 2302f11419e8b13305c93850ecd6df9045390dd6 | [
"BSD-2-Clause"
] | 4 | 2019-12-05T22:52:56.000Z | 2021-02-16T07:47:55.000Z | src/xspline/core.py | zhengp0/bspline | 2302f11419e8b13305c93850ecd6df9045390dd6 | [
"BSD-2-Clause"
] | null | null | null | src/xspline/core.py | zhengp0/bspline | 2302f11419e8b13305c93850ecd6df9045390dd6 | [
"BSD-2-Clause"
] | 1 | 2020-06-25T22:05:42.000Z | 2020-06-25T22:05:42.000Z | # -*- coding: utf-8 -*-
"""
core
~~~~
core module contains main functions and classes.
"""
import numpy as np
from . import utils
def bspline_domain(knots, degree, idx, l_extra=False, r_extra=False):
r"""Compute the support for the spline basis, knots degree and the index of
the basis.
Args:... | 35.508032 | 97 | 0.53707 | 4,476 | 35,366 | 4.068141 | 0.052055 | 0.032951 | 0.033225 | 0.019111 | 0.817288 | 0.777143 | 0.757263 | 0.7359 | 0.727937 | 0.726619 | 0 | 0.005687 | 0.383419 | 35,366 | 995 | 98 | 35.543719 | 0.829359 | 0.334191 | 0 | 0.6125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001005 | 0.0375 | 1 | 0.045833 | false | 0 | 0.004167 | 0.00625 | 0.13125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
41bc6f5b895ce3ac4d12876ea2e8b04cd378df59 | 1,183 | py | Python | src/snpgetter.py | nikbaya/msprime_sim | 8f71574f272c963dba29964439a229caaf883c63 | [
"MIT"
] | null | null | null | src/snpgetter.py | nikbaya/msprime_sim | 8f71574f272c963dba29964439a229caaf883c63 | [
"MIT"
] | null | null | null | src/snpgetter.py | nikbaya/msprime_sim | 8f71574f272c963dba29964439a229caaf883c63 | [
"MIT"
] | null | null | null | from __future__ import division
import numpy as np
def nextSNP(variant, index=None):
if index is None:
var_tmp = np.array(variant.genotypes[0::2].astype(int)) + np.array(variant.genotypes[1::2].astype(int))
else:
var_tmp = np.array(variant.genotypes[0::2][index].astype(int)) + np.array(variant.genotypes[1::2][i... | 31.131579 | 119 | 0.674556 | 220 | 1,183 | 3.463636 | 0.204545 | 0.102362 | 0.146982 | 0.24147 | 0.7979 | 0.7979 | 0.7979 | 0.7979 | 0.7979 | 0.750656 | 0 | 0.022111 | 0.158918 | 1,183 | 38 | 120 | 31.131579 | 0.743719 | 0.14962 | 0 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0 | 0.08 | 0 | 0.24 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 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 | 6 |
41bfdabd1c239e7df25d19039e23e35114c3ee9e | 253 | py | Python | pt/snippets/admin.py | kevinqqnj/baozhong | aba1824d9d6a6d7c77a7c69d55a21174f2fac221 | [
"MIT"
] | null | null | null | pt/snippets/admin.py | kevinqqnj/baozhong | aba1824d9d6a6d7c77a7c69d55a21174f2fac221 | [
"MIT"
] | null | null | null | pt/snippets/admin.py | kevinqqnj/baozhong | aba1824d9d6a6d7c77a7c69d55a21174f2fac221 | [
"MIT"
] | null | null | null | from django import forms
from django.contrib import admin
from django.contrib.auth.admin import UserAdmin as AuthUserAdmin
from django.contrib.auth.forms import UserChangeForm, UserCreationForm
from .models import Snippet
admin.site.register(Snippet)
| 28.111111 | 70 | 0.84585 | 34 | 253 | 6.294118 | 0.470588 | 0.186916 | 0.238318 | 0.196262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102767 | 253 | 8 | 71 | 31.625 | 0.942731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
68c1c3e1740cfb6eeed0123a0d5c1efad4c30700 | 2,959 | py | Python | Global/migrations/0005_auto_20210527_1201.py | Muhammet-Yildiz/school-website-example | fc3f36fcadd0d03e6691efbacf200027f1afce2a | [
"MIT"
] | 2 | 2021-05-30T14:15:33.000Z | 2021-07-02T12:22:01.000Z | Global/migrations/0005_auto_20210527_1201.py | Muhammet-Yildiz/school-website-example | fc3f36fcadd0d03e6691efbacf200027f1afce2a | [
"MIT"
] | null | null | null | Global/migrations/0005_auto_20210527_1201.py | Muhammet-Yildiz/school-website-example | fc3f36fcadd0d03e6691efbacf200027f1afce2a | [
"MIT"
] | null | null | null | # Generated by Django 3.1.4 on 2021-05-27 09:01
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('Global', '0004_auto_20210526_2012'),
]
operations = [
migrations.CreateModel(
name='Advertisements',
fields=[
... | 46.234375 | 126 | 0.578574 | 303 | 2,959 | 5.475248 | 0.306931 | 0.079566 | 0.0434 | 0.057866 | 0.746835 | 0.729958 | 0.729958 | 0.729958 | 0.729958 | 0.729958 | 0 | 0.033506 | 0.28388 | 2,959 | 63 | 127 | 46.968254 | 0.747994 | 0.015208 | 0 | 0.526316 | 1 | 0 | 0.161745 | 0.007898 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017544 | 0 | 0.070175 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
68df0256c11a0d431741fc04b4a4e7927f9140ad | 373 | py | Python | QARealtimeCollector/collectors/__init__.py | tbmilk/QUANTAXIS_RealtimeCollector | 1705b7261d4ffacd8fc0dcc8d6bed3ce651fa6ec | [
"MIT"
] | 47 | 2019-08-17T05:48:01.000Z | 2022-02-22T21:28:52.000Z | QARealtimeCollector/collectors/__init__.py | tbmilk/QUANTAXIS_RealtimeCollector | 1705b7261d4ffacd8fc0dcc8d6bed3ce651fa6ec | [
"MIT"
] | 4 | 2019-08-30T03:33:14.000Z | 2021-04-22T01:17:23.000Z | QARealtimeCollector/collectors/__init__.py | tbmilk/QUANTAXIS_RealtimeCollector | 1705b7261d4ffacd8fc0dcc8d6bed3ce651fa6ec | [
"MIT"
] | 42 | 2019-08-01T10:59:00.000Z | 2022-02-14T08:09:41.000Z | from QARealtimeCollector.collectors.ctpbeecollector import QARTC_CtpBeeCollector
from QARealtimeCollector.collectors.wscollector import QARTC_WsCollector
from QARealtimeCollector.collectors.stockcollector import QARTC_Stock
from QARealtimeCollector.collectors.simmarket import QARTC_RandomTick
from QARealtimeCollector.... | 74.6 | 80 | 0.919571 | 35 | 373 | 9.657143 | 0.371429 | 0.340237 | 0.488166 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053619 | 373 | 5 | 81 | 74.6 | 0.957507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ec0e736b2a4e0dd6d413bbafff812e2d612afe1c | 277 | py | Python | src/kgmk/dsa/linked_list/doubly/__init__.py | kagemeka/python | 486ce39d97360b61029527bacf00a87fdbcf552c | [
"MIT"
] | null | null | null | src/kgmk/dsa/linked_list/doubly/__init__.py | kagemeka/python | 486ce39d97360b61029527bacf00a87fdbcf552c | [
"MIT"
] | null | null | null | src/kgmk/dsa/linked_list/doubly/__init__.py | kagemeka/python | 486ce39d97360b61029527bacf00a87fdbcf552c | [
"MIT"
] | null | null | null | from __future__ import annotations
import typing
import dataclasses
@dataclasses.dataclass
class DoublyLinkedListNode():
value: typing.Optional[typing.Any] = None
left: typing.Optional[DoublyLinkedListNode] = None
right: typing.Optional[DoublyLinkedListNode] = None
| 23.083333 | 53 | 0.801444 | 28 | 277 | 7.785714 | 0.535714 | 0.192661 | 0.311927 | 0.348624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122744 | 277 | 11 | 54 | 25.181818 | 0.897119 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.375 | 0 | 0.875 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 6 |
6b8572bd8a5830bf09b7c02824c76d01969d8c58 | 40 | py | Python | main.py | 343GuiltySpark-04/-cautious-tribble- | 4a98e0770afa5fe1da9103857067cdc54cf2a9a7 | [
"MIT"
] | null | null | null | main.py | 343GuiltySpark-04/-cautious-tribble- | 4a98e0770afa5fe1da9103857067cdc54cf2a9a7 | [
"MIT"
] | null | null | null | main.py | 343GuiltySpark-04/-cautious-tribble- | 4a98e0770afa5fe1da9103857067cdc54cf2a9a7 | [
"MIT"
] | null | null | null | import menu
import core
menu.menu()
| 5 | 11 | 0.7 | 6 | 40 | 4.666667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225 | 40 | 7 | 12 | 5.714286 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6b9be1d0771928ce4f52ef22ad22d0ee64128fdf | 2,930 | py | Python | sprites.py | Bxvu/TopDownGame | 1f1f93a54cd6190142cc3a129abd6358e016966c | [
"MIT"
] | null | null | null | sprites.py | Bxvu/TopDownGame | 1f1f93a54cd6190142cc3a129abd6358e016966c | [
"MIT"
] | null | null | null | sprites.py | Bxvu/TopDownGame | 1f1f93a54cd6190142cc3a129abd6358e016966c | [
"MIT"
] | null | null | null | #made by Benthan Vu, sprite classes for game
#sources: goo.gl/2KMivS
import pygame as pg
import random
from pygame.sprite import Sprite
from settings import *
import pygame.math
class Player(Sprite):
def __init__(self):
Sprite.__init__(self)
self.image = pg.Surface((30,40))
self.image.fill(... | 26.880734 | 63 | 0.48942 | 405 | 2,930 | 3.434568 | 0.17284 | 0.103523 | 0.069015 | 0.077642 | 0.797987 | 0.778577 | 0.744069 | 0.705248 | 0.705248 | 0.685119 | 0 | 0.031991 | 0.381229 | 2,930 | 108 | 64 | 27.12963 | 0.735245 | 0.164505 | 0 | 0.822785 | 0 | 0 | 0.013992 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075949 | false | 0 | 0.063291 | 0 | 0.177215 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6baa87c37439895ea64018d3a865cf2c6eb1d05c | 1,854 | py | Python | code/fe/16spacy_w2v.py | okotaku/pet_finder | 380e4f19172e06e92b5b752f59e2902efa6aee1f | [
"MIT"
] | 34 | 2019-07-31T01:17:18.000Z | 2020-11-15T20:01:30.000Z | code/fe/16spacy_w2v.py | okotaku/pet_finder | 380e4f19172e06e92b5b752f59e2902efa6aee1f | [
"MIT"
] | null | null | null | code/fe/16spacy_w2v.py | okotaku/pet_finder | 380e4f19172e06e92b5b752f59e2902efa6aee1f | [
"MIT"
] | 6 | 2019-07-31T07:21:35.000Z | 2021-05-21T12:46:06.000Z | import spacy
from utils import *
def spacy_d2v(train_text):
nlp = spacy.load('en_core_web_md')
result = np.array([nlp(text).vector for text in train["Description"].values])
d2v_cols = ["spacy_d2v_md{}".format(i) for i in range(1, result.shape[1] + 1)]
result = pd.DataFrame(result)
result.columns ... | 28.523077 | 83 | 0.669364 | 274 | 1,854 | 4.306569 | 0.171533 | 0.108475 | 0.088136 | 0.054237 | 0.838136 | 0.838136 | 0.838136 | 0.838136 | 0.838136 | 0.838136 | 0 | 0.028383 | 0.182848 | 1,854 | 64 | 84 | 28.96875 | 0.750495 | 0 | 0 | 0.534884 | 0 | 0 | 0.181769 | 0.067422 | 0 | 0 | 0 | 0 | 0 | 1 | 0.093023 | false | 0 | 0.046512 | 0 | 0.232558 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
d404398fb042cd434b0f9843f79b98159c31386b | 115 | py | Python | server/apps/bot/dispatcher/callbacks/__init__.py | LowerDeez/movies_finder | 3763bfe4c0d1cfe36e081c45a9cc9cdaa85e0ee4 | [
"MIT"
] | null | null | null | server/apps/bot/dispatcher/callbacks/__init__.py | LowerDeez/movies_finder | 3763bfe4c0d1cfe36e081c45a9cc9cdaa85e0ee4 | [
"MIT"
] | null | null | null | server/apps/bot/dispatcher/callbacks/__init__.py | LowerDeez/movies_finder | 3763bfe4c0d1cfe36e081c45a9cc9cdaa85e0ee4 | [
"MIT"
] | null | null | null | from .discover_movies import *
from .entry_points import *
from .list_movies import *
from .search_movies import *
| 23 | 30 | 0.791304 | 16 | 115 | 5.4375 | 0.5 | 0.413793 | 0.367816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13913 | 115 | 4 | 31 | 28.75 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d43940ed640b724b580071671727fb35d6936dd1 | 11,303 | py | Python | pirates/leveleditor/worldData/SwampTestIslandB.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 3 | 2021-02-25T06:38:13.000Z | 2022-03-22T07:00:15.000Z | pirates/leveleditor/worldData/SwampTestIslandB.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | null | null | null | pirates/leveleditor/worldData/SwampTestIslandB.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 1 | 2021-02-25T06:38:17.000Z | 2021-02-25T06:38:17.000Z | # uncompyle6 version 3.2.0
# Python bytecode 2.4 (62061)
# Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
# Embedded file name: pirates.leveleditor.worldData.SwampTestIslandB
from pandac.PandaModules import Point3, VBase3
objectStruct = {'Locator Links': [['115386... | 1,883.833333 | 11,025 | 0.668141 | 1,530 | 11,303 | 4.888889 | 0.195425 | 0.023797 | 0.024064 | 0.031016 | 0.600401 | 0.546925 | 0.479545 | 0.438503 | 0.372193 | 0.267647 | 0 | 0.296531 | 0.066443 | 11,303 | 6 | 11,025 | 1,883.833333 | 0.412339 | 0.019641 | 0 | 0 | 0 | 0 | 0.595288 | 0.294665 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d441d0f10107cab66d0f4a2deb933fc5ba7c7cef | 188 | py | Python | pyreisejl/utility/tests/test_call.py | danielolsen/REISE.jl | 4c6b39a48ab5f37ddfdfcd39a7d8fdf8e2c934c2 | [
"MIT"
] | 15 | 2021-03-02T11:54:51.000Z | 2022-02-01T05:52:33.000Z | pyreisejl/utility/tests/test_call.py | danielolsen/REISE.jl | 4c6b39a48ab5f37ddfdfcd39a7d8fdf8e2c934c2 | [
"MIT"
] | 51 | 2021-01-23T00:53:54.000Z | 2022-03-28T22:05:16.000Z | pyreisejl/utility/tests/test_call.py | danielolsen/REISE.jl | 4c6b39a48ab5f37ddfdfcd39a7d8fdf8e2c934c2 | [
"MIT"
] | 14 | 2021-02-01T21:19:34.000Z | 2022-02-11T13:15:10.000Z | import pytest
@pytest.mark.skip(reason="Need to run on the server")
def test():
from pyreisejl.utility.call import launch_scenario_performance
launch_scenario_performance("87")
| 20.888889 | 66 | 0.771277 | 26 | 188 | 5.423077 | 0.807692 | 0.198582 | 0.35461 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 0.138298 | 188 | 8 | 67 | 23.5 | 0.858025 | 0 | 0 | 0 | 0 | 0 | 0.143617 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d44b7317b582d336d568326763565932b29c4a1b | 52 | py | Python | elichika/testtools/__init__.py | disktnk/chainer-compiler | 5cfd027b40ea6e4abf73eb42be70b4fba74d1cde | [
"MIT"
] | null | null | null | elichika/testtools/__init__.py | disktnk/chainer-compiler | 5cfd027b40ea6e4abf73eb42be70b4fba74d1cde | [
"MIT"
] | null | null | null | elichika/testtools/__init__.py | disktnk/chainer-compiler | 5cfd027b40ea6e4abf73eb42be70b4fba74d1cde | [
"MIT"
] | null | null | null | from testtools.testcasegen import generate_testcase
| 26 | 51 | 0.903846 | 6 | 52 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 52 | 1 | 52 | 52 | 0.958333 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d47bee747056713fc7c99fdda69a51335f35155b | 19 | py | Python | ast-transformations-core/src/test/resources/org/jetbrains/research/ml/ast/transformations/constantfolding/data/in_7_bool_simplification_recursion.py | JetBrains-Research/ast-transformations | 0ab408af3275b520cc87a473f418c4b4dfcb0284 | [
"MIT"
] | 8 | 2021-01-19T21:15:54.000Z | 2022-02-23T19:16:25.000Z | ast-transformations-core/src/test/resources/org/jetbrains/research/ml/ast/transformations/constantfolding/data/in_7_bool_simplification_recursion.py | JetBrains-Research/ast-transformations | 0ab408af3275b520cc87a473f418c4b4dfcb0284 | [
"MIT"
] | 4 | 2020-11-17T14:28:25.000Z | 2022-02-24T07:54:28.000Z | ast-transformations-core/src/test/resources/org/jetbrains/research/ml/ast/transformations/constantfolding/data/in_7_bool_simplification_recursion.py | nbirillo/ast-transformations | 717706765a2da29087a0de768fc851698886dd65 | [
"MIT"
] | 1 | 2022-02-23T19:16:30.000Z | 2022-02-23T19:16:30.000Z | x = 1 + 2 and 3 + 4 | 19 | 19 | 0.421053 | 6 | 19 | 1.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.363636 | 0.421053 | 19 | 1 | 19 | 19 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 6 |
d47c5af836362948731859158ee95f8683c82ea5 | 171 | py | Python | tucat/core/tasks.py | natoinet/tucat | 635de353789662b555c54cad36b34303ba154869 | [
"BSD-3-Clause"
] | 2 | 2018-10-25T20:58:06.000Z | 2020-04-28T08:17:22.000Z | tucat/core/tasks.py | natoinet/tucat | 635de353789662b555c54cad36b34303ba154869 | [
"BSD-3-Clause"
] | 1 | 2018-10-21T21:16:28.000Z | 2018-10-26T14:59:55.000Z | tucat/core/tasks.py | natoinet/tucat | 635de353789662b555c54cad36b34303ba154869 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import
import time
from celery import shared_task
from celery.app.task import Task
from celery.signals import task_success, worker_init
| 19 | 52 | 0.847953 | 26 | 171 | 5.269231 | 0.5 | 0.218978 | 0.20438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128655 | 171 | 8 | 53 | 21.375 | 0.919463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d483b2a6d7c62e26cd1bab91e7b85e7a68604969 | 30 | py | Python | custom/sim_robot.py | herougan/TradeHunter | 1270a1d9807d1f2107db6bc78b98b584431840cc | [
"MIT"
] | null | null | null | custom/sim_robot.py | herougan/TradeHunter | 1270a1d9807d1f2107db6bc78b98b584431840cc | [
"MIT"
] | null | null | null | custom/sim_robot.py | herougan/TradeHunter | 1270a1d9807d1f2107db6bc78b98b584431840cc | [
"MIT"
] | 1 | 2022-02-09T08:45:05.000Z | 2022-02-09T08:45:05.000Z | from robot import FMACDRobot
| 10 | 28 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 2 | 29 | 15 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2e332edae9be7b5c401744ef6add89f578ceebf5 | 59 | py | Python | spikeforest/spikeforest/spikewidgets/tables/sortingcomparisontable/__init__.py | mhhennig/spikeforest | 5b4507ead724af3de0be5d48a3b23aaedb0be170 | [
"Apache-2.0"
] | 1 | 2021-09-23T01:07:19.000Z | 2021-09-23T01:07:19.000Z | spikeforest/spikeforest/spikewidgets/tables/sortingcomparisontable/__init__.py | mhhennig/spikeforest | 5b4507ead724af3de0be5d48a3b23aaedb0be170 | [
"Apache-2.0"
] | null | null | null | spikeforest/spikeforest/spikewidgets/tables/sortingcomparisontable/__init__.py | mhhennig/spikeforest | 5b4507ead724af3de0be5d48a3b23aaedb0be170 | [
"Apache-2.0"
] | 1 | 2021-09-23T01:07:21.000Z | 2021-09-23T01:07:21.000Z | from .sortingcomparisontable import SortingComparisonTable
| 29.5 | 58 | 0.915254 | 4 | 59 | 13.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 59 | 1 | 59 | 59 | 0.981818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 6 |
2e371f63b0f1a7d0f9e6f2e9a7eeabe4457d277b | 17 | py | Python | python/testData/psi/DictLiteral.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2018-12-29T09:53:39.000Z | 2018-12-29T09:53:42.000Z | python/testData/psi/DictLiteral.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/psi/DictLiteral.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | {'a': 1, 'b': 2}
| 8.5 | 16 | 0.235294 | 4 | 17 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0.235294 | 17 | 1 | 17 | 17 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cf007fa1e74177d3365d8175e7797acd2e643173 | 238 | py | Python | LoginHandler.py | futurechallenger/pytornado | 89e04192b4d142abf6d1d23b6bd876a54c31edd1 | [
"Artistic-2.0"
] | 2 | 2015-03-30T14:25:54.000Z | 2018-04-03T02:28:04.000Z | LoginHandler.py | futurechallenger/pytornado | 89e04192b4d142abf6d1d23b6bd876a54c31edd1 | [
"Artistic-2.0"
] | null | null | null | LoginHandler.py | futurechallenger/pytornado | 89e04192b4d142abf6d1d23b6bd876a54c31edd1 | [
"Artistic-2.0"
] | null | null | null |
# import tornado
# import tornado.web
# from tornado import gen
# from tornado import define, options, parse_command_line
import BaseHandler
class LoginHandler(BaseHandler.BaseHandler):
def get(self):
pass
| 18.307692 | 61 | 0.701681 | 27 | 238 | 6.111111 | 0.62963 | 0.236364 | 0.206061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.239496 | 238 | 12 | 62 | 19.833333 | 0.911602 | 0.47479 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
cf128f9a81914384c45a37c1692236803d432164 | 35 | py | Python | Testing/SingleTests/Environment/HaveLOOPY.py | illinois-ceesd/teesd | 764b27a0ca2f3aba1e00d8cf6bab8869d7ba1a59 | [
"MIT"
] | 1 | 2020-08-18T16:31:18.000Z | 2020-08-18T16:31:18.000Z | Testing/SingleTests/Environment/HaveLOOPY.py | illinois-ceesd/teesd | 764b27a0ca2f3aba1e00d8cf6bab8869d7ba1a59 | [
"MIT"
] | null | null | null | Testing/SingleTests/Environment/HaveLOOPY.py | illinois-ceesd/teesd | 764b27a0ca2f3aba1e00d8cf6bab8869d7ba1a59 | [
"MIT"
] | null | null | null | import loopy
print(loopy.version)
| 8.75 | 20 | 0.8 | 5 | 35 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 3 | 21 | 11.666667 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
d8dff48e38b61653eb0c5a0ffaf4714d995f820e | 231 | py | Python | credentials.py | oscarkioge94/mpesa | 59c86cca60508b90305a2825a62ba80ef1d8f4ce | [
"MIT"
] | null | null | null | credentials.py | oscarkioge94/mpesa | 59c86cca60508b90305a2825a62ba80ef1d8f4ce | [
"MIT"
] | null | null | null | credentials.py | oscarkioge94/mpesa | 59c86cca60508b90305a2825a62ba80ef1d8f4ce | [
"MIT"
] | null | null | null | business_shortCode = "174379"
phone_number="254710830759"
lipa_na_mpesa_passkey = "bfb279f9aa9bdbcf158e97dd71a467cd2e0c893059b10f78e6b72ada1ed2c919"
consumer_key="zL2vYJyOZAiFM0A3C2bVXUQIFVNzyj77"
consumer_secret="ctxSXM5AGeqdA6Jm" | 46.2 | 90 | 0.900433 | 17 | 231 | 11.823529 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.273543 | 0.034632 | 231 | 5 | 91 | 46.2 | 0.627803 | 0 | 0 | 0 | 0 | 0 | 0.560345 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
d8f19e35d353340543769063ad2aee47c14f0e3a | 167 | py | Python | info/modules/news/views.py | rs31-zy/flask_new_info | c48307ee319b29ac60bdee65f507a2d3bd4238a6 | [
"Apache-2.0"
] | null | null | null | info/modules/news/views.py | rs31-zy/flask_new_info | c48307ee319b29ac60bdee65f507a2d3bd4238a6 | [
"Apache-2.0"
] | null | null | null | info/modules/news/views.py | rs31-zy/flask_new_info | c48307ee319b29ac60bdee65f507a2d3bd4238a6 | [
"Apache-2.0"
] | null | null | null | from flask import render_template
from . import news_blu
@news_blu.route('/<int:news_id>')
def news_detail(news_id):
return render_template('news/detail.html') | 20.875 | 47 | 0.760479 | 26 | 167 | 4.615385 | 0.538462 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11976 | 167 | 8 | 47 | 20.875 | 0.816327 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 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 | 1 | 1 | 1 | 0 | 0 | 6 |
2b3db85a8a62a536768a2647a91600f65e72f575 | 32 | py | Python | Start.py | chuah007/HttpProxyServerAndControlPanel | d5e8625a9e7a3c53ef65a9dae399f9532b8346ba | [
"Apache-2.0"
] | null | null | null | Start.py | chuah007/HttpProxyServerAndControlPanel | d5e8625a9e7a3c53ef65a9dae399f9532b8346ba | [
"Apache-2.0"
] | null | null | null | Start.py | chuah007/HttpProxyServerAndControlPanel | d5e8625a9e7a3c53ef65a9dae399f9532b8346ba | [
"Apache-2.0"
] | null | null | null | print("this is my first commit") | 32 | 32 | 0.75 | 6 | 32 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.69697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
2b440c9951f561070a2a382f55ae52069bdcb7a9 | 324 | py | Python | src/spaceone/identity/connector/__init__.py | Jeoungseungho/identity | 8fa1c8d21952fb7b313624e632d98e99e5bf0def | [
"Apache-2.0"
] | null | null | null | src/spaceone/identity/connector/__init__.py | Jeoungseungho/identity | 8fa1c8d21952fb7b313624e632d98e99e5bf0def | [
"Apache-2.0"
] | null | null | null | src/spaceone/identity/connector/__init__.py | Jeoungseungho/identity | 8fa1c8d21952fb7b313624e632d98e99e5bf0def | [
"Apache-2.0"
] | null | null | null | from spaceone.identity.connector.plugin_service_connector import PluginServiceConnector
from spaceone.identity.connector.auth_plugin_connector import AuthPluginConnector
from spaceone.identity.connector.secret_connector import SecretConnector
from spaceone.identity.connector.repository_connector import RepositoryConnec... | 64.8 | 87 | 0.91358 | 34 | 324 | 8.529412 | 0.411765 | 0.165517 | 0.275862 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049383 | 324 | 4 | 88 | 81 | 0.941558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
991512ef79889a86436db062d3f6aae94c192fe7 | 69,638 | py | Python | scripts/other/Ui_main_qt4.py | SamKaiYang/ros_modbus_nex | b698cc73df65853866112f7501432a8509a2545c | [
"BSD-2-Clause"
] | null | null | null | scripts/other/Ui_main_qt4.py | SamKaiYang/ros_modbus_nex | b698cc73df65853866112f7501432a8509a2545c | [
"BSD-2-Clause"
] | null | null | null | scripts/other/Ui_main_qt4.py | SamKaiYang/ros_modbus_nex | b698cc73df65853866112f7501432a8509a2545c | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'main.ui'
#
# Created by: PyQt4 UI code generator 4.12.1
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
... | 59.877902 | 131 | 0.704443 | 8,181 | 69,638 | 5.899401 | 0.039604 | 0.123635 | 0.073597 | 0.096596 | 0.820566 | 0.760375 | 0.72654 | 0.707333 | 0.683629 | 0.674782 | 0 | 0.042951 | 0.174861 | 69,638 | 1,162 | 132 | 59.929432 | 0.796975 | 0.002556 | 0 | 0.680314 | 1 | 0 | 0.045614 | 0.018315 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004355 | false | 0 | 0.000871 | 0.002613 | 0.008711 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 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 | 6 |
9916ac8b64fb0ce2ba42f4fffcf5a4b0342930cc | 26 | py | Python | SevenSeg/__init__.py | medtrab/SevenSeg | de3eace776b170998450c2b52b7d3b4a29b58939 | [
"MIT"
] | null | null | null | SevenSeg/__init__.py | medtrab/SevenSeg | de3eace776b170998450c2b52b7d3b4a29b58939 | [
"MIT"
] | null | null | null | SevenSeg/__init__.py | medtrab/SevenSeg | de3eace776b170998450c2b52b7d3b4a29b58939 | [
"MIT"
] | null | null | null | from SevenSeg.Seg import * | 26 | 26 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
992249a54c982ad8838a82c85fbdd1ebf14cd03e | 70 | py | Python | base_astro_bot/rsi_data/__init__.py | Mirdalan/base_astro_bot | 656ebd55c0f57fc18bf95227af9e20a4c1392489 | [
"MIT"
] | 2 | 2018-11-16T11:31:53.000Z | 2019-05-19T03:07:15.000Z | base_astro_bot/rsi_data/__init__.py | Mirdalan/base_astro_bot | 656ebd55c0f57fc18bf95227af9e20a4c1392489 | [
"MIT"
] | null | null | null | base_astro_bot/rsi_data/__init__.py | Mirdalan/base_astro_bot | 656ebd55c0f57fc18bf95227af9e20a4c1392489 | [
"MIT"
] | null | null | null | from .rsi_parser import RsiDataParser
from .rsi_mixin import RsiMixin
| 23.333333 | 37 | 0.857143 | 10 | 70 | 5.8 | 0.7 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 70 | 2 | 38 | 35 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
41dd986385ba59dd61ecf691c3e2287043f97e33 | 70 | py | Python | AoC20/day_05/a.py | a-recknagel/AoC20 | 7aa0013dc745bdc0ad357e1168b212bd065fd092 | [
"MIT"
] | null | null | null | AoC20/day_05/a.py | a-recknagel/AoC20 | 7aa0013dc745bdc0ad357e1168b212bd065fd092 | [
"MIT"
] | null | null | null | AoC20/day_05/a.py | a-recknagel/AoC20 | 7aa0013dc745bdc0ad357e1168b212bd065fd092 | [
"MIT"
] | null | null | null | from AoC20.day_5 import parse, data as data
print(max(parse(data)))
| 14 | 43 | 0.742857 | 13 | 70 | 3.923077 | 0.769231 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.142857 | 70 | 4 | 44 | 17.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
51174e0206d0f48a012f81239d6cb254a4eb5c46 | 2,861 | py | Python | program/testy/test_ModeSingle.py | peter2141/IBT | 8e6b1ac68680152ad744007aaf2b9e0a6d070d80 | [
"Apache-2.0"
] | null | null | null | program/testy/test_ModeSingle.py | peter2141/IBT | 8e6b1ac68680152ad744007aaf2b9e0a6d070d80 | [
"Apache-2.0"
] | null | null | null | program/testy/test_ModeSingle.py | peter2141/IBT | 8e6b1ac68680152ad744007aaf2b9e0a6d070d80 | [
"Apache-2.0"
] | null | null | null | import unittest
import sys
sys.path.append('..')
import modes
import xml.etree.cElementTree
import os
import global_var
os.system("tshark -r xml/smtp.pcap -T pdml > tmp.pdml")
class TestModeSingle(unittest.TestCase):
def test_expression_false(self):
result = None
for event, elem in xml.etree.cEl... | 37.644737 | 97 | 0.532331 | 338 | 2,861 | 4.446746 | 0.213018 | 0.074518 | 0.047904 | 0.045243 | 0.815037 | 0.815037 | 0.815037 | 0.815037 | 0.815037 | 0.815037 | 0 | 0.001565 | 0.329955 | 2,861 | 75 | 98 | 38.146667 | 0.782473 | 0.049983 | 0 | 0.661017 | 0 | 0 | 0.119056 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 1 | 0.067797 | false | 0 | 0.101695 | 0 | 0.186441 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
5122b44e68af9cc18564ee7a911c1f61efb4bf86 | 163 | py | Python | server/tests/test_utils.py | amansrivastava17/embedding-as-sevice | 8cd4087cbd39ecb57ee732c029dea465ad364a5e | [
"MIT"
] | 173 | 2019-07-26T12:48:12.000Z | 2022-03-03T16:01:18.000Z | server/tests/test_utils.py | amansrivastava17/embedding-as-sevice | 8cd4087cbd39ecb57ee732c029dea465ad364a5e | [
"MIT"
] | 35 | 2019-05-31T13:02:48.000Z | 2022-02-28T10:54:14.000Z | server/tests/test_utils.py | amansrivastava17/embedding-as-sevice | 8cd4087cbd39ecb57ee732c029dea465ad364a5e | [
"MIT"
] | 25 | 2019-07-26T07:15:58.000Z | 2021-11-20T20:27:59.000Z | from embedding_as_service.utils import any2unicode
def test_any2unicode():
assert any2unicode("hello") == "hello"
assert any2unicode(b"hello") == "hello"
| 27.166667 | 50 | 0.736196 | 19 | 163 | 6.157895 | 0.631579 | 0.290598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.141104 | 163 | 5 | 51 | 32.6 | 0.807143 | 0 | 0 | 0 | 0 | 0 | 0.122699 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5a9143735d26c2d48be18d9cfe0b4595bb271194 | 120 | py | Python | __init__.py | ruslankhayrut/russianCVparser | 47dec213b323b72cd3cdc8a2dee0f54091c5dea8 | [
"MIT"
] | null | null | null | __init__.py | ruslankhayrut/russianCVparser | 47dec213b323b72cd3cdc8a2dee0f54091c5dea8 | [
"MIT"
] | null | null | null | __init__.py | ruslankhayrut/russianCVparser | 47dec213b323b72cd3cdc8a2dee0f54091c5dea8 | [
"MIT"
] | null | null | null | from .cvparser.helpers import show_json
from .cvparser.nlparser import CVparser
from .cvparser.document import Document
| 30 | 39 | 0.85 | 16 | 120 | 6.3125 | 0.5 | 0.356436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 120 | 3 | 40 | 40 | 0.935185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5ab2a5067d31c281fbd01e42ded746be7e8eb5b8 | 48 | py | Python | anyway/widgets/all_locations_widgets/__init__.py | MichalOren/anyway | 79cc25501dc1d643fc80b59b29f010b804acebb8 | [
"MIT"
] | null | null | null | anyway/widgets/all_locations_widgets/__init__.py | MichalOren/anyway | 79cc25501dc1d643fc80b59b29f010b804acebb8 | [
"MIT"
] | null | null | null | anyway/widgets/all_locations_widgets/__init__.py | MichalOren/anyway | 79cc25501dc1d643fc80b59b29f010b804acebb8 | [
"MIT"
] | null | null | null | from . import accident_count_by_severity_widget
| 24 | 47 | 0.895833 | 7 | 48 | 5.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
51a642dbc0374e98078c714a603bdde9cbd805ba | 141 | py | Python | login/login.py | kwens/third-login | adaf42cf6dc1ae69bab86f187a717f74035dd8cc | [
"MIT"
] | null | null | null | login/login.py | kwens/third-login | adaf42cf6dc1ae69bab86f187a717f74035dd8cc | [
"MIT"
] | 1 | 2021-06-01T23:29:29.000Z | 2021-06-01T23:29:29.000Z | login/login.py | kwens/third-login | adaf42cf6dc1ae69bab86f187a717f74035dd8cc | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
class LoginApi(object):
def __init__(self, login_type: str = 'dingding'):
self.login_type = login_type
| 20.142857 | 53 | 0.631206 | 18 | 141 | 4.555556 | 0.722222 | 0.329268 | 0.317073 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.212766 | 141 | 6 | 54 | 23.5 | 0.72973 | 0.148936 | 0 | 0 | 0 | 0 | 0.067797 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
51a6db074723c72d4ed471fa431d3f83d40d6390 | 61 | py | Python | python/testData/refactoring/introduceVariable/substringContainsEscapes.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/introduceVariable/substringContainsEscapes.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/introduceVariable/substringContainsEscapes.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | print(u"Hel<selection>lo \u00d6sterreich\\!\n</selection>\n") | 61 | 61 | 0.737705 | 9 | 61 | 5 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.016393 | 61 | 1 | 61 | 61 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.822581 | 0.548387 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
51c86aa44117e67bcbcb49519adffd7c0cd500be | 93 | py | Python | tests/gcloud/test_GCloudStreaming.py | urbandataanalytics/SwissKnife | 46e2266744ff2a6e95c05817182b80d864e422a9 | [
"MIT"
] | 3 | 2020-04-27T15:28:40.000Z | 2020-05-27T10:33:16.000Z | tests/gcloud/test_GCloudStreaming.py | urbandataanalytics/SwissKnife | 46e2266744ff2a6e95c05817182b80d864e422a9 | [
"MIT"
] | 7 | 2020-04-30T09:47:14.000Z | 2021-04-05T13:07:12.000Z | tests/gcloud/test_GCloudStreaming.py | urbandataanalytics/SwissKnife | 46e2266744ff2a6e95c05817182b80d864e422a9 | [
"MIT"
] | null | null | null | import unittest
# How to test this?
class test_GCloudStreaming(unittest.TestCase):
pass | 15.5 | 46 | 0.774194 | 12 | 93 | 5.916667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 6 | 47 | 15.5 | 0.910256 | 0.182796 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
cfa5322342c4fb8570cde3b4faf5d8045d76a004 | 119,560 | py | Python | pirates/leveleditor/worldData/port_royal_area_cave_b_1.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 81 | 2018-04-08T18:14:24.000Z | 2022-01-11T07:22:15.000Z | pirates/leveleditor/worldData/port_royal_area_cave_b_1.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 4 | 2018-09-13T20:41:22.000Z | 2022-01-08T06:57:00.000Z | pirates/leveleditor/worldData/port_royal_area_cave_b_1.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 26 | 2018-05-26T12:49:27.000Z | 2021-09-11T09:11:59.000Z | from pandac.PandaModules import Point3, VBase3, Vec4
objectStruct = {'Interact Links': [['1176159360.0dxschafe', '1165019476.34Shochet', 'Bi-directional'], ['1176159104.0dxschafe0', '1176159104.0dxschafe', 'Bi-directional'], ['1176158080.0dxschafe', '1165019328.28Shochet', 'Bi-directional']],'Objects': {'1165001772.05s... | 39,853.333333 | 119,355 | 0.671454 | 17,062 | 119,560 | 4.647521 | 0.080178 | 0.028728 | 0.029094 | 0.022902 | 0.725648 | 0.550293 | 0.524667 | 0.473744 | 0.412228 | 0.401281 | 0 | 0.259864 | 0.053053 | 119,560 | 3 | 119,356 | 39,853.333333 | 0.440526 | 0 | 0 | 0 | 0 | 0 | 0.585182 | 0.311205 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
cfdbc843b8b2386a6630b8fc140707dbc18b4b18 | 29 | py | Python | basic/__init__.py | Harlen520/NLPTrainer | 392bc1d49885d5fef6afc75630a0ba5269f9ff69 | [
"Apache-2.0"
] | 2 | 2021-05-27T08:26:57.000Z | 2022-03-09T06:06:32.000Z | basic/__init__.py | Harlen520/NLPTrainer | 392bc1d49885d5fef6afc75630a0ba5269f9ff69 | [
"Apache-2.0"
] | null | null | null | basic/__init__.py | Harlen520/NLPTrainer | 392bc1d49885d5fef6afc75630a0ba5269f9ff69 | [
"Apache-2.0"
] | null | null | null |
from basic import basic_task | 14.5 | 28 | 0.862069 | 5 | 29 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 2 | 28 | 14.5 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cfe5be7d79318887069f06e5b55a43b3159c45b4 | 112 | py | Python | afs/service/DBsServiceError.py | chanke/afspy | 525e7b3b53e58be515f11b83cc59ddb0765ef8e5 | [
"BSD-2-Clause"
] | null | null | null | afs/service/DBsServiceError.py | chanke/afspy | 525e7b3b53e58be515f11b83cc59ddb0765ef8e5 | [
"BSD-2-Clause"
] | null | null | null | afs/service/DBsServiceError.py | chanke/afspy | 525e7b3b53e58be515f11b83cc59ddb0765ef8e5 | [
"BSD-2-Clause"
] | null | null | null | from afs.util.AFSError import AFSError
class DBsServiceError(AFSError):
# No specific Method now
pass
| 16 | 38 | 0.75 | 14 | 112 | 6 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196429 | 112 | 6 | 39 | 18.666667 | 0.933333 | 0.196429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
5c87e5705afc2410f1763282d684947021777eaf | 79 | py | Python | test/regression/features/floats/floats.py | bjpop/blip | 3d9105a44d1afb7bd007da3742fb19dc69372e10 | [
"BSD-3-Clause"
] | 137 | 2015-02-13T21:03:23.000Z | 2021-11-24T03:53:55.000Z | test/regression/features/floats/floats.py | bjpop/blip | 3d9105a44d1afb7bd007da3742fb19dc69372e10 | [
"BSD-3-Clause"
] | 2 | 2015-03-07T14:08:33.000Z | 2015-10-13T02:00:40.000Z | test/regression/features/floats/floats.py | bjpop/blip | 3d9105a44d1afb7bd007da3742fb19dc69372e10 | [
"BSD-3-Clause"
] | 4 | 2015-05-03T22:07:27.000Z | 2018-09-10T08:55:03.000Z | print(0.0)
print(-0.0)
print(1.3)
print(-1.3)
print(type(1.3))
print(float(1))
| 11.285714 | 16 | 0.632911 | 19 | 79 | 2.631579 | 0.315789 | 0.12 | 0.42 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150685 | 0.075949 | 79 | 6 | 17 | 13.166667 | 0.534247 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5cc813fcbd20c5d09af1d51dfc2edfdce79a161c | 182 | py | Python | src/brouwers/albums/tests/factory_models.py | modelbrouwers/modelbrouwers | e0ba4819bf726d6144c0a648fdd4731cdc098a52 | [
"MIT"
] | 6 | 2015-03-03T13:23:07.000Z | 2021-12-19T18:12:41.000Z | src/brouwers/albums/tests/factory_models.py | modelbrouwers/modelbrouwers | e0ba4819bf726d6144c0a648fdd4731cdc098a52 | [
"MIT"
] | 95 | 2015-02-07T00:55:39.000Z | 2022-02-08T20:22:05.000Z | src/brouwers/albums/tests/factory_models.py | modelbrouwers/modelbrouwers | e0ba4819bf726d6144c0a648fdd4731cdc098a52 | [
"MIT"
] | 2 | 2016-03-22T16:53:26.000Z | 2019-02-09T22:46:04.000Z | import warnings
from .factories import *
warnings.warn('Import from albums.tests.factories, the factory_models '
'module will be removed', PendingDeprecationWarning)
| 26 | 71 | 0.747253 | 20 | 182 | 6.75 | 0.75 | 0.207407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181319 | 182 | 6 | 72 | 30.333333 | 0.90604 | 0 | 0 | 0 | 0 | 0 | 0.423077 | 0.126374 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7a29b7aae422f9012daca8f65eda3b510c2c5141 | 242 | py | Python | src/fastapi_aad_auth/_base/validators/__init__.py | oerpli/fastapi_aad_auth | 25a25406d8d8b29cf4457b9b9e7e256ac3c81633 | [
"MIT"
] | null | null | null | src/fastapi_aad_auth/_base/validators/__init__.py | oerpli/fastapi_aad_auth | 25a25406d8d8b29cf4457b9b9e7e256ac3c81633 | [
"MIT"
] | null | null | null | src/fastapi_aad_auth/_base/validators/__init__.py | oerpli/fastapi_aad_auth | 25a25406d8d8b29cf4457b9b9e7e256ac3c81633 | [
"MIT"
] | null | null | null |
from fastapi_aad_auth._base.validators.base import Validator # noqa: F401
from fastapi_aad_auth._base.validators.session import SessionValidator # noqa: F401
from fastapi_aad_auth._base.validators.token import TokenValidator # noqa: F401
| 48.4 | 84 | 0.834711 | 33 | 242 | 5.848485 | 0.424242 | 0.170984 | 0.217617 | 0.279793 | 0.580311 | 0.580311 | 0.414508 | 0.414508 | 0 | 0 | 0 | 0.041475 | 0.103306 | 242 | 4 | 85 | 60.5 | 0.847926 | 0.132231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7a35f3f815d1ad957610a4eebcbcb2fb5be45b29 | 4,329 | py | Python | tests/Argo_spike_test_validation.py | BillMills/AutoQC | cb56fa5bb2115170ec204edd84e2d69ce84be820 | [
"MIT"
] | 17 | 2015-01-31T00:35:58.000Z | 2020-10-26T19:01:46.000Z | tests/Argo_spike_test_validation.py | castelao/AutoQC | eb85422c1a6a5ff965a1ef96b3cb29240a66b506 | [
"MIT"
] | 163 | 2015-01-21T03:44:42.000Z | 2022-01-09T22:03:12.000Z | tests/Argo_spike_test_validation.py | BillMills/AutoQC | cb56fa5bb2115170ec204edd84e2d69ce84be820 | [
"MIT"
] | 11 | 2015-06-04T14:32:22.000Z | 2021-04-11T05:18:09.000Z | import qctests.Argo_spike_test
import util.testingProfile
import numpy
from util import obs_utils
##### Argo_spike_test ---------------------------------------------------
def test_Argo_spike_test_temperature_shallow():
'''
Make sure AST is flagging postive and negative temperature spikes at shallow depths
... | 45.09375 | 127 | 0.683761 | 638 | 4,329 | 4.551724 | 0.147335 | 0.046488 | 0.067149 | 0.075758 | 0.86157 | 0.846419 | 0.785468 | 0.771006 | 0.766873 | 0.703512 | 0 | 0.06119 | 0.184569 | 4,329 | 95 | 128 | 45.568421 | 0.761473 | 0.206976 | 0 | 0.480769 | 0 | 0 | 0.199226 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 1 | 0.057692 | false | 0 | 0.076923 | 0 | 0.134615 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
8feb8d08d2143b7c50a42eee7e60adf674cc28e5 | 2,752 | py | Python | actions/user_ops.py | capjamesg/cinnamon | 82c84e53854987e184198e334d5f23fe86fccf41 | [
"MIT"
] | null | null | null | actions/user_ops.py | capjamesg/cinnamon | 82c84e53854987e184198e334d5f23fe86fccf41 | [
"MIT"
] | 1 | 2022-02-09T14:58:42.000Z | 2022-02-09T14:58:42.000Z | actions/user_ops.py | capjamesg/cinnamon | 82c84e53854987e184198e334d5f23fe86fccf41 | [
"MIT"
] | null | null | null | import sqlite3
from flask import jsonify, request
def get_muted(request: request) -> dict:
connection = sqlite3.connect("microsub.db")
with connection:
cursor = connection.cursor()
cursor.execute(
"SELECT * FROM following WHERE muted = 1 AND channel = ?",
(request.arg... | 28.371134 | 88 | 0.56686 | 304 | 2,752 | 5.088816 | 0.157895 | 0.077569 | 0.077569 | 0.098255 | 0.882999 | 0.882999 | 0.882999 | 0.882999 | 0.882999 | 0.882999 | 0 | 0.020041 | 0.292878 | 2,752 | 96 | 89 | 28.666667 | 0.774923 | 0 | 0 | 0.656716 | 0 | 0 | 0.245276 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074627 | false | 0 | 0.029851 | 0 | 0.238806 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
8fecb20b8da1651c10bedf069a0bc9c3feba96ac | 87 | py | Python | type_sense/client.py | jkoestinger/django-typesense | b1472872ca7c3deab68704bb7bf4b103daed8bcd | [
"MIT"
] | 7 | 2020-12-10T15:02:24.000Z | 2022-03-23T21:47:25.000Z | type_sense/client.py | jkoestinger/django-typesense | b1472872ca7c3deab68704bb7bf4b103daed8bcd | [
"MIT"
] | null | null | null | type_sense/client.py | jkoestinger/django-typesense | b1472872ca7c3deab68704bb7bf4b103daed8bcd | [
"MIT"
] | null | null | null | import typesense
from settings import TYPESENSE
client = typesense.Client(TYPESENSE)
| 14.5 | 36 | 0.827586 | 10 | 87 | 7.2 | 0.5 | 0.416667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126437 | 87 | 5 | 37 | 17.4 | 0.947368 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8feda7192a7b34ee5d691a3671e264bd4dcac19f | 76 | py | Python | core/views.py | sillygod/awesome-game-interview | 08a82e70c5fb150779f1f189798e1a38ca772184 | [
"MIT"
] | 1 | 2020-02-19T09:03:01.000Z | 2020-02-19T09:03:01.000Z | core/views.py | sillygod/django-as-pure-api-server | 40f9993b4e2eff99d3a55e21ad4f4ac1f0daff95 | [
"MIT"
] | 23 | 2017-07-15T08:06:21.000Z | 2022-03-11T23:26:00.000Z | core/views.py | sillygod/awesome-game-interview | 08a82e70c5fb150779f1f189798e1a38ca772184 | [
"MIT"
] | null | null | null | from django import http
def health(request):
return http.HttpResponse() | 19 | 30 | 0.763158 | 10 | 76 | 5.8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 76 | 4 | 30 | 19 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 | 1 | 1 | 1 | 0 | 0 | 6 |
56ae0c11d7d26d67d0e2b061c165f2146449064f | 273 | py | Python | 3.1forfunrage.py | dcaeben/pythonbasic | 243806ca8e1947d23ca4e64ab77341c44eae93a9 | [
"MIT"
] | null | null | null | 3.1forfunrage.py | dcaeben/pythonbasic | 243806ca8e1947d23ca4e64ab77341c44eae93a9 | [
"MIT"
] | null | null | null | 3.1forfunrage.py | dcaeben/pythonbasic | 243806ca8e1947d23ca4e64ab77341c44eae93a9 | [
"MIT"
] | null | null | null | #for i in range(5): #itera sobre un valor dado
# print(i)
#for i in range(5, 10): #itera sobre un valor dado
# print(i)
#for i in range(0, 10, 3): #itera sobre un valor dado
# print(i)
for i in range(-10, -100, -30): #itera sobre un valor dado
print(i)
| 19.5 | 59 | 0.611722 | 53 | 273 | 3.150943 | 0.301887 | 0.095808 | 0.143713 | 0.263473 | 0.922156 | 0.844311 | 0.844311 | 0.682635 | 0.682635 | 0.682635 | 0 | 0.073171 | 0.249084 | 273 | 13 | 60 | 21 | 0.741463 | 0.750916 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 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 | 1 | 0 | 6 |
56b98ca0970b382cd2e3ff19586d225f3f4fe94f | 105 | py | Python | bitmovin_api_sdk/encoding/filters/enhanced_watermark/customdata/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/filters/enhanced_watermark/customdata/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/filters/enhanced_watermark/customdata/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.filters.enhanced_watermark.customdata.customdata_api import CustomdataApi
| 52.5 | 104 | 0.914286 | 13 | 105 | 7.076923 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038095 | 105 | 1 | 105 | 105 | 0.910891 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
56cb1ce39351e362735b9356f831584ffcb73f2c | 36,796 | py | Python | haproxy_test.py | immobiliare/collectd-haproxy-plugin | e321a176e2b61f6ecf113568a1885987b632bfb8 | [
"MIT"
] | 23 | 2021-11-08T11:04:17.000Z | 2022-01-21T12:26:31.000Z | haproxy_test.py | immobiliare/collectd-haproxy-plugin | e321a176e2b61f6ecf113568a1885987b632bfb8 | [
"MIT"
] | null | null | null | haproxy_test.py | immobiliare/collectd-haproxy-plugin | e321a176e2b61f6ecf113568a1885987b632bfb8 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
#
# Copyright (c) 2020 Immobiliare Labs <opensource@immobiliare.it>
#
# 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 t... | 31.666093 | 79 | 0.432737 | 2,885 | 36,796 | 5.329289 | 0.111612 | 0.068293 | 0.11278 | 0.152585 | 0.783285 | 0.77665 | 0.761821 | 0.746667 | 0.731837 | 0.70478 | 0 | 0.021128 | 0.396728 | 36,796 | 1,161 | 80 | 31.693368 | 0.671502 | 0.032694 | 0 | 0.839964 | 0 | 0 | 0.363043 | 0.06902 | 0 | 0 | 0 | 0 | 0.006329 | 1 | 0.012658 | false | 0.000904 | 0.007233 | 0.005425 | 0.031646 | 0.001808 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
56e7bc4c5df15cbd7b8c0306e7115577cd24ab11 | 428 | py | Python | holobot/discord/sdk/exceptions/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 1 | 2021-05-24T00:17:46.000Z | 2021-05-24T00:17:46.000Z | holobot/discord/sdk/exceptions/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 41 | 2021-03-24T22:50:09.000Z | 2021-12-17T12:15:13.000Z | holobot/discord/sdk/exceptions/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | null | null | null | from .channel_not_found_error import ChannelNotFoundError
from .forbidden_error import ForbiddenError
from .message_not_found_error import MessageNotFoundError
from .permission_error import PermissionError
from .role_already_exists_error import RoleAlreadyExistsError
from .role_not_found_error import RoleNotFoundError
... | 47.555556 | 61 | 0.906542 | 52 | 428 | 7.076923 | 0.423077 | 0.23913 | 0.17663 | 0.258152 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074766 | 428 | 8 | 62 | 53.5 | 0.929293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
56efe84b9cbc2cd06a5fff7d17df75a664ab5530 | 13,497 | py | Python | eeauditor/tests/test_AWS_CodeArtifact_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 442 | 2020-03-15T20:56:36.000Z | 2022-03-31T22:13:07.000Z | eeauditor/tests/test_AWS_CodeArtifact_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 57 | 2020-03-15T22:09:56.000Z | 2022-03-31T13:17:06.000Z | eeauditor/tests/test_AWS_CodeArtifact_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 59 | 2020-03-15T21:19:10.000Z | 2022-03-31T15:01:31.000Z | #This file is part of ElectricEye.
#SPDX-License-Identifier: Apache-2.0
#Licensed to the Apache Software Foundation (ASF) under one
#or more contributor license agreements. See the NOTICE file
#distributed with this work for additional information
#regarding copyright ownership. The ASF licenses this file
#to you un... | 38.452991 | 129 | 0.664073 | 1,423 | 13,497 | 6.019677 | 0.128602 | 0.108686 | 0.056502 | 0.070044 | 0.832827 | 0.823021 | 0.809246 | 0.800724 | 0.800257 | 0.796988 | 0 | 0.049526 | 0.202638 | 13,497 | 351 | 130 | 38.452991 | 0.746423 | 0.059643 | 0 | 0.670068 | 0 | 0.037415 | 0.318845 | 0.13134 | 0 | 0 | 0 | 0 | 0.112245 | 1 | 0.040816 | false | 0 | 0.02381 | 0 | 0.064626 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
71166a91222c404933806ea94a46a4ef679b63ed | 29,718 | py | Python | dbBackup.py | wholesomegarden/Challenge18 | 5aeac0f130fd69f9e29b3cf83d730e8e1fddd00d | [
"MIT"
] | 1 | 2021-05-04T10:19:51.000Z | 2021-05-04T10:19:51.000Z | dbBackup.py | wholesomegarden/Challenge18 | 5aeac0f130fd69f9e29b3cf83d730e8e1fddd00d | [
"MIT"
] | null | null | null | dbBackup.py | wholesomegarden/Challenge18 | 5aeac0f130fd69f9e29b3cf83d730e8e1fddd00d | [
"MIT"
] | null | null | null | {"users": {"972547932000@c.us": {"days": {"1": 1,"2": 5,"12": 1,"-1": 2,"13": 1,"3": 1,"-4": 0,"0": 0,"4": 1,"17": 10,"11": 5,"8": 8,"5": 0,"14": 1,"7": 8,"10": 0,"30": 3,"31": 1,"32": 5,"46": 0,"6": 3,"15": 1,"19": 10,"9998": 6,"500": 1,"502": 4,"505": 0,"507": 1,"503": 1,"2": 0},"score": 354,"username": "tami"},"9725... | 14,859 | 29,717 | 0.507134 | 5,349 | 29,718 | 2.817349 | 0.112731 | 0.046782 | 0.092435 | 0.072196 | 0.338155 | 0.302256 | 0.254015 | 0.200133 | 0.059124 | 0.035236 | 0 | 0.364072 | 0.087018 | 29,718 | 1 | 29,718 | 29,718 | 0.191361 | 0 | 0 | 0 | 0 | 0 | 0.432095 | 0.060401 | 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 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
85427dbaefa2e4bb05bb05f37f555138411b37ac | 242 | py | Python | pyramda/function/apply_test.py | sergiors/pyramda | 5bf200888809b1bc946e813e29460f204bccd13e | [
"MIT"
] | 124 | 2015-07-30T21:34:25.000Z | 2022-02-19T08:45:50.000Z | pyramda/function/apply_test.py | sergiors/pyramda | 5bf200888809b1bc946e813e29460f204bccd13e | [
"MIT"
] | 37 | 2015-08-31T23:02:20.000Z | 2022-02-04T04:45:28.000Z | pyramda/function/apply_test.py | sergiors/pyramda | 5bf200888809b1bc946e813e29460f204bccd13e | [
"MIT"
] | 20 | 2015-08-04T18:59:09.000Z | 2021-12-13T08:08:59.000Z | from .apply import apply
from pyramda.private.asserts import assert_equal
def add(x, y):
return x + y
def apply_nocurry_test():
assert_equal(apply(add, [1, 2]), 3)
def apply_curry_test():
assert_equal(apply(add)([1, 2]), 3)
| 16.133333 | 48 | 0.681818 | 40 | 242 | 3.95 | 0.475 | 0.208861 | 0.189873 | 0.253165 | 0.329114 | 0.329114 | 0.329114 | 0.329114 | 0 | 0 | 0 | 0.030303 | 0.181818 | 242 | 14 | 49 | 17.285714 | 0.767677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.375 | false | 0 | 0.25 | 0.125 | 0.75 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
85438c14907c3b4d11e5253ddac8bb1eb4345fc1 | 6,226 | py | Python | graph_as923_datarate.py | tanupoo/lorawan_toa | 57ff520583cd3c06c6918a2763471c1edba4dc47 | [
"MIT"
] | 22 | 2018-01-03T05:45:19.000Z | 2021-04-08T02:27:26.000Z | graph_as923_datarate.py | radiojitter/lorawan_toa | fb1ed3b47b3b5cc3452d10a03b65f150f42009fb | [
"MIT"
] | 2 | 2019-05-05T10:33:12.000Z | 2019-05-10T08:10:24.000Z | graph_as923_datarate.py | radiojitter/lorawan_toa | fb1ed3b47b3b5cc3452d10a03b65f150f42009fb | [
"MIT"
] | 17 | 2017-09-30T13:48:28.000Z | 2021-06-22T21:37:31.000Z |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import print_function
import sys
import matplotlib.pyplot as plt
import numpy as np
from lorawan_toa import *
####
def get_y_toa(data_size, n_sf, n_bw=125):
if type(data_size) == list:
return [ get_y_toa(i, n_sf, n_bw=n_bw) for i in data_siz... | 35.175141 | 80 | 0.621587 | 1,205 | 6,226 | 2.966805 | 0.137759 | 0.057902 | 0.154406 | 0.110769 | 0.845594 | 0.802517 | 0.802517 | 0.783217 | 0.750769 | 0.72951 | 0 | 0.07222 | 0.188243 | 6,226 | 176 | 81 | 35.375 | 0.63514 | 0.068423 | 0 | 0.578512 | 0 | 0 | 0.120723 | 0.01407 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024793 | false | 0 | 0.041322 | 0.008264 | 0.115702 | 0.008264 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
8550b0041c6048d31576df4c6913c0846efc2b47 | 331 | py | Python | senseTk/tracking/__init__.py | Helicopt/senseToolkit | 1630ec3f03368980a13f448b3be554efe44ec7cb | [
"MIT"
] | 2 | 2018-07-30T03:54:58.000Z | 2018-12-17T16:09:06.000Z | senseTk/tracking/__init__.py | Helicopt/senseToolkit | 1630ec3f03368980a13f448b3be554efe44ec7cb | [
"MIT"
] | null | null | null | senseTk/tracking/__init__.py | Helicopt/senseToolkit | 1630ec3f03368980a13f448b3be554efe44ec7cb | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf8 -*-
#########################################################################
# File Name: tracking/__init__.py
# Author: Toka
# mail: fengweitao@sensetime.com
# Created Time: 2018年07月27日 星期五 12时31分00秒
#########################################################################
from . ... | 33.1 | 73 | 0.39577 | 24 | 331 | 5.291667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049505 | 0.084592 | 331 | 9 | 74 | 36.777778 | 0.369637 | 0.462236 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8574990b58c1b8d0380ad3090337b3865e364794 | 14,417 | py | Python | Latest/venv/Lib/site-packages/pyface/tests/test_confirmation_dialog.py | adamcvj/SatelliteTracker | 49a8f26804422fdad6f330a5548e9f283d84a55d | [
"Apache-2.0"
] | 1 | 2022-01-09T20:04:31.000Z | 2022-01-09T20:04:31.000Z | Latest/venv/Lib/site-packages/pyface/tests/test_confirmation_dialog.py | adamcvj/SatelliteTracker | 49a8f26804422fdad6f330a5548e9f283d84a55d | [
"Apache-2.0"
] | 1 | 2022-02-15T12:01:57.000Z | 2022-03-24T19:48:47.000Z | Latest/venv/Lib/site-packages/pyface/tests/test_confirmation_dialog.py | adamcvj/SatelliteTracker | 49a8f26804422fdad6f330a5548e9f283d84a55d | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
import platform
import unittest
from ..confirmation_dialog import ConfirmationDialog, confirm
from ..constant import YES, NO, OK, CANCEL
from ..image_resource import ImageResource
from ..toolkit import toolkit_object
from ..window import Window
is_qt = toolkit_object.toolkit ==... | 36.778061 | 84 | 0.665464 | 1,758 | 14,417 | 5.288965 | 0.068259 | 0.072059 | 0.03775 | 0.049365 | 0.872015 | 0.839858 | 0.827597 | 0.806948 | 0.794902 | 0.757152 | 0 | 0.008059 | 0.24263 | 14,417 | 391 | 85 | 36.872123 | 0.843484 | 0.098564 | 0 | 0.666667 | 0 | 0 | 0.173003 | 0.006336 | 0 | 0 | 0 | 0 | 0.081699 | 1 | 0.104575 | false | 0 | 0.029412 | 0 | 0.140523 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
a40de844c1639657a991509f5144210af3d95670 | 247 | py | Python | vsp-banckend/virtualStoreApp/serializers/__init__.py | DannielF/virtual-store-project | a8600b6acdabf33cdc4d7ae5c744edd064fe0a1b | [
"MIT"
] | null | null | null | vsp-banckend/virtualStoreApp/serializers/__init__.py | DannielF/virtual-store-project | a8600b6acdabf33cdc4d7ae5c744edd064fe0a1b | [
"MIT"
] | null | null | null | vsp-banckend/virtualStoreApp/serializers/__init__.py | DannielF/virtual-store-project | a8600b6acdabf33cdc4d7ae5c744edd064fe0a1b | [
"MIT"
] | null | null | null | from .orderProductSerializer import OrderProductSerializer
from .orderSerializer import OrderSerializer
from .userSerializer import UserSerializer
from .productSerializer import ProductSerializer
from .providerSerializer import ProviderSerializer
| 41.166667 | 58 | 0.898785 | 20 | 247 | 11.1 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080972 | 247 | 5 | 59 | 49.4 | 0.977974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 6 |
a462f6d2c54a73dc484b9dc95eda5c6e34a67999 | 5,761 | py | Python | F3DASM-2/fenics_SolidMechanics-main/materials/hyperelastic.py | gawelk/F3DAS | 4a4e7233add608820de9ee0fd1c369c2fa1d24c1 | [
"BSD-3-Clause"
] | 45 | 2019-10-15T06:08:23.000Z | 2020-08-01T03:15:11.000Z | F3DASM-2/fenics_SolidMechanics-main/materials/hyperelastic.py | gawelk/F3DAS | 4a4e7233add608820de9ee0fd1c369c2fa1d24c1 | [
"BSD-3-Clause"
] | 19 | 2021-02-28T16:06:30.000Z | 2022-03-12T01:02:29.000Z | F3DASM-2/fenics_SolidMechanics-main/materials/hyperelastic.py | gawelk/F3DAS | 4a4e7233add608820de9ee0fd1c369c2fa1d24c1 | [
"BSD-3-Clause"
] | 10 | 2020-01-10T09:42:58.000Z | 2020-07-20T19:57:15.000Z | from ..src.continuum import *
class NeoHookean(Material):
"""
Neo-Hookean material model implementation
"""
def __init__(self, u, F_macro, E=None, nu=None, mu=None, lmbda=None):
""" Initialize """
################################
# Initialize material properties
... | 30.807487 | 145 | 0.486895 | 856 | 5,761 | 3.175234 | 0.109813 | 0.07947 | 0.062546 | 0.032377 | 0.790287 | 0.760486 | 0.734364 | 0.714128 | 0.707873 | 0.676968 | 0 | 0.066474 | 0.279292 | 5,761 | 186 | 146 | 30.973118 | 0.58815 | 0.199445 | 0 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.123457 | false | 0 | 0.012346 | 0 | 0.259259 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a464496d8accf1dc7adf95b1cbf27d7f1d925c67 | 38 | py | Python | coref_client/__init__.py | tugas-akhir-nlp/coreference-resolution-cnn-v2 | b112893b3bd7b893e3830e183aa79acff8af9896 | [
"MIT"
] | null | null | null | coref_client/__init__.py | tugas-akhir-nlp/coreference-resolution-cnn-v2 | b112893b3bd7b893e3830e183aa79acff8af9896 | [
"MIT"
] | null | null | null | coref_client/__init__.py | tugas-akhir-nlp/coreference-resolution-cnn-v2 | b112893b3bd7b893e3830e183aa79acff8af9896 | [
"MIT"
] | null | null | null | from .coref_client import CorefClient
| 19 | 37 | 0.868421 | 5 | 38 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f13d1a42ea1d282096e317b96651b03b06458947 | 760 | py | Python | temboo/core/Library/Amazon/CloudDrive/Account/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Amazon/CloudDrive/Account/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Amazon/CloudDrive/Account/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Amazon.CloudDrive.Account.GetAccountInfo import GetAccountInfo, GetAccountInfoInputSet, GetAccountInfoResultSet, GetAccountInfoChoreographyExecution
from temboo.Library.Amazon.CloudDrive.Account.GetEndpoint import GetEndpoint, GetEndpointInputSet, GetEndpointResultSet, GetEndpointChoreographyExecuti... | 126.666667 | 168 | 0.901316 | 60 | 760 | 11.416667 | 0.45 | 0.072993 | 0.124088 | 0.167883 | 0.291971 | 0.291971 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046053 | 760 | 5 | 169 | 152 | 0.944828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f1572fb36ed401725229fc5d8f6436e0e3f09179 | 273 | py | Python | dash_app/layout/colors.py | meoke/pangviz | bf9c43c103c25752053052b602c7390f6f7b12a8 | [
"MIT"
] | 1 | 2020-08-18T18:27:12.000Z | 2020-08-18T18:27:12.000Z | dash_app/layout/colors.py | meoke/pangviz | bf9c43c103c25752053052b602c7390f6f7b12a8 | [
"MIT"
] | 3 | 2019-08-29T14:39:16.000Z | 2020-05-05T13:44:11.000Z | dash_app/layout/colors.py | meoke/pangviz | bf9c43c103c25752053052b602c7390f6f7b12a8 | [
"MIT"
] | 1 | 2020-04-24T07:13:02.000Z | 2020-04-24T07:13:02.000Z | colors = {'dark_background': '#275972',
'accent': 'rgb(255, 137, 48)',
'page_element': 'rgb(80, 133, 165)',
'light_background': 'rgb(221, 226, 233)',
'transparent': 'rgba(255,255,255,0)',
'background': 'rgb(221, 226, 233)'} | 45.5 | 51 | 0.520147 | 32 | 273 | 4.34375 | 0.65625 | 0.18705 | 0.230216 | 0.273381 | 0.316547 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247525 | 0.260073 | 273 | 6 | 52 | 45.5 | 0.440594 | 0 | 0 | 0 | 0 | 0 | 0.605839 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f15a3248bcec2eb38527429bccf13dfec57ace56 | 260,284 | py | Python | instances/passenger_demand/pas-20210422-1717-int18e/46.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int18e/46.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int18e/46.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 34558
passenger_arriving = (
(11, 6, 8, 8, 12, 3, 6, 3, 2, 2, 3, 0, 0, 12, 8, 1, 8, 12, 5, 4, 2, 1, 3, 0, 0, 0), # 0
(14, 13, 8, 13, 10, 3, 3, 3, 8, 0, 1, 2, 0, 16, 7, 9, 6, 3, 7, 4, 3, 4, 3, 0, 0, 0), # 1
(8, 7, 5, 11, 8, 8, 6, 2, 4, 1, 3, 1, 0, 8, 8, 5, 7, 11, 7, 9, 1, 6, 3,... | 278.37861 | 490 | 0.771311 | 32,987 | 260,284 | 6.0857 | 0.234426 | 0.35507 | 0.340724 | 0.645582 | 0.366114 | 0.361018 | 0.360659 | 0.36059 | 0.36059 | 0.36059 | 0 | 0.851072 | 0.095027 | 260,284 | 934 | 491 | 278.67666 | 0.001184 | 0.01541 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
74f8f90ab4981fab9b9cfa63236687afa4091c0b | 154 | py | Python | backend/users/models.py | th3n3xtg3n3ration/kubernetes-api-controller | c77fa8069ab247f793bf19e6bed8e480da6f775a | [
"MIT"
] | null | null | null | backend/users/models.py | th3n3xtg3n3ration/kubernetes-api-controller | c77fa8069ab247f793bf19e6bed8e480da6f775a | [
"MIT"
] | null | null | null | backend/users/models.py | th3n3xtg3n3ration/kubernetes-api-controller | c77fa8069ab247f793bf19e6bed8e480da6f775a | [
"MIT"
] | null | null | null | from django.contrib.auth.models import AbstractUser
from django.db import models
from common.models import BaseModel
class User(AbstractUser):
pass
| 19.25 | 51 | 0.811688 | 21 | 154 | 5.952381 | 0.619048 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 154 | 7 | 52 | 22 | 0.93985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
7438caca4c4e9ef833a9b6bafa0f7c705c4e7342 | 633 | py | Python | atests/local/libraries/other/other.py | nokia/crl-doc | fee1c26e93f9492ad7b8681c0e27d2048c968cdd | [
"BSD-3-Clause"
] | null | null | null | atests/local/libraries/other/other.py | nokia/crl-doc | fee1c26e93f9492ad7b8681c0e27d2048c968cdd | [
"BSD-3-Clause"
] | 5 | 2019-08-30T12:13:25.000Z | 2019-09-06T08:00:12.000Z | atests/local/libraries/other/other.py | nokia/crl-doc | fee1c26e93f9492ad7b8681c0e27d2048c968cdd | [
"BSD-3-Clause"
] | 2 | 2019-08-30T12:11:10.000Z | 2020-01-23T20:50:29.000Z | class Other(object):
@staticmethod
def other_example():
"""Other example library prints argument passed to the library
initialization.
Example:
+-----------------------------+---------------+-----------------+
| Library | Other | ... | 30.142857 | 73 | 0.279621 | 28 | 633 | 6.214286 | 0.535714 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.369668 | 633 | 20 | 74 | 31.65 | 0.43609 | 0.696682 | 0 | 0 | 0 | 0 | 0.12381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
77951bbdd7dc3a5929f46c05aec47389661ebe64 | 96 | py | Python | venv/lib/python3.8/site-packages/importlib_metadata/_itertools.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/importlib_metadata/_itertools.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | venv/lib/python3.8/site-packages/importlib_metadata/_itertools.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/e5/35/23/fc03c91eade9be39f4e219cfda860179b3f6368ec798d1ff864386c0b4 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7aeb52c00be025afd444bfa95a177b8efb605437 | 44,276 | py | Python | tinyquery/compiler_test.py | graingert/tinyquery | f26940a2ad240911e278ef7c82e3f14e0f4c5e4e | [
"MIT"
] | 104 | 2015-02-21T22:54:15.000Z | 2022-03-21T11:08:02.000Z | tinyquery/compiler_test.py | graingert/tinyquery | f26940a2ad240911e278ef7c82e3f14e0f4c5e4e | [
"MIT"
] | 14 | 2018-01-30T16:32:09.000Z | 2022-03-02T12:57:11.000Z | tinyquery/compiler_test.py | graingert/tinyquery | f26940a2ad240911e278ef7c82e3f14e0f4c5e4e | [
"MIT"
] | 28 | 2015-09-16T22:42:44.000Z | 2022-01-15T11:51:45.000Z | # TODO(colin): fix these lint errors (http://pep8.readthedocs.io/en/release-1.7.x/intro.html#error-codes)
# pep8-disable:E122
from __future__ import absolute_import
import collections
import datetime
import unittest
from tinyquery import exceptions
from tinyquery import compiler
from tinyquery import context
from tin... | 43.664694 | 105 | 0.449544 | 4,096 | 44,276 | 4.578125 | 0.056641 | 0.101163 | 0.099723 | 0.062393 | 0.862415 | 0.844603 | 0.815593 | 0.789409 | 0.75256 | 0.731442 | 0 | 0.017069 | 0.445569 | 44,276 | 1,013 | 106 | 43.707799 | 0.746823 | 0.003862 | 0 | 0.670478 | 0 | 0 | 0.086871 | 0 | 0 | 0 | 0 | 0.000987 | 0.043659 | 1 | 0.040541 | false | 0 | 0.014553 | 0.00104 | 0.057173 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
bb3925504ec44dac18201f00f6c79125396d2e27 | 148 | py | Python | source/pdv/partners/admin.py | DanielBacci/geodjango | b8d163e862255834f6ba495019f63fff51aecb7e | [
"MIT"
] | null | null | null | source/pdv/partners/admin.py | DanielBacci/geodjango | b8d163e862255834f6ba495019f63fff51aecb7e | [
"MIT"
] | 6 | 2019-12-04T23:50:03.000Z | 2021-09-22T17:56:51.000Z | source/pdv/partners/admin.py | DanielBacci/geodjango | b8d163e862255834f6ba495019f63fff51aecb7e | [
"MIT"
] | null | null | null | from django.contrib import admin
from pdv.partners.models import Partner
@admin.register(Partner)
class PartnerAdmin(admin.ModelAdmin):
pass
| 16.444444 | 39 | 0.797297 | 19 | 148 | 6.210526 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128378 | 148 | 8 | 40 | 18.5 | 0.914729 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 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 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
bb4192d141a1db895bd0031d0895c139c59e79d0 | 115 | py | Python | example/code/hello.py | ahf/onion-tex | 49afc3e5c51e10cec206d961ef73d0fabe58974a | [
"BSD-2-Clause"
] | 9 | 2018-04-24T12:03:28.000Z | 2021-08-02T20:28:07.000Z | example/code/hello.py | dgoulet-tor/onion-tex | a53551210c14e0f24ba04d47fcc35297bb3b7338 | [
"BSD-2-Clause"
] | 1 | 2019-11-27T19:47:04.000Z | 2019-11-27T19:47:04.000Z | example/code/hello.py | dgoulet-tor/onion-tex | a53551210c14e0f24ba04d47fcc35297bb3b7338 | [
"BSD-2-Clause"
] | 1 | 2019-11-27T19:39:52.000Z | 2019-11-27T19:39:52.000Z | #!/usr/bin/env python
if __name__ == '__main__':
# Print "Hello world" to the user.
print("Hello world!")
| 19.166667 | 38 | 0.626087 | 16 | 115 | 4 | 0.8125 | 0.3125 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208696 | 115 | 5 | 39 | 23 | 0.703297 | 0.46087 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
247b2ee72ea8c1f18e5cbf8bb526936384e7ebce | 23 | py | Python | src/archs/cluster/baselines/__init__.py | hendraet/IIC | a5bab915eda133b0ecfd42eaacd60c7b26807cb6 | [
"MIT"
] | 767 | 2019-03-28T00:22:53.000Z | 2022-03-31T09:27:01.000Z | src/archs/cluster/baselines/__init__.py | hendraet/IIC | a5bab915eda133b0ecfd42eaacd60c7b26807cb6 | [
"MIT"
] | 113 | 2019-03-30T20:44:58.000Z | 2022-03-22T04:46:55.000Z | src/archs/cluster/baselines/__init__.py | hendraet/IIC | a5bab915eda133b0ecfd42eaacd60c7b26807cb6 | [
"MIT"
] | 209 | 2019-03-28T16:06:04.000Z | 2022-03-29T15:08:47.000Z | from triplets import *
| 11.5 | 22 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
701b0ef32b2859a9bef830e7a18f0537126ee0b5 | 25 | py | Python | training/__init__.py | Rekrau/PyGreentea | 457d7dc5be12b15c3c7663ceaf6d74301de56e43 | [
"BSD-2-Clause"
] | null | null | null | training/__init__.py | Rekrau/PyGreentea | 457d7dc5be12b15c3c7663ceaf6d74301de56e43 | [
"BSD-2-Clause"
] | 4 | 2016-04-22T15:39:21.000Z | 2016-11-15T21:23:58.000Z | training/__init__.py | Rekrau/PyGreentea | 457d7dc5be12b15c3c7663ceaf6d74301de56e43 | [
"BSD-2-Clause"
] | 4 | 2017-05-12T00:17:55.000Z | 2019-07-01T19:23:32.000Z | from monitoring import *
| 12.5 | 24 | 0.8 | 3 | 25 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
56319c9890f537ee301ff3d6c8be10ae334794bf | 13,019 | py | Python | modules/ESP32/romans.py | ccccmagicboy/MicroPython_fw | d2049bc19e3d5010f5d6d0d17aa13a8693914fbd | [
"MIT"
] | 23 | 2020-01-22T00:40:20.000Z | 2021-08-03T20:42:07.000Z | modules/ESP32/romans.py | ccccmagicboy/MicroPython_fw | d2049bc19e3d5010f5d6d0d17aa13a8693914fbd | [
"MIT"
] | 10 | 2020-02-18T09:57:04.000Z | 2020-03-04T11:39:17.000Z | modules/ESP32/romans.py | ccccmagicboy/MicroPython_fw | d2049bc19e3d5010f5d6d0d17aa13a8693914fbd | [
"MIT"
] | 5 | 2020-02-20T09:35:45.000Z | 2022-01-04T16:23:13.000Z | def glyphs():
return 96
_font =\
b'\x00\x4a\x5a\x08\x4d\x57\x52\x46\x52\x54\x20\x52\x52\x59\x51'\
b'\x5a\x52\x5b\x53\x5a\x52\x59\x05\x4a\x5a\x4e\x46\x4e\x4d\x20'\
b'\x52\x56\x46\x56\x4d\x0b\x48\x5d\x53\x42\x4c\x62\x20\x52\x59'\
b'\x42\x52\x62\x20\x52\x4c\x4f\x5a\x4f\x20\x52\x4b\x55\x59\x55'\
b'\x1a\x48\x5c\x50\x42\x5... | 60.273148 | 65 | 0.705815 | 3,169 | 13,019 | 2.895551 | 0.046071 | 0.057541 | 0.038252 | 0.013078 | 0.378814 | 0.315715 | 0.277136 | 0.246404 | 0.205972 | 0.182323 | 0 | 0.374294 | 0.020508 | 13,019 | 215 | 66 | 60.553488 | 0.345279 | 0 | 0 | 0.019231 | 0 | 0.9375 | 0.898441 | 0.897903 | 0 | 1 | 0 | 0 | 0 | 1 | 0.014423 | false | 0 | 0 | 0.004808 | 0.028846 | 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 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.