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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bd1a64b8faa4b7589ee4783d56ea7df4ceeadc17 | 201 | py | Python | website/canvas/storage.py | bopopescu/canvas | 2dfd6009eaecd8dac64ccc6125084e65305fb5d0 | [
"BSD-3-Clause"
] | 61 | 2015-11-10T17:13:46.000Z | 2021-08-06T17:58:30.000Z | website/canvas/storage.py | bopopescu/canvas | 2dfd6009eaecd8dac64ccc6125084e65305fb5d0 | [
"BSD-3-Clause"
] | 13 | 2015-11-11T07:49:41.000Z | 2021-06-09T03:45:31.000Z | website/canvas/storage.py | bopopescu/canvas | 2dfd6009eaecd8dac64ccc6125084e65305fb5d0 | [
"BSD-3-Clause"
] | 18 | 2015-11-11T04:50:04.000Z | 2021-08-20T00:57:11.000Z | from compressor.storage import CompressorFileStorage
class CanvasFileStorage(CompressorFileStorage):
def url(self, path):
return "//canvas-dynamic-assets.s3.amazonaws.com/static/" + path
| 28.714286 | 72 | 0.766169 | 21 | 201 | 7.333333 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005747 | 0.134328 | 201 | 6 | 73 | 33.5 | 0.87931 | 0 | 0 | 0 | 0 | 0 | 0.24 | 0.24 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 |
1faa329bdcdfd3ec7bf7b728a50094b19a036130 | 162 | py | Python | all_auto_test/users/views.py | Evading77/all_auto_testing_eva | 81fe4732a686327084701be1ef9cf5850e7d78d8 | [
"MIT"
] | null | null | null | all_auto_test/users/views.py | Evading77/all_auto_testing_eva | 81fe4732a686327084701be1ef9cf5850e7d78d8 | [
"MIT"
] | null | null | null | all_auto_test/users/views.py | Evading77/all_auto_testing_eva | 81fe4732a686327084701be1ef9cf5850e7d78d8 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.views import View
class LoginView(View):
def get(self,request):
return render(request,'login.html')
| 20.25 | 43 | 0.734568 | 22 | 162 | 5.409091 | 0.727273 | 0.168067 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17284 | 162 | 7 | 44 | 23.142857 | 0.88806 | 0 | 0 | 0 | 0 | 0 | 0.061728 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
951fd4c03bbcd55fdd4eaa4cf1d74e5f3dba25ea | 496 | py | Python | Lyft-Dental/Django-WebRtc/home/views.py | Abhik1998/Lyft-sample_project | 3f9a79fb86c7abee713ae37245f5e7971be09139 | [
"MIT"
] | 1 | 2021-01-09T08:42:24.000Z | 2021-01-09T08:42:24.000Z | Lyft-Dental/Django-WebRtc/home/views.py | Abhik1998/Lyft-sample_project | 3f9a79fb86c7abee713ae37245f5e7971be09139 | [
"MIT"
] | null | null | null | Lyft-Dental/Django-WebRtc/home/views.py | Abhik1998/Lyft-sample_project | 3f9a79fb86c7abee713ae37245f5e7971be09139 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from chat.models import *
# Create your views here.
def home(request):
chat = ChatMessage.objects.all()
return render(request,'common/home.html', {'chat':chat})
def video(request):
return render(request,'video.html')
def video3(request):
return render(request,'video3.html')
... | 20.666667 | 57 | 0.745968 | 68 | 496 | 5.441176 | 0.382353 | 0.194595 | 0.308108 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013605 | 0.110887 | 496 | 23 | 58 | 21.565217 | 0.825397 | 0.046371 | 0 | 0 | 0 | 0 | 0.154989 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.133333 | 0.333333 | 0.933333 | 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 |
9527282622ce1b8a8057c23be87132dc48225952 | 125 | py | Python | test/integration_test/exampleProject/test_module.py | thusoy/grunt-pylint | 1911144b76b144c991e721c794640c06101a8bf1 | [
"MIT"
] | 9 | 2015-03-04T22:35:49.000Z | 2018-08-16T00:51:24.000Z | test/integration_test/exampleProject/test_module.py | thusoy/grunt-pylint | 1911144b76b144c991e721c794640c06101a8bf1 | [
"MIT"
] | 10 | 2015-03-05T14:09:53.000Z | 2019-04-13T21:48:05.000Z | test/integration_test/exampleProject/test_module.py | thusoy/grunt-pylint | 1911144b76b144c991e721c794640c06101a8bf1 | [
"MIT"
] | 5 | 2015-03-04T16:25:05.000Z | 2018-08-13T10:49:47.000Z | """ This module is used for integration testing. """
# pylint: disable=locally-disabled,unused-import
import venv_exclusive
| 25 | 52 | 0.776 | 16 | 125 | 6 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 125 | 4 | 53 | 31.25 | 0.872727 | 0.744 | 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 |
1f04128726942205094994e2b681a53cdfe743aa | 64 | py | Python | h1st/tuner/__init__.py | vophihungvn/h1st | d421995bb0b8de6a5a76788261efef5b26bc7c12 | [
"Apache-2.0"
] | null | null | null | h1st/tuner/__init__.py | vophihungvn/h1st | d421995bb0b8de6a5a76788261efef5b26bc7c12 | [
"Apache-2.0"
] | null | null | null | h1st/tuner/__init__.py | vophihungvn/h1st | d421995bb0b8de6a5a76788261efef5b26bc7c12 | [
"Apache-2.0"
] | null | null | null | from h1st.tuner.hyperparameter_tuner import HyperParameterTuner
| 32 | 63 | 0.90625 | 7 | 64 | 8.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.0625 | 64 | 1 | 64 | 64 | 0.933333 | 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 |
1f25e26a1245bec906b2d218d9c2eb30d569b680 | 384 | py | Python | examples/testlogger.py | ev3dev-python-tools/ev3devlogging | b98904d9d93059159637d87e5ebcab8ca093b0f1 | [
"MIT"
] | null | null | null | examples/testlogger.py | ev3dev-python-tools/ev3devlogging | b98904d9d93059159637d87e5ebcab8ca093b0f1 | [
"MIT"
] | null | null | null | examples/testlogger.py | ev3dev-python-tools/ev3devlogging | b98904d9d93059159637d87e5ebcab8ca093b0f1 | [
"MIT"
] | null | null | null | # print to log file, not shown on screen (to stderr which ev3dev os puts in logfile)
from ev3devlogger import log
#from ev3devlogger import timedlog as log
log("starwars song(log)")
from ev3devlogger import timedlog
timedlog("starwars song(timedlog)")
print("starwars (print)")
log("starwars song")
from ev3devlogg... | 27.428571 | 86 | 0.770833 | 56 | 384 | 5.285714 | 0.392857 | 0.216216 | 0.297297 | 0.304054 | 0.459459 | 0.337838 | 0.337838 | 0.337838 | 0.337838 | 0 | 0 | 0.015198 | 0.143229 | 384 | 14 | 87 | 27.428571 | 0.884498 | 0.322917 | 0 | 0 | 0 | 0 | 0.391473 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.375 | 0 | 0.375 | 0.125 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2f25439acb972903c75d41093b0f43be910845ab | 310 | py | Python | main.py | mesmacosta/datacatalog-fileset-enricher | 0792632fc181b13696f89ef3335da4e2ce1dca4a | [
"MIT"
] | 3 | 2020-04-01T15:28:25.000Z | 2020-06-06T18:30:34.000Z | main.py | mesmacosta/datacatalog-fileset-enricher | 0792632fc181b13696f89ef3335da4e2ce1dca4a | [
"MIT"
] | null | null | null | main.py | mesmacosta/datacatalog-fileset-enricher | 0792632fc181b13696f89ef3335da4e2ce1dca4a | [
"MIT"
] | 1 | 2020-07-09T06:05:24.000Z | 2020-07-09T06:05:24.000Z | import logging
import sys
from datacatalog_fileset_enricher import datacatalog_fileset_enricher_cli
if __name__ == '__main__':
logging.basicConfig(level=logging.INFO)
argv = sys.argv
datacatalog_fileset_enricher_cli.\
DatacatalogFilesetEnricherCLI.run(argv[1:] if len(argv) > 0 else argv)
| 31 | 78 | 0.780645 | 38 | 310 | 5.947368 | 0.552632 | 0.238938 | 0.345133 | 0.256637 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007547 | 0.145161 | 310 | 9 | 79 | 34.444444 | 0.845283 | 0 | 0 | 0 | 0 | 0 | 0.025806 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2f585f0414875528a6779f295b93677e10c21cf1 | 5,206 | py | Python | app/models.py | lilianwaweru/Oa_Online | 58644f5dd4ae1f396b43a2da980a9c464a9bfdd4 | [
"MIT"
] | null | null | null | app/models.py | lilianwaweru/Oa_Online | 58644f5dd4ae1f396b43a2da980a9c464a9bfdd4 | [
"MIT"
] | null | null | null | app/models.py | lilianwaweru/Oa_Online | 58644f5dd4ae1f396b43a2da980a9c464a9bfdd4 | [
"MIT"
] | 4 | 2019-04-30T09:07:22.000Z | 2019-07-02T08:51:22.000Z | from . import db
from werkzeug.security import generate_password_hash, check_password_hash
from flask_login import UserMixin
from . import login_manager
from datetime import datetime
@login_manager.user_loader
def load_user(user_id):
return User.query.get(int(user_id))
class User(UserMixin, db.Model):
__tabl... | 37.185714 | 82 | 0.680177 | 768 | 5,206 | 4.46875 | 0.136719 | 0.202797 | 0.253497 | 0.289044 | 0.687354 | 0.61014 | 0.475524 | 0.460373 | 0.421911 | 0.398601 | 0 | 0.044845 | 0.169036 | 5,206 | 139 | 83 | 37.453237 | 0.748497 | 0 | 0 | 0.38843 | 1 | 0 | 0.049366 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041322 | false | 0.07438 | 0.041322 | 0.024793 | 0.958678 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
2f6b470e4d68764c82c5e960377985365be6d841 | 49 | py | Python | AD-HOC/2416.py | jeconiassantos/uriissues | f6c32f8632b9940a4886240ea5d22300922dc79a | [
"MIT"
] | null | null | null | AD-HOC/2416.py | jeconiassantos/uriissues | f6c32f8632b9940a4886240ea5d22300922dc79a | [
"MIT"
] | null | null | null | AD-HOC/2416.py | jeconiassantos/uriissues | f6c32f8632b9940a4886240ea5d22300922dc79a | [
"MIT"
] | null | null | null | C, N = map(int, input().split(' '))
print(C % N)
| 16.333333 | 35 | 0.510204 | 9 | 49 | 2.777778 | 0.777778 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 49 | 2 | 36 | 24.5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
2f88bf2c5f6df294804820f97f5c583aad4fe844 | 129 | py | Python | ted_lm/to_run/evaluate.py | mvdwerve/NLP-Classifier | 5494a789c9b87476ec4253e00e3349462f08d3d2 | [
"MIT"
] | null | null | null | ted_lm/to_run/evaluate.py | mvdwerve/NLP-Classifier | 5494a789c9b87476ec4253e00e3349462f08d3d2 | [
"MIT"
] | null | null | null | ted_lm/to_run/evaluate.py | mvdwerve/NLP-Classifier | 5494a789c9b87476ec4253e00e3349462f08d3d2 | [
"MIT"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:b28da294230f24c172729139b1988b8008f6fb2c259b1c3425772b2c80cfb9dd
size 2688
| 32.25 | 75 | 0.883721 | 13 | 129 | 8.769231 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.422764 | 0.046512 | 129 | 3 | 76 | 43 | 0.504065 | 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 |
2f8f9cde054908beafa4eaad551bd52319f17a78 | 80 | py | Python | main.py | Zerex1/Test | eb1030a90961c18d7aac5f3ca63e3a540756349b | [
"MIT"
] | null | null | null | main.py | Zerex1/Test | eb1030a90961c18d7aac5f3ca63e3a540756349b | [
"MIT"
] | 7 | 2022-02-19T16:54:51.000Z | 2022-02-20T21:52:54.000Z | main.py | Scarloran/Error | 07a1d70fb69b0c8ae45f500c92ad04eb59ed26f5 | [
"MIT"
] | null | null | null | print('hi all')
print('hii')
print('hello world')
print('hi')
print('hello')
| 8.888889 | 20 | 0.625 | 12 | 80 | 4.166667 | 0.5 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 80 | 8 | 21 | 10 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.3375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 5 |
85e2f348622632176aeb4fc8c874b128321e99b9 | 135 | py | Python | CodeWars/7 Kyu/Unlucky Days.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/Unlucky Days.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/Unlucky Days.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | from datetime import datetime
def unlucky_days(year):
return sum(datetime(year, month, 13).weekday() == 4 for month in range(1,13)) | 33.75 | 80 | 0.733333 | 22 | 135 | 4.454545 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051724 | 0.140741 | 135 | 4 | 80 | 33.75 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
c857514f1506cd0bc10959833eb8dedcb9973928 | 70,500 | py | Python | cifar_net_search/syclop_cifar_gru_no_upsample.py | sashkarivkind/imagewalker | 999e1ae78cfe1512e1be894d9e7891a7d0c41233 | [
"Apache-2.0"
] | 2 | 2021-04-28T13:33:45.000Z | 2021-11-09T14:31:09.000Z | cifar_net_search/syclop_cifar_gru_no_upsample.py | sashkarivkind/imagewalker | 999e1ae78cfe1512e1be894d9e7891a7d0c41233 | [
"Apache-2.0"
] | null | null | null | cifar_net_search/syclop_cifar_gru_no_upsample.py | sashkarivkind/imagewalker | 999e1ae78cfe1512e1be894d9e7891a7d0c41233 | [
"Apache-2.0"
] | 1 | 2021-03-07T13:25:59.000Z | 2021-03-07T13:25:59.000Z | '''
The follwing code runs a test lstm network on the CIFAR dataset
I will explicitly write the networks here for ease of understanding
with cnn_sropout = 0.4 and rnn dropout = 0.2and lr = 1e-3 and res = 8
################# cnn_gru_True Validation Accuracy = [0.3408, 0.411, 0.44, 0.4448, 0.466, 0.4684, 0.4802, 0.4... | 228.896104 | 5,606 | 0.721078 | 12,118 | 70,500 | 4.172966 | 0.27521 | 0.007178 | 0.002966 | 0.007198 | 0.121757 | 0.078508 | 0.058278 | 0.050289 | 0.047757 | 0.047757 | 0 | 0.693395 | 0.102596 | 70,500 | 308 | 5,607 | 228.896104 | 0.105885 | 0.905262 | 0 | 0.176471 | 0 | 0 | 0.138374 | 0.05587 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014706 | false | 0 | 0.102941 | 0 | 0.132353 | 0.066176 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c862cc8467bd7e489f5a6229b8441ad05ef1b1a6 | 20,515 | py | Python | django_comments_xtd/tests/models.py | lyoniionly/django-comments-xtd | bc62a7359b9b460185e0fe4a7a1958bc9ef5599c | [
"BSD-2-Clause"
] | null | null | null | django_comments_xtd/tests/models.py | lyoniionly/django-comments-xtd | bc62a7359b9b460185e0fe4a7a1958bc9ef5599c | [
"BSD-2-Clause"
] | null | null | null | django_comments_xtd/tests/models.py | lyoniionly/django-comments-xtd | bc62a7359b9b460185e0fe4a7a1958bc9ef5599c | [
"BSD-2-Clause"
] | null | null | null | from datetime import datetime
from django.db import models
from django.db.models import permalink
from django.contrib.contenttypes.models import ContentType
from django.contrib.sites.models import Site
from django.test import TestCase as DjangoTestCase
from django_comments_xtd.models import (XtdComment,
... | 46.625 | 80 | 0.497295 | 2,344 | 20,515 | 4.164249 | 0.076365 | 0.05942 | 0.077451 | 0.032271 | 0.777687 | 0.748899 | 0.73097 | 0.725643 | 0.716013 | 0.703616 | 0 | 0.050349 | 0.413307 | 20,515 | 439 | 81 | 46.731207 | 0.760635 | 0.150865 | 0 | 0.678344 | 0 | 0 | 0.041181 | 0.001328 | 0 | 0 | 0 | 0 | 0.191083 | 1 | 0.089172 | false | 0 | 0.022293 | 0.006369 | 0.191083 | 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 |
2394fb0077e12ccbcbd82c4f19bfaa2b70a81ecc | 150 | py | Python | eemeter/modeling/exceptions.py | SuccessionEcologicalServices/eemeter-1 | dc06f42dc64679a5d56771d6900169eef4eaf515 | [
"MIT"
] | null | null | null | eemeter/modeling/exceptions.py | SuccessionEcologicalServices/eemeter-1 | dc06f42dc64679a5d56771d6900169eef4eaf515 | [
"MIT"
] | 1 | 2018-06-14T04:24:49.000Z | 2018-06-14T04:24:49.000Z | eemeter/modeling/exceptions.py | SuccessionEcologicalServices/eemeter-1 | dc06f42dc64679a5d56771d6900169eef4eaf515 | [
"MIT"
] | null | null | null | class DataSufficiencyException(Exception):
pass
class ModelFitException(Exception):
pass
class ModelPredictException(Exception):
pass
| 13.636364 | 42 | 0.773333 | 12 | 150 | 9.666667 | 0.5 | 0.336207 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 150 | 10 | 43 | 15 | 0.928 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
23d49ee738e43aa66d515d38988b95d1c1f66917 | 102 | py | Python | src/django/tests/test_settings.py | segestic/django-builder | 802e73241fe29ea1afb2df15a3addee87f39aeaa | [
"MIT"
] | 541 | 2015-05-27T04:34:38.000Z | 2022-03-23T18:00:16.000Z | src/django/tests/test_settings.py | segestic/django-builder | 802e73241fe29ea1afb2df15a3addee87f39aeaa | [
"MIT"
] | 85 | 2015-05-27T14:27:27.000Z | 2022-02-27T18:51:08.000Z | src/django/tests/test_settings.py | segestic/django-builder | 802e73241fe29ea1afb2df15a3addee87f39aeaa | [
"MIT"
] | 129 | 2015-05-27T20:55:43.000Z | 2022-03-23T14:18:07.000Z |
from XXX_PROJECT_NAME_XXX.settings import * # noqa
# Override any settings required for tests here
| 20.4 | 51 | 0.794118 | 15 | 102 | 5.2 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 102 | 4 | 52 | 25.5 | 0.917647 | 0.490196 | 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 |
23e0261a193fa6f445356c45a1780f878354e500 | 157 | py | Python | utils/platform.py | dennisding/build | e9342c2f235f64a8e125b3e6208426f1c2a12346 | [
"Apache-2.0"
] | null | null | null | utils/platform.py | dennisding/build | e9342c2f235f64a8e125b3e6208426f1c2a12346 | [
"Apache-2.0"
] | null | null | null | utils/platform.py | dennisding/build | e9342c2f235f64a8e125b3e6208426f1c2a12346 | [
"Apache-2.0"
] | null | null | null | # -*- encoding:utf-8 -*-
class Platform:
def __init__(self):
pass
class Win(Platform):
pass
class Ios(Platform):
pass
class Android(Platform):
pass | 11.214286 | 24 | 0.687898 | 21 | 157 | 4.952381 | 0.571429 | 0.259615 | 0.326923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007692 | 0.171975 | 157 | 14 | 25 | 11.214286 | 0.792308 | 0.140127 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.444444 | 0 | 0 | 0.555556 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
23f1798fb64ee4b5169a0bf90b985ef75feb7390 | 76 | py | Python | xdl/blueprints/__init__.py | mcrav/xdl | c120a1cf50a9b668a79b118700930eb3d60a9298 | [
"MIT"
] | null | null | null | xdl/blueprints/__init__.py | mcrav/xdl | c120a1cf50a9b668a79b118700930eb3d60a9298 | [
"MIT"
] | null | null | null | xdl/blueprints/__init__.py | mcrav/xdl | c120a1cf50a9b668a79b118700930eb3d60a9298 | [
"MIT"
] | null | null | null | from .procedure import (
CrossCouplingBlueprint,
GenericBlueprint
)
| 15.2 | 27 | 0.75 | 5 | 76 | 11.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197368 | 76 | 4 | 28 | 19 | 0.934426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.5 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
f19c254391cc08472493c02b34a771daed15156b | 75 | py | Python | main.py | TTRSQ/pip-test | acc81731555f4a3566a76f670fe95d0384ec4ab7 | [
"MIT"
] | null | null | null | main.py | TTRSQ/pip-test | acc81731555f4a3566a76f670fe95d0384ec4ab7 | [
"MIT"
] | null | null | null | main.py | TTRSQ/pip-test | acc81731555f4a3566a76f670fe95d0384ec4ab7 | [
"MIT"
] | null | null | null | #自作関数のインポート
import pip_test
if __name__ == '__main__':
pip_test.hello() | 15 | 26 | 0.733333 | 10 | 75 | 4.5 | 0.8 | 0.311111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146667 | 75 | 5 | 27 | 15 | 0.703125 | 0.133333 | 0 | 0 | 0 | 0 | 0.123077 | 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 |
f1a543e42a5ea04e653279a8af75516ed7470802 | 144 | py | Python | onnxmltools/convert/libsvm/operator_converters/__init__.py | xhochy/onnxmltools | cb2782b155ff67dc1e586f36a27c5d032070c801 | [
"Apache-2.0"
] | 623 | 2018-02-16T20:43:01.000Z | 2022-03-31T05:00:17.000Z | onnxmltools/convert/libsvm/operator_converters/__init__.py | xhochy/onnxmltools | cb2782b155ff67dc1e586f36a27c5d032070c801 | [
"Apache-2.0"
] | 339 | 2018-02-26T21:27:04.000Z | 2022-03-31T03:16:50.000Z | onnxmltools/convert/libsvm/operator_converters/__init__.py | xhochy/onnxmltools | cb2782b155ff67dc1e586f36a27c5d032070c801 | [
"Apache-2.0"
] | 152 | 2018-02-24T01:20:22.000Z | 2022-03-31T07:41:35.000Z | # SPDX-License-Identifier: Apache-2.0
# To register converter for libsvm operators, import associated modules here.
from . import SVMConverter
| 28.8 | 77 | 0.798611 | 19 | 144 | 6.052632 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016 | 0.131944 | 144 | 4 | 78 | 36 | 0.904 | 0.770833 | 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 |
f1cbcf01c46f003c5909284f4d2d85198beda10f | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/typing/tests/data/pass/numerictypes.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/tests/data/pass/numerictypes.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/tests/data/pass/numerictypes.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/7d/da/46/b543433b18dcfd975ecc18a25baa2105812baf0edc0bdbfae3890e1df2 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.34375 | 0 | 96 | 1 | 96 | 96 | 0.552083 | 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 |
f1db626c6c51f4c9710e0e6d1e887229859a9043 | 2,757 | py | Python | src/app/parser/parser.py | IliaValov/SofiaAirPurity | 71d0b005a9f8f5bfabfae99d1f4f8e1d11825adf | [
"MIT"
] | null | null | null | src/app/parser/parser.py | IliaValov/SofiaAirPurity | 71d0b005a9f8f5bfabfae99d1f4f8e1d11825adf | [
"MIT"
] | 1 | 2021-12-02T23:20:51.000Z | 2021-12-02T23:20:51.000Z | src/app/parser/parser.py | IliaValov/SofiaAirPurity | 71d0b005a9f8f5bfabfae99d1f4f8e1d11825adf | [
"MIT"
] | 1 | 2022-01-10T15:18:27.000Z | 2022-01-10T15:18:27.000Z | from app.models.enums.station import Station
class Parser:
def __init__(self, data):
self.data = data
def getDataByStation(self, station):
airDataForStation = {"timeSet": [], "level": [], "airType": [], "invalid": []}
for d in self.data:
if int(d.station) == station:
... | 50.127273 | 132 | 0.602466 | 260 | 2,757 | 6.373077 | 0.142308 | 0.063368 | 0.033193 | 0.039228 | 0.757393 | 0.757393 | 0.757393 | 0.757393 | 0.757393 | 0.757393 | 0 | 0 | 0.256801 | 2,757 | 54 | 133 | 51.055556 | 0.808687 | 0 | 0 | 0.666667 | 0 | 0 | 0.089227 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.020833 | 0 | 0.270833 | 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 |
f1e8ea63244e88c3991257407c19f60101c1fe1a | 27 | py | Python | sbpack/version.py | jdidion/sbpack | 84bd7867a0630a826280a702db715377aa879f6a | [
"Apache-2.0"
] | 11 | 2020-08-12T09:33:46.000Z | 2022-02-18T15:27:26.000Z | sbpack/version.py | jdidion/sbpack | 84bd7867a0630a826280a702db715377aa879f6a | [
"Apache-2.0"
] | 35 | 2020-06-12T16:52:36.000Z | 2022-03-25T04:29:02.000Z | sbpack/version.py | jdidion/sbpack | 84bd7867a0630a826280a702db715377aa879f6a | [
"Apache-2.0"
] | 2 | 2021-09-27T16:17:26.000Z | 2022-01-12T22:18:12.000Z | __version__ = "2021.10.07"
| 13.5 | 26 | 0.703704 | 4 | 27 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.111111 | 27 | 1 | 27 | 27 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0.37037 | 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 |
f1e91dba84a62775f1e1edc376c14039a6a6b66f | 179 | py | Python | forayer/datasets/__init__.py | dobraczka/forayer | df6783f85fb063f58e8b96acef924f9fd2532227 | [
"MIT"
] | 5 | 2021-09-06T13:50:44.000Z | 2022-02-14T09:39:09.000Z | forayer/datasets/__init__.py | dobraczka/forayer | df6783f85fb063f58e8b96acef924f9fd2532227 | [
"MIT"
] | 5 | 2021-09-07T06:53:41.000Z | 2022-01-17T09:51:53.000Z | forayer/datasets/__init__.py | dobraczka/forayer | df6783f85fb063f58e8b96acef924f9fd2532227 | [
"MIT"
] | null | null | null | """Make datasets available."""
from forayer.datasets.oaei_kg import OAEIKGDataset
from forayer.datasets.open_ea import OpenEADataset
__all__ = ["OpenEADataset", "OAEIKGDataset"]
| 29.833333 | 50 | 0.804469 | 20 | 179 | 6.9 | 0.65 | 0.15942 | 0.275362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089385 | 179 | 5 | 51 | 35.8 | 0.846626 | 0.134078 | 0 | 0 | 0 | 0 | 0.174497 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f1ed8dbfedb221a10fa60ea9b89b4d29afac3606 | 227 | py | Python | challenge/admin.py | dpmpolo/anniv | 27081ca5bc514050c10ecc5e5c0994a4d5a7066f | [
"MIT"
] | null | null | null | challenge/admin.py | dpmpolo/anniv | 27081ca5bc514050c10ecc5e5c0994a4d5a7066f | [
"MIT"
] | null | null | null | challenge/admin.py | dpmpolo/anniv | 27081ca5bc514050c10ecc5e5c0994a4d5a7066f | [
"MIT"
] | null | null | null | from django.contrib import admin
from challenge.models import Goal, GoalInstance, SignificantOther
# Register your models here.
admin.site.register(Goal)
admin.site.register(GoalInstance)
admin.site.register(SignificantOther)
| 28.375 | 65 | 0.837004 | 28 | 227 | 6.785714 | 0.5 | 0.142105 | 0.268421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0837 | 227 | 7 | 66 | 32.428571 | 0.913462 | 0.114537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 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 |
7b190c0f4573cd290b14012b9fc7b11615f31516 | 218 | py | Python | elif_bayindir/phase_1/python_basic_1/day_6/q7.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | elif_bayindir/phase_1/python_basic_1/day_6/q7.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | elif_bayindir/phase_1/python_basic_1/day_6/q7.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | # Question 7
# Find out the number of CPUs using
import os
print("Number of CPUs using:", os.cpu_count())
# Alternative,
""" import multiprocessing
print("Number of CPUs using:", multiprocessing.cpu_count()) """
| 18.166667 | 63 | 0.711009 | 30 | 218 | 5.1 | 0.533333 | 0.156863 | 0.235294 | 0.333333 | 0.287582 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005464 | 0.16055 | 218 | 11 | 64 | 19.818182 | 0.830601 | 0.261468 | 0 | 0 | 0 | 0 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
9e377bb8273400c9545a16768897adf2638f5e45 | 63 | py | Python | rx/__init__.py | yutiansut/RxPY | c3bbba77f9ebd7706c949141725e220096deabd4 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2018-11-16T09:07:13.000Z | 2018-11-16T09:07:13.000Z | rx/__init__.py | yutiansut/RxPY | c3bbba77f9ebd7706c949141725e220096deabd4 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | rx/__init__.py | yutiansut/RxPY | c3bbba77f9ebd7706c949141725e220096deabd4 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-05-08T08:23:08.000Z | 2020-05-08T08:23:08.000Z | from .core import Observer, Observable, AnonymousObserver as _
| 31.5 | 62 | 0.825397 | 7 | 63 | 7.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 63 | 1 | 63 | 63 | 0.927273 | 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 |
9e379e1fd1991982e0f968b5ef6aafe42d277ba1 | 47 | py | Python | news_api/settings/Vespa_config.py | rdoume/News_API | 9c555fdc5e5b717b98bcfec27364b9612b9c4aa1 | [
"MIT"
] | 9 | 2019-07-19T13:19:55.000Z | 2021-07-08T16:25:30.000Z | news_api/settings/Vespa_config.py | rdoume/News_API | 9c555fdc5e5b717b98bcfec27364b9612b9c4aa1 | [
"MIT"
] | null | null | null | news_api/settings/Vespa_config.py | rdoume/News_API | 9c555fdc5e5b717b98bcfec27364b9612b9c4aa1 | [
"MIT"
] | 1 | 2021-05-12T01:50:04.000Z | 2021-05-12T01:50:04.000Z | VESPA_IP = "172.16.100.65"
VESPA_PORT = "8080"
| 15.666667 | 26 | 0.680851 | 9 | 47 | 3.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.341463 | 0.12766 | 47 | 2 | 27 | 23.5 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0.361702 | 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 |
9e4644db01b6aad4460e509e0a9d08dada56a727 | 42 | py | Python | errorpro/exceptions.py | benti/Error-Pypagation | 108feddc58a705da82fe6fdce658b419b589b533 | [
"BSD-3-Clause"
] | null | null | null | errorpro/exceptions.py | benti/Error-Pypagation | 108feddc58a705da82fe6fdce658b419b589b533 | [
"BSD-3-Clause"
] | null | null | null | errorpro/exceptions.py | benti/Error-Pypagation | 108feddc58a705da82fe6fdce658b419b589b533 | [
"BSD-3-Clause"
] | null | null | null | class DimensionError(Exception):
pass
| 14 | 32 | 0.761905 | 4 | 42 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 2 | 33 | 21 | 0.914286 | 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 |
9e491ac31491040fbc01015d8b5c1a03d71d8961 | 377 | py | Python | src/edeposit/amqp/rest/structures/__init__.py | edeposit/edeposit.rest | ecb1c00f7c156e1ed2000a0b68a3e4da506e7992 | [
"MIT"
] | 1 | 2015-12-10T13:30:22.000Z | 2015-12-10T13:30:22.000Z | src/edeposit/amqp/rest/structures/__init__.py | edeposit/edeposit.rest | ecb1c00f7c156e1ed2000a0b68a3e4da506e7992 | [
"MIT"
] | 33 | 2015-10-06T16:02:13.000Z | 2015-12-10T15:00:04.000Z | src/edeposit/amqp/rest/structures/__init__.py | edeposit/edeposit.rest | ecb1c00f7c156e1ed2000a0b68a3e4da506e7992 | [
"MIT"
] | null | null | null | #! /usr/bin/env python
# -*- coding: utf-8 -*-
#
# Interpreter version: python 2.7
#
# Imports =====================================================================
from incomming import CacheTick
from incomming import SaveLogin
from incomming import RemoveLogin
from incomming import StatusUpdate
from outgoing import ... | 26.928571 | 79 | 0.649867 | 37 | 377 | 6.621622 | 0.594595 | 0.212245 | 0.310204 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008982 | 0.114058 | 377 | 13 | 80 | 29 | 0.724551 | 0.405836 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
9e5983beaa6b6cc08ac0ba87d128a18495efcf64 | 117 | py | Python | config-template.py | johanjordaan/silver-giggle | 5304a96b6aa1c4c5eb1f9069212423810aa89818 | [
"MIT"
] | 1 | 2021-12-04T05:11:26.000Z | 2021-12-04T05:11:26.000Z | config-template.py | johanjordaan/silver-giggle | 5304a96b6aa1c4c5eb1f9069212423810aa89818 | [
"MIT"
] | null | null | null | config-template.py | johanjordaan/silver-giggle | 5304a96b6aa1c4c5eb1f9069212423810aa89818 | [
"MIT"
] | null | null | null | host="mysql-general.cyqv8he15vrg.ap-southeast-2.rds.amazonaws.com"
user="admin"
password=""
database="silver_giggle"
| 23.4 | 66 | 0.794872 | 16 | 117 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035398 | 0.034188 | 117 | 4 | 67 | 29.25 | 0.778761 | 0 | 0 | 0 | 0 | 0 | 0.65812 | 0.504274 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
7b3b43938d892ce413a93aef4a822d3347566181 | 11,938 | py | Python | implementation.py | Alwaysproblem/Sentimental-Analysis | 9af282842fe32e4581065a04dd47119dbabd4b01 | [
"Apache-2.0"
] | 2 | 2019-11-06T22:57:42.000Z | 2019-11-24T04:00:21.000Z | implementation.py | Alwaysproblem/Sentimental-Analysis | 9af282842fe32e4581065a04dd47119dbabd4b01 | [
"Apache-2.0"
] | null | null | null | implementation.py | Alwaysproblem/Sentimental-Analysis | 9af282842fe32e4581065a04dd47119dbabd4b01 | [
"Apache-2.0"
] | null | null | null | import tensorflow as tf
import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
BATCH_SIZE = 128
MAX_WORDS_IN_REVIEW = 200 # Maximum length of a review to consider
EMBEDDING_SIZE = 50 # Dimensions for each word vector
stop_words = set({'ourselves', 'hers', 'between', 'yourself', 'again',
'there', 'a... | 40.467797 | 107 | 0.59608 | 1,458 | 11,938 | 4.696159 | 0.231824 | 0.028041 | 0.050825 | 0.060757 | 0.735359 | 0.730393 | 0.72309 | 0.711845 | 0.701329 | 0.693881 | 0 | 0.012763 | 0.284637 | 11,938 | 295 | 108 | 40.467797 | 0.788993 | 0.468253 | 0 | 0.134615 | 0 | 0 | 0.113248 | 0 | 0 | 0 | 0 | 0.00678 | 0 | 1 | 0.019231 | false | 0 | 0.028846 | 0 | 0.067308 | 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 |
7b443c8f7fa19307b9a833a456473a9a811c2e29 | 190 | py | Python | back-end/erasmail/emails/admin.py | SamirM-BE/ErasMail | 88602a039ae731ca8566c96c7c4d2635f82a07a5 | [
"Apache-2.0"
] | 7 | 2021-02-06T21:06:23.000Z | 2022-01-31T09:33:26.000Z | back-end/erasmail/emails/admin.py | SamirM-BE/ErasMail | 88602a039ae731ca8566c96c7c4d2635f82a07a5 | [
"Apache-2.0"
] | null | null | null | back-end/erasmail/emails/admin.py | SamirM-BE/ErasMail | 88602a039ae731ca8566c96c7c4d2635f82a07a5 | [
"Apache-2.0"
] | 5 | 2021-05-07T15:35:25.000Z | 2022-03-21T09:11:24.000Z | from django.contrib import admin
from .models import Attachment, EmailHeaders, Newsletter
admin.site.register(EmailHeaders)
admin.site.register(Attachment)
admin.site.register(Newsletter)
| 23.75 | 56 | 0.836842 | 23 | 190 | 6.913043 | 0.478261 | 0.169811 | 0.320755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 190 | 7 | 57 | 27.142857 | 0.908571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 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 |
7b941b7e926180fee64edecc4bb32c18fe4b75b2 | 220 | py | Python | galaxy/exceptions.py | jmchilton/pulsar | 783b90cf0bce893a11c347fcaf6778b98e0bb062 | [
"Apache-2.0"
] | 1 | 2016-08-17T06:36:03.000Z | 2016-08-17T06:36:03.000Z | galaxy/exceptions.py | jmchilton/pulsar | 783b90cf0bce893a11c347fcaf6778b98e0bb062 | [
"Apache-2.0"
] | null | null | null | galaxy/exceptions.py | jmchilton/pulsar | 783b90cf0bce893a11c347fcaf6778b98e0bb062 | [
"Apache-2.0"
] | null | null | null | """
Here for compat. with objectstore.
"""
class ObjectNotFound(Exception):
""" Accessed object was not found """
pass
class ObjectInvalid(Exception):
""" Accessed object store ID is invalid """
pass
| 15.714286 | 47 | 0.663636 | 24 | 220 | 6.083333 | 0.791667 | 0.232877 | 0.315068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.218182 | 220 | 13 | 48 | 16.923077 | 0.848837 | 0.463636 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
7bb1307068ac9567a6b6b9039165f859f8bd8998 | 127 | py | Python | tests/handlers/testhandlers/not_a_handler.py | bcurnow/magicband-reader | d8afa80648abc8954abd9c3cab8f6f6b9cb260ec | [
"Apache-2.0"
] | 5 | 2021-01-12T02:53:07.000Z | 2022-03-02T17:58:18.000Z | tests/handlers/testhandlers/not_a_handler.py | bcurnow/magicband-reader | d8afa80648abc8954abd9c3cab8f6f6b9cb260ec | [
"Apache-2.0"
] | null | null | null | tests/handlers/testhandlers/not_a_handler.py | bcurnow/magicband-reader | d8afa80648abc8954abd9c3cab8f6f6b9cb260ec | [
"Apache-2.0"
] | null | null | null | """ This module doesn't provide a register method and should be skipped. This ensures that the error handling logic works. """
| 63.5 | 126 | 0.76378 | 20 | 127 | 4.85 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165354 | 127 | 1 | 127 | 127 | 0.915094 | 0.929134 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c8cbd8c6d4128ec1fba81659c9414d125347bfa3 | 105 | py | Python | archive/2021-03-7/results/notebooks/advb_article/get_hmod_sample.py | CambridgeSemiticsLab/BH_time_collocations | 2d1864b6e9cd26624c769ee1e970d69d19da7fbf | [
"CC-BY-4.0"
] | 5 | 2019-06-19T19:42:21.000Z | 2021-04-20T22:43:45.000Z | archive/2021-03-7/results/notebooks/advb_article/get_hmod_sample.py | CambridgeSemiticsLab/BHTenseAndAspect | 2d1864b6e9cd26624c769ee1e970d69d19da7fbf | [
"CC-BY-4.0"
] | 2 | 2020-02-25T10:19:40.000Z | 2020-03-13T15:29:01.000Z | archive/2021-03-7/results/notebooks/advb_article/get_hmod_sample.py | CambridgeSemiticsLab/BHTenseAndAspect | 2d1864b6e9cd26624c769ee1e970d69d19da7fbf | [
"CC-BY-4.0"
] | null | null | null | from __main__ import *
hm_df = functs_df[~((functs_df.head_type == 'prep') & (functs_df.suffix))].copy()
| 35 | 81 | 0.695238 | 16 | 105 | 4 | 0.6875 | 0.375 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104762 | 105 | 2 | 82 | 52.5 | 0.680851 | 0 | 0 | 0 | 0 | 0 | 0.038095 | 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 |
c8d264727c0faf5a872f18da939f483862ce785c | 108 | py | Python | backend/application/contracts/schemas/__init__.py | uesleicarvalhoo/Ecommerce | 1d8d0f0c522dcd27fd90e315989b6fa93caf62b8 | [
"MIT"
] | null | null | null | backend/application/contracts/schemas/__init__.py | uesleicarvalhoo/Ecommerce | 1d8d0f0c522dcd27fd90e315989b6fa93caf62b8 | [
"MIT"
] | null | null | null | backend/application/contracts/schemas/__init__.py | uesleicarvalhoo/Ecommerce | 1d8d0f0c522dcd27fd90e315989b6fa93caf62b8 | [
"MIT"
] | null | null | null | from backend.domain.contracts import NewClient, NewOrder, NewOrderItem
from .new_product import NewProduct
| 27 | 70 | 0.851852 | 13 | 108 | 7 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101852 | 108 | 3 | 71 | 36 | 0.938144 | 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 |
c8dad2fb3e34935d8ee2d55f042a5e204873fdf4 | 187 | py | Python | tests/IT/fixtures/test_fixture_nested.py | testandconquer/pytest-conquer | da600c7f5bcd06aa62c5cca9b75370bf1a6ebf05 | [
"MIT"
] | null | null | null | tests/IT/fixtures/test_fixture_nested.py | testandconquer/pytest-conquer | da600c7f5bcd06aa62c5cca9b75370bf1a6ebf05 | [
"MIT"
] | 5 | 2018-12-27T02:52:01.000Z | 2019-01-02T01:52:55.000Z | tests/IT/fixtures/test_fixture_nested.py | testandconquer/pytest-conquer | da600c7f5bcd06aa62c5cca9b75370bf1a6ebf05 | [
"MIT"
] | null | null | null | import pytest
@pytest.fixture
def fixture1():
return 1
@pytest.fixture
def fixture2(fixture1):
return fixture1 + 1
def test_with_fixture(fixture2):
assert fixture2 == 2
| 11.6875 | 32 | 0.71123 | 24 | 187 | 5.458333 | 0.5 | 0.198473 | 0.244275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060403 | 0.203209 | 187 | 15 | 33 | 12.466667 | 0.818792 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.333333 | false | 0 | 0.111111 | 0.222222 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
7400b5e2ffa5344609e346cb8a0ec6ea5d60b0b6 | 148 | py | Python | sample_1/admin.py | JordanEC/django-rest-and-angular | 571eb2a7d966c2b7f1f520a764420207387709cd | [
"MIT"
] | null | null | null | sample_1/admin.py | JordanEC/django-rest-and-angular | 571eb2a7d966c2b7f1f520a764420207387709cd | [
"MIT"
] | null | null | null | sample_1/admin.py | JordanEC/django-rest-and-angular | 571eb2a7d966c2b7f1f520a764420207387709cd | [
"MIT"
] | null | null | null | from django.contrib import admin
from sample_1.models import *
# Register your models here.
admin.site.register(Author)
admin.site.register(Book)
| 18.5 | 32 | 0.797297 | 22 | 148 | 5.318182 | 0.636364 | 0.153846 | 0.290598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007634 | 0.114865 | 148 | 7 | 33 | 21.142857 | 0.885496 | 0.175676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
cdf8f1196a3909edc36aafce5347c3143f73a6ac | 76 | py | Python | conductor/utils/inputs.py | JoelLefkowitz/conductor | 9a5d3a833c17bd57080e538ea7584620560d9235 | [
"MIT"
] | 1 | 2021-08-21T21:34:22.000Z | 2021-08-21T21:34:22.000Z | conductor/utils/inputs.py | JoelLefkowitz/conductor | 9a5d3a833c17bd57080e538ea7584620560d9235 | [
"MIT"
] | null | null | null | conductor/utils/inputs.py | JoelLefkowitz/conductor | 9a5d3a833c17bd57080e538ea7584620560d9235 | [
"MIT"
] | null | null | null | def prompt(msg: str) -> bool:
return input(msg).lower() in ["y", "yes"]
| 25.333333 | 45 | 0.578947 | 12 | 76 | 3.666667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 76 | 2 | 46 | 38 | 0.709677 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 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 |
a8281ad0fab5136b54ef02f2bff2a74dd9aaaf90 | 166 | py | Python | archiver/utils.py | jenrik/archiver | b9e10661d6a79b745796b248c35287db232da8ff | [
"BSD-3-Clause"
] | null | null | null | archiver/utils.py | jenrik/archiver | b9e10661d6a79b745796b248c35287db232da8ff | [
"BSD-3-Clause"
] | null | null | null | archiver/utils.py | jenrik/archiver | b9e10661d6a79b745796b248c35287db232da8ff | [
"BSD-3-Clause"
] | null | null | null | def archive_link(link):
# Create a snapshot of the link on the internet archive
# ToDo
# Ref: https://archive.readme.io/docs/creating-a-snapshot
pass
| 27.666667 | 61 | 0.692771 | 25 | 166 | 4.56 | 0.72 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210843 | 166 | 5 | 62 | 33.2 | 0.870229 | 0.686747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
b51830bb1dccb3fd7e3c8b9bb5061b4737e27584 | 8,440 | py | Python | webshell/preprocess.py | radish608/graduationProject_DL4WebSecurity | 1bafeca95d8c02be438b79e8192cae3f624879c9 | [
"MIT"
] | 1 | 2020-09-15T01:44:21.000Z | 2020-09-15T01:44:21.000Z | webshell/preprocess.py | radish608/graduationProject_DL4WebSecurity | 1bafeca95d8c02be438b79e8192cae3f624879c9 | [
"MIT"
] | null | null | null | webshell/preprocess.py | radish608/graduationProject_DL4WebSecurity | 1bafeca95d8c02be438b79e8192cae3f624879c9 | [
"MIT"
] | null | null | null | # -*-coding: utf-8 -*-
import os
import re
from sklearn.feature_extraction.text import CountVectorizer
import sys
import numpy as np
from sklearn.model_selection import train_test_split
from sklearn.feature_extraction.text import TfidfTransformer
import commands
import tflearn
import pickle
max_features=10000
max_docu... | 26.049383 | 104 | 0.619313 | 1,188 | 8,440 | 4.123737 | 0.127104 | 0.104715 | 0.083282 | 0.044091 | 0.772403 | 0.736069 | 0.710961 | 0.688916 | 0.688916 | 0.658298 | 0 | 0.014672 | 0.273223 | 8,440 | 323 | 105 | 26.130031 | 0.783991 | 0.043365 | 0 | 0.730089 | 0 | 0 | 0.062484 | 0.021118 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.044248 | null | null | 0.048673 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b53dea5224a5f4701caa31694ad6c985328e3868 | 12,226 | py | Python | pynetdicom3/sop_class.py | mcgregorandrew/pynetdicom3 | 1c798f9b0ad086cf0a8d0619e57f2bc2fbbf13f1 | [
"MIT"
] | null | null | null | pynetdicom3/sop_class.py | mcgregorandrew/pynetdicom3 | 1c798f9b0ad086cf0a8d0619e57f2bc2fbbf13f1 | [
"MIT"
] | null | null | null | pynetdicom3/sop_class.py | mcgregorandrew/pynetdicom3 | 1c798f9b0ad086cf0a8d0619e57f2bc2fbbf13f1 | [
"MIT"
] | 2 | 2020-09-27T06:41:41.000Z | 2021-02-07T06:53:02.000Z | """Generates the supported SOP Classes."""
from collections import namedtuple
import inspect
import logging
import sys
from pydicom.uid import UID
from pynetdicom3.service_class import (
VerificationServiceClass,
StorageServiceClass,
QueryRetrieveServiceClass,
BasicWorklistManagementServiceClass,
)
... | 49.699187 | 108 | 0.679699 | 1,881 | 12,226 | 4.38118 | 0.137693 | 0.035675 | 0.07766 | 0.155321 | 0.306031 | 0.283339 | 0.275937 | 0.260041 | 0.260041 | 0.231161 | 0 | 0.21796 | 0.130133 | 12,226 | 245 | 109 | 49.902041 | 0.556935 | 0.073777 | 0 | 0.01087 | 1 | 0.603261 | 0.698928 | 0.658713 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016304 | false | 0 | 0.032609 | 0 | 0.076087 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b56b4c5922bce77528a0bba1e6eec4b2613a9cca | 62 | py | Python | msm_pele/AdaptivePELE/docs/makehtml.py | danielSoler93/msm_pele | 80b187ceb6446059f6c7b0dd2c0968f0db4a17a1 | [
"MIT"
] | 13 | 2017-06-14T14:42:22.000Z | 2022-01-25T08:46:04.000Z | msm_pele/AdaptivePELE/docs/makehtml.py | danielSoler93/msm_pele | 80b187ceb6446059f6c7b0dd2c0968f0db4a17a1 | [
"MIT"
] | 16 | 2018-01-16T01:32:02.000Z | 2021-02-19T17:05:12.000Z | msm_pele/AdaptivePELE/docs/makehtml.py | danielSoler93/msm_pele | 80b187ceb6446059f6c7b0dd2c0968f0db4a17a1 | [
"MIT"
] | 8 | 2018-02-20T10:47:07.000Z | 2022-03-21T12:28:07.000Z | from sphinx import cmdline
import sys
cmdline.main(sys.argv)
| 12.4 | 26 | 0.806452 | 10 | 62 | 5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 62 | 4 | 27 | 15.5 | 0.925926 | 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 |
b5a5c87aa9d81229a227e759c198a1d1b4eb7d1c | 43 | py | Python | backend/soap/config.py | stepanov1997/mdp-backend | 32cae4ab8c1949c27278fc493ff4a77c03d0d860 | [
"MIT"
] | null | null | null | backend/soap/config.py | stepanov1997/mdp-backend | 32cae4ab8c1949c27278fc493ff4a77c03d0d860 | [
"MIT"
] | null | null | null | backend/soap/config.py | stepanov1997/mdp-backend | 32cae4ab8c1949c27278fc493ff4a77c03d0d860 | [
"MIT"
] | null | null | null | SOAP_HOST = '127.0.0.1'
SOAP_PORT = 8083
| 14.333333 | 24 | 0.651163 | 9 | 43 | 2.888889 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0.186047 | 43 | 2 | 25 | 21.5 | 0.457143 | 0 | 0 | 0 | 0 | 0 | 0.219512 | 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 |
b5aa825a7935ba4d77fce082856c1d3665daa828 | 36 | py | Python | tests/__init__.py | SachinLouw/Design | a49c841f9a3e27e2a1ac3edde3c14bb8fdfcabfe | [
"MIT"
] | null | null | null | tests/__init__.py | SachinLouw/Design | a49c841f9a3e27e2a1ac3edde3c14bb8fdfcabfe | [
"MIT"
] | null | null | null | tests/__init__.py | SachinLouw/Design | a49c841f9a3e27e2a1ac3edde3c14bb8fdfcabfe | [
"MIT"
] | 1 | 2020-09-26T17:14:51.000Z | 2020-09-26T17:14:51.000Z | """Unit test package for Design."""
| 18 | 35 | 0.666667 | 5 | 36 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 36 | 1 | 36 | 36 | 0.774194 | 0.805556 | 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 |
a92d996e996a1ad325d7ff8b5ebcfa9511fd291d | 78 | py | Python | value_functions/__init__.py | daniellawson9999/compositional_reinforcement_learning | aa20413485d654d29cfcaad8ddb8fd07efcafc8c | [
"MIT"
] | 7 | 2020-04-18T01:31:26.000Z | 2021-12-23T13:58:55.000Z | value_functions/__init__.py | daniellawson9999/compositional_reinforcement_learning | aa20413485d654d29cfcaad8ddb8fd07efcafc8c | [
"MIT"
] | 1 | 2020-11-17T03:39:21.000Z | 2021-05-06T04:09:24.000Z | value_functions/__init__.py | daniellawson9999/compositional_reinforcement_learning | aa20413485d654d29cfcaad8ddb8fd07efcafc8c | [
"MIT"
] | 4 | 2020-03-20T01:38:55.000Z | 2021-09-14T03:50:44.000Z | from .value_function import NNVFunction, NNQFunction, NNDiscriminatorFunction
| 39 | 77 | 0.884615 | 7 | 78 | 9.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 78 | 1 | 78 | 78 | 0.944444 | 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 |
a935dc2fa82547bf6d3850ba747641cf2ca1a91f | 908,364 | py | Python | flashcards-data-service/aliok/flashcards/data_service/dictSet.py | aliok/flashcards | 9cca41e0b2ec68b329d2030160e505017fcc182c | [
"Apache-2.0"
] | 6 | 2015-11-13T22:13:24.000Z | 2021-03-25T01:30:01.000Z | flashcards-data-service/aliok/flashcards/data_service/dictSet.py | aliok/flashcards | 9cca41e0b2ec68b329d2030160e505017fcc182c | [
"Apache-2.0"
] | null | null | null | flashcards-data-service/aliok/flashcards/data_service/dictSet.py | aliok/flashcards | 9cca41e0b2ec68b329d2030160e505017fcc182c | [
"Apache-2.0"
] | 5 | 2016-02-28T22:11:05.000Z | 2020-07-31T02:06:11.000Z | #Found stateFile, trying to restore the crawler state.
dictSet_0 = [('das', u'Bearbeiten', u'editing a document'), ('der', u'Politiker', u'politician; centrist'), ('der', u'Januar', u'January'), ('der', u'August', u'August'), ('der', u'Komponist', u'composer'), ('der', u'Mai', u'May'), ('die', u'T\xfcrkei', u'T\xfcrk... | 5,937.019608 | 7,698 | 0.675164 | 122,546 | 908,364 | 5.003378 | 0.2494 | 0.039854 | 0.001507 | 0.000279 | 0.06619 | 0.04504 | 0.033208 | 0.023094 | 0.016539 | 0.012222 | 0 | 0.001959 | 0.098616 | 908,364 | 152 | 7,699 | 5,976.078947 | 0.746887 | 0.000058 | 0 | 0 | 0 | 4.748344 | 0.733205 | 0.002829 | 0 | 0 | 0 | 0 | 0.05298 | 1 | 0 | false | 0.350993 | 0.07947 | 0 | 0.07947 | 0.192053 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
a9486ecd7a389e48b19a2604872a64308d6ffd50 | 216 | py | Python | anasyspythontools/__init__.py | quiksand/anasys-pytools | 50c21711c742d3201a72f9eab4986317b8590095 | [
"MIT"
] | 3 | 2019-11-05T16:44:45.000Z | 2020-07-27T17:02:02.000Z | anasyspythontools/__init__.py | quiksand/anasys-pytools | 50c21711c742d3201a72f9eab4986317b8590095 | [
"MIT"
] | 1 | 2018-05-30T15:44:02.000Z | 2018-05-30T17:05:53.000Z | anasyspythontools/__init__.py | quiksand/anasys-pytools | 50c21711c742d3201a72f9eab4986317b8590095 | [
"MIT"
] | 3 | 2019-02-21T13:11:27.000Z | 2022-02-21T17:27:32.000Z | from . import anasysfile
from . import anasysdoc
from . import heightmap
from . import irspectra
from . import anasysio
def read(fn):
doc = anasysio.AnasysFileReader(fn)._doc
return anasysdoc.AnasysDoc(doc)
| 21.6 | 44 | 0.759259 | 27 | 216 | 6.037037 | 0.481481 | 0.306748 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 216 | 9 | 45 | 24 | 0.905556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.625 | 0 | 0.875 | 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 |
8d3ebf8c27b4787edb5db6336b9fad286f003b92 | 97 | py | Python | flash/vision/embedding/__init__.py | alvin-chang/lightning-flash | 481d4d369ff0a5d8c2b2d9e4970c5608a92b3ff5 | [
"Apache-2.0"
] | 2 | 2021-06-25T08:42:36.000Z | 2021-06-25T08:49:29.000Z | flash/vision/embedding/__init__.py | alvin-chang/lightning-flash | 481d4d369ff0a5d8c2b2d9e4970c5608a92b3ff5 | [
"Apache-2.0"
] | null | null | null | flash/vision/embedding/__init__.py | alvin-chang/lightning-flash | 481d4d369ff0a5d8c2b2d9e4970c5608a92b3ff5 | [
"Apache-2.0"
] | null | null | null | from flash.vision.embedding.image_embedder_model import ImageEmbedder, ImageEmbedderDataPipeline
| 48.5 | 96 | 0.907216 | 10 | 97 | 8.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051546 | 97 | 1 | 97 | 97 | 0.934783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8d559eab2b8075257716e7bc85f5c9d82b0d3221 | 4,766 | py | Python | resnet.py | rVSaxena/VAE | 26aa3452a0c8f663153d8cfc8bf1686e242d2fac | [
"Unlicense"
] | null | null | null | resnet.py | rVSaxena/VAE | 26aa3452a0c8f663153d8cfc8bf1686e242d2fac | [
"Unlicense"
] | null | null | null | resnet.py | rVSaxena/VAE | 26aa3452a0c8f663153d8cfc8bf1686e242d2fac | [
"Unlicense"
] | null | null | null | import torch
import torch.nn as nn
class ResidualEncoderBlock(nn.Module):
"""
Implements ResidualBlock for
rectangular feature maps with input shape == output shape
OR input shape == (output shape)*2 ie in all dimensions (except the batch dimension).
In the latter case, input_shape must be even i... | 34.042857 | 170 | 0.640579 | 621 | 4,766 | 4.784219 | 0.173913 | 0.096264 | 0.089532 | 0.070683 | 0.794009 | 0.794009 | 0.785594 | 0.785594 | 0.764053 | 0.750589 | 0 | 0.020845 | 0.265212 | 4,766 | 139 | 171 | 34.28777 | 0.827527 | 0.242132 | 0 | 0.539683 | 0 | 0 | 0.025185 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 1 | 0.063492 | false | 0 | 0.031746 | 0 | 0.190476 | 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 |
8d7d0cccfbda47460eb1aeba6470425e3ed12174 | 243 | py | Python | tests/utils/img_processing_utils_test.py | venkatakolagotla/robin | 4497bf8ffcd03182f68f9a6d7c806bfdaa4791cb | [
"MIT"
] | 4 | 2019-12-20T05:37:51.000Z | 2020-03-18T16:32:59.000Z | tests/utils/img_processing_utils_test.py | venkatakolagotla/robin | 4497bf8ffcd03182f68f9a6d7c806bfdaa4791cb | [
"MIT"
] | null | null | null | tests/utils/img_processing_utils_test.py | venkatakolagotla/robin | 4497bf8ffcd03182f68f9a6d7c806bfdaa4791cb | [
"MIT"
] | null | null | null | from __future__ import print_function
from robin.utils import img_processing_utils
import numpy as np
def test_normalize_gt(in_img_array):
out_img = img_processing_utils.normalize_gt(in_img_array)
assert type(out_img) == np.ndarray
| 24.3 | 61 | 0.814815 | 39 | 243 | 4.615385 | 0.564103 | 0.122222 | 0.2 | 0.177778 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131687 | 243 | 9 | 62 | 27 | 0.853081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.666667 | 0.166667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
57167335582e22b6c5a86bb8546c9e43ffff5640 | 158 | py | Python | core/views.py | TonyLuque/marketing_website | 2ebbbf7788c439afc8192926fa3dc3e231b1e69e | [
"MIT"
] | null | null | null | core/views.py | TonyLuque/marketing_website | 2ebbbf7788c439afc8192926fa3dc3e231b1e69e | [
"MIT"
] | null | null | null | core/views.py | TonyLuque/marketing_website | 2ebbbf7788c439afc8192926fa3dc3e231b1e69e | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def home(request):
return render(request,'core/index.html')
def detail(request):
pass
| 17.555556 | 44 | 0.734177 | 22 | 158 | 5.272727 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164557 | 158 | 8 | 45 | 19.75 | 0.878788 | 0.14557 | 0 | 0 | 0 | 0 | 0.112782 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0.2 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 5 |
573ec927838cc2f17f74c48d89acf3a9486bfe1d | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/distutils/fcompiler/pg.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/distutils/fcompiler/pg.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/distutils/fcompiler/pg.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/34/e0/75/b2dceb8ef40c652edb20f4e059370015eddc8cdbde039f92ced519a83d | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.364583 | 0 | 96 | 1 | 96 | 96 | 0.53125 | 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 |
5755b24aeb6ff531368ac2aba89c8fd019b3b452 | 8,965 | py | Python | tests/application/test_helpers.py | alphagov-mirror/performanceplatform-admin | b63ae42b1276699623ef208b7d6edd3e0ce4ca59 | [
"MIT"
] | 1 | 2017-05-14T21:31:33.000Z | 2017-05-14T21:31:33.000Z | tests/application/test_helpers.py | alphagov-mirror/performanceplatform-admin | b63ae42b1276699623ef208b7d6edd3e0ce4ca59 | [
"MIT"
] | 33 | 2015-01-05T12:23:45.000Z | 2021-03-24T10:59:47.000Z | tests/application/test_helpers.py | alphagov-mirror/performanceplatform-admin | b63ae42b1276699623ef208b7d6edd3e0ce4ca59 | [
"MIT"
] | 4 | 2017-03-16T15:52:33.000Z | 2021-04-10T20:14:53.000Z | import unittest
from application import app
from application.helpers import(
requires_authentication,
requires_feature,
signed_in,
group_by_group,
signed_in_no_access,
no_access,
has_user_with_token,
view_helpers,
user_has_feature,
)
from hamcrest import assert_that, equal_to, is_
fr... | 37.19917 | 78 | 0.636587 | 1,068 | 8,965 | 4.839888 | 0.101124 | 0.054169 | 0.08551 | 0.099052 | 0.809054 | 0.777907 | 0.753724 | 0.714645 | 0.639389 | 0.604953 | 0 | 0.003476 | 0.261907 | 8,965 | 240 | 79 | 37.354167 | 0.777694 | 0 | 0 | 0.548544 | 0 | 0 | 0.163079 | 0.05198 | 0 | 0 | 0 | 0 | 0.145631 | 1 | 0.121359 | false | 0 | 0.024272 | 0 | 0.150485 | 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 |
93a2c7906ab4851fa8921bb2fef6ee5531e13056 | 357 | py | Python | start_spiders.py | pluto-junzeng/baiduSpider | ea591920cd0994e83e36f033f98c6cc6859141d6 | [
"Apache-2.0"
] | 13 | 2020-12-07T03:19:12.000Z | 2022-01-19T13:02:41.000Z | start_spiders.py | zengjunjun/baiduSpider | ea591920cd0994e83e36f033f98c6cc6859141d6 | [
"Apache-2.0"
] | null | null | null | start_spiders.py | zengjunjun/baiduSpider | ea591920cd0994e83e36f033f98c6cc6859141d6 | [
"Apache-2.0"
] | 3 | 2021-07-10T08:24:55.000Z | 2022-01-19T13:02:43.000Z | """
@Author:lichunhui
@Time:
@Description: 百度百科爬虫程序入口
"""
from scrapy import cmdline
# cmdline.execute("scrapy crawl baidu_spider".split())
# cmdline.execute("scrapy crawl baike_spider".split())
# cmdline.execute("scrapy crawl wiki_zh_spider".split())
# cmdline.execute("scrapy crawl wiki_en_spider".split())
cmdline... | 25.5 | 56 | 0.7507 | 44 | 357 | 5.954545 | 0.431818 | 0.267176 | 0.381679 | 0.381679 | 0.561069 | 0.442748 | 0.305344 | 0 | 0 | 0 | 0 | 0 | 0.092437 | 357 | 13 | 57 | 27.461538 | 0.808642 | 0.753501 | 0 | 0 | 0 | 0 | 0.197368 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
93f37962ca5f7dd8a9101563b5c77758b61305bc | 67 | py | Python | api/vehicles/test_cases/__init__.py | jaconsta/soat_cnpx | 3c5a05a334e44158b0aa9ab57c309771953b2950 | [
"MIT"
] | null | null | null | api/vehicles/test_cases/__init__.py | jaconsta/soat_cnpx | 3c5a05a334e44158b0aa9ab57c309771953b2950 | [
"MIT"
] | null | null | null | api/vehicles/test_cases/__init__.py | jaconsta/soat_cnpx | 3c5a05a334e44158b0aa9ab57c309771953b2950 | [
"MIT"
] | null | null | null | from .test_vehicles_crud import *
from .test_soat_vehicles import * | 33.5 | 33 | 0.835821 | 10 | 67 | 5.2 | 0.6 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104478 | 67 | 2 | 34 | 33.5 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
9e24c2357a655395c364e4237fd2c11303d74334 | 204 | py | Python | pyperi/__init__.py | takeontom/PyPeri | 181b6c60bf5ec5c57cd24418ee4524ed81c9a998 | [
"MIT"
] | 5 | 2017-03-10T10:43:07.000Z | 2021-04-01T06:28:29.000Z | pyperi/__init__.py | takeontom/PyPeri | 181b6c60bf5ec5c57cd24418ee4524ed81c9a998 | [
"MIT"
] | 359 | 2016-12-12T20:19:16.000Z | 2022-03-28T09:04:19.000Z | pyperi/__init__.py | takeontom/PyPeri | 181b6c60bf5ec5c57cd24418ee4524ed81c9a998 | [
"MIT"
] | 3 | 2018-08-12T13:38:30.000Z | 2020-07-10T14:36:31.000Z | # -*- coding: utf-8 -*-
__author__ = """Tom Smith"""
__email__ = 'tom@takeontom.com'
__version__ = '0.2.0'
from pyperi.pyperi import Peri # noqa
from pyperi.pyperi import PyPeriConnectionError # noqa
| 22.666667 | 55 | 0.70098 | 26 | 204 | 5.038462 | 0.692308 | 0.152672 | 0.244275 | 0.335878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023121 | 0.151961 | 204 | 8 | 56 | 25.5 | 0.734104 | 0.151961 | 0 | 0 | 0 | 0 | 0.183432 | 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 |
f52eee40e1e0d598ea7f901674518fc574586952 | 705 | py | Python | tests/002_finder/003_changeextension.py | Sam-prog-sudo/boussole | 5d6ec94356f9a91ff4d6d23c1700d3512b67006a | [
"MIT"
] | 13 | 2016-05-19T15:18:41.000Z | 2022-03-22T15:37:32.000Z | tests/002_finder/003_changeextension.py | Sam-prog-sudo/boussole | 5d6ec94356f9a91ff4d6d23c1700d3512b67006a | [
"MIT"
] | 38 | 2016-04-07T00:30:58.000Z | 2022-02-28T13:29:33.000Z | tests/002_finder/003_changeextension.py | Sam-prog-sudo/boussole | 5d6ec94356f9a91ff4d6d23c1700d3512b67006a | [
"MIT"
] | 3 | 2016-05-20T09:21:57.000Z | 2020-10-12T10:56:49.000Z | # -*- coding: utf-8 -*-
def test_001(settings, finder):
result = finder.change_extension("foo.scss", 'css')
assert result == "foo.css"
def test_002(settings, finder):
result = finder.change_extension("foo.backup.scss", 'css')
assert result == "foo.backup.css"
def test_003(settings, finder):
re... | 26.111111 | 72 | 0.670922 | 97 | 705 | 4.773196 | 0.226804 | 0.077754 | 0.215983 | 0.280778 | 0.855292 | 0.74514 | 0.535637 | 0.220302 | 0.220302 | 0 | 0 | 0.026891 | 0.156028 | 705 | 26 | 73 | 27.115385 | 0.751261 | 0.029787 | 0 | 0 | 0 | 0 | 0.243402 | 0.071848 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f53445eedfca0ebec216d205d17da7023b06710f | 172 | py | Python | QuantLib/tsa/smooth/__init__.py | wanhanwan/Packages | 14dfbd70603d45bb6c8c161c56b9ed9cf7c301d3 | [
"MIT"
] | 5 | 2018-06-29T16:56:10.000Z | 2019-06-20T03:31:44.000Z | QuantLib/tsa/smooth/__init__.py | wanhanwan/Packages | 14dfbd70603d45bb6c8c161c56b9ed9cf7c301d3 | [
"MIT"
] | null | null | null | QuantLib/tsa/smooth/__init__.py | wanhanwan/Packages | 14dfbd70603d45bb6c8c161c56b9ed9cf7c301d3 | [
"MIT"
] | 3 | 2018-06-25T06:37:17.000Z | 2018-11-22T08:12:20.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# __init__.py
# @Author : wanhanwan (wanshuai_shufe@163.com)
# @Date : 2019/11/25 下午1:20:12
from .filter import llt_filter | 24.571429 | 46 | 0.668605 | 27 | 172 | 4.037037 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115646 | 0.145349 | 172 | 7 | 47 | 24.571429 | 0.62585 | 0.755814 | 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 |
f5405ca41fa935c1df325e78905e0a54820977fe | 179 | py | Python | dtf/packages/settings.py | WebPowerLabs/django-trainings | 97f7a96c0fbeb85a001201c74713f7944cb77236 | [
"BSD-3-Clause"
] | null | null | null | dtf/packages/settings.py | WebPowerLabs/django-trainings | 97f7a96c0fbeb85a001201c74713f7944cb77236 | [
"BSD-3-Clause"
] | null | null | null | dtf/packages/settings.py | WebPowerLabs/django-trainings | 97f7a96c0fbeb85a001201c74713f7944cb77236 | [
"BSD-3-Clause"
] | null | null | null | from django.conf import settings
INFUSIONSOFT_COMPANY = getattr(settings, 'INFUSIONSOFT_COMPANY_ID', None)
INFUSIONSOFT_API_KEY = getattr(settings, 'INFUSIONSOFT_API_KEY', None)
| 35.8 | 73 | 0.832402 | 22 | 179 | 6.454545 | 0.545455 | 0.422535 | 0.380282 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083799 | 179 | 4 | 74 | 44.75 | 0.865854 | 0 | 0 | 0 | 0 | 0 | 0.240223 | 0.128492 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f546b5a71740ed44a893660c0c2c42d95a14bc63 | 111 | py | Python | iflow/model/cflows/__init__.py | WeitaoZC/iflow | 404ffdbeb27d9fae7d1350de6af84ed7bfdaad99 | [
"MIT"
] | 11 | 2020-11-01T06:03:57.000Z | 2022-03-10T01:14:03.000Z | iflow/model/cflows/__init__.py | WeitaoZC/iflow | 404ffdbeb27d9fae7d1350de6af84ed7bfdaad99 | [
"MIT"
] | 1 | 2022-03-14T21:32:51.000Z | 2022-03-14T21:32:51.000Z | iflow/model/cflows/__init__.py | WeitaoZC/iflow | 404ffdbeb27d9fae7d1350de6af84ed7bfdaad99 | [
"MIT"
] | 2 | 2021-02-03T02:41:14.000Z | 2021-06-08T16:31:02.000Z | from .odefunc import (ODEnet,
ODEfunc)
from .cnf import CNF
from .diffeq_layers import * | 22.2 | 30 | 0.621622 | 13 | 111 | 5.230769 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.315315 | 111 | 5 | 31 | 22.2 | 0.894737 | 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 |
f558d1166458b00b259c7deac962e45e929e8c73 | 255 | py | Python | src/gme/estimate/__init__.py | USITC-Gravity-Group/GME | 640e1cd6a571e6802a62b5fdcb00544f3b8c0b32 | [
"CC0-1.0"
] | 10 | 2018-10-17T18:50:08.000Z | 2021-11-05T22:27:45.000Z | src/gme/estimate/__init__.py | USITC-Gravity-Group/GME | 640e1cd6a571e6802a62b5fdcb00544f3b8c0b32 | [
"CC0-1.0"
] | 7 | 2020-06-03T20:04:10.000Z | 2021-03-31T13:59:01.000Z | src/gme/estimate/__init__.py | USITC-Gravity-Group/GME | 640e1cd6a571e6802a62b5fdcb00544f3b8c0b32 | [
"CC0-1.0"
] | 6 | 2020-05-12T12:43:55.000Z | 2022-02-25T08:47:17.000Z | from .combine_sector_results import *
from .DiagnosticsLog import *
from .EstimationModel import *
from .format_regression_table import *
from .save_and_load import *
from .SlimResults import *
from .Specification import *
from .visualize_results import * | 31.875 | 38 | 0.815686 | 31 | 255 | 6.483871 | 0.516129 | 0.348259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121569 | 255 | 8 | 39 | 31.875 | 0.897321 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 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 |
5fd809b863e1c38e1b5883293cb0d69f18e7c0cd | 140 | py | Python | src/app/models/__init__.py | starlite-api/backend-starlite-postgres | c2d539d88dd13cbe06fa49ab95c1fd6eb398b051 | [
"MIT"
] | 3 | 2022-01-18T16:35:12.000Z | 2022-01-25T14:55:32.000Z | src/app/models/__init__.py | starlite-api/backend-starlite-postgres | c2d539d88dd13cbe06fa49ab95c1fd6eb398b051 | [
"MIT"
] | 1 | 2022-01-24T22:37:35.000Z | 2022-01-25T08:09:19.000Z | src/app/models/__init__.py | starlite-api/backend-starlite-postgres | c2d539d88dd13cbe06fa49ab95c1fd6eb398b051 | [
"MIT"
] | null | null | null | # flake8: noqa
from .base import Base
from .item import Item, ItemCreateModel, ItemModel
from .user import User, UserCreateModel, UserModel
| 28 | 50 | 0.8 | 18 | 140 | 6.222222 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008264 | 0.135714 | 140 | 4 | 51 | 35 | 0.917355 | 0.085714 | 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 |
5fed3ac57957a704f707984e8e8650e01df266c1 | 153 | py | Python | modules/2.79/bpy/types/BoneGroups.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | modules/2.79/bpy/types/BoneGroups.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | modules/2.79/bpy/types/BoneGroups.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | class BoneGroups:
active = None
active_index = None
def new(self, name="Group"):
pass
def remove(self, group):
pass
| 11.769231 | 32 | 0.562092 | 18 | 153 | 4.722222 | 0.666667 | 0.211765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.346405 | 153 | 12 | 33 | 12.75 | 0.85 | 0 | 0 | 0.285714 | 0 | 0 | 0.033333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.285714 | 0 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
272ddcd0024554a1e6ae6a4493df8c6406ed30b3 | 195 | py | Python | scrape_etsy/exceptions.py | philjnicholls/etsy-scrape | d7acb69dc71428325e02859bc7c9d860bf409db4 | [
"MIT"
] | 3 | 2020-12-17T10:00:54.000Z | 2021-10-30T09:23:55.000Z | scrape_etsy/exceptions.py | philjnicholls/etsy-scrape | d7acb69dc71428325e02859bc7c9d860bf409db4 | [
"MIT"
] | null | null | null | scrape_etsy/exceptions.py | philjnicholls/etsy-scrape | d7acb69dc71428325e02859bc7c9d860bf409db4 | [
"MIT"
] | null | null | null | class MissingValueException(Exception):
pass
class ProductScrapeException(Exception):
pass
class GetPageException(Exception):
pass
class NoResultsException(Exception):
pass
| 13 | 40 | 0.764103 | 16 | 195 | 9.3125 | 0.4375 | 0.348993 | 0.362416 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174359 | 195 | 14 | 41 | 13.928571 | 0.925466 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
2732112e3d71d0c3a2a906460b62d43c48b4fb95 | 241 | py | Python | pineboolib/fllegacy/aqsobjects/aqsmtpclient.py | juanjosepablos/pineboo | f6ce515aec6e0139821bb9c1d62536d9fb50dae4 | [
"MIT"
] | 2 | 2015-09-19T16:54:49.000Z | 2016-09-12T08:06:29.000Z | pineboolib/fllegacy/aqsobjects/aqsmtpclient.py | Aulla/pineboo | 3ad6412d365a6ad65c3bb2bdc03f5798d7c37004 | [
"MIT"
] | 36 | 2017-11-05T21:13:47.000Z | 2020-08-26T15:56:15.000Z | pineboolib/fllegacy/aqsobjects/aqsmtpclient.py | deavid/pineboo | acc96ab6d5b8bb182990af6dea4bf0986af15549 | [
"MIT"
] | 9 | 2015-01-15T18:15:42.000Z | 2019-05-05T18:53:00.000Z | # -*- coding: utf-8 -*-
"""
AQSmtpClient Module.
This class provides utilities to use a Smtp client.
"""
from pineboolib.fllegacy.flsmtpclient import FLSmtpClient
class AQSmtpClient(FLSmtpClient):
"""AQSmtpClient Class."""
pass
| 16.066667 | 57 | 0.713693 | 26 | 241 | 6.615385 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004975 | 0.165975 | 241 | 14 | 58 | 17.214286 | 0.850746 | 0.481328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
273c7d9230855a61bacc38d30734d8a53bab556c | 982,074 | pyt | Python | models/mnist_FNN_1.pyt | CAS-LRJ/DeepPAC | 75059572c23474d32a762aca5640f4d799fd992a | [
"Apache-2.0"
] | null | null | null | models/mnist_FNN_1.pyt | CAS-LRJ/DeepPAC | 75059572c23474d32a762aca5640f4d799fd992a | [
"Apache-2.0"
] | null | null | null | models/mnist_FNN_1.pyt | CAS-LRJ/DeepPAC | 75059572c23474d32a762aca5640f4d799fd992a | [
"Apache-2.0"
] | null | null | null | Normalize mean=[0.1307] std=[0.3081]
ReLU
[[-0.02289694733917713, -0.0015768347075209022, -0.007779418025165796, -0.018946761265397072, 0.009356001392006874, -0.01212845928966999, -0.019499225541949272, 0.014134012162685394, -0.022251857444643974, 0.03429203853011131, 0.007956764660775661, 0.01797821931540966, 0.0398... | 70,148.142857 | 860,281 | 0.8397 | 89,807 | 982,074 | 9.182447 | 0.499549 | 0.00024 | 0.000049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.879794 | 0.045699 | 982,074 | 13 | 860,282 | 75,544.153846 | 0.000117 | 0 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
273de09788e8d36ac29db8f66c63f35b9eb059df | 37 | py | Python | tests/components/minio/__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/minio/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | tests/components/minio/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """Tests for the minio component."""
| 18.5 | 36 | 0.675676 | 5 | 37 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 1 | 37 | 37 | 0.78125 | 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 |
277c9b03dc3a5dfcdb9e0188ddbb3e71c27016ed | 146 | py | Python | recommendations_system/io_/__init__.py | mmikolajczak/recommendation_system_hetrec2011_movielens | 3ae13e62605ffbf5517bc2079e086a400de48748 | [
"MIT"
] | 4 | 2019-12-04T08:42:21.000Z | 2020-06-07T07:22:08.000Z | recommendations_system/io_/__init__.py | mmikolajczak/recommendation_system_hetrec2011_movielens | 3ae13e62605ffbf5517bc2079e086a400de48748 | [
"MIT"
] | null | null | null | recommendations_system/io_/__init__.py | mmikolajczak/recommendation_system_hetrec2011_movielens | 3ae13e62605ffbf5517bc2079e086a400de48748 | [
"MIT"
] | null | null | null | from ._load_hetrec import load_hetrec_to_df
from ._df2ffm import DF2FFMConverter
from ._utils import load_ffm, save_ffm, load_pickle, save_pickle
| 36.5 | 64 | 0.856164 | 23 | 146 | 4.956522 | 0.521739 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015267 | 0.10274 | 146 | 3 | 65 | 48.666667 | 0.854962 | 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 |
27830a56e67664f45133b9939b59406608cd3555 | 147 | py | Python | maintenance_mode/utils.py | fallen/django-maintenance-mode | 826b18ca3c768ab5dbd3f665886106b0eb702de9 | [
"MIT"
] | 282 | 2015-06-08T22:57:44.000Z | 2022-03-28T17:44:40.000Z | maintenance_mode/utils.py | fallen/django-maintenance-mode | 826b18ca3c768ab5dbd3f665886106b0eb702de9 | [
"MIT"
] | 82 | 2015-08-24T09:27:07.000Z | 2022-02-08T20:12:48.000Z | maintenance_mode/utils.py | fallen/django-maintenance-mode | 826b18ca3c768ab5dbd3f665886106b0eb702de9 | [
"MIT"
] | 59 | 2015-06-16T13:06:10.000Z | 2022-02-08T20:10:20.000Z | # -*- coding: utf-8 -*-
def get_client_ip_address(request):
"""
Get the client IP Address.
"""
return request.META['REMOTE_ADDR']
| 18.375 | 38 | 0.612245 | 19 | 147 | 4.526316 | 0.736842 | 0.186047 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008772 | 0.22449 | 147 | 7 | 39 | 21 | 0.745614 | 0.333333 | 0 | 0 | 0 | 0 | 0.134146 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
278a8dffe7af41773e706a3b3b7522cea3642494 | 127 | py | Python | ccc/cfg.py | zkdev/cc-utils | 042c6632ca6f61a484bc0a71f85957aeba7f7278 | [
"BSD-3-Clause"
] | 15 | 2018-04-18T13:25:30.000Z | 2022-03-04T09:25:41.000Z | ccc/cfg.py | zkdev/cc-utils | 042c6632ca6f61a484bc0a71f85957aeba7f7278 | [
"BSD-3-Clause"
] | 221 | 2018-04-12T06:29:43.000Z | 2022-03-27T03:01:40.000Z | ccc/cfg.py | zkdev/cc-utils | 042c6632ca6f61a484bc0a71f85957aeba7f7278 | [
"BSD-3-Clause"
] | 29 | 2018-04-11T14:42:23.000Z | 2021-11-09T16:26:32.000Z | import functools
import ci.util
ctx = ci.util.ctx()
@functools.lru_cache()
def cfg_factory():
return ctx.cfg_factory()
| 11.545455 | 28 | 0.716535 | 19 | 127 | 4.631579 | 0.578947 | 0.136364 | 0.204545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15748 | 127 | 10 | 29 | 12.7 | 0.82243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
27c607ecb317226ea26c46b6beec6b1d9d516ae8 | 7,892 | py | Python | Medicine-manag-django/pharma/views.py | DanielDDHM/my-projects-py | f6c3af7f6cd61c69234d25c956027e8c7e626470 | [
"MIT"
] | null | null | null | Medicine-manag-django/pharma/views.py | DanielDDHM/my-projects-py | f6c3af7f6cd61c69234d25c956027e8c7e626470 | [
"MIT"
] | null | null | null | Medicine-manag-django/pharma/views.py | DanielDDHM/my-projects-py | f6c3af7f6cd61c69234d25c956027e8c7e626470 | [
"MIT"
] | null | null | null | from .models import Dealer
from .models import Employee
from .models import Customer
from .models import Medicine
from .models import Purchase
from django.shortcuts import render
from django.db import IntegrityError
def home(request):
return render(request, 'pharma/index.html')
def dealerform(request):
dict... | 28.490975 | 61 | 0.637988 | 936 | 7,892 | 5.366453 | 0.096154 | 0.122636 | 0.155087 | 0.204061 | 0.801115 | 0.801115 | 0.801115 | 0.709735 | 0.493331 | 0.493331 | 0 | 0 | 0.219716 | 7,892 | 276 | 62 | 28.594203 | 0.815687 | 0 | 0 | 0.67757 | 0 | 0 | 0.129245 | 0.008743 | 0 | 0 | 0 | 0 | 0 | 1 | 0.14486 | false | 0 | 0.03271 | 0.004673 | 0.369159 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7e040cb0e0c724ec734deffc7ed5a19d9e7e9d15 | 99 | py | Python | venv/lib/python3.7/site-packages/kdlearn/myfunctions.py | FillOverFlow/kdlearn | 1e57895cb10ca903a33e2774986661b9b64d4071 | [
"MIT"
] | 1 | 2021-01-19T03:35:20.000Z | 2021-01-19T03:35:20.000Z | venv/lib/python3.7/site-packages/kdlearn/myfunctions.py | FillOverFlow/kdlearn | 1e57895cb10ca903a33e2774986661b9b64d4071 | [
"MIT"
] | null | null | null | venv/lib/python3.7/site-packages/kdlearn/myfunctions.py | FillOverFlow/kdlearn | 1e57895cb10ca903a33e2774986661b9b64d4071 | [
"MIT"
] | null | null | null | '''
PUT FUNCTION HERE !!
Author Davinci
'''
def helloworld(name):
return "KDlearn :" + name
| 9.9 | 29 | 0.626263 | 11 | 99 | 5.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 99 | 9 | 30 | 11 | 0.805195 | 0.363636 | 0 | 0 | 0 | 0 | 0.163636 | 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 |
fd88ba06d62178ae22d727dfd3879ac3e980173e | 166 | py | Python | tests/web_platform/css_flexbox_1/test_flexbox_flex_1_1_Npercent.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | null | null | null | tests/web_platform/css_flexbox_1/test_flexbox_flex_1_1_Npercent.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | null | null | null | tests/web_platform/css_flexbox_1/test_flexbox_flex_1_1_Npercent.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | 1 | 2020-01-16T01:56:41.000Z | 2020-01-16T01:56:41.000Z | from tests.utils import W3CTestCase
class TestFlexbox_Flex11Npercent(W3CTestCase):
vars().update(W3CTestCase.find_tests(__file__, 'flexbox_flex-1-1-Npercent'))
| 27.666667 | 80 | 0.807229 | 20 | 166 | 6.35 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046053 | 0.084337 | 166 | 5 | 81 | 33.2 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 0.151515 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fdbe327728712dcbbd59d238061b617718c7c9a0 | 244 | py | Python | autogl/module/feature/_base_feature_engineer/__init__.py | dedsec-9/AutoGL | 487f2b2f798b9b1363ad5dc100fb410b12222e06 | [
"MIT"
] | null | null | null | autogl/module/feature/_base_feature_engineer/__init__.py | dedsec-9/AutoGL | 487f2b2f798b9b1363ad5dc100fb410b12222e06 | [
"MIT"
] | null | null | null | autogl/module/feature/_base_feature_engineer/__init__.py | dedsec-9/AutoGL | 487f2b2f798b9b1363ad5dc100fb410b12222e06 | [
"MIT"
] | null | null | null | import autogl
if autogl.backend.DependentBackend.is_dgl():
from ._base_feature_engineer_dgl import BaseFeatureEngineer
else:
from ._base_feature_engineer_pyg import BaseFeatureEngineer
class BaseFeature(BaseFeatureEngineer):
...
| 22.181818 | 63 | 0.811475 | 26 | 244 | 7.269231 | 0.615385 | 0.084656 | 0.15873 | 0.243386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127049 | 244 | 10 | 64 | 24.4 | 0.887324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fde563740923e926b86419c22eb43be2e6e526e1 | 38 | py | Python | robopilot/pipeline/__init__.py | robotory/robopilot | e10207b66d06e5d169f890d1d7e57d971ca1eb5d | [
"MIT"
] | null | null | null | robopilot/pipeline/__init__.py | robotory/robopilot | e10207b66d06e5d169f890d1d7e57d971ca1eb5d | [
"MIT"
] | null | null | null | robopilot/pipeline/__init__.py | robotory/robopilot | e10207b66d06e5d169f890d1d7e57d971ca1eb5d | [
"MIT"
] | null | null | null | # The new robopilot training pipeline. | 38 | 38 | 0.815789 | 5 | 38 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 1 | 38 | 38 | 0.939394 | 0.947368 | 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 |
e37b884d8c5f1d75d2683c37c9063a16300e4321 | 117 | py | Python | src/aioprometheus/formats/__init__.py | jbunce12/aioprometheus | d6dec47b05cab04901ffb8d2016d659927e02311 | [
"MIT"
] | null | null | null | src/aioprometheus/formats/__init__.py | jbunce12/aioprometheus | d6dec47b05cab04901ffb8d2016d659927e02311 | [
"MIT"
] | null | null | null | src/aioprometheus/formats/__init__.py | jbunce12/aioprometheus | d6dec47b05cab04901ffb8d2016d659927e02311 | [
"MIT"
] | null | null | null | from . import text
from .base import IFormatter
try:
from . import binary
except ImportError:
binary = None
| 14.625 | 28 | 0.717949 | 15 | 117 | 5.6 | 0.666667 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 117 | 7 | 29 | 16.714286 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 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 |
8b655e5cbdbfcf38233bc910318fcb6e68177e29 | 28 | py | Python | network/__init__.py | sveatlo/inpainting | 6870ee56beea7401aa97194f76487c391af9dd5d | [
"Unlicense"
] | 1 | 2021-08-08T03:17:17.000Z | 2021-08-08T03:17:17.000Z | network/__init__.py | sveatlo/inpainting | 6870ee56beea7401aa97194f76487c391af9dd5d | [
"Unlicense"
] | 6 | 2021-08-08T13:12:55.000Z | 2022-03-13T15:26:02.000Z | network/__init__.py | sveatlo/unmasked | 6870ee56beea7401aa97194f76487c391af9dd5d | [
"Unlicense"
] | null | null | null | from .gan import SNPatchGAN
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 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 |
8b6885de235e02a3261fb9ade6f0f1e6618cd36f | 86 | py | Python | samples/src/main/resources/datasets/python/88.py | sritchie/kotlingrad | 8165ed1cd77220a5347c58cded4c6f2bcf22ee30 | [
"Apache-2.0"
] | 11 | 2020-12-19T01:19:44.000Z | 2021-12-25T20:43:33.000Z | src/main/resources/datasets/python/88.py | breandan/katholic | 081c39f3acc73ff41f5865563debe78a36e1038f | [
"Apache-2.0"
] | null | null | null | src/main/resources/datasets/python/88.py | breandan/katholic | 081c39f3acc73ff41f5865563debe78a36e1038f | [
"Apache-2.0"
] | 2 | 2021-01-25T07:59:20.000Z | 2021-08-07T07:13:49.000Z | def test25(a, b):
(a) + (b.x)
(None) + (a[1])
def test0():
return 1, 2, 3
| 14.333333 | 19 | 0.430233 | 16 | 86 | 2.3125 | 0.6875 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 0.313953 | 86 | 5 | 20 | 17.2 | 0.508475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
8b789e81aabae4e0b2a7953dacad2a13826e5a3e | 93 | py | Python | runoob100/032.py | GenweiWu/PythonDemo | 957bacb6fc0eb0bc37c4af7a64220d8aa58189ba | [
"MIT"
] | null | null | null | runoob100/032.py | GenweiWu/PythonDemo | 957bacb6fc0eb0bc37c4af7a64220d8aa58189ba | [
"MIT"
] | null | null | null | runoob100/032.py | GenweiWu/PythonDemo | 957bacb6fc0eb0bc37c4af7a64220d8aa58189ba | [
"MIT"
] | null | null | null | # _*_ coding:utf-8 _*_
#按相反的顺序输出列表的值。
arr=["aaa",True,100,"ccc"]
print arr
print arr[::-1] | 11.625 | 26 | 0.634409 | 14 | 93 | 3.928571 | 0.785714 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061728 | 0.129032 | 93 | 8 | 27 | 11.625 | 0.617284 | 0.354839 | 0 | 0 | 0 | 0 | 0.103448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.666667 | 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 |
8b9915ff298534b2c620ead53ddd94b9a9c59202 | 87 | py | Python | software/reachy/io/__init__.py | pollen-robotics/reachy-2.0 | 1721c2d93737e576e328bfdb78376d1b0163d3d6 | [
"Apache-1.1"
] | 167 | 2018-02-07T21:42:13.000Z | 2021-03-06T08:25:45.000Z | software/reachy/io/__init__.py | pollen-robotics/reachy-2.0 | 1721c2d93737e576e328bfdb78376d1b0163d3d6 | [
"Apache-1.1"
] | 39 | 2019-11-27T13:11:59.000Z | 2021-01-12T09:33:26.000Z | software/reachy/io/__init__.py | pollen-robotics/reachy-2.0 | 1721c2d93737e576e328bfdb78376d1b0163d3d6 | [
"Apache-1.1"
] | 47 | 2018-05-27T02:59:28.000Z | 2021-03-07T14:56:10.000Z | """Reachy submodule responsible for low-level IO."""
from .io import IO # noqa F401
| 17.4 | 52 | 0.701149 | 13 | 87 | 4.692308 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042254 | 0.183908 | 87 | 4 | 53 | 21.75 | 0.816901 | 0.655172 | 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 |
8bd4b1d2130b763d822163e0d5fcb7c191a3f224 | 203 | py | Python | aristotle_json_editor/apps.py | aristotle-mdr/json-metadata-editor | 2d97bea85c822d2e7b59fc8d96ca3eaa3b1ed916 | [
"MIT"
] | null | null | null | aristotle_json_editor/apps.py | aristotle-mdr/json-metadata-editor | 2d97bea85c822d2e7b59fc8d96ca3eaa3b1ed916 | [
"MIT"
] | 1 | 2017-07-25T09:44:11.000Z | 2017-07-25T09:44:11.000Z | aristotle_json_editor/apps.py | aristotle-mdr/json-metadata-editor | 2d97bea85c822d2e7b59fc8d96ca3eaa3b1ed916 | [
"MIT"
] | null | null | null | from aristotle_mdr.apps import AristotleExtensionBaseConfig
class AristotleJSONEditorConfig(AristotleExtensionBaseConfig):
name = 'aristotle_json_editor'
verbose_name = "Aristotle JSON Editor"
| 29 | 62 | 0.832512 | 18 | 203 | 9.166667 | 0.666667 | 0.157576 | 0.206061 | 0.278788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118227 | 203 | 6 | 63 | 33.833333 | 0.921788 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 0.103448 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
473ed6ec1fc8acc6f0c2b764921eaea82a6ea886 | 400 | py | Python | npc_engine/service_clients/__init__.py | npc-engine/npc-engine | 0047794e96369c23515f794a1e77009c516a382c | [
"MIT"
] | 12 | 2021-11-10T21:03:19.000Z | 2022-03-21T21:55:34.000Z | npc_engine/service_clients/__init__.py | npc-engine/npc-engine | 0047794e96369c23515f794a1e77009c516a382c | [
"MIT"
] | 1 | 2021-12-05T14:51:44.000Z | 2021-12-05T14:51:44.000Z | npc_engine/service_clients/__init__.py | npc-engine/npc-engine | 0047794e96369c23515f794a1e77009c516a382c | [
"MIT"
] | null | null | null | # flake8: noqa
"""Module implementing the clients for services."""
from npc_engine.service_clients.text_generation_client import TextGenerationClient
from npc_engine.service_clients.control_client import ControlClient
from npc_engine.service_clients.sequence_classifier_client import (
SequenceClassifierClient,... | 44.444444 | 83 | 0.8525 | 46 | 400 | 7.108696 | 0.521739 | 0.085627 | 0.159021 | 0.244648 | 0.330275 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00277 | 0.0975 | 400 | 8 | 84 | 50 | 0.903047 | 0.1475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
47867c6666c70dddf7e4d9d1220c5f5b48b81ac1 | 428 | py | Python | groupdocs_viewer_cloud/apis/__init__.py | groupdocs-viewer-cloud/groupdocs-viewer-cloud-python | e734944b0b84c91804aa29e4ad5619c1a7334188 | [
"MIT"
] | 1 | 2020-06-07T12:39:44.000Z | 2020-06-07T12:39:44.000Z | groupdocs_viewer_cloud/apis/__init__.py | groupdocs-viewer-cloud/groupdocs-viewer-cloud-python | e734944b0b84c91804aa29e4ad5619c1a7334188 | [
"MIT"
] | 1 | 2021-03-24T01:53:23.000Z | 2021-03-26T08:20:31.000Z | groupdocs_viewer_cloud/apis/__init__.py | groupdocs-viewer-cloud/groupdocs-viewer-cloud-python | e734944b0b84c91804aa29e4ad5619c1a7334188 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
# flake8: noqa
# import apis
from groupdocs_viewer_cloud.apis.file_api import FileApi
from groupdocs_viewer_cloud.apis.folder_api import FolderApi
from groupdocs_viewer_cloud.apis.info_api import InfoApi
from groupdocs_viewer_cloud.apis.license_api import LicenseApi
from groupdo... | 35.666667 | 62 | 0.880841 | 63 | 428 | 5.619048 | 0.365079 | 0.220339 | 0.322034 | 0.40678 | 0.474576 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002551 | 0.084112 | 428 | 11 | 63 | 38.909091 | 0.90051 | 0.056075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 0 | 0 | 0 | 5 |
4795fb5c060e1fe6b6b35dd753478649d709249e | 160 | py | Python | src/app/services/users/__init__.py | dieisabel/cypherman | 06d8678b79b18aa256a79ec6967d68274f088dbc | [
"MIT"
] | null | null | null | src/app/services/users/__init__.py | dieisabel/cypherman | 06d8678b79b18aa256a79ec6967d68274f088dbc | [
"MIT"
] | 43 | 2021-12-02T21:26:01.000Z | 2022-02-21T08:51:06.000Z | src/app/services/users/__init__.py | dieisabel/cypherman | 06d8678b79b18aa256a79ec6967d68274f088dbc | [
"MIT"
] | null | null | null | __all__ = [
'IUserService',
'UserService',
]
from services.users.iuser_service import IUserService
from services.users.user_service import UserService
| 20 | 53 | 0.775 | 17 | 160 | 6.941176 | 0.588235 | 0.20339 | 0.288136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14375 | 160 | 7 | 54 | 22.857143 | 0.861314 | 0 | 0 | 0 | 0 | 0 | 0.14375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
47ca616f814b4735648b4fa4271fc547d28d5fca | 44 | py | Python | serve.py | xsblanket/sweetie | cce71db39961fa017f888afef756f3522f549716 | [
"MIT"
] | null | null | null | serve.py | xsblanket/sweetie | cce71db39961fa017f888afef756f3522f549716 | [
"MIT"
] | 2 | 2021-03-16T10:28:33.000Z | 2021-03-17T09:11:37.000Z | serve.py | xsblanket/sweetie | cce71db39961fa017f888afef756f3522f549716 | [
"MIT"
] | 1 | 2021-03-16T10:03:19.000Z | 2021-03-16T10:03:19.000Z | from utility.sweetie import serve
serve() | 14.666667 | 34 | 0.772727 | 6 | 44 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 3 | 35 | 14.666667 | 0.918919 | 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 |
47d20ca2d18b88c21b0a0f588589e8dcfe03114e | 81 | py | Python | examples/import.py | vic/typhon | 72b8ceb34f431d93321fee6046b08094afbc213c | [
"BSD-3-Clause"
] | 14 | 2015-01-06T10:59:09.000Z | 2021-01-09T17:57:52.000Z | examples/import.py | vic/typhon | 72b8ceb34f431d93321fee6046b08094afbc213c | [
"BSD-3-Clause"
] | 1 | 2017-04-08T17:35:03.000Z | 2017-04-08T17:35:03.000Z | examples/import.py | vic/typhon | 72b8ceb34f431d93321fee6046b08094afbc213c | [
"BSD-3-Clause"
] | 3 | 2015-05-09T15:16:37.000Z | 2016-01-26T07:57:59.000Z | # -*- coding: utf-8 -*-
import imported
import foo.bar
print(imported.__doc__)
| 11.571429 | 23 | 0.691358 | 11 | 81 | 4.727273 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.148148 | 81 | 6 | 24 | 13.5 | 0.73913 | 0.259259 | 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 |
47d6eebb03b0ea6e42bdb7a3c49d5f0b5a409c1e | 49 | py | Python | __init__.py | faridfibrianto/pyrex | bedd088370e90bceefa45788cddf952c03bea945 | [
"MIT"
] | null | null | null | __init__.py | faridfibrianto/pyrex | bedd088370e90bceefa45788cddf952c03bea945 | [
"MIT"
] | null | null | null | __init__.py | faridfibrianto/pyrex | bedd088370e90bceefa45788cddf952c03bea945 | [
"MIT"
] | 1 | 2021-07-03T04:49:53.000Z | 2021-07-03T04:49:53.000Z | from .helpers import *
from .decorators import *
| 16.333333 | 25 | 0.755102 | 6 | 49 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 2 | 26 | 24.5 | 0.902439 | 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 |
47fd4fd6cf5d22ab4c0d8b28debf25aa2a0236a1 | 517 | py | Python | Programs/__init__.py | el-vida/ITE_Classification_Using_GMMs | 8c1e751fac2c0aa873d41dbae45776b540db0889 | [
"MIT"
] | null | null | null | Programs/__init__.py | el-vida/ITE_Classification_Using_GMMs | 8c1e751fac2c0aa873d41dbae45776b540db0889 | [
"MIT"
] | null | null | null | Programs/__init__.py | el-vida/ITE_Classification_Using_GMMs | 8c1e751fac2c0aa873d41dbae45776b540db0889 | [
"MIT"
] | null | null | null | from A_1_Add_columns_participant_info_multiprocessing_new import *
from A_2_Merge_new_logs import *
from B_1_Add_columns_user_performance_multiprocessing_new import *
from B_2_Merge_new_logs_with_user_groups import *
from C_1_Post_processing_log_new import *
from C_2_Merge_new_logs_post_processed import *
from D_1_Reca... | 47 | 66 | 0.895551 | 91 | 517 | 4.450549 | 0.373626 | 0.246914 | 0.111111 | 0.160494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021097 | 0.083172 | 517 | 11 | 67 | 47 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
9a0f75acc0d453f223e437b74a0cfe99d7909068 | 338 | py | Python | test_core.py | DominikPutz/lecture-spring-2021 | cce0970e261d45cbc16b3955d0659ca295ed8fc2 | [
"Apache-2.0"
] | null | null | null | test_core.py | DominikPutz/lecture-spring-2021 | cce0970e261d45cbc16b3955d0659ca295ed8fc2 | [
"Apache-2.0"
] | null | null | null | test_core.py | DominikPutz/lecture-spring-2021 | cce0970e261d45cbc16b3955d0659ca295ed8fc2 | [
"Apache-2.0"
] | 3 | 2021-03-23T14:48:38.000Z | 2022-01-13T09:45:08.000Z | from core import add
from core import sub
def test_add():
"""Check that `add()` works as expected"""
assert add(2, 3) == 5
def test_add_z():
"""Check that `add()` works as expected"""
assert add(2, 3, 1) == 6
def test_sub():
"""Check that `sub()` works as expected"""
asse... | 16.9 | 46 | 0.553254 | 52 | 338 | 3.519231 | 0.365385 | 0.114754 | 0.245902 | 0.344262 | 0.415301 | 0.415301 | 0.415301 | 0.415301 | 0.415301 | 0.415301 | 0 | 0.041322 | 0.284024 | 338 | 19 | 47 | 17.789474 | 0.714876 | 0.325444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.375 | true | 0 | 0.25 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
9a285d7173b98f84f370605c57bfb8c26d5b2158 | 1,586 | py | Python | spynoza/unwarping/topup/nodes.py | spinoza-centre/spynoza | d71d69e3ea60c9544f4e63940f053a2d1b3ac65f | [
"MIT"
] | 7 | 2016-06-21T11:51:07.000Z | 2018-08-10T15:41:37.000Z | spynoza/unwarping/topup/nodes.py | spinoza-centre/spynoza | d71d69e3ea60c9544f4e63940f053a2d1b3ac65f | [
"MIT"
] | 12 | 2017-07-05T09:14:31.000Z | 2018-09-13T12:19:14.000Z | spynoza/unwarping/topup/nodes.py | spinoza-centre/spynoza | d71d69e3ea60c9544f4e63940f053a2d1b3ac65f | [
"MIT"
] | 8 | 2016-09-26T12:35:59.000Z | 2021-06-05T05:50:23.000Z | from nipype.interfaces.utility import Function
def topup_scan_params(pe_direction='y', te=0.025, epi_factor=37):
import numpy as np
import os
import tempfile
scan_param_array = np.zeros((2, 4))
scan_param_array[0, ['x', 'y', 'z'].index(pe_direction)] = 1
scan_param_array[1, ['x', 'y', 'z'].in... | 33.041667 | 78 | 0.592686 | 231 | 1,586 | 3.813853 | 0.242424 | 0.112372 | 0.174801 | 0.027242 | 0.763905 | 0.763905 | 0.763905 | 0.763905 | 0.763905 | 0.668558 | 0 | 0.026138 | 0.252207 | 1,586 | 47 | 79 | 33.744681 | 0.716695 | 0 | 0 | 0.545455 | 0 | 0 | 0.083859 | 0.013241 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060606 | false | 0 | 0.212121 | 0 | 0.333333 | 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 |
9a3a8f8810da891a7c03436b0f8a519f17f8d1e7 | 212 | py | Python | orb_simulator/orbsim_language/orbsim_ast/tuple_creation_node.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | 1 | 2022-01-19T22:49:09.000Z | 2022-01-19T22:49:09.000Z | orb_simulator/orbsim_language/orbsim_ast/tuple_creation_node.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | 15 | 2021-11-10T14:25:02.000Z | 2022-02-12T19:17:11.000Z | orb_simulator/orbsim_language/orbsim_ast/tuple_creation_node.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | null | null | null | from dataclasses import dataclass
from typing import List
from orbsim_language.orbsim_ast.expression_node import ExpressionNode
@dataclass
class TupleCreationNode(ExpressionNode):
elems: List[ExpressionNode] | 30.285714 | 69 | 0.858491 | 24 | 212 | 7.458333 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099057 | 212 | 7 | 70 | 30.285714 | 0.937173 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.833333 | 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 |
7bd7c0bcead87f462866473027496b7fc3302170 | 128 | py | Python | sftp_sync/__init__.py | bluec0re/python-sftpsync | f68a8cb47ff38cdf883d93c448cf1bcc9df7f532 | [
"MIT"
] | 3 | 2017-06-09T09:23:03.000Z | 2021-12-10T00:52:27.000Z | sftp_sync/__init__.py | bluec0re/python-sftpsync | f68a8cb47ff38cdf883d93c448cf1bcc9df7f532 | [
"MIT"
] | null | null | null | sftp_sync/__init__.py | bluec0re/python-sftpsync | f68a8cb47ff38cdf883d93c448cf1bcc9df7f532 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from .__main__ import main
from .sftp import *
from .sync import *
__version__ = '0.6'
| 16 | 38 | 0.765625 | 18 | 128 | 4.722222 | 0.555556 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018692 | 0.164063 | 128 | 7 | 39 | 18.285714 | 0.775701 | 0 | 0 | 0 | 0 | 0 | 0.023438 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d0108ea8045cdfac005ba75c029402f4c357985e | 78 | py | Python | Chapter11/flask-app.py | arifmudi/Data-Processing-with-Optimus | 4f909c893e51a55714a85cf379b8e817b995612d | [
"MIT"
] | 6 | 2020-12-08T15:21:08.000Z | 2022-03-14T03:39:14.000Z | Chapter11/flask-app.py | arifmudi/Data-Processing-with-Optimus | 4f909c893e51a55714a85cf379b8e817b995612d | [
"MIT"
] | null | null | null | Chapter11/flask-app.py | arifmudi/Data-Processing-with-Optimus | 4f909c893e51a55714a85cf379b8e817b995612d | [
"MIT"
] | 2 | 2021-06-24T14:09:38.000Z | 2021-08-09T08:02:00.000Z | import sys
sys.path.append('../../../optimus')
from optimus.server import app | 19.5 | 35 | 0.705128 | 11 | 78 | 5 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089744 | 78 | 4 | 36 | 19.5 | 0.774648 | 0 | 0 | 0 | 0 | 0 | 0.202532 | 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 |
d02f44da90d4e56a611cc2675d108a518117aaf4 | 295 | py | Python | micro-benchmark/snippets/classes/tuple_assignment/main.py | WenJinfeng/PyCG | b45e8e04fe697d8301cf27222a8f37646d69f168 | [
"Apache-2.0"
] | 121 | 2020-12-16T20:31:37.000Z | 2022-03-21T20:32:43.000Z | micro-benchmark/snippets/classes/tuple_assignment/main.py | WenJinfeng/PyCG | b45e8e04fe697d8301cf27222a8f37646d69f168 | [
"Apache-2.0"
] | 24 | 2021-03-13T00:04:00.000Z | 2022-03-21T17:28:11.000Z | micro-benchmark/snippets/classes/tuple_assignment/main.py | WenJinfeng/PyCG | b45e8e04fe697d8301cf27222a8f37646d69f168 | [
"Apache-2.0"
] | 19 | 2021-03-23T10:58:47.000Z | 2022-03-24T19:46:50.000Z | class MyClass:
def __init__(self):
pass
def func1(self):
pass
def func2(self):
pass
def func3(self):
pass
class MyClass2:
def __init__(self):
pass
a, b = MyClass(), MyClass2()
c, (d, e) = a.func1, (a.func2, a.func3)
c()
d()
e()
| 11.8 | 39 | 0.515254 | 40 | 295 | 3.6 | 0.375 | 0.277778 | 0.229167 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041237 | 0.342373 | 295 | 24 | 40 | 12.291667 | 0.701031 | 0 | 0 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0.294118 | 0 | 0 | 0.411765 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
d02fffe94e43114a1dbd3bf9abf8e18b0238b4a0 | 72 | py | Python | stweet/model/__init__.py | markowanga/stweet | 7f103b5c88fcef1d993d8cdc99cec358e55293f7 | [
"MIT"
] | 101 | 2020-11-22T16:44:25.000Z | 2022-03-30T08:42:07.000Z | stweet/model/__init__.py | markowanga/stweet | 7f103b5c88fcef1d993d8cdc99cec358e55293f7 | [
"MIT"
] | 53 | 2020-11-21T19:40:36.000Z | 2022-03-02T10:09:52.000Z | stweet/model/__init__.py | markowanga/stweet | 7f103b5c88fcef1d993d8cdc99cec358e55293f7 | [
"MIT"
] | 16 | 2020-12-12T23:02:51.000Z | 2022-03-01T12:10:32.000Z | from .language import Language
from .user_tweet_raw import UserTweetRaw
| 24 | 40 | 0.861111 | 10 | 72 | 6 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 72 | 2 | 41 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
d0ebd202e54ba07a8cd29fa1c18be451fa7b6215 | 560 | py | Python | dvadmin-backend/apps/vadmin/system/models/__init__.py | yuanlaimantou/vue-django-admin | 3757caf5d5ca2682ffbb6e017ef03ff9a3715cc9 | [
"MIT"
] | 193 | 2021-02-25T17:36:47.000Z | 2022-03-31T09:54:48.000Z | dvadmin-backend/apps/vadmin/system/models/__init__.py | yuanlaimantou/vue-django-admin | 3757caf5d5ca2682ffbb6e017ef03ff9a3715cc9 | [
"MIT"
] | 6 | 2021-04-23T12:35:14.000Z | 2021-09-16T03:27:28.000Z | dvadmin-backend/apps/vadmin/system/models/__init__.py | yuanlaimantou/vue-django-admin | 3757caf5d5ca2682ffbb6e017ef03ff9a3715cc9 | [
"MIT"
] | 59 | 2021-03-29T09:25:00.000Z | 2022-03-24T06:53:27.000Z | from apps.vadmin.system.models.celery_log import CeleryLog
from apps.vadmin.system.models.config_settings import ConfigSettings
from apps.vadmin.system.models.dict_data import DictData
from apps.vadmin.system.models.dict_details import DictDetails
from apps.vadmin.system.models.logininfor import LoginInfor
from apps.va... | 56 | 68 | 0.871429 | 80 | 560 | 6 | 0.3375 | 0.15 | 0.2625 | 0.375 | 0.575 | 0.304167 | 0.179167 | 0.179167 | 0 | 0 | 0 | 0 | 0.064286 | 560 | 9 | 69 | 62.222222 | 0.916031 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ef798894676eb6e1574bdd64f329e5761081b579 | 1,464 | py | Python | src/FileHandler.py | mohitgupta07/tipr-1st-assgn | be2f742de69dbf7c300410c230eaa541d8d0eab8 | [
"MIT"
] | null | null | null | src/FileHandler.py | mohitgupta07/tipr-1st-assgn | be2f742de69dbf7c300410c230eaa541d8d0eab8 | [
"MIT"
] | null | null | null | src/FileHandler.py | mohitgupta07/tipr-1st-assgn | be2f742de69dbf7c300410c230eaa541d8d0eab8 | [
"MIT"
] | 1 | 2019-02-15T16:44:02.000Z | 2019-02-15T16:44:02.000Z | import csv
import numpy as np
def loadData(path=r'dolphins.csv',type='data',hasHeaders=False):
with open(path,'r') as f:
reader=csv.reader(f,delimiter=',')
if hasHeaders:headers=next(reader)#If Headers are provided
data=list(reader)
#print(data[0])
if type=='data':
... | 32.533333 | 75 | 0.57377 | 204 | 1,464 | 4.112745 | 0.259804 | 0.085816 | 0.052443 | 0.066746 | 0.755662 | 0.755662 | 0.705602 | 0.705602 | 0.705602 | 0.705602 | 0 | 0.009268 | 0.262978 | 1,464 | 44 | 76 | 33.272727 | 0.768304 | 0.137978 | 0 | 0.62069 | 0 | 0 | 0.0456 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.103448 | false | 0 | 0.103448 | 0 | 0.310345 | 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 |
ef955712af3bae4edd3cd451907984d2f75e38d0 | 101 | py | Python | hair_segmentation/model.py | shoman2/mediapipe-models | c588321f3b5056f2239d834c603046de7901d02e | [
"Apache-2.0"
] | 28 | 2019-10-08T06:07:45.000Z | 2021-06-12T07:01:32.000Z | hair_segmentation/model.py | shoman2/mediapipe-models | c588321f3b5056f2239d834c603046de7901d02e | [
"Apache-2.0"
] | null | null | null | hair_segmentation/model.py | shoman2/mediapipe-models | c588321f3b5056f2239d834c603046de7901d02e | [
"Apache-2.0"
] | 8 | 2019-10-10T04:59:02.000Z | 2021-03-28T16:11:09.000Z | # Real-time Hair Segmentation and Recoloring on Mobile GPUs (https://arxiv.org/abs/1907.06740)
# TODO | 50.5 | 94 | 0.772277 | 16 | 101 | 4.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.108911 | 101 | 2 | 95 | 50.5 | 0.766667 | 0.960396 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.5 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.