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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b493062dcc23ae38ad46da59fffcfebee628a021 | 442 | py | Python | pyoanda/tests/_test_integration/test_account.py | toloco/pyoanda | 26b3f28a89d07c5c20d2a645884505387f1daae8 | [
"MIT"
] | 81 | 2015-03-18T23:02:33.000Z | 2021-07-13T15:00:14.000Z | pyoanda/tests/_test_integration/test_account.py | toloco/pyoanda | 26b3f28a89d07c5c20d2a645884505387f1daae8 | [
"MIT"
] | 32 | 2015-04-18T22:04:00.000Z | 2019-02-28T00:58:39.000Z | pyoanda/tests/_test_integration/test_account.py | toloco/pyoanda | 26b3f28a89d07c5c20d2a645884505387f1daae8 | [
"MIT"
] | 32 | 2015-04-06T16:42:07.000Z | 2018-02-13T19:06:19.000Z | from .integration_test_case import IntegrationTestCase
class TestAccountAPI(IntegrationTestCase):
def test_create_account(self):
assert self.client.create_account()
def test_create_account_with_currency(self):
assert self.client.create_account('GBP')
assert self.client.create_account(... | 31.571429 | 71 | 0.755656 | 53 | 442 | 6.037736 | 0.396226 | 0.203125 | 0.2 | 0.1875 | 0.296875 | 0.20625 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 442 | 13 | 72 | 34 | 0.855615 | 0 | 0 | 0 | 0 | 0 | 0.031674 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.333333 | false | 0 | 0.111111 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b4932d07b49c4a33449e73754badd7f7d4c31e9b | 262 | py | Python | app/controllers/redirect.py | minixalpha/WatchTips | 4e7402741c98fcd1888a01b712a5f9e0aa0689ac | [
"BSD-3-Clause"
] | 1 | 2017-10-25T17:08:48.000Z | 2017-10-25T17:08:48.000Z | app/controllers/redirect.py | minixalpha/WatchTips | 4e7402741c98fcd1888a01b712a5f9e0aa0689ac | [
"BSD-3-Clause"
] | null | null | null | app/controllers/redirect.py | minixalpha/WatchTips | 4e7402741c98fcd1888a01b712a5f9e0aa0689ac | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
#coding: utf-8
import json
# Redirect action command to client
# Redirect to login page
def login():
return json.dumps({'action': 'login'})
# Redirect to register page
def register():
return json.dumps({'action': 'register'})
| 15.411765 | 45 | 0.683206 | 36 | 262 | 4.972222 | 0.555556 | 0.111732 | 0.167598 | 0.234637 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00463 | 0.175573 | 262 | 16 | 46 | 16.375 | 0.824074 | 0.442748 | 0 | 0 | 0 | 0 | 0.177305 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
b4b1f591e02f3b2f8751d2fe30d0c79ee3967521 | 61 | py | Python | image-segmentation-keras/deeplab_keras/__init__.py | abhineet123/river_ice_segmentation | 24f0aa60b164fb21c00c269b2309172dbe7d22f4 | [
"CC-BY-3.0"
] | 10 | 2019-07-24T12:23:05.000Z | 2022-01-06T04:08:54.000Z | image-segmentation-keras/deeplab_keras/__init__.py | abhineet123/river_ice_segmentation | 24f0aa60b164fb21c00c269b2309172dbe7d22f4 | [
"CC-BY-3.0"
] | null | null | null | image-segmentation-keras/deeplab_keras/__init__.py | abhineet123/river_ice_segmentation | 24f0aa60b164fb21c00c269b2309172dbe7d22f4 | [
"CC-BY-3.0"
] | 7 | 2019-04-08T17:46:08.000Z | 2022-02-25T11:06:59.000Z | import sys
sys.path.append('./deeplab_keras')
import model
| 10.166667 | 34 | 0.754098 | 9 | 61 | 5 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114754 | 61 | 5 | 35 | 12.2 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.254237 | 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 |
b4ba5e96e4e1105c1efcaa6de970ffc6bdc6bc53 | 134 | py | Python | pyobs/images/processors/exptime/__init__.py | pyobs/pyobs-core | e3401e63eb31587c2bc535f7346b7e4ef69d64ab | [
"MIT"
] | 4 | 2020-02-14T10:50:03.000Z | 2022-03-25T04:15:06.000Z | pyobs/images/processors/exptime/__init__.py | pyobs/pyobs-core | e3401e63eb31587c2bc535f7346b7e4ef69d64ab | [
"MIT"
] | 60 | 2020-09-14T09:10:20.000Z | 2022-03-25T17:51:42.000Z | pyobs/images/processors/exptime/__init__.py | pyobs/pyobs-core | e3401e63eb31587c2bc535f7346b7e4ef69d64ab | [
"MIT"
] | 2 | 2020-10-14T09:34:57.000Z | 2021-04-27T09:35:57.000Z | """
Exposure Time estimators
------------------------
"""
from .exptime import ExpTimeEstimator
from .star import StarExpTimeEstimator | 22.333333 | 38 | 0.664179 | 11 | 134 | 8.090909 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097015 | 134 | 6 | 38 | 22.333333 | 0.735537 | 0.365672 | 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 |
b4cec28f6fbe2287200d22da2d87936bbf63d640 | 113 | py | Python | sedfitter/sed/__init__.py | keflavich/sedfitter | ec8722ec423ac684e4930fe23a98cd7b2d5b9f50 | [
"BSD-2-Clause"
] | null | null | null | sedfitter/sed/__init__.py | keflavich/sedfitter | ec8722ec423ac684e4930fe23a98cd7b2d5b9f50 | [
"BSD-2-Clause"
] | null | null | null | sedfitter/sed/__init__.py | keflavich/sedfitter | ec8722ec423ac684e4930fe23a98cd7b2d5b9f50 | [
"BSD-2-Clause"
] | 1 | 2017-09-16T18:38:13.000Z | 2017-09-16T18:38:13.000Z | from __future__ import print_function, division
from .sed import SED
from .cube import SEDCube, PolarizationCube | 28.25 | 47 | 0.840708 | 15 | 113 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123894 | 113 | 4 | 48 | 28.25 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b4f08c977ce7596016f47416f6886d068a4deaff | 25 | py | Python | pyomeca/_version.py | romainmartinez/pyomeca | d242ab0d4e451e87ce7a1fe4dc55ee49c33c491d | [
"Apache-2.0"
] | 1 | 2020-09-14T22:22:01.000Z | 2020-09-14T22:22:01.000Z | pyomeca/_version.py | romainmartinez/pyomeca | d242ab0d4e451e87ce7a1fe4dc55ee49c33c491d | [
"Apache-2.0"
] | 14 | 2020-04-15T12:35:03.000Z | 2020-05-16T19:18:51.000Z | pyomeca/_version.py | romainmartinez/pyomeca | d242ab0d4e451e87ce7a1fe4dc55ee49c33c491d | [
"Apache-2.0"
] | 1 | 2020-04-16T14:02:25.000Z | 2020-04-16T14:02:25.000Z | __version__ = "2020.0.2"
| 12.5 | 24 | 0.68 | 4 | 25 | 3.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 0.12 | 25 | 1 | 25 | 25 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
370c412617b6b465df1263de93eca11b18cff16f | 115 | py | Python | admin.py | gtsiokos/diogenis | c83d4dac26df68bbbf897c48a5552ea9c9ede9c2 | [
"BSD-3-Clause"
] | 1 | 2019-08-16T13:47:46.000Z | 2019-08-16T13:47:46.000Z | admin.py | gtsiokos/diogenis | c83d4dac26df68bbbf897c48a5552ea9c9ede9c2 | [
"BSD-3-Clause"
] | null | null | null | admin.py | gtsiokos/diogenis | c83d4dac26df68bbbf897c48a5552ea9c9ede9c2 | [
"BSD-3-Clause"
] | null | null | null | from diogenis.auth.models import UserProfile
from django.contrib import admin
admin.site.register(UserProfile)
| 14.375 | 44 | 0.826087 | 15 | 115 | 6.333333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113043 | 115 | 7 | 45 | 16.428571 | 0.931373 | 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 |
2e99e4c4111341706c8c9f46138422f47e7f5b73 | 1,990 | py | Python | idigbio_media_appliance/tests/test_api_media.py | gauravyeole/iDigBio-appliance | 4fae0ef1e7cffc13c523a3a837b1b48da71b79b9 | [
"MIT"
] | 3 | 2016-11-15T21:09:09.000Z | 2020-04-14T15:17:16.000Z | idigbio_media_appliance/tests/test_api_media.py | gauravyeole/iDigBio-appliance | 4fae0ef1e7cffc13c523a3a837b1b48da71b79b9 | [
"MIT"
] | 17 | 2016-11-21T21:02:22.000Z | 2020-03-25T18:54:53.000Z | idigbio_media_appliance/tests/test_api_media.py | gauravyeole/iDigBio-appliance | 4fae0ef1e7cffc13c523a3a837b1b48da71b79b9 | [
"MIT"
] | 2 | 2017-06-09T17:30:37.000Z | 2019-04-09T22:09:54.000Z | from __future__ import absolute_import, print_function, division, unicode_literals
import os
import json
from flask import url_for
import pathlib
def test_media_api_list(api_login, json_in_out, client):
res = client.get(url_for('media_api.mediaapi'), headers=json_in_out)
assert "count" in res.json
assert... | 37.54717 | 82 | 0.695477 | 300 | 1,990 | 4.35 | 0.176667 | 0.08046 | 0.099617 | 0.110345 | 0.841379 | 0.760153 | 0.742529 | 0.717241 | 0.665134 | 0.619157 | 0 | 0.003584 | 0.158794 | 1,990 | 52 | 83 | 38.269231 | 0.775986 | 0 | 0 | 0.585366 | 0 | 0 | 0.156281 | 0 | 0 | 0 | 0 | 0 | 0.292683 | 1 | 0.097561 | false | 0 | 0.121951 | 0 | 0.219512 | 0.02439 | 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 |
2eee892e7e1290af648700bb9554f6235518d7ba | 6,101 | py | Python | qf_lib_tests/unit_tests/common/test_frequency.py | webclinic017/qf-lib | 96463876719bba8a76c8269cef76addf3a2d836d | [
"Apache-2.0"
] | 198 | 2019-08-16T15:09:23.000Z | 2022-03-30T12:44:00.000Z | qf_lib_tests/unit_tests/common/test_frequency.py | webclinic017/qf-lib | 96463876719bba8a76c8269cef76addf3a2d836d | [
"Apache-2.0"
] | 13 | 2021-01-07T10:15:19.000Z | 2022-03-29T13:01:47.000Z | qf_lib_tests/unit_tests/common/test_frequency.py | webclinic017/qf-lib | 96463876719bba8a76c8269cef76addf3a2d836d | [
"Apache-2.0"
] | 29 | 2019-08-16T15:21:28.000Z | 2022-02-23T09:53:49.000Z | # Copyright 2016-present CERN – European Organization for Nuclear Research
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2... | 66.315217 | 122 | 0.600393 | 758 | 6,101 | 4.778364 | 0.197889 | 0.209553 | 0.215351 | 0.168967 | 0.578686 | 0.341524 | 0.341524 | 0.341524 | 0.318332 | 0.318332 | 0 | 0.356466 | 0.256024 | 6,101 | 91 | 123 | 67.043956 | 0.441287 | 0.103262 | 0 | 0.119403 | 0 | 0 | 0.379791 | 0.366954 | 0 | 0 | 0 | 0 | 0.313433 | 1 | 0.044776 | false | 0 | 0.044776 | 0 | 0.104478 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2c2be6b0ff86f7b6e74c2a9ff3801ba6ffbda3f0 | 56 | py | Python | Lib/test/test_compiler/testcorpus/95_annotation_global.py | diogommartins/cinder | 79103e9119cbecef3b085ccf2878f00c26e1d175 | [
"CNRI-Python-GPL-Compatible"
] | 1,886 | 2021-05-03T23:58:43.000Z | 2022-03-31T19:15:58.000Z | Lib/test/test_compiler/testcorpus/95_annotation_global.py | diogommartins/cinder | 79103e9119cbecef3b085ccf2878f00c26e1d175 | [
"CNRI-Python-GPL-Compatible"
] | 70 | 2021-05-04T23:25:35.000Z | 2022-03-31T18:42:08.000Z | Lib/test/test_compiler/testcorpus/95_annotation_global.py | diogommartins/cinder | 79103e9119cbecef3b085ccf2878f00c26e1d175 | [
"CNRI-Python-GPL-Compatible"
] | 52 | 2021-05-04T21:26:03.000Z | 2022-03-08T18:02:56.000Z | def f():
(some_global): int
print(some_global)
| 11.2 | 22 | 0.607143 | 8 | 56 | 4 | 0.75 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 56 | 4 | 23 | 14 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2598c9773cb6a2ab257701b396b9f064c9c7d584 | 26 | py | Python | poster/api/__init__.py | chrisbrake/poster | 3044188fdcb9b8add0f8af4f77a57975c4d0108f | [
"BSD-3-Clause"
] | null | null | null | poster/api/__init__.py | chrisbrake/poster | 3044188fdcb9b8add0f8af4f77a57975c4d0108f | [
"BSD-3-Clause"
] | null | null | null | poster/api/__init__.py | chrisbrake/poster | 3044188fdcb9b8add0f8af4f77a57975c4d0108f | [
"BSD-3-Clause"
] | null | null | null | from .rest import api_mod
| 13 | 25 | 0.807692 | 5 | 26 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 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 |
25e24843b9ef6399c3f1c54a257df9bcb1fbc801 | 39 | py | Python | lhrhost/tests/robot/__init__.py | ethanjli/liquid-handling-robotics | 999ab03c225b4c5382ab9fcac6a4988d0c232c67 | [
"BSD-3-Clause"
] | null | null | null | lhrhost/tests/robot/__init__.py | ethanjli/liquid-handling-robotics | 999ab03c225b4c5382ab9fcac6a4988d0c232c67 | [
"BSD-3-Clause"
] | null | null | null | lhrhost/tests/robot/__init__.py | ethanjli/liquid-handling-robotics | 999ab03c225b4c5382ab9fcac6a4988d0c232c67 | [
"BSD-3-Clause"
] | 1 | 2018-08-03T17:17:31.000Z | 2018-08-03T17:17:31.000Z | """Various tests for robot modules."""
| 19.5 | 38 | 0.692308 | 5 | 39 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 0.794118 | 0.820513 | 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 |
d31513947449b7d321f48486f14ad5467639b356 | 52 | py | Python | convmlp/__init__.py | isaaccorley/convmlp-pytorch | cffcfd4c4874fcf0fd8e2a77262c9fda64f587d4 | [
"MIT"
] | 4 | 2021-09-28T14:50:18.000Z | 2022-02-01T11:05:39.000Z | convmlp/__init__.py | isaaccorley/convmlp-pytorch | cffcfd4c4874fcf0fd8e2a77262c9fda64f587d4 | [
"MIT"
] | null | null | null | convmlp/__init__.py | isaaccorley/convmlp-pytorch | cffcfd4c4874fcf0fd8e2a77262c9fda64f587d4 | [
"MIT"
] | 1 | 2022-02-01T11:05:40.000Z | 2022-02-01T11:05:40.000Z | from . import blocks
from .convmlp import ConvMLP
| 17.333333 | 29 | 0.769231 | 7 | 52 | 5.714286 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 52 | 2 | 30 | 26 | 0.952381 | 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 |
d326c15024ed17b5ab40f4673cc0d527417dff27 | 50 | py | Python | gherkin/python/gherkin/count_symbols_py3_plus.py | codemrkay/cucumber | b4672c3da5894b56b8fe44db5b4872ce6477bcc6 | [
"MIT"
] | 3,974 | 2015-01-01T10:21:24.000Z | 2021-05-07T09:51:49.000Z | gherkin/python/gherkin/count_symbols_py3_plus.py | codemrkay/cucumber | b4672c3da5894b56b8fe44db5b4872ce6477bcc6 | [
"MIT"
] | 1,298 | 2015-01-01T08:19:06.000Z | 2021-05-07T17:12:31.000Z | gherkin/python/gherkin/count_symbols_py3_plus.py | codemrkay/cucumber | b4672c3da5894b56b8fe44db5b4872ce6477bcc6 | [
"MIT"
] | 923 | 2015-01-02T16:14:05.000Z | 2021-05-05T05:59:48.000Z | def count_symbols(string):
return len(string)
| 16.666667 | 26 | 0.74 | 7 | 50 | 5.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 2 | 27 | 25 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 |
d334779238493111ec1223b293f19353ba7755ae | 80 | py | Python | cmd.py | Subarunari/SlackPostCounter | e15f785a8c6b888d39a7bf79cfa69890413b3948 | [
"MIT"
] | null | null | null | cmd.py | Subarunari/SlackPostCounter | e15f785a8c6b888d39a7bf79cfa69890413b3948 | [
"MIT"
] | null | null | null | cmd.py | Subarunari/SlackPostCounter | e15f785a8c6b888d39a7bf79cfa69890413b3948 | [
"MIT"
] | null | null | null | from scripts import core
if __name__ == '__main__':
core.main(core.pre())
| 13.333333 | 26 | 0.675 | 11 | 80 | 4.181818 | 0.727273 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 80 | 5 | 27 | 16 | 0.707692 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 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 |
d33c4492b56f0ec6e2e7cf25cb6cb05673f1c9c7 | 127 | py | Python | mmd_tools/operators/__init__.py | lsr123/PX4-loacl_code | b2464dfa3e011545b94bbd9a22066aeb47245578 | [
"MIT"
] | 822 | 2015-01-03T11:23:59.000Z | 2022-03-31T15:34:19.000Z | mmd_tools/operators/__init__.py | lsr123/PX4-loacl_code | b2464dfa3e011545b94bbd9a22066aeb47245578 | [
"MIT"
] | 44 | 2015-02-07T15:29:08.000Z | 2021-05-11T08:24:56.000Z | mmd_tools/operators/__init__.py | lsr123/PX4-loacl_code | b2464dfa3e011545b94bbd9a22066aeb47245578 | [
"MIT"
] | 250 | 2015-01-15T13:26:13.000Z | 2022-03-23T14:16:32.000Z | # -*- coding: utf-8 -*-
from . import animation, camera, display_item, fileio, misc, model, view, material, morph, rigid_body
| 31.75 | 101 | 0.700787 | 17 | 127 | 5.117647 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009259 | 0.149606 | 127 | 3 | 102 | 42.333333 | 0.796296 | 0.165354 | 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 |
d345fdd5460633afd25acb42de3227dce7b2440f | 114 | py | Python | mil/errors/custom_warnings.py | yangsenwxy/mil | 8e6b6f0b55bddc961b957a682935cb346f3bca4c | [
"MIT"
] | 25 | 2020-11-02T23:33:32.000Z | 2022-03-14T22:57:54.000Z | mil/errors/custom_warnings.py | yangsenwxy/mil | 8e6b6f0b55bddc961b957a682935cb346f3bca4c | [
"MIT"
] | 4 | 2021-06-14T05:46:37.000Z | 2021-07-12T16:25:26.000Z | mil/errors/custom_warnings.py | yangsenwxy/mil | 8e6b6f0b55bddc961b957a682935cb346f3bca4c | [
"MIT"
] | 12 | 2020-12-28T04:02:06.000Z | 2022-02-04T10:33:44.000Z | import warnings
def invalid_metric_string():
warnings.warn('invalid string metric',stacklevel=2)
| 22.8 | 56 | 0.701754 | 13 | 114 | 6 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011111 | 0.210526 | 114 | 4 | 57 | 28.5 | 0.855556 | 0 | 0 | 0 | 0 | 0 | 0.190909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
9f1a631695101b52b7ed15ab209b8db481d78138 | 151 | py | Python | Wrapping/Python/vtk/infovis.py | Lin1225/vtk_v5.10.0 | b54ac74f4716572862365fbff28cd0ecb8d08c3d | [
"BSD-3-Clause"
] | 2 | 2020-01-07T20:50:53.000Z | 2020-01-29T18:22:02.000Z | Wrapping/Python/vtk/infovis.py | Armand0s/homemade_vtk | 6bc7b595a4a7f86e8fa969d067360450fa4e0a6a | [
"BSD-3-Clause"
] | null | null | null | Wrapping/Python/vtk/infovis.py | Armand0s/homemade_vtk | 6bc7b595a4a7f86e8fa969d067360450fa4e0a6a | [
"BSD-3-Clause"
] | 5 | 2015-03-23T21:13:19.000Z | 2022-01-03T11:15:39.000Z | """ This module loads all the classes from the VTK Infovis library into
its namespace. This is an optional module."""
from vtkInfovisPython import *
| 30.2 | 71 | 0.768212 | 22 | 151 | 5.272727 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172185 | 151 | 4 | 72 | 37.75 | 0.928 | 0.735099 | 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 |
9f2cff212b618866fb89e6e1c8f6f938b83b4f10 | 27 | py | Python | korail/__init__.py | Trp12xx/korail | 9b40e3a21ea8f46ac3d36569dfa92ba76c3f499d | [
"BSD-3-Clause"
] | 31 | 2015-01-13T02:38:53.000Z | 2022-01-28T15:50:24.000Z | korail/__init__.py | Trp12xx/korail | 9b40e3a21ea8f46ac3d36569dfa92ba76c3f499d | [
"BSD-3-Clause"
] | null | null | null | korail/__init__.py | Trp12xx/korail | 9b40e3a21ea8f46ac3d36569dfa92ba76c3f499d | [
"BSD-3-Clause"
] | 13 | 2016-06-22T03:43:19.000Z | 2021-03-13T12:20:58.000Z | from .korail import Korail
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 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 |
9f6ba52caa21ffde8baca9726c82813e3f85b5ea | 46 | py | Python | 03_For/Step03/gamjapark.py | StudyForCoding/BEAKJOON | 84e1c5e463255e919ccf6b6a782978c205420dbf | [
"MIT"
] | null | null | null | 03_For/Step03/gamjapark.py | StudyForCoding/BEAKJOON | 84e1c5e463255e919ccf6b6a782978c205420dbf | [
"MIT"
] | 3 | 2020-11-04T05:38:53.000Z | 2021-03-02T02:15:19.000Z | 03_For/Step03/gamjapark.py | StudyForCoding/BEAKJOON | 84e1c5e463255e919ccf6b6a782978c205420dbf | [
"MIT"
] | null | null | null | n = int(input())
print("%d"%((n * (n + 1))/2)) | 23 | 29 | 0.413043 | 9 | 46 | 2.111111 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0.152174 | 46 | 2 | 29 | 23 | 0.435897 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
9f95860dfea35ea455b2a948894b99410bc4349e | 5,106 | py | Python | tests/test_all.py | henningway/python-collections | fd033ece19a220cb390a38b0c2674b407eac9b58 | [
"MIT"
] | 1 | 2020-12-15T19:43:16.000Z | 2020-12-15T19:43:16.000Z | tests/test_all.py | henningway/python-collections | fd033ece19a220cb390a38b0c2674b407eac9b58 | [
"MIT"
] | null | null | null | tests/test_all.py | henningway/python-collections | fd033ece19a220cb390a38b0c2674b407eac9b58 | [
"MIT"
] | null | null | null | import pytest
from fluent_collections import collect
@pytest.mark.parametrize("items", [['foo', 'bar'], ('foo', 'bar')])
def test_all_returns_wrapped_items(items):
c = collect(items)
assert c.all() == items
@pytest.mark.parametrize("items", [['foo', 'bar'], ('foo', 'bar')])
def test_append_one(items):
... | 30.035294 | 95 | 0.586957 | 809 | 5,106 | 3.609394 | 0.08529 | 0.064726 | 0.179795 | 0.222603 | 0.810959 | 0.767466 | 0.717123 | 0.660274 | 0.59589 | 0.578082 | 0 | 0.054353 | 0.167646 | 5,106 | 169 | 96 | 30.213018 | 0.632706 | 0.011555 | 0 | 0.45614 | 0 | 0 | 0.068254 | 0 | 0 | 0 | 0 | 0 | 0.289474 | 1 | 0.236842 | false | 0 | 0.017544 | 0 | 0.254386 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9fc227f594a9c0c5c3b5fc44efc952317d4ec709 | 1,917 | py | Python | src/bpp/migrations/0012_auto_20150530_1733.py | iplweb/django-bpp | 85f183a99d8d5027ae4772efac1e4a9f21675849 | [
"BSD-3-Clause"
] | 1 | 2017-04-27T19:50:02.000Z | 2017-04-27T19:50:02.000Z | src/bpp/migrations/0012_auto_20150530_1733.py | mpasternak/django-bpp | 434338821d5ad1aaee598f6327151aba0af66f5e | [
"BSD-3-Clause"
] | 41 | 2019-11-07T00:07:02.000Z | 2022-02-27T22:09:39.000Z | src/bpp/migrations/0012_auto_20150530_1733.py | iplweb/bpp | f027415cc3faf1ca79082bf7bacd4be35b1a6fdf | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('bpp', '0011_auto_20150212_2203'),
]
operations = [
migrations.AddField(
model_name='wydzial',
name='poprzednie_nazwy',
field=mo... | 37.588235 | 143 | 0.610329 | 222 | 1,917 | 5.108108 | 0.256757 | 0.061728 | 0.089947 | 0.126984 | 0.767196 | 0.767196 | 0.767196 | 0.767196 | 0.767196 | 0.716931 | 0 | 0.036377 | 0.268649 | 1,917 | 50 | 144 | 38.34 | 0.772468 | 0.010955 | 0 | 0.627907 | 0 | 0 | 0.232313 | 0.012144 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.023256 | 0 | 0.093023 | 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 |
4c9b00e1a7306e8c37a53556343474c95e08e302 | 124 | py | Python | Beta/Hangman.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 6 | 2020-09-03T09:32:25.000Z | 2020-12-07T04:10:01.000Z | Beta/Hangman.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 1 | 2021-12-13T15:30:21.000Z | 2021-12-13T15:30:21.000Z | Beta/Hangman.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | null | null | null | def Hangman(guess, word):
table={i:i for i in guess.lower()}
return "".join(table.get(i, "_") for i in word.lower()) | 41.333333 | 59 | 0.620968 | 22 | 124 | 3.454545 | 0.545455 | 0.105263 | 0.131579 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177419 | 124 | 3 | 59 | 41.333333 | 0.745098 | 0 | 0 | 0 | 0 | 0 | 0.008 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
4ca109104afc12bda417371b578d4f8f441d878c | 910 | py | Python | src/mqttTwin.py | jondurrant/TwinThingPyMQTT | 0ee39d6b714df6b144356185d54f2a908995e30f | [
"MIT"
] | null | null | null | src/mqttTwin.py | jondurrant/TwinThingPyMQTT | 0ee39d6b714df6b144356185d54f2a908995e30f | [
"MIT"
] | null | null | null | src/mqttTwin.py | jondurrant/TwinThingPyMQTT | 0ee39d6b714df6b144356185d54f2a908995e30f | [
"MIT"
] | null | null | null | #===============================================================================
# MQTTTwin - Derived version of a Twin Group that is used for the get function
# Allows full select capability on Twin
# Jon Durrant
# 12-Jan-2022
#===============================================================================
from mqttGr... | 43.333333 | 80 | 0.327473 | 59 | 910 | 4.983051 | 0.661017 | 0.081633 | 0.088435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007673 | 0.140659 | 910 | 21 | 81 | 43.333333 | 0.368286 | 0.726374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
4ca4d9792e8b9c342f5fef5abc2b8f9bca856039 | 102 | py | Python | tests.py | Yona168/BattleSim | 61a5734dbec1965735d5a927d9cae36a9b45fc8a | [
"Apache-2.0"
] | null | null | null | tests.py | Yona168/BattleSim | 61a5734dbec1965735d5a927d9cae36a9b45fc8a | [
"Apache-2.0"
] | null | null | null | tests.py | Yona168/BattleSim | 61a5734dbec1965735d5a927d9cae36a9b45fc8a | [
"Apache-2.0"
] | null | null | null | from features import run
from sys import argv
run.run_tests('json' if len(argv)==1 else argv[1],True)
| 25.5 | 55 | 0.754902 | 20 | 102 | 3.8 | 0.65 | 0.131579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022472 | 0.127451 | 102 | 3 | 56 | 34 | 0.831461 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 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 |
4ce3f2ff3b2d5bc21b9dfb6585cc81eb5aa6dda0 | 43 | py | Python | tests/__init__.py | FrostBid/twitter_stock | f3ea03ec755835873ae645544a8c1f0798ec3dd0 | [
"MIT"
] | null | null | null | tests/__init__.py | FrostBid/twitter_stock | f3ea03ec755835873ae645544a8c1f0798ec3dd0 | [
"MIT"
] | 2 | 2021-09-08T15:04:54.000Z | 2021-09-08T15:13:42.000Z | tests/__init__.py | FrostBid/twitter_stock | f3ea03ec755835873ae645544a8c1f0798ec3dd0 | [
"MIT"
] | null | null | null | """Unit test package for twitter_stock."""
| 21.5 | 42 | 0.72093 | 6 | 43 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 1 | 43 | 43 | 0.789474 | 0.837209 | 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 |
4ce9649eff954ef90e039f7846b7beb675f75218 | 48 | py | Python | tests/components/aurora/__init__.py | domwillcode/home-assistant | f170c80bea70c939c098b5c88320a1c789858958 | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | tests/components/aurora/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | tests/components/aurora/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """The tests for the Aurora sensor platform."""
| 24 | 47 | 0.708333 | 7 | 48 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 1 | 48 | 48 | 0.829268 | 0.854167 | 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 |
9807b780366d0aca717f52a49c804103a64549a5 | 29 | py | Python | covid19/__init__.py | djsnipa1/python-shit | b14eddd1f6bbf90063829ab85ed4bde7adb54e55 | [
"MIT"
] | 3 | 2020-03-03T22:55:19.000Z | 2021-04-26T02:39:41.000Z | covid19/__init__.py | djsnipa1/python-shit | b14eddd1f6bbf90063829ab85ed4bde7adb54e55 | [
"MIT"
] | 2 | 2020-03-03T22:55:20.000Z | 2020-04-08T12:33:15.000Z | covid19/__init__.py | djsnipa1/python-shit | b14eddd1f6bbf90063829ab85ed4bde7adb54e55 | [
"MIT"
] | null | null | null | from covid19notebook import * | 29 | 29 | 0.862069 | 3 | 29 | 8.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.103448 | 29 | 1 | 29 | 29 | 0.884615 | 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 |
981a1d813fd9466746a46b0edbb9add8373730a1 | 134 | py | Python | angry.py | arnavk/tumblr-emotions | 0ed03201ab833b8b400cb0cff6c5b064fac5edfb | [
"Apache-2.0"
] | null | null | null | angry.py | arnavk/tumblr-emotions | 0ed03201ab833b8b400cb0cff6c5b064fac5edfb | [
"Apache-2.0"
] | null | null | null | angry.py | arnavk/tumblr-emotions | 0ed03201ab833b8b400cb0cff6c5b064fac5edfb | [
"Apache-2.0"
] | null | null | null | import download_images
import sys
print("ANGRY")
sys.stdout.flush()
download_images.download_im('angry', 0, 103271, 'datasets/data/')
| 22.333333 | 65 | 0.776119 | 19 | 134 | 5.315789 | 0.684211 | 0.277228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056452 | 0.074627 | 134 | 5 | 66 | 26.8 | 0.758065 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e2190503e3fb2020ba8a940266bb0a52527128f9 | 123 | py | Python | enthought/envisage/ui/workbench/workbench_action_manager_builder.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/envisage/ui/workbench/workbench_action_manager_builder.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/envisage/ui/workbench/workbench_action_manager_builder.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from envisage.ui.workbench.workbench_action_manager_builder import *
| 30.75 | 68 | 0.869919 | 16 | 123 | 6.1875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089431 | 123 | 3 | 69 | 41 | 0.883929 | 0.097561 | 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 |
e21ca4afbfa4bfda056f9b391a5000def80979fa | 347 | py | Python | landing/views.py | Tanaka84/proyecto-urania | e2fd651dcba3e83262f331013ba3ac6c015dfdc1 | [
"MIT"
] | null | null | null | landing/views.py | Tanaka84/proyecto-urania | e2fd651dcba3e83262f331013ba3ac6c015dfdc1 | [
"MIT"
] | null | null | null | landing/views.py | Tanaka84/proyecto-urania | e2fd651dcba3e83262f331013ba3ac6c015dfdc1 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def landing(request):
return render(request, template_name='index.html')
def equipo(request):
return render(request, template_name='equipo.html')
def herramientas(request):
return render(request, template... | 23.133333 | 61 | 0.772334 | 44 | 347 | 6.022727 | 0.477273 | 0.14717 | 0.215094 | 0.29434 | 0.430189 | 0.430189 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129683 | 347 | 14 | 62 | 24.785714 | 0.877483 | 0.066282 | 0 | 0 | 0 | 0 | 0.118012 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.25 | 0.375 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
e2457aef1cb0641efdd09a11f89e576f9ebc2746 | 60 | py | Python | modules/models/modules/transformer/__init__.py | kaylode/tern | a85b7568c574515031a2a41e8c21df1002c05c64 | [
"MIT"
] | 3 | 2021-12-22T14:42:40.000Z | 2022-01-07T03:19:56.000Z | modules/models/modules/transformer/__init__.py | kaylode/tern | a85b7568c574515031a2a41e8c21df1002c05c64 | [
"MIT"
] | null | null | null | modules/models/modules/transformer/__init__.py | kaylode/tern | a85b7568c574515031a2a41e8c21df1002c05c64 | [
"MIT"
] | null | null | null | from .layers import EncoderLayer
from .norm import LayerNorm | 30 | 32 | 0.85 | 8 | 60 | 6.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 60 | 2 | 33 | 30 | 0.962264 | 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 |
e24e87bb091f9ef6c25225c3b5da2802b1e6facb | 232 | py | Python | omnilearn/op/scikit/__init__.py | fleeb24/foundation | 18c4179cfe2988267827e532f8d8cd0726ef8709 | [
"MIT"
] | null | null | null | omnilearn/op/scikit/__init__.py | fleeb24/foundation | 18c4179cfe2988267827e532f8d8cd0726ef8709 | [
"MIT"
] | null | null | null | omnilearn/op/scikit/__init__.py | fleeb24/foundation | 18c4179cfe2988267827e532f8d8cd0726ef8709 | [
"MIT"
] | null | null | null |
from .wrappers import Supervised, Classifier, Regressor, Clustering, Transformer, \
JointEstimator, ScikitEstimator, MultiEstimator, Periodized
from .estimators import GBTRegressor, GBTClassifier
from . import unsupervised
| 33.142857 | 84 | 0.810345 | 20 | 232 | 9.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133621 | 232 | 6 | 85 | 38.666667 | 0.935323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e260091fda47a3514f1f64e4cae3fc51792ce689 | 33 | py | Python | SentryEve/__init__.py | standart-ag/sentry-eve | 5965d9f100d6310077bc7c2fba9ada9fd3f3111e | [
"MIT"
] | null | null | null | SentryEve/__init__.py | standart-ag/sentry-eve | 5965d9f100d6310077bc7c2fba9ada9fd3f3111e | [
"MIT"
] | null | null | null | SentryEve/__init__.py | standart-ag/sentry-eve | 5965d9f100d6310077bc7c2fba9ada9fd3f3111e | [
"MIT"
] | null | null | null | from .SentryEve import SentryEve
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 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 |
e286780fd1f5e359b3681a527a6ff75c976e8d7d | 129 | py | Python | tinycord/models/message/__init__.py | HazemMeqdad/TinyCord | 1d85a9e3523c01af2f34303b6f49778d4347356e | [
"MIT"
] | null | null | null | tinycord/models/message/__init__.py | HazemMeqdad/TinyCord | 1d85a9e3523c01af2f34303b6f49778d4347356e | [
"MIT"
] | null | null | null | tinycord/models/message/__init__.py | HazemMeqdad/TinyCord | 1d85a9e3523c01af2f34303b6f49778d4347356e | [
"MIT"
] | null | null | null | from .message import Message
from .reaction import Reaction
from .types import Messagetypes
from .gateway import ReactionGateway | 25.8 | 36 | 0.844961 | 16 | 129 | 6.8125 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124031 | 129 | 5 | 36 | 25.8 | 0.964602 | 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 |
e29ccdf73f888ba7effa7c47809a3249de9e2160 | 134 | py | Python | python/8kyu/bin_to_decimal.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | 3 | 2021-06-08T01:57:13.000Z | 2021-06-26T10:52:47.000Z | python/8kyu/bin_to_decimal.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | null | null | null | python/8kyu/bin_to_decimal.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | 2 | 2021-06-10T21:20:13.000Z | 2021-06-30T10:13:26.000Z | """Kata url: https://www.codewars.com/kata/57a5c31ce298a7e6b7000334."""
def bin_to_decimal(inp: str) -> int:
return int(inp, 2)
| 22.333333 | 71 | 0.69403 | 19 | 134 | 4.789474 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0.126866 | 134 | 5 | 72 | 26.8 | 0.623932 | 0.485075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 |
2c3bbed3ea61deb3ad97601117e6e2f839d1be98 | 211 | py | Python | spyce/_compat.py | markrwilliams/capysicum | bf18a7fb200cc4dec73b3a9a2a642f3b3a048767 | [
"BSD-3-Clause"
] | 7 | 2015-05-11T05:53:06.000Z | 2021-08-31T11:16:16.000Z | spyce/_compat.py | markrwilliams/spyce | bf18a7fb200cc4dec73b3a9a2a642f3b3a048767 | [
"BSD-3-Clause"
] | 1 | 2015-02-18T07:19:56.000Z | 2015-02-18T07:27:08.000Z | spyce/_compat.py | markrwilliams/capysicum | bf18a7fb200cc4dec73b3a9a2a642f3b3a048767 | [
"BSD-3-Clause"
] | 1 | 2015-03-22T06:45:36.000Z | 2015-03-22T06:45:36.000Z | try: # pragma: no cover
reduce = reduce
except NameError: # pragma: no cover
from functools import reduce
try: # pragma: no cover
long = long
except NameError: # pragma: no cover
long = int
| 21.1 | 37 | 0.663507 | 28 | 211 | 5 | 0.428571 | 0.228571 | 0.371429 | 0.228571 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265403 | 211 | 9 | 38 | 23.444444 | 0.903226 | 0.317536 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e2c3ae6efbddb1f0fe22e850b0bf384c5b3ddac8 | 616 | py | Python | randutils/__init__.py | JoelLefkowitz/randutils | 91bfb6a56676675edb241f11b602a46880520c72 | [
"MIT"
] | 1 | 2021-08-03T17:34:31.000Z | 2021-08-03T17:34:31.000Z | randutils/__init__.py | JoelLefkowitz/randutils | 91bfb6a56676675edb241f11b602a46880520c72 | [
"MIT"
] | null | null | null | randutils/__init__.py | JoelLefkowitz/randutils | 91bfb6a56676675edb241f11b602a46880520c72 | [
"MIT"
] | null | null | null | from .chance import by_chance # noqa
from .django import get_random_instance # noqa
from .django import get_random_instances # noqa
from .exceptions import EmptyListError # noqa
from .exceptions import NoObjectsError # noqa
from .generate import randint # noqa
from .generate import random_birthday # noqa
from .g... | 41.066667 | 48 | 0.795455 | 85 | 616 | 5.588235 | 0.317647 | 0.218947 | 0.168421 | 0.231579 | 0.484211 | 0.248421 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 616 | 14 | 49 | 44 | 0.916988 | 0.112013 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
e2d0ff6ee893ba62bc4ef06dade0f2309082a226 | 233 | py | Python | azure-iot-device/azure/iot/device/iothub/pipeline/__init__.py | necoh/azure-iot-sdk-python-preview | c17eccee9041d197e21c2f2df28b99014133960b | [
"MIT"
] | 35 | 2018-12-01T05:42:30.000Z | 2021-03-10T12:23:41.000Z | azure-iot-device/azure/iot/device/iothub/pipeline/__init__.py | necoh/azure-iot-sdk-python-preview | c17eccee9041d197e21c2f2df28b99014133960b | [
"MIT"
] | 81 | 2018-11-20T20:01:43.000Z | 2019-09-06T23:57:17.000Z | azure-iot-device/azure/iot/device/iothub/pipeline/__init__.py | necoh/azure-iot-sdk-python-preview | c17eccee9041d197e21c2f2df28b99014133960b | [
"MIT"
] | 18 | 2019-03-19T18:53:43.000Z | 2021-01-10T09:47:24.000Z | """Azure IoT Hub Device SDK Pipeline
This package provides a protocol pipeline for use with the Azure IoT Hub Device SDK.
INTERNAL USAGE ONLY
"""
from .iothub_pipeline import IoTHubPipeline
from .edge_pipeline import EdgePipeline
| 23.3 | 84 | 0.806867 | 34 | 233 | 5.470588 | 0.705882 | 0.086022 | 0.11828 | 0.182796 | 0.215054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154506 | 233 | 9 | 85 | 25.888889 | 0.944162 | 0.600858 | 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 |
39142c3ecdd75c2a122877c74573b283e6ee2bcb | 58 | py | Python | pyanxdns/__init__.py | egeback/pyanxdns | 29bbe7404f81f122884a7d33f39109b6a8413829 | [
"MIT"
] | null | null | null | pyanxdns/__init__.py | egeback/pyanxdns | 29bbe7404f81f122884a7d33f39109b6a8413829 | [
"MIT"
] | null | null | null | pyanxdns/__init__.py | egeback/pyanxdns | 29bbe7404f81f122884a7d33f39109b6a8413829 | [
"MIT"
] | null | null | null | from .core import Client
from .helpers import split_domain | 29 | 33 | 0.844828 | 9 | 58 | 5.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 58 | 2 | 33 | 29 | 0.941176 | 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 |
1a402dd1505414ba62009a50e9ab5f8b8aaf8ee4 | 45 | py | Python | src/epitoolkit/exceptions.py | ClinicalEpigeneticsLaboratory/EpiGenToolKit | 07f67ff2cfb2b2ec72e4d0fa2a8bb98a55e4b157 | [
"MIT"
] | 2 | 2021-04-24T07:50:31.000Z | 2021-09-07T18:56:51.000Z | src/onnxruntime_numpy/exceptions.py | gf712/onnxruntime-numpy | 752ecb90e97295384c96ff339165c461ba4caf87 | [
"MIT"
] | null | null | null | src/onnxruntime_numpy/exceptions.py | gf712/onnxruntime-numpy | 752ecb90e97295384c96ff339165c461ba4caf87 | [
"MIT"
] | null | null | null | class InternalException(Exception):
pass
| 15 | 35 | 0.777778 | 4 | 45 | 8.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 2 | 36 | 22.5 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
46fd112e953ec592d87507b38200a993be7efb83 | 254 | py | Python | zish/__init__.py | tlocke/zish_python | 2f54c44514c2ad412ee4f408d25058387cac9352 | [
"MIT"
] | 2 | 2017-12-15T17:41:47.000Z | 2017-12-15T21:57:39.000Z | zish/__init__.py | tlocke/zish_python | 2f54c44514c2ad412ee4f408d25058387cac9352 | [
"MIT"
] | 2 | 2018-01-01T19:40:21.000Z | 2018-10-23T13:44:40.000Z | zish/__init__.py | tlocke/zish_python | 2f54c44514c2ad412ee4f408d25058387cac9352 | [
"MIT"
] | null | null | null | from zish.core import loads, load, dump, dumps, ZishException, ZishLocationException
from ._version import get_versions
__version__ = get_versions()["version"]
del get_versions
__all__ = [load, loads, dump, dumps, ZishException, ZishLocationException]
| 31.75 | 84 | 0.80315 | 29 | 254 | 6.62069 | 0.517241 | 0.171875 | 0.229167 | 0.447917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110236 | 254 | 7 | 85 | 36.285714 | 0.849558 | 0 | 0 | 0 | 0 | 0 | 0.027559 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 |
2045eaf43c8a1222c399410227ec750709c91e6a | 94 | py | Python | enthought/chaco/plot_canvas_toolbar.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/chaco/plot_canvas_toolbar.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/chaco/plot_canvas_toolbar.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from chaco.plot_canvas_toolbar import *
| 23.5 | 39 | 0.851064 | 13 | 94 | 5.615385 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117021 | 94 | 3 | 40 | 31.333333 | 0.879518 | 0.12766 | 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 |
20483558d0de915f51878bffd0a7c252901c7237 | 69 | py | Python | src/pie/common.py | juergenz/pie | be490b9e18ee3158015a13826ed3caf442c07c51 | [
"MIT"
] | null | null | null | src/pie/common.py | juergenz/pie | be490b9e18ee3158015a13826ed3caf442c07c51 | [
"MIT"
] | null | null | null | src/pie/common.py | juergenz/pie | be490b9e18ee3158015a13826ed3caf442c07c51 | [
"MIT"
] | null | null | null | __all__ = ['mpstr']
def mpstr(s):
return '$<$fff' + s + '$>'
| 8.625 | 30 | 0.449275 | 8 | 69 | 3.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275362 | 69 | 7 | 31 | 9.857143 | 0.54 | 0 | 0 | 0 | 0 | 0 | 0.19403 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
6459d189c2d122001ffaaea9f5b9c8f5e404112a | 375 | py | Python | categorias/iniciante/python/1061.py | carlos3g/URI-solutions | dc7f9b896cdff88aedf67611917b178d3ad60ab3 | [
"MIT"
] | 1 | 2022-01-26T23:38:17.000Z | 2022-01-26T23:38:17.000Z | categorias/iniciante/python/1061.py | carlos3g/URI-solutions | dc7f9b896cdff88aedf67611917b178d3ad60ab3 | [
"MIT"
] | 1 | 2020-07-12T00:49:35.000Z | 2021-06-26T20:53:18.000Z | categorias/iniciante/python/1061.py | carlos3g/URI-solutions | dc7f9b896cdff88aedf67611917b178d3ad60ab3 | [
"MIT"
] | 1 | 2020-07-04T03:27:04.000Z | 2020-07-04T03:27:04.000Z | dia1 = int(input().split()[1])
h1, m1, s1 = map(int, input().split(' : '))
dia2 = int(input().split()[1])
h2, m2, s2 = map(int, input().split(' : '))
segs = (s2+(86400*dia2)+(3600*h2)+(60*m2))-(s1+(86400*dia1)+(3600*h1)+(60*m1))
print(segs//86400, 'dia(s)')
print(segs%86400//3600, 'hora(s)')
print(segs%86400%3600//60... | 31.25 | 78 | 0.592 | 64 | 375 | 3.46875 | 0.359375 | 0.144144 | 0.234234 | 0.202703 | 0.274775 | 0.189189 | 0 | 0 | 0 | 0 | 0 | 0.223529 | 0.093333 | 375 | 11 | 79 | 34.090909 | 0.429412 | 0 | 0 | 0 | 0 | 0 | 0.101333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.444444 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
64af7fbee142912e402fc428f75a0ebc6333e6c5 | 39 | py | Python | drop/__init__.py | infant-cognition-tampere/drop | 7117f866017fc0ce60776fb38f02a8c3c0eb5297 | [
"MIT"
] | null | null | null | drop/__init__.py | infant-cognition-tampere/drop | 7117f866017fc0ce60776fb38f02a8c3c0eb5297 | [
"MIT"
] | 25 | 2016-06-06T10:41:03.000Z | 2018-06-07T14:37:21.000Z | drop/__init__.py | infant-cognition-tampere/drop | 7117f866017fc0ce60776fb38f02a8c3c0eb5297 | [
"MIT"
] | null | null | null | """Main module of drop application."""
| 19.5 | 38 | 0.692308 | 5 | 39 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 0.794118 | 0.820513 | 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 |
b3e1f310f98e143fe97767339743d3346c717198 | 164 | py | Python | pcep/packages/extra/ugly/omega.py | gliverm/devnet-study-group | 28aecef8207cfeb8f10dc375c22e5ec953d6762b | [
"MIT"
] | 1 | 2020-07-30T15:23:55.000Z | 2020-07-30T15:23:55.000Z | pcep/packages/extra/ugly/omega.py | gliverm/devnet-study-group | 28aecef8207cfeb8f10dc375c22e5ec953d6762b | [
"MIT"
] | null | null | null | pcep/packages/extra/ugly/omega.py | gliverm/devnet-study-group | 28aecef8207cfeb8f10dc375c22e5ec953d6762b | [
"MIT"
] | null | null | null | #! /usr/bin/env python3
""" example module: extra.good.omega """
def FunO():
return "Omega"
if __name__ == "__main__":
print("I prefer to be a module") | 18.222222 | 41 | 0.621951 | 23 | 164 | 4.086957 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007692 | 0.207317 | 164 | 9 | 42 | 18.222222 | 0.715385 | 0.341463 | 0 | 0 | 0 | 0 | 0.382979 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0.25 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
b3fcf99bf3cb9f13a30f3c4d62283d517c28543e | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/typing/_dtype_like.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/typing/_dtype_like.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/typing/_dtype_like.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/3c/bf/b3/d6f0ad57c38ec0b782f4e3c4290dcf01950680fc038bbc74631722f2bb | 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 |
37bc33bf474e33c9697364e96db68bdc93f22987 | 253 | py | Python | kaolin/graphics/__init__.py | Bob-Yeah/kaolin | 7ad34f8158000499a30b8dfa14fb3ed86d2e57a6 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-04-14T14:10:26.000Z | 2021-04-14T14:10:26.000Z | kaolin/graphics/__init__.py | Bob-Yeah/kaolin | 7ad34f8158000499a30b8dfa14fb3ed86d2e57a6 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | kaolin/graphics/__init__.py | Bob-Yeah/kaolin | 7ad34f8158000499a30b8dfa14fb3ed86d2e57a6 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-08-10T09:19:19.000Z | 2021-11-12T08:18:17.000Z | from .Lighting import *
from .nmr import *
from .softras import *
from .DifferentiableRenderer import DifferentiableRenderer
from .NeuralMeshRenderer import NeuralMeshRenderer
from .SoftRenderer import SoftRenderer
from .DIBRenderer import DIBRenderer
| 28.111111 | 58 | 0.84585 | 25 | 253 | 8.56 | 0.36 | 0.140187 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114625 | 253 | 8 | 59 | 31.625 | 0.955357 | 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 |
80b113766fe0321725373e05b27edb4f99d0c73d | 209 | py | Python | pdbattach/exchange/message.py | jschwinger233/pdbattach | 74d93b0d2e27722572097fb499d66c59b9b6751e | [
"MIT"
] | 15 | 2022-02-16T07:25:40.000Z | 2022-03-11T12:05:24.000Z | pdbattach/exchange/message.py | jschwinger233/pdb | 74d93b0d2e27722572097fb499d66c59b9b6751e | [
"MIT"
] | 3 | 2022-03-07T15:01:06.000Z | 2022-03-07T15:19:26.000Z | pdbattach/exchange/message.py | jschwinger233/pdb | 74d93b0d2e27722572097fb499d66c59b9b6751e | [
"MIT"
] | 1 | 2022-03-07T02:48:07.000Z | 2022-03-07T02:48:07.000Z | import dataclasses
@dataclasses.dataclass
class RemotePdbUp:
unix_address: str
@dataclasses.dataclass
class PdbDataReceived:
buf: bytes
@dataclasses.dataclass
class PtyDataReceived:
buf: str
| 12.294118 | 22 | 0.77512 | 21 | 209 | 7.666667 | 0.571429 | 0.372671 | 0.465839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167464 | 209 | 16 | 23 | 13.0625 | 0.925287 | 0 | 0 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.1 | 0 | 0.7 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
80bb7bfc3fdaccf0e3a7065620efc500394fb4d2 | 288 | py | Python | classes/Processor.py | noitcerid/blackhat.null | 7085399b4410e7e9fe1af3d9ac3f5b61b0dbe04a | [
"MIT"
] | 1 | 2019-11-14T03:09:02.000Z | 2019-11-14T03:09:02.000Z | classes/Processor.py | noitcerid/blackhat.null | 7085399b4410e7e9fe1af3d9ac3f5b61b0dbe04a | [
"MIT"
] | null | null | null | classes/Processor.py | noitcerid/blackhat.null | 7085399b4410e7e9fe1af3d9ac3f5b61b0dbe04a | [
"MIT"
] | null | null | null | """
Processor Class for Workstation
"""
from classes.WorkstationComponent import WorkstationComponent
class Processor(WorkstationComponent):
def __init__(self, name, description, cost, space_required, speed):
super().__init__(name, description, cost, space_required, speed)
| 28.8 | 72 | 0.774306 | 29 | 288 | 7.344828 | 0.62069 | 0.140845 | 0.178404 | 0.225352 | 0.347418 | 0.347418 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131944 | 288 | 9 | 73 | 32 | 0.852 | 0.107639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
80d2f8b007aec9066516ea83dc2197316e5dcd27 | 89 | py | Python | mutt/message/__init__.py | aschiweck/mutt-atlassian | 000b5533e347fc81d38b6a30a477d3c6cd636756 | [
"MIT"
] | 1 | 2021-06-16T15:32:32.000Z | 2021-06-16T15:32:32.000Z | mutt/message/__init__.py | aschiweck/mutt-atlassian | 000b5533e347fc81d38b6a30a477d3c6cd636756 | [
"MIT"
] | null | null | null | mutt/message/__init__.py | aschiweck/mutt-atlassian | 000b5533e347fc81d38b6a30a477d3c6cd636756 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
'''
@author: Andreas Schiweck
'''
from message import Message
| 9.888889 | 27 | 0.617978 | 10 | 89 | 5.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.191011 | 89 | 8 | 28 | 11.125 | 0.75 | 0.539326 | 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 |
80f756f22149dda1ab125f72a75f35e04b7590a1 | 93 | py | Python | passvault/apps.py | satya-sudo/PASSVAULT_WEB | 962de314bc119054f870be19be655b63ba673c56 | [
"MIT"
] | null | null | null | passvault/apps.py | satya-sudo/PASSVAULT_WEB | 962de314bc119054f870be19be655b63ba673c56 | [
"MIT"
] | null | null | null | passvault/apps.py | satya-sudo/PASSVAULT_WEB | 962de314bc119054f870be19be655b63ba673c56 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class PassvaultConfig(AppConfig):
name = 'passvault'
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.666667 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
03b449783d929a462d19a267ff2a9c1928440c06 | 245 | py | Python | reload_and_inherit.py | 1157788361/My_Cooperate_model | f08b3c9da258571f3afad9a48ab3a79e2e515984 | [
"Apache-2.0"
] | null | null | null | reload_and_inherit.py | 1157788361/My_Cooperate_model | f08b3c9da258571f3afad9a48ab3a79e2e515984 | [
"Apache-2.0"
] | null | null | null | reload_and_inherit.py | 1157788361/My_Cooperate_model | f08b3c9da258571f3afad9a48ab3a79e2e515984 | [
"Apache-2.0"
] | null | null | null | class A():
def load_data(self):
return [1,2,3,4,5]
def __getitem__(self, item):
a = self.load_data()
return a[item]
class B(A):
def load_data(self):
return ['a','b','c']
a = B()
print(a[1]) | 20.416667 | 33 | 0.493878 | 39 | 245 | 2.923077 | 0.435897 | 0.210526 | 0.140351 | 0.210526 | 0.385965 | 0.385965 | 0 | 0 | 0 | 0 | 0 | 0.036145 | 0.322449 | 245 | 12 | 34 | 20.416667 | 0.650602 | 0 | 0 | 0.181818 | 0 | 0 | 0.012766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0 | 0.181818 | 0.727273 | 0.090909 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
03cc8a4c03d2b269b05006baae6339b51a63ba50 | 1,284 | py | Python | test 2 Factorial n.py | mjurk456/100days | a677a24af61c41a02bb70245807650d856782bb4 | [
"MIT"
] | null | null | null | test 2 Factorial n.py | mjurk456/100days | a677a24af61c41a02bb70245807650d856782bb4 | [
"MIT"
] | null | null | null | test 2 Factorial n.py | mjurk456/100days | a677a24af61c41a02bb70245807650d856782bb4 | [
"MIT"
] | null | null | null | import unittest, importlib
module_factorial = importlib.import_module("2 Factorial n")
class TestFactorial(unittest.TestCase):
def setUp(self):
pass
def test_input(self):
self.assertEqual(module_factorial.check_input("-9"), False)
self.assertEqual(module_factorial.check_input("13")... | 41.419355 | 82 | 0.741433 | 149 | 1,284 | 6.073826 | 0.234899 | 0.232044 | 0.301657 | 0.430939 | 0.776796 | 0.772376 | 0.639779 | 0.495028 | 0 | 0 | 0 | 0.057301 | 0.157321 | 1,284 | 30 | 83 | 42.8 | 0.779113 | 0 | 0 | 0 | 0 | 0 | 0.023364 | 0 | 0 | 0 | 0 | 0 | 0.565217 | 1 | 0.173913 | false | 0.043478 | 0.086957 | 0 | 0.304348 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
20912c89751469840ad950dd391f36299828575d | 8,657 | py | Python | RushHourPy/display_utilities.py | crhaithcock/RushHour | 9c1854dd117e43ec38a6eacf74a8365a6e01f25c | [
"CC0-1.0"
] | null | null | null | RushHourPy/display_utilities.py | crhaithcock/RushHour | 9c1854dd117e43ec38a6eacf74a8365a6e01f25c | [
"CC0-1.0"
] | null | null | null | RushHourPy/display_utilities.py | crhaithcock/RushHour | 9c1854dd117e43ec38a6eacf74a8365a6e01f25c | [
"CC0-1.0"
] | null | null | null | '''
Created on Jun 8, 2015
@author: cliff
'''
from constants import *
from utilities import *
def html_table_array_for_state_data_component_coloring(data):
html_tables = ['<td>' + html_table_for_state_data_component_coloring(x[0],x[1],x[2]) + '</td>' for x in data]
if len(html_tables) > 4:
... | 43.069652 | 141 | 0.621578 | 1,234 | 8,657 | 3.983793 | 0.102917 | 0.069162 | 0.040277 | 0.044752 | 0.859439 | 0.810212 | 0.781123 | 0.722539 | 0.69406 | 0.643206 | 0 | 0.024179 | 0.254707 | 8,657 | 200 | 142 | 43.285 | 0.737756 | 0.058334 | 0 | 0.5 | 0 | 0.015625 | 0.050971 | 0.012023 | 0 | 0 | 0 | 0.005 | 0 | 1 | 0.070313 | false | 0 | 0.015625 | 0.015625 | 0.15625 | 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 |
20ed09433651aa1aa0b28d82d1591a392c287e0d | 62 | py | Python | python/hello-world/hello_world.py | ArtemGordinsky/exercism | 74e91e3b48ca920803474ec435c13eac66351b9f | [
"Unlicense"
] | null | null | null | python/hello-world/hello_world.py | ArtemGordinsky/exercism | 74e91e3b48ca920803474ec435c13eac66351b9f | [
"Unlicense"
] | null | null | null | python/hello-world/hello_world.py | ArtemGordinsky/exercism | 74e91e3b48ca920803474ec435c13eac66351b9f | [
"Unlicense"
] | null | null | null | def hello(name='World'):
return 'Hello, {}!'.format(name)
| 20.666667 | 36 | 0.612903 | 8 | 62 | 4.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145161 | 62 | 2 | 37 | 31 | 0.716981 | 0 | 0 | 0 | 0 | 0 | 0.241935 | 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 |
4564f3b3fbe443538d344b0ea27bf70fe4e0723a | 1,122 | py | Python | lang/jquery_python/read/notyet_python_read.py | ekzemplaro/data_base_language | e77030367ffc595f1fac8583f03f9a3ce5eb1611 | [
"MIT",
"Unlicense"
] | 3 | 2015-05-12T16:44:27.000Z | 2021-02-09T00:39:24.000Z | lang/jquery_python/read/notyet_python_read.py | ekzemplaro/data_base_language | e77030367ffc595f1fac8583f03f9a3ce5eb1611 | [
"MIT",
"Unlicense"
] | null | null | null | lang/jquery_python/read/notyet_python_read.py | ekzemplaro/data_base_language | e77030367ffc595f1fac8583f03f9a3ce5eb1611 | [
"MIT",
"Unlicense"
] | null | null | null | #! /usr/bin/python
# -*- coding: utf-8 -*-
#
# notyet_python_read.py
#
# Dec/15/2010
import sys
import string
#
#
# ---------------------------------------------------------------------
def json_str_gen_proc ():
str_aa='{"cities":[{"id":921,"name":"横浜","population":51345,"date_mod":"2003-3-2"},'
str_aa += '{"id":... | 32.057143 | 85 | 0.534759 | 159 | 1,122 | 3.591195 | 0.45283 | 0.087566 | 0.17338 | 0.049037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136802 | 0.074866 | 1,122 | 34 | 86 | 33 | 0.413295 | 0.193405 | 0 | 0 | 0 | 0.5625 | 0.705157 | 0.674888 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.125 | null | null | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
457bbcae7c05aedce636e96ff8d79f7b97392380 | 141 | py | Python | twin_sister/injection/fake_singleton.py | stephen-bapple/twin-sister | f9e5f063b977607c69ed5779bab0ccdef0010d5e | [
"MIT"
] | null | null | null | twin_sister/injection/fake_singleton.py | stephen-bapple/twin-sister | f9e5f063b977607c69ed5779bab0ccdef0010d5e | [
"MIT"
] | null | null | null | twin_sister/injection/fake_singleton.py | stephen-bapple/twin-sister | f9e5f063b977607c69ed5779bab0ccdef0010d5e | [
"MIT"
] | null | null | null | class FakeSingleton:
def __init__(self, payload):
self._payload = payload
def instance(self):
return self._payload
| 17.625 | 32 | 0.652482 | 15 | 141 | 5.733333 | 0.533333 | 0.383721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269504 | 141 | 7 | 33 | 20.142857 | 0.834951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
457fd584d48877c636a79ca601a93ddb7ad006ec | 204 | py | Python | algorithms/1037. Valid Boomerang.py | vuzway9132/leetcode | e51a9ce7a6bb3e35c0fcb8c8f4f6cd5763708dbf | [
"MIT"
] | 1 | 2020-12-02T13:54:30.000Z | 2020-12-02T13:54:30.000Z | algorithms/1037. Valid Boomerang.py | vuzway9132/leetcode | e51a9ce7a6bb3e35c0fcb8c8f4f6cd5763708dbf | [
"MIT"
] | null | null | null | algorithms/1037. Valid Boomerang.py | vuzway9132/leetcode | e51a9ce7a6bb3e35c0fcb8c8f4f6cd5763708dbf | [
"MIT"
] | null | null | null | class Solution:
def isBoomerang(self, points: List[List[int]]) -> bool:
return (points[0][0]-points[1][0])*(points[0][1]-points[2][1]) - (points[0][1]-points[1][1])*(points[0][0]-points[2][0]) != 0
| 51 | 129 | 0.602941 | 36 | 204 | 3.416667 | 0.361111 | 0.227642 | 0.130081 | 0.227642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092391 | 0.098039 | 204 | 3 | 130 | 68 | 0.576087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
45973d7ad43f67d9fe1ad30380f51fdb7f199544 | 2,589 | py | Python | tests/test_middleware.py | openlobby/openlobby-server | b7a1a2b73e903c4da57970926844b0639dce5aae | [
"MIT"
] | 7 | 2017-11-23T15:24:50.000Z | 2018-11-29T21:47:55.000Z | tests/test_middleware.py | openlobby/openlobby-server | b7a1a2b73e903c4da57970926844b0639dce5aae | [
"MIT"
] | 20 | 2018-02-21T22:25:42.000Z | 2020-06-05T17:22:36.000Z | tests/test_middleware.py | openlobby/openlobby-server | b7a1a2b73e903c4da57970926844b0639dce5aae | [
"MIT"
] | 3 | 2018-03-08T10:05:01.000Z | 2018-08-16T14:36:28.000Z | import pytest
import json
from unittest.mock import Mock
from openlobby.core.auth import create_access_token
from openlobby.core.middleware import TokenAuthMiddleware
from openlobby.core.models import User
pytestmark = pytest.mark.django_db
def test_no_auth_header():
request = Mock()
request.user = None
... | 27.542553 | 86 | 0.708768 | 308 | 2,589 | 5.772727 | 0.227273 | 0.061867 | 0.07874 | 0.061867 | 0.777278 | 0.777278 | 0.777278 | 0.777278 | 0.777278 | 0.777278 | 0 | 0.002859 | 0.189262 | 2,589 | 93 | 87 | 27.83871 | 0.844212 | 0 | 0 | 0.571429 | 0 | 0 | 0.07725 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 1 | 0.071429 | false | 0 | 0.085714 | 0 | 0.157143 | 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 |
b31c9b8d14838ff2617fb161dd67103018c9ef83 | 53 | py | Python | origamibot/core/teletypes/input_file.py | cmd410/OrigamiBot | 03667d069f0c0b088671936ce36bf8f85a029b93 | [
"MIT"
] | 4 | 2020-06-30T10:32:54.000Z | 2020-11-01T23:07:58.000Z | origamibot/core/teletypes/input_file.py | cmd410/OrigamiBot | 03667d069f0c0b088671936ce36bf8f85a029b93 | [
"MIT"
] | 6 | 2020-06-26T23:14:59.000Z | 2020-07-26T11:48:07.000Z | origamibot/core/teletypes/input_file.py | cmd410/OrigamiBot | 03667d069f0c0b088671936ce36bf8f85a029b93 | [
"MIT"
] | 1 | 2020-07-28T08:52:51.000Z | 2020-07-28T08:52:51.000Z | class InputFile:
# TODO InputFile class
pass
| 13.25 | 26 | 0.679245 | 6 | 53 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.283019 | 53 | 3 | 27 | 17.666667 | 0.947368 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
b33245aa3084b37fbb3bf2e83bccb60864bf8256 | 172 | py | Python | jupyter_config/__init__.py | mpacer/jupyter_config | 281d6cf26905e52ec657085c9c1b3591de1d1bab | [
"MIT"
] | null | null | null | jupyter_config/__init__.py | mpacer/jupyter_config | 281d6cf26905e52ec657085c9c1b3591de1d1bab | [
"MIT"
] | 2 | 2018-07-23T21:38:32.000Z | 2018-08-07T23:32:34.000Z | jupyter_config/__init__.py | mpacer/jupyter_config | 281d6cf26905e52ec657085c9c1b3591de1d1bab | [
"MIT"
] | null | null | null | """Utility for searching through jupyter configuration files, using jupyter's path definitions to find their locations dynamically.
"""
from ._version import __version__
| 28.666667 | 131 | 0.80814 | 21 | 172 | 6.380952 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133721 | 172 | 5 | 132 | 34.4 | 0.899329 | 0.744186 | 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 |
b3542aa5d00677dca733378810c90a65a6c0410a | 457 | py | Python | tests/test_transformer_LD.py | hendrikfrentrup/entity_resolver | f88d81f07599bc6cc97a9647b0d25ecca64c8f57 | [
"MIT"
] | 2 | 2019-10-18T15:12:33.000Z | 2020-05-25T12:59:28.000Z | tests/test_transformer_LD.py | hendrikfrentrup/entity_resolver | f88d81f07599bc6cc97a9647b0d25ecca64c8f57 | [
"MIT"
] | null | null | null | tests/test_transformer_LD.py | hendrikfrentrup/entity_resolver | f88d81f07599bc6cc97a9647b0d25ecca64c8f57 | [
"MIT"
] | 1 | 2019-04-12T03:33:50.000Z | 2019-04-12T03:33:50.000Z | import unittest
from graphresolver.transformer_LD import LDTransformer
from graphresolver.transformer_LD import clean_ip
class test_LDTransformer(unittest.TestCase):
def setUp(self):
self.transformer = LDTransformer()
def test__init__(self):
pass
# assert self.transformer
def tes... | 26.882353 | 54 | 0.704595 | 56 | 457 | 5.517857 | 0.5 | 0.067961 | 0.18123 | 0.194175 | 0.23301 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05571 | 0.214442 | 457 | 17 | 55 | 26.882353 | 0.805014 | 0.050328 | 0 | 0 | 0 | 0 | 0.060046 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 1 | 0.25 | false | 0.083333 | 0.25 | 0 | 0.583333 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
b3609d14bf2d945212eead263f00623677b916d3 | 111 | py | Python | python/kids/test.py | walterfan/snippets | 62f87720c411093fcff888f25b338afd1d99a6f9 | [
"Apache-2.0"
] | 1 | 2021-06-18T09:31:59.000Z | 2021-06-18T09:31:59.000Z | python/kids/test.py | walterfan/snippets | 62f87720c411093fcff888f25b338afd1d99a6f9 | [
"Apache-2.0"
] | 10 | 2020-12-12T08:12:06.000Z | 2022-03-02T06:54:10.000Z | python/kids/test.py | walterfan/snippets | 62f87720c411093fcff888f25b338afd1d99a6f9 | [
"Apache-2.0"
] | null | null | null | print "please input number"
num = raw_input()
if num % 2 == 0:
print num, "是偶数"
else:
print num, "是奇数" | 15.857143 | 27 | 0.603604 | 18 | 111 | 3.666667 | 0.666667 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024096 | 0.252252 | 111 | 7 | 28 | 15.857143 | 0.771084 | 0 | 0 | 0 | 0 | 0 | 0.223214 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
2fba43e4fad85b3e2900eab628fa588f79a6303a | 189 | py | Python | holobot/discord/sdk/context_menus/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 1 | 2021-05-24T00:17:46.000Z | 2021-05-24T00:17:46.000Z | holobot/discord/sdk/context_menus/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 41 | 2021-03-24T22:50:09.000Z | 2021-12-17T12:15:13.000Z | holobot/discord/sdk/context_menus/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | null | null | null | from .imenu_item_execution_rule import IMenuItemExecutionRule
from .imenu_item import IMenuItem
from .iuser_menu_item import IUserMenuItem
from .user_menu_item_base import UserMenuItemBase
| 37.8 | 61 | 0.89418 | 25 | 189 | 6.4 | 0.56 | 0.1125 | 0.1625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084656 | 189 | 4 | 62 | 47.25 | 0.924855 | 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 |
641ea8d1bf694fe567e68ab7d04a150f0c75d50f | 472 | py | Python | counselcareer/views.py | rammurti84/counselcareer | 3059959035b88cb83405126cc1f6ecb3695642a3 | [
"MIT"
] | null | null | null | counselcareer/views.py | rammurti84/counselcareer | 3059959035b88cb83405126cc1f6ecb3695642a3 | [
"MIT"
] | null | null | null | counselcareer/views.py | rammurti84/counselcareer | 3059959035b88cb83405126cc1f6ecb3695642a3 | [
"MIT"
] | 1 | 2021-12-18T18:30:59.000Z | 2021-12-18T18:30:59.000Z | from django.shortcuts import render
def index(request):
return render(request,'index.html')
def about(request):
return render(request,'about-us.html')
def schedule(request):
return render(request,'schedule.html')
def gallery(request):
return render(request,'gallery.html')
def blog(request):
return r... | 27.764706 | 42 | 0.733051 | 62 | 472 | 5.580645 | 0.274194 | 0.263006 | 0.384393 | 0.526012 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129237 | 472 | 16 | 43 | 29.5 | 0.841849 | 0 | 0 | 0 | 0 | 0 | 0.167728 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.466667 | false | 0 | 0.066667 | 0.466667 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
64332a0d49934625cf750bf890cd48972406b250 | 25 | py | Python | acq4/devices/Microscope/__init__.py | ablot/acq4 | ba7cd340d9d0282640adb501d3788f8c0837e4c4 | [
"MIT"
] | null | null | null | acq4/devices/Microscope/__init__.py | ablot/acq4 | ba7cd340d9d0282640adb501d3788f8c0837e4c4 | [
"MIT"
] | null | null | null | acq4/devices/Microscope/__init__.py | ablot/acq4 | ba7cd340d9d0282640adb501d3788f8c0837e4c4 | [
"MIT"
] | null | null | null | from Microscope import *
| 12.5 | 24 | 0.8 | 3 | 25 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ff2c56ca8bcd35d080e14b7e74ab43d58f0551ff | 3,768 | py | Python | modules/update_custom_cookbooks.py | chaturanga50/opsworks-cli | e351aeb10e32544fcf119e1fda2093475c661c4f | [
"Apache-2.0"
] | null | null | null | modules/update_custom_cookbooks.py | chaturanga50/opsworks-cli | e351aeb10e32544fcf119e1fda2093475c661c4f | [
"Apache-2.0"
] | 14 | 2018-11-06T13:06:40.000Z | 2020-03-24T07:27:15.000Z | modules/update_custom_cookbooks.py | chaturanga50/opsworks-cli | e351aeb10e32544fcf119e1fda2093475c661c4f | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# Copyright 2018 Chathuranga Abeyrathna. All Rights Reserved.
# opsworks-cli for AWS OpsWorks Deployments
# update custom cookbooks module
import boto3
import prettytable
import modules.common_functions
def test_output_summary(region, stack, layer):
table = prettytable.PrettyTable()
ta... | 38.060606 | 91 | 0.674628 | 414 | 3,768 | 5.913043 | 0.236715 | 0.088235 | 0.154412 | 0.037582 | 0.782271 | 0.773693 | 0.760212 | 0.732843 | 0.701797 | 0.627042 | 0 | 0.022583 | 0.247877 | 3,768 | 98 | 92 | 38.44898 | 0.841214 | 0.178344 | 0 | 0.558824 | 0 | 0 | 0.170455 | 0.102922 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.044118 | 0 | 0.102941 | 0.058824 | 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 |
ff330fa3b255bb2ee7cedede2cb4c9567c8b6190 | 451 | py | Python | pydevicetree/ast/__init__.py | sifive/pydevicetree | f8ff16534f71dccc66761ac092deb7cceaebc1f2 | [
"Apache-2.0"
] | 11 | 2019-11-06T23:10:54.000Z | 2022-03-09T07:35:09.000Z | pydevicetree/ast/__init__.py | microhobby/pydevicetree | f8ff16534f71dccc66761ac092deb7cceaebc1f2 | [
"Apache-2.0"
] | 3 | 2020-01-24T00:36:04.000Z | 2021-11-29T22:37:03.000Z | pydevicetree/ast/__init__.py | microhobby/pydevicetree | f8ff16534f71dccc66761ac092deb7cceaebc1f2 | [
"Apache-2.0"
] | 3 | 2021-11-19T19:50:57.000Z | 2022-03-09T07:35:12.000Z | #!/usr/bin/env python3
# Copyright (c) 2019 SiFive Inc.
# SPDX-License-Identifier: Apache-2.0
from pydevicetree.ast.directive import Directive
from pydevicetree.ast.node import Node, NodeReference, Devicetree
from pydevicetree.ast.property import PropertyValues, Bytestring, CellArray, StringList, Property, \
... | 45.1 | 100 | 0.749446 | 50 | 451 | 6.76 | 0.68 | 0.189349 | 0.224852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018767 | 0.172949 | 451 | 9 | 101 | 50.111111 | 0.887399 | 0.195122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 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 |
80ff0b981c2f285fe85b8cf98e6076edb8bea0b9 | 37 | py | Python | .history/my_classes/FirstClassFunctions/LambdaExpressions_20210704032546.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | .history/my_classes/FirstClassFunctions/LambdaExpressions_20210704032546.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | .history/my_classes/FirstClassFunctions/LambdaExpressions_20210704032546.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | """[Lambda Expressions]
Lambda ex
""" | 12.333333 | 23 | 0.675676 | 4 | 37 | 6.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 3 | 24 | 12.333333 | 0.757576 | 0.810811 | 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 |
440b86b45dff8b763c2249797209a647461b4824 | 67 | py | Python | niftypet/nipet/prj/__init__.py | rijobro/NIPET | 79eb7254adb3bd16583ebc8efa7b64f680b12e26 | [
"Apache-2.0"
] | null | null | null | niftypet/nipet/prj/__init__.py | rijobro/NIPET | 79eb7254adb3bd16583ebc8efa7b64f680b12e26 | [
"Apache-2.0"
] | null | null | null | niftypet/nipet/prj/__init__.py | rijobro/NIPET | 79eb7254adb3bd16583ebc8efa7b64f680b12e26 | [
"Apache-2.0"
] | null | null | null | # init the package folder
import mmrprj
import mmrsim
import mmrrec | 16.75 | 25 | 0.835821 | 10 | 67 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149254 | 67 | 4 | 26 | 16.75 | 0.982456 | 0.343284 | 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 |
440ba8d20cb254346c3269b1cb9f2a0d1bcbf362 | 11,522 | py | Python | net/error.py | aaiijmrtt/net | 92594b0bb65fc721eabfedcfccfc797ea5a475c7 | [
"MIT"
] | null | null | null | net/error.py | aaiijmrtt/net | 92594b0bb65fc721eabfedcfccfc797ea5a475c7 | [
"MIT"
] | null | null | null | net/error.py | aaiijmrtt/net | 92594b0bb65fc721eabfedcfccfc797ea5a475c7 | [
"MIT"
] | null | null | null | '''
Module containing Error Functions.
Classes embody Cost Functions for Minimization,
usually an elementwise mapping.
'''
import math
from . import base, configure
class Error(base.Net):
'''
Base Class for Error Functions
'''
def __init__(self, inputs):
'''
Constructor
: param inputs : dimension of in... | 35.343558 | 289 | 0.705954 | 1,371 | 11,522 | 5.835157 | 0.099927 | 0.0855 | 0.02625 | 0.031625 | 0.762125 | 0.724875 | 0.713625 | 0.7025 | 0.7025 | 0.681625 | 0 | 0.007445 | 0.160649 | 11,522 | 325 | 290 | 35.452308 | 0.81977 | 0.373373 | 0 | 0.614815 | 0 | 0 | 0.089869 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.014815 | 0 | 0.444444 | 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 |
4419af6ba71dd4f60c871f50f4300be8720d6666 | 152 | py | Python | bids-validator/setup.py | olgn/bids-validator | d93f054ff8567243982b438991c83911c72a54c3 | [
"MIT"
] | 84 | 2018-10-27T07:44:17.000Z | 2022-03-29T16:01:25.000Z | bids-validator/setup.py | olgn/bids-validator | d93f054ff8567243982b438991c83911c72a54c3 | [
"MIT"
] | 723 | 2018-09-26T22:14:28.000Z | 2022-03-29T16:00:52.000Z | bids-validator/setup.py | olgn/bids-validator | d93f054ff8567243982b438991c83911c72a54c3 | [
"MIT"
] | 58 | 2018-10-05T15:33:25.000Z | 2022-01-19T12:13:12.000Z | #!/usr/bin/env python
from setuptools import setup
import versioneer
setup(version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass())
| 21.714286 | 41 | 0.782895 | 19 | 152 | 6.157895 | 0.631579 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111842 | 152 | 6 | 42 | 25.333333 | 0.866667 | 0.131579 | 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 | 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 |
44217448399e4401aefef5b1269e8910dbe3bb22 | 1,148 | py | Python | lib/cuckoo/common/colors.py | Yuanmessi/Bold-Falcon | 00fcaba0b3d9c462b9d20ecb256ff85db5d119e2 | [
"BSD-3-Clause"
] | 24 | 2021-06-21T07:35:37.000Z | 2022-03-22T03:33:59.000Z | lib/cuckoo/common/colors.py | Yuanmessi/Bold-Falcon | 00fcaba0b3d9c462b9d20ecb256ff85db5d119e2 | [
"BSD-3-Clause"
] | 3 | 2021-07-01T08:09:05.000Z | 2022-01-28T03:38:36.000Z | lib/cuckoo/common/colors.py | Yuanmessi/Bold-Falcon | 00fcaba0b3d9c462b9d20ecb256ff85db5d119e2 | [
"BSD-3-Clause"
] | 6 | 2021-06-22T05:32:57.000Z | 2022-02-11T02:05:45.000Z | # Copyright (C) 2010-2013 Claudio Guarnieri.
# Copyright (C) 2014-2016 Cuckoo Foundation.
# Copyright (C) 2020-2021 PowerLZY.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import os
import sys
def color(text, color_code):
"""Colorize tex... | 22.509804 | 74 | 0.647213 | 163 | 1,148 | 4.539877 | 0.546012 | 0.121622 | 0.182432 | 0.231081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051054 | 0.215157 | 1,148 | 50 | 75 | 22.96 | 0.770255 | 0.428571 | 0 | 0 | 0 | 0 | 0.049919 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0 | 0.083333 | 0.375 | 0.958333 | 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 |
442a144952e76f91cecc6f3d9f94af32d9c2ca89 | 107 | py | Python | starter/templates/starter-module/starter/templates/__init__.py | movermeyer/starter | 24a65c10d4ac5a9ca8fc1d8b3d54b3fb13603f5f | [
"BSD-3-Clause"
] | 6 | 2015-09-20T19:52:37.000Z | 2021-02-13T12:37:23.000Z | starter/templates/starter-module/starter/templates/__init__.py | movermeyer/starter | 24a65c10d4ac5a9ca8fc1d8b3d54b3fb13603f5f | [
"BSD-3-Clause"
] | null | null | null | starter/templates/starter-module/starter/templates/__init__.py | movermeyer/starter | 24a65c10d4ac5a9ca8fc1d8b3d54b3fb13603f5f | [
"BSD-3-Clause"
] | 1 | 2018-03-05T17:31:07.000Z | 2018-03-05T17:31:07.000Z | # Declare Namespace
# =================
__import__('pkg_resources').declare_namespace('starter.templates')
| 26.75 | 66 | 0.672897 | 9 | 107 | 7.333333 | 0.777778 | 0.484848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056075 | 107 | 3 | 67 | 35.666667 | 0.653465 | 0.327103 | 0 | 0 | 0 | 0 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
442c415e6b1d5a9f7d0714d918d7918d0397f247 | 45 | py | Python | .history/app/__init___20210927035000.py | GraceOswal/pitch-perfect | d781c6e0f55c11f2a5e5dceb952f6b2de3c47c3b | [
"MIT"
] | null | null | null | .history/app/__init___20210927035000.py | GraceOswal/pitch-perfect | d781c6e0f55c11f2a5e5dceb952f6b2de3c47c3b | [
"MIT"
] | null | null | null | .history/app/__init___20210927035000.py | GraceOswal/pitch-perfect | d781c6e0f55c11f2a5e5dceb952f6b2de3c47c3b | [
"MIT"
] | null | null | null | from flask_sqlalchemy import SQLAlchemy
boot | 15 | 39 | 0.888889 | 6 | 45 | 6.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 3 | 40 | 15 | 0.975 | 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 |
442f7d3c21f8ac5fa1dbe355b2cc39a4dc7452bb | 66 | py | Python | enthought/traits/ui/qt4/extra/checkbox_renderer.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/traits/ui/qt4/extra/checkbox_renderer.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/traits/ui/qt4/extra/checkbox_renderer.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from traitsui.qt4.extra.checkbox_renderer import *
| 22 | 50 | 0.818182 | 9 | 66 | 5.888889 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.106061 | 66 | 2 | 51 | 33 | 0.881356 | 0.181818 | 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 |
44306a8338b2ca23fe240e79e635013f4153d5f0 | 3,951 | py | Python | textfill.py | saicoco/SA-Text | 353a73d84246a54962f3b7ffb7c7ca2e35f235e8 | [
"MIT"
] | 47 | 2020-02-21T23:36:28.000Z | 2021-12-21T01:34:38.000Z | textfill.py | sapjunior/SA-Text | 353a73d84246a54962f3b7ffb7c7ca2e35f235e8 | [
"MIT"
] | 4 | 2020-04-03T04:59:54.000Z | 2021-11-04T08:14:52.000Z | textfill.py | sapjunior/SA-Text | 353a73d84246a54962f3b7ffb7c7ca2e35f235e8 | [
"MIT"
] | 18 | 2020-02-21T10:06:34.000Z | 2021-09-15T01:50:55.000Z | # coding=utf-8
import numpy as np
import cv2
import queue as Queue
import threading
def textfill(gaussian_map, min_area=10, top_threshold=0.6, end_thershold=0.5):
"""
Args:
kernals: center_region and text_region
"""
center_region = np.where(gaussian_map > top_threshold, np.ones_like(gaussian... | 32.385246 | 134 | 0.584409 | 575 | 3,951 | 3.862609 | 0.156522 | 0.084196 | 0.010806 | 0.045925 | 0.847366 | 0.824854 | 0.824854 | 0.779379 | 0.692031 | 0.646105 | 0 | 0.029609 | 0.281954 | 3,951 | 121 | 135 | 32.652893 | 0.75326 | 0.139458 | 0 | 0.666667 | 0 | 0 | 0.002982 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0 | 0.057971 | 0 | 0.144928 | 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 |
444d4aa3d5d43aae4bb33b3a07d6b620a8addfa6 | 306 | py | Python | src/sequences/tests/test_three_sum.py | seahrh/coding-interview | 517d19e7e88c02acec4aa6336bc20206ce3f1897 | [
"MIT"
] | null | null | null | src/sequences/tests/test_three_sum.py | seahrh/coding-interview | 517d19e7e88c02acec4aa6336bc20206ce3f1897 | [
"MIT"
] | null | null | null | src/sequences/tests/test_three_sum.py | seahrh/coding-interview | 517d19e7e88c02acec4aa6336bc20206ce3f1897 | [
"MIT"
] | null | null | null | from sequences.three_sum import *
class TestThreeSum:
def test_three_sum(self):
assert three_sum([]) == set()
assert three_sum([1]) == set()
assert three_sum([1, 1, 1]) == set()
assert three_sum([-1, 0, 1, 2, -1, -4]) == {Triple(-1, 0, 1), Triple(-1, -1, 2)}
| 30.6 | 89 | 0.53268 | 45 | 306 | 3.466667 | 0.377778 | 0.307692 | 0.358974 | 0.326923 | 0.352564 | 0.24359 | 0 | 0 | 0 | 0 | 0 | 0.071749 | 0.271242 | 306 | 9 | 90 | 34 | 0.627803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.571429 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4452751c584dc5bbe3bb83c507ac5be6375acd00 | 324 | py | Python | ca_on_fort_erie/people.py | dcycle/scrapers-ca | 4c7a6cd01d603221b5b3b7a400d2e5ca0c6e916f | [
"MIT"
] | null | null | null | ca_on_fort_erie/people.py | dcycle/scrapers-ca | 4c7a6cd01d603221b5b3b7a400d2e5ca0c6e916f | [
"MIT"
] | null | null | null | ca_on_fort_erie/people.py | dcycle/scrapers-ca | 4c7a6cd01d603221b5b3b7a400d2e5ca0c6e916f | [
"MIT"
] | null | null | null | from utils import CSVScraper
class FortEriePersonScraper(CSVScraper):
# https://niagaraopendata.ca/dataset/town-of-fort-erie-elected-officials
csv_url = 'https://niagaraopendata.ca/dataset/744965a4-ed48-4ca9-a838-48d07c76a36b/resource/731205b6-bc59-4e08-90bf-80705033e4d4/download/fort-erie-elected-officials.c... | 46.285714 | 174 | 0.811728 | 40 | 324 | 6.55 | 0.75 | 0.152672 | 0.167939 | 0.221374 | 0.206107 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151815 | 0.064815 | 324 | 6 | 175 | 54 | 0.712871 | 0.216049 | 0 | 0 | 0 | 0.333333 | 0.626984 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
445e6c64f6950e24dba71cf2bad03ee702c341e8 | 69 | py | Python | Level1/Descende_string.py | chae-heechan/Programmers_Python_Algorithm_Study | c61af0b1b97d790e2332581eb0b7da42c3e510fa | [
"MIT"
] | null | null | null | Level1/Descende_string.py | chae-heechan/Programmers_Python_Algorithm_Study | c61af0b1b97d790e2332581eb0b7da42c3e510fa | [
"MIT"
] | null | null | null | Level1/Descende_string.py | chae-heechan/Programmers_Python_Algorithm_Study | c61af0b1b97d790e2332581eb0b7da42c3e510fa | [
"MIT"
] | null | null | null | def solution(s):
return ''.join(reversed(sorted([i for i in s]))) | 34.5 | 52 | 0.637681 | 12 | 69 | 3.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15942 | 69 | 2 | 52 | 34.5 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 |
445e76bd57cf2db77da76b0ac4de687c99f3a2c5 | 1,698 | py | Python | December/blog/migrations/0013_auto_20220114_0832.py | trinitrotofu/December | a7febf750f178751f5fe99a6fe1ee6f4ae900ded | [
"MIT"
] | 16 | 2022-01-14T23:53:15.000Z | 2022-03-28T05:57:40.000Z | December/blog/migrations/0013_auto_20220114_0832.py | trinitrotofu/December | a7febf750f178751f5fe99a6fe1ee6f4ae900ded | [
"MIT"
] | null | null | null | December/blog/migrations/0013_auto_20220114_0832.py | trinitrotofu/December | a7febf750f178751f5fe99a6fe1ee6f4ae900ded | [
"MIT"
] | 1 | 2022-02-03T07:57:49.000Z | 2022-02-03T07:57:49.000Z | # Generated by Django 3.1.14 on 2022-01-14 08:32
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('blog', '0012_comment_comment_time'),
]
operations = [
migrations.AlterField(
model_name='comment',
name='author',
... | 28.779661 | 71 | 0.532391 | 152 | 1,698 | 5.815789 | 0.302632 | 0.20362 | 0.254525 | 0.295249 | 0.702489 | 0.702489 | 0.458145 | 0.323529 | 0.323529 | 0.323529 | 0 | 0.033808 | 0.338045 | 1,698 | 58 | 72 | 29.275862 | 0.752669 | 0.027091 | 0 | 0.653846 | 1 | 0 | 0.086667 | 0.015152 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.019231 | 0.019231 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
446968e6ef5368726e73e59adef909d71bc9101a | 119 | py | Python | lone_moon/patches/002.py | NagariaHussain/lone_moon | 08cb93db6a4657b650b26b4b1831b8765b37c07a | [
"MIT"
] | null | null | null | lone_moon/patches/002.py | NagariaHussain/lone_moon | 08cb93db6a4657b650b26b4b1831b8765b37c07a | [
"MIT"
] | null | null | null | lone_moon/patches/002.py | NagariaHussain/lone_moon | 08cb93db6a4657b650b26b4b1831b8765b37c07a | [
"MIT"
] | null | null | null | import frappe
def execute():
frappe.throw("I don't know why I am failing. Maybe because, Hussain wants me to fail")
| 19.833333 | 87 | 0.731092 | 21 | 119 | 4.142857 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 119 | 5 | 88 | 23.8 | 0.887755 | 0 | 0 | 0 | 0 | 0 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4484b992e0d602bc874dc4bf29edb5cdb123da37 | 3,277 | py | Python | CreditCardAPI/test_main.py | shingareshubham/FLASK | 5a09da1bc75293b1703d07fc955da46fb9c36496 | [
"Apache-2.0"
] | null | null | null | CreditCardAPI/test_main.py | shingareshubham/FLASK | 5a09da1bc75293b1703d07fc955da46fb9c36496 | [
"Apache-2.0"
] | null | null | null | CreditCardAPI/test_main.py | shingareshubham/FLASK | 5a09da1bc75293b1703d07fc955da46fb9c36496 | [
"Apache-2.0"
] | null | null | null | from main import APP
import unittest
import json
class MainApiTest(unittest.TestCase):
def rest_call(self, data):
url = '/v1/payment/'
case = APP.test_client(self)
response = case.post(url, data=data)
return response
def test_200_response(self):
data1 = {'CreditCardNu... | 41.481013 | 91 | 0.639915 | 337 | 3,277 | 6.062315 | 0.189911 | 0.107685 | 0.070485 | 0.093979 | 0.765541 | 0.765541 | 0.763583 | 0.740578 | 0.721488 | 0.683309 | 0 | 0.09783 | 0.226427 | 3,277 | 78 | 92 | 42.012821 | 0.708087 | 0 | 0 | 0.476923 | 0 | 0 | 0.259384 | 0 | 0 | 0 | 0 | 0 | 0.184615 | 1 | 0.123077 | false | 0 | 0.046154 | 0 | 0.2 | 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 |
927dc72fc36ba855d7a6b0fcd18022c8fb34958f | 262 | py | Python | yoi/account/migrations/20120801-01-user_created.py | doptio/you-owe-it | 8da7f6816c95ace56f33c50f44b81b687503dca9 | [
"MIT"
] | null | null | null | yoi/account/migrations/20120801-01-user_created.py | doptio/you-owe-it | 8da7f6816c95ace56f33c50f44b81b687503dca9 | [
"MIT"
] | 1 | 2019-12-09T09:44:53.000Z | 2019-12-09T09:44:53.000Z | yoi/account/migrations/20120801-01-user_created.py | doptio/you-owe-it | 8da7f6816c95ace56f33c50f44b81b687503dca9 | [
"MIT"
] | null | null | null | db.session.execute('''
alter table "user"
add column created timestamp
''')
db.session.execute('''
update "user" set created = '1979-07-07'
''')
db.session.execute('''
alter table "user" alter column created set not null
''')
db.session.commit()
| 21.833333 | 56 | 0.656489 | 35 | 262 | 4.914286 | 0.485714 | 0.209302 | 0.27907 | 0.244186 | 0.348837 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0.036866 | 0.171756 | 262 | 11 | 57 | 23.818182 | 0.75576 | 0 | 0 | 0.545455 | 0 | 0 | 0.614504 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9285096001817e2ab5e5a17743f81c63a197b3b2 | 42 | py | Python | sonos_pi3_controller/mqtt_controller/__init__.py | kirkden/sonos_pi3_refresh | cfa997f3a26bd7738eef7b685a9c1e037c53ed7e | [
"MIT"
] | 1 | 2021-03-24T15:14:50.000Z | 2021-03-24T15:14:50.000Z | sonos_pi3_controller/mqtt_controller/__init__.py | kirkden/sonos_pi3_refresh | cfa997f3a26bd7738eef7b685a9c1e037c53ed7e | [
"MIT"
] | null | null | null | sonos_pi3_controller/mqtt_controller/__init__.py | kirkden/sonos_pi3_refresh | cfa997f3a26bd7738eef7b685a9c1e037c53ed7e | [
"MIT"
] | null | null | null | from .mqtt_controller import mqtt_monitor
| 21 | 41 | 0.880952 | 6 | 42 | 5.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.921053 | 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 |
92952f486e1e077291947387005e6c2abadfe466 | 213 | py | Python | layers/modules/__init__.py | SeanChenxy/TDRN | 6f9b71f4f214fa394b6f2674d93cb92f3a6f0503 | [
"MIT"
] | 27 | 2019-01-18T07:32:28.000Z | 2020-07-31T09:24:02.000Z | layers/modules/__init__.py | SeanChenxy/TDRN | 6f9b71f4f214fa394b6f2674d93cb92f3a6f0503 | [
"MIT"
] | 1 | 2019-04-03T12:42:33.000Z | 2019-12-01T07:41:23.000Z | layers/modules/__init__.py | SeanChenxy/TDRN | 6f9b71f4f214fa394b6f2674d93cb92f3a6f0503 | [
"MIT"
] | 7 | 2019-04-04T12:51:43.000Z | 2021-03-15T13:31:26.000Z | from .l2norm import L2Norm
from .multibox_loss import MultiBoxLoss, seqMultiBoxLoss
from .refine_multibox_loss import RefineMultiBoxLoss
# __all__ = ['L2Norm', 'MultiBoxLoss', 'seqMultiBoxLoss', 'AttentionLoss']
| 35.5 | 74 | 0.812207 | 21 | 213 | 7.904762 | 0.52381 | 0.144578 | 0.216867 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0.098592 | 213 | 5 | 75 | 42.6 | 0.848958 | 0.338028 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 |
2b89e41584e8d7c0fd65f25e8caa5d16505b5194 | 1,260 | py | Python | company/company_statuses_api.py | thinkstack-co/ConnectPyse | ded8b426250aee352598f33ad08b7bcc3c6a3017 | [
"MIT"
] | 23 | 2017-01-24T05:44:05.000Z | 2021-11-26T17:08:01.000Z | company/company_statuses_api.py | thinkstack-co/ConnectPyse | ded8b426250aee352598f33ad08b7bcc3c6a3017 | [
"MIT"
] | 10 | 2017-01-14T21:11:10.000Z | 2019-06-16T21:10:29.000Z | company/company_statuses_api.py | thinkstack-co/ConnectPyse | ded8b426250aee352598f33ad08b7bcc3c6a3017 | [
"MIT"
] | 16 | 2017-01-24T02:28:19.000Z | 2021-07-13T17:23:22.000Z | from ..cw_controller import CWController
# Class for /company/companies/statuses
from connectpyse.company import company_status
class CompanyStatusAPI(CWController):
def __init__(self):
self.module_url = 'company'
self.module = 'companies/statuses'
self._class = company_status.Com... | 34.054054 | 80 | 0.70873 | 158 | 1,260 | 5.196203 | 0.259494 | 0.300853 | 0.127893 | 0.069428 | 0.311815 | 0.285018 | 0.17296 | 0.087698 | 0 | 0 | 0 | 0 | 0.209524 | 1,260 | 36 | 81 | 35 | 0.824297 | 0.111905 | 0 | 0.083333 | 0 | 0 | 0.02317 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.083333 | 0.083333 | 0.208333 | 0.708333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
2b91c5530ea5076065ca1a405d5727ac25d1ebdf | 45 | py | Python | lightifypy/Errors.py | zabuldon/lyghtfypy | af438630a01f8c827295d2b3ba3b2671c85c0e94 | [
"WTFPL"
] | null | null | null | lightifypy/Errors.py | zabuldon/lyghtfypy | af438630a01f8c827295d2b3ba3b2671c85c0e94 | [
"WTFPL"
] | null | null | null | lightifypy/Errors.py | zabuldon/lyghtfypy | af438630a01f8c827295d2b3ba3b2671c85c0e94 | [
"WTFPL"
] | null | null | null | class LightifyException(Exception):
pass
| 15 | 35 | 0.777778 | 4 | 45 | 8.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 2 | 36 | 22.5 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
2ba29783f5755fca72458c73ee92b2161e8c7d07 | 19,115 | py | Python | conans/test/functional/tools/scm/test_git.py | Mu-L/conan | 7c24ec4bbd6e8c16cdcd879403aae742689bc36a | [
"MIT"
] | 1 | 2019-11-04T17:23:09.000Z | 2019-11-04T17:23:09.000Z | conans/test/functional/tools/scm/test_git.py | Mu-L/conan | 7c24ec4bbd6e8c16cdcd879403aae742689bc36a | [
"MIT"
] | 1 | 2020-11-05T16:16:49.000Z | 2020-11-05T16:16:49.000Z | conans/test/functional/tools/scm/test_git.py | Mattlk13/conan | 005fc53485557b0a570bb71670f2ca9c66082165 | [
"MIT"
] | null | null | null | import os
import re
import textwrap
import pytest
import six
from conans.test.utils.scm import create_local_git_repo, git_add_changes_commit, git_create_bare_repo
from conans.test.utils.test_files import temp_folder
from conans.test.utils.tools import TestClient
from conans.util.files import rmdir, save_files
@pyte... | 41.64488 | 101 | 0.565734 | 2,426 | 19,115 | 4.368096 | 0.104699 | 0.012079 | 0.022176 | 0.039445 | 0.754836 | 0.744833 | 0.735302 | 0.721808 | 0.698877 | 0.668114 | 0 | 0.015465 | 0.299765 | 19,115 | 458 | 102 | 41.735808 | 0.776242 | 0.097724 | 0 | 0.719403 | 0 | 0.008955 | 0.527112 | 0.102031 | 0 | 0 | 0 | 0.002183 | 0.179104 | 1 | 0.032836 | false | 0 | 0.089552 | 0 | 0.158209 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2ba7336592a6cd4fffa4f61b36a501e93a1d8691 | 40 | py | Python | language/syntax/parse/rdescent.py | jedhsu/language | 3772a4a0ff287e1fc5ebefc716b8d91928d04c72 | [
"MIT"
] | null | null | null | language/syntax/parse/rdescent.py | jedhsu/language | 3772a4a0ff287e1fc5ebefc716b8d91928d04c72 | [
"MIT"
] | null | null | null | language/syntax/parse/rdescent.py | jedhsu/language | 3772a4a0ff287e1fc5ebefc716b8d91928d04c72 | [
"MIT"
] | null | null | null | class RecursiveDescent(Parse):
pass
| 13.333333 | 30 | 0.75 | 4 | 40 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 2 | 31 | 20 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
2bb8e3e54f317690da218529db93255ad3df6e1a | 3,034 | py | Python | experiments/FITB_MPNN_comparison/evaluate_models.py | osanwe/Open-Vocabulary-Learning-on-Source-Code-with-a-Graph-Structured-Cache | d0d6e2b2414e6774dd6c78b0c48c2a9db6c3e181 | [
"MIT"
] | 26 | 2018-10-11T22:06:31.000Z | 2021-07-22T09:02:45.000Z | experiments/FITB_MPNN_comparison/evaluate_models.py | osanwe/Open-Vocabulary-Learning-on-Source-Code-with-a-Graph-Structured-Cache | d0d6e2b2414e6774dd6c78b0c48c2a9db6c3e181 | [
"MIT"
] | 3 | 2018-10-22T15:54:54.000Z | 2021-06-22T11:06:54.000Z | experiments/FITB_MPNN_comparison/evaluate_models.py | osanwe/Open-Vocabulary-Learning-on-Source-Code-with-a-Graph-Structured-Cache | d0d6e2b2414e6774dd6c78b0c48c2a9db6c3e181 | [
"MIT"
] | 9 | 2018-12-06T09:43:15.000Z | 2021-06-15T18:43:37.000Z | # Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
from experiments import aws_config
from experiments.evaluate_models_for_experiment import evaluate_models_for_experiment
from experiments.run_command_on_remote import run_command_on_remote
experiment_run_log_id = ''
skip_s3_sync = False
test = F... | 41.561644 | 85 | 0.597231 | 346 | 3,034 | 4.716763 | 0.234104 | 0.071691 | 0.088235 | 0.099265 | 0.718137 | 0.718137 | 0.718137 | 0.718137 | 0.718137 | 0.697304 | 0 | 0.043774 | 0.322347 | 3,034 | 72 | 86 | 42.138889 | 0.75 | 0.023401 | 0 | 0.695652 | 0 | 0 | 0.203985 | 0.112124 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.043478 | 0 | 0.043478 | 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 |
2bc149d6aa152a8c9be9ee21021a4ab65acd5a8b | 84 | py | Python | solutions/scope/app.py | Farid212/pythonscripting | 22be4965e541ebdff9fd02e414cb646c187f77b5 | [
"MIT"
] | 2 | 2020-12-04T01:56:18.000Z | 2021-01-06T13:19:57.000Z | solutions/scope/app.py | Farid212/pythonscripting | 22be4965e541ebdff9fd02e414cb646c187f77b5 | [
"MIT"
] | null | null | null | solutions/scope/app.py | Farid212/pythonscripting | 22be4965e541ebdff9fd02e414cb646c187f77b5 | [
"MIT"
] | 1 | 2020-12-04T01:56:01.000Z | 2020-12-04T01:56:01.000Z | def f1():
x = 42
def f2():
x = 0
f2()
print(x)
f1()
| 10.5 | 20 | 0.297619 | 12 | 84 | 2.083333 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 0.535714 | 84 | 7 | 21 | 12 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.285714 | 0.142857 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2bd43be3b1a7deb7c2ff7bc90dffe92dc01d4552 | 90 | py | Python | mmtrack/__init__.py | sht47/mmtracking | 5a25e418e9c598d1b576bce8702f5e156cbbefe7 | [
"Apache-2.0"
] | 12 | 2021-09-05T20:47:16.000Z | 2022-03-23T07:00:35.000Z | mmtrack/__init__.py | hellock/mmtracking | a22a36b2055d80cf4a7a5ef3913849abb56defcb | [
"Apache-2.0"
] | 2 | 2021-09-06T13:20:09.000Z | 2022-01-13T05:36:14.000Z | mmtrack/__init__.py | hellock/mmtracking | a22a36b2055d80cf4a7a5ef3913849abb56defcb | [
"Apache-2.0"
] | 1 | 2021-07-15T00:26:35.000Z | 2021-07-15T00:26:35.000Z | from .version import __version__, version_info
__all__ = ['__version__', 'version_info']
| 22.5 | 46 | 0.777778 | 10 | 90 | 5.6 | 0.5 | 0.5 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 90 | 3 | 47 | 30 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.255556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 |
2bdfbaad0091baf88881df6dc978004344d7b1c3 | 74 | py | Python | tests/instrumentation/structs/dyn_dep_graph.py | rlnsanz/inspectional-rara-parakeet | 2c7919ed432616ec016a5afcd6718d16fa65e8af | [
"Apache-2.0"
] | null | null | null | tests/instrumentation/structs/dyn_dep_graph.py | rlnsanz/inspectional-rara-parakeet | 2c7919ed432616ec016a5afcd6718d16fa65e8af | [
"Apache-2.0"
] | null | null | null | tests/instrumentation/structs/dyn_dep_graph.py | rlnsanz/inspectional-rara-parakeet | 2c7919ed432616ec016a5afcd6718d16fa65e8af | [
"Apache-2.0"
] | 1 | 2021-06-25T16:06:59.000Z | 2021-06-25T16:06:59.000Z | from gadget.instrumentation.structs import dyn_dep_graph
import unittest
| 18.5 | 56 | 0.878378 | 10 | 74 | 6.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094595 | 74 | 3 | 57 | 24.666667 | 0.940299 | 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 |
a6a25e9977808039deadda6a112d73fb5fe7e2d6 | 84 | py | Python | flask_forecaster/tracker/__init__.py | textbook/flask-forecaster | b154fcdf77d101aecea688b9db31dc7546975460 | [
"0BSD"
] | 2 | 2016-03-23T16:08:40.000Z | 2017-07-12T11:59:26.000Z | flask_forecaster/tracker/__init__.py | textbook/flask-forecaster | b154fcdf77d101aecea688b9db31dc7546975460 | [
"0BSD"
] | 1 | 2016-03-12T16:20:14.000Z | 2016-03-12T16:20:14.000Z | flask_forecaster/tracker/__init__.py | textbook/flask-forecaster | b154fcdf77d101aecea688b9db31dc7546975460 | [
"0BSD"
] | null | null | null | """Functionality for interacting with the Tracker API."""
from .api import Tracker
| 21 | 57 | 0.761905 | 11 | 84 | 5.818182 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 84 | 3 | 58 | 28 | 0.888889 | 0.607143 | 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 |
a6bbdf0db1447521581b65f456c77aff1a4c4f3a | 114 | py | Python | molecule_kind/test/conftest.py | retr0h/molecule-kind | 6a796c8e725e453a2107f322aa42bdff3e0ee217 | [
"MIT"
] | 2 | 2021-08-30T21:35:19.000Z | 2021-11-24T19:39:59.000Z | molecule_kind/test/conftest.py | retr0h/molecule-kind | 6a796c8e725e453a2107f322aa42bdff3e0ee217 | [
"MIT"
] | null | null | null | molecule_kind/test/conftest.py | retr0h/molecule-kind | 6a796c8e725e453a2107f322aa42bdff3e0ee217 | [
"MIT"
] | null | null | null | import pytest
@pytest.fixture
def DRIVER():
"""Return name of the driver to be tested."""
return "kind"
| 14.25 | 49 | 0.657895 | 16 | 114 | 4.6875 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219298 | 114 | 7 | 50 | 16.285714 | 0.842697 | 0.342105 | 0 | 0 | 0 | 0 | 0.057971 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
a6cfb2294445ca85a639e6bf04b2e805878d2f34 | 1,771 | py | Python | libra/data_generation/dataGen.py | Piyush1416/libra | 49176f795fa15f5b58ab01fe73b5ad457a6961e1 | [
"MIT"
] | 2,060 | 2020-06-11T01:04:08.000Z | 2022-03-26T06:31:18.000Z | libra/data_generation/dataGen.py | tgood13/libra | 5192d1bd74f1aaecd17f83b672774005c35c6022 | [
"MIT"
] | 157 | 2020-06-11T01:39:25.000Z | 2020-12-18T16:41:40.000Z | libra/data_generation/dataGen.py | tgood13/libra | 5192d1bd74f1aaecd17f83b672774005c35c6022 | [
"MIT"
] | 127 | 2020-06-22T13:12:36.000Z | 2021-12-22T09:41:50.000Z | from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import json
import os
import urllib
import argparse
import requests
# def generate_data(word):
# # identifies the search term and the base google address
# searchterm = word
# url = "https://www.google.co.in/search?q=" + \
# ... | 30.534483 | 77 | 0.645398 | 224 | 1,771 | 5.017857 | 0.513393 | 0.021352 | 0.012456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015396 | 0.229814 | 1,771 | 57 | 78 | 31.070175 | 0.808651 | 0.863354 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a6d0378859b5217bf00d4d3089b44b9434e40050 | 156 | py | Python | layers/functions/__init__.py | 18463105800/ssd.pruning.pytorch | 39592ee00e02f28742028a97592beec18d07258c | [
"MIT"
] | 13 | 2019-11-15T16:18:55.000Z | 2022-03-23T06:04:49.000Z | layers/functions/__init__.py | XUHUAKing/ssd.pruning.pytorch | 39592ee00e02f28742028a97592beec18d07258c | [
"MIT"
] | null | null | null | layers/functions/__init__.py | XUHUAKing/ssd.pruning.pytorch | 39592ee00e02f28742028a97592beec18d07258c | [
"MIT"
] | 3 | 2019-11-27T07:27:38.000Z | 2020-10-21T08:46:21.000Z | from .detection import Detect
from .refine_detection import RefineDetect
from .prior_box import PriorBox
__all__ = ['Detect', 'RefineDetect', 'PriorBox']
| 22.285714 | 48 | 0.788462 | 18 | 156 | 6.5 | 0.555556 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121795 | 156 | 6 | 49 | 26 | 0.854015 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.