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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
07903db577d6578eb0072744a8b2aa4a53149300 | 87 | py | Python | scripts/test/utils/__init__.py | JetBrains-Research/Lupa | c105487621564c60cae17395bf32eb40868ceb89 | [
"Apache-2.0"
] | 16 | 2022-01-11T00:32:20.000Z | 2022-03-25T21:40:52.000Z | scripts/test/utils/__init__.py | JetBrains-Research/Lupa | c105487621564c60cae17395bf32eb40868ceb89 | [
"Apache-2.0"
] | 5 | 2022-01-11T09:36:52.000Z | 2022-03-14T10:24:31.000Z | scripts/test/utils/__init__.py | JetBrains-Research/Lupa | c105487621564c60cae17395bf32eb40868ceb89 | [
"Apache-2.0"
] | 2 | 2022-03-07T20:08:56.000Z | 2022-03-25T21:40:56.000Z | from test import TEST_DATA_FOLDER
UTILS_TEST_DATA_FOLDER = TEST_DATA_FOLDER / 'utils'
| 21.75 | 51 | 0.83908 | 14 | 87 | 4.714286 | 0.428571 | 0.363636 | 0.636364 | 0.575758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114943 | 87 | 3 | 52 | 29 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.057471 | 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 |
07a427cf67f78309960e1c4e6137a0c5eecad0aa | 16,539 | py | Python | tests/test_github_service.py | admdev8/git-portfolio | 4269923bac2d31c9058b76bb6facfdadd4045603 | [
"MIT"
] | 1 | 2020-10-19T13:11:32.000Z | 2020-10-19T13:11:32.000Z | tests/test_github_service.py | admdev8/git-portfolio | 4269923bac2d31c9058b76bb6facfdadd4045603 | [
"MIT"
] | 179 | 2020-12-15T06:37:58.000Z | 2022-03-31T08:06:51.000Z | tests/test_github_service.py | admdev8/git-portfolio | 4269923bac2d31c9058b76bb6facfdadd4045603 | [
"MIT"
] | null | null | null | """Test cases for the Github service module."""
import unittest
from typing import List
import github3
import pytest
from pytest_mock import MockerFixture
import git_portfolio.domain.gh_connection_settings as cs
import git_portfolio.domain.issue as i
import git_portfolio.domain.pull_request as pr
import git_portfolio... | 31.744722 | 88 | 0.709777 | 1,958 | 16,539 | 5.703779 | 0.099591 | 0.026325 | 0.061426 | 0.084169 | 0.817335 | 0.789488 | 0.756716 | 0.720272 | 0.709348 | 0.671024 | 0 | 0.011332 | 0.183627 | 16,539 | 520 | 89 | 31.805769 | 0.815805 | 0.069291 | 0 | 0.629534 | 0 | 0 | 0.108674 | 0.001576 | 0 | 0 | 0 | 0 | 0.049223 | 1 | 0.088083 | false | 0.002591 | 0.025907 | 0 | 0.132124 | 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 |
07c0f3b514a42e902a0eeeb273c2fc95564ee428 | 48 | py | Python | src/road_collisions_base/__init__.py | RobertLucey/road-collisions-base | 677b49e5872a48b2d2c89047321f5f5870e44f8a | [
"Unlicense"
] | null | null | null | src/road_collisions_base/__init__.py | RobertLucey/road-collisions-base | 677b49e5872a48b2d2c89047321f5f5870e44f8a | [
"Unlicense"
] | null | null | null | src/road_collisions_base/__init__.py | RobertLucey/road-collisions-base | 677b49e5872a48b2d2c89047321f5f5870e44f8a | [
"Unlicense"
] | null | null | null | from road_collisions_base.logging import logger
| 24 | 47 | 0.895833 | 7 | 48 | 5.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.931818 | 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 |
07fb36bf3c791e0512059e4f421b3df5a215d3ee | 13,139 | py | Python | DQM/EcalMonitorTasks/python/TimingTask_cfi.py | malbouis/cmssw | 16173a30d3f0c9ecc5419c474bb4d272c58b65c8 | [
"Apache-2.0"
] | 2 | 2020-10-26T18:40:32.000Z | 2021-04-10T16:33:25.000Z | DQM/EcalMonitorTasks/python/TimingTask_cfi.py | gartung/cmssw | 3072dde3ce94dcd1791d778988198a44cde02162 | [
"Apache-2.0"
] | 30 | 2015-11-04T11:42:27.000Z | 2021-12-01T07:56:34.000Z | DQM/EcalMonitorTasks/python/TimingTask_cfi.py | gartung/cmssw | 3072dde3ce94dcd1791d778988198a44cde02162 | [
"Apache-2.0"
] | 8 | 2016-03-25T07:17:43.000Z | 2021-07-08T17:11:21.000Z | import FWCore.ParameterSet.Config as cms
bxBins = [1]
bxStepSizes = [9, 50, 100, 300]
bxMaxVals = [101, 1501, 2401, 3601]
runningMinVal = 1
for stepCounter in range(len(bxStepSizes)):
runningMinVal = bxBins[-1]
bxStepSize = bxStepSizes[stepCounter]
bxMaxVal = bxMaxVals[stepCounter]
bxBins += list(ran... | 55.910638 | 368 | 0.60134 | 1,454 | 13,139 | 5.424347 | 0.128611 | 0.248003 | 0.175732 | 0.049575 | 0.78547 | 0.784963 | 0.777228 | 0.772917 | 0.766324 | 0.760238 | 0 | 0.024436 | 0.271177 | 13,139 | 234 | 369 | 56.149573 | 0.799185 | 0 | 0 | 0.604444 | 0 | 0.048889 | 0.248421 | 0.038664 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004444 | 0 | 0.004444 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ed0d16e27761e3ff1cf384b507c489599c0708ec | 110 | py | Python | src/moncash/exceptions/too_many_requests_error.py | MLHaiti/moncash_python | 3b8677312306379020c36b774bbfbf39c085a7be | [
"MIT"
] | 15 | 2021-03-02T01:25:37.000Z | 2022-03-12T14:20:07.000Z | src/moncash/exceptions/too_many_requests_error.py | Wadprog/moncash_python | 3b8677312306379020c36b774bbfbf39c085a7be | [
"MIT"
] | 6 | 2021-03-04T17:22:11.000Z | 2022-03-12T16:54:43.000Z | src/moncash/exceptions/too_many_requests_error.py | Wadprog/moncash_python | 3b8677312306379020c36b774bbfbf39c085a7be | [
"MIT"
] | 3 | 2022-03-07T15:54:41.000Z | 2022-03-12T14:24:27.000Z | from moncash.exceptions.moncash_error import MoncashError
class TooManyRequestsError(MoncashError):
pass | 27.5 | 58 | 0.845455 | 11 | 110 | 8.363636 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 110 | 4 | 59 | 27.5 | 0.938776 | 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 |
ed1f794640c40d2836f54f751c7d0c844b2d648b | 46 | py | Python | latex/slides/resources/01_getting_started/hello_world.py | AntonObersteiner/python-lessons | 1d5536f0777853fba437566672cfb1d613984945 | [
"CC-BY-4.0"
] | null | null | null | latex/slides/resources/01_getting_started/hello_world.py | AntonObersteiner/python-lessons | 1d5536f0777853fba437566672cfb1d613984945 | [
"CC-BY-4.0"
] | null | null | null | latex/slides/resources/01_getting_started/hello_world.py | AntonObersteiner/python-lessons | 1d5536f0777853fba437566672cfb1d613984945 | [
"CC-BY-4.0"
] | null | null | null | #z.B. in hello_world.py
print("Hello World")
| 11.5 | 23 | 0.695652 | 9 | 46 | 3.444444 | 0.777778 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 46 | 3 | 24 | 15.333333 | 0.775 | 0.478261 | 0 | 0 | 0 | 0 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
ed36b9ddf27ef3041b92f766091cfb3d76e9bc69 | 5,835 | py | Python | src/rStuff/rUtils.py | KGBTR/Reddit-Repost-Bot-RipOff | 8875a20466c834f4310ca3af643f81f3d9a721dd | [
"MIT"
] | 3 | 2021-03-18T13:46:52.000Z | 2021-04-06T06:42:19.000Z | src/rStuff/rUtils.py | KGBTR/Reddit-Repost-Bot-RipOff | 8875a20466c834f4310ca3af643f81f3d9a721dd | [
"MIT"
] | 2 | 2021-03-16T07:11:17.000Z | 2021-03-22T08:02:50.000Z | src/rStuff/rUtils.py | KGBTR/Reddit-Repost-Bot | 8875a20466c834f4310ca3af643f81f3d9a721dd | [
"MIT"
] | null | null | null | import requests
rBase = "https://www.reddit.com"
# Some stuff.. ------------------
turkish_subs = ["Turkey", "TurkeyJerky", "testyapiyorum", "KGBTR", "svihs", "burdurland"]
# -------------------------------
class rNotif:
def __init__(self, notif):
# self.kind = notif['kind'] # kind
content = n... | 36.93038 | 124 | 0.552871 | 692 | 5,835 | 4.426301 | 0.180636 | 0.041136 | 0.023506 | 0.016977 | 0.739471 | 0.733595 | 0.705844 | 0.705844 | 0.703232 | 0.703232 | 0 | 0.007023 | 0.31671 | 5,835 | 157 | 125 | 37.165605 | 0.761224 | 0.091345 | 0 | 0.778626 | 0 | 0 | 0.135115 | 0.020277 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083969 | false | 0.007634 | 0.007634 | 0.030534 | 0.206107 | 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 |
ed6e0ea7f72dc65e892956ac3b452937aa169907 | 46 | py | Python | mlsd_pytorch/loss/__init__.py | michelebechini/mlsd_pytorch | fa7dcd10dd1f4e12f33df027c14950c8b655ff06 | [
"Apache-2.0"
] | 73 | 2021-06-07T08:07:00.000Z | 2022-03-09T08:33:19.000Z | mlsd_pytorch/loss/__init__.py | michelebechini/mlsd_pytorch | fa7dcd10dd1f4e12f33df027c14950c8b655ff06 | [
"Apache-2.0"
] | 10 | 2021-06-08T10:44:47.000Z | 2022-03-29T00:06:02.000Z | mlsd_pytorch/loss/__init__.py | michelebechini/mlsd_pytorch | fa7dcd10dd1f4e12f33df027c14950c8b655ff06 | [
"Apache-2.0"
] | 13 | 2021-06-08T02:35:49.000Z | 2022-03-25T01:27:37.000Z | from .mlsd_multi_loss import LineSegmentLoss | 46 | 46 | 0.869565 | 6 | 46 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 1 | 46 | 46 | 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 |
ed85f8a4d18c2db26dc50a226b614818104d1a69 | 47 | py | Python | tests/test_phase_identification.py | volpatto/gibbs | 776acff6166dd4fd3039d55074542d995ac91754 | [
"MIT"
] | 28 | 2019-05-25T14:50:00.000Z | 2022-01-18T00:54:22.000Z | tests/test_phase_identification.py | volpatto/gibbs | 776acff6166dd4fd3039d55074542d995ac91754 | [
"MIT"
] | 10 | 2019-06-15T06:07:14.000Z | 2021-09-01T04:32:50.000Z | tests/test_phase_identification.py | volpatto/gibbs | 776acff6166dd4fd3039d55074542d995ac91754 | [
"MIT"
] | 5 | 2019-08-04T05:37:34.000Z | 2022-01-18T10:10:40.000Z | import pytest
import gibbs.phase_identification | 23.5 | 33 | 0.914894 | 6 | 47 | 7 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 47 | 2 | 33 | 23.5 | 0.954545 | 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 |
ed895d59a38557f542237ab3b2b97220cba1300d | 158 | py | Python | ofstest/ofs/doctype/credit_and_sales_transactions/test_credit_and_sales_transactions.py | keithyang77/ofstest | aed4c8d22ea1f7857d6e6fcf774ec36d26a5ed17 | [
"MIT"
] | null | null | null | ofstest/ofs/doctype/credit_and_sales_transactions/test_credit_and_sales_transactions.py | keithyang77/ofstest | aed4c8d22ea1f7857d6e6fcf774ec36d26a5ed17 | [
"MIT"
] | null | null | null | ofstest/ofs/doctype/credit_and_sales_transactions/test_credit_and_sales_transactions.py | keithyang77/ofstest | aed4c8d22ea1f7857d6e6fcf774ec36d26a5ed17 | [
"MIT"
] | null | null | null | # Copyright (c) 2021, mds and Contributors
# See license.txt
# import frappe
import unittest
class TestCreditandSalesTransactions(unittest.TestCase):
pass
| 17.555556 | 56 | 0.797468 | 18 | 158 | 7 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029197 | 0.132911 | 158 | 8 | 57 | 19.75 | 0.890511 | 0.443038 | 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 |
9c1cfee61cba3c07a3b05e98d451fd721cb52344 | 27,224 | py | Python | tests/QUBO/test_fleet.py | ajmcastro/quantum-tail-assignment | 5bc6de6b7d771d4e662bdfec2a0c3791265e2dba | [
"Apache-2.0"
] | null | null | null | tests/QUBO/test_fleet.py | ajmcastro/quantum-tail-assignment | 5bc6de6b7d771d4e662bdfec2a0c3791265e2dba | [
"Apache-2.0"
] | null | null | null | tests/QUBO/test_fleet.py | ajmcastro/quantum-tail-assignment | 5bc6de6b7d771d4e662bdfec2a0c3791265e2dba | [
"Apache-2.0"
] | null | null | null | import sys, os
sys.path.append(os.path.dirname(os.path.realpath(__file__)) + "/../../src")
import unittest
import scheduler.QUBO.macros as macros
from models.Activity import Activity, Flight, Maintenance
from models.AircraftModelFleet import AircraftModel
from models.Aircraft import Aircraft
from models.Airport import ... | 53.171875 | 716 | 0.651337 | 3,481 | 27,224 | 5.002298 | 0.054007 | 0.09648 | 0.038132 | 0.095101 | 0.893298 | 0.87004 | 0.838224 | 0.831505 | 0.828461 | 0.824844 | 0 | 0.085998 | 0.173927 | 27,224 | 512 | 717 | 53.171875 | 0.688292 | 0.045071 | 0 | 0.688742 | 0 | 0.003311 | 0.146041 | 0.036606 | 0 | 0 | 0 | 0 | 0.10596 | 1 | 0.056291 | false | 0 | 0.039735 | 0 | 0.099338 | 0.069536 | 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 |
9c736be17448656515a89829e3ceb20b18a5639b | 39 | py | Python | test/__init__.py | grinya007/recomlive | 6c75c0869c9c310e6b91c74b1ccf278edcb4ee57 | [
"MIT"
] | 12 | 2019-05-13T09:33:35.000Z | 2022-02-28T15:12:07.000Z | test/__init__.py | grinya007/recomlive | 6c75c0869c9c310e6b91c74b1ccf278edcb4ee57 | [
"MIT"
] | 1 | 2019-04-27T11:44:05.000Z | 2019-04-27T11:56:32.000Z | test/__init__.py | grinya007/recomlive | 6c75c0869c9c310e6b91c74b1ccf278edcb4ee57 | [
"MIT"
] | 2 | 2020-04-04T15:35:02.000Z | 2021-07-08T11:20:15.000Z | from .test_recommender import AllInOne
| 19.5 | 38 | 0.871795 | 5 | 39 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.942857 | 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 |
92bcda8e05081d2bb8f4ff14e0cee4711ad3a0f5 | 61 | py | Python | ProgrammingBasics/Expression.py | DPlamenov/Homework-tasks | 81e7316d23b4b182d67e09278004e88d1bfc2023 | [
"Apache-2.0"
] | null | null | null | ProgrammingBasics/Expression.py | DPlamenov/Homework-tasks | 81e7316d23b4b182d67e09278004e88d1bfc2023 | [
"Apache-2.0"
] | 1 | 2017-10-22T12:53:53.000Z | 2017-10-22T12:53:53.000Z | ProgrammingBasics/Expression.py | DPlamenov/Homework-tasks | 81e7316d23b4b182d67e09278004e88d1bfc2023 | [
"Apache-2.0"
] | 1 | 2022-01-14T17:12:44.000Z | 2022-01-14T17:12:44.000Z | print((3522 + 52353) * 23 - (2336 * 501 + 23432 - 6743) * 3)
| 30.5 | 60 | 0.540984 | 9 | 61 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.608696 | 0.245902 | 61 | 1 | 61 | 61 | 0.108696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 6 |
92ce019cbdccd1ce4e0a6cef5e008d15f7c9d409 | 85 | py | Python | src/gui/__init__.py | mflaxman/specter-diy | 3f0c21c0ec534f8178c572baebbb901f9be1652b | [
"MIT"
] | 279 | 2019-08-31T02:26:24.000Z | 2022-03-30T06:34:33.000Z | src/gui/__init__.py | moneymanolis/specter-diy | 324f3ed7f27ea1d3385077039861cdeaf21c427a | [
"MIT"
] | 125 | 2019-09-17T10:48:57.000Z | 2022-03-11T11:06:51.000Z | src/gui/__init__.py | moneymanolis/specter-diy | 324f3ed7f27ea1d3385077039861cdeaf21c427a | [
"MIT"
] | 58 | 2019-09-03T17:11:13.000Z | 2022-03-31T03:17:40.000Z | from .core import init, update, ioloop
from . import screens
from . import async_gui
| 21.25 | 38 | 0.776471 | 13 | 85 | 5 | 0.692308 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164706 | 85 | 3 | 39 | 28.333333 | 0.915493 | 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 |
92d441e3e09c24559b4916e7e32a6f69afee5804 | 200 | py | Python | ir_sens_no_ros/Template/Fiware/baseFiwareClass.py | mucelee/rpi_sensys | a7b5b0859ceb8d0b4b9df09289b62901bef9033d | [
"MIT"
] | null | null | null | ir_sens_no_ros/Template/Fiware/baseFiwareClass.py | mucelee/rpi_sensys | a7b5b0859ceb8d0b4b9df09289b62901bef9033d | [
"MIT"
] | null | null | null | ir_sens_no_ros/Template/Fiware/baseFiwareClass.py | mucelee/rpi_sensys | a7b5b0859ceb8d0b4b9df09289b62901bef9033d | [
"MIT"
] | null | null | null | class BaseFiwareClass(object):
def __init__(self):
self._isDirty = False
def is_dirty(self):
return False
def clear_dirty(self):
self._isDirty = False
| 18.181818 | 31 | 0.595 | 22 | 200 | 5.045455 | 0.545455 | 0.144144 | 0.27027 | 0.36036 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.325 | 200 | 10 | 32 | 20 | 0.822222 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
92d4ea85f12b7b862ea010fe3e63be5cbfdf0938 | 96 | py | Python | venv/lib/python3.8/site-packages/libfuturize/fixes/fix_cmp.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/libfuturize/fixes/fix_cmp.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/libfuturize/fixes/fix_cmp.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/06/5a/bf/67420691888a4bcdd0cd9e70520a49c997d0899a04b1627554fc978056 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.479167 | 0 | 96 | 1 | 96 | 96 | 0.416667 | 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 |
92d95acb5f433c23dc94ed55efacecebc45f96ee | 8,237 | py | Python | tests/sentry/tasks/post_process/tests.py | hieast/sentry | 1179b6b13e86f552d18da0578d7b3bc5d002c0d9 | [
"BSD-3-Clause"
] | null | null | null | tests/sentry/tasks/post_process/tests.py | hieast/sentry | 1179b6b13e86f552d18da0578d7b3bc5d002c0d9 | [
"BSD-3-Clause"
] | 4 | 2020-09-05T14:32:35.000Z | 2021-05-09T17:26:50.000Z | tests/sentry/tasks/post_process/tests.py | hieast/sentry | 1179b6b13e86f552d18da0578d7b3bc5d002c0d9 | [
"BSD-3-Clause"
] | 1 | 2020-07-03T00:52:19.000Z | 2020-07-03T00:52:19.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from datetime import timedelta
from django.utils import timezone
from mock import Mock, patch
from sentry import tagstore
from sentry.models import Group, GroupSnooze, GroupStatus, ServiceHook
from sentry.testutils import TestCase
from sentry.tasks.merge... | 31.438931 | 90 | 0.601918 | 897 | 8,237 | 5.253066 | 0.121516 | 0.046689 | 0.04584 | 0.046689 | 0.817487 | 0.800722 | 0.790747 | 0.747029 | 0.739389 | 0.727929 | 0 | 0.002095 | 0.304723 | 8,237 | 261 | 91 | 31.559387 | 0.820674 | 0.007041 | 0 | 0.695238 | 0 | 0 | 0.060543 | 0.050391 | 0 | 0 | 0 | 0 | 0.07619 | 1 | 0.042857 | false | 0 | 0.042857 | 0 | 0.095238 | 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 |
92ec00f1fb9763962d048a3cf4da57b372f43e73 | 171 | py | Python | TuFlix/Servicios/views.py | vvarrela/TuFlixPlusOSE | 69d86de54e6449dff394cebabe6dcce685204591 | [
"MIT"
] | null | null | null | TuFlix/Servicios/views.py | vvarrela/TuFlixPlusOSE | 69d86de54e6449dff394cebabe6dcce685204591 | [
"MIT"
] | null | null | null | TuFlix/Servicios/views.py | vvarrela/TuFlixPlusOSE | 69d86de54e6449dff394cebabe6dcce685204591 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def Ejemplo(request):
return HttpResponse("Bienvenido a Servicios") | 28.5 | 49 | 0.80117 | 22 | 171 | 6.227273 | 0.818182 | 0.145985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134503 | 171 | 6 | 49 | 28.5 | 0.925676 | 0.134503 | 0 | 0 | 0 | 0 | 0.14966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
133eaae09f24567853d36ee84c4339ae3dcda921 | 21 | py | Python | pydojo/__init__.py | sprintingkiwi/PYDOJO | f88724da4f514cc5d3f639ca5103c513a25065f7 | [
"MIT"
] | 7 | 2016-07-21T18:04:18.000Z | 2022-02-12T14:14:54.000Z | pycraft_minetest-0.7/pycraft_minetest/__init__.py | Lopastudio/complete-builder-for-minetest | 23f1bca1f2aa87146c759ad3e8e5b8d62aec57a4 | [
"MIT"
] | 2 | 2016-07-23T22:54:59.000Z | 2018-04-03T15:29:08.000Z | pycraft_minetest-0.7/pycraft_minetest/__init__.py | Lopastudio/complete-builder-for-minetest | 23f1bca1f2aa87146c759ad3e8e5b8d62aec57a4 | [
"MIT"
] | 4 | 2017-05-21T17:45:10.000Z | 2020-10-13T16:42:33.000Z | from . main import *
| 10.5 | 20 | 0.666667 | 3 | 21 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 21 | 1 | 21 | 21 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
135435077db59cadddbe20ea65e62037561c9ad9 | 7,035 | py | Python | tests/integration/test_batch_propagation.py | Ellipsanime/openpype-shotgun | 21c753d3dd4d55923462f3c833f650678b138b6e | [
"MIT"
] | 6 | 2021-09-01T16:04:30.000Z | 2022-02-14T21:41:51.000Z | tests/integration/test_batch_propagation.py | Ellipsanime/shotgrid-leecher | a2272e77d1f1326026bf1ccb19adeb32ea05f676 | [
"MIT"
] | null | null | null | tests/integration/test_batch_propagation.py | Ellipsanime/shotgrid-leecher | a2272e77d1f1326026bf1ccb19adeb32ea05f676 | [
"MIT"
] | null | null | null | import pytest
from _pytest.monkeypatch import MonkeyPatch
from assertpy import assert_that
from mock import Mock
from mongomock.mongo_client import MongoClient
from asset import propagation_data
from shotgrid_leecher.controller import batch_controller
from shotgrid_leecher.record.enums import DbName, AvalonType
from s... | 33.183962 | 76 | 0.691684 | 853 | 7,035 | 5.368113 | 0.104338 | 0.108102 | 0.052413 | 0.062896 | 0.88076 | 0.88076 | 0.88076 | 0.873335 | 0.873335 | 0.854117 | 0 | 0.002312 | 0.200569 | 7,035 | 211 | 77 | 33.341232 | 0.811878 | 0.016063 | 0 | 0.661111 | 0 | 0 | 0.065334 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0 | false | 0 | 0.055556 | 0 | 0.055556 | 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 |
1387094157b6aff0ef2410138d6c40f984d7ccc8 | 98 | py | Python | cassle/__init__.py | DonkeyShot21/cassle | d25f9c7cb5e822660dc1ef03e7fac09a33d0b1a8 | [
"MIT"
] | 13 | 2022-03-24T10:08:44.000Z | 2022-03-29T09:33:05.000Z | cassle/__init__.py | DonkeyShot21/cassle | d25f9c7cb5e822660dc1ef03e7fac09a33d0b1a8 | [
"MIT"
] | null | null | null | cassle/__init__.py | DonkeyShot21/cassle | d25f9c7cb5e822660dc1ef03e7fac09a33d0b1a8 | [
"MIT"
] | null | null | null | from cassle import args, losses, methods, utils
__all__ = ["args", "losses", "methods", "utils"]
| 24.5 | 48 | 0.683673 | 12 | 98 | 5.25 | 0.666667 | 0.31746 | 0.539683 | 0.698413 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 98 | 3 | 49 | 32.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.22449 | 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 |
13ae394cf9087dd9cc46273c239e3b9ac35b6878 | 5,200 | py | Python | testing/tests/historical_state_access.py | dnllvrvz/cadCAD | f931945eafc3b4654f6eb7de3592f14f34c220ae | [
"MIT"
] | 3 | 2020-05-26T12:17:48.000Z | 2020-06-25T12:03:37.000Z | testing/tests/historical_state_access.py | dnllvrvz/cadCAD | f931945eafc3b4654f6eb7de3592f14f34c220ae | [
"MIT"
] | 4 | 2020-05-26T21:03:44.000Z | 2020-06-30T12:13:15.000Z | testing/tests/historical_state_access.py | dnllvrvz/cadCAD | f931945eafc3b4654f6eb7de3592f14f34c220ae | [
"MIT"
] | 1 | 2019-12-11T18:28:18.000Z | 2019-12-11T18:28:18.000Z | import unittest
import pandas as pd
from cadCAD.engine import ExecutionMode, ExecutionContext, Executor
from testing.generic_test import make_generic_test
from testing.system_models import historical_state_access
from cadCAD import configs
exec_mode = ExecutionMode()
single_proc_ctx = ExecutionContext(context=exec_m... | 41.6 | 121 | 0.398269 | 602 | 5,200 | 3.20598 | 0.111296 | 0.11399 | 0.205181 | 0.056995 | 0.707772 | 0.707772 | 0.702073 | 0.701036 | 0.701036 | 0.694819 | 0 | 0.068502 | 0.385192 | 5,200 | 124 | 122 | 41.935484 | 0.535189 | 0.001731 | 0 | 0.684211 | 0 | 0 | 0.260794 | 0.004433 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008772 | false | 0.008772 | 0.052632 | 0.008772 | 0.078947 | 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 |
13b3ad2bca1636111e3a3e8a7dc42780dcdea4fe | 4,776 | py | Python | PyNORXTESTS.py | SparkDustJoe/PyNORX | bf20949c1ec38257c9f0089f978cda887a7a4d13 | [
"Unlicense"
] | 1 | 2021-11-30T09:05:01.000Z | 2021-11-30T09:05:01.000Z | PyNORXTESTS.py | SparkDustJoe/PyNORX | bf20949c1ec38257c9f0089f978cda887a7a4d13 | [
"Unlicense"
] | null | null | null | PyNORXTESTS.py | SparkDustJoe/PyNORX | bf20949c1ec38257c9f0089f978cda887a7a4d13 | [
"Unlicense"
] | null | null | null | import hashlib;
from PyNORX import PyNORX;
from PyNORXTESTCASES import PyNORXTestCases;
import colorama;
from termcolor import cprint;
def RUN_TESTS():
colorama.init();
cprint("PyNORX Self-Tests:", 'cyan')
#32-bit=========================================================================================... | 51.354839 | 111 | 0.515913 | 605 | 4,776 | 4.006612 | 0.171901 | 0.069307 | 0.039604 | 0.054455 | 0.815182 | 0.80033 | 0.781353 | 0.721122 | 0.693069 | 0.685644 | 0 | 0.072844 | 0.249791 | 4,776 | 92 | 112 | 51.913043 | 0.603684 | 0.052345 | 0 | 0.525 | 0 | 0 | 0.165929 | 0 | 0 | 0 | 0.049558 | 0 | 0 | 1 | 0.0125 | false | 0.1 | 0.0625 | 0 | 0.075 | 0.375 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
13ba492dbb4209d545c3fe9fded43fb04acffeb2 | 13,540 | py | Python | features/audio_features/audiotext_features.py | jim-schwoebel/allie | d85db041b91c81dfb3fd1a4d719b5aaaf3b6697e | [
"Apache-2.0"
] | 87 | 2020-08-07T09:05:11.000Z | 2022-01-24T00:48:22.000Z | features/audio_features/audiotext_features.py | jim-schwoebel/allie | d85db041b91c81dfb3fd1a4d719b5aaaf3b6697e | [
"Apache-2.0"
] | 87 | 2020-08-07T19:12:10.000Z | 2022-02-08T14:46:34.000Z | features/audio_features/audiotext_features.py | jim-schwoebel/allie | d85db041b91c81dfb3fd1a4d719b5aaaf3b6697e | [
"Apache-2.0"
] | 25 | 2020-08-07T20:03:08.000Z | 2022-03-16T07:33:25.000Z | '''
AAA lllllll lllllll iiii
A:::A l:::::l l:::::l i::::i
A:::::A l:::::l l:::::l iiii
A:::::::A l:::::l l:::::l
... | 89.668874 | 3,266 | 0.476957 | 1,569 | 13,540 | 3.946463 | 0.19949 | 0.042959 | 0.010659 | 0.007106 | 0.789729 | 0.771964 | 0.770026 | 0.754845 | 0.749031 | 0.746286 | 0 | 0.000389 | 0.240473 | 13,540 | 151 | 3,267 | 89.668874 | 0.601711 | 0.164106 | 0 | 0.104167 | 0 | 0 | 0.478172 | 0.022138 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020833 | false | 0.041667 | 0.083333 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
13bc26e80b59bfb16b3bbefa415831928278bca1 | 23 | py | Python | tchamba/__init__.py | Fcmam5/tchamba | c64e7474bbd4975cfa6c208ac6a8bef240e989cf | [
"MIT"
] | 14 | 2017-01-01T18:02:25.000Z | 2018-11-16T20:19:15.000Z | tchamba/__init__.py | Fcmam5/tchamba | c64e7474bbd4975cfa6c208ac6a8bef240e989cf | [
"MIT"
] | 2 | 2017-01-01T15:05:46.000Z | 2017-01-02T17:19:28.000Z | tchamba/__init__.py | Fcmam5/tchamba | c64e7474bbd4975cfa6c208ac6a8bef240e989cf | [
"MIT"
] | 5 | 2017-01-01T11:58:08.000Z | 2020-05-15T02:44:09.000Z | from .tchamba import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
13bdbbf94eacb9624e4d21bb3d43c595bf42c4bb | 113 | py | Python | 6.00.1x/MidTerm Quiz/P4Palindrome.py | MErmanProject/My-Projects | ca393b71ea8537f21a28dc6ca1558da27bcaa907 | [
"CC0-1.0"
] | null | null | null | 6.00.1x/MidTerm Quiz/P4Palindrome.py | MErmanProject/My-Projects | ca393b71ea8537f21a28dc6ca1558da27bcaa907 | [
"CC0-1.0"
] | null | null | null | 6.00.1x/MidTerm Quiz/P4Palindrome.py | MErmanProject/My-Projects | ca393b71ea8537f21a28dc6ca1558da27bcaa907 | [
"CC0-1.0"
] | null | null | null | def isPalindrome(aString):
return aString == '' or aString[0] == aString[-1] and isPalindrome(aString[1:-1]) | 56.5 | 85 | 0.681416 | 15 | 113 | 5.133333 | 0.533333 | 0.493506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041237 | 0.141593 | 113 | 2 | 85 | 56.5 | 0.752577 | 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 |
13d2d865a2f5622d8f81091d64199559726139e4 | 174 | py | Python | Yashttpd/__init__.py | incorpusyehtee/centralized-coin | d83b8e2883ea0c98833a1d922a34063454b47a51 | [
"Unlicense"
] | 6 | 2015-02-27T16:18:29.000Z | 2018-08-03T22:17:25.000Z | Yashttpd/__init__.py | incorpusyehtee/centralized-coin | d83b8e2883ea0c98833a1d922a34063454b47a51 | [
"Unlicense"
] | 1 | 2019-02-10T15:25:43.000Z | 2019-02-10T15:25:43.000Z | Yashttpd/__init__.py | JPeroutek/mycoin | 07576c70a1370cbe4ede7f1360c3675b0770cbda | [
"Unlicense"
] | 7 | 2015-05-03T17:55:58.000Z | 2019-02-10T14:48:48.000Z | from yashttpd import *
from constants import *
from echo import *
from handlers import *
#constants.py echo.py handlers.py home.html __init__.py README.md yashttpd.py
| 24.857143 | 83 | 0.758621 | 26 | 174 | 4.923077 | 0.461538 | 0.234375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 174 | 6 | 84 | 29 | 0.888889 | 0.471264 | 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 |
13ec2ea23da877ca314ec553ecfb0d5319c3c9ab | 3,572 | py | Python | responsibleai/tests/test_input_processing.py | alexquach/responsible-ai-widgets | 6208f72a5dc14b955f0e8b7b2203d0cd74f32497 | [
"MIT"
] | 295 | 2021-01-31T23:25:21.000Z | 2021-11-29T07:34:22.000Z | responsibleai/tests/test_input_processing.py | alexquach/responsible-ai-widgets | 6208f72a5dc14b955f0e8b7b2203d0cd74f32497 | [
"MIT"
] | 703 | 2021-01-30T23:42:58.000Z | 2021-11-30T14:41:23.000Z | responsibleai/tests/test_input_processing.py | alexquach/responsible-ai-widgets | 6208f72a5dc14b955f0e8b7b2203d0cd74f32497 | [
"MIT"
] | 86 | 2021-02-01T15:52:57.000Z | 2021-11-29T04:34:22.000Z | # Copyright (c) Microsoft Corporation
# Licensed under the MIT License.
import numpy as np
import pandas as pd
from responsibleai._input_processing import _convert_to_string_list_dict
class TestConvertToStringListDict:
def test_unnamed_series(self):
input = pd.Series(data=[0, 1, 2])
sample_array... | 35.72 | 78 | 0.585666 | 495 | 3,572 | 4.072727 | 0.131313 | 0.134921 | 0.054563 | 0.084325 | 0.778274 | 0.756448 | 0.71627 | 0.71627 | 0.71627 | 0.672619 | 0 | 0.042027 | 0.287234 | 3,572 | 99 | 79 | 36.080808 | 0.749804 | 0.026036 | 0 | 0.686047 | 0 | 0 | 0.044604 | 0 | 0 | 0 | 0 | 0 | 0.511628 | 1 | 0.081395 | false | 0 | 0.034884 | 0 | 0.127907 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b946851724648e2d8a0d9bff6415935729caf903 | 10,112 | py | Python | test/hummingbot/connector/test_budget_checker.py | joedomino874/hummingbot | cb3ee5a30a2feb0a55ceca9d200c59662d7e3057 | [
"Apache-2.0"
] | 3,027 | 2019-04-04T18:52:17.000Z | 2022-03-30T09:38:34.000Z | test/hummingbot/connector/test_budget_checker.py | joedomino874/hummingbot | cb3ee5a30a2feb0a55ceca9d200c59662d7e3057 | [
"Apache-2.0"
] | 4,080 | 2019-04-04T19:51:11.000Z | 2022-03-31T23:45:21.000Z | test/hummingbot/connector/test_budget_checker.py | joedomino874/hummingbot | cb3ee5a30a2feb0a55ceca9d200c59662d7e3057 | [
"Apache-2.0"
] | 1,342 | 2019-04-04T20:50:53.000Z | 2022-03-31T15:22:36.000Z | import unittest
from decimal import Decimal
from hummingbot.connector.budget_checker import OrderCandidate
from hummingbot.connector.exchange.paper_trade.paper_trade_exchange import QuantizationParams
from hummingbot.core.event.events import OrderType, TradeType
from test.mock.mock_paper_exchange import MockPaperExcha... | 40.610442 | 105 | 0.674941 | 1,079 | 10,112 | 5.981464 | 0.092678 | 0.094825 | 0.068175 | 0.057949 | 0.862566 | 0.846452 | 0.813604 | 0.749768 | 0.721103 | 0.706074 | 0 | 0.011393 | 0.236155 | 10,112 | 248 | 106 | 40.774194 | 0.824184 | 0.002472 | 0 | 0.613208 | 0 | 0 | 0.013485 | 0.00357 | 0 | 0 | 0 | 0 | 0.122642 | 1 | 0.051887 | false | 0 | 0.028302 | 0 | 0.084906 | 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 |
b95a047edd31e5a1f2d3a13139631796999551b2 | 267 | py | Python | rlcard/games/blackjack/__init__.py | randombenj/rlcard | 0948035d26e1b619c068360326f12451f5d28f8b | [
"MIT"
] | 1,735 | 2019-09-05T12:49:43.000Z | 2022-03-30T12:02:07.000Z | rlcard/games/blackjack/__init__.py | randombenj/rlcard | 0948035d26e1b619c068360326f12451f5d28f8b | [
"MIT"
] | 197 | 2019-09-14T05:59:02.000Z | 2022-03-03T19:21:19.000Z | rlcard/games/blackjack/__init__.py | randombenj/rlcard | 0948035d26e1b619c068360326f12451f5d28f8b | [
"MIT"
] | 476 | 2019-09-13T15:25:32.000Z | 2022-03-29T01:41:29.000Z | from rlcard.games.blackjack.dealer import BlackjackDealer as Dealer
from rlcard.games.blackjack.judger import BlackjackJudger as Judger
from rlcard.games.blackjack.player import BlackjackPlayer as Player
from rlcard.games.blackjack.game import BlackjackGame as Game
| 44.5 | 67 | 0.861423 | 36 | 267 | 6.388889 | 0.388889 | 0.173913 | 0.26087 | 0.417391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093633 | 267 | 5 | 68 | 53.4 | 0.950413 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b9744b6f0e8816b1ef85ddf71ee31ebad5f76df8 | 20 | py | Python | fierpy/__init__.py | skd862/fierpy | 5f8a5412f56351eadc1fffd48e69ffb7a2164b1e | [
"MIT"
] | null | null | null | fierpy/__init__.py | skd862/fierpy | 5f8a5412f56351eadc1fffd48e69ffb7a2164b1e | [
"MIT"
] | null | null | null | fierpy/__init__.py | skd862/fierpy | 5f8a5412f56351eadc1fffd48e69ffb7a2164b1e | [
"MIT"
] | null | null | null | from .fier import *
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b9dc9ec901e43051856b437347d7ee624313b0c8 | 25,788 | py | Python | rbmce/latex_report.py | geickelb/rbmce | dfcd1a4fb42c021cda23235602ba5b88f439e39e | [
"MIT"
] | null | null | null | rbmce/latex_report.py | geickelb/rbmce | dfcd1a4fb42c021cda23235602ba5b88f439e39e | [
"MIT"
] | null | null | null | rbmce/latex_report.py | geickelb/rbmce | dfcd1a4fb42c021cda23235602ba5b88f439e39e | [
"MIT"
] | null | null | null |
import pandas as pd
import os
import numpy as np
import re
#import xlrd
from parameters import *
################# summary output:
# def descriptive_df(df, text_col_main,staph_nunique_col,result_col_main,
# culture_id_main,notetype_main,df_name):
# """
# makes a dataframe to present descripti... | 43.931857 | 145 | 0.4943 | 2,829 | 25,788 | 4.276069 | 0.07918 | 0.076713 | 0.023146 | 0.052906 | 0.938001 | 0.935769 | 0.922791 | 0.887245 | 0.876498 | 0.87592 | 0 | 0.007715 | 0.341554 | 25,788 | 587 | 146 | 43.931857 | 0.704711 | 0.484915 | 0 | 0.448133 | 0 | 0.024896 | 0.255497 | 0.106302 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012448 | false | 0 | 0.024896 | 0 | 0.037344 | 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 |
b9f390c91fda27d7eec6de14635d31f9d0434a12 | 124 | py | Python | reviewboard/hostingsvcs/evolutions/__init__.py | pombredanne/reviewboard | 15f1d7236ec7a5cb4778ebfeb8b45d13a46ac71d | [
"MIT"
] | null | null | null | reviewboard/hostingsvcs/evolutions/__init__.py | pombredanne/reviewboard | 15f1d7236ec7a5cb4778ebfeb8b45d13a46ac71d | [
"MIT"
] | null | null | null | reviewboard/hostingsvcs/evolutions/__init__.py | pombredanne/reviewboard | 15f1d7236ec7a5cb4778ebfeb8b45d13a46ac71d | [
"MIT"
] | null | null | null | SEQUENCE = [
'account_hosting_url',
'account_hosting_url_max_length_255',
'account_unique_together_baseline',
]
| 20.666667 | 41 | 0.75 | 14 | 124 | 5.928571 | 0.714286 | 0.337349 | 0.409639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.153226 | 124 | 5 | 42 | 24.8 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0.685484 | 0.532258 | 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 |
e0154602bde6a840e484e57ca31e072b51ee87b1 | 7,740 | py | Python | recipes/faker/run_test.py | Frmissjing/berryconda | 0207e46ff539728d5077196470fa9ce85887834d | [
"BSD-3-Clause"
] | 642 | 2017-01-16T18:03:40.000Z | 2022-03-19T12:45:12.000Z | recipes/faker/run_test.py | Frmissjing/berryconda | 0207e46ff539728d5077196470fa9ce85887834d | [
"BSD-3-Clause"
] | 148 | 2017-04-03T06:00:03.000Z | 2022-03-28T18:56:22.000Z | recipes/faker/run_test.py | Frmissjing/berryconda | 0207e46ff539728d5077196470fa9ce85887834d | [
"BSD-3-Clause"
] | 68 | 2017-03-07T12:37:54.000Z | 2021-09-21T01:48:10.000Z | import faker
import faker.providers
import faker.providers.address
import faker.providers.address.cs_CZ
import faker.providers.address.de_DE
import faker.providers.address.el_GR
import faker.providers.address.en
import faker.providers.address.en_AU
import faker.providers.address.en_CA
import faker.providers.address.en_... | 36.338028 | 41 | 0.866279 | 1,267 | 7,740 | 5.108919 | 0.062352 | 0.360266 | 0.648849 | 0.150626 | 0.845203 | 0.117411 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05478 | 7,740 | 212 | 42 | 36.509434 | 0.884773 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e0586f60521e1097fbdc5afaccb2b80ca3c2c8e2 | 48 | py | Python | visgeom/__init__.py | tussedrotten/visgeom | adae2d9b06640a9c7600027ab2677dd8f3ad1d86 | [
"BSD-3-Clause"
] | 2 | 2020-09-25T07:38:02.000Z | 2020-11-28T21:37:27.000Z | visgeom/__init__.py | tussedrotten/visgeom | adae2d9b06640a9c7600027ab2677dd8f3ad1d86 | [
"BSD-3-Clause"
] | null | null | null | visgeom/__init__.py | tussedrotten/visgeom | adae2d9b06640a9c7600027ab2677dd8f3ad1d86 | [
"BSD-3-Clause"
] | null | null | null | from visgeom.plot import *
import visgeom.utils
| 16 | 26 | 0.8125 | 7 | 48 | 5.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 2 | 27 | 24 | 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 |
e05f370be300e54c2aa624e344feaa83b9d6d4fb | 6,832 | py | Python | coins_project/coins/migrations/0001_initial.py | desecho/coins | 2b5660cbe8108f421741114a5ef1d63f5753d299 | [
"MIT"
] | null | null | null | coins_project/coins/migrations/0001_initial.py | desecho/coins | 2b5660cbe8108f421741114a5ef1d63f5753d299 | [
"MIT"
] | null | null | null | coins_project/coins/migrations/0001_initial.py | desecho/coins | 2b5660cbe8108f421741114a5ef1d63f5753d299 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.conf import settings
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.Create... | 56 | 197 | 0.591774 | 955 | 6,832 | 4.144503 | 0.104712 | 0.105609 | 0.061395 | 0.072006 | 0.825417 | 0.793077 | 0.763517 | 0.737494 | 0.674078 | 0.60283 | 0 | 0.093786 | 0.232143 | 6,832 | 121 | 198 | 56.46281 | 0.660694 | 0.003074 | 0 | 0.556522 | 0 | 0.208696 | 0.354971 | 0.285504 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.026087 | 0 | 0.052174 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0ebe1feac3ab88a72b0d2c341b9831863c6d51b6 | 11,669 | py | Python | chatbot/management/commands/richmenu.py | pincoin/withthai-chatbot | 7ce71c84fcc38c40ecb7df283d30e5ec2315ecd2 | [
"MIT"
] | null | null | null | chatbot/management/commands/richmenu.py | pincoin/withthai-chatbot | 7ce71c84fcc38c40ecb7df283d30e5ec2315ecd2 | [
"MIT"
] | 7 | 2021-04-08T19:39:58.000Z | 2022-03-12T00:48:17.000Z | chatbot/management/commands/richmenu.py | pincoin/withthai-chatbot | 7ce71c84fcc38c40ecb7df283d30e5ec2315ecd2 | [
"MIT"
] | null | null | null | from pathlib import Path
import linebot
from django.core.management.base import BaseCommand
from linebot import models
from golf import models as golf_models
class Command(BaseCommand):
help = 'Create rich menu'
'''
python manage.py richmenu with-thai /home/ubuntu/Projects/withthai/liff/static/liff/ima... | 50.297414 | 112 | 0.564744 | 1,304 | 11,669 | 4.902607 | 0.11273 | 0.108869 | 0.112623 | 0.140779 | 0.868137 | 0.85359 | 0.850461 | 0.830909 | 0.820898 | 0.815892 | 0 | 0.071136 | 0.309709 | 11,669 | 231 | 113 | 50.515152 | 0.722533 | 0.038649 | 0 | 0.639344 | 0 | 0 | 0.105489 | 0.018439 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016393 | false | 0 | 0.040984 | 0 | 0.07377 | 0.032787 | 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 |
0ec182a8f383db326c0078edcd1dc92ce00d575b | 26 | py | Python | SciComputing with Python/lesson_04-22/hello2.py | evtodorov/aerospace | 54a1b58c3c0b02c0eaa3aef14d0e732d7f867566 | [
"MIT"
] | null | null | null | SciComputing with Python/lesson_04-22/hello2.py | evtodorov/aerospace | 54a1b58c3c0b02c0eaa3aef14d0e732d7f867566 | [
"MIT"
] | null | null | null | SciComputing with Python/lesson_04-22/hello2.py | evtodorov/aerospace | 54a1b58c3c0b02c0eaa3aef14d0e732d7f867566 | [
"MIT"
] | null | null | null | print "Does this wodfdrk"
| 13 | 25 | 0.769231 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0ed6e38406fa02970f0d08133b6d93b532273ca7 | 62 | py | Python | fluent_python/testimport/a.py | MonsterRob/python_book | b419aac01bf2070c31098d3d81b40b57ae292f11 | [
"MIT"
] | null | null | null | fluent_python/testimport/a.py | MonsterRob/python_book | b419aac01bf2070c31098d3d81b40b57ae292f11 | [
"MIT"
] | null | null | null | fluent_python/testimport/a.py | MonsterRob/python_book | b419aac01bf2070c31098d3d81b40b57ae292f11 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
class A:
print('A is imported')
| 10.333333 | 26 | 0.516129 | 9 | 62 | 3.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.258065 | 62 | 5 | 27 | 12.4 | 0.673913 | 0.33871 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
1607cce2c848a54b96c04092b1992320a89c288f | 20 | py | Python | common/__init__.py | ethanabrooks/teacher-RL | 41b44fa4de1e8ce7e0c3eac726919c28ede63538 | [
"MIT"
] | null | null | null | common/__init__.py | ethanabrooks/teacher-RL | 41b44fa4de1e8ce7e0c3eac726919c28ede63538 | [
"MIT"
] | null | null | null | common/__init__.py | ethanabrooks/teacher-RL | 41b44fa4de1e8ce7e0c3eac726919c28ede63538 | [
"MIT"
] | null | null | null | # flake8: noqa F403
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.2 | 20 | 1 | 20 | 20 | 0.625 | 0.85 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
161e5a40b8c967d2351bcb47e725453abb6f266e | 140 | py | Python | project/template_api/template_api/views.py | georgepsarakis/django-mesos-example | e35e096de46d487c67cc899dc9236a7a2f9e9355 | [
"MIT"
] | 5 | 2016-09-06T15:09:42.000Z | 2019-09-16T03:35:59.000Z | project/template_api/template_api/views.py | georgepsarakis/django-mesos-example | e35e096de46d487c67cc899dc9236a7a2f9e9355 | [
"MIT"
] | null | null | null | project/template_api/template_api/views.py | georgepsarakis/django-mesos-example | e35e096de46d487c67cc899dc9236a7a2f9e9355 | [
"MIT"
] | null | null | null | from django.http import HttpResponse
from django.shortcuts import redirect
def home(request):
return redirect('/api', permanent=True)
| 20 | 43 | 0.778571 | 18 | 140 | 6.055556 | 0.777778 | 0.183486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135714 | 140 | 6 | 44 | 23.333333 | 0.900826 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
16216cbb0f549112b1c6b2ba9ab8075f00a5c03a | 7,613 | py | Python | plo.py | nickname456/pbots | e0e49a0cfd912a60eba6bb5d8f28b5e44112bf2f | [
"MIT"
] | null | null | null | plo.py | nickname456/pbots | e0e49a0cfd912a60eba6bb5d8f28b5e44112bf2f | [
"MIT"
] | null | null | null | plo.py | nickname456/pbots | e0e49a0cfd912a60eba6bb5d8f28b5e44112bf2f | [
"MIT"
] | null | null | null | #
# Some simple PLO bots for benchmarking
#
import sys
from sys import stderr, stdin, stdout
from poker import Card, Hand, Pocket, Table
from bot import Bot
import random
class ExampleBot(Bot):
def make_move(self, timeout):
'''
Checks cards and makes a move
'''
# Get ... | 34.447964 | 105 | 0.568239 | 953 | 7,613 | 4.36936 | 0.147954 | 0.045389 | 0.085735 | 0.083573 | 0.795149 | 0.7805 | 0.748559 | 0.741595 | 0.741595 | 0.738713 | 0 | 0.005862 | 0.327729 | 7,613 | 220 | 106 | 34.604545 | 0.807737 | 0.105609 | 0 | 0.773006 | 0 | 0 | 0.084628 | 0 | 0 | 0 | 0 | 0.004545 | 0 | 1 | 0.110429 | false | 0 | 0.030675 | 0.018405 | 0.411043 | 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 |
164d4198eba9d5fdde1a1bf11643c21b2d3a04a6 | 2,282 | py | Python | models/est/db/updates.py | owenmwilliams/land_search | 630e71672a5fff21c833d9905406b9ef70571b28 | [
"MIT"
] | 1 | 2020-11-20T22:33:01.000Z | 2020-11-20T22:33:01.000Z | models/est/db/updates.py | owenmwilliams/land_search | 630e71672a5fff21c833d9905406b9ef70571b28 | [
"MIT"
] | 49 | 2020-10-17T14:57:58.000Z | 2021-01-09T15:46:56.000Z | models/est/db/updates.py | owenmwilliams/land_search | 630e71672a5fff21c833d9905406b9ef70571b28 | [
"MIT"
] | 2 | 2020-10-26T18:20:47.000Z | 2020-11-20T22:32:20.000Z | import psycopg2
from est.db.cur import con_cur
def update_constr(b, a):
cur, con = con_cur()
cur.execute("""
UPDATE countydataset cpc
SET est_base = %(str)s
WHERE trim(cpc.state) = %(st)s
AND trim(cpc.county) = %(cty)s
AND CAST(date_part('year... | 43.884615 | 143 | 0.514023 | 331 | 2,282 | 3.462236 | 0.1571 | 0.055846 | 0.069808 | 0.041885 | 0.906632 | 0.883944 | 0.834206 | 0.834206 | 0.834206 | 0.834206 | 0 | 0.029394 | 0.2695 | 2,282 | 52 | 144 | 43.884615 | 0.658068 | 0 | 0 | 0.695652 | 0 | 0 | 0.580815 | 0.038546 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0.043478 | 0 | 0.130435 | 0.086957 | 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 |
1653ac92197f8cfb19dcce3a2d0137835715624a | 91 | py | Python | api/views.py | AmaxJ/TaskWhip | 4cf455ac9959d102cd14ed496685af087368f531 | [
"MIT"
] | 2 | 2015-07-27T12:57:34.000Z | 2015-08-27T20:16:06.000Z | api/views.py | AmaxJ/TaskWhip | 4cf455ac9959d102cd14ed496685af087368f531 | [
"MIT"
] | 1 | 2015-07-27T15:33:06.000Z | 2015-09-15T00:19:40.000Z | api/views.py | AmaxJ/TaskWhip | 4cf455ac9959d102cd14ed496685af087368f531 | [
"MIT"
] | null | null | null | from api import app
@app.route('/',methods=['GET'])
def index():
return "Hello world" | 15.166667 | 31 | 0.637363 | 13 | 91 | 4.461538 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 6 | 32 | 15.166667 | 0.763158 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
1682252a372058269ea35d167c8070bc38bc8206 | 66 | py | Python | Solutions/Training/Lesson_12/chocolates_by_numbers.py | dev-11/codility-solutions | 01b0ce4a43b1390fe15f2daabea95e90b834fbfc | [
"MIT"
] | null | null | null | Solutions/Training/Lesson_12/chocolates_by_numbers.py | dev-11/codility-solutions | 01b0ce4a43b1390fe15f2daabea95e90b834fbfc | [
"MIT"
] | null | null | null | Solutions/Training/Lesson_12/chocolates_by_numbers.py | dev-11/codility-solutions | 01b0ce4a43b1390fe15f2daabea95e90b834fbfc | [
"MIT"
] | null | null | null | import math
def solution(N, M):
return N // math.gcd(N, M)
| 9.428571 | 30 | 0.590909 | 12 | 66 | 3.25 | 0.666667 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257576 | 66 | 6 | 31 | 11 | 0.795918 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
bc50913be7ee06334ad45b53e3b0ad19d1e60ffc | 48,883 | py | Python | tests/unit/test_events.py | morucci/packit-service | 8c944511b76f7cf3d24dcdba294dd53cdcb53ee9 | [
"MIT"
] | null | null | null | tests/unit/test_events.py | morucci/packit-service | 8c944511b76f7cf3d24dcdba294dd53cdcb53ee9 | [
"MIT"
] | null | null | null | tests/unit/test_events.py | morucci/packit-service | 8c944511b76f7cf3d24dcdba294dd53cdcb53ee9 | [
"MIT"
] | null | null | null | # Copyright Contributors to the Packit project.
# SPDX-License-Identifier: MIT
"""
Tests for events parsing
"""
import json
from datetime import datetime, timezone
import pytest
from flexmock import flexmock
from ogr import PagureService
from ogr.services.github import GithubProject, GithubService
from ogr.services.... | 39.937092 | 115 | 0.671133 | 5,366 | 48,883 | 5.79221 | 0.061871 | 0.145459 | 0.144397 | 0.054728 | 0.8381 | 0.81397 | 0.795373 | 0.774299 | 0.75004 | 0.726006 | 0 | 0.028953 | 0.241168 | 48,883 | 1,223 | 116 | 39.969747 | 0.808945 | 0.010413 | 0 | 0.670911 | 0 | 0 | 0.14629 | 0.065481 | 0 | 0 | 0 | 0 | 0.336925 | 1 | 0.056807 | false | 0.000979 | 0.01665 | 0.000979 | 0.099902 | 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 |
bc7141dd934e704b691b43c191812ffcb229c8af | 172 | py | Python | kpolyakov_parsing/src/kpolyakov_parsing/_output_dumping/__init__.py | SteamPeKa/scripts_for_Aecatta | f9481b2b8c1f6c8d5be1c426ba5a54f82eb4ff82 | [
"MIT"
] | null | null | null | kpolyakov_parsing/src/kpolyakov_parsing/_output_dumping/__init__.py | SteamPeKa/scripts_for_Aecatta | f9481b2b8c1f6c8d5be1c426ba5a54f82eb4ff82 | [
"MIT"
] | null | null | null | kpolyakov_parsing/src/kpolyakov_parsing/_output_dumping/__init__.py | SteamPeKa/scripts_for_Aecatta | f9481b2b8c1f6c8d5be1c426ba5a54f82eb4ff82 | [
"MIT"
] | null | null | null | # coding=utf-8
# Creation date: 09 дек. 2020
# Creation time: 21:39
# Creator: SteamPeKa
from .html_dumping import dump_to_html_text
from .simple_text import dump_to_text
| 21.5 | 43 | 0.784884 | 29 | 172 | 4.413793 | 0.724138 | 0.15625 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074324 | 0.139535 | 172 | 7 | 44 | 24.571429 | 0.790541 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4c643f9ce97231bd54b1a1fab0cca199ac938e3f | 20 | py | Python | commands/helps/__init__.py | evandrocoan/Javatar | b38d4f9d852565d6dcecb236386628b4e56d9d09 | [
"MIT"
] | 142 | 2015-01-11T19:43:17.000Z | 2021-11-15T11:44:56.000Z | commands/helps/__init__.py | evandroforks/Javatar | b38d4f9d852565d6dcecb236386628b4e56d9d09 | [
"MIT"
] | 46 | 2015-01-02T20:29:37.000Z | 2018-09-15T05:12:52.000Z | commands/helps/__init__.py | evandroforks/Javatar | b38d4f9d852565d6dcecb236386628b4e56d9d09 | [
"MIT"
] | 25 | 2015-01-16T01:33:39.000Z | 2022-01-07T11:12:43.000Z | from .help import *
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d5dd774074cfecaf6b19d584716a96f85d1e260f | 8,468 | py | Python | tests/test_enki_checks.py | Levi-Leah/enki | 1954b61efb14668b435916e6d612ea3c728770e0 | [
"MIT"
] | null | null | null | tests/test_enki_checks.py | Levi-Leah/enki | 1954b61efb14668b435916e6d612ea3c728770e0 | [
"MIT"
] | 7 | 2022-03-09T15:07:16.000Z | 2022-03-22T19:49:39.000Z | tests/test_enki_checks.py | Levi-Leah/enki | 1954b61efb14668b435916e6d612ea3c728770e0 | [
"MIT"
] | null | null | null | import unittest
from src.enki_checks import *
from src.enki_msg import Report
# class for every function
class TestEmptyLineAfterIncludeCheck(unittest.TestCase):
def test_empty_line_present(self):
file_contents = """= Heading
include::some.adoc[leveloffset=+1]
include::other.adoc[leveloffset=+1]
"""
... | 31.954717 | 141 | 0.712801 | 1,034 | 8,468 | 5.606383 | 0.117988 | 0.107642 | 0.071761 | 0.079351 | 0.817492 | 0.810074 | 0.753321 | 0.746248 | 0.740038 | 0.660342 | 0 | 0.000581 | 0.186349 | 8,468 | 264 | 142 | 32.075758 | 0.840784 | 0.006495 | 0 | 0.58427 | 0 | 0 | 0.348989 | 0.05327 | 0 | 0 | 0 | 0 | 0.146067 | 1 | 0.157303 | false | 0 | 0.016854 | 0 | 0.241573 | 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 |
d5e2bce82bee8accf2890edae20eae4148ebec8f | 47 | py | Python | webull/__init__.py | Xbeninni/webull | b323307505589c90a280e7062308f52fae5a0310 | [
"MIT"
] | 461 | 2019-08-19T02:31:45.000Z | 2022-03-30T02:25:41.000Z | webull/__init__.py | Xbeninni/webull | b323307505589c90a280e7062308f52fae5a0310 | [
"MIT"
] | 232 | 2019-06-11T02:02:19.000Z | 2022-03-05T20:44:28.000Z | webull/__init__.py | Xbeninni/webull | b323307505589c90a280e7062308f52fae5a0310 | [
"MIT"
] | 197 | 2019-05-22T10:36:23.000Z | 2022-03-29T18:12:48.000Z | from webull.webull import webull, paper_webull
| 23.5 | 46 | 0.851064 | 7 | 47 | 5.571429 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 1 | 47 | 47 | 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 |
d5f7215e7f0592cf4057ff38756eb1a0df1461a4 | 286 | py | Python | modules/tests/test_hello.py | voqz/reroforfacebook | ff6a54fffa781b4198744123de4a8b913ea04c2f | [
"MIT"
] | 6 | 2017-05-17T23:46:16.000Z | 2017-05-18T19:50:15.000Z | modules/tests/test_hello.py | voqz/Rero | ff6a54fffa781b4198744123de4a8b913ea04c2f | [
"MIT"
] | null | null | null | modules/tests/test_hello.py | voqz/Rero | ff6a54fffa781b4198744123de4a8b913ea04c2f | [
"MIT"
] | null | null | null | import modules
def test_hello():
assert('hello' == modules.process_query('hello')[0])
assert('hello' == modules.process_query('Hi, Rero!')[0])
assert('hello' == modules.process_query('Are you there?')[0])
assert('hello' != modules.process_query('something random')[0])
| 35.75 | 67 | 0.667832 | 37 | 286 | 5.027027 | 0.432432 | 0.236559 | 0.387097 | 0.537634 | 0.66129 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.016064 | 0.129371 | 286 | 7 | 68 | 40.857143 | 0.730924 | 0 | 0 | 0 | 0 | 0 | 0.223776 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 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 |
911c6f6bdfe7623852dd234b6f2f38591fefc47a | 562 | py | Python | toqito/channel_props/__init__.py | paniash/toqito | ab67c2a3fca77b3827be11d1e79531042ea62b82 | [
"MIT"
] | 76 | 2020-01-28T17:02:01.000Z | 2022-02-14T18:02:15.000Z | toqito/channel_props/__init__.py | paniash/toqito | ab67c2a3fca77b3827be11d1e79531042ea62b82 | [
"MIT"
] | 82 | 2020-05-31T20:09:38.000Z | 2022-03-28T17:13:59.000Z | toqito/channel_props/__init__.py | paniash/toqito | ab67c2a3fca77b3827be11d1e79531042ea62b82 | [
"MIT"
] | 30 | 2020-04-02T16:07:11.000Z | 2022-02-05T13:39:22.000Z | """A number of properties of quantum channels."""
from toqito.channel_props.is_herm_preserving import is_herm_preserving
from toqito.channel_props.is_completely_positive import is_completely_positive
from toqito.channel_props.is_positive import is_positive
from toqito.channel_props.is_unital import is_unital
from toqit... | 56.2 | 78 | 0.88968 | 87 | 562 | 5.37931 | 0.241379 | 0.17094 | 0.290598 | 0.376068 | 0.435897 | 0.282051 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069395 | 562 | 9 | 79 | 62.444444 | 0.894837 | 0.076512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9133cbf2d01a8a8f9f3b80d0e0ff5b3d0f6076c7 | 36 | py | Python | notifier/__init__.py | sbelenki/FinMonitor | 61f59caeb0537294a53822c50eda5cbf727bc0ad | [
"MIT"
] | null | null | null | notifier/__init__.py | sbelenki/FinMonitor | 61f59caeb0537294a53822c50eda5cbf727bc0ad | [
"MIT"
] | null | null | null | notifier/__init__.py | sbelenki/FinMonitor | 61f59caeb0537294a53822c50eda5cbf727bc0ad | [
"MIT"
] | null | null | null | # __init__.py
from .fcm import FCM
| 9 | 20 | 0.722222 | 6 | 36 | 3.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 36 | 3 | 21 | 12 | 0.758621 | 0.305556 | 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 |
913f8d977278ba073bf3f569ad15c768c0a447c6 | 103 | py | Python | dataservices/create_data_services.py | jmaddocks-microstrategy/dataservices | b6a0ea4a7096f492a0e39f80668c9aa243ff5310 | [
"MIT"
] | null | null | null | dataservices/create_data_services.py | jmaddocks-microstrategy/dataservices | b6a0ea4a7096f492a0e39f80668c9aa243ff5310 | [
"MIT"
] | null | null | null | dataservices/create_data_services.py | jmaddocks-microstrategy/dataservices | b6a0ea4a7096f492a0e39f80668c9aa243ff5310 | [
"MIT"
] | null | null | null | from dataservices.utils.other_funcs import query_from_configuration
query_from_configuration("create") | 34.333333 | 67 | 0.893204 | 13 | 103 | 6.692308 | 0.692308 | 0.206897 | 0.505747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048544 | 103 | 3 | 68 | 34.333333 | 0.887755 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 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 |
e69a6589ddda2b4ac4d57692eef870884483b919 | 86 | py | Python | esridump/__init__.py | latot/pyesridump | 9c5d2fc9d02b37736ee1a80beadec934fd0e4365 | [
"MIT"
] | 201 | 2016-08-15T18:57:00.000Z | 2022-02-28T06:30:00.000Z | esridump/__init__.py | latot/pyesridump | 9c5d2fc9d02b37736ee1a80beadec934fd0e4365 | [
"MIT"
] | 54 | 2016-08-15T12:17:19.000Z | 2022-03-25T15:00:42.000Z | esridump/__init__.py | latot/pyesridump | 9c5d2fc9d02b37736ee1a80beadec934fd0e4365 | [
"MIT"
] | 51 | 2016-08-14T16:43:52.000Z | 2022-03-23T18:06:37.000Z | from esridump.esri2geojson import esri2geojson
from esridump.dumper import EsriDumper
| 28.666667 | 46 | 0.883721 | 10 | 86 | 7.6 | 0.6 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.093023 | 86 | 2 | 47 | 43 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fc350678822d8c009b04be56127ef1c903c6b3f7 | 33 | py | Python | typeopt/__init__.py | 1o0ko/typeopt | d404a652c8758b9b3fde77b3cd58a4da094110b3 | [
"MIT"
] | null | null | null | typeopt/__init__.py | 1o0ko/typeopt | d404a652c8758b9b3fde77b3cd58a4da094110b3 | [
"MIT"
] | 2 | 2017-10-25T01:11:21.000Z | 2017-11-06T15:27:47.000Z | typeopt/__init__.py | 1o0ko/typeopt | d404a652c8758b9b3fde77b3cd58a4da094110b3 | [
"MIT"
] | null | null | null | from .arguments import Arguments
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 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 |
fc3bb277c860e73b945e8d656c0bbac3ba85c6a3 | 35 | py | Python | nlpnet/pos/__init__.py | bgmartins/spatial-roles | bebb4d7084e75f4e7919308d0aa77544d12776a2 | [
"MIT"
] | 1 | 2020-12-14T20:58:54.000Z | 2020-12-14T20:58:54.000Z | nlpnet/pos/__init__.py | bgmartins/spatial-roles | bebb4d7084e75f4e7919308d0aa77544d12776a2 | [
"MIT"
] | null | null | null | nlpnet/pos/__init__.py | bgmartins/spatial-roles | bebb4d7084e75f4e7919308d0aa77544d12776a2 | [
"MIT"
] | null | null | null |
from .pos_reader import POSReader
| 11.666667 | 33 | 0.828571 | 5 | 35 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 2 | 34 | 17.5 | 0.933333 | 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 |
fc792d3789648f94fb3d4ecf18f4723c2852a034 | 16,388 | py | Python | airflow/migrations/versions/2c6edca13270_resource_based_permissions.py | ChaseKnowlden/airflow | 6b71eac1997a7c0db3b8e3aed6b4e65d01871440 | [
"Apache-2.0"
] | 15,947 | 2019-01-05T13:51:02.000Z | 2022-03-31T23:33:16.000Z | airflow/migrations/versions/2c6edca13270_resource_based_permissions.py | ChaseKnowlden/airflow | 6b71eac1997a7c0db3b8e3aed6b4e65d01871440 | [
"Apache-2.0"
] | 14,603 | 2019-01-05T09:43:19.000Z | 2022-03-31T23:11:59.000Z | airflow/migrations/versions/2c6edca13270_resource_based_permissions.py | ChaseKnowlden/airflow | 6b71eac1997a7c0db3b8e3aed6b4e65d01871440 | [
"Apache-2.0"
] | 8,429 | 2019-01-05T19:45:47.000Z | 2022-03-31T22:13:01.000Z | #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not... | 51.05296 | 109 | 0.722968 | 1,743 | 16,388 | 6.410212 | 0.122203 | 0.234315 | 0.275665 | 0.184731 | 0.796832 | 0.784659 | 0.766312 | 0.717891 | 0.567708 | 0.433545 | 0 | 0.004013 | 0.148584 | 16,388 | 320 | 110 | 51.2125 | 0.796746 | 0.06163 | 0 | 0.446429 | 0 | 0 | 0.132742 | 0.013235 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010714 | false | 0.003571 | 0.014286 | 0 | 0.025 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5d85b9f34941897ede5568a93788b73cd3f8fb07 | 85 | py | Python | optimization/util.py | EpicEric/base_stations_django | 7a04bc78ebe59067e7ff117862c9d2b0182d5d13 | [
"Apache-2.0"
] | null | null | null | optimization/util.py | EpicEric/base_stations_django | 7a04bc78ebe59067e7ff117862c9d2b0182d5d13 | [
"Apache-2.0"
] | null | null | null | optimization/util.py | EpicEric/base_stations_django | 7a04bc78ebe59067e7ff117862c9d2b0182d5d13 | [
"Apache-2.0"
] | null | null | null | import math
def distance(A, B):
return math.sqrt((A[0]-B[0])**2+(A[1]-B[1])**2)
| 17 | 51 | 0.552941 | 19 | 85 | 2.473684 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082192 | 0.141176 | 85 | 4 | 52 | 21.25 | 0.561644 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
5de4a92b25d08a366d26928ad7a94ac3643482c5 | 25,616 | py | Python | coconet/convolution.py | KIT-MBS/coconet | 5716c0818eabab30d5ef9fbf31f43705815f5645 | [
"MIT"
] | 3 | 2020-08-20T07:56:15.000Z | 2021-12-26T20:47:04.000Z | coconet/convolution.py | KIT-MBS/coconet | 5716c0818eabab30d5ef9fbf31f43705815f5645 | [
"MIT"
] | 1 | 2021-11-03T13:53:15.000Z | 2021-11-03T13:53:15.000Z | coconet/convolution.py | KIT-MBS/coconet | 5716c0818eabab30d5ef9fbf31f43705815f5645 | [
"MIT"
] | 2 | 2021-02-10T17:49:00.000Z | 2021-11-26T01:45:26.000Z | import logging
import numpy as np
"""Performs computations on the convolutional layer of coconet.
Author: Mehari B. Zerihun
"""
logger = logging.getLogger(__name__)
class ConvolutionException(Exception):
"""Raises exceptions for the Convolution class.
"""
class Convolution:
"""Performs convolution... | 43.863014 | 135 | 0.565857 | 3,250 | 25,616 | 4.226769 | 0.079692 | 0.079275 | 0.026935 | 0.021839 | 0.842906 | 0.817355 | 0.796462 | 0.784524 | 0.760865 | 0.750091 | 0 | 0.010136 | 0.360634 | 25,616 | 584 | 136 | 43.863014 | 0.828612 | 0.358136 | 0 | 0.641434 | 0 | 0 | 0.062479 | 0 | 0 | 0 | 0 | 0 | 0.051793 | 1 | 0.051793 | false | 0.007968 | 0.007968 | 0 | 0.119522 | 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 |
5d32eec903f269edde168438b4d81ba0b9cc8d71 | 1,274 | py | Python | tests/test_write.py | reshalfahsi/GGBColorSpace | f56994ffcd6a83762d67705116e690c7a64c9093 | [
"MIT"
] | 1 | 2020-12-06T07:38:08.000Z | 2020-12-06T07:38:08.000Z | tests/test_write.py | reshalfahsi/GGBColorSpace | f56994ffcd6a83762d67705116e690c7a64c9093 | [
"MIT"
] | 1 | 2021-06-19T02:20:02.000Z | 2021-06-19T02:20:02.000Z | tests/test_write.py | reshalfahsi/GGB | f56994ffcd6a83762d67705116e690c7a64c9093 | [
"MIT"
] | 1 | 2021-05-10T04:14:24.000Z | 2021-05-10T04:14:24.000Z | import cv2
from PIL import Image
import numpy as np
import random
import pytest
from ggb import GGB, CVLib
from ggb.testing import ggb_test
from ggb.testing import get_random_image, get_filled_image
@ggb_test
def test_opencv_write():
w = random.randint(16, 2048)
h = random.randint(16, 2048)
image = get_r... | 25.48 | 58 | 0.689168 | 193 | 1,274 | 4.34715 | 0.186529 | 0.114422 | 0.143027 | 0.181168 | 0.734207 | 0.734207 | 0.734207 | 0.734207 | 0.734207 | 0.734207 | 0 | 0.058429 | 0.180534 | 1,274 | 49 | 59 | 26 | 0.745211 | 0 | 0 | 0.555556 | 0 | 0 | 0.006279 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.055556 | false | 0 | 0.222222 | 0 | 0.277778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 |
5d5d9d6247f71153f1684c85cfe2cf98b191a967 | 4,521 | py | Python | models/mnist_dss.py | spetrescu/sesn | 43ecc5da7083364eea2c66742c17231c18465973 | [
"MIT"
] | 55 | 2020-02-13T17:44:25.000Z | 2022-03-08T04:26:34.000Z | models/mnist_dss.py | spetrescu/sesn | 43ecc5da7083364eea2c66742c17231c18465973 | [
"MIT"
] | 1 | 2021-07-09T21:49:17.000Z | 2021-07-10T15:12:33.000Z | models/mnist_dss.py | spetrescu/sesn | 43ecc5da7083364eea2c66742c17231c18465973 | [
"MIT"
] | 7 | 2020-02-13T19:41:46.000Z | 2021-09-20T17:23:27.000Z | '''MIT License. Copyright (c) 2020 Ivan Sosnovik, Michał Szmaja'''
import torch
import torch.nn as nn
import torch.nn.functional as F
from .impl.deep_scale_space import Dconv2d, BesselConv2d, ScaleMaxProjection
class MNIST_DSS_Vector(nn.Module):
def __init__(self, pool_size=4, n_scales=4, scale_sizes=[1, 1, 1],... | 32.52518 | 84 | 0.523999 | 657 | 4,521 | 3.450533 | 0.146119 | 0.064843 | 0.057345 | 0.042347 | 0.812086 | 0.763564 | 0.763564 | 0.763564 | 0.763564 | 0.763564 | 0 | 0.09793 | 0.326919 | 4,521 | 138 | 85 | 32.76087 | 0.647059 | 0.013271 | 0 | 0.684685 | 0 | 0 | 0.000898 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072072 | false | 0 | 0.036036 | 0.018018 | 0.18018 | 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 |
538509fd73e0cb6076ca0ddd081c2c39fc60b62a | 49 | py | Python | pythonabm/__init__.py | kemplab/pythonabm | aa6ac0aaa41e1a4b1e07d7b108ef6f34980eb34b | [
"Apache-2.0"
] | null | null | null | pythonabm/__init__.py | kemplab/pythonabm | aa6ac0aaa41e1a4b1e07d7b108ef6f34980eb34b | [
"Apache-2.0"
] | null | null | null | pythonabm/__init__.py | kemplab/pythonabm | aa6ac0aaa41e1a4b1e07d7b108ef6f34980eb34b | [
"Apache-2.0"
] | 2 | 2021-07-10T21:57:17.000Z | 2022-03-21T04:09:59.000Z | from .simulation import *
from .backend import *
| 16.333333 | 25 | 0.755102 | 6 | 49 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 2 | 26 | 24.5 | 0.902439 | 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 |
53913c28a7a55098d7c5fcfb68aac7ca0c146216 | 259 | py | Python | python/difference-of-squares/difference_of_squares.py | tamireinhorn/exercism | 3ca78b262ad590b67c75c5d1cd83db02bc2d1e6e | [
"MIT"
] | null | null | null | python/difference-of-squares/difference_of_squares.py | tamireinhorn/exercism | 3ca78b262ad590b67c75c5d1cd83db02bc2d1e6e | [
"MIT"
] | 2 | 2021-12-18T16:31:51.000Z | 2021-12-18T16:33:33.000Z | python/difference-of-squares/difference_of_squares.py | tamireinhorn/Exercism | 3a3d5744e88ab4457df4e6ac20d772d8c50c43da | [
"MIT"
] | null | null | null | def square_of_sum(number):
return (0.5 * number * (number+1)) ** 2
def sum_of_squares(number):
return (1/6) * (number * (number+1) * (2 * number + 1))
def difference_of_squares(number):
return square_of_sum(number) - sum_of_squares(number)
| 21.583333 | 59 | 0.660232 | 40 | 259 | 4.025 | 0.325 | 0.223602 | 0.279503 | 0.21118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042857 | 0.189189 | 259 | 11 | 60 | 23.545455 | 0.72381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
53cee92b055c0386ea5b50872da9d6ca449356e7 | 159 | py | Python | src/hypothesis/signals/__init__.py | ResearchHub/ResearchHub-Backend-Open | d36dca33afae2d442690694bb2ab17180d84bcd3 | [
"MIT"
] | 18 | 2021-05-20T13:20:16.000Z | 2022-02-11T02:40:18.000Z | src/hypothesis/signals/__init__.py | ResearchHub/ResearchHub-Backend-Open | d36dca33afae2d442690694bb2ab17180d84bcd3 | [
"MIT"
] | 109 | 2021-05-21T20:14:23.000Z | 2022-03-31T20:56:10.000Z | src/hypothesis/signals/__init__.py | ResearchHub/ResearchHub-Backend-Open | d36dca33afae2d442690694bb2ab17180d84bcd3 | [
"MIT"
] | 4 | 2021-05-17T13:47:53.000Z | 2022-02-12T10:48:21.000Z | # flake8: noqa
from hypothesis.signals.hypothesis_signal import add_hypothesis_slug
from hypothesis.signals.citation_signals import update_citation_vote_score
| 39.75 | 74 | 0.893082 | 21 | 159 | 6.428571 | 0.619048 | 0.207407 | 0.311111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006757 | 0.069182 | 159 | 3 | 75 | 53 | 0.905405 | 0.075472 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
53e2fdc485ad8fb3d52f93d2ec519889975ef247 | 41 | py | Python | src/protobuf_simple_socket_rpc/__init__.py | exante/python-protobuf-simple-socket-rpc | ba99fda981604da33f5f6595e18e17f737e547f0 | [
"MIT"
] | 2 | 2019-10-23T17:20:12.000Z | 2020-04-16T19:46:33.000Z | src/protobuf_simple_socket_rpc/__init__.py | exante/python-protobuf-simple-socket-rpc | ba99fda981604da33f5f6595e18e17f737e547f0 | [
"MIT"
] | null | null | null | src/protobuf_simple_socket_rpc/__init__.py | exante/python-protobuf-simple-socket-rpc | ba99fda981604da33f5f6595e18e17f737e547f0 | [
"MIT"
] | 2 | 2020-07-17T06:10:06.000Z | 2020-08-24T11:52:36.000Z | from protobuf_simple_socket_rpc import *
| 20.5 | 40 | 0.878049 | 6 | 41 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
070938ba227d4d8ff0c24cd4402f28597514e6c1 | 135 | py | Python | gocats/__init__.py | rmflight/GOcats | fc7b367583a5a579a76c58a83a37fe13c69ebccc | [
"Unlicense"
] | 10 | 2017-03-31T19:12:22.000Z | 2021-09-28T01:29:38.000Z | gocats/__init__.py | rmflight/GOcats | fc7b367583a5a579a76c58a83a37fe13c69ebccc | [
"Unlicense"
] | 8 | 2018-04-23T15:40:56.000Z | 2021-03-31T14:22:06.000Z | gocats/__init__.py | rmflight/GOcats | fc7b367583a5a579a76c58a83a37fe13c69ebccc | [
"Unlicense"
] | 3 | 2017-04-23T14:15:41.000Z | 2021-06-20T18:38:01.000Z | from . import _version
from .gocats import create_subgraphs
__version__ = _version.__version__
short_version = _version.short_version
| 22.5 | 38 | 0.844444 | 16 | 135 | 6.25 | 0.4375 | 0.42 | 0.38 | 0.52 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 135 | 5 | 39 | 27 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
07556802a0b8341022a5080f74786cc56ba111a2 | 20,284 | py | Python | suites/API/RegistrationApi/SubmitRegistrationSolution.py | echoprotocol/pytests | 5dce698558c2ba703aea03aab79906af1437da5d | [
"MIT"
] | 1 | 2021-03-12T05:17:02.000Z | 2021-03-12T05:17:02.000Z | suites/API/RegistrationApi/SubmitRegistrationSolution.py | echoprotocol/pytests | 5dce698558c2ba703aea03aab79906af1437da5d | [
"MIT"
] | 1 | 2019-11-19T12:10:59.000Z | 2019-11-19T12:10:59.000Z | suites/API/RegistrationApi/SubmitRegistrationSolution.py | echoprotocol/pytests | 5dce698558c2ba703aea03aab79906af1437da5d | [
"MIT"
] | 2 | 2019-04-29T10:46:48.000Z | 2019-10-29T10:01:03.000Z | # -*- coding: utf-8 -*-
import random
import string
from common.base_test import BaseTest
from fixtures.base_fixtures import RANGE_OF_STR, get_random_btc_public_key, get_random_eth_address, get_random_integer
import lemoncheesecake.api as lcc
from lemoncheesecake.matching import check_that, equal_to, has_item, is_fal... | 52.960836 | 119 | 0.704989 | 2,405 | 20,284 | 5.519335 | 0.074428 | 0.052207 | 0.078349 | 0.032545 | 0.845412 | 0.82688 | 0.808498 | 0.799232 | 0.799232 | 0.792451 | 0 | 0.001545 | 0.20213 | 20,284 | 382 | 120 | 53.099476 | 0.818648 | 0.001035 | 0 | 0.616959 | 0 | 0 | 0.228913 | 0.086718 | 0 | 0 | 0 | 0 | 0.017544 | 1 | 0.046784 | false | 0.002924 | 0.017544 | 0 | 0.076023 | 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 |
4ad3e4f34e469c1d7ea52da31eebd0a8f553f3b2 | 13,992 | py | Python | particle_packing/tests/test_Circle_.py | aluchies/particle_packing | 127603a519ae25979de6c6197810a7ea38ec945b | [
"BSD-3-Clause"
] | null | null | null | particle_packing/tests/test_Circle_.py | aluchies/particle_packing | 127603a519ae25979de6c6197810a7ea38ec945b | [
"BSD-3-Clause"
] | null | null | null | particle_packing/tests/test_Circle_.py | aluchies/particle_packing | 127603a519ae25979de6c6197810a7ea38ec945b | [
"BSD-3-Clause"
] | null | null | null | import unittest
import numpy as np
from particle_packing.circle import Circle, \
overlap_potential, overlap_potential_py, \
contain_potential_py, container_potential_square_py
class TestCode(unittest.TestCase):
def test1_constuctor(self):
"""
Test simple constructor example
"... | 16.96 | 70 | 0.513293 | 1,797 | 13,992 | 3.826377 | 0.065109 | 0.083479 | 0.050029 | 0.104712 | 0.809191 | 0.763089 | 0.744474 | 0.714514 | 0.691536 | 0.678738 | 0 | 0.036661 | 0.344983 | 13,992 | 825 | 71 | 16.96 | 0.713584 | 0.023085 | 0 | 0.698182 | 0 | 0 | 0.003987 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0 | null | null | 0 | 0.010909 | null | null | 0.003636 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4afc06fc5535cad6e3c3708ac22de34389354b30 | 136 | py | Python | pycartool/io/__init__.py | apadee/PyCartool | d030ba80b5304ee0d4ab1ff37a240957fc165914 | [
"BSD-3-Clause"
] | 2 | 2020-08-29T01:56:13.000Z | 2021-03-27T05:12:03.000Z | pycartool/io/__init__.py | apadee/PyCartool | d030ba80b5304ee0d4ab1ff37a240957fc165914 | [
"BSD-3-Clause"
] | 7 | 2019-10-18T14:55:57.000Z | 2021-06-01T23:59:15.000Z | pycartool/io/__init__.py | apadee/PyCartool | d030ba80b5304ee0d4ab1ff37a240957fc165914 | [
"BSD-3-Clause"
] | 2 | 2019-11-09T10:02:18.000Z | 2019-12-10T17:09:21.000Z | from .inverse_solution import read_is
from .leadfield import read_lf
from .montage import read_xyz
from .sef import read_sef, write_sef
| 27.2 | 37 | 0.838235 | 23 | 136 | 4.695652 | 0.521739 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 136 | 4 | 38 | 34 | 0.907563 | 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 |
ab245988b96e29b34fc88259f9a985298ac152ee | 106 | py | Python | covid/models/__init__.py | caiosba/covid-19 | 2a0f43f5004e7e39bd982eaa36185859cd9db88f | [
"MIT"
] | 9 | 2020-03-23T19:04:04.000Z | 2020-03-28T02:11:14.000Z | covid/models/__init__.py | caiosba/covid-19 | 2a0f43f5004e7e39bd982eaa36185859cd9db88f | [
"MIT"
] | 6 | 2020-03-22T14:10:08.000Z | 2020-04-05T01:53:29.000Z | covid/models/__init__.py | caiosba/covid-19 | 2a0f43f5004e7e39bd982eaa36185859cd9db88f | [
"MIT"
] | 6 | 2020-03-23T18:15:26.000Z | 2020-04-05T01:49:40.000Z | from .model import Model
from .seichar import SEICHAR
from .seichar_demographic import SEICHARDemographic
| 26.5 | 51 | 0.858491 | 13 | 106 | 6.923077 | 0.461538 | 0.244444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 106 | 3 | 52 | 35.333333 | 0.957447 | 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 |
db3bcef9306e2e05be53b410cf05a448f5ca1ba6 | 1,252 | py | Python | tests/cupy_tests/statics_tests/test_meanvar.py | ytoyama/yans_chainer_hackathon | 744e7a5a67da8dec2869879f0adfae2d43eaf75c | [
"MIT"
] | null | null | null | tests/cupy_tests/statics_tests/test_meanvar.py | ytoyama/yans_chainer_hackathon | 744e7a5a67da8dec2869879f0adfae2d43eaf75c | [
"MIT"
] | 1 | 2016-11-09T06:32:32.000Z | 2016-11-09T10:20:04.000Z | tests/cupy_tests/statics_tests/test_meanvar.py | ytoyama/yans_chainer_hackathon | 744e7a5a67da8dec2869879f0adfae2d43eaf75c | [
"MIT"
] | 1 | 2018-11-18T00:36:51.000Z | 2018-11-18T00:36:51.000Z | import unittest
from cupy import testing
@testing.gpu
class TestMeanVar(unittest.TestCase):
_multiprocess_can_split_ = True
@testing.for_all_dtypes()
@testing.numpy_cupy_allclose()
def test_mean_all(self, xp, dtype):
a = testing.shaped_arange((2, 3), xp, dtype)
return a.mean()
... | 27.217391 | 55 | 0.645367 | 181 | 1,252 | 4.209945 | 0.19337 | 0.110236 | 0.102362 | 0.149606 | 0.860892 | 0.834646 | 0.834646 | 0.834646 | 0.834646 | 0.834646 | 0 | 0.018538 | 0.224441 | 1,252 | 45 | 56 | 27.822222 | 0.76622 | 0 | 0 | 0.514286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.171429 | false | 0 | 0.057143 | 0 | 0.457143 | 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 |
db8892f8d4c48c5f308b3bb6959b7f0fe94262f2 | 6,359 | py | Python | examples/example1.py | parantapa/sqlpygen | c587cc8b6537d3380250815bf24b5c761f6938a8 | [
"MIT"
] | null | null | null | examples/example1.py | parantapa/sqlpygen | c587cc8b6537d3380250815bf24b5c761f6938a8 | [
"MIT"
] | null | null | null | examples/example1.py | parantapa/sqlpygen | c587cc8b6537d3380250815bf24b5c761f6938a8 | [
"MIT"
] | null | null | null | """example1
This module has been generated with SqlPyGen.
"""
from pprint import pprint
from typing import Optional, Iterable, cast
import sqlite3
ConnectionType = sqlite3.Connection
SCHEMA = {}
SCHEMA[
"table_stocks"
] = """
CREATE TABLE stocks (
date text,
trans text,
symbol text,
qty real,
... | 23.639405 | 101 | 0.57053 | 632 | 6,359 | 5.607595 | 0.126582 | 0.039503 | 0.058691 | 0.05079 | 0.774266 | 0.760158 | 0.738713 | 0.704853 | 0.676637 | 0.676637 | 0 | 0.002359 | 0.333386 | 6,359 | 268 | 102 | 23.727612 | 0.833687 | 0.054097 | 0 | 0.700508 | 1 | 0 | 0.23489 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040609 | false | 0 | 0.015228 | 0 | 0.076142 | 0.050761 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dbc785015d746368ebb7e057b2d7cb5d9003c7de | 45 | py | Python | classifier/fracture_detector/model/__init__.py | MIPT-Oulu/DeepWrist | 9c26ee8639d748671f30a7a45487885989c53fa1 | [
"MIT"
] | 2 | 2021-03-03T12:38:15.000Z | 2022-03-16T10:57:28.000Z | classifier/fracture_detector/model/__init__.py | MIPT-Oulu/DeepWrist | 9c26ee8639d748671f30a7a45487885989c53fa1 | [
"MIT"
] | 2 | 2022-03-07T20:03:42.000Z | 2022-03-09T10:47:42.000Z | classifier/fracture_detector/model/__init__.py | MIPT-Oulu/DeepWrist | 9c26ee8639d748671f30a7a45487885989c53fa1 | [
"MIT"
] | null | null | null | from ._seresnet import SeResNet, SeResNet_PTL | 45 | 45 | 0.866667 | 6 | 45 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.902439 | 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 |
dbc7b2584860acd556a6414f6523d17e5aad92d1 | 14,145 | py | Python | bot/reviewbot/tools/tests/test_checkstyle.py | reviewboard/ReviewBot | 6c529706229da647cc8cdef27db75cebc0abf216 | [
"MIT"
] | 91 | 2015-04-30T21:00:40.000Z | 2022-03-30T07:19:03.000Z | bot/reviewbot/tools/tests/test_checkstyle.py | reviewboard/ReviewBot | 6c529706229da647cc8cdef27db75cebc0abf216 | [
"MIT"
] | 11 | 2015-01-08T13:48:21.000Z | 2018-07-03T13:18:35.000Z | bot/reviewbot/tools/tests/test_checkstyle.py | reviewboard/ReviewBot | 6c529706229da647cc8cdef27db75cebc0abf216 | [
"MIT"
] | 23 | 2015-04-03T17:17:00.000Z | 2022-03-07T08:14:27.000Z | """Unit tests for reviewbot.tools.checkstyle."""
from __future__ import unicode_literals
import os
import kgb
import six
from reviewbot.config import config
from reviewbot.testing import get_test_dep_path
from reviewbot.tools.checkstyle import CheckstyleTool
from reviewbot.tools.testing import (BaseToolTestCase,
... | 35.451128 | 79 | 0.480452 | 1,333 | 14,145 | 4.952738 | 0.143286 | 0.047713 | 0.049076 | 0.076341 | 0.807786 | 0.782036 | 0.745986 | 0.725841 | 0.687519 | 0.67525 | 0 | 0.011097 | 0.388406 | 14,145 | 398 | 80 | 35.540201 | 0.752052 | 0.044892 | 0 | 0.7151 | 0 | 0.002849 | 0.364666 | 0.092956 | 0 | 0 | 0 | 0 | 0.034188 | 1 | 0.019943 | false | 0 | 0.02849 | 0 | 0.065527 | 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 |
9182887f465fe43d08f8679c783c76ca9b7dad1e | 41 | py | Python | src/lib/posixfile.py | DTenore/skulpt | 098d20acfb088d6db85535132c324b7ac2f2d212 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | src/lib/posixfile.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | src/lib/posixfile.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | import _sk_fail; _sk_fail._("posixfile")
| 20.5 | 40 | 0.780488 | 6 | 41 | 4.5 | 0.666667 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 0.710526 | 0 | 0 | 0 | 0 | 0 | 0.219512 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
91af6e24b3701ea642b4179d1d5db72a617a89f3 | 22 | py | Python | csvtool/__init__.py | maroofi/csvtool | 42ba9638890894ca037e4ff0018e03d9551df6ac | [
"MIT"
] | 17 | 2021-03-24T11:43:56.000Z | 2022-03-30T17:07:28.000Z | csvtool/__init__.py | maroofi/csvtool | 42ba9638890894ca037e4ff0018e03d9551df6ac | [
"MIT"
] | null | null | null | csvtool/__init__.py | maroofi/csvtool | 42ba9638890894ca037e4ff0018e03d9551df6ac | [
"MIT"
] | null | null | null | from csvtool import *
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 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 |
91debda347bc540876a30dfa38e20ca93318e668 | 2,248 | py | Python | OpenPNM/Geometry/models/throat_surface_area.py | thirtywang/OpenPNM | e55ee7ae69a8be3e2b0e6bf24c9ff92b6d24e16a | [
"MIT"
] | null | null | null | OpenPNM/Geometry/models/throat_surface_area.py | thirtywang/OpenPNM | e55ee7ae69a8be3e2b0e6bf24c9ff92b6d24e16a | [
"MIT"
] | null | null | null | OpenPNM/Geometry/models/throat_surface_area.py | thirtywang/OpenPNM | e55ee7ae69a8be3e2b0e6bf24c9ff92b6d24e16a | [
"MIT"
] | 1 | 2020-07-02T02:21:10.000Z | 2020-07-02T02:21:10.000Z | r"""
===============================================================================
Submodule -- throat_surface_area
===============================================================================
"""
import scipy as _sp
def cylinder(geometry, throat_diameter='throat.diameter',
throat_length='throat.le... | 28.455696 | 79 | 0.620552 | 244 | 2,248 | 5.627049 | 0.209016 | 0.15732 | 0.0874 | 0.09177 | 0.804079 | 0.761835 | 0.739985 | 0.739985 | 0.739985 | 0.739985 | 0 | 0.00058 | 0.232651 | 2,248 | 78 | 80 | 28.820513 | 0.795362 | 0.613434 | 0 | 0.478261 | 0 | 0 | 0.121083 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.130435 | false | 0 | 0.043478 | 0 | 0.304348 | 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 |
37e7f0dcff2cdbbe3c57ddb290b08bc29ba96994 | 627 | py | Python | ProgettoLube/WebInspector/venv/Lib/site-packages/tensorflow/python/keras/api/_v2/keras/preprocessing/text/__init__.py | Lube-Project/ProgettoLube | cbf33971e2c2e865783ec1a2302625539186a338 | [
"MIT"
] | 2 | 2020-09-30T00:11:09.000Z | 2021-10-04T13:00:38.000Z | ProgettoLube/WebInspector/venv/Lib/site-packages/tensorflow/python/keras/api/_v2/keras/preprocessing/text/__init__.py | Lube-Project/ProgettoLube | cbf33971e2c2e865783ec1a2302625539186a338 | [
"MIT"
] | null | null | null | ProgettoLube/WebInspector/venv/Lib/site-packages/tensorflow/python/keras/api/_v2/keras/preprocessing/text/__init__.py | Lube-Project/ProgettoLube | cbf33971e2c2e865783ec1a2302625539186a338 | [
"MIT"
] | 1 | 2021-01-28T01:57:41.000Z | 2021-01-28T01:57:41.000Z | # This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
"""Utilities for text input preprocessing.
"""
from __future__ import print_function as _print_function
import sys as _sys
from tensorflow.python.keras.preprocessing.text import Tokenize... | 34.833333 | 82 | 0.84689 | 87 | 627 | 5.885057 | 0.45977 | 0.1875 | 0.195313 | 0.244141 | 0.511719 | 0.511719 | 0.511719 | 0.238281 | 0.238281 | 0 | 0 | 0 | 0.090909 | 627 | 17 | 83 | 36.882353 | 0.898246 | 0.264753 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.875 | 0 | 0.875 | 0.25 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
37eb5c2193210276f6ce2869897b65ea0e62a499 | 123 | py | Python | psdaq/psdaq/pyxpm/AmcCarrierCore/__init__.py | AntoineDujardin/lcls2 | 8b9d2815497fbbabb4d37800fd86a7be1728b552 | [
"BSD-3-Clause-LBNL"
] | null | null | null | psdaq/psdaq/pyxpm/AmcCarrierCore/__init__.py | AntoineDujardin/lcls2 | 8b9d2815497fbbabb4d37800fd86a7be1728b552 | [
"BSD-3-Clause-LBNL"
] | null | null | null | psdaq/psdaq/pyxpm/AmcCarrierCore/__init__.py | AntoineDujardin/lcls2 | 8b9d2815497fbbabb4d37800fd86a7be1728b552 | [
"BSD-3-Clause-LBNL"
] | null | null | null | #from .AmcCarrierBsa import *
from .AmcCarrierBsi import *
#from .AmcCarrierCore import *
#from .AmcCarrierTiming import *
| 24.6 | 32 | 0.780488 | 12 | 123 | 8 | 0.5 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130081 | 123 | 4 | 33 | 30.75 | 0.897196 | 0.715447 | 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 |
37fb68ee343a285aa911189908ede8a64ce089ce | 108 | py | Python | test_main.py | donieypon/Team8 | 971737f6732f2b9179e4f989b2c68486b8c52bfa | [
"MIT"
] | null | null | null | test_main.py | donieypon/Team8 | 971737f6732f2b9179e4f989b2c68486b8c52bfa | [
"MIT"
] | 10 | 2019-09-04T17:00:59.000Z | 2019-11-07T07:35:49.000Z | test_main.py | donieypon/Team8 | 971737f6732f2b9179e4f989b2c68486b8c52bfa | [
"MIT"
] | 2 | 2019-12-04T06:48:02.000Z | 2020-04-15T05:29:27.000Z | # def test():
# <<<<<<< HEAD
# pass
# =======
# pass
# >>>>>>> dfe3178a581f384bd24135d4272dc4db23763fd9
| 15.428571 | 50 | 0.546296 | 6 | 108 | 9.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.292135 | 0.175926 | 108 | 6 | 51 | 18 | 0.370787 | 0.87963 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
37ff72db2658ac3f67712dff9f01ed8d539d0056 | 65,533 | py | Python | coremltools/converters/tensorflow/test/test_convnets.py | JLHasson/coremltools | 1912e94f21e32c4e9ddf8444f54a23054bca2958 | [
"BSD-3-Clause"
] | null | null | null | coremltools/converters/tensorflow/test/test_convnets.py | JLHasson/coremltools | 1912e94f21e32c4e9ddf8444f54a23054bca2958 | [
"BSD-3-Clause"
] | null | null | null | coremltools/converters/tensorflow/test/test_convnets.py | JLHasson/coremltools | 1912e94f21e32c4e9ddf8444f54a23054bca2958 | [
"BSD-3-Clause"
] | null | null | null | import unittest
import tensorflow.compat.v1 as tf
import numpy as np
from coremltools._deps import HAS_TF_1_14
import math
from test_base import TFNetworkTest, TFNetworkBatchTest
import itertools
# IMPORTANT NOTE TO ADD NEW TESTS:
# For each test function you should set up your own graph and session.
# Otherwise TF ... | 40.881472 | 134 | 0.547556 | 9,049 | 65,533 | 3.785612 | 0.04774 | 0.056049 | 0.077067 | 0.10982 | 0.850829 | 0.835445 | 0.818192 | 0.801611 | 0.78684 | 0.780856 | 0 | 0.043974 | 0.309096 | 65,533 | 1,602 | 135 | 40.906991 | 0.712613 | 0.017899 | 0 | 0.659727 | 0 | 0 | 0.013691 | 0.003656 | 0 | 0 | 0 | 0.000624 | 0.002872 | 1 | 0.102656 | false | 0.000718 | 0.005025 | 0.003589 | 0.113424 | 0.000718 | 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 |
53058ccaec47d9d3990a3afadfe585c76adfc373 | 12,957 | py | Python | tests/unit/utils/test_systemd.py | Noah-Huppert/salt | 998c382f5f2c3b4cbf7d96aa6913ada6993909b3 | [
"Apache-2.0"
] | 19 | 2016-01-29T14:37:52.000Z | 2022-03-30T18:08:01.000Z | tests/unit/utils/test_systemd.py | Noah-Huppert/salt | 998c382f5f2c3b4cbf7d96aa6913ada6993909b3 | [
"Apache-2.0"
] | 223 | 2016-03-02T16:39:41.000Z | 2022-03-03T12:26:35.000Z | tests/unit/utils/test_systemd.py | Noah-Huppert/salt | 998c382f5f2c3b4cbf7d96aa6913ada6993909b3 | [
"Apache-2.0"
] | 64 | 2016-02-04T19:45:26.000Z | 2021-12-15T02:02:31.000Z | # -*- coding: utf-8 -*-
# Import python libs
from __future__ import absolute_import, print_function, unicode_literals
import errno
# Import Salt libs
import salt.utils.systemd as _systemd
from salt.exceptions import SaltInvocationError
from tests.support.mock import Mock, patch
# Import Salt Testing libs
from tests... | 41.932039 | 81 | 0.591418 | 1,499 | 12,957 | 4.994663 | 0.122749 | 0.03673 | 0.040604 | 0.032323 | 0.825431 | 0.818619 | 0.801256 | 0.801256 | 0.781755 | 0.75945 | 0 | 0.013817 | 0.329706 | 12,957 | 308 | 82 | 42.068182 | 0.848244 | 0.350313 | 0 | 0.585987 | 0 | 0 | 0.093634 | 0.048802 | 0 | 0 | 0 | 0 | 0.22293 | 1 | 0.10828 | false | 0 | 0.038217 | 0.006369 | 0.159236 | 0.006369 | 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 |
532b01d893ed38128d24563aeb5ec1802f93d38b | 21 | py | Python | kvutil/__init__.py | mhv2109/kvutil | 147ee8dbf6e329707c1a4ddce9019e37fe20dcf1 | [
"MIT"
] | null | null | null | kvutil/__init__.py | mhv2109/kvutil | 147ee8dbf6e329707c1a4ddce9019e37fe20dcf1 | [
"MIT"
] | null | null | null | kvutil/__init__.py | mhv2109/kvutil | 147ee8dbf6e329707c1a4ddce9019e37fe20dcf1 | [
"MIT"
] | null | null | null | from .kv import main
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
53690779246aaaa19509167a57cd726f8de68bc6 | 2,223 | py | Python | xnat_downloader/tests/test_cli.py | HBClab/xnat_downloader | 2e836ec3f9c44c915d95c4c890c4b4f98dba780e | [
"MIT"
] | 3 | 2018-10-29T15:08:16.000Z | 2020-10-07T17:55:06.000Z | xnat_downloader/tests/test_cli.py | NeuroimagingUIowa/xnat_downloader | 2e836ec3f9c44c915d95c4c890c4b4f98dba780e | [
"MIT"
] | 15 | 2018-07-25T00:36:49.000Z | 2020-07-30T21:28:30.000Z | xnat_downloader/tests/test_cli.py | NeuroimagingUIowa/xnat_downloader | 2e836ec3f9c44c915d95c4c890c4b4f98dba780e | [
"MIT"
] | 4 | 2018-08-07T23:47:28.000Z | 2020-06-09T17:41:24.000Z | """Testing basic functionality for xnat_downloader"""
import os
import fnmatch
import shutil
import pytest
from ..cli.run import main
def test_cli_bids(monkeypatch):
import sys
# set up paths
data_dir = os.path.join(os.path.dirname(__file__), 'data')
cred = os.path.join(data_dir, 'central.cfg')
... | 28.139241 | 88 | 0.65722 | 312 | 2,223 | 4.445513 | 0.233974 | 0.051911 | 0.072098 | 0.060562 | 0.849315 | 0.849315 | 0.807498 | 0.771449 | 0.771449 | 0.771449 | 0 | 0 | 0.215475 | 2,223 | 79 | 89 | 28.139241 | 0.795298 | 0.071075 | 0 | 0.489796 | 0 | 0 | 0.097324 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 1 | 0.040816 | false | 0 | 0.142857 | 0 | 0.183673 | 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 |
72582e7e6405a38af76e2eea6b31c2a22bec52fd | 232 | py | Python | flask_sandman/__init__.py | manaikan/sandman2 | ecda2f08f39da58df30ce30d86436c7939cb547d | [
"Apache-2.0"
] | null | null | null | flask_sandman/__init__.py | manaikan/sandman2 | ecda2f08f39da58df30ce30d86436c7939cb547d | [
"Apache-2.0"
] | null | null | null | flask_sandman/__init__.py | manaikan/sandman2 | ecda2f08f39da58df30ce30d86436c7939cb547d | [
"Apache-2.0"
] | null | null | null | """*flask_sandman*'s main module."""
from flask_sandman.app import application as create_app
from flask_sandman.database import DATABASE as db
from flask_sandman.model import Model, AutomapModel
from flask_sandman.api import sandman | 46.4 | 55 | 0.836207 | 35 | 232 | 5.371429 | 0.457143 | 0.319149 | 0.340426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099138 | 232 | 5 | 56 | 46.4 | 0.899522 | 0.12931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 |
725da085dde21ea76e3fe92740fffd5424cfa9d2 | 68 | py | Python | CodingBat/Python/String-1 > make_out_word.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | CodingBat/Python/String-1 > make_out_word.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | CodingBat/Python/String-1 > make_out_word.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | def make_out_word(out, word):
return out[:2] + word + out[2:]
| 22.666667 | 33 | 0.602941 | 12 | 68 | 3.25 | 0.5 | 0.358974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0.220588 | 68 | 3 | 34 | 22.666667 | 0.698113 | 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 |
726fe331b8384a4f612820757360c2fa1165bb87 | 105 | py | Python | flask_oojsui/__init__.py | wikimedia/flask-oojsui | 5136a06b1c41b64dd117f4feea6d2f7b60b405b5 | [
"MIT"
] | 1 | 2020-04-24T13:52:48.000Z | 2020-04-24T13:52:48.000Z | flask_oojsui/__init__.py | wikimedia/flask-oojsui | 5136a06b1c41b64dd117f4feea6d2f7b60b405b5 | [
"MIT"
] | null | null | null | flask_oojsui/__init__.py | wikimedia/flask-oojsui | 5136a06b1c41b64dd117f4feea6d2f7b60b405b5 | [
"MIT"
] | null | null | null | from .functions import build_static_blueprint
__all__ = [build_static_blueprint]
__version__ = "0.0.3"
| 17.5 | 45 | 0.8 | 14 | 105 | 5.142857 | 0.714286 | 0.305556 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.114286 | 105 | 5 | 46 | 21 | 0.741935 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
727bab7d6c90c4e1bd8226c25e61d929693650f7 | 332 | py | Python | PythonExercicios/ex108/ex108.py | raulgranja/Python-Course | eaf776ab144923266a4784586f6bdf21911a5235 | [
"MIT"
] | null | null | null | PythonExercicios/ex108/ex108.py | raulgranja/Python-Course | eaf776ab144923266a4784586f6bdf21911a5235 | [
"MIT"
] | null | null | null | PythonExercicios/ex108/ex108.py | raulgranja/Python-Course | eaf776ab144923266a4784586f6bdf21911a5235 | [
"MIT"
] | null | null | null | import moeda
n = float(input('Digite o preço: R$ '))
print(f'A metade de {moeda.moeda(n)} é {moeda.moeda(moeda.metade(n))}')
print(f'O dobro de {moeda.moeda(n)} é {moeda.moeda(moeda.dobro(n))}')
print(f'Aumentando 10%, temos {moeda.moeda(moeda.aumentar(n, 10))}')
print(f'Diminuindo 10% temos {moeda.moeda(moeda.diminuir... | 47.428571 | 71 | 0.689759 | 59 | 332 | 3.881356 | 0.372881 | 0.436681 | 0.262009 | 0.113537 | 0.445415 | 0.253275 | 0.253275 | 0.253275 | 0 | 0 | 0 | 0.026578 | 0.093373 | 332 | 6 | 72 | 55.333333 | 0.734219 | 0 | 0 | 0 | 0 | 0.333333 | 0.76506 | 0.358434 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.666667 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
728cfc5a0cfe9aa9fdc8a3e4090e2a7d0b0ea63f | 34 | py | Python | src/yodatranslator/__init__.py | donpolaco/yodatranslator | 3e11f6ab43bfa3f0bdc3a2a79db98d2f3c45fa96 | [
"MIT"
] | 1 | 2021-11-11T19:18:15.000Z | 2021-11-11T19:18:15.000Z | src/yodatranslator/__init__.py | donpolaco/yodatranslator | 3e11f6ab43bfa3f0bdc3a2a79db98d2f3c45fa96 | [
"MIT"
] | null | null | null | src/yodatranslator/__init__.py | donpolaco/yodatranslator | 3e11f6ab43bfa3f0bdc3a2a79db98d2f3c45fa96 | [
"MIT"
] | null | null | null | from .translator import translate
| 17 | 33 | 0.852941 | 4 | 34 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.966667 | 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 |
72bb83ebe19bcc3000bf1911511c91e9349de3c3 | 116,918 | py | Python | pirates/leveleditor/worldData/cutthroat_area_jungle_b_1.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 81 | 2018-04-08T18:14:24.000Z | 2022-01-11T07:22:15.000Z | pirates/leveleditor/worldData/cutthroat_area_jungle_b_1.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 4 | 2018-09-13T20:41:22.000Z | 2022-01-08T06:57:00.000Z | pirates/leveleditor/worldData/cutthroat_area_jungle_b_1.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 26 | 2018-05-26T12:49:27.000Z | 2021-09-11T09:11:59.000Z | from pandac.PandaModules import Point3, VBase3, Vec4
objectStruct = {'Interact Links': [['1176324864.0dxschafe0', '1176324992.0dxschafe12', 'Bi-directional'], ['1176324864.0dxschafe5', '1176324992.0dxschafe0', 'Bi-directional'], ['1210109440.0WDIG0', '1210109440.0WDIG', 'Bi-directional']],'Objects': {'1167857698.16naik... | 38,972.666667 | 116,713 | 0.672172 | 16,168 | 116,918 | 4.820015 | 0.075025 | 0.024509 | 0.025176 | 0.020172 | 0.749339 | 0.562402 | 0.538381 | 0.45641 | 0.389683 | 0.376325 | 0 | 0.25915 | 0.051036 | 116,918 | 3 | 116,714 | 38,972.666667 | 0.443232 | 0 | 0 | 0 | 0 | 0 | 0.568488 | 0.336883 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
72d2a054fc80fb5b25a0f54436d50d5bb98a1cb4 | 2,397 | py | Python | publications/2019-06-poster/plots/plot.py | arfc/I2CNER | 29248cf5fdb0fa8c20f2a58794ef028448bb3e41 | [
"BSD-3-Clause"
] | 1 | 2020-11-01T03:40:33.000Z | 2020-11-01T03:40:33.000Z | publications/2019-06-poster/plots/plot.py | arfc/i2cner | 29248cf5fdb0fa8c20f2a58794ef028448bb3e41 | [
"BSD-3-Clause"
] | 87 | 2018-01-05T21:27:55.000Z | 2021-01-19T23:18:20.000Z | publications/2019-06-poster/plots/plot.py | arfc/i2cner | 29248cf5fdb0fa8c20f2a58794ef028448bb3e41 | [
"BSD-3-Clause"
] | 1 | 2018-01-03T20:00:35.000Z | 2018-01-03T20:00:35.000Z | import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
def eleplot(filepath, savepath):
df = pd.read_excel(filepath,index_col=1, header=None).fillna(0).T.drop(0)
x = [2013 + x for x in range(88)]
Sources = ['Combined Cycle Plant', 'Solar', 'Coal', 'Oil',
'Hydro', 'Wind', 'Nuc... | 34.242857 | 77 | 0.571548 | 321 | 2,397 | 4.224299 | 0.342679 | 0.022124 | 0.035398 | 0.044248 | 0.794985 | 0.794985 | 0.794985 | 0.794985 | 0.794985 | 0.740413 | 0 | 0.034212 | 0.256154 | 2,397 | 69 | 78 | 34.73913 | 0.726304 | 0 | 0 | 0.71875 | 0 | 0 | 0.200668 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03125 | false | 0 | 0.046875 | 0 | 0.078125 | 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 |
72ec5580e8440b729d1633bf216a62b918f1ff98 | 46,281 | py | Python | test/store/redis/test_redis_api.py | SimplyVC/panic_polkadot | 2c5517b0e01e27d4c54dc6a6609699471b833746 | [
"Apache-2.0"
] | 41 | 2020-01-22T14:37:17.000Z | 2021-12-30T16:12:20.000Z | test/store/redis/test_redis_api.py | SimplyVC/panic_polkadot | 2c5517b0e01e27d4c54dc6a6609699471b833746 | [
"Apache-2.0"
] | 33 | 2020-01-31T15:04:03.000Z | 2022-02-27T11:23:13.000Z | test/store/redis/test_redis_api.py | SimplyVC/panic_polkadot | 2c5517b0e01e27d4c54dc6a6609699471b833746 | [
"Apache-2.0"
] | 9 | 2020-04-16T07:59:03.000Z | 2021-10-09T04:35:35.000Z | import logging
import time
import unittest
from datetime import timedelta
from time import sleep
from unittest.mock import patch
from redis import ConnectionError as RedisConnectionError, DataError,\
AuthenticationError, ResponseError
from src.store.redis.redis_api import RedisApi
from test import TestInternalCon... | 39.088682 | 80 | 0.679242 | 6,000 | 46,281 | 4.913833 | 0.039 | 0.091883 | 0.037445 | 0.037445 | 0.940101 | 0.922159 | 0.892006 | 0.856019 | 0.806533 | 0.756911 | 0 | 0.012952 | 0.229273 | 46,281 | 1,183 | 81 | 39.121724 | 0.813597 | 0.018647 | 0 | 0.634066 | 0 | 0 | 0.04877 | 0.001498 | 0 | 0 | 0 | 0 | 0.179121 | 1 | 0.182418 | false | 0.047253 | 0.00989 | 0 | 0.196703 | 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 |
f43b84d0d0e1a399cb7fe96e13be0170fb59ec1b | 103 | py | Python | src/loguin/views.py | diegobenitez89/loguin_python_django | 1a19ad3acaf21fddcd9397c7c608c8f7c5d42558 | [
"bzip2-1.0.6"
] | null | null | null | src/loguin/views.py | diegobenitez89/loguin_python_django | 1a19ad3acaf21fddcd9397c7c608c8f7c5d42558 | [
"bzip2-1.0.6"
] | null | null | null | src/loguin/views.py | diegobenitez89/loguin_python_django | 1a19ad3acaf21fddcd9397c7c608c8f7c5d42558 | [
"bzip2-1.0.6"
] | null | null | null | from django.shortcuts import render
def about(request):
return render (request, "about.html", {})
| 20.6 | 45 | 0.718447 | 13 | 103 | 5.692308 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15534 | 103 | 4 | 46 | 25.75 | 0.850575 | 0 | 0 | 0 | 0 | 0 | 0.097087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
f46415dee9404c0be4029ace66454193f5d4023c | 3,158 | py | Python | sushi/admin.py | sushi-store/server | e72d805df0c5b202b91a474cac36a9abdd48bc43 | [
"MIT"
] | null | null | null | sushi/admin.py | sushi-store/server | e72d805df0c5b202b91a474cac36a9abdd48bc43 | [
"MIT"
] | null | null | null | sushi/admin.py | sushi-store/server | e72d805df0c5b202b91a474cac36a9abdd48bc43 | [
"MIT"
] | null | null | null | from django.contrib import admin
from sushi.models import Sushi, Category, SetOfIngredients, Ingredient
from django import forms
class CategoryModelAdmin(admin.ModelAdmin):
def check_perm(self, user_obj):
if not user_obj.is_active or user_obj.is_anonymous:
return False
if user_obj.is_s... | 29.514019 | 77 | 0.697277 | 405 | 3,158 | 5.232099 | 0.17037 | 0.076451 | 0.148655 | 0.134497 | 0.712128 | 0.712128 | 0.712128 | 0.682869 | 0.682869 | 0.682869 | 0 | 0.000807 | 0.215643 | 3,158 | 106 | 78 | 29.792453 | 0.854663 | 0 | 0 | 0.675676 | 0 | 0 | 0.028816 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.27027 | false | 0 | 0.040541 | 0.22973 | 0.810811 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
be2fd9aacb544783683fa84bc67f6ad5f7309f30 | 126 | py | Python | coding/learn_packages/graphics/formats/jpg.py | yatao91/learning_road | e88dc43de98e35922bfc71c222ec71766851e618 | [
"MIT"
] | 3 | 2021-05-25T16:58:52.000Z | 2022-02-05T09:37:17.000Z | coding/learn_packages/graphics/formats/jpg.py | yataosu/learning_road | e88dc43de98e35922bfc71c222ec71766851e618 | [
"MIT"
] | null | null | null | coding/learn_packages/graphics/formats/jpg.py | yataosu/learning_road | e88dc43de98e35922bfc71c222ec71766851e618 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import graphics.primitive.line
from graphics.primitive import line
import graphics.formats.png as png
| 25.2 | 35 | 0.769841 | 18 | 126 | 5.388889 | 0.611111 | 0.28866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.119048 | 126 | 4 | 36 | 31.5 | 0.864865 | 0.166667 | 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 |
be5fc8bdc3e1961b8047a6eae62f390a48d75e38 | 38 | py | Python | tensorstock/chart/__init__.py | Hourout/tensorstock | 7c7fa3a47bfd4b8eb505368d018a2a493cb734b6 | [
"Apache-2.0"
] | null | null | null | tensorstock/chart/__init__.py | Hourout/tensorstock | 7c7fa3a47bfd4b8eb505368d018a2a493cb734b6 | [
"Apache-2.0"
] | null | null | null | tensorstock/chart/__init__.py | Hourout/tensorstock | 7c7fa3a47bfd4b8eb505368d018a2a493cb734b6 | [
"Apache-2.0"
] | null | null | null | from tensorstock.chart._kline import * | 38 | 38 | 0.842105 | 5 | 38 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.885714 | 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 |
be6ccb576f853c904c8bd1e4e7e0adceb1831c0e | 38,879 | py | Python | OGC_IAU2000_WKT_v2/Source_Python/create_IAU2000_wkt_v3.py | europlanet-gmap/GDAL_scripts | 3352d2ca8580230f2f4ce7712ddd23743ca14d59 | [
"Unlicense"
] | 55 | 2015-08-16T02:57:04.000Z | 2021-09-09T18:22:45.000Z | OGC_IAU2000_WKT_v2/Source_Python/create_IAU2000_wkt_v3.py | europlanet-gmap/GDAL_scripts | 3352d2ca8580230f2f4ce7712ddd23743ca14d59 | [
"Unlicense"
] | 14 | 2016-09-12T07:09:59.000Z | 2022-02-22T16:43:29.000Z | OGC_IAU2000_WKT_v2/Source_Python/create_IAU2000_wkt_v3.py | europlanet-gmap/GDAL_scripts | 3352d2ca8580230f2f4ce7712ddd23743ca14d59 | [
"Unlicense"
] | 34 | 2015-01-27T14:28:57.000Z | 2022-02-23T13:00:46.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
# ------------------------------------------------------------------------------
# Name: create_IAU2000_WKT_v3.py
# Author: Trent Hare
# Original: Jan 2006
# Feb 2016:
#---- update to report IAU Mean from reports,
#---- Asteroids and IAU reported Comets,
#---- and t... | 99.689744 | 515 | 0.603874 | 4,418 | 38,879 | 5.174513 | 0.093029 | 0.016097 | 0.100608 | 0.128778 | 0.86571 | 0.8546 | 0.835746 | 0.828923 | 0.826648 | 0.821749 | 0 | 0.062133 | 0.199388 | 38,879 | 389 | 516 | 99.946015 | 0.67231 | 0.08565 | 0 | 0.554422 | 0 | 0.034014 | 0.314659 | 0.04564 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006803 | false | 0 | 0.006803 | 0 | 0.017007 | 0.017007 | 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 |
be9401a9463962fa0c275430d2690b389dd9d48a | 33 | py | Python | app/backend/model/__init__.py | SummaLabs/DLS | 2adba47430b456ad0f324e4c8883a896a23b3fbf | [
"MIT"
] | 32 | 2017-09-04T17:40:39.000Z | 2021-02-16T23:08:34.000Z | app/backend/model/__init__.py | AymanNabih/DLS | 2adba47430b456ad0f324e4c8883a896a23b3fbf | [
"MIT"
] | 3 | 2017-10-09T12:52:54.000Z | 2020-06-29T02:48:38.000Z | app/backend/model/__init__.py | AymanNabih/DLS | 2adba47430b456ad0f324e4c8883a896a23b3fbf | [
"MIT"
] | 20 | 2017-10-07T17:29:50.000Z | 2021-01-23T22:01:54.000Z | from app.backend.model import api | 33 | 33 | 0.848485 | 6 | 33 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.933333 | 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 |
be9d4b08e61f0853636ef700600d83c6e1cf9181 | 178 | py | Python | Online-Judges/CodingBat/Python/Logic-02/Logic_2-05-round_sum.py | shihab4t/Competitive-Programming | e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be | [
"Unlicense"
] | 3 | 2021-06-15T01:19:23.000Z | 2022-03-16T18:23:53.000Z | Online-Judges/CodingBat/Python/Logic-02/Logic_2-05-round_sum.py | shihab4t/Competitive-Programming | e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be | [
"Unlicense"
] | null | null | null | Online-Judges/CodingBat/Python/Logic-02/Logic_2-05-round_sum.py | shihab4t/Competitive-Programming | e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be | [
"Unlicense"
] | null | null | null | def round_sum(a, b, c):
return round10(a) + round10(b) + round10(c)
def round10(num):
if num % 10 < 5:
return num - (num % 10)
return num + (10 - num % 10)
| 19.777778 | 47 | 0.539326 | 29 | 178 | 3.275862 | 0.413793 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137097 | 0.303371 | 178 | 8 | 48 | 22.25 | 0.629032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.833333 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.