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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
08778c51cd6edfb51e0f78f3cbae06fefbe9e517 | 235 | py | Python | course-2:combining-building-blocks/subject-2:functions/topic-2:Functions calling functions/lesson-1:Functions calling functions.py | regnart-tech-club/python | 069df070059de662d4104de8192e45407a7e94ce | [
"Apache-2.0"
] | null | null | null | course-2:combining-building-blocks/subject-2:functions/topic-2:Functions calling functions/lesson-1:Functions calling functions.py | regnart-tech-club/python | 069df070059de662d4104de8192e45407a7e94ce | [
"Apache-2.0"
] | null | null | null | course-2:combining-building-blocks/subject-2:functions/topic-2:Functions calling functions/lesson-1:Functions calling functions.py | regnart-tech-club/python | 069df070059de662d4104de8192e45407a7e94ce | [
"Apache-2.0"
] | 1 | 2016-04-03T00:53:37.000Z | 2016-04-03T00:53:37.000Z | def square(x):
return x * x
def add_squares(x, y):
return square(x) + square(y)
# TODO: Talk about the call stack and memory as it pertains to parameters
print(add_squares(3, 4))
print(add_squares(5, 12))
print(add_squares(8, 15))
| 21.363636 | 73 | 0.714894 | 44 | 235 | 3.727273 | 0.613636 | 0.243902 | 0.27439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040404 | 0.157447 | 235 | 10 | 74 | 23.5 | 0.787879 | 0.302128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.285714 | 0.571429 | 0.428571 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 6 |
08837363b54ac2ff124fe55135dbe0b25373bf3d | 136 | py | Python | stage_0_Ravindran.py | jravimicro/team-rosalind-project | 4700ef6722c909ce9f5c48d4008ddaaf29d47d46 | [
"MIT"
] | null | null | null | stage_0_Ravindran.py | jravimicro/team-rosalind-project | 4700ef6722c909ce9f5c48d4008ddaaf29d47d46 | [
"MIT"
] | null | null | null | stage_0_Ravindran.py | jravimicro/team-rosalind-project | 4700ef6722c909ce9f5c48d4008ddaaf29d47d46 | [
"MIT"
] | null | null | null | print("NAME: Ravindran \nEMAIL: jravimicro@gmail.com \nBIOSTACK: Drug Development \nUSED LANGUAGE: Python \nSLACK USERNAME: @Ravi")
| 45.333333 | 131 | 0.757353 | 16 | 136 | 6.4375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 136 | 2 | 132 | 68 | 0.865546 | 0 | 0 | 0 | 0 | 1 | 0.897059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
3ebee8d9c9c194aa06f67cfc6419ce9cd7b49f13 | 13,754 | py | Python | client/tests/test-sleep-mode.py | tommccallum/smartbot | 7241aa80a8dfa1f67e411c9000d65addd81ebd3f | [
"MIT"
] | 1 | 2021-01-27T11:18:54.000Z | 2021-01-27T11:18:54.000Z | client/tests/test-sleep-mode.py | tommccallum/smartbot | 7241aa80a8dfa1f67e411c9000d65addd81ebd3f | [
"MIT"
] | null | null | null | client/tests/test-sleep-mode.py | tommccallum/smartbot | 7241aa80a8dfa1f67e411c9000d65addd81ebd3f | [
"MIT"
] | null | null | null | import unittest
import os
import sys
from unittest.mock import patch
import datetime
from freezegun import freeze_time
sys.path.insert(0, os.path.join(os.path.dirname(__file__),"../src"))
CURDIR=os.path.abspath(os.path.dirname(__file__))
from sleep_mode import SleepMode
from event import Event, EventEnum
import glob... | 43.388013 | 98 | 0.634143 | 2,017 | 13,754 | 4.048091 | 0.071393 | 0.088181 | 0.109859 | 0.148071 | 0.8703 | 0.846295 | 0.835885 | 0.825475 | 0.812002 | 0.767544 | 0 | 0.092257 | 0.225316 | 13,754 | 316 | 99 | 43.525316 | 0.67405 | 0 | 0 | 0.580524 | 0 | 0 | 0.097354 | 0 | 0 | 0 | 0 | 0 | 0.224719 | 1 | 0.149813 | false | 0.003745 | 0.037453 | 0 | 0.194757 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
3ee8086b6d3dc7a3eaaf86d37b0425492c50f4a9 | 1,191 | py | Python | tests/test_view_ui_methods.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 18 | 2015-04-07T14:28:39.000Z | 2020-02-08T14:03:38.000Z | tests/test_view_ui_methods.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 7 | 2016-10-05T05:14:06.000Z | 2021-05-20T02:07:22.000Z | tests/test_view_ui_methods.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 11 | 2015-12-15T09:49:39.000Z | 2021-09-06T18:38:21.000Z | # -*- coding: utf-8 -*-
from . import utils
def engine():
utils.expecting_text('get', '/view/ui_methods/engine', None, 200)
def yyyymmdd():
utils.expecting_text('get', '/view/ui_methods/yyyymmdd', None, 200)
def mmdd():
utils.expecting_text('get', '/view/ui_methods/mmdd', None, 200)
def hhiiss():
... | 20.894737 | 76 | 0.675063 | 170 | 1,191 | 4.541176 | 0.188235 | 0.235751 | 0.303109 | 0.353627 | 0.580311 | 0.580311 | 0.580311 | 0.095855 | 0 | 0 | 0 | 0.041992 | 0.140218 | 1,191 | 56 | 77 | 21.267857 | 0.711914 | 0.017632 | 0 | 0 | 0 | 0 | 0.299658 | 0.249144 | 0 | 0 | 0 | 0 | 0 | 1 | 0.481481 | true | 0 | 0.037037 | 0 | 0.518519 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
4119a4d92d07c18136e24f6a478be45a5316cb6f | 37 | py | Python | HCmd/commander/__init__.py | sarahswinton/asdp4_hornet | a509168d7bca9070d96baaac3b60d623755aa692 | [
"Unlicense"
] | null | null | null | HCmd/commander/__init__.py | sarahswinton/asdp4_hornet | a509168d7bca9070d96baaac3b60d623755aa692 | [
"Unlicense"
] | null | null | null | HCmd/commander/__init__.py | sarahswinton/asdp4_hornet | a509168d7bca9070d96baaac3b60d623755aa692 | [
"Unlicense"
] | null | null | null | from .commander import CommanderCmd
| 18.5 | 36 | 0.837838 | 4 | 37 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 1 | 37 | 37 | 0.96875 | 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 | 1 | 0 | 0 | 6 |
4121fdce8c07d45cfba7d617f22dcf9b4ae3d96b | 77 | py | Python | Retired/Retired 3.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 6 | 2020-09-03T09:32:25.000Z | 2020-12-07T04:10:01.000Z | Retired/Retired 3.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 1 | 2021-12-13T15:30:21.000Z | 2021-12-13T15:30:21.000Z | Retired/Retired 3.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | null | null | null | def power(power_exponent, exponent):
return pow(exponent, power_exponent) | 38.5 | 40 | 0.792208 | 10 | 77 | 5.9 | 0.5 | 0.440678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116883 | 77 | 2 | 40 | 38.5 | 0.867647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
eb14fc0e33d759cf2987b2f77cac9597453ec6f3 | 11,873 | py | Python | backend/modules/instructions.py | crowdbotics-apps/test-33024 | 09ff5fe2740de7d38aced0309cba713511e7482e | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | backend/modules/instructions.py | crowdbotics-apps/test-33024 | 09ff5fe2740de7d38aced0309cba713511e7482e | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | backend/modules/instructions.py | crowdbotics-apps/test-33024 | 09ff5fe2740de7d38aced0309cba713511e7482e | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | from django.db import models
from django.utils.translation import ugettext_lazy as _
class InstructionBTWBus(models.Model):
db_table = models.CharField(_('DB Table'), max_length=250, default=None, null=True, blank=False)
instruction = models.TextField()
field_name = models.CharField(_('Field Name'), max_... | 36.872671 | 118 | 0.60187 | 1,302 | 11,873 | 5.205069 | 0.061444 | 0.095618 | 0.042497 | 0.067286 | 0.936255 | 0.908809 | 0.88579 | 0.840933 | 0.840933 | 0.840933 | 0 | 0.008643 | 0.298408 | 11,873 | 321 | 119 | 36.987539 | 0.804922 | 0.004464 | 0 | 0.694215 | 0 | 0 | 0.224141 | 0.039953 | 0 | 0 | 0 | 0 | 0 | 1 | 0.099174 | false | 0 | 0.008264 | 0.099174 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
eb19f7cb41e3ee755ec4e8da0c8ca935da0047ae | 571 | py | Python | chapter 6/sampleCode3.py | DTAIEB/Thoughtful-Data-Science | 8b80e8f3e33b6fdc6672ecee1f27e0b983b28241 | [
"Apache-2.0"
] | 15 | 2018-06-01T19:18:32.000Z | 2021-11-28T03:31:35.000Z | chapter 6/sampleCode3.py | chshychen/Thoughtful-Data-Science | 8b80e8f3e33b6fdc6672ecee1f27e0b983b28241 | [
"Apache-2.0"
] | 1 | 2018-12-17T02:01:42.000Z | 2018-12-17T02:01:42.000Z | chapter 6/sampleCode3.py | chshychen/Thoughtful-Data-Science | 8b80e8f3e33b6fdc6672ecee1f27e0b983b28241 | [
"Apache-2.0"
] | 10 | 2018-09-16T06:06:57.000Z | 2021-06-29T05:49:18.000Z | def input_fn(features, labels, batch_size, train):
# Convert the inputs to a Dataset and shuffle.
dataset = tf.data.Dataset.from_tensor_slices((dict(features), labels)).shuffle(1000)
if train:
#repeat only for training
dataset = dataset.repeat()
# Return the dataset in batch
return d... | 38.066667 | 88 | 0.732049 | 81 | 571 | 4.975309 | 0.407407 | 0.208437 | 0.186104 | 0.260546 | 0.439206 | 0.439206 | 0.439206 | 0.352357 | 0.352357 | 0.352357 | 0 | 0.008475 | 0.17338 | 571 | 14 | 89 | 40.785714 | 0.845339 | 0.168126 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.222222 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
debe7b2d6f6f6a2e72892d0b6cf377d935851ff5 | 5,617 | py | Python | tests/test_allow.py | nobody-65534/click-constrained-option | db9d3cbcf551b888cf4f38717d864a9c1e4568a9 | [
"BSD-3-Clause"
] | null | null | null | tests/test_allow.py | nobody-65534/click-constrained-option | db9d3cbcf551b888cf4f38717d864a9c1e4568a9 | [
"BSD-3-Clause"
] | null | null | null | tests/test_allow.py | nobody-65534/click-constrained-option | db9d3cbcf551b888cf4f38717d864a9c1e4568a9 | [
"BSD-3-Clause"
] | null | null | null | import unittest
import click
from click.testing import CliRunner
from click_constrained_option import ConstrainedOption
class TestAllow(unittest.TestCase):
def test_allowed_func(self):
@click.command()
@click.option("--a")
@click.option("--b", cls=ConstrainedOption, allowed_func=lambda a... | 34.67284 | 117 | 0.556881 | 697 | 5,617 | 4.38307 | 0.086083 | 0.090016 | 0.100164 | 0.116858 | 0.887725 | 0.877905 | 0.86874 | 0.84419 | 0.831424 | 0.79018 | 0 | 0.016359 | 0.238205 | 5,617 | 161 | 118 | 34.888199 | 0.697593 | 0 | 0 | 0.674797 | 0 | 0 | 0.094891 | 0 | 0 | 0 | 0 | 0 | 0.276423 | 1 | 0.130081 | false | 0 | 0.03252 | 0 | 0.170732 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
dec29c052cb086ae0ed41ab13555f4175cd0934f | 212 | py | Python | test/__init__.py | jasonleeinf/nmtlab | 122b70cc226d9ce17ad106a3bd3a5318bd3b359f | [
"MIT"
] | 27 | 2018-07-31T05:25:05.000Z | 2021-09-28T11:26:55.000Z | test/__init__.py | jasonleeinf/nmtlab | 122b70cc226d9ce17ad106a3bd3a5318bd3b359f | [
"MIT"
] | null | null | null | test/__init__.py | jasonleeinf/nmtlab | 122b70cc226d9ce17ad106a3bd3a5318bd3b359f | [
"MIT"
] | 9 | 2018-09-20T19:44:53.000Z | 2020-12-09T09:51:56.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from six.moves import xrange
from six.moves import zip
| 21.2 | 38 | 0.787736 | 31 | 212 | 4.935484 | 0.580645 | 0.196078 | 0.313725 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005464 | 0.136792 | 212 | 9 | 39 | 23.555556 | 0.830601 | 0.198113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.2 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dee0b7d0f12a6503c606e09318a97eb8d39f00bb | 94 | py | Python | packages/pytea/pylib/PIL/__init__.py | Sehun0819/pytea | 3f068016a71a1915722e51d977fedab01427a42c | [
"MIT"
] | 241 | 2021-03-19T01:11:44.000Z | 2022-03-25T03:15:22.000Z | packages/pytea/pylib/PIL/__init__.py | Sehun0819/pytea | 3f068016a71a1915722e51d977fedab01427a42c | [
"MIT"
] | 2 | 2021-02-26T08:16:04.000Z | 2022-02-28T02:52:58.000Z | packages/pytea/pylib/PIL/__init__.py | Sehun0819/pytea | 3f068016a71a1915722e51d977fedab01427a42c | [
"MIT"
] | 14 | 2021-01-08T02:22:58.000Z | 2022-01-19T14:13:14.000Z | from . import Image
from . import ImageDraw
from . import ImageEnhance
from . import ImageOps
| 18.8 | 26 | 0.787234 | 12 | 94 | 6.166667 | 0.5 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 94 | 4 | 27 | 23.5 | 0.948718 | 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 | 1 | 0 | 0 | 6 |
7230436adfda224d870cdd9f9a2a0cae056dfa93 | 39 | py | Python | holocron/utils/__init__.py | frgfm/torch-zoo | c97beacf3d49eaa34398abf47f378ea6b48a70f3 | [
"Apache-2.0"
] | 181 | 2019-09-05T10:48:15.000Z | 2022-03-29T06:53:15.000Z | holocron/utils/__init__.py | frgfm/torch-zoo | c97beacf3d49eaa34398abf47f378ea6b48a70f3 | [
"Apache-2.0"
] | 179 | 2019-08-29T09:15:49.000Z | 2022-02-13T21:49:20.000Z | holocron/utils/__init__.py | frgfm/torch-zoo | c97beacf3d49eaa34398abf47f378ea6b48a70f3 | [
"Apache-2.0"
] | 46 | 2019-07-25T03:36:27.000Z | 2022-03-29T06:53:19.000Z | from . import data
from .misc import *
| 13 | 19 | 0.717949 | 6 | 39 | 4.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 39 | 2 | 20 | 19.5 | 0.903226 | 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 | 1 | 0 | 0 | 6 |
a0c683d772e7227a0b5c36a9909941de6b8e6228 | 99 | py | Python | dragon_lite/user_group/__init__.py | Magellanea/Dragon-Lite | 1afcb3a92542ca00955629487fa4bbc336cf65ac | [
"BSD-3-Clause"
] | null | null | null | dragon_lite/user_group/__init__.py | Magellanea/Dragon-Lite | 1afcb3a92542ca00955629487fa4bbc336cf65ac | [
"BSD-3-Clause"
] | null | null | null | dragon_lite/user_group/__init__.py | Magellanea/Dragon-Lite | 1afcb3a92542ca00955629487fa4bbc336cf65ac | [
"BSD-3-Clause"
] | null | null | null | '''The user group module.'''
from .models import UserGroup
from . import forms
from . import views
| 19.8 | 29 | 0.737374 | 14 | 99 | 5.214286 | 0.714286 | 0.273973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161616 | 99 | 4 | 30 | 24.75 | 0.879518 | 0.222222 | 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 | 1 | 0 | 0 | 6 |
a0ed004b6c6ca1687321b34cabbad00b1c471a9d | 993 | py | Python | test_file.py | empathephant/text-register-analyzer | f094c1306ed216a9d097c2a50a0ac685eaee1f9a | [
"MIT"
] | null | null | null | test_file.py | empathephant/text-register-analyzer | f094c1306ed216a9d097c2a50a0ac685eaee1f9a | [
"MIT"
] | null | null | null | test_file.py | empathephant/text-register-analyzer | f094c1306ed216a9d097c2a50a0ac685eaee1f9a | [
"MIT"
] | null | null | null | test = "HITCHHIKER'S GUIDE TO THE GALAXY Written by Douglas Adams Based on the book \"The Hitchhikers Guide to the Galaxy\" by Douglas Adams Revisions by Karey Kirkpatrick 8/8/03 3rd Revised Draft 1 2. HHGG 3rd Revised Draft 8/8/03 OVER DARKNESS... 1 ...we hear what we will come to know as the VOICE OF THE GUIDE. GUIDE... | 496.5 | 992 | 0.78852 | 173 | 993 | 4.526012 | 0.624277 | 0.025543 | 0.025543 | 0.040868 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015739 | 0.168177 | 993 | 1 | 993 | 993 | 0.932203 | 0 | 0 | 0 | 0 | 1 | 0.951662 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9d5893f9a601c02b422cf5d6c77258075ef0690f | 21 | py | Python | build/lib/welch/__init__.py | 11mhg/welch_dcp | 68655da1df005c6915661fe2319988d476417e66 | [
"MIT"
] | null | null | null | build/lib/welch/__init__.py | 11mhg/welch_dcp | 68655da1df005c6915661fe2319988d476417e66 | [
"MIT"
] | null | null | null | build/lib/welch/__init__.py | 11mhg/welch_dcp | 68655da1df005c6915661fe2319988d476417e66 | [
"MIT"
] | null | null | null | from .welch import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.882353 | 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 | 1 | 0 | 0 | 6 |
19f93c4a88f287bf85a5841ccc276f851e1f94a8 | 387 | py | Python | libs/datasets/__init__.py | thoo/covid-data-model | 69c44dd44960456e425aa2bae72f098c97c1b79b | [
"MIT"
] | 2 | 2020-06-14T19:10:03.000Z | 2020-12-29T19:17:53.000Z | libs/datasets/__init__.py | thoo/covid-data-model | 69c44dd44960456e425aa2bae72f098c97c1b79b | [
"MIT"
] | null | null | null | libs/datasets/__init__.py | thoo/covid-data-model | 69c44dd44960456e425aa2bae72f098c97c1b79b | [
"MIT"
] | null | null | null | import enum
from libs.datasets.sources.jhu_dataset import JHUDataset
from libs.datasets.sources.nytimes_dataset import NYTimesDataset
from libs.datasets.sources.dh_beds import DHBeds
from libs.datasets.sources.covid_tracking_source import CovidTrackingDataSource
from libs.datasets.sources.cds_dataset import CDSDatase... | 38.7 | 79 | 0.881137 | 51 | 387 | 6.54902 | 0.45098 | 0.143713 | 0.287425 | 0.413174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072351 | 387 | 9 | 80 | 43 | 0.930362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c21cdc2d5566ffad5e8cd7d3a723d8a703bec5e9 | 40 | py | Python | test/integration/test_cli.py | TripleDotEng/trivium-cli | 4291ed1d71d728ac3c0c738f7367f21521e393f4 | [
"MIT"
] | null | null | null | test/integration/test_cli.py | TripleDotEng/trivium-cli | 4291ed1d71d728ac3c0c738f7367f21521e393f4 | [
"MIT"
] | null | null | null | test/integration/test_cli.py | TripleDotEng/trivium-cli | 4291ed1d71d728ac3c0c738f7367f21521e393f4 | [
"MIT"
] | null | null | null | import trivium
print(trivium.version)
| 8 | 22 | 0.8 | 5 | 40 | 6.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 4 | 23 | 10 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
df9a058b6027efb0d522b7b6a98ac7818ddaee5c | 111 | py | Python | Python/Topics/Series/Converting a dictionary to Series/main.py | drtierney/hyperskill-problems | b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0 | [
"MIT"
] | 5 | 2020-08-29T15:15:31.000Z | 2022-03-01T18:22:34.000Z | Python/Topics/Series/Converting a dictionary to Series/main.py | drtierney/hyperskill-problems | b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0 | [
"MIT"
] | null | null | null | Python/Topics/Series/Converting a dictionary to Series/main.py | drtierney/hyperskill-problems | b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0 | [
"MIT"
] | 1 | 2020-12-02T11:13:14.000Z | 2020-12-02T11:13:14.000Z | import pandas as pd
def create_series(capitals):
return pd.Series(capitals, name="Capitals of the world")
| 22.2 | 60 | 0.756757 | 17 | 111 | 4.882353 | 0.764706 | 0.337349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153153 | 111 | 4 | 61 | 27.75 | 0.882979 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
dfa01d009684bf6cb74eaf63f572727da3d262a3 | 31 | py | Python | pymrmre/__init__.py | bhklab/PymRMRe | 87d7a5a150476fbad0846384a843307320e6ac27 | [
"MIT"
] | 5 | 2020-06-30T04:26:08.000Z | 2022-02-22T10:43:20.000Z | pymrmre/__init__.py | bhklab/PymRMRe | 87d7a5a150476fbad0846384a843307320e6ac27 | [
"MIT"
] | 6 | 2020-07-22T10:14:58.000Z | 2021-04-07T15:34:10.000Z | pymrmre/__init__.py | bhklab/PymRMRe | 87d7a5a150476fbad0846384a843307320e6ac27 | [
"MIT"
] | 1 | 2020-11-26T22:17:45.000Z | 2020-11-26T22:17:45.000Z | import expt
from .mrmr import * | 15.5 | 19 | 0.774194 | 5 | 31 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 2 | 19 | 15.5 | 0.923077 | 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 | 1 | 0 | 0 | 6 |
a038e0be24c001bec968df0399fc6f5018e5f038 | 42,383 | py | Python | climateeconomics/tests/utility_tests/_l0_test_witnessMDA_perfos.py | os-climate/witness-core | 3ef9a44d86804c5ad57deec3c9916348cb3bfbb8 | [
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2022-01-14T06:37:42.000Z | 2022-01-14T06:37:42.000Z | climateeconomics/tests/utility_tests/_l0_test_witnessMDA_perfos.py | os-climate/witness-core | 3ef9a44d86804c5ad57deec3c9916348cb3bfbb8 | [
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | climateeconomics/tests/utility_tests/_l0_test_witnessMDA_perfos.py | os-climate/witness-core | 3ef9a44d86804c5ad57deec3c9916348cb3bfbb8 | [
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | '''
Copyright 2022 Airbus SAS
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 agreed to in writing, sof... | 44.849735 | 138 | 0.569922 | 5,156 | 42,383 | 4.418542 | 0.09678 | 0.017909 | 0.019357 | 0.028312 | 0.787157 | 0.777807 | 0.771003 | 0.755465 | 0.742911 | 0.718857 | 0 | 0.017241 | 0.31029 | 42,383 | 944 | 139 | 44.897246 | 0.76211 | 0.145082 | 0 | 0.767305 | 0 | 0.001473 | 0.153124 | 0.072379 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033873 | false | 0 | 0.029455 | 0 | 0.081001 | 0.030928 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cd1ac903b8d200d55503938c63ba721bcb6e405c | 134 | py | Python | python/testData/intentions/typeInDocstring6_after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/intentions/typeInDocstring6_after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/intentions/typeInDocstring6_after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class A:
def unresolved(self):
pass
class B:
def unresolved(self):
pass
def foo3(param):
i = param.unreso<caret>lved() | 13.4 | 31 | 0.649254 | 20 | 134 | 4.35 | 0.65 | 0.298851 | 0.390805 | 0.482759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009615 | 0.223881 | 134 | 10 | 31 | 13.4 | 0.826923 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.25 | 0 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
cd52843f8b19a2dd932eccd1b2d66edd816e6d4a | 231 | py | Python | train_models_array.py | wittenator/pimai | 74ed443349fafd00f9af94b3b7f894a35fdde8ab | [
"MIT"
] | null | null | null | train_models_array.py | wittenator/pimai | 74ed443349fafd00f9af94b3b7f894a35fdde8ab | [
"MIT"
] | null | null | null | train_models_array.py | wittenator/pimai | 74ed443349fafd00f9af94b3b7f894a35fdde8ab | [
"MIT"
] | null | null | null | from train import train
import itertools
for warmup_method,reparametrization in itertools.product(['cycle', 'tanh', 'none'], ['km', 'gamma']):
train(warmup_method=warmup_method,reparametrization=reparametrization,max_epoch=500)
| 38.5 | 102 | 0.792208 | 28 | 231 | 6.392857 | 0.642857 | 0.201117 | 0.324022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.077922 | 231 | 5 | 103 | 46.2 | 0.826291 | 0 | 0 | 0 | 0 | 0 | 0.08658 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
cd9adae061683d406bf706e52731adbdfa8bfe5e | 6,269 | py | Python | loldib/getratings/models/NA/na_fizz/na_fizz_mid.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_fizz/na_fizz_mid.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_fizz/na_fizz_mid.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Fizz_Mid_Aatrox(Ratings):
pass
class NA_Fizz_Mid_Ahri(Ratings):
pass
class NA_Fizz_Mid_Akali(Ratings):
pass
class NA_Fizz_Mid_Alistar(Ratings):
pass
class NA_Fizz_Mid_Amumu(Ratings):
pass
class NA_Fizz_Mid_Anivia(Ratings):
pass
clas... | 15.033573 | 46 | 0.75642 | 972 | 6,269 | 4.452675 | 0.151235 | 0.223198 | 0.350739 | 0.446396 | 0.791359 | 0.791359 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177221 | 6,269 | 416 | 47 | 15.069712 | 0.839085 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
26df5402a143eb73ae57765fe59b91d360b9d016 | 68 | py | Python | double3/double3sdk/gui/gui.py | CLOMING/winter2021_double | 9b920baaeb3736a785a6505310b972c49b5b21e9 | [
"Apache-2.0"
] | null | null | null | double3/double3sdk/gui/gui.py | CLOMING/winter2021_double | 9b920baaeb3736a785a6505310b972c49b5b21e9 | [
"Apache-2.0"
] | null | null | null | double3/double3sdk/gui/gui.py | CLOMING/winter2021_double | 9b920baaeb3736a785a6505310b972c49b5b21e9 | [
"Apache-2.0"
] | null | null | null | from double3sdk.double_api import _DoubleAPI
class _Gui:
pass
| 11.333333 | 44 | 0.779412 | 9 | 68 | 5.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.191176 | 68 | 5 | 45 | 13.6 | 0.890909 | 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 | 1 | 0 | 0 | 6 |
f81527c662a5d6e6c9a26ee9d17304777f151cbc | 84 | py | Python | salesforce_api/const/__init__.py | octopyth/python-salesforce-api | 3f51995f7dc4ae965cb7a594f6f0fb8fcf35ec5d | [
"MIT"
] | 25 | 2019-05-20T06:38:45.000Z | 2022-02-22T02:10:37.000Z | salesforce_api/const/__init__.py | octopyth/python-salesforce-api | 3f51995f7dc4ae965cb7a594f6f0fb8fcf35ec5d | [
"MIT"
] | 19 | 2019-07-02T10:12:09.000Z | 2022-01-09T23:33:21.000Z | salesforce_api/const/__init__.py | octopyth/python-salesforce-api | 3f51995f7dc4ae965cb7a594f6f0fb8fcf35ec5d | [
"MIT"
] | 16 | 2019-12-04T20:45:16.000Z | 2021-12-17T23:29:29.000Z | from .misc import *
from .status import *
from .test import *
from .type import * | 21 | 22 | 0.690476 | 12 | 84 | 4.833333 | 0.5 | 0.517241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 84 | 4 | 23 | 21 | 0.878788 | 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 | 1 | 0 | 0 | 6 |
f81eef94a821e5f404d977968e4807bb9d33839d | 385 | py | Python | test/run/t421.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | test/run/t421.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | test/run/t421.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | print repr(1)
print repr(100L)
print repr(1.5)
print repr([])
print repr([1,2,3,4])
print repr(())
print repr((1,2,3,4))
print repr({})
print repr({1:2,3:4})
print repr('')
print repr('hello world')
print repr(object())
class A(object):
def __init__(self): pass
print repr(A())
class B:
def __init__(self): pa... | 16.041667 | 44 | 0.649351 | 68 | 385 | 3.5 | 0.294118 | 0.529412 | 0.210084 | 0.302521 | 0.352941 | 0.352941 | 0.352941 | 0.352941 | 0.352941 | 0.352941 | 0 | 0.055385 | 0.155844 | 385 | 23 | 45 | 16.73913 | 0.676923 | 0 | 0 | 0.105263 | 0 | 0 | 0.057143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.105263 | 0 | null | null | 0.736842 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 6 |
f858fe67c3265e625daa5cd6dcf757918f7814e2 | 35 | py | Python | omniscient/kg/dbpedia/__init__.py | Impavidity/Omniscient | 4e51791739dc9c1b1399df42ff36e0920b4c1c5c | [
"Apache-2.0"
] | 2 | 2018-11-14T05:29:52.000Z | 2019-05-21T03:42:28.000Z | omniscient/kg/dbpedia/__init__.py | Impavidity/Omniscient | 4e51791739dc9c1b1399df42ff36e0920b4c1c5c | [
"Apache-2.0"
] | null | null | null | omniscient/kg/dbpedia/__init__.py | Impavidity/Omniscient | 4e51791739dc9c1b1399df42ff36e0920b4c1c5c | [
"Apache-2.0"
] | 2 | 2019-08-08T00:41:26.000Z | 2020-03-17T18:12:31.000Z | from omniscient.kg.dbpedia import * | 35 | 35 | 0.828571 | 5 | 35 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.90625 | 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 | 1 | 0 | 0 | 6 |
f86c553b490581b05ff5d5f3f5f08cac9cf335af | 29 | py | Python | BoydCut/__init__.py | zkan/BoydCut | f6810b5aa1bb4049c33caa7d46247e3a01d113b8 | [
"MIT"
] | 7 | 2020-08-11T04:22:45.000Z | 2021-06-07T03:38:14.000Z | BoydCut/__init__.py | zkan/BoydCut | f6810b5aa1bb4049c33caa7d46247e3a01d113b8 | [
"MIT"
] | 2 | 2020-08-18T10:20:38.000Z | 2020-10-25T16:22:07.000Z | BoydCut/__init__.py | zkan/BoydCut | f6810b5aa1bb4049c33caa7d46247e3a01d113b8 | [
"MIT"
] | 7 | 2020-08-11T04:22:50.000Z | 2021-04-28T09:45:48.000Z | from BoydCut.utility import * | 29 | 29 | 0.827586 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.923077 | 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 | 1 | 0 | 0 | 6 |
3e7c12a87467358bbd5d9657e89e5d31a72a4846 | 90 | py | Python | Intro/03 - checkPalindrome.py | lucasalme1da/codesignal | faff1ae635d04a33a1b59e6f751d266fabca5e71 | [
"MIT"
] | 2 | 2020-04-15T00:15:03.000Z | 2021-02-17T18:43:08.000Z | Intro/03 - checkPalindrome.py | lucasalme1da/codesignal | faff1ae635d04a33a1b59e6f751d266fabca5e71 | [
"MIT"
] | null | null | null | Intro/03 - checkPalindrome.py | lucasalme1da/codesignal | faff1ae635d04a33a1b59e6f751d266fabca5e71 | [
"MIT"
] | null | null | null | def checkPalindrome(inputString):
return list(inputString) == list(inputString)[::-1]
| 30 | 55 | 0.733333 | 9 | 90 | 7.333333 | 0.666667 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.111111 | 90 | 2 | 56 | 45 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e42321c6b7f1f1fd9021deeffcef6f201e13c1fd | 2,873 | py | Python | knapsack/solver_test.py | tqa236/discrete-optimization | ec6a73f2d7b28c67ea4858b7275b447f8b7b5674 | [
"MIT"
] | null | null | null | knapsack/solver_test.py | tqa236/discrete-optimization | ec6a73f2d7b28c67ea4858b7275b447f8b7b5674 | [
"MIT"
] | null | null | null | knapsack/solver_test.py | tqa236/discrete-optimization | ec6a73f2d7b28c67ea4858b7275b447f8b7b5674 | [
"MIT"
] | null | null | null | import unittest
from solver import (knapsack_solver, maximum_value, parse_input,
parse_or_tools_input)
class Test(unittest.TestCase):
def test_homemade(self):
file_location = "data/ks_4_0"
with open(file_location, "r") as input_data_file:
input_data = input_data_fi... | 41.637681 | 82 | 0.655064 | 381 | 2,873 | 4.669291 | 0.152231 | 0.121417 | 0.08769 | 0.057336 | 0.871276 | 0.790894 | 0.790894 | 0.726813 | 0.726813 | 0.726813 | 0 | 0.028859 | 0.240167 | 2,873 | 68 | 83 | 42.25 | 0.786074 | 0 | 0 | 0.62069 | 0 | 0 | 0.03237 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 1 | 0.103448 | false | 0 | 0.034483 | 0 | 0.155172 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
e447c334591758141b420843f7eb06126b4b5977 | 162 | py | Python | pyapple/__init__.py | fxrcha/Pyapple | 0d28ea0e85e096eb21639814ccff352b73281b99 | [
"MIT"
] | null | null | null | pyapple/__init__.py | fxrcha/Pyapple | 0d28ea0e85e096eb21639814ccff352b73281b99 | [
"MIT"
] | null | null | null | pyapple/__init__.py | fxrcha/Pyapple | 0d28ea0e85e096eb21639814ccff352b73281b99 | [
"MIT"
] | null | null | null | from .client import Apple
from .src import Jailbreak, IPSWME, SHSH2, SWSCAN
__version__ = "2.0.0"
__all__ = ["Apple", "Jailbreak", "IPSWME", "SHSH2", "SWSCAN"]
| 23.142857 | 61 | 0.691358 | 21 | 162 | 4.952381 | 0.619048 | 0.288462 | 0.384615 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035971 | 0.141975 | 162 | 6 | 62 | 27 | 0.71223 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e48d0efa179a6a61377e8ba3aa665b4fa795eb4e | 95 | py | Python | ace/cli/__init__.py | ace-ecosystem/ace2-core | a0de6b90f7437a98b1ee6ebcc693fa14f4b13c53 | [
"Apache-2.0"
] | null | null | null | ace/cli/__init__.py | ace-ecosystem/ace2-core | a0de6b90f7437a98b1ee6ebcc693fa14f4b13c53 | [
"Apache-2.0"
] | 11 | 2020-12-30T03:13:09.000Z | 2021-05-02T14:09:32.000Z | ace/cli/__init__.py | ace-ecosystem/ace2-core | a0de6b90f7437a98b1ee6ebcc693fa14f4b13c53 | [
"Apache-2.0"
] | 1 | 2022-03-16T20:44:16.000Z | 2022-03-16T20:44:16.000Z | from ace.cli.system import CommandLineSystem
from ace.cli.arguments import initialize_argparse
| 31.666667 | 49 | 0.873684 | 13 | 95 | 6.307692 | 0.692308 | 0.170732 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084211 | 95 | 2 | 50 | 47.5 | 0.942529 | 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 | 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 | 6 |
e4f5298e7ae8a1ad30c89c51ef1e8dcfaa7a7ea4 | 124 | py | Python | src/core/utils.py | amanprodigy/tweetme | 6e61adc2d1e2c8c78b23a5bccf912a6737b327e4 | [
"MIT"
] | null | null | null | src/core/utils.py | amanprodigy/tweetme | 6e61adc2d1e2c8c78b23a5bccf912a6737b327e4 | [
"MIT"
] | null | null | null | src/core/utils.py | amanprodigy/tweetme | 6e61adc2d1e2c8c78b23a5bccf912a6737b327e4 | [
"MIT"
] | null | null | null | import re
URL_REGEX = 'https?://(?:[-\w.]|(?:%[\da-fA-F]{2}))+'
def get_urls(url):
return re.findall(URL_REGEX, url)
| 15.5 | 53 | 0.564516 | 20 | 124 | 3.35 | 0.75 | 0.238806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009346 | 0.137097 | 124 | 7 | 54 | 17.714286 | 0.616822 | 0 | 0 | 0 | 0 | 0 | 0.314516 | 0.314516 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
9006923d2b90220116b7082ab572be92c199b37d | 1,426 | py | Python | test/exploits/bombs/compression/test_pdf.py | drjerry/acsploit | fbe07fb0eb651e3c5fc27a0dbdfcd0ec4c674381 | [
"BSD-3-Clause"
] | 107 | 2018-05-03T16:53:01.000Z | 2022-02-23T14:47:20.000Z | test/exploits/bombs/compression/test_pdf.py | drjerry/acsploit | fbe07fb0eb651e3c5fc27a0dbdfcd0ec4c674381 | [
"BSD-3-Clause"
] | 7 | 2019-04-28T00:41:35.000Z | 2021-05-04T20:35:54.000Z | test/exploits/bombs/compression/test_pdf.py | drjerry/acsploit | fbe07fb0eb651e3c5fc27a0dbdfcd0ec4c674381 | [
"BSD-3-Clause"
] | 16 | 2019-03-29T12:39:16.000Z | 2021-03-03T11:09:45.000Z | import pytest
from exploits.bombs.compression import pdf
from test.exploits.dummy_output import DummyOutput
# TODO check that the output meets the input requirements
def test_small_bomb():
output = DummyOutput()
target_payload_memory = 1000
pdf.options['target_payload_memory'] = target_payload_memory
... | 25.927273 | 64 | 0.721599 | 185 | 1,426 | 5.281081 | 0.243243 | 0.239509 | 0.350051 | 0.165814 | 0.731832 | 0.731832 | 0.731832 | 0.531218 | 0.482088 | 0.482088 | 0 | 0.031678 | 0.180926 | 1,426 | 54 | 65 | 26.407407 | 0.804795 | 0.038569 | 0 | 0.625 | 0 | 0 | 0.102995 | 0.092038 | 0 | 0 | 0 | 0.018519 | 0.125 | 1 | 0.15 | false | 0 | 0.075 | 0 | 0.225 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
903746c7cc897a4a0d9a322e5dbb5665b49f67c2 | 4,772 | py | Python | rlpyt/samplers/prevec/collections.py | DavidSlayback/rlpyt | 445adbd3917842caae0cae0d06e4b2866c8f1258 | [
"MIT"
] | null | null | null | rlpyt/samplers/prevec/collections.py | DavidSlayback/rlpyt | 445adbd3917842caae0cae0d06e4b2866c8f1258 | [
"MIT"
] | null | null | null | rlpyt/samplers/prevec/collections.py | DavidSlayback/rlpyt | 445adbd3917842caae0cae0d06e4b2866c8f1258 | [
"MIT"
] | null | null | null | from rlpyt.utils.collections import namedarraytuple, AttrDict
import numpy as np
class TrajInfoVec(AttrDict):
"""
Because it inits as an AttrDict, this has the methods of a dictionary,
e.g. the attributes can be iterated through by traj_info.items()
Intent: all attributes not starting with underscore "_... | 48.693878 | 156 | 0.624895 | 615 | 4,772 | 4.658537 | 0.2 | 0.041885 | 0.052356 | 0.016754 | 0.803839 | 0.803839 | 0.750785 | 0.750785 | 0.750785 | 0.750785 | 0 | 0.00579 | 0.276194 | 4,772 | 98 | 157 | 48.693878 | 0.823683 | 0.265717 | 0 | 0.615385 | 0 | 0 | 0.001173 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.123077 | false | 0 | 0.046154 | 0.030769 | 0.292308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
5f3b2ec305be4e53d7572bfe1c2b14986eb1742d | 147 | py | Python | clapbot/cl/model/__init__.py | alexrudy/ClapBot | fc6149cbd20b8afd6ffd3d5c7a4836100a509215 | [
"MIT"
] | 2 | 2017-05-04T18:33:51.000Z | 2017-05-04T18:34:17.000Z | clapbot/cl/model/__init__.py | alexrudy/ClapBot | fc6149cbd20b8afd6ffd3d5c7a4836100a509215 | [
"MIT"
] | 2 | 2020-05-26T23:50:43.000Z | 2021-03-26T21:39:30.000Z | clapbot/cl/model/__init__.py | alexrudy/ClapBot | fc6149cbd20b8afd6ffd3d5c7a4836100a509215 | [
"MIT"
] | null | null | null | from .listing import Listing
from .image import Image
from . import image
from . import site
from . import scrape
__all__ = ['Listing', 'Image']
| 16.333333 | 30 | 0.734694 | 20 | 147 | 5.2 | 0.35 | 0.288462 | 0.288462 | 0.403846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176871 | 147 | 8 | 31 | 18.375 | 0.859504 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5f45bf1d07cae19c2c4b012b1459a2e90a959415 | 192 | py | Python | Week 1: Integers, I-O, simple string operations/13.py | MLunov/Python-programming-basics-HSE | 7df8bba105db84d6b932c454fdc39193a648254e | [
"MIT"
] | null | null | null | Week 1: Integers, I-O, simple string operations/13.py | MLunov/Python-programming-basics-HSE | 7df8bba105db84d6b932c454fdc39193a648254e | [
"MIT"
] | null | null | null | Week 1: Integers, I-O, simple string operations/13.py | MLunov/Python-programming-basics-HSE | 7df8bba105db84d6b932c454fdc39193a648254e | [
"MIT"
] | null | null | null | number = int(input())
print('The next number for the number', number, 'is', number+1, end='')
print('.')
print('The previous number for the number', number, 'is', number-1, end='')
print('.')
| 32 | 75 | 0.645833 | 29 | 192 | 4.275862 | 0.37931 | 0.129032 | 0.193548 | 0.290323 | 0.66129 | 0.66129 | 0.66129 | 0.66129 | 0.66129 | 0.66129 | 0 | 0.011976 | 0.130208 | 192 | 5 | 76 | 38.4 | 0.730539 | 0 | 0 | 0.4 | 0 | 0 | 0.364583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.8 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
398fc4453268f88336cc71bacf9075179f313353 | 649 | gyp | Python | node_modules/jwcrypto/node_modules/bigint/binding.gyp | openilabs/crypto | 4c053a7c932f4afb5ec09b468496e861b5fc5ef1 | [
"MIT"
] | 1 | 2021-03-10T16:24:06.000Z | 2021-03-10T16:24:06.000Z | node_modules/jwcrypto/node_modules/bigint/binding.gyp | openilabs/crypto | 4c053a7c932f4afb5ec09b468496e861b5fc5ef1 | [
"MIT"
] | null | null | null | node_modules/jwcrypto/node_modules/bigint/binding.gyp | openilabs/crypto | 4c053a7c932f4afb5ec09b468496e861b5fc5ef1 | [
"MIT"
] | null | null | null | {
'targets': [
{
'target_name': 'bigint',
'sources': [ 'bigint.cc' ],
'conditions': [
['OS=="linux"',
{
'link_settings': {
'libraries': [
'-lgmp'
]
}
}
],
['OS=="mac"',
{
... | 17.078947 | 33 | 0.226502 | 27 | 649 | 5.296296 | 0.592593 | 0.251748 | 0.440559 | 0.524476 | 0.377622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.61171 | 649 | 37 | 34 | 17.540541 | 0.56746 | 0 | 0 | 0.297297 | 0 | 0 | 0.252696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
399bccc4cf838b8329840fe2612be5d06ae5f416 | 2,998 | py | Python | tests/test_docstring.py | AlexanderSemenyak/webviz-config | 3602901f215033bddd484ea1c13013a8addaf012 | [
"MIT"
] | 44 | 2019-04-07T18:46:00.000Z | 2022-03-28T02:35:58.000Z | tests/test_docstring.py | AlexanderSemenyak/webviz-config | 3602901f215033bddd484ea1c13013a8addaf012 | [
"MIT"
] | 312 | 2019-03-29T11:49:53.000Z | 2022-03-07T12:06:34.000Z | tests/test_docstring.py | AlexanderSemenyak/webviz-config | 3602901f215033bddd484ea1c13013a8addaf012 | [
"MIT"
] | 46 | 2019-03-29T07:23:16.000Z | 2022-03-28T02:35:59.000Z | from webviz_config._docs._build_docs import _split_docstring
def test_split_docstring():
tests = [
(
"This is a test with only description.",
["This is a test with only description."],
),
(
(
" This is a test with only description, "
... | 38.935065 | 93 | 0.470647 | 357 | 2,998 | 3.92437 | 0.184874 | 0.091363 | 0.049964 | 0.078515 | 0.877231 | 0.877231 | 0.829408 | 0.793005 | 0.793005 | 0.762313 | 0 | 0.012005 | 0.444296 | 2,998 | 76 | 94 | 39.447368 | 0.828932 | 0 | 0 | 0.391892 | 0 | 0.013514 | 0.567045 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 1 | 0.013514 | false | 0 | 0.013514 | 0 | 0.027027 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
399d76f5f8c679468692a65a37f0a8f2a0fbf5be | 13,065 | py | Python | pyembroidery/PngWriter.py | kryshac/pyembroidery | 54987b6919b99f4c59f6a1b88b99ec5cb635ba71 | [
"MIT"
] | 83 | 2018-08-20T22:52:18.000Z | 2022-03-30T07:44:37.000Z | pyembroidery/PngWriter.py | kryshac/pyembroidery | 54987b6919b99f4c59f6a1b88b99ec5cb635ba71 | [
"MIT"
] | 81 | 2018-08-12T15:43:23.000Z | 2022-01-05T14:59:51.000Z | pyembroidery/PngWriter.py | kryshac/pyembroidery | 54987b6919b99f4c59f6a1b88b99ec5cb635ba71 | [
"MIT"
] | 21 | 2019-02-25T13:31:37.000Z | 2022-03-08T08:44:05.000Z | import struct
import zlib
from .EmbConstant import *
from .EmbThread import EmbThread
SEQUIN_CONTINGENCY = CONTINGENCY_SEQUIN_STITCH
FULL_JUMP = True
characters = {
"0": [
[9, 9, 4, 1, 0, 1, 5, 9, 9],
[9, 3, 0, 0, 0, 0, 0, 5, 9],
[7, 0, 1, 7, 9, 6, 0, 0, 9],
[4, 0, 5... | 33.244275 | 86 | 0.339839 | 2,282 | 13,065 | 1.902279 | 0.063979 | 0.203179 | 0.240498 | 0.250633 | 0.372034 | 0.344851 | 0.301083 | 0.25478 | 0.191661 | 0.138908 | 0 | 0.227396 | 0.464141 | 13,065 | 392 | 87 | 33.329082 | 0.392658 | 0.010869 | 0 | 0.301075 | 0 | 0 | 0.006468 | 0 | 0 | 0 | 0.001118 | 0 | 0 | 1 | 0.024194 | false | 0.005376 | 0.010753 | 0 | 0.043011 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
39b79192bf45e45b0ef9ffbfe269ec33e8d8d6c1 | 1,600 | py | Python | lib/ops/boxes.py | shunya-toyokawa/qanet_human_parts_segmentatiom | 5527b247acd65534b455c26e3692a14b31669602 | [
"MIT"
] | 72 | 2021-03-11T02:18:02.000Z | 2022-03-10T07:08:21.000Z | lib/ops/boxes.py | shunya-toyokawa/qanet_human_parts_segmentatiom | 5527b247acd65534b455c26e3692a14b31669602 | [
"MIT"
] | 7 | 2021-03-29T03:41:37.000Z | 2021-12-14T02:43:19.000Z | lib/ops/boxes.py | shunya-toyokawa/qanet_human_parts_segmentatiom | 5527b247acd65534b455c26e3692a14b31669602 | [
"MIT"
] | 10 | 2021-03-27T10:34:10.000Z | 2022-03-07T07:17:10.000Z | from lib.ops import _C
BOX_VOTING_METHODS = {'ID': 0, 'TEMP_AVG': 1, 'AVG': 2, 'IOU_AVG': 3, 'GENERALIZED_AVG': 4, 'QUASI_SUM': 5}
def box_voting(top_boxes, top_scores, all_boxes, all_scores, overlap_thresh, method='ID', beta=1.0):
"""Apply bounding-box voting to refine top dets by voting with all dets.
See:... | 30.769231 | 127 | 0.68 | 228 | 1,600 | 4.513158 | 0.29386 | 0.09621 | 0.077745 | 0.066084 | 0.902818 | 0.87172 | 0.823129 | 0.823129 | 0.823129 | 0.738581 | 0 | 0.028869 | 0.220625 | 1,600 | 51 | 128 | 31.372549 | 0.796311 | 0.278125 | 0 | 0.533333 | 0 | 0 | 0.094812 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0.133333 | false | 0 | 0.033333 | 0.066667 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
f2d33454e1321920bdc96a93befbf2080e778e80 | 607 | py | Python | simuvex/simuvex/plugins/__init__.py | Ruide/angr-dev | 964dc80c758e25c698c2cbcc454ef5954c5fa0a0 | [
"BSD-2-Clause"
] | 86 | 2015-08-06T23:25:07.000Z | 2022-02-17T14:58:22.000Z | simuvex/simuvex/plugins/__init__.py | Ruide/angr-dev | 964dc80c758e25c698c2cbcc454ef5954c5fa0a0 | [
"BSD-2-Clause"
] | 132 | 2015-09-10T19:06:59.000Z | 2018-10-04T20:36:45.000Z | simuvex/simuvex/plugins/__init__.py | Ruide/angr-dev | 964dc80c758e25c698c2cbcc454ef5954c5fa0a0 | [
"BSD-2-Clause"
] | 80 | 2015-08-07T10:30:20.000Z | 2020-03-21T14:45:28.000Z | from angr.state_plugins.plugin import *
from angr.state_plugins.libc import *
from angr.state_plugins.posix import *
from angr.state_plugins.inspect import *
from angr.state_plugins.solver import *
from angr.state_plugins.symbolic_memory import SimSymbolicMemory
from angr.state_plugins.abstract_memory import *
from ang... | 40.466667 | 64 | 0.841845 | 91 | 607 | 5.406593 | 0.252747 | 0.227642 | 0.369919 | 0.569106 | 0.658537 | 0.130081 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092257 | 607 | 14 | 65 | 43.357143 | 0.892922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
84437ec0dec5320f305090dbbc7d945a25f3e05b | 2,814 | py | Python | test/mlprogram/actions/test_action.py | HiroakiMikami/mlprogram | 573e94c567064705fa65267dd83946bf183197de | [
"MIT"
] | 9 | 2020-05-24T11:25:01.000Z | 2022-03-28T15:32:10.000Z | test/mlprogram/actions/test_action.py | HiroakiMikami/mlprogram | 573e94c567064705fa65267dd83946bf183197de | [
"MIT"
] | 87 | 2020-05-09T08:56:55.000Z | 2022-03-31T14:46:45.000Z | test/mlprogram/actions/test_action.py | HiroakiMikami/NL2Prog | 573e94c567064705fa65267dd83946bf183197de | [
"MIT"
] | 3 | 2021-02-22T20:38:29.000Z | 2021-11-11T18:48:44.000Z | from mlprogram.actions import (
ApplyRule,
CloseVariadicFieldRule,
ExpandTreeRule,
GenerateToken,
NodeConstraint,
NodeType,
)
class TestNodeType(object):
def test_str(self):
assert "type" == str(NodeType("type", NodeConstraint.Node, False))
assert "type*" == str(NodeType("t... | 40.2 | 79 | 0.564677 | 254 | 2,814 | 6.23622 | 0.161417 | 0.272727 | 0.290404 | 0.201389 | 0.779672 | 0.729167 | 0.70202 | 0.558081 | 0.558081 | 0.558081 | 0 | 0.019231 | 0.279318 | 2,814 | 69 | 80 | 40.782609 | 0.761834 | 0 | 0 | 0.3 | 1 | 0 | 0.088486 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 1 | 0.083333 | false | 0 | 0.016667 | 0 | 0.15 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
082938b3bd2f39eb09e3589c9d9cd8bc709f96b5 | 66 | py | Python | napari_covid_if_annotations/launcher/__init__.py | tlambert-forks/covid-if-annotations | 855836589ed2a5d0153b2ee723db22242dcb7939 | [
"MIT"
] | 2 | 2020-10-12T05:40:29.000Z | 2020-10-13T06:37:39.000Z | napari_covid_if_annotations/launcher/__init__.py | tlambert-forks/covid-if-annotations | 855836589ed2a5d0153b2ee723db22242dcb7939 | [
"MIT"
] | 30 | 2020-05-22T21:40:05.000Z | 2021-04-12T08:35:48.000Z | napari_covid_if_annotations/launcher/__init__.py | tlambert-forks/covid-if-annotations | 855836589ed2a5d0153b2ee723db22242dcb7939 | [
"MIT"
] | 4 | 2020-05-25T10:11:49.000Z | 2020-11-10T09:29:41.000Z | from .covid_if_annotations import launch_covid_if_annotation_tool
| 33 | 65 | 0.924242 | 10 | 66 | 5.5 | 0.8 | 0.254545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 66 | 1 | 66 | 66 | 0.887097 | 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 | 1 | 0 | 0 | 6 |
0845f5bdbcf78bccdddafb6009cec14641a97369 | 2,324 | py | Python | histcalc/histcalc.py | zedoul/HistoricalCalculus | 0c953b46545c6acba8c1662abf2adbf12da0b488 | [
"MIT"
] | 1 | 2018-01-03T20:29:47.000Z | 2018-01-03T20:29:47.000Z | histcalc/histcalc.py | zedoul/HistoricalCalculus | 0c953b46545c6acba8c1662abf2adbf12da0b488 | [
"MIT"
] | null | null | null | histcalc/histcalc.py | zedoul/HistoricalCalculus | 0c953b46545c6acba8c1662abf2adbf12da0b488 | [
"MIT"
] | null | null | null | from data import data
from data import datasets
def get_rate(amount, values, index):
if 0 == values[index]:
return None
rate = values[-1] / values[index]
return amount * rate
def US_CPI_measure(amount, fromyear, toyear=2013):
dataset = datasets.datasets["US_CPI"]
assert (fromyear >= datase... | 36.888889 | 59 | 0.682444 | 286 | 2,324 | 5.395105 | 0.129371 | 0.116656 | 0.147764 | 0.086196 | 0.913156 | 0.897602 | 0.897602 | 0.897602 | 0.897602 | 0.661698 | 0 | 0.01357 | 0.175559 | 2,324 | 62 | 60 | 37.483871 | 0.791754 | 0 | 0 | 0.654545 | 0 | 0 | 0.062392 | 0 | 0 | 0 | 0 | 0 | 0.218182 | 1 | 0.127273 | false | 0 | 0.036364 | 0 | 0.309091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
4b33a6e8adb3a0e40a73377e7143fcec2e37962a | 5,518 | py | Python | lambda/tests/integration/test_ccavenueResponseHandler.py | epicfaace/GCMW | b06b41c1629866e334c8b2cd94d008bbc2028cdf | [
"Apache-2.0"
] | 2 | 2019-10-19T04:07:52.000Z | 2020-07-29T17:38:54.000Z | lambda/tests/integration/test_ccavenueResponseHandler.py | ksankara/CFF | 70f10bb7abc0f381fa309379a85d2782ed6c36b8 | [
"Apache-2.0"
] | 114 | 2019-06-20T15:27:13.000Z | 2020-08-30T21:15:56.000Z | lambda/tests/integration/test_ccavenueResponseHandler.py | epicfaace/GCMW | b06b41c1629866e334c8b2cd94d008bbc2028cdf | [
"Apache-2.0"
] | 7 | 2019-07-20T06:11:19.000Z | 2020-06-28T15:23:14.000Z | """
python -m unittest tests.integration.test_ccavenueResponseHandler
"""
import unittest
from chalice.config import Config
from chalice.local import LocalGateway
import json
from .constants import FORM_ID, ONE_SCHEMA, ONE_UISCHEMA, ONE_FORMOPTIONS
from app import app
from tests.integration.baseTestCase import BaseTest... | 57.479167 | 1,989 | 0.747372 | 370 | 5,518 | 11.02973 | 0.432432 | 0.019113 | 0.023524 | 0.024259 | 0.126685 | 0.068121 | 0.068121 | 0.068121 | 0.068121 | 0.044597 | 0 | 0.265639 | 0.177238 | 5,518 | 95 | 1,990 | 58.084211 | 0.63326 | 0.040594 | 0 | 0.1 | 0 | 0.0125 | 0.5 | 0.41408 | 0 | 1 | 0 | 0.010526 | 0.075 | 1 | 0.0625 | false | 0.0125 | 0.125 | 0 | 0.2125 | 0.0125 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4b68d7cda72ece7b9e7767cd0a0b0788a9961078 | 6,996 | py | Python | src/abaqus/Interaction/IncidentWave.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | 7 | 2022-01-21T09:15:45.000Z | 2022-02-15T09:31:58.000Z | src/abaqus/Interaction/IncidentWave.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | src/abaqus/Interaction/IncidentWave.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | from abaqusConstants import *
from .Interaction import Interaction
from ..Region.Region import Region
class IncidentWave(Interaction):
"""The IncidentWave object defines incident wave interactions for acoustic and coupled
acoustic-structural analyses.
The IncidentWave object is derived from the Interacti... | 49.971429 | 102 | 0.658233 | 799 | 6,996 | 5.753442 | 0.192741 | 0.062214 | 0.0335 | 0.036981 | 0.762454 | 0.756798 | 0.756798 | 0.720905 | 0.711769 | 0.711769 | 0 | 0.001221 | 0.297599 | 6,996 | 139 | 103 | 50.330935 | 0.934269 | 0.741567 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.125 | 0.1875 | 0 | 0.375 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
4b70a42d73f68b379b3d2eb473c381e007712fd5 | 40 | py | Python | src/source_wkpd/__init__.py | Aluriak/24hducode2016 | 629a3225c5a426d3deb472d67f0e0091904d1547 | [
"Unlicense"
] | null | null | null | src/source_wkpd/__init__.py | Aluriak/24hducode2016 | 629a3225c5a426d3deb472d67f0e0091904d1547 | [
"Unlicense"
] | null | null | null | src/source_wkpd/__init__.py | Aluriak/24hducode2016 | 629a3225c5a426d3deb472d67f0e0091904d1547 | [
"Unlicense"
] | null | null | null | from .wiki_source_obj import WikiSource
| 20 | 39 | 0.875 | 6 | 40 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.916667 | 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 | 1 | 0 | 0 | 6 |
4b8759708ec607a70543b82c89d9a344323e85a8 | 20 | py | Python | RavePy/__init__.py | Slenderman00/RavePy | 535566d6adedca3e82cb0546389e6cb2df245d72 | [
"MIT"
] | null | null | null | RavePy/__init__.py | Slenderman00/RavePy | 535566d6adedca3e82cb0546389e6cb2df245d72 | [
"MIT"
] | null | null | null | RavePy/__init__.py | Slenderman00/RavePy | 535566d6adedca3e82cb0546389e6cb2df245d72 | [
"MIT"
] | null | null | null | from . import RavePy | 20 | 20 | 0.8 | 3 | 20 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.941176 | 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 | 1 | 0 | 0 | 6 |
4bc41c1dc81af033cb721ab03f19fcb4b5131886 | 1,746 | py | Python | buildDocker.py | AyishaR/deepC | 1dc9707ef5ca9000fc13c3da7f1129685a83b494 | [
"Apache-2.0"
] | 223 | 2020-04-15T20:34:33.000Z | 2022-03-28T05:41:49.000Z | buildDocker.py | AyishaR/deepC | 1dc9707ef5ca9000fc13c3da7f1129685a83b494 | [
"Apache-2.0"
] | 42 | 2019-07-29T15:57:12.000Z | 2020-04-08T15:12:48.000Z | buildDocker.py | AyishaR/deepC | 1dc9707ef5ca9000fc13c3da7f1129685a83b494 | [
"Apache-2.0"
] | 58 | 2019-07-22T11:46:19.000Z | 2020-04-09T22:56:41.000Z | import os, argparse
def main():
parser = argparse.ArgumentParser(description="run docker in any os")
parser.add_argument("-dev", "--developer", action="store_true", help="ssh inside docker container without running make")
args = parser.parse_args()
if args.developer:
# Mac and Linux
if os.name == "posix":
... | 38.8 | 121 | 0.699313 | 247 | 1,746 | 4.898785 | 0.331984 | 0.079339 | 0.056198 | 0.059504 | 0.818182 | 0.818182 | 0.818182 | 0.818182 | 0.818182 | 0.818182 | 0 | 0.010997 | 0.166667 | 1,746 | 45 | 122 | 38.8 | 0.820619 | 0.250286 | 0 | 0.62069 | 0 | 0.103448 | 0.554958 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034483 | false | 0 | 0.034483 | 0 | 0.068966 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
298c7874a64e690e9147f723cad18c39ef20fcc6 | 360 | py | Python | bigraph/preprocessing/__init__.py | yishingene/bigraph | 6cc7e840e8aa10a3c403b715fd555007d54eaf8a | [
"BSD-3-Clause"
] | null | null | null | bigraph/preprocessing/__init__.py | yishingene/bigraph | 6cc7e840e8aa10a3c403b715fd555007d54eaf8a | [
"BSD-3-Clause"
] | null | null | null | bigraph/preprocessing/__init__.py | yishingene/bigraph | 6cc7e840e8aa10a3c403b715fd555007d54eaf8a | [
"BSD-3-Clause"
] | null | null | null | import bigraph.preprocessing.import_files
from bigraph.preprocessing.import_files import *
import bigraph.preprocessing.get_adjacents
from bigraph.preprocessing.get_adjacents import *
import bigraph.preprocessing.make_graph
from bigraph.preprocessing.make_graph import *
import bigraph.preprocessing.pd_to_list
from b... | 32.727273 | 49 | 0.872222 | 46 | 360 | 6.608696 | 0.26087 | 0.526316 | 0.342105 | 0.315789 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072222 | 360 | 11 | 50 | 32.727273 | 0.91018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
298fbdcbe9c577b9884bce485328831b16be85d6 | 39 | py | Python | match/__init__.py | ceejay-el/match | 54d048b9902c339359dcce3f5cd2ecf34e38da7e | [
"MIT"
] | null | null | null | match/__init__.py | ceejay-el/match | 54d048b9902c339359dcce3f5cd2ecf34e38da7e | [
"MIT"
] | null | null | null | match/__init__.py | ceejay-el/match | 54d048b9902c339359dcce3f5cd2ecf34e38da7e | [
"MIT"
] | 1 | 2022-02-25T03:06:15.000Z | 2022-02-25T03:06:15.000Z | from .matrix import *
from . import nn
| 13 | 21 | 0.717949 | 6 | 39 | 4.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 39 | 2 | 22 | 19.5 | 0.903226 | 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 | 1 | 0 | 0 | 6 |
29c91d12437521435543067175e68026cb51cf30 | 25,285 | py | Python | dagmc_slicer/Dag_Slicer.py | pshriwise/dag_slicer | d0b2d47e939beeb17e3df53a54cc44c9d1c50c3c | [
"BSD-2-Clause"
] | null | null | null | dagmc_slicer/Dag_Slicer.py | pshriwise/dag_slicer | d0b2d47e939beeb17e3df53a54cc44c9d1c50c3c | [
"BSD-2-Clause"
] | 9 | 2017-05-14T17:08:12.000Z | 2020-02-18T03:34:39.000Z | dagmc_slicer/Dag_Slicer.py | AI-Pranto/dag_slicer | 754ce0975d1966ae7f63b5a96d7e26e39c2d39a8 | [
"BSD-2-Clause"
] | 2 | 2020-02-16T17:25:22.000Z | 2020-11-15T02:52:02.000Z | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.8
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info
if version_info >= (2, 6, 0):
def swig_import_helper():
from os.path imp... | 31.293317 | 119 | 0.701997 | 3,232 | 25,285 | 4.862005 | 0.061262 | 0.185567 | 0.167048 | 0.110029 | 0.805396 | 0.730495 | 0.65273 | 0.579547 | 0.429617 | 0.333652 | 0 | 0.000801 | 0.209887 | 25,285 | 807 | 120 | 31.332094 | 0.785764 | 0.011627 | 0 | 0.43771 | 1 | 0 | 0.015132 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.324916 | false | 0.003367 | 0.015152 | 0.306397 | 0.757576 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d9e5c3ef2fcb6ccf6ffb351c2a1654d39b16c4b2 | 86 | py | Python | app/audit/__init__.py | Tianny/incepiton_mysql | 8ef86d19f26e22a39b4fac99ea0b4286c3226b6f | [
"MIT"
] | 74 | 2018-01-04T09:36:32.000Z | 2018-09-06T07:13:57.000Z | app/audit/__init__.py | Tianny/incepiton-mysql | 8ef86d19f26e22a39b4fac99ea0b4286c3226b6f | [
"MIT"
] | 1 | 2018-02-24T09:00:15.000Z | 2018-04-20T02:08:52.000Z | app/audit/__init__.py | Tianny/incepiton_mysql | 8ef86d19f26e22a39b4fac99ea0b4286c3226b6f | [
"MIT"
] | 23 | 2018-01-13T05:26:22.000Z | 2018-07-05T13:34:07.000Z | from flask import Blueprint
audit = Blueprint('audit', __name__)
from . import views | 17.2 | 36 | 0.767442 | 11 | 86 | 5.636364 | 0.636364 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151163 | 86 | 5 | 37 | 17.2 | 0.849315 | 0 | 0 | 0 | 0 | 0 | 0.057471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
8a085188ddd18b70d115dd9282eae4ea46d0075e | 29,499 | py | Python | saleor/plugins/vatlayer/tests/test_vatlayer.py | largotuan/sonjay | 9826dc7dfe9acd5a03aaa136020f105309805402 | [
"CC-BY-4.0"
] | 1 | 2021-03-23T20:27:50.000Z | 2021-03-23T20:27:50.000Z | saleor/plugins/vatlayer/tests/test_vatlayer.py | largotuan/sonjay | 9826dc7dfe9acd5a03aaa136020f105309805402 | [
"CC-BY-4.0"
] | 18 | 2021-03-23T20:32:14.000Z | 2022-03-12T01:04:06.000Z | saleor/plugins/vatlayer/tests/test_vatlayer.py | largotuan/sonjay | 9826dc7dfe9acd5a03aaa136020f105309805402 | [
"CC-BY-4.0"
] | 2 | 2021-12-03T16:59:37.000Z | 2022-02-19T13:05:42.000Z | from decimal import Decimal
from unittest.mock import Mock
from urllib.parse import urlparse
import pytest
from django.core.exceptions import ValidationError
from django.test import override_settings
from django_countries.fields import Country
from prices import Money, MoneyRange, TaxedMoney, TaxedMoneyRange
from ...... | 32.309967 | 88 | 0.720397 | 3,674 | 29,499 | 5.430321 | 0.060152 | 0.048719 | 0.064959 | 0.043306 | 0.817653 | 0.791339 | 0.777655 | 0.760614 | 0.748985 | 0.721919 | 0 | 0.014972 | 0.173565 | 29,499 | 912 | 89 | 32.345395 | 0.803396 | 0.00278 | 0 | 0.644323 | 0 | 0 | 0.092507 | 0.050214 | 0 | 0 | 0 | 0 | 0.069767 | 1 | 0.062928 | false | 0 | 0.024624 | 0.001368 | 0.091655 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
8a237e83dd537770718fa0f466e5fcc681d7e373 | 188 | py | Python | sktime/forecasters/__init__.py | Mo-Saif/sktime | f3c71977c113d986276fca2bdedf70faaa33f040 | [
"BSD-3-Clause"
] | 1 | 2019-09-29T07:11:33.000Z | 2019-09-29T07:11:33.000Z | sktime/forecasters/__init__.py | ClaudiaSanches/sktime | 63e7839e80ca6d5fe5fc4f33389ec3bcacd8aa59 | [
"BSD-3-Clause"
] | null | null | null | sktime/forecasters/__init__.py | ClaudiaSanches/sktime | 63e7839e80ca6d5fe5fc4f33389ec3bcacd8aa59 | [
"BSD-3-Clause"
] | 1 | 2019-05-08T10:42:20.000Z | 2019-05-08T10:42:20.000Z | from .forecasters import ARIMAForecaster
from .forecasters import ExpSmoothingForecaster
from .forecasters import DummyForecaster
from sktime.forecasters.compose import EnsembleForecaster
| 37.6 | 57 | 0.888298 | 18 | 188 | 9.277778 | 0.5 | 0.269461 | 0.377246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 188 | 4 | 58 | 47 | 0.97093 | 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 | 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 | 6 |
8a3d8f8502c59f36138302b6ff137c25a0da8749 | 91 | py | Python | project_name/__init__.py | paulovitorweb/flask-project-template | dfe9c08b75f84fea0f2330545b72df2ea8f36757 | [
"Unlicense"
] | 41 | 2021-08-17T13:48:51.000Z | 2022-03-17T19:57:54.000Z | project_name/__init__.py | paulovitorweb/flask-project-template | dfe9c08b75f84fea0f2330545b72df2ea8f36757 | [
"Unlicense"
] | 19 | 2021-11-16T14:34:16.000Z | 2021-12-09T09:57:41.000Z | project_name/__init__.py | paulovitorweb/flask-project-template | dfe9c08b75f84fea0f2330545b72df2ea8f36757 | [
"Unlicense"
] | 10 | 2021-09-11T15:36:42.000Z | 2022-03-28T21:53:11.000Z | from .base import create_app, create_app_wsgi
__all__ = ["create_app", "create_app_wsgi"]
| 22.75 | 45 | 0.78022 | 14 | 91 | 4.357143 | 0.5 | 0.590164 | 0.491803 | 0.590164 | 0.721311 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10989 | 91 | 3 | 46 | 30.333333 | 0.753086 | 0 | 0 | 0 | 0 | 0 | 0.274725 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8a704b7fdae146f35d548d21800604d36c99c29b | 33,976 | py | Python | 1st_order_HMM/with_unknown_words_concideration/4/code.py | ziko1305/Hidden-Markov-Based-Mathematical-Model | 0ad906e6c4f99ad91d4047aed78df49399447633 | [
"MIT"
] | null | null | null | 1st_order_HMM/with_unknown_words_concideration/4/code.py | ziko1305/Hidden-Markov-Based-Mathematical-Model | 0ad906e6c4f99ad91d4047aed78df49399447633 | [
"MIT"
] | null | null | null | 1st_order_HMM/with_unknown_words_concideration/4/code.py | ziko1305/Hidden-Markov-Based-Mathematical-Model | 0ad906e6c4f99ad91d4047aed78df49399447633 | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
from collections import defaultdict
from sklearn.metrics import f1_score,accuracy_score
import math
split_sequences=True
word2idx = {}
tag2idx = {}
pos2idx = {}
word_idx = 0
tag_idx = 0
pos_idx = 0
Xtrain = []
Ytrain = []
Ptrain=[]
currentX = []
currentY = []
cu... | 60.455516 | 208 | 0.585737 | 6,512 | 33,976 | 2.986333 | 0.041308 | 0.161259 | 0.161259 | 0.07775 | 0.830051 | 0.820898 | 0.794261 | 0.774361 | 0.769527 | 0.734149 | 0 | 0.077698 | 0.126472 | 33,976 | 561 | 209 | 60.56328 | 0.577546 | 0.008123 | 0 | 0.207469 | 0 | 0 | 0.101706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012448 | false | 0 | 0.010373 | 0 | 0.03527 | 0.182573 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
8a84de8b9e4b5170f874cdb101f45987efeb58f1 | 143 | py | Python | apps/convert/__init__.py | Poseidon-Dev/janus | 5724fb0df53ef9702d1d271e75d8f42073325a8a | [
"MIT"
] | null | null | null | apps/convert/__init__.py | Poseidon-Dev/janus | 5724fb0df53ef9702d1d271e75d8f42073325a8a | [
"MIT"
] | null | null | null | apps/convert/__init__.py | Poseidon-Dev/janus | 5724fb0df53ef9702d1d271e75d8f42073325a8a | [
"MIT"
] | null | null | null | from apps.convert.conn import ConversionConn
from apps.convert.events import ConvertEvents
def setup(bot):
bot.add_cog(ConvertEvents(bot)) | 28.6 | 45 | 0.811189 | 20 | 143 | 5.75 | 0.65 | 0.13913 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104895 | 143 | 5 | 46 | 28.6 | 0.898438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8a9d0008b0f97c848ff8cc4972e5e3ccf2b2f2a8 | 117 | py | Python | scripts/post-update.py | attentus/attentus-wp | c5cf4db8ab0f5fe10b78dcf6a10c76006039b480 | [
"MIT"
] | 4 | 2021-11-19T19:31:58.000Z | 2022-02-10T15:15:31.000Z | scripts/post-update.py | attentus/attentus-wp | c5cf4db8ab0f5fe10b78dcf6a10c76006039b480 | [
"MIT"
] | null | null | null | scripts/post-update.py | attentus/attentus-wp | c5cf4db8ab0f5fe10b78dcf6a10c76006039b480 | [
"MIT"
] | null | null | null | import subprocess
subprocess.run(['wp', 'transient', 'delete', '--all'])
subprocess.run(['wp', 'rewrite', 'flush'])
| 23.4 | 54 | 0.649573 | 13 | 117 | 5.846154 | 0.692308 | 0.342105 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08547 | 117 | 4 | 55 | 29.25 | 0.71028 | 0 | 0 | 0 | 0 | 0 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8ab6bbc9fc6d7124e48d0f9021b568c5bd075555 | 31 | py | Python | pandoctools/regex_replace/__init__.py | contactzen/pandoctools | d3a9906ea00643de9354c58404785a623209609f | [
"MIT"
] | 46 | 2018-05-28T18:33:45.000Z | 2021-10-01T07:08:30.000Z | pandoctools/regex_replace/__init__.py | contactzen/pandoctools | d3a9906ea00643de9354c58404785a623209609f | [
"MIT"
] | 47 | 2018-01-18T10:18:27.000Z | 2021-08-14T04:49:40.000Z | pandoctools/regex_replace/__init__.py | contactzen/pandoctools | d3a9906ea00643de9354c58404785a623209609f | [
"MIT"
] | 10 | 2019-04-25T18:26:29.000Z | 2022-01-02T18:45:04.000Z | from .cli import regex_replace
| 15.5 | 30 | 0.83871 | 5 | 31 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.925926 | 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 | 1 | 0 | 0 | 6 |
76d9832c4da1a7a7e86e7f204cf8de6c9d6a7445 | 17,360 | py | Python | keystone/tests/test_versions.py | raildo/keystone-1 | 2b26e45b72e03e64d18dc55cff7db24b7d1b4d5f | [
"Apache-2.0"
] | null | null | null | keystone/tests/test_versions.py | raildo/keystone-1 | 2b26e45b72e03e64d18dc55cff7db24b7d1b4d5f | [
"Apache-2.0"
] | null | null | null | keystone/tests/test_versions.py | raildo/keystone-1 | 2b26e45b72e03e64d18dc55cff7db24b7d1b4d5f | [
"Apache-2.0"
] | 1 | 2021-08-29T16:53:06.000Z | 2021-08-29T16:53:06.000Z | # Copyright 2012 OpenStack Foundation
#
# 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 agreed to in w... | 36.701903 | 78 | 0.609332 | 2,039 | 17,360 | 5.003433 | 0.091712 | 0.057342 | 0.046658 | 0.063713 | 0.846599 | 0.8317 | 0.816605 | 0.809351 | 0.78661 | 0.763086 | 0 | 0.027132 | 0.261175 | 17,360 | 472 | 79 | 36.779661 | 0.768283 | 0.062154 | 0 | 0.680519 | 0 | 0.005195 | 0.165877 | 0.02498 | 0 | 0 | 0 | 0 | 0.12987 | 1 | 0.064935 | false | 0 | 0.018182 | 0 | 0.111688 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
76de3bf058b690b9b7f92aba0d18bca85e69cb1c | 2,058 | py | Python | tests/unit/test_departures.py | madpilot/pyptv3 | f4c6b257d84ccebc0e3a217f5f7aa99257e4a39a | [
"MIT"
] | 2 | 2019-02-24T03:40:35.000Z | 2019-09-09T00:05:27.000Z | tests/unit/test_departures.py | madpilot/pyptv3 | f4c6b257d84ccebc0e3a217f5f7aa99257e4a39a | [
"MIT"
] | 2 | 2019-06-15T11:41:24.000Z | 2021-06-01T22:30:12.000Z | tests/unit/test_departures.py | madpilot/pyptv3 | f4c6b257d84ccebc0e3a217f5f7aa99257e4a39a | [
"MIT"
] | null | null | null | import pytest
from mock import Mock
from pyptv3 import Departures, DeparturesResponse
class TestDepartures:
@pytest.fixture(scope="module")
def client(self):
client = Mock()
client.get.return_value = {"departures": [], "stops": {}, "routes": {}, "runs": {}, "directions": {}, "disruptions": {}, ... | 76.222222 | 334 | 0.682702 | 267 | 2,058 | 5.011236 | 0.2397 | 0.067265 | 0.050822 | 0.06278 | 0.762332 | 0.742152 | 0.742152 | 0.714499 | 0.714499 | 0.714499 | 0 | 0.082177 | 0.124879 | 2,058 | 26 | 335 | 79.153846 | 0.660744 | 0 | 0 | 0 | 0 | 0 | 0.284742 | 0.076774 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.238095 | false | 0 | 0.142857 | 0 | 0.47619 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
76e4411ca12f383b16242c4adfdecc17bdfa9a38 | 79 | py | Python | mmaction/models/diffdist/__init__.py | weiyx16/Video-Swin-Transformer | 69212cfd2ccaf889063217bec457ecef9e4b5a3f | [
"Apache-2.0"
] | 1 | 2021-11-14T15:03:22.000Z | 2021-11-14T15:03:22.000Z | mmaction/models/diffdist/__init__.py | weiyx16/Video-Swin-Transformer | 69212cfd2ccaf889063217bec457ecef9e4b5a3f | [
"Apache-2.0"
] | null | null | null | mmaction/models/diffdist/__init__.py | weiyx16/Video-Swin-Transformer | 69212cfd2ccaf889063217bec457ecef9e4b5a3f | [
"Apache-2.0"
] | null | null | null | from . import extra_collectives
from . import functional
from . import modules
| 19.75 | 31 | 0.810127 | 10 | 79 | 6.3 | 0.6 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151899 | 79 | 3 | 32 | 26.333333 | 0.940299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0a2b290341cda371d76f0b2112e608cd6932c43b | 1,534 | py | Python | update_styleguides.py | MankiBusiness/react-dropzone-uploader | f24adbbbc8c25d599db65b887cf6c730383b3676 | [
"MIT"
] | 363 | 2018-10-21T00:41:38.000Z | 2022-03-27T11:07:20.000Z | update_styleguides.py | MankiBusiness/react-dropzone-uploader | f24adbbbc8c25d599db65b887cf6c730383b3676 | [
"MIT"
] | 139 | 2018-12-10T16:01:29.000Z | 2022-03-30T21:00:58.000Z | update_styleguides.py | MankiBusiness/react-dropzone-uploader | f24adbbbc8c25d599db65b887cf6c730383b3676 | [
"MIT"
] | 159 | 2019-01-29T01:19:13.000Z | 2022-03-09T02:12:14.000Z | import os
print('\nupdate styleguides')
with open('docs/quick-start.md', 'r') as infile:
lines = infile.readlines()
with open('docs/quick-start.md', 'w') as f:
for line in lines:
if not line.startswith('<script'):
f.write(line)
for file in os.listdir('docs/assets/styleguide-quickstart... | 43.828571 | 129 | 0.597784 | 199 | 1,534 | 4.60804 | 0.236181 | 0.069793 | 0.052345 | 0.135224 | 0.955289 | 0.892039 | 0.857143 | 0.857143 | 0.857143 | 0.857143 | 0 | 0 | 0.228162 | 1,534 | 34 | 130 | 45.117647 | 0.774493 | 0 | 0 | 0.533333 | 0 | 0.066667 | 0.362451 | 0.254237 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.033333 | 0 | 0.033333 | 0.033333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
0a43c9a4da4ddda7e9d5acfe95a9bc1d114c552a | 5,511 | py | Python | instances/optimization/20210422-1717/inst-20210422-1717-c40-pas4e-1.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/optimization/20210422-1717/inst-20210422-1717-c40-pas4e-1.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/optimization/20210422-1717/inst-20210422-1717-c40-pas4e-1.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PERIODS
"""
numPeriods = 180
"""
STOPS
"""
numStations = 13
station_names = (
"Hamburg Hbf", # 0
"Landwehr", # 1
"Hasselbrook", # 2
"Wansbeker Chaussee*", # 3
"Friedrichsberg*", # 4
"Barmbek*", # 5
"Alte Woehr (Stadtpark)", # 6
"Ruebenkamp (City Nord)", # 7
"Ohlsdorf*", # 8
"Kornweg", # 9
... | 19.542553 | 108 | 0.441118 | 1,244 | 5,511 | 1.916399 | 0.143891 | 0.505872 | 0.695889 | 0.848993 | 0.321309 | 0.319211 | 0.317534 | 0.315856 | 0.314178 | 0.3125 | 0 | 0.375034 | 0.324079 | 5,511 | 281 | 109 | 19.6121 | 0.264966 | 0.171112 | 0 | 0.294643 | 0 | 0 | 0.046916 | 0.005954 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.017857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0a51c767811720f8ab6616aa1e529e479f227a0f | 21 | py | Python | pi3nn/Utils/__init__.py | liusiyan/PI3NN | 37d527e67107c2cb3722dd7e153a6822a5e32ae0 | [
"Apache-2.0"
] | 11 | 2021-11-08T20:38:50.000Z | 2022-01-30T02:46:39.000Z | BioClients/gwascatalog/__init__.py | jeremyjyang/BioClients | b78ab2b948c79616fed080112e31d383346bec58 | [
"CC0-1.0"
] | 1 | 2021-10-05T12:25:30.000Z | 2021-10-05T17:05:56.000Z | BioClients/brenda/__init__.py | jeremyjyang/BioClients | b78ab2b948c79616fed080112e31d383346bec58 | [
"CC0-1.0"
] | 2 | 2021-03-16T03:20:24.000Z | 2021-08-08T20:17:10.000Z | from .Utils import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.882353 | 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 | 1 | 0 | 0 | 6 |
0a5a20458d3a7c5062934fe3c6594d913aad80d3 | 37 | py | Python | main/api/v2/__init__.py | kbariotis/excalidraw-json | 287967cf3af0ad51d3d358884e6ad07c0c06e2fe | [
"MIT"
] | 16 | 2020-01-18T02:54:31.000Z | 2021-11-07T02:40:23.000Z | main/api/v2/__init__.py | kbariotis/excalidraw-json | 287967cf3af0ad51d3d358884e6ad07c0c06e2fe | [
"MIT"
] | 128 | 2020-01-18T02:13:51.000Z | 2021-11-07T07:02:41.000Z | main/api/v2/__init__.py | kbariotis/excalidraw-json | 287967cf3af0ad51d3d358884e6ad07c0c06e2fe | [
"MIT"
] | 10 | 2020-02-11T20:58:16.000Z | 2021-11-03T23:34:23.000Z | # coding: utf-8
from .hash import *
| 9.25 | 19 | 0.648649 | 6 | 37 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.216216 | 37 | 3 | 20 | 12.333333 | 0.793103 | 0.351351 | 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 | 1 | 0 | 0 | 6 |
6a5da2c6259c241bc1683f8923f602da825dd314 | 86 | py | Python | src/__init__.py | poctaviano/Handwriting-Model | 30311ea0f4cb6e7bc0114cf0b2a96dc915dd9795 | [
"MIT"
] | 7 | 2018-09-24T19:37:24.000Z | 2022-02-21T08:24:29.000Z | src/__init__.py | poctaviano/Handwriting-Model | 30311ea0f4cb6e7bc0114cf0b2a96dc915dd9795 | [
"MIT"
] | 1 | 2019-02-26T06:16:15.000Z | 2019-02-26T06:16:15.000Z | src/__init__.py | poctaviano/Handwriting-Model | 30311ea0f4cb6e7bc0114cf0b2a96dc915dd9795 | [
"MIT"
] | 2 | 2021-03-24T09:06:16.000Z | 2022-02-26T22:31:38.000Z | from src.utils import *
from src.trainer import Trainer
from src.tester import Tester
| 21.5 | 31 | 0.813953 | 14 | 86 | 5 | 0.428571 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 86 | 3 | 32 | 28.666667 | 0.945946 | 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 | 1 | 0 | 0 | 6 |
6a6c0cea0310c3fc9d5d8eff122255f3728bc118 | 57,033 | py | Python | pyscf/solvent/_ddcosmo_tdscf_grad.py | QuESt-Calculator/pyscf | 0ed03633b699505c7278f1eb501342667d0aa910 | [
"Apache-2.0"
] | 501 | 2018-12-06T23:48:17.000Z | 2022-03-31T11:53:18.000Z | pyscf/solvent/_ddcosmo_tdscf_grad.py | QuESt-Calculator/pyscf | 0ed03633b699505c7278f1eb501342667d0aa910 | [
"Apache-2.0"
] | 710 | 2018-11-26T22:04:52.000Z | 2022-03-30T03:53:12.000Z | pyscf/solvent/_ddcosmo_tdscf_grad.py | QuESt-Calculator/pyscf | 0ed03633b699505c7278f1eb501342667d0aa910 | [
"Apache-2.0"
] | 273 | 2018-11-26T10:10:24.000Z | 2022-03-30T12:25:28.000Z | #!/usr/bin/env python
# Copyright 2020 The PySCF Developers. All Rights Reserved.
#
# 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... | 44.040927 | 107 | 0.592271 | 8,875 | 57,033 | 3.689465 | 0.072789 | 0.072227 | 0.035915 | 0.021806 | 0.866174 | 0.846018 | 0.826533 | 0.814226 | 0.792481 | 0.776081 | 0 | 0.046233 | 0.222924 | 57,033 | 1,294 | 108 | 44.074961 | 0.692592 | 0.059334 | 0 | 0.697087 | 0 | 0 | 0.055994 | 0.00086 | 0 | 0 | 0 | 0.000773 | 0.001942 | 1 | 0.016505 | false | 0.000971 | 0.015534 | 0 | 0.050485 | 0.005825 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
6a7196b4397beadc10ded215138acbb83ed20c77 | 40 | py | Python | stock_picking_report_valued/tests/__init__.py | NextERP-Romania/addons_extern | d08f428aeea4cda1890adfd250bc359bda0c33f3 | [
"Apache-2.0"
] | null | null | null | stock_picking_report_valued/tests/__init__.py | NextERP-Romania/addons_extern | d08f428aeea4cda1890adfd250bc359bda0c33f3 | [
"Apache-2.0"
] | null | null | null | stock_picking_report_valued/tests/__init__.py | NextERP-Romania/addons_extern | d08f428aeea4cda1890adfd250bc359bda0c33f3 | [
"Apache-2.0"
] | null | null | null | from . import test_stock_picking_valued
| 20 | 39 | 0.875 | 6 | 40 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.888889 | 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 | 1 | 0 | 0 | 6 |
6adaa7ba85d445c1e9c0c3bb325763495bda7d6c | 10,582 | py | Python | app/tests/testFacets.py | lhorne-gavant/OpenPubArchive-Content-Server-1 | 2b7c02417a8bb37f5a627343fab7fa05dc532bf7 | [
"Apache-2.0"
] | null | null | null | app/tests/testFacets.py | lhorne-gavant/OpenPubArchive-Content-Server-1 | 2b7c02417a8bb37f5a627343fab7fa05dc532bf7 | [
"Apache-2.0"
] | null | null | null | app/tests/testFacets.py | lhorne-gavant/OpenPubArchive-Content-Server-1 | 2b7c02417a8bb37f5a627343fab7fa05dc532bf7 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Third-party imports...
#from nose.tools import assert_true
import sys
import os.path
folder = os.path.basename(os.path.dirname(os.path.abspath(__file__)))
if folder == "tests": # testing from within WingIDE, default folder is tests
sys.path.append('../libs')
sy... | 50.390476 | 124 | 0.674731 | 1,264 | 10,582 | 5.39557 | 0.117089 | 0.119648 | 0.121408 | 0.147801 | 0.868915 | 0.86349 | 0.851613 | 0.845308 | 0.739003 | 0.714223 | 0 | 0.02374 | 0.187961 | 10,582 | 210 | 125 | 50.390476 | 0.769929 | 0.110093 | 0 | 0.52439 | 0 | 0 | 0.283479 | 0.076858 | 0 | 0 | 0 | 0 | 0.29878 | 1 | 0.097561 | false | 0 | 0.030488 | 0 | 0.134146 | 0.115854 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
0af7aa31b8033338c8920b0644584037d9e15a53 | 10,106 | py | Python | pearl/envs/navigation_sparse.py | joncrawf/mime | 7be7b1351cabaacc17caddbb6f808f3d37721a81 | [
"MIT"
] | null | null | null | pearl/envs/navigation_sparse.py | joncrawf/mime | 7be7b1351cabaacc17caddbb6f808f3d37721a81 | [
"MIT"
] | null | null | null | pearl/envs/navigation_sparse.py | joncrawf/mime | 7be7b1351cabaacc17caddbb6f808f3d37721a81 | [
"MIT"
] | 1 | 2020-10-28T11:51:08.000Z | 2020-10-28T11:51:08.000Z | import numpy as np
import gym
from gym import spaces
from gym.utils import seeding
from . import register_env
@register_env('navigation-sparse')
class NavigationSparse(gym.Env):
"""2D navigation problems, as described in [1]. The code is adapted from
https://github.com/cbfinn/maml_rl/blob/9c8e2ebd741cb0c7b8b... | 39.476563 | 119 | 0.590243 | 1,420 | 10,106 | 4.101408 | 0.119718 | 0.061813 | 0.071429 | 0.098901 | 0.829327 | 0.81353 | 0.81353 | 0.801511 | 0.789148 | 0.789148 | 0 | 0.045923 | 0.269543 | 10,106 | 256 | 120 | 39.476563 | 0.743024 | 0.322779 | 0 | 0.692308 | 0 | 0 | 0.016359 | 0.007054 | 0 | 0 | 0 | 0 | 0.00641 | 1 | 0.070513 | false | 0.00641 | 0.032051 | 0.012821 | 0.153846 | 0.012821 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
7c31d486f05ca2fdcdbd2ee971f7d0583255652e | 23,362 | py | Python | api_tests/nodes/views/test_node_contributors_detail.py | DanielSBrown/osf.io | 98dda2ac237377197acacce78274bc0a4ce8f303 | [
"Apache-2.0"
] | null | null | null | api_tests/nodes/views/test_node_contributors_detail.py | DanielSBrown/osf.io | 98dda2ac237377197acacce78274bc0a4ce8f303 | [
"Apache-2.0"
] | null | null | null | api_tests/nodes/views/test_node_contributors_detail.py | DanielSBrown/osf.io | 98dda2ac237377197acacce78274bc0a4ce8f303 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from nose.tools import * # flake8: noqa
from website.models import NodeLog
from website.project.model import Auth
from website.util import permissions
from api.base.settings.defaults import API_BASE
from tests.base import ApiTestCase
from tests.factories import (
ProjectFactory,
Auth... | 41.49556 | 129 | 0.616428 | 2,603 | 23,362 | 5.275067 | 0.058394 | 0.065254 | 0.037652 | 0.056806 | 0.874153 | 0.844003 | 0.825359 | 0.793897 | 0.781443 | 0.744811 | 0 | 0.007879 | 0.261151 | 23,362 | 562 | 130 | 41.569395 | 0.787614 | 0.001455 | 0 | 0.608051 | 0 | 0 | 0.091833 | 0.014062 | 0 | 0 | 0 | 0 | 0.211864 | 1 | 0.082627 | false | 0 | 0.016949 | 0.002119 | 0.110169 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
7c7a1a9da8e62b0027b31862442ac5b7d071fff1 | 82,379 | py | Python | packages/python/plotly/plotly/tests/test_core/test_subplots/test_make_subplots.py | mastermind88/plotly.py | efa70710df1af22958e1be080e105130042f1839 | [
"MIT"
] | null | null | null | packages/python/plotly/plotly/tests/test_core/test_subplots/test_make_subplots.py | mastermind88/plotly.py | efa70710df1af22958e1be080e105130042f1839 | [
"MIT"
] | null | null | null | packages/python/plotly/plotly/tests/test_core/test_subplots/test_make_subplots.py | mastermind88/plotly.py | efa70710df1af22958e1be080e105130042f1839 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from unittest import TestCase
import pytest
from plotly.graph_objs import (
Annotation,
Annotations,
Data,
Figure,
Font,
Layout,
layout,
Scene,
XAxis,
YAxis,
)
import plotly.tools as tls
from plotly import subplots
class TestMakeSubplots(... | 40.84234 | 87 | 0.416975 | 7,645 | 82,379 | 4.418836 | 0.058993 | 0.086614 | 0.037416 | 0.035433 | 0.922918 | 0.887188 | 0.859393 | 0.792079 | 0.759961 | 0.737641 | 0 | 0.169445 | 0.431967 | 82,379 | 2,016 | 88 | 40.862599 | 0.552485 | 0.027665 | 0 | 0.683253 | 0 | 0 | 0.098822 | 0 | 0 | 0 | 0 | 0 | 0.038523 | 1 | 0.034778 | false | 0.000535 | 0.00321 | 0 | 0.038523 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
7ceef2e5351d6d61fb6efc2e054431468bd6aa36 | 57 | py | Python | tests/helpers/_helper_timeout_module.py | Chrisk12/python-grader | 9bfe9beeffdeb8e50be1a9e2ae3b4fbf0728aa52 | [
"MIT"
] | 9 | 2015-06-06T06:15:12.000Z | 2020-05-27T21:37:16.000Z | tests/helpers/_helper_timeout_module.py | Chrisk12/python-grader | 9bfe9beeffdeb8e50be1a9e2ae3b4fbf0728aa52 | [
"MIT"
] | null | null | null | tests/helpers/_helper_timeout_module.py | Chrisk12/python-grader | 9bfe9beeffdeb8e50be1a9e2ae3b4fbf0728aa52 | [
"MIT"
] | 3 | 2018-11-17T22:51:45.000Z | 2021-01-22T14:07:48.000Z | from time import sleep
def slow_function():
sleep(5) | 14.25 | 22 | 0.719298 | 9 | 57 | 4.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.192982 | 57 | 4 | 23 | 14.25 | 0.847826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7cf760b96293d72d2ebf4ca155aaee41da727f4e | 48 | py | Python | netomaton/topology/__init__.py | lantunes/netomaton | fef60a787d031c9c7b1eb4ff990f7c12145579ef | [
"Apache-2.0"
] | 35 | 2018-12-07T14:11:29.000Z | 2022-03-17T23:47:21.000Z | netomaton/topology/__init__.py | lantunes/netomaton | fef60a787d031c9c7b1eb4ff990f7c12145579ef | [
"Apache-2.0"
] | 2 | 2020-03-15T06:45:39.000Z | 2020-04-15T23:50:13.000Z | netomaton/topology/__init__.py | lantunes/netomaton | fef60a787d031c9c7b1eb4ff990f7c12145579ef | [
"Apache-2.0"
] | 6 | 2019-10-18T08:47:32.000Z | 2022-03-02T10:17:12.000Z | from . import adjacency
from .networks import * | 16 | 23 | 0.770833 | 6 | 48 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 3 | 24 | 16 | 0.925 | 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 | 1 | 0 | 0 | 6 |
6b1ea624e8735181f33b1f637d74918e0dc1a3d2 | 6,294 | py | Python | cs-config/cs_config/tables.py | grantseiter/Tax-Brain | 180063a193ff8cb0b56349878110066b012dde6d | [
"MIT"
] | 10 | 2019-05-07T12:04:58.000Z | 2021-05-18T13:14:45.000Z | cs-config/cs_config/tables.py | grantseiter/Tax-Brain | 180063a193ff8cb0b56349878110066b012dde6d | [
"MIT"
] | 113 | 2019-03-05T16:13:32.000Z | 2021-11-10T13:53:32.000Z | cs-config/cs_config/tables.py | grantseiter/Tax-Brain | 180063a193ff8cb0b56349878110066b012dde6d | [
"MIT"
] | 14 | 2019-01-24T18:39:11.000Z | 2021-03-17T17:00:51.000Z | """
Functions to create the tables displayed in COMP
"""
from .constants import AGG_ROW_NAMES
from taxbrain import TaxBrain
def summary_aggregate(res, tb):
"""
Function to produce aggregate revenue tables
"""
if not isinstance(res, dict):
raise TypeError(
f"'res' is of type {type(r... | 39.093168 | 79 | 0.604703 | 743 | 6,294 | 4.973082 | 0.137281 | 0.018945 | 0.056834 | 0.045467 | 0.846549 | 0.811367 | 0.799459 | 0.766171 | 0.730447 | 0.707713 | 0 | 0.005244 | 0.303146 | 6,294 | 160 | 80 | 39.3375 | 0.837209 | 0.215284 | 0 | 0.607477 | 0 | 0 | 0.287323 | 0.030025 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046729 | false | 0 | 0.018692 | 0 | 0.11215 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
8655f6820e8682bc9aa9f19a6fe792a1d0cd94df | 28 | py | Python | app/game/__init__.py | liferooter/---------------- | 0ea4e65c0981f7b26224ef030e4f9bca78f59668 | [
"Unlicense"
] | null | null | null | app/game/__init__.py | liferooter/---------------- | 0ea4e65c0981f7b26224ef030e4f9bca78f59668 | [
"Unlicense"
] | 1 | 2021-01-15T10:24:28.000Z | 2021-01-18T19:23:05.000Z | app/game/__init__.py | liferooter/cubanjumper | 0ea4e65c0981f7b26224ef030e4f9bca78f59668 | [
"Unlicense"
] | null | null | null | from app.game.game import *
| 14 | 27 | 0.75 | 5 | 28 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.875 | 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 | 1 | 0 | 0 | 6 |
866acad7ed4192d264f90e31ce0f04cce107f8bb | 617 | py | Python | namesync/providers/base.py | dnerdy/namesync | 004c5968968e9db82ca8cd16ace8f59088e3e570 | [
"MIT"
] | 9 | 2015-01-14T21:31:11.000Z | 2020-05-08T23:39:07.000Z | namesync/providers/base.py | dnerdy/namesync | 004c5968968e9db82ca8cd16ace8f59088e3e570 | [
"MIT"
] | 1 | 2015-01-14T21:30:58.000Z | 2015-08-11T22:28:04.000Z | namesync/providers/base.py | dnerdy/namesync | 004c5968968e9db82ca8cd16ace8f59088e3e570 | [
"MIT"
] | 2 | 2015-01-16T21:35:42.000Z | 2020-06-18T18:59:10.000Z |
class Provider(object):
def __init__(self, config, zone):
self.zone = zone
def records(self):
raise NotImplementedError() # pragma: no cover
def add(self, record):
raise NotImplementedError() # pragma: no cover
def update(self, record):
raise NotImplementedError() ... | 21.275862 | 55 | 0.620746 | 63 | 617 | 5.984127 | 0.365079 | 0.254642 | 0.318302 | 0.339523 | 0.496021 | 0.496021 | 0.38992 | 0.265252 | 0 | 0 | 0 | 0 | 0.290113 | 617 | 28 | 56 | 22.035714 | 0.860731 | 0.10859 | 0 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.15 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
86aecba9bf3d77a82de0ee1a7dc0b224c16bdfce | 46 | py | Python | dnnv/verifiers/common/reductions/__init__.py | nathzi1505/DNNV | 16c6e6ecb681ce66196f9274d4a43eede8686319 | [
"MIT"
] | 33 | 2019-12-13T18:54:52.000Z | 2021-11-16T06:29:29.000Z | dnnv/verifiers/common/reductions/__init__.py | nathzi1505/DNNV | 16c6e6ecb681ce66196f9274d4a43eede8686319 | [
"MIT"
] | 28 | 2020-01-30T14:06:03.000Z | 2022-01-27T01:07:37.000Z | dnnv/verifiers/common/reductions/__init__.py | nathzi1505/DNNV | 16c6e6ecb681ce66196f9274d4a43eede8686319 | [
"MIT"
] | 14 | 2020-04-08T01:57:00.000Z | 2021-11-26T09:35:02.000Z | from .base import *
from .iopolytope import *
| 15.333333 | 25 | 0.73913 | 6 | 46 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 26 | 23 | 0.894737 | 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 | 1 | 0 | 0 | 6 |
86b1b776b39e918dc7726acc901c8c7b92a3f289 | 159 | py | Python | plugin-python/pyimports.py | srinarayanant/terraform-provider-vcloud-director-1 | 1e805550e69fb5284d4a746a2f86326ec72c565f | [
"BSD-2-Clause"
] | null | null | null | plugin-python/pyimports.py | srinarayanant/terraform-provider-vcloud-director-1 | 1e805550e69fb5284d4a746a2f86326ec72c565f | [
"BSD-2-Clause"
] | null | null | null | plugin-python/pyimports.py | srinarayanant/terraform-provider-vcloud-director-1 | 1e805550e69fb5284d4a746a2f86326ec72c565f | [
"BSD-2-Clause"
] | null | null | null | from pyvcloud.vcd.org import Org
from pyvcloud.vcd.vdc import VDC
from pyvcloud.vcd.client import TaskStatus
import errors
from lxml import objectify, etree
| 19.875 | 42 | 0.823899 | 25 | 159 | 5.24 | 0.48 | 0.274809 | 0.343511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 159 | 7 | 43 | 22.714286 | 0.949275 | 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 | 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 | 6 |
86bca530ff57bd2bbf2fefbdf7605f572509c62f | 968 | py | Python | pridge/cg_numpy.py | valmel/pridge | 9cda4641825c867b4f246df17af73b39be03a1b5 | [
"MIT"
] | null | null | null | pridge/cg_numpy.py | valmel/pridge | 9cda4641825c867b4f246df17af73b39be03a1b5 | [
"MIT"
] | null | null | null | pridge/cg_numpy.py | valmel/pridge | 9cda4641825c867b4f246df17af73b39be03a1b5 | [
"MIT"
] | null | null | null | def CGnumpyAAt(A, At, b, x, reg = 0.01, imax = 1000, eps = 1e-6):
# project b by A^T
rhs = At.dot(b)
q = rhs.copy()
i = 0
aux = A.dot(x)
r = rhs - At.dot(aux) - reg*x
d = r.copy()
delta_0 = r.dot(r)
delta = delta_0
while i < imax and \
delta > delta_0 * eps**2:
aux = A.dot(d)
q = At*a... | 22 | 65 | 0.5 | 192 | 968 | 2.46875 | 0.192708 | 0.101266 | 0.042194 | 0.025316 | 0.767932 | 0.767932 | 0.767932 | 0.767932 | 0.767932 | 0.767932 | 0 | 0.052795 | 0.334711 | 968 | 44 | 66 | 22 | 0.68323 | 0.016529 | 0 | 0.731707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04878 | false | 0 | 0 | 0 | 0.097561 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
86dbd27f527f6eccabd4be2dc0e282509b240baf | 257 | py | Python | jsonrpclib/__init__.py | tuomassalo/jsonrpclib | 774c9353915f1b929e4a9c055ab2654c9c08c5d0 | [
"Apache-2.0"
] | null | null | null | jsonrpclib/__init__.py | tuomassalo/jsonrpclib | 774c9353915f1b929e4a9c055ab2654c9c08c5d0 | [
"Apache-2.0"
] | null | null | null | jsonrpclib/__init__.py | tuomassalo/jsonrpclib | 774c9353915f1b929e4a9c055ab2654c9c08c5d0 | [
"Apache-2.0"
] | 1 | 2022-02-26T05:53:44.000Z | 2022-02-26T05:53:44.000Z | from jsonrpclib.config import Config
config = Config.instance()
from jsonrpclib.history import History
history = History.instance()
from jsonrpclib.jsonrpc import Server, MultiCall, Fault
from jsonrpclib.jsonrpc import ProtocolError, AppError, loads, dumps
| 36.714286 | 68 | 0.828794 | 31 | 257 | 6.870968 | 0.451613 | 0.262911 | 0.206573 | 0.253521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105058 | 257 | 6 | 69 | 42.833333 | 0.926087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8121ca42b445523c679374eddedfe885bbc09e02 | 475,254 | py | Python | Tanjim.py | noobboss1/SIX | 3d09d778a6b73b074630c52e7163d9dc06d836fb | [
"Apache-2.0"
] | null | null | null | Tanjim.py | noobboss1/SIX | 3d09d778a6b73b074630c52e7163d9dc06d836fb | [
"Apache-2.0"
] | null | null | null | Tanjim.py | noobboss1/SIX | 3d09d778a6b73b074630c52e7163d9dc06d836fb | [
"Apache-2.0"
] | null | null | null |
# Obfuscated By VivekXD | MRVIVEK-CODER
# Github : https://www.github.com/MRVIVEK-CODER
# Instagram : https://instagr.am/hacker_solution_by_vivek
# --------------------------------------------
# Time : Thu Nov 11 02:43:10 2021
# Platform : Linux aarch64
# --------------------------------------------
import ... | 27,956.117647 | 385,228 | 0.623258 | 89,473 | 475,254 | 3.310529 | 0.00133 | 0.070195 | 0.122771 | 0.048889 | 0.694919 | 0.694865 | 0.69477 | 0.694622 | 0.693794 | 0.692133 | 0 | 0.555198 | 0.18824 | 475,254 | 16 | 385,229 | 29,703.375 | 0.212581 | 0.000623 | 0 | 0 | 0 | 0 | 0.188467 | 0.188397 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
81241143237d7e4000d45e8fcefff93e7fea7485 | 5,360 | py | Python | 010-019/013.py | ggm1207/gunmo-project-euler | c8e38e084e7604039398557f2b946edaa2fb34c1 | [
"Apache-2.0"
] | null | null | null | 010-019/013.py | ggm1207/gunmo-project-euler | c8e38e084e7604039398557f2b946edaa2fb34c1 | [
"Apache-2.0"
] | null | null | null | 010-019/013.py | ggm1207/gunmo-project-euler | c8e38e084e7604039398557f2b946edaa2fb34c1 | [
"Apache-2.0"
] | null | null | null | """
index: 013
problem: 50자리 수 100개를 더한 값의 첫 10자리 구하기
"""
num_50_100 = """37107287533902102798797998220837590246510135740250
46376937677490009712648124896970078050417018260538
74324986199524741059474233309513058123726617309629
91942213363574161572522430563301811072406154908250
2306758820753934617117198031042104751377... | 45.811966 | 66 | 0.961007 | 145 | 5,360 | 35.468966 | 0.903448 | 0.003889 | 0.006222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.966206 | 0.028358 | 5,360 | 116 | 67 | 46.206897 | 0.021313 | 0.013806 | 0 | 0 | 0 | 0 | 0.967944 | 0.948407 | 0 | 1 | 0 | 0 | 0 | 1 | 0.009524 | false | 0 | 0 | 0 | 0.019048 | 0.009524 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d4a3c3376ed7edda511370144604f119982f55f0 | 9,812 | py | Python | edk2toolext/tests/test_repo_resolver.py | spbrogan/edk2-pytool-extensions | 5ad1bdef26cd5ad16e4718b4448f5858dba21a4c | [
"BSD-2-Clause-Patent"
] | null | null | null | edk2toolext/tests/test_repo_resolver.py | spbrogan/edk2-pytool-extensions | 5ad1bdef26cd5ad16e4718b4448f5858dba21a4c | [
"BSD-2-Clause-Patent"
] | null | null | null | edk2toolext/tests/test_repo_resolver.py | spbrogan/edk2-pytool-extensions | 5ad1bdef26cd5ad16e4718b4448f5858dba21a4c | [
"BSD-2-Clause-Patent"
] | null | null | null | ## @file test_repo_resolver.py
# This contains unit tests for repo resolver
#
##
# Copyright (c) Microsoft Corporation
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
import logging
import os
import unittest
from edk2toolext.environment import repo_resolver
import tempfile
branch_dependency = {
"Url": "https:... | 36.475836 | 118 | 0.678047 | 1,239 | 9,812 | 5.141243 | 0.126715 | 0.047253 | 0.06562 | 0.064992 | 0.821664 | 0.800157 | 0.784458 | 0.763893 | 0.738776 | 0.71978 | 0 | 0.015467 | 0.215858 | 9,812 | 268 | 119 | 36.61194 | 0.812451 | 0.113942 | 0 | 0.610526 | 0 | 0 | 0.124221 | 0.018471 | 0 | 0 | 0 | 0 | 0.157895 | 1 | 0.089474 | false | 0 | 0.026316 | 0 | 0.136842 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
078077943e8a700d6783111911dcfb4fce48bc05 | 28 | py | Python | xoodyak/pyxoodyak/__init__.py | rishubn/bluelight | b6df36d2729fd086d5c344392c471d7d0f1386dc | [
"Apache-2.0"
] | null | null | null | xoodyak/pyxoodyak/__init__.py | rishubn/bluelight | b6df36d2729fd086d5c344392c471d7d0f1386dc | [
"Apache-2.0"
] | null | null | null | xoodyak/pyxoodyak/__init__.py | rishubn/bluelight | b6df36d2729fd086d5c344392c471d7d0f1386dc | [
"Apache-2.0"
] | null | null | null | from .xoodyak import Xoodyak | 28 | 28 | 0.857143 | 4 | 28 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.96 | 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 | 1 | 0 | 0 | 6 |
07d15c528d3bb2ee30ce68f136a45186b7f38d07 | 80 | py | Python | ioapi/__init__.py | luisparravicini/ioapi | f9d60a28032fd54163ea15b8256aba1d48ec4dcc | [
"MIT"
] | null | null | null | ioapi/__init__.py | luisparravicini/ioapi | f9d60a28032fd54163ea15b8256aba1d48ec4dcc | [
"MIT"
] | null | null | null | ioapi/__init__.py | luisparravicini/ioapi | f9d60a28032fd54163ea15b8256aba1d48ec4dcc | [
"MIT"
] | 1 | 2020-05-03T04:34:32.000Z | 2020-05-03T04:34:32.000Z | from .wrapper import IOService, AuthorizationError, UnexpectedResponseCodeError
| 40 | 79 | 0.8875 | 6 | 80 | 11.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 80 | 1 | 80 | 80 | 0.959459 | 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 | 1 | 0 | 0 | 6 |
07d944a9229f9868e01c12ad50654add57b21376 | 151 | py | Python | tests/conftest.py | aliatiia/yearn-recycle | 2f4902158087c75b740ef711ba3509ae5d959eff | [
"MIT"
] | null | null | null | tests/conftest.py | aliatiia/yearn-recycle | 2f4902158087c75b740ef711ba3509ae5d959eff | [
"MIT"
] | null | null | null | tests/conftest.py | aliatiia/yearn-recycle | 2f4902158087c75b740ef711ba3509ae5d959eff | [
"MIT"
] | null | null | null | import pytest
from brownie import *
@pytest.fixture(scope='module')
def recycle(Recycle, accounts):
return Recycle.deploy({'from': accounts[0]})
| 18.875 | 48 | 0.728477 | 19 | 151 | 5.789474 | 0.684211 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007576 | 0.125828 | 151 | 7 | 49 | 21.571429 | 0.825758 | 0 | 0 | 0 | 0 | 0 | 0.066225 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
07f37a03a045c21fe57fcd4bd50f4c643521d163 | 77 | py | Python | asana/resources/goals.py | maany/python-asana | a29f59e7f35461bde836126bbf3629dac1a642ab | [
"MIT"
] | null | null | null | asana/resources/goals.py | maany/python-asana | a29f59e7f35461bde836126bbf3629dac1a642ab | [
"MIT"
] | null | null | null | asana/resources/goals.py | maany/python-asana | a29f59e7f35461bde836126bbf3629dac1a642ab | [
"MIT"
] | null | null | null | from .gen.goals import _Goals
class Goals(_Goals):
"""Goals resource"""
| 15.4 | 29 | 0.688312 | 10 | 77 | 5.1 | 0.6 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168831 | 77 | 4 | 30 | 19.25 | 0.796875 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 | 1 | 0 | 0 | 6 |
5801d30146b10bf9651529a8ac411f41f4bec3d8 | 218 | py | Python | readthedocs/core/fields.py | tkoyama010/readthedocs.org | aac8fb39586db902d9fbb51b639dd281c819dae2 | [
"MIT"
] | 4,054 | 2015-01-01T00:58:07.000Z | 2019-06-28T05:50:49.000Z | readthedocs/core/fields.py | tkoyama010/readthedocs.org | aac8fb39586db902d9fbb51b639dd281c819dae2 | [
"MIT"
] | 4,282 | 2015-01-01T21:38:49.000Z | 2019-06-28T15:41:00.000Z | readthedocs/core/fields.py | mondeja/readthedocs.org | fb01c6d9d78272e3f4fd146697e8760c04e4fbb6 | [
"MIT"
] | 3,224 | 2015-01-01T07:38:45.000Z | 2019-06-28T09:19:10.000Z | # -*- coding: utf-8 -*-
"""Shared model fields and defaults."""
import binascii
import os
def default_token():
"""Generate default value for token field."""
return binascii.hexlify(os.urandom(20)).decode()
| 18.166667 | 52 | 0.674312 | 28 | 218 | 5.214286 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016484 | 0.165138 | 218 | 11 | 53 | 19.818182 | 0.785714 | 0.440367 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6afe874c9c6d5f2470a7be2378696049109fc772 | 51 | py | Python | __init__.py | angrymasther/Xarxa- | 09f60c63b5a2b8dd9956a4bf78c1acffd0cbc402 | [
"MIT"
] | null | null | null | __init__.py | angrymasther/Xarxa- | 09f60c63b5a2b8dd9956a4bf78c1acffd0cbc402 | [
"MIT"
] | null | null | null | __init__.py | angrymasther/Xarxa- | 09f60c63b5a2b8dd9956a4bf78c1acffd0cbc402 | [
"MIT"
] | null | null | null | from Analisis.py import *
from Attacks.py import *
| 17 | 25 | 0.764706 | 8 | 51 | 4.875 | 0.625 | 0.410256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 51 | 2 | 26 | 25.5 | 0.906977 | 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 | 1 | 0 | 0 | 6 |
ed114890a2c3b6aa10dd355ad090997104da589b | 28 | py | Python | dgen_os/python/tezt.py | T-Man-Stan/dgen | b87acbee1a68b117ff9bf66dcc32502b909b6f36 | [
"BSD-3-Clause"
] | null | null | null | dgen_os/python/tezt.py | T-Man-Stan/dgen | b87acbee1a68b117ff9bf66dcc32502b909b6f36 | [
"BSD-3-Clause"
] | null | null | null | dgen_os/python/tezt.py | T-Man-Stan/dgen | b87acbee1a68b117ff9bf66dcc32502b909b6f36 | [
"BSD-3-Clause"
] | null | null | null | print('^^^ testtttting ^^^') | 28 | 28 | 0.571429 | 2 | 28 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 28 | 1 | 28 | 28 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0.655172 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
ed198a30bb3f3a7f495372a25f510c9b031525e8 | 182 | py | Python | aa_stripe/utils.py | Icheka/django-stripe-api-integration | 2c26fdc4d4b85786fa933063f6eda2c81a8fd045 | [
"MIT"
] | 5 | 2017-07-01T22:28:58.000Z | 2018-05-26T01:14:01.000Z | aa_stripe/utils.py | Icheka/django-stripe-api-integration | 2c26fdc4d4b85786fa933063f6eda2c81a8fd045 | [
"MIT"
] | 55 | 2017-06-06T09:21:01.000Z | 2019-07-10T11:18:31.000Z | aa_stripe/utils.py | Icheka/django-stripe-api-integration | 2c26fdc4d4b85786fa933063f6eda2c81a8fd045 | [
"MIT"
] | 3 | 2017-11-03T14:40:30.000Z | 2019-02-26T05:19:30.000Z | from datetime import datetime
from django.utils import timezone
def timestamp_to_timezone_aware_date(timestamp):
return timezone.make_aware(datetime.fromtimestamp(timestamp))
| 22.75 | 65 | 0.840659 | 23 | 182 | 6.434783 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104396 | 182 | 7 | 66 | 26 | 0.907975 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
ed2acdc395e5f57551e758d17abcf9b4fe5b8c65 | 84 | py | Python | stavia/utils/__init__.py | ngocjr7/stavia | 39c6c311f3888adb6d08b11190e651ed3b4ef01b | [
"MIT"
] | null | null | null | stavia/utils/__init__.py | ngocjr7/stavia | 39c6c311f3888adb6d08b11190e651ed3b4ef01b | [
"MIT"
] | null | null | null | stavia/utils/__init__.py | ngocjr7/stavia | 39c6c311f3888adb6d08b11190e651ed3b4ef01b | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from . import utils
from . import parameters | 21 | 38 | 0.833333 | 11 | 84 | 5.909091 | 0.545455 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 84 | 4 | 39 | 21 | 0.902778 | 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 | 1 | 0 | 0 | 6 |
ed2e7183e322387ac2f20796fca620a39a56a9e0 | 13,875 | py | Python | dfirtrack_main/tests/system/test_system_creator_views.py | thomas-kropeit/dfirtrack | b1e0e659af7bc8085cfe2d269ddc651f9f4ba585 | [
"Apache-2.0"
] | null | null | null | dfirtrack_main/tests/system/test_system_creator_views.py | thomas-kropeit/dfirtrack | b1e0e659af7bc8085cfe2d269ddc651f9f4ba585 | [
"Apache-2.0"
] | 6 | 2022-03-16T12:30:51.000Z | 2022-03-28T01:34:45.000Z | dfirtrack_main/tests/system/test_system_creator_views.py | thomas-kropeit/dfirtrack | b1e0e659af7bc8085cfe2d269ddc651f9f4ba585 | [
"Apache-2.0"
] | null | null | null | import urllib.parse
from django.contrib.auth.models import User
from django.contrib.messages import get_messages
from django.test import TestCase
from dfirtrack_config.models import Workflow
from dfirtrack_main.models import Analysisstatus, System, Systemstatus
class SystemCreatorViewTestCase(TestCase):
"""syst... | 35.395408 | 135 | 0.612757 | 1,322 | 13,875 | 6.152799 | 0.092284 | 0.131055 | 0.038726 | 0.049914 | 0.859233 | 0.804278 | 0.786083 | 0.761249 | 0.721293 | 0.68478 | 0 | 0.01763 | 0.292757 | 13,875 | 391 | 136 | 35.485934 | 0.811271 | 0.086126 | 0 | 0.518116 | 0 | 0 | 0.218209 | 0.094236 | 0 | 0 | 0 | 0 | 0.086957 | 1 | 0.050725 | false | 0.047101 | 0.021739 | 0 | 0.076087 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
ed46de8d100135656d75f169356bd783ad66aa78 | 2,671 | py | Python | tests/test_unions.py | bibajz/cattrs | 59edafdac38d4f9acd9ab2769380e3ec128a16a7 | [
"MIT"
] | null | null | null | tests/test_unions.py | bibajz/cattrs | 59edafdac38d4f9acd9ab2769380e3ec128a16a7 | [
"MIT"
] | null | null | null | tests/test_unions.py | bibajz/cattrs | 59edafdac38d4f9acd9ab2769380e3ec128a16a7 | [
"MIT"
] | null | null | null | from typing import Type, Union
import attr
import pytest
from cattr._compat import is_py310_plus
from cattr.converters import Converter, GenConverter
@pytest.mark.parametrize("cls", (Converter, GenConverter))
def test_custom_union_toplevel_roundtrip(cls: Type[Converter]):
"""
Test custom code union handling... | 24.504587 | 82 | 0.634968 | 367 | 2,671 | 4.444142 | 0.174387 | 0.013489 | 0.064378 | 0.033109 | 0.844267 | 0.803801 | 0.803801 | 0.803801 | 0.771919 | 0.771919 | 0 | 0.007386 | 0.239611 | 2,671 | 108 | 83 | 24.731481 | 0.795667 | 0.150131 | 0 | 0.590909 | 0 | 0 | 0.035455 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.045455 | false | 0 | 0.075758 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
ed69a8a2d10c340c92e9ddb0a68b45cd5d27944a | 40,007 | py | Python | src/datamigration/azext_datamigration/manual/tests/latest/test_datamigration_scenario.py | haroonf/azure-cli-extensions | 61c044d34c224372f186934fa7c9313f1cd3a525 | [
"MIT"
] | null | null | null | src/datamigration/azext_datamigration/manual/tests/latest/test_datamigration_scenario.py | haroonf/azure-cli-extensions | 61c044d34c224372f186934fa7c9313f1cd3a525 | [
"MIT"
] | 9 | 2022-03-25T19:35:49.000Z | 2022-03-31T06:09:47.000Z | src/datamigration/azext_datamigration/manual/tests/latest/test_datamigration_scenario.py | haroonf/azure-cli-extensions | 61c044d34c224372f186934fa7c9313f1cd3a525 | [
"MIT"
] | 1 | 2022-03-10T22:13:02.000Z | 2022-03-10T22:13:02.000Z | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | 48.027611 | 325 | 0.621841 | 3,693 | 40,007 | 6.608719 | 0.077444 | 0.034295 | 0.06859 | 0.064001 | 0.837335 | 0.804884 | 0.766533 | 0.714087 | 0.689707 | 0.653692 | 0 | 0.006525 | 0.241483 | 40,007 | 832 | 326 | 48.085337 | 0.797733 | 0.099833 | 0 | 0.704044 | 0 | 0.025735 | 0.421406 | 0.186761 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060662 | false | 0.023897 | 0.001838 | 0 | 0.0625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ed714ba6824bf0736a1e498f29f0e3a2e5407ed1 | 1,748 | py | Python | lupa/migrations/0010_auto_20191029_1459.py | MinisterioPublicoRJ/api-cadg | a8998c4c234a65192f1dca8ea9a17a1d4a496556 | [
"MIT"
] | 6 | 2020-02-11T18:45:58.000Z | 2020-05-26T12:37:28.000Z | lupa/migrations/0010_auto_20191029_1459.py | MinisterioPublicoRJ/api-cadg | a8998c4c234a65192f1dca8ea9a17a1d4a496556 | [
"MIT"
] | 120 | 2019-07-01T14:45:32.000Z | 2022-01-25T19:10:16.000Z | lupa/migrations/0010_auto_20191029_1459.py | MinisterioPublicoRJ/apimpmapas | 196ad25a4922448b8ae7a66012a2843c7b7194ad | [
"MIT"
] | null | null | null | # Generated by Django 2.2.2 on 2019-10-29 14:59
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('lupa', '0009_auto_20191024_1734'),
]
operations = [
migrations.RemoveField(
model_name='dadodetalhe',
name='cache_ti... | 31.214286 | 106 | 0.578375 | 164 | 1,748 | 5.981707 | 0.29878 | 0.082569 | 0.146789 | 0.165138 | 0.828746 | 0.828746 | 0.771662 | 0.67788 | 0.587156 | 0.533129 | 0 | 0.028357 | 0.314073 | 1,748 | 55 | 107 | 31.781818 | 0.789825 | 0.025744 | 0 | 0.857143 | 1 | 0 | 0.22575 | 0.013521 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.020408 | 0 | 0.081633 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.