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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f496759263766af254701d84895da1044ba21307 | 84 | py | Python | CodeWars/7 Kyu/All Star Code Challenge #3.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/All Star Code Challenge #3.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/All Star Code Challenge #3.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | def remove_vowels(strng):
return ''.join([i for i in strng if i not in 'aeiou']) | 42 | 58 | 0.666667 | 16 | 84 | 3.4375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 84 | 2 | 58 | 42 | 0.808824 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 5 |
f4a14a4a752f132c9fb734fdfb1c3ca53b30da47 | 241 | py | Python | zabbix_exporter/compat.py | fit2cloudrd/zabbix-exporter | a4ca165fd87db9ae77049902d786d9888fde36bd | [
"BSD-2-Clause"
] | 56 | 2017-03-13T09:50:35.000Z | 2022-03-06T08:44:17.000Z | zabbix_exporter/compat.py | fit2cloudrd/zabbix-exporter | a4ca165fd87db9ae77049902d786d9888fde36bd | [
"BSD-2-Clause"
] | 7 | 2017-02-25T16:23:14.000Z | 2019-06-18T14:14:45.000Z | zabbix_exporter/compat.py | fit2cloudrd/zabbix-exporter | a4ca165fd87db9ae77049902d786d9888fde36bd | [
"BSD-2-Clause"
] | 12 | 2017-08-29T08:31:42.000Z | 2021-05-18T21:41:18.000Z | # flake8: noqa
try:
from http.server import HTTPServer, BaseHTTPRequestHandler
except ImportError:
from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler
try:
import io as StringIO
except ImportError:
import StringIO
| 21.909091 | 65 | 0.788382 | 25 | 241 | 7.6 | 0.6 | 0.168421 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005025 | 0.174274 | 241 | 10 | 66 | 24.1 | 0.949749 | 0.049793 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f4b559fa5e8f59257aec2ba429cfe7d17192df70 | 10,414 | py | Python | facepp-python-sdk-master/test.py | voidhug/Melbourne | b25b594b677101edda16d12084ad07972eb29593 | [
"Apache-2.0"
] | null | null | null | facepp-python-sdk-master/test.py | voidhug/Melbourne | b25b594b677101edda16d12084ad07972eb29593 | [
"Apache-2.0"
] | null | null | null | facepp-python-sdk-master/test.py | voidhug/Melbourne | b25b594b677101edda16d12084ad07972eb29593 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
API_KEY = '07fa940f62796288e7cb675c92829ad0'
API_SECRET = 'ELWIYZZeYf-zPAloQt_1OtqF7CtlQX3W'
from pprint import pformat
import json
import Emotion
def print_result(hint, result):
def encode(obj):
if type(obj) is unicode:
return obj.encode('utf-8')
if type(obj) i... | 42.161943 | 163 | 0.676205 | 1,684 | 10,414 | 4.112233 | 0.162114 | 0.07148 | 0.085776 | 0.10917 | 0.740361 | 0.735596 | 0.726643 | 0.702383 | 0.679711 | 0.675523 | 0 | 0.161036 | 0.135971 | 10,414 | 247 | 164 | 42.161943 | 0.60858 | 0.736797 | 0 | 0 | 0 | 0.055556 | 0.170789 | 0.025128 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.074074 | null | null | 0.148148 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f4bbf6207e0888b28f2833a82f25f206daa67b4f | 97 | py | Python | python/leetcode/068_WIP_text_justification.py | yxun/Notebook | 680ae89a32d3f7d4fdcd541e66cea97e29efbd26 | [
"Apache-2.0"
] | 1 | 2021-10-04T13:26:32.000Z | 2021-10-04T13:26:32.000Z | python/leetcode/068_WIP_text_justification.py | yxun/Notebook | 680ae89a32d3f7d4fdcd541e66cea97e29efbd26 | [
"Apache-2.0"
] | 3 | 2020-03-24T19:34:42.000Z | 2022-01-21T20:15:39.000Z | python/leetcode/068_WIP_text_justification.py | yxun/Notebook | 680ae89a32d3f7d4fdcd541e66cea97e29efbd26 | [
"Apache-2.0"
] | 1 | 2021-04-01T20:56:50.000Z | 2021-04-01T20:56:50.000Z | #%%
"""
- Text Justification
- https://leetcode.com/problems/text-justification/
- Hard
"""
#%%
| 10.777778 | 51 | 0.639175 | 9 | 97 | 6.888889 | 0.777778 | 0.548387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123711 | 97 | 8 | 52 | 12.125 | 0.729412 | 0.865979 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 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 | 5 |
f4be4a2e424d9f1b9ec1d6816790ca553b1b24e7 | 14,195 | py | Python | test/test_http_south.py | foglamp/foglamp-south-http | c1ed3740d168897df46b8648b10f8f1e7a2715ae | [
"Apache-2.0"
] | 1 | 2019-10-22T18:32:54.000Z | 2019-10-22T18:32:54.000Z | test/test_http_south.py | foglamp/foglamp-south-http | c1ed3740d168897df46b8648b10f8f1e7a2715ae | [
"Apache-2.0"
] | 6 | 2018-08-02T19:14:16.000Z | 2019-08-16T09:42:38.000Z | test/test_http_south.py | foglamp/foglamp-south-http | c1ed3740d168897df46b8648b10f8f1e7a2715ae | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# FOGLAMP_BEGIN
# See: http://foglamp.readthedocs.io/
# FOGLAMP_END
"""Unit test for foglamp.plugins.south.http_south.http_south"""
import copy
import json
from unittest import mock
from unittest.mock import call, patch
import pytest
import aiohttp.web_exceptions
from aiohttp.test_utils import... | 37.65252 | 145 | 0.628883 | 1,642 | 14,195 | 5.214373 | 0.139464 | 0.099276 | 0.043798 | 0.028031 | 0.781943 | 0.770965 | 0.744452 | 0.722261 | 0.70626 | 0.67893 | 0 | 0.023049 | 0.229799 | 14,195 | 376 | 146 | 37.75266 | 0.760084 | 0.035365 | 0 | 0.643564 | 0 | 0 | 0.253496 | 0.021674 | 0 | 0 | 0 | 0 | 0.135314 | 1 | 0.033003 | false | 0 | 0.036304 | 0 | 0.075908 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f4e20b9046214deea34ff422ace96a7d2bf3d021 | 89 | py | Python | Programmers/Lv.1/sortedbykey.py | kangjunseo/C- | eafdf57a22b3a794d09cab045d6d60c2842ba347 | [
"MIT"
] | 2 | 2021-08-30T12:37:57.000Z | 2021-11-29T05:42:05.000Z | Programmers/Lv.1/sortedbykey.py | kangjunseo/C- | eafdf57a22b3a794d09cab045d6d60c2842ba347 | [
"MIT"
] | null | null | null | Programmers/Lv.1/sortedbykey.py | kangjunseo/C- | eafdf57a22b3a794d09cab045d6d60c2842ba347 | [
"MIT"
] | null | null | null | def solution(strings, n): return sorted(sorted(strings), key = lambda string: string[n])
| 44.5 | 88 | 0.741573 | 13 | 89 | 5.076923 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11236 | 89 | 1 | 89 | 89 | 0.835443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | false | 0 | 0 | 1 | 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 | 1 | 1 | 0 | 0 | 5 |
760a43e17616619a4833f45eadb664b5e9d6b04f | 174 | py | Python | docarray/score/mixins/representer.py | fastflair/docarray | 0bbdbc816b2f4a3b399779f6816875fbc1dfe862 | [
"Apache-2.0"
] | 591 | 2022-01-09T14:39:59.000Z | 2022-03-31T13:19:39.000Z | docarray/score/mixins/representer.py | fastflair/docarray | 0bbdbc816b2f4a3b399779f6816875fbc1dfe862 | [
"Apache-2.0"
] | 210 | 2022-01-10T07:59:29.000Z | 2022-03-31T14:49:18.000Z | docarray/score/mixins/representer.py | fastflair/docarray | 0bbdbc816b2f4a3b399779f6816875fbc1dfe862 | [
"Apache-2.0"
] | 40 | 2022-01-09T14:52:20.000Z | 2022-03-31T07:59:45.000Z | class RepresentMixin:
def __repr__(self):
return repr(self.to_dict())
def to_dict(self):
return {f: getattr(self, f) for f in self.non_empty_fields}
| 24.857143 | 67 | 0.655172 | 26 | 174 | 4.076923 | 0.576923 | 0.150943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235632 | 174 | 6 | 68 | 29 | 0.796992 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.4 | 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 | 1 | 1 | 0 | 0 | 5 |
76136d8a653a3065785f689d4f999c021b96fbc8 | 143 | py | Python | dynamic_stack_decider/dynamic_stack_decider/src/dynamic_stack_decider/__init__.py | MosHumanoid/bitbots_thmos_meta | f45ccc362dc689b69027be5b0d000d2a08580de4 | [
"MIT"
] | 4 | 2018-12-18T21:05:22.000Z | 2021-09-07T13:25:44.000Z | dynamic_stack_decider/dynamic_stack_decider/src/dynamic_stack_decider/__init__.py | MosHumanoid/bitbots_thmos_meta | f45ccc362dc689b69027be5b0d000d2a08580de4 | [
"MIT"
] | 36 | 2018-12-18T19:00:43.000Z | 2021-11-24T18:50:55.000Z | dynamic_stack_decider/dynamic_stack_decider/src/dynamic_stack_decider/__init__.py | MosHumanoid/bitbots_thmos_meta | f45ccc362dc689b69027be5b0d000d2a08580de4 | [
"MIT"
] | 2 | 2019-08-06T07:51:12.000Z | 2019-08-12T06:32:59.000Z | from .dsd import DSD
from .abstract_decision_element import AbstractDecisionElement
from .abstract_action_element import AbstractActionElement
| 35.75 | 62 | 0.895105 | 16 | 143 | 7.75 | 0.5625 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083916 | 143 | 3 | 63 | 47.666667 | 0.946565 | 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 | 1 | 0 | 0 | 5 |
521a7a273699207a5641e622ac67d74e497015f4 | 76 | py | Python | lib/rpmpackager/rpm.py | peitur/rpm-tools | 3352b18863b5d815383412266a62c8f5e3b7c70c | [
"Apache-2.0"
] | null | null | null | lib/rpmpackager/rpm.py | peitur/rpm-tools | 3352b18863b5d815383412266a62c8f5e3b7c70c | [
"Apache-2.0"
] | null | null | null | lib/rpmpackager/rpm.py | peitur/rpm-tools | 3352b18863b5d815383412266a62c8f5e3b7c70c | [
"Apache-2.0"
] | null | null | null |
import os, sys, re
class Rpm( ):
def __init__( self ):
pass
| 8.444444 | 25 | 0.526316 | 10 | 76 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.368421 | 76 | 8 | 26 | 9.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 0 | 5 |
525fa75ca5488a969f6ce6056f8becf030699137 | 142 | py | Python | app/drivers/BaseSocialAuthDriver.py | vaibhavmule/masonite-social-login | 5a15560801a4bdc6ef30ae5701405b66f63c9ae2 | [
"MIT"
] | 6 | 2018-12-02T00:38:59.000Z | 2019-07-09T02:07:26.000Z | app/drivers/BaseSocialAuthDriver.py | vaibhavmule/masonite-social-login | 5a15560801a4bdc6ef30ae5701405b66f63c9ae2 | [
"MIT"
] | null | null | null | app/drivers/BaseSocialAuthDriver.py | vaibhavmule/masonite-social-login | 5a15560801a4bdc6ef30ae5701405b66f63c9ae2 | [
"MIT"
] | null | null | null | """Base social auth driver module.
"""
from masonite.drivers.BaseDriver import BaseDriver
class BaseSocialAuthDriver(BaseDriver):
pass
| 15.777778 | 50 | 0.774648 | 15 | 142 | 7.333333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140845 | 142 | 8 | 51 | 17.75 | 0.901639 | 0.21831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
bfe89c9d6825e0f25b784957a49adfb5082335dc | 142 | py | Python | mainclausemodel/__init__.py | z-n-huang/SyntacticBootstrappingModel | 6c2c7a46d7964ea8deac403f47a87b566e2acad2 | [
"MIT"
] | null | null | null | mainclausemodel/__init__.py | z-n-huang/SyntacticBootstrappingModel | 6c2c7a46d7964ea8deac403f47a87b566e2acad2 | [
"MIT"
] | null | null | null | mainclausemodel/__init__.py | z-n-huang/SyntacticBootstrappingModel | 6c2c7a46d7964ea8deac403f47a87b566e2acad2 | [
"MIT"
] | null | null | null | import data, model, experiment
from data import MainClauseData
from model import MainClauseModel
from experiment import MainClauseExperiment
| 23.666667 | 43 | 0.866197 | 16 | 142 | 7.6875 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119718 | 142 | 5 | 44 | 28.4 | 0.984 | 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 | 1 | 0 | 0 | 5 |
870275adfcea027559bae7fb818e96884459b12d | 144 | py | Python | 0101-0200/0136-Single Number/0136-Single Number.py | jiadaizhao/LeetCode | 4ddea0a532fe7c5d053ffbd6870174ec99fc2d60 | [
"MIT"
] | 49 | 2018-05-05T02:53:10.000Z | 2022-03-30T12:08:09.000Z | 0101-0200/0136-Single Number/0136-Single Number.py | jolly-fellow/LeetCode | ab20b3ec137ed05fad1edda1c30db04ab355486f | [
"MIT"
] | 11 | 2017-12-15T22:31:44.000Z | 2020-10-02T12:42:49.000Z | 0101-0200/0136-Single Number/0136-Single Number.py | jolly-fellow/LeetCode | ab20b3ec137ed05fad1edda1c30db04ab355486f | [
"MIT"
] | 28 | 2017-12-05T10:56:51.000Z | 2022-01-26T18:18:27.000Z | from functools import reduce
import operator
class Solution:
def singleNumber(self, nums) -> int:
return reduce(operator.xor, nums)
| 24 | 41 | 0.729167 | 18 | 144 | 5.833333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 144 | 5 | 42 | 28.8 | 0.905172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 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 | 1 | 1 | 0 | 0 | 5 |
870c41ece9159153569d0278733222b6579420a8 | 2,920 | py | Python | qcdb/tests/test_tu2_uhf.py | loriab/qccddb | d9e156ef8b313ac0633211fc6b841f84a3ddde24 | [
"BSD-3-Clause"
] | 8 | 2019-03-28T11:54:59.000Z | 2022-03-19T03:31:37.000Z | qcdb/tests/test_tu2_uhf.py | loriab/qccddb | d9e156ef8b313ac0633211fc6b841f84a3ddde24 | [
"BSD-3-Clause"
] | 39 | 2018-10-31T23:02:18.000Z | 2021-12-12T22:11:37.000Z | qcdb/tests/test_tu2_uhf.py | loriab/qccddb | d9e156ef8b313ac0633211fc6b841f84a3ddde24 | [
"BSD-3-Clause"
] | 9 | 2018-03-12T20:51:50.000Z | 2022-02-28T15:18:34.000Z | """
from https://github.com/psi4/psi4/blob/master/tests/tu2-ch2-energy/input.dat
Sample UHF/6-31G** CH2 computation
"""
import pprint
import pytest
import qcdb
from .utils import *
tu2_scf_ene = -38.9250886434
tu2_scf_ene_df = -38.9253346246
@using("psi4")
def test_tu2_uhf_psi4():
ch2 = qcdb.set_molecule(
... | 20.56338 | 85 | 0.540753 | 377 | 2,920 | 4.045093 | 0.217507 | 0.036721 | 0.015738 | 0.034098 | 0.765902 | 0.702951 | 0.702951 | 0.702951 | 0.702951 | 0.702951 | 0 | 0.067265 | 0.312671 | 2,920 | 141 | 86 | 20.70922 | 0.692576 | 0.058904 | 0 | 0.444444 | 0 | 0 | 0.161062 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.055556 | false | 0 | 0.055556 | 0 | 0.111111 | 0.180556 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
870ca0c3b5d0ad6818eaf2fe5e85eadf5056beb0 | 118 | py | Python | messenger_channels/querysets/__init__.py | ThePokerFaCcCe/messenger | 2db3d5c2ccd05ac40d2442a13d664ca9ad3cb14c | [
"MIT"
] | null | null | null | messenger_channels/querysets/__init__.py | ThePokerFaCcCe/messenger | 2db3d5c2ccd05ac40d2442a13d664ca9ad3cb14c | [
"MIT"
] | null | null | null | messenger_channels/querysets/__init__.py | ThePokerFaCcCe/messenger | 2db3d5c2ccd05ac40d2442a13d664ca9ad3cb14c | [
"MIT"
] | null | null | null | from .chat_qs import(get_chat_ids, get_pvchat_ids,
get_validated_chat_id, get_pvchat_ids_cached)
| 39.333333 | 66 | 0.720339 | 18 | 118 | 4.111111 | 0.555556 | 0.162162 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228814 | 118 | 2 | 67 | 59 | 0.813187 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
870d77ebf741cc9432166d1be49b44d394765e30 | 1,595 | py | Python | sample_applications/AgentlessIdpSample/Utils/UrlUtil.py | pingidentity/pf-agentless-ik-sample-python | 59c0f73ce30f7518201707bda16bf04ca8c362e7 | [
"Apache-2.0"
] | null | null | null | sample_applications/AgentlessIdpSample/Utils/UrlUtil.py | pingidentity/pf-agentless-ik-sample-python | 59c0f73ce30f7518201707bda16bf04ca8c362e7 | [
"Apache-2.0"
] | null | null | null | sample_applications/AgentlessIdpSample/Utils/UrlUtil.py | pingidentity/pf-agentless-ik-sample-python | 59c0f73ce30f7518201707bda16bf04ca8c362e7 | [
"Apache-2.0"
] | null | null | null | from sample_applications.AgentlessIdpSample.Configuration.ConfigurationManager import ConfigurationManager
from sample_applications.AgentlessIdpSample.Utils.IdpConstants import IdpConstants
import urllib.parse as url
def configure_url(request):
return request.url_root + IdpConstants.AGENTLESS_BASE + "/configure"
... | 37.093023 | 118 | 0.774295 | 170 | 1,595 | 6.970588 | 0.258824 | 0.059072 | 0.212658 | 0.283544 | 0.519831 | 0.519831 | 0.519831 | 0.519831 | 0.519831 | 0.370464 | 0 | 0 | 0.137304 | 1,595 | 42 | 119 | 37.97619 | 0.861192 | 0 | 0 | 0.230769 | 0 | 0 | 0.042633 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.115385 | 0.307692 | 0.730769 | 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 | 1 | 0 | 0 | 5 |
8736f469116aa170133fd6a883913f3ccafab238 | 206 | wsgi | Python | src/lobber.wsgi | SUNET/lobber | 2ba707ebd8a6513bff7236262930a24f5e0e9492 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2015-11-10T17:08:57.000Z | 2015-11-10T17:08:57.000Z | src/lobber.wsgi | SUNET/lobber | 2ba707ebd8a6513bff7236262930a24f5e0e9492 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | src/lobber.wsgi | SUNET/lobber | 2ba707ebd8a6513bff7236262930a24f5e0e9492 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | import os
import sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'lobber.settings'
sys.path.append('/var/www/lobber/src')
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
| 22.888889 | 56 | 0.786408 | 29 | 206 | 5.517241 | 0.62069 | 0.125 | 0.225 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072816 | 206 | 8 | 57 | 25.75 | 0.837696 | 0 | 0 | 0 | 0 | 0 | 0.271845 | 0.106796 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
875e56385f36c3b100365ec005dbcba544bb3e82 | 256 | py | Python | study/curso-em-video/exercises/108.py | jhonatanmaia/python | d53c64e6bab598c7e85813fd3f107c6f23c1fc46 | [
"MIT"
] | null | null | null | study/curso-em-video/exercises/108.py | jhonatanmaia/python | d53c64e6bab598c7e85813fd3f107c6f23c1fc46 | [
"MIT"
] | null | null | null | study/curso-em-video/exercises/108.py | jhonatanmaia/python | d53c64e6bab598c7e85813fd3f107c6f23c1fc46 | [
"MIT"
] | null | null | null | import utilidadescev.moedas as m
p=float(input('Digite o preço: R$'))
print(f'A metade de {m.formatacao(p)} é {m.formatacao(m.metade(p))}')
print(f'O dobro {m.formatacao(p)} é {m.formatacao(m.dobro(p))}')
print(f'Aumentando 10%, temos {m.aumentar(p,10)}') | 42.666667 | 69 | 0.691406 | 48 | 256 | 3.6875 | 0.5 | 0.248588 | 0.135593 | 0.146893 | 0.282486 | 0.282486 | 0.282486 | 0 | 0 | 0 | 0 | 0.017167 | 0.089844 | 256 | 6 | 70 | 42.666667 | 0.742489 | 0 | 0 | 0 | 0 | 0.4 | 0.66537 | 0.206226 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.6 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
87661fa847e8297fdb465b2ef515d13896bb35d3 | 32,680 | py | Python | src/trails/visualize_results.py | BenDickens/trails | a89a1a901c7be38cdcb7a59339587e518ab8f14d | [
"MIT"
] | 4 | 2020-09-14T07:20:19.000Z | 2021-04-22T14:23:04.000Z | src/trails/visualize_results.py | BenDickens/trails | a89a1a901c7be38cdcb7a59339587e518ab8f14d | [
"MIT"
] | 5 | 2021-03-17T17:02:27.000Z | 2021-08-31T10:09:38.000Z | src/trails/visualize_results.py | BenDickens/trails | a89a1a901c7be38cdcb7a59339587e518ab8f14d | [
"MIT"
] | 3 | 2020-09-07T07:35:28.000Z | 2021-04-22T14:23:39.000Z | import os
import numpy as np
import pandas as pd
from tqdm import tqdm
import matplotlib.pyplot as plt
import time
import pygeos
import geopandas as gpd
import contextily as cx
import traceback
import seaborn as sns
from matplotlib.ticker import MaxNLocator
def plot_all_atacks():
# set data paths t... | 58.149466 | 228 | 0.551744 | 3,870 | 32,680 | 4.432817 | 0.077003 | 0.031186 | 0.029379 | 0.028855 | 0.84949 | 0.795512 | 0.776508 | 0.714719 | 0.697173 | 0.656194 | 0 | 0.039795 | 0.331793 | 32,680 | 561 | 229 | 58.253119 | 0.745798 | 0.016799 | 0 | 0.481481 | 0 | 0.002315 | 0.135254 | 0.022157 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00463 | false | 0 | 0.027778 | 0 | 0.032407 | 0.009259 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 5 |
5e72ffc99558a2e12842949bfd148624cf343e5d | 232 | py | Python | isl/trainer/__init__.py | HenryLee97/isl | 0eb357bd45c5ce3ab3ef060deb84707975049d37 | [
"MIT"
] | 2 | 2021-12-14T10:43:53.000Z | 2021-12-14T12:46:50.000Z | isl/trainer/__init__.py | HenryLee97/isl | 0eb357bd45c5ce3ab3ef060deb84707975049d37 | [
"MIT"
] | null | null | null | isl/trainer/__init__.py | HenryLee97/isl | 0eb357bd45c5ce3ab3ef060deb84707975049d37 | [
"MIT"
] | null | null | null | from isl.trainer.loss import mlploss_trainer
from isl.trainer.loss import mlploss_validation
from isl.trainer.simple import simple_trainer
from isl.trainer.simple import simple_validation
from isl.trainer.swarm import swarm_trainer
| 38.666667 | 48 | 0.87069 | 35 | 232 | 5.628571 | 0.257143 | 0.177665 | 0.35533 | 0.182741 | 0.639594 | 0.639594 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086207 | 232 | 5 | 49 | 46.4 | 0.929245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5e812b4e7177f773412cc163201d2a4127f341ca | 158 | py | Python | pylbm/generator/__init__.py | Mopolino8/pylbm | b457ccdf1e7a1009807bd1136a276886f81a9e7d | [
"BSD-3-Clause"
] | 106 | 2016-09-13T07:19:17.000Z | 2022-03-19T13:41:55.000Z | pylbm/generator/__init__.py | Mopolino8/pylbm | b457ccdf1e7a1009807bd1136a276886f81a9e7d | [
"BSD-3-Clause"
] | 53 | 2017-09-18T04:51:19.000Z | 2022-01-19T21:36:23.000Z | pylbm/generator/__init__.py | gouarin/pylbm | fd4419933e05b85be364232fddedfcb4f7275e1f | [
"BSD-3-Clause"
] | 33 | 2016-06-17T13:21:17.000Z | 2021-11-11T16:57:46.000Z | from .codegen import codegen, make_routine
from .ast import For, If, IdxRange, IndexedIntBase
from .autowrap import autowrap
from .generator import Generator
| 31.6 | 50 | 0.822785 | 21 | 158 | 6.142857 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126582 | 158 | 4 | 51 | 39.5 | 0.934783 | 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 | 1 | 0 | 0 | 5 |
0d8108c233de172f870c01b0c3a19b13ef758293 | 179 | py | Python | app/routes/businesses/service/business_metrics/dto/media_topics_output.py | mampilly/backend-global | a2248758d521bf7f136fbc5fd12902448d137b33 | [
"MIT"
] | null | null | null | app/routes/businesses/service/business_metrics/dto/media_topics_output.py | mampilly/backend-global | a2248758d521bf7f136fbc5fd12902448d137b33 | [
"MIT"
] | null | null | null | app/routes/businesses/service/business_metrics/dto/media_topics_output.py | mampilly/backend-global | a2248758d521bf7f136fbc5fd12902448d137b33 | [
"MIT"
] | null | null | null | import datetime
from typing import List
from pydantic import BaseModel
class MediaTopicsOutput(BaseModel):
platform: str
date: datetime.date
media_topics: List[str]
| 17.9 | 35 | 0.77095 | 22 | 179 | 6.227273 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178771 | 179 | 9 | 36 | 19.888889 | 0.931973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 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 | 1 | 0 | 0 | 5 |
0db2146774fe88bf82ca29b9dbdcfbefc45c1066 | 126 | py | Python | labdrivers/labdrivers/oxford/__init__.py | RMUlti/Alex | 9ab4fb97315beec9c4d7f6be02d091c9eaf5f22c | [
"MIT"
] | null | null | null | labdrivers/labdrivers/oxford/__init__.py | RMUlti/Alex | 9ab4fb97315beec9c4d7f6be02d091c9eaf5f22c | [
"MIT"
] | null | null | null | labdrivers/labdrivers/oxford/__init__.py | RMUlti/Alex | 9ab4fb97315beec9c4d7f6be02d091c9eaf5f22c | [
"MIT"
] | null | null | null | from .ips120 import Ips120
from .itc503 import Itc503
from .mercuryips import MercuryIps
from .triton200 import Triton200
| 25.2 | 35 | 0.809524 | 16 | 126 | 6.375 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169811 | 0.15873 | 126 | 4 | 36 | 31.5 | 0.792453 | 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 | 1 | 0 | 0 | 5 |
0db38d647be90fa01cb93ba46315c0d51b5651b1 | 19,570 | py | Python | spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_packageitem.py | imranq2/SparkFhirSchemas | 24debae6980fb520fe55aa199bdfd43c0092eb9c | [
"Apache-2.0"
] | 2 | 2020-10-31T23:25:01.000Z | 2021-06-09T14:12:42.000Z | spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_packageitem.py | imranq2/SparkFhirSchemas | 24debae6980fb520fe55aa199bdfd43c0092eb9c | [
"Apache-2.0"
] | null | null | null | spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_packageitem.py | imranq2/SparkFhirSchemas | 24debae6980fb520fe55aa199bdfd43c0092eb9c | [
"Apache-2.0"
] | null | null | null | from typing import Union, List, Optional
from pyspark.sql.types import StructType, StructField, StringType, ArrayType, DataType
# This file is auto-generated by generate_schema so do not edit it manually
# noinspection PyPep8Naming
class MedicinalProductPackaged_PackageItemSchema:
"""
A medicinal product in ... | 48.440594 | 104 | 0.534696 | 1,618 | 19,570 | 6.2089 | 0.131026 | 0.072865 | 0.046287 | 0.066892 | 0.784093 | 0.759705 | 0.743082 | 0.704957 | 0.697392 | 0.689329 | 0 | 0.00284 | 0.42417 | 19,570 | 403 | 105 | 48.560794 | 0.888633 | 0.22417 | 0 | 0.679868 | 1 | 0 | 0.030099 | 0.006397 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0033 | false | 0 | 0.029703 | 0 | 0.042904 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0dccda502924cbb0e097d0e36d36039e92c3f845 | 268 | py | Python | prereise/cli/data_sources/tests/test_demand_data.py | keforres/PreREISE | fcc111fdccc0626d3d34f1749a14035e47991043 | [
"MIT"
] | 15 | 2021-03-02T11:54:27.000Z | 2022-02-16T13:01:40.000Z | prereise/cli/data_sources/tests/test_demand_data.py | keforres/PreREISE | fcc111fdccc0626d3d34f1749a14035e47991043 | [
"MIT"
] | 90 | 2021-01-25T19:02:14.000Z | 2022-03-31T20:27:28.000Z | prereise/cli/data_sources/tests/test_demand_data.py | keforres/PreREISE | fcc111fdccc0626d3d34f1749a14035e47991043 | [
"MIT"
] | 15 | 2021-02-08T23:28:21.000Z | 2022-01-24T21:59:14.000Z | import pytest
from prereise.cli.data_sources.demand_data import DemandData
from prereise.cli.data_sources.exceptions import CommandNotSupportedError
def test_demand_data_happy_path():
with pytest.raises(CommandNotSupportedError):
DemandData().extract()
| 26.8 | 73 | 0.820896 | 31 | 268 | 6.870968 | 0.580645 | 0.112676 | 0.140845 | 0.178404 | 0.244131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11194 | 268 | 9 | 74 | 29.777778 | 0.894958 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 0 | 0.666667 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1d03a7d105cd5e0e2392e662f89e41d8e13f97f1 | 109 | py | Python | ReverseWordOrder.py | AlanBubalo/Python-Practise | 5c6abd5ec6a934399d7ad6265132a982a5a47ed2 | [
"MIT"
] | null | null | null | ReverseWordOrder.py | AlanBubalo/Python-Practise | 5c6abd5ec6a934399d7ad6265132a982a5a47ed2 | [
"MIT"
] | null | null | null | ReverseWordOrder.py | AlanBubalo/Python-Practise | 5c6abd5ec6a934399d7ad6265132a982a5a47ed2 | [
"MIT"
] | null | null | null | def reverse(s):
return " ".join((s.split())[::-1])
s = input("Enter a sentence: ")
print(reverse(s)) | 21.8 | 39 | 0.559633 | 16 | 109 | 3.8125 | 0.75 | 0.262295 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.183486 | 109 | 5 | 40 | 21.8 | 0.674157 | 0 | 0 | 0 | 0 | 0 | 0.179245 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0.25 | 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 | 1 | 0 | 0 | 0 | 5 |
1d05e7ce161c1d97cab4dd06726659ea0d227d24 | 92 | py | Python | GNetLMM/pycore/mtSet/covariance/__init__.py | PMBio/GNetLMM | 103d6433ff6d4a13b5787c116032fda268dc4302 | [
"Apache-2.0"
] | 4 | 2016-02-25T18:40:36.000Z | 2019-05-06T06:15:47.000Z | GNetLMM/pycore/mtSet/covariance/__init__.py | PMBio/GNetLMM | 103d6433ff6d4a13b5787c116032fda268dc4302 | [
"Apache-2.0"
] | 6 | 2016-03-29T02:55:17.000Z | 2017-11-27T19:30:04.000Z | GNetLMM/pycore/mtSet/covariance/__init__.py | PMBio/GNetLMM | 103d6433ff6d4a13b5787c116032fda268dc4302 | [
"Apache-2.0"
] | 2 | 2017-05-09T05:23:50.000Z | 2019-07-27T13:19:22.000Z | from covariance import covariance
from lowrank import lowrank
from freeform import freeform
| 23 | 33 | 0.869565 | 12 | 92 | 6.666667 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 92 | 3 | 34 | 30.666667 | 1 | 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 | 1 | 0 | 0 | 5 |
df2abea7d7fb4d1f497d5758d685338627bff3fd | 155 | py | Python | package/cloudshell/email/__init__.py | omri-amd/cloudshell-email | 080ed90680f8da26e81639ad3a8e9c9624343b4a | [
"Apache-2.0"
] | null | null | null | package/cloudshell/email/__init__.py | omri-amd/cloudshell-email | 080ed90680f8da26e81639ad3a8e9c9624343b4a | [
"Apache-2.0"
] | 3 | 2020-11-24T19:03:11.000Z | 2022-03-22T05:29:39.000Z | package/cloudshell/email/__init__.py | omri-amd/cloudshell-email | 080ed90680f8da26e81639ad3a8e9c9624343b4a | [
"Apache-2.0"
] | 2 | 2020-09-17T03:28:14.000Z | 2022-03-17T21:31:20.000Z | from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
from .email_service import EmailService
from .email_config import EmailConfig
| 22.142857 | 42 | 0.845161 | 20 | 155 | 5.75 | 0.55 | 0.173913 | 0.243478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116129 | 155 | 6 | 43 | 25.833333 | 0.839416 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
df3e254c9b074702520ce14a698f4f9af1050e76 | 31 | py | Python | MoodyBeatsRecommenderAPI/music_selector/__init__.py | labs12-music-stream-selector/DS | 8029556547c2478a647649c89cfb834893647795 | [
"MIT"
] | null | null | null | MoodyBeatsRecommenderAPI/music_selector/__init__.py | labs12-music-stream-selector/DS | 8029556547c2478a647649c89cfb834893647795 | [
"MIT"
] | 19 | 2019-12-26T17:21:07.000Z | 2022-02-17T22:21:18.000Z | MoodyBeatsRecommenderAPI/music_selector/__init__.py | labs12-music-stream-selector/DS | 8029556547c2478a647649c89cfb834893647795 | [
"MIT"
] | null | null | null | # Using conda env : 'starups_2' | 31 | 31 | 0.709677 | 5 | 31 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.16129 | 31 | 1 | 31 | 31 | 0.769231 | 0.935484 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 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 | 5 |
df54c91cf1ab9164eb087c904ce5a7a2f2afb1f9 | 49 | py | Python | great_expectations/cli/__init__.py | victorcouste/great_expectations | 9ee46d83feb87e13c769e2ae35b899b3f18d73a4 | [
"Apache-2.0"
] | 6,451 | 2017-09-11T16:32:53.000Z | 2022-03-31T23:27:49.000Z | great_expectations/cli/__init__.py | victorcouste/great_expectations | 9ee46d83feb87e13c769e2ae35b899b3f18d73a4 | [
"Apache-2.0"
] | 3,892 | 2017-09-08T18:57:50.000Z | 2022-03-31T23:15:20.000Z | great_expectations/cli/__init__.py | victorcouste/great_expectations | 9ee46d83feb87e13c769e2ae35b899b3f18d73a4 | [
"Apache-2.0"
] | 1,023 | 2017-09-08T15:22:05.000Z | 2022-03-31T21:17:08.000Z | from great_expectations.cli.cli import cli, main
| 24.5 | 48 | 0.836735 | 8 | 49 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 1 | 49 | 49 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
df65d1ea7e39acf31e3438033ff96cd097fbd222 | 1,927 | py | Python | testproject/testapp/migrations/0001_initial.py | django-min/django-min-codemirror | ca02905cf90549044488bc76e65261ee0bb22538 | [
"MIT"
] | null | null | null | testproject/testapp/migrations/0001_initial.py | django-min/django-min-codemirror | ca02905cf90549044488bc76e65261ee0bb22538 | [
"MIT"
] | null | null | null | testproject/testapp/migrations/0001_initial.py | django-min/django-min-codemirror | ca02905cf90549044488bc76e65261ee0bb22538 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.9 on 2021-11-03 14:27
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Item',
fields=[
... | 37.784314 | 181 | 0.554748 | 189 | 1,927 | 5.52381 | 0.306878 | 0.068966 | 0.122605 | 0.137931 | 0.782567 | 0.782567 | 0.715517 | 0.715517 | 0.638889 | 0.638889 | 0 | 0.011136 | 0.300986 | 1,927 | 50 | 182 | 38.54 | 0.76392 | 0.023352 | 0 | 0.627907 | 1 | 0 | 0.093085 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.046512 | 0 | 0.139535 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
10c3735edce4e401aef3a0c4e1017a9f5ae9e9b9 | 85 | py | Python | tccli/services/tat/__init__.py | zqfan/tencentcloud-cli | b6ad9fced2a2b340087e4e5522121d405f68b615 | [
"Apache-2.0"
] | 47 | 2018-05-31T11:26:25.000Z | 2022-03-08T02:12:45.000Z | tccli/services/tat/__init__.py | zqfan/tencentcloud-cli | b6ad9fced2a2b340087e4e5522121d405f68b615 | [
"Apache-2.0"
] | 23 | 2018-06-14T10:46:30.000Z | 2022-02-28T02:53:09.000Z | tccli/services/tat/__init__.py | zqfan/tencentcloud-cli | b6ad9fced2a2b340087e4e5522121d405f68b615 | [
"Apache-2.0"
] | 22 | 2018-10-22T09:49:45.000Z | 2022-03-30T08:06:04.000Z | # -*- coding: utf-8 -*-
from tccli.services.tat.tat_client import action_caller
| 21.25 | 55 | 0.694118 | 12 | 85 | 4.75 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.164706 | 85 | 4 | 56 | 21.25 | 0.788732 | 0.247059 | 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 | 1 | 0 | 0 | 5 |
10c95c9372347acd3629f748ac3cde20314df4fc | 56 | py | Python | plasmapy/classes/__init__.py | ludoro/PlasmaPy | 69712cb40b8b588400301edfd6925d41d2f13eac | [
"BSD-2-Clause-Patent",
"BSD-3-Clause"
] | 1 | 2020-04-28T23:04:41.000Z | 2020-04-28T23:04:41.000Z | plasmapy/classes/__init__.py | ludoro/PlasmaPy | 69712cb40b8b588400301edfd6925d41d2f13eac | [
"BSD-2-Clause-Patent",
"BSD-3-Clause"
] | null | null | null | plasmapy/classes/__init__.py | ludoro/PlasmaPy | 69712cb40b8b588400301edfd6925d41d2f13eac | [
"BSD-2-Clause-Patent",
"BSD-3-Clause"
] | null | null | null | from .plasma import Plasma
from .species import Species
| 18.666667 | 28 | 0.821429 | 8 | 56 | 5.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 2 | 29 | 28 | 0.958333 | 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 | 1 | 0 | 0 | 5 |
10cebb9f3a695eea48bf02ff1ead35cd864dc82e | 56 | py | Python | stargen/__init__.py | codeswhite/stargen | 440721e9d54cb1eb830f7ece1dc6b8df731fbae8 | [
"MIT"
] | null | null | null | stargen/__init__.py | codeswhite/stargen | 440721e9d54cb1eb830f7ece1dc6b8df731fbae8 | [
"MIT"
] | 2 | 2021-01-14T13:00:41.000Z | 2021-01-14T13:26:15.000Z | stargen/__init__.py | codeswhite/stargen | 440721e9d54cb1eb830f7ece1dc6b8df731fbae8 | [
"MIT"
] | 1 | 2020-09-28T18:16:21.000Z | 2020-09-28T18:16:21.000Z | from .stargen import Stargen
from .__main__ import main
| 18.666667 | 28 | 0.821429 | 8 | 56 | 5.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 2 | 29 | 28 | 0.875 | 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 | 1 | 0 | 0 | 5 |
10ddd132c1e8b169dde49a3a9e9d2f8f0d732789 | 363 | py | Python | tests/test_handler.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 18 | 2015-04-07T14:28:39.000Z | 2020-02-08T14:03:38.000Z | tests/test_handler.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 7 | 2016-10-05T05:14:06.000Z | 2021-05-20T02:07:22.000Z | tests/test_handler.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 11 | 2015-12-15T09:49:39.000Z | 2021-09-06T18:38:21.000Z | # -*- coding: utf-8 -*-
from . import utils
from . import consts
def exception_before():
utils.expecting_text('get', '/handler/exception/before', 'done', 200)
def exception_raise():
utils.expecting_text('get', '/handler/exception/raise', 'done', 200)
def exception_after():
utils.expecting_text('get'... | 20.166667 | 73 | 0.680441 | 45 | 363 | 5.355556 | 0.4 | 0.149378 | 0.224066 | 0.261411 | 0.460581 | 0.460581 | 0 | 0 | 0 | 0 | 0 | 0.032051 | 0.140496 | 363 | 17 | 74 | 21.352941 | 0.740385 | 0.057851 | 0 | 0 | 0 | 0 | 0.276471 | 0.214706 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | true | 0 | 0.25 | 0 | 0.625 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
10f65ba13b486094d8db44b10d4522608b61f4de | 1,430 | py | Python | src/rapidpro_community_portal/apps/portal_pages/migrations/0003_focusarea_organization_techfirm.py | rapidpro/rapidpro-community-portal | db86e757a24888bebc4d30f451189a2b743396da | [
"Apache-2.0"
] | 19 | 2015-09-15T09:17:54.000Z | 2021-07-13T06:09:49.000Z | src/rapidpro_community_portal/apps/portal_pages/migrations/0003_focusarea_organization_techfirm.py | rapidpro/rapidpro-community-portal | db86e757a24888bebc4d30f451189a2b743396da | [
"Apache-2.0"
] | 222 | 2015-03-13T15:52:20.000Z | 2021-04-08T19:18:41.000Z | src/rapidpro_community_portal/apps/portal_pages/migrations/0003_focusarea_organization_techfirm.py | rapidpro/rapidpro-community-portal | db86e757a24888bebc4d30f451189a2b743396da | [
"Apache-2.0"
] | 11 | 2016-03-01T19:56:52.000Z | 2021-07-04T22:42:14.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('portal_pages', '0002_country'),
]
operations = [
migrations.CreateModel(
name='FocusArea',
fields=[
... | 29.791667 | 114 | 0.496503 | 117 | 1,430 | 5.905983 | 0.376068 | 0.091172 | 0.108538 | 0.099855 | 0.701881 | 0.701881 | 0.701881 | 0.701881 | 0.701881 | 0.701881 | 0 | 0.015284 | 0.359441 | 1,430 | 47 | 115 | 30.425532 | 0.739083 | 0.014685 | 0 | 0.658537 | 0 | 0 | 0.080313 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04878 | 0 | 0.121951 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
80242a77bf8d95fa6ace844b6291579b82535f47 | 80 | py | Python | pymatflow/base/__init__.py | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 6 | 2020-03-06T16:13:08.000Z | 2022-03-09T07:53:34.000Z | pymatflow/base/__init__.py | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 1 | 2021-10-02T02:23:08.000Z | 2021-11-08T13:29:37.000Z | pymatflow/base/__init__.py | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 1 | 2021-07-10T16:28:14.000Z | 2021-07-10T16:28:14.000Z | from .element import element
from .xyz import BaseXyz
from .atom import Atom
| 20 | 29 | 0.775 | 12 | 80 | 5.166667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 80 | 3 | 30 | 26.666667 | 0.953846 | 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 | 1 | 0 | 0 | 5 |
803cb6a40fe8285034535015db3ebad846f0df32 | 77 | py | Python | problems 001 - 020/020_factorial_digit_sum.py | max-97/ProjectEuler | 5eab8b2e199f3253696c4f671b395f2f2773d7f1 | [
"MIT"
] | null | null | null | problems 001 - 020/020_factorial_digit_sum.py | max-97/ProjectEuler | 5eab8b2e199f3253696c4f671b395f2f2773d7f1 | [
"MIT"
] | null | null | null | problems 001 - 020/020_factorial_digit_sum.py | max-97/ProjectEuler | 5eab8b2e199f3253696c4f671b395f2f2773d7f1 | [
"MIT"
] | null | null | null | from math import factorial
print(sum(int(x) for x in str(factorial(100))))
| 15.4 | 47 | 0.727273 | 14 | 77 | 4 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.142857 | 77 | 4 | 48 | 19.25 | 0.80303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
33796bac1279b80f1e8ef00df1276e9b2d28c2a9 | 49 | py | Python | zhaquirks/ecolink/__init__.py | WolfRevo/zha-device-handlers | 0fa4ca1c03c611be0cf2c38c4fec2a197e3dd1d3 | [
"Apache-2.0"
] | 213 | 2020-04-16T10:48:31.000Z | 2022-03-30T20:48:07.000Z | zhaquirks/ecolink/__init__.py | WolfRevo/zha-device-handlers | 0fa4ca1c03c611be0cf2c38c4fec2a197e3dd1d3 | [
"Apache-2.0"
] | 1,088 | 2020-04-03T13:23:29.000Z | 2022-03-31T23:55:03.000Z | zhaquirks/ecolink/__init__.py | WolfRevo/zha-device-handlers | 0fa4ca1c03c611be0cf2c38c4fec2a197e3dd1d3 | [
"Apache-2.0"
] | 280 | 2020-04-24T08:44:27.000Z | 2022-03-31T12:58:04.000Z | """Module for Ecolink quirks implementations."""
| 24.5 | 48 | 0.755102 | 5 | 49 | 7.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 1 | 49 | 49 | 0.840909 | 0.857143 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 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 | 5 |
33877b2268c3be0d6adb8bf88e3179433f42b7fa | 148 | py | Python | stk/api/topology/__init__.py | sayerhs/pystk | e211a13b45929b8bfbfe891532ea19990a19d324 | [
"Apache-2.0"
] | null | null | null | stk/api/topology/__init__.py | sayerhs/pystk | e211a13b45929b8bfbfe891532ea19990a19d324 | [
"Apache-2.0"
] | null | null | null | stk/api/topology/__init__.py | sayerhs/pystk | e211a13b45929b8bfbfe891532ea19990a19d324 | [
"Apache-2.0"
] | 1 | 2021-04-28T20:10:54.000Z | 2021-04-28T20:10:54.000Z | # -*- coding: utf-8 -*-
"""\
stk_topology python bindings
============================
"""
from .topology import rank_t, topology_t, StkTopology
| 14.8 | 53 | 0.547297 | 15 | 148 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 0.135135 | 148 | 9 | 54 | 16.444444 | 0.601563 | 0.540541 | 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 | 1 | 0 | 0 | 5 |
33b3388b34f827e4c39221761eef4bf2d89c9868 | 281 | py | Python | rl_credit/__init__.py | bricewang/rl-credit | bd201b06617a060b9306acc9710c9dfa5002ead2 | [
"MIT"
] | null | null | null | rl_credit/__init__.py | bricewang/rl-credit | bd201b06617a060b9306acc9710c9dfa5002ead2 | [
"MIT"
] | null | null | null | rl_credit/__init__.py | bricewang/rl-credit | bd201b06617a060b9306acc9710c9dfa5002ead2 | [
"MIT"
] | null | null | null | from rl_credit.algos import A2CAlgo, PPOAlgo, HCAReturns, HCAState, AttentionAlgo, AttentionQAlgo
from rl_credit.model import ACModel, RecurrentACModel, ACModelVanilla, ACModelReturnHCA, ACAttention, AttentionQ
from rl_credit.utils import DictList
from rl_credit.examples import *
| 56.2 | 112 | 0.854093 | 33 | 281 | 7.151515 | 0.636364 | 0.101695 | 0.20339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003922 | 0.092527 | 281 | 4 | 113 | 70.25 | 0.921569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 5 |
33cf22fc98a57d02a2eb5f3cc56565337c005d64 | 18 | py | Python | first.py | yan16032/car | dcb05df25dac5aee3608d3b0268fe5474797bef4 | [
"Apache-2.0"
] | null | null | null | first.py | yan16032/car | dcb05df25dac5aee3608d3b0268fe5474797bef4 | [
"Apache-2.0"
] | null | null | null | first.py | yan16032/car | dcb05df25dac5aee3608d3b0268fe5474797bef4 | [
"Apache-2.0"
] | 1 | 2019-01-19T07:11:04.000Z | 2019-01-19T07:11:04.000Z | print('I am good') | 18 | 18 | 0.666667 | 4 | 18 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 18 | 1 | 18 | 18 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
33e0bb0466b0782ef99dfe7d77597d4ae927259a | 68 | py | Python | src/striga/service/threadmonitor/__init__.py | ateska/striga | 451b5d9421e2e5fdf49b94c8f3d76e576abc5923 | [
"MIT"
] | null | null | null | src/striga/service/threadmonitor/__init__.py | ateska/striga | 451b5d9421e2e5fdf49b94c8f3d76e576abc5923 | [
"MIT"
] | null | null | null | src/striga/service/threadmonitor/__init__.py | ateska/striga | 451b5d9421e2e5fdf49b94c8f3d76e576abc5923 | [
"MIT"
] | null | null | null | #Interface
from ._stsvstm_threadmonitor import ThreadMonitorService
| 22.666667 | 56 | 0.897059 | 6 | 68 | 9.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073529 | 68 | 2 | 57 | 34 | 0.936508 | 0.132353 | 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 | 1 | 0 | 0 | 5 |
1d1620071a1b3ab34a5e73769c1c6a21d8d2bf90 | 78 | py | Python | ioflo/aio/http/__init__.py | BradyHammond/ioflo | 177ac656d7c4ff801aebb0d8b401db365a5248ce | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | 128 | 2015-01-14T12:26:56.000Z | 2021-11-06T07:09:29.000Z | ioflo/aio/http/__init__.py | BradyHammond/ioflo | 177ac656d7c4ff801aebb0d8b401db365a5248ce | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | 17 | 2015-01-28T18:26:50.000Z | 2020-11-19T22:08:06.000Z | ioflo/aio/http/__init__.py | BradyHammond/ioflo | 177ac656d7c4ff801aebb0d8b401db365a5248ce | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | 29 | 2015-01-27T23:28:31.000Z | 2021-05-04T16:37:30.000Z | """
http package
"""
from .clienting import Patron
from .serving import Valet
| 13 | 29 | 0.74359 | 10 | 78 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 78 | 5 | 30 | 15.6 | 0.878788 | 0.153846 | 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 | 1 | 0 | 0 | 5 |
1d538f5f9675bee5741a1d8517b3b2fa1eb0fa7e | 60 | py | Python | tripHome/tests.py | TripSage/TripSage | e69bb6e195cc60b7f072bbe1d496ad6f894caa43 | [
"Apache-2.0"
] | 1 | 2020-10-04T04:25:57.000Z | 2020-10-04T04:25:57.000Z | tripHome/tests.py | akashsrikanth2310/TripSage | 999e4cf5019930567b3ecd893529984d8c577669 | [
"Apache-2.0"
] | 46 | 2020-09-30T01:34:37.000Z | 2020-10-25T22:36:24.000Z | tripHome/tests.py | Amoghrd/TripSage | 7b0c1ad1485581f689078a8f4f566b89f4d5b364 | [
"Apache-2.0"
] | 9 | 2020-09-19T02:30:07.000Z | 2020-12-04T06:56:40.000Z | """
auto generated test file
"""
# Create your tests here.
| 10 | 25 | 0.666667 | 8 | 60 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 60 | 5 | 26 | 12 | 0.833333 | 0.816667 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d55d6997e3ca1f61219b19282494f037afcd5105 | 96 | py | Python | watchmen/database/storage/exception/exception.py | Indexical-Metrics-Measure-Advisory/watchmen-data-processor | d50b93e92868500552416997707d71720487bd77 | [
"MIT"
] | null | null | null | watchmen/database/storage/exception/exception.py | Indexical-Metrics-Measure-Advisory/watchmen-data-processor | d50b93e92868500552416997707d71720487bd77 | [
"MIT"
] | null | null | null | watchmen/database/storage/exception/exception.py | Indexical-Metrics-Measure-Advisory/watchmen-data-processor | d50b93e92868500552416997707d71720487bd77 | [
"MIT"
] | null | null | null | class InsertConflictError(Exception):
pass
class OptimisticLockError(Exception):
pass
| 13.714286 | 37 | 0.770833 | 8 | 96 | 9.25 | 0.625 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 96 | 6 | 38 | 16 | 0.925 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
635323d7860d3449fb8cdba4f4a84202a88ec868 | 141 | py | Python | testserver.py | AricHasting/senior-software | 0424cd9aa94533ef8ba58a2f70e279761028f96e | [
"MIT"
] | null | null | null | testserver.py | AricHasting/senior-software | 0424cd9aa94533ef8ba58a2f70e279761028f96e | [
"MIT"
] | 7 | 2018-09-02T23:42:43.000Z | 2018-11-08T22:14:28.000Z | testserver.py | AricHasting/senior-software | 0424cd9aa94533ef8ba58a2f70e279761028f96e | [
"MIT"
] | 4 | 2018-08-30T01:12:11.000Z | 2018-09-11T17:44:57.000Z | #!/usr/bin/env python3
import server
#server.startserver("10.30.147.18", 8080)
server.startserver("127.0.0.1", 8080)
print("Server started") | 23.5 | 41 | 0.730496 | 23 | 141 | 4.478261 | 0.73913 | 0.330097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183206 | 0.070922 | 141 | 6 | 42 | 23.5 | 0.603053 | 0.432624 | 0 | 0 | 0 | 0 | 0.291139 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
638baf63c4453db05fb42671d34a9a8856c0f44b | 38 | py | Python | slides/20160516-Python_Loop_CommonFunctions/while_loop_3.py | she02789222/test | fa10bd5be351ca3d4bef4f7d6c4510e65666de7c | [
"MIT"
] | 4 | 2018-11-29T04:06:29.000Z | 2021-11-29T07:00:44.000Z | slides/20160516-Python_Loop_CommonFunctions/while_loop_3.py | NTNUCIC/108 | 52961e76d299842c2d44d142d5c56ad665420ee6 | [
"MIT"
] | 6 | 2016-05-17T02:34:57.000Z | 2021-02-05T17:33:28.000Z | slides/20160516-Python_Loop_CommonFunctions/while_loop_3.py | NTNUCIC/108 | 52961e76d299842c2d44d142d5c56ad665420ee6 | [
"MIT"
] | 3 | 2019-02-17T05:58:46.000Z | 2019-02-18T15:09:55.000Z | while True:
print('hi~')
print('End') | 12.666667 | 13 | 0.631579 | 6 | 38 | 4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 3 | 14 | 12.666667 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.666667 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
63cccb63a09a7507459f432fd9d7d549d6c439ea | 164 | py | Python | iotbx/xplor/ext.py | hbrunie/cctbx_project | 2d8cb383d50fe20cdbbe4bebae8ed35fabce61e5 | [
"BSD-3-Clause-LBNL"
] | 2 | 2021-03-18T12:31:57.000Z | 2022-03-14T06:27:06.000Z | iotbx/xplor/ext.py | hbrunie/cctbx_project | 2d8cb383d50fe20cdbbe4bebae8ed35fabce61e5 | [
"BSD-3-Clause-LBNL"
] | null | null | null | iotbx/xplor/ext.py | hbrunie/cctbx_project | 2d8cb383d50fe20cdbbe4bebae8ed35fabce61e5 | [
"BSD-3-Clause-LBNL"
] | 1 | 2021-03-26T12:52:30.000Z | 2021-03-26T12:52:30.000Z | from __future__ import absolute_import, division, print_function
import boost.python
ext = boost.python.import_ext("iotbx_xplor_ext")
from iotbx_xplor_ext import *
| 32.8 | 64 | 0.841463 | 24 | 164 | 5.291667 | 0.5 | 0.173228 | 0.204724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091463 | 164 | 4 | 65 | 41 | 0.852349 | 0 | 0 | 0 | 0 | 0 | 0.091463 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
63d23cb35444a8a83ae652bd176c80fc385f8772 | 764 | py | Python | src/GridCal/Engine/Simulations/OPF/__init__.py | mzy2240/GridCal | 0352f0e9ce09a9c037722bf2f2afc0a31ccd2880 | [
"BSD-3-Clause"
] | 284 | 2016-01-31T03:20:44.000Z | 2022-03-17T21:16:52.000Z | src/GridCal/Engine/Simulations/OPF/__init__.py | mzy2240/GridCal | 0352f0e9ce09a9c037722bf2f2afc0a31ccd2880 | [
"BSD-3-Clause"
] | 94 | 2016-01-14T13:37:40.000Z | 2022-03-28T03:13:56.000Z | src/GridCal/Engine/Simulations/OPF/__init__.py | mzy2240/GridCal | 0352f0e9ce09a9c037722bf2f2afc0a31ccd2880 | [
"BSD-3-Clause"
] | 84 | 2016-03-29T10:43:04.000Z | 2022-02-22T16:26:55.000Z |
from GridCal.Engine.Simulations.OPF.dc_opf import OpfDc
from GridCal.Engine.Simulations.OPF.dc_opf_ts import OpfDcTimeSeries
from GridCal.Engine.Simulations.OPF.ac_opf import OpfAc
from GridCal.Engine.Simulations.OPF.ac_opf_ts import OpfAcTimeSeries
from GridCal.Engine.Simulations.OPF.opf_results import OptimalPowerF... | 58.769231 | 127 | 0.888743 | 91 | 764 | 7.307692 | 0.285714 | 0.148872 | 0.230075 | 0.378947 | 0.478195 | 0.478195 | 0.324812 | 0 | 0 | 0 | 0 | 0 | 0.057592 | 764 | 12 | 128 | 63.666667 | 0.923611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
8929be8724a303fce1d936868e817f6d7c11feb4 | 337 | py | Python | sac/__init__.py | sandipan1/robo_rl | 3bcb7caabeba71dd747fadf2355ac42408b7f340 | [
"MIT"
] | 5 | 2018-10-16T03:48:02.000Z | 2021-10-01T08:58:05.000Z | sac/__init__.py | sandipan1/robo_rl | 3bcb7caabeba71dd747fadf2355ac42408b7f340 | [
"MIT"
] | 1 | 2018-10-17T16:19:14.000Z | 2018-10-31T06:19:30.000Z | sac/__init__.py | sandipan1/robo_rl | 3bcb7caabeba71dd747fadf2355ac42408b7f340 | [
"MIT"
] | null | null | null | from robo_rl.sac.gaussian_policy import GaussianPolicy
from robo_rl.sac.categorical_policy import LinearCategoricalPolicy
from robo_rl.sac.softactorcritic import SAC
from robo_rl.sac.squasher import Squasher, SigmoidSquasher, TanhSquasher, NoSquasher, GAAFTanhSquasher
from robo_rl.sac.sac_parser import get_sac_parser, ... | 56.166667 | 102 | 0.881306 | 47 | 337 | 6.06383 | 0.425532 | 0.140351 | 0.175439 | 0.22807 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074184 | 337 | 5 | 103 | 67.4 | 0.913462 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
895c573940a2f8929a3044450f7e859759623835 | 433 | py | Python | pywinauto/unittests/test_architecture.py | eltimen/pywinauto | 7235e6f83edfd96a7aeb8bbf9fef7b8f3d912512 | [
"BSD-3-Clause"
] | 3,544 | 2015-05-25T17:06:12.000Z | 2022-03-31T18:44:09.000Z | pywinauto/unittests/test_architecture.py | iabhi009/pywinauto | 127322e7257f451d6c360db732b8e6ff8df9662e | [
"BSD-3-Clause"
] | 1,128 | 2015-05-21T10:17:34.000Z | 2022-03-28T15:59:49.000Z | pywinauto/unittests/test_architecture.py | airelil/pywinauto | 187b84de20f7980d4f5cff4abdb3bbff17cc049e | [
"BSD-3-Clause"
] | 719 | 2015-05-26T20:20:02.000Z | 2022-03-31T08:11:53.000Z | import unittest
class PublicImportsTests(unittest.TestCase):
def test_top_level_imports(self):
from pywinauto import ElementNotFoundError, ElementAmbiguousError, WindowNotFoundError, WindowAmbiguousError
self.assertEqual(len(set([ElementNotFoundError, ElementAmbiguousError, WindowNotFoundError, W... | 30.928571 | 124 | 0.722864 | 33 | 433 | 9.151515 | 0.727273 | 0.271523 | 0.397351 | 0.529801 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002907 | 0.205543 | 433 | 13 | 125 | 33.307692 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.018476 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.125 | false | 0 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
895cac2f499d7b75653824e2a0398594a6560b29 | 138 | py | Python | django_gotolong/broker/icidir/itxn/admin.py | ParikhKadam/gotolong | 839beb8aa37055a2078eaa289b8ae05b62e8905e | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 15 | 2019-12-06T16:19:45.000Z | 2021-08-20T13:22:22.000Z | django_gotolong/broker/icidir/itxn/admin.py | ParikhKadam/gotolong | 839beb8aa37055a2078eaa289b8ae05b62e8905e | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 14 | 2020-12-08T10:45:05.000Z | 2021-09-21T17:23:45.000Z | django_gotolong/broker/icidir/itxn/admin.py | ParikhKadam/gotolong | 839beb8aa37055a2078eaa289b8ae05b62e8905e | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 9 | 2020-01-01T03:04:29.000Z | 2021-04-18T08:42:30.000Z | from django.contrib import admin
# Register your models here.
from .models import BrokerIcidirTxn
admin.site.register(BrokerIcidirTxn)
| 17.25 | 36 | 0.818841 | 17 | 138 | 6.647059 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123188 | 138 | 7 | 37 | 19.714286 | 0.933884 | 0.188406 | 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 | 1 | 0 | 0 | 5 |
897972b8dfa92c0e82fc4dcf016570439b38485a | 115 | py | Python | example/steps/__init__.py | m-martinez/veripy | 993bb498e4cdac44d76284a624d306aaf2e2215a | [
"MIT"
] | null | null | null | example/steps/__init__.py | m-martinez/veripy | 993bb498e4cdac44d76284a624d306aaf2e2215a | [
"MIT"
] | null | null | null | example/steps/__init__.py | m-martinez/veripy | 993bb498e4cdac44d76284a624d306aaf2e2215a | [
"MIT"
] | null | null | null | # Behave requires a steps directory which implements domain-specific sentences.
from veripy.steps import * # noqa
| 38.333333 | 79 | 0.8 | 15 | 115 | 6.133333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147826 | 115 | 2 | 80 | 57.5 | 0.938776 | 0.713043 | 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 | 1 | 0 | 0 | 5 |
982bdb63af74b7627a58b2997f0227f12906d9b3 | 158 | py | Python | supbot/__init__.py | adsau59/Supbot2 | 8f8dd4bf822b42975ffe659a388b54889c500ff1 | [
"MIT"
] | 18 | 2020-02-06T19:24:51.000Z | 2022-02-04T12:20:49.000Z | supbot/__init__.py | adsau59/Supbot2 | 8f8dd4bf822b42975ffe659a388b54889c500ff1 | [
"MIT"
] | 6 | 2020-06-30T14:24:00.000Z | 2021-07-06T19:53:31.000Z | supbot/__init__.py | adsau59/Supbot2 | 8f8dd4bf822b42975ffe659a388b54889c500ff1 | [
"MIT"
] | 5 | 2020-02-13T23:31:27.000Z | 2021-12-10T04:54:58.000Z | """
Allows developers to import Supbot to interface with the module
"""
from supbot.api import Supbot
from supbot.__main__ import main
__version__ = "0.2.9"
| 19.75 | 63 | 0.765823 | 24 | 158 | 4.708333 | 0.666667 | 0.212389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022388 | 0.151899 | 158 | 7 | 64 | 22.571429 | 0.820896 | 0.398734 | 0 | 0 | 0 | 0 | 0.057471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 5 |
9831265cf9e35a4be62cd3ba8423d42e1515871f | 10,930 | py | Python | notebook/pandas_time_series_freq.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 174 | 2018-05-30T21:14:50.000Z | 2022-03-25T07:59:37.000Z | notebook/pandas_time_series_freq.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 5 | 2019-08-10T03:22:02.000Z | 2021-07-12T20:31:17.000Z | notebook/pandas_time_series_freq.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 53 | 2018-04-27T05:26:35.000Z | 2022-03-25T07:59:37.000Z | import pandas as pd
print(pd.date_range('2018-01-01', '2018-12-31', freq='M'))
# DatetimeIndex(['2018-01-31', '2018-02-28', '2018-03-31', '2018-04-30',
# '2018-05-31', '2018-06-30', '2018-07-31', '2018-08-31',
# '2018-09-30', '2018-10-31', '2018-11-30', '2018-12-31'],
# dtyp... | 59.402174 | 112 | 0.51226 | 1,866 | 10,930 | 2.98821 | 0.077706 | 0.16571 | 0.167862 | 0.080703 | 0.558106 | 0.38038 | 0.347202 | 0.3316 | 0.315818 | 0.315818 | 0 | 0.498237 | 0.221775 | 10,930 | 183 | 113 | 59.726776 | 0.157301 | 0.840256 | 0 | 0 | 0 | 0 | 0.345556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.041667 | 0 | 0.041667 | 0.958333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
9845560aef9d64957c427aaec43ab3315a4c77b9 | 232 | py | Python | Chapter06/class_ex_2.py | PacktPublishing/Learning-Python-by-building-games | 0713e6fc141b2cd201128560ae0c3b689b7d2116 | [
"MIT"
] | 25 | 2019-09-01T16:19:16.000Z | 2021-12-20T07:08:35.000Z | Chapter06/class_ex_2.py | PacktPublishing/Learning-Python-by-building-games. | 0713e6fc141b2cd201128560ae0c3b689b7d2116 | [
"MIT"
] | 4 | 2019-08-27T19:45:48.000Z | 2020-07-24T12:29:56.000Z | Chapter06/class_ex_2.py | PacktPublishing/Learning-Python-by-building-games | 0713e6fc141b2cd201128560ae0c3b689b7d2116 | [
"MIT"
] | 24 | 2019-06-01T18:31:07.000Z | 2022-03-15T19:24:34.000Z | class Bike:
name = ''
color= ' '
price = 0
def info(self, name, color, price):
self.name, self.color, self.price = name,color,price
print("{}: {} and {}".format(self.name,self.color,self.price))
| 25.777778 | 70 | 0.556034 | 30 | 232 | 4.3 | 0.4 | 0.209302 | 0.325581 | 0.263566 | 0.403101 | 0.403101 | 0 | 0 | 0 | 0 | 0 | 0.005882 | 0.267241 | 232 | 8 | 71 | 29 | 0.752941 | 0 | 0 | 0 | 0 | 0 | 0.060345 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.714286 | 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 | 1 | 0 | 0 | 5 |
984a79e49a46aec9e5322e72d92d8c0b29a6cbd8 | 239 | py | Python | verification/flopy/mf6/utils/__init__.py | INTERA-Inc/mf6cts | 13967af777e88b112b1a9026b35841c322d34bf4 | [
"Unlicense"
] | 351 | 2015-01-03T15:18:48.000Z | 2022-03-31T09:46:43.000Z | verification/flopy/mf6/utils/__init__.py | INTERA-Inc/mf6cts | 13967af777e88b112b1a9026b35841c322d34bf4 | [
"Unlicense"
] | 1,256 | 2015-01-15T21:10:42.000Z | 2022-03-31T22:43:06.000Z | verification/flopy/mf6/utils/__init__.py | INTERA-Inc/mf6cts | 13967af777e88b112b1a9026b35841c322d34bf4 | [
"Unlicense"
] | 553 | 2015-01-31T22:46:48.000Z | 2022-03-31T17:43:35.000Z | # imports
from . import createpackages
from .generate_classes import generate_classes
from .binarygrid_util import MfGrdFile
from .postprocessing import get_structured_faceflows, get_residuals
from .lakpak_utils import get_lak_connections
| 34.142857 | 67 | 0.874477 | 30 | 239 | 6.666667 | 0.6 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096234 | 239 | 6 | 68 | 39.833333 | 0.925926 | 0.029289 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
985c9ede57f23b38e9a3ed21fd11816f5e477b8c | 200 | py | Python | pyseries/clustering/__init__.py | flaviovdf/pyseries | 59c8a321790d2398d71305710b7d322ce2d8eaaf | [
"BSD-3-Clause"
] | 7 | 2015-04-12T00:27:39.000Z | 2018-08-10T13:17:48.000Z | pyseries/clustering/__init__.py | flaviovdf/pyseries | 59c8a321790d2398d71305710b7d322ce2d8eaaf | [
"BSD-3-Clause"
] | null | null | null | pyseries/clustering/__init__.py | flaviovdf/pyseries | 59c8a321790d2398d71305710b7d322ce2d8eaaf | [
"BSD-3-Clause"
] | 4 | 2015-04-15T03:14:30.000Z | 2018-11-09T22:06:32.000Z | # -*- coding: utf8
from __future__ import division, print_function
'''
Clustering
==========
Contains the following clustering methods:
* Yang2011
* Ahmed2012
* Kmeans (from sklearn)
'''
| 16.666667 | 47 | 0.665 | 19 | 200 | 6.736842 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055901 | 0.195 | 200 | 11 | 48 | 18.181818 | 0.73913 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 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 | 1 | 0 | 5 |
985cb525312d23375e32943a1aaab14ac8240a12 | 228 | py | Python | pybamm/models/submodels/electrolyte_conductivity/surface_potential_form/__init__.py | DrSOKane/PyBaMM | 903b4a05ef5a4f91633e990d4aec12c53df723a2 | [
"BSD-3-Clause"
] | null | null | null | pybamm/models/submodels/electrolyte_conductivity/surface_potential_form/__init__.py | DrSOKane/PyBaMM | 903b4a05ef5a4f91633e990d4aec12c53df723a2 | [
"BSD-3-Clause"
] | null | null | null | pybamm/models/submodels/electrolyte_conductivity/surface_potential_form/__init__.py | DrSOKane/PyBaMM | 903b4a05ef5a4f91633e990d4aec12c53df723a2 | [
"BSD-3-Clause"
] | null | null | null | # Full order models
from .full_surface_form_conductivity import FullAlgebraic, FullDifferential
# Leading-order models
from .leading_surface_form_conductivity import (
LeadingOrderDifferential,
LeadingOrderAlgebraic,
)
| 25.333333 | 75 | 0.833333 | 22 | 228 | 8.363636 | 0.590909 | 0.119565 | 0.163043 | 0.315217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122807 | 228 | 8 | 76 | 28.5 | 0.92 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
987fa5eba5b6fbe62e3386ca77d344aeb87676d1 | 254 | py | Python | data/snippets/py/KINDA_DICT_PROXY_CODE.py | netcharm/ironclad | 5892c43b540b216d638e0fed2e6cf3fd8289fdfc | [
"PSF-2.0"
] | 58 | 2015-03-02T15:13:45.000Z | 2021-07-31T16:10:13.000Z | data/snippets/py/KINDA_DICT_PROXY_CODE.py | netcharm/ironclad | 5892c43b540b216d638e0fed2e6cf3fd8289fdfc | [
"PSF-2.0"
] | 4 | 2015-01-02T11:45:46.000Z | 2022-01-17T14:45:33.000Z | data/snippets/py/KINDA_DICT_PROXY_CODE.py | netcharm/ironclad | 5892c43b540b216d638e0fed2e6cf3fd8289fdfc | [
"PSF-2.0"
] | 11 | 2015-01-22T11:56:32.000Z | 2020-06-02T01:40:58.000Z |
from UserDict import IterableUserDict
class KindaDictProxy(IterableUserDict):
def __setitem__(self, key, value):
raise TypeError('read-only dict')
def __delitem__(self, key):
raise TypeError('read-only dict')
| 21.166667 | 41 | 0.661417 | 26 | 254 | 6.153846 | 0.653846 | 0.0875 | 0.225 | 0.275 | 0.325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.251969 | 254 | 11 | 42 | 23.090909 | 0.842105 | 0 | 0 | 0.333333 | 0 | 0 | 0.110672 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
98af540e47a1e6d15cc74b357e83ac3b9d51e5c3 | 628 | py | Python | backend/passenger/models.py | haridevbabu/bookcab | 70459dec56f47428d6e5b9e4d2d9af0e64a400dc | [
"MIT"
] | null | null | null | backend/passenger/models.py | haridevbabu/bookcab | 70459dec56f47428d6e5b9e4d2d9af0e64a400dc | [
"MIT"
] | null | null | null | backend/passenger/models.py | haridevbabu/bookcab | 70459dec56f47428d6e5b9e4d2d9af0e64a400dc | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
"""
Store passenger details
"""
class Passenger(models.Model):
first_name = models.CharField(max_length=80)
last_name = models.CharField(max_length=80)
email = models.EmailField(unique=True)
password = models.CharField(max_length=200)
mobile ... | 27.304348 | 57 | 0.726115 | 81 | 628 | 5.493827 | 0.395062 | 0.202247 | 0.242697 | 0.323596 | 0.521348 | 0.310112 | 0.310112 | 0.310112 | 0.310112 | 0.310112 | 0 | 0.024715 | 0.16242 | 628 | 22 | 58 | 28.545455 | 0.821293 | 0.076433 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.083333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
98b0ba050268437d198ba626e27dde8852f612b6 | 128 | py | Python | janusbackup/core/utils/__init__.py | NikitosnikN/janus-backup | 413d365663b532a0611575be16ea0a4f0c7ffd20 | [
"MIT"
] | null | null | null | janusbackup/core/utils/__init__.py | NikitosnikN/janus-backup | 413d365663b532a0611575be16ea0a4f0c7ffd20 | [
"MIT"
] | null | null | null | janusbackup/core/utils/__init__.py | NikitosnikN/janus-backup | 413d365663b532a0611575be16ea0a4f0c7ffd20 | [
"MIT"
] | null | null | null | from .catch_job_exception import catch_exceptions
from .fernet import FernetWrapper
from .projects_loader import ProjectsLoader
| 32 | 49 | 0.882813 | 16 | 128 | 6.8125 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 128 | 3 | 50 | 42.666667 | 0.939655 | 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 | 1 | 0 | 0 | 5 |
7fb7c6ab593dff9ceb7dc8e524e19563e26c1410 | 136 | py | Python | app/models/Country/methods/__init__.py | msolorio/flask_world_api | a2d5394618b736aa7d5d5e75a422dbe9e5713533 | [
"MIT"
] | 1 | 2022-02-24T04:37:04.000Z | 2022-02-24T04:37:04.000Z | app/models/Country/methods/__init__.py | msolorio/flask_world_api | a2d5394618b736aa7d5d5e75a422dbe9e5713533 | [
"MIT"
] | null | null | null | app/models/Country/methods/__init__.py | msolorio/flask_world_api | a2d5394618b736aa7d5d5e75a422dbe9e5713533 | [
"MIT"
] | null | null | null | from .delete import delete
from .create import create
from .find import find
from .update import update
from .find_many import find_many | 27.2 | 32 | 0.823529 | 22 | 136 | 5 | 0.318182 | 0.145455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139706 | 136 | 5 | 32 | 27.2 | 0.940171 | 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 | 1 | 0 | 0 | 5 |
f6f081040ece6e8d92a6aa2568bf678236698b01 | 96 | py | Python | venv/lib/python3.8/site-packages/charset_normalizer/cd.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 1 | 2022-02-22T04:49:18.000Z | 2022-02-22T04:49:18.000Z | venv/lib/python3.8/site-packages/charset_normalizer/cd.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | null | null | null | venv/lib/python3.8/site-packages/charset_normalizer/cd.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/c5/d3/2d/f20956a75b97f389c124cca78c1aabe20f79d6ad234d0d415fcd9324d1 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.395833 | 0 | 96 | 1 | 96 | 96 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f6f410c8815cf3291bc78622042e3a8da21e8538 | 49 | py | Python | plugins/reminder.py | ryoung2512/bot | a0d42152410086630a03a3fdb45436935cb48402 | [
"MIT"
] | null | null | null | plugins/reminder.py | ryoung2512/bot | a0d42152410086630a03a3fdb45436935cb48402 | [
"MIT"
] | null | null | null | plugins/reminder.py | ryoung2512/bot | a0d42152410086630a03a3fdb45436935cb48402 | [
"MIT"
] | null | null | null | def reminder(args):
print("in reminder.py")
| 12.25 | 27 | 0.653061 | 7 | 49 | 4.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 49 | 3 | 28 | 16.333333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
f6ffb283b80c8402ee51f15c64cf68510541439e | 526 | py | Python | dashboard/views/_positions/_non_ec/_membership_development_chair.py | beta-nu-theta-chi/ox-dashboard | 842d86a381f26159b2c5bad39a95169496832023 | [
"MIT"
] | null | null | null | dashboard/views/_positions/_non_ec/_membership_development_chair.py | beta-nu-theta-chi/ox-dashboard | 842d86a381f26159b2c5bad39a95169496832023 | [
"MIT"
] | 70 | 2016-11-16T18:49:02.000Z | 2021-04-26T00:47:18.000Z | dashboard/views/_positions/_non_ec/_membership_development_chair.py | beta-nu-theta-chi/ox-dashboard | 842d86a381f26159b2c5bad39a95169496832023 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from dashboard.models import Position
from dashboard.utils import verify_position
@verify_position([Position.PositionChoices.MEMBERSHIP_DEVELOPMENT_CHAIR, Position.PositionChoices.VICE_PRESIDENT, Position.PositionChoices.PRESIDENT, Position.PositionChoices.ADVISER])
def memdev_c(r... | 40.461538 | 184 | 0.819392 | 56 | 526 | 7.553571 | 0.482143 | 0.271868 | 0.184397 | 0.208038 | 0.231678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096958 | 526 | 12 | 185 | 43.833333 | 0.890526 | 0 | 0 | 0 | 0 | 0 | 0.077947 | 0.062738 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0 | 0.555556 | 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 | 1 | 0 | 1 | 0 | 0 | 5 |
63d7887fe865f6e20c174b48d999d55d0c3b35a6 | 169 | py | Python | uploads/core/admin.py | emawind84/rrwebtv | ae22cd39ea430aed0de2b852e40c309465a7237b | [
"MIT"
] | null | null | null | uploads/core/admin.py | emawind84/rrwebtv | ae22cd39ea430aed0de2b852e40c309465a7237b | [
"MIT"
] | 2 | 2020-06-05T20:13:36.000Z | 2021-06-10T21:18:43.000Z | uploads/core/admin.py | emawind84/rrwebtv | ae22cd39ea430aed0de2b852e40c309465a7237b | [
"MIT"
] | null | null | null | from django.contrib import admin
from uploads.core.models import Document, Replay
# Register your models here.
admin.site.register(Document)
admin.site.register(Replay) | 28.166667 | 48 | 0.822485 | 24 | 169 | 5.791667 | 0.583333 | 0.129496 | 0.244604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094675 | 169 | 6 | 49 | 28.166667 | 0.908497 | 0.153846 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
63df7180057bc70b1e084f211cbd1e13ede016b9 | 34 | py | Python | app/core/__init__.py | tiberiuichim/nlp-service | 6bb641de532afb8c001d40bf30caadcbd227a91d | [
"MIT"
] | 2 | 2021-09-07T13:13:24.000Z | 2021-09-09T08:00:21.000Z | app/core/__init__.py | tiberiuichim/nlp-service | 6bb641de532afb8c001d40bf30caadcbd227a91d | [
"MIT"
] | null | null | null | app/core/__init__.py | tiberiuichim/nlp-service | 6bb641de532afb8c001d40bf30caadcbd227a91d | [
"MIT"
] | null | null | null | from . import components # no-qa
| 17 | 33 | 0.705882 | 5 | 34 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 34 | 1 | 34 | 34 | 0.888889 | 0.147059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
63e019f275ae08ef2408eea20b613faf36b27ad3 | 88 | py | Python | policykit/integrations/opencollective/__init__.py | mashton/policyk | 623523d76d63c06b6d559ad7b477d80512fbd2e7 | [
"MIT"
] | 78 | 2020-05-08T17:25:38.000Z | 2022-01-13T05:44:50.000Z | policykit/integrations/opencollective/__init__.py | mashton/policyk | 623523d76d63c06b6d559ad7b477d80512fbd2e7 | [
"MIT"
] | 302 | 2020-02-20T07:04:30.000Z | 2022-02-25T17:44:23.000Z | policykit/integrations/opencollective/__init__.py | mashton/policyk | 623523d76d63c06b6d559ad7b477d80512fbd2e7 | [
"MIT"
] | 13 | 2020-04-17T19:44:26.000Z | 2022-02-25T17:18:04.000Z | default_app_config = 'integrations.opencollective.apps.OpencollectiveIntegrationConfig'
| 44 | 87 | 0.897727 | 7 | 88 | 11 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034091 | 88 | 1 | 88 | 88 | 0.905882 | 0 | 0 | 0 | 0 | 0 | 0.727273 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
63f18910a0164a668b903d7bb0a849e429ad33b6 | 208 | py | Python | bluebottle/exports/permissions.py | terrameijar/bluebottle | b4f5ba9c4f03e678fdd36091b29240307ea69ffd | [
"BSD-3-Clause"
] | 10 | 2015-05-28T18:26:40.000Z | 2021-09-06T10:07:03.000Z | bluebottle/exports/permissions.py | terrameijar/bluebottle | b4f5ba9c4f03e678fdd36091b29240307ea69ffd | [
"BSD-3-Clause"
] | 762 | 2015-01-15T10:00:59.000Z | 2022-03-31T15:35:14.000Z | bluebottle/exports/permissions.py | terrameijar/bluebottle | b4f5ba9c4f03e678fdd36091b29240307ea69ffd | [
"BSD-3-Clause"
] | 9 | 2015-02-20T13:19:30.000Z | 2022-03-08T14:09:17.000Z | from django.conf import settings
import rules
@rules.predicate
def permission(*args, **kwargs):
return settings.EXPORTDB_PERMISSION(*args, **kwargs)
rules.add_rule('exportdb.can_export', permission)
| 17.333333 | 56 | 0.769231 | 26 | 208 | 6.038462 | 0.653846 | 0.178344 | 0.254777 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 208 | 11 | 57 | 18.909091 | 0.853261 | 0 | 0 | 0 | 0 | 0 | 0.091346 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0.166667 | 0.666667 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
c3ce990be29349cd519d604cecb9c3e308088ec0 | 89 | py | Python | swagger_server/api/__init__.py | NIEHS/pluggable-search-props-and-metadata | d923d1180b997f3cea1822d503155c43aead927e | [
"BSD-3-Clause"
] | null | null | null | swagger_server/api/__init__.py | NIEHS/pluggable-search-props-and-metadata | d923d1180b997f3cea1822d503155c43aead927e | [
"BSD-3-Clause"
] | 2 | 2020-04-16T16:20:54.000Z | 2021-08-06T12:11:43.000Z | swagger_server/api/__init__.py | NIEHS/pluggable-search-props-and-metadata | d923d1180b997f3cea1822d503155c43aead927e | [
"BSD-3-Clause"
] | 1 | 2022-02-24T15:36:57.000Z | 2022-02-24T15:36:57.000Z | from __future__ import absolute_import
from swagger_server.api.api_utils import APIUtils
| 29.666667 | 49 | 0.88764 | 13 | 89 | 5.538462 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089888 | 89 | 2 | 50 | 44.5 | 0.888889 | 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 | 1 | 0 | 0 | 5 |
c3d52ddb1b838cc42d506b6db2800e617d52a2e1 | 178 | py | Python | backend/users/serializers/__init__.py | AurelienGasser/substra-backend | c963f9b0521c7ebd878ea42fd9be9acfddf9f61d | [
"Apache-2.0"
] | 37 | 2019-10-25T13:31:20.000Z | 2021-05-29T05:27:50.000Z | backend/users/serializers/__init__.py | AurelienGasser/substra-backend | c963f9b0521c7ebd878ea42fd9be9acfddf9f61d | [
"Apache-2.0"
] | 217 | 2019-10-29T16:01:03.000Z | 2021-05-25T13:06:29.000Z | backend/users/serializers/__init__.py | AurelienGasser/substra-backend | c963f9b0521c7ebd878ea42fd9be9acfddf9f61d | [
"Apache-2.0"
] | 13 | 2019-10-25T13:46:36.000Z | 2021-03-16T16:59:04.000Z | # encoding: utf-8
from .user import CustomTokenObtainPairSerializer, CustomTokenRefreshSerializer
__all__ = ['CustomTokenObtainPairSerializer', 'CustomTokenRefreshSerializer']
| 29.666667 | 79 | 0.848315 | 11 | 178 | 13.363636 | 0.818182 | 0.802721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006098 | 0.078652 | 178 | 5 | 80 | 35.6 | 0.890244 | 0.08427 | 0 | 0 | 0 | 0 | 0.36646 | 0.36646 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | 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 | 5 |
c3fdbf7e34aeff7ba68a4a93b472d603f1a54de9 | 426 | py | Python | python/kata/8-kyu/Square(n) Sum/main.py | Carlososuna11/codewars-handbook | a0e7c9ac5ad19cfaed3ad463c04616daa3fed82e | [
"MIT"
] | null | null | null | python/kata/8-kyu/Square(n) Sum/main.py | Carlososuna11/codewars-handbook | a0e7c9ac5ad19cfaed3ad463c04616daa3fed82e | [
"MIT"
] | null | null | null | python/kata/8-kyu/Square(n) Sum/main.py | Carlososuna11/codewars-handbook | a0e7c9ac5ad19cfaed3ad463c04616daa3fed82e | [
"MIT"
] | null | null | null | import codewars_test as test
from solution import square_sum
@test.describe("Fixed Tests")
def basic_tests():
@test.it('Basic Test Cases')
def basic_test_cases():
test.assert_equals(square_sum([1,2]), 5)
test.assert_equals(square_sum([0, 3, 4, 5]), 50)
test.assert_equals(square_sum([]),... | 35.5 | 56 | 0.657277 | 67 | 426 | 3.955224 | 0.358209 | 0.203774 | 0.301887 | 0.415094 | 0.50566 | 0.50566 | 0.4 | 0.4 | 0.4 | 0.4 | 0 | 0.048851 | 0.183099 | 426 | 12 | 57 | 35.5 | 0.712644 | 0 | 0 | 0 | 0 | 0 | 0.063232 | 0 | 0 | 0 | 0 | 0 | 0.454545 | 1 | 0.181818 | true | 0 | 0.181818 | 0 | 0.363636 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7f1e619db1edb18cd7d0d1379e24bcf1d212246c | 368 | py | Python | src/baseapp/appinit.py | jpictor/tlsmd | dc2c593aebedbe0dc822d467e7b0fb7407762d61 | [
"Artistic-1.0"
] | null | null | null | src/baseapp/appinit.py | jpictor/tlsmd | dc2c593aebedbe0dc822d467e7b0fb7407762d61 | [
"Artistic-1.0"
] | null | null | null | src/baseapp/appinit.py | jpictor/tlsmd | dc2c593aebedbe0dc822d467e7b0fb7407762d61 | [
"Artistic-1.0"
] | null | null | null | ## configure logging
import logging
import logging.config
from django.conf import settings
logging.config.fileConfig(settings.LOGGING_CONFIG_FILE)
## configure Celery system
from . import celery_ext
logging.getLogger().setLevel(settings.LOG_LEVEL)
logging.debug('logging system configured for appname=%s using %s' % (s... | 30.666667 | 117 | 0.820652 | 48 | 368 | 6.166667 | 0.479167 | 0.175676 | 0.212838 | 0.168919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089674 | 368 | 11 | 118 | 33.454545 | 0.883582 | 0.111413 | 0 | 0 | 0 | 0 | 0.152174 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
617c27b360f0250e0b3e21439208e5a5e28b34a0 | 256 | py | Python | vitality/invitation.py | santosderek/Vitality | cc90d3b561c3b75f000288345d7a1442fb2b3fec | [
"MIT"
] | 1 | 2020-09-18T17:08:53.000Z | 2020-09-18T17:08:53.000Z | vitality/invitation.py | santosderek/Vitality | cc90d3b561c3b75f000288345d7a1442fb2b3fec | [
"MIT"
] | 91 | 2020-09-25T23:12:58.000Z | 2020-12-19T04:57:50.000Z | vitality/invitation.py | santosderek/4155-Team | cc90d3b561c3b75f000288345d7a1442fb2b3fec | [
"MIT"
] | 3 | 2020-09-26T22:35:42.000Z | 2020-10-13T18:22:22.000Z | class Invitation ():
def __init__(self, _id, sender, recipient):
self._id = _id
self.sender = sender
self.recipient = recipient
def __repr__(self):
return f'Invitation({self._id}, {self.sender}, {self.recipient})'
| 25.6 | 73 | 0.617188 | 29 | 256 | 5.034483 | 0.37931 | 0.123288 | 0.164384 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253906 | 256 | 9 | 74 | 28.444444 | 0.764398 | 0 | 0 | 0 | 0 | 0 | 0.214844 | 0.085938 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 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 | 1 | 1 | 0 | 0 | 5 |
6196fcf092caef29054c2d7708d02e4927450841 | 294 | py | Python | Beginner/12/Project/art.py | Matthew1906/100DaysOfPython | 94ffff8f5535ce5d574f49c0d7971d64a4575aad | [
"MIT"
] | 1 | 2021-12-25T02:19:18.000Z | 2021-12-25T02:19:18.000Z | Beginner/12/Project/art.py | Matthew1906/100DaysOfPython | 94ffff8f5535ce5d574f49c0d7971d64a4575aad | [
"MIT"
] | null | null | null | Beginner/12/Project/art.py | Matthew1906/100DaysOfPython | 94ffff8f5535ce5d574f49c0d7971d64a4575aad | [
"MIT"
] | 1 | 2021-11-25T10:31:47.000Z | 2021-11-25T10:31:47.000Z | logo = '''
_____ _ _ _____ _
| __|_ _ ___ ___ ___ | |_| |_ ___ | | |_ _ _____| |_ ___ ___
| | | | | -_|_ -|_ -| | _| | -_| | | | | | | | . | -_| _|
|_____|___|___|___|___| |_| |_|_|___| |_|___|___|_|_|_|___|___|_|
''' | 49 | 69 | 0.326531 | 1 | 294 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.442177 | 294 | 6 | 70 | 49 | 0.02439 | 0 | 0 | 0 | 0 | 0.5 | 0.952542 | 0.169492 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
61a37535a3f1d839a6ceb2b7c4a762e302ce5e8d | 57 | py | Python | fdp/api/__init__.py | cffbots/fairdatapoint | 6142b31408b5746d1a7e9f59e61735b7ad8bfde9 | [
"Apache-2.0"
] | 9 | 2020-03-27T12:58:51.000Z | 2021-01-21T16:22:46.000Z | fdp/api/__init__.py | MaastrichtU-IDS/fairdatapoint | f9f38903a629acbdb74a6a20014ac424cc3d3206 | [
"Apache-2.0"
] | 26 | 2016-05-26T22:22:34.000Z | 2020-02-13T07:12:37.000Z | fdp/api/__init__.py | MaastrichtU-IDS/fairdatapoint | f9f38903a629acbdb74a6a20014ac424cc3d3206 | [
"Apache-2.0"
] | 4 | 2020-06-09T18:37:33.000Z | 2020-12-16T08:05:01.000Z | from .metadata import FDP, Catalog, Dataset, Distribution | 57 | 57 | 0.824561 | 7 | 57 | 6.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 57 | 1 | 57 | 57 | 0.921569 | 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 | 1 | 0 | 0 | 5 |
61adaeafe6e61f12c8503d45f64a149d1d790745 | 97 | py | Python | python/simple/ldap.py | mypaceshun/practice | 2f747eca1df96d65bda57cc9f02bbfed6ae0defc | [
"MIT"
] | null | null | null | python/simple/ldap.py | mypaceshun/practice | 2f747eca1df96d65bda57cc9f02bbfed6ae0defc | [
"MIT"
] | null | null | null | python/simple/ldap.py | mypaceshun/practice | 2f747eca1df96d65bda57cc9f02bbfed6ae0defc | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# vi: set expandtab shiftwidth=4 :
import libldap
| 16.166667 | 34 | 0.649485 | 14 | 97 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0.164948 | 97 | 5 | 35 | 19.4 | 0.753086 | 0.773196 | 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 | 1 | 0 | 0 | 5 |
61adf885adf555e9dab58725f4735fdb37949b6b | 145 | py | Python | app.py | alphagov-mirror/cyber-security-auto-snyk | 59bea6174778677fef7848cd7e79b4574a9ebc96 | [
"MIT"
] | 1 | 2019-11-15T16:59:27.000Z | 2019-11-15T16:59:27.000Z | app.py | alphagov-mirror/cyber-security-auto-snyk | 59bea6174778677fef7848cd7e79b4574a9ebc96 | [
"MIT"
] | null | null | null | app.py | alphagov-mirror/cyber-security-auto-snyk | 59bea6174778677fef7848cd7e79b4574a9ebc96 | [
"MIT"
] | 2 | 2019-08-29T14:02:19.000Z | 2021-04-10T19:32:18.000Z | import fire
#from classes.github_auditor import GithubAuditor
from classes.snyker import Snyker
if __name__ == '__main__':
fire.Fire(Snyker)
| 24.166667 | 49 | 0.793103 | 19 | 145 | 5.578947 | 0.578947 | 0.207547 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131034 | 145 | 5 | 50 | 29 | 0.84127 | 0.331034 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
61b7ec01b5c82cf95c492f40776227ffc561ee33 | 99 | py | Python | test_pip/__init__.py | sp1020/test_pip | c99a6b5986eeef38acfdea7d63907f0bff74bebf | [
"MIT"
] | null | null | null | test_pip/__init__.py | sp1020/test_pip | c99a6b5986eeef38acfdea7d63907f0bff74bebf | [
"MIT"
] | null | null | null | test_pip/__init__.py | sp1020/test_pip | c99a6b5986eeef38acfdea7d63907f0bff74bebf | [
"MIT"
] | null | null | null | def test():
print('software installed')
print('a new version')
print('version update')
| 19.8 | 31 | 0.636364 | 12 | 99 | 5.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 99 | 4 | 32 | 24.75 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0 | 0.25 | 0.75 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
f61075bb6168bd3e89e9cbb91f5afd6b945f4043 | 35 | py | Python | prueba_zxventures/api/migrations/__init__.py | frsepulv/prueba_zxventures | f3584b0ae03a60d319bc16020162dae9457bf3ab | [
"MIT"
] | null | null | null | prueba_zxventures/api/migrations/__init__.py | frsepulv/prueba_zxventures | f3584b0ae03a60d319bc16020162dae9457bf3ab | [
"MIT"
] | null | null | null | prueba_zxventures/api/migrations/__init__.py | frsepulv/prueba_zxventures | f3584b0ae03a60d319bc16020162dae9457bf3ab | [
"MIT"
] | null | null | null | """Migraciones de base de datos.""" | 35 | 35 | 0.685714 | 5 | 35 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.774194 | 0.828571 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 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 | 5 |
f6527bcbb49cc452c9ada6c6d82f2b589c59151d | 620 | py | Python | label_studio/io_storages/models.py | xhuaustc/label-studio | b787824a9e16f488a9b4cd2cef83e1ac526a64f3 | [
"Apache-2.0"
] | 3 | 2021-07-16T03:48:21.000Z | 2022-01-10T04:58:25.000Z | label_studio/io_storages/models.py | xhuaustc/label-studio | b787824a9e16f488a9b4cd2cef83e1ac526a64f3 | [
"Apache-2.0"
] | 6 | 2022-02-21T15:19:35.000Z | 2022-03-07T15:25:16.000Z | label_studio/io_storages/models.py | xhuaustc/label-studio | b787824a9e16f488a9b4cd2cef83e1ac526a64f3 | [
"Apache-2.0"
] | 1 | 2021-07-29T12:53:34.000Z | 2021-07-29T12:53:34.000Z | """This file and its contents are licensed under the Apache License 2.0. Please see the included NOTICE for copyright information and LICENSE for a copy of the license.
"""
from .azure_blob.models import AzureBlobImportStorage, AzureBlobImportStorageLink, AzureBlobExportStorage, AzureBlobExportStorageLink
from .s3.mode... | 103.333333 | 168 | 0.862903 | 62 | 620 | 8.612903 | 0.758065 | 0.089888 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012411 | 0.090323 | 620 | 6 | 169 | 103.333333 | 0.934397 | 0.266129 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f654e946fd96fdf7369bef8eb1ca529dcb63fba9 | 48,770 | py | Python | fn_mcafee_atd/fn_mcafee_atd/util/customize.py | esirt14/resilient-community-apps | 4925ebd5ce8762717af76e47b64faa3bb341c922 | [
"MIT"
] | null | null | null | fn_mcafee_atd/fn_mcafee_atd/util/customize.py | esirt14/resilient-community-apps | 4925ebd5ce8762717af76e47b64faa3bb341c922 | [
"MIT"
] | null | null | null | fn_mcafee_atd/fn_mcafee_atd/util/customize.py | esirt14/resilient-community-apps | 4925ebd5ce8762717af76e47b64faa3bb341c922 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Generate the Resilient customizations required for fn_mcafee_atd"""
from __future__ import print_function
from resilient_circuits.util import *
def customization_data(client=None):
"""Produce any customization definitions (types, fields, message destinations, etc)
that should b... | 73.893939 | 87 | 0.977978 | 810 | 48,770 | 58.834568 | 0.91358 | 0.002077 | 0.00235 | 0.000839 | 0.001175 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110626 | 0.018762 | 48,770 | 659 | 88 | 74.00607 | 0.885216 | 0.016055 | 0 | 0.0096 | 1 | 0 | 0.994201 | 0.981269 | 0 | 1 | 0 | 0 | 0 | 1 | 0.0016 | false | 0 | 0.0048 | 0 | 0.0064 | 0.0016 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9c9faf7a02563bb8eb2daf38e098b80ad541f46a | 19,073 | py | Python | example_algos/models/nets.py | MIC-DKFZ/mood | a01303adb4256653b133e2f7cd4741d366b681f7 | [
"Apache-2.0"
] | 42 | 2020-04-30T11:16:11.000Z | 2021-09-15T16:15:30.000Z | example_algos/models/nets.py | MIC-DKFZ/mood | a01303adb4256653b133e2f7cd4741d366b681f7 | [
"Apache-2.0"
] | 2 | 2020-06-19T06:24:19.000Z | 2020-07-27T08:07:54.000Z | example_algos/models/nets.py | MIC-DKFZ/mood | a01303adb4256653b133e2f7cd4741d366b681f7 | [
"Apache-2.0"
] | 5 | 2020-07-20T13:26:50.000Z | 2021-07-18T22:42:47.000Z | import warnings
import numpy as np
import torch
import torch.nn as nn
class NoOp(nn.Module):
def __init__(self, *args, **kwargs):
"""NoOp Pytorch Module.
Forwards the given input as is.
"""
super(NoOp, self).__init__()
def forward(self, x, *args, **kwargs):
return x
... | 41.73523 | 293 | 0.612594 | 2,328 | 19,073 | 4.816151 | 0.095361 | 0.039244 | 0.030503 | 0.022743 | 0.795665 | 0.779254 | 0.753032 | 0.725829 | 0.707545 | 0.694345 | 0 | 0.008913 | 0.299953 | 19,073 | 456 | 294 | 41.826754 | 0.830812 | 0.378493 | 0 | 0.679054 | 0 | 0 | 0.026438 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040541 | false | 0 | 0.013514 | 0.003378 | 0.094595 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9cbfbaf94464020a82869f1eb3e3ffe7c979c43b | 177 | py | Python | examples/custom-cli-provider/dynamic-import.py | berttejeda/ansible-taskrunner | b0cf8a56caa57ebe6dcc4da022f05c464f6a09f2 | [
"MIT"
] | 17 | 2019-08-03T06:46:11.000Z | 2022-01-25T17:17:56.000Z | examples/custom-cli-provider/dynamic-import.py | berttejeda/ansible-taskrunner | b0cf8a56caa57ebe6dcc4da022f05c464f6a09f2 | [
"MIT"
] | null | null | null | examples/custom-cli-provider/dynamic-import.py | berttejeda/ansible-taskrunner | b0cf8a56caa57ebe6dcc4da022f05c464f6a09f2 | [
"MIT"
] | 1 | 2019-08-03T15:58:47.000Z | 2019-08-03T15:58:47.000Z | import imp
from imp_get_suffixes import module_types
print 'Package:'
f, filename, description = imp.find_module('example')
print module_types[description[2]], filename
print
| 19.666667 | 53 | 0.80226 | 25 | 177 | 5.48 | 0.6 | 0.160584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006329 | 0.107345 | 177 | 8 | 54 | 22.125 | 0.860759 | 0 | 0 | 0 | 0 | 0 | 0.085227 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
9cf67032e56298c8ea4d9fa279e540ccc90b3066 | 129 | py | Python | adapters/driven/databaseInterface.py | demorose/hexashell_python | 13d5efa166ea9699cae70cf6b9eb50e27feb1ef6 | [
"MIT"
] | null | null | null | adapters/driven/databaseInterface.py | demorose/hexashell_python | 13d5efa166ea9699cae70cf6b9eb50e27feb1ef6 | [
"MIT"
] | null | null | null | adapters/driven/databaseInterface.py | demorose/hexashell_python | 13d5efa166ea9699cae70cf6b9eb50e27feb1ef6 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
class DatabaseInterface(ABC):
@abstractmethod
def get_user(self, id):
pass
| 16.125 | 35 | 0.697674 | 15 | 129 | 5.933333 | 0.8 | 0.382022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 129 | 7 | 36 | 18.428571 | 0.89899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 0 | 0.6 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
140593eec297704bca8a87d85e289aefbe3ff652 | 6,965 | py | Python | tests/test_new_join.py | kinegratii/borax | 3595f554b788c31d0f07be4099db68c854db65f7 | [
"MIT"
] | 51 | 2018-04-18T13:52:15.000Z | 2022-03-23T13:46:02.000Z | tests/test_new_join.py | kinegratii/borax | 3595f554b788c31d0f07be4099db68c854db65f7 | [
"MIT"
] | 26 | 2019-05-26T02:22:34.000Z | 2022-03-14T07:50:32.000Z | tests/test_new_join.py | kinegratii/borax | 3595f554b788c31d0f07be4099db68c854db65f7 | [
"MIT"
] | 7 | 2018-09-30T08:17:29.000Z | 2020-12-16T01:49:24.000Z | # coding=utf8
import unittest
import copy
from borax.datasets.join_ import (OnClause, OC, SelectClause, SC, join, join_one, deep_join, deep_join_one)
catalogs_dict = {
1: 'Python',
2: 'Java',
3: '软件工程'
}
catalog_choices = [(1, 'Python'), (2, 'Java'), (3, '软件工程')]
catalogs_list = [
{'id': 1, 'name': '... | 41.706587 | 119 | 0.628571 | 829 | 6,965 | 5.021713 | 0.110977 | 0.108335 | 0.046841 | 0.053087 | 0.827768 | 0.809032 | 0.79534 | 0.721355 | 0.69325 | 0.682441 | 0 | 0.012236 | 0.225556 | 6,965 | 166 | 120 | 41.957831 | 0.759548 | 0.001579 | 0 | 0.434783 | 0 | 0 | 0.150748 | 0 | 0 | 0 | 0 | 0 | 0.318841 | 1 | 0.115942 | false | 0 | 0.021739 | 0.007246 | 0.188406 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
141b08de40d48ce5d832865a066bfc763762c5fc | 53 | py | Python | hypoforest/__init__.py | joshloyal/forest-hypothesis-tests | ce75a11a3ad80667329118359cd6e4a4d5d93296 | [
"MIT"
] | null | null | null | hypoforest/__init__.py | joshloyal/forest-hypothesis-tests | ce75a11a3ad80667329118359cd6e4a4d5d93296 | [
"MIT"
] | null | null | null | hypoforest/__init__.py | joshloyal/forest-hypothesis-tests | ce75a11a3ad80667329118359cd6e4a4d5d93296 | [
"MIT"
] | null | null | null | from .confidence_interval import random_forest_error
| 26.5 | 52 | 0.90566 | 7 | 53 | 6.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 53 | 1 | 53 | 53 | 0.918367 | 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 | 1 | 0 | 0 | 5 |
1446b73f8d39e742fa91e2191209174e559a7524 | 147 | py | Python | testing_settings.py | livra-ar/backend | eb052611bb9b2cfa360fa422ce059984b8d295fa | [
"BSD-2-Clause"
] | 1 | 2020-09-05T12:18:06.000Z | 2020-09-05T12:18:06.000Z | testing_settings.py | thamidurm/ar-content-platform-backend | eb052611bb9b2cfa360fa422ce059984b8d295fa | [
"BSD-2-Clause"
] | 3 | 2021-06-09T17:46:46.000Z | 2021-09-22T18:54:57.000Z | testing_settings.py | livra-ar/backend | eb052611bb9b2cfa360fa422ce059984b8d295fa | [
"BSD-2-Clause"
] | null | null | null | # import mongoengine
# from ar_platform.settings import *
# mongoengine.connection.disconnect()
# connect('testdb', host='mongomock://localhost') | 24.5 | 49 | 0.761905 | 15 | 147 | 7.4 | 0.866667 | 0.306306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 147 | 6 | 49 | 24.5 | 0.834586 | 0.931973 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 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 | 5 |
148aeac881a9ac42cafbd5b5904e86de069dca90 | 63 | py | Python | alexber/rpsgame/utils/__init__.py | alex-ber/RocketPaperScissorsGame | c38c82a17d508c892c686454864ee2356f441d1a | [
"BSD-2-Clause"
] | null | null | null | alexber/rpsgame/utils/__init__.py | alex-ber/RocketPaperScissorsGame | c38c82a17d508c892c686454864ee2356f441d1a | [
"BSD-2-Clause"
] | 1 | 2019-03-20T10:35:36.000Z | 2019-03-21T12:46:44.000Z | alexber/rpsgame/utils/__init__.py | alex-ber/RocketPaperScissorsGame | c38c82a17d508c892c686454864ee2356f441d1a | [
"BSD-2-Clause"
] | null | null | null | from alexber.utils import LookUpMixinEnum, AutoNameMixinEnum
| 15.75 | 60 | 0.857143 | 6 | 63 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 63 | 3 | 61 | 21 | 0.964286 | 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 | 1 | 0 | 0 | 5 |
14a5d9d90926c266aaec768f3e0fac2ce103603c | 4,770 | py | Python | baseline.py | hirune924/ml-tools | 1a4e3d205b6eeef7bef7ef2f205ac8087ffa7f69 | [
"MIT"
] | null | null | null | baseline.py | hirune924/ml-tools | 1a4e3d205b6eeef7bef7ef2f205ac8087ffa7f69 | [
"MIT"
] | null | null | null | baseline.py | hirune924/ml-tools | 1a4e3d205b6eeef7bef7ef2f205ac8087ffa7f69 | [
"MIT"
] | null | null | null | import os
from omegaconf import DictConfig, OmegaConf
import hydra
from hydra import utils
import numpy as np
import pandas as pd
import xfeat
@hydra.main(config_path="../config/baseline.yaml", strict=False)
def main(cfg: DictConfig) -> None:
print(cfg.pretty())
## Load Data
feature_name = "features/tr... | 42.972973 | 128 | 0.703354 | 627 | 4,770 | 5.038278 | 0.15949 | 0.066477 | 0.14245 | 0.180437 | 0.747072 | 0.7132 | 0.708135 | 0.708135 | 0.691358 | 0.685027 | 0 | 0.004554 | 0.171279 | 4,770 | 110 | 129 | 43.363636 | 0.794586 | 0.014046 | 0 | 0.390805 | 0 | 0 | 0.188193 | 0.131927 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011494 | false | 0 | 0.08046 | 0 | 0.091954 | 0.16092 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 5 |
1ada8671313ec4f8626a98e79c23f4a9560b39dc | 1,839 | py | Python | Common/IO/FileInfo/IFileInfo.py | enriqueescobar-askida/Kinito.Finance | 5308748b64829ac798a858161f9b4a9e5829db44 | [
"MIT"
] | 2 | 2020-03-04T11:18:38.000Z | 2020-05-10T15:36:42.000Z | Common/IO/FileInfo/IFileInfo.py | enriqueescobar-askida/Kinito.Finance | 5308748b64829ac798a858161f9b4a9e5829db44 | [
"MIT"
] | 6 | 2020-03-30T16:42:47.000Z | 2021-12-13T20:37:21.000Z | Common/IO/FileInfo/IFileInfo.py | enriqueescobar-askida/Kinito.Finance | 5308748b64829ac798a858161f9b4a9e5829db44 | [
"MIT"
] | 1 | 2020-04-14T11:26:16.000Z | 2020-04-14T11:26:16.000Z | from abc import abstractmethod
from Common.Objects.Interfaceable import Interfaceable
class IFileInfo(Interfaceable):
@abstractmethod
def AppendText(self) -> bool:
pass
@abstractmethod
def CopyTo(self) -> bool:
pass
@abstractmethod
def Create(self) -> bool:
pass
... | 14.830645 | 54 | 0.585644 | 160 | 1,839 | 6.73125 | 0.25 | 0.410399 | 0.193129 | 0.362117 | 0.506035 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.343665 | 1,839 | 123 | 55 | 14.95122 | 0.892295 | 0 | 0 | 0.691489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.276596 | false | 0.276596 | 0.021277 | 0 | 0.308511 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
1ade551a37fde91242c8a87b99bc049bc17c858b | 104 | py | Python | venv/Lib/site-packages/mizani/external/__init__.py | EkremBayar/bayar | aad1a32044da671d0b4f11908416044753360b39 | [
"MIT"
] | 29 | 2017-04-25T23:52:24.000Z | 2022-03-07T02:35:37.000Z | venv/Lib/site-packages/mizani/external/__init__.py | EkremBayar/bayar | aad1a32044da671d0b4f11908416044753360b39 | [
"MIT"
] | 22 | 2016-07-03T17:18:58.000Z | 2021-08-18T10:18:17.000Z | venv/Lib/site-packages/mizani/external/__init__.py | EkremBayar/bayar | aad1a32044da671d0b4f11908416044753360b39 | [
"MIT"
] | 13 | 2017-05-21T11:38:32.000Z | 2022-02-23T11:25:30.000Z | from .xkcd_rgb import xkcd_rgb
from .crayon_rgb import crayon_rgb
__all__ = ['xkcd_rgb', 'crayon_rgb']
| 20.8 | 36 | 0.778846 | 17 | 104 | 4.176471 | 0.352941 | 0.295775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 104 | 4 | 37 | 26 | 0.78022 | 0 | 0 | 0 | 0 | 0 | 0.173077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 5 |
2116cf517525a6c29e0f07fd1d87956edad62987 | 67 | py | Python | code/tmp_rtrip/ctypes/test/__main__.py | emilyemorehouse/ast-and-me | 3f58117512e125e1ecbe3c72f2f0d26adb80b7b3 | [
"MIT"
] | 24 | 2018-01-23T05:28:40.000Z | 2021-04-13T20:52:59.000Z | code/tmp_rtrip/ctypes/test/__main__.py | emilyemorehouse/ast-and-me | 3f58117512e125e1ecbe3c72f2f0d26adb80b7b3 | [
"MIT"
] | 17 | 2017-12-21T18:32:31.000Z | 2018-12-18T17:09:50.000Z | code/tmp_rtrip/ctypes/test/__main__.py | emilyemorehouse/ast-and-me | 3f58117512e125e1ecbe3c72f2f0d26adb80b7b3 | [
"MIT"
] | null | null | null | from ctypes.test import load_tests
import unittest
unittest.main()
| 16.75 | 34 | 0.835821 | 10 | 67 | 5.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104478 | 67 | 3 | 35 | 22.333333 | 0.916667 | 0 | 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 | 1 | 0 | 0 | 5 |
211a5ebcd65bac0c9776cc3e20eaa238da63b1fc | 156,789 | py | Python | test34_bif.py | jpra2/Presto2.1 | e2a3e3121280b011a6be2a59be708623bdc0b482 | [
"CNRI-Python"
] | 1 | 2018-12-04T19:32:27.000Z | 2018-12-04T19:32:27.000Z | test34_bif.py | jpra2/Presto2.1 | e2a3e3121280b011a6be2a59be708623bdc0b482 | [
"CNRI-Python"
] | null | null | null | test34_bif.py | jpra2/Presto2.1 | e2a3e3121280b011a6be2a59be708623bdc0b482 | [
"CNRI-Python"
] | null | null | null | import numpy as np
from pymoab import core
from pymoab import types
from pymoab import topo_util
from PyTrilinos import Epetra, AztecOO, EpetraExt # , Amesos
import time
import sys
import shutil
import os
import random
import configparser
class Msclassic_bif:
def __init__(self):
self.comm = Epetra.PyCo... | 42.721798 | 151 | 0.529801 | 21,306 | 156,789 | 3.634281 | 0.033512 | 0.034998 | 0.045666 | 0.059045 | 0.82236 | 0.782325 | 0.742962 | 0.719057 | 0.699685 | 0.684936 | 0 | 0.021264 | 0.356626 | 156,789 | 3,669 | 152 | 42.733442 | 0.746347 | 0.111577 | 0 | 0.669275 | 0 | 0 | 0.015527 | 0.00365 | 0 | 0 | 0 | 0.000273 | 0 | 1 | 0.026771 | false | 0.00453 | 0.008649 | 0 | 0.044893 | 0.029242 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 5 |
214c3d41efff407420424ce39e0d38924e0de1c2 | 4,150 | py | Python | generated/azure-cli/alerts/_params.py | audevbot/autorest.devops.debug | a507fb6e2dd7826212537f27d583f203aac1c28f | [
"MIT"
] | null | null | null | generated/azure-cli/alerts/_params.py | audevbot/autorest.devops.debug | a507fb6e2dd7826212537f27d583f203aac1c28f | [
"MIT"
] | null | null | null | generated/azure-cli/alerts/_params.py | audevbot/autorest.devops.debug | a507fb6e2dd7826212537f27d583f203aac1c28f | [
"MIT"
] | null | null | null | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# -----------------------------------------------------------------... | 61.029412 | 170 | 0.661928 | 555 | 4,150 | 4.763964 | 0.194595 | 0.115734 | 0.083207 | 0.11649 | 0.799546 | 0.757186 | 0.730711 | 0.719365 | 0.719365 | 0.719365 | 0 | 0.005792 | 0.167952 | 4,150 | 67 | 171 | 61.940299 | 0.759919 | 0.104337 | 0 | 0.627451 | 0 | 0.019608 | 0.3229 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019608 | false | 0 | 0.058824 | 0 | 0.078431 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
214eaaa70f31977b91a445d3403666b129ae0f44 | 93 | py | Python | mcpipy/mcturtle.py | wangtt03/raspberryjammod | d828d1b225c0dfc25d91f4e3569ce620fa231e14 | [
"MIT"
] | 338 | 2015-01-20T15:07:48.000Z | 2022-02-25T17:31:06.000Z | mcpipy/mcturtle.py | wangtt03/raspberryjammod | d828d1b225c0dfc25d91f4e3569ce620fa231e14 | [
"MIT"
] | 58 | 2015-03-26T12:21:41.000Z | 2022-02-20T21:01:33.000Z | mcpipy/mcturtle.py | wangtt03/raspberryjammod | d828d1b225c0dfc25d91f4e3569ce620fa231e14 | [
"MIT"
] | 112 | 2015-08-10T19:20:44.000Z | 2022-02-23T08:58:52.000Z | #
# DEPRECATED: use mineturtle.py
#
from mineturtle import *
from mcpi.block import *
| 13.285714 | 32 | 0.688172 | 11 | 93 | 5.818182 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 93 | 6 | 33 | 15.5 | 0.888889 | 0.311828 | 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 | 1 | 0 | 0 | 5 |
215e2aa048cf3a5ee601f153b08fc235508cf7a7 | 311 | py | Python | src/export/FileWriter.py | ytyaru/NovelWriter400.201706161317 | 40fb268f159256c38f66e7d8efc0092e0acb3f03 | [
"CC0-1.0"
] | null | null | null | src/export/FileWriter.py | ytyaru/NovelWriter400.201706161317 | 40fb268f159256c38f66e7d8efc0092e0acb3f03 | [
"CC0-1.0"
] | null | null | null | src/export/FileWriter.py | ytyaru/NovelWriter400.201706161317 | 40fb268f159256c38f66e7d8efc0092e0acb3f03 | [
"CC0-1.0"
] | null | null | null | class FileWriter:
def __init__(self):
pass
def Write(self, path, record):
with open(path, 'w') as f:
if None is not record['Title'] and 0 != len(record['Title']):
f.write(record['Title'])
f.write('\n\n')
f.write(record['Content'])
| 31.1 | 73 | 0.501608 | 40 | 311 | 3.8 | 0.6 | 0.217105 | 0.157895 | 0.223684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004878 | 0.340836 | 311 | 9 | 74 | 34.555556 | 0.736585 | 0 | 0 | 0 | 0 | 0 | 0.086817 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
dcf9e032748b03b5a6715bd19229d3ce5591d8cd | 165 | py | Python | announcements/compat.py | new-player/share_projects | 0dfb595ac425c2cc48b9ca0930b8f9f1d6a6a36a | [
"MIT"
] | null | null | null | announcements/compat.py | new-player/share_projects | 0dfb595ac425c2cc48b9ca0930b8f9f1d6a6a36a | [
"MIT"
] | null | null | null | announcements/compat.py | new-player/share_projects | 0dfb595ac425c2cc48b9ca0930b8f9f1d6a6a36a | [
"MIT"
] | null | null | null | from django.conf import settings
import django
if django.VERSION >= (1, 5):
AUTH_USER_MODEL = settings.AUTH_USER_MODEL
else:
AUTH_USER_MODEL = u'auth.User'
| 20.625 | 46 | 0.745455 | 26 | 165 | 4.5 | 0.538462 | 0.273504 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.163636 | 165 | 7 | 47 | 23.571429 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
dcf9fb45a3984d34b3660b889dd69475ac0ae8a6 | 30 | py | Python | __init__.py | yuliangzhang/PrimarySchoolMathematics | a05b2daf123151c0630d64124c82806c280841b2 | [
"Apache-2.0"
] | null | null | null | __init__.py | yuliangzhang/PrimarySchoolMathematics | a05b2daf123151c0630d64124c82806c280841b2 | [
"Apache-2.0"
] | null | null | null | __init__.py | yuliangzhang/PrimarySchoolMathematics | a05b2daf123151c0630d64124c82806c280841b2 | [
"Apache-2.0"
] | null | null | null | from .App import main
main()
| 7.5 | 21 | 0.7 | 5 | 30 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 30 | 3 | 22 | 10 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.