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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f6ab4cd55330704676a9aec66d388ca08c20c740 | 1,289 | py | Python | 2021_05_19/dojo_test.py | devppjr/dojo | de0bf116153bd1251dd948c18fc73ac41def0fa5 | [
"MIT"
] | 114 | 2015-03-10T22:17:42.000Z | 2022-03-09T17:49:48.000Z | 2021_05_19/dojo_test.py | devppjr/dojo | de0bf116153bd1251dd948c18fc73ac41def0fa5 | [
"MIT"
] | 9 | 2018-09-04T12:49:59.000Z | 2019-11-17T21:29:51.000Z | 2021_05_19/dojo_test.py | devppjr/dojo | de0bf116153bd1251dd948c18fc73ac41def0fa5 | [
"MIT"
] | 39 | 2015-01-29T01:20:56.000Z | 2022-02-17T16:26:25.000Z | import unittest
from dojo import main, function_right, function_in
class DojoTest(unittest.TestCase):
def test_function_right1(self):
self.assertEqual(function_right("1492", "2013"), 0)
def test_function_right2(self):
self.assertEqual(function_right("1234", "1234"), 4)
def test_function_... | 26.306122 | 59 | 0.644686 | 162 | 1,289 | 4.895062 | 0.283951 | 0.0971 | 0.208071 | 0.204288 | 0.466583 | 0.24338 | 0.118537 | 0.118537 | 0.118537 | 0 | 0 | 0.131965 | 0.206362 | 1,289 | 48 | 60 | 26.854167 | 0.643206 | 0.058185 | 0 | 0.074074 | 0 | 0 | 0.091887 | 0 | 0 | 0 | 0 | 0 | 0.407407 | 1 | 0.407407 | false | 0 | 0.074074 | 0 | 0.518519 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
f6c767116efed68f35683ab89afc20d337369776 | 57 | py | Python | ingestion/Blocktrace/Utils/__init__.py | mharrisb1/blocktrace | 3c54286d4f28c3b0610f577dfdbbf643953475fa | [
"MIT"
] | null | null | null | ingestion/Blocktrace/Utils/__init__.py | mharrisb1/blocktrace | 3c54286d4f28c3b0610f577dfdbbf643953475fa | [
"MIT"
] | null | null | null | ingestion/Blocktrace/Utils/__init__.py | mharrisb1/blocktrace | 3c54286d4f28c3b0610f577dfdbbf643953475fa | [
"MIT"
] | null | null | null | from Blocktrace.Utils.BlocktraceLog import BlocktraceLog
| 28.5 | 56 | 0.894737 | 6 | 57 | 8.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 57 | 1 | 57 | 57 | 0.962264 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1008a42d80a9d96fc462dd16f302a76153e65a73 | 50 | py | Python | layers/__init__.py | Eralaf/ssd.pytorch | acad53fd801f32120ecb3ff57950556e35db3d1c | [
"MIT"
] | null | null | null | layers/__init__.py | Eralaf/ssd.pytorch | acad53fd801f32120ecb3ff57950556e35db3d1c | [
"MIT"
] | null | null | null | layers/__init__.py | Eralaf/ssd.pytorch | acad53fd801f32120ecb3ff57950556e35db3d1c | [
"MIT"
] | null | null | null | from .functions import *
from .modules import *
| 16.666667 | 24 | 0.72 | 6 | 50 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 50 | 2 | 25 | 25 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
120b5cff3daf1978ed8b9f7ebd4c97384e6d3730 | 76 | py | Python | workspace/module/python-2.7/LxPreset/prsMethods/__init__.py | no7hings/Lynxi | 43c745198a714c2e5aca86c6d7a014adeeb9abf7 | [
"MIT"
] | 2 | 2018-03-06T03:33:55.000Z | 2019-03-26T03:25:11.000Z | workspace/module/python-2.7/LxPreset/prsMethods/__init__.py | no7hings/lynxi | 43c745198a714c2e5aca86c6d7a014adeeb9abf7 | [
"MIT"
] | null | null | null | workspace/module/python-2.7/LxPreset/prsMethods/__init__.py | no7hings/lynxi | 43c745198a714c2e5aca86c6d7a014adeeb9abf7 | [
"MIT"
] | null | null | null | # coding:utf-8
from ._prsMtdProduct import *
from ._prsMtdUtility import *
| 15.2 | 29 | 0.763158 | 9 | 76 | 6.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.144737 | 76 | 4 | 30 | 19 | 0.846154 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
121d8d31c3088d7d42fcd997dc692350325d116b | 88 | py | Python | heuslertools/xps/__init__.py | LukeSkywalker92/heuslertools | 58108511eec4a027f7d42888e66b50b2dc8d7612 | [
"MIT"
] | null | null | null | heuslertools/xps/__init__.py | LukeSkywalker92/heuslertools | 58108511eec4a027f7d42888e66b50b2dc8d7612 | [
"MIT"
] | null | null | null | heuslertools/xps/__init__.py | LukeSkywalker92/heuslertools | 58108511eec4a027f7d42888e66b50b2dc8d7612 | [
"MIT"
] | null | null | null | """
Tools for handling XPS measurements
"""
from .xps_measurement import XPSMeasurement
| 17.6 | 43 | 0.795455 | 10 | 88 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 88 | 4 | 44 | 22 | 0.896104 | 0.397727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
89e7971d7c3bd4bd0fa247b729f9a895a0fab833 | 11,923 | py | Python | bb2cogs/server_log.py | Team-EG/j-bot | 2e160707d13cc4988f370713fc9f57c7cff3f5bb | [
"MIT"
] | 2 | 2020-07-07T01:15:15.000Z | 2021-08-15T19:49:32.000Z | bb2cogs/server_log.py | Team-EG/j-bot | 2e160707d13cc4988f370713fc9f57c7cff3f5bb | [
"MIT"
] | null | null | null | bb2cogs/server_log.py | Team-EG/j-bot | 2e160707d13cc4988f370713fc9f57c7cff3f5bb | [
"MIT"
] | 1 | 2020-04-08T04:23:10.000Z | 2020-04-08T04:23:10.000Z | import discord
import json
import time
import os
import shutil
from time import localtime, strftime
from discord.ext import commands
class Server_Log(commands.Cog):
def __init__(self, client):
self.client = client
# embed 탬플릿 (앞에 #을 지우고 사용하세요)
# embed.add_field(name='', value='', ... | 39.480132 | 144 | 0.579552 | 1,525 | 11,923 | 4.406557 | 0.091148 | 0.032143 | 0.052232 | 0.068304 | 0.814732 | 0.785268 | 0.733929 | 0.675298 | 0.650298 | 0.622173 | 0 | 0.002366 | 0.291034 | 11,923 | 301 | 145 | 39.611296 | 0.792618 | 0.012916 | 0 | 0.659751 | 0 | 0 | 0.106971 | 0.012652 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008299 | false | 0.053942 | 0.029046 | 0 | 0.074689 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
d61719e2cae28c54567aaaf041ba2a915c5d1f7f | 159 | py | Python | tests/__init__.py | typoctf/pytxdata | 36989500b1583161efd2253f66204d97a1c81f29 | [
"MIT"
] | null | null | null | tests/__init__.py | typoctf/pytxdata | 36989500b1583161efd2253f66204d97a1c81f29 | [
"MIT"
] | null | null | null | tests/__init__.py | typoctf/pytxdata | 36989500b1583161efd2253f66204d97a1c81f29 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from pytxdata import set_directory
def setup_module(module):
set_directory()
def teardown_module(module):
set_directory()
| 13.25 | 34 | 0.704403 | 20 | 159 | 5.35 | 0.6 | 0.336449 | 0.280374 | 0.448598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007634 | 0.176101 | 159 | 11 | 35 | 14.454545 | 0.80916 | 0.132075 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0 | 0.6 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7f1b30301a3de59ffe806cb4a987f4371c4fabd2 | 187 | py | Python | environments/gym_pycolab/envs/__init__.py | braemt/attentive-multi-task-deep-reinforcement-learning | 921feefce98076f88c892f0b7e6db8572f596763 | [
"MIT"
] | 12 | 2019-04-07T02:04:48.000Z | 2022-03-22T12:57:47.000Z | environments/gym_pycolab/envs/__init__.py | braemt/attentive-multi-task-deep-reinforcement-learning | 921feefce98076f88c892f0b7e6db8572f596763 | [
"MIT"
] | null | null | null | environments/gym_pycolab/envs/__init__.py | braemt/attentive-multi-task-deep-reinforcement-learning | 921feefce98076f88c892f0b7e6db8572f596763 | [
"MIT"
] | 7 | 2019-04-07T02:04:49.000Z | 2020-12-28T10:30:27.000Z | # THIS FILE IS NEW OR MODIFIED COMPARED TO https://github.com/deepmind/pycolab
from gym_pycolab.envs.pycolab_env import PycolabEnv
from gym_pycolab.envs.pycolab_grid_worlds_env import *
| 37.4 | 78 | 0.834225 | 30 | 187 | 5 | 0.7 | 0.093333 | 0.186667 | 0.24 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101604 | 187 | 4 | 79 | 46.75 | 0.892857 | 0.406417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
612f56f7c268214366f505c80cc4b6be3d3d1ca4 | 36 | py | Python | tests/__init__.py | ChromaticIsobar/chromatictools | 746bb68547c383812a5996503328fc1ab40dacb4 | [
"MIT"
] | null | null | null | tests/__init__.py | ChromaticIsobar/chromatictools | 746bb68547c383812a5996503328fc1ab40dacb4 | [
"MIT"
] | 1 | 2022-03-10T14:43:55.000Z | 2022-03-10T14:43:55.000Z | tests/__init__.py | ChromaticIsobar/chromatictools | 746bb68547c383812a5996503328fc1ab40dacb4 | [
"MIT"
] | null | null | null | """Unit tests for chromatictools"""
| 18 | 35 | 0.722222 | 4 | 36 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.8125 | 0.805556 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
614093ac65193448e0967d14d56afb529662f27f | 6,993 | py | Python | ofspy/test/test_contract.py | ehsanfar/ofspy_v2 | 6eedfec4bb36c48473abfd473941c5d3b34590b6 | [
"Apache-2.0"
] | null | null | null | ofspy/test/test_contract.py | ehsanfar/ofspy_v2 | 6eedfec4bb36c48473abfd473941c5d3b34590b6 | [
"Apache-2.0"
] | null | null | null | ofspy/test/test_contract.py | ehsanfar/ofspy_v2 | 6eedfec4bb36c48473abfd473941c5d3b34590b6 | [
"Apache-2.0"
] | null | null | null | """
Copyright 2015 Paul T. Grogan, Massachusetts Institute of Technology
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 applicabl... | 44.541401 | 88 | 0.694123 | 804 | 6,993 | 6.027363 | 0.141791 | 0.134131 | 0.109781 | 0.086669 | 0.756707 | 0.746801 | 0.736071 | 0.718737 | 0.697482 | 0.697482 | 0 | 0.023055 | 0.187473 | 6,993 | 157 | 89 | 44.541401 | 0.829813 | 0.084799 | 0 | 0.653543 | 0 | 0 | 0.001417 | 0 | 0 | 0 | 0 | 0 | 0.519685 | 1 | 0.062992 | false | 0 | 0.062992 | 0 | 0.133858 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
617aad89503d97714477f7cf2f26c05390d91b5b | 119 | py | Python | heuslertools/magnetism/__init__.py | LukeSkywalker92/heuslertools | 58108511eec4a027f7d42888e66b50b2dc8d7612 | [
"MIT"
] | null | null | null | heuslertools/magnetism/__init__.py | LukeSkywalker92/heuslertools | 58108511eec4a027f7d42888e66b50b2dc8d7612 | [
"MIT"
] | null | null | null | heuslertools/magnetism/__init__.py | LukeSkywalker92/heuslertools | 58108511eec4a027f7d42888e66b50b2dc8d7612 | [
"MIT"
] | null | null | null | """
Tools for handling magnetic conversions and calculations
"""
from .layer import Layer
from .crystal import Crystal
| 19.833333 | 56 | 0.789916 | 15 | 119 | 6.266667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 119 | 5 | 57 | 23.8 | 0.921569 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
618bc96f684dccae541012862da9fde6ed20280c | 37 | py | Python | tests/__init__.py | DigitalBiomarkerDiscoveryPipeline/fasting | 85e0e05ff3279a1503413fd33a1d785281d9a940 | [
"MIT"
] | 2 | 2021-02-24T14:56:19.000Z | 2021-08-21T08:59:51.000Z | tests/__init__.py | DigitalBiomarkerDiscoveryPipeline/fasting | 85e0e05ff3279a1503413fd33a1d785281d9a940 | [
"MIT"
] | null | null | null | tests/__init__.py | DigitalBiomarkerDiscoveryPipeline/fasting | 85e0e05ff3279a1503413fd33a1d785281d9a940 | [
"MIT"
] | 1 | 2021-03-01T16:10:57.000Z | 2021-03-01T16:10:57.000Z | """Unit test package for fasting."""
| 18.5 | 36 | 0.675676 | 5 | 37 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 1 | 37 | 37 | 0.78125 | 0.810811 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
619aa212575066a9c49e10ad2bf1defd273ada82 | 170 | py | Python | src/main.py | focom/proto-memoire | af4b01fe502509b0a987290f2c11c3b0829a3e59 | [
"MIT"
] | null | null | null | src/main.py | focom/proto-memoire | af4b01fe502509b0a987290f2c11c3b0829a3e59 | [
"MIT"
] | null | null | null | src/main.py | focom/proto-memoire | af4b01fe502509b0a987290f2c11c3b0829a3e59 | [
"MIT"
] | null | null | null | # from classes.game import *
from tkinter import *
from classes.personality import Personality
from classes.main import *
if ( __name__ == '__main__'):
main = Main()
| 24.285714 | 43 | 0.729412 | 21 | 170 | 5.52381 | 0.428571 | 0.284483 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170588 | 170 | 6 | 44 | 28.333333 | 0.822695 | 0.152941 | 0 | 0 | 0 | 0 | 0.056338 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
61a8e72cbc532c6676092b6a4b9a5a2a210ce8ee | 32 | py | Python | evaluation.py | AndreSoble/PerformerDualEncoder | 6394133c788a3a6571119d62486356a2f16211f5 | [
"MIT"
] | 1 | 2021-05-05T21:00:59.000Z | 2021-05-05T21:00:59.000Z | evaluation.py | AndreSoble/PerformerDualEncoder | 6394133c788a3a6571119d62486356a2f16211f5 | [
"MIT"
] | null | null | null | evaluation.py | AndreSoble/PerformerDualEncoder | 6394133c788a3a6571119d62486356a2f16211f5 | [
"MIT"
] | 1 | 2021-02-03T16:30:14.000Z | 2021-02-03T16:30:14.000Z |
def run_xnli(model):
pass | 6.4 | 20 | 0.625 | 5 | 32 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.28125 | 32 | 5 | 21 | 6.4 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
61b5243a2b658de71e307f2ebf301b95b418d28b | 198 | py | Python | python/basic-tutorials/demo/002/arithmetic-sum.py | capricorncd/my-notes | a2899a99bbb9680bf3a77652a4b154afd53964f5 | [
"MIT"
] | 5 | 2017-10-23T01:30:14.000Z | 2021-04-05T16:51:02.000Z | python/basic-tutorials/demo/002/arithmetic-sum.py | capricorncd/my-notes | a2899a99bbb9680bf3a77652a4b154afd53964f5 | [
"MIT"
] | 3 | 2017-08-03T02:50:30.000Z | 2017-11-22T03:35:16.000Z | python/basic-tutorials/demo/002/arithmetic-sum.py | capricorncd/my-notes | a2899a99bbb9680bf3a77652a4b154afd53964f5 | [
"MIT"
] | 10 | 2017-10-08T11:38:08.000Z | 2021-04-09T09:00:31.000Z | x1 = 1
d = 3
n = 100
x100 = x1 + (100 - 1) * d
s = 0
while (n > 0):
s += x1 + (n - 1) * d
n -= 1
'''
# or
while (n > 0):
n -= 1
s += x1 + n * d
'''
print 'x100 = ', x100
print 'sum = ', s
| 10.421053 | 25 | 0.378788 | 39 | 198 | 1.923077 | 0.333333 | 0.08 | 0.186667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227642 | 0.378788 | 198 | 18 | 26 | 11 | 0.382114 | 0 | 0 | 0 | 0 | 0 | 0.090278 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.2 | 0 | 0 | 1 | null | 0 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
61ba33b39ffda24136b0c8348dd9c4eb37a9c3d4 | 224 | py | Python | pyblis/__init__.py | jcrist/pyblis | d9c67d40a15c656a4681ba1b9ca0c52eff40163c | [
"BSD-3-Clause"
] | 2 | 2020-03-07T14:02:51.000Z | 2021-02-03T05:18:11.000Z | pyblis/__init__.py | jcrist/pyblis | d9c67d40a15c656a4681ba1b9ca0c52eff40163c | [
"BSD-3-Clause"
] | null | null | null | pyblis/__init__.py | jcrist/pyblis | d9c67d40a15c656a4681ba1b9ca0c52eff40163c | [
"BSD-3-Clause"
] | null | null | null | from . import lib
from ._wrappers import dot
def _init_numba():
"""Initialize the numba extension"""
from . import _numba
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
| 20.363636 | 40 | 0.745536 | 29 | 224 | 5.344828 | 0.517241 | 0.212903 | 0.232258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165179 | 224 | 10 | 41 | 22.4 | 0.828877 | 0.133929 | 0 | 0 | 0 | 0 | 0.037234 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.571429 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
61bf6f612dc50ff5fce3dd4b3ef93ff78b65a5e7 | 5,717 | py | Python | reversible2/distribution.py | robintibor/reversible2 | e6fea33ba41c7f76ee50295329b4ef27b879a7fa | [
"MIT"
] | null | null | null | reversible2/distribution.py | robintibor/reversible2 | e6fea33ba41c7f76ee50295329b4ef27b879a7fa | [
"MIT"
] | null | null | null | reversible2/distribution.py | robintibor/reversible2 | e6fea33ba41c7f76ee50295329b4ef27b879a7fa | [
"MIT"
] | null | null | null | import torch as th
from reversible2.gaussian import get_gauss_samples
import torch.nn.functional as F
class TwoClassDist(object):
def __init__(self, n_class_dims, n_non_class_dims, i_class_inds, truncate_to=3):
super(TwoClassDist, self).__init__()
self.class_means = th.zeros(n_class_dims, requires... | 39.427586 | 89 | 0.650341 | 866 | 5,717 | 3.900693 | 0.08776 | 0.110124 | 0.071048 | 0.056838 | 0.880699 | 0.833037 | 0.804026 | 0.726169 | 0.673179 | 0.622558 | 0 | 0.007211 | 0.248032 | 5,717 | 144 | 90 | 39.701389 | 0.778553 | 0 | 0 | 0.471545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.154472 | false | 0 | 0.02439 | 0.02439 | 0.317073 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f606a9f839b318a8bb089bf46410cb9dd7e84ecb | 155 | py | Python | onwebchange/__init__.py | ClericPy/OnWebChange | af12ec80582f7368aa2f4e707b49e7430632af42 | [
"MIT"
] | null | null | null | onwebchange/__init__.py | ClericPy/OnWebChange | af12ec80582f7368aa2f4e707b49e7430632af42 | [
"MIT"
] | 5 | 2019-09-08T16:47:37.000Z | 2020-02-06T15:34:18.000Z | onwebchange/__init__.py | ClericPy/OnWebChange | af12ec80582f7368aa2f4e707b49e7430632af42 | [
"MIT"
] | null | null | null | #! coding: utf-8
from .core import WatchdogCage, WatchdogTask, WebHandler
__version__ = '0.3.4'
__all__ = ['WatchdogCage', 'WatchdogTask', 'WebHandler']
| 22.142857 | 56 | 0.729032 | 17 | 155 | 6.176471 | 0.823529 | 0.457143 | 0.647619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.122581 | 155 | 6 | 57 | 25.833333 | 0.742647 | 0.096774 | 0 | 0 | 0 | 0 | 0.280576 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f644537b6e546a2020aa4b7f9b60d43cbb0d0df1 | 632 | py | Python | OnshoreBattlebot2018/Controllers/__init__.py | roy-love/BattleCode2018-ReferenceBot | c017cf804728dd1555ab6a60acdd2a6f7a929281 | [
"MIT"
] | null | null | null | OnshoreBattlebot2018/Controllers/__init__.py | roy-love/BattleCode2018-ReferenceBot | c017cf804728dd1555ab6a60acdd2a6f7a929281 | [
"MIT"
] | null | null | null | OnshoreBattlebot2018/Controllers/__init__.py | roy-love/BattleCode2018-ReferenceBot | c017cf804728dd1555ab6a60acdd2a6f7a929281 | [
"MIT"
] | null | null | null | from Controllers.BuildController import BuildController
from Controllers.CommunicationController import CommunicationController
from Controllers.EnemyTrackingController import EnemyTrackingController
from Controllers.MapController import MapController
from Controllers.PathfindingController import PathfindingController
... | 57.454545 | 71 | 0.920886 | 50 | 632 | 11.64 | 0.26 | 0.257732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063291 | 632 | 10 | 72 | 63.2 | 0.983108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f65d41308aed99f15b52247bd4e97b9eb05b11c2 | 122 | py | Python | xl_tensorflow/metrics/detection.py | Lannister-Xiaolin/xl_tensorflow | 99e0f458769ee1e45ebf55c789961e40f7d2eeac | [
"Apache-2.0"
] | null | null | null | xl_tensorflow/metrics/detection.py | Lannister-Xiaolin/xl_tensorflow | 99e0f458769ee1e45ebf55c789961e40f7d2eeac | [
"Apache-2.0"
] | 1 | 2020-11-13T18:52:23.000Z | 2020-11-13T18:52:23.000Z | xl_tensorflow/metrics/detection.py | Lannister-Xiaolin/xl_tensorflow | 99e0f458769ee1e45ebf55c789961e40f7d2eeac | [
"Apache-2.0"
] | null | null | null | #!usr/bin/env python3
# -*- coding: UTF-8 -*-
from .rafaelpadilla.Evaluator import Evaluator,BoundingBoxes,BoundingBox
| 17.428571 | 72 | 0.745902 | 14 | 122 | 6.5 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.114754 | 122 | 6 | 73 | 20.333333 | 0.824074 | 0.344262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f65e47ab78876208a7ef3fc2fbd0ef3aa071fd57 | 19,177 | py | Python | BAUM.py | praveenbaim/B-AIM | 5269cfc9a690fb7d9c5609f27c1ce67b0c886aac | [
"Unlicense"
] | 1 | 2021-01-29T07:14:34.000Z | 2021-01-29T07:14:34.000Z | BAUM.py | praveenbaim/B-AIM | 5269cfc9a690fb7d9c5609f27c1ce67b0c886aac | [
"Unlicense"
] | null | null | null | BAUM.py | praveenbaim/B-AIM | 5269cfc9a690fb7d9c5609f27c1ce67b0c886aac | [
"Unlicense"
] | null | null | null | # mantra
print("mantra")
#BAUMBAUMBHOLE
print("BAUMBAUMBHOLE")
#start
print("start")
import math
import facebook
# TIME(creation+preservance+destruction+love+wealth+knowledge=0) code to write its own code repeats here when the individual stages with the 1.xls phases of 198 steps to learn itself the next step
... | 19.488821 | 197 | 0.673046 | 2,626 | 19,177 | 4.868241 | 0.155369 | 0.015645 | 0.02112 | 0.013767 | 0.709168 | 0.701502 | 0.701502 | 0.69368 | 0.69368 | 0.69368 | 0 | 0.027729 | 0.163164 | 19,177 | 983 | 198 | 19.508647 | 0.768881 | 0.263806 | 0 | 0.794521 | 0 | 0 | 0.415787 | 0.002521 | 0 | 0 | 0 | 0.001017 | 0 | 1 | 0 | false | 0.001957 | 0.007828 | 0 | 0.007828 | 0.812133 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
9c85978b13d95120915d356ea0dfd1e037f89dec | 100 | py | Python | positions/examples/ci_settings_postgres.py | Elec/django-positions | 1ee904ccfc82679d630cbab4358c5d6cc763f6df | [
"BSD-3-Clause"
] | 118 | 2015-01-13T20:04:00.000Z | 2022-03-22T17:27:05.000Z | positions/examples/ci_settings_postgres.py | Elec/django-positions | 1ee904ccfc82679d630cbab4358c5d6cc763f6df | [
"BSD-3-Clause"
] | 28 | 2015-02-11T22:14:52.000Z | 2021-06-10T17:29:38.000Z | positions/examples/ci_settings_postgres.py | elec/django-positions | 1ee904ccfc82679d630cbab4358c5d6cc763f6df | [
"BSD-3-Clause"
] | 48 | 2015-01-19T15:54:09.000Z | 2022-03-07T02:58:55.000Z | from .settings_postgres import *
DATABASES['default'].update({'USER': 'postgres', 'PASSWORD': ''})
| 25 | 65 | 0.69 | 10 | 100 | 6.8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09 | 100 | 3 | 66 | 33.333333 | 0.747253 | 0 | 0 | 0 | 0 | 0 | 0.27 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
9c92d28196a805d20a4e7df03fcc9494d36778ad | 56 | py | Python | panopticon/fifemon-condor-probe/fifemon/__init__.py | opensciencegrid/open-pool-display | ff78368a1f747076602466a2a22ab15c76d4da43 | [
"Apache-2.0"
] | 8 | 2016-05-19T20:45:09.000Z | 2019-05-23T15:31:13.000Z | panopticon/fifemon-condor-probe/fifemon/__init__.py | opensciencegrid/open-pool-display | ff78368a1f747076602466a2a22ab15c76d4da43 | [
"Apache-2.0"
] | 12 | 2022-01-19T22:39:32.000Z | 2022-03-22T18:47:20.000Z | panopticon/fifemon-condor-probe/fifemon/__init__.py | opensciencegrid/open-pool-display | ff78368a1f747076602466a2a22ab15c76d4da43 | [
"Apache-2.0"
] | 8 | 2022-01-18T23:27:43.000Z | 2022-02-28T21:56:26.000Z | from .probe import Probe
from .graphite import Graphite
| 18.666667 | 30 | 0.821429 | 8 | 56 | 5.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 2 | 31 | 28 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9c96d125c0e26df6795bfc9a37b310c85a40704f | 625 | py | Python | saopy/DUL/__init__.py | CityPulse/CP_Resourcemanagement | aa670fa89d5e086a98ade3ccc152518be55abf2e | [
"MIT"
] | 2 | 2016-11-03T14:57:45.000Z | 2019-05-13T13:21:08.000Z | saopy/DUL/__init__.py | CityPulse/CP_Resourcemanagement | aa670fa89d5e086a98ade3ccc152518be55abf2e | [
"MIT"
] | null | null | null | saopy/DUL/__init__.py | CityPulse/CP_Resourcemanagement | aa670fa89d5e086a98ade3ccc152518be55abf2e | [
"MIT"
] | 1 | 2020-07-23T11:27:15.000Z | 2020-07-23T11:27:15.000Z | import saopy.model
from saopy.model import DUL___DesignedArtifact as DesignedArtifact
from saopy.model import DUL___Event as Event
from saopy.model import DUL___InformationEntity as InformationEntity
from saopy.model import DUL___InformationObject as InformationObject
from saopy.model import DUL___Method as Method
fro... | 44.642857 | 68 | 0.8704 | 91 | 625 | 5.615385 | 0.186813 | 0.234834 | 0.30137 | 0.430528 | 0.495108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1104 | 625 | 13 | 69 | 48.076923 | 0.919065 | 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 | 0 | 0 | 0 | 5 |
9c9d989cde84aba6f75c0afd56f61aaaca182ba2 | 133 | py | Python | mmdet/ops/nms/__init__.py | morkovka1337/mmdetection | 5187d94b6c96084b17817249622d6e4520213ae6 | [
"Apache-2.0"
] | 58 | 2020-09-21T08:17:26.000Z | 2022-03-31T19:38:14.000Z | mmdet/ops/nms/__init__.py | morkovka1337/mmdetection | 5187d94b6c96084b17817249622d6e4520213ae6 | [
"Apache-2.0"
] | 170 | 2020-09-08T12:29:06.000Z | 2022-03-31T18:28:09.000Z | mmdet/ops/nms/__init__.py | morkovka1337/mmdetection | 5187d94b6c96084b17817249622d6e4520213ae6 | [
"Apache-2.0"
] | 21 | 2020-10-06T13:49:41.000Z | 2022-03-30T14:52:45.000Z | # Copyright (C) 2020-2021 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
from .nms_wrapper import nms, batched_nms, NMSop
| 26.6 | 48 | 0.774436 | 20 | 133 | 5.05 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08547 | 0.120301 | 133 | 4 | 49 | 33.25 | 0.777778 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9cdefab39a05dd0175512bb650e79319b14ae506 | 186 | py | Python | awdd/json_writer.py | rickmark/awdd_decode | d53e0eb52b9b5aabe11b30fd2fa4e403e3c08fd0 | [
"MIT"
] | 3 | 2021-10-02T17:59:13.000Z | 2022-01-12T20:25:55.000Z | awdd/json_writer.py | rickmark/awdd_decode | d53e0eb52b9b5aabe11b30fd2fa4e403e3c08fd0 | [
"MIT"
] | null | null | null | awdd/json_writer.py | rickmark/awdd_decode | d53e0eb52b9b5aabe11b30fd2fa4e403e3c08fd0 | [
"MIT"
] | 1 | 2022-03-25T19:14:05.000Z | 2022-03-25T19:14:05.000Z | from . import WriterBase
from .object import *
from io import IOBase
class JsonWriter(WriterBase):
def write_to(self, value: DiagnosticObject, stream: IOBase) -> None:
pass | 23.25 | 72 | 0.725806 | 23 | 186 | 5.826087 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 186 | 8 | 73 | 23.25 | 0.893333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.5 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
9cf99846ffb943106017680308b45e856eebf63f | 3,777 | py | Python | simplechinese/representation.py | chenmingxiang110/SimpleChinese2 | 91f90672f25daadbfccd2ab22f026a65889705af | [
"MIT"
] | 78 | 2021-06-21T02:28:14.000Z | 2022-03-18T13:35:16.000Z | simplechinese/representation.py | chenmingxiang110/SimpleChinese | 4562fd4bcb0e6922904715f5214f141e92db90e5 | [
"MIT"
] | 3 | 2021-06-30T11:03:58.000Z | 2021-09-09T10:39:27.000Z | simplechinese/representation.py | chenmingxiang110/SimpleChinese2 | 91f90672f25daadbfccd2ab22f026a65889705af | [
"MIT"
] | 24 | 2021-06-21T02:30:49.000Z | 2021-08-23T09:49:03.000Z | import numpy as np
import pandas as pd
from .nlp import extract_words
from sklearn.feature_extraction.text import TfidfVectorizer, CountVectorizer
from sklearn.decomposition import PCA, NMF
from sklearn.cluster import KMeans, DBSCAN, MeanShift
import jieba
jieba.setLogLevel(60)
def pca(x, n_components=2):
"""
... | 34.336364 | 138 | 0.647074 | 508 | 3,777 | 4.720472 | 0.244094 | 0.033361 | 0.066722 | 0.076731 | 0.742285 | 0.742285 | 0.724771 | 0.724771 | 0.724771 | 0.65638 | 0 | 0.011586 | 0.268732 | 3,777 | 109 | 139 | 34.651376 | 0.856626 | 0.393963 | 0 | 0.409091 | 0 | 0 | 0.091337 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.159091 | 0 | 0.386364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1426ddaa4bbd36738aacef6f4f0ee634b6cc8737 | 419 | py | Python | challenges/quicksort/test_quicksort.py | jayadams011/data-structures-and-algorithms | b9a49c65ca769c82b2a34d840bd1e4dd626be025 | [
"MIT"
] | null | null | null | challenges/quicksort/test_quicksort.py | jayadams011/data-structures-and-algorithms | b9a49c65ca769c82b2a34d840bd1e4dd626be025 | [
"MIT"
] | 4 | 2018-03-22T16:56:06.000Z | 2018-03-28T23:30:29.000Z | challenges/quicksort/test_quicksort.py | jayadams011/data-structures-and-algorithms | b9a49c65ca769c82b2a34d840bd1e4dd626be025 | [
"MIT"
] | null | null | null | """Test and test imports."""
from .quicksort import quicksort
import pytest
def test_empty_quick_sort():
"""Test empty quick sort."""
assert quicksort([]) == ([])
def test_small_quick_sort():
"""Test small quick sort."""
assert quicksort([2, 3, 1]) == ([1, 2, 3])
def test_large_quick_sort():
"... | 22.052632 | 70 | 0.613365 | 59 | 419 | 4.20339 | 0.372881 | 0.217742 | 0.157258 | 0.290323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083086 | 0.195704 | 419 | 18 | 71 | 23.277778 | 0.652819 | 0.217184 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.375 | true | 0 | 0.25 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
145f729a8b36b2cdea29781ceb79dae47b08e7b8 | 149 | py | Python | driver_logbook/app/users/__init__.py | solloc/driver-logbook | 466d48c11d9722b042191f4ddcca6c680b5f47fe | [
"MIT"
] | null | null | null | driver_logbook/app/users/__init__.py | solloc/driver-logbook | 466d48c11d9722b042191f4ddcca6c680b5f47fe | [
"MIT"
] | 20 | 2019-03-24T17:56:05.000Z | 2020-06-04T17:50:55.000Z | driver_logbook/app/users/__init__.py | solloc/driver-logbook | 466d48c11d9722b042191f4ddcca6c680b5f47fe | [
"MIT"
] | null | null | null | from flask import Blueprint
bp = Blueprint('users', __name__, url_prefix='/users')
from driver_logbook.app.users import routes # noqa: E402, F401
| 24.833333 | 63 | 0.758389 | 21 | 149 | 5.095238 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 0.134228 | 149 | 5 | 64 | 29.8 | 0.782946 | 0.107383 | 0 | 0 | 0 | 0 | 0.083969 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 5 |
14674695fff0c74c2eec1a69050ffd5c7041e7ff | 132 | py | Python | BERT/model/__init__.py | FDChongLi/TwoWaysToImproveCSC | 488d8d3e94a57c9f93679370e17cc561131883cc | [
"MIT"
] | 50 | 2021-06-04T13:11:23.000Z | 2022-03-25T09:15:00.000Z | BERT/model/__init__.py | FDChongLi/TwoWaysToImproveCSC | 488d8d3e94a57c9f93679370e17cc561131883cc | [
"MIT"
] | 8 | 2021-06-17T09:06:38.000Z | 2022-01-28T07:21:30.000Z | BERT/model/__init__.py | FDChongLi/TwoWaysToImproveCSC | 488d8d3e94a57c9f93679370e17cc561131883cc | [
"MIT"
] | 11 | 2021-06-11T08:41:50.000Z | 2022-03-01T06:43:22.000Z | from .dataset import BertDataset,construct
from .BertFineTune import BertFineTune
from .AdGen import BFTLogitGen,readAllConfusionSet | 44 | 50 | 0.878788 | 14 | 132 | 8.285714 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 132 | 3 | 50 | 44 | 0.958678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1496d72d5c3304fda087067b240900a56db3abc5 | 112 | py | Python | djstripe/contrib/__init__.py | hoopit/dj-stripe | 726853081cd95be86777492c23fb61de5d35a72a | [
"MIT"
] | 2 | 2020-09-01T20:05:28.000Z | 2021-07-22T08:20:42.000Z | djstripe/contrib/__init__.py | hoopit/dj-stripe | 726853081cd95be86777492c23fb61de5d35a72a | [
"MIT"
] | 1 | 2021-02-24T15:01:41.000Z | 2021-03-25T20:44:53.000Z | djstripe/contrib/__init__.py | hoopit/dj-stripe | 726853081cd95be86777492c23fb61de5d35a72a | [
"MIT"
] | 2 | 2020-01-31T14:26:09.000Z | 2020-07-14T04:24:15.000Z | """
.. module:: dj-stripe.contrib.
:synopsis: Extra modules not pertaining to core logic of dj-stripe.
"""
| 18.666667 | 71 | 0.669643 | 15 | 112 | 5 | 0.866667 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 112 | 5 | 72 | 22.4 | 0.815217 | 0.919643 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
14b922b57e69d204a3fc4aa954fba22264105fe4 | 182 | py | Python | engine/__init__.py | KelOdgSmile/ml-cvnets | 503ec3b4ec187cfa0ed451d0f61de22f669b0081 | [
"AML"
] | 1 | 2021-12-20T09:25:18.000Z | 2021-12-20T09:25:18.000Z | engine/__init__.py | footh/ml-cvnets | d9064fe7e7a2d6a7a9817df936432856a0500a25 | [
"AML"
] | null | null | null | engine/__init__.py | footh/ml-cvnets | d9064fe7e7a2d6a7a9817df936432856a0500a25 | [
"AML"
] | null | null | null | #
# For licensing see accompanying LICENSE file.
# Copyright (C) 2020 Apple Inc. All Rights Reserved.
#
from .training_engine import Trainer
from .evaluation_engine import Evaluator | 26 | 52 | 0.796703 | 24 | 182 | 5.958333 | 0.875 | 0.167832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.142857 | 182 | 7 | 53 | 26 | 0.891026 | 0.521978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
14bf0695cc1566c0ab41862b46716cfaf0878e18 | 42 | py | Python | tests/__init__.py | afraniofilho/covid_vision | b633c255030ff9dcb00523e377c0e1ef6771ca50 | [
"MIT"
] | 2 | 2020-05-11T14:22:17.000Z | 2020-06-25T02:12:20.000Z | tests/__init__.py | afraniofilho/covid_vision | b633c255030ff9dcb00523e377c0e1ef6771ca50 | [
"MIT"
] | 6 | 2020-11-13T18:50:31.000Z | 2022-03-12T00:31:29.000Z | tests/__init__.py | afraniofilho/covid_vision | b633c255030ff9dcb00523e377c0e1ef6771ca50 | [
"MIT"
] | 3 | 2020-05-12T21:47:33.000Z | 2020-07-10T07:30:28.000Z | """Unit test package for covid_vision."""
| 21 | 41 | 0.714286 | 6 | 42 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 1 | 42 | 42 | 0.783784 | 0.833333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1af9125d99e3f74dc4339a22b2da726ad6cb8c35 | 183 | py | Python | Command.py | mucsci-students/2021sp-420-team1 | b3cedc9bd1ac185d703a3e8a754601239abf91fc | [
"MIT"
] | 2 | 2021-02-02T21:53:57.000Z | 2021-02-09T02:48:38.000Z | Command.py | mucsci-students/2021sp-420-team1 | b3cedc9bd1ac185d703a3e8a754601239abf91fc | [
"MIT"
] | 94 | 2021-02-02T21:44:00.000Z | 2021-05-03T03:09:26.000Z | Command.py | mucsci-students/2021sp-420-team1 | b3cedc9bd1ac185d703a3e8a754601239abf91fc | [
"MIT"
] | null | null | null | class Command:
def __init__(self, function, *args):
self.function = function
self.args = list(args)
def execute(self):
self.function(*self.args)
| 26.142857 | 41 | 0.595628 | 21 | 183 | 5 | 0.428571 | 0.342857 | 0.304762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.289617 | 183 | 6 | 42 | 30.5 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
21029a0ea7fc54328578c835da55a3fbeb88a820 | 107 | py | Python | {{cookiecutter.project_slug}}/src/{{cookiecutter.package_name}}/__init__.py | miguelarbesu/cookiecutter-reproducible-science | f25f136c9baaa80d0eafdcec97e86f7344f05840 | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.project_slug}}/src/{{cookiecutter.package_name}}/__init__.py | miguelarbesu/cookiecutter-reproducible-science | f25f136c9baaa80d0eafdcec97e86f7344f05840 | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.project_slug}}/src/{{cookiecutter.package_name}}/__init__.py | miguelarbesu/cookiecutter-reproducible-science | f25f136c9baaa80d0eafdcec97e86f7344f05840 | [
"BSD-3-Clause"
] | null | null | null | """{{cookiecutter.project_name}}
{{cookiecutter.short_description}}
"""
from ._version import __version__
| 17.833333 | 34 | 0.766355 | 10 | 107 | 7.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074766 | 107 | 5 | 35 | 21.4 | 0.757576 | 0.598131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
21699b805fefbcb30a0912dd591950ea7f4257c1 | 97 | py | Python | dirutility/walk/__init__.py | DeeeFOX/dirutility | 92317992c8bd2a3feffea7f204e8573a4dea8fd1 | [
"MIT"
] | 2 | 2018-07-27T18:34:10.000Z | 2018-10-09T21:40:34.000Z | dirutility/walk/__init__.py | mrstephenneal/dirutility | c51b4c3bd543da8bb69e496d0c3ec8333897042c | [
"MIT"
] | 7 | 2018-07-27T17:29:36.000Z | 2018-10-01T13:29:52.000Z | dirutility/walk/__init__.py | mrstephenneal/dirutility | c51b4c3bd543da8bb69e496d0c3ec8333897042c | [
"MIT"
] | 1 | 2019-09-26T13:04:04.000Z | 2019-09-26T13:04:04.000Z | __all__ = ['DirPaths', 'DirTree', 'gui']
from dirutility.walk.walk import DirPaths, DirTree, gui | 32.333333 | 55 | 0.731959 | 12 | 97 | 5.583333 | 0.666667 | 0.447761 | 0.537313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 97 | 3 | 55 | 32.333333 | 0.77907 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
dcf8cd3439021fd6e4dbcf2b897da09154ac2f30 | 74 | py | Python | stonks/__init__.py | jlowe77/Eris-Cogs | 2ade8f82db3477527af3cff3b48ebb281e1a6987 | [
"Apache-2.0"
] | 6 | 2020-05-13T20:43:53.000Z | 2021-06-23T16:10:13.000Z | stonks/__init__.py | jlowe77/Eris-Cogs | 2ade8f82db3477527af3cff3b48ebb281e1a6987 | [
"Apache-2.0"
] | 12 | 2019-04-02T13:29:10.000Z | 2020-03-27T18:07:16.000Z | stonks/__init__.py | jlowe77/Eris-Cogs | 2ade8f82db3477527af3cff3b48ebb281e1a6987 | [
"Apache-2.0"
] | 9 | 2020-06-07T21:46:54.000Z | 2022-03-01T22:49:02.000Z | from .stonks import Stonks
def setup(bot):
bot.add_cog(Stonks(bot))
| 12.333333 | 28 | 0.702703 | 12 | 74 | 4.25 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175676 | 74 | 5 | 29 | 14.8 | 0.836066 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b4a870e4e2dfd5b019b036004693a326b91bd6d7 | 48 | py | Python | coregen/exceptions.py | coregen/coregen | afd3e33f9a6d90504768fac2cfcbdf9752f3a125 | [
"MIT"
] | null | null | null | coregen/exceptions.py | coregen/coregen | afd3e33f9a6d90504768fac2cfcbdf9752f3a125 | [
"MIT"
] | 3 | 2020-03-24T18:11:23.000Z | 2021-02-02T22:26:31.000Z | coregen/exceptions.py | coregen/coregen | afd3e33f9a6d90504768fac2cfcbdf9752f3a125 | [
"MIT"
] | null | null | null | class ReadOnlyModification(Exception):
pass
| 16 | 38 | 0.791667 | 4 | 48 | 9.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 2 | 39 | 24 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
b4b797ad81987171badb6ffbf44c41e7bc818f39 | 2,949 | py | Python | transformer/source/source_formatter.py | SimpleConstructs/fixed-width-parser | b9bb4953e66dcea2b6ce3aeb2fed58a3f34a784b | [
"Apache-2.0"
] | null | null | null | transformer/source/source_formatter.py | SimpleConstructs/fixed-width-parser | b9bb4953e66dcea2b6ce3aeb2fed58a3f34a784b | [
"Apache-2.0"
] | 3 | 2021-07-18T14:34:38.000Z | 2021-07-25T12:49:09.000Z | transformer/source/source_formatter.py | SimpleConstructs/fixed-width-transformer | b9bb4953e66dcea2b6ce3aeb2fed58a3f34a784b | [
"Apache-2.0"
] | null | null | null | from transformer.library import logger
from transformer.library.exceptions import SourceFileError
from transformer.source import SourceFormatterConfig
from io import StringIO
import pandas as pd
log = logger.set_logger(__name__)
class AbstractDataMapper:
def run(self, config: SourceFormatterConfig, file_name: st... | 44.014925 | 100 | 0.60156 | 318 | 2,949 | 5.490566 | 0.216981 | 0.077892 | 0.068729 | 0.080183 | 0.772623 | 0.772623 | 0.772623 | 0.772623 | 0.772623 | 0.772623 | 0 | 0.004442 | 0.312987 | 2,949 | 67 | 101 | 44.014925 | 0.857354 | 0 | 0 | 0.571429 | 0 | 0 | 0.05322 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.089286 | false | 0.017857 | 0.089286 | 0 | 0.339286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b4cdca63b483c0cd06121f8bbc53151a8081b512 | 330 | py | Python | winnow/config/__init__.py | benetech/Winnow2.0 | bc428d7f74bd7db71b6d70ab15dc7a5c37786c46 | [
"MIT"
] | 26 | 2019-12-16T21:22:14.000Z | 2022-03-25T16:05:32.000Z | winnow/config/__init__.py | benetech/Winnow2.0 | bc428d7f74bd7db71b6d70ab15dc7a5c37786c46 | [
"MIT"
] | 325 | 2019-10-28T16:24:45.000Z | 2022-03-31T13:12:15.000Z | winnow/config/__init__.py | benetech/Winnow2.0 | bc428d7f74bd7db71b6d70ab15dc7a5c37786c46 | [
"MIT"
] | 9 | 2019-10-09T16:20:38.000Z | 2021-12-22T18:44:45.000Z | from .config import Config, ProcessingConfig, DatabaseConfig, RepresentationConfig, SourcesConfig, TemplatesConfig
# Explicitly reexport api
# See discussion in https://bugs.launchpad.net/pyflakes/+bug/1178905
__all__ = ["Config", "ProcessingConfig", "DatabaseConfig", "RepresentationConfig", "SourcesConfig", "Template... | 55 | 118 | 0.806061 | 29 | 330 | 9.034483 | 0.758621 | 0.167939 | 0.274809 | 0.427481 | 0.641221 | 0.641221 | 0 | 0 | 0 | 0 | 0 | 0.023102 | 0.081818 | 330 | 5 | 119 | 66 | 0.841584 | 0.272727 | 0 | 0 | 0 | 0 | 0.35443 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b4da341a0f524cb15d0fcebf5f537593a74ff209 | 152 | py | Python | expense_tracker/expense_tracker/views/__init__.py | morganelle/expense-tracker | b5b0b85d87bff4eb453b6d779f28b84e8ce1ddcc | [
"MIT"
] | null | null | null | expense_tracker/expense_tracker/views/__init__.py | morganelle/expense-tracker | b5b0b85d87bff4eb453b6d779f28b84e8ce1ddcc | [
"MIT"
] | null | null | null | expense_tracker/expense_tracker/views/__init__.py | morganelle/expense-tracker | b5b0b85d87bff4eb453b6d779f28b84e8ce1ddcc | [
"MIT"
] | null | null | null | from .default import home_page
def includeme(config):
"""List of views to include for config."""
config.add_view(home_page, route_name='home') | 25.333333 | 49 | 0.723684 | 23 | 152 | 4.608696 | 0.782609 | 0.150943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 152 | 6 | 49 | 25.333333 | 0.828125 | 0.236842 | 0 | 0 | 0 | 0 | 0.036036 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2ec3d0f9022701fa40d960da9428dcab2eec08c3 | 1,357 | py | Python | src/stronghold/rosalind_seto.py | cowboysmall/rosalind | 021e4392a8fc946b97bbf86bbb8227b28bb5e462 | [
"MIT"
] | null | null | null | src/stronghold/rosalind_seto.py | cowboysmall/rosalind | 021e4392a8fc946b97bbf86bbb8227b28bb5e462 | [
"MIT"
] | null | null | null | src/stronghold/rosalind_seto.py | cowboysmall/rosalind | 021e4392a8fc946b97bbf86bbb8227b28bb5e462 | [
"MIT"
] | null | null | null | import os
import sys
sys.path.append(os.path.join(os.path.dirname(__file__), '../tools'))
'''
alternative implementation:
U = set(i for i in xrange(1, int(file.readline().strip()) + 1))
set1 = set(int(item) for item in file.readline().strip()[1:-1].split(', '))
set2 = set(int(item) for item in fil... | 34.794872 | 79 | 0.53353 | 192 | 1,357 | 3.708333 | 0.197917 | 0.101124 | 0.168539 | 0.151685 | 0.77809 | 0.724719 | 0.724719 | 0.724719 | 0.675562 | 0.641854 | 0 | 0.03626 | 0.227708 | 1,357 | 38 | 80 | 35.710526 | 0.64313 | 0 | 0 | 0 | 0 | 0 | 0.083582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.125 | null | null | 0.375 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2edd365129dd4028fad298f9cdf273cea2a57931 | 1,510 | py | Python | tests/classes/simple_code.py | Jesse-Yung/jsonclasses | d40c52aec42bcb978a80ceb98b93ab38134dc790 | [
"MIT"
] | 50 | 2021-08-18T08:08:04.000Z | 2022-03-20T07:23:26.000Z | tests/classes/simple_code.py | Jesse-Yung/jsonclasses | d40c52aec42bcb978a80ceb98b93ab38134dc790 | [
"MIT"
] | 1 | 2021-11-23T02:12:29.000Z | 2021-11-23T13:35:26.000Z | tests/classes/simple_code.py | Jesse-Yung/jsonclasses | d40c52aec42bcb978a80ceb98b93ab38134dc790 | [
"MIT"
] | 8 | 2021-07-01T02:39:15.000Z | 2021-12-10T02:20:18.000Z | from __future__ import annotations
from typing import Optional
from jsonclasses import jsonclass, types
@jsonclass
class SimpleCode:
code: Optional[str] = types.str.length(4)
min_code: Optional[str] = types.str.minlength(4)
max_code: Optional[str] = types.str.maxlength(8)
l_code: Optional[list[int]] ... | 44.411765 | 88 | 0.715232 | 231 | 1,510 | 4.532468 | 0.151515 | 0.229226 | 0.157593 | 0.210124 | 0.746896 | 0.746896 | 0.719198 | 0.518625 | 0.338109 | 0 | 0 | 0.017477 | 0.128477 | 1,510 | 33 | 89 | 45.757576 | 0.778116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.12 | 0 | 0.96 | 0 | 0 | 0 | 0 | null | 1 | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d316dd34344fda00b5c0b1835717cb2e54ed3cb3 | 71 | py | Python | tests/package_with_increments/module.py | borzunov/plusplus | e862cef91f1d25cba63b0a15159f7a356a6e9291 | [
"MIT"
] | 88 | 2021-09-12T16:44:15.000Z | 2022-03-23T08:08:39.000Z | tests/package_with_increments/module.py | borzunov/plusplus | e862cef91f1d25cba63b0a15159f7a356a6e9291 | [
"MIT"
] | null | null | null | tests/package_with_increments/module.py | borzunov/plusplus | e862cef91f1d25cba63b0a15159f7a356a6e9291 | [
"MIT"
] | 4 | 2021-09-16T05:24:22.000Z | 2021-09-25T05:54:45.000Z | def increment_and_return(x):
return ++x
CONSTANT = 777
++CONSTANT | 11.833333 | 28 | 0.704225 | 10 | 71 | 4.8 | 0.7 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051724 | 0.183099 | 71 | 6 | 29 | 11.833333 | 0.775862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
d379d3a2ade89ad9c4a1014e0282170eee584917 | 143 | py | Python | app/datetime.py | tfuji384/atodeyomu | 8a5e61a593d099726131e060a33b8801056bc286 | [
"MIT"
] | null | null | null | app/datetime.py | tfuji384/atodeyomu | 8a5e61a593d099726131e060a33b8801056bc286 | [
"MIT"
] | null | null | null | app/datetime.py | tfuji384/atodeyomu | 8a5e61a593d099726131e060a33b8801056bc286 | [
"MIT"
] | null | null | null | from datetime import datetime
from pytz import timezone
jst = timezone('Asia/Tokyo')
def now() -> datetime:
return datetime.now(tz=jst)
| 15.888889 | 31 | 0.727273 | 20 | 143 | 5.2 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167832 | 143 | 8 | 32 | 17.875 | 0.87395 | 0 | 0 | 0 | 0 | 0 | 0.06993 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
d397e39178be6cf6746a0c4cf51b3c96c3a928f9 | 381 | py | Python | rlearn/utils/__init__.py | joaopfonseca/research-learn | 7121a5e35c2c422d7c3e4de947123aff1744cdcb | [
"MIT"
] | 1 | 2021-06-18T15:22:11.000Z | 2021-06-18T15:22:11.000Z | rlearn/utils/__init__.py | joaopfonseca/research-learn | 7121a5e35c2c422d7c3e4de947123aff1744cdcb | [
"MIT"
] | 1 | 2021-03-09T11:28:14.000Z | 2021-03-09T11:28:14.000Z | rlearn/utils/__init__.py | joaopfonseca/research-learn | 7121a5e35c2c422d7c3e4de947123aff1744cdcb | [
"MIT"
] | null | null | null | """
The :mod:`rlearn.utils` module includes various utilities.
"""
from .validation import (
check_param_grids,
check_datasets,
check_random_states,
check_estimator_type,
check_oversamplers_classifiers,
)
__all__ = [
'check_param_grids',
'check_datasets',
'check_random_states',
'ch... | 19.05 | 58 | 0.71916 | 40 | 381 | 6.3 | 0.55 | 0.079365 | 0.119048 | 0.15873 | 0.722222 | 0.722222 | 0.722222 | 0.722222 | 0.722222 | 0.722222 | 0 | 0 | 0.181102 | 381 | 19 | 59 | 20.052632 | 0.807692 | 0.152231 | 0 | 0 | 0 | 0 | 0.31746 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6c947f09d79a6ad32bf77eefb2c36f8dd3f8439a | 158,076 | py | Python | Pandas/Pandas.py | jrderek/Data-science-master-resources | 95adab02dccbf5fbe6333389324a1f8d032d3165 | [
"MIT"
] | 14 | 2020-09-17T17:04:04.000Z | 2021-08-19T05:08:49.000Z | Pandas/Pandas.py | jrderek/Data-science-master-resources | 95adab02dccbf5fbe6333389324a1f8d032d3165 | [
"MIT"
] | 85 | 2020-10-01T16:53:21.000Z | 2021-07-08T17:44:17.000Z | Pandas/Pandas.py | jrderek/Data-science-master-resources | 95adab02dccbf5fbe6333389324a1f8d032d3165 | [
"MIT"
] | 5 | 2020-09-18T08:53:01.000Z | 2021-08-19T05:12:52.000Z | {
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Part 2"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
"import pandas as pd\n",
"import numpy as np"
]
},
{
"cell_type": "markdown",
"metadata":... | 36.89916 | 46,840 | 0.513563 | 14,383 | 158,076 | 5.621845 | 0.12334 | 0.042927 | 0.059363 | 0.014618 | 0.379117 | 0.355594 | 0.341248 | 0.326222 | 0.310949 | 0.305656 | 0 | 0.110144 | 0.300621 | 158,076 | 4,283 | 46,841 | 36.907775 | 0.621247 | 0 | 0 | 0.787532 | 0 | 0.004903 | 0.715036 | 0.310003 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.0007 | 0 | 0.0007 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6c9d49b908c5df3035e07d3c483b13e9188d77b7 | 145 | py | Python | streamy/analyzer/cross_reference.py | wallarelvo/streamy | a173bf66da111d176c0a1d37f144374ea0b80e32 | [
"Apache-2.0"
] | 1 | 2015-08-21T23:26:36.000Z | 2015-08-21T23:26:36.000Z | streamy/analyzer/cross_reference.py | wallarelvo/streamy | a173bf66da111d176c0a1d37f144374ea0b80e32 | [
"Apache-2.0"
] | null | null | null | streamy/analyzer/cross_reference.py | wallarelvo/streamy | a173bf66da111d176c0a1d37f144374ea0b80e32 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
class CrossReference(object):
def __init__(self, db):
self.db = db
def check(self, tweet):
pass
| 14.5 | 29 | 0.593103 | 19 | 145 | 4.315789 | 0.736842 | 0.146341 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.282759 | 145 | 9 | 30 | 16.111111 | 0.788462 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
6cab85835a16a5d370724ff624afcd5138307bec | 208 | py | Python | exercicios/exercicio074.py | NicoCassio/cursoemvideo-python | 2686ff74f4d45bdb0dc194f49f4dd19aae629d52 | [
"MIT"
] | null | null | null | exercicios/exercicio074.py | NicoCassio/cursoemvideo-python | 2686ff74f4d45bdb0dc194f49f4dd19aae629d52 | [
"MIT"
] | null | null | null | exercicios/exercicio074.py | NicoCassio/cursoemvideo-python | 2686ff74f4d45bdb0dc194f49f4dd19aae629d52 | [
"MIT"
] | null | null | null | import random
n = (random.randint(1, 10), random.randint(1, 10), random.randint(1, 10), random.randint(1, 10), random.randint(1, 10))
print(n)
print(f'Maior: {sorted(n)[-1]}')
print(f'Menor: {sorted(n)[0]}')
| 34.666667 | 119 | 0.658654 | 37 | 208 | 3.702703 | 0.324324 | 0.474453 | 0.510949 | 0.583942 | 0.583942 | 0.583942 | 0.583942 | 0.583942 | 0.583942 | 0.583942 | 0 | 0.089947 | 0.091346 | 208 | 5 | 120 | 41.6 | 0.634921 | 0 | 0 | 0 | 0 | 0 | 0.206731 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.6 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
6cc208bf4d040b6c5060c4962b16878b3b8edaa0 | 211 | py | Python | module/__init__.py | Goochaozheng/ChunkFusion | 7458a8e08886cc76cfeb87881c51e23b1d0674c3 | [
"MIT"
] | 3 | 2022-03-15T08:34:15.000Z | 2022-03-15T08:40:06.000Z | module/__init__.py | Goochaozheng/ChunkFusion | 7458a8e08886cc76cfeb87881c51e23b1d0674c3 | [
"MIT"
] | null | null | null | module/__init__.py | Goochaozheng/ChunkFusion | 7458a8e08886cc76cfeb87881c51e23b1d0674c3 | [
"MIT"
] | null | null | null | from .chunk import Chunk
from .chunkManager import ChunkManager, constructChunksFromVolume
from .pipeline import Pipeline
from .tsdfIntegrator import TSDFIntegrator
from .fusionIntegrator import FusionIntegrator | 42.2 | 65 | 0.876777 | 21 | 211 | 8.809524 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094787 | 211 | 5 | 66 | 42.2 | 0.968586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9f8da547ea9ccfd1eec5f9d4772695ba8cda36ba | 38 | py | Python | dizoo/minigrid/envs/__init__.py | konnase/DI-engine | f803499cad191e9277b10e194132d74757bcfc8e | [
"Apache-2.0"
] | 2 | 2021-07-30T15:55:45.000Z | 2021-07-30T16:35:10.000Z | dizoo/minigrid/envs/__init__.py | konnase/DI-engine | f803499cad191e9277b10e194132d74757bcfc8e | [
"Apache-2.0"
] | null | null | null | dizoo/minigrid/envs/__init__.py | konnase/DI-engine | f803499cad191e9277b10e194132d74757bcfc8e | [
"Apache-2.0"
] | null | null | null | from .minigrid_env import MiniGridEnv
| 19 | 37 | 0.868421 | 5 | 38 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 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 | 0 | 0 | 0 | 5 |
4ca434cdd519a4fa3f6ae73f37dd8acf42fa09d8 | 110 | py | Python | config.py | itszn/led-dashboard | e5b0a82cba895f2bb79de3489b7f1a65e1864b95 | [
"MIT"
] | 1 | 2018-07-31T02:53:52.000Z | 2018-07-31T02:53:52.000Z | config.py | itszn/led-dashboard | e5b0a82cba895f2bb79de3489b7f1a65e1864b95 | [
"MIT"
] | null | null | null | config.py | itszn/led-dashboard | e5b0a82cba895f2bb79de3489b7f1a65e1864b95 | [
"MIT"
] | null | null | null |
CONFIG_LOCATION = '/home/rgb_user/.config/rgbd/config.json'
LIGHT_CTL = '/home/rgb_user/.local/bin/lightctl'
| 27.5 | 59 | 0.763636 | 17 | 110 | 4.705882 | 0.705882 | 0.175 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063636 | 110 | 3 | 60 | 36.666667 | 0.776699 | 0 | 0 | 0 | 0 | 0 | 0.669725 | 0.669725 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4ce55501804ffbf405bcb1d02055ce11b1e3850e | 2,544 | py | Python | app/service/interfaces/i_rest_svc.py | mihaid-b/caldera | 90af73188a9865757c167efd31cbd87a8e6160b1 | [
"Apache-2.0"
] | 3,385 | 2017-11-29T02:08:31.000Z | 2022-03-31T13:38:11.000Z | app/service/interfaces/i_rest_svc.py | mihaid-b/caldera | 90af73188a9865757c167efd31cbd87a8e6160b1 | [
"Apache-2.0"
] | 1,283 | 2017-11-29T16:45:31.000Z | 2022-03-31T20:10:04.000Z | app/service/interfaces/i_rest_svc.py | mihaid-b/caldera | 90af73188a9865757c167efd31cbd87a8e6160b1 | [
"Apache-2.0"
] | 800 | 2017-11-29T17:48:43.000Z | 2022-03-30T22:39:40.000Z | import abc
class RestServiceInterface(abc.ABC):
@abc.abstractmethod
def persist_adversary(self, access, data):
"""
Save a new adversary from either the GUI or REST API. This writes a new YML file into the core data/ directory.
:param access
:param data:
:return: the ID... | 21.74359 | 119 | 0.637972 | 296 | 2,544 | 5.344595 | 0.27027 | 0.268647 | 0.316056 | 0.364096 | 0.579646 | 0.458281 | 0.404551 | 0.082174 | 0.082174 | 0.082174 | 0 | 0 | 0.28695 | 2,544 | 116 | 120 | 21.931034 | 0.872106 | 0.139544 | 0 | 0.649351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.324675 | false | 0.324675 | 0.012987 | 0 | 0.350649 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
4ceb26036819c2bb77eb3521cfbe455bb414498c | 188 | py | Python | Modulo4/scripts/pandas/lectura.py | Flor246/PythonFlor | 6481e258286bdb939e42190363cdd6d3bb70c00d | [
"Apache-2.0"
] | null | null | null | Modulo4/scripts/pandas/lectura.py | Flor246/PythonFlor | 6481e258286bdb939e42190363cdd6d3bb70c00d | [
"Apache-2.0"
] | null | null | null | Modulo4/scripts/pandas/lectura.py | Flor246/PythonFlor | 6481e258286bdb939e42190363cdd6d3bb70c00d | [
"Apache-2.0"
] | null | null | null | import pandas as pd
# 1. Leer fuentes de informacion 'csv','excel', 'sql','json','etc'
# 2. Procesamiento
# 3. Obtengo un resultado -> 'guardo un archivo' 'excel', 'sql', 'csv', 'etc' | 20.888889 | 77 | 0.643617 | 27 | 188 | 4.481481 | 0.814815 | 0.132231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.170213 | 188 | 9 | 77 | 20.888889 | 0.75641 | 0.835106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4cfc93c855a879bdfd9109df075297cf07a881c4 | 3,261 | py | Python | tests/test_ring_random.py | senk8/crypto-math | 91c7b02a28e91190089b0213065498ce3c6b2e18 | [
"MIT"
] | 1 | 2022-01-01T07:48:29.000Z | 2022-01-01T07:48:29.000Z | tests/test_ring_random.py | senk8/crypto-math | 91c7b02a28e91190089b0213065498ce3c6b2e18 | [
"MIT"
] | null | null | null | tests/test_ring_random.py | senk8/crypto-math | 91c7b02a28e91190089b0213065498ce3c6b2e18 | [
"MIT"
] | null | null | null | from crypto_math import GF, poly_ring
import pytest
import numpy as np
import random
def r_setup(p):
F = GF(p)
R = poly_ring(F)
return R
@pytest.mark.parametrize(
"p",
[
2,
3,
5,
7,
11,
101,
257,
65537,
],
)
def test_add_random(... | 21.885906 | 83 | 0.443116 | 487 | 3,261 | 2.874743 | 0.141684 | 0.036429 | 0.092857 | 0.105 | 0.780714 | 0.779286 | 0.767857 | 0.740714 | 0.703571 | 0.697857 | 0 | 0.133168 | 0.380558 | 3,261 | 148 | 84 | 22.033784 | 0.559901 | 0 | 0 | 0.589147 | 0 | 0 | 0.003987 | 0 | 0 | 0 | 0 | 0 | 0.054264 | 1 | 0.046512 | false | 0 | 0.031008 | 0 | 0.085271 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
98041a99b10b65d86e7c08350dd32f0ec07d5d05 | 133 | py | Python | factoriocalc/__main__.py | ekimekim/factoriocalc | 18583ee0ea16a12c061b272db68469edee86606d | [
"MIT"
] | 23 | 2017-12-09T05:35:10.000Z | 2022-02-08T06:05:10.000Z | factoriocalc/__main__.py | ekimekim/factoriocalc | 18583ee0ea16a12c061b272db68469edee86606d | [
"MIT"
] | 2 | 2021-02-17T09:27:01.000Z | 2021-02-19T00:39:23.000Z | factoriocalc/__main__.py | ekimekim/factoriocalc | 18583ee0ea16a12c061b272db68469edee86606d | [
"MIT"
] | 1 | 2021-02-17T01:18:18.000Z | 2021-02-17T01:18:18.000Z | import logging
from factoriocalc.main import main
import argh
logging.basicConfig(level=logging.DEBUG)
argh.dispatch_command(main)
| 16.625 | 40 | 0.842105 | 18 | 133 | 6.166667 | 0.611111 | 0.18018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090226 | 133 | 7 | 41 | 19 | 0.917355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e21c971e3c54dd5e57fee6dda37462e2572720bc | 181 | py | Python | sympy/equation/tests/test_equation.py | mcpl-sympy/sympy | 3cbea35437ebd3d5767ca44f3b1ed6c519970c5b | [
"BSD-3-Clause"
] | null | null | null | sympy/equation/tests/test_equation.py | mcpl-sympy/sympy | 3cbea35437ebd3d5767ca44f3b1ed6c519970c5b | [
"BSD-3-Clause"
] | 3 | 2020-05-24T14:09:45.000Z | 2020-09-27T07:13:08.000Z | sympy/equation/tests/test_equation.py | mcpl-sympy/sympy | 3cbea35437ebd3d5767ca44f3b1ed6c519970c5b | [
"BSD-3-Clause"
] | 2 | 2020-09-22T13:23:08.000Z | 2020-09-25T05:12:28.000Z | from sympy import Eqn, Equation, symbols
x, y = symbols('x y')
def test_Eqn():
assert Eqn(x, y) == Equation(x, y)
assert Eqn(x, y).lhs == x
assert Eqn(x, y).rhs == y
| 18.1 | 40 | 0.585635 | 33 | 181 | 3.181818 | 0.393939 | 0.114286 | 0.285714 | 0.314286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243094 | 181 | 9 | 41 | 20.111111 | 0.766423 | 0 | 0 | 0 | 0 | 0 | 0.016575 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e226ddb55a17e91cfbc94375599200f000759782 | 93 | py | Python | gidtools/gidconfig/__init__.py | Giddius/gidtools_utils | ab0667a0c7b6115df327ebdbd40f290a73f9dbd4 | [
"MIT"
] | null | null | null | gidtools/gidconfig/__init__.py | Giddius/gidtools_utils | ab0667a0c7b6115df327ebdbd40f290a73f9dbd4 | [
"MIT"
] | null | null | null | gidtools/gidconfig/__init__.py | Giddius/gidtools_utils | ab0667a0c7b6115df327ebdbd40f290a73f9dbd4 | [
"MIT"
] | null | null | null | from .classes import *
from .data import *
from .functions import *
from .factories import *
| 18.6 | 24 | 0.741935 | 12 | 93 | 5.75 | 0.5 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172043 | 93 | 4 | 25 | 23.25 | 0.896104 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e25a45cdd57c65bc64e0aeb8922ad962c93ba610 | 29 | py | Python | api/queue/push/__init__.py | sofia008/api-redis-queue | 8d65665c8a9f44990565baa8c7ba43d7f01425d3 | [
"Apache-2.0"
] | null | null | null | api/queue/push/__init__.py | sofia008/api-redis-queue | 8d65665c8a9f44990565baa8c7ba43d7f01425d3 | [
"Apache-2.0"
] | null | null | null | api/queue/push/__init__.py | sofia008/api-redis-queue | 8d65665c8a9f44990565baa8c7ba43d7f01425d3 | [
"Apache-2.0"
] | null | null | null | # api/queue/push/__init__.py
| 14.5 | 28 | 0.758621 | 5 | 29 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 29 | 1 | 29 | 29 | 0.666667 | 0.896552 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e25e236aa2cfbf2410bc7412d9e8584f0f451440 | 378 | py | Python | openapi_genclient/api/__init__.py | nicholasid7/tnk_open_api | 25829e974ef45a925568278c02df701979526a28 | [
"Unlicense"
] | null | null | null | openapi_genclient/api/__init__.py | nicholasid7/tnk_open_api | 25829e974ef45a925568278c02df701979526a28 | [
"Unlicense"
] | null | null | null | openapi_genclient/api/__init__.py | nicholasid7/tnk_open_api | 25829e974ef45a925568278c02df701979526a28 | [
"Unlicense"
] | null | null | null | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from openapi_genclient.api.market_api import MarketApi
from openapi_genclient.api.operations_api import OperationsApi
from openapi_genclient.api.orders_api import OrdersApi
from openapi_genclient.api.portfolio_api import PortfolioApi... | 34.363636 | 62 | 0.873016 | 52 | 378 | 6.057692 | 0.423077 | 0.174603 | 0.31746 | 0.365079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002915 | 0.092593 | 378 | 10 | 63 | 37.8 | 0.915452 | 0.108466 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e265ba34fd41c076542bbface9865f8ab134ac92 | 29 | py | Python | trafficlight_recognizer/nodes/region_tlr_tensorflow/trafficlight_recognizer/__init__.py | astuff/autoware.ai-core_perception | bc00df8d8ab6448b4e8ec7a74c0bb42f8e26565e | [
"Apache-2.0"
] | null | null | null | trafficlight_recognizer/nodes/region_tlr_tensorflow/trafficlight_recognizer/__init__.py | astuff/autoware.ai-core_perception | bc00df8d8ab6448b4e8ec7a74c0bb42f8e26565e | [
"Apache-2.0"
] | null | null | null | trafficlight_recognizer/nodes/region_tlr_tensorflow/trafficlight_recognizer/__init__.py | astuff/autoware.ai-core_perception | bc00df8d8ab6448b4e8ec7a74c0bb42f8e26565e | [
"Apache-2.0"
] | null | null | null | from tensorflow_tlr import *
| 14.5 | 28 | 0.827586 | 4 | 29 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e2a2f9d452d53123fb314afdca2e17c258e343c4 | 222 | py | Python | stats/cron.py | bradeckert/eyebrowse-server | 0cd89dd65b5a7766a7c98067349fef05ce640a1a | [
"Unlicense"
] | null | null | null | stats/cron.py | bradeckert/eyebrowse-server | 0cd89dd65b5a7766a7c98067349fef05ce640a1a | [
"Unlicense"
] | null | null | null | stats/cron.py | bradeckert/eyebrowse-server | 0cd89dd65b5a7766a7c98067349fef05ce640a1a | [
"Unlicense"
] | null | null | null | import kronos
from stats.cron_tasks.calculate_stats import user_stat_gen
from common.cron_tasks.add_favicons import add_favicons
@kronos.register("0 * * * *")
def hourly_cron():
user_stat_gen()
add_favicons()
| 22.2 | 58 | 0.761261 | 32 | 222 | 4.9375 | 0.53125 | 0.208861 | 0.139241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005263 | 0.144144 | 222 | 9 | 59 | 24.666667 | 0.826316 | 0 | 0 | 0 | 0 | 0 | 0.040541 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.428571 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2c47e05604ebab13ea6b4511ed367ac3f90f8df2 | 401 | py | Python | api/exceptions.py | jeancochrane/bunny-hook | 94a12e61b40129d37eebf5a547edbd6661c534ab | [
"MIT"
] | null | null | null | api/exceptions.py | jeancochrane/bunny-hook | 94a12e61b40129d37eebf5a547edbd6661c534ab | [
"MIT"
] | 12 | 2018-02-20T15:36:38.000Z | 2018-02-27T03:07:47.000Z | api/exceptions.py | jeancochrane/bunny-hook | 94a12e61b40129d37eebf5a547edbd6661c534ab | [
"MIT"
] | null | null | null | # exceptions.py -- custom exception classes for this module
class PayloadException(Exception):
'''
Something went wrong with the payload from the GitHub API.
'''
pass
class WorkerException(Exception):
'''
Something went wrong in the worker process.
'''
pass
class QueueException(Exc... | 17.434783 | 62 | 0.660848 | 44 | 401 | 6.022727 | 0.590909 | 0.203774 | 0.249057 | 0.30566 | 0.241509 | 0.241509 | 0 | 0 | 0 | 0 | 0 | 0 | 0.254364 | 401 | 22 | 63 | 18.227273 | 0.886288 | 0.508728 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
2cb71fabddcc8735b2f04d305eeff9ac1dd375ec | 60 | py | Python | nextoff/test/testfile.py | rakesh4real/nextoff | 1482af694a24dd4665044f92acc8e5b66c1adbda | [
"MIT"
] | null | null | null | nextoff/test/testfile.py | rakesh4real/nextoff | 1482af694a24dd4665044f92acc8e5b66c1adbda | [
"MIT"
] | null | null | null | nextoff/test/testfile.py | rakesh4real/nextoff | 1482af694a24dd4665044f92acc8e5b66c1adbda | [
"MIT"
] | null | null | null | def printHi():
print('hi')
def print2():
print('2') | 12 | 15 | 0.533333 | 8 | 60 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.233333 | 60 | 5 | 16 | 12 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0.04918 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
2cb8fc61213da7dda3faeaf5a771eb7684804845 | 388 | py | Python | crowdsrc/src/serializers/__init__.py | BenEast/crowdsrc-backend | d06f0379e60bbac11128b3dd94dbc2d40b5f7a2e | [
"MIT"
] | null | null | null | crowdsrc/src/serializers/__init__.py | BenEast/crowdsrc-backend | d06f0379e60bbac11128b3dd94dbc2d40b5f7a2e | [
"MIT"
] | null | null | null | crowdsrc/src/serializers/__init__.py | BenEast/crowdsrc-backend | d06f0379e60bbac11128b3dd94dbc2d40b5f7a2e | [
"MIT"
] | null | null | null | from .project_serializers import *
from .skill_serializers import *
from .task_serializers import *
from .task_submission_serializers import *
from .team_message_serializers import *
from .user_settings_serializers import *
from .user_serializers import *
from .search_serializers import *
from .review_serializers impor... | 35.272727 | 42 | 0.832474 | 47 | 388 | 6.574468 | 0.319149 | 0.605178 | 0.679612 | 0.161812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110825 | 388 | 11 | 43 | 35.272727 | 0.895652 | 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 | 0 | 0 | 0 | 5 |
2ccda4815633659af823cfb780f7273a47e4396c | 77 | py | Python | segtypes/common/segment.py | paulsapps/splat | e312b86f36982dfddc4b00f082d7066f0b259938 | [
"MIT"
] | 31 | 2021-01-23T01:21:40.000Z | 2022-03-19T03:56:42.000Z | segtypes/common/segment.py | paulsapps/splat | e312b86f36982dfddc4b00f082d7066f0b259938 | [
"MIT"
] | 44 | 2021-02-03T15:10:37.000Z | 2022-03-03T08:29:47.000Z | segtypes/common/segment.py | paulsapps/splat | e312b86f36982dfddc4b00f082d7066f0b259938 | [
"MIT"
] | 10 | 2021-03-16T19:37:24.000Z | 2022-03-03T15:09:48.000Z | from segtypes.segment import Segment
class CommonSegment(Segment):
pass
| 15.4 | 36 | 0.792208 | 9 | 77 | 6.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155844 | 77 | 4 | 37 | 19.25 | 0.938462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
e2c1c75d937d3ca9e08d088a2cc21dd4522f223d | 410 | py | Python | tests/python/functions/test_parameter_list.py | AustinScola/seligimus | 206654fd8cf5e9b9a9da25439ccde2efe5a6cc7a | [
"MIT"
] | 1 | 2021-01-30T15:57:40.000Z | 2021-01-30T15:57:40.000Z | tests/python/functions/test_parameter_list.py | AustinScola/seligimus | 206654fd8cf5e9b9a9da25439ccde2efe5a6cc7a | [
"MIT"
] | 100 | 2021-01-30T16:01:46.000Z | 2021-07-24T14:00:04.000Z | tests/python/functions/test_parameter_list.py | AustinScola/seligimus | 206654fd8cf5e9b9a9da25439ccde2efe5a6cc7a | [
"MIT"
] | null | null | null | """Test seligimus.python.functions.parameter_list."""
from inspect import Parameter
from typing import List
from seligimus.python.functions.parameter_list import ParameterList
def test_parameter_list() -> None:
"""Test seligimus.python.functions.parameter_list.ParameterList."""
assert issubclass(ParameterLis... | 34.166667 | 80 | 0.780488 | 46 | 410 | 6.76087 | 0.434783 | 0.167203 | 0.231511 | 0.318328 | 0.382637 | 0.263666 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114634 | 410 | 11 | 81 | 37.272727 | 0.856749 | 0.334146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.166667 | true | 0 | 0.5 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e2d9a25b0f95bfde91eaa1bf9633ecfa3f19a9d4 | 253 | py | Python | micro_orm/fields/exceptions.py | RooYnnER/micro-orm | 7ec329072a71565696fe27f44ff08412c708ff29 | [
"MIT"
] | null | null | null | micro_orm/fields/exceptions.py | RooYnnER/micro-orm | 7ec329072a71565696fe27f44ff08412c708ff29 | [
"MIT"
] | null | null | null | micro_orm/fields/exceptions.py | RooYnnER/micro-orm | 7ec329072a71565696fe27f44ff08412c708ff29 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
class NotNullFieldError(Exception):
pass
class TooLargeContent(Exception):
pass
class NoDateTimeGiven(Exception):
pass
class NoBooleanGiven(Exception):
pass
class NoListOrTupleGiven(Exception):
pass
| 11.5 | 36 | 0.70751 | 23 | 253 | 7.782609 | 0.478261 | 0.363128 | 0.402235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004926 | 0.197628 | 253 | 21 | 37 | 12.047619 | 0.876847 | 0.083004 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
e2f11fc768e2a6277dadb7f00424666aad1c40f0 | 19 | py | Python | esp32/tools/fw_version.py | rbk1/micropython-bfh | 2ad86c3084ba5cf2cc14166d318e367e23057095 | [
"MIT"
] | null | null | null | esp32/tools/fw_version.py | rbk1/micropython-bfh | 2ad86c3084ba5cf2cc14166d318e367e23057095 | [
"MIT"
] | null | null | null | esp32/tools/fw_version.py | rbk1/micropython-bfh | 2ad86c3084ba5cf2cc14166d318e367e23057095 | [
"MIT"
] | null | null | null | number = '1.6.7.b1' | 19 | 19 | 0.578947 | 5 | 19 | 2.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 0.105263 | 19 | 1 | 19 | 19 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
390fd4af3cc3fd24554ca6e720df720d1d0363b9 | 464 | py | Python | tests/unit/chains.py | btclib-org/btclib_node | 3e5b2a55195e60e1d30505b52bc1ddd8d51c74cf | [
"MIT"
] | 4 | 2021-01-25T23:39:13.000Z | 2021-08-08T06:27:53.000Z | tests/unit/chains.py | btclib-org/btclib_node | 3e5b2a55195e60e1d30505b52bc1ddd8d51c74cf | [
"MIT"
] | null | null | null | tests/unit/chains.py | btclib-org/btclib_node | 3e5b2a55195e60e1d30505b52bc1ddd8d51c74cf | [
"MIT"
] | 1 | 2020-12-18T06:28:18.000Z | 2020-12-18T06:28:18.000Z | from btclib_node.chains import Main, RegTest, SigNet, TestNet
def test_genesis():
assert (
Main().genesis.hash
== "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f"
)
assert (
TestNet().genesis.hash
== "000000000933ea01ad0ee984209779baaec3ced90fa3f408719526f... | 27.294118 | 77 | 0.702586 | 27 | 464 | 12 | 0.62963 | 0.101852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.363636 | 0.217672 | 464 | 16 | 78 | 29 | 0.528926 | 0 | 0 | 0.214286 | 0 | 0 | 0.413793 | 0.413793 | 0 | 0 | 0 | 0 | 0.214286 | 1 | 0.071429 | true | 0 | 0.071429 | 0 | 0.142857 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3917dc151674e0d9469bc7e808800e97ebdaaa90 | 136 | py | Python | support/pycad/acad.py | vicwjb/Pycad | 7391cd694b7a91ad9f9964ec95833c1081bc1f84 | [
"MIT"
] | 1 | 2020-03-25T03:27:24.000Z | 2020-03-25T03:27:24.000Z | support/pycad/acad.py | vicwjb/Pycad | 7391cd694b7a91ad9f9964ec95833c1081bc1f84 | [
"MIT"
] | null | null | null | support/pycad/acad.py | vicwjb/Pycad | 7391cd694b7a91ad9f9964ec95833c1081bc1f84 | [
"MIT"
] | null | null | null | import clr, pycad
from pycad.system import *
import System
clr.ImportExtensions(System.Linq)
clr.ImportExtensions(acap)
codebase = None | 22.666667 | 33 | 0.816176 | 19 | 136 | 5.894737 | 0.578947 | 0.339286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095588 | 136 | 6 | 34 | 22.666667 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.833333 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1a64d0d2de3dbce053ed1648030790e7ef1ce79c | 144 | py | Python | stylo/testing/domain.py | mvinoba/stylo | 84f3a74cf9cb29c6d24b990dc9a474562114392b | [
"MIT"
] | null | null | null | stylo/testing/domain.py | mvinoba/stylo | 84f3a74cf9cb29c6d24b990dc9a474562114392b | [
"MIT"
] | null | null | null | stylo/testing/domain.py | mvinoba/stylo | 84f3a74cf9cb29c6d24b990dc9a474562114392b | [
"MIT"
] | null | null | null | from stylo.domain import RealDomain
from stylo.testing._factory import define_domain_test
BaseRealDomainTest = define_domain_test(RealDomain)
| 24 | 53 | 0.868056 | 18 | 144 | 6.666667 | 0.555556 | 0.15 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090278 | 144 | 5 | 54 | 28.8 | 0.916031 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1a6e7d9f348f5a54d9c8c07bb00b38e2f556ce8c | 1,549 | py | Python | example/migrations/0004_alter_body_stream_feild.py | fabienheureux/wagtail-wordpress-import | 3c27330258e24a6b52f3d580060f607706bbc9d0 | [
"MIT"
] | 22 | 2021-12-06T14:47:40.000Z | 2022-03-31T18:12:34.000Z | example/migrations/0004_alter_body_stream_feild.py | fabienheureux/wagtail-wordpress-import | 3c27330258e24a6b52f3d580060f607706bbc9d0 | [
"MIT"
] | 87 | 2021-10-01T09:25:16.000Z | 2022-02-14T10:56:16.000Z | example/migrations/0004_alter_body_stream_feild.py | fabienheureux/wagtail-wordpress-import | 3c27330258e24a6b52f3d580060f607706bbc9d0 | [
"MIT"
] | 5 | 2021-12-11T21:43:26.000Z | 2022-03-07T06:15:21.000Z | # Generated by Django 3.2.7 on 2021-11-15 13:38
from django.db import migrations
import wagtail.core.blocks
import wagtail.core.fields
import wagtail.images.blocks
class Migration(migrations.Migration):
dependencies = [
('example', '0003_add_unique_constraint_name'),
]
operations = [
mi... | 70.409091 | 1,130 | 0.664945 | 176 | 1,549 | 5.795455 | 0.488636 | 0.161765 | 0.216667 | 0.101961 | 0.231373 | 0.162745 | 0.086275 | 0 | 0 | 0 | 0 | 0.02689 | 0.111685 | 1,549 | 21 | 1,131 | 73.761905 | 0.71439 | 0.029051 | 0 | 0 | 1 | 0 | 0.215712 | 0.020639 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.533333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1ab76a4654a62c5d7e4aeaf569a25191b51e80e0 | 833 | py | Python | test/test_apps_wrapper.py | fnproject/fn_python | 79575fc4867378331602a52422bc808f0f808b50 | [
"Apache-2.0"
] | 6 | 2017-09-24T16:50:49.000Z | 2019-10-23T22:14:39.000Z | test/test_apps_wrapper.py | fnproject/fn_python | 79575fc4867378331602a52422bc808f0f808b50 | [
"Apache-2.0"
] | null | null | null | test/test_apps_wrapper.py | fnproject/fn_python | 79575fc4867378331602a52422bc808f0f808b50 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
fn
The open source serverless platform.
OpenAPI spec version: 0.2.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import os
import sys
import unittest
import swagger_client
from swagger_client.rest import ApiEx... | 18.511111 | 79 | 0.683073 | 96 | 833 | 5.729167 | 0.635417 | 0.094545 | 0.061818 | 0.083636 | 0.109091 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006279 | 0.235294 | 833 | 44 | 80 | 18.931818 | 0.857143 | 0.386555 | 0 | 0.1875 | 1 | 0 | 0.017699 | 0 | 0 | 0 | 0 | 0.022727 | 0 | 1 | 0.1875 | false | 0.1875 | 0.4375 | 0 | 0.6875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
1ac56bde10e31f868f4f2626cec4d3acb37cc5f2 | 26 | py | Python | test.py | HoolyPanda/VkTUI | 2a4aa545c5da5d3f7482d01919ac79cd1afced12 | [
"MIT"
] | null | null | null | test.py | HoolyPanda/VkTUI | 2a4aa545c5da5d3f7482d01919ac79cd1afced12 | [
"MIT"
] | null | null | null | test.py | HoolyPanda/VkTUI | 2a4aa545c5da5d3f7482d01919ac79cd1afced12 | [
"MIT"
] | null | null | null | import os
os.system('vim') | 13 | 16 | 0.730769 | 5 | 26 | 3.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 26 | 2 | 16 | 13 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
46bef2acece39601dd0203a080f62b6e054c57a6 | 129 | py | Python | customerDetails/customerDBOps.py | surajsjain/social-media-analytics-app | 1f310dcf2f79c9f80edee80dd59d8c63f827f04a | [
"MIT"
] | null | null | null | customerDetails/customerDBOps.py | surajsjain/social-media-analytics-app | 1f310dcf2f79c9f80edee80dd59d8c63f827f04a | [
"MIT"
] | 8 | 2020-06-05T20:49:10.000Z | 2022-02-10T00:37:59.000Z | customerDetails/customerDBOps.py | surajsjain/social-media-analytics-app | 1f310dcf2f79c9f80edee80dd59d8c63f827f04a | [
"MIT"
] | 3 | 2020-01-26T10:48:25.000Z | 2020-08-25T17:47:54.000Z | version https://git-lfs.github.com/spec/v1
oid sha256:33ec7c63416ee6099552660c0b37e950bd763df731340e67b0f9ac6a4f168b4e
size 1010
| 32.25 | 75 | 0.883721 | 13 | 129 | 8.769231 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.414634 | 0.046512 | 129 | 3 | 76 | 43 | 0.512195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
46cb39c582e0d75ed2a2e39d00a156838ac87b62 | 105 | py | Python | pydtk/__init__.py | dataware-tools/pydtk | 1da61fb8ca90de6c39a371a9b2b65f4473932991 | [
"Apache-2.0"
] | 11 | 2020-10-09T01:29:18.000Z | 2022-01-21T13:21:40.000Z | pydtk/__init__.py | dataware-tools/pydtk | 1da61fb8ca90de6c39a371a9b2b65f4473932991 | [
"Apache-2.0"
] | 64 | 2020-10-20T04:55:22.000Z | 2022-01-24T15:52:32.000Z | pydtk/__init__.py | dataware-tools/pydtk | 1da61fb8ca90de6c39a371a9b2b65f4473932991 | [
"Apache-2.0"
] | 1 | 2021-07-30T04:52:38.000Z | 2021-07-30T04:52:38.000Z | """pydtk modules."""
__version__ = "0.0.0-0"
__commit_id__ = "335be874b189127a42620a0475877155cdf0f870"
| 21 | 58 | 0.761905 | 10 | 105 | 7.1 | 0.7 | 0.084507 | 0.084507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.364583 | 0.085714 | 105 | 4 | 59 | 26.25 | 0.375 | 0.133333 | 0 | 0 | 0 | 0 | 0.552941 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
46cd2183259d492ac88bd181f889432f5634582a | 80 | py | Python | reservoirpy/krpy/__init__.py | scuervo91/reservoirpy | a4db620baf3ff66a85c7f61b1919713a8642e6fc | [
"MIT"
] | 16 | 2020-05-07T01:57:04.000Z | 2021-11-27T12:45:59.000Z | reservoirpy/krpy/__init__.py | scuervo91/reservoirpy | a4db620baf3ff66a85c7f61b1919713a8642e6fc | [
"MIT"
] | null | null | null | reservoirpy/krpy/__init__.py | scuervo91/reservoirpy | a4db620baf3ff66a85c7f61b1919713a8642e6fc | [
"MIT"
] | 5 | 2020-05-12T07:28:24.000Z | 2021-12-10T21:24:59.000Z | from .kr import Kr, KrWaterOil, KrGasOil, kr_curve, sw_denormalize, sw_normalize | 80 | 80 | 0.825 | 12 | 80 | 5.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 80 | 1 | 80 | 80 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
46d0d6a76b1b5fc741596f98c0d2cbdf1530a94a | 52 | py | Python | dpiswitchutils/exceptions.py | Kidlike/plasma-dpi-switcher | 8c34eb8131119c382cad265d7a78219568d247c9 | [
"Unlicense"
] | 47 | 2019-03-24T19:49:32.000Z | 2021-08-02T19:46:52.000Z | dpiswitchutils/exceptions.py | Kidlike/plasma-dpi-switcher | 8c34eb8131119c382cad265d7a78219568d247c9 | [
"Unlicense"
] | 13 | 2019-03-24T20:05:07.000Z | 2022-01-01T17:27:16.000Z | dpiswitchutils/exceptions.py | valueerrorx/plasma-dpi-switcher | eb3f5104f743d76cf098c6bf8280cee9928bd927 | [
"Unlicense"
] | 7 | 2019-03-29T18:47:14.000Z | 2021-10-14T21:30:16.000Z | class ProfileNotFoundException(Exception):
pass
| 17.333333 | 42 | 0.807692 | 4 | 52 | 10.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 52 | 2 | 43 | 26 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
46fbf42104de947c0e77e71c2447ee3c75c2b9df | 127 | py | Python | Parkeringshus/main/admin.py | jeppefm1/Parkering | 9b9522039095cb7e17966487d2a9e4e6889fe40c | [
"Apache-2.0"
] | 1 | 2019-03-08T15:09:41.000Z | 2019-03-08T15:09:41.000Z | Parkeringshus/main/admin.py | jeppefm1/Parkering | 9b9522039095cb7e17966487d2a9e4e6889fe40c | [
"Apache-2.0"
] | null | null | null | Parkeringshus/main/admin.py | jeppefm1/Parkering | 9b9522039095cb7e17966487d2a9e4e6889fe40c | [
"Apache-2.0"
] | 1 | 2019-03-08T15:08:13.000Z | 2019-03-08T15:08:13.000Z | from django.contrib import admin
from .models import Contact, Plates
from django.db import models
# Register your models here.
| 25.4 | 35 | 0.811024 | 19 | 127 | 5.421053 | 0.631579 | 0.194175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141732 | 127 | 4 | 36 | 31.75 | 0.944954 | 0.204724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
200233a5b713ca830801d9ef8cb1586a8cffeca9 | 386 | py | Python | scripts/patches/codecommit.py | compose-x/troposphere | 9a94a8fafd8b4da1cd1f4239be0e7aa0681fd8d4 | [
"BSD-2-Clause"
] | null | null | null | scripts/patches/codecommit.py | compose-x/troposphere | 9a94a8fafd8b4da1cd1f4239be0e7aa0681fd8d4 | [
"BSD-2-Clause"
] | null | null | null | scripts/patches/codecommit.py | compose-x/troposphere | 9a94a8fafd8b4da1cd1f4239be0e7aa0681fd8d4 | [
"BSD-2-Clause"
] | null | null | null | patches = [
# backwards compatibility
{
"op": "move",
"from": "/PropertyTypes/AWS::CodeCommit::Repository.RepositoryTrigger",
"path": "/PropertyTypes/AWS::CodeCommit::Repository.Trigger",
},
{
"op": "replace",
"path": "/ResourceTypes/AWS::CodeCommit::Repository/Pr... | 27.571429 | 90 | 0.585492 | 29 | 386 | 7.793103 | 0.655172 | 0.172566 | 0.30531 | 0.318584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235751 | 386 | 13 | 91 | 29.692308 | 0.766102 | 0.059585 | 0 | 0 | 0 | 0 | 0.609418 | 0.501385 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
201a8046f17dd3c5a0f00a1ac9a291ced49a6097 | 64 | py | Python | Python/Tests/TestData/DebuggerProject/Sub/paths.py | nanshuiyu/pytools | 9f9271fe8cf564b4f94e9456d400f4306ea77c23 | [
"Apache-2.0"
] | null | null | null | Python/Tests/TestData/DebuggerProject/Sub/paths.py | nanshuiyu/pytools | 9f9271fe8cf564b4f94e9456d400f4306ea77c23 | [
"Apache-2.0"
] | null | null | null | Python/Tests/TestData/DebuggerProject/Sub/paths.py | nanshuiyu/pytools | 9f9271fe8cf564b4f94e9456d400f4306ea77c23 | [
"Apache-2.0"
] | null | null | null | import os, sys
print(os.curdir)
print('\n'.join(sys.path))
| 12.8 | 27 | 0.640625 | 11 | 64 | 3.727273 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 64 | 4 | 28 | 16 | 0.759259 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
2026f416c0600dcd20f5d5688a92a53f72dc578d | 1,103 | py | Python | fsetools/tests/test_lib_pd7974_1_2019.py | fsepy/fsetools | 6b6c647912551680109a84d8640b9cfbe7970970 | [
"Apache-2.0"
] | 1 | 2020-02-25T21:47:56.000Z | 2020-02-25T21:47:56.000Z | fsetools/tests/test_lib_pd7974_1_2019.py | fsepy/fsetools | 6b6c647912551680109a84d8640b9cfbe7970970 | [
"Apache-2.0"
] | 12 | 2020-02-24T10:10:57.000Z | 2020-09-18T11:18:08.000Z | fsetools/tests/test_lib_pd7974_1_2019.py | fsepy/fsetools | 6b6c647912551680109a84d8640b9cfbe7970970 | [
"Apache-2.0"
] | null | null | null | from fsetools.libstd.pd_7974_1_2019 import _test_eq_10_virtual_origin as test_eq_10_virtual_origin
from fsetools.libstd.pd_7974_1_2019 import _test_eq_14_plume_temperature as test_eq_14_plume_temperature
from fsetools.libstd.pd_7974_1_2019 import _test_eq_15_plume_velocity as test_eq_15_plume_velocity
from fsetools.lib... | 68.9375 | 142 | 0.929284 | 195 | 1,103 | 4.54359 | 0.179487 | 0.142212 | 0.142212 | 0.158014 | 0.984199 | 0.802483 | 0.802483 | 0.488713 | 0.366817 | 0.366817 | 0 | 0.099715 | 0.045331 | 1,103 | 15 | 143 | 73.533333 | 0.74169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
645235755581f6ffbc646d90c7755fc2678bb4b5 | 146 | py | Python | object_detection2/modeling/backbone/__init__.py | vghost2008/wml | d0c5a1da6c228e321ae59a563e9ac84aa66266ff | [
"MIT"
] | 6 | 2019-12-10T17:18:56.000Z | 2022-03-01T01:00:35.000Z | object_detection2/modeling/backbone/__init__.py | vghost2008/wml | d0c5a1da6c228e321ae59a563e9ac84aa66266ff | [
"MIT"
] | 2 | 2021-08-25T16:16:01.000Z | 2022-02-10T05:21:19.000Z | object_detection2/modeling/backbone/__init__.py | vghost2008/wml | d0c5a1da6c228e321ae59a563e9ac84aa66266ff | [
"MIT"
] | 2 | 2019-12-07T09:57:35.000Z | 2021-09-06T04:58:10.000Z | from . import resnet,fpn,shufflenetv2,bifpn,buildin_hooks,mobilenets,efficientnet,twfpn
from . import hrnet,resnetv2,darknet,spp_pan,vgg,fpnv2,dla | 73 | 87 | 0.849315 | 21 | 146 | 5.809524 | 0.904762 | 0.163934 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021583 | 0.047945 | 146 | 2 | 88 | 73 | 0.856115 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
647534a58eeb1d21b2a69713160c6bef78363374 | 433 | py | Python | argus/exc.py | rkargon/image-sorter | f9cc5253613d6f476f5a0b0bd5121e955683e32b | [
"MIT"
] | null | null | null | argus/exc.py | rkargon/image-sorter | f9cc5253613d6f476f5a0b0bd5121e955683e32b | [
"MIT"
] | null | null | null | argus/exc.py | rkargon/image-sorter | f9cc5253613d6f476f5a0b0bd5121e955683e32b | [
"MIT"
] | null | null | null | """
File for representing argus-specific exceptions.
"""
class ArgusException(Exception):
"""
Exception class for the Argus application
"""
pass
class ImageLoadException(ArgusException):
"""
Exception raised when an image file could not be loaded
"""
pass
class InvalidQueryExceptio... | 17.32 | 68 | 0.676674 | 47 | 433 | 6.234043 | 0.659574 | 0.235495 | 0.197952 | 0.225256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240185 | 433 | 24 | 69 | 18.041667 | 0.890578 | 0.487298 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
649f6a649e1401755f5a1eaad8eb7fc06bcf24a9 | 89 | py | Python | ex04/salary.py | CoderDojo-Karlskrona/python-exercises | b22dd8a642b67d1c18790643718f133d7fc470fe | [
"Apache-2.0"
] | null | null | null | ex04/salary.py | CoderDojo-Karlskrona/python-exercises | b22dd8a642b67d1c18790643718f133d7fc470fe | [
"Apache-2.0"
] | null | null | null | ex04/salary.py | CoderDojo-Karlskrona/python-exercises | b22dd8a642b67d1c18790643718f133d7fc470fe | [
"Apache-2.0"
] | null | null | null | hrs = float(raw_input("Timmar: "))
rate = float(raw_input('Timpeng: '))
print hrs * rate
| 22.25 | 36 | 0.674157 | 13 | 89 | 4.461538 | 0.615385 | 0.275862 | 0.448276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134831 | 89 | 3 | 37 | 29.666667 | 0.753247 | 0 | 0 | 0 | 0 | 0 | 0.191011 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b39a4154089b2b8d9a1483281dafb22bbe7091bf | 16,180 | py | Python | kat/tracer/ppparser.py | TOT0RoKR/kat | 5fafe688593a60700f1067ca51ec9d5f148a396e | [
"MIT"
] | 3 | 2019-10-27T08:26:15.000Z | 2019-11-26T12:23:38.000Z | kat/tracer/ppparser.py | tot0rokr/kat | 5fafe688593a60700f1067ca51ec9d5f148a396e | [
"MIT"
] | null | null | null | kat/tracer/ppparser.py | tot0rokr/kat | 5fafe688593a60700f1067ca51ec9d5f148a396e | [
"MIT"
] | 1 | 2020-01-25T00:14:51.000Z | 2020-01-25T00:14:51.000Z | """
Author: TOT0Ro (tot0roprog@gmail.com)
tot0rokr.github.io
ppparser.py
preprocess parser
tokens: Result of lexical analysis about preprocesses in "*.c" c code
return: constructed tags
"""
from kat.lib.tag import *
from kat.lib.file import File
from kat.lib.token import Token
... | 37.281106 | 91 | 0.487268 | 1,623 | 16,180 | 4.646334 | 0.091805 | 0.065906 | 0.086195 | 0.118817 | 0.80175 | 0.746851 | 0.727755 | 0.687575 | 0.654555 | 0.646996 | 0 | 0.009053 | 0.399197 | 16,180 | 433 | 92 | 37.367206 | 0.766691 | 0.047837 | 0 | 0.722857 | 0 | 0 | 0.085101 | 0.009824 | 0 | 0 | 0 | 0.002309 | 0.045714 | 1 | 0.048571 | false | 0.028571 | 0.017143 | 0 | 0.091429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b3ca7b2a37dd4f09243302b94ee6adf3aea053dc | 407 | py | Python | model_search/search/__init__.py | LinqCod/model_search | d90bc39994bc2a5f5028035ac954f796eda03310 | [
"Apache-2.0"
] | null | null | null | model_search/search/__init__.py | LinqCod/model_search | d90bc39994bc2a5f5028035ac954f796eda03310 | [
"Apache-2.0"
] | null | null | null | model_search/search/__init__.py | LinqCod/model_search | d90bc39994bc2a5f5028035ac954f796eda03310 | [
"Apache-2.0"
] | null | null | null | """Phoenix Search Algorithms."""
from model_search.search import categorical_harmonica
from model_search.search import constrained_descent
from model_search.search import coordinate_descent
from model_search.search import harmonica
from model_search.search import identity
from model_search.search import linear_model
f... | 40.7 | 87 | 0.859951 | 57 | 407 | 5.929825 | 0.350877 | 0.186391 | 0.310651 | 0.434911 | 0.653846 | 0.414201 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088452 | 407 | 9 | 88 | 45.222222 | 0.911051 | 0.154791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b3d48aafe91ec2cf2b2b320e4a9c36c99c2d8a8d | 116 | py | Python | fenics_numpy/__init__.py | IvanYashchuk/numpy-fenics-adjoint | 7707968cee3cd779e474971da02a058cb4f1d07a | [
"MIT"
] | 3 | 2020-09-06T20:13:38.000Z | 2022-01-22T17:14:50.000Z | fenics_numpy/__init__.py | IvanYashchuk/numpy-fenics-adjoint | 7707968cee3cd779e474971da02a058cb4f1d07a | [
"MIT"
] | 3 | 2020-09-30T14:50:11.000Z | 2021-01-13T16:37:26.000Z | fenics_numpy/__init__.py | IvanYashchuk/numpy-fenics-adjoint | 7707968cee3cd779e474971da02a058cb4f1d07a | [
"MIT"
] | null | null | null | from .helpers import fenics_to_numpy, numpy_to_fenics
from .core import evaluate_primal, evaluate_vjp, evaluate_jvp
| 38.666667 | 61 | 0.862069 | 18 | 116 | 5.166667 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094828 | 116 | 2 | 62 | 58 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b60de5813b39b6fd95521f8b9a8242435b23d90a | 174 | py | Python | test.py | ava6969/rgb_stacking_extend | a36f1e35aa796e77201321161056e174966e7707 | [
"Apache-2.0"
] | null | null | null | test.py | ava6969/rgb_stacking_extend | a36f1e35aa796e77201321161056e174966e7707 | [
"Apache-2.0"
] | null | null | null | test.py | ava6969/rgb_stacking_extend | a36f1e35aa796e77201321161056e174966e7707 | [
"Apache-2.0"
] | null | null | null | from stable_baselines3.common.vec_env import VecFrameStack, DummyVecEnv
import gym
env = VecFrameStack( DummyVecEnv([ lambda : gym.make("PongNoFrameskip-v4") ]), 4, 'first') | 43.5 | 90 | 0.781609 | 21 | 174 | 6.380952 | 0.761905 | 0.358209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019108 | 0.097701 | 174 | 4 | 90 | 43.5 | 0.834395 | 0 | 0 | 0 | 0 | 0 | 0.131429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
376aed7327caead109d75d85288e0b5166736a12 | 90 | py | Python | pastepoints/__init__.py | majordookie/paste-cogs | b4e9fd919a8c5dde020b6aabac000c27648b835a | [
"Apache-2.0"
] | 1 | 2019-07-01T20:19:59.000Z | 2019-07-01T20:19:59.000Z | pastepoints/__init__.py | majordookie/paste-cogs | b4e9fd919a8c5dde020b6aabac000c27648b835a | [
"Apache-2.0"
] | null | null | null | pastepoints/__init__.py | majordookie/paste-cogs | b4e9fd919a8c5dde020b6aabac000c27648b835a | [
"Apache-2.0"
] | 3 | 2020-10-20T15:02:13.000Z | 2020-10-28T17:22:41.000Z | from .pastepoints import PastePoints
def setup(bot):
bot.add_cog(PastePoints(bot)) | 22.5 | 37 | 0.744444 | 12 | 90 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 90 | 4 | 38 | 22.5 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
37772944621f302d383870fda142b6ebb99b423c | 122 | py | Python | Exercises_2/meal_planner/meals_plans/admin.py | WillDutcher/project-3-getting-started-with-django | e21cbfeb0e9d1a164a28d9dcca30b69789e2c8ef | [
"CC0-1.0"
] | null | null | null | Exercises_2/meal_planner/meals_plans/admin.py | WillDutcher/project-3-getting-started-with-django | e21cbfeb0e9d1a164a28d9dcca30b69789e2c8ef | [
"CC0-1.0"
] | null | null | null | Exercises_2/meal_planner/meals_plans/admin.py | WillDutcher/project-3-getting-started-with-django | e21cbfeb0e9d1a164a28d9dcca30b69789e2c8ef | [
"CC0-1.0"
] | null | null | null | from django.contrib import admin
from .models import Day, Meal
admin.site.register(Day)
admin.site.register(Meal)
| 17.428571 | 33 | 0.754098 | 18 | 122 | 5.111111 | 0.555556 | 0.195652 | 0.369565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155738 | 122 | 6 | 34 | 20.333333 | 0.893204 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
37c9bfe60dcdf422ddae7eb933e08f9498eb8efd | 78 | py | Python | tools/portal/__main__.py | hoefkensj/BTRWin | 1432868ad60155f5ae26f33903a890497e089480 | [
"MIT"
] | null | null | null | tools/portal/__main__.py | hoefkensj/BTRWin | 1432868ad60155f5ae26f33903a890497e089480 | [
"MIT"
] | null | null | null | tools/portal/__main__.py | hoefkensj/BTRWin | 1432868ad60155f5ae26f33903a890497e089480 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import ui.cli
if __name__ == '__main__':
ui.cli.cli()
| 13 | 26 | 0.666667 | 13 | 78 | 3.384615 | 0.769231 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141026 | 78 | 5 | 27 | 15.6 | 0.656716 | 0.25641 | 0 | 0 | 0 | 0 | 0.140351 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
805ebe61b5732b523350b530f6f8bdf8e58468d3 | 299 | py | Python | ansible/module_utils/selvpc_utils/limits.py | Zeppelinen-DevOps/ansible-selvpc-modules | e2b2211ac5144b1bad7f07749da1097ef0826cab | [
"Apache-2.0"
] | 15 | 2017-07-04T18:01:11.000Z | 2022-02-09T13:52:42.000Z | ansible/module_utils/selvpc_utils/limits.py | Zeppelinen-DevOps/ansible-selvpc-modules | e2b2211ac5144b1bad7f07749da1097ef0826cab | [
"Apache-2.0"
] | 4 | 2018-11-06T14:10:40.000Z | 2020-12-14T19:22:17.000Z | ansible/module_utils/selvpc_utils/limits.py | Zeppelinen-DevOps/ansible-selvpc-modules | e2b2211ac5144b1bad7f07749da1097ef0826cab | [
"Apache-2.0"
] | 5 | 2018-09-13T22:03:08.000Z | 2021-05-28T07:15:38.000Z | from ansible.module_utils.selvpc_utils import wrappers
@wrappers.get_object('quotas')
def get_domain_quotas(module, client):
return client.quotas.get_domain_quotas()
@wrappers.get_object('quotas')
def get_free_domain_quotas(module, client):
return client.quotas.get_free_domain_quotas()
| 24.916667 | 54 | 0.80602 | 42 | 299 | 5.404762 | 0.357143 | 0.211454 | 0.14978 | 0.202643 | 0.651982 | 0.651982 | 0.396476 | 0.396476 | 0 | 0 | 0 | 0 | 0.093645 | 299 | 11 | 55 | 27.181818 | 0.837638 | 0 | 0 | 0.285714 | 0 | 0 | 0.040134 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.285714 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
80d0d8f290ede2e31914f3e7f7053cb7a59f2038 | 215 | py | Python | src/jyquickhelper/js/visjs/__init__.py | sdpython/jyquickhelper | b8b106ada7f8b606d4f152e186a3343b6c4ab2bb | [
"MIT"
] | 3 | 2020-03-06T23:17:14.000Z | 2021-10-16T05:51:21.000Z | src/jyquickhelper/js/visjs/__init__.py | sdpython/jyquickhelper | b8b106ada7f8b606d4f152e186a3343b6c4ab2bb | [
"MIT"
] | 9 | 2016-12-07T10:28:01.000Z | 2021-10-16T10:45:43.000Z | src/jyquickhelper/js/visjs/__init__.py | sdpython/jyquickhelper | b8b106ada7f8b606d4f152e186a3343b6c4ab2bb | [
"MIT"
] | null | null | null | """
@file
@brief `vis.js <https://github.com/almende/vis>`_
The script was obtained from the
`release page <https://github.com/almende/vis/tree/master/dist>`_.
"""
def version():
"version"
return "4.21.1"
| 17.916667 | 66 | 0.665116 | 32 | 215 | 4.40625 | 0.75 | 0.156028 | 0.198582 | 0.297872 | 0.340426 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021622 | 0.139535 | 215 | 11 | 67 | 19.545455 | 0.740541 | 0.75814 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
80efb86748950814ed8312cec1f5876d47fccb8b | 584 | py | Python | 8_things_to_know_exercise/challenge/anyall_solution.py | RiddhiDamani/Python | 06cba66aeafd9dc0fa849ec2112c0786a3e8f001 | [
"MIT"
] | null | null | null | 8_things_to_know_exercise/challenge/anyall_solution.py | RiddhiDamani/Python | 06cba66aeafd9dc0fa849ec2112c0786a3e8f001 | [
"MIT"
] | null | null | null | 8_things_to_know_exercise/challenge/anyall_solution.py | RiddhiDamani/Python | 06cba66aeafd9dc0fa849ec2112c0786a3e8f001 | [
"MIT"
] | null | null | null | import string
def contains_punctuation(input_str):
return any(char in string.punctuation
for char in input_str
)
assert contains_punctuation('Readability counts.') == True
assert contains_punctuation('Errors should never pass silently') == False
assert contains_punctuation('If the implementa... | 44.923077 | 109 | 0.741438 | 79 | 584 | 5.379747 | 0.64557 | 0.268235 | 0.294118 | 0.204706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167808 | 584 | 13 | 110 | 44.923077 | 0.874486 | 0 | 0 | 0 | 0 | 0 | 0.375218 | 0 | 0 | 0 | 0 | 0 | 0.454545 | 1 | 0.090909 | false | 0.181818 | 0.090909 | 0.090909 | 0.272727 | 0.090909 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
80fbda0063a0bf3e8725b18929bfa0af834eb161 | 2,888 | py | Python | 16/16.py | PaeP3nguin/advent-of-code-2017 | fb6b42437016f905df156cb6e8f02047ca2e86ae | [
"MIT"
] | null | null | null | 16/16.py | PaeP3nguin/advent-of-code-2017 | fb6b42437016f905df156cb6e8f02047ca2e86ae | [
"MIT"
] | null | null | null | 16/16.py | PaeP3nguin/advent-of-code-2017 | fb6b42437016f905df156cb6e8f02047ca2e86ae | [
"MIT"
] | null | null | null | #!python3
def main():
with open('16.txt', 'r') as f, open('16_out.txt', 'w') as f_out:
line = f.readline()
dance_moves = line.strip().split(',')
letters = [chr(c) for c in range(97, 113)]
# Part 1
programs = letters.copy()
# programs = ['a', 'b', 'c', 'd', 'e']
... | 40.676056 | 91 | 0.475069 | 365 | 2,888 | 3.635616 | 0.216438 | 0.12208 | 0.15373 | 0.081387 | 0.728711 | 0.728711 | 0.728711 | 0.728711 | 0.668425 | 0.668425 | 0 | 0.031457 | 0.372576 | 2,888 | 70 | 92 | 41.257143 | 0.700883 | 0.058172 | 0 | 0.701754 | 0 | 0 | 0.023581 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017544 | false | 0 | 0 | 0 | 0.017544 | 0.087719 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
03831210086302bcde2dadbee9b58d7417ddc096 | 136 | py | Python | scenes/__init__.py | zachdj/ultimate-tic-tac-toe-weka | 70b1451186e0aaf0582a6c474aa6950ae287543b | [
"MIT"
] | null | null | null | scenes/__init__.py | zachdj/ultimate-tic-tac-toe-weka | 70b1451186e0aaf0582a6c474aa6950ae287543b | [
"MIT"
] | null | null | null | scenes/__init__.py | zachdj/ultimate-tic-tac-toe-weka | 70b1451186e0aaf0582a6c474aa6950ae287543b | [
"MIT"
] | null | null | null | from .MainMenu import MainMenu
from .SetupGame import SetupGame
from .PlayGame import PlayGame
from .GameCompleted import GameCompleted
| 27.2 | 40 | 0.852941 | 16 | 136 | 7.25 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 136 | 4 | 41 | 34 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
03ecbf6fb0eee71a8973934bf7da01e68bb58672 | 45 | py | Python | tests/__init__.py | doreenfan/vacation_router | 638e5ae6fbed4d93cb89d5c801172c439e98f79d | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | doreenfan/vacation_router | 638e5ae6fbed4d93cb89d5c801172c439e98f79d | [
"Apache-2.0"
] | 1 | 2021-12-26T01:49:37.000Z | 2021-12-26T01:49:37.000Z | tests/__init__.py | doreenfan/vacation_router | 638e5ae6fbed4d93cb89d5c801172c439e98f79d | [
"Apache-2.0"
] | 1 | 2021-12-26T01:30:53.000Z | 2021-12-26T01:30:53.000Z | """Unit test package for vacation_router."""
| 22.5 | 44 | 0.733333 | 6 | 45 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 1 | 45 | 45 | 0.8 | 0.844444 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ff09c2255a34785e1bdaa1a49ad2a12cf1e69b96 | 71 | py | Python | plotly_study/express/data.py | lucasiscovici/plotly_py | 42ab769febb45fbbe0a3c677dc4306a4f59cea36 | [
"MIT"
] | null | null | null | plotly_study/express/data.py | lucasiscovici/plotly_py | 42ab769febb45fbbe0a3c677dc4306a4f59cea36 | [
"MIT"
] | null | null | null | plotly_study/express/data.py | lucasiscovici/plotly_py | 42ab769febb45fbbe0a3c677dc4306a4f59cea36 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from plotly_study.data import *
| 23.666667 | 38 | 0.859155 | 10 | 71 | 5.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 71 | 2 | 39 | 35.5 | 0.873016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.