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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b7fe729773f334991658bb6aa780e882a1299015 | 49 | py | Python | div.py | darkdebo/python_codes | 5644482b7a7cb4d775de0194bae84024e24bfcaf | [
"MIT"
] | null | null | null | div.py | darkdebo/python_codes | 5644482b7a7cb4d775de0194bae84024e24bfcaf | [
"MIT"
] | 1 | 2019-09-03T10:15:36.000Z | 2019-09-03T10:15:36.000Z | div.py | darkdebo/python_codes | 5644482b7a7cb4d775de0194bae84024e24bfcaf | [
"MIT"
] | null | null | null | print([i for i in range(21) if i%2==0 or i%4==0]) | 49 | 49 | 0.591837 | 15 | 49 | 1.933333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 0.163265 | 49 | 1 | 49 | 49 | 0.560976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
4d0f8159c728caddebafd852b04cb62cc153e840 | 1,922 | py | Python | examples/00_Example_Active.py | davilamds/py_dss_interface | a447c97787aeac962381db88dd622ccb235eef4b | [
"MIT"
] | 8 | 2020-08-15T12:56:03.000Z | 2022-01-04T15:51:14.000Z | examples/00_Example_Active.py | rodolfoplondero/py_dss_interface | cb6771b34ed322a5df7ef1cc194611e794f26441 | [
"MIT"
] | 24 | 2021-04-24T18:33:19.000Z | 2021-11-13T14:59:54.000Z | examples/00_Example_Active.py | rodolfoplondero/py_dss_interface | cb6771b34ed322a5df7ef1cc194611e794f26441 | [
"MIT"
] | 7 | 2020-08-15T12:56:04.000Z | 2021-10-04T16:14:30.000Z | # -*- encoding: utf-8 -*-
"""
Created by Ênio Viana at 12/05/2021
"""
from py_dss_interface.models.Example.ExampleBase import ExampleBase
dss = ExampleBase("13").dss
# Integer methods
print(45 * '=' + ' Integer Methods' + 45 * '=')
print(f'dss.active_class_get_class_name(): {dss.active_class_get_class_name()}')
prin... | 40.893617 | 89 | 0.748179 | 302 | 1,922 | 4.360927 | 0.175497 | 0.280182 | 0.435839 | 0.219438 | 0.737282 | 0.667426 | 0.604404 | 0.604404 | 0.593774 | 0.530752 | 0 | 0.016356 | 0.077523 | 1,922 | 46 | 90 | 41.782609 | 0.726452 | 0.078044 | 0 | 0.516129 | 0 | 0 | 0.621944 | 0.566799 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032258 | 0 | 0.032258 | 0.709677 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
4d8273a74b2caa25aa29a811d3b37c390665cd6d | 31,890 | py | Python | stochastic_spectroscopy/layers.py | fullerf/stochastic-spectroscopy | 371ac24fd65dea446ed9448cc208d83d94f7044c | [
"MIT"
] | 1 | 2021-04-12T16:24:07.000Z | 2021-04-12T16:24:07.000Z | stochastic_spectroscopy/layers.py | fullerf/stochastic_spectroscopy | 371ac24fd65dea446ed9448cc208d83d94f7044c | [
"MIT"
] | null | null | null | stochastic_spectroscopy/layers.py | fullerf/stochastic_spectroscopy | 371ac24fd65dea446ed9448cc208d83d94f7044c | [
"MIT"
] | null | null | null | # ---
# jupyter:
# jupytext:
# formats: ipynb,py:light
# text_representation:
# extension: .py
# format_name: light
# format_version: '1.5'
# jupytext_version: 1.4.2
# kernelspec:
# display_name: Python 3
# language: python
# name: python3
# ---
import sys
sys.path.appen... | 46.419214 | 118 | 0.605394 | 4,368 | 31,890 | 4.245421 | 0.100046 | 0.010516 | 0.033919 | 0.047886 | 0.779713 | 0.748975 | 0.732798 | 0.7239 | 0.70783 | 0.705889 | 0 | 0.011475 | 0.289495 | 31,890 | 686 | 119 | 46.48688 | 0.806956 | 0.168485 | 0 | 0.703371 | 0 | 0 | 0.015746 | 0.006357 | 0 | 0 | 0 | 0 | 0.013483 | 1 | 0.053933 | false | 0.002247 | 0.029213 | 0 | 0.182022 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4de1e0c5390d6f6fd70a58694c12c28a57150b84 | 61 | py | Python | hubspot/hubspot.py | fakepop/hubspot-api-python | f04103a09f93f5c26c99991b25fa76801074f3d3 | [
"Apache-2.0"
] | 117 | 2020-04-06T08:22:53.000Z | 2022-03-18T03:41:29.000Z | hubspot/hubspot.py | fakepop/hubspot-api-python | f04103a09f93f5c26c99991b25fa76801074f3d3 | [
"Apache-2.0"
] | 62 | 2020-04-06T16:21:06.000Z | 2022-03-17T16:50:44.000Z | hubspot/hubspot.py | fakepop/hubspot-api-python | f04103a09f93f5c26c99991b25fa76801074f3d3 | [
"Apache-2.0"
] | 45 | 2020-04-06T16:13:52.000Z | 2022-03-30T21:33:17.000Z | from .client import Client
class HubSpot(Client):
pass
| 10.166667 | 26 | 0.721311 | 8 | 61 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213115 | 61 | 5 | 27 | 12.2 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
1279d9e1f4a6fabf7f044bcb6bd3cecc3d1a508c | 36 | py | Python | midi_websocket_server/__init__.py | xy124/python-midi-websocket-server | eecc42abb308253a412639fce019c2699db5388c | [
"MIT"
] | 1 | 2022-03-24T20:32:31.000Z | 2022-03-24T20:32:31.000Z | midi_websocket_server/__init__.py | xy124/python-midi-websocket-server | eecc42abb308253a412639fce019c2699db5388c | [
"MIT"
] | null | null | null | midi_websocket_server/__init__.py | xy124/python-midi-websocket-server | eecc42abb308253a412639fce019c2699db5388c | [
"MIT"
] | 1 | 2021-12-29T16:32:11.000Z | 2021-12-29T16:32:11.000Z | from .midi_websocket_server import * | 36 | 36 | 0.861111 | 5 | 36 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
12a095aa6a4e68dde7c08ab7de0a170eac498bf7 | 1,244 | py | Python | mailers/plugins/base.py | alex-oleshkevich/mailers | 36836ae750cd190f75c96c5a78896d4ef830260e | [
"MIT"
] | 17 | 2020-03-13T13:06:05.000Z | 2022-03-06T00:17:45.000Z | mailers/plugins/base.py | alex-oleshkevich/mailers | 36836ae750cd190f75c96c5a78896d4ef830260e | [
"MIT"
] | null | null | null | mailers/plugins/base.py | alex-oleshkevich/mailers | 36836ae750cd190f75c96c5a78896d4ef830260e | [
"MIT"
] | null | null | null | import typing as t
from email.message import Message
from mailers.message import Email
from mailers.result import SentMessages
class Plugin(t.Protocol): # pragma: no cover
def process_email(self, email: Email) -> Email:
"""Mailer calls it before sending."""
async def on_before_send(self, message: M... | 36.588235 | 89 | 0.69373 | 161 | 1,244 | 5.248447 | 0.254658 | 0.056805 | 0.071006 | 0.104142 | 0.830769 | 0.830769 | 0.830769 | 0.830769 | 0.830769 | 0.830769 | 0 | 0 | 0.200161 | 1,244 | 33 | 90 | 37.69697 | 0.849246 | 0.078778 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
12d57370d7a1f7a04757a4d3a925099319aa2578 | 36 | py | Python | experiment/__init__.py | anonymoussubmissionrepo/columnar_networks | 3a1ea1dc2f25e5226bc37b9239d904f19b62d7b4 | [
"Apache-2.0"
] | 17 | 2021-07-23T06:16:54.000Z | 2022-03-22T06:35:07.000Z | experiment/__init__.py | anonymoussubmissionrepo/columnar_networks | 3a1ea1dc2f25e5226bc37b9239d904f19b62d7b4 | [
"Apache-2.0"
] | 1 | 2022-03-12T16:26:27.000Z | 2022-03-12T16:26:27.000Z | experiment/__init__.py | anonymoussubmissionrepo/columnar_networks | 3a1ea1dc2f25e5226bc37b9239d904f19b62d7b4 | [
"Apache-2.0"
] | 7 | 2021-08-21T11:28:32.000Z | 2022-03-04T07:01:48.000Z | from experiment.experiment import *
| 18 | 35 | 0.833333 | 4 | 36 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
12ef2178b2fc48385cafeb9a45a9659a02ff4323 | 30 | py | Python | gliomagrowth/experiment/__init__.py | MIC-DKFZ/image-time-series | 0480d5cb6936c7d9e839b6741f18c10893d78d8a | [
"MIT"
] | 1 | 2021-11-29T17:46:58.000Z | 2021-11-29T17:46:58.000Z | gliomagrowth/experiment/__init__.py | MIC-DKFZ/image-time-series | 0480d5cb6936c7d9e839b6741f18c10893d78d8a | [
"MIT"
] | null | null | null | gliomagrowth/experiment/__init__.py | MIC-DKFZ/image-time-series | 0480d5cb6936c7d9e839b6741f18c10893d78d8a | [
"MIT"
] | null | null | null | from . import continuous_image | 30 | 30 | 0.866667 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
424a4fe7026af3548cf7ceef3d3934f4e25da4f5 | 3,001 | py | Python | tests/elf/test_equality.py | junghee/LIEF | de7492ee49ef813cd8db3a858892e4ed5a5638c5 | [
"Apache-2.0"
] | 2,999 | 2017-04-03T13:43:23.000Z | 2022-03-31T15:24:27.000Z | tests/elf/test_equality.py | junghee/LIEF | de7492ee49ef813cd8db3a858892e4ed5a5638c5 | [
"Apache-2.0"
] | 626 | 2017-04-04T15:57:04.000Z | 2022-03-31T19:25:18.000Z | tests/elf/test_equality.py | junghee/LIEF | de7492ee49ef813cd8db3a858892e4ed5a5638c5 | [
"Apache-2.0"
] | 498 | 2017-04-04T14:18:25.000Z | 2022-03-29T19:31:38.000Z | #!/usr/bin/env python
import itertools
import logging
import os
import random
import stat
import subprocess
import sys
import tempfile
import unittest
from unittest import TestCase
import lief
from utils import get_sample
lief.logging.set_level(lief.logging.LOGGING_LEVEL.INFO)
class TestEquality64(TestCase):
de... | 30.938144 | 81 | 0.645785 | 436 | 3,001 | 4.325688 | 0.167431 | 0.031813 | 0.042418 | 0.04772 | 0.765642 | 0.765642 | 0.765642 | 0.765642 | 0.765642 | 0.765642 | 0 | 0.006279 | 0.203932 | 3,001 | 96 | 82 | 31.260417 | 0.783173 | 0.006664 | 0 | 0.647059 | 0 | 0 | 0.06745 | 0.019799 | 0 | 0 | 0 | 0 | 0.176471 | 1 | 0.205882 | false | 0 | 0.176471 | 0 | 0.411765 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4299e5f80e6cb9de1d5c74004e85413d15f450f1 | 7,883 | py | Python | WidgetAPIHttpTrigger/tests/test_tidy_widget.py | office-for-students/beta-widget-api | ce06fae0979c1f8bd0b50a77548a7c99653e251d | [
"MIT"
] | null | null | null | WidgetAPIHttpTrigger/tests/test_tidy_widget.py | office-for-students/beta-widget-api | ce06fae0979c1f8bd0b50a77548a7c99653e251d | [
"MIT"
] | null | null | null | WidgetAPIHttpTrigger/tests/test_tidy_widget.py | office-for-students/beta-widget-api | ce06fae0979c1f8bd0b50a77548a7c99653e251d | [
"MIT"
] | null | null | null | import unittest
from course_fetcher import CourseFetcher
class TestTidyWidgetStats(unittest.TestCase):
def test_employment_in_work_or_study_is_returned(self):
expected_stats = {"employment": [{"aggregation_level": 14, "in_work_or_study": 95}], "nss": []}
input_stats = {
"employment": ... | 34.726872 | 103 | 0.440568 | 645 | 7,883 | 4.992248 | 0.148837 | 0.031677 | 0.069876 | 0.093168 | 0.873292 | 0.871739 | 0.856211 | 0.826708 | 0.826708 | 0.808696 | 0 | 0.031092 | 0.473678 | 7,883 | 226 | 104 | 34.880531 | 0.744999 | 0.00926 | 0 | 0.516908 | 0 | 0 | 0.273566 | 0.072362 | 0 | 0 | 0 | 0 | 0.033816 | 1 | 0.033816 | false | 0 | 0.009662 | 0 | 0.048309 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
42a3b6929c100bcf916f8fb080c70b6d66e905a0 | 138 | py | Python | src/sqlalchemy_dlock/utils.py | tanbro/sqlalchemy-dlock | 9deadeb89f90d2a7512e9de8b038e0261604ba20 | [
"BSD-3-Clause"
] | null | null | null | src/sqlalchemy_dlock/utils.py | tanbro/sqlalchemy-dlock | 9deadeb89f90d2a7512e9de8b038e0261604ba20 | [
"BSD-3-Clause"
] | 2 | 2022-03-14T08:56:06.000Z | 2022-03-23T06:57:03.000Z | src/sqlalchemy_dlock/utils.py | tanbro/sqlalchemy-dlock | 9deadeb89f90d2a7512e9de8b038e0261604ba20 | [
"BSD-3-Clause"
] | null | null | null | import re
SAFE_NAME_PATTERN = re.compile(r'[^A-Za-z0-9_]+')
def safe_name(s):
return SAFE_NAME_PATTERN.sub('_', s).strip().lower()
| 17.25 | 56 | 0.673913 | 24 | 138 | 3.583333 | 0.708333 | 0.27907 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016529 | 0.123188 | 138 | 7 | 57 | 19.714286 | 0.694215 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 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 | 1 | 0 | 0 | 0 | 6 |
35ee5f61db28acaa99370beb666c9025d1d61254 | 129 | py | Python | pydra/tasks/TODO/__init__.py | chasejohnson3/pydra-sem | d46468236568a50dd7dacf7e9d6a698a2fe67cb6 | [
"Apache-2.0"
] | 1 | 2020-11-25T19:34:12.000Z | 2020-11-25T19:34:12.000Z | pydra/tasks/TODO/__init__.py | chasejohnson3/pydra-sem | d46468236568a50dd7dacf7e9d6a698a2fe67cb6 | [
"Apache-2.0"
] | 2 | 2020-06-19T00:04:43.000Z | 2020-12-29T22:22:43.000Z | pydra/tasks/TODO/__init__.py | chasejohnson3/pydra-sem | d46468236568a50dd7dacf7e9d6a698a2fe67cb6 | [
"Apache-2.0"
] | 3 | 2020-06-18T20:45:08.000Z | 2020-11-20T16:56:53.000Z | """
>>> import pydra.tasks.TODO
"""
from ._version import get_versions
__version__ = get_versions()["version"]
del get_versions
| 16.125 | 39 | 0.736434 | 16 | 129 | 5.4375 | 0.5625 | 0.37931 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 129 | 7 | 40 | 18.428571 | 0.763158 | 0.209302 | 0 | 0 | 0 | 0 | 0.074468 | 0 | 0 | 0 | 0 | 0.142857 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
67147a562f12006ee076424e40089d11533f4f41 | 202 | py | Python | app/tube/admin.py | tuvshinot/we_tube | 9982adbb19508bbfc71e14d7e23b941ba46aa7b7 | [
"MIT"
] | null | null | null | app/tube/admin.py | tuvshinot/we_tube | 9982adbb19508bbfc71e14d7e23b941ba46aa7b7 | [
"MIT"
] | null | null | null | app/tube/admin.py | tuvshinot/we_tube | 9982adbb19508bbfc71e14d7e23b941ba46aa7b7 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Video, TubeChannel, TubeUser, Tag
admin.site.register(Video)
admin.site.register(TubeChannel)
admin.site.register(TubeUser)
admin.site.register(Tag) | 28.857143 | 53 | 0.821782 | 28 | 202 | 5.928571 | 0.428571 | 0.216867 | 0.409639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074257 | 202 | 7 | 54 | 28.857143 | 0.887701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
671b96946d9a5f6d949b20d5f3f56e9769229914 | 154 | py | Python | temap/tenant_management_application/doctype/tenancy_agreement/test_tenancy_agreement.py | EkpoEsua/temap | 5f1abc943711cf9d3caf32fdc6ca681af9392453 | [
"MIT"
] | null | null | null | temap/tenant_management_application/doctype/tenancy_agreement/test_tenancy_agreement.py | EkpoEsua/temap | 5f1abc943711cf9d3caf32fdc6ca681af9392453 | [
"MIT"
] | null | null | null | temap/tenant_management_application/doctype/tenancy_agreement/test_tenancy_agreement.py | EkpoEsua/temap | 5f1abc943711cf9d3caf32fdc6ca681af9392453 | [
"MIT"
] | null | null | null | # Copyright (c) 2021, Esua Ekpo and Contributors
# See license.txt
# import frappe
import unittest
class TestTenancyAgreement(unittest.TestCase):
pass
| 17.111111 | 48 | 0.785714 | 19 | 154 | 6.368421 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.142857 | 154 | 8 | 49 | 19.25 | 0.886364 | 0.493506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
672338b6b311d62c8b42b90d48e9bb3b1738cf45 | 7,761 | py | Python | app/models/hermes.py | nerevu/prometheus-api | f171406c4169d45d1a83df71a76128554988259f | [
"MIT"
] | 9 | 2016-07-22T12:56:59.000Z | 2021-12-27T09:09:32.000Z | app/models/hermes.py | nerevu/prometheus-api | f171406c4169d45d1a83df71a76128554988259f | [
"MIT"
] | null | null | null | app/models/hermes.py | nerevu/prometheus-api | f171406c4169d45d1a83df71a76128554988259f | [
"MIT"
] | 7 | 2017-09-08T02:51:25.000Z | 2020-11-19T17:50:01.000Z | # -*- coding: utf-8 -*-
from __future__ import (
absolute_import, division, print_function, unicode_literals)
import savalidation.validators as val
from pprint import pprint
from datetime import datetime as dt, date as d
from app import db
from savalidation import ValidationMixin
from flask_sqlalchemy import S... | 31.168675 | 79 | 0.654297 | 929 | 7,761 | 5.34338 | 0.107643 | 0.074134 | 0.092667 | 0.06527 | 0.813255 | 0.800967 | 0.799758 | 0.702861 | 0.648066 | 0.648066 | 0 | 0.003077 | 0.204355 | 7,761 | 248 | 80 | 31.294355 | 0.80081 | 0.053988 | 0 | 0.606667 | 0 | 0 | 0.1159 | 0.017241 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053333 | false | 0 | 0.066667 | 0.053333 | 0.6 | 0.013333 | 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 | 1 | 0 | 0 | 6 |
db2186814662b95f517fcfd650b807085d7b5490 | 25,555 | py | Python | tests/integrations/test_code_include.py | ColinKennedy/sphinx-code-include | c9449968ac8c626448bccbc943fcc817df01efab | [
"BSD-2-Clause"
] | 2 | 2020-11-26T20:43:58.000Z | 2021-01-18T08:32:21.000Z | tests/integrations/test_code_include.py | ColinKennedy/sphinx-code-include | c9449968ac8c626448bccbc943fcc817df01efab | [
"BSD-2-Clause"
] | null | null | null | tests/integrations/test_code_include.py | ColinKennedy/sphinx-code-include | c9449968ac8c626448bccbc943fcc817df01efab | [
"BSD-2-Clause"
] | 1 | 2021-07-15T10:49:25.000Z | 2021-07-15T10:49:25.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""A series of tests that access content outside of this repository."""
import textwrap
import unittest
from six.moves import mock
from six.moves import urllib
from .. import common
def _skip_from_ssl_error(url):
"""bool: Check if the given URL can be reached."""
... | 40.117739 | 99 | 0.526981 | 2,726 | 25,555 | 4.774762 | 0.141599 | 0.024585 | 0.018439 | 0.023356 | 0.823832 | 0.811156 | 0.805009 | 0.796789 | 0.786263 | 0.778273 | 0 | 0.001213 | 0.386969 | 25,555 | 636 | 100 | 40.180818 | 0.829631 | 0.098102 | 0 | 0.543103 | 0 | 0.043103 | 0.262201 | 0.136929 | 0 | 0 | 0 | 0.001572 | 0.077586 | 1 | 0.077586 | false | 0 | 0.12931 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
db23d6634bd85ecd44a9b24a4dfc2d59f0fc137f | 100 | py | Python | straintables/PrimerEngine/__init__.py | Gab0/linkageMapper | 549b292e5b6ab22e03373483cd27236aa2f635eb | [
"MIT"
] | null | null | null | straintables/PrimerEngine/__init__.py | Gab0/linkageMapper | 549b292e5b6ab22e03373483cd27236aa2f635eb | [
"MIT"
] | 1 | 2020-05-03T15:13:07.000Z | 2020-05-04T03:01:59.000Z | straintables/PrimerEngine/__init__.py | Gab0/straintables | 549b292e5b6ab22e03373483cd27236aa2f635eb | [
"MIT"
] | null | null | null | #!/bin/python
from . import GeneticEntities, PrimerDock, PrimerDesign
from . import ampliconSanity
| 20 | 55 | 0.8 | 10 | 100 | 8 | 0.8 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 100 | 4 | 56 | 25 | 0.909091 | 0.12 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c020e29df15b71d096728a4664196f0aaeedd0dd | 948 | py | Python | algo/mad_seat.py | calfzhou/lazy-lab | dcd67845e4bd1e0c82a05a89f53eec6912d870f8 | [
"MIT"
] | null | null | null | algo/mad_seat.py | calfzhou/lazy-lab | dcd67845e4bd1e0c82a05a89f53eec6912d870f8 | [
"MIT"
] | null | null | null | algo/mad_seat.py | calfzhou/lazy-lab | dcd67845e4bd1e0c82a05a89f53eec6912d870f8 | [
"MIT"
] | null | null | null | import random
def Sit(n):
seats = [i for i in xrange(n)]
mad_seat = random.choice(seats)
if mad_seat == 0: return True
if mad_seat == n - 1: return False
seats.remove(mad_seat)
for i in xrange(1, n - 1):
if i in seats: seat = i
else: seat = random.choice(seats)
seats.remove(seat)
assert(len(s... | 25.621622 | 47 | 0.640295 | 166 | 948 | 3.548193 | 0.204819 | 0.095076 | 0.050934 | 0.101868 | 0.797963 | 0.797963 | 0.797963 | 0.797963 | 0.797963 | 0.797963 | 0 | 0.032742 | 0.226793 | 948 | 36 | 48 | 26.333333 | 0.770805 | 0.060127 | 0 | 0.6 | 0 | 0 | 0.010135 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0 | null | null | 0 | 0.033333 | null | null | 0.033333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c032438cd46d5216c27f2330da14701e6fdf78df | 36 | py | Python | richcontext/scholapi/__init__.py | HaritzPuerto/RCApi | 5616ffbc2b49f143ebe4111daa2763ed3472b36a | [
"CC0-1.0"
] | 8 | 2020-01-08T16:49:55.000Z | 2021-10-20T02:12:33.000Z | richcontext/scholapi/__init__.py | srand525/RCApi | c1f3cf96d1b176cd616830e6a4563585280c12e9 | [
"CC0-1.0"
] | 27 | 2020-01-09T19:58:59.000Z | 2021-01-11T18:35:28.000Z | richcontext/scholapi/__init__.py | NYU-CI/RCApi | c1f3cf96d1b176cd616830e6a4563585280c12e9 | [
"CC0-1.0"
] | 3 | 2020-01-08T20:37:23.000Z | 2021-09-04T10:57:37.000Z | from .scholapi import ScholInfraAPI
| 18 | 35 | 0.861111 | 4 | 36 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fbf2a4f52d3e0d9140b6d8b31ed78c21bf834d7a | 13,793 | py | Python | cassiopeia/datastores/riotapi/leagues.py | bangingheads/cassiopeia-1 | becf9b0e4703b40d0cf1e279eeb7777c421b7f48 | [
"MIT"
] | null | null | null | cassiopeia/datastores/riotapi/leagues.py | bangingheads/cassiopeia-1 | becf9b0e4703b40d0cf1e279eeb7777c421b7f48 | [
"MIT"
] | null | null | null | cassiopeia/datastores/riotapi/leagues.py | bangingheads/cassiopeia-1 | becf9b0e4703b40d0cf1e279eeb7777c421b7f48 | [
"MIT"
] | null | null | null | from typing import Type, TypeVar, MutableMapping, Any, Iterable, Generator
from datapipelines import DataSource, PipelineContext, Query, NotFoundError, validate_query
from .common import RiotAPIService, APINotFoundError
from ...data import Platform, Queue, Tier, Division
from ...dto.league import LeagueEntriesDto, Lea... | 52.049057 | 187 | 0.655115 | 1,474 | 13,793 | 5.921303 | 0.065807 | 0.056599 | 0.068744 | 0.052704 | 0.840055 | 0.809693 | 0.741522 | 0.737053 | 0.724221 | 0.713451 | 0 | 0.000927 | 0.218227 | 13,793 | 264 | 188 | 52.246212 | 0.808495 | 0.001595 | 0 | 0.582569 | 0 | 0.036697 | 0.142286 | 0.014454 | 0 | 0 | 0 | 0 | 0 | 1 | 0.073395 | false | 0.009174 | 0.027523 | 0 | 0.197248 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
222b17d6d8f5d0e44310a252d8b182262c331e1d | 101 | py | Python | test/test_component_1/__init__.py | denis-itskovich/flask-composer | b847e153255ea839a922b149e37f8814b4ecc00b | [
"Apache-2.0"
] | 2 | 2015-08-17T12:43:08.000Z | 2015-09-24T06:22:02.000Z | test/test_component_1/__init__.py | denis-itskovich/flask-composer | b847e153255ea839a922b149e37f8814b4ecc00b | [
"Apache-2.0"
] | null | null | null | test/test_component_1/__init__.py | denis-itskovich/flask-composer | b847e153255ea839a922b149e37f8814b4ecc00b | [
"Apache-2.0"
] | null | null | null | from flask.ext.composer import Component
test_component_1 = Component('test_component_1', __name__)
| 25.25 | 58 | 0.831683 | 14 | 101 | 5.428571 | 0.642857 | 0.342105 | 0.578947 | 0.605263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.089109 | 101 | 3 | 59 | 33.666667 | 0.804348 | 0 | 0 | 0 | 0 | 0 | 0.158416 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
2234f01954130342d9f554ca44c7e4af5005960e | 10,929 | py | Python | directord/tests/test_client.py | peznauts/directord | 881eff5e4aeed40bcc229c58a2c055b193006295 | [
"Apache-2.0"
] | null | null | null | directord/tests/test_client.py | peznauts/directord | 881eff5e4aeed40bcc229c58a2c055b193006295 | [
"Apache-2.0"
] | null | null | null | directord/tests/test_client.py | peznauts/directord | 881eff5e4aeed40bcc229c58a2c055b193006295 | [
"Apache-2.0"
] | null | null | null | # Copyright Peznauts <kevin@cloudnull.com>. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requ... | 31.048295 | 79 | 0.509836 | 1,233 | 10,929 | 4.257908 | 0.116788 | 0.021714 | 0.025143 | 0.024381 | 0.795619 | 0.79181 | 0.784571 | 0.784571 | 0.784571 | 0.777333 | 0 | 0.023035 | 0.372404 | 10,929 | 351 | 80 | 31.136752 | 0.742382 | 0.055083 | 0 | 0.767081 | 0 | 0 | 0.103385 | 0.003394 | 0 | 0 | 0 | 0 | 0.031056 | 1 | 0.037267 | false | 0 | 0.015528 | 0 | 0.055901 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
226c25292c8ca14c6cff5b7e3c63433468e01bb7 | 227 | py | Python | p0002/test_p0002.py | th3-z/euler | cccb6b2ccb6bf443ff42b28c7a7bf1d8e3c91af2 | [
"MIT"
] | null | null | null | p0002/test_p0002.py | th3-z/euler | cccb6b2ccb6bf443ff42b28c7a7bf1d8e3c91af2 | [
"MIT"
] | null | null | null | p0002/test_p0002.py | th3-z/euler | cccb6b2ccb6bf443ff42b28c7a7bf1d8e3c91af2 | [
"MIT"
] | null | null | null | from p0002 import fib_even
def test_fib_even():
assert sum(fib_even(4000000)) == 4613732
assert sum(fib_even(0)) == 0
assert sum(fib_even(-1)) == 0
assert sum(fib_even(2)) == 2
assert sum(fib_even(3)) == 2
| 25.222222 | 44 | 0.643172 | 39 | 227 | 3.538462 | 0.384615 | 0.355072 | 0.434783 | 0.57971 | 0.246377 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144444 | 0.207048 | 227 | 8 | 45 | 28.375 | 0.622222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 1 | 0.142857 | true | 0 | 0.142857 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
227a4fecc596058e74492c76aa1863757883fec5 | 18,686 | py | Python | nailgun/nailgun/test/unit/test_network_check.py | Axam/nsx-web | 4f60d71c05e08740cbdf19b6c9bb0c4cb1e29ad5 | [
"Apache-2.0"
] | 1 | 2021-04-06T16:13:35.000Z | 2021-04-06T16:13:35.000Z | nailgun/nailgun/test/unit/test_network_check.py | Axam/nsx-web | 4f60d71c05e08740cbdf19b6c9bb0c4cb1e29ad5 | [
"Apache-2.0"
] | null | null | null | nailgun/nailgun/test/unit/test_network_check.py | Axam/nsx-web | 4f60d71c05e08740cbdf19b6c9bb0c4cb1e29ad5 | [
"Apache-2.0"
] | null | null | null | # Copyright 2013 Mirantis, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | 42.956322 | 79 | 0.559617 | 1,836 | 18,686 | 5.429194 | 0.1122 | 0.029494 | 0.029494 | 0.017657 | 0.826946 | 0.795546 | 0.752307 | 0.723716 | 0.663925 | 0.663925 | 0 | 0.049406 | 0.328428 | 18,686 | 434 | 80 | 43.0553 | 0.74492 | 0.030986 | 0 | 0.706044 | 0 | 0 | 0.156219 | 0.053234 | 0 | 0 | 0 | 0 | 0.085165 | 1 | 0.046703 | false | 0 | 0.024725 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
97d962958fbc53041ec07fe757ae15567f1a6bc3 | 27 | py | Python | delatore/outputs/telegram/__init__.py | opentelekomcloud-infra/delatore | 6d16400cdfeab175ba6a7d7844d1d623d975fceb | [
"Apache-2.0"
] | 1 | 2020-08-19T16:21:04.000Z | 2020-08-19T16:21:04.000Z | delatore/outputs/telegram/__init__.py | opentelekomcloud-infra/delatore | 6d16400cdfeab175ba6a7d7844d1d623d975fceb | [
"Apache-2.0"
] | 86 | 2019-12-02T21:24:20.000Z | 2021-03-04T13:29:35.000Z | delatore/outputs/telegram/__init__.py | opentelekomcloud-infra/delatore | 6d16400cdfeab175ba6a7d7844d1d623d975fceb | [
"Apache-2.0"
] | 1 | 2020-03-19T09:25:07.000Z | 2020-03-19T09:25:07.000Z | from .bot import BotRunner
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
97e80a5b365b04bb552d9fd8bb3d6a46e9763dc3 | 2,157 | py | Python | NA_Project/NA_WebApp/migrations/0010_profile_allergies_profile_foodpreferences_profile_restrictedingredients_profile_restrictedlabels.py | BounSweFerhatSal/swe573 | bd7e18f41a54c842db73176cf13c8e227b539be0 | [
"MIT"
] | 1 | 2020-06-23T12:14:50.000Z | 2020-06-23T12:14:50.000Z | NA_Project/NA_WebApp/migrations/0010_profile_allergies_profile_foodpreferences_profile_restrictedingredients_profile_restrictedlabels.py | BounSweFerhatSal/NutrAssistant | bd7e18f41a54c842db73176cf13c8e227b539be0 | [
"MIT"
] | 36 | 2020-05-03T15:45:59.000Z | 2021-09-22T19:06:53.000Z | NA_Project/NA_WebApp/migrations/0010_profile_allergies_profile_foodpreferences_profile_restrictedingredients_profile_restrictedlabels.py | BounSweFerhatSal/swe573 | bd7e18f41a54c842db73176cf13c8e227b539be0 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.5 on 2020-06-17 00:11
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('NA_WebApp', '0009_profile_diseases'),
]
operations = [
migrations.CreateModel(
name='Profile_Re... | 45.893617 | 122 | 0.619379 | 226 | 2,157 | 5.756637 | 0.234513 | 0.061491 | 0.096849 | 0.152191 | 0.764028 | 0.764028 | 0.764028 | 0.764028 | 0.764028 | 0.764028 | 0 | 0.011607 | 0.241076 | 2,157 | 46 | 123 | 46.891304 | 0.78314 | 0.020862 | 0 | 0.65 | 1 | 0 | 0.15782 | 0.045972 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05 | 0 | 0.125 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
97f7146ab1cd082f33b55d1aec123dcafbe95fe5 | 2,215 | py | Python | scripts/slave/recipe_modules/chromium_tests/chromium_swarm.py | bopopescu/chromium-build | f8e42c70146c1b668421ee6358dc550a955770a3 | [
"BSD-3-Clause"
] | null | null | null | scripts/slave/recipe_modules/chromium_tests/chromium_swarm.py | bopopescu/chromium-build | f8e42c70146c1b668421ee6358dc550a955770a3 | [
"BSD-3-Clause"
] | null | null | null | scripts/slave/recipe_modules/chromium_tests/chromium_swarm.py | bopopescu/chromium-build | f8e42c70146c1b668421ee6358dc550a955770a3 | [
"BSD-3-Clause"
] | 1 | 2020-07-22T09:16:32.000Z | 2020-07-22T09:16:32.000Z | # Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from . import steps
SPEC = {
'builders': {
'Android N5 Swarm': {
'chromium_config': 'android',
'gclient_config': 'chromium',
'gclien... | 26.369048 | 72 | 0.550339 | 203 | 2,215 | 5.699507 | 0.305419 | 0.121003 | 0.114088 | 0.108038 | 0.830596 | 0.830596 | 0.830596 | 0.764909 | 0.764909 | 0.764909 | 0 | 0.006329 | 0.286682 | 2,215 | 83 | 73 | 26.686747 | 0.725949 | 0.069977 | 0 | 0.628205 | 0 | 0 | 0.514591 | 0.084144 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012821 | 0 | 0.012821 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3f1790c5cc3fa20226bc756b50c194c8ee6efe5b | 260,827 | py | Python | instances/passenger_demand/pas-20210422-1717-int14000000000000001e/16.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int14000000000000001e/16.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int14000000000000001e/16.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 26795
passenger_arriving = (
(4, 8, 6, 6, 2, 1, 1, 5, 5, 0, 0, 2, 0, 12, 5, 4, 3, 5, 7, 4, 0, 3, 4, 0, 1, 0), # 0
(12, 11, 10, 11, 6, 5, 4, 4, 3, 1, 0, 0, 0, 8, 5, 6, 5, 4, 4, 1, 2, 2, 1, 1, 0, 0), # 1
(5, 10, 9, 10, 2, 3, 5, 2, 3, 2, 1, 0, 0, 14, 11, 5, 1, 8, 3, 4, 1, 4, 4, 1... | 278.959358 | 492 | 0.771787 | 32,987 | 260,827 | 6.102161 | 0.22718 | 0.354112 | 0.339805 | 0.643841 | 0.367883 | 0.360928 | 0.359895 | 0.359527 | 0.359527 | 0.359527 | 0 | 0.851414 | 0.094829 | 260,827 | 934 | 493 | 279.25803 | 0.001182 | 0.015378 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3f31d2bb293be6205ae663454629362d66493a43 | 4,755 | py | Python | tests/distributed/test_against_external_daemon/test_single_instance.py | yuanl/jina | 989d0689353bbbcd2c7bf11928b652224c3d4bf7 | [
"Apache-2.0"
] | null | null | null | tests/distributed/test_against_external_daemon/test_single_instance.py | yuanl/jina | 989d0689353bbbcd2c7bf11928b652224c3d4bf7 | [
"Apache-2.0"
] | 4 | 2020-09-01T17:47:27.000Z | 2021-04-16T23:11:57.000Z | tests/distributed/test_against_external_daemon/test_single_instance.py | yuanl/jina | 989d0689353bbbcd2c7bf11928b652224c3d4bf7 | [
"Apache-2.0"
] | null | null | null | import os
import numpy as np
import pytest
from jina import Flow
from tests import random_docs
cur_dir = os.path.dirname(os.path.abspath(__file__))
CLOUD_HOST = 'localhost:8000' # consider it as the staged version
NUM_DOCS = 100
@pytest.mark.parametrize('silent_log', [True, False])
@pytest.mark.parametrize('para... | 29.534161 | 92 | 0.628601 | 597 | 4,755 | 4.735343 | 0.159129 | 0.076406 | 0.111426 | 0.081712 | 0.80474 | 0.776795 | 0.776795 | 0.766183 | 0.735055 | 0.735055 | 0 | 0.011398 | 0.243533 | 4,755 | 160 | 93 | 29.71875 | 0.774534 | 0.00694 | 0 | 0.691729 | 0 | 0 | 0.06589 | 0.009746 | 0 | 0 | 0 | 0 | 0.052632 | 1 | 0.067669 | false | 0 | 0.045113 | 0 | 0.112782 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
18cb8acc073e1a0c3244437b916e432fac5f61b8 | 148 | py | Python | azazel/api/models/course.py | agata-project/azazel | 501d55a8209e374b8f6315b9474109970f0b193a | [
"MIT"
] | 4 | 2018-07-10T00:32:40.000Z | 2018-07-12T01:22:20.000Z | azazel/api/models/course.py | agata-project/azazel | 501d55a8209e374b8f6315b9474109970f0b193a | [
"MIT"
] | 10 | 2018-07-12T14:18:34.000Z | 2021-06-10T20:39:10.000Z | azazel/api/models/course.py | agata-project/azazel | 501d55a8209e374b8f6315b9474109970f0b193a | [
"MIT"
] | 1 | 2018-07-12T03:19:27.000Z | 2018-07-12T03:19:27.000Z | from django.db import models
class Course(models.Model):
initials = models.CharField(max_length=5)
name = models.CharField(max_length=50)
| 21.142857 | 45 | 0.75 | 21 | 148 | 5.190476 | 0.714286 | 0.275229 | 0.330275 | 0.440367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.148649 | 148 | 6 | 46 | 24.666667 | 0.84127 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
18f438bf55af321f2c442e20b7bde7ad028e6c61 | 309 | py | Python | rpi_automator/dto/TempAndHumidityData.py | raviles/rpi_automator | 8b7a1899cabed91b7c1f1be1508ab86a213776f6 | [
"MIT"
] | 1 | 2018-11-22T09:14:52.000Z | 2018-11-22T09:14:52.000Z | rpi_automator/dto/TempAndHumidityData.py | raviles/rpi_automator | 8b7a1899cabed91b7c1f1be1508ab86a213776f6 | [
"MIT"
] | null | null | null | rpi_automator/dto/TempAndHumidityData.py | raviles/rpi_automator | 8b7a1899cabed91b7c1f1be1508ab86a213776f6 | [
"MIT"
] | null | null | null |
class TempAndHumidityData:
""" Captures temperature and humidity data """
def __init__(self, temperature, humidity):
self.temperature = temperature
self.humidity = humidity
def __str__(self):
return 'temperature={}, humidity={}'.format(self.temperature, self.humidity)
| 25.75 | 84 | 0.679612 | 29 | 309 | 6.965517 | 0.448276 | 0.222772 | 0.227723 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210356 | 309 | 11 | 85 | 28.090909 | 0.827869 | 0.122977 | 0 | 0 | 0 | 0 | 0.103448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7a0e91998974b626e17484ae7a2c901a3e68aa53 | 12,669 | py | Python | tests/api/v3_0_0/test_node_deployment.py | oianson/ciscoisesdk | c8fe9d80416048dd0ff2241209c4f78ab78c1a4a | [
"MIT"
] | null | null | null | tests/api/v3_0_0/test_node_deployment.py | oianson/ciscoisesdk | c8fe9d80416048dd0ff2241209c4f78ab78c1a4a | [
"MIT"
] | null | null | null | tests/api/v3_0_0/test_node_deployment.py | oianson/ciscoisesdk | c8fe9d80416048dd0ff2241209c4f78ab78c1a4a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""IdentityServicesEngineAPI node_deployment API fixtures and tests.
Copyright (c) 2021 Cisco and/or its affiliates.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software withou... | 35.587079 | 882 | 0.691531 | 1,412 | 12,669 | 5.988669 | 0.157932 | 0.03193 | 0.045412 | 0.028382 | 0.809721 | 0.80369 | 0.794939 | 0.793046 | 0.78122 | 0.764191 | 0 | 0.015898 | 0.200647 | 12,669 | 355 | 883 | 35.687324 | 0.819097 | 0.091641 | 0 | 0.66171 | 0 | 0 | 0.175811 | 0.035301 | 0 | 0 | 0 | 0 | 0.133829 | 1 | 0.111524 | false | 0.01487 | 0.01487 | 0 | 0.215613 | 0.022305 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e17fc8853b010762782b9e0e5f0885507c560a0d | 10,342 | py | Python | Utility/path_to_transcript_dicts.py | Vaibhavs10/IMS-Toucan | 931e4ce63a4cc675cb15b72474a3c3619632a07b | [
"Apache-2.0"
] | 93 | 2021-08-11T13:52:37.000Z | 2022-03-29T23:19:07.000Z | Utility/path_to_transcript_dicts.py | Vaibhavs10/IMS-Toucan | 931e4ce63a4cc675cb15b72474a3c3619632a07b | [
"Apache-2.0"
] | 4 | 2021-12-15T17:23:14.000Z | 2022-03-24T04:51:40.000Z | Utility/path_to_transcript_dicts.py | Vaibhavs10/IMS-Toucan | 931e4ce63a4cc675cb15b72474a3c3619632a07b | [
"Apache-2.0"
] | 25 | 2021-08-11T14:23:47.000Z | 2022-03-28T20:23:51.000Z | import os
def build_path_to_transcript_dict_karlsson():
root = "/mount/resources/speech/corpora/MAILabs_german_single_speaker_karlsson"
path_to_transcript = dict()
for el in os.listdir(root):
if os.path.isdir(os.path.join(root, el)):
with open(os.path.join(root, el, "metadata.csv"), "r... | 44.196581 | 134 | 0.639141 | 1,313 | 10,342 | 4.810358 | 0.088347 | 0.064598 | 0.172261 | 0.107663 | 0.881096 | 0.828531 | 0.7576 | 0.723718 | 0.723718 | 0.693952 | 0 | 0.016304 | 0.217173 | 10,342 | 233 | 135 | 44.386266 | 0.763834 | 0 | 0 | 0.641026 | 0 | 0 | 0.237672 | 0.205376 | 0 | 0 | 0 | 0 | 0 | 1 | 0.087179 | false | 0 | 0.010256 | 0 | 0.184615 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e18fbf8b3b28ae04b0046ee22253de71b7bf2ce7 | 177 | py | Python | teste.py | isabelmussi/travis_aula01 | 2f8105ac7b8d2ce83776d66f94c8e96177ace2bd | [
"Apache-2.0"
] | null | null | null | teste.py | isabelmussi/travis_aula01 | 2f8105ac7b8d2ce83776d66f94c8e96177ace2bd | [
"Apache-2.0"
] | null | null | null | teste.py | isabelmussi/travis_aula01 | 2f8105ac7b8d2ce83776d66f94c8e96177ace2bd | [
"Apache-2.0"
] | null | null | null | import pytest
#biblioteca pytest
from principal import somar
from principal import subtrair
#def-função
def test_somar():
#verifica se é verdadeiro
assert somar(2,4)==6
| 19.666667 | 30 | 0.768362 | 26 | 177 | 5.192308 | 0.692308 | 0.192593 | 0.281481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02027 | 0.163842 | 177 | 8 | 31 | 22.125 | 0.891892 | 0.288136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | true | 0 | 0.6 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e1b1a4fabea369dd027bebf796f0c080a7896e2b | 52,540 | py | Python | tests/column_aggregate_expectations_distributional/test_pandas_dataset_distributional_expectations.py | anhollis/great_expectations | 41ccddfd2c604a0452d6ab142696f5d27c2d551f | [
"Apache-2.0"
] | 1 | 2021-01-10T18:00:06.000Z | 2021-01-10T18:00:06.000Z | tests/column_aggregate_expectations_distributional/test_pandas_dataset_distributional_expectations.py | anhollis/great_expectations | 41ccddfd2c604a0452d6ab142696f5d27c2d551f | [
"Apache-2.0"
] | null | null | null | tests/column_aggregate_expectations_distributional/test_pandas_dataset_distributional_expectations.py | anhollis/great_expectations | 41ccddfd2c604a0452d6ab142696f5d27c2d551f | [
"Apache-2.0"
] | null | null | null | import unittest
import json
import numpy as np
import sys
import great_expectations as ge
sys.path.append("./tests")
from test_utils import assertDeepAlmostEqual
sys.path.append("./great_expectations/dataset")
from util import is_valid_continuous_partition_object
class TestDistributionalExpectations(unittest.TestCas... | 55.715801 | 279 | 0.474343 | 5,193 | 52,540 | 4.529752 | 0.06528 | 0.011393 | 0.012498 | 0.040811 | 0.844025 | 0.810016 | 0.78944 | 0.779577 | 0.758067 | 0.737789 | 0 | 0.105076 | 0.398991 | 52,540 | 942 | 280 | 55.774947 | 0.639864 | 0.040407 | 0 | 0.552465 | 0 | 0 | 0.164424 | 0.013677 | 0 | 0 | 0 | 0 | 0.121365 | 1 | 0.022756 | false | 0 | 0.00885 | 0 | 0.03287 | 0.011378 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e1b3a0a1918c83c1a9c7807018dafc05e51d64e1 | 47 | py | Python | scripts/portal/out_cygnusGarden.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 54 | 2019-04-16T23:24:48.000Z | 2021-12-18T11:41:50.000Z | scripts/portal/out_cygnusGarden.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 3 | 2019-05-19T15:19:41.000Z | 2020-04-27T16:29:16.000Z | scripts/portal/out_cygnusGarden.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 49 | 2020-11-25T23:29:16.000Z | 2022-03-26T16:20:24.000Z | # 271040000
sm.warp(271030600, 0)
sm.dispose()
| 11.75 | 21 | 0.723404 | 7 | 47 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.452381 | 0.106383 | 47 | 3 | 22 | 15.666667 | 0.357143 | 0.191489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
becd47d689aa7e847259be3624c0472b757d39a2 | 155 | py | Python | users/admin.py | Mutghost01/ailms | 1aaa45ad3fb3c71bc1f356069290e2ca016f0e06 | [
"Apache-2.0"
] | null | null | null | users/admin.py | Mutghost01/ailms | 1aaa45ad3fb3c71bc1f356069290e2ca016f0e06 | [
"Apache-2.0"
] | null | null | null | users/admin.py | Mutghost01/ailms | 1aaa45ad3fb3c71bc1f356069290e2ca016f0e06 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from users.models import *
admin.site.register(Student)
admin.site.register(Lecturer)
admin.site.register(LecturerRating) | 25.833333 | 35 | 0.832258 | 21 | 155 | 6.142857 | 0.571429 | 0.209302 | 0.395349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070968 | 155 | 6 | 35 | 25.833333 | 0.895833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
bef749d55344298c4f186b67758919ea2649792e | 158 | py | Python | robots/small/strategies/2019/test/cam_test/manje_agresivna/test3/init.py | memristor/mep2 | bc5cddacba3d740f791f3454b8cb51bda83ce202 | [
"MIT"
] | 5 | 2018-11-27T15:15:00.000Z | 2022-02-10T21:44:13.000Z | robots/small/strategies/2019/test/cam_test/manje_agresivna/test3/init.py | memristor/mep2 | bc5cddacba3d740f791f3454b8cb51bda83ce202 | [
"MIT"
] | 2 | 2018-10-20T15:48:40.000Z | 2018-11-20T05:11:33.000Z | robots/small/strategies/2019/test/cam_test/manje_agresivna/test3/init.py | memristor/mep2 | bc5cddacba3d740f791f3454b8cb51bda83ce202 | [
"MIT"
] | 1 | 2020-02-07T12:44:47.000Z | 2020-02-07T12:44:47.000Z |
def run():
@_core.listen('test')
def _():
print('a test 2')
@_core.on('test')
def _():
print('a test')
_emit('test')
_emit('test')
_emit('test')
| 12.153846 | 22 | 0.556962 | 23 | 158 | 3.521739 | 0.434783 | 0.296296 | 0.444444 | 0.320988 | 0.716049 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 0.183544 | 158 | 12 | 23 | 13.166667 | 0.620155 | 0 | 0 | 0.5 | 0 | 0 | 0.216561 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | true | 0 | 0 | 0 | 0.3 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8320271145d18de99a0dcbc3432172454eed3dc3 | 22 | py | Python | models/__init__.py | psui3905/CCT | 637cbac130b39f02733339c79cdf1d531e339e9c | [
"MIT"
] | 308 | 2020-06-09T13:37:17.000Z | 2022-03-24T07:43:33.000Z | models/__init__.py | lesvay/CCT | cf98ea7e6aefa7091e6c375a9025ba1e0f6e53ca | [
"MIT"
] | 55 | 2020-06-16T11:57:54.000Z | 2022-03-09T12:04:58.000Z | models/__init__.py | lesvay/CCT | cf98ea7e6aefa7091e6c375a9025ba1e0f6e53ca | [
"MIT"
] | 51 | 2020-06-08T02:42:14.000Z | 2022-02-25T16:38:36.000Z | from .model import CCT | 22 | 22 | 0.818182 | 4 | 22 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
83221fed88505f657dd6938bbb9722f8a761af4a | 1,023 | py | Python | lib_profiler/datamart_profiler/warning_tools.py | VIDA-NYU/auctus | 49e83f9f61f3e35422b8c5fd40b9d5376b9f92a2 | [
"Apache-2.0"
] | 15 | 2020-12-22T15:28:56.000Z | 2022-03-29T08:13:49.000Z | lib_profiler/datamart_profiler/warning_tools.py | VIDA-NYU/auctus | 49e83f9f61f3e35422b8c5fd40b9d5376b9f92a2 | [
"Apache-2.0"
] | 4 | 2021-04-09T18:08:36.000Z | 2022-03-21T17:51:05.000Z | lib_profiler/datamart_profiler/warning_tools.py | VIDA-NYU/auctus | 49e83f9f61f3e35422b8c5fd40b9d5376b9f92a2 | [
"Apache-2.0"
] | 4 | 2021-08-12T09:34:29.000Z | 2022-01-03T22:30:50.000Z | import contextlib
import warnings
@contextlib.contextmanager
def ignore_warnings(*categories):
"""Context manager to ignore specific warning categories.
"""
orig_showarning = warnings.showwarning
def record(message, category, filename, lineno, file=None, line=None):
if not any(issubclass(cate... | 28.416667 | 76 | 0.695015 | 109 | 1,023 | 6.449541 | 0.311927 | 0.119488 | 0.130868 | 0.165007 | 0.742532 | 0.742532 | 0.742532 | 0.742532 | 0.634424 | 0.634424 | 0 | 0 | 0.223851 | 1,023 | 35 | 77 | 29.228571 | 0.88539 | 0.052786 | 0 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16 | false | 0 | 0.08 | 0 | 0.24 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 6 |
8338c2d757c0b063ac9328bfd27f8b831b07fa82 | 44 | py | Python | ScienceDynamics/config/__init__.py | data4goodlab/ScienceDynamics | 1ba24a7a0ec64058b6095541b0ecc5d5d294b588 | [
"MIT"
] | 1 | 2020-09-29T15:41:58.000Z | 2020-09-29T15:41:58.000Z | ScienceDynamics/config/__init__.py | data4goodlab/ScienceDynamics | 1ba24a7a0ec64058b6095541b0ecc5d5d294b588 | [
"MIT"
] | null | null | null | ScienceDynamics/config/__init__.py | data4goodlab/ScienceDynamics | 1ba24a7a0ec64058b6095541b0ecc5d5d294b588 | [
"MIT"
] | 1 | 2020-11-12T18:15:25.000Z | 2020-11-12T18:15:25.000Z | from ScienceDynamics.config.configs import * | 44 | 44 | 0.863636 | 5 | 44 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 1 | 44 | 44 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8359d18eed3e7f9abeb56933d54bde94d62ba630 | 28 | py | Python | Core/hippoSeg/__init__.py | YongLiuLab/BrainRadiomicsTools | 19b440acd554ee920857c306442b6d2c411dca88 | [
"Apache-2.0",
"BSD-3-Clause"
] | 10 | 2019-09-26T03:12:52.000Z | 2022-02-25T06:05:38.000Z | Core/hippoSeg/__init__.py | YongLiuLab/BrainRadiomicsTools | 19b440acd554ee920857c306442b6d2c411dca88 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Core/hippoSeg/__init__.py | YongLiuLab/BrainRadiomicsTools | 19b440acd554ee920857c306442b6d2c411dca88 | [
"Apache-2.0",
"BSD-3-Clause"
] | 8 | 2020-02-26T01:54:48.000Z | 2022-03-19T01:23:55.000Z | from .segment import segment | 28 | 28 | 0.857143 | 4 | 28 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
55eee2625b86dfb724e69a47dbfde363fc1f251c | 77 | py | Python | slack_messages/__init__.py | joegasewicz/slack-messages | 2bddb04306ba333209e38b1ff8e2247c3190e921 | [
"MIT"
] | 1 | 2021-06-17T18:40:45.000Z | 2021-06-17T18:40:45.000Z | slack_messages/__init__.py | joegasewicz/slack-messages | 2bddb04306ba333209e38b1ff8e2247c3190e921 | [
"MIT"
] | null | null | null | slack_messages/__init__.py | joegasewicz/slack-messages | 2bddb04306ba333209e38b1ff8e2247c3190e921 | [
"MIT"
] | null | null | null | from .slack import SlackMessages, ErrorPostingMessage, ErrorFetchingChannels
| 38.5 | 76 | 0.883117 | 6 | 77 | 11.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077922 | 77 | 1 | 77 | 77 | 0.957746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
360f5d30e9e93c28f61b152a676dc09deb292ddf | 28 | py | Python | src/amuse/community/mesa/__init__.py | sibonyves/amuse | 5557bf88d14df1aa02133a199b6d60c0c57dcab7 | [
"Apache-2.0"
] | null | null | null | src/amuse/community/mesa/__init__.py | sibonyves/amuse | 5557bf88d14df1aa02133a199b6d60c0c57dcab7 | [
"Apache-2.0"
] | 12 | 2021-11-15T09:13:03.000Z | 2022-02-02T14:53:04.000Z | src/amuse/community/mesa/__init__.py | sibonyves/amuse | 5557bf88d14df1aa02133a199b6d60c0c57dcab7 | [
"Apache-2.0"
] | null | null | null | from .interface import Mesa
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
366e9336a889a39e8206a36b4afe4a8b9923eb01 | 176 | py | Python | pyobs/comm/xmpp/xep_0009_timeout/__init__.py | pyobs/pyobs-core | e3401e63eb31587c2bc535f7346b7e4ef69d64ab | [
"MIT"
] | 4 | 2020-02-14T10:50:03.000Z | 2022-03-25T04:15:06.000Z | pyobs/comm/xmpp/xep_0009_timeout/__init__.py | pyobs/pyobs-core | e3401e63eb31587c2bc535f7346b7e4ef69d64ab | [
"MIT"
] | 60 | 2020-09-14T09:10:20.000Z | 2022-03-25T17:51:42.000Z | pyobs/comm/xmpp/xep_0009_timeout/__init__.py | pyobs/pyobs-core | e3401e63eb31587c2bc535f7346b7e4ef69d64ab | [
"MIT"
] | 2 | 2020-10-14T09:34:57.000Z | 2021-04-27T09:35:57.000Z | from sleekxmpp.plugins.base import register_plugin
from . import stanza
from .rpc import XEP_0009_timeout
from .stanza import MethodTimeout
register_plugin(XEP_0009_timeout)
| 22 | 50 | 0.852273 | 25 | 176 | 5.76 | 0.52 | 0.194444 | 0.194444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050955 | 0.107955 | 176 | 7 | 51 | 25.142857 | 0.866242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
367f2b20efff13ac34a4228d9835b126c85413e9 | 127 | py | Python | boa3_test/test_sc/interop_test/runtime/NotifySequence.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3_test/test_sc/interop_test/runtime/NotifySequence.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3_test/test_sc/interop_test/runtime/NotifySequence.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | from boa3.builtin import public
from boa3.builtin.interop.runtime import notify
@public
def Main():
notify([2, 3, 5, 7])
| 15.875 | 47 | 0.716535 | 20 | 127 | 4.55 | 0.7 | 0.175824 | 0.32967 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 0.165354 | 127 | 7 | 48 | 18.142857 | 0.801887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
36a94f48d3d663af6598b5688f94f57356538261 | 4,954 | py | Python | tests/test_normal_means_scaled.py | banskt/mr-ash-pen | a9e574f66ce64265bff22cf0661d23a5706e4515 | [
"MIT"
] | null | null | null | tests/test_normal_means_scaled.py | banskt/mr-ash-pen | a9e574f66ce64265bff22cf0661d23a5706e4515 | [
"MIT"
] | null | null | null | tests/test_normal_means_scaled.py | banskt/mr-ash-pen | a9e574f66ce64265bff22cf0661d23a5706e4515 | [
"MIT"
] | null | null | null | import unittest
import numpy as np
from mrashpen.models.normal_means_ash_scaled import NormalMeansASHScaled
from mrashpen.utils.logs import MyLogger
mlogger = MyLogger(__name__)
class TestNMAshScaled(unittest.TestCase):
def _NM_data(self):
n = 100
s = 1.2
k = 6
np.random.seed(100... | 45.87037 | 146 | 0.61627 | 699 | 4,954 | 4.211731 | 0.13877 | 0.024457 | 0.028872 | 0.030571 | 0.871603 | 0.867527 | 0.859375 | 0.831522 | 0.828125 | 0.828125 | 0 | 0.018689 | 0.276342 | 4,954 | 107 | 147 | 46.299065 | 0.80251 | 0 | 0 | 0.494382 | 0 | 0.022472 | 0.198627 | 0 | 0 | 0 | 0 | 0 | 0.067416 | 1 | 0.078652 | false | 0 | 0.044944 | 0 | 0.213483 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
36fc913eb639f075c8664b28591690fe44372235 | 5,277 | py | Python | tests/helpers/test_secure_boot_helper.py | keaparrot/secbootctl | a624677a8987023a3a55d7e002c3c980bdd0e0bd | [
"MIT"
] | null | null | null | tests/helpers/test_secure_boot_helper.py | keaparrot/secbootctl | a624677a8987023a3a55d7e002c3c980bdd0e0bd | [
"MIT"
] | null | null | null | tests/helpers/test_secure_boot_helper.py | keaparrot/secbootctl | a624677a8987023a3a55d7e002c3c980bdd0e0bd | [
"MIT"
] | null | null | null | import unittest
from pathlib import Path
from unittest.mock import MagicMock
from unittest.mock import Mock
from unittest.mock import patch
from secbootctl.env import Env
from secbootctl.helpers.secureboot import SecureBootHelper
class TestSecureBootHelper(unittest.TestCase):
def setUp(self) -> None:
sel... | 36.393103 | 118 | 0.647338 | 622 | 5,277 | 4.990354 | 0.130225 | 0.079897 | 0.11018 | 0.087951 | 0.83183 | 0.826997 | 0.80058 | 0.80058 | 0.80058 | 0.80058 | 0 | 0.004611 | 0.260186 | 5,277 | 144 | 119 | 36.645833 | 0.790471 | 0 | 0 | 0.6 | 0 | 0 | 0.14819 | 0.127724 | 0 | 0 | 0 | 0 | 0.116667 | 1 | 0.066667 | false | 0 | 0.058333 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
36fceae17c9c40b722a6e5c6f41fd603d8d2393b | 75 | py | Python | backend/api/utils.py | NurlykhanKairly/bus-for-everyone | 04f57d73ceeeef0e90e969683409ac177f20955b | [
"MIT"
] | null | null | null | backend/api/utils.py | NurlykhanKairly/bus-for-everyone | 04f57d73ceeeef0e90e969683409ac177f20955b | [
"MIT"
] | null | null | null | backend/api/utils.py | NurlykhanKairly/bus-for-everyone | 04f57d73ceeeef0e90e969683409ac177f20955b | [
"MIT"
] | 1 | 2021-09-08T04:42:23.000Z | 2021-09-08T04:42:23.000Z |
def has_permission(created_by, user):
return created_by.id == user.id
| 18.75 | 37 | 0.733333 | 12 | 75 | 4.333333 | 0.666667 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 75 | 3 | 38 | 25 | 0.825397 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7fd4b6e3415c8fd3eafa5138724b4f7a5fe39c59 | 41 | py | Python | daolilb/client/__init__.py | foruy/openflow-docker | 6fa8bc3c634ccaf7ad5ab924bf31faf80887fb3a | [
"Apache-2.0"
] | null | null | null | daolilb/client/__init__.py | foruy/openflow-docker | 6fa8bc3c634ccaf7ad5ab924bf31faf80887fb3a | [
"Apache-2.0"
] | null | null | null | daolilb/client/__init__.py | foruy/openflow-docker | 6fa8bc3c634ccaf7ad5ab924bf31faf80887fb3a | [
"Apache-2.0"
] | null | null | null | from daolicontroller.client.api import *
| 20.5 | 40 | 0.829268 | 5 | 41 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1847cc0fe74496ff75f23469b80d5955537334e8 | 2,093 | py | Python | benchmarks/models/layers.py | SunDoge/octconv | a1ed9f872065a8f765621e231c2419d07fe7e69a | [
"MIT"
] | 17 | 2019-05-01T12:12:49.000Z | 2021-08-11T15:17:19.000Z | benchmarks/models/layers.py | SunDoge/octconv | a1ed9f872065a8f765621e231c2419d07fe7e69a | [
"MIT"
] | 3 | 2019-05-15T11:50:13.000Z | 2021-05-26T01:45:21.000Z | benchmarks/models/layers.py | SunDoge/octconv | a1ed9f872065a8f765621e231c2419d07fe7e69a | [
"MIT"
] | 3 | 2019-10-30T04:57:22.000Z | 2020-12-12T15:28:32.000Z | import torch.nn as nn
from octconv import OctConv2d
class OctConvBn(nn.Module):
def __init__(self, in_channels, out_channels, kernel_size, alpha=0.5, stride=1, padding=0,
bias=False, norm_layer=None):
super(OctConvBn, self).__init__()
if norm_layer is None:
norm_laye... | 30.779412 | 94 | 0.630196 | 319 | 2,093 | 3.852665 | 0.172414 | 0.07323 | 0.014646 | 0.019528 | 0.820179 | 0.820179 | 0.820179 | 0.820179 | 0.802278 | 0.802278 | 0 | 0.011075 | 0.266603 | 2,093 | 67 | 95 | 31.238806 | 0.789577 | 0 | 0 | 0.585366 | 0 | 0 | 0.010511 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097561 | false | 0.02439 | 0.04878 | 0 | 0.243902 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
185e869f554d29bc7caba88326432861880e615e | 87 | py | Python | image_keras/supports/functional/__init__.py | tenkeyless/image-keras | 09da179d75bb7a17d76e4fd7456b1667c8b4f62b | [
"MIT"
] | null | null | null | image_keras/supports/functional/__init__.py | tenkeyless/image-keras | 09da179d75bb7a17d76e4fd7456b1667c8b4f62b | [
"MIT"
] | 1 | 2020-06-18T06:47:32.000Z | 2020-06-18T06:47:32.000Z | common_py/functional/__init__.py | tenkeyless/common_py | fae49f038dacecef468a5c0972fdbe0d6a5a66b9 | [
"MIT"
] | null | null | null | from .either import *
from .future import *
from .monad import *
from .option import *
| 17.4 | 21 | 0.724138 | 12 | 87 | 5.25 | 0.5 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183908 | 87 | 4 | 22 | 21.75 | 0.887324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1881e51f643bba5d063f0ce1b3e4401fca981cb1 | 202 | py | Python | app/widget/__init__.py | HansBug/dgdvapp | f3142d2c265afda427bbeee46c8073e1126eeef5 | [
"Apache-2.0"
] | null | null | null | app/widget/__init__.py | HansBug/dgdvapp | f3142d2c265afda427bbeee46c8073e1126eeef5 | [
"Apache-2.0"
] | null | null | null | app/widget/__init__.py | HansBug/dgdvapp | f3142d2c265afda427bbeee46c8073e1126eeef5 | [
"Apache-2.0"
] | null | null | null | from .dialog_config import DialogConfig
from .form_generate import FormGenerate
from .form_log_process import FormLogProcess
from .form_metrics import FormMetrics
from .main_window import AppMainWindow
| 33.666667 | 44 | 0.876238 | 26 | 202 | 6.576923 | 0.615385 | 0.140351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09901 | 202 | 5 | 45 | 40.4 | 0.93956 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
43f09c545710d449af81791e0d46921fd9bf872f | 221 | py | Python | physics/error.py | dwahme/physics_calc_enabler | f0fc4c9214cd024344c5f0d3684b29666339395e | [
"MIT"
] | null | null | null | physics/error.py | dwahme/physics_calc_enabler | f0fc4c9214cd024344c5f0d3684b29666339395e | [
"MIT"
] | 1 | 2018-12-31T17:49:59.000Z | 2018-12-31T17:49:59.000Z | physics/error.py | dwahme/physics_calc_enabler | f0fc4c9214cd024344c5f0d3684b29666339395e | [
"MIT"
] | null | null | null | '''
A submodule for doing basic error analysis for experimental
physics results.
'''
def average(values):
# TODO: add documentation
pass
def percent_diff(expected, actual):
# TODO: add documentation
pass | 18.416667 | 59 | 0.714932 | 27 | 221 | 5.814815 | 0.777778 | 0.089172 | 0.254777 | 0.305732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20362 | 221 | 12 | 60 | 18.416667 | 0.892045 | 0.565611 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
a13b27ac35b40c2fe3a4e1cf4063300bf2b1b66b | 7,163 | py | Python | shade/tests/functional/test_object.py | noironetworks/shade | e46878bae44e7daebf32c0aeaeffea0011542525 | [
"Apache-2.0"
] | 96 | 2015-01-29T20:12:08.000Z | 2019-01-28T22:17:13.000Z | shade/tests/functional/test_object.py | noironetworks/shade | e46878bae44e7daebf32c0aeaeffea0011542525 | [
"Apache-2.0"
] | 7 | 2015-08-14T18:47:28.000Z | 2019-02-18T16:32:36.000Z | shade/tests/functional/test_object.py | noironetworks/shade | e46878bae44e7daebf32c0aeaeffea0011542525 | [
"Apache-2.0"
] | 88 | 2015-05-11T17:20:52.000Z | 2019-04-04T03:23:30.000Z | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under t... | 42.892216 | 78 | 0.568756 | 737 | 7,163 | 5.324288 | 0.217096 | 0.11264 | 0.102701 | 0.051988 | 0.765545 | 0.765545 | 0.755352 | 0.755352 | 0.735474 | 0.735474 | 0 | 0.010484 | 0.334218 | 7,163 | 166 | 79 | 43.150602 | 0.81233 | 0.106101 | 0 | 0.801471 | 0 | 0 | 0.050071 | 0 | 0 | 0 | 0 | 0 | 0.132353 | 1 | 0.022059 | false | 0 | 0.044118 | 0 | 0.073529 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a173108006ddc214ef88d92d7434f67d2c9d5464 | 766 | py | Python | component/mobility.py | sagelga/covid-vaccine | 8484393f001b31ef1bc3fb07246f6cfa33c18ee9 | [
"MIT"
] | null | null | null | component/mobility.py | sagelga/covid-vaccine | 8484393f001b31ef1bc3fb07246f6cfa33c18ee9 | [
"MIT"
] | 31 | 2021-03-23T08:19:55.000Z | 2021-04-28T05:33:47.000Z | component/mobility.py | sagelga/covid-vaccine | 8484393f001b31ef1bc3fb07246f6cfa33c18ee9 | [
"MIT"
] | null | null | null | import pandas as pd
def get_aapl_df():
url = 'https://raw.githubusercontent.com/ActiveConclusion/COVID19_mobility/master/apple_reports/apple_mobility_report.csv'
df = pd.read_csv(url)
return df
def get_goog_df():
url = 'https://raw.githubusercontent.com/ActiveConclusion/COVID19_mobility/master/googl... | 29.461538 | 131 | 0.759791 | 107 | 766 | 5.186916 | 0.28972 | 0.043243 | 0.072072 | 0.093694 | 0.717117 | 0.717117 | 0.717117 | 0.717117 | 0.672072 | 0.672072 | 0 | 0.012012 | 0.130548 | 766 | 25 | 132 | 30.64 | 0.821321 | 0 | 0 | 0.470588 | 0 | 0 | 0.588773 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.058824 | 0 | 0.529412 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
a1790a9de1a01844b6041ed2768afbe0185f00c5 | 92 | py | Python | office365/sharepoint/fields/field_thumbnail.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 544 | 2016-08-04T17:10:16.000Z | 2022-03-31T07:17:20.000Z | office365/sharepoint/fields/field_thumbnail.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 438 | 2016-10-11T12:24:22.000Z | 2022-03-31T19:30:35.000Z | office365/sharepoint/fields/field_thumbnail.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 202 | 2016-08-22T19:29:40.000Z | 2022-03-30T20:26:15.000Z | from office365.sharepoint.fields.field import Field
class FieldThumbnail(Field):
pass
| 15.333333 | 51 | 0.793478 | 11 | 92 | 6.636364 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037975 | 0.141304 | 92 | 5 | 52 | 18.4 | 0.886076 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
a1980d4135bf4d30710bd2b262964a71bba8f43f | 1,014 | py | Python | flexmeasures/ui/views/__init__.py | FlexMeasures/flexmeasures | a4367976d37ac5721b8eb3ce8a2414595e52c678 | [
"Apache-2.0"
] | 12 | 2021-12-18T10:41:10.000Z | 2022-03-29T23:00:29.000Z | flexmeasures/ui/views/__init__.py | FlexMeasures/flexmeasures | a4367976d37ac5721b8eb3ce8a2414595e52c678 | [
"Apache-2.0"
] | 103 | 2021-12-07T08:51:15.000Z | 2022-03-31T13:28:48.000Z | flexmeasures/ui/views/__init__.py | FlexMeasures/flexmeasures | a4367976d37ac5721b8eb3ce8a2414595e52c678 | [
"Apache-2.0"
] | 3 | 2022-01-18T04:45:48.000Z | 2022-03-14T09:48:22.000Z | """This module hosts the views. This file registers blueprints and hosts some helpful functions"""
from flexmeasures.ui import flexmeasures_ui
# Now views can register
from flexmeasures.ui.views.dashboard import ( # noqa: F401
dashboard_view as legacy_dashboard_view,
)
from flexmeasures.ui.views.new_dashboard im... | 37.555556 | 98 | 0.781065 | 145 | 1,014 | 5.317241 | 0.372414 | 0.199741 | 0.210117 | 0.238651 | 0.297017 | 0.226978 | 0.226978 | 0 | 0 | 0 | 0 | 0.031106 | 0.143984 | 1,014 | 26 | 99 | 39 | 0.857143 | 0.324458 | 0 | 0 | 0 | 0 | 0.00753 | 0 | 0 | 0 | 0 | 0.038462 | 0 | 1 | 0.0625 | true | 0 | 0.5625 | 0 | 0.6875 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a1a2e9ca174a49c4b21843591f98cd0f5c868ae3 | 108 | py | Python | tests/exog/random/random_exog_150_320.py | jmabry/pyaf | afbc15a851a2445a7824bf255af612dc429265af | [
"BSD-3-Clause"
] | null | null | null | tests/exog/random/random_exog_150_320.py | jmabry/pyaf | afbc15a851a2445a7824bf255af612dc429265af | [
"BSD-3-Clause"
] | 1 | 2019-11-30T23:39:38.000Z | 2019-12-01T04:34:35.000Z | tests/exog/random/random_exog_150_320.py | jmabry/pyaf | afbc15a851a2445a7824bf255af612dc429265af | [
"BSD-3-Clause"
] | null | null | null | import pyaf.tests.exog.test_random_exogenous as testrandexog
testrandexog.test_random_exogenous( 150,320); | 27 | 60 | 0.861111 | 15 | 108 | 5.933333 | 0.733333 | 0.224719 | 0.426966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059406 | 0.064815 | 108 | 4 | 61 | 27 | 0.821782 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a1cbb13f0d829f5ecbc5ad9ac3d3f1eb4f555da7 | 5,772 | py | Python | raiden_contracts/utils/sign.py | konradkonrad/raiden-contracts | 5726f744e8d7e80f7ca61401bd3f1084de57e30c | [
"MIT"
] | null | null | null | raiden_contracts/utils/sign.py | konradkonrad/raiden-contracts | 5726f744e8d7e80f7ca61401bd3f1084de57e30c | [
"MIT"
] | null | null | null | raiden_contracts/utils/sign.py | konradkonrad/raiden-contracts | 5726f744e8d7e80f7ca61401bd3f1084de57e30c | [
"MIT"
] | null | null | null | from web3 import Web3
from eth_abi import encode_single
from .sign_utils import sign
from raiden_contracts.constants import MessageTypeId
def hash_balance_data(transferred_amount, locked_amount, locksroot):
return Web3.soliditySha3(
['uint256', 'uint256', 'bytes32'],
[transferred_amount, locked_am... | 25.20524 | 70 | 0.650381 | 550 | 5,772 | 6.410909 | 0.110909 | 0.068066 | 0.107771 | 0.108905 | 0.819626 | 0.762904 | 0.75553 | 0.747589 | 0.680091 | 0.668463 | 0 | 0.027905 | 0.279799 | 5,772 | 228 | 71 | 25.315789 | 0.820303 | 0 | 0 | 0.713568 | 0 | 0 | 0.035516 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060302 | false | 0 | 0.020101 | 0.030151 | 0.140704 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a1ffd68b70a3e94d90d0db934d5b68551327d1d5 | 1,597 | py | Python | tests/test_tuple_strategy.py | stortiz-lifeworks/chili | 958adf88de6df995d9216b9dcf3c11f3e6885485 | [
"MIT"
] | 4 | 2021-10-01T09:50:47.000Z | 2022-02-03T05:43:04.000Z | tests/test_tuple_strategy.py | stortiz-lifeworks/chili | 958adf88de6df995d9216b9dcf3c11f3e6885485 | [
"MIT"
] | 5 | 2021-10-01T08:11:33.000Z | 2021-12-13T18:33:37.000Z | tests/test_tuple_strategy.py | stortiz-lifeworks/chili | 958adf88de6df995d9216b9dcf3c11f3e6885485 | [
"MIT"
] | null | null | null | from typing import Tuple
from chili import registry
def test_hydrate_generic_tuple() -> None:
# given
strategy = registry.get_for(tuple)
items = ["a", 1, 2.1, True]
# when
hydrated_items = strategy.hydrate(items)
# then
assert hydrated_items == ("a", 1, 2.1, True)
def test_hydrate_typ... | 20.74026 | 58 | 0.604258 | 216 | 1,597 | 4.300926 | 0.143519 | 0.077503 | 0.09042 | 0.103337 | 0.900969 | 0.900969 | 0.900969 | 0.900969 | 0.883746 | 0.861141 | 0 | 0.031327 | 0.240451 | 1,597 | 76 | 59 | 21.013158 | 0.734542 | 0.059487 | 0 | 0.5625 | 0 | 0 | 0.022927 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 1 | 0.1875 | false | 0 | 0.0625 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
62d1d043177ddc1afdb37ce3d016cae78eb3bfe0 | 2,271 | py | Python | photo_album_server/photos/migrations/0001_initial.py | Pu-Yongjun/photo-album | 6ba662c243802e53b5df5548a36c27cc31c5cede | [
"Apache-2.0"
] | 1 | 2020-12-11T05:46:37.000Z | 2020-12-11T05:46:37.000Z | photo_album_server/photos/migrations/0001_initial.py | Pu-Yongjun/photo-album | 6ba662c243802e53b5df5548a36c27cc31c5cede | [
"Apache-2.0"
] | 19 | 2020-06-05T19:51:11.000Z | 2022-03-11T23:44:47.000Z | photo_album_server/photos/migrations/0001_initial.py | parker-pu/photo-album | 6ba662c243802e53b5df5548a36c27cc31c5cede | [
"Apache-2.0"
] | null | null | null | # Generated by Django 2.1.5 on 2019-01-20 12:29
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
ope... | 45.42 | 171 | 0.600616 | 235 | 2,271 | 5.604255 | 0.331915 | 0.133637 | 0.100228 | 0.118451 | 0.733485 | 0.733485 | 0.733485 | 0.733485 | 0.733485 | 0.733485 | 0 | 0.008855 | 0.254073 | 2,271 | 49 | 172 | 46.346939 | 0.768595 | 0.019815 | 0 | 0.52381 | 1 | 0 | 0.12455 | 0.010791 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.166667 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
62d7ed0ea5dcd7bc76928b29927c0ebb86b865a9 | 19,760 | py | Python | main.py | marjanin/G2P_with_fb | 683aa5af45f37a7ac8537ce097ccc91c422c80ba | [
"MIT"
] | null | null | null | main.py | marjanin/G2P_with_fb | 683aa5af45f37a7ac8537ce097ccc91c422c80ba | [
"MIT"
] | null | null | null | main.py | marjanin/G2P_with_fb | 683aa5af45f37a7ac8537ce097ccc91c422c80ba | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
from matplotlib import pyplot as plt
import pickle
from warnings import simplefilter
from all_functions import *
from feedback_functions import *
simplefilter(action='ignore', category=FutureWarning)
# np.random.seed(0)
# [babbling_kinematics, babbling_activations] = babbling_fc... | 65.647841 | 235 | 0.801417 | 3,107 | 19,760 | 4.690698 | 0.069842 | 0.078153 | 0.022231 | 0.062989 | 0.804446 | 0.741732 | 0.720392 | 0.717373 | 0.701866 | 0.696308 | 0 | 0.047189 | 0.09165 | 19,760 | 300 | 236 | 65.866667 | 0.764778 | 0.094433 | 0 | 0.443515 | 0 | 0 | 0.005109 | 0.003481 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.029289 | 0 | 0.029289 | 0.020921 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a7eb527833529ec5d9540a0df0878bf3286e1e79 | 143 | py | Python | midas_web_solution/menu/admin.py | jupiny/MIDASWebSolution | c6250bb7aeab815b3c759ae4f7b419da50c26b1c | [
"MIT"
] | null | null | null | midas_web_solution/menu/admin.py | jupiny/MIDASWebSolution | c6250bb7aeab815b3c759ae4f7b419da50c26b1c | [
"MIT"
] | null | null | null | midas_web_solution/menu/admin.py | jupiny/MIDASWebSolution | c6250bb7aeab815b3c759ae4f7b419da50c26b1c | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Menu
class MenuAdmin(admin.ModelAdmin):
pass
admin.site.register(Menu, MenuAdmin)
| 14.3 | 36 | 0.776224 | 19 | 143 | 5.842105 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146853 | 143 | 9 | 37 | 15.888889 | 0.909836 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
c51277255498510c7788d0aabbaaeedc21c52724 | 371 | py | Python | script.py | LNDHULK34/db8bot | cec34f4319b30754b273b6044e5c6eb010e6d6ff | [
"MIT"
] | null | null | null | script.py | LNDHULK34/db8bot | cec34f4319b30754b273b6044e5c6eb010e6d6ff | [
"MIT"
] | null | null | null | script.py | LNDHULK34/db8bot | cec34f4319b30754b273b6044e5c6eb010e6d6ff | [
"MIT"
] | null | null | null | import lib.scholarly as scholarly
# searchstr = input()
# print(searchstr)
# print(next(scholarly.search_pubs_query("https://heinonline.org/hol-cgi-bin/get_pdf.cgi?handle=hein.journals/hlr130§ion=49")))
# print(next(scholarly.search_pubs_query(searchstr)))
print(next(scholarly.search_pubs_query('Perception of phys... | 53 | 131 | 0.797844 | 54 | 371 | 5.351852 | 0.62963 | 0.093426 | 0.186851 | 0.249135 | 0.404844 | 0.404844 | 0.290657 | 0 | 0 | 0 | 0 | 0.017341 | 0.067385 | 371 | 7 | 132 | 53 | 0.817919 | 0.587601 | 0 | 0 | 0 | 0 | 0.436242 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
c5537a94467e96f9b8e7b0b42a11754fb8d9563a | 17 | py | Python | __init__.py | neonkitchen/beta-tcvae | c1903d923944a79c58b63b73a6060bf53b003443 | [
"MIT"
] | null | null | null | __init__.py | neonkitchen/beta-tcvae | c1903d923944a79c58b63b73a6060bf53b003443 | [
"MIT"
] | null | null | null | __init__.py | neonkitchen/beta-tcvae | c1903d923944a79c58b63b73a6060bf53b003443 | [
"MIT"
] | null | null | null | import lib.dist
| 8.5 | 16 | 0.764706 | 3 | 17 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 17 | 1 | 17 | 17 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3d7fbc4cbbf991ea74df371a22127cbce3ff929d | 137 | py | Python | tests/test_import.py | GoodManWEN/bare_pypi_init_update | 916b4d4d1238a1e7b60609a1103effb7e26963d2 | [
"MIT"
] | null | null | null | tests/test_import.py | GoodManWEN/bare_pypi_init_update | 916b4d4d1238a1e7b60609a1103effb7e26963d2 | [
"MIT"
] | null | null | null | tests/test_import.py | GoodManWEN/bare_pypi_init_update | 916b4d4d1238a1e7b60609a1103effb7e26963d2 | [
"MIT"
] | null | null | null | import os , sys
sys.path.append(os.getcwd())
import pytest
from repo_name import *
@pytest.mark.asyncio
async def test_import():
... | 17.125 | 28 | 0.722628 | 21 | 137 | 4.619048 | 0.714286 | 0.247423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145985 | 137 | 8 | 29 | 17.125 | 0.82906 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3da4516df467db0cf1190dffee4345fa1cd2cc2f | 140 | py | Python | Pedigrad_py/SegmentCategory/SegmentCategory.py | remytuyeras/pedigrad-library | 14846b3ddeac87f010a976f03b1b6d5245efc73b | [
"MIT"
] | 8 | 2019-03-08T21:43:15.000Z | 2021-08-12T19:43:21.000Z | Pedigrad_py/SegmentCategory/SegmentCategory.py | remytuyeras/pedigrad-library | 14846b3ddeac87f010a976f03b1b6d5245efc73b | [
"MIT"
] | null | null | null | Pedigrad_py/SegmentCategory/SegmentCategory.py | remytuyeras/pedigrad-library | 14846b3ddeac87f010a976f03b1b6d5245efc73b | [
"MIT"
] | 1 | 2022-02-24T10:01:37.000Z | 2022-02-24T10:01:37.000Z | from cl_pro import PreOrder
from cl_so import SegmentObject
from cl_mos import MorphismOfSegments
from cl_cos import CategoryOfSegments
| 15.555556 | 37 | 0.857143 | 20 | 140 | 5.8 | 0.55 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 140 | 8 | 38 | 17.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3dd2973cf9fe73122e008856cf206f860d61c06c | 57 | py | Python | 2019/day_4/test_star_2.py | j-benson/advent-of-code | ec8162e769b45a54931c049daa4a0f492e773493 | [
"MIT"
] | null | null | null | 2019/day_4/test_star_2.py | j-benson/advent-of-code | ec8162e769b45a54931c049daa4a0f492e773493 | [
"MIT"
] | null | null | null | 2019/day_4/test_star_2.py | j-benson/advent-of-code | ec8162e769b45a54931c049daa4a0f492e773493 | [
"MIT"
] | null | null | null |
import star_2
print(star_2.contains_adjacent('224555')) | 14.25 | 41 | 0.807018 | 9 | 57 | 4.777778 | 0.777778 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 0.070175 | 57 | 4 | 41 | 14.25 | 0.660377 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 1 | 0 | 6 |
9ab6c972a337a9a4794c1c1950e12141c510cb83 | 27,974 | py | Python | code/python/FactSetEntity/v1/fds/sdk/FactSetEntity/api/entity_reference_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 6 | 2022-02-07T16:34:18.000Z | 2022-03-30T08:04:57.000Z | code/python/FactSetEntity/v1/fds/sdk/FactSetEntity/api/entity_reference_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 2 | 2022-02-07T05:25:57.000Z | 2022-03-07T14:18:04.000Z | code/python/FactSetEntity/v1/fds/sdk/FactSetEntity/api/entity_reference_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | null | null | null | """
FactSet Entity API
Using an entity centric data model, FactSet's Entity API provides access to FactSet's complete security and entity level symbology, comprehensive entity reference data, and all of the necessary relationships and connections to create a foundation that tightly correlates disparate sources... | 50.861818 | 609 | 0.612605 | 3,226 | 27,974 | 5.180719 | 0.092064 | 0.025848 | 0.018668 | 0.022976 | 0.880452 | 0.864656 | 0.86346 | 0.847005 | 0.847005 | 0.847005 | 0 | 0.00825 | 0.324015 | 27,974 | 549 | 610 | 50.954463 | 0.875568 | 0.616251 | 0 | 0.609865 | 0 | 0 | 0.158745 | 0.073636 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044843 | false | 0 | 0.044843 | 0 | 0.130045 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9ae831dec7f026851789b00d7431813c28ad990b | 10,214 | py | Python | tests/functional/test_jsonrpc_specs.py | vladcalin/pymicroservice | 325a49d17621b9d45ffd2b5eca6f0de284de8ba4 | [
"MIT"
] | 2 | 2016-12-17T13:09:14.000Z | 2016-12-31T18:38:57.000Z | tests/functional/test_jsonrpc_specs.py | vladcalin/pymicroservice | 325a49d17621b9d45ffd2b5eca6f0de284de8ba4 | [
"MIT"
] | 15 | 2016-11-27T13:28:25.000Z | 2017-01-10T09:09:30.000Z | tests/functional/test_jsonrpc_specs.py | vladcalin/pymicroservice | 325a49d17621b9d45ffd2b5eca6f0de284de8ba4 | [
"MIT"
] | null | null | null | """
Contains tests that assert the compliance with the
JSON RPC 2.0 specifications (http://www.jsonrpc.org/specification)
"""
import logging
import simplejson as json
import pytest
from tests.services.service_jsonrpc_specs import ServiceJsonRpcSpecs
@pytest.fixture
def app():
service = ServiceJsonRpcSpecs()
... | 40.693227 | 108 | 0.618661 | 1,313 | 10,214 | 4.637471 | 0.102056 | 0.139924 | 0.138939 | 0.041879 | 0.837412 | 0.815241 | 0.78338 | 0.767942 | 0.7461 | 0.689112 | 0 | 0.030416 | 0.214607 | 10,214 | 250 | 109 | 40.856 | 0.728621 | 0.023791 | 0 | 0.621891 | 0 | 0.00995 | 0.179873 | 0 | 0 | 0 | 0 | 0 | 0.343284 | 1 | 0.069652 | false | 0 | 0.019901 | 0 | 0.094527 | 0.00995 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9af6789ad7c7cb5f1a6419706656130eb737a52c | 253 | py | Python | server/constants.py | Shnitselon/torque-vs-code-extensions | c53fe0b777d86b90f0c8dd7a3e3dda531316267e | [
"Apache-2.0"
] | null | null | null | server/constants.py | Shnitselon/torque-vs-code-extensions | c53fe0b777d86b90f0c8dd7a3e3dda531316267e | [
"Apache-2.0"
] | null | null | null | server/constants.py | Shnitselon/torque-vs-code-extensions | c53fe0b777d86b90f0c8dd7a3e3dda531316267e | [
"Apache-2.0"
] | null | null | null | PREDEFINED_TORQUE_INPUTS = [
"$torque.environment.id",
"$torque.environment.virtual_network_id",
"$torque.environment.public_address",
"$torque.repos.current.current",
"$torque.repos.current.url",
"$torque.repos.current.token"
]
| 28.111111 | 45 | 0.703557 | 27 | 253 | 6.407407 | 0.481481 | 0.294798 | 0.312139 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134387 | 253 | 8 | 46 | 31.625 | 0.789954 | 0 | 0 | 0 | 0 | 0 | 0.6917 | 0.6917 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b1305f14fabdebf7d51b44aff261961d2d026403 | 147 | py | Python | boa3_test/test_sc/neo_type_test/UInt256ConcatWithBytes.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3_test/test_sc/neo_type_test/UInt256ConcatWithBytes.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3_test/test_sc/neo_type_test/UInt256ConcatWithBytes.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | from boa3.builtin import public
from boa3.builtin.type import UInt256
@public
def uint256_method(arg: UInt256) -> bytes:
return arg + b'123'
| 18.375 | 42 | 0.748299 | 22 | 147 | 4.954545 | 0.636364 | 0.146789 | 0.275229 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113821 | 0.163265 | 147 | 7 | 43 | 21 | 0.772358 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 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 | 1 | 1 | 0 | 0 | 6 |
b133299c6bd6fbaeea515e9c5dbf150eca645c44 | 115 | py | Python | pyhiveapi/apyhiveapi/helper/__init__.py | ms32035/Pyhiveapi | c84389aa8118acd006a4b228e58b6a966e49e7dc | [
"MIT"
] | 10 | 2020-10-11T20:50:36.000Z | 2021-05-01T16:11:19.000Z | pyhiveapi/apyhiveapi/helper/__init__.py | ms32035/Pyhiveapi | c84389aa8118acd006a4b228e58b6a966e49e7dc | [
"MIT"
] | 11 | 2020-10-27T19:34:12.000Z | 2021-03-11T22:30:13.000Z | pyhiveapi/apyhiveapi/helper/__init__.py | ms32035/Pyhiveapi | c84389aa8118acd006a4b228e58b6a966e49e7dc | [
"MIT"
] | 8 | 2020-10-05T18:55:41.000Z | 2021-03-04T23:45:05.000Z | """__init__.py file."""
from .hive_helper import HiveHelper # noqa: F401
from .logger import Logger # noqa: F401
| 28.75 | 49 | 0.721739 | 16 | 115 | 4.875 | 0.6875 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061856 | 0.156522 | 115 | 3 | 50 | 38.333333 | 0.742268 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
499093152a32f66619204ce206d7fc86b9da4db3 | 173 | py | Python | moveit_commander/src/moveit_commander/__init__.py | Bhavam/moveit | 6b56cd68d76ae29d1ceb255d06be35543dd3f830 | [
"BSD-3-Clause"
] | 1,116 | 2016-07-29T06:39:49.000Z | 2022-03-31T08:42:14.000Z | moveit_commander/src/moveit_commander/__init__.py | Bhavam/moveit | 6b56cd68d76ae29d1ceb255d06be35543dd3f830 | [
"BSD-3-Clause"
] | 2,784 | 2016-07-29T15:19:38.000Z | 2022-03-31T01:35:59.000Z | moveit_commander/src/moveit_commander/__init__.py | Bhavam/moveit | 6b56cd68d76ae29d1ceb255d06be35543dd3f830 | [
"BSD-3-Clause"
] | 956 | 2016-07-30T17:03:44.000Z | 2022-03-31T15:48:31.000Z | from .exception import *
from .roscpp_initializer import *
from .planning_scene_interface import *
from .move_group import *
from .robot import *
from .interpreter import *
| 24.714286 | 39 | 0.791908 | 22 | 173 | 6.045455 | 0.545455 | 0.37594 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138728 | 173 | 6 | 40 | 28.833333 | 0.892617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7713cc53f359831a64b7e090c4d9bd83f373aba5 | 207 | py | Python | ssacc/utils/utils.py | tomwillis608/ssacc | f716357fba9383c75b98c3ffdb241d790e204a4b | [
"MIT"
] | 1 | 2021-07-18T20:25:24.000Z | 2021-07-18T20:25:24.000Z | ssacc/utils/utils.py | tomwillis608/ssacc | f716357fba9383c75b98c3ffdb241d790e204a4b | [
"MIT"
] | 314 | 2020-08-29T18:58:58.000Z | 2022-03-29T01:19:54.000Z | ssacc/utils/utils.py | tomwillis608/ssacc | f716357fba9383c75b98c3ffdb241d790e204a4b | [
"MIT"
] | null | null | null | """Utility functions."""
from pathlib import Path
def get_project_root() -> Path:
"""Consistently get the project root for any module in source tree."""
return Path(__file__).parent.parent.parent
| 23 | 74 | 0.719807 | 28 | 207 | 5.107143 | 0.75 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164251 | 207 | 8 | 75 | 25.875 | 0.82659 | 0.400966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
773131c7c59b08517ed46d312140b62122e7da23 | 56,144 | py | Python | osm_nbi/tests/test_descriptor_topics.py | CrossStream/etsi_nbi | 9fe58b17a7d58efbf87df1ae119907b9071ecf2f | [
"Apache-2.0"
] | null | null | null | osm_nbi/tests/test_descriptor_topics.py | CrossStream/etsi_nbi | 9fe58b17a7d58efbf87df1ae119907b9071ecf2f | [
"Apache-2.0"
] | null | null | null | osm_nbi/tests/test_descriptor_topics.py | CrossStream/etsi_nbi | 9fe58b17a7d58efbf87df1ae119907b9071ecf2f | [
"Apache-2.0"
] | null | null | null | #! /usr/bin/python3
# -*- coding: utf-8 -*-
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | 68.719706 | 120 | 0.585174 | 6,844 | 56,144 | 4.668469 | 0.065167 | 0.066195 | 0.028732 | 0.023035 | 0.874621 | 0.840819 | 0.81697 | 0.796125 | 0.766017 | 0.733592 | 0 | 0.009644 | 0.268648 | 56,144 | 816 | 121 | 68.803922 | 0.768491 | 0.024028 | 0 | 0.551451 | 0 | 0.003958 | 0.297193 | 0.061675 | 0 | 0 | 0 | 0 | 0.300792 | 1 | 0.01847 | false | 0.005277 | 0.01847 | 0 | 0.051451 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
91f94cb8899bc5a2c28e3da16e4835cedf777204 | 155 | py | Python | mainapp/admin.py | DBarthe/chatbox | f0a467cb5c24594e1bad14cc0f2c94a91a57ff48 | [
"MIT"
] | null | null | null | mainapp/admin.py | DBarthe/chatbox | f0a467cb5c24594e1bad14cc0f2c94a91a57ff48 | [
"MIT"
] | null | null | null | mainapp/admin.py | DBarthe/chatbox | f0a467cb5c24594e1bad14cc0f2c94a91a57ff48 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Message
class MessageAdmin(admin.ModelAdmin):
pass
admin.site.register(Message, MessageAdmin)
| 15.5 | 42 | 0.793548 | 19 | 155 | 6.473684 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135484 | 155 | 9 | 43 | 17.222222 | 0.91791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
6207946af6e25d6cfcbffae495c23d8e40decda2 | 29 | py | Python | registry/signup/__init__.py | HTPhenotyping/registration | 07d224e6bc537c20f9428e81bbac09bad012d64c | [
"Apache-2.0"
] | null | null | null | registry/signup/__init__.py | HTPhenotyping/registration | 07d224e6bc537c20f9428e81bbac09bad012d64c | [
"Apache-2.0"
] | 46 | 2020-05-11T14:20:41.000Z | 2020-09-18T18:15:17.000Z | registry/signup/__init__.py | HTPhenotyping/registration | 07d224e6bc537c20f9428e81bbac09bad012d64c | [
"Apache-2.0"
] | null | null | null | from .views import signup_bp
| 14.5 | 28 | 0.827586 | 5 | 29 | 4.6 | 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 | 1 | 0 | 0 | 6 |
6260edef6b6eefb3032d565eaed97623b61ccbcd | 2,222 | py | Python | tests/resources/test_wallets.py | danielcoker/embedpy | 6af5a794a50e3b9b03efb03eadb0ba46dca2cd8d | [
"MIT"
] | null | null | null | tests/resources/test_wallets.py | danielcoker/embedpy | 6af5a794a50e3b9b03efb03eadb0ba46dca2cd8d | [
"MIT"
] | 1 | 2022-01-12T14:13:39.000Z | 2022-01-12T14:35:43.000Z | tests/resources/test_wallets.py | danielcoker/embedpy | 6af5a794a50e3b9b03efb03eadb0ba46dca2cd8d | [
"MIT"
] | 2 | 2021-07-15T11:16:29.000Z | 2022-03-28T01:07:31.000Z | from embed.resources.wallet import Wallet
from unittest.mock import MagicMock, patch
import json
@patch("embed.common.APIResponse.get_essential_details")
def test_can_get_wallets(mock_get_essential_details, api_session):
wallet = Wallet(api_session)
mock_get_essential_details.return_value = MagicMock()
wa... | 35.269841 | 89 | 0.720972 | 288 | 2,222 | 5.173611 | 0.163194 | 0.128859 | 0.204027 | 0.12349 | 0.736913 | 0.700671 | 0.700671 | 0.700671 | 0.700671 | 0.700671 | 0 | 0.006414 | 0.157966 | 2,222 | 62 | 90 | 35.83871 | 0.789952 | 0 | 0 | 0.407407 | 0 | 0 | 0.281278 | 0.20207 | 0 | 0 | 0 | 0 | 0.074074 | 1 | 0.074074 | false | 0 | 0.055556 | 0 | 0.12963 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 6 |
627e1ccdf29677cc3b8227775fcbdd7a3441ce36 | 27 | py | Python | code/model/__init__.py | wukailu/EDSR-PyTorch | 5625cf83ce88050b68e649beb4155b32c38018fa | [
"MIT"
] | 74 | 2020-03-08T15:29:00.000Z | 2022-03-05T14:57:33.000Z | code/model/__init__.py | wukailu/EDSR-PyTorch | 5625cf83ce88050b68e649beb4155b32c38018fa | [
"MIT"
] | 19 | 2020-03-06T08:56:51.000Z | 2022-03-27T05:07:35.000Z | code/model/__init__.py | wukailu/EDSR-PyTorch | 5625cf83ce88050b68e649beb4155b32c38018fa | [
"MIT"
] | 23 | 2020-03-20T08:19:55.000Z | 2022-03-16T17:40:09.000Z | from .model_utils import *
| 13.5 | 26 | 0.777778 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6550cd169424597d8ffd211318ef2b3ff2d55504 | 14 | py | Python | login.py | fmk-0309/git_ssh | c0122f61ca62143172b20646897d173bb6207da3 | [
"MIT"
] | 3 | 2018-09-27T07:27:13.000Z | 2019-04-02T13:39:03.000Z | login.py | fmk-0309/git_ssh | c0122f61ca62143172b20646897d173bb6207da3 | [
"MIT"
] | null | null | null | login.py | fmk-0309/git_ssh | c0122f61ca62143172b20646897d173bb6207da3 | [
"MIT"
] | null | null | null | a = 10
b = 20
| 4.666667 | 6 | 0.428571 | 4 | 14 | 1.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.428571 | 14 | 2 | 7 | 7 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 6 |
65894989dfdbf1aceef7deb331666e5d3466ba07 | 47 | py | Python | scan_models/niagara/__init__.py | ssdemajia/ids-backend | 188af247befa44596f62c660c24b05474d1ba29f | [
"MIT"
] | 1 | 2020-05-22T09:52:33.000Z | 2020-05-22T09:52:33.000Z | scan_models/niagara/__init__.py | ssdemajia/ids-backend | 188af247befa44596f62c660c24b05474d1ba29f | [
"MIT"
] | 8 | 2021-03-18T21:22:40.000Z | 2022-03-11T23:32:48.000Z | scan_models/niagara/__init__.py | ssdemajia/ids-backend | 188af247befa44596f62c660c24b05474d1ba29f | [
"MIT"
] | null | null | null | from .scan import niagara_resolve, niagara_scan | 47 | 47 | 0.87234 | 7 | 47 | 5.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
65a52c09452b8d62f53f896d08045672061495c1 | 44 | py | Python | hs/__init__.py | Fawers/horriblesubs-hourly-notifier | b8c610d9fdd6494976e00e5a7fad746013669280 | [
"MIT"
] | 10 | 2019-01-14T10:24:53.000Z | 2022-03-29T02:39:09.000Z | hs/__init__.py | Fawers/horriblesubs-hourly-notifier | b8c610d9fdd6494976e00e5a7fad746013669280 | [
"MIT"
] | null | null | null | hs/__init__.py | Fawers/horriblesubs-hourly-notifier | b8c610d9fdd6494976e00e5a7fad746013669280 | [
"MIT"
] | null | null | null | from . import rss, frontpage, links # noqa
| 22 | 43 | 0.704545 | 6 | 44 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 44 | 1 | 44 | 44 | 0.885714 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
65ddf8e65929af3f40881f87fcf1bbb545ce5239 | 49 | py | Python | test.py | ellastyko/Widowmaker-1917-1922 | 2d9d2b8f273ea210997223193b6b9426ada3d738 | [
"MIT"
] | null | null | null | test.py | ellastyko/Widowmaker-1917-1922 | 2d9d2b8f273ea210997223193b6b9426ada3d738 | [
"MIT"
] | null | null | null | test.py | ellastyko/Widowmaker-1917-1922 | 2d9d2b8f273ea210997223193b6b9426ada3d738 | [
"MIT"
] | null | null | null | from config import Config
print(Config.BASEDIR)
| 12.25 | 25 | 0.816327 | 7 | 49 | 5.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 49 | 3 | 26 | 16.333333 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
65e3f279390edc9cb38d4856ec86ef2938ac77e6 | 12,157 | py | Python | GoogleDorker.py | artech-git/GHDB-googleDorker | e238b9f11deee119ea493c80d5636ec74dd1776b | [
"MIT"
] | null | null | null | GoogleDorker.py | artech-git/GHDB-googleDorker | e238b9f11deee119ea493c80d5636ec74dd1776b | [
"MIT"
] | null | null | null | GoogleDorker.py | artech-git/GHDB-googleDorker | e238b9f11deee119ea493c80d5636ec74dd1776b | [
"MIT"
] | 1 | 2020-08-17T00:10:37.000Z | 2020-08-17T00:10:37.000Z | #!usr/bin/env python3
import requests
import re
import optparse
import subprocess
import time
def get_arguments():
parser = optparse.OptionParser()
parser.add_option("-u", "--url", dest="url", help="Target URL")
parser.add_option('-m', '--manual', help="Enables manual mode", action="store_true"... | 54.761261 | 364 | 0.537879 | 1,467 | 12,157 | 4.367417 | 0.134288 | 0.055252 | 0.024973 | 0.025285 | 0.862494 | 0.862494 | 0.858748 | 0.846262 | 0.844545 | 0.837678 | 0 | 0.01219 | 0.257712 | 12,157 | 221 | 365 | 55.00905 | 0.697806 | 0.022785 | 0 | 0.673267 | 0 | 0.074257 | 0.549502 | 0.125086 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014851 | false | 0 | 0.024752 | 0 | 0.044554 | 0.242574 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
02c07dc9c7f18ffb84f402d85b98df384f7004f6 | 216 | py | Python | tests/data/plugins_project/libs/multiple_plugin_files/plugins/handlers.py | inmanta/inmanta-core | ae2153d57f124d00ad1b58e6d4bc6818364be4a8 | [
"Apache-2.0"
] | 6 | 2021-03-09T10:24:02.000Z | 2022-01-16T03:52:11.000Z | tests/data/plugins_project/libs/multiple_plugin_files/plugins/handlers.py | inmanta/inmanta-core | ae2153d57f124d00ad1b58e6d4bc6818364be4a8 | [
"Apache-2.0"
] | 1,319 | 2020-12-18T08:52:29.000Z | 2022-03-31T18:17:32.000Z | tests/data/plugins_project/libs/multiple_plugin_files/plugins/handlers.py | inmanta/inmanta-core | ae2153d57f124d00ad1b58e6d4bc6818364be4a8 | [
"Apache-2.0"
] | 4 | 2021-03-03T15:36:50.000Z | 2022-03-11T11:41:51.000Z | from inmanta.agent.handler import ResourceHandler, provider
from inmanta_plugins.multiple_plugin_files.helpers import helper
@provider("std::Directory", name="myhandler")
class MyHandler(ResourceHandler):
pass
| 27 | 64 | 0.819444 | 25 | 216 | 6.96 | 0.76 | 0.126437 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 216 | 7 | 65 | 30.857143 | 0.887755 | 0 | 0 | 0 | 0 | 0 | 0.106481 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
02c33c0602a6a04145c3ecdff47775fcd5dfeafb | 24,201 | py | Python | src/parser/PyxellLexer.py | ThatXliner/Pyxell | 72c58fd26fe1eded038ba5bf11c327c9b33cdd31 | [
"MIT"
] | null | null | null | src/parser/PyxellLexer.py | ThatXliner/Pyxell | 72c58fd26fe1eded038ba5bf11c327c9b33cdd31 | [
"MIT"
] | null | null | null | src/parser/PyxellLexer.py | ThatXliner/Pyxell | 72c58fd26fe1eded038ba5bf11c327c9b33cdd31 | [
"MIT"
] | null | null | null | # Generated from Pyxell.g4 by ANTLR 4.9.1
from antlr4 import *
from io import StringIO
from typing.io import TextIO
import sys
def serializedATN():
with StringIO() as buf:
buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2S")
buf.write("\u025d\b\1\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\... | 58.883212 | 103 | 0.560555 | 5,517 | 24,201 | 2.400761 | 0.168751 | 0.146168 | 0.082673 | 0.087278 | 0.233447 | 0.139373 | 0.060778 | 0.052548 | 0.048773 | 0.047565 | 0 | 0.358413 | 0.15425 | 24,201 | 410 | 104 | 59.026829 | 0.288695 | 0.001612 | 0 | 0 | 1 | 0.479592 | 0.626749 | 0.58105 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005102 | false | 0 | 0.010204 | 0 | 0.247449 | 0.002551 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
02e184776feb00f7f15454f39e42354325d8a0cd | 196 | py | Python | fabfile.py | ZimGreen/edbo-connector-py | 2787c5a43af1229d93591b735cd14cebaf792c39 | [
"MIT"
] | 2 | 2017-08-05T17:20:58.000Z | 2017-08-13T09:44:13.000Z | fabfile.py | ZimGreen/edbo-connector-py | 2787c5a43af1229d93591b735cd14cebaf792c39 | [
"MIT"
] | 1 | 2017-12-14T05:00:56.000Z | 2017-12-14T05:00:56.000Z | fabfile.py | EldarAliiev/python-edbo-connector | 2787c5a43af1229d93591b735cd14cebaf792c39 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from fabric.api import run
def publish():
"""Publish package to PyPi repository"""
run('python3 setup.py bdist_wheel sdist upload --sign')
| 19.6 | 59 | 0.663265 | 28 | 196 | 4.607143 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012422 | 0.178571 | 196 | 9 | 60 | 21.777778 | 0.78882 | 0.392857 | 0 | 0 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f3011e9cb2694b55cc81c37cc91b855f9ebdc747 | 134 | py | Python | tests/test_init.py | dendisuhubdy/datamine_python | 22ca2a580b3f6360cef9f6219a43bae935294353 | [
"BSD-3-Clause"
] | null | null | null | tests/test_init.py | dendisuhubdy/datamine_python | 22ca2a580b3f6360cef9f6219a43bae935294353 | [
"BSD-3-Clause"
] | null | null | null | tests/test_init.py | dendisuhubdy/datamine_python | 22ca2a580b3f6360cef9f6219a43bae935294353 | [
"BSD-3-Clause"
] | null | null | null | import datamine
def test_package_has_version():
assert hasattr(datamine, '__version__')
assert len(datamine.__version__) > 0 | 22.333333 | 43 | 0.761194 | 16 | 134 | 5.6875 | 0.6875 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008772 | 0.149254 | 134 | 6 | 44 | 22.333333 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.081481 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b831a1d83c386ff35d888e82700fbc234a4bb809 | 1,044 | py | Python | 05_restapi_argumentParser/caculator.py | choisungwook/practice_flask | a2059d8d7c011e3d560f7bb042575a7ff080c235 | [
"MIT"
] | null | null | null | 05_restapi_argumentParser/caculator.py | choisungwook/practice_flask | a2059d8d7c011e3d560f7bb042575a7ff080c235 | [
"MIT"
] | null | null | null | 05_restapi_argumentParser/caculator.py | choisungwook/practice_flask | a2059d8d7c011e3d560f7bb042575a7ff080c235 | [
"MIT"
] | null | null | null | from flask_restful import Resource, reqparse
from flask import jsonify
class Add(Resource):
def get(self):
parser = reqparse.RequestParser(bundle_errors=True)
parser.add_argument('operand1', type=int, required=True, help='operand1 is required The detail error is{error_msg}')
parser.add_argument('operand2... | 40.153846 | 122 | 0.727011 | 136 | 1,044 | 5.485294 | 0.25 | 0.048257 | 0.091153 | 0.101877 | 0.898123 | 0.898123 | 0.898123 | 0.898123 | 0.898123 | 0.898123 | 0 | 0.022523 | 0.149425 | 1,044 | 26 | 123 | 40.153846 | 0.817568 | 0 | 0 | 0.7 | 0 | 0 | 0.27177 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b83b1add13f6271187ec9f7c8847f542ca329b3c | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/f2py/common_rules.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/f2py/common_rules.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/f2py/common_rules.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/21/67/d1/41f865482ce20e7fb7846a08a481c643bc82f84682d162b1f58ad7b3a2 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 96 | 1 | 96 | 96 | 0.4375 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b843393ab79b4d575a1e1b2c1e57ea34cffb25ff | 297 | py | Python | tests/test_cos_matrix2.py | ffreemt/freemt-utils | 25bf192033235bb783005795f8c0bcdd8a79610f | [
"MIT"
] | null | null | null | tests/test_cos_matrix2.py | ffreemt/freemt-utils | 25bf192033235bb783005795f8c0bcdd8a79610f | [
"MIT"
] | null | null | null | tests/test_cos_matrix2.py | ffreemt/freemt-utils | 25bf192033235bb783005795f8c0bcdd8a79610f | [
"MIT"
] | null | null | null | # from freemt_utils.make_url import make_url
from freemt_utils import cos_matrix2
def test_cos_matrix2():
''' test cos_matrix2. '''
assert cos_matrix2([[1, 1]], [[1, 1]])[0, 0] > 0.9
def test_cos_matrix2a():
''' test cos_matrix2. '''
assert cos_matrix2([[1, 1]])[0, 0] > 0.9
| 19.8 | 54 | 0.632997 | 48 | 297 | 3.645833 | 0.3125 | 0.342857 | 0.24 | 0.228571 | 0.422857 | 0.422857 | 0.365714 | 0.365714 | 0 | 0 | 0 | 0.0875 | 0.191919 | 297 | 14 | 55 | 21.214286 | 0.641667 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
b89454fc4303b4272285f2699649796ed1343439 | 36,716 | py | Python | learning/tests/views/test_activity_views.py | dbcaturra/django-koala-azure | 7b79b7484e3530513b97ed148333ba0778f38a3e | [
"MIT"
] | null | null | null | learning/tests/views/test_activity_views.py | dbcaturra/django-koala-azure | 7b79b7484e3530513b97ed148333ba0778f38a3e | [
"MIT"
] | null | null | null | learning/tests/views/test_activity_views.py | dbcaturra/django-koala-azure | 7b79b7484e3530513b97ed148333ba0778f38a3e | [
"MIT"
] | null | null | null | #
# Copyright (C) 2019 Guillaume Bernard <guillaume.bernard@koala-lms.org>
# Copyright (C) 2020 Raphaël Penault <raphael.penault@etudiant.univ-lr.fr>
# Copyright (C) 2020 Nolwenn Machon <nolwenn.machon@etudiant.univ-lr.fr>
#
# This file is part of Koala LMS (Learning Management system)
# Koala LMS is free software: y... | 48.120577 | 119 | 0.679949 | 4,305 | 36,716 | 5.575145 | 0.069454 | 0.049998 | 0.099746 | 0.063747 | 0.858214 | 0.835799 | 0.818883 | 0.798925 | 0.782467 | 0.75676 | 0 | 0.010288 | 0.200485 | 36,716 | 762 | 120 | 48.183727 | 0.807324 | 0.028271 | 0 | 0.638933 | 0 | 0 | 0.137988 | 0.069079 | 0 | 0 | 0 | 0 | 0.299843 | 1 | 0.081633 | false | 0.00157 | 0.014129 | 0 | 0.097331 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b230dbbdc6a44cea06c6ae7a88c00dba082a275b | 192 | py | Python | enumtables/alembic_ops/__init__.py | gazorby/gino-enum-tables | 68e43530d07b9fa81551c400639956cbe43b3ba2 | [
"Apache-2.0"
] | null | null | null | enumtables/alembic_ops/__init__.py | gazorby/gino-enum-tables | 68e43530d07b9fa81551c400639956cbe43b3ba2 | [
"Apache-2.0"
] | null | null | null | enumtables/alembic_ops/__init__.py | gazorby/gino-enum-tables | 68e43530d07b9fa81551c400639956cbe43b3ba2 | [
"Apache-2.0"
] | null | null | null | try:
import alembic
except ModuleNotFoundError:
pass # Expected exception
else:
from .alembic_ops import EnumInsertOp, EnumDeleteOp
from .alembic_autogen import compare_enums
| 24 | 55 | 0.776042 | 21 | 192 | 6.952381 | 0.761905 | 0.150685 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 192 | 7 | 56 | 27.428571 | 0.935897 | 0.09375 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.142857 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
b257f6717a2f3bd580e8c2a281e46b3b574a4629 | 1,155 | py | Python | notebooks/Sophie1/project_functions2.py | data301-2021-winter1/project-group42-project | a1177177f0620657315ebed7822598fc6c0f4dd8 | [
"MIT"
] | null | null | null | notebooks/Sophie1/project_functions2.py | data301-2021-winter1/project-group42-project | a1177177f0620657315ebed7822598fc6c0f4dd8 | [
"MIT"
] | null | null | null | notebooks/Sophie1/project_functions2.py | data301-2021-winter1/project-group42-project | a1177177f0620657315ebed7822598fc6c0f4dd8 | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
def load_and_process(url_or_path_to_csv_file):
#Method Chain 1 - loading data
df_0=(pd.read_csv(url_or_path_to_csv_file, encoding='unicode_escape'))
#Method Chain 2 - dropping columns and processing data for df1
df_1=(df_0
.drop(columns=['INCIDENT_NU... | 44.423077 | 178 | 0.667532 | 169 | 1,155 | 4.266272 | 0.420118 | 0.027739 | 0.049931 | 0.061026 | 0.837725 | 0.837725 | 0.837725 | 0.837725 | 0.837725 | 0.837725 | 0 | 0.015284 | 0.206926 | 1,155 | 26 | 179 | 44.423077 | 0.771834 | 0.228571 | 0 | 0.444444 | 0 | 0 | 0.266366 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.111111 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b2b13afb7bf942e050ae1c191a343164698f5859 | 26,674 | py | Python | fmpsdk/company_valuation.py | ipl31/fmpsdk | fba494ee7c123d8ca12a2b456c27655edfa24455 | [
"BSD-3-Clause"
] | null | null | null | fmpsdk/company_valuation.py | ipl31/fmpsdk | fba494ee7c123d8ca12a2b456c27655edfa24455 | [
"BSD-3-Clause"
] | null | null | null | fmpsdk/company_valuation.py | ipl31/fmpsdk | fba494ee7c123d8ca12a2b456c27655edfa24455 | [
"BSD-3-Clause"
] | null | null | null | import typing
import logging
import requests
from .settings import (
BASE_URL_v3,
DEFAULT_LIMIT,
FINANCIAL_STATEMENT_FILENAME,
CASH_FLOW_STATEMENT_FILENAME,
INCOME_STATEMENT_FILENAME,
BALANCE_SHEET_STATEMENT_FILENAME,
INCOME_STATEMENT_AS_REPORTED_FILENAME,
BALANCE_SHEET_STATEMENT_AS_REP... | 30.908459 | 88 | 0.661693 | 3,405 | 26,674 | 4.998825 | 0.051395 | 0.075612 | 0.02679 | 0.040186 | 0.850831 | 0.825098 | 0.812819 | 0.772575 | 0.751953 | 0.737971 | 0 | 0.00231 | 0.220852 | 26,674 | 862 | 89 | 30.944316 | 0.816677 | 0.3169 | 0 | 0.582949 | 0 | 0 | 0.138526 | 0.047342 | 0 | 0 | 0 | 0 | 0 | 1 | 0.087558 | false | 0 | 0.011521 | 0 | 0.184332 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a24afb1247a1ee3eec101b00a6f34bf2ddc4a700 | 160 | py | Python | tests/urls.py | lenarother/django-critical-css | 15c12ea02f7ea049e59efba4d963c35f41f26d78 | [
"MIT"
] | 2 | 2020-06-06T06:50:38.000Z | 2022-02-03T08:54:28.000Z | tests/urls.py | lenarother/django-critical-css | 15c12ea02f7ea049e59efba4d963c35f41f26d78 | [
"MIT"
] | 5 | 2018-12-17T11:12:20.000Z | 2020-11-27T10:28:51.000Z | tests/urls.py | lenarother/django-critical-css | 15c12ea02f7ea049e59efba4d963c35f41f26d78 | [
"MIT"
] | 1 | 2021-08-19T06:02:44.000Z | 2021-08-19T06:02:44.000Z | try:
from django.urls import include, url
except ImportError:
from django.conf.urls import include, url
urlpatterns = [url(r'', include('cms.urls'))]
| 20 | 45 | 0.70625 | 22 | 160 | 5.136364 | 0.590909 | 0.176991 | 0.300885 | 0.353982 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16875 | 160 | 7 | 46 | 22.857143 | 0.849624 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 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 | 1 | 0 | 0 | 6 |
a254a7aeef1e4efe256a6460a82f662dc6b9a927 | 125 | py | Python | GPErks/serialization/labels.py | stelong/GPErks | 7e8e0e4561c10ad21fba2079619418e416a167b6 | [
"MIT"
] | null | null | null | GPErks/serialization/labels.py | stelong/GPErks | 7e8e0e4561c10ad21fba2079619418e416a167b6 | [
"MIT"
] | 6 | 2021-12-10T14:16:51.000Z | 2022-03-25T16:26:50.000Z | GPErks/serialization/labels.py | stelong/GPErks | 7e8e0e4561c10ad21fba2079619418e416a167b6 | [
"MIT"
] | 1 | 2022-01-28T11:12:33.000Z | 2022-01-28T11:12:33.000Z | def read_labels_from_file(labels_file_path):
with open(labels_file_path, "r") as f:
return f.read().splitlines()
| 31.25 | 44 | 0.712 | 20 | 125 | 4.1 | 0.65 | 0.243902 | 0.341463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168 | 125 | 3 | 45 | 41.666667 | 0.788462 | 0 | 0 | 0 | 0 | 0 | 0.008 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 6 |
a2dafd326fe659346652f4e6498ea2553021c151 | 26 | py | Python | utils/__init__.py | jackklys/wake-sleep-modifications | f3e515eea8f683bf32bf3cfeed31a237bfcc2347 | [
"MIT"
] | 2 | 2018-06-11T03:41:09.000Z | 2019-11-25T09:39:01.000Z | utils/__init__.py | jackklys/wake-sleep-modifications | f3e515eea8f683bf32bf3cfeed31a237bfcc2347 | [
"MIT"
] | null | null | null | utils/__init__.py | jackklys/wake-sleep-modifications | f3e515eea8f683bf32bf3cfeed31a237bfcc2347 | [
"MIT"
] | 3 | 2017-07-21T08:40:21.000Z | 2020-10-04T21:15:53.000Z | from utils.misc import *
| 13 | 25 | 0.730769 | 4 | 26 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 1 | 26 | 26 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.