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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
736997579c6c03bb5473f9480cae7d5434895ecd | 225 | py | Python | language_invariant_properties/abstractions/classifiers.py | MilaNLProc/language-invariant-properties | 805b206976dd4645966ca76e554c3929fd681e68 | [
"MIT"
] | 14 | 2021-09-21T07:31:32.000Z | 2022-03-10T06:04:17.000Z | language_invariant_properties/abstractions/classifiers.py | MilaNLProc/language-invariant-properties | 805b206976dd4645966ca76e554c3929fd681e68 | [
"MIT"
] | null | null | null | language_invariant_properties/abstractions/classifiers.py | MilaNLProc/language-invariant-properties | 805b206976dd4645966ca76e554c3929fd681e68 | [
"MIT"
] | null | null | null | import abc
class AbstractClassifier(abc.ABC):
def __init__(self):
pass
@abc.abstractmethod
def train(self, text, labels):
pass
@abc.abstractmethod
def predict(self, text):
pass
| 15 | 34 | 0.617778 | 25 | 225 | 5.4 | 0.52 | 0.103704 | 0.311111 | 0.355556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.293333 | 225 | 14 | 35 | 16.071429 | 0.849057 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.3 | 0.1 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
73ce5b80f731b7e7485abce4592d17ecef765310 | 92 | py | Python | portfolio/admin.py | sujithrex/django-p-portfolio | c8e998ef6e78c1b0e4c383e6579e6b849557044c | [
"MIT"
] | null | null | null | portfolio/admin.py | sujithrex/django-p-portfolio | c8e998ef6e78c1b0e4c383e6579e6b849557044c | [
"MIT"
] | null | null | null | portfolio/admin.py | sujithrex/django-p-portfolio | c8e998ef6e78c1b0e4c383e6579e6b849557044c | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import project
admin.site.register(project)
| 15.333333 | 32 | 0.815217 | 13 | 92 | 5.769231 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119565 | 92 | 5 | 33 | 18.4 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
73e104568155b7ab74953232d0da49fd289a50e6 | 1,094 | py | Python | src/clients/python/test/test_scrub_result.py | cityofcapetown/cape-good-of-place-names | 0b73a67e9019c910663d3d502a947e9564d04b70 | [
"MIT"
] | null | null | null | src/clients/python/test/test_scrub_result.py | cityofcapetown/cape-good-of-place-names | 0b73a67e9019c910663d3d502a947e9564d04b70 | [
"MIT"
] | 16 | 2020-07-31T08:45:04.000Z | 2021-12-23T23:54:19.000Z | src/clients/python/test/test_scrub_result.py | cityofcapetown/cape-good-of-place-names | 0b73a67e9019c910663d3d502a947e9564d04b70 | [
"MIT"
] | 1 | 2020-07-31T10:09:59.000Z | 2020-07-31T10:09:59.000Z | # coding: utf-8
"""
Cape of Good Place Names Service
This is a stateless service for performing various geotranslation operations, moving between how people describe places and codified coordinate systems. # noqa: E501
OpenAPI spec version: 0.1.0
Contact: opmdata+cogpn-support@capetown.gov.za
Ge... | 27.35 | 170 | 0.738574 | 141 | 1,094 | 5.48227 | 0.609929 | 0.03881 | 0.064683 | 0.097025 | 0.214748 | 0.188875 | 0.155239 | 0.111255 | 0.111255 | 0 | 0 | 0.014623 | 0.187386 | 1,094 | 39 | 171 | 28.051282 | 0.854893 | 0.52011 | 0 | 0.214286 | 0 | 0 | 0.016563 | 0 | 0 | 0 | 0 | 0.025641 | 0 | 1 | 0.214286 | false | 0.214286 | 0.357143 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
73e616179714721fa08e3320defbe2be075f7dbd | 23,688 | py | Python | tests/test_image_sequence_reference.py | eric-with-a-c/OpenTimelineIO | 9f55adfc78293b4f508c4a27a34e110ccd92fca6 | [
"Apache-2.0"
] | 1 | 2022-03-26T12:59:59.000Z | 2022-03-26T12:59:59.000Z | tests/test_image_sequence_reference.py | eric-with-a-c/OpenTimelineIO | 9f55adfc78293b4f508c4a27a34e110ccd92fca6 | [
"Apache-2.0"
] | 40 | 2021-09-13T03:09:21.000Z | 2022-03-28T03:11:10.000Z | tests/test_image_sequence_reference.py | eric-with-a-c/OpenTimelineIO | 9f55adfc78293b4f508c4a27a34e110ccd92fca6 | [
"Apache-2.0"
] | 1 | 2022-03-09T03:37:24.000Z | 2022-03-09T03:37:24.000Z | """Test harness for Image Sequence References."""
import unittest
import sys
import opentimelineio as otio
import opentimelineio.test_utils as otio_test_utils
IS_PYTHON_2 = (sys.version_info < (3, 0))
class ImageSequenceReferenceTests(
unittest.TestCase, otio_test_utils.OTIOAssertions
):
def test_create(se... | 33.36338 | 81 | 0.548252 | 2,517 | 23,688 | 4.929281 | 0.085816 | 0.088015 | 0.119932 | 0.047151 | 0.816072 | 0.784396 | 0.751834 | 0.711211 | 0.668091 | 0.618602 | 0 | 0.0364 | 0.337766 | 23,688 | 709 | 82 | 33.410437 | 0.75451 | 0.024021 | 0 | 0.602585 | 0 | 0.001616 | 0.150336 | 0.07231 | 0 | 0 | 0 | 0 | 0.106624 | 1 | 0.038772 | false | 0 | 0.008078 | 0 | 0.048465 | 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 |
73e8418b29f9bf717dddce431130681be6def75e | 556 | py | Python | tests/trees/test_bst.py | velimir0xff/hackerrank-py | dd18155f0d5a8cffdd7ee663bb0bee6ddf5e80af | [
"MIT"
] | null | null | null | tests/trees/test_bst.py | velimir0xff/hackerrank-py | dd18155f0d5a8cffdd7ee663bb0bee6ddf5e80af | [
"MIT"
] | null | null | null | tests/trees/test_bst.py | velimir0xff/hackerrank-py | dd18155f0d5a8cffdd7ee663bb0bee6ddf5e80af | [
"MIT"
] | null | null | null | from hr.graphs.trees import Node, checkBST
def test_single_node_bst():
assert checkBST(Node(0))
def test_check_bst_1():
assert checkBST(Node(4, Node(2), Node(6)))
def test_check_bst_2():
assert checkBST(Node(4, Node(2, Node(1)), Node(6)))
def test_check_bst_3():
assert checkBST(Node(4, Node(2, N... | 21.384615 | 74 | 0.665468 | 100 | 556 | 3.52 | 0.24 | 0.119318 | 0.170455 | 0.213068 | 0.642045 | 0.642045 | 0.454545 | 0.318182 | 0.318182 | 0.318182 | 0 | 0.059701 | 0.156475 | 556 | 25 | 75 | 22.24 | 0.690832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.461538 | 1 | 0.461538 | true | 0 | 0.076923 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
73ea20537162ee80abb307f3e642be3d3b5b073a | 241 | py | Python | toontown/rpc/AwardManagerUD.py | TheFamiliarScoot/open-toontown | 678313033174ea7d08e5c2823bd7b473701ff547 | [
"BSD-3-Clause"
] | 99 | 2019-11-02T22:25:00.000Z | 2022-02-03T03:48:00.000Z | toontown/rpc/AwardManagerUD.py | TheFamiliarScoot/open-toontown | 678313033174ea7d08e5c2823bd7b473701ff547 | [
"BSD-3-Clause"
] | 42 | 2019-11-03T05:31:08.000Z | 2022-03-16T22:50:32.000Z | toontown/rpc/AwardManagerUD.py | TheFamiliarScoot/open-toontown | 678313033174ea7d08e5c2823bd7b473701ff547 | [
"BSD-3-Clause"
] | 57 | 2019-11-03T07:47:37.000Z | 2022-03-22T00:41:49.000Z | from direct.directnotify import DirectNotifyGlobal
from direct.distributed.DistributedObjectUD import DistributedObjectUD
class AwardManagerUD(DistributedObjectUD):
notify = DirectNotifyGlobal.directNotify.newCategory('AwardManagerUD')
| 40.166667 | 74 | 0.871369 | 19 | 241 | 11.052632 | 0.578947 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074689 | 241 | 5 | 75 | 48.2 | 0.941704 | 0 | 0 | 0 | 0 | 0 | 0.058091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
73f0347fb30dcd10c91187690e22612bc6f64ee8 | 1,044 | py | Python | challenges/multi-bracket-validation/test_multi_bracket_validation.py | tyler-fishbone/data-structures-and-algorithms | 29790f2672d3ddb0aadf62725f28180b092f4568 | [
"MIT"
] | null | null | null | challenges/multi-bracket-validation/test_multi_bracket_validation.py | tyler-fishbone/data-structures-and-algorithms | 29790f2672d3ddb0aadf62725f28180b092f4568 | [
"MIT"
] | 4 | 2018-03-22T19:19:11.000Z | 2018-04-11T00:35:26.000Z | challenges/multi-bracket-validation/test_multi_bracket_validation.py | tyler-fishbone/data-structures-and-algorithms | 29790f2672d3ddb0aadf62725f28180b092f4568 | [
"MIT"
] | null | null | null | import pytest
from multi_bracket_validation import multi_bracket_validation
def test_mbv_true_case_simple():
"""test function on balanced str"""
assert multi_bracket_validation('[{()}]') == True
def test_mbv_true_case_empty_str():
"""test function with empty string"""
assert multi_bracket_validation('... | 32.625 | 71 | 0.706897 | 130 | 1,044 | 5.369231 | 0.269231 | 0.189112 | 0.346705 | 0.200573 | 0.346705 | 0.131805 | 0.131805 | 0.131805 | 0.131805 | 0 | 0 | 0.008869 | 0.136015 | 1,044 | 32 | 72 | 32.625 | 0.764967 | 0.429119 | 0 | 0 | 0 | 0 | 0.080214 | 0.040998 | 0 | 0 | 0 | 0 | 0.416667 | 1 | 0.416667 | true | 0 | 0.166667 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fb5b53f28cc76bcfc7e420b7d235dd5d190f7fae | 145 | py | Python | start.py | Achintya-Borah/steganography | 5c1822266f61bd9dd88c7b311cedfd7e4c39cbde | [
"MIT"
] | 1 | 2020-08-05T02:00:12.000Z | 2020-08-05T02:00:12.000Z | start.py | Achintya-Borah/steganography | 5c1822266f61bd9dd88c7b311cedfd7e4c39cbde | [
"MIT"
] | null | null | null | start.py | Achintya-Borah/steganography | 5c1822266f61bd9dd88c7b311cedfd7e4c39cbde | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import os
os.system("clear")
print("Have a nice day...")
os.system("sleep 1")
os.system("clear")
os.system("bash work.sh")
| 18.125 | 27 | 0.675862 | 26 | 145 | 3.769231 | 0.692308 | 0.326531 | 0.265306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007634 | 0.096552 | 145 | 7 | 28 | 20.714286 | 0.740458 | 0.137931 | 0 | 0.333333 | 0 | 0 | 0.379032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fbd352cb8eaa9472fa4ac8908f9914a37ef59d4e | 59 | py | Python | subrepos/wtsi-hgi.python-common/hgicommon/threading/__init__.py | wtsi-hgi/openstack-tenant-cleanup | d998016f44c54666f76f90d8d3efa90e12730fff | [
"MIT"
] | null | null | null | subrepos/wtsi-hgi.python-common/hgicommon/threading/__init__.py | wtsi-hgi/openstack-tenant-cleanup | d998016f44c54666f76f90d8d3efa90e12730fff | [
"MIT"
] | 5 | 2017-05-10T11:27:42.000Z | 2017-07-08T14:36:19.000Z | subrepos/wtsi-hgi.python-common/hgicommon/threading/__init__.py | wtsi-hgi/openstack-tenant-cleanup | d998016f44c54666f76f90d8d3efa90e12730fff | [
"MIT"
] | null | null | null | from hgicommon.threading.counting_lock import CountingLock
| 29.5 | 58 | 0.898305 | 7 | 59 | 7.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 59 | 1 | 59 | 59 | 0.945455 | 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 |
fbd700d193fe326c6a96d14d96e36b5f44a01cb5 | 212 | py | Python | tests/classes/simple_wordbook.py | Jesse-Yung/jsonclasses | d40c52aec42bcb978a80ceb98b93ab38134dc790 | [
"MIT"
] | 50 | 2021-08-18T08:08:04.000Z | 2022-03-20T07:23:26.000Z | tests/classes/simple_wordbook.py | Jesse-Yung/jsonclasses | d40c52aec42bcb978a80ceb98b93ab38134dc790 | [
"MIT"
] | 1 | 2021-11-23T02:12:29.000Z | 2021-11-23T13:35:26.000Z | tests/classes/simple_wordbook.py | Jesse-Yung/jsonclasses | d40c52aec42bcb978a80ceb98b93ab38134dc790 | [
"MIT"
] | 8 | 2021-07-01T02:39:15.000Z | 2021-12-10T02:20:18.000Z | from __future__ import annotations
from typing import Optional
from jsonclasses import jsonclass, types
@jsonclass
class SimpleWordbook:
name: Optional[str]
words: list[str] = types.nonnull.listof(str)
| 21.2 | 48 | 0.783019 | 26 | 212 | 6.230769 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 212 | 9 | 49 | 23.555556 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.857143 | 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 |
83734fac33a8a7389f3459a2b7340d59b579455c | 196 | py | Python | qtt/live.py | dpfranke/qtt | f60e812fe8b329e67f7b38d02eef552daf08d7c9 | [
"MIT"
] | null | null | null | qtt/live.py | dpfranke/qtt | f60e812fe8b329e67f7b38d02eef552daf08d7c9 | [
"MIT"
] | null | null | null | qtt/live.py | dpfranke/qtt | f60e812fe8b329e67f7b38d02eef552daf08d7c9 | [
"MIT"
] | null | null | null | # %% Static variables
import warnings
warnings.warn('use qtt.gui.live_plotting.getLivePlotWindow instead of qtt.live.livePlot')
from qtt.gui.live_plotting import getLivePlotWindow as livePlot
| 21.777778 | 89 | 0.816327 | 26 | 196 | 6.076923 | 0.615385 | 0.075949 | 0.126582 | 0.227848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 196 | 8 | 90 | 24.5 | 0.902857 | 0.096939 | 0 | 0 | 0 | 0 | 0.413793 | 0.224138 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
83c8e468d0f07a63dd18c9f1b015a539fd7f45f1 | 131 | py | Python | detection/maskrcnn_benchmark/modeling/backbone/__init__.py | microsoft/SNR | f3d51b5e3525fe5e1ea364fafdf0e4cc60b1362b | [
"MIT"
] | 44 | 2021-01-12T03:05:12.000Z | 2022-03-28T09:05:47.000Z | detection/maskrcnn_benchmark/modeling/backbone/__init__.py | microsoft/SNR | f3d51b5e3525fe5e1ea364fafdf0e4cc60b1362b | [
"MIT"
] | 7 | 2021-03-16T07:13:16.000Z | 2022-02-02T14:52:55.000Z | detection/maskrcnn_benchmark/modeling/backbone/__init__.py | microsoft/SNR | f3d51b5e3525fe5e1ea364fafdf0e4cc60b1362b | [
"MIT"
] | 8 | 2021-01-15T15:09:25.000Z | 2021-12-21T13:34:51.000Z | # Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
from .backbone import build_backbone
| 32.75 | 59 | 0.801527 | 17 | 131 | 6.117647 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137405 | 131 | 3 | 60 | 43.666667 | 0.920354 | 0.679389 | 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 |
83d9d3a94c90a88459a143848f321fc621cf43d6 | 294 | py | Python | declarative/utilities/unique.py | jrollins/python-declarative | ac3ba9bf56611adefb4b2673e50bd8067c024e6b | [
"Apache-2.0"
] | 6 | 2018-02-28T18:32:06.000Z | 2022-03-20T13:04:05.000Z | declarative/utilities/unique.py | jrollins/python-declarative | ac3ba9bf56611adefb4b2673e50bd8067c024e6b | [
"Apache-2.0"
] | 2 | 2021-02-22T17:18:59.000Z | 2021-03-03T16:39:22.000Z | declarative/utilities/unique.py | jrollins/python-declarative | ac3ba9bf56611adefb4b2673e50bd8067c024e6b | [
"Apache-2.0"
] | 1 | 2021-02-09T18:58:53.000Z | 2021-02-09T18:58:53.000Z | # -*- coding: utf-8 -*-
"""
"""
#make noarg a VERY unique value. Was using empty tuple, but python caches it, this should be quite unique
def unique_generator():
def UNIQUE_CLOSURE():
return UNIQUE_CLOSURE
return ("<UNIQUE VALUE>", UNIQUE_CLOSURE,)
NOARG = unique_generator()
| 24.5 | 105 | 0.683673 | 39 | 294 | 5.025641 | 0.641026 | 0.19898 | 0.193878 | 0.255102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004219 | 0.193878 | 294 | 11 | 106 | 26.727273 | 0.822785 | 0.42517 | 0 | 0 | 0 | 0 | 0.08805 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 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 |
83f2332e25ea8f9d7f11c9477167426d813003b0 | 189 | py | Python | network/admin.py | tomwhross/cs50-web-network | e0d02d6b85a13bdb146698789b4f5821605e28bb | [
"MIT"
] | null | null | null | network/admin.py | tomwhross/cs50-web-network | e0d02d6b85a13bdb146698789b4f5821605e28bb | [
"MIT"
] | null | null | null | network/admin.py | tomwhross/cs50-web-network | e0d02d6b85a13bdb146698789b4f5821605e28bb | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Following, Post, User
# Register your models here.
admin.site.register(Following)
admin.site.register(Post)
admin.site.register(User)
| 21 | 41 | 0.798942 | 27 | 189 | 5.592593 | 0.481481 | 0.178808 | 0.337748 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10582 | 189 | 8 | 42 | 23.625 | 0.893491 | 0.137566 | 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 |
f7add62c47f409609c81a10806b02241cf06e141 | 345 | py | Python | destiny/errors.py | glryanon/Trusty-cogs | 1d5056ad166a7e7ee5039baa31748b1995ae81f6 | [
"MIT"
] | 148 | 2017-04-23T19:57:50.000Z | 2022-03-12T06:59:58.000Z | destiny/errors.py | glryanon/Trusty-cogs | 1d5056ad166a7e7ee5039baa31748b1995ae81f6 | [
"MIT"
] | 155 | 2018-01-01T13:27:45.000Z | 2022-03-12T05:17:51.000Z | destiny/errors.py | glryanon/Trusty-cogs | 1d5056ad166a7e7ee5039baa31748b1995ae81f6 | [
"MIT"
] | 221 | 2017-04-02T00:26:08.000Z | 2022-03-26T15:06:54.000Z | class Destiny2APIError(Exception):
pass
class Destiny2InvalidParameters(Destiny2APIError):
pass
class Destiny2APICooldown(Destiny2APIError):
pass
class Destiny2RefreshTokenError(Destiny2APIError):
pass
class Destiny2MissingAPITokens(Destiny2APIError):
pass
class Destiny2MissingManifest(Des... | 15 | 50 | 0.797101 | 24 | 345 | 11.458333 | 0.375 | 0.163636 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037543 | 0.150725 | 345 | 22 | 51 | 15.681818 | 0.901024 | 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 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
f7c87f61a0e35072afdec2667bb46bae63349573 | 468 | py | Python | gym-rbdl/gym_rbdl/envs/__init__.py | michaelyeah7/magics_mbrl | 7f1503986fd50c8336b8b9e7bb1d2f4be4e84b08 | [
"MIT"
] | 2 | 2021-10-02T21:58:02.000Z | 2022-03-23T15:34:46.000Z | gym-rbdl/gym_rbdl/envs/__init__.py | michaelyeah7/roblax | 7f1503986fd50c8336b8b9e7bb1d2f4be4e84b08 | [
"MIT"
] | null | null | null | gym-rbdl/gym_rbdl/envs/__init__.py | michaelyeah7/roblax | 7f1503986fd50c8336b8b9e7bb1d2f4be4e84b08 | [
"MIT"
] | null | null | null | # from gym_soccer.envs.soccer_env import SoccerEnv
# from gym_soccer.envs.soccer_empty_goal import SoccerEmptyGoalEnv
# from gym_soccer.envs.soccer_against_keeper import SoccerAgainstKeeperEnv
from gym_rbdl.envs.half_cheetah_rbdl import HalfCheetahRBDLEnv
# from gym_rbdl.envs.cartpole_rbdl import CartpoleRBDLEnv
from g... | 52 | 74 | 0.880342 | 67 | 468 | 5.865672 | 0.38806 | 0.142494 | 0.139949 | 0.19084 | 0.292621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 468 | 8 | 75 | 58.5 | 0.909722 | 0.517094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
79238f5471c7c45320221c95118dc183acf8ed77 | 146 | py | Python | Python3/Exercises/AnyAll/is_all_strings.py | norbertosanchezdichi/TIL | 2e9719ddd288022f53b094a42679e849bdbcc625 | [
"MIT"
] | null | null | null | Python3/Exercises/AnyAll/is_all_strings.py | norbertosanchezdichi/TIL | 2e9719ddd288022f53b094a42679e849bdbcc625 | [
"MIT"
] | null | null | null | Python3/Exercises/AnyAll/is_all_strings.py | norbertosanchezdichi/TIL | 2e9719ddd288022f53b094a42679e849bdbcc625 | [
"MIT"
] | null | null | null | def is_all_strings(iterable):
return all(isinstance(string, str) for string in iterable)
print(['a', 'b', 'c'])
print([2, 'a', 'b', 'c']) | 29.2 | 62 | 0.609589 | 23 | 146 | 3.782609 | 0.695652 | 0.045977 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.164384 | 146 | 5 | 63 | 29.2 | 0.704918 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 5 |
f70295f364c9fa7735e9cab7413024d68698092b | 64 | py | Python | enthought/traits/ui/editors/check_list_editor.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/traits/ui/editors/check_list_editor.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/traits/ui/editors/check_list_editor.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from traitsui.editors.check_list_editor import *
| 21.333333 | 48 | 0.828125 | 9 | 64 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109375 | 64 | 2 | 49 | 32 | 0.894737 | 0.1875 | 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 |
f70b6484fd5c367040bd21c68df6b4ceaf51dcfa | 42 | py | Python | libpysal/io/geotable/__init__.py | Kanahiro/dbf-df-translator | 6603ca1ac306203bf8c95e6545685c509324a438 | [
"MIT"
] | null | null | null | libpysal/io/geotable/__init__.py | Kanahiro/dbf-df-translator | 6603ca1ac306203bf8c95e6545685c509324a438 | [
"MIT"
] | null | null | null | libpysal/io/geotable/__init__.py | Kanahiro/dbf-df-translator | 6603ca1ac306203bf8c95e6545685c509324a438 | [
"MIT"
] | null | null | null | from .file import read_files, write_files
| 21 | 41 | 0.833333 | 7 | 42 | 4.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 1 | 42 | 42 | 0.891892 | 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 |
f72c53192b9962222a935bcba714f77187770d13 | 186 | py | Python | Reliability_Tests/ex78.py | dieterch/dReliaCalc | 1e0a06e904f3a60527c3a6ae0f45c666a9b48128 | [
"MIT"
] | null | null | null | Reliability_Tests/ex78.py | dieterch/dReliaCalc | 1e0a06e904f3a60527c3a6ae0f45c666a9b48128 | [
"MIT"
] | null | null | null | Reliability_Tests/ex78.py | dieterch/dReliaCalc | 1e0a06e904f3a60527c3a6ae0f45c666a9b48128 | [
"MIT"
] | null | null | null | from reliability.Reliability_testing import one_sample_proportion
result = one_sample_proportion(trials=30, successes=29)
print(result)
'''
(0.8278305443665873, 0.9991564290733695)
'''
| 23.25 | 65 | 0.817204 | 22 | 186 | 6.681818 | 0.727273 | 0.122449 | 0.258503 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22093 | 0.075269 | 186 | 7 | 66 | 26.571429 | 0.633721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
f72e93a0f4fd80901bd47d30bfa9f5cea0f21a98 | 663 | py | Python | schematic/utils/__init__.py | nf-osi/schematic | b59856f40c613a43d117fe3fafa2ca5ba5bbf8d6 | [
"MIT"
] | null | null | null | schematic/utils/__init__.py | nf-osi/schematic | b59856f40c613a43d117fe3fafa2ca5ba5bbf8d6 | [
"MIT"
] | 6 | 2020-10-08T19:53:47.000Z | 2021-05-07T14:50:39.000Z | schematic/utils/__init__.py | nf-osi/schematic | b59856f40c613a43d117fe3fafa2ca5ba5bbf8d6 | [
"MIT"
] | null | null | null | from schematic.utils.curie_utils import expand_curie_to_uri, expand_curies_in_schema, extract_name_from_uri_or_curie, uri2label
from schematic.utils.df_utils import update_df
from schematic.utils.general import dict2list, find_duplicates, str2list, unlist
from schematic.utils.google_api_utils import download_creds_file... | 73.666667 | 127 | 0.891403 | 98 | 663 | 5.642857 | 0.438776 | 0.188065 | 0.260398 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004847 | 0.066365 | 663 | 8 | 128 | 82.875 | 0.88853 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f73ac8992dda1543526d61357ec581788457a368 | 1,499 | py | Python | blog/bills/forms.py | sivatoms/Blog_Posts | 28944c66efb7a296a662d3b81bdaf65b153c995c | [
"bzip2-1.0.6"
] | null | null | null | blog/bills/forms.py | sivatoms/Blog_Posts | 28944c66efb7a296a662d3b81bdaf65b153c995c | [
"bzip2-1.0.6"
] | 4 | 2020-04-09T18:28:58.000Z | 2021-06-10T18:51:22.000Z | blog/bills/forms.py | sivatoms/Blog_posts | 28944c66efb7a296a662d3b81bdaf65b153c995c | [
"bzip2-1.0.6"
] | null | null | null | from django import forms
from .models import Transactions, GroupMembers,Group
class Bill_CreateForm(forms.ModelForm):
def __init__(self, user_list, *args, **kwargs):
super(Bill_CreateForm, self).__init__(*args, **kwargs)
self.fields['share_with'] = forms.MultipleChoiceField(widget=form... | 32.586957 | 158 | 0.6004 | 158 | 1,499 | 5.443038 | 0.259494 | 0.055814 | 0.074419 | 0.093023 | 0.793023 | 0.793023 | 0.793023 | 0.793023 | 0.793023 | 0.793023 | 0 | 0 | 0.278853 | 1,499 | 46 | 159 | 32.586957 | 0.79556 | 0.138759 | 0 | 0.617647 | 0 | 0 | 0.086822 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.058824 | 0 | 0.294118 | 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 |
f74c764fe71bef2147f00a9ea1ac6568815a83e4 | 484 | py | Python | pavo_cristatus/tests/doubles/module_fakes/non_annotated/module_fake_class_with_nested_annotated_callables.py | MATTHEWFRAZER/pavo_cristatus | a4b96c0eb6c454fbe38d2092e29f63457a4ee955 | [
"MIT"
] | null | null | null | pavo_cristatus/tests/doubles/module_fakes/non_annotated/module_fake_class_with_nested_annotated_callables.py | MATTHEWFRAZER/pavo_cristatus | a4b96c0eb6c454fbe38d2092e29f63457a4ee955 | [
"MIT"
] | null | null | null | pavo_cristatus/tests/doubles/module_fakes/non_annotated/module_fake_class_with_nested_annotated_callables.py | MATTHEWFRAZER/pavo_cristatus | a4b96c0eb6c454fbe38d2092e29f63457a4ee955 | [
"MIT"
] | null | null | null | from pavo_cristatus.tests.doubles.module_fakes.module_fake_class import ModuleFakeClass
from trochilidae.interoperable_with_metaclass import interoperable_with_metaclass_future
__all__ = ["ModuleFakeClassWithNestedAnnotatedCallables"]
class ModuleFakeClassWithNestedAnnotatedCallables(interoperable_with_metaclass_fut... | 40.333333 | 104 | 0.82438 | 55 | 484 | 6.872727 | 0.563636 | 0.134921 | 0.206349 | 0.169312 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107438 | 484 | 11 | 105 | 44 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.088843 | 0.088843 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.285714 | 0.285714 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
f7558b1b360903fc34464b87e16f87bdac1551e8 | 63 | py | Python | python/testData/refactoring/inlineFunction/star.py | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/inlineFunction/star.py | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 2 | 2022-02-19T09:45:05.000Z | 2022-02-27T20:32:55.000Z | python/testData/refactoring/inlineFunction/star.py | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def foo(*args, **kwargs):
pass
fo<caret>o(1, 2, 3, x = 4)
| 12.6 | 26 | 0.52381 | 13 | 63 | 2.538462 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.238095 | 63 | 4 | 27 | 15.75 | 0.604167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
f76ee439ef57264cc54c0845e196812f131a1afc | 11,625 | py | Python | mistral/mistral/tests/unit/engine/test_reverse_workflow_rerun.py | Toure/openstack_mistral_wip | 1c3d028cb7c918de74a3cb018c84d6c5ee42e3f1 | [
"Apache-2.0"
] | null | null | null | mistral/mistral/tests/unit/engine/test_reverse_workflow_rerun.py | Toure/openstack_mistral_wip | 1c3d028cb7c918de74a3cb018c84d6c5ee42e3f1 | [
"Apache-2.0"
] | null | null | null | mistral/mistral/tests/unit/engine/test_reverse_workflow_rerun.py | Toure/openstack_mistral_wip | 1c3d028cb7c918de74a3cb018c84d6c5ee42e3f1 | [
"Apache-2.0"
] | null | null | null | # Copyright 2015 - StackStorm, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agr... | 31.334232 | 79 | 0.622022 | 1,522 | 11,625 | 4.478975 | 0.140604 | 0.026405 | 0.070852 | 0.061611 | 0.805193 | 0.775561 | 0.753704 | 0.702655 | 0.685786 | 0.685786 | 0 | 0.022508 | 0.285333 | 11,625 | 370 | 80 | 31.418919 | 0.798026 | 0.156473 | 0 | 0.671875 | 0 | 0 | 0.087295 | 0 | 0 | 0 | 0 | 0 | 0.289063 | 1 | 0.011719 | false | 0 | 0.03125 | 0 | 0.046875 | 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 |
f776f538bbc0be167f51ef1460b4b9f41515c52f | 164 | py | Python | shadowsocks_manager/dynamicmethod/tests.py | alexzhangs/shadowsocks-manager | 211be82a796ee124075687b99c3af5018d6cca2c | [
"MIT"
] | 5 | 2019-09-26T10:47:12.000Z | 2022-03-31T10:33:27.000Z | shadowsocks_manager/dynamicmethod/tests.py | alexzhangs/shadowsocks-manager | 211be82a796ee124075687b99c3af5018d6cca2c | [
"MIT"
] | 4 | 2019-09-26T10:53:53.000Z | 2021-04-03T18:14:19.000Z | shadowsocks_manager/singleton/tests.py | alexzhangs/shadowsocks-manager | 211be82a796ee124075687b99c3af5018d6cca2c | [
"MIT"
] | 1 | 2021-03-30T07:25:27.000Z | 2021-03-30T07:25:27.000Z | # -*- coding: utf-8 -*-
# py2.7 and py3 compatibility imports
from __future__ import unicode_literals
from django.test import TestCase
# Create your tests here.
| 18.222222 | 39 | 0.75 | 23 | 164 | 5.130435 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029197 | 0.164634 | 164 | 8 | 40 | 20.5 | 0.832117 | 0.493902 | 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 |
f7874cb54485f98c12ab461db2ed216e1562e8a6 | 96 | py | Python | apprentice/working_memory/representation/__init__.py | pearlfranz20/AL_Core | 6592079330c7ec3ca264b86f8414970ddab06c0e | [
"MIT"
] | 10 | 2019-11-01T01:09:57.000Z | 2022-02-17T09:15:12.000Z | apprentice/working_memory/representation/__init__.py | pearlfranz20/AL_Core | 6592079330c7ec3ca264b86f8414970ddab06c0e | [
"MIT"
] | 40 | 2019-08-06T18:01:31.000Z | 2021-07-15T12:38:56.000Z | apprentice/working_memory/representation/__init__.py | pearlfranz20/AL_Core | 6592079330c7ec3ca264b86f8414970ddab06c0e | [
"MIT"
] | 6 | 2019-08-15T01:45:19.000Z | 2021-06-01T19:54:29.000Z | from .representation import Skill, Activation, Sai, RHS, StateMultiView, Explanation, numbalizer | 96 | 96 | 0.833333 | 10 | 96 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 96 | 1 | 96 | 96 | 0.91954 | 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 |
e38bc4e6f74709a3bc5423f389c586056c1920f5 | 115 | py | Python | src/jyquickhelper/js/c3/__init__.py | sdpython/jyquickhelper | b8b106ada7f8b606d4f152e186a3343b6c4ab2bb | [
"MIT"
] | 3 | 2020-03-06T23:17:14.000Z | 2021-10-16T05:51:21.000Z | src/jyquickhelper/js/c3/__init__.py | sdpython/jyquickhelper | b8b106ada7f8b606d4f152e186a3343b6c4ab2bb | [
"MIT"
] | 9 | 2016-12-07T10:28:01.000Z | 2021-10-16T10:45:43.000Z | src/jyquickhelper/js/c3/__init__.py | sdpython/jyquickhelper | b8b106ada7f8b606d4f152e186a3343b6c4ab2bb | [
"MIT"
] | null | null | null | """
@file
@brief `c3 <http://c3js.org/gettingstarted.html>`_
"""
def version():
"version"
return "0.4.2"
| 11.5 | 50 | 0.582609 | 15 | 115 | 4.4 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053191 | 0.182609 | 115 | 9 | 51 | 12.777778 | 0.648936 | 0.556522 | 0 | 0 | 0 | 0 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 5 |
e3a125c56197c8225887008f3ac60562b451f7fc | 7,079 | py | Python | graphene_federation/tests/test_requires.py | Koldar/graphene-federation | 355c6b2c4cee6c1a9c8c00a4ab066c41f6976766 | [
"MIT"
] | null | null | null | graphene_federation/tests/test_requires.py | Koldar/graphene-federation | 355c6b2c4cee6c1a9c8c00a4ab066c41f6976766 | [
"MIT"
] | null | null | null | graphene_federation/tests/test_requires.py | Koldar/graphene-federation | 355c6b2c4cee6c1a9c8c00a4ab066c41f6976766 | [
"MIT"
] | null | null | null | import pytest
from graphene import Field, ID, Int, ObjectType, String
from .. import graphql_compatibility
from ..extend import extend, external, requires
from ..main import build_schema
PRODUCT_SCHEMA_2 = """schema {
query: Query
}
type Product {
sku: ID
size: Int
weight: Int
shippingEstimate: String
}
... | 19.34153 | 99 | 0.656731 | 811 | 7,079 | 5.519112 | 0.125771 | 0.029491 | 0.032172 | 0.041108 | 0.77748 | 0.735255 | 0.723861 | 0.705987 | 0.705987 | 0.689902 | 0 | 0.006951 | 0.227716 | 7,079 | 365 | 100 | 19.394521 | 0.81178 | 0.062721 | 0 | 0.657244 | 0 | 0 | 0.493914 | 0.023737 | 0 | 0 | 0 | 0 | 0.038869 | 1 | 0.014134 | false | 0 | 0.017668 | 0 | 0.113074 | 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 |
e3a8422d9d626161ff41ae9880edfe5cc8726c9f | 238 | py | Python | service/models/common/answer.py | CyberArkForTheCommunity/jobli-backend | 2309c9ac33993cb89a8e1581630d99b46f8d55aa | [
"MIT"
] | null | null | null | service/models/common/answer.py | CyberArkForTheCommunity/jobli-backend | 2309c9ac33993cb89a8e1581630d99b46f8d55aa | [
"MIT"
] | 1 | 2021-12-23T13:36:43.000Z | 2021-12-23T13:36:43.000Z | service/models/common/answer.py | CyberArkForTheCommunity/jobli-backend | 2309c9ac33993cb89a8e1581630d99b46f8d55aa | [
"MIT"
] | null | null | null | from pydantic import BaseModel, Field
class Answer(BaseModel):
key: str = Field(description="Name of the question")
question: str = Field(description="The actual question")
answer: bool = Field(description="Boolean answer")
| 29.75 | 60 | 0.731092 | 29 | 238 | 6 | 0.586207 | 0.275862 | 0.218391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163866 | 238 | 7 | 61 | 34 | 0.874372 | 0 | 0 | 0 | 0 | 0 | 0.222689 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e3fadf68fe2239214f621d845edff36779cabc59 | 81 | py | Python | tests/test_example_pkg/__init__.py | Janidai/nested_package_template | fd97ed17499769aa71953493e4e6ee8b4b8037b2 | [
"CNRI-Python"
] | null | null | null | tests/test_example_pkg/__init__.py | Janidai/nested_package_template | fd97ed17499769aa71953493e4e6ee8b4b8037b2 | [
"CNRI-Python"
] | null | null | null | tests/test_example_pkg/__init__.py | Janidai/nested_package_template | fd97ed17499769aa71953493e4e6ee8b4b8037b2 | [
"CNRI-Python"
] | 1 | 2021-05-27T11:25:38.000Z | 2021-05-27T11:25:38.000Z | # Title : TODO
# Objective : TODO
# Created by: noonwave
# Created on: 4/8/20 | 20.25 | 22 | 0.641975 | 12 | 81 | 4.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.234568 | 81 | 4 | 23 | 20.25 | 0.774194 | 0.901235 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.25 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
54050d8fec11406151e4954aa9e957014180c555 | 25 | py | Python | AtCoder/ACL_Beginner_Contest/A/A_Repeat_ACL.py | sungmen/Acmicpc_Solve | 0298a6aec84993a4d8767bd2c00490b7201e06a4 | [
"MIT"
] | 1 | 2020-07-08T23:16:19.000Z | 2020-07-08T23:16:19.000Z | AtCoder/ACL_Beginner_Contest/A/A_Repeat_ACL.py | sungmen/Acmicpc_Solve | 0298a6aec84993a4d8767bd2c00490b7201e06a4 | [
"MIT"
] | 1 | 2020-05-16T03:12:24.000Z | 2020-05-16T03:14:42.000Z | AtCoder/ACL_Beginner_Contest/A/A_Repeat_ACL.py | sungmen/Acmicpc_Solve | 0298a6aec84993a4d8767bd2c00490b7201e06a4 | [
"MIT"
] | 2 | 2020-05-16T03:25:16.000Z | 2021-02-10T16:51:25.000Z | print("ACL"*int(input())) | 25 | 25 | 0.64 | 4 | 25 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 25 | 1 | 25 | 25 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 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 |
540aa962b584f9a90604724790af66c6c42b4a1d | 54 | py | Python | deepforest/_version.py | Treeconomy/DeepForest | 9fcb82e78cbb467ae810d64402b25e41e3c56913 | [
"MIT"
] | null | null | null | deepforest/_version.py | Treeconomy/DeepForest | 9fcb82e78cbb467ae810d64402b25e41e3c56913 | [
"MIT"
] | null | null | null | deepforest/_version.py | Treeconomy/DeepForest | 9fcb82e78cbb467ae810d64402b25e41e3c56913 | [
"MIT"
] | null | null | null | __version__ = '__version__ = '__version__ = '0.2.4'''
| 27 | 53 | 0.666667 | 6 | 54 | 4 | 0.666667 | 1.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 0.12963 | 54 | 1 | 54 | 54 | 0.446809 | 0 | 0 | 0 | 0 | 0 | 0.351852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
582067cc67bf48aee6f02914e89ddf2ee5275d17 | 333 | py | Python | Desafios/Mundo 1/ex007.py | ZaikoXander/Python | 7e7243edb02dd33991c5f63f02c983ad060fc3ca | [
"Unlicense"
] | null | null | null | Desafios/Mundo 1/ex007.py | ZaikoXander/Python | 7e7243edb02dd33991c5f63f02c983ad060fc3ca | [
"Unlicense"
] | null | null | null | Desafios/Mundo 1/ex007.py | ZaikoXander/Python | 7e7243edb02dd33991c5f63f02c983ad060fc3ca | [
"Unlicense"
] | null | null | null | print('\033[31m-=-' * 9)
print('\033[35mCalculador de Média')
print('\033[31m-=-' * 9)
n1 = float(input('\033[94mPrimeira nota do aluno: '))
n2 = float(input('Segunda nota do aluno: '))
print('\033[94mA média entre \033[1m{:.1f}\033[22m e \033[1m{:.1f}\033[22m é igual a \033[1m{:.1f}\033[22m.'
.format(n1, n2, (n1... | 41.625 | 108 | 0.60961 | 58 | 333 | 3.5 | 0.465517 | 0.157635 | 0.103448 | 0.147783 | 0.192118 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222997 | 0.138138 | 333 | 7 | 109 | 47.571429 | 0.484321 | 0 | 0 | 0.285714 | 0 | 0.142857 | 0.612613 | 0.192192 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.571429 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
582bf842802fe99fd2edc62da16ca2c6105adc75 | 33 | py | Python | tests/inputs/if-branching/28-join-to-top-mut.py | helq/pytropos | 497ed5902e6e4912249ca0a46b477f9bfa6ae80a | [
"MIT"
] | 4 | 2019-10-06T18:01:24.000Z | 2020-07-03T05:27:35.000Z | tests/inputs/if-branching/28-join-to-top-mut.py | helq/pytropos | 497ed5902e6e4912249ca0a46b477f9bfa6ae80a | [
"MIT"
] | 5 | 2021-06-07T15:50:04.000Z | 2021-06-07T15:50:06.000Z | tests/inputs/if-branching/28-join-to-top-mut.py | helq/pytropos | 497ed5902e6e4912249ca0a46b477f9bfa6ae80a | [
"MIT"
] | null | null | null | if _:
l = 2
else:
l = []
| 6.6 | 10 | 0.30303 | 5 | 33 | 1.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.515152 | 33 | 4 | 11 | 8.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 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 |
5837f0ceb080586040d471f66d42da43946e600e | 233 | py | Python | PhantomCaptcher_backend/pcserver_test/models/__init__.py | svwriting/PhantomCaptcher | 7b90d92766a7b0380f6f628304091b8b3aaa37f8 | [
"MIT"
] | null | null | null | PhantomCaptcher_backend/pcserver_test/models/__init__.py | svwriting/PhantomCaptcher | 7b90d92766a7b0380f6f628304091b8b3aaa37f8 | [
"MIT"
] | null | null | null | PhantomCaptcher_backend/pcserver_test/models/__init__.py | svwriting/PhantomCaptcher | 7b90d92766a7b0380f6f628304091b8b3aaa37f8 | [
"MIT"
] | null | null | null | from .BASNet import BASNet
from .U2Net import U2NET as U2Net
from .U2Net import U2NETP as U2NetP
from .U2Net_refactor import U2NET_full as U2Net_full
from .U2Net_refactor import U2NET_lite as U2Net_lite
from .DoveNet import DoveNetG
| 33.285714 | 52 | 0.83691 | 38 | 233 | 4.973684 | 0.289474 | 0.190476 | 0.15873 | 0.243386 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 0.137339 | 233 | 6 | 53 | 38.833333 | 0.880597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
588ba5c4a0fc6d0bfe6d2af9795c76e0297976bf | 71 | py | Python | api/api_initializer.py | lit26/Personal_Market_Watch | f06d9c04cdccd2d768df69213bbb3d15ce64ce16 | [
"MIT"
] | 1 | 2021-06-18T05:12:19.000Z | 2021-06-18T05:12:19.000Z | api/api_initializer.py | lit26/Personal_Market_Watch | f06d9c04cdccd2d768df69213bbb3d15ce64ce16 | [
"MIT"
] | null | null | null | api/api_initializer.py | lit26/Personal_Market_Watch | f06d9c04cdccd2d768df69213bbb3d15ce64ce16 | [
"MIT"
] | 1 | 2021-05-09T15:55:05.000Z | 2021-05-09T15:55:05.000Z | import stockChart
stockChart.fetchChart()
stockChart.downSignalChart() | 17.75 | 28 | 0.859155 | 6 | 71 | 10.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 71 | 4 | 28 | 17.75 | 0.910448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5443390da3009eb5d171b8f7ac521e3fe85ae651 | 5,325 | py | Python | imcsdk/mometa/adaptor/AdaptorConnectorInfo.py | ragupta-git/ImcSdk | 2e41f2ffe5282d38de85bc4739fa53dd2f0c9bb4 | [
"Apache-2.0"
] | null | null | null | imcsdk/mometa/adaptor/AdaptorConnectorInfo.py | ragupta-git/ImcSdk | 2e41f2ffe5282d38de85bc4739fa53dd2f0c9bb4 | [
"Apache-2.0"
] | null | null | null | imcsdk/mometa/adaptor/AdaptorConnectorInfo.py | ragupta-git/ImcSdk | 2e41f2ffe5282d38de85bc4739fa53dd2f0c9bb4 | [
"Apache-2.0"
] | 3 | 2018-11-14T13:02:40.000Z | 2018-11-14T13:49:38.000Z | """This module contains the general information for AdaptorConnectorInfo ManagedObject."""
from ...imcmo import ManagedObject
from ...imccoremeta import MoPropertyMeta, MoMeta
from ...imcmeta import VersionMeta
class AdaptorConnectorInfoConsts:
pass
class AdaptorConnectorInfo(ManagedObject):
"""This is Ada... | 54.896907 | 207 | 0.612394 | 473 | 5,325 | 6.769556 | 0.167019 | 0.114928 | 0.11243 | 0.069956 | 0.805122 | 0.793879 | 0.729544 | 0.729544 | 0.689569 | 0.658963 | 0 | 0.023261 | 0.216901 | 5,325 | 96 | 208 | 55.46875 | 0.744604 | 0.022535 | 0 | 0.32 | 0 | 0 | 0.221067 | 0 | 0 | 0 | 0.004622 | 0 | 0 | 1 | 0.013333 | false | 0.013333 | 0.04 | 0 | 0.146667 | 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 |
548e632f4c4ed91c17629c832729018d3d6c3203 | 5,534 | py | Python | experiments/examples/hilbert_synthetic_vectors/plot.py | DominicBroadbentCompass/bayesian-coresets-optimization | 3657f2ebfc4f0e6b36f5c651b0651f06d7e3d6b1 | [
"MIT"
] | 5 | 2021-05-21T02:34:17.000Z | 2022-03-29T15:17:26.000Z | experiments/examples/hilbert_synthetic_vectors/plot.py | DominicBroadbentCompass/bayesian-coresets-optimization | 3657f2ebfc4f0e6b36f5c651b0651f06d7e3d6b1 | [
"MIT"
] | 2 | 2021-03-12T04:07:52.000Z | 2021-03-15T12:56:05.000Z | experiments/examples/hilbert_synthetic_vectors/plot.py | DominicBroadbentCompass/bayesian-coresets-optimization | 3657f2ebfc4f0e6b36f5c651b0651f06d7e3d6b1 | [
"MIT"
] | 4 | 2020-06-23T04:51:43.000Z | 2021-02-04T15:07:41.000Z | import os
import sys
import bokeh.layouts as bkl
import bokeh.palettes
import bokeh.plotting as bkp
import numpy as np
# make it so we can import models/etc from parent folder
sys.path.insert(1, os.path.join(sys.path[0], '../common'))
from plotting import *
fig_err_g = bkp.figure(y_axis_type='log', x_axis_type='log'... | 57.645833 | 148 | 0.677087 | 943 | 5,534 | 3.658537 | 0.128314 | 0.057391 | 0.063768 | 0.055652 | 0.772174 | 0.770435 | 0.770435 | 0.769565 | 0.751594 | 0.705797 | 0 | 0.039974 | 0.168233 | 5,534 | 95 | 149 | 58.252632 | 0.709537 | 0.052223 | 0 | 0.268293 | 0 | 0 | 0.095038 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.085366 | 0 | 0.085366 | 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 |
54a5978ddd5d9a96c219991e126c474af876c076 | 168 | py | Python | material_mechanics/materials/__init__.py | kemeen/material_mechanics | 00442df2c41a43285708bfdb288348eb3aa50775 | [
"MIT"
] | 4 | 2019-03-06T02:02:21.000Z | 2021-04-18T09:18:50.000Z | material_mechanics/materials/__init__.py | kemeen/material_mechanics | 00442df2c41a43285708bfdb288348eb3aa50775 | [
"MIT"
] | 1 | 2019-01-10T12:00:19.000Z | 2019-01-10T12:00:19.000Z | material_mechanics/materials/__init__.py | kemeen/material_mechanics | 00442df2c41a43285708bfdb288348eb3aa50775 | [
"MIT"
] | 2 | 2020-01-25T01:59:36.000Z | 2022-03-12T03:21:41.000Z | from .composites import FiberReinforcedPlastic, Laminate, Layer
from .material_factories import isotropic_material, transverse_isotropic_material, orthotropic_material
| 56 | 103 | 0.892857 | 17 | 168 | 8.529412 | 0.647059 | 0.234483 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 168 | 2 | 104 | 84 | 0.929487 | 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 |
54b7f1f4439a3962ce615a9316864cc0d616c153 | 25 | py | Python | src/test/data/pa3/sample/literal_bool.py | Leo-Enrique-Wu/chocopy_compiler_code_generation | 4606be0531b3de77411572aae98f73169f46b3b9 | [
"BSD-2-Clause"
] | 7 | 2021-08-28T18:20:45.000Z | 2022-02-01T07:35:59.000Z | src/test/data/pa3/sample/literal_bool.py | Leo-Enrique-Wu/chocopy_compiler_code_generation | 4606be0531b3de77411572aae98f73169f46b3b9 | [
"BSD-2-Clause"
] | 4 | 2020-05-18T01:06:15.000Z | 2020-06-12T19:33:14.000Z | src/test/data/pa3/sample/literal_bool.py | Leo-Enrique-Wu/chocopy_compiler_code_generation | 4606be0531b3de77411572aae98f73169f46b3b9 | [
"BSD-2-Clause"
] | 5 | 2019-11-27T05:11:05.000Z | 2021-06-29T14:31:14.000Z | print(True)
print(False)
| 8.333333 | 12 | 0.76 | 4 | 25 | 4.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 25 | 2 | 13 | 12.5 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
54c3c7ac03a56e6c5f893667e4f5427d0dd7de0d | 52 | py | Python | extra01/todo_project/page_objects/__init__.py | WesGtoX/python-selenium | 52f4fdca84a6f4139c8a8478435f4f1b12048258 | [
"MIT"
] | null | null | null | extra01/todo_project/page_objects/__init__.py | WesGtoX/python-selenium | 52f4fdca84a6f4139c8a8478435f4f1b12048258 | [
"MIT"
] | 1 | 2021-06-02T21:51:27.000Z | 2021-06-02T21:51:27.000Z | extra01/todo_project/page_objects/__init__.py | WesGtoX/python-selenium | 52f4fdca84a6f4139c8a8478435f4f1b12048258 | [
"MIT"
] | null | null | null | from .page_objects import Page, PageElement # noqa
| 26 | 51 | 0.788462 | 7 | 52 | 5.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 52 | 1 | 52 | 52 | 0.909091 | 0.076923 | 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 |
49d8fab00997b3bccd9235bf1e68afd418e36734 | 60 | py | Python | reopy/__init__.py | kzielins/reopy | e20e52f088837c1b01ae25eeb0f4992025178030 | [
"MIT"
] | 1 | 2020-03-09T00:27:04.000Z | 2020-03-09T00:27:04.000Z | reopy/__init__.py | kzielins/reopy | e20e52f088837c1b01ae25eeb0f4992025178030 | [
"MIT"
] | null | null | null | reopy/__init__.py | kzielins/reopy | e20e52f088837c1b01ae25eeb0f4992025178030 | [
"MIT"
] | null | null | null | from .device import Device
from .api import BasicAPIHandler
| 20 | 32 | 0.833333 | 8 | 60 | 6.25 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 60 | 2 | 33 | 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 |
b71c9a8810eeef0d726a90b64af96b1e7bbba32d | 1,247 | py | Python | day/two/test_main.py | stupoid/aoc-2020 | dc72f81c7e0150baeb208bf5470a4cb9d79864d9 | [
"MIT"
] | null | null | null | day/two/test_main.py | stupoid/aoc-2020 | dc72f81c7e0150baeb208bf5470a4cb9d79864d9 | [
"MIT"
] | null | null | null | day/two/test_main.py | stupoid/aoc-2020 | dc72f81c7e0150baeb208bf5470a4cb9d79864d9 | [
"MIT"
] | null | null | null | from day.two.main import Policy, is_valid_password, rule, rule_2, process_line
def test_process_line():
input_file = open("day/two/test_input.txt", "r")
po_pw_list = [process_line(l) for l in input_file]
assert po_pw_list == [
(Policy(1, 3, "a"), "abcde"),
(Policy(1, 3, "b"), "cdefg"),
... | 29 | 78 | 0.680032 | 213 | 1,247 | 3.638498 | 0.187793 | 0.061935 | 0.123871 | 0.131613 | 0.781935 | 0.781935 | 0.781935 | 0.774194 | 0.690323 | 0.690323 | 0 | 0.016585 | 0.178027 | 1,247 | 42 | 79 | 29.690476 | 0.739512 | 0 | 0 | 0.444444 | 0 | 0 | 0.109864 | 0.088212 | 0 | 0 | 0 | 0 | 0.259259 | 1 | 0.185185 | false | 0.407407 | 0.037037 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
b71decb5df3d61403495caad269919a1d059d571 | 37 | py | Python | ppy_terminal/imports/colors.py | TechnologyClassroom/generative_art | eb1730d90e438327edaa53375765a9690b968d2b | [
"MIT"
] | 1 | 2022-03-03T19:41:02.000Z | 2022-03-03T19:41:02.000Z | ppy_terminal/imports/colors.py | TechnologyClassroom/generative_art | eb1730d90e438327edaa53375765a9690b968d2b | [
"MIT"
] | null | null | null | ppy_terminal/imports/colors.py | TechnologyClassroom/generative_art | eb1730d90e438327edaa53375765a9690b968d2b | [
"MIT"
] | null | null | null | # dicts? lists? what's a good way...
| 18.5 | 36 | 0.621622 | 7 | 37 | 3.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 37 | 1 | 37 | 37 | 0.766667 | 0.918919 | 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 |
b72404d00c3db9c78321b273864d060a86f4b80a | 80 | py | Python | protgraph/__init__.py | Luxxii/ProtGraph | 68c3b362e2b487403fa02cfc25d456a272004a1f | [
"BSD-2-Clause"
] | 4 | 2021-01-29T14:06:00.000Z | 2022-03-11T07:31:35.000Z | protgraph/__init__.py | Luxxii/ProtGraph | 68c3b362e2b487403fa02cfc25d456a272004a1f | [
"BSD-2-Clause"
] | 30 | 2021-01-29T14:55:42.000Z | 2022-01-18T10:55:24.000Z | protgraph/__init__.py | Luxxii/ProtGraph | 68c3b362e2b487403fa02cfc25d456a272004a1f | [
"BSD-2-Clause"
] | 1 | 2021-02-01T08:49:27.000Z | 2021-02-01T08:49:27.000Z | from protgraph.protgraph import main, parse_args, prot_graph # pyflakes.ignore
| 40 | 79 | 0.825 | 11 | 80 | 5.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1125 | 80 | 1 | 80 | 80 | 0.901408 | 0.1875 | 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 |
3f827f026f6c6f6a282b9afb285ddfcce62cd924 | 17,612 | py | Python | tests/create_model_input.py | seekrcentral/seekr2_systems | 938e36ea61a3f106c0fb8d81b9bd02f664327ac7 | [
"MIT"
] | null | null | null | tests/create_model_input.py | seekrcentral/seekr2_systems | 938e36ea61a3f106c0fb8d81b9bd02f664327ac7 | [
"MIT"
] | null | null | null | tests/create_model_input.py | seekrcentral/seekr2_systems | 938e36ea61a3f106c0fb8d81b9bd02f664327ac7 | [
"MIT"
] | null | null | null | """
create_model_input.py
Create Model input objects for use in tests.
"""
import os
import seekr2.modules.common_base as base
import seekr2.modules.common_prepare as common_prepare
import seekr2.modules.common_cv as common_cv
import seekr2.modules.filetree as filetree
import seekr2.modules.check as check
# Don't r... | 41.149533 | 81 | 0.681581 | 2,304 | 17,612 | 4.855035 | 0.124132 | 0.126944 | 0.058198 | 0.067406 | 0.815573 | 0.788128 | 0.782764 | 0.754962 | 0.637761 | 0.620508 | 0 | 0.059551 | 0.223881 | 17,612 | 428 | 82 | 41.149533 | 0.758797 | 0.025664 | 0 | 0.641457 | 0 | 0 | 0.121095 | 0.114823 | 0 | 0 | 0 | 0 | 0.002801 | 1 | 0.022409 | false | 0 | 0.019608 | 0 | 0.064426 | 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 |
3f98bdffae7afcde6d3f2a87bbae1f89e0a7f67d | 5,350 | py | Python | tests/unit/array/mixins/test_text.py | MarkusSagen/docarray | 2b535b2f3e361ec48d50877615b535f6dc361b45 | [
"Apache-2.0"
] | 1 | 2022-03-16T14:05:32.000Z | 2022-03-16T14:05:32.000Z | tests/unit/array/mixins/test_text.py | MarkusSagen/docarray | 2b535b2f3e361ec48d50877615b535f6dc361b45 | [
"Apache-2.0"
] | null | null | null | tests/unit/array/mixins/test_text.py | MarkusSagen/docarray | 2b535b2f3e361ec48d50877615b535f6dc361b45 | [
"Apache-2.0"
] | null | null | null | import numpy as np
import pytest
from docarray import DocumentArray, Document
from docarray.array.qdrant import DocumentArrayQdrant
from docarray.array.sqlite import DocumentArraySqlite
from docarray.array.annlite import DocumentArrayAnnlite, AnnliteConfig
from docarray.array.storage.qdrant import QdrantConfig
from do... | 32.822086 | 78 | 0.678692 | 702 | 5,350 | 4.948718 | 0.133903 | 0.075993 | 0.030225 | 0.051813 | 0.766839 | 0.765112 | 0.733736 | 0.733736 | 0.733448 | 0.721934 | 0 | 0.023407 | 0.193458 | 5,350 | 162 | 79 | 33.024691 | 0.781692 | 0.009533 | 0 | 0.547445 | 0 | 0 | 0.048923 | 0 | 0 | 0 | 0 | 0 | 0.189781 | 1 | 0.043796 | false | 0 | 0.065693 | 0.007299 | 0.116788 | 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 |
3fb899e76f972229fd193ad915bca9c585232a48 | 83 | py | Python | petfinder/admin.py | noedlm/neo-pets | 5220cf1bbba1d78405c7b2bf86caf93e83594432 | [
"MIT"
] | null | null | null | petfinder/admin.py | noedlm/neo-pets | 5220cf1bbba1d78405c7b2bf86caf93e83594432 | [
"MIT"
] | null | null | null | petfinder/admin.py | noedlm/neo-pets | 5220cf1bbba1d78405c7b2bf86caf93e83594432 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Pet
admin.site.register(Pet) | 16.6 | 32 | 0.807229 | 13 | 83 | 5.153846 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120482 | 83 | 5 | 33 | 16.6 | 0.917808 | 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 |
3fc5ec919084199a24114be431ae0bbbf67b8367 | 207 | py | Python | helm/dagster/schema/schema/charts/dagster/subschema/service_account.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 4,606 | 2018-06-21T17:45:20.000Z | 2022-03-31T23:39:42.000Z | helm/dagster/schema/schema/charts/dagster/subschema/service_account.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 6,221 | 2018-06-12T04:36:01.000Z | 2022-03-31T21:43:05.000Z | helm/dagster/schema/schema/charts/dagster/subschema/service_account.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 619 | 2018-08-22T22:43:09.000Z | 2022-03-31T22:48:06.000Z | from pydantic import BaseModel # pylint: disable=no-name-in-module
from ...utils import kubernetes
class ServiceAccount(BaseModel):
create: bool
name: str
annotations: kubernetes.Annotations
| 20.7 | 67 | 0.753623 | 24 | 207 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169082 | 207 | 9 | 68 | 23 | 0.906977 | 0.15942 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3fc9ab8acbcf90587ab164f8969ad3b63fde164a | 208 | py | Python | revrand/__init__.py | basaks/revrand | 4c1881b6c1772d2b988518e49dde954f165acfb6 | [
"Apache-2.0"
] | 62 | 2015-11-06T00:45:21.000Z | 2022-03-21T08:08:29.000Z | revrand/__init__.py | basaks/revrand | 4c1881b6c1772d2b988518e49dde954f165acfb6 | [
"Apache-2.0"
] | 112 | 2015-11-05T06:47:16.000Z | 2021-06-28T20:07:26.000Z | revrand/__init__.py | basaks/revrand | 4c1881b6c1772d2b988518e49dde954f165acfb6 | [
"Apache-2.0"
] | 16 | 2016-04-10T08:54:07.000Z | 2021-04-27T11:43:53.000Z | from .slm import StandardLinearModel
from .glm import GeneralizedLinearModel, GeneralisedLinearModel
from .btypes import Bound, Positive, Parameter
from . import likelihoods, basis_functions, metrics, btypes
| 41.6 | 63 | 0.846154 | 22 | 208 | 7.954545 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105769 | 208 | 4 | 64 | 52 | 0.94086 | 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 |
3fd28dde594c6d76b16a3fcecd8e98f2c4d754b5 | 180 | py | Python | vega/report/__init__.py | jie311/vega | 1bba6100ead802697e691403b951e6652a99ccae | [
"MIT"
] | 724 | 2020-06-22T12:05:30.000Z | 2022-03-31T07:10:54.000Z | vega/report/__init__.py | jie311/vega | 1bba6100ead802697e691403b951e6652a99ccae | [
"MIT"
] | 147 | 2020-06-30T13:34:46.000Z | 2022-03-29T11:30:17.000Z | vega/report/__init__.py | jie311/vega | 1bba6100ead802697e691403b951e6652a99ccae | [
"MIT"
] | 160 | 2020-06-29T18:27:58.000Z | 2022-03-23T08:42:21.000Z | from .report_server import ReportServer
from .report_client import ReportClient
from .record import ReportRecord
from .nsga_iii import NonDominatedSorting, SortAndSelectPopulation
| 36 | 66 | 0.877778 | 20 | 180 | 7.75 | 0.65 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094444 | 180 | 4 | 67 | 45 | 0.95092 | 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 |
3fdc0bc1e6aa2c90f4e7b2709448e44f5d21bdf7 | 82 | py | Python | Phones/Phone.py | HuuHoangNguyen/Python_learning | c33940ca95866cefa6381cdef901062be755052d | [
"MIT"
] | null | null | null | Phones/Phone.py | HuuHoangNguyen/Python_learning | c33940ca95866cefa6381cdef901062be755052d | [
"MIT"
] | null | null | null | Phones/Phone.py | HuuHoangNguyen/Python_learning | c33940ca95866cefa6381cdef901062be755052d | [
"MIT"
] | null | null | null | #!/usr/bin/python
from Pots import Pots
from Isdn import Isdn
from G3 import G3
| 11.714286 | 21 | 0.756098 | 15 | 82 | 4.133333 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029851 | 0.182927 | 82 | 6 | 22 | 13.666667 | 0.895522 | 0.195122 | 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 |
3fe8ad91c5926374f4c48d9b2435aa01e397b04b | 71 | py | Python | data_sets/synthetic_review_prediction/classes/style.py | Octavian-ai/synthetic-graph-data | b327cfb06d420d216a5377f2ce953355089e0e6b | [
"MIT"
] | 16 | 2018-09-06T09:27:03.000Z | 2021-05-28T01:35:44.000Z | data_sets/synthetic_review_prediction/classes/style.py | Octavian-ai/generate-data | b327cfb06d420d216a5377f2ce953355089e0e6b | [
"MIT"
] | 1 | 2021-02-10T00:02:43.000Z | 2021-02-10T00:02:43.000Z | data_sets/synthetic_review_prediction/classes/style.py | Octavian-ai/generate-data | b327cfb06d420d216a5377f2ce953355089e0e6b | [
"MIT"
] | 7 | 2018-07-23T08:39:54.000Z | 2021-02-08T16:24:54.000Z | from basic_types import NanoType
class Style(NanoType[str]):
pass | 14.2 | 32 | 0.760563 | 10 | 71 | 5.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169014 | 71 | 5 | 33 | 14.2 | 0.898305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
b202197f7957f42384c09083a3e412774119bef1 | 88 | py | Python | src/pygination/errors.py | elpablete/pygination | c5a18199ab799a22460aae37a5ae745646fd315a | [
"MIT"
] | 1 | 2022-02-01T20:51:56.000Z | 2022-02-01T20:51:56.000Z | src/pygination/errors.py | elpablete/pygination | c5a18199ab799a22460aae37a5ae745646fd315a | [
"MIT"
] | 1 | 2022-03-28T20:36:03.000Z | 2022-03-28T20:36:03.000Z | src/pygination/errors.py | elpablete/pygination | c5a18199ab799a22460aae37a5ae745646fd315a | [
"MIT"
] | 1 | 2022-03-28T20:36:58.000Z | 2022-03-28T20:36:58.000Z | class PyginationError(Exception):
pass
class PaginationError(Exception):
pass
| 12.571429 | 33 | 0.75 | 8 | 88 | 8.25 | 0.625 | 0.393939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 88 | 6 | 34 | 14.666667 | 0.916667 | 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 |
b7461c4d9f41552ca37ff9f7f3f8af482d5521a0 | 5,069 | py | Python | tests/test_filtration.py | bbhunter/pyWhat | 5c36850447f3346d7e84b31067dfe866dc3cc3bc | [
"MIT"
] | 5,049 | 2021-05-20T09:17:41.000Z | 2022-03-31T20:39:40.000Z | tests/test_filtration.py | bbhunter/pyWhat | 5c36850447f3346d7e84b31067dfe866dc3cc3bc | [
"MIT"
] | 155 | 2021-05-20T09:37:16.000Z | 2022-03-04T14:38:26.000Z | tests/test_filtration.py | bbhunter/pyWhat | 5c36850447f3346d7e84b31067dfe866dc3cc3bc | [
"MIT"
] | 262 | 2021-05-22T15:00:37.000Z | 2022-03-30T05:32:01.000Z | import pytest
from pywhat import Distribution, Filter, pywhat_tags
from pywhat.helper import CaseInsensitiveSet, InvalidTag, load_regexes
regexes = load_regexes()
@pytest.mark.skip(
"Dist.get_regexes() returns the regex list with the default filter of 0.1:1. \
load_regexes() returns all regex without that f... | 33.348684 | 88 | 0.603078 | 555 | 5,069 | 5.436036 | 0.122523 | 0.066291 | 0.074246 | 0.095459 | 0.773285 | 0.766324 | 0.766324 | 0.760689 | 0.760689 | 0.760689 | 0 | 0.030702 | 0.235352 | 5,069 | 151 | 89 | 33.569536 | 0.747678 | 0 | 0 | 0.68 | 0 | 0 | 0.204182 | 0 | 0 | 0 | 0 | 0 | 0.248 | 1 | 0.08 | false | 0 | 0.024 | 0 | 0.104 | 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 |
b75da8f5287f950191324197acdf684779a46849 | 4,663 | py | Python | Utils/py/ActionSelection/tools/tools.py | BerlinUnited/NaoTH | 02848ac10c16a5349f1735da8122a64d601a5c75 | [
"ECL-2.0",
"Apache-2.0"
] | 15 | 2015-01-12T10:46:29.000Z | 2022-03-28T05:13:14.000Z | Utils/py/ActionSelection/tools/tools.py | BerlinUnited/NaoTH | 02848ac10c16a5349f1735da8122a64d601a5c75 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2019-01-20T21:07:50.000Z | 2020-01-22T14:00:28.000Z | Utils/py/ActionSelection/tools/tools.py | BerlinUnited/NaoTH | 02848ac10c16a5349f1735da8122a64d601a5c75 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2018-02-07T18:18:10.000Z | 2019-10-15T17:01:41.000Z | import matplotlib as mpl
from matplotlib import pyplot as plt
from matplotlib.patches import Circle
import matplotlib.patches as patches
from . import field_info as f
def draw_field(axis=plt.gca()):
mpl.rcParams['lines.linewidth'] = 2.33513514 # was 2 before
ax = axis
# draw field background
ax.ad... | 50.684783 | 99 | 0.655372 | 737 | 4,663 | 3.837178 | 0.101764 | 0.033946 | 0.093352 | 0.120226 | 0.811174 | 0.792433 | 0.742928 | 0.713225 | 0.671499 | 0.671499 | 0 | 0.021456 | 0.21038 | 4,663 | 91 | 100 | 51.241758 | 0.746605 | 0.07849 | 0 | 0.478873 | 0 | 0 | 0.033958 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014085 | false | 0 | 0.070423 | 0 | 0.084507 | 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 |
b7867094fd300eb27bf0e3fc733f4b13b2bfd212 | 49 | py | Python | tests/test_project/test_project/middlewares.py | zanachka/scrapydd | ba7854a69e756e5d0e6b5f835d8f36fe57f7f7c2 | [
"Apache-2.0"
] | 5 | 2017-06-13T05:07:57.000Z | 2021-02-26T16:16:49.000Z | tests/test_project/test_project/middlewares.py | zanachka/scrapydd | ba7854a69e756e5d0e6b5f835d8f36fe57f7f7c2 | [
"Apache-2.0"
] | 7 | 2019-04-15T01:34:30.000Z | 2020-09-16T02:41:00.000Z | tests/test_project/test_project/middlewares.py | zanachka/scrapydd | ba7854a69e756e5d0e6b5f835d8f36fe57f7f7c2 | [
"Apache-2.0"
] | 3 | 2017-06-28T09:58:28.000Z | 2020-07-09T08:57:57.000Z | class MyCustomSpiderMiddleware(object):
pass | 24.5 | 40 | 0.795918 | 4 | 49 | 9.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 2 | 41 | 24.5 | 0.928571 | 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 |
b7be9aaf2636d33d3d7249ea8d9feb8809cc7a2b | 93 | py | Python | sanic/__init__.py | awesome-archive/sanic | b74d312c57a8c4b4a2440fa52f835aeb09f87c0d | [
"MIT"
] | null | null | null | sanic/__init__.py | awesome-archive/sanic | b74d312c57a8c4b4a2440fa52f835aeb09f87c0d | [
"MIT"
] | null | null | null | sanic/__init__.py | awesome-archive/sanic | b74d312c57a8c4b4a2440fa52f835aeb09f87c0d | [
"MIT"
] | null | null | null | from .sanic import Sanic
from .blueprints import Blueprint
__all__ = ['Sanic', 'Blueprint']
| 18.6 | 33 | 0.752688 | 11 | 93 | 6 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139785 | 93 | 4 | 34 | 23.25 | 0.825 | 0 | 0 | 0 | 0 | 0 | 0.150538 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 5 |
b7c1638a82545a34b3d7751d5d8b35aea930eabc | 26,186 | py | Python | src/keri/app/directing.py | KodexData/keripy | 2a6b7883fcb04c29b4ce8f55ebb5d2eb36e24689 | [
"Apache-2.0"
] | 26 | 2020-05-18T19:52:33.000Z | 2022-03-02T13:58:45.000Z | src/keri/app/directing.py | KodexData/keripy | 2a6b7883fcb04c29b4ce8f55ebb5d2eb36e24689 | [
"Apache-2.0"
] | 16 | 2020-08-26T12:53:37.000Z | 2021-05-26T15:29:19.000Z | src/keri/app/directing.py | m00sey/keripy | 7bdaf57972d44c2435726bd2300b01a1a90a83b2 | [
"Apache-2.0"
] | 13 | 2020-05-05T20:21:26.000Z | 2022-03-31T14:11:30.000Z | # -*- encoding: utf-8 -*-
"""
KERI
keri.app.directing module
simple direct mode demo support classes
"""
import os
from hio.base import doing
from hio.core import wiring
from hio.core.tcp import clienting, serving
from .. import kering
from ..db import dbing, basing
from ..core import coring, eventing, parsing
from ... | 36.829817 | 103 | 0.616284 | 3,153 | 26,186 | 5.09705 | 0.12274 | 0.0168 | 0.027379 | 0.029867 | 0.771265 | 0.753469 | 0.751851 | 0.728455 | 0.705619 | 0.695539 | 0 | 0.003075 | 0.317001 | 26,186 | 710 | 104 | 36.88169 | 0.895499 | 0.578057 | 0 | 0.465686 | 0 | 0.004902 | 0.031222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.112745 | false | 0 | 0.068627 | 0 | 0.245098 | 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 |
b7e4ef3c04ca6a9fd00d67f9323d1274a8102082 | 66,799 | py | Python | etl/parsers/etw/Microsoft_Windows_MediaFoundation_Performance_Core.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 104 | 2020-03-04T14:31:31.000Z | 2022-03-28T02:59:36.000Z | etl/parsers/etw/Microsoft_Windows_MediaFoundation_Performance_Core.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 7 | 2020-04-20T09:18:39.000Z | 2022-03-19T17:06:19.000Z | etl/parsers/etw/Microsoft_Windows_MediaFoundation_Performance_Core.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 16 | 2020-03-05T18:55:59.000Z | 2022-03-01T10:19:28.000Z | # -*- coding: utf-8 -*-
"""
Microsoft-Windows-MediaFoundation-Performance-Core
GUID : b20e65ac-c905-4014-8f78-1b6a508142eb
"""
from construct import Int8sl, Int8ul, Int16ul, Int16sl, Int32sl, Int32ul, Int64sl, Int64ul, Bytes, Double, Float32l, Struct
from etl.utils import WString, CString, SystemTime, Guid
from etl.dty... | 30.811347 | 123 | 0.705175 | 7,477 | 66,799 | 6.0543 | 0.066069 | 0.090483 | 0.175311 | 0.237519 | 0.893876 | 0.89286 | 0.860365 | 0.850535 | 0.488844 | 0.486061 | 0 | 0.158144 | 0.17644 | 66,799 | 2,167 | 124 | 30.825565 | 0.664716 | 0.001752 | 0 | 0.425803 | 0 | 0 | 0.231293 | 0.154485 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002423 | 0 | 0.311326 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b7ffe72a2cd6c38d1f7db82fb92485ebe498280f | 35,233 | py | Python | tests/test_field.py | jfthuong/pydpf-core | bf2895ebc546e0004f759289bfc9a23196559ac3 | [
"MIT"
] | 18 | 2021-10-16T10:38:29.000Z | 2022-03-29T11:26:42.000Z | tests/test_field.py | jfthuong/pydpf-core | bf2895ebc546e0004f759289bfc9a23196559ac3 | [
"MIT"
] | 79 | 2021-10-11T23:18:54.000Z | 2022-03-29T14:53:14.000Z | tests/test_field.py | jfthuong/pydpf-core | bf2895ebc546e0004f759289bfc9a23196559ac3 | [
"MIT"
] | 5 | 2021-11-29T18:35:37.000Z | 2022-03-16T16:49:21.000Z | import numpy as np
import pytest
from ansys import dpf
from ansys.dpf import core
from ansys.dpf.core import FieldDefinition
from ansys.dpf.core import operators as ops
from ansys.dpf.core.common import locations, shell_layers
@pytest.fixture()
def stress_field(allkindofcomplexity):
model = dpf.core.Model(allkind... | 34.918731 | 93 | 0.649079 | 5,563 | 35,233 | 3.930433 | 0.047456 | 0.048342 | 0.013309 | 0.017562 | 0.830368 | 0.775166 | 0.732998 | 0.700023 | 0.675372 | 0.661056 | 0 | 0.056086 | 0.212074 | 35,233 | 1,008 | 94 | 34.953373 | 0.73153 | 0.022621 | 0 | 0.596059 | 0 | 0 | 0.005348 | 0 | 0 | 0 | 0 | 0 | 0.288177 | 1 | 0.065271 | false | 0 | 0.008621 | 0 | 0.075123 | 0.001232 | 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 |
4d236b27ffcc9ebc18b45fd00fe02ccc06e14f9e | 1,365 | py | Python | tests/test_request.py | supermomonga/pybotters | 8b6759844deeb1f116b317609c558e13bd35825f | [
"MIT"
] | null | null | null | tests/test_request.py | supermomonga/pybotters | 8b6759844deeb1f116b317609c558e13bd35825f | [
"MIT"
] | null | null | null | tests/test_request.py | supermomonga/pybotters | 8b6759844deeb1f116b317609c558e13bd35825f | [
"MIT"
] | null | null | null | import pytest_mock
from yarl import URL
import pybotters.auth
import pybotters.request
async def test_request_without_auth(mocker: pytest_mock.MockerFixture):
m_auth = mocker.MagicMock(side_effect=lambda args, kwargs: args)
items = {
'example.com': pybotters.auth.Item('example', m_auth),
... | 31.744186 | 74 | 0.6337 | 164 | 1,365 | 5.073171 | 0.286585 | 0.072115 | 0.052885 | 0.081731 | 0.795673 | 0.795673 | 0.795673 | 0.795673 | 0.795673 | 0.795673 | 0 | 0 | 0.221978 | 1,365 | 43 | 75 | 31.744186 | 0.783428 | 0 | 0 | 0.611111 | 0 | 0 | 0.134441 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 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 |
4d29d4d4fa445262e5cd531b1f414d2acc79b2b8 | 17 | py | Python | newfile.py | ndorilas2014/sfi-git-intro | 8391b6ca86b46b67c7b0bb3b8d1b7f56e56d1d70 | [
"MIT"
] | null | null | null | newfile.py | ndorilas2014/sfi-git-intro | 8391b6ca86b46b67c7b0bb3b8d1b7f56e56d1d70 | [
"MIT"
] | null | null | null | newfile.py | ndorilas2014/sfi-git-intro | 8391b6ca86b46b67c7b0bb3b8d1b7f56e56d1d70 | [
"MIT"
] | null | null | null | print("Heeeey")
| 5.666667 | 15 | 0.647059 | 2 | 17 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 17 | 2 | 16 | 8.5 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0.375 | 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 |
4d5a13ca0b7daf7bc5ae5cb65670170b47ac14dc | 54 | py | Python | mlperf_logging/package_checker/__main__.py | mwawrzos/logging | b2609c698c28a82751d68648b0bf7b6fe8c210ea | [
"Apache-2.0"
] | 48 | 2020-07-29T18:09:23.000Z | 2021-10-09T01:53:33.000Z | mlperf_logging/package_checker/__main__.py | mwawrzos/logging | b2609c698c28a82751d68648b0bf7b6fe8c210ea | [
"Apache-2.0"
] | 137 | 2020-12-07T19:38:47.000Z | 2022-03-31T18:59:19.000Z | SIAT/benchmarks/resnet/implementations/tensorflow_open_src/mlperf_logging/package_checker/__main__.py | lablup/training_results_v0.7 | f5bb59aa0f8b18b602763abe47d1d24d0d54b197 | [
"Apache-2.0"
] | 42 | 2020-08-01T06:41:24.000Z | 2022-01-20T10:33:08.000Z | from . import package_checker
package_checker.main()
| 13.5 | 29 | 0.814815 | 7 | 54 | 6 | 0.714286 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 54 | 3 | 30 | 18 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 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 |
4daea6f0d4d095dd6ded1cf9bb5ebd1be2ac3c28 | 70 | py | Python | abel/tests/__init__.py | Derollez/PyAbel | c8be4ed7e8e08ee026634b9e856fb473e58d7330 | [
"MIT"
] | null | null | null | abel/tests/__init__.py | Derollez/PyAbel | c8be4ed7e8e08ee026634b9e856fb473e58d7330 | [
"MIT"
] | null | null | null | abel/tests/__init__.py | Derollez/PyAbel | c8be4ed7e8e08ee026634b9e856fb473e58d7330 | [
"MIT"
] | 1 | 2021-06-07T19:48:40.000Z | 2021-06-07T19:48:40.000Z | from __future__ import absolute_import
from .run import run, run_cli
| 17.5 | 38 | 0.828571 | 11 | 70 | 4.727273 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 70 | 3 | 39 | 23.333333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
4df9a5cf3571eb5d6b63432e03dcbd1c3d28d7e9 | 150 | py | Python | corehq/motech/repeaters/exceptions.py | akashkj/commcare-hq | b00a62336ec26cea1477dfb8c048c548cc462831 | [
"BSD-3-Clause"
] | 471 | 2015-01-10T02:55:01.000Z | 2022-03-29T18:07:18.000Z | corehq/motech/repeaters/exceptions.py | akashkj/commcare-hq | b00a62336ec26cea1477dfb8c048c548cc462831 | [
"BSD-3-Clause"
] | 14,354 | 2015-01-01T07:38:23.000Z | 2022-03-31T20:55:14.000Z | corehq/motech/repeaters/exceptions.py | akashkj/commcare-hq | b00a62336ec26cea1477dfb8c048c548cc462831 | [
"BSD-3-Clause"
] | 175 | 2015-01-06T07:16:47.000Z | 2022-03-29T13:27:01.000Z | class RequestConnectionError(Exception):
pass
class ReferralError(Exception):
pass
class DataRegistryCaseUpdateError(Exception):
pass
| 13.636364 | 45 | 0.773333 | 12 | 150 | 9.666667 | 0.5 | 0.336207 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 150 | 10 | 46 | 15 | 0.928 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
1500789ebd3839f5537904b957935f2ad10010ce | 216 | py | Python | neet/__init__.py | dglmoore/Neet | 3486ce890ff296c6dc20f1fa04a8512786faff5e | [
"MIT"
] | 4 | 2020-04-07T14:20:02.000Z | 2021-01-17T01:56:28.000Z | neet/__init__.py | akiaei/Neet | a7988575e011927cf61bf2eec7e390ae21c56cb1 | [
"MIT"
] | 165 | 2017-02-24T21:09:19.000Z | 2021-12-14T04:17:01.000Z | neet/__init__.py | akiaei/Neet | a7988575e011927cf61bf2eec7e390ae21c56cb1 | [
"MIT"
] | 19 | 2017-02-15T22:01:14.000Z | 2020-01-28T17:10:54.000Z | from .information import Information # noqa
from .landscape import LandscapeData, LandscapeMixin # noqa
from .network import Network, UniformNetwork # noqa
from .statespace import StateSpace, UniformSpace # noqa
| 43.2 | 60 | 0.805556 | 23 | 216 | 7.565217 | 0.478261 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143519 | 216 | 4 | 61 | 54 | 0.940541 | 0.087963 | 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 |
150a417d087658a6d017e4b69d2fb79b2371c89a | 55 | py | Python | repokid/exceptions/__init__.py | nasehim7/repokid | f46767dcf88f3728701b1ff3371a97f063fb3d3b | [
"Apache-2.0"
] | null | null | null | repokid/exceptions/__init__.py | nasehim7/repokid | f46767dcf88f3728701b1ff3371a97f063fb3d3b | [
"Apache-2.0"
] | 21 | 2019-07-01T08:51:18.000Z | 2019-11-11T16:47:05.000Z | repokid/exceptions/__init__.py | isabella232/repokid_DEPRECATED | a9f4a705d5ad160c53e537638253cb0c8372d4a8 | [
"Apache-2.0"
] | 2 | 2018-10-12T18:17:43.000Z | 2020-10-12T13:26:39.000Z | class UnexpectedDynamoUpdateValue(Exception):
pass
| 18.333333 | 45 | 0.818182 | 4 | 55 | 11.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 55 | 2 | 46 | 27.5 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
12bdb63709e9f735c2b6a1dd75d1e1a5b5e988c2 | 37 | py | Python | Documentation/mock/lxu/command.py | 9bstudios/mecco_replay | 43edadd059bb2db8453b8065f2ae1cbe888923ec | [
"MIT"
] | null | null | null | Documentation/mock/lxu/command.py | 9bstudios/mecco_replay | 43edadd059bb2db8453b8065f2ae1cbe888923ec | [
"MIT"
] | null | null | null | Documentation/mock/lxu/command.py | 9bstudios/mecco_replay | 43edadd059bb2db8453b8065f2ae1cbe888923ec | [
"MIT"
] | null | null | null | class BasicCommand(object):
pass
| 12.333333 | 27 | 0.72973 | 4 | 37 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 37 | 2 | 28 | 18.5 | 0.9 | 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 |
12da91a4a4b6e0c99b423fbb067e542ad9729dee | 233 | py | Python | get_data/__init__.py | flyingjam/faces | e2bb4c66f7ef8c453911ac572ac49c68e0bb0267 | [
"BSD-3-Clause"
] | null | null | null | get_data/__init__.py | flyingjam/faces | e2bb4c66f7ef8c453911ac572ac49c68e0bb0267 | [
"BSD-3-Clause"
] | null | null | null | get_data/__init__.py | flyingjam/faces | e2bb4c66f7ef8c453911ac572ac49c68e0bb0267 | [
"BSD-3-Clause"
] | null | null | null | from get_data.dataset_util import download_raw_dataset, convert_to_faces
from get_data.get_faces import detect_face, crop_image
__all__ = ('download_raw_dataset', 'convert_to_faces', 'convert_to_faces', 'detect_face', 'crop_image')
| 46.6 | 103 | 0.832618 | 36 | 233 | 4.777778 | 0.444444 | 0.156977 | 0.244186 | 0.290698 | 0.372093 | 0.372093 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077253 | 233 | 4 | 104 | 58.25 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.313305 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 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 |
12ead5be5d60d3085bbdae98e45f3d71df960137 | 15,674 | py | Python | tests/unit/test_handler_lists_2.py | MickyHCorbett/MorfLess | 9761197d7767c250cc27262e1ab41adf21c59333 | [
"MIT"
] | null | null | null | tests/unit/test_handler_lists_2.py | MickyHCorbett/MorfLess | 9761197d7767c250cc27262e1ab41adf21c59333 | [
"MIT"
] | null | null | null | tests/unit/test_handler_lists_2.py | MickyHCorbett/MorfLess | 9761197d7767c250cc27262e1ab41adf21c59333 | [
"MIT"
] | null | null | null | import unittest
import libraries.morflessLibs as libs
# import test values and expected outputs
# main includes sidebar data
from unit.lists_test_io.lists_supplemental import POSTLIST_1, CONTACT_PAGE_POST
from unit.lists_test_io.lists_supplemental import TEMPLATE_SEARCH_CONTENT
from unit.lists_test_io.lists_supplemen... | 42.134409 | 112 | 0.650632 | 2,137 | 15,674 | 4.508657 | 0.069724 | 0.039855 | 0.040477 | 0.047327 | 0.867047 | 0.811417 | 0.774572 | 0.73451 | 0.679502 | 0.613389 | 0 | 0.012575 | 0.22885 | 15,674 | 371 | 113 | 42.247978 | 0.784562 | 0.022649 | 0 | 0.527473 | 0 | 0.003663 | 0.282717 | 0.056674 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.040293 | false | 0 | 0.025641 | 0 | 0.069597 | 0.271062 | 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 |
424b949c96320196c1adb5bfd50d75b6a790f3f8 | 3,552 | py | Python | tests/test_06_math/test_640_bbox.py | luoyu-123/ezdxf | 40963a2010028f87846241e08434f43ab421f3fb | [
"MIT"
] | 1 | 2021-06-05T09:15:15.000Z | 2021-06-05T09:15:15.000Z | tests/test_06_math/test_640_bbox.py | luoyu-123/ezdxf | 40963a2010028f87846241e08434f43ab421f3fb | [
"MIT"
] | null | null | null | tests/test_06_math/test_640_bbox.py | luoyu-123/ezdxf | 40963a2010028f87846241e08434f43ab421f3fb | [
"MIT"
] | null | null | null | # Copyright (c) 2019-2020, Manfred Moitzi
# License: MIT License
from ezdxf.math import BoundingBox, BoundingBox2d
class TestBoundingBox:
def test_init(self):
bbox = BoundingBox([(0, 0, 0), (10, 10, 10)])
assert bbox.extmin == (0, 0, 0)
assert bbox.extmax == (10, 10, 10)
bbox = Bo... | 31.157895 | 53 | 0.523086 | 506 | 3,552 | 3.636364 | 0.096838 | 0.26087 | 0.13913 | 0.026087 | 0.864674 | 0.775 | 0.725543 | 0.599457 | 0.464674 | 0.253804 | 0 | 0.124346 | 0.300394 | 3,552 | 113 | 54 | 31.433628 | 0.616097 | 0.016892 | 0 | 0.488372 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.55814 | 1 | 0.139535 | false | 0 | 0.011628 | 0 | 0.174419 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
424d056709e2240e252282aed11a8db1a1ccdfce | 141 | py | Python | boa3_test/test_sc/function_test/CallFunctionWrittenBefore.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3_test/test_sc/function_test/CallFunctionWrittenBefore.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3_test/test_sc/function_test/CallFunctionWrittenBefore.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | from boa3.builtin import public
def TestAdd(a: int, b: int) -> int:
return a + b
@public
def Main() -> int:
return TestAdd(1, 2)
| 12.818182 | 35 | 0.617021 | 23 | 141 | 3.782609 | 0.608696 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028302 | 0.248227 | 141 | 10 | 36 | 14.1 | 0.792453 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 0.833333 | 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 |
424e21925da4ce704b73c57c587e88ba3b4c52c7 | 105 | py | Python | backend/applications/models/__init__.py | simonfong6/applications | dea9e324f33b3647ab8e1fcf01f67b37e20e37a9 | [
"MIT"
] | null | null | null | backend/applications/models/__init__.py | simonfong6/applications | dea9e324f33b3647ab8e1fcf01f67b37e20e37a9 | [
"MIT"
] | null | null | null | backend/applications/models/__init__.py | simonfong6/applications | dea9e324f33b3647ab8e1fcf01f67b37e20e37a9 | [
"MIT"
] | null | null | null | from .user import User
from .users_jobs import UserJob
from .company import Company
from .job import Job
| 21 | 31 | 0.809524 | 17 | 105 | 4.941176 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152381 | 105 | 4 | 32 | 26.25 | 0.94382 | 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 |
427c8e5824acadb87bdcd65b39e0b82618638a3a | 268 | py | Python | src/pythae/samplers/vamp_sampler/vamp_sampler_config.py | clementchadebec/benchmark_VAE | 943e231f9e5dfa40b4eec14d4536f1c229ad9be1 | [
"Apache-2.0"
] | 143 | 2021-10-17T08:43:33.000Z | 2022-03-31T11:10:53.000Z | src/pythae/samplers/vamp_sampler/vamp_sampler_config.py | eknag/benchmark_VAE | 8b727f29a68aff7771c4c97aff15f75f88320e1f | [
"Apache-2.0"
] | 6 | 2022-01-21T17:40:09.000Z | 2022-03-16T13:09:22.000Z | src/pythae/samplers/vamp_sampler/vamp_sampler_config.py | eknag/benchmark_VAE | 8b727f29a68aff7771c4c97aff15f75f88320e1f | [
"Apache-2.0"
] | 18 | 2021-12-16T15:17:08.000Z | 2022-03-15T01:30:13.000Z | from pydantic.dataclasses import dataclass
from ...samplers import BaseSamplerConfig
@dataclass
class VAMPSamplerConfig(BaseSamplerConfig):
"""This is the VAMP prior sampler configuration instance deriving from
:class:`BaseSamplerConfig`.
"""
pass
| 20.615385 | 74 | 0.764925 | 26 | 268 | 7.884615 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164179 | 268 | 12 | 75 | 22.333333 | 0.915179 | 0.354478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
35ecaa664e18f71dc3395d7f3d9a41a58509397b | 241 | py | Python | rltorch/action_selector/__init__.py | Brandon-Rozek/rltorch | cb87105305315c5df4cae91fee0ee54b981bc04b | [
"MIT"
] | null | null | null | rltorch/action_selector/__init__.py | Brandon-Rozek/rltorch | cb87105305315c5df4cae91fee0ee54b981bc04b | [
"MIT"
] | null | null | null | rltorch/action_selector/__init__.py | Brandon-Rozek/rltorch | cb87105305315c5df4cae91fee0ee54b981bc04b | [
"MIT"
] | null | null | null | from .ArgMaxSelector import ArgMaxSelector
from .EpsilonGreedySelector import EpsilonGreedySelector
from .IdentitySelector import IdentitySelector
from .RandomSelector import RandomSelector
from .StochasticSelector import StochasticSelector
| 40.166667 | 56 | 0.896266 | 20 | 241 | 10.8 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082988 | 241 | 5 | 57 | 48.2 | 0.977376 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c41efad892b4f2b3d7067a042a592ef7e04ede4c | 188 | py | Python | tests/common.py | thep0y/up2b | 667874c642241483c92d59331badbb2aaa8b37da | [
"MIT"
] | 7 | 2021-05-13T10:13:32.000Z | 2021-12-17T11:45:19.000Z | tests/common.py | thep0y/timg | 15b9472c2407f0af4d3d9eaaee431da566881a95 | [
"MIT"
] | 1 | 2021-03-16T01:25:28.000Z | 2021-03-16T02:20:25.000Z | tests/common.py | thep0y/up2b | 667874c642241483c92d59331badbb2aaa8b37da | [
"MIT"
] | 1 | 2021-02-15T08:52:48.000Z | 2021-02-15T08:52:48.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Author: thepoy
# @Email: thepoy@163.com
# @File Name: common.py (c) 2021
# @Created: 2021-06-18 11:08:33
# @Modified: 2021-06-18 11:08:45
| 23.5 | 32 | 0.62766 | 33 | 188 | 3.575758 | 0.787879 | 0.101695 | 0.135593 | 0.169492 | 0.20339 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225 | 0.148936 | 188 | 7 | 33 | 26.857143 | 0.5125 | 0.925532 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
c4285d211c1ee37ca15a2d09aec994643a738d1f | 118 | py | Python | python_modules/libraries/dagster-aws/dagster_aws/s3/solids.py | rpatil524/dagster | 6f918d94cbd543ab752ab484a65e3a40fd441716 | [
"Apache-2.0"
] | 4,606 | 2018-06-21T17:45:20.000Z | 2022-03-31T23:39:42.000Z | python_modules/libraries/dagster-aws/dagster_aws/s3/solids.py | rpatil524/dagster | 6f918d94cbd543ab752ab484a65e3a40fd441716 | [
"Apache-2.0"
] | 6,221 | 2018-06-12T04:36:01.000Z | 2022-03-31T21:43:05.000Z | python_modules/libraries/dagster-aws/dagster_aws/s3/solids.py | rpatil524/dagster | 6f918d94cbd543ab752ab484a65e3a40fd441716 | [
"Apache-2.0"
] | 619 | 2018-08-22T22:43:09.000Z | 2022-03-31T22:48:06.000Z | # pylint: disable=unused-import
# Keep module for legacy backcompat
from .ops import S3Coordinate, file_handle_to_s3
| 23.6 | 48 | 0.813559 | 17 | 118 | 5.470588 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019417 | 0.127119 | 118 | 4 | 49 | 29.5 | 0.883495 | 0.533898 | 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 |
c42be9607ec228cb619961c16762cf9d4194d1f6 | 19 | py | Python | samples/LuceneInAction/lia/analysis/__init__.py | romanchyla/pylucene-trunk | 990079ff0c76b972ce5ef2bac9b85334a0a1f27a | [
"Apache-2.0"
] | 15 | 2015-05-21T09:28:01.000Z | 2022-03-18T23:41:49.000Z | samples/LuceneInAction/lia/analysis/__init__.py | fnp/pylucene | fb16ac375de5479dec3919a5559cda02c899e387 | [
"Apache-2.0"
] | 1 | 2021-09-30T03:59:43.000Z | 2021-09-30T03:59:43.000Z | samples/LuceneInAction/lia/analysis/__init__.py | romanchyla/pylucene-trunk | 990079ff0c76b972ce5ef2bac9b85334a0a1f27a | [
"Apache-2.0"
] | 13 | 2015-04-18T23:05:11.000Z | 2021-11-29T21:23:26.000Z | # analysis package
| 9.5 | 18 | 0.789474 | 2 | 19 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.9375 | 0.842105 | 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 |
c43db20a62e821d1331f0a38e6781418545dd772 | 160 | py | Python | python/bisect_user.py | seckcoder/lang-learn | 1e0d6f412bbd7f89b1af00293fd907ddb3c1b571 | [
"Unlicense"
] | 1 | 2017-10-14T04:23:45.000Z | 2017-10-14T04:23:45.000Z | python/bisect_user.py | seckcoder/lang-learn | 1e0d6f412bbd7f89b1af00293fd907ddb3c1b571 | [
"Unlicense"
] | null | null | null | python/bisect_user.py | seckcoder/lang-learn | 1e0d6f412bbd7f89b1af00293fd907ddb3c1b571 | [
"Unlicense"
] | null | null | null | import bisect
a = [10, 2, 8, 20, 25, 7, 3, 19, 10, 10, 2, 7, 6, 5, 82, 3, 49]
a.sort()
print a
print bisect.bisect_left(a, 5)
print bisect.bisect_right(a, 5)
| 17.777778 | 63 | 0.6125 | 36 | 160 | 2.666667 | 0.527778 | 0.0625 | 0.354167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210938 | 0.2 | 160 | 8 | 64 | 20 | 0.539063 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
c4463b0d47c8a72769834355e17ff011e927b852 | 128 | py | Python | uygulama/admin.py | onurbyrl/psikonline | 6f2ba97797135e69585167b6db2b6ce7c3520714 | [
"MIT"
] | 3 | 2022-03-02T14:51:09.000Z | 2022-03-12T20:58:17.000Z | uygulama/admin.py | onurbyrl/psikonline | 6f2ba97797135e69585167b6db2b6ce7c3520714 | [
"MIT"
] | null | null | null | uygulama/admin.py | onurbyrl/psikonline | 6f2ba97797135e69585167b6db2b6ce7c3520714 | [
"MIT"
] | null | null | null | from django.contrib import admin
# from uygulama.models import Kayit
# Register your models here.
# admin.site.register(Kayit) | 21.333333 | 35 | 0.789063 | 18 | 128 | 5.611111 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132813 | 128 | 6 | 36 | 21.333333 | 0.90991 | 0.679688 | 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 |
c4616e8ade179436344b4d1585613e2bdbd80f70 | 8,314 | py | Python | tests/src/app_service_tests.py | ahuyuktepe/cmd-exec | 835037a4b7784d4901bf35db5eaa88a0757c5ce9 | [
"MIT"
] | null | null | null | tests/src/app_service_tests.py | ahuyuktepe/cmd-exec | 835037a4b7784d4901bf35db5eaa88a0757c5ce9 | [
"MIT"
] | 1 | 2021-06-07T21:25:52.000Z | 2021-06-07T21:25:52.000Z | tests/src/app_service_tests.py | ahuyuktepe/cmd-exec | 835037a4b7784d4901bf35db5eaa88a0757c5ce9 | [
"MIT"
] | null | null | null | import pytest
from cmd_exec.builder.AppContextBuilder import AppContextBuilder
from cmd_exec.context.AppContext import AppContext
from cmd_exec.error.CmdExecError import CmdExecError
from tests.src.utils.TestUtil import TestUtil
class TestAppService:
def setup_method(method):
TestUtil.setupTest... | 37.96347 | 118 | 0.557493 | 661 | 8,314 | 6.919818 | 0.133132 | 0.021425 | 0.085702 | 0.097945 | 0.748798 | 0.737429 | 0.737429 | 0.737429 | 0.72606 | 0.72606 | 0 | 0.015982 | 0.315131 | 8,314 | 218 | 119 | 38.137615 | 0.78732 | 0.012389 | 0 | 0.657459 | 0 | 0 | 0.172457 | 0.00903 | 0 | 0 | 0 | 0 | 0.077348 | 1 | 0.088398 | false | 0 | 0.027624 | 0 | 0.121547 | 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 |
c4743d2c9afb6649dc2853ab40eb301537444365 | 30 | py | Python | 1.py | HackerUSA-CE/10.5.3-activity-starter | 97eeb96fb6743409ccd53d3adf4fea11be6d7058 | [
"MIT"
] | null | null | null | 1.py | HackerUSA-CE/10.5.3-activity-starter | 97eeb96fb6743409ccd53d3adf4fea11be6d7058 | [
"MIT"
] | null | null | null | 1.py | HackerUSA-CE/10.5.3-activity-starter | 97eeb96fb6743409ccd53d3adf4fea11be6d7058 | [
"MIT"
] | null | null | null | # add code below for problem 1 | 30 | 30 | 0.766667 | 6 | 30 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.2 | 30 | 1 | 30 | 30 | 0.916667 | 0.933333 | 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 |
6703a4562ee8cae19ea3bb3b4056c2b75c78e622 | 44 | py | Python | mineid/main/errors.py | SomeHybrid/mineid | b05216541b9c29a15fa6bbbd95531fed7b43f184 | [
"MIT"
] | null | null | null | mineid/main/errors.py | SomeHybrid/mineid | b05216541b9c29a15fa6bbbd95531fed7b43f184 | [
"MIT"
] | null | null | null | mineid/main/errors.py | SomeHybrid/mineid | b05216541b9c29a15fa6bbbd95531fed7b43f184 | [
"MIT"
] | null | null | null | class InvalidUserError(Exception):
pass
| 14.666667 | 34 | 0.772727 | 4 | 44 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 2 | 35 | 22 | 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 |
6713850b7e06a0fa2a0c86d64725f5109aabb84b | 81 | py | Python | asylum/__init__.py | cieplak/asylum | 12f95d6b42dc441f41aa7e7cc9791675b01d3682 | [
"MIT"
] | null | null | null | asylum/__init__.py | cieplak/asylum | 12f95d6b42dc441f41aa7e7cc9791675b01d3682 | [
"MIT"
] | null | null | null | asylum/__init__.py | cieplak/asylum | 12f95d6b42dc441f41aa7e7cc9791675b01d3682 | [
"MIT"
] | null | null | null | from . import config
from .container import Container
from .system import System
| 20.25 | 32 | 0.814815 | 11 | 81 | 6 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 81 | 3 | 33 | 27 | 0.956522 | 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 |
671d06dfa6dd1c1ca003afbd5e0d80088953fc0f | 4,485 | py | Python | sdk/eventhub/azure-eventhub/tests/unittest/test_connection_string_parser.py | GoWang/azure-sdk-for-python | f241e3734a50953c2a37c10d2d84eb4c013b3ba0 | [
"MIT"
] | 2 | 2019-08-23T21:14:00.000Z | 2021-09-07T18:32:34.000Z | sdk/eventhub/azure-eventhub/tests/unittest/test_connection_string_parser.py | GoWang/azure-sdk-for-python | f241e3734a50953c2a37c10d2d84eb4c013b3ba0 | [
"MIT"
] | 2 | 2021-11-03T06:10:36.000Z | 2021-12-01T06:29:39.000Z | sdk/eventhub/azure-eventhub/tests/unittest/test_connection_string_parser.py | GoWang/azure-sdk-for-python | f241e3734a50953c2a37c10d2d84eb4c013b3ba0 | [
"MIT"
] | 1 | 2021-12-18T20:01:22.000Z | 2021-12-18T20:01:22.000Z | #-------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#--------------------------------------------------------------------------
import os
i... | 62.291667 | 204 | 0.742475 | 484 | 4,485 | 6.613636 | 0.192149 | 0.052484 | 0.069041 | 0.104967 | 0.781318 | 0.773508 | 0.747266 | 0.721649 | 0.701656 | 0.701656 | 0 | 0 | 0.140022 | 4,485 | 71 | 205 | 63.169014 | 0.82992 | 0.066444 | 0 | 0.454545 | 0 | 0.054545 | 0.406743 | 0.329747 | 0 | 0 | 0 | 0 | 0.327273 | 1 | 0.145455 | false | 0 | 0.072727 | 0 | 0.236364 | 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 |
6720b6aa93853e6c41bd11cbe0fdd62889238444 | 130 | py | Python | api_demo/services/interfaces/PropertyServiceInterface.py | iafrohack/python_rest | 4ce05163cf29e717171537451111d9f780126abb | [
"MIT"
] | null | null | null | api_demo/services/interfaces/PropertyServiceInterface.py | iafrohack/python_rest | 4ce05163cf29e717171537451111d9f780126abb | [
"MIT"
] | null | null | null | api_demo/services/interfaces/PropertyServiceInterface.py | iafrohack/python_rest | 4ce05163cf29e717171537451111d9f780126abb | [
"MIT"
] | null | null | null | from interface import Interface
class PropertyServiceInterface(Interface):
def get_property(self, property_id):
pass | 21.666667 | 42 | 0.769231 | 14 | 130 | 7 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176923 | 130 | 6 | 43 | 21.666667 | 0.915888 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
675a3fb07d1310061a29c460b7899f790e211da5 | 105,264 | py | Python | release/stubs/System/Windows/Forms/VisualStyles.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 182 | 2017-06-27T02:26:15.000Z | 2022-03-30T18:53:43.000Z | release/stubs/System/Windows/Forms/VisualStyles.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 28 | 2017-06-27T13:38:23.000Z | 2022-03-15T11:19:44.000Z | release/stubs/System/Windows/Forms/VisualStyles.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 67 | 2017-06-28T09:43:59.000Z | 2022-03-20T21:17:10.000Z | # encoding: utf-8
# module System.Windows.Forms.VisualStyles calls itself VisualStyles
# from System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
# by generator 1.145
""" NamespaceTracker represent a CLS namespace. """
# no imports
# no functions
# classes
class Backgroun... | 35.92628 | 560 | 0.625256 | 12,226 | 105,264 | 5.031081 | 0.066579 | 0.058917 | 0.102422 | 0.131686 | 0.742855 | 0.730385 | 0.684637 | 0.655259 | 0.639327 | 0.630044 | 0 | 0.009749 | 0.27697 | 105,264 | 2,929 | 561 | 35.938546 | 0.798434 | 0.098533 | 0 | 0.756201 | 0 | 0 | 0.000899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.337349 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
67679dc477ae17a7e2355a254399b8128e3f78b9 | 10,108 | py | Python | coflex_twopoint.py | evanjarena/F-SHARP | 091d676bc27ee4f26fa03c782275d710f70449f4 | [
"BSD-4-Clause-UC"
] | null | null | null | coflex_twopoint.py | evanjarena/F-SHARP | 091d676bc27ee4f26fa03c782275d710f70449f4 | [
"BSD-4-Clause-UC"
] | null | null | null | coflex_twopoint.py | evanjarena/F-SHARP | 091d676bc27ee4f26fa03c782275d710f70449f4 | [
"BSD-4-Clause-UC"
] | null | null | null | import numpy as np
import pandas as pd
from classy import Class
import pickle
import sys,os
import astropy
from astropy.cosmology import Planck15
from astropy import units as u
import matplotlib.pyplot as plt
from matplotlib import rc
rc('font',**{'family':'sans-serif','sans-serif':['Helvetica']})
rc('text', usetex=Tr... | 40.270916 | 142 | 0.641967 | 1,460 | 10,108 | 4.142466 | 0.141096 | 0.023975 | 0.02381 | 0.021164 | 0.813492 | 0.758433 | 0.737103 | 0.712963 | 0.698743 | 0.629299 | 0 | 0.020858 | 0.260091 | 10,108 | 250 | 143 | 40.432 | 0.787806 | 0.219133 | 0 | 0.510345 | 0 | 0 | 0.05429 | 0.008491 | 0 | 0 | 0 | 0 | 0 | 1 | 0.062069 | false | 0 | 0.096552 | 0.013793 | 0.206897 | 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 |
676bbaddf56463994eb3a763d775d1f23df89d75 | 50 | py | Python | tests/files/gt.py | docmarionum1/py65c | cd59ef25d2759b63efa5655f529fd31564cc31b0 | [
"WTFPL"
] | 12 | 2015-08-03T05:16:18.000Z | 2020-09-12T12:38:16.000Z | tests/files/gt.py | docmarionum1/py65c | cd59ef25d2759b63efa5655f529fd31564cc31b0 | [
"WTFPL"
] | null | null | null | tests/files/gt.py | docmarionum1/py65c | cd59ef25d2759b63efa5655f529fd31564cc31b0 | [
"WTFPL"
] | null | null | null | a = 5 > 3
b = 5 > 4
c = 5 > 5
d = 5 > 6
e = 5 > 7
| 8.333333 | 9 | 0.3 | 15 | 50 | 1 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0.5 | 50 | 5 | 10 | 10 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
db29a307848bd90d183125e06d4f08bbaae9707e | 542 | py | Python | pepipost/models/timeperiod_enum.py | kanhaiya2012/Sample | 6c3d549525b7883913a4677c3eb6f14c8da34b9b | [
"MIT"
] | null | null | null | pepipost/models/timeperiod_enum.py | kanhaiya2012/Sample | 6c3d549525b7883913a4677c3eb6f14c8da34b9b | [
"MIT"
] | null | null | null | pepipost/models/timeperiod_enum.py | kanhaiya2012/Sample | 6c3d549525b7883913a4677c3eb6f14c8da34b9b | [
"MIT"
] | 1 | 2020-05-17T17:55:30.000Z | 2020-05-17T17:55:30.000Z | # -*- coding: utf-8 -*-
"""
pepipost
This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ).
"""
class TimeperiodEnum(object):
"""Implementation of the 'Timeperiod' enum.
The periodic \n\nAllowed values \"daily\", \"weekly\", \"monhtly\"
Attributes:
... | 19.357143 | 84 | 0.579336 | 54 | 542 | 5.814815 | 0.648148 | 0.076433 | 0.181529 | 0.219745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 0.291513 | 542 | 27 | 85 | 20.074074 | 0.809896 | 0.693727 | 0 | 0 | 1 | 0 | 0.165138 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
e1e65f82f1ff6f1a428007dbdfb26b37a5141d8d | 101 | py | Python | sponsors/admin.py | igr-santos/conference | d229e70dcb2775201158579b6bf6b532aab2c6b7 | [
"MIT"
] | 1 | 2021-07-07T14:18:30.000Z | 2021-07-07T14:18:30.000Z | sponsors/admin.py | igr-santos/conference | d229e70dcb2775201158579b6bf6b532aab2c6b7 | [
"MIT"
] | null | null | null | sponsors/admin.py | igr-santos/conference | d229e70dcb2775201158579b6bf6b532aab2c6b7 | [
"MIT"
] | null | null | null | from django.contrib import admin
from sponsors.models import Sponsor
admin.site.register(Sponsor)
| 14.428571 | 35 | 0.821782 | 14 | 101 | 5.928571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118812 | 101 | 6 | 36 | 16.833333 | 0.932584 | 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 |
e1f2024ee043832a8d4d559da5d13808e53ee6a9 | 233 | py | Python | pesto/backend/db/db.py | saromanov/pesto | b14e92ac8295400fb56d84d7d05d5450e7dc7d61 | [
"MIT"
] | null | null | null | pesto/backend/db/db.py | saromanov/pesto | b14e92ac8295400fb56d84d7d05d5450e7dc7d61 | [
"MIT"
] | 15 | 2021-01-09T18:54:03.000Z | 2022-03-12T00:21:09.000Z | pesto/backend/db/db.py | saromanov/pesto | b14e92ac8295400fb56d84d7d05d5450e7dc7d61 | [
"MIT"
] | null | null | null | from flask_sqlalchemy import SQLAlchemy
db = SQLAlchemy()
def query(cls, **kw):
q = db.session.query(cls)
if kw:
q = q.filter_by(**kw)
return q
def get_by_id(cls, id):
return db.session.query(cls).get(id) | 16.642857 | 40 | 0.635193 | 38 | 233 | 3.789474 | 0.447368 | 0.166667 | 0.194444 | 0.236111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227468 | 233 | 14 | 40 | 16.642857 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.555556 | 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 |
c03a3768106a545ed4b29e8e6026a17d3484c1dd | 146 | py | Python | Kattis/jumbojavelin/anurag_solution.py | rawat9/dsa-prep | 9d5fec1b4ec1268e2c526c62b989b2c136b4e7f5 | [
"MIT"
] | 1 | 2022-02-20T00:28:42.000Z | 2022-02-20T00:28:42.000Z | Kattis/jumbojavelin/anurag_solution.py | rawat9/dsa-prep | 9d5fec1b4ec1268e2c526c62b989b2c136b4e7f5 | [
"MIT"
] | null | null | null | Kattis/jumbojavelin/anurag_solution.py | rawat9/dsa-prep | 9d5fec1b4ec1268e2c526c62b989b2c136b4e7f5 | [
"MIT"
] | null | null | null | N = int(input())
combined_length = 0
for _ in range(N):
length = int(input())
combined_length += length
print(combined_length - (N-1))
| 14.6 | 30 | 0.643836 | 21 | 146 | 4.285714 | 0.52381 | 0.466667 | 0.355556 | 0.488889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.205479 | 146 | 9 | 31 | 16.222222 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 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 |
c05e90192f7fc8e24c922ed150fd81d33812885a | 50 | py | Python | fat_py/fat2/__init__.py | factomatic/fat-py | d65819892186284d6e0d905329b4fab3e5eb2dde | [
"MIT"
] | 2 | 2020-01-10T18:27:52.000Z | 2021-01-19T19:31:03.000Z | fat_py/fat2/__init__.py | factomatic/fat-py | d65819892186284d6e0d905329b4fab3e5eb2dde | [
"MIT"
] | 2 | 2019-10-30T01:22:05.000Z | 2019-12-02T14:58:54.000Z | fat_py/fat2/__init__.py | factomatic/fat-py | d65819892186284d6e0d905329b4fab3e5eb2dde | [
"MIT"
] | 1 | 2019-12-02T13:49:05.000Z | 2019-12-02T13:49:05.000Z | from .models import Transaction, TransactionBatch
| 25 | 49 | 0.86 | 5 | 50 | 8.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 50 | 1 | 50 | 50 | 0.955556 | 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 |
c067b8b5c6ed98d350d16e74bdc1575d91378434 | 203 | py | Python | democracy_bot/utils.py | TheDuckFIN/democracy-bot | 76024b8b5757bd50ef141f0b35fa281e66a84778 | [
"MIT"
] | null | null | null | democracy_bot/utils.py | TheDuckFIN/democracy-bot | 76024b8b5757bd50ef141f0b35fa281e66a84778 | [
"MIT"
] | null | null | null | democracy_bot/utils.py | TheDuckFIN/democracy-bot | 76024b8b5757bd50ef141f0b35fa281e66a84778 | [
"MIT"
] | null | null | null | """Utility functions"""
import discord
def get_name(member: discord.Member):
"""Returns nick primarily and falls back to username"""
return member.name if member.nick is None else member.nick
| 22.555556 | 62 | 0.73399 | 29 | 203 | 5.103448 | 0.724138 | 0.135135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167488 | 203 | 8 | 63 | 25.375 | 0.87574 | 0.330049 | 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 |
fbee07220477968a9d9f5f3da63858c1ca0aa985 | 105 | py | Python | moto/elb/__init__.py | joekiller/moto | 56c7b2116eab83e738dc6c351f109db26a77cdc2 | [
"Apache-2.0"
] | null | null | null | moto/elb/__init__.py | joekiller/moto | 56c7b2116eab83e738dc6c351f109db26a77cdc2 | [
"Apache-2.0"
] | null | null | null | moto/elb/__init__.py | joekiller/moto | 56c7b2116eab83e738dc6c351f109db26a77cdc2 | [
"Apache-2.0"
] | null | null | null | from __future__ import unicode_literals
from .models import elb_backend
mock_elb = elb_backend.decorator
| 26.25 | 39 | 0.866667 | 15 | 105 | 5.533333 | 0.666667 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104762 | 105 | 3 | 40 | 35 | 0.882979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2201a7fd9dbbf9b307dcc58d1d3c951df8a8ffa0 | 150 | py | Python | d2l/__init__.py | cingtiye/d2l-pytorch | 9152fa5309fd48ac06b85e961ca13d44a425a647 | [
"Apache-2.0"
] | 2 | 2020-03-18T13:53:53.000Z | 2020-05-27T15:22:00.000Z | d2l/__init__.py | cingtiye/d2l-pytorch | 9152fa5309fd48ac06b85e961ca13d44a425a647 | [
"Apache-2.0"
] | null | null | null | d2l/__init__.py | cingtiye/d2l-pytorch | 9152fa5309fd48ac06b85e961ca13d44a425a647 | [
"Apache-2.0"
] | null | null | null | from .base import *
from .figure import *
from .data import *
from .train import *
from .model import *
from .ssd_utils import *
__version__ = '1.1.0' | 21.428571 | 24 | 0.713333 | 23 | 150 | 4.434783 | 0.521739 | 0.490196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024194 | 0.173333 | 150 | 7 | 25 | 21.428571 | 0.798387 | 0 | 0 | 0 | 0 | 0 | 0.033113 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.857143 | 0 | 0.857143 | 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 |
2253e14d30bffdbec0010ddcca2ea9b6f9f4e14c | 136 | py | Python | app/models/City/methods/__init__.py | msolorio/flask_world_api | a2d5394618b736aa7d5d5e75a422dbe9e5713533 | [
"MIT"
] | 1 | 2022-02-24T04:37:04.000Z | 2022-02-24T04:37:04.000Z | app/models/City/methods/__init__.py | msolorio/flask_world_api | a2d5394618b736aa7d5d5e75a422dbe9e5713533 | [
"MIT"
] | null | null | null | app/models/City/methods/__init__.py | msolorio/flask_world_api | a2d5394618b736aa7d5d5e75a422dbe9e5713533 | [
"MIT"
] | null | null | null | from .delete import delete
from .find import find
from .update import update
from .create import create
from .find_many import find_many | 27.2 | 32 | 0.823529 | 22 | 136 | 5 | 0.318182 | 0.145455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139706 | 136 | 5 | 32 | 27.2 | 0.940171 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.