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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0a1e931ba097d20083af37bd3b556bc5ae0cee40 | 186 | py | Python | src/border_patrol/with_log_debug.py | pyscaffold/border-patrol | f3098a63c31c391020cb498b4d59a4ecdf83bd6e | [
"MIT"
] | 9 | 2019-01-09T00:39:55.000Z | 2022-03-04T12:01:26.000Z | src/border_patrol/with_log_debug.py | pyscaffold/border-patrol | f3098a63c31c391020cb498b4d59a4ecdf83bd6e | [
"MIT"
] | 2 | 2019-01-03T17:31:06.000Z | 2019-01-04T17:13:20.000Z | src/border_patrol/with_log_debug.py | pyscaffold/border-patrol | f3098a63c31c391020cb498b4d59a4ecdf83bd6e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Import this module to let Border-Patrol use logging with level DEBUG
"""
from . import BorderPatrol, logger
BorderPatrol(report_fun=logger.debug).register()
| 23.25 | 68 | 0.731183 | 25 | 186 | 5.4 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006211 | 0.134409 | 186 | 7 | 69 | 26.571429 | 0.832298 | 0.489247 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
0a3ee5a4f80527a13809a4f00677f0112c5f0765 | 350 | py | Python | users/arxiv/users/auth/sessions/__init__.py | cul-it/arxiv-accounts | 9d237ffc7de4ac7f3c94ad615252681792f53fb5 | [
"MIT"
] | 11 | 2018-12-29T17:55:16.000Z | 2021-11-05T12:26:29.000Z | users/arxiv/users/auth/sessions/__init__.py | Https-github-com-sulaeman51/arxiv-auth | 754fa083b0c8b43932f7393f5a4ab67d9f9f0444 | [
"MIT"
] | 24 | 2019-01-25T18:19:21.000Z | 2022-02-04T01:04:29.000Z | users/arxiv/users/auth/sessions/__init__.py | Https-github-com-sulaeman51/arxiv-auth | 754fa083b0c8b43932f7393f5a4ab67d9f9f0444 | [
"MIT"
] | 13 | 2019-01-10T22:01:43.000Z | 2021-12-30T11:39:48.000Z | """
Integration with the distributed session store.
In this implementation, we use a key-value store to hold session data
in JSON format. When a session is created, a cookie value is created (a
JSON web token) that contains information sufficient to retrieve the session.
See :mod:`.store`.
"""
from . import store
fr... | 26.923077 | 77 | 0.771429 | 54 | 350 | 5 | 0.648148 | 0.066667 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165714 | 350 | 12 | 78 | 29.166667 | 0.924658 | 0.822857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0a481b701a6579cdbf5ac07b3cbc4dc9c4fbc22b | 2,906 | py | Python | test/test_notifications_api.py | billforward/bf-python | d2b812329ca3ed1fd94364d7f46f69ad74665596 | [
"Apache-2.0"
] | 2 | 2016-11-23T17:32:37.000Z | 2022-02-24T05:13:20.000Z | test/test_notifications_api.py | billforward/bf-python | d2b812329ca3ed1fd94364d7f46f69ad74665596 | [
"Apache-2.0"
] | null | null | null | test/test_notifications_api.py | billforward/bf-python | d2b812329ca3ed1fd94364d7f46f69ad74665596 | [
"Apache-2.0"
] | 1 | 2016-12-30T20:02:48.000Z | 2016-12-30T20:02:48.000Z | # coding: utf-8
"""
BillForward REST API
OpenAPI spec version: 1.0.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of... | 30.589474 | 253 | 0.709222 | 377 | 2,906 | 5.31565 | 0.360743 | 0.043912 | 0.032934 | 0.04491 | 0.418164 | 0.347305 | 0.315369 | 0.315369 | 0.281437 | 0.281437 | 0 | 0.007217 | 0.237096 | 2,906 | 94 | 254 | 30.914894 | 0.896707 | 0.616999 | 0 | 0.269231 | 1 | 0 | 0.009292 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0.269231 | 0.269231 | 0 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
0a51abe43733f64dc7f0adb1da324a326e57672c | 120,207 | py | Python | wikipedia__examples/hello_world.py | DazEB2/SimplePyScripts | 1dde0a42ba93fe89609855d6db8af1c63b1ab7cc | [
"CC-BY-4.0"
] | 117 | 2015-12-18T07:18:27.000Z | 2022-03-28T00:25:54.000Z | wikipedia__examples/hello_world.py | DazEB2/SimplePyScripts | 1dde0a42ba93fe89609855d6db8af1c63b1ab7cc | [
"CC-BY-4.0"
] | 8 | 2018-10-03T09:38:46.000Z | 2021-12-13T19:51:09.000Z | wikipedia__examples/hello_world.py | DazEB2/SimplePyScripts | 1dde0a42ba93fe89609855d6db8af1c63b1ab7cc | [
"CC-BY-4.0"
] | 28 | 2016-08-02T17:43:47.000Z | 2022-03-21T08:31:12.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
__author__ = 'ipetrash'
# SOURCE: https://pypi.org/project/wikipedia/
# SOURCE: https://wikipedia.readthedocs.io/en/latest/quickstart.html
# pip install wikipedia
import wikipedia
print(wikipedia.summary("Wikipedia"))
# Wikipedia ( (listen) wik-ih-PEE-dee-ə or (lis... | 3,248.837838 | 116,585 | 0.803539 | 20,060 | 120,207 | 4.818694 | 0.202592 | 0.027518 | 0.019346 | 0.00809 | 0.081531 | 0.039684 | 0.018373 | 0.012963 | 0.008721 | 0.005897 | 0 | 0.030088 | 0.157254 | 120,207 | 36 | 116,586 | 3,339.083333 | 0.92332 | 0.996564 | 0 | 0.2 | 0 | 0 | 0.115 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.066667 | 0.733333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
6a52a517aad4c2334002518a25b23e50f1c47957 | 285 | py | Python | ticket/forms.py | mdrkb/django-ticket | a26cecb6aa30ac791ba8d4aad007e206f8f15470 | [
"MIT"
] | null | null | null | ticket/forms.py | mdrkb/django-ticket | a26cecb6aa30ac791ba8d4aad007e206f8f15470 | [
"MIT"
] | null | null | null | ticket/forms.py | mdrkb/django-ticket | a26cecb6aa30ac791ba8d4aad007e206f8f15470 | [
"MIT"
] | null | null | null | from django import forms
class TicketResponseForm(forms.Form):
message = forms.CharField(
widget=forms.Textarea(attrs={'placeholder': 'Write your response', 'class': 'form-control'}), required=True)
response = forms.CharField(widget=forms.HiddenInput, required=True)
| 35.625 | 116 | 0.736842 | 32 | 285 | 6.5625 | 0.625 | 0.133333 | 0.190476 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 285 | 7 | 117 | 40.714286 | 0.850202 | 0 | 0 | 0 | 0 | 0 | 0.164912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
6a68bc38167c8b1fa5365803118380a79fe89bd1 | 14,146 | py | Python | tests/test/generic/combinations.py | exasol/script-languages | c5fc636a4ce18310d96d8dc5c019da7d033dc6f1 | [
"MIT"
] | 6 | 2019-01-09T11:55:15.000Z | 2021-06-25T19:52:42.000Z | tests/test/generic/combinations.py | exasol/script-languages | c5fc636a4ce18310d96d8dc5c019da7d033dc6f1 | [
"MIT"
] | 65 | 2018-12-12T08:40:38.000Z | 2022-02-28T09:19:45.000Z | tests/test/generic/combinations.py | exasol/script-languages | c5fc636a4ce18310d96d8dc5c019da7d033dc6f1 | [
"MIT"
] | 9 | 2018-11-23T08:59:09.000Z | 2020-02-04T12:56:35.000Z | #!/usr/bin/env python2.7
import os
import sys
sys.path.append(os.path.realpath(__file__ + '/../../../lib'))
import udf
from udf import (
requires,
SkipTest,
useData,
)
class Test(udf.TestCase):
def setUp(self):
self.query('DROP SCHEMA combinations CASCADE', ignore_errors=... | 32.444954 | 77 | 0.488336 | 1,592 | 14,146 | 4.143844 | 0.082286 | 0.080491 | 0.020009 | 0.029104 | 0.834773 | 0.810672 | 0.771411 | 0.735486 | 0.693194 | 0.551766 | 0 | 0.049324 | 0.388025 | 14,146 | 435 | 78 | 32.51954 | 0.712718 | 0.0041 | 0 | 0.62141 | 0 | 0.002611 | 0.534005 | 0.032586 | 0 | 0 | 0 | 0 | 0.083551 | 1 | 0.091384 | false | 0 | 0.010444 | 0 | 0.130548 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6a92dbbc22103722acd6aefc13c1ea277ca191d4 | 498 | py | Python | docker_sdk_api/domain/services/contract/abstract_job_utility_service.py | hadikoub/BMW-TensorFlow-Training-GUI | 0c18e65529b3fcb6a7ea9e57f8e4e2e5e6e93d5d | [
"Apache-2.0"
] | 1 | 2020-06-22T12:56:58.000Z | 2020-06-22T12:56:58.000Z | docker_sdk_api/domain/services/contract/abstract_job_utility_service.py | hadikoub/BMW-TensorFlow-Training-GUI | 0c18e65529b3fcb6a7ea9e57f8e4e2e5e6e93d5d | [
"Apache-2.0"
] | null | null | null | docker_sdk_api/domain/services/contract/abstract_job_utility_service.py | hadikoub/BMW-TensorFlow-Training-GUI | 0c18e65529b3fcb6a7ea9e57f8e4e2e5e6e93d5d | [
"Apache-2.0"
] | null | null | null | from abc import ABC, abstractmethod
from domain.models.paths import Paths
from typing import List
from domain.models.container_info import ContainerInfo
class AbstractJobUtilityService(ABC):
@abstractmethod
def get_all_jobs(self) -> List[str]: raise NotImplementedError
@abstractmethod
def get_finishe... | 31.125 | 103 | 0.791165 | 58 | 498 | 6.655172 | 0.413793 | 0.132124 | 0.15544 | 0.240933 | 0.305699 | 0.305699 | 0.305699 | 0.305699 | 0.305699 | 0 | 0 | 0 | 0.140562 | 498 | 15 | 104 | 33.2 | 0.901869 | 0 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.363636 | 0 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6aa814b8170680ce0a77927df0ad0649965a2d93 | 5,262 | py | Python | ProjectApplication/grant_management/urls.py | code-review-doctor/project-application | d85b40b69572efbcda24ce9c40803f76d8ffd192 | [
"MIT"
] | null | null | null | ProjectApplication/grant_management/urls.py | code-review-doctor/project-application | d85b40b69572efbcda24ce9c40803f76d8ffd192 | [
"MIT"
] | null | null | null | ProjectApplication/grant_management/urls.py | code-review-doctor/project-application | d85b40b69572efbcda24ce9c40803f76d8ffd192 | [
"MIT"
] | null | null | null | from django.urls import path
import grant_management.views
urlpatterns = [
path('logged/grant-management/project/list/',
grant_management.views.ProjectList.as_view(),
name='logged-grant_management-project-list'),
path('logged/grant-management/project/<int:pk>/',
grant_management.vie... | 50.114286 | 93 | 0.72824 | 574 | 5,262 | 6.510453 | 0.135889 | 0.301044 | 0.264116 | 0.202301 | 0.581482 | 0.533315 | 0.381322 | 0.283918 | 0.0578 | 0 | 0 | 0 | 0.131319 | 5,262 | 104 | 94 | 50.596154 | 0.817545 | 0.034588 | 0 | 0 | 0 | 0 | 0.486013 | 0.478526 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025 | 0 | 0.025 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6aac8e508765b26a62e90ed6713a802f9430b8e3 | 11,961 | py | Python | functions_handdle_state.py | vinc-r/Tetris | f5afe1d8420e26e2c565c20c60207245f1b12b8c | [
"MIT"
] | null | null | null | functions_handdle_state.py | vinc-r/Tetris | f5afe1d8420e26e2c565c20c60207245f1b12b8c | [
"MIT"
] | 1 | 2020-08-24T14:41:40.000Z | 2020-09-09T10:59:15.000Z | functions_handdle_state.py | vinc-r/Tetris | f5afe1d8420e26e2c565c20c60207245f1b12b8c | [
"MIT"
] | null | null | null | import pygame
from constants import *
def handle_state_playing(game, screen, sound, state="playing", running=True):
# update clock
game.update_time_playing()
# update board game
if game.update_game() == "game_over":
return "game_over", True
# apply background
screen.fi... | 37.731861 | 107 | 0.57955 | 1,556 | 11,961 | 4.242288 | 0.070694 | 0.04363 | 0.065445 | 0.036358 | 0.82942 | 0.78882 | 0.725799 | 0.690653 | 0.667929 | 0.638843 | 0 | 0.023121 | 0.320207 | 11,961 | 317 | 108 | 37.731861 | 0.78871 | 0.055681 | 0 | 0.695431 | 0 | 0 | 0.019276 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025381 | false | 0 | 0.010152 | 0 | 0.152284 | 0.005076 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 0 | 0 | 4 |
6ab3f5d0a45bff9f950c278c08bac70924305d42 | 46 | py | Python | python/testData/copyPaste/PasteToStringLiteral.src.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/copyPaste/PasteToStringLiteral.src.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/copyPaste/PasteToStringLiteral.src.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | if True:
s = "<selection>foo</selection>"
| 15.333333 | 36 | 0.608696 | 6 | 46 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195652 | 46 | 2 | 37 | 23 | 0.756757 | 0 | 0 | 0 | 0 | 0 | 0.565217 | 0.565217 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6ab7a4e947478c7298c17b8e7bc3528252413314 | 158 | py | Python | Assignment 12.py | Raythere/Pythion-fundamentals | 5b445ef5e015a9a096177a181faebeb8505943bb | [
"MIT"
] | null | null | null | Assignment 12.py | Raythere/Pythion-fundamentals | 5b445ef5e015a9a096177a181faebeb8505943bb | [
"MIT"
] | null | null | null | Assignment 12.py | Raythere/Pythion-fundamentals | 5b445ef5e015a9a096177a181faebeb8505943bb | [
"MIT"
] | null | null | null | """Assignment 12"""
#Here we are observing the addresses of variable x and y
x = 10
y = x
print("Address of x is: ",id(x))
print("Address of y is: ",id(y))
| 17.555556 | 56 | 0.64557 | 31 | 158 | 3.290323 | 0.580645 | 0.039216 | 0.254902 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031496 | 0.196203 | 158 | 8 | 57 | 19.75 | 0.771654 | 0.436709 | 0 | 0 | 0 | 0 | 0.409639 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
6aba627f26a30ddbe94e7053b3aaa3522cb568b8 | 1,481 | py | Python | python/examples/dataframe/concat.py | Sandeepa1995/cylon | a42d04ad9a65b20c84a15d649f9d849f18676183 | [
"Apache-2.0"
] | null | null | null | python/examples/dataframe/concat.py | Sandeepa1995/cylon | a42d04ad9a65b20c84a15d649f9d849f18676183 | [
"Apache-2.0"
] | null | null | null | python/examples/dataframe/concat.py | Sandeepa1995/cylon | a42d04ad9a65b20c84a15d649f9d849f18676183 | [
"Apache-2.0"
] | null | null | null | import random
import pycylon as cn
from pycylon import DataFrame, CylonEnv
from pycylon.net import MPIConfig
df1 = DataFrame([random.sample(range(10, 100), 5),
random.sample(range(10, 100), 5)])
df2 = DataFrame([random.sample(range(10, 100), 5),
random.sample(range(10, 100), 5)])
df3... | 32.911111 | 79 | 0.620527 | 224 | 1,481 | 4.102679 | 0.178571 | 0.106638 | 0.22198 | 0.248096 | 0.751904 | 0.751904 | 0.720348 | 0.597388 | 0.597388 | 0.534276 | 0 | 0.110744 | 0.182984 | 1,481 | 44 | 80 | 33.659091 | 0.64876 | 0.020932 | 0 | 0.352941 | 0 | 0 | 0.071873 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.117647 | 0 | 0.117647 | 0.235294 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0a7450964abaa39434e0a3da250938f8ba82c563 | 1,711 | py | Python | houdini/handlers/redemption/__init__.py | TeegxCP/houdini | edb55ef6094500c6a20a6827a6af9525ea2b7b36 | [
"MIT"
] | 444 | 2020-05-30T22:28:53.000Z | 2022-02-13T04:27:48.000Z | houdini/handlers/redemption/__init__.py | TeegxCP/houdini | edb55ef6094500c6a20a6827a6af9525ea2b7b36 | [
"MIT"
] | 43 | 2020-05-18T17:40:12.000Z | 2021-11-05T02:53:46.000Z | houdini/handlers/redemption/__init__.py | TeegxCP/houdini | edb55ef6094500c6a20a6827a6af9525ea2b7b36 | [
"MIT"
] | 56 | 2020-05-20T16:31:18.000Z | 2022-03-07T19:49:59.000Z | from houdini import handlers
from houdini.constants import ClientType
from houdini.data.redemption import PenguinRedemptionBook
from houdini.handlers import XTPacket
@handlers.handler(XTPacket('rjs', ext='red'), pre_login=True, client=ClientType.Vanilla)
@handlers.allow_once
async def handle_join_redemption_server_va... | 45.026316 | 113 | 0.726476 | 236 | 1,711 | 5.084746 | 0.309322 | 0.053333 | 0.0225 | 0.0425 | 0.741667 | 0.725 | 0.725 | 0.725 | 0.725 | 0.573333 | 0 | 0 | 0.14962 | 1,711 | 37 | 114 | 46.243243 | 0.824742 | 0 | 0 | 0.571429 | 0 | 0 | 0.047925 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.214286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0a8f2cfaf6ea782e31029a20c99793337e716f78 | 1,748 | py | Python | python/tvm/topi/nn/__init__.py | cgerum/tvm_tutorial | 4a627ebd6b1fd9fed6feb262bb72261c94b17440 | [
"Apache-2.0"
] | 2 | 2021-11-03T09:07:25.000Z | 2022-02-15T01:35:46.000Z | python/tvm/topi/nn/__init__.py | cgerum/tvm_tutorial | 4a627ebd6b1fd9fed6feb262bb72261c94b17440 | [
"Apache-2.0"
] | 1 | 2022-03-12T01:02:46.000Z | 2022-03-12T01:02:46.000Z | python/tvm/topi/nn/__init__.py | cgerum/tvm_tutorial | 4a627ebd6b1fd9fed6feb262bb72261c94b17440 | [
"Apache-2.0"
] | null | null | null | # 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 under the Apache License, Version 2.0 (the
# "License"); you may not u... | 32.37037 | 62 | 0.7746 | 252 | 1,748 | 5.261905 | 0.452381 | 0.233786 | 0.048265 | 0.024133 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009511 | 0.157895 | 1,748 | 53 | 63 | 32.981132 | 0.891304 | 0.463387 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0a93fa4f9f3fe69f0bacad96f47e081f6d5ba490 | 87 | py | Python | config.py | jaimin275/stock-notifier | e9526236c256dd13700d21cf0aa209ac442f3df1 | [
"MIT"
] | null | null | null | config.py | jaimin275/stock-notifier | e9526236c256dd13700d21cf0aa209ac442f3df1 | [
"MIT"
] | null | null | null | config.py | jaimin275/stock-notifier | e9526236c256dd13700d21cf0aa209ac442f3df1 | [
"MIT"
] | null | null | null | selenium = {
"chromeDriverPath": "webdrivers/chromedriver_87_0_4280_88_win32.exe"
} | 29 | 72 | 0.781609 | 10 | 87 | 6.3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141026 | 0.103448 | 87 | 3 | 73 | 29 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.704545 | 0.522727 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0abb6f704a4cb97ce57c62312e8f0d80580c0623 | 206 | py | Python | prodsim/_estimate_process/est_station_2.py | FuchsTom/ProdSim | 1cd868de7f8f31139487eb3da4bd23800abac0e4 | [
"MIT"
] | 2 | 2021-12-28T19:34:37.000Z | 2022-02-23T20:35:25.000Z | prodsim/_estimate_process/est_station_2.py | FuchsTom/ProdSim | 1cd868de7f8f31139487eb3da4bd23800abac0e4 | [
"MIT"
] | null | null | null | prodsim/_estimate_process/est_station_2.py | FuchsTom/ProdSim | 1cd868de7f8f31139487eb3da4bd23800abac0e4 | [
"MIT"
] | 1 | 2021-11-23T14:01:34.000Z | 2021-11-23T14:01:34.000Z | def source1(env, factory):
yield env.timeout(1)
yield 1
def function1(env, item, machine, factory):
yield env.timeout(1)
def function2(env, item, machine, factory):
yield env.timeout(1)
| 17.166667 | 43 | 0.679612 | 30 | 206 | 4.666667 | 0.366667 | 0.257143 | 0.321429 | 0.471429 | 0.692857 | 0.528571 | 0.528571 | 0.528571 | 0 | 0 | 0 | 0.042424 | 0.199029 | 206 | 11 | 44 | 18.727273 | 0.806061 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0 | 0.428571 | 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 | 0 | 0 | 0 | 0 | 4 |
0ac8c81e17c9fe0dd705c310da372ecd18fb9cf7 | 108 | py | Python | admin.py | muhammeedsari/stream-fake-data-kafka-to-mongodb-in-python | 218d64b28d97e9f4fd20aca721cc8adbfd8ef6cf | [
"MIT"
] | null | null | null | admin.py | muhammeedsari/stream-fake-data-kafka-to-mongodb-in-python | 218d64b28d97e9f4fd20aca721cc8adbfd8ef6cf | [
"MIT"
] | null | null | null | admin.py | muhammeedsari/stream-fake-data-kafka-to-mongodb-in-python | 218d64b28d97e9f4fd20aca721cc8adbfd8ef6cf | [
"MIT"
] | null | null | null | from app.controllers.admin_controller import AdminController
admin = AdminController()
admin.create_topic() | 27 | 60 | 0.851852 | 12 | 108 | 7.5 | 0.75 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 108 | 4 | 61 | 27 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 0 | 4 |
0ad4da4b0a61358f41c82c902decfeee1e6fc209 | 98 | py | Python | tests/test_discord_rebot.py | nkpro2000sr/discord-rebot | 615c4ec74bdbd6db53c63798cdfe9c041e446ebe | [
"MIT"
] | null | null | null | tests/test_discord_rebot.py | nkpro2000sr/discord-rebot | 615c4ec74bdbd6db53c63798cdfe9c041e446ebe | [
"MIT"
] | null | null | null | tests/test_discord_rebot.py | nkpro2000sr/discord-rebot | 615c4ec74bdbd6db53c63798cdfe9c041e446ebe | [
"MIT"
] | null | null | null | import pytest
rebot = pytest.rebot
def test_version():
assert rebot.__version__ == "0.0.2"
| 12.25 | 39 | 0.693878 | 14 | 98 | 4.5 | 0.642857 | 0.349206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0375 | 0.183673 | 98 | 7 | 40 | 14 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.05102 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0af7ed2775c3a756e241e6a4afa9088cd22b2366 | 391 | py | Python | pykambpf/__init__.py | zdule/part_ii_project | 4c7e49408e1453772f3bc13d049c8703d79d0129 | [
"Apache-2.0"
] | null | null | null | pykambpf/__init__.py | zdule/part_ii_project | 4c7e49408e1453772f3bc13d049c8703d79d0129 | [
"Apache-2.0"
] | null | null | null | pykambpf/__init__.py | zdule/part_ii_project | 4c7e49408e1453772f3bc13d049c8703d79d0129 | [
"Apache-2.0"
] | null | null | null | # This file is part of the kambpf project (https://github.com/zdule/part_ii_project).
# It is file is offered under two licenses GPLv2 and Apache License Version 2.
# For more information see the LICENSE file at the root of the project.
#
# Copyright 2020 Dusan Zivanovic
from .libkambpf import UpdatesBuffer, K... | 39.1 | 87 | 0.777494 | 60 | 391 | 5 | 0.733333 | 0.04 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.171356 | 391 | 9 | 88 | 43.444444 | 0.907407 | 0.682864 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
7c3af2de9f1c931e04f0410d55310002f3b44c84 | 140 | py | Python | torch_chemistry/nn/__init__.py | 0h-n0/pytorch_chemistry | 14ca01ab2a30728016ce6c6793f119438a09ade5 | [
"MIT"
] | 7 | 2019-12-21T12:36:20.000Z | 2022-01-15T11:05:25.000Z | torch_chemistry/nn/__init__.py | 0h-n0/pytorch-chemistry | 14ca01ab2a30728016ce6c6793f119438a09ade5 | [
"MIT"
] | null | null | null | torch_chemistry/nn/__init__.py | 0h-n0/pytorch-chemistry | 14ca01ab2a30728016ce6c6793f119438a09ade5 | [
"MIT"
] | 1 | 2020-11-05T09:33:18.000Z | 2020-11-05T09:33:18.000Z | from .metrics.masked_binary_cross_entropy import (MaksedBCELoss,
MaskedBCEWithLogitsLoss)
| 46.666667 | 74 | 0.571429 | 9 | 140 | 8.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.392857 | 140 | 2 | 75 | 70 | 0.905882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
7cbd0e3ebac0fbf8e309283322cc2dce87eba436 | 258 | py | Python | exercicios_basico/ex108/moeda.py | montalvas/python | 483c2097f6f91bfae127dafcb63e3006eeecad1d | [
"MIT"
] | null | null | null | exercicios_basico/ex108/moeda.py | montalvas/python | 483c2097f6f91bfae127dafcb63e3006eeecad1d | [
"MIT"
] | null | null | null | exercicios_basico/ex108/moeda.py | montalvas/python | 483c2097f6f91bfae127dafcb63e3006eeecad1d | [
"MIT"
] | null | null | null | def metade(n):
return n / 2
def dobro(n):
return n * 2
def aumentar(n, p):
r = 1 + (p / 100)
return n * r
def diminuir(n, p):
r = 1 - (p / 100)
return n * r
def moeda(p):
res = str(p).replace('.', ',') + '0'
return res | 12.285714 | 40 | 0.472868 | 44 | 258 | 2.772727 | 0.386364 | 0.229508 | 0.131148 | 0.147541 | 0.508197 | 0.311475 | 0.311475 | 0.311475 | 0.311475 | 0.311475 | 0 | 0.065089 | 0.344961 | 258 | 21 | 41 | 12.285714 | 0.656805 | 0 | 0 | 0.153846 | 0 | 0 | 0.011583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0 | 0 | 0.153846 | 0.769231 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
6b18b71b4ecb1444ba3d0b56264e761db4de4f62 | 191 | py | Python | django/django_connect.py | AllenNeuralDynamics/ephys-framework-tests | ee940afeab54e5e25765a903a6b65f2e95be4c48 | [
"MIT"
] | null | null | null | django/django_connect.py | AllenNeuralDynamics/ephys-framework-tests | ee940afeab54e5e25765a903a6b65f2e95be4c48 | [
"MIT"
] | 3 | 2022-01-22T04:34:46.000Z | 2022-01-26T02:14:21.000Z | django/django_connect.py | AllenNeuralDynamics/ephys-framework-tests | ee940afeab54e5e25765a903a6b65f2e95be4c48 | [
"MIT"
] | 2 | 2022-01-21T22:38:27.000Z | 2022-01-25T01:30:09.000Z | def connect():
import sys
sys.dont_write_bytecode = True
import os
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'settings')
import django
django.setup()
| 17.363636 | 63 | 0.65445 | 22 | 191 | 5.5 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.256545 | 191 | 10 | 64 | 19.1 | 0.852113 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.115789 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.428571 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6b2468da15dc618ecedf227c97e581a3b34eeb87 | 74,279 | py | Python | generate-grammars/python-awk/python2_test.py | mbaak/histogrammar-python | 6311f5b0eec9c75f12018f22604535c64675fdf6 | [
"Apache-2.0"
] | 30 | 2016-09-25T16:36:06.000Z | 2021-07-20T09:09:09.000Z | generate-grammars/python-awk/python2_test.py | mbaak/histogrammar-python | 6311f5b0eec9c75f12018f22604535c64675fdf6 | [
"Apache-2.0"
] | 15 | 2016-07-26T19:41:31.000Z | 2021-02-07T16:30:11.000Z | generate-grammars/python-awk/python2_test.py | mbaak/histogrammar-python | 6311f5b0eec9c75f12018f22604535c64675fdf6 | [
"Apache-2.0"
] | 8 | 2016-09-19T20:48:37.000Z | 2021-02-07T15:00:24.000Z | #!/usr/bin/env python
import ast
import sys
import re
import glob
import histogrammar.hgawk_grammar as grammar
def check(source, fileName=None):
theirs = ast.parse(source)
theirsdump = ast.dump(theirs)
theirsres = {}
if fileName is None:
try:
exec compile(theirs, "<check>", "exec"... | 24.636484 | 181 | 0.408648 | 12,633 | 74,279 | 2.396105 | 0.0357 | 0.066601 | 0.021407 | 0.021936 | 0.766402 | 0.729765 | 0.70152 | 0.667261 | 0.62481 | 0.597985 | 0 | 0.058847 | 0.261285 | 74,279 | 3,014 | 182 | 24.644658 | 0.49281 | 0.00342 | 0 | 0.242326 | 0 | 0.023835 | 0.540199 | 0.024994 | 0 | 0 | 0.000513 | 0 | 0.002889 | 0 | null | null | 0.023835 | 0.067533 | null | null | 0.035753 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6b283e3c97d335a03cc3ac35fb8362986d22e502 | 95 | py | Python | twitter_analyzer/database_initialize.py | GrzegorzKrug/TwitterAnalyzer | 875db2178deda640e35860370d63525262c71347 | [
"Apache-2.0"
] | 1 | 2021-11-06T03:34:08.000Z | 2021-11-06T03:34:08.000Z | twitter_analyzer/database_initialize.py | GrzegorzKrug/TwitterAnalyzer | 875db2178deda640e35860370d63525262c71347 | [
"Apache-2.0"
] | 22 | 2020-03-01T12:01:11.000Z | 2020-07-03T13:50:00.000Z | twitter_analyzer/database_initialize.py | GrzegorzKrug/TwitterAnalyzer | 875db2178deda640e35860370d63525262c71347 | [
"Apache-2.0"
] | null | null | null | from analyzer.database_operator import initialize
if __name__ == '__main__':
initialize()
| 19 | 49 | 0.768421 | 10 | 95 | 6.4 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147368 | 95 | 4 | 50 | 23.75 | 0.790123 | 0 | 0 | 0 | 0 | 0 | 0.084211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
860e9f30d640c9879eb6fe3ac419f83e3c1ee0e3 | 67 | py | Python | app/schemas/misc.py | coherentmind/todo-list-backend | 5b1a34b65e2e9dcab5ac64429511ed81ebb7dba2 | [
"MIT"
] | 2 | 2021-05-19T07:21:59.000Z | 2021-09-15T17:30:08.000Z | app/schemas/misc.py | coherentmind/todo-list-backend | 5b1a34b65e2e9dcab5ac64429511ed81ebb7dba2 | [
"MIT"
] | null | null | null | app/schemas/misc.py | coherentmind/todo-list-backend | 5b1a34b65e2e9dcab5ac64429511ed81ebb7dba2 | [
"MIT"
] | null | null | null | from pydantic import BaseModel
class Msg(BaseModel):
msg: str | 13.4 | 30 | 0.746269 | 9 | 67 | 5.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19403 | 67 | 5 | 31 | 13.4 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
861d256f2994202c7cb89e71fb1151571358f2d3 | 229 | py | Python | ctapipe/calib/camera/__init__.py | chaimain/ctapipe | ff80cff2daaf56e1d05ea6501c68fd83a9cf79d5 | [
"BSD-3-Clause"
] | 53 | 2015-06-23T15:24:20.000Z | 2021-09-23T22:30:58.000Z | ctapipe/calib/camera/__init__.py | chaimain/ctapipe | ff80cff2daaf56e1d05ea6501c68fd83a9cf79d5 | [
"BSD-3-Clause"
] | 1,537 | 2015-06-24T11:27:16.000Z | 2022-03-31T16:17:08.000Z | ctapipe/calib/camera/__init__.py | chaimain/ctapipe | ff80cff2daaf56e1d05ea6501c68fd83a9cf79d5 | [
"BSD-3-Clause"
] | 275 | 2015-07-09T14:09:28.000Z | 2022-03-17T22:25:51.000Z | # Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
Camera calibration module.
"""
from .calibrator import CameraCalibrator
from .gainselection import GainSelector
__all__ = ["CameraCalibrator", "GainSelector"]
| 22.9 | 63 | 0.777293 | 25 | 229 | 6.96 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005025 | 0.131004 | 229 | 9 | 64 | 25.444444 | 0.869347 | 0.388646 | 0 | 0 | 0 | 0 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
865e50b5709b51939f9b5a2193b2b1bcf031e64c | 195 | py | Python | data_processor/paths.py | Keithcat1/synthizer | 242a06855a36b9a9049d5fb00630800cda4a2984 | [
"Unlicense"
] | 25 | 2020-09-05T18:21:21.000Z | 2021-12-05T02:47:42.000Z | data_processor/paths.py | Keithcat1/synthizer | 242a06855a36b9a9049d5fb00630800cda4a2984 | [
"Unlicense"
] | 77 | 2020-07-08T23:33:46.000Z | 2022-03-19T05:34:26.000Z | data_processor/paths.py | Keithcat1/synthizer | 242a06855a36b9a9049d5fb00630800cda4a2984 | [
"Unlicense"
] | 9 | 2020-07-08T18:16:53.000Z | 2022-03-02T21:35:28.000Z | import os.path
processor_path = os.path.split(os.path.abspath(__file__))[0]
data_path = os.path.join(processor_path, "mit_kemar")
repo_path = os.path.abspath(os.path.join(processor_path, ".."))
| 32.5 | 63 | 0.753846 | 32 | 195 | 4.28125 | 0.40625 | 0.262774 | 0.218978 | 0.277372 | 0.335766 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005525 | 0.071795 | 195 | 5 | 64 | 39 | 0.751381 | 0 | 0 | 0 | 0 | 0 | 0.05641 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
866a3e43ac6a0a65cfc84133eaa9105e23f3da1a | 125 | py | Python | HealthChecker/web-app/test_fetchSymptoms.py | KriAga/Health-Checker | 3d9ce933f131bcbb897103b0f509cc45393cae4a | [
"MIT"
] | 16 | 2019-05-06T10:19:45.000Z | 2021-08-14T15:48:31.000Z | HealthChecker/web-app/test_fetchSymptoms.py | KriAga/Health-Checker | 3d9ce933f131bcbb897103b0f509cc45393cae4a | [
"MIT"
] | null | null | null | HealthChecker/web-app/test_fetchSymptoms.py | KriAga/Health-Checker | 3d9ce933f131bcbb897103b0f509cc45393cae4a | [
"MIT"
] | 10 | 2020-01-07T01:51:21.000Z | 2022-03-22T08:13:25.000Z | from unittest import TestCase
class TestFetchSymptoms(TestCase):
def test_fetch(self):
self.assertTrue(1 == 1)
| 17.857143 | 34 | 0.712 | 15 | 125 | 5.866667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.2 | 125 | 6 | 35 | 20.833333 | 0.86 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
86c1ddf4786814739f66522006eab077aca280f7 | 312 | py | Python | app/schemas/template.py | svalenciaz/evergreen-messages-back-end | 71e0a407b7af5e5377352f7315a1c459e3f3bba6 | [
"MIT"
] | null | null | null | app/schemas/template.py | svalenciaz/evergreen-messages-back-end | 71e0a407b7af5e5377352f7315a1c459e3f3bba6 | [
"MIT"
] | null | null | null | app/schemas/template.py | svalenciaz/evergreen-messages-back-end | 71e0a407b7af5e5377352f7315a1c459e3f3bba6 | [
"MIT"
] | null | null | null | def templateEntity(template) -> dict:
return{
"_id": str(template['_id']),
"name": template['name'],
"subject": template["subject"],
"content": template["content"],
}
def templateEntities(templates) -> list:
return [templateEntity(template) for template in templates] | 31.2 | 63 | 0.621795 | 29 | 312 | 6.62069 | 0.517241 | 0.229167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217949 | 312 | 10 | 63 | 31.2 | 0.786885 | 0 | 0 | 0 | 0 | 0 | 0.134185 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0.222222 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
810564051b63778e583a112f8a912b16752d0326 | 997 | py | Python | irekua_permissions/models/model_predictions.py | CONABIO-audio/irekua-permissions | 563c558e59788054504c852a6a6017bce7469a12 | [
"BSD-4-Clause"
] | null | null | null | irekua_permissions/models/model_predictions.py | CONABIO-audio/irekua-permissions | 563c558e59788054504c852a6a6017bce7469a12 | [
"BSD-4-Clause"
] | 2 | 2020-02-12T03:00:51.000Z | 2020-04-26T23:27:52.000Z | irekua_permissions/models/model_predictions.py | CONABIO-audio/irekua-permissions | 563c558e59788054504c852a6a6017bce7469a12 | [
"BSD-4-Clause"
] | null | null | null | from irekua_permissions.items import items
def list(user, **kwargs):
if user.is_superuser:
return True
if user.is_developer:
return True
return user.is_model
def view(user, model_prediction=None, **kwargs):
if model_prediction is None:
return True
if user.is_superuser:... | 16.898305 | 50 | 0.651956 | 134 | 997 | 4.69403 | 0.171642 | 0.143084 | 0.139905 | 0.17806 | 0.753577 | 0.72496 | 0.675676 | 0.675676 | 0.675676 | 0.675676 | 0 | 0 | 0.27683 | 997 | 58 | 51 | 17.189655 | 0.872399 | 0 | 0 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.138889 | false | 0 | 0.027778 | 0 | 0.638889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
810cd01a9b19d771994b4e542d36bfa564101a13 | 70 | py | Python | src/cnn/__init__.py | portelaraian/tuberculosis-runmila-minoHealth | 03f7f146e913053399ec31bc0aeda018df9b2eff | [
"MIT"
] | null | null | null | src/cnn/__init__.py | portelaraian/tuberculosis-runmila-minoHealth | 03f7f146e913053399ec31bc0aeda018df9b2eff | [
"MIT"
] | null | null | null | src/cnn/__init__.py | portelaraian/tuberculosis-runmila-minoHealth | 03f7f146e913053399ec31bc0aeda018df9b2eff | [
"MIT"
] | null | null | null | import cv2
cv2.setNumThreads(0) # fix potential pytorch worker issues
| 23.333333 | 58 | 0.814286 | 10 | 70 | 5.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04918 | 0.128571 | 70 | 2 | 59 | 35 | 0.885246 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
811657484c07d1f660597ac8755d2606f4a5cd9f | 139 | py | Python | direct/src/controls/__init__.py | cmarshall108/panda3d-python3 | 8bea2c0c120b03ec1c9fd179701fdeb7510bb97b | [
"PHP-3.0",
"PHP-3.01"
] | null | null | null | direct/src/controls/__init__.py | cmarshall108/panda3d-python3 | 8bea2c0c120b03ec1c9fd179701fdeb7510bb97b | [
"PHP-3.0",
"PHP-3.01"
] | 20 | 2021-05-03T18:02:23.000Z | 2022-03-12T12:01:04.000Z | Lib/site-packages/direct/controls/__init__.py | fochoao/cpython | 3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9 | [
"bzip2-1.0.6",
"0BSD"
] | 1 | 2021-04-09T00:02:59.000Z | 2021-04-09T00:02:59.000Z | """
This package contains various types of character controllers, handling basic
control mechanics and setting up collisions for them.
"""
| 27.8 | 76 | 0.798561 | 18 | 139 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143885 | 139 | 4 | 77 | 34.75 | 0.932773 | 0.935252 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d4ba15cdee3561f157ed4a9b5c4f02b702371dcf | 303 | py | Python | ml_expr_eval_app/dataset.py | mondrasovic/ml_math_expr_eval | 58acbe6f80589cd8cad8323d7195a0f2df5111b8 | [
"MIT"
] | null | null | null | ml_expr_eval_app/dataset.py | mondrasovic/ml_math_expr_eval | 58acbe6f80589cd8cad8323d7195a0f2df5111b8 | [
"MIT"
] | null | null | null | ml_expr_eval_app/dataset.py | mondrasovic/ml_math_expr_eval | 58acbe6f80589cd8cad8323d7195a0f2df5111b8 | [
"MIT"
] | null | null | null | from torch.utils.data import IterableDataset, DataLoader
from exprgen import generate_expressions
class MathExprDataset(IterableDataset):
def __iter__(self):
pass
@staticmethod
def _char_to_idx(c):
if ord('0') <= c <= ord('9'):
return c - ord('c')
| 23.307692 | 56 | 0.627063 | 35 | 303 | 5.2 | 0.742857 | 0.043956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00905 | 0.270627 | 303 | 13 | 57 | 23.307692 | 0.81448 | 0 | 0 | 0 | 1 | 0 | 0.009868 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0.222222 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
d4cb9555efb4a5d6bfba0e147763c393fd407b6e | 1,646 | py | Python | src/services/vinkki_service.py | a-bzzzz/ohtu-lukuvinkkikirjasto | 4f6c780fa3fda5198fc9d61f9449f3f3b01b955e | [
"MIT"
] | null | null | null | src/services/vinkki_service.py | a-bzzzz/ohtu-lukuvinkkikirjasto | 4f6c780fa3fda5198fc9d61f9449f3f3b01b955e | [
"MIT"
] | null | null | null | src/services/vinkki_service.py | a-bzzzz/ohtu-lukuvinkkikirjasto | 4f6c780fa3fda5198fc9d61f9449f3f3b01b955e | [
"MIT"
] | null | null | null | from entities.lukuvinkki import Lukuvinkki
from entities.lukuvinkkilista import Lukuvinkkilista
from entities.user import User
from repositories.lukuvinkki_repository import (
lukuvinkki_repository as default_lukuvinkki_repository
)
class VinkkiService:
def __init__(self, lukuvinkki_repository=default_lukuvinkki... | 38.27907 | 118 | 0.730863 | 179 | 1,646 | 6.513966 | 0.284916 | 0.188679 | 0.123499 | 0.066895 | 0.270154 | 0.270154 | 0.203259 | 0.131218 | 0 | 0 | 0 | 0 | 0.184083 | 1,646 | 42 | 119 | 39.190476 | 0.868206 | 0.164642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.28 | false | 0.08 | 0.16 | 0.16 | 0.64 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
d4d755e85dcfc9a9e8c6bb026473ea8fecd9d429 | 177 | py | Python | apps/album/admin.py | maruuuui/album-server | 2cce203ae174200bb0981cf97661d6584fd88840 | [
"MIT"
] | null | null | null | apps/album/admin.py | maruuuui/album-server | 2cce203ae174200bb0981cf97661d6584fd88840 | [
"MIT"
] | 7 | 2021-03-19T00:40:07.000Z | 2022-01-13T02:24:24.000Z | apps/album/admin.py | maruuuui/album-server | 2cce203ae174200bb0981cf97661d6584fd88840 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Image
@admin.register(Image)
class ImageAdmin(admin.ModelAdmin):
list_display = ("image", "created_at", "updated_at")
| 22.125 | 56 | 0.757062 | 23 | 177 | 5.695652 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124294 | 177 | 7 | 57 | 25.285714 | 0.845161 | 0 | 0 | 0 | 0 | 0 | 0.141243 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d4df300969dde994d37376e3b484908ca5ac0738 | 92 | py | Python | Osori_rpg/apps.py | bees1114/Osori_level_meter | 6af9b06e91fc4935be75e8293879e2bf881beefe | [
"MIT"
] | 1 | 2017-11-04T21:27:59.000Z | 2017-11-04T21:27:59.000Z | Osori_rpg/apps.py | bees1114/Osori_level_meter | 6af9b06e91fc4935be75e8293879e2bf881beefe | [
"MIT"
] | null | null | null | Osori_rpg/apps.py | bees1114/Osori_level_meter | 6af9b06e91fc4935be75e8293879e2bf881beefe | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class OsoriRpgConfig(AppConfig):
name = 'Osori_rpg'
| 15.333333 | 33 | 0.76087 | 11 | 92 | 6.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 92 | 5 | 34 | 18.4 | 0.896104 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d4e5eb6d40be1167556560c4dec15e1013988ee0 | 197 | py | Python | tests/__init__.py | PASTAplus/rendere | 63cc5effae4118fa20545339c2f0b0ebbee35271 | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | PASTAplus/rendere | 63cc5effae4118fa20545339c2f0b0ebbee35271 | [
"Apache-2.0"
] | 5 | 2021-04-01T02:12:50.000Z | 2022-03-14T01:40:58.000Z | tests/__init__.py | PASTAplus/rendere | 63cc5effae4118fa20545339c2f0b0ebbee35271 | [
"Apache-2.0"
] | 1 | 2020-09-22T21:47:31.000Z | 2020-09-22T21:47:31.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
:Mod: __init__
:Synopsis:
:Author:
servilla
:Created:
1/21/20
"""
import os
import sys
sys.path.insert(0, os.path.abspath('../src'))
| 9.85 | 45 | 0.593909 | 28 | 197 | 4.035714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.182741 | 197 | 19 | 46 | 10.368421 | 0.658385 | 0.583756 | 0 | 0 | 0 | 0 | 0.082192 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
be1b86960f931041a13f12317837457dc61cf7c7 | 432 | py | Python | homework_02/teste.py | ufpa-organization-repositories/evolutionary-computing | e16786f9619e2b357b94ab91ff3a7b352e6a0d92 | [
"MIT"
] | null | null | null | homework_02/teste.py | ufpa-organization-repositories/evolutionary-computing | e16786f9619e2b357b94ab91ff3a7b352e6a0d92 | [
"MIT"
] | null | null | null | homework_02/teste.py | ufpa-organization-repositories/evolutionary-computing | e16786f9619e2b357b94ab91ff3a7b352e6a0d92 | [
"MIT"
] | null | null | null | # pop_pais = [1,3,5,4]
# pop_pais = sorted(pop_pais, reverse=True)
# print(pop_pais)
#
# pop_pais = pop_pais[:2]
# print(pop_pais)
# teste mutacao
# individuo_aux = 'abcd'
# individuo_aux = list(individuo_aux)
# print(individuo_aux)
# i_gene = 0
# individuo_aux[i_gene] = 'teste'
# print(individuo_aux)
# individuo_aux ... | 21.6 | 43 | 0.719907 | 64 | 432 | 4.578125 | 0.40625 | 0.368601 | 0.174061 | 0.095563 | 0.197952 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071618 | 0.127315 | 432 | 20 | 44 | 21.6 | 0.70557 | 0.833333 | 0 | 0 | 0 | 0 | 0.392857 | 0.392857 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
077082f46dfee06914373c054762f65f957efab1 | 633 | py | Python | src/super_gradients/common/__init__.py | Deci-AI/super-gradients | 658f638389654668a085e23c3b19622241fd9267 | [
"Apache-2.0"
] | 308 | 2021-12-30T10:14:30.000Z | 2022-03-30T19:05:31.000Z | src/super_gradients/common/__init__.py | karndeepsingh/super-gradients | bfed440ecaf485af183570bf965eb5b74cb9f832 | [
"Apache-2.0"
] | 24 | 2022-01-10T08:05:37.000Z | 2022-03-30T18:49:06.000Z | src/super_gradients/common/__init__.py | karndeepsingh/super-gradients | bfed440ecaf485af183570bf965eb5b74cb9f832 | [
"Apache-2.0"
] | 26 | 2021-12-31T06:04:07.000Z | 2022-03-21T09:51:44.000Z | # PACKAGE IMPORTS FOR EXTERNAL USAGE
from super_gradients.common.decorators import explicit_params_validation, singleton
from super_gradients.common.aws_connection import AWSConnector
from super_gradients.common.data_connection import S3Connector
from super_gradients.common.data_interface import DatasetDataInterface, A... | 63.3 | 105 | 0.85466 | 65 | 633 | 8 | 0.476923 | 0.086538 | 0.173077 | 0.230769 | 0.107692 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003436 | 0.080569 | 633 | 9 | 106 | 70.333333 | 0.890034 | 0.053712 | 0 | 0 | 0 | 0 | 0.229481 | 0.098827 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.714286 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0779782f204986f729b1b61be253c1eb07ad235f | 2,196 | py | Python | src/scs_core/osio/data/topic_contributor.py | seoss/scs_core | 0d4323c5697a39eb44a887f179ba5dca3716c1d2 | [
"MIT"
] | 3 | 2019-03-12T01:59:58.000Z | 2020-09-12T07:27:42.000Z | src/scs_core/osio/data/topic_contributor.py | seoss/scs_core | 0d4323c5697a39eb44a887f179ba5dca3716c1d2 | [
"MIT"
] | 1 | 2018-04-20T07:58:38.000Z | 2021-03-27T08:52:45.000Z | src/scs_core/osio/data/topic_contributor.py | seoss/scs_core | 0d4323c5697a39eb44a887f179ba5dca3716c1d2 | [
"MIT"
] | 4 | 2017-09-29T13:08:43.000Z | 2019-10-09T09:13:58.000Z | """
Created on 10 Nov 2016
@author: Bruno Beloff (bruno.beloff@southcoastscience.com)
example:
{
"name": "South Coast Science - Dev",
"id": "southcoastscience-dev",
"gravatar-hash": "07f512e9fe64863039df0c0f1834cc25"
}
"""
from collections import OrderedDict
from scs_core.data.json import JSONable
# -... | 26.142857 | 118 | 0.397541 | 159 | 2,196 | 5.27673 | 0.327044 | 0.185936 | 0.076281 | 0.042908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01627 | 0.216302 | 2,196 | 83 | 119 | 26.457831 | 0.471238 | 0.434426 | 0 | 0.09375 | 0 | 0 | 0.074916 | 0.021886 | 0 | 0 | 0 | 0 | 0 | 1 | 0.21875 | false | 0 | 0.0625 | 0.125 | 0.53125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
0783e19a212511cc775bbd03c8c563c5c0967358 | 592 | py | Python | eccrypt/__init__.py | i5ar/eccrypt | 0e6e7fa6354cb8f3b1a115ee5ce11df112a08ada | [
"MIT"
] | null | null | null | eccrypt/__init__.py | i5ar/eccrypt | 0e6e7fa6354cb8f3b1a115ee5ce11df112a08ada | [
"MIT"
] | null | null | null | eccrypt/__init__.py | i5ar/eccrypt | 0e6e7fa6354cb8f3b1a115ee5ce11df112a08ada | [
"MIT"
] | null | null | null | # 10
# 100~~01 100~~\ 100~~\ 000~0\ 0000 / 000~0001 _100__
# d000 001 d000 1000 000 0000/ 000 0000 000
# 0000__000 0000 0000 000 00/ 000 0000 000
# 1000 , 1000 1000 000 0 000 0000 000
# "00___/ "00__/ 100__/ ... | 31.157895 | 59 | 0.494932 | 67 | 592 | 3.865672 | 0.432836 | 0.189189 | 0.19305 | 0.162162 | 0.108108 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0.418803 | 0.407095 | 592 | 18 | 60 | 32.888889 | 0.319088 | 0.726351 | 0 | 0 | 0 | 0 | 0.369128 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
07875ad8ddedafe6bb9942245b8324c5e68343e2 | 70 | py | Python | tests/conftests.py | LSmith-Zenoscave/dotdict | 48994d23321df3e3b9feb8ecde852fbb0443f231 | [
"BSD-2-Clause"
] | 1 | 2021-06-15T06:11:56.000Z | 2021-06-15T06:11:56.000Z | tests/conftests.py | LSmith-Zenoscave/dotdict | 48994d23321df3e3b9feb8ecde852fbb0443f231 | [
"BSD-2-Clause"
] | 2 | 2019-07-11T01:04:28.000Z | 2019-07-11T01:48:34.000Z | tests/conftests.py | LSmith-Zenoscave/dotdict | 48994d23321df3e3b9feb8ecde852fbb0443f231 | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""Pytest Fixtures for dotdict unit-tests
"""
| 17.5 | 41 | 0.614286 | 9 | 70 | 4.777778 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.157143 | 70 | 3 | 42 | 23.333333 | 0.711864 | 0.871429 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0788713465f353b2dc95e2a1f09b7be0ffabd337 | 3,399 | py | Python | tables_validation.py | joch182/3G-Huawei-Propagation-Delay-Tool-Google-Earth | c14569dad2f1daad8072661b55554d182497f1d5 | [
"MIT"
] | null | null | null | tables_validation.py | joch182/3G-Huawei-Propagation-Delay-Tool-Google-Earth | c14569dad2f1daad8072661b55554d182497f1d5 | [
"MIT"
] | null | null | null | tables_validation.py | joch182/3G-Huawei-Propagation-Delay-Tool-Google-Earth | c14569dad2f1daad8072661b55554d182497f1d5 | [
"MIT"
] | 1 | 2020-07-24T14:08:08.000Z | 2020-07-24T14:08:08.000Z | import sys
import pandas as pd
def validate(data_path, ept_path):
if not (data_path.endswith('.csv') or ept_path.endswith('.csv')):
print('Please use the correct table format (CSV)')
sys.exit()
data = pd.read_csv(data_path, index_col="Cell_Name")
ept = pd.read_csv(ept_path, index_col="Cell... | 97.114286 | 1,915 | 0.6599 | 611 | 3,399 | 3.641571 | 0.212766 | 0.233708 | 0.210337 | 0.307416 | 0.40764 | 0.137079 | 0.129438 | 0.129438 | 0.097978 | 0.097978 | 0 | 0.057153 | 0.140335 | 3,399 | 35 | 1,916 | 97.114286 | 0.704312 | 0.03707 | 0 | 0.222222 | 0 | 0 | 0.331397 | 0.128401 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0 | 0.074074 | 0 | 0.148148 | 0.296296 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
07a3d38627eeff4ec7a8a09a8d91b008cebe0137 | 19,118 | py | Python | models/old_project_tables.py | total-impact/software | 9a61bf68cba9e95bbd2e2d5f0791ddf1746d2c99 | [
"MIT"
] | 169 | 2015-10-13T01:42:57.000Z | 2019-10-17T04:17:20.000Z | models/old_project_tables.py | resslerruntime/depsy | 9a61bf68cba9e95bbd2e2d5f0791ddf1746d2c99 | [
"MIT"
] | 111 | 2015-11-09T20:44:37.000Z | 2018-11-27T20:10:13.000Z | models/old_project_tables.py | resslerruntime/depsy | 9a61bf68cba9e95bbd2e2d5f0791ddf1746d2c99 | [
"MIT"
] | 14 | 2015-11-10T23:08:25.000Z | 2019-07-01T18:51:32.000Z |
# CRAN
from app import db
from sqlalchemy.dialects.postgresql import JSONB
import requests
from models import github_api
from lxml import html
from util import elapsed
from time import time
import re
# class CranProject(db.Model):
# project_name = db.Column(db.Text, primary_key=True)
# owner_name = db.Colu... | 29.594427 | 141 | 0.60273 | 2,382 | 19,118 | 4.640638 | 0.146096 | 0.039805 | 0.020807 | 0.020264 | 0.438936 | 0.384567 | 0.350552 | 0.344219 | 0.304143 | 0.294192 | 0 | 0.007151 | 0.268543 | 19,118 | 645 | 142 | 29.64031 | 0.783324 | 0.9263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
07b5578f06f6bd641523184cc661a92f74c5f35f | 232 | py | Python | contrib_src/run.py | modelhub-ai/ResNet-50 | a08e5b7efe465e2411673f30291231bf93c5112b | [
"Apache-2.0"
] | 12 | 2019-02-03T17:57:14.000Z | 2022-02-24T19:56:26.000Z | contrib_src/run.py | modelhub-ai/ResNet-50 | a08e5b7efe465e2411673f30291231bf93c5112b | [
"Apache-2.0"
] | 1 | 2019-05-28T03:29:05.000Z | 2019-06-11T14:51:37.000Z | contrib_src/run.py | modelhub-ai/ResNet-50 | a08e5b7efe465e2411673f30291231bf93c5112b | [
"Apache-2.0"
] | 9 | 2018-10-05T18:20:06.000Z | 2021-06-16T08:54:23.000Z | import os
from modelhubapi import webservice
from inference import Model
if __name__ == "__main__":
model = Model()
contrib_src_dir = os.path.dirname(os.path.realpath(__file__))
webservice.start(model, contrib_src_dir)
| 25.777778 | 65 | 0.758621 | 31 | 232 | 5.16129 | 0.580645 | 0.15 | 0.1875 | 0.225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150862 | 232 | 8 | 66 | 29 | 0.812183 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
07c264706103056a9989f36b1b3f365f7c1d47ce | 1,191 | py | Python | tests/venv/test_utils.py | daobook/hatch | 1cf39ad1a11ce90bc77fb7fdc4b9202433509179 | [
"MIT"
] | null | null | null | tests/venv/test_utils.py | daobook/hatch | 1cf39ad1a11ce90bc77fb7fdc4b9202433509179 | [
"MIT"
] | null | null | null | tests/venv/test_utils.py | daobook/hatch | 1cf39ad1a11ce90bc77fb7fdc4b9202433509179 | [
"MIT"
] | null | null | null | from hatch.venv.utils import get_random_venv_name, handle_verbosity_flag
class TestGetRandomVenvName:
def test_length(self):
assert len(get_random_venv_name()) == 4
def test_different(self):
assert get_random_venv_name() != get_random_venv_name()
class TestHandleVerbosityFlag:
def test_... | 28.357143 | 72 | 0.643997 | 133 | 1,191 | 5.466165 | 0.293233 | 0.233838 | 0.275103 | 0.165062 | 0.580468 | 0.580468 | 0.580468 | 0.580468 | 0.50619 | 0.423659 | 0 | 0.006501 | 0.225021 | 1,191 | 41 | 73 | 29.04878 | 0.781148 | 0 | 0 | 0.259259 | 0 | 0 | 0.117548 | 0 | 0 | 0 | 0 | 0 | 0.259259 | 1 | 0.259259 | false | 0 | 0.037037 | 0 | 0.37037 | 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 | 0 | 0 | 0 | 0 | 4 |
07df075f9cbaec6e41a2f3b383a030f089370b6d | 659 | py | Python | investing_algorithm_framework/views/__init__.py | investing-algorithms/investing-algorithm-framework | d579e142a3857e2e2dfb59b7d6e54202f7df5466 | [
"Apache-2.0"
] | 1 | 2019-12-23T21:23:45.000Z | 2019-12-23T21:23:45.000Z | investing_algorithm_framework/views/__init__.py | investing-algorithms/investing-algorithm-framework | d579e142a3857e2e2dfb59b7d6e54202f7df5466 | [
"Apache-2.0"
] | null | null | null | investing_algorithm_framework/views/__init__.py | investing-algorithms/investing-algorithm-framework | d579e142a3857e2e2dfb59b7d6e54202f7df5466 | [
"Apache-2.0"
] | 1 | 2019-12-23T21:23:50.000Z | 2019-12-23T21:23:50.000Z | from investing_algorithm_framework import current_app
from investing_algorithm_framework.views.order_views import blueprint \
as order_views_blueprint
from investing_algorithm_framework.views.portfolio_views import blueprint \
as portfolio_views_blueprint
from investing_algorithm_framework.views.position_views ... | 43.933333 | 75 | 0.887709 | 82 | 659 | 6.719512 | 0.182927 | 0.203267 | 0.15971 | 0.225045 | 0.431942 | 0.181488 | 0.181488 | 0 | 0 | 0 | 0 | 0 | 0.07739 | 659 | 14 | 76 | 47.071429 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.384615 | 0 | 0.384615 | 0.846154 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
07eac2d7bce47e5fb647a61e687fcdf4a4738010 | 628 | py | Python | sslic/losses/general.py | gergopool/ssl | 676d01b88a50acea9a3b6c406fc4b82de74ec7b3 | [
"MIT"
] | 1 | 2022-02-05T13:49:17.000Z | 2022-02-05T13:49:17.000Z | sslic/losses/general.py | gergopool/ssl | 676d01b88a50acea9a3b6c406fc4b82de74ec7b3 | [
"MIT"
] | null | null | null | sslic/losses/general.py | gergopool/ssl | 676d01b88a50acea9a3b6c406fc4b82de74ec7b3 | [
"MIT"
] | null | null | null | import torch
from torch import nn
class Loss(nn.Module):
def __init__(self, emb_dim: int = -1):
super().__init__()
self.emb_dim = emb_dim
@classmethod
def imagenet(cls, *args, **kwargs):
return cls(*args, *kwargs)
@classmethod
def tiny_imagenet(cls, *args, **kwargs):
... | 21.655172 | 55 | 0.609873 | 75 | 628 | 4.946667 | 0.386667 | 0.150943 | 0.280323 | 0.204852 | 0.501348 | 0.501348 | 0.501348 | 0.415094 | 0.415094 | 0.291105 | 0 | 0.012876 | 0.257962 | 628 | 28 | 56 | 22.428571 | 0.783262 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.1 | 0.2 | 0.65 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
07ed1ace2d17269b9e46e6b1160843b723088b6c | 55 | py | Python | packages/pytea/pylib/shutil.py | Sehun0819/pytea | 3f068016a71a1915722e51d977fedab01427a42c | [
"MIT"
] | 241 | 2021-03-19T01:11:44.000Z | 2022-03-25T03:15:22.000Z | packages/pytea/pylib/shutil.py | Sehun0819/pytea | 3f068016a71a1915722e51d977fedab01427a42c | [
"MIT"
] | 2 | 2021-02-26T08:16:04.000Z | 2022-02-28T02:52:58.000Z | packages/pytea/pylib/shutil.py | Sehun0819/pytea | 3f068016a71a1915722e51d977fedab01427a42c | [
"MIT"
] | 14 | 2021-01-08T02:22:58.000Z | 2022-01-19T14:13:14.000Z | def copyfile(src, dst, follow_symlinks=True):
pass
| 18.333333 | 45 | 0.727273 | 8 | 55 | 4.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 55 | 2 | 46 | 27.5 | 0.847826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
07f48e32355d335480a618664ccb2995733eb200 | 89 | py | Python | monthly/apps.py | Moizes92/CTMS | faceaf71a6fd6fb379dbcc13a60a538e449e13db | [
"Apache-2.0"
] | null | null | null | monthly/apps.py | Moizes92/CTMS | faceaf71a6fd6fb379dbcc13a60a538e449e13db | [
"Apache-2.0"
] | null | null | null | monthly/apps.py | Moizes92/CTMS | faceaf71a6fd6fb379dbcc13a60a538e449e13db | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class MonthlyConfig(AppConfig):
name = 'monthly'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6afa4b34894f8acccc20c7573a2825e46b50d981 | 96 | py | Python | flow_manage/apps.py | LipotesOps/octo-fibula | 14c7a2b5e4929c9f441f81485949d91ef9ab66a0 | [
"MIT"
] | 1 | 2020-12-23T06:14:27.000Z | 2020-12-23T06:14:27.000Z | flow_manage/apps.py | LipotesOps/octo-fibula | 14c7a2b5e4929c9f441f81485949d91ef9ab66a0 | [
"MIT"
] | 7 | 2020-06-06T01:58:04.000Z | 2022-02-10T14:02:38.000Z | flow_manage/apps.py | LipotesOps/octo-fibula | 14c7a2b5e4929c9f441f81485949d91ef9ab66a0 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class FlowManageConfig(AppConfig):
name = 'flow_manage'
| 16 | 34 | 0.770833 | 11 | 96 | 6.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 96 | 5 | 35 | 19.2 | 0.901235 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6afc738310a35f2021a52b95c51ade0881c450f5 | 1,013 | py | Python | Programa_4_hoja_de_trabajo_11_de_agosto.py | Salazar769/Ciclo-1-python | faccc2e8cb12c863f4818d8152350129e7306df5 | [
"CC0-1.0"
] | null | null | null | Programa_4_hoja_de_trabajo_11_de_agosto.py | Salazar769/Ciclo-1-python | faccc2e8cb12c863f4818d8152350129e7306df5 | [
"CC0-1.0"
] | null | null | null | Programa_4_hoja_de_trabajo_11_de_agosto.py | Salazar769/Ciclo-1-python | faccc2e8cb12c863f4818d8152350129e7306df5 | [
"CC0-1.0"
] | null | null | null |
"""Realizr una programa para crear la clase Calcular, ingresa los atributos
necesarios. Utilice el método constructor. Agregaremos el soporte
adecuado para operaciones matemáticas del atributo utilizando la
sobrecarga de operadores.
Realizar la sobrecarga de operadores de multiplicación, resta,
divisi... | 31.65625 | 76 | 0.677196 | 153 | 1,013 | 4.254902 | 0.431373 | 0.049155 | 0.0553 | 0.086022 | 0.235023 | 0.16129 | 0.16129 | 0.16129 | 0.16129 | 0.124424 | 0 | 0.028871 | 0.247779 | 1,013 | 31 | 77 | 32.677419 | 0.825459 | 0.419546 | 0 | 0 | 0 | 0 | 0.216364 | 0 | 0 | 0 | 0 | 0.064516 | 0 | 1 | 0.3125 | false | 0 | 0 | 0.25 | 0.625 | 0.25 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
ed0a2da29c60e0e05486bcc135325367aafae825 | 260 | py | Python | domain/model/base/entity.py | agiledragon/transfer-money-python | a8f7520c37f75e098623e58e269d3fccf11cb205 | [
"MIT"
] | 5 | 2019-08-07T05:53:39.000Z | 2021-11-18T07:02:02.000Z | domain/model/base/entity.py | agiledragon/transfer-money-python | a8f7520c37f75e098623e58e269d3fccf11cb205 | [
"MIT"
] | null | null | null | domain/model/base/entity.py | agiledragon/transfer-money-python | a8f7520c37f75e098623e58e269d3fccf11cb205 | [
"MIT"
] | 5 | 2019-08-07T05:53:53.000Z | 2020-05-18T16:45:54.000Z |
class Entity(object):
def __init__(self, id):
self._id = id
def __eq__(self, other):
return self.id == other.id
def __ne__(self, other):
return not self == other
@property
def id(self):
return self._id
| 15.294118 | 34 | 0.561538 | 34 | 260 | 3.882353 | 0.382353 | 0.181818 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.330769 | 260 | 16 | 35 | 16.25 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.3 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
ed2e629f4c77c9932c34a00356125d1ad04e6bcc | 1,135 | py | Python | netket/utils/dispatch.py | pesvut/netket | 7f19574ddc567748344bb75a4ddd507578d94b0d | [
"Apache-2.0"
] | null | null | null | netket/utils/dispatch.py | pesvut/netket | 7f19574ddc567748344bb75a4ddd507578d94b0d | [
"Apache-2.0"
] | 26 | 2021-08-06T15:27:57.000Z | 2022-03-30T16:55:18.000Z | netket/utils/dispatch.py | pesvut/netket | 7f19574ddc567748344bb75a4ddd507578d94b0d | [
"Apache-2.0"
] | 1 | 2020-01-14T11:39:00.000Z | 2020-01-14T11:39:00.000Z | # Copyright 2021 The NetKet Authors - All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable ... | 30.675676 | 82 | 0.729515 | 171 | 1,135 | 4.795322 | 0.561404 | 0.073171 | 0.036585 | 0.080488 | 0.257317 | 0.257317 | 0.192683 | 0.112195 | 0.112195 | 0.112195 | 0 | 0.012101 | 0.199119 | 1,135 | 36 | 83 | 31.527778 | 0.889989 | 0.764758 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0.111111 | 0.222222 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
ed401acdd7484619e8ca1b1897c790739b13b46b | 160 | py | Python | ssseg/modules/models/segmentors/maskformer/transformers/__init__.py | zhizhangxian/sssegmentation | 90613f6e0abf4cdd729cf382ab2a915e106d8649 | [
"MIT"
] | 41 | 2021-08-28T01:29:19.000Z | 2022-03-30T11:28:37.000Z | ssseg/modules/models/segmentors/maskformer/transformers/__init__.py | zhizhangxian/sssegmentation | 90613f6e0abf4cdd729cf382ab2a915e106d8649 | [
"MIT"
] | 6 | 2021-08-31T08:54:39.000Z | 2021-11-02T10:45:47.000Z | ssseg/modules/models/segmentors/maskformer/transformers/__init__.py | zhizhangxian/sssegmentation | 90613f6e0abf4cdd729cf382ab2a915e106d8649 | [
"MIT"
] | 1 | 2021-09-08T01:41:10.000Z | 2021-09-08T01:41:10.000Z | '''initialize'''
from .predictor import Predictor
from .criterion import SetCriterion
from .transformer import Transformer
from .matcher import HungarianMatcher | 32 | 37 | 0.8375 | 17 | 160 | 7.882353 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 160 | 5 | 37 | 32 | 0.930556 | 0.0625 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ed4c42b0e4b1052de914e425fc743f03c33ed1b8 | 636 | py | Python | Configuration/Eras/python/Era_Run2_2016_cff.py | depasse/cmssw | 39428aba78dcfdbfa5bda6f5c1dfd9556ba10755 | [
"Apache-2.0"
] | null | null | null | Configuration/Eras/python/Era_Run2_2016_cff.py | depasse/cmssw | 39428aba78dcfdbfa5bda6f5c1dfd9556ba10755 | [
"Apache-2.0"
] | null | null | null | Configuration/Eras/python/Era_Run2_2016_cff.py | depasse/cmssw | 39428aba78dcfdbfa5bda6f5c1dfd9556ba10755 | [
"Apache-2.0"
] | null | null | null | import FWCore.ParameterSet.Config as cms
from Configuration.Eras.Modifier_run2_common_cff import run2_common
from Configuration.Eras.Modifier_run2_25ns_specific_cff import run2_25ns_specific
from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
from Configuration.Eras.Modifier_ctpps_2016_cff impo... | 48.923077 | 91 | 0.900943 | 88 | 636 | 6.090909 | 0.238636 | 0.190299 | 0.235075 | 0.324627 | 0.261194 | 0.13806 | 0 | 0 | 0 | 0 | 0 | 0.10906 | 0.062893 | 636 | 12 | 92 | 53 | 0.790268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.777778 | 0 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ed5bf391394795e4b16a1a4e7e9f7ddd81508d35 | 119 | py | Python | pyleecan/Functions/copy.py | tobsen2code/pyleecan | 5b1ded9e389e0c79ed7b7c878b6e939f2d9962e9 | [
"Apache-2.0"
] | 95 | 2019-01-23T04:19:45.000Z | 2022-03-17T18:22:10.000Z | pyleecan/Functions/copy.py | ecs-kev/pyleecan | 1faedde4b24acc6361fa1fdd4e980eaec4ca3a62 | [
"Apache-2.0"
] | 366 | 2019-02-20T07:15:08.000Z | 2022-03-31T13:37:23.000Z | pyleecan/Functions/copy.py | ecs-kev/pyleecan | 1faedde4b24acc6361fa1fdd4e980eaec4ca3a62 | [
"Apache-2.0"
] | 74 | 2019-01-24T01:47:31.000Z | 2022-02-25T05:44:42.000Z | def copy(self, **kwargs):
"""Return a copy of the class"""
return type(self)(init_dict=self.as_dict(**kwargs))
| 29.75 | 55 | 0.655462 | 19 | 119 | 4 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159664 | 119 | 3 | 56 | 39.666667 | 0.76 | 0.218487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
9c0feddfbc301c749a3cc4744a80189d3bf03147 | 73 | py | Python | tests/mocks/__init__.py | ssichynskyi/web_metric_collection | 3ec4907fb21bcb04526b193989e6dd073d55294b | [
"MIT"
] | null | null | null | tests/mocks/__init__.py | ssichynskyi/web_metric_collection | 3ec4907fb21bcb04526b193989e6dd073d55294b | [
"MIT"
] | null | null | null | tests/mocks/__init__.py | ssichynskyi/web_metric_collection | 3ec4907fb21bcb04526b193989e6dd073d55294b | [
"MIT"
] | null | null | null | """Mock implementations for testing of web_metric_collection package."""
| 36.5 | 72 | 0.808219 | 9 | 73 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09589 | 73 | 1 | 73 | 73 | 0.863636 | 0.90411 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9c2e0c1fe876db520546363f0c260c87e5c45df1 | 19,258 | py | Python | main.py | ZHJ0125/bushu | 8b223a9be273d7583425b6c851526de912d1ec05 | [
"BSD-3-Clause"
] | 2 | 2022-03-21T14:40:35.000Z | 2022-03-24T05:01:56.000Z | main.py | ZHJ0125/bushu | 8b223a9be273d7583425b6c851526de912d1ec05 | [
"BSD-3-Clause"
] | null | null | null | main.py | ZHJ0125/bushu | 8b223a9be273d7583425b6c851526de912d1ec05 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf8 -*-
from flask import Flask, render_template, request, flash, session, url_for, redirect
from flask_wtf import FlaskForm
from flask_sslify import SSLify
from wtforms import StringField, SubmitField
from wtforms.validators import DataRequired, Regexp
import time, json, random, re, requests
from urllib... | 50.545932 | 5,792 | 0.597518 | 1,494 | 19,258 | 7.626506 | 0.312584 | 0.091276 | 0.136388 | 0.181148 | 0.140161 | 0.13156 | 0.124539 | 0.100755 | 0.0825 | 0.045814 | 0 | 0.066322 | 0.256984 | 19,258 | 380 | 5,793 | 50.678947 | 0.72989 | 0.033908 | 0 | 0.232258 | 0 | 0.029032 | 0.540542 | 0.441572 | 0 | 1 | 0 | 0 | 0 | 1 | 0.022581 | false | 0.025806 | 0.022581 | 0.003226 | 0.1 | 0.012903 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9c3cff844eb75b8bf5bf667457ab698b150ca194 | 371 | py | Python | gleipnir/pysb_utilities/__init__.py | LoLab-VU/Gleipnir | 6085435f4840d403c0878b0d50192565ccc82965 | [
"MIT"
] | 2 | 2019-07-11T14:45:04.000Z | 2019-07-29T16:21:41.000Z | gleipnir/pysb_utilities/__init__.py | LoLab-VU/Gleipnir | 6085435f4840d403c0878b0d50192565ccc82965 | [
"MIT"
] | 13 | 2019-05-20T03:14:03.000Z | 2021-01-07T17:23:23.000Z | gleipnir/pysb_utilities/__init__.py | LoLab-VU/Gleipnir | 6085435f4840d403c0878b0d50192565ccc82965 | [
"MIT"
] | 3 | 2019-05-29T04:53:58.000Z | 2020-09-25T22:15:11.000Z | import warnings
import pysb
from pysb.simulator import ScipyOdeSimulator
from .nestedsample_it import NestedSampleIt, NestIt
try:
from .hyp_selector import HypSelector
from .model_selector import ModelSelector
except:
warnings.warn('Unable to load HypSelector and ModelSelector into pysb_utilities. If you wa... | 37.1 | 144 | 0.819407 | 48 | 371 | 6.25 | 0.6875 | 0.093333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 371 | 9 | 145 | 41.222222 | 0.943396 | 0 | 0 | 0 | 0 | 0 | 0.331536 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
9c3e81aca28a3203b6afd925720b69d968f2c16f | 1,891 | py | Python | keras/utils/__init__.py | maybeLee/keras | 793620ae1bdda7e37edd485b034e8962fff57f3e | [
"Apache-2.0"
] | 1 | 2022-03-21T02:42:58.000Z | 2022-03-21T02:42:58.000Z | keras/utils/__init__.py | maybeLee/keras | 793620ae1bdda7e37edd485b034e8962fff57f3e | [
"Apache-2.0"
] | 1 | 2022-03-31T16:40:51.000Z | 2022-03-31T16:40:51.000Z | keras/utils/__init__.py | maybeLee/keras | 793620ae1bdda7e37edd485b034e8962fff57f3e | [
"Apache-2.0"
] | null | null | null | # Copyright 2022 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | 42.022222 | 80 | 0.800106 | 274 | 1,891 | 5.354015 | 0.419708 | 0.122699 | 0.190866 | 0.08589 | 0.351057 | 0.351057 | 0 | 0 | 0 | 0 | 0 | 0.004742 | 0.107879 | 1,891 | 44 | 81 | 42.977273 | 0.864849 | 0.406134 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9c40aad1beb5580595527f7585d5db697d81b1bf | 79 | py | Python | bluefloodclient/__init__.py | absalon-james/python-blueflood | 1ed83308de96fd8b6e41237ac99d1946b74f2d10 | [
"Apache-2.0"
] | null | null | null | bluefloodclient/__init__.py | absalon-james/python-blueflood | 1ed83308de96fd8b6e41237ac99d1946b74f2d10 | [
"Apache-2.0"
] | null | null | null | bluefloodclient/__init__.py | absalon-james/python-blueflood | 1ed83308de96fd8b6e41237ac99d1946b74f2d10 | [
"Apache-2.0"
] | null | null | null | from client import Blueflood as Client
from utils import time_in_ms, time_in_s
| 26.333333 | 39 | 0.848101 | 15 | 79 | 4.2 | 0.666667 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139241 | 79 | 2 | 40 | 39.5 | 0.926471 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9c531f5167a611561c5947d4213dc4579f086b64 | 625 | py | Python | pydeep/core.py | jytan17/deep_learning_framework | c0a55c0d9d201aacfe03e4d49b9f0d1b75278eb5 | [
"MIT"
] | null | null | null | pydeep/core.py | jytan17/deep_learning_framework | c0a55c0d9d201aacfe03e4d49b9f0d1b75278eb5 | [
"MIT"
] | null | null | null | pydeep/core.py | jytan17/deep_learning_framework | c0a55c0d9d201aacfe03e4d49b9f0d1b75278eb5 | [
"MIT"
] | null | null | null | import numpy as np
class Variable:
def __init__(self, data):
self.data = data if not isinstance(data, np.ndarray) else np.array(data)
self.grad = None
def zero_grad(self):
self.grad = None
class Function:
def __init__(self, *args, **kwargs):
self.cache = {}
def __c... | 20.833333 | 80 | 0.584 | 78 | 625 | 4.487179 | 0.384615 | 0.2 | 0.2 | 0.154286 | 0.12 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2864 | 625 | 30 | 81 | 20.833333 | 0.784753 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.35 | false | 0.15 | 0.05 | 0 | 0.55 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
92cf0f66b89334cd2e2c15683bae5b1565642601 | 212 | py | Python | project_name/users/views.py | rnegron/django-project-template | 165229b46d1ffebebaeab22f86089e053c995302 | [
"MIT"
] | 7 | 2020-04-12T20:01:46.000Z | 2021-08-06T14:25:09.000Z | project_name/users/views.py | rnegron/django-project-template | 165229b46d1ffebebaeab22f86089e053c995302 | [
"MIT"
] | 183 | 2020-04-16T09:14:59.000Z | 2022-03-30T09:20:42.000Z | project_name/users/views.py | rnegron/django-project-template | 165229b46d1ffebebaeab22f86089e053c995302 | [
"MIT"
] | 1 | 2022-03-11T19:08:43.000Z | 2022-03-11T19:08:43.000Z | from rest_framework import generics
from . import models, serializers
class UserListView(generics.ListCreateAPIView):
queryset = models.User.objects.all()
serializer_class = serializers.UserSerializer
| 23.555556 | 49 | 0.801887 | 22 | 212 | 7.636364 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 212 | 8 | 50 | 26.5 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
92cfc0a2ffe508c99fc34d47052c7bf07c66fd38 | 7,903 | py | Python | tests/v2/test_menu.py | ThaDeveloper/FastFoodFast_API | 2fc1255b0aef2404547374c0854911c770c51e27 | [
"MIT"
] | 1 | 2019-02-13T10:51:08.000Z | 2019-02-13T10:51:08.000Z | tests/v2/test_menu.py | ThaDeveloper/FastFoodFast_API | 2fc1255b0aef2404547374c0854911c770c51e27 | [
"MIT"
] | 10 | 2018-09-24T15:55:22.000Z | 2018-10-01T08:15:03.000Z | tests/v2/test_menu.py | ThaDeveloper/FastFoodFast_API | 2fc1255b0aef2404547374c0854911c770c51e27 | [
"MIT"
] | 1 | 2018-10-06T15:17:23.000Z | 2018-10-06T15:17:23.000Z | import json
import unittest
from tests.v2.test_setup import TestSetup
class TestMenu(TestSetup):
def test_menu_access_with_invalid_token(self):
"""Raise unauthorized error invalid token."""
response = self.client.post("/api/v2/menu",
data=json.dumps(self.menu_it... | 43.423077 | 82 | 0.5546 | 850 | 7,903 | 5.015294 | 0.138824 | 0.061928 | 0.03589 | 0.097584 | 0.811166 | 0.741027 | 0.729064 | 0.660568 | 0.640394 | 0.6289 | 0 | 0.019206 | 0.321397 | 7,903 | 181 | 83 | 43.662983 | 0.775685 | 0.080602 | 0 | 0.610294 | 0 | 0 | 0.135655 | 0 | 0 | 0 | 0 | 0 | 0.220588 | 1 | 0.117647 | false | 0 | 0.022059 | 0 | 0.147059 | 0.007353 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 0 | 0 | 4 |
13152aef9c34c1b811c5d3b41e1d6297ac5cbfd9 | 124 | py | Python | code/abc142_b_03.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | 3 | 2019-08-16T16:55:48.000Z | 2021-04-11T10:21:40.000Z | code/abc142_b_03.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | code/abc142_b_03.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | N,K=map(int,input().split())
H=list(map(int,input().split()))
count=0
for h in H:
if h>=K:
count+=1
print(count) | 17.714286 | 32 | 0.580645 | 25 | 124 | 2.88 | 0.6 | 0.166667 | 0.305556 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.177419 | 124 | 7 | 33 | 17.714286 | 0.686275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1325555b77423b4b4b5782f1cf9a877a04bbb0c8 | 60 | py | Python | src/paths.py | networkdynamics/PuckIt | 08542c324440919960198eae4ca8855f2ac43134 | [
"Apache-2.0"
] | 1 | 2018-05-16T20:58:32.000Z | 2018-05-16T20:58:32.000Z | src/paths.py | networkdynamics/PuckIt | 08542c324440919960198eae4ca8855f2ac43134 | [
"Apache-2.0"
] | null | null | null | src/paths.py | networkdynamics/PuckIt | 08542c324440919960198eae4ca8855f2ac43134 | [
"Apache-2.0"
] | null | null | null | data_dir = '/home/ndg/projects/shared_datasets/PuckIt/data'
| 30 | 59 | 0.8 | 9 | 60 | 5.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 60 | 1 | 60 | 60 | 0.807018 | 0 | 0 | 0 | 0 | 0 | 0.766667 | 0.766667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
133244f915bf9a4d025995ad4b90df11ced77a9e | 626 | py | Python | radynpy/cdf/auxtypes/AuxTypes.py | Goobley/radynpy | acf685f6ad17be63065fc468e40293b6cf063081 | [
"MIT"
] | 7 | 2019-01-27T20:41:38.000Z | 2020-02-18T16:27:26.000Z | radynpy/cdf/auxtypes/AuxTypes.py | grahamkerr/radynpy | 63e06c63476b4cc74568da443f71c12412b83bac | [
"MIT"
] | 3 | 2020-02-25T18:51:20.000Z | 2020-03-19T13:02:14.000Z | radynpy/cdf/auxtypes/AuxTypes.py | grahamkerr/radynpy | 63e06c63476b4cc74568da443f71c12412b83bac | [
"MIT"
] | 1 | 2020-02-18T00:20:16.000Z | 2020-02-18T00:20:16.000Z | class Val:
def __init__(self, val):
self.val = val
def __repr__(self):
return 'Val(%s)' % self.val.__repr__()
class Array:
def __init__(self, shape):
self.shape = shape
def __repr__(self):
return 'Array%s' % self.shape.__repr__()
def idl_repr(self):
s = '[... | 19.5625 | 48 | 0.496805 | 75 | 626 | 3.706667 | 0.32 | 0.161871 | 0.118705 | 0.183453 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002532 | 0.36901 | 626 | 31 | 49 | 20.193548 | 0.701266 | 0 | 0 | 0.125 | 0 | 0 | 0.0384 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 1 | 0.291667 | false | 0.041667 | 0 | 0.125 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
133cb7f6b246d652f37851f2c0a43bf90a24afd2 | 125 | py | Python | blog/admin.py | jberends/django_neo_3.3.0 | b6a4f5460f82fd019c2ea4e043a57d59104a3e52 | [
"Unlicense"
] | null | null | null | blog/admin.py | jberends/django_neo_3.3.0 | b6a4f5460f82fd019c2ea4e043a57d59104a3e52 | [
"Unlicense"
] | null | null | null | blog/admin.py | jberends/django_neo_3.3.0 | b6a4f5460f82fd019c2ea4e043a57d59104a3e52 | [
"Unlicense"
] | null | null | null | from django.contrib import admin
# Register your models here.
from blog.models import Article
admin.site.register(Article)
| 17.857143 | 32 | 0.808 | 18 | 125 | 5.611111 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128 | 125 | 6 | 33 | 20.833333 | 0.926606 | 0.208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
1357e98307405edd28570fb5a73d7d9b770f9e8b | 619 | py | Python | buildconfig/runpersistent/__init__.py | kcemenike/buildconfig | 1090f54bf4def722e0aecbd3c273ae0064163008 | [
"MIT"
] | null | null | null | buildconfig/runpersistent/__init__.py | kcemenike/buildconfig | 1090f54bf4def722e0aecbd3c273ae0064163008 | [
"MIT"
] | null | null | null | buildconfig/runpersistent/__init__.py | kcemenike/buildconfig | 1090f54bf4def722e0aecbd3c273ae0064163008 | [
"MIT"
] | 1 | 2021-01-22T17:44:14.000Z | 2021-01-22T17:44:14.000Z | from __future__ import print_function
import sys
import os
if sys.platform == 'darwin':
from . import runpersistent_helpercmd
runpersistent_helpercmd.sessioncmd = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'background-process-darwin.sh')
from .runpersistent_helpercmd import *
elif sys.platfo... | 36.411765 | 129 | 0.772213 | 75 | 619 | 6.12 | 0.413333 | 0.287582 | 0.100218 | 0.139434 | 0.675381 | 0.527233 | 0.527233 | 0.527233 | 0.527233 | 0.527233 | 0 | 0 | 0.12601 | 619 | 16 | 130 | 38.6875 | 0.848429 | 0 | 0 | 0.307692 | 0 | 0 | 0.153722 | 0.090615 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.538462 | 0 | 0.538462 | 0.076923 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
136f1dede9b93c422fa63c7b94012c542cacc1d5 | 481 | py | Python | tests/constraints/test_required.py | vincentchevrier/tableschema-py | d47b6d73ab3ea1051c866b93b6e2b9202bbd40b1 | [
"MIT"
] | 224 | 2017-04-11T11:29:48.000Z | 2022-03-26T18:34:50.000Z | tests/constraints/test_required.py | vincentchevrier/tableschema-py | d47b6d73ab3ea1051c866b93b6e2b9202bbd40b1 | [
"MIT"
] | 111 | 2017-03-28T19:02:01.000Z | 2021-12-20T08:42:21.000Z | tests/constraints/test_required.py | vincentchevrier/tableschema-py | d47b6d73ab3ea1051c866b93b6e2b9202bbd40b1 | [
"MIT"
] | 40 | 2017-04-01T08:21:57.000Z | 2021-02-28T23:52:07.000Z | # -*- coding: utf-8 -*-
from __future__ import division
from __future__ import print_function
from __future__ import absolute_import
from __future__ import unicode_literals
import pytest
from tableschema import constraints
# Tests
@pytest.mark.parametrize('constraint, value, result', [
(False, 1, True),
(Tr... | 24.05 | 66 | 0.75052 | 58 | 481 | 5.844828 | 0.534483 | 0.117994 | 0.188791 | 0.165192 | 0.20059 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007335 | 0.149688 | 481 | 19 | 67 | 25.315789 | 0.821516 | 0.056133 | 0 | 0 | 0 | 0 | 0.055432 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.076923 | false | 0 | 0.461538 | 0 | 0.538462 | 0.076923 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1378433f0371f8ad12f55a1261517f5515690250 | 81 | py | Python | psiturk/__main__.py | CatherineWong/psiTurk | ddd7b44b87a42a3e5eb16067e1a8a8a408a29353 | [
"MIT"
] | 6 | 2015-02-13T12:46:07.000Z | 2020-02-20T08:56:15.000Z | psiturk/__main__.py | CatherineWong/psiTurk | ddd7b44b87a42a3e5eb16067e1a8a8a408a29353 | [
"MIT"
] | null | null | null | psiturk/__main__.py | CatherineWong/psiTurk | ddd7b44b87a42a3e5eb16067e1a8a8a408a29353 | [
"MIT"
] | 1 | 2020-10-09T12:57:24.000Z | 2020-10-09T12:57:24.000Z |
if __name__ == '__main__':
import experiment
experiment.run_webserver()
| 16.2 | 30 | 0.703704 | 8 | 81 | 6 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197531 | 81 | 4 | 31 | 20.25 | 0.738462 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1382121718cea8b0928efecb50f43cee2c38939c | 335 | py | Python | tukey/status/templatetags/status_tags.py | Li-Ko/tukey_portal | 8dc395ef1a1ebaa806d23c88ce51460e6c202921 | [
"Apache-2.0"
] | null | null | null | tukey/status/templatetags/status_tags.py | Li-Ko/tukey_portal | 8dc395ef1a1ebaa806d23c88ce51460e6c202921 | [
"Apache-2.0"
] | null | null | null | tukey/status/templatetags/status_tags.py | Li-Ko/tukey_portal | 8dc395ef1a1ebaa806d23c88ce51460e6c202921 | [
"Apache-2.0"
] | null | null | null | from django import template
register = template.Library()
@register.filter(name='getkey')
def getkey(value, arg):
return value[arg]
@register.filter(name='multiply')
def multiply(value, arg):
return float(value) * float(arg)
@register.filter(name='startswith')
def startswith(value, arg):
return value.s... | 20.9375 | 37 | 0.728358 | 43 | 335 | 5.674419 | 0.372093 | 0.131148 | 0.221311 | 0.155738 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131343 | 335 | 15 | 38 | 22.333333 | 0.838488 | 0 | 0 | 0 | 0 | 0 | 0.071642 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.272727 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
138b3056f96a6b2a1dfb7f56f80cc797f57598f5 | 4,799 | py | Python | pyeccodes/defs/grib2/tables/6/4_202_table.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | 7 | 2020-04-14T09:41:17.000Z | 2021-08-06T09:38:19.000Z | pyeccodes/defs/grib2/tables/local/edzw/1/4_7_table.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | null | null | null | pyeccodes/defs/grib2/tables/local/edzw/1/4_7_table.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | 3 | 2020-04-30T12:44:48.000Z | 2020-12-15T08:40:26.000Z | def load(h):
return ({'abbr': 192, 'code': 192, 'title': 'Reserved for local use'},
{'abbr': 193, 'code': 193, 'title': 'Reserved for local use'},
{'abbr': 194, 'code': 194, 'title': 'Reserved for local use'},
{'abbr': 195, 'code': 195, 'title': 'Reserved for local use'},
... | 72.712121 | 74 | 0.507397 | 577 | 4,799 | 4.220104 | 0.133449 | 0.336345 | 0.413963 | 0.543326 | 0.724435 | 0.724435 | 0 | 0 | 0 | 0 | 0 | 0.11002 | 0.278391 | 4,799 | 65 | 75 | 73.830769 | 0.593127 | 0 | 0 | 0 | 0 | 0 | 0.463638 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015385 | false | 0 | 0 | 0.015385 | 0.030769 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
138d4b0faf949a63aaf989b36932828fb9d64b49 | 6,898 | py | Python | bif_with_color/beta=0.1/compare.py | helene-todd/M2_thesis_code | f844d6652229c6abe09bd40aa43f5002faa9e5ba | [
"MIT"
] | null | null | null | bif_with_color/beta=0.1/compare.py | helene-todd/M2_thesis_code | f844d6652229c6abe09bd40aa43f5002faa9e5ba | [
"MIT"
] | null | null | null | bif_with_color/beta=0.1/compare.py | helene-todd/M2_thesis_code | f844d6652229c6abe09bd40aa43f5002faa9e5ba | [
"MIT"
] | null | null | null | from matplotlib import cm, rcParams
import matplotlib.pyplot as plt
import matplotlib.colors as colors
import matplotlib as matplotlib
import numpy as np
import math as math
import random as rand
import os, sys
import csv
import argparse
#plt.rcParams['axes.xmargin'] = 0
#plt.rcParams['axes.facecolor'] = 'black'
c = ... | 34.318408 | 206 | 0.580168 | 1,040 | 6,898 | 3.758654 | 0.204808 | 0.053211 | 0.030698 | 0.029163 | 0.734203 | 0.728575 | 0.718342 | 0.710668 | 0.694295 | 0.694295 | 0 | 0.04541 | 0.259351 | 6,898 | 200 | 207 | 34.49 | 0.71971 | 0.104668 | 0 | 0.642857 | 0 | 0 | 0.088639 | 0.007835 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014286 | false | 0 | 0.071429 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
13d085848dc8009f1f452a871e7570d9ae0697c9 | 4,122 | py | Python | python/phonenumbers/data/region_ZW.py | chronossc/python-phonenumbers | 2ea483bfa9ac19144183dadaa7cafb2772a72bfe | [
"Apache-2.0"
] | 1 | 2016-11-20T00:50:06.000Z | 2016-11-20T00:50:06.000Z | python/phonenumbers/data/region_ZW.py | chronossc/python-phonenumbers | 2ea483bfa9ac19144183dadaa7cafb2772a72bfe | [
"Apache-2.0"
] | null | null | null | python/phonenumbers/data/region_ZW.py | chronossc/python-phonenumbers | 2ea483bfa9ac19144183dadaa7cafb2772a72bfe | [
"Apache-2.0"
] | null | null | null | """Auto-generated file, do not edit by hand. ZW metadata"""
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata
PHONE_METADATA_ZW = PhoneMetadata(id='ZW', country_code=263, international_prefix='00',
general_desc=PhoneNumberDesc(national_number_pattern='2(?:[012457-9]\\d{3,8}|6\\d{3,6})|[13-79... | 137.4 | 420 | 0.652596 | 704 | 4,122 | 3.644886 | 0.194602 | 0.131723 | 0.081839 | 0.182385 | 0.653546 | 0.63562 | 0.605222 | 0.547545 | 0.535853 | 0.291504 | 0 | 0.154362 | 0.060165 | 4,122 | 29 | 421 | 142.137931 | 0.508002 | 0.012858 | 0 | 0 | 1 | 0.259259 | 0.360571 | 0.271228 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.037037 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b9166b600245cfa8c67be03e7507a81719fb2f5a | 391 | py | Python | zenbot/models/serializable.py | Dmunch04/ZenBot | 5002c20eec70b297cfe8bcce5639e67dbf15fa70 | [
"MIT"
] | 7 | 2019-06-16T15:54:36.000Z | 2022-03-28T08:53:49.000Z | zenbot/models/serializable.py | Dmunch04/ZenBot | 5002c20eec70b297cfe8bcce5639e67dbf15fa70 | [
"MIT"
] | null | null | null | zenbot/models/serializable.py | Dmunch04/ZenBot | 5002c20eec70b297cfe8bcce5639e67dbf15fa70 | [
"MIT"
] | 1 | 2019-06-14T21:42:47.000Z | 2019-06-14T21:42:47.000Z | from typing import Dict, Any
class DBObject(object):
@staticmethod
def new(*args):
raise NotImplementedError
@classmethod
def to_dict(cls) -> Dict[str, Any]:
raise NotImplementedError
# TODO: find a better solution for this method signature i guess
@staticmethod
def from_... | 23 | 68 | 0.672634 | 46 | 391 | 5.673913 | 0.652174 | 0.275862 | 0.214559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.248082 | 391 | 16 | 69 | 24.4375 | 0.887755 | 0.158568 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b91ff119509115b912470c777039ac1d83e3ff9f | 211 | py | Python | test/test_dicti.py | rudolfbyker/pydicti | fa414fd7f8ba3103f40452b2740144f6f50fee69 | [
"WTFPL"
] | null | null | null | test/test_dicti.py | rudolfbyker/pydicti | fa414fd7f8ba3103f40452b2740144f6f50fee69 | [
"WTFPL"
] | null | null | null | test/test_dicti.py | rudolfbyker/pydicti | fa414fd7f8ba3103f40452b2740144f6f50fee69 | [
"WTFPL"
] | null | null | null | import unittest
import test.test_common
from pydicti import build_dicti
class Test_dicti(test.test_common.TestBase):
base = dict
cls = build_dicti(dict)
if __name__ == '__main__':
unittest.main()
| 17.583333 | 44 | 0.744076 | 29 | 211 | 4.965517 | 0.551724 | 0.111111 | 0.194444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170616 | 211 | 11 | 45 | 19.181818 | 0.822857 | 0 | 0 | 0 | 0 | 0 | 0.037915 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b929e0dd1dfba3691aa0552d878dbbfb435df93e | 33 | py | Python | prototype/test/pythonvm_book/b.py | zoloypzuo/ZeloPy | 43d9242a509737fe1bb66deba73aa9e749b53c62 | [
"MIT"
] | null | null | null | prototype/test/pythonvm_book/b.py | zoloypzuo/ZeloPy | 43d9242a509737fe1bb66deba73aa9e749b53c62 | [
"MIT"
] | null | null | null | prototype/test/pythonvm_book/b.py | zoloypzuo/ZeloPy | 43d9242a509737fe1bb66deba73aa9e749b53c62 | [
"MIT"
] | null | null | null | x = 100
def foo():
print x
| 5.5 | 11 | 0.484848 | 6 | 33 | 2.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.393939 | 33 | 5 | 12 | 6.6 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b94ebe27b4edb4d21ed09ce981a0ab09d3846801 | 18 | py | Python | cloudmesh/ssh/__version__.py | cloudmesh/cloudmesh-ssh | ed10c5524defe99ed782150c4870545df7d3f28b | [
"Apache-2.0"
] | null | null | null | cloudmesh/ssh/__version__.py | cloudmesh/cloudmesh-ssh | ed10c5524defe99ed782150c4870545df7d3f28b | [
"Apache-2.0"
] | null | null | null | cloudmesh/ssh/__version__.py | cloudmesh/cloudmesh-ssh | ed10c5524defe99ed782150c4870545df7d3f28b | [
"Apache-2.0"
] | 1 | 2020-03-23T03:15:47.000Z | 2020-03-23T03:15:47.000Z | version = "4.3.5"
| 9 | 17 | 0.555556 | 4 | 18 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.166667 | 18 | 1 | 18 | 18 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b96be77b050823b350d1e42c1158e56d00b1eba5 | 466 | py | Python | client/models.py | memoartpad/orders | 032eed1e881a1faa4d8ca7765a3afec247121649 | [
"MIT"
] | null | null | null | client/models.py | memoartpad/orders | 032eed1e881a1faa4d8ca7765a3afec247121649 | [
"MIT"
] | null | null | null | client/models.py | memoartpad/orders | 032eed1e881a1faa4d8ca7765a3afec247121649 | [
"MIT"
] | null | null | null | from django.db import models
class Client(models.Model):
TYPE_CHOICES = (
("NORMAL", "Normal"),
("PLATA", "Plata"),
("ORO", "Oro"),
("PLATINO", "Platino"),
)
name = models.CharField(max_length=64, blank=False)
code = models.CharField(max_length=64, blank=False)
photo = models.CharField... | 29.125 | 81 | 0.669528 | 58 | 466 | 5.258621 | 0.465517 | 0.245902 | 0.295082 | 0.393443 | 0.413115 | 0.236066 | 0.236066 | 0 | 0 | 0 | 0 | 0.028424 | 0.169528 | 466 | 15 | 82 | 31.066667 | 0.75969 | 0 | 0 | 0 | 0 | 0 | 0.103004 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.615385 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
b96ff1317a6f79a084fd6801a83c8487f346a685 | 185 | py | Python | project_name/todo_api/serializers.py | Saknowman/django-rest-vue-template | f97139b28aa148609561a1018ea2aef9bd3b4374 | [
"MIT"
] | null | null | null | project_name/todo_api/serializers.py | Saknowman/django-rest-vue-template | f97139b28aa148609561a1018ea2aef9bd3b4374 | [
"MIT"
] | 9 | 2019-11-02T00:37:12.000Z | 2022-02-10T13:49:16.000Z | project_name/todo_api/serializers.py | Saknowman/django-rest-vue-template | f97139b28aa148609561a1018ea2aef9bd3b4374 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import TodoTask
class TodoTask_Serializer(serializers.ModelSerializer):
class Meta:
model = TodoTask
fields = ('title', )
| 23.125 | 55 | 0.767568 | 20 | 185 | 7 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 185 | 7 | 56 | 26.428571 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b98cc20695ee390c95942db4ed3daa2c0089e86d | 22 | py | Python | .venv/lib/python3.9/site-packages/isort/_version.py | linuscyl/multimedia-computing-assignment | 4932f531f67a7f57e132ea358bf70a2347021aa9 | [
"Apache-2.0"
] | null | null | null | .venv/lib/python3.9/site-packages/isort/_version.py | linuscyl/multimedia-computing-assignment | 4932f531f67a7f57e132ea358bf70a2347021aa9 | [
"Apache-2.0"
] | 20 | 2021-05-03T18:02:23.000Z | 2022-03-12T12:01:04.000Z | Lib/site-packages/isort/_version.py | fochoao/cpython | 3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9 | [
"bzip2-1.0.6",
"0BSD"
] | null | null | null | __version__ = "5.9.1"
| 11 | 21 | 0.636364 | 4 | 22 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.136364 | 22 | 1 | 22 | 22 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b9b45f2340d7d5ccc216bfeb8471083827648976 | 231 | py | Python | task3.py | Yeder34/python-tasks | 2feb23fd97968bf2fae3bd7da59adf4156baa331 | [
"MIT"
] | null | null | null | task3.py | Yeder34/python-tasks | 2feb23fd97968bf2fae3bd7da59adf4156baa331 | [
"MIT"
] | null | null | null | task3.py | Yeder34/python-tasks | 2feb23fd97968bf2fae3bd7da59adf4156baa331 | [
"MIT"
] | null | null | null |
def find_longest_word(words_list):
word_len = []
for n in words_list:
word_len.append((len(n), n))
word_len.sort()
return word_len[-1][1]
print(find_longest_word(["PHP", "Exercises", "Backend"]))
| 23.1 | 58 | 0.614719 | 34 | 231 | 3.882353 | 0.529412 | 0.212121 | 0.227273 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011173 | 0.225108 | 231 | 9 | 59 | 25.666667 | 0.726257 | 0 | 0 | 0 | 0 | 0 | 0.085973 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.285714 | 0.142857 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b9c328c888c3c6c361ae2c21311d59fc8aa6ebb0 | 153 | py | Python | python/async/common.py | dkandalov/katas | 1c040f5cbc5fb10c11df3f2738814701f7b777b8 | [
"Unlicense"
] | 7 | 2015-05-03T16:57:24.000Z | 2020-07-02T19:35:14.000Z | python/async/common.py | dkandalov/katas | 1c040f5cbc5fb10c11df3f2738814701f7b777b8 | [
"Unlicense"
] | 15 | 2015-10-18T09:09:43.000Z | 2022-02-01T00:57:47.000Z | python/async/common.py | dkandalov/katas | 1c040f5cbc5fb10c11df3f2738814701f7b777b8 | [
"Unlicense"
] | 3 | 2017-08-17T18:25:46.000Z | 2021-02-07T10:59:40.000Z | def expect_to_be_equal(actual, expected):
if actual != expected:
raise Exception("Expected: " + str(expected) + "\nbut was: " + str(actual))
| 38.25 | 83 | 0.653595 | 19 | 153 | 5.105263 | 0.684211 | 0.28866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196078 | 153 | 3 | 84 | 51 | 0.788618 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b9e1d0836f063940302d2c39140c7480f92ea57e | 8,573 | py | Python | release/stubs.min/System/ComponentModel/__init___parts/PropertyDescriptorCollection.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 182 | 2017-06-27T02:26:15.000Z | 2022-03-30T18:53:43.000Z | release/stubs.min/System/ComponentModel/__init___parts/PropertyDescriptorCollection.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 28 | 2017-06-27T13:38:23.000Z | 2022-03-15T11:19:44.000Z | release/stubs.min/System/ComponentModel/__init___parts/PropertyDescriptorCollection.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 67 | 2017-06-28T09:43:59.000Z | 2022-03-20T21:17:10.000Z | class PropertyDescriptorCollection(object,ICollection,IEnumerable,IList,IDictionary):
"""
Represents a collection of System.ComponentModel.PropertyDescriptor objects.
PropertyDescriptorCollection(properties: Array[PropertyDescriptor])
PropertyDescriptorCollection(properties: Array[PropertyDescriptor],r... | 25.978788 | 215 | 0.722268 | 932 | 8,573 | 6.530043 | 0.148069 | 0.115018 | 0.193559 | 0.114525 | 0.633914 | 0.534834 | 0.479132 | 0.450049 | 0.432632 | 0.398784 | 0 | 0 | 0.202613 | 8,573 | 329 | 216 | 26.057751 | 0.890287 | 0.786306 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0.454545 | 0 | 0 | 0.522727 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
b9ea9787d9f89febc4f219bc01e9bc8d67359064 | 648 | py | Python | extended_rl/agents/misc_agents.py | semitrivial/ExtendedEnvironments | 1183ff9a03468452db929244c8c7c3e97e392223 | [
"MIT"
] | null | null | null | extended_rl/agents/misc_agents.py | semitrivial/ExtendedEnvironments | 1183ff9a03468452db929244c8c7c3e97e392223 | [
"MIT"
] | 16 | 2021-02-28T22:25:17.000Z | 2021-10-13T20:15:33.000Z | extended_rl/agents/misc_agents.py | semitrivial/ExtendedEnvironments | 1183ff9a03468452db929244c8c7c3e97e392223 | [
"MIT"
] | 3 | 2021-02-23T00:28:29.000Z | 2021-11-12T02:47:59.000Z | from extended_rl.prerandom import agentrandom
class RandomAgent:
"""
Agent which acts randomly. Pulls random numbers from a pre-generated
store of random numbers to ensure semi-determinacy.
"""
def __init__(self, **kwargs):
self.cnt = 0
def act(self, obs):
return agentrandom.r... | 21.6 | 72 | 0.623457 | 87 | 648 | 4.482759 | 0.528736 | 0.053846 | 0.05641 | 0.087179 | 0.220513 | 0.123077 | 0.123077 | 0.123077 | 0.123077 | 0 | 0 | 0.008529 | 0.276235 | 648 | 29 | 73 | 22.344828 | 0.823028 | 0.239198 | 0 | 0.533333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.066667 | 0.266667 | 0.866667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
6a0f4498021034a7efcbec6f8e32c3d381799ddd | 481 | py | Python | helpers/__init__.py | hpagseddy/ZPUI | b82819e523987639c2dfab417f9895d7cd7ce049 | [
"Apache-2.0",
"MIT"
] | null | null | null | helpers/__init__.py | hpagseddy/ZPUI | b82819e523987639c2dfab417f9895d7cd7ce049 | [
"Apache-2.0",
"MIT"
] | 2 | 2020-01-17T00:44:53.000Z | 2020-01-19T21:10:48.000Z | helpers/__init__.py | hpagseddy/ZPUI | b82819e523987639c2dfab417f9895d7cd7ce049 | [
"Apache-2.0",
"MIT"
] | 1 | 2020-01-14T22:44:27.000Z | 2020-01-14T22:44:27.000Z | from config_parse import read_config, write_config, read_or_create_config, save_config_gen, save_config_method_gen
from general import local_path_gen, flatten, Singleton
from runners import BooleanEvent, Oneshot, BackgroundRunner
from usability import ExitHelper, remove_left_failsafe
from logger import setup_logger
fro... | 53.444444 | 114 | 0.879418 | 72 | 481 | 5.5 | 0.625 | 0.050505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093555 | 481 | 8 | 115 | 60.125 | 0.908257 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
dbdedebfa0308ad37a50fbeba1cad3e0c9e43f51 | 912 | py | Python | String/8_StringToInteger.py | cls1991/leetcode | 0fd165afa2ec339a6f194bc57f8810e66cd2822b | [
"MIT"
] | 180 | 2018-01-25T01:50:04.000Z | 2021-11-09T11:47:45.000Z | String/8_StringToInteger.py | cls1991/leetcode | 0fd165afa2ec339a6f194bc57f8810e66cd2822b | [
"MIT"
] | 6 | 2018-01-25T07:51:51.000Z | 2019-10-26T14:10:53.000Z | String/8_StringToInteger.py | cls1991/leetcode | 0fd165afa2ec339a6f194bc57f8810e66cd2822b | [
"MIT"
] | 29 | 2018-01-25T01:55:58.000Z | 2019-09-02T07:19:59.000Z | # coding: utf8
"""
题目链接: https://leetcode.com/problems/string-to-integer-atoi/description.
题目描述:
Implement atoi to convert a string to an integer.
Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself
what are the possible input cas... | 28.5 | 120 | 0.683114 | 131 | 912 | 4.755725 | 0.725191 | 0.025682 | 0.057785 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0131 | 0.246711 | 912 | 31 | 121 | 29.419355 | 0.893741 | 0.821272 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
dbec3e8a9037188e35a747323b899ed45dbc3469 | 62 | py | Python | j5/backends/hardware/j5/__init__.py | trickeydan/j5-dev | ba9e2adcb6d9ed766e4be048cb77cf3fa6592b5f | [
"MIT"
] | 10 | 2019-01-19T13:09:37.000Z | 2021-06-18T13:40:10.000Z | j5/backends/hardware/j5/__init__.py | trickeydan/j5-dev | ba9e2adcb6d9ed766e4be048cb77cf3fa6592b5f | [
"MIT"
] | 681 | 2019-01-22T18:12:23.000Z | 2022-03-25T14:14:31.000Z | j5/backends/hardware/j5/__init__.py | trickeydan/j5-dev | ba9e2adcb6d9ed766e4be048cb77cf3fa6592b5f | [
"MIT"
] | 8 | 2019-02-22T21:45:47.000Z | 2021-11-17T19:43:33.000Z | """Abstract hardware backend implementions provided by j5."""
| 31 | 61 | 0.774194 | 7 | 62 | 6.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.112903 | 62 | 1 | 62 | 62 | 0.854545 | 0.887097 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e00473f1ca85b88baa122f8fd0eb1a01df22eef7 | 1,265 | py | Python | tests/kyu_6_tests/test_matrix_expanding.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | tests/kyu_6_tests/test_matrix_expanding.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | tests/kyu_6_tests/test_matrix_expanding.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | import unittest
from katas.kyu_6.matrix_expanding import expand
class MatrixExpandingTestCase(unittest.TestCase):
def test_equal_1(self):
self.assertEqual(expand([[1, 1], [1, 1]], 0),
[[0, 0, 0, 0],
[0, 1, 1, 0],
[0, 1, 1, 0],
... | 39.53125 | 69 | 0.309881 | 161 | 1,265 | 2.385093 | 0.173913 | 0.458333 | 0.609375 | 0.708333 | 0.539063 | 0.473958 | 0.427083 | 0.364583 | 0.213542 | 0.213542 | 0 | 0.089532 | 0.426087 | 1,265 | 31 | 70 | 40.806452 | 0.439394 | 0 | 0 | 0.230769 | 0 | 0 | 0.087747 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 1 | 0.115385 | false | 0 | 0.076923 | 0 | 0.230769 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e00ba22f75c288ced87ea1a33f492d70ba22faa3 | 139 | py | Python | src/harvesters/__init__.py | jcormier/harvesters | 81ec7aad4799e4432f7bd474b9215d248b7e1be5 | [
"Apache-2.0"
] | null | null | null | src/harvesters/__init__.py | jcormier/harvesters | 81ec7aad4799e4432f7bd474b9215d248b7e1be5 | [
"Apache-2.0"
] | null | null | null | src/harvesters/__init__.py | jcormier/harvesters | 81ec7aad4799e4432f7bd474b9215d248b7e1be5 | [
"Apache-2.0"
] | null | null | null |
from ._version import get_versions
__version__ = get_versions()['version']
if not __version__:
__version__ = '1.1.0'
del get_versions
| 19.857143 | 39 | 0.755396 | 19 | 139 | 4.684211 | 0.526316 | 0.370787 | 0.404494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02521 | 0.143885 | 139 | 6 | 40 | 23.166667 | 0.722689 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
e00ed92f2db69490c4b8ea69efec8294aded4567 | 126 | py | Python | inference-engine/ie_bridges/python/src/openvino/inference_engine/__init__.py | evgenytalanin-intel/openvino | c3aa866a3318fe9fa8c7ebd3bd333b075bb1cc36 | [
"Apache-2.0"
] | null | null | null | inference-engine/ie_bridges/python/src/openvino/inference_engine/__init__.py | evgenytalanin-intel/openvino | c3aa866a3318fe9fa8c7ebd3bd333b075bb1cc36 | [
"Apache-2.0"
] | 1 | 2021-09-09T08:43:57.000Z | 2021-09-10T12:39:16.000Z | inference-engine/ie_bridges/python/src/openvino/inference_engine/__init__.py | evgenytalanin-intel/openvino | c3aa866a3318fe9fa8c7ebd3bd333b075bb1cc36 | [
"Apache-2.0"
] | null | null | null | from .ie_api import *
__all__ = ['IENetwork', "IETensorDesc", "IECore", "IEBlob", "get_version"]
__version__ = get_version()
| 25.2 | 74 | 0.706349 | 14 | 126 | 5.571429 | 0.785714 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 126 | 4 | 75 | 31.5 | 0.702703 | 0 | 0 | 0 | 0 | 0 | 0.352 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 0 | 4 |
e01932064c17aaadff74b992df421d9d366e6504 | 84 | py | Python | cubs/apps.py | kiza054/woodhall-website | 73a27e93da818bff2c3efbea3409cf63356a4d32 | [
"MIT"
] | 2 | 2021-02-01T13:50:51.000Z | 2022-02-03T19:30:16.000Z | cubs/apps.py | kiza054/woodhall-website | 73a27e93da818bff2c3efbea3409cf63356a4d32 | [
"MIT"
] | null | null | null | cubs/apps.py | kiza054/woodhall-website | 73a27e93da818bff2c3efbea3409cf63356a4d32 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class CubsConfig(AppConfig):
name = 'cubs' | 21 | 34 | 0.72619 | 10 | 84 | 6.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 84 | 4 | 35 | 21 | 0.897059 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e03ebd76d9d486c736e466e4fbaf813d193383fe | 466 | py | Python | bugtests/test186a.py | doom38/jython_v2.2.1 | 0803a0c953c294e6d14f9fc7d08edf6a3e630a15 | [
"CNRI-Jython"
] | null | null | null | bugtests/test186a.py | doom38/jython_v2.2.1 | 0803a0c953c294e6d14f9fc7d08edf6a3e630a15 | [
"CNRI-Jython"
] | null | null | null | bugtests/test186a.py | doom38/jython_v2.2.1 | 0803a0c953c294e6d14f9fc7d08edf6a3e630a15 | [
"CNRI-Jython"
] | null | null | null | import java
# Define a Python class that subclasses the Applet class
# (java.applet.Applet)
class test186a (java.applet.Applet):
def __init__(self):
self.list = java.awt.List()
self.add(self.list)
def init(self):
self.list.add("Init called")
def destroy(self):
self.l... | 25.888889 | 56 | 0.613734 | 63 | 466 | 4.47619 | 0.333333 | 0.170213 | 0.212766 | 0.212766 | 0.134752 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008671 | 0.257511 | 466 | 17 | 57 | 27.411765 | 0.806358 | 0.160944 | 0 | 0 | 0 | 0 | 0.123711 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0 | 0.076923 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
e06264339e0e928db4d8230f26c91974122b3fce | 92 | py | Python | sghymnal/foes/apps.py | shortnd/sghymnal | c10d9a7e2fda803dcb5046b9f7bc099f32b6c603 | [
"MIT"
] | null | null | null | sghymnal/foes/apps.py | shortnd/sghymnal | c10d9a7e2fda803dcb5046b9f7bc099f32b6c603 | [
"MIT"
] | null | null | null | sghymnal/foes/apps.py | shortnd/sghymnal | c10d9a7e2fda803dcb5046b9f7bc099f32b6c603 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class FoesConfig(AppConfig):
name = "sghymnal.foes"
| 15.333333 | 33 | 0.75 | 11 | 92 | 6.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 92 | 5 | 34 | 18.4 | 0.896104 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e06e3c1e2ea68ad23b9d4f02a6bc06b5dac12107 | 527 | py | Python | 01-DesenvolvimentoDeSistemas/02-LinguagensDeProgramacao/01-Python/01-ListaDeExercicios/02-Aluno/Ariston/exc0015.py | moacirsouza/nadas | ad98d73b4281d1581fd2b2a9d29001acb426ee56 | [
"MIT"
] | 1 | 2020-07-03T13:54:18.000Z | 2020-07-03T13:54:18.000Z | 01-DesenvolvimentoDeSistemas/02-LinguagensDeProgramacao/01-Python/01-ListaDeExercicios/02-Aluno/Ariston/exc0015.py | moacirsouza/nadas | ad98d73b4281d1581fd2b2a9d29001acb426ee56 | [
"MIT"
] | null | null | null | 01-DesenvolvimentoDeSistemas/02-LinguagensDeProgramacao/01-Python/01-ListaDeExercicios/02-Aluno/Ariston/exc0015.py | moacirsouza/nadas | ad98d73b4281d1581fd2b2a9d29001acb426ee56 | [
"MIT"
] | null | null | null | print('Escreva um programa que pergunte a quantidade de Km percorridos por um carro alugado e a quantidade de dias pelos quais ele foi alugado.')
print(' Calcule o preço a pagar, sabendo que o carro custa R$60 por dia e R$0.15 por Km rodado.\n')
quilometro = int(input('Quantos quilometros o carro andou: '))
dias = int(... | 87.833333 | 145 | 0.732448 | 93 | 527 | 4.150538 | 0.526882 | 0.062176 | 0.067358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024664 | 0.1537 | 527 | 6 | 146 | 87.833333 | 0.840807 | 0 | 0 | 0 | 0 | 0.5 | 0.723485 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
0eb2186e58f85756fac36fbbb9b05c5395ededfa | 74 | py | Python | example/setup.py | obestwalter/tox-virtualenv-no-download | 0689c0bc5c2488de027e4ddc86694e9002063a67 | [
"MIT"
] | 20 | 2017-04-29T23:00:26.000Z | 2019-05-01T00:34:50.000Z | example/setup.py | obestwalter/tox-virtualenv-no-download | 0689c0bc5c2488de027e4ddc86694e9002063a67 | [
"MIT"
] | 4 | 2018-02-01T00:09:54.000Z | 2019-05-17T17:04:42.000Z | example/setup.py | asottile-archive/tox-virtualenv-no-download | 99bd544294f6b691ad83805f2a110a8ca27ab72c | [
"MIT"
] | 3 | 2017-09-14T20:54:04.000Z | 2019-01-09T14:43:58.000Z | from setuptools import setup
setup(name='example-project-please-ignore')
| 18.5 | 43 | 0.810811 | 10 | 74 | 6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 74 | 3 | 44 | 24.666667 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0.391892 | 0.391892 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
0eb6734f7adb4aee621e1521eae16576b1fa299e | 271 | py | Python | BookPassDesign/tests/world.py | asteroidDavis/BookPass | f4ecf3196073b7360f0af26dc3e0f377c3646529 | [
"MIT"
] | null | null | null | BookPassDesign/tests/world.py | asteroidDavis/BookPass | f4ecf3196073b7360f0af26dc3e0f377c3646529 | [
"MIT"
] | null | null | null | BookPassDesign/tests/world.py | asteroidDavis/BookPass | f4ecf3196073b7360f0af26dc3e0f377c3646529 | [
"MIT"
] | null | null | null | from BookPassDesign.classes import Book
'''
a_long_book() - return an object of the book class with hundreds of pages and fields
'''
#todo: finish this then finish the rest of entries in tests\Page.py
def a_long_book():
long_book = Book.Book()
return long_book
| 24.636364 | 84 | 0.741697 | 45 | 271 | 4.333333 | 0.644444 | 0.164103 | 0.092308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180812 | 271 | 10 | 85 | 27.1 | 0.878378 | 0.243542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
0ed039f4fa62e828f1aa468865ddfbb747d2d37a | 85 | py | Python | drf_nested_forms/exceptions.py | emperorDuke/nested_formdata | f6850b5a3836dbc4af9a7d1104981f2198cc1a30 | [
"MIT"
] | 12 | 2020-03-30T05:41:37.000Z | 2022-02-08T17:52:14.000Z | drf_nested_forms/exceptions.py | emperorDuke/nested_formdata | f6850b5a3836dbc4af9a7d1104981f2198cc1a30 | [
"MIT"
] | 6 | 2020-03-28T21:39:49.000Z | 2021-11-24T21:37:27.000Z | drf_nested_forms/exceptions.py | emperorDuke/nested_formdata | f6850b5a3836dbc4af9a7d1104981f2198cc1a30 | [
"MIT"
] | 2 | 2021-05-14T17:36:42.000Z | 2021-06-06T19:33:04.000Z |
class ParseError(Exception):
"""
Unable to parse data type
"""
pass
| 12.142857 | 29 | 0.576471 | 9 | 85 | 5.444444 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.317647 | 85 | 6 | 30 | 14.166667 | 0.844828 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.