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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9d66de4b667ca79665527e85d8aba673c1515e7f | 98 | py | Python | alvinchow_backend/service/authentication/constants.py | alvinchow86/python-backend-template | 46c07d733d68bc8682afd8510a17bc2aa360c606 | [
"MIT"
] | 6 | 2021-01-07T00:20:49.000Z | 2022-01-13T04:53:12.000Z | alvinchow_backend/service/authentication/constants.py | alvinchow86/python-backend-template | 46c07d733d68bc8682afd8510a17bc2aa360c606 | [
"MIT"
] | 4 | 2021-01-06T22:07:43.000Z | 2021-06-02T01:52:41.000Z | alvinchow_backend/service/authentication/constants.py | alvinchow86/python-backend-template | 46c07d733d68bc8682afd8510a17bc2aa360c606 | [
"MIT"
] | 1 | 2021-11-09T07:46:44.000Z | 2021-11-09T07:46:44.000Z | DEFAULT_SESSION_EXPIRATION_SECONDS = 3600 * 8
CUSTOMER_SESSION_EXPIRATION_SECONDS = 3600 * 24 * 7
| 32.666667 | 51 | 0.826531 | 13 | 98 | 5.769231 | 0.692308 | 0.453333 | 0.64 | 0.746667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 0.122449 | 98 | 2 | 52 | 49 | 0.732558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9d70d8b46c0f630c16b26fb735553bc57ff5b271 | 215 | py | Python | news/admin.py | yegorkowalew/local_kow | afdf96b8406238c4033f36023ab12b8dda2dc6d9 | [
"Apache-2.0"
] | null | null | null | news/admin.py | yegorkowalew/local_kow | afdf96b8406238c4033f36023ab12b8dda2dc6d9 | [
"Apache-2.0"
] | null | null | null | news/admin.py | yegorkowalew/local_kow | afdf96b8406238c4033f36023ab12b8dda2dc6d9 | [
"Apache-2.0"
] | null | null | null | # -*- coding:utf-8 -*-
from django.contrib import admin
from .models import News
# admin.site.register(News)
class NewsAdmin(admin.ModelAdmin):
list_display = ('title',)
admin.site.register(News, NewsAdmin) | 17.916667 | 36 | 0.72093 | 28 | 215 | 5.5 | 0.642857 | 0.116883 | 0.220779 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005376 | 0.134884 | 215 | 12 | 36 | 17.916667 | 0.822581 | 0.213953 | 0 | 0 | 0 | 0 | 0.02994 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9df82587046dba24f9d4420b8814becec8a08feb | 16,598 | py | Python | OpsManage/views/cron.py | cusele/DB_OPS | f666bc56844cb6985937314190508ed393ce2171 | [
"Apache-2.0"
] | null | null | null | OpsManage/views/cron.py | cusele/DB_OPS | f666bc56844cb6985937314190508ed393ce2171 | [
"Apache-2.0"
] | null | null | null | OpsManage/views/cron.py | cusele/DB_OPS | f666bc56844cb6985937314190508ed393ce2171 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# _#_ coding:utf-8 _*_
import os
from django.http import HttpResponseRedirect,JsonResponse
from django.shortcuts import render
from django.contrib.auth.decorators import login_required
from OpsManage.models import Cron_Config,Server_Assets
from OpsManage.utils.ssh_tools import SSHManage
from O... | 66.658635 | 201 | 0.474515 | 1,550 | 16,598 | 4.894194 | 0.114194 | 0.084366 | 0.047983 | 0.061693 | 0.795149 | 0.77353 | 0.716056 | 0.70406 | 0.675323 | 0.656604 | 0 | 0.006538 | 0.41023 | 16,598 | 249 | 202 | 66.658635 | 0.768414 | 0.00717 | 0 | 0.558824 | 0 | 0 | 0.127527 | 0.008255 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.016807 | 0.05042 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d186772514ca341109c8bb52735b254a94b692c5 | 56 | py | Python | code/sample_2-1-10.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | 1 | 2022-03-29T13:50:12.000Z | 2022-03-29T13:50:12.000Z | code/sample_2-1-10.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | null | null | null | code/sample_2-1-10.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | null | null | null | import math
print(math.factorial(5)) # 120 = 5*4*3*2*1
| 18.666667 | 43 | 0.660714 | 12 | 56 | 3.083333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 0.142857 | 56 | 2 | 44 | 28 | 0.583333 | 0.267857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
d18c2fc2315b230cca1e4508f55b994224726131 | 44 | py | Python | minpiler/__main__.py | 3e45/minpiler | 993bdb38d1e4709a412bb551f7eb213376bfe7d2 | [
"MIT"
] | null | null | null | minpiler/__main__.py | 3e45/minpiler | 993bdb38d1e4709a412bb551f7eb213376bfe7d2 | [
"MIT"
] | 5 | 2022-02-12T19:53:08.000Z | 2022-03-02T04:30:32.000Z | minpiler/__main__.py | 3e45/minpiler | 993bdb38d1e4709a412bb551f7eb213376bfe7d2 | [
"MIT"
] | null | null | null | from minpiler import cmdline
cmdline.run()
| 11 | 28 | 0.795455 | 6 | 44 | 5.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 44 | 3 | 29 | 14.666667 | 0.921053 | 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 |
d1bcefaf75a30c38df58834bd3f449562f63720c | 347 | py | Python | conference/users.py | zevaverbach/epcon | 8352c030ee0d4197f559cdb58a54ee45c7a4471a | [
"BSD-2-Clause"
] | null | null | null | conference/users.py | zevaverbach/epcon | 8352c030ee0d4197f559cdb58a54ee45c7a4471a | [
"BSD-2-Clause"
] | null | null | null | conference/users.py | zevaverbach/epcon | 8352c030ee0d4197f559cdb58a54ee45c7a4471a | [
"BSD-2-Clause"
] | null | null | null |
"""
This module takes care of a lot of user related things.
It's a good place to put validators and user management functions/classes
"""
import os
RANDOM_USERNAME_LENGTH = 10
def generate_random_username():
"""Returns random username of length set by RANDOM_USERNAME_LENGTH"""
return os.urandom(100).hex(... | 20.411765 | 73 | 0.757925 | 52 | 347 | 4.903846 | 0.692308 | 0.27451 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017182 | 0.161383 | 347 | 16 | 74 | 21.6875 | 0.859107 | 0.556196 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
d1d2d4aaf272a6fc37fad0ef1304bff3b30a6dbb | 103 | py | Python | scalpel/__version__.py | lewoudar/scalpel | 455a3ff766c91d02f33957ea17f1cfbec141ab60 | [
"Apache-2.0"
] | 15 | 2020-11-02T21:11:03.000Z | 2022-03-10T14:17:46.000Z | scalpel/__version__.py | lewoudar/scalpel | 455a3ff766c91d02f33957ea17f1cfbec141ab60 | [
"Apache-2.0"
] | 4 | 2020-11-01T17:54:15.000Z | 2022-03-04T21:42:41.000Z | scalpel/__version__.py | lewoudar/scalpel | 455a3ff766c91d02f33957ea17f1cfbec141ab60 | [
"Apache-2.0"
] | 2 | 2021-05-01T06:59:12.000Z | 2021-11-25T07:01:02.000Z | __version__ = '0.1.2'
def version_info():
return tuple([int(i) for i in __version__.split('.')])
| 17.166667 | 58 | 0.640777 | 16 | 103 | 3.5625 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034884 | 0.165049 | 103 | 5 | 59 | 20.6 | 0.627907 | 0 | 0 | 0 | 0 | 0 | 0.058252 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
d1f099b0864f4cf964844fe72d93058ca8a519c3 | 92 | py | Python | code/Built-in-Types/set.py | zhangsucheng/Python-pracive | e95fd3298abb3f23804d126c3e5f973d97d37cfe | [
"MIT"
] | null | null | null | code/Built-in-Types/set.py | zhangsucheng/Python-pracive | e95fd3298abb3f23804d126c3e5f973d97d37cfe | [
"MIT"
] | null | null | null | code/Built-in-Types/set.py | zhangsucheng/Python-pracive | e95fd3298abb3f23804d126c3e5f973d97d37cfe | [
"MIT"
] | null | null | null | set1 = set()
set1.add(1)
set2 = {1, 2, 3}
print(set1)
print(set1 | set2)
print(set1 & set2)
| 13.142857 | 18 | 0.619565 | 17 | 92 | 3.352941 | 0.470588 | 0.473684 | 0.45614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.173913 | 92 | 6 | 19 | 15.333333 | 0.592105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
d1f619cfc99a5afbf025ce2d0f8fb7626509ed65 | 10,432 | py | Python | canvas_course_site_wizard/tests/test_command_finalize_bulk_create_jobs.py | Harvard-University-iCommons/django-canvas-course-site-wizard | 0210849e959407e5a850188f50756eb69b9a4dc2 | [
"MIT"
] | null | null | null | canvas_course_site_wizard/tests/test_command_finalize_bulk_create_jobs.py | Harvard-University-iCommons/django-canvas-course-site-wizard | 0210849e959407e5a850188f50756eb69b9a4dc2 | [
"MIT"
] | 5 | 2018-05-10T19:49:43.000Z | 2021-01-29T19:39:34.000Z | canvas_course_site_wizard/tests/test_command_finalize_bulk_create_jobs.py | Harvard-University-iCommons/django-canvas-course-site-wizard | 0210849e959407e5a850188f50756eb69b9a4dc2 | [
"MIT"
] | null | null | null | from django.test import TestCase
from mock import patch, ANY, Mock
from canvas_course_site_wizard.management.commands.finalize_bulk_create_jobs import (
_send_notification,
)
from canvas_course_site_wizard.models import BulkCanvasCourseCreationJob as BulkJob
from canvas_course_site_wizard.management.commands import... | 61.727811 | 120 | 0.780387 | 1,461 | 10,432 | 5.121834 | 0.125257 | 0.043031 | 0.098624 | 0.12054 | 0.751838 | 0.745156 | 0.740078 | 0.72952 | 0.716023 | 0.690231 | 0 | 0.003678 | 0.139954 | 10,432 | 168 | 121 | 62.095238 | 0.830361 | 0.123946 | 0 | 0.553846 | 0 | 0 | 0.374391 | 0.357776 | 0 | 0 | 0 | 0 | 0.184615 | 1 | 0.092308 | false | 0 | 0.046154 | 0.007692 | 0.153846 | 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 |
d1f659b3ae9aba6bfc59aa4b5536a3fc0f0a77e4 | 215 | py | Python | tests/math_test.py | hokiedsp/python_cmake_boilerplate | 491817136c43bc72f1062c96b7f3d94512040720 | [
"MIT"
] | null | null | null | tests/math_test.py | hokiedsp/python_cmake_boilerplate | 491817136c43bc72f1062c96b7f3d94512040720 | [
"MIT"
] | null | null | null | tests/math_test.py | hokiedsp/python_cmake_boilerplate | 491817136c43bc72f1062c96b7f3d94512040720 | [
"MIT"
] | null | null | null | import pytest
from mypkg import example_module
class TestClass:
def test_add(self):
assert example_module.add(1, 1) == 2
def test_subtract(self):
assert example_module.subtract(1, 1) == 0
| 19.545455 | 49 | 0.683721 | 31 | 215 | 4.580645 | 0.548387 | 0.274648 | 0.239437 | 0.323944 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036145 | 0.227907 | 215 | 10 | 50 | 21.5 | 0.819277 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.285714 | false | 0 | 0.285714 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
ae1b14cdc899b4aca33f3edf19454a0ffbd6587f | 269 | py | Python | tools/function_inner.py | quedvi/function_compose | 23d043a78f63bd12335b67e9d3c651972162fa00 | [
"MIT"
] | null | null | null | tools/function_inner.py | quedvi/function_compose | 23d043a78f63bd12335b67e9d3c651972162fa00 | [
"MIT"
] | null | null | null | tools/function_inner.py | quedvi/function_compose | 23d043a78f63bd12335b67e9d3c651972162fa00 | [
"MIT"
] | null | null | null | from .composition import Composition
class FunctionInner:
def __init__(self, function):
self.function = function
def __call__(self, value):
return self.function(value)
def __mul__(self, other):
return Composition(self, other) | 24.454545 | 39 | 0.672862 | 29 | 269 | 5.827586 | 0.482759 | 0.213018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245353 | 269 | 11 | 39 | 24.454545 | 0.832512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0.25 | 0.875 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
ae4456a46a828f9f5b1625883b15308930d6bc98 | 122 | py | Python | Hello world.py | tougov/Git_Repo_Console | a6d66625647bc9287ecc6c57309eed409820d26a | [
"BSD-3-Clause"
] | null | null | null | Hello world.py | tougov/Git_Repo_Console | a6d66625647bc9287ecc6c57309eed409820d26a | [
"BSD-3-Clause"
] | null | null | null | Hello world.py | tougov/Git_Repo_Console | a6d66625647bc9287ecc6c57309eed409820d26a | [
"BSD-3-Clause"
] | null | null | null | print("Hello world!");
print("Hello everybody!");
print("Hello!")
print("Hello my dear friend!")
print("Glad to see you!") | 24.4 | 30 | 0.680328 | 18 | 122 | 4.611111 | 0.611111 | 0.481928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 122 | 5 | 31 | 24.4 | 0.754545 | 0 | 0 | 0 | 0 | 0 | 0.577236 | 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 |
884cdf854f70c54288941ad35dd57cc8d9131d98 | 249 | py | Python | engine/api_model.py | gnoviawan/fast-api-electron-js | d94a132bd45ed7d0ecf05a2a9efad762ff9dcd00 | [
"MIT"
] | 1 | 2022-02-15T17:59:54.000Z | 2022-02-15T17:59:54.000Z | engine/api_model.py | gnoviawan/fast-api-electron-js | d94a132bd45ed7d0ecf05a2a9efad762ff9dcd00 | [
"MIT"
] | null | null | null | engine/api_model.py | gnoviawan/fast-api-electron-js | d94a132bd45ed7d0ecf05a2a9efad762ff9dcd00 | [
"MIT"
] | null | null | null | from typing import Optional
from pydantic import BaseModel
from pydantic.schema import model_process_schema
class PathModel(BaseModel):
path: str
message: Optional[str]
class HelloModel(BaseModel):
name: str
message: Optional[str]
| 20.75 | 48 | 0.771084 | 31 | 249 | 6.129032 | 0.516129 | 0.126316 | 0.189474 | 0.221053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168675 | 249 | 11 | 49 | 22.636364 | 0.917874 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8856117cee5a2d9c92472ea20bda09ad14281348 | 185 | py | Python | Geometry/MTDGeometryBuilder/python/mtdParameters_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | Geometry/MTDGeometryBuilder/python/mtdParameters_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | Geometry/MTDGeometryBuilder/python/mtdParameters_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | from Geometry.MTDGeometryBuilder.mtdParameters_cfi import mtdParameters
from Configuration.ProcessModifiers.dd4hep_cff import dd4hep
dd4hep.toModify(mtdParameters, fromDD4hep = True)
| 30.833333 | 71 | 0.875676 | 19 | 185 | 8.421053 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023392 | 0.075676 | 185 | 5 | 72 | 37 | 0.912281 | 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 |
31f5abc3494e0ff76b4b57cd5e6771aef450c306 | 99 | py | Python | test4.py | maxc-learn/test-repo | d2b40f8bb2e5d3befef1d376252c2521374d8055 | [
"MIT"
] | null | null | null | test4.py | maxc-learn/test-repo | d2b40f8bb2e5d3befef1d376252c2521374d8055 | [
"MIT"
] | 2 | 2018-11-01T21:34:07.000Z | 2018-11-01T21:34:12.000Z | test4.py | maxc-learn/test-repo | d2b40f8bb2e5d3befef1d376252c2521374d8055 | [
"MIT"
] | null | null | null | """ Test file 4 """
def main():
return "Test file 4"
if __name__ == "__main__:
return main()
| 12.375 | 25 | 0.59596 | 14 | 99 | 3.642857 | 0.571429 | 0.313725 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.232323 | 99 | 7 | 26 | 14.142857 | 0.644737 | 0 | 0 | 0 | 0 | 0 | 0.1375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ee05bf89eb58a16623b981cec9f500948bc4bcf8 | 126 | py | Python | src/hepmc/core/phase_space/__init__.py | mathisgerdes/monte-carlo-integration | 533d13eeb538fec46f8d5ed00e780153b68ba7d9 | [
"MIT"
] | 2 | 2018-11-15T03:01:03.000Z | 2020-02-25T16:54:02.000Z | src/hepmc/core/phase_space/__init__.py | mathisgerdes/monte-carlo-integration | 533d13eeb538fec46f8d5ed00e780153b68ba7d9 | [
"MIT"
] | null | null | null | src/hepmc/core/phase_space/__init__.py | mathisgerdes/monte-carlo-integration | 533d13eeb538fec46f8d5ed00e780153b68ba7d9 | [
"MIT"
] | 1 | 2021-04-15T09:02:00.000Z | 2021-04-15T09:02:00.000Z | from .rambo import Rambo, RamboOnDiet
from .mapping import MappedDensity
__all__ = ['Rambo', 'RamboOnDiet', 'MappedDensity']
| 25.2 | 51 | 0.769841 | 13 | 126 | 7.153846 | 0.538462 | 0.344086 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 126 | 4 | 52 | 31.5 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0.230159 | 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 |
ee4067451d3dc545210a5ae7a7d041b2ecedba2f | 52 | py | Python | src/cms_visualizer/__init__.py | gjke/cms-visualizer | b7a47e79821e76e2d3db83d49df14cace75157ff | [
"MIT"
] | null | null | null | src/cms_visualizer/__init__.py | gjke/cms-visualizer | b7a47e79821e76e2d3db83d49df14cace75157ff | [
"MIT"
] | 1 | 2021-07-05T07:00:59.000Z | 2021-07-05T07:00:59.000Z | src/cms_visualizer/__init__.py | gjke/cms-visualizer | b7a47e79821e76e2d3db83d49df14cace75157ff | [
"MIT"
] | null | null | null | from . import simulation, topography, visualization
| 26 | 51 | 0.826923 | 5 | 52 | 8.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 52 | 1 | 52 | 52 | 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 |
ee77916b480c133dd1e97dafa82f1e784497d60e | 159 | py | Python | definition.py | MarcusErz/TimeSeriesData | 7be9c76b27a19dd9338eb2654d727d32e6675a89 | [
"Apache-2.0"
] | null | null | null | definition.py | MarcusErz/TimeSeriesData | 7be9c76b27a19dd9338eb2654d727d32e6675a89 | [
"Apache-2.0"
] | null | null | null | definition.py | MarcusErz/TimeSeriesData | 7be9c76b27a19dd9338eb2654d727d32e6675a89 | [
"Apache-2.0"
] | null | null | null | import os
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
DATA_DIR = os.path.join(ROOT_DIR, 'Data')
TARGET_DIR = os.path.join(ROOT_DIR, 'dynamic_data')
| 26.5 | 53 | 0.754717 | 28 | 159 | 3.928571 | 0.428571 | 0.218182 | 0.245455 | 0.236364 | 0.363636 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08805 | 159 | 5 | 54 | 31.8 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0.100629 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c9a40af0d77d189374c9063f86015106a561dd22 | 75 | py | Python | datasets/inaturalist_2019/__init__.py | denn-s/SimCLR | e2239ac52464b1271c3b8ad1ec4eb26f3b73c7d4 | [
"MIT"
] | 5 | 2020-08-24T17:57:51.000Z | 2021-06-06T18:18:19.000Z | datasets/inaturalist_2019/__init__.py | denn-s/SimCLR | e2239ac52464b1271c3b8ad1ec4eb26f3b73c7d4 | [
"MIT"
] | null | null | null | datasets/inaturalist_2019/__init__.py | denn-s/SimCLR | e2239ac52464b1271c3b8ad1ec4eb26f3b73c7d4 | [
"MIT"
] | 1 | 2020-08-29T00:35:36.000Z | 2020-08-29T00:35:36.000Z | from .dataset import INaturalist2019Dataset
from .parser import parse_json
| 25 | 43 | 0.866667 | 9 | 75 | 7.111111 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 0.106667 | 75 | 2 | 44 | 37.5 | 0.895522 | 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 |
c9a9865cec356217beb43a3d3f483b2f64a6002a | 232 | py | Python | molsysmt/native/__init__.py | uibcdf/MolModMTs | 4f6b6f671a9fa3e73008d1e9c48686d5f20a6573 | [
"MIT"
] | null | null | null | molsysmt/native/__init__.py | uibcdf/MolModMTs | 4f6b6f671a9fa3e73008d1e9c48686d5f20a6573 | [
"MIT"
] | null | null | null | molsysmt/native/__init__.py | uibcdf/MolModMTs | 4f6b6f671a9fa3e73008d1e9c48686d5f20a6573 | [
"MIT"
] | null | null | null | from .molsys import MolSys
from .topology import Topology
from .structures import Structures
from .trajectory_file import TrajectoryFile
#from .card import Card
#from .topography import Topography
from .simulation import Simulation
| 29 | 43 | 0.840517 | 29 | 232 | 6.689655 | 0.37931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 232 | 7 | 44 | 33.142857 | 0.95098 | 0.241379 | 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 |
c9bddd34a99fb1db2105cf5aa0475266fafc02cc | 63 | py | Python | rdmo/projects/__init__.py | BlackLotus/rdmo | d8063055f0421b9a218453d55cd32051b2d4ca21 | [
"Apache-2.0"
] | null | null | null | rdmo/projects/__init__.py | BlackLotus/rdmo | d8063055f0421b9a218453d55cd32051b2d4ca21 | [
"Apache-2.0"
] | null | null | null | rdmo/projects/__init__.py | BlackLotus/rdmo | d8063055f0421b9a218453d55cd32051b2d4ca21 | [
"Apache-2.0"
] | null | null | null | default_app_config = 'rdmo.projects.app_config.ProjectsConfig'
| 31.5 | 62 | 0.857143 | 8 | 63 | 6.375 | 0.75 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 63 | 1 | 63 | 63 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0.619048 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c9d6accf269956d4de4498bcff592d7a94c2e7ec | 189 | py | Python | bootcamp/articles/admin.py | Fadykhallaf/Signet | 2a8edcd85324d24b50d7d14fc980c8e9f88bfd26 | [
"MIT"
] | null | null | null | bootcamp/articles/admin.py | Fadykhallaf/Signet | 2a8edcd85324d24b50d7d14fc980c8e9f88bfd26 | [
"MIT"
] | null | null | null | bootcamp/articles/admin.py | Fadykhallaf/Signet | 2a8edcd85324d24b50d7d14fc980c8e9f88bfd26 | [
"MIT"
] | null | null | null | from django.contrib import admin
from bootcamp.articles.models import Article, ArticleComment, Tag
admin.site.register(Article)
admin.site.register(ArticleComment)
admin.site.register(Tag) | 31.5 | 65 | 0.84127 | 25 | 189 | 6.36 | 0.52 | 0.169811 | 0.320755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068783 | 189 | 6 | 66 | 31.5 | 0.903409 | 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 |
c9db5af2997f20b58cda7e23259593dc0a0512e6 | 130 | py | Python | algorithm.py | junekyoopark/python-practice | 398b9759eac79dc6194217bde0b3fadc4eda5d84 | [
"MIT"
] | null | null | null | algorithm.py | junekyoopark/python-practice | 398b9759eac79dc6194217bde0b3fadc4eda5d84 | [
"MIT"
] | null | null | null | algorithm.py | junekyoopark/python-practice | 398b9759eac79dc6194217bde0b3fadc4eda5d84 | [
"MIT"
] | null | null | null | class Test:
def __init__(self, text):
self.text = text
def text(self):
return self.text
| 16.25 | 29 | 0.5 | 15 | 130 | 4.066667 | 0.466667 | 0.393443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.415385 | 130 | 8 | 30 | 16.25 | 0.802632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
4e4d6a4366fe9f9f934e5460fae12186a77dda14 | 7,090 | py | Python | STLLexer.py | LaurensVanDamme/STL | 908c3b741a9bf1e58bad0ac70e3a94be7b8d2784 | [
"MIT"
] | 3 | 2021-06-22T12:22:54.000Z | 2022-02-05T07:03:21.000Z | STLLexer.py | LaurensVanDamme/STL | 908c3b741a9bf1e58bad0ac70e3a94be7b8d2784 | [
"MIT"
] | 1 | 2021-06-22T12:28:34.000Z | 2021-06-22T12:28:34.000Z | STLLexer.py | LaurensVanDamme/STL | 908c3b741a9bf1e58bad0ac70e3a94be7b8d2784 | [
"MIT"
] | 2 | 2021-09-30T09:22:57.000Z | 2021-11-04T09:20:49.000Z | # Generated from stl.g4 by ANTLR 4.8
from antlr4 import *
from io import StringIO
from typing.io import TextIO
import sys
def serializedATN():
with StringIO() as buf:
buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2!")
buf.write("\u0097\b\1\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4... | 48.231293 | 103 | 0.534556 | 1,549 | 7,090 | 2.400904 | 0.170433 | 0.12584 | 0.088734 | 0.084969 | 0.323205 | 0.246034 | 0.186609 | 0.17424 | 0.162678 | 0.158645 | 0 | 0.271365 | 0.181382 | 7,090 | 146 | 104 | 48.561644 | 0.3694 | 0.004795 | 0 | 0.0625 | 1 | 0.320313 | 0.532757 | 0.426546 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015625 | false | 0 | 0.03125 | 0 | 0.367188 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4e591742007af0a013593189bd457552ba45855d | 34 | py | Python | various/import_order/package_example/nested_package_example/custommodule2.py | sideroff/python-exercises | 6a9cc55735d977a71697204c734b3ade84a0c4fd | [
"MIT"
] | null | null | null | various/import_order/package_example/nested_package_example/custommodule2.py | sideroff/python-exercises | 6a9cc55735d977a71697204c734b3ade84a0c4fd | [
"MIT"
] | 4 | 2020-03-24T18:00:07.000Z | 2021-06-02T00:51:22.000Z | various/import_order/package_example/nested_package_example/custommodule2.py | sideroff/python-exercises | 6a9cc55735d977a71697204c734b3ade84a0c4fd | [
"MIT"
] | null | null | null | ANY_VAR = 'nested_package_example' | 34 | 34 | 0.852941 | 5 | 34 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 34 | 1 | 34 | 34 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.628571 | 0.628571 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4e8a51aa6541d4034aca1cce37add227cdc33148 | 23 | py | Python | test1.py | Johnrmramos/pynet | 34449122a8a6064951d06e768659548c286ce2e9 | [
"Apache-2.0"
] | null | null | null | test1.py | Johnrmramos/pynet | 34449122a8a6064951d06e768659548c286ce2e9 | [
"Apache-2.0"
] | null | null | null | test1.py | Johnrmramos/pynet | 34449122a8a6064951d06e768659548c286ce2e9 | [
"Apache-2.0"
] | null | null | null | print ("Hellow world")
| 11.5 | 22 | 0.695652 | 3 | 23 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
4e9c567057f81552161bb8c69438b2b26e4e8adf | 107 | py | Python | application/models/__init__.py | ixicale/cargamos-inventory | 42a1fe27483a0ce4f7b99997462be947f7ddc4d9 | [
"MIT"
] | null | null | null | application/models/__init__.py | ixicale/cargamos-inventory | 42a1fe27483a0ce4f7b99997462be947f7ddc4d9 | [
"MIT"
] | null | null | null | application/models/__init__.py | ixicale/cargamos-inventory | 42a1fe27483a0ce4f7b99997462be947f7ddc4d9 | [
"MIT"
] | null | null | null | """Application models"""
from .products import Product
from .stocks import Stock
from .stores import Store
| 21.4 | 29 | 0.785047 | 14 | 107 | 6 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130841 | 107 | 4 | 30 | 26.75 | 0.903226 | 0.168224 | 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 |
4eaac94c6b24aeb3726f8f739abd8bc5f7418fca | 215 | py | Python | bibliopixel/util/__init__.py | rec/leds | ed5fd11ed155e7008d4ef6d5b3d82cd7f8b3ed6a | [
"MIT"
] | 253 | 2015-01-03T23:17:57.000Z | 2021-12-14T02:31:08.000Z | bibliopixel/util/__init__.py | rec/leds | ed5fd11ed155e7008d4ef6d5b3d82cd7f8b3ed6a | [
"MIT"
] | 879 | 2015-01-11T16:07:25.000Z | 2021-12-10T16:24:31.000Z | bibliopixel/util/__init__.py | rec/leds | ed5fd11ed155e7008d4ef6d5b3d82cd7f8b3ed6a | [
"MIT"
] | 71 | 2015-01-04T01:02:47.000Z | 2022-03-25T18:30:10.000Z | from . import deprecated
if deprecated.allowed(): # pragma: no cover
from . util import generate_header, even_dist, pointOnCircle, genVector
from . attribute_dict import AttributeDict
d = AttributeDict
| 35.833333 | 75 | 0.75814 | 25 | 215 | 6.4 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181395 | 215 | 5 | 76 | 43 | 0.909091 | 0.074419 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4eb580eb4b30bfb3f71f6e0bff1949506719de49 | 120 | py | Python | login.py | ljl5428/test07 | 4f7e280d1d56eca58e4769fa8d6ed0d421eae2c6 | [
"MIT"
] | null | null | null | login.py | ljl5428/test07 | 4f7e280d1d56eca58e4769fa8d6ed0d421eae2c6 | [
"MIT"
] | null | null | null | login.py | ljl5428/test07 | 4f7e280d1d56eca58e4769fa8d6ed0d421eae2c6 | [
"MIT"
] | null | null | null | num1 = 10
num2 = 20
<<<<<<< HEAD
num3 = 30
num4 = 40
=======
num3 = 40
>>>>>>> d6803905d889a0ad73811b862cb93b690b8d1555
| 13.333333 | 48 | 0.616667 | 12 | 120 | 6.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.44 | 0.166667 | 120 | 8 | 49 | 15 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4ed6e21a5f4e6cdccb87101cede8f09a870f59a3 | 93 | py | Python | tethys_datasets/__init__.py | CI-WATER/django-tethys_datasets | 504963a720693931a1fa1a899d5492548672216f | [
"BSD-2-Clause"
] | null | null | null | tethys_datasets/__init__.py | CI-WATER/django-tethys_datasets | 504963a720693931a1fa1a899d5492548672216f | [
"BSD-2-Clause"
] | null | null | null | tethys_datasets/__init__.py | CI-WATER/django-tethys_datasets | 504963a720693931a1fa1a899d5492548672216f | [
"BSD-2-Clause"
] | null | null | null | # Load the custom app config
default_app_config = 'tethys_datasets.apps.TethysDatasetsConfig' | 46.5 | 64 | 0.849462 | 12 | 93 | 6.333333 | 0.833333 | 0.236842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086022 | 93 | 2 | 64 | 46.5 | 0.894118 | 0.27957 | 0 | 0 | 0 | 0 | 0.621212 | 0.621212 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
092b9819567eba4db056ba7be6db821983ad7d81 | 40 | py | Python | jsonvl/core/_null/__init__.py | gregorybchris/jsonvl | bece787c767c49ab32cb7d499a1ab71657827cb7 | [
"Apache-2.0"
] | 5 | 2021-02-19T00:51:27.000Z | 2022-01-17T16:59:21.000Z | jsonvl/core/_null/__init__.py | gregorybchris/jsonvl | bece787c767c49ab32cb7d499a1ab71657827cb7 | [
"Apache-2.0"
] | 7 | 2021-02-18T01:06:12.000Z | 2021-12-01T19:11:58.000Z | jsonvl/core/_null/__init__.py | gregorybchris/jsonvl | bece787c767c49ab32cb7d499a1ab71657827cb7 | [
"Apache-2.0"
] | null | null | null | """Module for null validation logic."""
| 20 | 39 | 0.7 | 5 | 40 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.8 | 0.825 | 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 |
0959af11e791706d3958de23e85db7dad6aa7360 | 91 | py | Python | test/data/cloud_source_test.py | BerlinRDT/roaddetection | 8eb61a96dd045adf2b9a3f6443a6176314bdda1c | [
"BSD-3-Clause"
] | 3 | 2018-11-20T01:30:37.000Z | 2020-03-25T20:23:17.000Z | test/data/cloud_source_test.py | L2Data/roaddetection | 8eb61a96dd045adf2b9a3f6443a6176314bdda1c | [
"BSD-3-Clause"
] | null | null | null | test/data/cloud_source_test.py | L2Data/roaddetection | 8eb61a96dd045adf2b9a3f6443a6176314bdda1c | [
"BSD-3-Clause"
] | 3 | 2020-03-25T20:43:29.000Z | 2021-09-02T13:37:38.000Z | from src.data import cloud_source as cs
import pytest
def test_download():
assert 1 == 1 | 18.2 | 39 | 0.758242 | 16 | 91 | 4.1875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 0.175824 | 91 | 5 | 40 | 18.2 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
117706a170b756bc26bebe905e20eccb5238c851 | 718 | py | Python | src/main/service/StopWordModel.py | alschmut/code2semantics | af1daf0b8320b534344c5352ae972fb600e21e43 | [
"MIT"
] | 2 | 2020-02-26T22:50:38.000Z | 2020-10-29T10:46:10.000Z | src/main/service/StopWordModel.py | alschmut/linguistic-parser | af1daf0b8320b534344c5352ae972fb600e21e43 | [
"MIT"
] | null | null | null | src/main/service/StopWordModel.py | alschmut/linguistic-parser | af1daf0b8320b534344c5352ae972fb600e21e43 | [
"MIT"
] | null | null | null | import string
from model.IdentifierModel import IdentifierModel
from nltk.corpus import stopwords
from resources import stopwords_smart
class StopWordModel():
stop_words_nltk: set = None
stop_words_smart: set = None
def __init__(self):
self.stop_words_nltk = set(stopwords.words("english"))
... | 28.72 | 62 | 0.735376 | 97 | 718 | 5.072165 | 0.28866 | 0.20122 | 0.199187 | 0.109756 | 0.093496 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196379 | 718 | 25 | 63 | 28.72 | 0.852686 | 0 | 0 | 0 | 0 | 0 | 0.009736 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.210526 | 0.105263 | 0.684211 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
11b218a30c7c4f8c5af43aaa1acd1a2e6ce161ab | 209 | py | Python | options/context_processors.py | saruba/django-simple-options | 7764c9741f0718ad71f88613c1d50b860d71541f | [
"MIT"
] | 4 | 2018-08-09T13:41:25.000Z | 2021-03-25T15:47:12.000Z | options/context_processors.py | saruba/django-simple-options | 7764c9741f0718ad71f88613c1d50b860d71541f | [
"MIT"
] | 5 | 2019-06-29T08:19:24.000Z | 2021-03-25T08:51:41.000Z | options/context_processors.py | saruba/django-simple-options | 7764c9741f0718ad71f88613c1d50b860d71541f | [
"MIT"
] | 2 | 2019-06-27T22:12:48.000Z | 2020-07-10T07:52:24.000Z | from options.models import Option
def options(request):
"""Context processor that adds options to the template context."""
return {option.name: option.get_value() for option in Option.objects.all()}
| 29.857143 | 79 | 0.741627 | 29 | 209 | 5.310345 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15311 | 209 | 6 | 80 | 34.833333 | 0.870057 | 0.287081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
11d69be5542063d136f67a66854e8813fbf0d643 | 231 | py | Python | result/admin.py | lawalkeyd/school_management_system | 5ae2a562b23228e602e112c96e5854c8cf5ec89e | [
"MIT"
] | null | null | null | result/admin.py | lawalkeyd/school_management_system | 5ae2a562b23228e602e112c96e5854c8cf5ec89e | [
"MIT"
] | null | null | null | result/admin.py | lawalkeyd/school_management_system | 5ae2a562b23228e602e112c96e5854c8cf5ec89e | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import SubjectRegistration, Result, StudentResult
# Register your models here.
admin.site.register(SubjectRegistration)
admin.site.register(Result)
admin.site.register(StudentResult)
| 25.666667 | 62 | 0.835498 | 27 | 231 | 7.148148 | 0.481481 | 0.139896 | 0.264249 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08658 | 231 | 8 | 63 | 28.875 | 0.914692 | 0.112554 | 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 |
11e2836d41b5fe04bef68c053c7a662c3b39fe86 | 112 | py | Python | condense/optimizer/model_operations/__init__.py | SirBubbls/condense | e28f008477fe75c24b43cc853b2dc6d923f01813 | [
"MIT"
] | null | null | null | condense/optimizer/model_operations/__init__.py | SirBubbls/condense | e28f008477fe75c24b43cc853b2dc6d923f01813 | [
"MIT"
] | null | null | null | condense/optimizer/model_operations/__init__.py | SirBubbls/condense | e28f008477fe75c24b43cc853b2dc6d923f01813 | [
"MIT"
] | null | null | null | """This module implements methods to optimize nn models."""
import condense.optimizer.model_operations.pruning
| 28 | 59 | 0.8125 | 14 | 112 | 6.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098214 | 112 | 3 | 60 | 37.333333 | 0.891089 | 0.473214 | 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 |
11e8442394db5c391a4007f04194cc0f59e8b1f1 | 111 | py | Python | netappzap/__init__.py | franc01s/netapp-api | 1a70bb7c3b57d7936a8a31b20268d127dc103a1f | [
"ANTLR-PD"
] | null | null | null | netappzap/__init__.py | franc01s/netapp-api | 1a70bb7c3b57d7936a8a31b20268d127dc103a1f | [
"ANTLR-PD"
] | null | null | null | netappzap/__init__.py | franc01s/netapp-api | 1a70bb7c3b57d7936a8a31b20268d127dc103a1f | [
"ANTLR-PD"
] | null | null | null | from .naelement import NaElement
from .naserver import NaServer
from .naerrno import *
from .dfmerrno import * | 27.75 | 32 | 0.801802 | 14 | 111 | 6.357143 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144144 | 111 | 4 | 33 | 27.75 | 0.936842 | 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 |
eeb8a58da42727e02bb7f26b2df94d41d3b8faf7 | 40 | py | Python | tests/docs/rackdiag/conf.py | tk0miya/sphinxcontrib-nwdiag | 14c31c07e643d0402ba048bfb0bd445f07775abd | [
"BSD-2-Clause"
] | 4 | 2018-03-12T18:59:41.000Z | 2020-03-06T02:37:54.000Z | tests/docs/rackdiag/conf.py | tk0miya/sphinxcontrib-nwdiag | 14c31c07e643d0402ba048bfb0bd445f07775abd | [
"BSD-2-Clause"
] | 4 | 2018-02-14T21:22:43.000Z | 2019-12-10T17:03:10.000Z | tests/docs/rackdiag/conf.py | tk0miya/sphinxcontrib-nwdiag | 14c31c07e643d0402ba048bfb0bd445f07775abd | [
"BSD-2-Clause"
] | 3 | 2017-05-26T05:45:30.000Z | 2019-08-21T05:53:32.000Z | extensions = ['sphinxcontrib.rackdiag']
| 20 | 39 | 0.775 | 3 | 40 | 10.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0.55 | 0.55 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e1042a12d4d46b72f5b5c59c4a355c3760768dce | 92 | py | Python | energylive/exceptions.py | dimoschi/energylive-api | 5e1182b2ddf3130a98bd7c25d2e55d27518a0d58 | [
"MIT"
] | null | null | null | energylive/exceptions.py | dimoschi/energylive-api | 5e1182b2ddf3130a98bd7c25d2e55d27518a0d58 | [
"MIT"
] | null | null | null | energylive/exceptions.py | dimoschi/energylive-api | 5e1182b2ddf3130a98bd7c25d2e55d27518a0d58 | [
"MIT"
] | null | null | null | class UnknownResponseType(Exception):
pass
class UnknownDatetime(Exception):
pass
| 13.142857 | 37 | 0.76087 | 8 | 92 | 8.75 | 0.625 | 0.371429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 92 | 6 | 38 | 15.333333 | 0.921053 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
e10f58c7a567bfcddd1fc1925413d226e4da486f | 3,576 | py | Python | data/plot/c3.2.2_xt_cpu.py | gg-lc/RLBench | 7ce7487633dac1d671ea939694faf130304e2cd3 | [
"MIT"
] | null | null | null | data/plot/c3.2.2_xt_cpu.py | gg-lc/RLBench | 7ce7487633dac1d671ea939694faf130304e2cd3 | [
"MIT"
] | null | null | null | data/plot/c3.2.2_xt_cpu.py | gg-lc/RLBench | 7ce7487633dac1d671ea939694faf130304e2cd3 | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
# plt.rc('font',family='Times New Roman')
from data_loader import Loader, XT, TS
import numpy as np
xt, ts = XT(), TS()
fontsize_title = 24
fontsize_label = 22
fontsize_tick = 20
fontsize_legend = 18
def default_set(tick=False, legend=False, layout=True):
if tick:
plt.xti... | 48.324324 | 125 | 0.629195 | 543 | 3,576 | 3.990792 | 0.198895 | 0.088602 | 0.074758 | 0.066451 | 0.806645 | 0.806645 | 0.776188 | 0.732349 | 0.687125 | 0.630826 | 0 | 0.060887 | 0.154922 | 3,576 | 74 | 126 | 48.324324 | 0.656188 | 0.074944 | 0 | 0.418182 | 0 | 0 | 0.183772 | 0.008174 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054545 | false | 0 | 0.054545 | 0 | 0.109091 | 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 |
e11f9ba81bbd79804131ff12ab6821667ef3f8b4 | 67 | py | Python | openerp/addons/mail/controllers/__init__.py | ntiufalara/openerp7 | 903800da0644ec0dd9c1dcd34205541f84d45fe4 | [
"MIT"
] | 3 | 2016-01-29T14:39:49.000Z | 2018-12-29T22:42:00.000Z | odoo/addons/website_quote/controllers/__init__.py | tuanquanghpvn/odoo8-tutorial | 52d25f1ca5f233c431cb9d3b24b79c3b4fb5127e | [
"MIT"
] | 2 | 2016-03-23T14:29:41.000Z | 2017-02-20T17:11:30.000Z | odoo/addons/website_quote/controllers/__init__.py | tuanquanghpvn/odoo8-tutorial | 52d25f1ca5f233c431cb9d3b24b79c3b4fb5127e | [
"MIT"
] | 3 | 2020-10-08T14:42:10.000Z | 2022-01-28T14:12:29.000Z | import main
# vim:expandtab:tabstop=4:softtabstop=4:shiftwidth=4:
| 16.75 | 53 | 0.791045 | 10 | 67 | 5.3 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048387 | 0.074627 | 67 | 3 | 54 | 22.333333 | 0.806452 | 0.761194 | 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 |
e1268fa9e90cbf5b5c42fc244890d3481db680c1 | 229 | py | Python | url_handlers/logout.py | dieterich-lab/medex | e76926f00555d1cc4410bff15f0cf85cedc9ad32 | [
"MIT"
] | 3 | 2019-09-10T09:40:54.000Z | 2022-03-30T15:58:26.000Z | url_handlers/logout.py | dieterich-lab/medex | e76926f00555d1cc4410bff15f0cf85cedc9ad32 | [
"MIT"
] | 16 | 2020-05-22T09:36:27.000Z | 2022-02-09T10:09:18.000Z | url_handlers/logout.py | dieterich-lab/medex | e76926f00555d1cc4410bff15f0cf85cedc9ad32 | [
"MIT"
] | null | null | null | from flask import Blueprint, render_template
logout_page = Blueprint('logout', __name__, template_folder='logout')
@logout_page.route('/logout', methods=['GET', 'POST'])
def logout():
return render_template('logout.html')
| 25.444444 | 69 | 0.742358 | 28 | 229 | 5.75 | 0.607143 | 0.173913 | 0.248447 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104803 | 229 | 8 | 70 | 28.625 | 0.785366 | 0 | 0 | 0 | 0 | 0 | 0.161572 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0.4 | 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 | 0 | 1 | 1 | 0 | 0 | 5 |
01399ce11943e29937d124081f6f7cfd43be3cb3 | 52,634 | py | Python | python-2-apps/fn_ivanti_service_manager/fn_ivanti_service_manager/util/customize.py | JayDi11a/Geralds-IBM-SOAR-Integrations | 0e0eb18adbaf3a266e1dc5a316df7cd5a93f88d0 | [
"MIT"
] | null | null | null | python-2-apps/fn_ivanti_service_manager/fn_ivanti_service_manager/util/customize.py | JayDi11a/Geralds-IBM-SOAR-Integrations | 0e0eb18adbaf3a266e1dc5a316df7cd5a93f88d0 | [
"MIT"
] | 1 | 2022-03-06T00:10:13.000Z | 2022-03-06T00:10:13.000Z | python-2-apps/fn_ivanti_service_manager/fn_ivanti_service_manager/util/customize.py | JayDi11a/Geralds-IBM-SOAR-Integrations | 0e0eb18adbaf3a266e1dc5a316df7cd5a93f88d0 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Generate the Resilient customizations required for fn_ivanti_service_manager"""
from __future__ import print_function
from resilient_circuits.util import *
def codegen_reload_data():
"""Parameters to codegen used to generate the fn_ivanti_service_manager package"""
reload_params = ... | 73.001387 | 213 | 0.968993 | 906 | 52,634 | 56.224062 | 0.822296 | 0.001649 | 0.001963 | 0.001296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101207 | 0.025896 | 52,634 | 721 | 214 | 73.001387 | 0.892317 | 0.016681 | 0 | 0.041481 | 1 | 0 | 0.983191 | 0.963247 | 0 | 1 | 0 | 0 | 0 | 1 | 0.002963 | false | 0 | 0.004444 | 0 | 0.008889 | 0.001481 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
013d4a3b5e23bbca8dec2b54d636e4ace47d9d71 | 396 | py | Python | tests/devices/eiger/test_eiger_monitor_config.py | dls-controls/tickit | 00bb013e69674bcfe4926f365ecb3c65c080abe8 | [
"Apache-2.0"
] | 4 | 2021-09-16T13:35:33.000Z | 2022-02-01T23:35:53.000Z | tests/devices/eiger/test_eiger_monitor_config.py | dls-controls/tickit | 00bb013e69674bcfe4926f365ecb3c65c080abe8 | [
"Apache-2.0"
] | 46 | 2021-09-16T13:44:58.000Z | 2022-02-02T13:42:56.000Z | tests/devices/eiger/test_eiger_monitor_config.py | dls-controls/tickit | 00bb013e69674bcfe4926f365ecb3c65c080abe8 | [
"Apache-2.0"
] | null | null | null | import pytest
from tickit.devices.eiger.monitor.monitor_config import MonitorConfig
# # # # # Eiger MonitorConfig Tests # # # # #
@pytest.fixture
def monitor_config() -> MonitorConfig:
return MonitorConfig()
def test_eiger_monitor_config_constructor():
MonitorConfig()
def test_eiger_monitor_config_getit... | 20.842105 | 69 | 0.752525 | 43 | 396 | 6.651163 | 0.465116 | 0.272727 | 0.13986 | 0.174825 | 0.265734 | 0.265734 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 396 | 18 | 70 | 22 | 0.83871 | 0.063131 | 0 | 0 | 0 | 0 | 0.045584 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.333333 | false | 0 | 0.222222 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
0160413b7a0b43de81ba24cc148834b3d0dd688a | 66 | py | Python | elliot/recommender/knn/user_knn/rough_work.py | gategill/elliot | 113763ba6d595976e14ead2e3d460d9705cd882e | [
"Apache-2.0"
] | null | null | null | elliot/recommender/knn/user_knn/rough_work.py | gategill/elliot | 113763ba6d595976e14ead2e3d460d9705cd882e | [
"Apache-2.0"
] | null | null | null | elliot/recommender/knn/user_knn/rough_work.py | gategill/elliot | 113763ba6d595976e14ead2e3d460d9705cd882e | [
"Apache-2.0"
] | null | null | null | from scipy.stats.stats import pearsonr
from icecream import ic
| 11 | 38 | 0.80303 | 10 | 66 | 5.3 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 66 | 5 | 39 | 13.2 | 0.963636 | 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 |
018a3e41060ce14b2c86c5d7ae7cf6820f396091 | 185 | py | Python | interact/environments/__init__.py | rystrauss/interact | 4fd8a5ffd2b712beb81bc43587745b29c715d754 | [
"MIT"
] | 1 | 2020-11-13T01:59:21.000Z | 2020-11-13T01:59:21.000Z | interact/environments/__init__.py | rystrauss/interact | 4fd8a5ffd2b712beb81bc43587745b29c715d754 | [
"MIT"
] | 2 | 2021-04-04T22:27:04.000Z | 2021-05-21T17:35:32.000Z | interact/environments/__init__.py | rystrauss/interact | 4fd8a5ffd2b712beb81bc43587745b29c715d754 | [
"MIT"
] | null | null | null | import gin as _gin
from gym.wrappers import AtariPreprocessing as _AtariPreprocessing
from .utils import make_env_fn
_gin.external_configurable(_AtariPreprocessing, denylist=["env"])
| 26.428571 | 66 | 0.843243 | 23 | 185 | 6.478261 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097297 | 185 | 6 | 67 | 30.833333 | 0.892216 | 0 | 0 | 0 | 0 | 0 | 0.016216 | 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 |
018d03d1ed9ba21752550a8161ab03a60a01b99a | 486 | py | Python | src/oidcmsg/storage/converter.py | Roomored/JWTConnect-Python-OidcMsg | 3b7d667c0c36cd85e34db56cb745ef77eaeda140 | [
"Apache-2.0"
] | null | null | null | src/oidcmsg/storage/converter.py | Roomored/JWTConnect-Python-OidcMsg | 3b7d667c0c36cd85e34db56cb745ef77eaeda140 | [
"Apache-2.0"
] | null | null | null | src/oidcmsg/storage/converter.py | Roomored/JWTConnect-Python-OidcMsg | 3b7d667c0c36cd85e34db56cb745ef77eaeda140 | [
"Apache-2.0"
] | 1 | 2020-11-08T21:22:55.000Z | 2020-11-08T21:22:55.000Z | import json
from urllib.parse import quote_plus
from urllib.parse import unquote_plus
class QPKey:
def serialize(self, str):
return quote_plus(str)
def deserialize(self, str):
return unquote_plus(str)
class JSON:
def serialize(self, str):
return json.dumps(str)
def deserial... | 17.357143 | 37 | 0.658436 | 64 | 486 | 4.9375 | 0.296875 | 0.132911 | 0.246835 | 0.18038 | 0.522152 | 0.28481 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261317 | 486 | 27 | 38 | 18 | 0.880223 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.055556 | 0.166667 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 5 |
018ec66211b53db93610f0c61b7d5d19bab8935e | 131 | py | Python | backend/test_api/views.py | McMackety/GatorWiki | 71943dca9c8b080cc2f61658d84813b5fd4c65ea | [
"MIT"
] | 6 | 2021-09-09T20:38:24.000Z | 2021-10-06T03:51:40.000Z | backend/test_api/views.py | McMackety/GatorWiki | 71943dca9c8b080cc2f61658d84813b5fd4c65ea | [
"MIT"
] | 16 | 2021-09-17T17:02:27.000Z | 2021-11-07T17:46:41.000Z | backend/test_api/views.py | McMackety/GatorWiki | 71943dca9c8b080cc2f61658d84813b5fd4c65ea | [
"MIT"
] | 5 | 2021-09-09T20:38:27.000Z | 2021-09-24T17:33:23.000Z | from django.http import JsonResponse
import time
def index(request):
return JsonResponse({
'time': time.time()
}) | 16.375 | 36 | 0.664122 | 15 | 131 | 5.8 | 0.666667 | 0.183908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229008 | 131 | 8 | 37 | 16.375 | 0.861386 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
01936f52a1b7fb9b17991ff9b9e0ffe6c727eb20 | 1,983 | py | Python | xbox/constants.py | tomwhross/wishlist | 3b6db575b65393ec46f4be75e4b3e9493a44a00e | [
"MIT"
] | null | null | null | xbox/constants.py | tomwhross/wishlist | 3b6db575b65393ec46f4be75e4b3e9493a44a00e | [
"MIT"
] | null | null | null | xbox/constants.py | tomwhross/wishlist | 3b6db575b65393ec46f4be75e4b3e9493a44a00e | [
"MIT"
] | null | null | null | SEED_URLS = [
"https://www.microsoft.com/en-ca/p/immortals-fenyx-rising/c07kjzrh0l7s?activetab=pivot:overviewtab",
"https://www.microsoft.com/en-ca/p/grand-theft-auto-v-premium-edition/C496CLVXMJP8?wa=wsignin1.0&lc=4105&activetab=pivot:overviewtab",
"https://www.microsoft.com/en-ca/p/far-cry-5/br7x7mvbbqkm?... | 99.15 | 138 | 0.780635 | 280 | 1,983 | 5.507143 | 0.346429 | 0.088197 | 0.187419 | 0.220493 | 0.584306 | 0.584306 | 0.584306 | 0.568093 | 0.568093 | 0.568093 | 0 | 0.042239 | 0.044881 | 1,983 | 19 | 139 | 104.368421 | 0.771911 | 0 | 0 | 0 | 0 | 0.894737 | 0.923348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6d80bc08e8d91935542b5cf0a62e208079dc5944 | 4,761 | py | Python | NCtools/pandastools.py | ncvangilse/NCtools | b3f10f0c9a4807b75bd64a9d4a5e1651cba026fc | [
"MIT"
] | null | null | null | NCtools/pandastools.py | ncvangilse/NCtools | b3f10f0c9a4807b75bd64a9d4a5e1651cba026fc | [
"MIT"
] | null | null | null | NCtools/pandastools.py | ncvangilse/NCtools | b3f10f0c9a4807b75bd64a9d4a5e1651cba026fc | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Wed Dec 14 10:42:00 2016
@author: fbx182
"""
import pandas as pd
import numpy as np
def resample(df, sr=0.1524, fill=None):
"""
Resamples an input DataFrame to a specified sample rate
Empty cells can be filled with the fill argument
"""
#Calculate the index n... | 41.043103 | 106 | 0.649863 | 724 | 4,761 | 4.187845 | 0.258287 | 0.031662 | 0.034301 | 0.047493 | 0.775726 | 0.753958 | 0.726913 | 0.726913 | 0.708443 | 0.691953 | 0 | 0.024449 | 0.218231 | 4,761 | 116 | 107 | 41.043103 | 0.790167 | 0.426381 | 0 | 0.559322 | 0 | 0 | 0.035458 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050847 | false | 0 | 0.033898 | 0 | 0.135593 | 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 |
6dab71f19f56e26df2e42cff60840afa364e9253 | 31,374 | py | Python | line/f_BotService.py | winbotscript/LineService | 4c79029648e858e567378485e75276f865c1f73f | [
"Apache-2.0"
] | 1 | 2020-08-20T08:00:23.000Z | 2020-08-20T08:00:23.000Z | line/f_BotService.py | winbotscript/LineService | 4c79029648e858e567378485e75276f865c1f73f | [
"Apache-2.0"
] | null | null | null | line/f_BotService.py | winbotscript/LineService | 4c79029648e858e567378485e75276f865c1f73f | [
"Apache-2.0"
] | null | null | null | #
# Autogenerated by Frugal Compiler (3.4.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
from threading import Lock
from frugal.middleware import Method
from frugal.exceptions import TApplicationExceptionType
from frugal.exceptions import TTransportExceptionType
from frugal.processor impo... | 33.84466 | 171 | 0.58711 | 3,077 | 31,374 | 5.750406 | 0.066623 | 0.016785 | 0.013564 | 0.020346 | 0.767605 | 0.739121 | 0.703572 | 0.669662 | 0.65802 | 0.639143 | 0 | 0.005411 | 0.316759 | 31,374 | 926 | 172 | 33.88121 | 0.820022 | 0.049914 | 0 | 0.734752 | 1 | 0 | 0.032355 | 0.011585 | 0 | 0 | 0 | 0 | 0 | 1 | 0.134752 | false | 0.005674 | 0.017021 | 0.034043 | 0.249645 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6dc6bd1c60181bea1afddb5a9a4be4b63cc0b740 | 220 | py | Python | python-execercicio/quantidade_em_segundos.py | isaacfelipe1/exercicio-python-UEA | abf8ce998244b3689a14989d1425d02d21074435 | [
"Apache-2.0"
] | null | null | null | python-execercicio/quantidade_em_segundos.py | isaacfelipe1/exercicio-python-UEA | abf8ce998244b3689a14989d1425d02d21074435 | [
"Apache-2.0"
] | null | null | null | python-execercicio/quantidade_em_segundos.py | isaacfelipe1/exercicio-python-UEA | abf8ce998244b3689a14989d1425d02d21074435 | [
"Apache-2.0"
] | null | null | null | d=int(input("Informe a quantidade de dias\n"))
h=float(input("Informe a quantidade de horas\n"))
m=float(input("Informe a quantidade de minutos\n"))
total_em_segundos= (d*24 + h*60 m*60) * 60
print(total_em_segundos)
| 27.5 | 51 | 0.727273 | 41 | 220 | 3.804878 | 0.487805 | 0.230769 | 0.25 | 0.442308 | 0.544872 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0.041237 | 0.118182 | 220 | 7 | 52 | 31.428571 | 0.762887 | 0 | 0 | 0 | 0 | 0 | 0.429224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6dd6f247898abedbdfb5b10432291c3da127b46c | 153 | py | Python | exercises/two-fer/example.py | wonhyeongseo/python | ccd399510a58ad42d03420e43de67893f55dd411 | [
"MIT"
] | 2 | 2018-11-24T01:00:38.000Z | 2019-02-05T07:32:44.000Z | exercises/two-fer/example.py | toroad/python | ce085c81a82ae5fb460fe166323dbbaa5a2588c5 | [
"MIT"
] | null | null | null | exercises/two-fer/example.py | toroad/python | ce085c81a82ae5fb460fe166323dbbaa5a2588c5 | [
"MIT"
] | null | null | null | def two_fer(name=""):
if not name.strip():
return "One for you, one for me."
else:
return "One for {}, one for me.".format(name)
| 25.5 | 53 | 0.555556 | 24 | 153 | 3.5 | 0.583333 | 0.285714 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.287582 | 153 | 5 | 54 | 30.6 | 0.770642 | 0 | 0 | 0 | 0 | 0 | 0.30719 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
6ddc0ab4ed7a70f9071560c6cb16e05f9a62148f | 55 | py | Python | configs/nl2bash/baseline_train.py | HiroakiMikami/mlprogram | 573e94c567064705fa65267dd83946bf183197de | [
"MIT"
] | 9 | 2020-05-24T11:25:01.000Z | 2022-03-28T15:32:10.000Z | configs/nl2bash/baseline_train.py | HiroakiMikami/mlprogram | 573e94c567064705fa65267dd83946bf183197de | [
"MIT"
] | 87 | 2020-05-09T08:56:55.000Z | 2022-03-31T14:46:45.000Z | configs/nl2bash/baseline_train.py | HiroakiMikami/NL2Prog | 573e94c567064705fa65267dd83946bf183197de | [
"MIT"
] | 3 | 2021-02-22T20:38:29.000Z | 2021-11-11T18:48:44.000Z | imports = ["baseline_base.py", "../baseline/train.py"]
| 27.5 | 54 | 0.672727 | 7 | 55 | 5.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 55 | 1 | 55 | 55 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0.654545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0999efecf5ec114124e0072513b32581be9ee5c2 | 60 | py | Python | bridge/models/__init__.py | atong01/diffusion_schrodinger_bridge | d600ee46ca57f89f56021edc68fb5b5fc50081a7 | [
"MIT"
] | 17 | 2021-10-20T20:28:35.000Z | 2022-03-17T12:06:38.000Z | bridge/models/__init__.py | anon284/schrodinger_bridge | d35dbc681fa37931cff00c8e465b77b39d785b06 | [
"MIT"
] | 1 | 2021-11-10T03:26:51.000Z | 2021-11-22T16:33:35.000Z | bridge/models/__init__.py | anon284/schrodinger_bridge | d35dbc681fa37931cff00c8e465b77b39d785b06 | [
"MIT"
] | 4 | 2021-11-15T11:17:03.000Z | 2022-03-11T16:06:38.000Z | from .basic import ScoreNetwork
from .unet import UNetModel
| 20 | 31 | 0.833333 | 8 | 60 | 6.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 60 | 2 | 32 | 30 | 0.961538 | 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 |
09c81c646d9313921476b5312ebd359364034cf2 | 122 | py | Python | mezzanine/twitter/__init__.py | becomingGuru/mezzanine | 5736d67b503ef352f8838a8afaa65d768cfc01a7 | [
"BSD-2-Clause"
] | null | null | null | mezzanine/twitter/__init__.py | becomingGuru/mezzanine | 5736d67b503ef352f8838a8afaa65d768cfc01a7 | [
"BSD-2-Clause"
] | null | null | null | mezzanine/twitter/__init__.py | becomingGuru/mezzanine | 5736d67b503ef352f8838a8afaa65d768cfc01a7 | [
"BSD-2-Clause"
] | 1 | 2019-07-27T10:56:58.000Z | 2019-07-27T10:56:58.000Z | """
Provides models and utilities for displaying different types of Twitter feeds.
"""
from mezzanine import __version__
| 20.333333 | 78 | 0.795082 | 15 | 122 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147541 | 122 | 5 | 79 | 24.4 | 0.894231 | 0.639344 | 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 |
09ea0b5f8fcbc7dd623d934eb636f96383d14397 | 154 | py | Python | asn/admin.py | skyydq/GreaterWMS | e14014a73b36ec0f0df03712a229b0931cb388fb | [
"Apache-2.0"
] | 1,063 | 2020-11-15T12:55:15.000Z | 2022-03-31T14:33:12.000Z | asn/admin.py | ashrafali46/GreaterWMS | 1aed14a8c26c8ac4571db5e6b07ab7e4fa3c7c72 | [
"Apache-2.0"
] | 96 | 2020-11-18T00:06:05.000Z | 2022-03-03T09:05:39.000Z | asn/admin.py | ashrafali46/GreaterWMS | 1aed14a8c26c8ac4571db5e6b07ab7e4fa3c7c72 | [
"Apache-2.0"
] | 349 | 2020-11-15T13:15:30.000Z | 2022-03-31T11:01:15.000Z | from django.contrib import admin
from . models import AsnListModel, AsnDetailModel
admin.site.register(AsnListModel)
admin.site.register(AsnDetailModel)
| 25.666667 | 49 | 0.844156 | 18 | 154 | 7.222222 | 0.555556 | 0.138462 | 0.261538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084416 | 154 | 5 | 50 | 30.8 | 0.921986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
09ea28608a59be761a8094d5af80e699e0ce8df8 | 246 | py | Python | src/models/database.py | aqua-crew-devs/aquarium | 16c47adb6609e16c00f994003f819d33a9a07c64 | [
"MIT"
] | null | null | null | src/models/database.py | aqua-crew-devs/aquarium | 16c47adb6609e16c00f994003f819d33a9a07c64 | [
"MIT"
] | 3 | 2019-12-28T15:15:26.000Z | 2021-06-02T00:56:52.000Z | src/models/database.py | aqua-crew-devs/aquarium | 16c47adb6609e16c00f994003f819d33a9a07c64 | [
"MIT"
] | null | null | null | from flask import current_app
import pymongo
def get_mongo_client() -> pymongo.MongoClient:
mongo_url = current_app.config["MONGO_URL"]
mongo_port = current_app.config["MONGO_PORT"]
return pymongo.MongoClient(mongo_url, mongo_port)
| 27.333333 | 53 | 0.776423 | 34 | 246 | 5.294118 | 0.441176 | 0.166667 | 0.255556 | 0.288889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134146 | 246 | 8 | 54 | 30.75 | 0.84507 | 0 | 0 | 0 | 0 | 0 | 0.077236 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
11523b94ae41ea549b3e74eafdf2382220a615c1 | 290 | py | Python | src/pywriter/ui/__init__.py | peter88213/PyWriter | 9d0cb2304f29f40fb305c35c547bf6f4f5adbea7 | [
"MIT"
] | 1 | 2020-09-04T08:20:38.000Z | 2020-09-04T08:20:38.000Z | src/pywriter/ui/__init__.py | peter88213/PyWriter | 9d0cb2304f29f40fb305c35c547bf6f4f5adbea7 | [
"MIT"
] | 19 | 2020-01-04T10:43:27.000Z | 2022-03-30T19:03:44.000Z | src/pywriter/ui/__init__.py | peter88213/PyWriter | 9d0cb2304f29f40fb305c35c547bf6f4f5adbea7 | [
"MIT"
] | null | null | null | """Modules for user interfaces.
Modules:
ui -- Provide a base class for user interface facades.
ui_cmd -- Provide a facade for a command line user interface.
ui_tk -- Provide a facade for a Tkinter based GUI.
ui_mb -- Provide a facade for a GUI featuring just message boxes.
"""
| 29 | 66 | 0.724138 | 47 | 290 | 4.404255 | 0.510638 | 0.154589 | 0.202899 | 0.246377 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 290 | 9 | 67 | 32.222222 | 0.9 | 0.941379 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 |
116a89226e9fb24e0e2a06e42f5b968712c0e4a9 | 127 | py | Python | lab1/venv/test4.py | david-p-burton/MLLabs | 1c3a4d5570ebb9444d43186d6b1f00017eb950f7 | [
"MIT"
] | null | null | null | lab1/venv/test4.py | david-p-burton/MLLabs | 1c3a4d5570ebb9444d43186d6b1f00017eb950f7 | [
"MIT"
] | null | null | null | lab1/venv/test4.py | david-p-burton/MLLabs | 1c3a4d5570ebb9444d43186d6b1f00017eb950f7 | [
"MIT"
] | null | null | null |
foo = [25, 68, 'bar', 89.45, 789, 'spam', 0, 'last item']
print(foo[0], ' FIRST ITEM')
print(foo[len(foo) - 1], ' LAST ITEM') | 25.4 | 57 | 0.559055 | 23 | 127 | 3.086957 | 0.652174 | 0.225352 | 0.338028 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0.173228 | 127 | 5 | 58 | 25.4 | 0.542857 | 0 | 0 | 0 | 0 | 0 | 0.291339 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
fecc0ea8f05d8ed892fdf6dbc03e5cb5cf21f37a | 24 | py | Python | idcm_api/__init__.py | nklyuchnikovspb/idcm_api | 7d62665b947a629eb7f8e50e846fea4ad069e44e | [
"Apache-2.0"
] | null | null | null | idcm_api/__init__.py | nklyuchnikovspb/idcm_api | 7d62665b947a629eb7f8e50e846fea4ad069e44e | [
"Apache-2.0"
] | 1 | 2021-06-01T22:53:34.000Z | 2021-06-01T22:53:34.000Z | idcm_api/__init__.py | nklyuchnikovspb/idcm_api | 7d62665b947a629eb7f8e50e846fea4ad069e44e | [
"Apache-2.0"
] | null | null | null | from .api import IDCMApi | 24 | 24 | 0.833333 | 4 | 24 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
feedc88aa89e22f15f3324b492b8c1fd0bc32121 | 196 | py | Python | app/views/logout.py | NavigationApp/ucr-map | df60417521156c1b2dfce0cda427ec4e9a526b37 | [
"MIT"
] | null | null | null | app/views/logout.py | NavigationApp/ucr-map | df60417521156c1b2dfce0cda427ec4e9a526b37 | [
"MIT"
] | null | null | null | app/views/logout.py | NavigationApp/ucr-map | df60417521156c1b2dfce0cda427ec4e9a526b37 | [
"MIT"
] | null | null | null | from flask import url_for, redirect
from app import app
from flask_security.utils import logout_user
@app.route('/logout/')
def logout():
logout_user()
return redirect(url_for("index"))
| 19.6 | 44 | 0.744898 | 29 | 196 | 4.862069 | 0.517241 | 0.12766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147959 | 196 | 9 | 45 | 21.777778 | 0.844311 | 0 | 0 | 0 | 0 | 0 | 0.066327 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.428571 | 0 | 0.714286 | 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 |
fefabdaa697bc5126c6415e321cd31f74d8721ca | 29,071 | py | Python | act/qc/bsrn_tests.py | jrobrien91/ACT | 604b93d75366d23029f89d88df9053d52825c214 | [
"BSD-3-Clause"
] | 9 | 2019-03-11T19:41:34.000Z | 2019-09-17T08:34:19.000Z | act/qc/bsrn_tests.py | jrobrien91/ACT | 604b93d75366d23029f89d88df9053d52825c214 | [
"BSD-3-Clause"
] | 127 | 2019-03-18T12:24:17.000Z | 2020-01-06T20:53:06.000Z | act/qc/bsrn_tests.py | jrobrien91/ACT | 604b93d75366d23029f89d88df9053d52825c214 | [
"BSD-3-Clause"
] | 15 | 2019-03-11T15:30:56.000Z | 2019-11-01T19:10:11.000Z | """
Functions and methods for performing solar radiation tests taken from
the BSRN Global Network recommended QC tests, V2.0
https://bsrn.awi.de
"""
import warnings
import numpy as np
import dask.array as da
from scipy.constants import Stefan_Boltzmann
from act.utils.geo_utils import get_solar_azimuth_elevation
fro... | 48.858824 | 120 | 0.604279 | 3,895 | 29,071 | 4.19846 | 0.080616 | 0.037424 | 0.03718 | 0.023971 | 0.817648 | 0.786094 | 0.756742 | 0.706415 | 0.694674 | 0.660735 | 0 | 0.014507 | 0.319459 | 29,071 | 594 | 121 | 48.941077 | 0.81207 | 0.245846 | 0 | 0.476331 | 0 | 0 | 0.10295 | 0.005573 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011834 | false | 0 | 0.017751 | 0 | 0.038462 | 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 |
3a1f086fb4798aaa4449f4b8297054b5acba9774 | 62 | py | Python | tuiuiu/tuiuiusearch/views/__init__.py | caputomarcos/tuiuiu.io | d8fb57cf95487e7fe1454b2130ef18acc916da46 | [
"BSD-3-Clause"
] | 3 | 2019-08-08T09:09:35.000Z | 2020-12-15T18:04:17.000Z | tuiuiu/tuiuiusearch/views/__init__.py | caputomarcos/tuiuiu.io | d8fb57cf95487e7fe1454b2130ef18acc916da46 | [
"BSD-3-Clause"
] | null | null | null | tuiuiu/tuiuiusearch/views/__init__.py | caputomarcos/tuiuiu.io | d8fb57cf95487e7fe1454b2130ef18acc916da46 | [
"BSD-3-Clause"
] | 1 | 2017-09-09T20:10:40.000Z | 2017-09-09T20:10:40.000Z | from tuiuiu.tuiuiusearch.views.frontend import search # noqa
| 31 | 61 | 0.822581 | 8 | 62 | 6.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 62 | 1 | 62 | 62 | 0.927273 | 0.064516 | 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 |
3a38267ea1aacea09f66f5247b5ef46ea921d652 | 195 | py | Python | ark_rcon/__init__.py | scottjones4k/ark_rcon | 51f6519831d94ef0a9e0cd54df332e1519b203c5 | [
"Apache-2.0"
] | 1 | 2020-07-04T14:47:38.000Z | 2020-07-04T14:47:38.000Z | ark_rcon/__init__.py | scottjones4k/ark_rcon | 51f6519831d94ef0a9e0cd54df332e1519b203c5 | [
"Apache-2.0"
] | 2 | 2021-12-04T10:58:44.000Z | 2022-03-06T20:06:40.000Z | ark_rcon/datastructures/__init__.py | scottjones4k/ark_rcon | 51f6519831d94ef0a9e0cd54df332e1519b203c5 | [
"Apache-2.0"
] | null | null | null | """Data structures to represent server information."""
from ark_rcon.datastructures.players import Players
from ark_rcon.datastructures.logline import LogLine
__all__ = ['Players', 'LogLine']
| 24.375 | 54 | 0.794872 | 23 | 195 | 6.478261 | 0.608696 | 0.09396 | 0.147651 | 0.33557 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107692 | 195 | 7 | 55 | 27.857143 | 0.856322 | 0.246154 | 0 | 0 | 0 | 0 | 0.099291 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
28c4dabbd568535788db5c241047d430d98f7752 | 126 | py | Python | 3346.py | barroslipe/urionlinejudge | a20d8199d9a92b30ea394a6c949967d2fc51aa34 | [
"MIT"
] | null | null | null | 3346.py | barroslipe/urionlinejudge | a20d8199d9a92b30ea394a6c949967d2fc51aa34 | [
"MIT"
] | null | null | null | 3346.py | barroslipe/urionlinejudge | a20d8199d9a92b30ea394a6c949967d2fc51aa34 | [
"MIT"
] | null | null | null | f1, f2 = map(float, input().split())
flutuacao = 1.0 * (1.0 + f1/100) * (1 + f2/100)
print("%.6f" % ((flutuacao - 1.0)*100)) | 25.2 | 47 | 0.531746 | 22 | 126 | 3.045455 | 0.545455 | 0.089552 | 0.328358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201923 | 0.174603 | 126 | 5 | 48 | 25.2 | 0.442308 | 0 | 0 | 0 | 0 | 0 | 0.031496 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 0 | 1 | 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 |
3a6e42ed705d668dc23095e37c0f765b79e0c430 | 56 | py | Python | python/seldon/pipeline/__init__.py | smsahu/seldon-server | 7f6dc5d405736e44205323f04ce431064dd854b3 | [
"Apache-2.0"
] | 1,645 | 2015-02-13T12:31:44.000Z | 2022-03-17T07:50:05.000Z | python/seldon/pipeline/__init__.py | smsahu/seldon-server | 7f6dc5d405736e44205323f04ce431064dd854b3 | [
"Apache-2.0"
] | 57 | 2015-03-26T16:00:23.000Z | 2021-05-10T11:03:40.000Z | python/seldon/pipeline/__init__.py | smsahu/seldon-server | 7f6dc5d405736e44205323f04ce431064dd854b3 | [
"Apache-2.0"
] | 371 | 2015-03-16T11:04:16.000Z | 2022-02-27T01:16:02.000Z | from .cross_validation import SeldonKFold, Seldon_KFold
| 28 | 55 | 0.875 | 7 | 56 | 6.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 56 | 1 | 56 | 56 | 0.921569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3a70f774bee990e82fb75d994813b2fa75ca594b | 26 | py | Python | torch_mir_eval/__init__.py | mpariente/torch_mir_eval | 27f6e94d1646cfcd79d38b1effbcbddff7a4a89a | [
"MIT"
] | null | null | null | torch_mir_eval/__init__.py | mpariente/torch_mir_eval | 27f6e94d1646cfcd79d38b1effbcbddff7a4a89a | [
"MIT"
] | null | null | null | torch_mir_eval/__init__.py | mpariente/torch_mir_eval | 27f6e94d1646cfcd79d38b1effbcbddff7a4a89a | [
"MIT"
] | null | null | null | from .separation import *
| 13 | 25 | 0.769231 | 3 | 26 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3a82e33ce9ae51c7cde97debfdeb3a7d2fa8e185 | 1,261 | py | Python | azure/functions/_abc.py | DalavanCloud/azure-functions-python-worker | b39be55993e8595f9547c9709c8feb55c536e7a6 | [
"MIT"
] | 1 | 2018-11-28T22:31:27.000Z | 2018-11-28T22:31:27.000Z | azure/functions/_abc.py | DalavanCloud/azure-functions-python-worker | b39be55993e8595f9547c9709c8feb55c536e7a6 | [
"MIT"
] | null | null | null | azure/functions/_abc.py | DalavanCloud/azure-functions-python-worker | b39be55993e8595f9547c9709c8feb55c536e7a6 | [
"MIT"
] | null | null | null | import abc
import typing
T = typing.TypeVar('T')
class Out(abc.ABC, typing.Generic[T]):
@abc.abstractmethod
def set(self, val: T) -> None:
pass
@abc.abstractmethod
def get(self) -> T:
pass
class Context(abc.ABC):
@property
@abc.abstractmethod
def invocation_id(self) ... | 16.166667 | 57 | 0.597145 | 142 | 1,261 | 5.260563 | 0.260563 | 0.273092 | 0.321285 | 0.337349 | 0.677376 | 0.613119 | 0.318608 | 0.257028 | 0 | 0 | 0 | 0 | 0.293418 | 1,261 | 77 | 58 | 16.376623 | 0.838384 | 0 | 0 | 0.666667 | 0 | 0 | 0.000793 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.240741 | false | 0.240741 | 0.037037 | 0 | 0.351852 | 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 |
3abb2bf4fddc23345e533d4018c47ce7affe6b4f | 105 | py | Python | src/glip/gl/input/__init__.py | anibali/glip | 50359cdab0064ce233f368039439f4ac1e39e0f9 | [
"Apache-2.0"
] | null | null | null | src/glip/gl/input/__init__.py | anibali/glip | 50359cdab0064ce233f368039439f4ac1e39e0f9 | [
"Apache-2.0"
] | null | null | null | src/glip/gl/input/__init__.py | anibali/glip | 50359cdab0064ce233f368039439f4ac1e39e0f9 | [
"Apache-2.0"
] | null | null | null | from .keyboard import Key, ModifierKey, KeyboardShortcut, Keyboard
from .mouse import MouseButton, Mouse
| 35 | 66 | 0.828571 | 12 | 105 | 7.25 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 105 | 2 | 67 | 52.5 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
c905b30d3f96ec17a92bea81ecee413c8c8e5532 | 14,476 | py | Python | NewDeclarationInQueue/processfiles/customprocess/formulars/davere_01.py | it-pebune/ani-research-data-extraction | e8b0ffecb0835020ce7942223cf566dc45ccee35 | [
"MIT"
] | null | null | null | NewDeclarationInQueue/processfiles/customprocess/formulars/davere_01.py | it-pebune/ani-research-data-extraction | e8b0ffecb0835020ce7942223cf566dc45ccee35 | [
"MIT"
] | 7 | 2022-01-29T22:19:55.000Z | 2022-03-28T18:18:19.000Z | NewDeclarationInQueue/processfiles/customprocess/formulars/davere_01.py | it-pebune/ani-research-data-extraction | e8b0ffecb0835020ce7942223cf566dc45ccee35 | [
"MIT"
] | null | null | null |
from typing import Tuple
from NewDeclarationInQueue.processfiles.customprocess.formulars.davere import DAvere
from NewDeclarationInQueue.processfiles.customprocess.search_text_line_parameter import SearchTextLineParameter
from NewDeclarationInQueue.processfiles.customprocess.table_config_detail import TableConfigDeta... | 52.832117 | 157 | 0.64341 | 1,728 | 14,476 | 5.214699 | 0.070602 | 0.02386 | 0.03296 | 0.062923 | 0.794917 | 0.783487 | 0.783487 | 0.783487 | 0.783487 | 0.783487 | 0 | 0.001446 | 0.283573 | 14,476 | 274 | 158 | 52.832117 | 0.867419 | 0.332205 | 0 | 0.414141 | 0 | 0 | 0.042958 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121212 | false | 0 | 0.151515 | 0 | 0.393939 | 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 |
c9346963f0b4dc3118189b154f669f8e3535a9d7 | 13,543 | py | Python | tests/test_extensions/test_keras_extension/test_keras_serialization.py | adriansmares/openml-deeplearning | 44856ae5f79b553acdb3001e52ca981922f3093f | [
"BSD-3-Clause"
] | null | null | null | tests/test_extensions/test_keras_extension/test_keras_serialization.py | adriansmares/openml-deeplearning | 44856ae5f79b553acdb3001e52ca981922f3093f | [
"BSD-3-Clause"
] | 8 | 2019-05-23T08:03:24.000Z | 2019-09-20T10:14:43.000Z | tests/test_extensions/test_keras_extension/test_keras_serialization.py | adriansmares/openml-deeplearning | 44856ae5f79b553acdb3001e52ca981922f3093f | [
"BSD-3-Clause"
] | 2 | 2019-06-19T11:10:47.000Z | 2019-07-08T10:31:01.000Z | import os
import sys
from collections import OrderedDict
from unittest import mock
import keras
from openml import config
from openml.datasets.functions import get_dataset
from openml.extensions.keras import KerasExtension
from openml.testing import TestBase
this_directory = os.path.dirname(os.path.abspath(__file__)... | 59.660793 | 97 | 0.499372 | 1,140 | 13,543 | 5.690351 | 0.17807 | 0.043009 | 0.049329 | 0.030831 | 0.798828 | 0.769231 | 0.755357 | 0.744566 | 0.744566 | 0.744566 | 0 | 0.032965 | 0.359374 | 13,543 | 226 | 98 | 59.924779 | 0.71473 | 0.018238 | 0 | 0.61658 | 0 | 0 | 0.390189 | 0.078098 | 0 | 0 | 0 | 0 | 0.11399 | 1 | 0.015544 | false | 0 | 0.046632 | 0 | 0.067358 | 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 |
c952770995cdc0ed1f2d0951b87639b4e103991d | 59 | py | Python | tensorboard_logger/__init__.py | aliasrobotics/tensorboard_logger | 7bd9f3c0fb7e52cd4cdc6df37d185d24f0f64d0f | [
"MIT"
] | 685 | 2016-12-09T16:00:19.000Z | 2022-03-08T02:59:20.000Z | tensorboard_logger/__init__.py | paulmoore1/tensorboard_logger | 93968344a471532530f035622118693845f32649 | [
"MIT"
] | 30 | 2016-11-01T08:46:53.000Z | 2022-01-04T05:49:08.000Z | tensorboard_logger/__init__.py | paulmoore1/tensorboard_logger | 93968344a471532530f035622118693845f32649 | [
"MIT"
] | 74 | 2017-01-22T02:17:36.000Z | 2020-07-28T08:12:54.000Z | # -*- coding: utf-8 -*-
from .tensorboard_logger import *
| 14.75 | 33 | 0.644068 | 7 | 59 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.169492 | 59 | 3 | 34 | 19.666667 | 0.734694 | 0.355932 | 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 |
c97188bfcef7ab648d0aed25584e445d9232081c | 237 | py | Python | pydbclib/exceptions.py | taogeYT/py_db | e2d13e4849a9415b6456912714e549420bc1d8f2 | [
"Apache-2.0"
] | 23 | 2018-03-26T08:06:19.000Z | 2021-12-20T03:01:35.000Z | pydbclib/exceptions.py | taogeYT/py_db | e2d13e4849a9415b6456912714e549420bc1d8f2 | [
"Apache-2.0"
] | 2 | 2018-11-26T10:38:17.000Z | 2020-12-12T08:12:39.000Z | pydbclib/exceptions.py | taogeYT/py_db | e2d13e4849a9415b6456912714e549420bc1d8f2 | [
"Apache-2.0"
] | 2 | 2019-03-20T09:18:21.000Z | 2020-05-08T07:57:07.000Z | # -*- coding: utf-8 -*-
"""
@time: 2020/3/19 10:31 上午
@desc:
"""
class SQLFormatError(Exception):
pass
class ParameterError(Exception):
pass
class ConnectError(Exception):
pass
class ExecuteError(Exception):
pass
| 10.772727 | 32 | 0.654008 | 27 | 237 | 5.740741 | 0.666667 | 0.335484 | 0.348387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 0.202532 | 237 | 21 | 33 | 11.285714 | 0.756614 | 0.232068 | 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 |
c973308b14199b88c67e6821b78d625e6c779a6f | 121 | py | Python | incendiary/loggers.py | crazytruth/incendiary | 638422633a4ca192b16f276185cdd1dfb37fb97b | [
"MIT"
] | null | null | null | incendiary/loggers.py | crazytruth/incendiary | 638422633a4ca192b16f276185cdd1dfb37fb97b | [
"MIT"
] | 1 | 2020-10-23T10:16:11.000Z | 2020-10-23T10:16:11.000Z | incendiary/loggers.py | crazytruth/incendiary | 638422633a4ca192b16f276185cdd1dfb37fb97b | [
"MIT"
] | null | null | null | import logging
logger = logging.getLogger("root.incendiary")
error_logger = logging.getLogger("sanic.error.incendiary")
| 24.2 | 58 | 0.801653 | 14 | 121 | 6.857143 | 0.571429 | 0.270833 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07438 | 121 | 4 | 59 | 30.25 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.305785 | 0.181818 | 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 |
c9793827096dc680dc910d44a9905e38be72bbbc | 278 | py | Python | machlearn/clustering/_clustering.py | daniel-yj-yang/pyml | 2328ae1d73eab39f2774331fcfaa10e8fa2fc0de | [
"BSD-3-Clause"
] | 2 | 2020-11-18T13:25:25.000Z | 2020-11-18T13:25:27.000Z | machlearn/clustering/_clustering.py | daniel-yj-yang/pyml | 2328ae1d73eab39f2774331fcfaa10e8fa2fc0de | [
"BSD-3-Clause"
] | null | null | null | machlearn/clustering/_clustering.py | daniel-yj-yang/pyml | 2328ae1d73eab39f2774331fcfaa10e8fa2fc0de | [
"BSD-3-Clause"
] | 2 | 2020-11-18T04:46:07.000Z | 2020-11-25T16:19:39.000Z | # -*- coding: utf-8 -*-
# Author: Daniel Yang <daniel.yj.yang@gmail.com>
#
# License: BSD 3 clause
def demo():
# reference: https://scikit-learn.org/stable/modules/classes.html#module-sklearn.cluster
# https://scikit-learn.org/stable/modules/clustering.html
pass
| 23.166667 | 92 | 0.690647 | 38 | 278 | 5.052632 | 0.763158 | 0.114583 | 0.166667 | 0.197917 | 0.333333 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0.008368 | 0.140288 | 278 | 11 | 93 | 25.272727 | 0.794979 | 0.834532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
a323e78f9273fcc9ef466e40bea6ddb1adc291f0 | 86 | py | Python | tests.py | alex4321/keras-efficient-attention | 73644a06d1004097c41195ffff2d239a6142b181 | [
"MIT"
] | 1 | 2020-03-28T01:03:33.000Z | 2020-03-28T01:03:33.000Z | tests.py | alex4321/keras-efficient-attention | 73644a06d1004097c41195ffff2d239a6142b181 | [
"MIT"
] | null | null | null | tests.py | alex4321/keras-efficient-attention | 73644a06d1004097c41195ffff2d239a6142b181 | [
"MIT"
] | null | null | null | from keras_efficient_attention.efficient_attention_tests import TestEfficientAttention | 86 | 86 | 0.953488 | 9 | 86 | 8.666667 | 0.777778 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034884 | 86 | 1 | 86 | 86 | 0.939759 | 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 |
a3722014a62cdef7fec2d94f38e79dc886dc87f6 | 352 | py | Python | python_crash_course/3-5.py | poplol240/programs | 73660555b866702091141a7c2231f96f18894cf5 | [
"MIT"
] | null | null | null | python_crash_course/3-5.py | poplol240/programs | 73660555b866702091141a7c2231f96f18894cf5 | [
"MIT"
] | null | null | null | python_crash_course/3-5.py | poplol240/programs | 73660555b866702091141a7c2231f96f18894cf5 | [
"MIT"
] | null | null | null | peple = ["gilbert", "david", "richard"]
print("welcome to my parlor, " + peple[0])
print("welcome to my parlor, " + peple[1])
print("welcome to my parlor, " + peple[2])
print("richard is too stupid to come, so his not comming.")
peple = ["gilbert", "david"]
print("welcome to my parlor, " + peple[0])
print("wel... | 39.111111 | 60 | 0.639205 | 53 | 352 | 4.245283 | 0.377358 | 0.266667 | 0.311111 | 0.355556 | 0.617778 | 0.617778 | 0.497778 | 0.497778 | 0.497778 | 0.497778 | 0 | 0.017241 | 0.176136 | 352 | 9 | 61 | 39.111111 | 0.758621 | 0 | 0 | 0.5 | 0 | 0 | 0.553623 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
6e8407177752b3442ce2a6645a057ad3c7281477 | 74 | py | Python | genesis/__main__.py | gjolly/genesis | 87b3bfde1e8bd423a048987929354e22cf49bc50 | [
"MIT"
] | 1 | 2022-03-16T15:24:48.000Z | 2022-03-16T15:24:48.000Z | genesis/__main__.py | gjolly/genesis | 87b3bfde1e8bd423a048987929354e22cf49bc50 | [
"MIT"
] | null | null | null | genesis/__main__.py | gjolly/genesis | 87b3bfde1e8bd423a048987929354e22cf49bc50 | [
"MIT"
] | null | null | null | import genesis.build
if __name__ == '__main__':
genesis.build.main()
| 14.8 | 26 | 0.702703 | 9 | 74 | 4.888889 | 0.666667 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 74 | 4 | 27 | 18.5 | 0.709677 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 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 |
6edc2dd3b53a95443b46db619c10a91fbd9c8b0e | 88,072 | py | Python | fn_codegen_test/fn_codegen_test/util/customize.py | rudimeyer/resilient-community-apps | 7a46841ba41fa7a1c421d4b392b0a3ca9e36bd00 | [
"MIT"
] | 1 | 2020-08-25T03:43:07.000Z | 2020-08-25T03:43:07.000Z | fn_codegen_test/fn_codegen_test/util/customize.py | rudimeyer/resilient-community-apps | 7a46841ba41fa7a1c421d4b392b0a3ca9e36bd00 | [
"MIT"
] | 1 | 2019-07-08T16:57:48.000Z | 2019-07-08T16:57:48.000Z | fn_codegen_test/fn_codegen_test/util/customize.py | rudimeyer/resilient-community-apps | 7a46841ba41fa7a1c421d4b392b0a3ca9e36bd00 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Generate the Resilient customizations required for fn_codegen_test"""
from __future__ import print_function
from resilient_circuits.util import *
def codegen_reload_data():
"""Parameters to codegen used to generate the fn_codegen_test package"""
reload_params = {"package": u"fn_cod... | 74.07233 | 798 | 0.970649 | 1,572 | 88,072 | 54.239822 | 0.718193 | 0.002932 | 0.000938 | 0.000399 | 0.020946 | 0.0114 | 0 | 0 | 0 | 0 | 0 | 0.107902 | 0.024957 | 88,072 | 1,189 | 799 | 74.07233 | 0.885006 | 0.020324 | 0 | 0.135257 | 1 | 0 | 0.985416 | 0.965204 | 0 | 1 | 0 | 0 | 0 | 1 | 0.001803 | false | 0.000902 | 0.002705 | 0 | 0.00541 | 0.000902 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6e34a64229e80f83fd64e1fd28118aab408fb8db | 609 | py | Python | tests/api.py | gve-vse-tim/virlutils | 64687229ea8763509aca54b63144b61037e5228f | [
"MIT"
] | 12 | 2018-03-27T14:02:22.000Z | 2018-06-07T16:19:38.000Z | tests/api.py | gve-vse-tim/virlutils | 64687229ea8763509aca54b63144b61037e5228f | [
"MIT"
] | 29 | 2017-12-14T16:38:12.000Z | 2018-08-19T18:41:06.000Z | tests/api.py | gve-vse-tim/virlutils | 64687229ea8763509aca54b63144b61037e5228f | [
"MIT"
] | 7 | 2018-03-02T15:42:22.000Z | 2020-04-20T11:25:32.000Z | from . import BaseTest
from virl.api import VIRLServer
class Tests(BaseTest):
def test_create_virl_server(self):
server = VIRLServer()
self.assertIsInstance(server, VIRLServer)
def test_user(self):
server = VIRLServer()
server.user = 'foo'
self.assertEqual(server.user... | 24.36 | 50 | 0.633826 | 65 | 609 | 5.846154 | 0.323077 | 0.210526 | 0.210526 | 0.205263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2578 | 609 | 24 | 51 | 25.375 | 0.840708 | 0 | 0 | 0.222222 | 0 | 0 | 0.055829 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.222222 | false | 0.111111 | 0.111111 | 0 | 0.388889 | 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 |
2874ca1075b477a9b0d36ad381d8f4c0e2493cfd | 167 | py | Python | pygamentos/__init__.py | danielguilhermino/pygamentos | 4c477fc05c5781f3fc407792440e1c7240c93a41 | [
"MIT"
] | 4 | 2019-09-11T16:47:20.000Z | 2019-09-12T00:59:55.000Z | pygamentos/__init__.py | danielguilhermino/pygamentos | 4c477fc05c5781f3fc407792440e1c7240c93a41 | [
"MIT"
] | null | null | null | pygamentos/__init__.py | danielguilhermino/pygamentos | 4c477fc05c5781f3fc407792440e1c7240c93a41 | [
"MIT"
] | 1 | 2019-11-23T14:33:38.000Z | 2019-11-23T14:33:38.000Z | # -*- coding: utf-8 -*-
import requests
import json
from .config import *
from .request_refund import *
from .request_payment import *
from .cancel_payment import * | 16.7 | 30 | 0.736527 | 22 | 167 | 5.454545 | 0.545455 | 0.25 | 0.283333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007143 | 0.161677 | 167 | 10 | 31 | 16.7 | 0.85 | 0.125749 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
955256efed2a411f0273f0fa424b4d199c3195b4 | 59 | py | Python | stve/application/__init__.py | TE-ToshiakiTanaka/stve | 30b1a0c9b8b20f7059999b0b25b16d6b43aa935c | [
"MIT"
] | null | null | null | stve/application/__init__.py | TE-ToshiakiTanaka/stve | 30b1a0c9b8b20f7059999b0b25b16d6b43aa935c | [
"MIT"
] | null | null | null | stve/application/__init__.py | TE-ToshiakiTanaka/stve | 30b1a0c9b8b20f7059999b0b25b16d6b43aa935c | [
"MIT"
] | null | null | null | from stve.application.stvetestrunner import StveTestRunner
| 29.5 | 58 | 0.898305 | 6 | 59 | 8.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 59 | 1 | 59 | 59 | 0.963636 | 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 |
959437e82be1e79aea3b399e20445ce827793b30 | 1,015 | py | Python | mltools/perfmeasures.py | grst/mltools | d3acee3169aeca592b59d68dad8f1b44460808b4 | [
"MIT"
] | null | null | null | mltools/perfmeasures.py | grst/mltools | d3acee3169aeca592b59d68dad8f1b44460808b4 | [
"MIT"
] | null | null | null | mltools/perfmeasures.py | grst/mltools | d3acee3169aeca592b59d68dad8f1b44460808b4 | [
"MIT"
] | null | null | null | import numpy as np
from math import sqrt
def mcc(TP, FN, FP, TN):
return np.divide(TP * TN + FP * FN, sqrt( (TP+FP) * (TP+FN) * (TN+FP) * (TN+FN)))
def sens(TP, FN, FP, TN):
return TP / (TP + FN)
def recall(TP, FN, FP, TN):
return sens(TP, FN, FP, TN)
def spec(TP, FN, FP, TN):
return TN / (TN + FP)
... | 29.852941 | 85 | 0.55665 | 194 | 1,015 | 2.840206 | 0.118557 | 0.166969 | 0.217786 | 0.290381 | 0.77314 | 0.682396 | 0.646098 | 0.580762 | 0.526316 | 0.442831 | 0 | 0.005277 | 0.253202 | 1,015 | 33 | 86 | 30.757576 | 0.721636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.423077 | false | 0 | 0.076923 | 0.423077 | 0.923077 | 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 |
95b3238f4dacb9b5595bc607f89ff24dd02d4987 | 151 | py | Python | resumator/templatetags/base_extras.py | AmmsA/django-resumator | 0939efe30abbd679fd3fdcd9903f3b7be80b87d8 | [
"MIT"
] | 13 | 2015-11-12T04:45:36.000Z | 2016-10-09T18:23:36.000Z | resumator/templatetags/base_extras.py | AmmsA/django-resumator | 0939efe30abbd679fd3fdcd9903f3b7be80b87d8 | [
"MIT"
] | 9 | 2015-11-13T05:28:23.000Z | 2016-10-16T05:36:40.000Z | resumator/templatetags/base_extras.py | unaisshazan/django-resumeweb-generator-python | 3a2723e1786640354fc171aff79bde7eef758188 | [
"MIT"
] | 6 | 2016-04-20T09:45:08.000Z | 2018-05-16T20:39:43.000Z | from django import template
import resumator
register = template.Library()
@register.simple_tag
def get_version():
return resumator.__version__
| 15.1 | 32 | 0.794702 | 18 | 151 | 6.333333 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139073 | 151 | 9 | 33 | 16.777778 | 0.876923 | 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 | 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 |
95cddacdb34c9ead3607d73248574e316a5d0bbf | 52 | py | Python | curver/__init__.py | kieranrcampbell/curver-python | d4226d8eb2dbafe325d9a8c5acf6b06cb7472a28 | [
"Apache-2.0"
] | 12 | 2015-12-30T05:31:21.000Z | 2021-07-03T11:53:29.000Z | curver/__init__.py | kieranrcampbell/curver-python | d4226d8eb2dbafe325d9a8c5acf6b06cb7472a28 | [
"Apache-2.0"
] | null | null | null | curver/__init__.py | kieranrcampbell/curver-python | d4226d8eb2dbafe325d9a8c5acf6b06cb7472a28 | [
"Apache-2.0"
] | 7 | 2018-12-08T15:43:53.000Z | 2022-01-29T07:01:57.000Z | # __init__.py for curver
from .curver import Curver | 17.333333 | 26 | 0.788462 | 8 | 52 | 4.625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 52 | 3 | 26 | 17.333333 | 0.840909 | 0.423077 | 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 |
2546b4cb3214f54155f2134e8e7817b8670869cd | 86 | py | Python | fluentogram/exceptions/__init__.py | Arustinal/fluentogram | c3d7b307b40d520ef1db5e2a0945f3d7fe269b78 | [
"MIT"
] | null | null | null | fluentogram/exceptions/__init__.py | Arustinal/fluentogram | c3d7b307b40d520ef1db5e2a0945f3d7fe269b78 | [
"MIT"
] | null | null | null | fluentogram/exceptions/__init__.py | Arustinal/fluentogram | c3d7b307b40d520ef1db5e2a0945f3d7fe269b78 | [
"MIT"
] | null | null | null | # coding=utf-8
from .root_locale_translator import NotImplementedRootLocaleTranslator
| 28.666667 | 70 | 0.883721 | 9 | 86 | 8.222222 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.069767 | 86 | 2 | 71 | 43 | 0.9125 | 0.139535 | 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 |
c27d9b419c9bc7c8b1bce78a1a092fdc5a128275 | 129 | py | Python | tests/conftest.py | d2207197/orz | c7f7bfea5f1578ef25fbd7685efd98a5f533cbb8 | [
"Apache-2.0"
] | 1 | 2020-05-10T11:10:08.000Z | 2020-05-10T11:10:08.000Z | tests/conftest.py | d2207197/orz | c7f7bfea5f1578ef25fbd7685efd98a5f533cbb8 | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | d2207197/orz | c7f7bfea5f1578ef25fbd7685efd98a5f533cbb8 | [
"Apache-2.0"
] | null | null | null | import orz
import pytest
@pytest.fixture(autouse=True)
def add_orz(doctest_namespace):
doctest_namespace["orz"] = orz
| 14.333333 | 38 | 0.736434 | 17 | 129 | 5.411765 | 0.588235 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 129 | 8 | 39 | 16.125 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.023438 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c29147e191f74f89d277053f205e400da2f16eda | 75 | py | Python | exercicios-Python/aula08c.py | pedrosimoes-programmer/exercicios-python | 150de037496d63d76086678d87425a8ccfc74573 | [
"MIT"
] | null | null | null | exercicios-Python/aula08c.py | pedrosimoes-programmer/exercicios-python | 150de037496d63d76086678d87425a8ccfc74573 | [
"MIT"
] | null | null | null | exercicios-Python/aula08c.py | pedrosimoes-programmer/exercicios-python | 150de037496d63d76086678d87425a8ccfc74573 | [
"MIT"
] | null | null | null | import emoji
print(emoji.emojize('Olá a todos: :pray: ', use_aliases=True)) | 37.5 | 62 | 0.746667 | 12 | 75 | 4.583333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093333 | 75 | 2 | 62 | 37.5 | 0.808824 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
c2ab349c1e4051dc88747113c200be5331058c12 | 358 | py | Python | src/z3c/relationfield/__init__.py | mingtak/z3c.relationfield_for_utaipei | f23b36aa32a4f9dce67a6dd457f90dc7b14d4df7 | [
"ZPL-2.1"
] | 2 | 2016-02-07T11:46:54.000Z | 2016-04-27T11:40:59.000Z | src/z3c/relationfield/__init__.py | mingtak/z3c.relationfield_for_utaipei | f23b36aa32a4f9dce67a6dd457f90dc7b14d4df7 | [
"ZPL-2.1"
] | 19 | 2015-09-09T01:16:32.000Z | 2021-12-21T16:41:08.000Z | src/z3c/relationfield/__init__.py | mingtak/z3c.relationfield_for_utaipei | f23b36aa32a4f9dce67a6dd457f90dc7b14d4df7 | [
"ZPL-2.1"
] | 6 | 2015-09-09T01:13:32.000Z | 2018-02-20T23:15:44.000Z | from z3c.relationfield.relation import (RelationValue,
TemporaryRelationValue,
create_relation)
from z3c.relationfield.index import RelationCatalog
from z3c.relationfield.schema import Relation, RelationChoice, RelationList
from z3c.relatio... | 51.142857 | 75 | 0.681564 | 30 | 358 | 8.066667 | 0.533333 | 0.115702 | 0.330579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015504 | 0.27933 | 358 | 6 | 76 | 59.666667 | 0.922481 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c2bae5424bb2eb35c58185b3aa60df7023494d1b | 85 | py | Python | tests/test_misc.py | maggie-jiayizhang/wals3 | fa8f9a9cf968920f16859a075a08502988c9ec4d | [
"Apache-2.0"
] | 86 | 2015-03-18T07:47:54.000Z | 2022-03-27T10:16:01.000Z | tests/test_misc.py | maggie-jiayizhang/wals3 | fa8f9a9cf968920f16859a075a08502988c9ec4d | [
"Apache-2.0"
] | 21 | 2015-01-15T14:13:06.000Z | 2021-11-24T11:17:59.000Z | tests/test_misc.py | maggie-jiayizhang/wals3 | fa8f9a9cf968920f16859a075a08502988c9ec4d | [
"Apache-2.0"
] | 16 | 2015-02-13T05:31:11.000Z | 2022-03-03T08:54:37.000Z | def test_init():
from wals3.scripts import initializedb
assert initializedb
| 17 | 42 | 0.752941 | 10 | 85 | 6.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.2 | 85 | 4 | 43 | 21.25 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6c7989a91ff1075b6a8e37383dc5b6ed22a098ce | 54 | py | Python | pyxb/bundles/opengis/citygml/relief.py | eLBati/pyxb | 14737c23a125fd12c954823ad64fc4497816fae3 | [
"Apache-2.0"
] | 123 | 2015-01-12T06:43:22.000Z | 2022-03-20T18:06:46.000Z | pyxb/bundles/opengis/citygml/relief.py | eLBati/pyxb | 14737c23a125fd12c954823ad64fc4497816fae3 | [
"Apache-2.0"
] | 103 | 2015-01-08T18:35:57.000Z | 2022-01-18T01:44:14.000Z | pyxb/bundles/opengis/citygml/relief.py | eLBati/pyxb | 14737c23a125fd12c954823ad64fc4497816fae3 | [
"Apache-2.0"
] | 54 | 2015-02-15T17:12:00.000Z | 2022-03-07T23:02:32.000Z | from pyxb.bundles.opengis.citygml.raw.relief import *
| 27 | 53 | 0.814815 | 8 | 54 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 54 | 1 | 54 | 54 | 0.88 | 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 |
66de6d6b857a883e74072930b92750c353d94a4c | 17,037 | py | Python | plotting/paper_appendix_eff_robust_topk.py | saarimrahman/imagenet-testbed | 55a867d091c7193225880010853ed2b4b0b73ec9 | [
"MIT"
] | 69 | 2020-07-21T01:17:45.000Z | 2022-03-24T16:31:32.000Z | plotting/paper_appendix_eff_robust_topk.py | saarimrahman/imagenet-testbed | 55a867d091c7193225880010853ed2b4b0b73ec9 | [
"MIT"
] | 6 | 2020-12-07T19:17:05.000Z | 2022-02-23T23:39:22.000Z | plotting/paper_appendix_eff_robust_topk.py | saarimrahman/imagenet-testbed | 55a867d091c7193225880010853ed2b4b0b73ec9 | [
"MIT"
] | 4 | 2020-10-31T23:51:58.000Z | 2022-03-25T06:15:55.000Z | import os
from os.path import join, exists
import argparse
import pathlib
import click
import numpy as np
import pandas as pd
import scipy.stats
import download_data
import dataframe
import plotter
from plotter import transform_acc, inv_transform_acc
from model_types import ModelTypes, model_types_map, NatModelTypes,... | 46.676712 | 128 | 0.573399 | 2,104 | 17,037 | 4.237643 | 0.103612 | 0.046321 | 0.026918 | 0.053387 | 0.802266 | 0.758188 | 0.7417 | 0.715455 | 0.698744 | 0.683378 | 0 | 0.015362 | 0.308446 | 17,037 | 364 | 129 | 46.804945 | 0.741385 | 0.006691 | 0 | 0.602041 | 0 | 0.006803 | 0.155447 | 0.041374 | 0 | 0 | 0 | 0 | 0.003401 | 1 | 0.02381 | false | 0 | 0.044218 | 0.003401 | 0.088435 | 0.006803 | 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 |
dd022253109ff8ecaffb8f1ace1f314c9173ba47 | 90 | py | Python | gfapy/line/edge/gfa1/alignment_type.py | ujjwalsh/gfapy | 891ef3df695f20c67809e5a54549c876d90690b4 | [
"ISC"
] | 44 | 2017-03-18T08:08:04.000Z | 2021-11-10T16:11:15.000Z | gfapy/line/edge/gfa1/alignment_type.py | ujjwalsh/gfapy | 891ef3df695f20c67809e5a54549c876d90690b4 | [
"ISC"
] | 22 | 2017-04-04T21:20:31.000Z | 2022-03-09T19:05:30.000Z | gfapy/line/edge/gfa1/alignment_type.py | ujjwalsh/gfapy | 891ef3df695f20c67809e5a54549c876d90690b4 | [
"ISC"
] | 5 | 2017-07-07T02:56:56.000Z | 2020-09-30T20:10:49.000Z | class AlignmentType:
@property
def _alignment_type(self):
return self.record_type
| 18 | 28 | 0.766667 | 11 | 90 | 6 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 90 | 4 | 29 | 22.5 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
dd10006c9fa66acf457b337b453b54ff52fee2eb | 44 | py | Python | data/__init__.py | sarthakchaudhary13/AOTD | 7f670b376d23f85d5ca166bc399a13a8be59618c | [
"MIT"
] | 3 | 2020-05-23T18:46:35.000Z | 2020-05-29T08:12:15.000Z | data/__init__.py | sarthakchaudhary13/AOTD | 7f670b376d23f85d5ca166bc399a13a8be59618c | [
"MIT"
] | 18 | 2020-05-28T15:29:16.000Z | 2021-04-15T11:19:05.000Z | data/__init__.py | sarthakchaudhary13/AOTD | 7f670b376d23f85d5ca166bc399a13a8be59618c | [
"MIT"
] | 3 | 2020-05-23T18:46:41.000Z | 2020-05-29T08:12:16.000Z | #this package is for storing neccesarry data | 44 | 44 | 0.840909 | 7 | 44 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 44 | 1 | 44 | 44 | 0.973684 | 0.977273 | 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 |
dd2fb56ece868c3660f81ae4bc7af3d7e4fb0e38 | 30 | py | Python | rd.py | jwrick816/fastmac-VNCgui | 212e0226cc397d665dea1f703e5785cb1bf09b27 | [
"Apache-2.0"
] | null | null | null | rd.py | jwrick816/fastmac-VNCgui | 212e0226cc397d665dea1f703e5785cb1bf09b27 | [
"Apache-2.0"
] | null | null | null | rd.py | jwrick816/fastmac-VNCgui | 212e0226cc397d665dea1f703e5785cb1bf09b27 | [
"Apache-2.0"
] | null | null | null | import time
time.sleep(21300)
| 10 | 17 | 0.8 | 5 | 30 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 0.1 | 30 | 2 | 18 | 15 | 0.703704 | 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 |
06bc576c973669ef151ea9d80bba623dde84b7f9 | 210,909 | py | Python | opem/Script.py | Martenet/opem | 3b386b14bbd5d2cc5a376a7fc80c7d93dd7523f5 | [
"MIT"
] | 173 | 2017-12-24T07:35:01.000Z | 2022-03-08T17:31:20.000Z | opem/Script.py | Martenet/opem | 3b386b14bbd5d2cc5a376a7fc80c7d93dd7523f5 | [
"MIT"
] | 130 | 2017-12-16T16:08:37.000Z | 2022-03-21T09:46:39.000Z | opem/Script.py | Martenet/opem | 3b386b14bbd5d2cc5a376a7fc80c7d93dd7523f5 | [
"MIT"
] | 45 | 2017-12-16T16:05:58.000Z | 2022-02-28T17:43:12.000Z | # -*- coding: utf-8 -*-
"""Chart.js script."""
JS_SCRIPT = r'''
/*!
* Chart.js
* http://chartjs.org/
* Version: 2.7.1
*
* Copyright 2017 Nick Downie
* Released under the MIT license
* https://github.com/chartjs/Chart.js/blob/master/LICENSE.md
*/
!function(t){if("object"==typeof exports&&"undefined"!=typeof modu... | 1,687.272 | 208,031 | 0.687794 | 42,525 | 210,909 | 3.387372 | 0.048019 | 0.041299 | 0.018119 | 0.010691 | 0.343316 | 0.266911 | 0.220565 | 0.185751 | 0.16196 | 0.142973 | 0 | 0.0375 | 0.019236 | 210,909 | 124 | 208,032 | 1,700.879032 | 0.658882 | 0.000185 | 0 | 0.737288 | 0 | 0.008475 | 0.999393 | 0.931297 | 0.008475 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.008475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
06cc225b2dc29d55f06282d210a0c63f9331ce97 | 43 | py | Python | exceptions/db_exceptions.py | 0rang3max/fourinrow-bot | 3a6c8751cb66e506137a84c37d7c0de526092454 | [
"MIT"
] | 3 | 2021-12-28T21:38:31.000Z | 2022-03-05T19:03:27.000Z | exceptions/db_exceptions.py | 0rang3max/fourinrow-bot | 3a6c8751cb66e506137a84c37d7c0de526092454 | [
"MIT"
] | null | null | null | exceptions/db_exceptions.py | 0rang3max/fourinrow-bot | 3a6c8751cb66e506137a84c37d7c0de526092454 | [
"MIT"
] | null | null | null | class GameDoesNotExist(Exception):
pass | 21.5 | 34 | 0.790698 | 4 | 43 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 43 | 2 | 35 | 21.5 | 0.918919 | 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 |
06fb0903e24638bb9706ba18e2285e98c3d48045 | 39 | py | Python | Ourlogger/__init__.py | peleg525/Ourlogger | d5f90e8d1a098e2261696024deee7b871c691fd7 | [
"MIT"
] | null | null | null | Ourlogger/__init__.py | peleg525/Ourlogger | d5f90e8d1a098e2261696024deee7b871c691fd7 | [
"MIT"
] | null | null | null | Ourlogger/__init__.py | peleg525/Ourlogger | d5f90e8d1a098e2261696024deee7b871c691fd7 | [
"MIT"
] | null | null | null | from Ourlogger.Ourlogger import logger
| 19.5 | 38 | 0.871795 | 5 | 39 | 6.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 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 |
06fc7df99c796595265f1a42c2b6fdc43e58dc32 | 165 | py | Python | w3resource/Basics- Part I/basics009.py | DanielPascualSenties/pythonw3 | f0355d1b640dec19e0b087797538204332111bb5 | [
"MIT"
] | null | null | null | w3resource/Basics- Part I/basics009.py | DanielPascualSenties/pythonw3 | f0355d1b640dec19e0b087797538204332111bb5 | [
"MIT"
] | null | null | null | w3resource/Basics- Part I/basics009.py | DanielPascualSenties/pythonw3 | f0355d1b640dec19e0b087797538204332111bb5 | [
"MIT"
] | null | null | null | exam_st_date = (11, 12, 2014)
print("The examination will start from : " + str(exam_st_date[0]) + " / " + str(exam_st_date[1]) +
" / " + str(exam_st_date[2]))
| 41.25 | 98 | 0.606061 | 27 | 165 | 3.407407 | 0.592593 | 0.26087 | 0.434783 | 0.423913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082707 | 0.193939 | 165 | 3 | 99 | 55 | 0.609023 | 0 | 0 | 0 | 0 | 0 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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.