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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ecdc5db1bf4e292ca2494bbac36ea901279643fc | 77 | py | Python | src/apps/reservation/models/__init__.py | lizaveta-stasevich/booking | acebd0d9d3035e802cdf6e719a142fe5f74ec2c1 | [
"Apache-2.0"
] | null | null | null | src/apps/reservation/models/__init__.py | lizaveta-stasevich/booking | acebd0d9d3035e802cdf6e719a142fe5f74ec2c1 | [
"Apache-2.0"
] | 6 | 2020-06-06T00:11:43.000Z | 2022-02-10T09:33:51.000Z | src/apps/reservation/models/__init__.py | lizaveta-stasevich/booking | acebd0d9d3035e802cdf6e719a142fe5f74ec2c1 | [
"Apache-2.0"
] | null | null | null | from .city import City
from .train import Train
from .comfort import Comfort
| 19.25 | 28 | 0.805195 | 12 | 77 | 5.166667 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155844 | 77 | 3 | 29 | 25.666667 | 0.953846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
01b53bc11f444771acf9b6cd17faf43b54ce2a93 | 204 | py | Python | tests/conftest.py | charmed-kubernetes/layer-docker | f47ea965f598f25aaf1d02e457b54660afa8303a | [
"Apache-2.0"
] | 11 | 2015-09-02T16:32:33.000Z | 2020-08-19T02:10:35.000Z | tests/conftest.py | charmed-kubernetes/layer-docker | f47ea965f598f25aaf1d02e457b54660afa8303a | [
"Apache-2.0"
] | 130 | 2015-09-14T17:28:45.000Z | 2020-03-02T15:47:40.000Z | tests/conftest.py | charmed-kubernetes/layer-docker | f47ea965f598f25aaf1d02e457b54660afa8303a | [
"Apache-2.0"
] | 22 | 2015-09-26T23:34:53.000Z | 2021-03-03T06:30:48.000Z | import sys
from unittest.mock import MagicMock
# mock dependencies which we don't care about covering in our tests
sys.modules['charms.docker'] = MagicMock()
sys.modules['charms.reactive'] = MagicMock()
| 29.142857 | 67 | 0.77451 | 29 | 204 | 5.448276 | 0.724138 | 0.126582 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122549 | 204 | 6 | 68 | 34 | 0.882682 | 0.318627 | 0 | 0 | 0 | 0 | 0.20438 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
01de7ebf216c9143f55507d7c59b8601e6f0206d | 426 | py | Python | objdict/__init__.py | StepaTa/ModularBotForUser | c82691aa970ae936336de1981708abb40f0c5ac9 | [
"MIT"
] | null | null | null | objdict/__init__.py | StepaTa/ModularBotForUser | c82691aa970ae936336de1981708abb40f0c5ac9 | [
"MIT"
] | null | null | null | objdict/__init__.py | StepaTa/ModularBotForUser | c82691aa970ae936336de1981708abb40f0c5ac9 | [
"MIT"
] | null | null | null | from objdict.objDict import dumps, loads, from_json, to_json
from objdict.objDict import ClassRegistry, JsonEncoder, ObjDict
from objdict.objDict import JsonDecodeError
from objdict.dualUrlJson import combiParse, unParse
from objdict import objDict as objDicter
from objdict.pytestcode import pytester
from objdict.struc... | 38.727273 | 63 | 0.852113 | 57 | 426 | 6.333333 | 0.421053 | 0.274238 | 0.149584 | 0.199446 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110329 | 426 | 10 | 64 | 42.6 | 0.952507 | 0.023474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bf3ca9c333722891b4e8ec140fe7fd22e4140a2c | 73 | py | Python | generi/commands/__init__.py | nick-lehmann/Generi | 5f13860eb91973670fe378479731f95feab1e380 | [
"MIT"
] | 1 | 2019-12-21T22:04:07.000Z | 2019-12-21T22:04:07.000Z | generi/commands/__init__.py | nick-lehmann/Generi | 5f13860eb91973670fe378479731f95feab1e380 | [
"MIT"
] | null | null | null | generi/commands/__init__.py | nick-lehmann/Generi | 5f13860eb91973670fe378479731f95feab1e380 | [
"MIT"
] | null | null | null | from .build import build
from .push import push
from .write import write
| 18.25 | 24 | 0.794521 | 12 | 73 | 4.833333 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 73 | 3 | 25 | 24.333333 | 0.95082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1721fdf33b91dc8187371ebef485db814baa3ad3 | 76 | py | Python | tk02.py | visalpop/tkinter_sample | 15474250431727e2b24b6f6aebc654c36ccf8d87 | [
"MIT"
] | null | null | null | tk02.py | visalpop/tkinter_sample | 15474250431727e2b24b6f6aebc654c36ccf8d87 | [
"MIT"
] | null | null | null | tk02.py | visalpop/tkinter_sample | 15474250431727e2b24b6f6aebc654c36ccf8d87 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# tk02.pyw
import tkinter as tk
print(tk.TkVersion) | 15.2 | 23 | 0.657895 | 12 | 76 | 4.166667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046875 | 0.157895 | 76 | 5 | 24 | 15.2 | 0.734375 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
17365f20a37aac6d4e23d5ca480b0b353708de21 | 176 | py | Python | tortilla/api.py | camomile-project/tortilla | e749a7be49cc272bd1149a3acfe0d352f87f372b | [
"MIT"
] | 261 | 2015-01-02T02:18:44.000Z | 2018-04-02T07:33:53.000Z | tortilla/api.py | camomile-project/tortilla | e749a7be49cc272bd1149a3acfe0d352f87f372b | [
"MIT"
] | 31 | 2015-01-26T15:25:32.000Z | 2018-03-30T15:13:01.000Z | tortilla/api.py | camomile-project/tortilla | e749a7be49cc272bd1149a3acfe0d352f87f372b | [
"MIT"
] | 29 | 2015-01-05T19:21:43.000Z | 2017-11-07T14:52:42.000Z | # -*- coding: utf-8 -*-
from . import wrappers
def wrap(url, **options):
"""Syntax sugar for creating service wrappers."""
return wrappers.Wrap(part=url, **options)
| 19.555556 | 53 | 0.647727 | 22 | 176 | 5.181818 | 0.772727 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006944 | 0.181818 | 176 | 8 | 54 | 22 | 0.784722 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
175571259c01a33fadf2f76eddd44cc9f82450a0 | 92 | py | Python | trackdecoder/__init__.py | PredaaA/aikaterna-cogs | d34732def7bf8d0be0adc2fa7bd63e57596ff88f | [
"Apache-2.0"
] | null | null | null | trackdecoder/__init__.py | PredaaA/aikaterna-cogs | d34732def7bf8d0be0adc2fa7bd63e57596ff88f | [
"Apache-2.0"
] | null | null | null | trackdecoder/__init__.py | PredaaA/aikaterna-cogs | d34732def7bf8d0be0adc2fa7bd63e57596ff88f | [
"Apache-2.0"
] | null | null | null | from .trackdecoder import TrackDecoder
def setup(bot):
bot.add_cog(TrackDecoder(bot))
| 15.333333 | 38 | 0.76087 | 12 | 92 | 5.75 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 92 | 5 | 39 | 18.4 | 0.873418 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
175ac9439e03546b2bbebb60f278dde2447e2fbc | 227 | py | Python | src/plotman/_tests/archive_test.py | pieterhelsen/plotman | 1b7dfba139ed03d3c32a2f04f6011e03bfb1f442 | [
"Apache-2.0"
] | 1,016 | 2020-11-24T10:27:08.000Z | 2022-03-20T23:46:45.000Z | src/plotman/_tests/archive_test.py | pieterhelsen/plotman | 1b7dfba139ed03d3c32a2f04f6011e03bfb1f442 | [
"Apache-2.0"
] | 436 | 2021-01-23T23:28:54.000Z | 2022-03-30T00:33:29.000Z | src/plotman/_tests/archive_test.py | pieterhelsen/plotman | 1b7dfba139ed03d3c32a2f04f6011e03bfb1f442 | [
"Apache-2.0"
] | 332 | 2021-02-02T03:42:25.000Z | 2022-03-31T09:03:38.000Z | from plotman import archive, job
def test_compute_priority() -> None:
assert archive.compute_priority(
job.Phase(major=3, minor=1), 1000, 10
) > archive.compute_priority(job.Phase(major=3, minor=6), 1000, 10)
| 28.375 | 71 | 0.700441 | 33 | 227 | 4.69697 | 0.575758 | 0.290323 | 0.283871 | 0.322581 | 0.529032 | 0.529032 | 0.529032 | 0.529032 | 0 | 0 | 0 | 0.085106 | 0.171806 | 227 | 7 | 72 | 32.428571 | 0.739362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1772d990f11381101ceb9d8d1bc4176f4d25c788 | 45 | py | Python | rdf_io/views/__init__.py | GlauberMC/django-rdf-io | 5deaec40264407574351dd20f758b17b89b495a9 | [
"CC0-1.0"
] | null | null | null | rdf_io/views/__init__.py | GlauberMC/django-rdf-io | 5deaec40264407574351dd20f758b17b89b495a9 | [
"CC0-1.0"
] | null | null | null | rdf_io/views/__init__.py | GlauberMC/django-rdf-io | 5deaec40264407574351dd20f758b17b89b495a9 | [
"CC0-1.0"
] | null | null | null | from serialize import *
from manage import *
| 15 | 23 | 0.777778 | 6 | 45 | 5.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 24 | 22.5 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bd77b2a831bc46979ce050cab6205e2a0557cecb | 161 | py | Python | Day 2/BMI_Calculator.py | hamzaoda/100-Days-of-Code---The-Complete-Python-Pro-Bootcamp-for-2021 | 5340007d8405df2e29643b47d3ff9fa4f7af9e10 | [
"Unlicense"
] | null | null | null | Day 2/BMI_Calculator.py | hamzaoda/100-Days-of-Code---The-Complete-Python-Pro-Bootcamp-for-2021 | 5340007d8405df2e29643b47d3ff9fa4f7af9e10 | [
"Unlicense"
] | null | null | null | Day 2/BMI_Calculator.py | hamzaoda/100-Days-of-Code---The-Complete-Python-Pro-Bootcamp-for-2021 | 5340007d8405df2e29643b47d3ff9fa4f7af9e10 | [
"Unlicense"
] | null | null | null | height= float(input("Please Enter your height : "))
weight= int(input("Please Enter your weight : "))
BMI=weight/height ** 2
print("your BMI is : " + str(BMI)) | 26.833333 | 51 | 0.670807 | 24 | 161 | 4.5 | 0.541667 | 0.203704 | 0.296296 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007353 | 0.15528 | 161 | 6 | 52 | 26.833333 | 0.786765 | 0 | 0 | 0 | 0 | 0 | 0.419753 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bd8200c45ae0a7535198fbd7fa17cbf7ec1616aa | 43 | py | Python | src/models/rotate/__init__.py | wang-yuhao/Practical-Big-Data-Science-ADL-AI | 0bf63bf210f506e287f8492e716bb3394137d74b | [
"MIT"
] | null | null | null | src/models/rotate/__init__.py | wang-yuhao/Practical-Big-Data-Science-ADL-AI | 0bf63bf210f506e287f8492e716bb3394137d74b | [
"MIT"
] | null | null | null | src/models/rotate/__init__.py | wang-yuhao/Practical-Big-Data-Science-ADL-AI | 0bf63bf210f506e287f8492e716bb3394137d74b | [
"MIT"
] | 1 | 2021-12-24T00:26:26.000Z | 2021-12-24T00:26:26.000Z | from .rotate_evaluation_model import RotatE | 43 | 43 | 0.906977 | 6 | 43 | 6.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 43 | 1 | 43 | 43 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bdc8e14eb3536e316c7d637d8c43082a1cd80ba8 | 185 | py | Python | hypnospy/__init__.py | HypnosPy/HypnosPy | 28b17d07ee78f7714bbbbd66f6253764addf9d94 | [
"MIT"
] | 4 | 2022-01-02T18:40:57.000Z | 2022-02-17T12:59:57.000Z | hypnospy/__init__.py | ippozuelo/HypnosPy | 28b17d07ee78f7714bbbbd66f6253764addf9d94 | [
"MIT"
] | 2 | 2020-11-11T07:13:56.000Z | 2020-11-11T07:38:54.000Z | hypnospy/__init__.py | ippozuelo/HypnosPy | 28b17d07ee78f7714bbbbd66f6253764addf9d94 | [
"MIT"
] | 2 | 2020-11-24T22:46:31.000Z | 2021-02-05T16:43:12.000Z | #__all__ = ["Wearable", "data"]
from .diary import Diary
from .wearable import Wearable
from .experiment import Experiment
from .demographics import Demographics
from .cgm import CGM
| 20.555556 | 38 | 0.783784 | 23 | 185 | 6.130435 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140541 | 185 | 8 | 39 | 23.125 | 0.886792 | 0.162162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bdee20a5ee98079d4824390ed4132e8fbf4a5462 | 97 | py | Python | thg/toplevel.py | thgdevelopers/thg_lib | d9fc28096c8e05267a22f6899890ae5f429b5b19 | [
"BSD-3-Clause"
] | null | null | null | thg/toplevel.py | thgdevelopers/thg_lib | d9fc28096c8e05267a22f6899890ae5f429b5b19 | [
"BSD-3-Clause"
] | 4 | 2020-04-22T02:24:27.000Z | 2020-04-22T02:28:57.000Z | thg/toplevel.py | thgdevelopers/thg_lib | d9fc28096c8e05267a22f6899890ae5f429b5b19 | [
"BSD-3-Clause"
] | null | null | null | from thglibs import *
try:
import cPickle as pickle
except ImportError:
import pickle
| 10.777778 | 28 | 0.721649 | 12 | 97 | 5.833333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247423 | 97 | 8 | 29 | 12.125 | 0.958904 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bdf68382c03ed2c427ad74794bc6451649a2128b | 179 | py | Python | utils/__init__.py | feelool007/Lotto1224 | fd360fad7260fd9022c8f71d6f48a79f59266b72 | [
"MIT"
] | null | null | null | utils/__init__.py | feelool007/Lotto1224 | fd360fad7260fd9022c8f71d6f48a79f59266b72 | [
"MIT"
] | null | null | null | utils/__init__.py | feelool007/Lotto1224 | fd360fad7260fd9022c8f71d6f48a79f59266b72 | [
"MIT"
] | null | null | null | from .analysis import analysis
from .oddAndEven import oddAndEven
from .smallAndLarge import smallAndLarge
from .parseInt import parseInt
from .winNumCounter import winNumCounter
| 29.833333 | 40 | 0.860335 | 20 | 179 | 7.7 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111732 | 179 | 5 | 41 | 35.8 | 0.968553 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
da0b3fb05b93ec711bbba7ea7a9d3b300a60a1ae | 2,335 | py | Python | tests/test_model_evaluators.py | superphy/acheron | cd9838f000085409e306a5f66b04276a1e4eb5f5 | [
"Apache-2.0"
] | 1 | 2022-01-07T17:23:14.000Z | 2022-01-07T17:23:14.000Z | tests/test_model_evaluators.py | superphy/acheron | cd9838f000085409e306a5f66b04276a1e4eb5f5 | [
"Apache-2.0"
] | null | null | null | tests/test_model_evaluators.py | superphy/acheron | cd9838f000085409e306a5f66b04276a1e4eb5f5 | [
"Apache-2.0"
] | 1 | 2021-06-18T17:36:08.000Z | 2021-06-18T17:36:08.000Z | from acheron.helpers import model_evaluators
def test_to_float():
mics = [32, 12, '>32', '>32.0000', '>16']
floats = [float(i) for i in [32, 12, 32, 32, 16]]
for i in range(len(mics)):
assert(model_evaluators.to_float(mics[i]) == floats[i])
def test_is_equiv():
mics = [32, 16, '>32', '>32.000... | 42.454545 | 81 | 0.659529 | 358 | 2,335 | 4.064246 | 0.148045 | 0.268041 | 0.317526 | 0.205498 | 0.773883 | 0.728522 | 0.691409 | 0.636426 | 0.494845 | 0.186254 | 0 | 0.065844 | 0.167452 | 2,335 | 54 | 82 | 43.240741 | 0.682613 | 0.016702 | 0 | 0.04878 | 0 | 0 | 0.08976 | 0 | 0 | 0 | 0 | 0 | 0.560976 | 1 | 0.097561 | false | 0 | 0.02439 | 0 | 0.121951 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
da4283d432e93b4a956c4e6e9d62dfc7c8c9716c | 189 | py | Python | teragested/cli.py | demosdemon/furry-octo-fiesta | e72d95cb73a02a25dfb34ca327aea7cc9eb1391f | [
"MIT"
] | null | null | null | teragested/cli.py | demosdemon/furry-octo-fiesta | e72d95cb73a02a25dfb34ca327aea7cc9eb1391f | [
"MIT"
] | 1 | 2021-06-01T23:04:04.000Z | 2021-06-01T23:04:04.000Z | teragested/cli.py | demosdemon/teragested | e72d95cb73a02a25dfb34ca327aea7cc9eb1391f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""The teragested command line interface."""
import click
@click.command()
def main():
"""Interact with the teragested parser and a shell script."""
pass
| 17.181818 | 65 | 0.650794 | 24 | 189 | 5.125 | 0.833333 | 0.211382 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006536 | 0.190476 | 189 | 10 | 66 | 18.9 | 0.797386 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
da58156f0269be074ab886fb95cac537deca0c06 | 3,230 | py | Python | ds18b20S/__init__.py | danielbair/ds18b20S | 4531b70ed5788e3f551aee2deb0f1effad2b9d61 | [
"MIT"
] | null | null | null | ds18b20S/__init__.py | danielbair/ds18b20S | 4531b70ed5788e3f551aee2deb0f1effad2b9d61 | [
"MIT"
] | null | null | null | ds18b20S/__init__.py | danielbair/ds18b20S | 4531b70ed5788e3f551aee2deb0f1effad2b9d61 | [
"MIT"
] | null | null | null | #Code by Sahak Sahakyan
#Library for ds18b20 temperature sensor
#Contact`
#Email: sahak.sahakyan2017@gmail.com
import sys
import glob
import os
class DsbS():
def __init__(self, initial=False):
if initial:
os.system('modprobe w1-gpio')
os.system('modprobe w1-therm')
... | 37.55814 | 137 | 0.419505 | 336 | 3,230 | 4.005952 | 0.261905 | 0.035661 | 0.077266 | 0.10104 | 0.751114 | 0.742942 | 0.734027 | 0.734027 | 0.674591 | 0.674591 | 0 | 0.057289 | 0.45418 | 3,230 | 86 | 138 | 37.55814 | 0.706183 | 0.031889 | 0 | 0.779412 | 0 | 0 | 0.14972 | 0.055939 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.044118 | 0.014706 | 0.161765 | 0.117647 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
da8ed0e7e7abc4fc5c1f608294795bed2be4d831 | 26 | py | Python | src/__init__.py | uliebal/batchslopes | a68c4e85a836cc1f378f8ae91f0d6fa38d66b4e3 | [
"MIT"
] | null | null | null | src/__init__.py | uliebal/batchslopes | a68c4e85a836cc1f378f8ae91f0d6fa38d66b4e3 | [
"MIT"
] | null | null | null | src/__init__.py | uliebal/batchslopes | a68c4e85a836cc1f378f8ae91f0d6fa38d66b4e3 | [
"MIT"
] | null | null | null | from .batchslopes import * | 26 | 26 | 0.807692 | 3 | 26 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
da9008c4e7fa1addf1f9f1db21e7fe01a2ba36f2 | 21,743 | py | Python | src/extract/compute_predictions.py | atseng95/fourier_attribution_priors | 53f668e315621e4f64f9e11a403f2ea80529eb29 | [
"MIT"
] | 8 | 2020-11-19T02:58:55.000Z | 2021-09-10T14:11:29.000Z | src/extract/compute_predictions.py | amtseng/fourier_attribution_priors | 53f668e315621e4f64f9e11a403f2ea80529eb29 | [
"MIT"
] | null | null | null | src/extract/compute_predictions.py | amtseng/fourier_attribution_priors | 53f668e315621e4f64f9e11a403f2ea80529eb29 | [
"MIT"
] | 1 | 2020-09-26T00:49:25.000Z | 2020-09-26T00:49:25.000Z | import model.util as model_util
import model.profile_models as profile_models
import model.binary_models as binary_models
import extract.data_loading as data_loading
import numpy as np
import torch
import tqdm
def _get_profile_model_predictions_batch(
model, coords, num_tasks, input_func, controls=None,
fourie... | 45.774737 | 123 | 0.66495 | 2,898 | 21,743 | 4.701518 | 0.099724 | 0.025835 | 0.033028 | 0.039046 | 0.834422 | 0.793248 | 0.752734 | 0.713835 | 0.697395 | 0.671486 | 0 | 0.006522 | 0.252495 | 21,743 | 474 | 124 | 45.871308 | 0.831785 | 0.349032 | 0 | 0.47931 | 0 | 0.006897 | 0.103058 | 0.029183 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013793 | false | 0 | 0.024138 | 0 | 0.051724 | 0.024138 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e53e5afbe7fe1556a0bd1e7522da7fbebd4148d8 | 4,480 | py | Python | test/test_main.py | jenshnielsen/versioningit | b575e300ae2ea78e283254537cffd30135ae7fe6 | [
"MIT"
] | 17 | 2021-07-05T23:41:36.000Z | 2022-03-10T14:55:24.000Z | test/test_main.py | jenshnielsen/versioningit | b575e300ae2ea78e283254537cffd30135ae7fe6 | [
"MIT"
] | 20 | 2021-07-05T23:56:09.000Z | 2022-03-14T13:04:09.000Z | test/test_main.py | jenshnielsen/versioningit | b575e300ae2ea78e283254537cffd30135ae7fe6 | [
"MIT"
] | 4 | 2021-09-04T13:24:49.000Z | 2022-03-25T19:44:19.000Z | import logging
import os
from pathlib import Path
import subprocess
import sys
from _pytest.capture import CaptureFixture
import pytest
from pytest_mock import MockerFixture
from versioningit.__main__ import main
from versioningit.errors import Error
def test_command(
capsys: CaptureFixture[str], mocker: MockerFi... | 32.230216 | 88 | 0.673661 | 540 | 4,480 | 5.375926 | 0.175926 | 0.041337 | 0.055115 | 0.068894 | 0.774371 | 0.759904 | 0.759904 | 0.749914 | 0.738202 | 0.725801 | 0 | 0.002479 | 0.189509 | 4,480 | 138 | 89 | 32.463768 | 0.797026 | 0 | 0 | 0.508197 | 0 | 0 | 0.16875 | 0.061161 | 0 | 0 | 0 | 0 | 0.237705 | 1 | 0.065574 | false | 0 | 0.081967 | 0 | 0.147541 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e5404c05d2371c5c4f196346c816c08400d2dfec | 55 | py | Python | src/ionotomo/tests/test_geometry.py | Joshuaalbert/IonoTomo | 9f50fbac698d43a824dd098d76dce93504c7b879 | [
"Apache-2.0"
] | 7 | 2017-06-22T08:47:07.000Z | 2021-07-01T12:33:02.000Z | src/ionotomo/tests/test_geometry.py | Joshuaalbert/IonoTomo | 9f50fbac698d43a824dd098d76dce93504c7b879 | [
"Apache-2.0"
] | 1 | 2019-04-03T15:21:19.000Z | 2019-04-03T15:48:31.000Z | src/ionotomo/tests/test_geometry.py | Joshuaalbert/IonoTomo | 9f50fbac698d43a824dd098d76dce93504c7b879 | [
"Apache-2.0"
] | 2 | 2020-03-01T16:20:00.000Z | 2020-07-07T15:09:02.000Z | import numpy as np
from ionotomo import *
import os
| 7.857143 | 22 | 0.745455 | 9 | 55 | 4.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236364 | 55 | 6 | 23 | 9.166667 | 0.97619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
008b713d67efa7f6a689a868bbfcf7920ce7c668 | 28 | py | Python | python/ql/test/library-tests/PointsTo/new/code/package/module.py | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 4,036 | 2020-04-29T00:09:57.000Z | 2022-03-31T14:16:38.000Z | python/ql/test/library-tests/PointsTo/new/code/package/module.py | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 2,970 | 2020-04-28T17:24:18.000Z | 2022-03-31T22:40:46.000Z | python/ql/test/library-tests/PointsTo/new/code/package/module.py | ScriptBox99/github-codeql | 2ecf0d3264db8fb4904b2056964da469372a235c | [
"MIT"
] | 794 | 2020-04-29T00:28:25.000Z | 2022-03-30T08:21:46.000Z |
def module(args):
pass
| 7 | 17 | 0.607143 | 4 | 28 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 28 | 3 | 18 | 9.333333 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
008e25d18360eef4eadfd656279caa05e2e43534 | 113 | py | Python | tests/conftest.py | elaspic/elaspic2-rest-api | 460315387c5a7ea5a96bece8b6888e0b97af0580 | [
"MIT"
] | null | null | null | tests/conftest.py | elaspic/elaspic2-rest-api | 460315387c5a7ea5a96bece8b6888e0b97af0580 | [
"MIT"
] | null | null | null | tests/conftest.py | elaspic/elaspic2-rest-api | 460315387c5a7ea5a96bece8b6888e0b97af0580 | [
"MIT"
] | null | null | null | import os
from dotenv import load_dotenv
load_dotenv(dotenv_path=os.getenv("ENV_FILE", ".env"), override=True)
| 18.833333 | 69 | 0.778761 | 18 | 113 | 4.666667 | 0.611111 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097345 | 113 | 5 | 70 | 22.6 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.106195 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
00e8116f1110d01caf75ccb9eeaf96ec7d7ddc0b | 9,719 | py | Python | tests/test_multipass_vm.py | jebeckford/cloudmesh-multipass | c8bc14c5093ab599c184b2bf5f934b8a4f2b0791 | [
"Apache-2.0"
] | null | null | null | tests/test_multipass_vm.py | jebeckford/cloudmesh-multipass | c8bc14c5093ab599c184b2bf5f934b8a4f2b0791 | [
"Apache-2.0"
] | 5 | 2020-02-12T09:10:46.000Z | 2020-03-04T22:16:35.000Z | tests/test_multipass_vm.py | jebeckford/cloudmesh-multipass | c8bc14c5093ab599c184b2bf5f934b8a4f2b0791 | [
"Apache-2.0"
] | 14 | 2020-01-29T23:15:48.000Z | 2020-03-23T03:04:38.000Z | ###############################################################
# pytest -v --capture=no tests
# pytest -v --capture=no tests/test_multipass_general.py
# pytest -v tests/test_multipass_general.py
# pytest -v --capture=no tests/test_multipass_general.py::Test_Multipass::<METHODNAME>
###################################... | 27.454802 | 120 | 0.618479 | 1,135 | 9,719 | 5.159471 | 0.096035 | 0.058402 | 0.05123 | 0.065574 | 0.851093 | 0.84375 | 0.798839 | 0.742999 | 0.615096 | 0.536714 | 0 | 0.005872 | 0.264122 | 9,719 | 353 | 121 | 27.532578 | 0.812919 | 0.073361 | 0 | 0.663793 | 0 | 0.00431 | 0.201309 | 0.06037 | 0 | 0 | 0 | 0 | 0.086207 | 1 | 0.099138 | false | 0.090517 | 0.025862 | 0 | 0.133621 | 0.00431 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
da9a2b19cb2fbe247f93d12fbf85877a0ee27508 | 171 | py | Python | python/djoro_regulation_server.py | damienlaine/djoro-bcvtb | 84e5a4b46d554c20ac2ffa22383f386b19af8bc5 | [
"MIT"
] | 2 | 2019-12-15T13:45:54.000Z | 2021-12-26T00:26:26.000Z | python/djoro_regulation_server.py | damienlaine/djoro-bcvtb | 84e5a4b46d554c20ac2ffa22383f386b19af8bc5 | [
"MIT"
] | null | null | null | python/djoro_regulation_server.py | damienlaine/djoro-bcvtb | 84e5a4b46d554c20ac2ffa22383f386b19af8bc5 | [
"MIT"
] | 1 | 2021-12-26T00:26:41.000Z | 2021-12-26T00:26:41.000Z | # -*- coding: utf-8 -*-
from djoro_regulation_server.djoro_regulation_server import DjoroRegulationServer
djoro = DjoroRegulationServer()
djoro.start("localhost", 9100)
| 24.428571 | 81 | 0.795322 | 18 | 171 | 7.333333 | 0.666667 | 0.227273 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.093567 | 171 | 6 | 82 | 28.5 | 0.819355 | 0.122807 | 0 | 0 | 0 | 0 | 0.060811 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
daa9314caa642a03d9397c8a05b4f6456c29d69f | 1,472 | py | Python | generateGUID/tests/test_GUID_Bash.py | INT-NIT-calcul/generateGUID | 446aa5e6d4d37a6c41732b63995c9e39e3ce9b1b | [
"MIT"
] | null | null | null | generateGUID/tests/test_GUID_Bash.py | INT-NIT-calcul/generateGUID | 446aa5e6d4d37a6c41732b63995c9e39e3ce9b1b | [
"MIT"
] | 1 | 2020-01-07T13:51:59.000Z | 2020-01-07T15:58:22.000Z | generateGUID/tests/test_GUID_Bash.py | INT-NIT-calcul/generateGUID | 446aa5e6d4d37a6c41732b63995c9e39e3ce9b1b | [
"MIT"
] | 3 | 2019-10-04T09:03:34.000Z | 2019-10-28T15:22:45.000Z | # coding: utf-8
from guid_core.generate_GUID import generate_GUID
import unittest
GUID = generate_GUID("Jean-Michel"+"Frégnac"+"22/03/1949"+"M")
class TestUM(unittest.TestCase):
def setUp(self):
pass
def test_guid(self):
key = "Jean-Michel"+"Frégnac"+"22/03/1949"+"M"
self.assertEq... | 23 | 62 | 0.620924 | 197 | 1,472 | 4.48731 | 0.203046 | 0.162896 | 0.081448 | 0.091629 | 0.765837 | 0.711538 | 0.711538 | 0.642534 | 0.642534 | 0.642534 | 0 | 0.07679 | 0.212636 | 1,472 | 63 | 63 | 23.365079 | 0.685936 | 0.008832 | 0 | 0.314286 | 1 | 0 | 0.203157 | 0 | 0.257143 | 0 | 0 | 0 | 0.257143 | 1 | 0.285714 | false | 0.028571 | 0.057143 | 0 | 0.371429 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
dad0ed184dabd9b1844b79fe42abb7b917c7763b | 3,814 | py | Python | code/main.py | jiaxx/temporal_learning_paper | abffd5bfb36aaad7139485a9b8bd29f3858389e8 | [
"MIT"
] | null | null | null | code/main.py | jiaxx/temporal_learning_paper | abffd5bfb36aaad7139485a9b8bd29f3858389e8 | [
"MIT"
] | null | null | null | code/main.py | jiaxx/temporal_learning_paper | abffd5bfb36aaad7139485a9b8bd29f3858389e8 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Thu Oct 4 17:55:20 2020
@author: Xiaoxuan Jia
"""
import numpy as np
import scipy
from scipy.stats import norm
import numpy.random as npr
import random
import utils as ut
import learningutil as lt
def d_prime(CF):
d = []
for i in range(len(CF[1])):
H = CF[i, i]... | 34.990826 | 103 | 0.598322 | 552 | 3,814 | 3.987319 | 0.230072 | 0.049069 | 0.019082 | 0.021808 | 0.750568 | 0.750568 | 0.750568 | 0.750568 | 0.749659 | 0.749659 | 0 | 0.017708 | 0.244887 | 3,814 | 109 | 104 | 34.990826 | 0.746528 | 0.217619 | 0 | 0.638554 | 0 | 0 | 0.170897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060241 | false | 0 | 0.084337 | 0 | 0.204819 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9742ca228af8af48e54daa5ae0d6558ce4105225 | 1,489 | py | Python | src/mode_manager.py | brulzki/pianopad | 3e67d9edaf6786876c22917926ef4736691d1653 | [
"MIT"
] | 3 | 2018-01-04T10:43:49.000Z | 2021-02-26T23:23:51.000Z | src/mode_manager.py | brulzki/pianopad | 3e67d9edaf6786876c22917926ef4736691d1653 | [
"MIT"
] | 8 | 2017-08-25T02:24:39.000Z | 2021-10-10T03:49:42.000Z | src/mode_manager.py | brulzki/pianopad | 3e67d9edaf6786876c22917926ef4736691d1653 | [
"MIT"
] | null | null | null | import os
from mode import Mode
def load_modes():
"""
"""
all_modes = []
for directory in os.listdir(r'modes'):
full_dir = 'modes' + os.sep + directory
if os.path.isdir(full_dir):
all_modes.append(Mode(full_dir))
return all_modes
modes = load_modes()
current_mode_po... | 24.016129 | 64 | 0.724647 | 190 | 1,489 | 5.315789 | 0.189474 | 0.337624 | 0.413861 | 0.261386 | 0.776238 | 0.747525 | 0.655446 | 0.655446 | 0.655446 | 0.644554 | 0 | 0.005887 | 0.201478 | 1,489 | 62 | 65 | 24.016129 | 0.843566 | 0 | 0 | 0.512195 | 0 | 0 | 0.006766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121951 | false | 0 | 0.04878 | 0 | 0.195122 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9765a88b8c8109d937ec637ddab9f892858f75ae | 159 | py | Python | socialml/__init__.py | erees1/socialml | 76ec276395e7819c6c834f4819ccdf8989aa6cab | [
"MIT"
] | null | null | null | socialml/__init__.py | erees1/socialml | 76ec276395e7819c6c834f4819ccdf8989aa6cab | [
"MIT"
] | null | null | null | socialml/__init__.py | erees1/socialml | 76ec276395e7819c6c834f4819ccdf8989aa6cab | [
"MIT"
] | null | null | null |
from socialml.extractors import FbMessenger, IMessage
from socialml.make_dataset import make_training_examples
from socialml.filter_array import filter_array
| 31.8 | 56 | 0.886792 | 21 | 159 | 6.47619 | 0.571429 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08805 | 159 | 4 | 57 | 39.75 | 0.937931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
979c981a445f7850b183db2350040d8d6d5ca0b6 | 2,903 | py | Python | tests/test_components_eta_letters.py | Robpol86/etaprogress | 224e8a248c2bf820bad218763281914ad3983fff | [
"MIT"
] | 13 | 2015-08-25T05:54:21.000Z | 2021-03-23T15:56:58.000Z | tests/test_components_eta_letters.py | Robpol86/etaprogress | 224e8a248c2bf820bad218763281914ad3983fff | [
"MIT"
] | 5 | 2015-03-14T16:31:38.000Z | 2019-01-13T20:46:25.000Z | tests/test_components_eta_letters.py | Robpol86/etaprogress | 224e8a248c2bf820bad218763281914ad3983fff | [
"MIT"
] | 5 | 2015-05-31T14:16:50.000Z | 2021-02-06T11:23:43.000Z | from etaprogress.components.eta_conversions import eta_letters
def test():
assert '0s' == eta_letters(0)
assert '9s' == eta_letters(9)
assert '59s' == eta_letters(59)
assert '1m 0s' == eta_letters(60)
assert '1m 1s' == eta_letters(61)
assert '59m 59s' == eta_letters(3599)
assert '1h 0m 0... | 39.22973 | 72 | 0.689287 | 423 | 2,903 | 4.539007 | 0.106383 | 0.255208 | 0.1875 | 0.240625 | 0.793229 | 0.648958 | 0.539583 | 0.507292 | 0.165104 | 0 | 0 | 0.121717 | 0.173614 | 2,903 | 73 | 73 | 39.767123 | 0.678616 | 0 | 0 | 0 | 0 | 0 | 0.086807 | 0 | 0 | 0 | 0 | 0 | 0.90566 | 1 | 0.075472 | true | 0 | 0.018868 | 0 | 0.09434 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
97cae70ef775586d562727daf919a47339bd2ec9 | 79 | py | Python | project/settings/common.py | teracyhq-incubator/django-boilerplate | 827ace7d3a89caab9c3bba4da7c31f3daef58e2f | [
"BSD-3-Clause"
] | 1 | 2018-01-11T14:20:56.000Z | 2018-01-11T14:20:56.000Z | project/settings/common.py | teracyhq-incubator/django-boilerplate | 827ace7d3a89caab9c3bba4da7c31f3daef58e2f | [
"BSD-3-Clause"
] | null | null | null | project/settings/common.py | teracyhq-incubator/django-boilerplate | 827ace7d3a89caab9c3bba4da7c31f3daef58e2f | [
"BSD-3-Clause"
] | 2 | 2018-09-29T05:28:20.000Z | 2019-07-10T17:47:45.000Z | """
common specific project settings
"""
from settings.common import * # noqa
| 15.8 | 37 | 0.721519 | 9 | 79 | 6.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164557 | 79 | 4 | 38 | 19.75 | 0.863636 | 0.481013 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8ae2b34490cd980519864c061431753907a158bc | 43 | py | Python | nautobot_chatops_ipfabric/api/__init__.py | justinjeffery-ipf/nautobot-plugin-chatops-ipfabric | 67e58e3d251b41227808cabd6120d78411193863 | [
"Apache-2.0"
] | 6 | 2021-11-26T15:50:21.000Z | 2022-01-25T18:36:44.000Z | nautobot_chatops_ipfabric/api/__init__.py | justinjeffery-ipf/nautobot-plugin-chatops-ipfabric | 67e58e3d251b41227808cabd6120d78411193863 | [
"Apache-2.0"
] | 21 | 2021-11-30T02:31:40.000Z | 2022-02-17T04:17:36.000Z | nautobot_chatops_ipfabric/api/__init__.py | justinjeffery-ipf/nautobot-plugin-chatops-ipfabric | 67e58e3d251b41227808cabd6120d78411193863 | [
"Apache-2.0"
] | 2 | 2022-01-18T17:53:29.000Z | 2022-02-16T16:06:15.000Z | """REST API module for ipfabric plugin."""
| 21.5 | 42 | 0.697674 | 6 | 43 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 43 | 1 | 43 | 43 | 0.810811 | 0.837209 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c11cd35941eddb0fe50f15c9a5f57ed3519a55de | 118 | bzl | Python | pesto/nil/sycl/platform.bzl | quantapix/semtools | dce8840adc86e6a9672447aace969d37e236f922 | [
"MIT"
] | null | null | null | pesto/nil/sycl/platform.bzl | quantapix/semtools | dce8840adc86e6a9672447aace969d37e236f922 | [
"MIT"
] | null | null | null | pesto/nil/sycl/platform.bzl | quantapix/semtools | dce8840adc86e6a9672447aace969d37e236f922 | [
"MIT"
] | null | null | null |
def sycl_library_path(name):
return "lib/lib{}.so".format(name)
def readlink_command():
return "readlink"
| 13.111111 | 38 | 0.686441 | 16 | 118 | 4.875 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169492 | 118 | 8 | 39 | 14.75 | 0.795918 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 0 | 1 | 1 | 0 | 0 | 5 |
c12477fb1b7e78f0ce243f4efb53297ce9171583 | 56 | py | Python | api/__init__.py | rsoorajs/stream-cloud | e285f9d4cb3f12dc8e22584fc8948a02f5f035dd | [
"MIT"
] | 43 | 2021-10-30T08:18:11.000Z | 2022-03-22T07:33:04.000Z | api/__init__.py | Artinfee/stream-cloud | c3469d43542bb97261e4884297cffe87c4d68e7a | [
"MIT"
] | 4 | 2021-11-15T14:24:48.000Z | 2022-03-19T21:24:03.000Z | api/__init__.py | Artinfee/stream-cloud | c3469d43542bb97261e4884297cffe87c4d68e7a | [
"MIT"
] | 113 | 2021-10-30T06:45:59.000Z | 2022-03-31T15:52:53.000Z |
from .router import Router
from .telegram import Client | 18.666667 | 28 | 0.821429 | 8 | 56 | 5.75 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 3 | 28 | 18.666667 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c13289691b24ba81cea60dd38f57c281bc585030 | 41 | py | Python | tests/__init__.py | ojengwa/interledger | ccc24970a2ec7bd075d99efe0a18cf9922556605 | [
"MIT"
] | null | null | null | tests/__init__.py | ojengwa/interledger | ccc24970a2ec7bd075d99efe0a18cf9922556605 | [
"MIT"
] | null | null | null | tests/__init__.py | ojengwa/interledger | ccc24970a2ec7bd075d99efe0a18cf9922556605 | [
"MIT"
] | null | null | null | """Unit test package for interledger."""
| 20.5 | 40 | 0.707317 | 5 | 41 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 1 | 41 | 41 | 0.805556 | 0.829268 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c17a4b8f7ae47f60b652c7b8406ebb869e8e9de8 | 127 | py | Python | python/testData/intentions/googleNoReturnSectionForInit_after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/intentions/googleNoReturnSectionForInit_after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/intentions/googleNoReturnSectionForInit_after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class C:
def __init__(self, x, y):
"""
Args:
x:
y:
"""
return None | 14.111111 | 29 | 0.307087 | 12 | 127 | 2.916667 | 0.833333 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.574803 | 127 | 9 | 30 | 14.111111 | 0.648148 | 0.149606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
c1ad744702da335ac7f00cac8f066b714404ae29 | 160 | py | Python | src/cookbook/ingredients/admin.py | miguelzetina/python-graphene-initial | e6823ee4a7b2f72ebf592478966cd25339861019 | [
"MIT"
] | null | null | null | src/cookbook/ingredients/admin.py | miguelzetina/python-graphene-initial | e6823ee4a7b2f72ebf592478966cd25339861019 | [
"MIT"
] | 2 | 2020-06-05T19:17:52.000Z | 2021-06-10T20:55:11.000Z | src/cookbook/ingredients/admin.py | miguelzetina/python-graphene-initial | e6823ee4a7b2f72ebf592478966cd25339861019 | [
"MIT"
] | null | null | null | from django.contrib import admin
from cookbook.ingredients.models import Category, Ingredient
admin.site.register(Category)
admin.site.register(Ingredient)
| 17.777778 | 60 | 0.83125 | 20 | 160 | 6.65 | 0.6 | 0.135338 | 0.255639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 160 | 8 | 61 | 20 | 0.917241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c1c8130de3f0e9007575af26bb261e2e6b5a4473 | 98 | py | Python | EduData/__init__.py | BAOOOOOM/EduData | affa465779cb94db00ed19291f8411229d342c0f | [
"Apache-2.0"
] | 98 | 2019-07-05T03:27:36.000Z | 2022-03-30T08:38:09.000Z | EduData/__init__.py | BAOOOOOM/EduData | affa465779cb94db00ed19291f8411229d342c0f | [
"Apache-2.0"
] | 45 | 2020-12-25T03:49:43.000Z | 2021-11-26T09:45:42.000Z | EduData/__init__.py | BAOOOOOM/EduData | affa465779cb94db00ed19291f8411229d342c0f | [
"Apache-2.0"
] | 50 | 2019-08-17T05:11:15.000Z | 2022-03-29T07:54:13.000Z | # coding: utf-8
# create by tongshiwei on 2019/7/2
from .DataSet import get_data, list_resources
| 19.6 | 45 | 0.765306 | 17 | 98 | 4.294118 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084337 | 0.153061 | 98 | 4 | 46 | 24.5 | 0.795181 | 0.469388 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c1c838280a76d5cdcedce820d891666a71f259f6 | 49 | py | Python | tests/__init__.py | mlf-core/system-intelligence | f1241dbb9783f6277c7f22327a532486b9876263 | [
"Apache-2.0"
] | 6 | 2020-06-23T10:41:17.000Z | 2021-08-09T07:02:50.000Z | tests/__init__.py | mlf-core/system-intelligence | f1241dbb9783f6277c7f22327a532486b9876263 | [
"Apache-2.0"
] | 161 | 2020-06-12T14:53:37.000Z | 2022-03-31T21:02:07.000Z | tests/__init__.py | mlf-core/system-intelligence | f1241dbb9783f6277c7f22327a532486b9876263 | [
"Apache-2.0"
] | null | null | null | """Unit test package for system_intelligence."""
| 24.5 | 48 | 0.755102 | 6 | 49 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 1 | 49 | 49 | 0.818182 | 0.857143 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a9b40805073bb7b510cea719d103112923f88822 | 548 | py | Python | main.py | kewlamogh/theamogh | e1caaa808a6a2fbc4eb2be9dd0fc1433a7f59691 | [
"MIT"
] | null | null | null | main.py | kewlamogh/theamogh | e1caaa808a6a2fbc4eb2be9dd0fc1433a7f59691 | [
"MIT"
] | null | null | null | main.py | kewlamogh/theamogh | e1caaa808a6a2fbc4eb2be9dd0fc1433a7f59691 | [
"MIT"
] | null | null | null | from flask import Flask, render_template
from os import system as sys
app = Flask('app', template_folder = "pages", static_folder = 'static')
@app.route('/')
def home():
return render_template("not-article/home.html")
@app.route('/halo5tips')
def htips():
return render_template("articles/halo5tips.html")
@app.rout... | 27.4 | 71 | 0.729927 | 77 | 548 | 5.103896 | 0.454545 | 0.178117 | 0.203562 | 0.21374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020202 | 0.096715 | 548 | 20 | 72 | 27.4 | 0.773737 | 0 | 0 | 0 | 0 | 0 | 0.28051 | 0.180328 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.117647 | 0.235294 | 0.588235 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
a9b560cacaa3451173cc2b804c8098f2521c9235 | 14 | py | Python | test1.py | Arik5050/PyDjangoApi | b2e5781ecdfab18c7da520020734f1f9da5ad0b1 | [
"MIT"
] | null | null | null | test1.py | Arik5050/PyDjangoApi | b2e5781ecdfab18c7da520020734f1f9da5ad0b1 | [
"MIT"
] | null | null | null | test1.py | Arik5050/PyDjangoApi | b2e5781ecdfab18c7da520020734f1f9da5ad0b1 | [
"MIT"
] | null | null | null | print("ffff")
| 7 | 13 | 0.642857 | 2 | 14 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 14 | 1 | 14 | 14 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
e71affbfecf71180074bcb762037b7513dacf9f9 | 118 | py | Python | testing/test_gcd.py | pcordemans/algorithms_examples | ce49fc1c1fc9ad02c8bd169051a22dd5b98a7ab4 | [
"Apache-2.0"
] | null | null | null | testing/test_gcd.py | pcordemans/algorithms_examples | ce49fc1c1fc9ad02c8bd169051a22dd5b98a7ab4 | [
"Apache-2.0"
] | null | null | null | testing/test_gcd.py | pcordemans/algorithms_examples | ce49fc1c1fc9ad02c8bd169051a22dd5b98a7ab4 | [
"Apache-2.0"
] | null | null | null | from gcd import gcd
def test_gcd():
assert gcd(3,6) == 3
assert gcd(1,2) == 1
assert gcd(12,18) == 6 | 19.666667 | 31 | 0.550847 | 22 | 118 | 2.909091 | 0.545455 | 0.421875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13253 | 0.29661 | 118 | 6 | 31 | 19.666667 | 0.638554 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e721ab4aa94c9d49792a8e9ca2de72e193c24b56 | 338 | py | Python | Treasuregram/main_app/models.py | Khalil71/Treasurers- | a22ee48480b18789e78e69cbc61eea386c7cea85 | [
"MIT"
] | null | null | null | Treasuregram/main_app/models.py | Khalil71/Treasurers- | a22ee48480b18789e78e69cbc61eea386c7cea85 | [
"MIT"
] | null | null | null | Treasuregram/main_app/models.py | Khalil71/Treasurers- | a22ee48480b18789e78e69cbc61eea386c7cea85 | [
"MIT"
] | null | null | null | from django.db import models
class Treasure(models.Model):
name = models.CharField(max_length=100)
value = models.DecimalField(max_digits=10, decimal_places=2)
material = models.CharField(max_length=100)
location = models.CharField(max_length=100)
img_url = models.CharField(max_length=100)
def __str__(self):
... | 28.166667 | 61 | 0.784024 | 49 | 338 | 5.183673 | 0.571429 | 0.23622 | 0.283465 | 0.377953 | 0.425197 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049834 | 0.109467 | 338 | 11 | 62 | 30.727273 | 0.79402 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.111111 | 0.111111 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
e73f383404b47e76efcb466c9786fbe85f67697e | 195 | py | Python | pcd_loader.py | ruc98/3D_PointClouds2 | bf1ed31d895be6616992b9a35697ce762d102aec | [
"MIT"
] | 4 | 2019-08-20T09:38:50.000Z | 2021-02-24T14:54:11.000Z | pcd_loader.py | ruc98/3D_PointClouds2 | bf1ed31d895be6616992b9a35697ce762d102aec | [
"MIT"
] | 1 | 2021-02-08T10:17:25.000Z | 2021-03-29T03:10:36.000Z | pcd_loader.py | ruc98/3D_PointClouds2 | bf1ed31d895be6616992b9a35697ce762d102aec | [
"MIT"
] | 7 | 2019-03-29T21:05:05.000Z | 2021-03-12T01:48:59.000Z | from pypcd import pypcd
pc = pypcd.PointCloud.from_path('/home/rahulchakwate/My_tensorflow/3D_Object_Segmentation/PointNet_Implementation/Edge_Extraction-master/ArtificialPointClouds/bunny.pcd')
| 65 | 170 | 0.876923 | 24 | 195 | 6.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005319 | 0.035897 | 195 | 2 | 171 | 97.5 | 0.87234 | 0 | 0 | 0 | 0 | 0 | 0.692308 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e740e20a26c5e948135fef39c05049d05cc7ff8e | 211 | py | Python | tests/test_asingleton.py | guallo/asingleton | 03421633e2f17586584dbdf2a010449ffed7f675 | [
"MIT"
] | null | null | null | tests/test_asingleton.py | guallo/asingleton | 03421633e2f17586584dbdf2a010449ffed7f675 | [
"MIT"
] | null | null | null | tests/test_asingleton.py | guallo/asingleton | 03421633e2f17586584dbdf2a010449ffed7f675 | [
"MIT"
] | null | null | null | import unittest
import doctest
import asingleton.asingleton
def load_tests(loader, standard_tests, pattern):
standard_tests.addTests(doctest.DocTestSuite(asingleton.asingleton))
return standard_tests
| 21.1 | 72 | 0.824645 | 24 | 211 | 7.083333 | 0.541667 | 0.229412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113744 | 211 | 9 | 73 | 23.444444 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e79f471e20d608a2f436afca9cf9c16c22f636c0 | 113 | py | Python | Chess/controller.py | surajsinghbisht054/GameOfChess | 47edfa3fd4cc33fce9f2b9bc62e04e9ff93e5489 | [
"Apache-2.0"
] | null | null | null | Chess/controller.py | surajsinghbisht054/GameOfChess | 47edfa3fd4cc33fce9f2b9bc62e04e9ff93e5489 | [
"Apache-2.0"
] | null | null | null | Chess/controller.py | surajsinghbisht054/GameOfChess | 47edfa3fd4cc33fce9f2b9bc62e04e9ff93e5489 | [
"Apache-2.0"
] | 1 | 2019-08-30T13:51:18.000Z | 2019-08-30T13:51:18.000Z | import model
class Controller():
def __init__(self):
pass
def init_model(self):
self.model=model.Model()
| 12.555556 | 26 | 0.716814 | 16 | 113 | 4.75 | 0.5 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159292 | 113 | 8 | 27 | 14.125 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
e7c9eb1c3dd2ee80d516670e2775e2dccb5e03de | 10,747 | py | Python | tests/geo/test_quat.py | bigblindbais/pytk | 7e21604ba9b4fc869949d3d7da845d98c480d872 | [
"MIT"
] | null | null | null | tests/geo/test_quat.py | bigblindbais/pytk | 7e21604ba9b4fc869949d3d7da845d98c480d872 | [
"MIT"
] | null | null | null | tests/geo/test_quat.py | bigblindbais/pytk | 7e21604ba9b4fc869949d3d7da845d98c480d872 | [
"MIT"
] | null | null | null | import unittest
import pytk.geo as geo
class GeoQuatTest(unittest.TestCase):
def test_shape(self):
self.assertRaises(geo.GeoException, geo.quat, [])
self.assertRaises(geo.GeoException, geo.quat, [0])
self.assertRaises(geo.GeoException, geo.quat, [0, 1])
self.assertRaises(geo.GeoE... | 46.124464 | 79 | 0.456313 | 1,656 | 10,747 | 2.934179 | 0.025966 | 0.055979 | 0.090554 | 0.057419 | 0.889278 | 0.865404 | 0.802017 | 0.72731 | 0.671537 | 0.512245 | 0 | 0.081676 | 0.340374 | 10,747 | 232 | 80 | 46.323276 | 0.603752 | 0 | 0 | 0.22 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.7 | 1 | 0.06 | false | 0 | 0.01 | 0 | 0.075 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
99ccaa99fbe6412e99b1532758fc9507644a067b | 191 | py | Python | src/yellowdog_client/model/double_range.py | yellowdog/yellowdog-sdk-python-public | da69a7d6e45c92933e34fefcaef8b5d98dcd6036 | [
"Apache-2.0"
] | null | null | null | src/yellowdog_client/model/double_range.py | yellowdog/yellowdog-sdk-python-public | da69a7d6e45c92933e34fefcaef8b5d98dcd6036 | [
"Apache-2.0"
] | null | null | null | src/yellowdog_client/model/double_range.py | yellowdog/yellowdog-sdk-python-public | da69a7d6e45c92933e34fefcaef8b5d98dcd6036 | [
"Apache-2.0"
] | null | null | null | from dataclasses import dataclass
from typing import Optional
from .range import Range
@dataclass
class DoubleRange(Range):
min: Optional[float] = None
max: Optional[float] = None
| 17.363636 | 33 | 0.753927 | 24 | 191 | 6 | 0.541667 | 0.180556 | 0.236111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17801 | 191 | 10 | 34 | 19.1 | 0.917197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
99d99aa30023ecc85d6d727ce08aaecdfb54f6e4 | 187 | py | Python | indonesian_dot/agents/dfs_agent.py | Ra-Ni/Indonesian-Dot-Solver | 2baf507d23816b686f046f89d4c833728b25f2dc | [
"MIT"
] | null | null | null | indonesian_dot/agents/dfs_agent.py | Ra-Ni/Indonesian-Dot-Solver | 2baf507d23816b686f046f89d4c833728b25f2dc | [
"MIT"
] | null | null | null | indonesian_dot/agents/dfs_agent.py | Ra-Ni/Indonesian-Dot-Solver | 2baf507d23816b686f046f89d4c833728b25f2dc | [
"MIT"
] | 1 | 2020-03-18T15:23:24.000Z | 2020-03-18T15:23:24.000Z | from . import Agent
class DFSAgent(Agent):
def g(self, n) -> int:
return 0
def h(self, n) -> int:
return 0
def __str__(self) -> str:
return 'dfs'
| 13.357143 | 29 | 0.518717 | 26 | 187 | 3.576923 | 0.576923 | 0.107527 | 0.172043 | 0.301075 | 0.387097 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.358289 | 187 | 13 | 30 | 14.384615 | 0.758333 | 0 | 0 | 0.25 | 0 | 0 | 0.016043 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0.375 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
99dde7b3f5fcb0483ace26f84365fe2ed11d4cb8 | 24 | py | Python | src/clusto/drivers/locations/racks/__init__.py | thekad/clusto | c141ea3ef4931c6a21fdf42845c6e9de5ee08caa | [
"BSD-3-Clause"
] | 216 | 2015-01-10T17:03:25.000Z | 2022-03-24T07:23:41.000Z | src/clusto/drivers/locations/racks/__init__.py | thekad/clusto | c141ea3ef4931c6a21fdf42845c6e9de5ee08caa | [
"BSD-3-Clause"
] | 23 | 2015-01-08T16:51:22.000Z | 2021-03-13T12:56:04.000Z | src/clusto/drivers/locations/racks/__init__.py | thekad/clusto | c141ea3ef4931c6a21fdf42845c6e9de5ee08caa | [
"BSD-3-Clause"
] | 49 | 2015-01-08T00:13:17.000Z | 2021-09-22T02:01:20.000Z | from basicrack import *
| 12 | 23 | 0.791667 | 3 | 24 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
99ff041d1b8830dbc1ce3b632b548fc922a8713f | 44 | py | Python | qiwi_handler/qiwi_handler/samples/__init__.py | bezumnui/qiwi_handler | 9562b1a8c8fcc1910dbc722278cb6f5af313fa02 | [
"MIT"
] | null | null | null | qiwi_handler/qiwi_handler/samples/__init__.py | bezumnui/qiwi_handler | 9562b1a8c8fcc1910dbc722278cb6f5af313fa02 | [
"MIT"
] | null | null | null | qiwi_handler/qiwi_handler/samples/__init__.py | bezumnui/qiwi_handler | 9562b1a8c8fcc1910dbc722278cb6f5af313fa02 | [
"MIT"
] | null | null | null | from qiwi_handler.samples.checkPay import *
| 22 | 43 | 0.840909 | 6 | 44 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
82061fd674b4b4f92d6437e0a3b7b4fdc08d22e9 | 1,031 | py | Python | tests/test_propensity.py | yuxinchenNU/causalml | b0c280d99c0d5ab70e3b3d1a86c6f9d4170d53b1 | [
"Apache-2.0"
] | 1 | 2020-08-20T13:58:25.000Z | 2020-08-20T13:58:25.000Z | tests/test_propensity.py | yuxinchenNU/causalml | b0c280d99c0d5ab70e3b3d1a86c6f9d4170d53b1 | [
"Apache-2.0"
] | null | null | null | tests/test_propensity.py | yuxinchenNU/causalml | b0c280d99c0d5ab70e3b3d1a86c6f9d4170d53b1 | [
"Apache-2.0"
] | null | null | null | from causalml.propensity import ElasticNetPropensityModel, GradientBoostedPropensityModel
from causalml.metrics import roc_auc_score
from .const import RANDOM_SEED
def test_elasticnet_propensity_model(generate_regression_data):
y, X, treatment, tau, b, e = generate_regression_data()
pm = ElasticNetPropensi... | 33.258065 | 89 | 0.785645 | 130 | 1,031 | 5.915385 | 0.292308 | 0.140442 | 0.171652 | 0.089727 | 0.724317 | 0.724317 | 0.724317 | 0.724317 | 0.724317 | 0.724317 | 0 | 0.003367 | 0.13579 | 1,031 | 30 | 90 | 34.366667 | 0.859708 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
82211888cd67f8fad5037e098394c479e87b5ab3 | 6,796 | py | Python | source/remediation_runbooks/scripts/test/test_enableautoscalinggroupelbhealthcheck.py | j-erickson/aws-security-hub-automated-response-and-remediation | f1722c00817e1358a1d80272b67fc226f1105965 | [
"Apache-2.0"
] | 129 | 2020-08-11T18:18:50.000Z | 2021-10-04T20:00:35.000Z | source/remediation_runbooks/scripts/test/test_enableautoscalinggroupelbhealthcheck.py | j-erickson/aws-security-hub-automated-response-and-remediation | f1722c00817e1358a1d80272b67fc226f1105965 | [
"Apache-2.0"
] | 39 | 2020-08-11T18:07:58.000Z | 2021-10-15T16:26:24.000Z | source/remediation_runbooks/scripts/test/test_enableautoscalinggroupelbhealthcheck.py | j-erickson/aws-security-hub-automated-response-and-remediation | f1722c00817e1358a1d80272b67fc226f1105965 | [
"Apache-2.0"
] | 35 | 2020-08-15T04:57:27.000Z | 2021-09-21T06:23:17.000Z | #!/usr/bin/python
###############################################################################
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. #
# #
# Licensed under the Apache License Version 2.0 (the "License"). Y... | 39.283237 | 184 | 0.516922 | 504 | 6,796 | 6.849206 | 0.375 | 0.023175 | 0.033604 | 0.04635 | 0.74044 | 0.74044 | 0.74044 | 0.74044 | 0.74044 | 0.74044 | 0 | 0.055101 | 0.33505 | 6,796 | 172 | 185 | 39.511628 | 0.708785 | 0.172749 | 0 | 0.685714 | 0 | 0.028571 | 0.404893 | 0.200147 | 0 | 0 | 0 | 0 | 0.014286 | 1 | 0.014286 | false | 0 | 0.057143 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
822d0bbd584abe23edb59c54b12576de7bb8ef74 | 58,734 | py | Python | crawler.py | bernardhu/gzlianjia | a8fa3c237123079c12b8890cbece099b813bfc4c | [
"MIT"
] | 2 | 2017-05-11T09:41:13.000Z | 2017-07-24T11:46:59.000Z | crawler.py | bernardhu/gzlianjia | a8fa3c237123079c12b8890cbece099b813bfc4c | [
"MIT"
] | null | null | null | crawler.py | bernardhu/gzlianjia | a8fa3c237123079c12b8890cbece099b813bfc4c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import pickle
import math
import os.path
import shutil
import datetime
import time
import random
import json
import re
import chardet
import string
import base64
import requests
from bs4 import BeautifulSoup
from model import TradedHouse, DistricHouse, BidHouse, RentHouse, create_table, cle... | 48.142623 | 155 | 0.594885 | 8,898 | 58,734 | 3.860868 | 0.071926 | 0.021773 | 0.047156 | 0.054113 | 0.788787 | 0.75671 | 0.732578 | 0.702946 | 0.687868 | 0.666385 | 0 | 0.115736 | 0.263272 | 58,734 | 1,219 | 156 | 48.182116 | 0.678191 | 0.036606 | 0 | 0.45605 | 0 | 0.188211 | 0.45642 | 0.003912 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.015512 | null | null | 0.086867 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
412db9c7cef044c2683619df8e0ed4cea588f793 | 147 | py | Python | polls/admin.py | harshit-j/VotePlex-Django-Project | 3ceae098ae29be79f27f15f0ef50bb3dca6a2f31 | [
"Unlicense",
"MIT"
] | null | null | null | polls/admin.py | harshit-j/VotePlex-Django-Project | 3ceae098ae29be79f27f15f0ef50bb3dca6a2f31 | [
"Unlicense",
"MIT"
] | null | null | null | polls/admin.py | harshit-j/VotePlex-Django-Project | 3ceae098ae29be79f27f15f0ef50bb3dca6a2f31 | [
"Unlicense",
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Poll,Choice
# Register your models here.
admin.site.register(Poll)
admin.site.register(Choice) | 29.4 | 32 | 0.816327 | 22 | 147 | 5.454545 | 0.545455 | 0.15 | 0.283333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 147 | 5 | 33 | 29.4 | 0.902256 | 0.176871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4137ff96de7ba46bd83b1d001d68f27777635219 | 187 | py | Python | geometry/__init__.py | FRidh/python-geometry | 62cb6210bcad3b1e4c1a7e0516ca17138793c1b3 | [
"BSD-3-Clause"
] | 8 | 2015-12-16T04:39:12.000Z | 2021-04-08T15:49:23.000Z | geometry/__init__.py | FRidh/python-geometry | 62cb6210bcad3b1e4c1a7e0516ca17138793c1b3 | [
"BSD-3-Clause"
] | 1 | 2015-08-07T15:03:02.000Z | 2015-08-07T15:03:02.000Z | geometry/__init__.py | FRidh/python-geometry | 62cb6210bcad3b1e4c1a7e0516ca17138793c1b3 | [
"BSD-3-Clause"
] | 2 | 2015-03-23T02:03:04.000Z | 2020-01-09T05:01:50.000Z |
from .quat import Quat
from .point import Point
from .vector import Vector
from .plane import Plane
from .polygon import Polygon
from .edge import Edge
from .pointlist import PointList
| 18.7 | 32 | 0.802139 | 28 | 187 | 5.357143 | 0.321429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160428 | 187 | 9 | 33 | 20.777778 | 0.955414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
41547329fa8a963ce10488a8647273da8ecf5058 | 184 | py | Python | vedaseg/utils/__init__.py | E18301194/vedaseg | c62c8ea46dbba12f03262452dd7bed22969cfe4e | [
"Apache-2.0"
] | 2 | 2020-07-15T02:36:46.000Z | 2021-03-08T03:18:26.000Z | vedaseg/utils/__init__.py | E18301194/vedaseg | c62c8ea46dbba12f03262452dd7bed22969cfe4e | [
"Apache-2.0"
] | null | null | null | vedaseg/utils/__init__.py | E18301194/vedaseg | c62c8ea46dbba12f03262452dd7bed22969cfe4e | [
"Apache-2.0"
] | 1 | 2021-09-16T09:40:12.000Z | 2021-09-16T09:40:12.000Z | from .config import ConfigDict, Config
from .common import build_from_cfg, get_root_logger, set_random_seed
from .registry import Registry
from .metrics import MetricMeter, dice_score
| 36.8 | 68 | 0.847826 | 27 | 184 | 5.518519 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 184 | 4 | 69 | 46 | 0.908537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
417ac447cea1375c78db7c41bdda9318c895f13c | 50 | py | Python | projects/DistillReID/kdreid/modeling/__init__.py | asvk/fast-reid | cf246e9bee5b5e5d154de98ba0395b7a5d0d0ab7 | [
"Apache-2.0"
] | 71 | 2021-03-12T07:43:43.000Z | 2022-03-30T03:28:16.000Z | projects/DistillReID/kdreid/modeling/__init__.py | asvk/fast-reid | cf246e9bee5b5e5d154de98ba0395b7a5d0d0ab7 | [
"Apache-2.0"
] | 8 | 2021-04-06T03:02:58.000Z | 2022-02-16T14:05:47.000Z | projects/DistillReID/kdreid/modeling/__init__.py | asvk/fast-reid | cf246e9bee5b5e5d154de98ba0395b7a5d0d0ab7 | [
"Apache-2.0"
] | 7 | 2021-04-19T02:55:58.000Z | 2021-11-11T12:39:09.000Z | from .backbones import build_shufflenetv2_backbone | 50 | 50 | 0.92 | 6 | 50 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.06 | 50 | 1 | 50 | 50 | 0.914894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
68d81d1d60b2e941cd671a96decb29d75ce45d87 | 159 | py | Python | web_services/admin.py | berv-uni-project/audio-watermarik-web-services | 0eb445b4fbd35ee564b910f90419c67cc8380604 | [
"MIT"
] | 1 | 2021-12-13T01:32:02.000Z | 2021-12-13T01:32:02.000Z | web_services/admin.py | berv-uni-project/audio-watermarik-web-services | 0eb445b4fbd35ee564b910f90419c67cc8380604 | [
"MIT"
] | 4 | 2021-12-13T23:14:27.000Z | 2022-01-11T11:40:04.000Z | web_services/admin.py | berv-uni-project/audio-watermark-web-services | 997fac664e1838210eaad64fe8951bb458fdfb63 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Embed,Extract
# Register your models here.
admin.site.register(Embed)
admin.site.register(Extract) | 22.714286 | 34 | 0.779874 | 22 | 159 | 5.636364 | 0.545455 | 0.145161 | 0.274194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138365 | 159 | 7 | 35 | 22.714286 | 0.905109 | 0.163522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ec115da1b0f8b7f3f9bbd10c81b0458af3536f04 | 200 | py | Python | micromagneticmodel/dynamics/__init__.py | ubermag/micromagneticmodel | 91ad92d26cdbec369a5a41f7b90a17ca5328cd07 | [
"BSD-3-Clause"
] | 5 | 2019-10-21T01:12:16.000Z | 2021-09-24T03:52:30.000Z | micromagneticmodel/dynamics/__init__.py | ubermag/micromagneticmodel | 91ad92d26cdbec369a5a41f7b90a17ca5328cd07 | [
"BSD-3-Clause"
] | 11 | 2019-08-12T22:38:17.000Z | 2022-03-15T00:08:47.000Z | micromagneticmodel/dynamics/__init__.py | ubermag/micromagneticmodel | 91ad92d26cdbec369a5a41f7b90a17ca5328cd07 | [
"BSD-3-Clause"
] | 4 | 2020-06-27T15:36:28.000Z | 2021-12-06T15:08:04.000Z | from .dynamicsterm import DynamicsTerm
from .precession import Precession
from .damping import Damping
from .zhangli import ZhangLi
from .slonczewski import Slonczewski
from .dynamics import Dynamics
| 28.571429 | 38 | 0.85 | 24 | 200 | 7.083333 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 200 | 6 | 39 | 33.333333 | 0.965909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6b74209eb5c6de464ddb2c029dcfaf0f83a380eb | 5,692 | py | Python | src/quantrt/models/order.py | ardieb/quantrt | 4a65b97218711ce8ebc7ae90588546cbee72e646 | [
"MIT"
] | null | null | null | src/quantrt/models/order.py | ardieb/quantrt | 4a65b97218711ce8ebc7ae90588546cbee72e646 | [
"MIT"
] | null | null | null | src/quantrt/models/order.py | ardieb/quantrt | 4a65b97218711ce8ebc7ae90588546cbee72e646 | [
"MIT"
] | null | null | null | import asyncio
import asyncpg
import quantrt.common.config
import quantrt.common.log
import quantrt.util.database
import quantrt.util.time
from dataclasses import dataclass
from datetime import datetime
from decimal import Decimal
from enum import Enum
from typing import Optional, Iterable
__all__ = ["OrderStatus",... | 31.622222 | 98 | 0.589248 | 660 | 5,692 | 5.019697 | 0.154545 | 0.035919 | 0.027166 | 0.05735 | 0.735285 | 0.735285 | 0.727739 | 0.717477 | 0.717477 | 0.717477 | 0 | 0.006047 | 0.302706 | 5,692 | 179 | 99 | 31.798883 | 0.828672 | 0.020907 | 0 | 0.682119 | 0 | 0.013245 | 0.314286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.072848 | 0 | 0.178808 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6bf9811632f4fe69277437cdd9d4d69bba02f031 | 1,296 | py | Python | Conteudo das Aulas/009/Balada2-vR.py | cerberus707/lab-python | ebba3c9cde873d70d4bb61084f79ce30b7f9e047 | [
"Apache-2.0"
] | null | null | null | Conteudo das Aulas/009/Balada2-vR.py | cerberus707/lab-python | ebba3c9cde873d70d4bb61084f79ce30b7f9e047 | [
"Apache-2.0"
] | null | null | null | Conteudo das Aulas/009/Balada2-vR.py | cerberus707/lab-python | ebba3c9cde873d70d4bb61084f79ce30b7f9e047 | [
"Apache-2.0"
] | null | null | null | """
Estruturas de decisao: IF e Else (se nao ou caso contrario)
':' no python, substitui o then
a condicao if so depende de resposta True ou Fale, exeplo case 2
"""
#Case 1
idade = int(input('Quantos Anos voce tem?'))
resp = idade >= 18
if resp == True:
print('Voce pode beber a vontade')
if resp == False:
... | 18.514286 | 64 | 0.628086 | 200 | 1,296 | 4.07 | 0.255 | 0.132678 | 0.079853 | 0.12285 | 0.793612 | 0.783784 | 0.783784 | 0.734644 | 0.65602 | 0.441032 | 0 | 0.027721 | 0.248457 | 1,296 | 70 | 65 | 18.514286 | 0.808008 | 0.162809 | 0 | 0.810811 | 0 | 0 | 0.402985 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.405405 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
d407fa67f9b4da2e9a43ce405caf45b9fba0e258 | 203 | py | Python | app/models/__init__.py | ZanMax/wrs | b62bcb50f305a83b7fe08f83f5e2d9f1c2cf1ec5 | [
"MIT"
] | null | null | null | app/models/__init__.py | ZanMax/wrs | b62bcb50f305a83b7fe08f83f5e2d9f1c2cf1ec5 | [
"MIT"
] | null | null | null | app/models/__init__.py | ZanMax/wrs | b62bcb50f305a83b7fe08f83f5e2d9f1c2cf1ec5 | [
"MIT"
] | null | null | null | from .users import Users
from .tokens import Tokens
from .groups import Groups
from .openedlogs import OpenedLogs
from .reports import Reports
from .worktime import WorkTime
from .version import Version
| 25.375 | 34 | 0.827586 | 28 | 203 | 6 | 0.321429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 203 | 7 | 35 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d40a7a607ea0772b28f5e4494ede8d2c08c8f234 | 317 | py | Python | thonny/plugins/microbit/api_stubs/radio.py | shreyas202/thonny | ef894c359200b0591cf98451907243395b817c63 | [
"MIT"
] | 2 | 2020-02-13T06:41:07.000Z | 2022-02-14T09:28:02.000Z | Thonny/Lib/site-packages/thonny/plugins/microbit/api_stubs/radio.py | Pydiderot/pydiderotIDE | a42fcde3ea837ae40c957469f5d87427e8ce46d3 | [
"MIT"
] | 30 | 2019-01-04T10:14:56.000Z | 2020-10-12T14:00:31.000Z | Thonny/Lib/site-packages/thonny/plugins/microbit/api_stubs/radio.py | Pydiderot/pydiderotIDE | a42fcde3ea837ae40c957469f5d87427e8ce46d3 | [
"MIT"
] | 3 | 2018-11-24T14:00:30.000Z | 2019-07-02T02:32:26.000Z | RATE_1MBIT = 0
RATE_250KBIT = 2
RATE_2MBIT = 1
def config():
pass
def off():
pass
def on():
pass
def receive():
pass
def receive_bytes():
pass
def receive_bytes_into():
pass
def receive_full():
pass
def reset():
pass
def send():
pass
def send_bytes():
pass
| 7.204545 | 25 | 0.583596 | 44 | 317 | 4.022727 | 0.409091 | 0.355932 | 0.316384 | 0.214689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036697 | 0.312303 | 317 | 43 | 26 | 7.372093 | 0.775229 | 0 | 0 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.434783 | false | 0.434783 | 0 | 0 | 0.434783 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
d42f63a9dc78db8f405b571060d5d20d5fe2ac9e | 123 | py | Python | __init__.py | maiconandsilva/receitas | 924aa3acbd5b24286fb2a0527c2a2e133f904937 | [
"MIT"
] | null | null | null | __init__.py | maiconandsilva/receitas | 924aa3acbd5b24286fb2a0527c2a2e133f904937 | [
"MIT"
] | null | null | null | __init__.py | maiconandsilva/receitas | 924aa3acbd5b24286fb2a0527c2a2e133f904937 | [
"MIT"
] | null | null | null | from sqlalchemy_utils.listeners import force_auto_coercion
# Chama antes da definicao das entidades
force_auto_coercion()
| 24.6 | 58 | 0.861789 | 17 | 123 | 5.941176 | 0.823529 | 0.178218 | 0.336634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105691 | 123 | 4 | 59 | 30.75 | 0.918182 | 0.308943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d4331dde745665d41097acdf474f921c6a622045 | 73 | py | Python | 8_kyu/Reversed_Words.py | JoaoVitorLeite/CodeWars | 156feda7273b37fdc90d007e1f638cf0dc73959f | [
"MIT"
] | null | null | null | 8_kyu/Reversed_Words.py | JoaoVitorLeite/CodeWars | 156feda7273b37fdc90d007e1f638cf0dc73959f | [
"MIT"
] | null | null | null | 8_kyu/Reversed_Words.py | JoaoVitorLeite/CodeWars | 156feda7273b37fdc90d007e1f638cf0dc73959f | [
"MIT"
] | null | null | null | # 8 kyu
def reverse_words(s):
return " ".join(reversed(s.split()))
| 12.166667 | 40 | 0.616438 | 11 | 73 | 4 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.191781 | 73 | 5 | 41 | 14.6 | 0.728814 | 0.068493 | 0 | 0 | 0 | 0 | 0.015385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 0 | 1 | 1 | 0 | 0 | 5 |
2e04be4c31c4273fd8a956bbb4b7b56890f8872b | 233 | py | Python | src/postprocess/base_processor.py | jwpttcg66/ExcelToTransfer | 3afc0cf088f4c991bbf4dc2d6d1f395a71cbc3c7 | [
"Apache-2.0"
] | 47 | 2017-06-23T07:47:50.000Z | 2022-03-07T22:36:19.000Z | xl2code/postprocess/base_processor.py | twjitm/ExcelToCode | d160c75b9b7a305f4b3367d85ee0550572869d3e | [
"MIT"
] | 1 | 2019-03-12T06:12:50.000Z | 2019-04-03T00:50:01.000Z | xl2code/postprocess/base_processor.py | twjitm/ExcelToCode | d160c75b9b7a305f4b3367d85ee0550572869d3e | [
"MIT"
] | 23 | 2017-05-12T07:46:07.000Z | 2022-01-22T03:19:50.000Z | # -*- coding: utf-8 -*-
class BaseProcessor(object):
def __init__(self, exporter, generator_info):
super(BaseProcessor, self).__init__()
self.exporter = exporter
self.generator_info = generator_info
def run(self):
pass
| 17.923077 | 46 | 0.716738 | 28 | 233 | 5.571429 | 0.535714 | 0.25 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005076 | 0.154506 | 233 | 12 | 47 | 19.416667 | 0.786802 | 0.090129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
2e77d1a9d6aa8a2b551fbd613f310f1de5e10ebf | 215 | py | Python | stitch/__init__.py | pystitch/stitch | 09a16da2f2af2be6a960e2338de488c8de2c2271 | [
"MIT"
] | 468 | 2016-08-31T19:17:17.000Z | 2022-03-07T13:51:53.000Z | stitch/__init__.py | hschuett/stitch | 09a16da2f2af2be6a960e2338de488c8de2c2271 | [
"MIT"
] | 40 | 2016-08-29T20:34:47.000Z | 2020-09-21T03:25:49.000Z | stitch/__init__.py | TomAugspurger/stitch | 09a16da2f2af2be6a960e2338de488c8de2c2271 | [
"MIT"
] | 29 | 2016-08-31T19:44:19.000Z | 2019-05-16T14:37:44.000Z | from .stitch import ( # noqa
convert, convert_file, kernel_factory, run_code, Stitch
)
from .cli import cli # noqa
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
| 21.5 | 59 | 0.753488 | 29 | 215 | 5.206897 | 0.517241 | 0.218543 | 0.238411 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 215 | 9 | 60 | 23.888889 | 0.838889 | 0.04186 | 0 | 0 | 0 | 0 | 0.034483 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
cf126e7af080062504718d41e07a5ea043576365 | 21,441 | py | Python | survos/lib/io.py | paskino/SuRVoS | e01e784442e2e9f724826cdb70f3a50c034c6455 | [
"Apache-2.0"
] | 22 | 2016-09-30T08:04:42.000Z | 2022-03-05T07:24:18.000Z | survos/lib/io.py | paskino/SuRVoS | e01e784442e2e9f724826cdb70f3a50c034c6455 | [
"Apache-2.0"
] | 81 | 2016-11-21T15:32:14.000Z | 2022-02-20T00:22:27.000Z | survos/lib/io.py | paskino/SuRVoS | e01e784442e2e9f724826cdb70f3a50c034c6455 | [
"Apache-2.0"
] | 6 | 2018-11-22T10:19:59.000Z | 2022-02-04T06:15:48.000Z |
import os
import numpy as np
import six
import mrcfile as mrc
rhd = [
("nx", "i4"), # Number of columns
("ny", "i4"), # Number of rows
("nz", "i4"),
("mode", "i4"), # Types of pixels in the image. Values used by IMOD:
# 0 = unsigned ... | 46.109677 | 127 | 0.47773 | 2,685 | 21,441 | 3.785475 | 0.146369 | 0.006297 | 0.03168 | 0.003542 | 0.774203 | 0.75364 | 0.734947 | 0.719402 | 0.702971 | 0.68172 | 0 | 0.061811 | 0.424281 | 21,441 | 464 | 128 | 46.209052 | 0.761585 | 0.418777 | 0 | 0.54417 | 0 | 0 | 0.076032 | 0 | 0 | 0 | 0.000653 | 0 | 0.007067 | 1 | 0.056537 | false | 0 | 0.014134 | 0 | 0.123675 | 0.010601 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
cf468a8f614c8a4f2f5bc7bca1cfa9750a4aa03f | 58 | py | Python | quiz_bot/cli/group.py | livestreamx/quiz-bot | e08e9161d908ce9cb851cd6c689f04703db1928f | [
"MIT"
] | 1 | 2022-03-05T13:42:08.000Z | 2022-03-05T13:42:08.000Z | quiz_bot/cli/group.py | livestreamx/quiz-bot | e08e9161d908ce9cb851cd6c689f04703db1928f | [
"MIT"
] | null | null | null | quiz_bot/cli/group.py | livestreamx/quiz-bot | e08e9161d908ce9cb851cd6c689f04703db1928f | [
"MIT"
] | 2 | 2021-06-20T10:40:25.000Z | 2022-02-15T04:26:58.000Z | import click
@click.group()
def app() -> None:
pass
| 8.285714 | 18 | 0.603448 | 8 | 58 | 4.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 58 | 6 | 19 | 9.666667 | 0.795455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
cf70795be65d6665d53daaacbef418d5b5a98561 | 53 | py | Python | ExactHistogramSpecification/__init__.py | jkschluesener/ExactHistogramSpecification | ee95ee7e8a672e510aac0e67b6780722503e4b40 | [
"Apache-2.0"
] | null | null | null | ExactHistogramSpecification/__init__.py | jkschluesener/ExactHistogramSpecification | ee95ee7e8a672e510aac0e67b6780722503e4b40 | [
"Apache-2.0"
] | null | null | null | ExactHistogramSpecification/__init__.py | jkschluesener/ExactHistogramSpecification | ee95ee7e8a672e510aac0e67b6780722503e4b40 | [
"Apache-2.0"
] | null | null | null | from .histogram_matching import ExactHistogramMatcher | 53 | 53 | 0.924528 | 5 | 53 | 9.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 53 | 1 | 53 | 53 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cf7a55688cee308add364424d082e86290dfb780 | 6,551 | py | Python | recipes/site_listers/__init__.py | cfeenstra67/recipes | a2d296500b4ff70e11ff3177a1092a033498f82a | [
"MIT"
] | null | null | null | recipes/site_listers/__init__.py | cfeenstra67/recipes | a2d296500b4ff70e11ff3177a1092a033498f82a | [
"MIT"
] | null | null | null | recipes/site_listers/__init__.py | cfeenstra67/recipes | a2d296500b4ff70e11ff3177a1092a033498f82a | [
"MIT"
] | null | null | null | from recipes.site_listers.acouplecooks import ACoupleCooksLister
from recipes.site_listers.allrecipes import AllRecipesLister
from recipes.site_listers.ambitiouskitchen import AmbitiousKitchenLister
from recipes.site_listers.archanaskitchen import ArchanasKitchenLister
from recipes.site_listers.averiecooks import Averi... | 66.846939 | 82 | 0.911159 | 679 | 6,551 | 8.645066 | 0.293078 | 0.181772 | 0.247871 | 0.363543 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000974 | 0.059228 | 6,551 | 97 | 83 | 67.536082 | 0.951485 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cf7c17f66c443150478272cca7ffcef07ee11f88 | 328 | py | Python | lab3_SAT/sat/satisfiability.py | j-adamczyk/ADPTO_templates | e0a4e77ba8de21fe966388ccee66ef62224a2d99 | [
"MIT"
] | null | null | null | lab3_SAT/sat/satisfiability.py | j-adamczyk/ADPTO_templates | e0a4e77ba8de21fe966388ccee66ef62224a2d99 | [
"MIT"
] | null | null | null | lab3_SAT/sat/satisfiability.py | j-adamczyk/ADPTO_templates | e0a4e77ba8de21fe966388ccee66ef62224a2d99 | [
"MIT"
] | 1 | 2022-03-25T07:25:26.000Z | 2022-03-25T07:25:26.000Z | import matplotlib.pyplot as plt
import numpy as np
import pycosat
def calculate_SAT_probabilities_and_plot() -> None:
"""
Calculate probability of random formula being satisfiable based on it's
size n (number of variables). The result is plotted and shown.
Conclusion: TODO write conclusion
"""
... | 23.428571 | 76 | 0.731707 | 45 | 328 | 5.244444 | 0.844444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213415 | 328 | 13 | 77 | 25.230769 | 0.914729 | 0.518293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 1 | 0.2 | true | 0.2 | 0.6 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
d8554fc184769407a0a282c94adfb4300bba0cfe | 27 | py | Python | bindings/python/py_src/yotsuba/version.py | yutayamazaki/yotsuba | 5fac8da1a9e0c9e2929a1041a51e15f104cfe1fc | [
"MIT"
] | null | null | null | bindings/python/py_src/yotsuba/version.py | yutayamazaki/yotsuba | 5fac8da1a9e0c9e2929a1041a51e15f104cfe1fc | [
"MIT"
] | 3 | 2020-08-28T18:19:07.000Z | 2020-09-02T15:16:15.000Z | bindings/python/py_src/yotsuba/version.py | yutayamazaki/yotsuba | 5fac8da1a9e0c9e2929a1041a51e15f104cfe1fc | [
"MIT"
] | null | null | null | __version__: str = '0.1.3'
| 13.5 | 26 | 0.62963 | 5 | 27 | 2.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0.148148 | 27 | 1 | 27 | 27 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d85ab9c51aed780355de019fe468a59f3e852eab | 113 | py | Python | lycheepy/configuration/configuration/validators/__init__.py | gabrielbazan/lycheepy | f314d3f591f4a449b37ead9baf26b9f5d58d9f0d | [
"MIT"
] | 17 | 2018-08-14T02:42:43.000Z | 2022-02-25T00:38:47.000Z | lycheepy/configuration/configuration/validators/__init__.py | gabrielbazan/lycheepy | f314d3f591f4a449b37ead9baf26b9f5d58d9f0d | [
"MIT"
] | 1 | 2018-11-01T02:55:01.000Z | 2018-11-01T02:55:01.000Z | lycheepy/configuration/configuration/validators/__init__.py | gabrielbazan/lycheepy | f314d3f591f4a449b37ead9baf26b9f5d58d9f0d | [
"MIT"
] | 4 | 2018-10-30T16:01:49.000Z | 2021-06-08T20:21:07.000Z | from process import ProcessValidator
from chain import ChainValidator
from repository import RepositoryValidator
| 28.25 | 42 | 0.893805 | 12 | 113 | 8.416667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106195 | 113 | 3 | 43 | 37.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d861d0a05a0179a645980e9a0c937a7ec5cb1b3f | 48 | py | Python | data_layer/postgresql/__init__.py | xyla-io/data_layer | 8d10aab6cae7f63eacf4e139e09576dd14a87354 | [
"MIT"
] | null | null | null | data_layer/postgresql/__init__.py | xyla-io/data_layer | 8d10aab6cae7f63eacf4e139e09576dd14a87354 | [
"MIT"
] | null | null | null | data_layer/postgresql/__init__.py | xyla-io/data_layer | 8d10aab6cae7f63eacf4e139e09576dd14a87354 | [
"MIT"
] | null | null | null | from .postgresql import PostgreSQLLayer as Layer | 48 | 48 | 0.875 | 6 | 48 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 48 | 1 | 48 | 48 | 0.976744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d8ad805b2c80809157544a4be44a6d6431a27cb3 | 252 | py | Python | tests/test_torchreinforce.py | Lucien-MG/torchreinforce | 5ba852bb255c14140d7bc300a44e60e7b4b572ff | [
"MIT"
] | null | null | null | tests/test_torchreinforce.py | Lucien-MG/torchreinforce | 5ba852bb255c14140d7bc300a44e60e7b4b572ff | [
"MIT"
] | null | null | null | tests/test_torchreinforce.py | Lucien-MG/torchreinforce | 5ba852bb255c14140d7bc300a44e60e7b4b572ff | [
"MIT"
] | null | null | null | import torchreinforce
from torchreinforce import __version__
def test_version():
assert __version__ == '0.1.0'
def test_import_agents():
assert 'agents' in dir(torchreinforce)
def test_import_io():
assert 'agents' in dir(torchreinforce)
| 21 | 42 | 0.753968 | 32 | 252 | 5.53125 | 0.40625 | 0.118644 | 0.146893 | 0.19209 | 0.350282 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.154762 | 252 | 11 | 43 | 22.909091 | 0.816901 | 0 | 0 | 0.25 | 0 | 0 | 0.06746 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.375 | true | 0 | 0.5 | 0 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d8b42e4688f2756d39ce1179491402338af0c08c | 96 | py | Python | venv/lib/python3.8/site-packages/future/backports/email/quoprimime.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/future/backports/email/quoprimime.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/future/backports/email/quoprimime.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/c3/dd/d6/e5781d169c86683a83049ae75c5feffe7a47e6bdb45ae0319ab033c908 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.395833 | 0 | 96 | 1 | 96 | 96 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d8ed4b4621107ed0e18965ebc96c9179f69878ce | 44 | py | Python | tests/addition.py | manniepmkam/PvZ | e76aff52791b47b8e6c81c8efe409920df64e000 | [
"MIT"
] | 1 | 2021-05-20T02:31:33.000Z | 2021-05-20T02:31:33.000Z | tests/addition.py | manniepmkam/PvZ | e76aff52791b47b8e6c81c8efe409920df64e000 | [
"MIT"
] | null | null | null | tests/addition.py | manniepmkam/PvZ | e76aff52791b47b8e6c81c8efe409920df64e000 | [
"MIT"
] | 1 | 2019-11-03T15:14:09.000Z | 2019-11-03T15:14:09.000Z | def addition(X,Y):
Z = X+Y
return Z
| 11 | 18 | 0.522727 | 9 | 44 | 2.555556 | 0.666667 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.340909 | 44 | 3 | 19 | 14.666667 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
2b3bfecd47a1cd22102736c69daa62a8f28fe45d | 147 | py | Python | scheduleapp/admin.py | MiSokol/ScheduleApp | 01b7eec406c64de36a0fa70eee1d2c400c792ec3 | [
"MIT"
] | null | null | null | scheduleapp/admin.py | MiSokol/ScheduleApp | 01b7eec406c64de36a0fa70eee1d2c400c792ec3 | [
"MIT"
] | 1 | 2018-05-03T17:10:16.000Z | 2018-05-03T17:10:16.000Z | scheduleapp/admin.py | MiSokol/ScheduleApp | 01b7eec406c64de36a0fa70eee1d2c400c792ec3 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import User, Task
admin.site.register(User)
admin.site.register(Task)
| 18.375 | 32 | 0.789116 | 22 | 147 | 5.272727 | 0.545455 | 0.155172 | 0.293103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 147 | 7 | 33 | 21 | 0.899225 | 0.176871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2b5bbf3d58384a6e5dd4537c33623dc93592053b | 22 | py | Python | python/testData/completion/moduleFromNamespacePackage/a.after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/completion/moduleFromNamespacePackage/a.after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/completion/moduleFromNamespacePackage/a.after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from pkg import m7
m7 | 7.333333 | 18 | 0.772727 | 5 | 22 | 3.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0.227273 | 22 | 3 | 19 | 7.333333 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2b62dbc2f534750ff6d637433002dd293c01ac8d | 150 | py | Python | components/layer/__init__.py | huzexi/SADenseNet | 95ab1b6b29f6dff973f3770ecd8b23cca37c9f0b | [
"BSD-3-Clause"
] | 8 | 2021-12-10T12:50:06.000Z | 2022-03-11T21:50:02.000Z | components/layer/__init__.py | huzexi/SADenseNet | 95ab1b6b29f6dff973f3770ecd8b23cca37c9f0b | [
"BSD-3-Clause"
] | null | null | null | components/layer/__init__.py | huzexi/SADenseNet | 95ab1b6b29f6dff973f3770ecd8b23cca37c9f0b | [
"BSD-3-Clause"
] | null | null | null | from .Reorder import Reorder
from .AngularConv import AngularConv
from .SpatialConv import SpatialConv
from .CorrelationBlock import CorrelationBlock
| 30 | 46 | 0.866667 | 16 | 150 | 8.125 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 150 | 4 | 47 | 37.5 | 0.970149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
99498dc92245bb6f0a919d8ce41b9eeac94beb92 | 138 | py | Python | venv/Lib/site-packages/nipype/interfaces/cat12/__init__.py | richung99/digitizePlots | 6b408c820660a415a289726e3223e8f558d3e18b | [
"MIT"
] | null | null | null | venv/Lib/site-packages/nipype/interfaces/cat12/__init__.py | richung99/digitizePlots | 6b408c820660a415a289726e3223e8f558d3e18b | [
"MIT"
] | null | null | null | venv/Lib/site-packages/nipype/interfaces/cat12/__init__.py | richung99/digitizePlots | 6b408c820660a415a289726e3223e8f558d3e18b | [
"MIT"
] | null | null | null | from .preprocess import CAT12Segment
from .surface import (
ExtractAdditionalSurfaceParameters,
ExtractROIBasedSurfaceMeasures,
)
| 23 | 39 | 0.818841 | 9 | 138 | 12.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016807 | 0.137681 | 138 | 5 | 40 | 27.6 | 0.932773 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
99680458f1ed4f9db08434e7d0ecfbc5bbab3b4a | 209 | py | Python | django_actionlog/handler/null.py | randlet/django-actionlog | 1dee6c6d18c18312da4b34c84efe76ba01f42f69 | [
"BSD-3-Clause"
] | 3 | 2016-12-03T05:35:26.000Z | 2017-04-30T05:28:28.000Z | django_actionlog/handler/null.py | randlet/django-actionlog | 1dee6c6d18c18312da4b34c84efe76ba01f42f69 | [
"BSD-3-Clause"
] | 6 | 2016-12-29T01:00:29.000Z | 2018-01-25T10:01:39.000Z | django_actionlog/handler/null.py | randlet/django-actionlog | 1dee6c6d18c18312da4b34c84efe76ba01f42f69 | [
"BSD-3-Clause"
] | 3 | 2016-12-28T14:23:15.000Z | 2019-05-16T20:57:30.000Z | # -*- coding: utf-8 -*-
from . import handler_manager
class Nullout(object):
def __init__(self, config):
pass
def emit(self, data):
pass
handler_manager.register('null', Nullout)
| 13.933333 | 41 | 0.626794 | 25 | 209 | 5 | 0.76 | 0.224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006329 | 0.244019 | 209 | 14 | 42 | 14.928571 | 0.78481 | 0.100478 | 0 | 0.285714 | 0 | 0 | 0.021505 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.285714 | 0.142857 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
9973c0b5e197d5068f67f29078cdcee2138dee95 | 265,227 | py | Python | prisim/delay_spectrum.py | LBJ-Wade/PRISim | 04f790523dadca0a7215e3cb18e7d0f39881a96c | [
"MIT"
] | 11 | 2016-02-08T21:54:45.000Z | 2021-07-15T04:36:53.000Z | prisim/delay_spectrum.py | LBJ-Wade/PRISim | 04f790523dadca0a7215e3cb18e7d0f39881a96c | [
"MIT"
] | 38 | 2016-11-11T00:42:06.000Z | 2020-06-13T03:02:23.000Z | prisim/delay_spectrum.py | LBJ-Wade/PRISim | 04f790523dadca0a7215e3cb18e7d0f39881a96c | [
"MIT"
] | 7 | 2016-10-31T19:45:29.000Z | 2020-05-29T00:01:25.000Z | from __future__ import division
import numpy as NP
import multiprocessing as MP
import itertools as IT
import progressbar as PGB
# import aipy as AP
import astropy
from astropy.io import fits
import astropy.cosmology as CP
import scipy.constants as FCNST
import healpy as HP
from distutils.version import LooseVersion
im... | 58.368618 | 341 | 0.572577 | 32,845 | 265,227 | 4.491247 | 0.035713 | 0.030261 | 0.028851 | 0.00983 | 0.812406 | 0.781771 | 0.735166 | 0.70222 | 0.669071 | 0.646443 | 0 | 0.009138 | 0.326611 | 265,227 | 4,543 | 342 | 58.381466 | 0.81681 | 0.510174 | 0 | 0.391626 | 0 | 0.004926 | 0.162502 | 0.010738 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01601 | false | 0.006158 | 0.015394 | 0.000616 | 0.050493 | 0.025246 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
41d68dfe8dbeed9c7637dbf333fcd1bbebbd7e7b | 121 | py | Python | rusty/asgi/app.py | justanotherbyte/Rusty | 0132c44a99ebc36f31c70482b19161196f41bc5e | [
"MIT"
] | 1 | 2021-09-03T13:03:16.000Z | 2021-09-03T13:03:16.000Z | rusty/asgi/app.py | justanotherbyte/Rusty | 0132c44a99ebc36f31c70482b19161196f41bc5e | [
"MIT"
] | null | null | null | rusty/asgi/app.py | justanotherbyte/Rusty | 0132c44a99ebc36f31c70482b19161196f41bc5e | [
"MIT"
] | 1 | 2021-12-24T12:33:09.000Z | 2021-12-24T12:33:09.000Z | from starlette.applications import Starlette
class RustyMain(Starlette):
"""
Inheritance for asgi spec.
""" | 17.285714 | 44 | 0.702479 | 12 | 121 | 7.083333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206612 | 121 | 7 | 45 | 17.285714 | 0.885417 | 0.214876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
41db9cbfbd544f0784150a7a2453e75cfdec8d7e | 40 | py | Python | tests/__init__.py | Alviner/async_lock | ffa42cb845c4567c997a2a654cda1e31b28097d7 | [
"MIT"
] | null | null | null | tests/__init__.py | Alviner/async_lock | ffa42cb845c4567c997a2a654cda1e31b28097d7 | [
"MIT"
] | null | null | null | tests/__init__.py | Alviner/async_lock | ffa42cb845c4567c997a2a654cda1e31b28097d7 | [
"MIT"
] | 1 | 2021-09-30T18:31:16.000Z | 2021-09-30T18:31:16.000Z | """Unit test package for async_lock."""
| 20 | 39 | 0.7 | 6 | 40 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.771429 | 0.825 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
41f14f8dd9e49c71f29b0a0c4fbd22fe713f65d8 | 194 | py | Python | reactEx/jobs/admin.py | IsDon/isdon-JobShifts | f4cbed32b6f24754153a77f7d47baa8895dbf3a3 | [
"MIT"
] | 2 | 2017-04-25T10:44:55.000Z | 2020-08-06T12:48:22.000Z | reactEx/jobs/admin.py | IsDon/isdon-JobShifts | f4cbed32b6f24754153a77f7d47baa8895dbf3a3 | [
"MIT"
] | null | null | null | reactEx/jobs/admin.py | IsDon/isdon-JobShifts | f4cbed32b6f24754153a77f7d47baa8895dbf3a3 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Job, WorkShift, Position
# Register your models here.
admin.site.register(Job)
admin.site.register(WorkShift)
admin.site.register(Position) | 24.25 | 44 | 0.809278 | 27 | 194 | 5.814815 | 0.481481 | 0.171975 | 0.324841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097938 | 194 | 8 | 45 | 24.25 | 0.897143 | 0.134021 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
41fe5df4e3e91688763c979a535d64bdd5e27c6c | 9,448 | py | Python | test/test_card.py | furgerf/pyjass | a4270d2a93ec65fc5101e4595c3c0a1361c5ffbe | [
"Apache-2.0"
] | null | null | null | test/test_card.py | furgerf/pyjass | a4270d2a93ec65fc5101e4595c3c0a1361c5ffbe | [
"Apache-2.0"
] | 6 | 2020-01-28T22:35:11.000Z | 2022-02-10T00:06:37.000Z | test/test_card.py | furgerf/pyjass | a4270d2a93ec65fc5101e4595c3c0a1361c5ffbe | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from config import Config
from unittest import TestCase
from card import Card
from encoding import Encoding
from game_type import GameType
from parameterized import parameterized
class CardTest(TestCase):
# pylint: disable=line-too-long
def setUp(self):
self.car... | 46.313725 | 131 | 0.744814 | 1,580 | 9,448 | 4.151899 | 0.066456 | 0.101524 | 0.146646 | 0.11311 | 0.860366 | 0.848628 | 0.701067 | 0.692073 | 0.622866 | 0.609604 | 0 | 0.041546 | 0.123624 | 9,448 | 203 | 132 | 46.541872 | 0.750725 | 0.05652 | 0 | 0.326923 | 0 | 0 | 0.001348 | 0 | 0 | 0 | 0 | 0 | 0.621795 | 1 | 0.051282 | false | 0 | 0.038462 | 0 | 0.096154 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5104fb8d997531a0318e39179723387b2f922d0f | 157 | py | Python | LABWORK1/api/admin.py | maxovic/summerpractice2019 | 0b61ca6302f74618a62bad60615c47f29fa531cb | [
"MIT"
] | null | null | null | LABWORK1/api/admin.py | maxovic/summerpractice2019 | 0b61ca6302f74618a62bad60615c47f29fa531cb | [
"MIT"
] | null | null | null | LABWORK1/api/admin.py | maxovic/summerpractice2019 | 0b61ca6302f74618a62bad60615c47f29fa531cb | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import TaskList, Task
# Register your models here.
admin.site.register(TaskList)
admin.site.register(Task)
| 15.7 | 34 | 0.789809 | 22 | 157 | 5.636364 | 0.545455 | 0.145161 | 0.274194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127389 | 157 | 9 | 35 | 17.444444 | 0.905109 | 0.165605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
51370945cde16a4afa413cf4a793854fbac1fb3a | 60 | py | Python | api/models/__init__.py | biancarosa/neural-networks-api | 2066a24c7f5af818d14a8cab5cb243ac84a9b3f5 | [
"CC-BY-4.0"
] | 1 | 2019-04-26T17:56:57.000Z | 2019-04-26T17:56:57.000Z | api/models/__init__.py | biancarosa/neural-networks-api | 2066a24c7f5af818d14a8cab5cb243ac84a9b3f5 | [
"CC-BY-4.0"
] | null | null | null | api/models/__init__.py | biancarosa/neural-networks-api | 2066a24c7f5af818d14a8cab5cb243ac84a9b3f5 | [
"CC-BY-4.0"
] | 1 | 2019-04-26T17:57:00.000Z | 2019-04-26T17:57:00.000Z | from api.models.classifier_network import ClassifierNetwork
| 30 | 59 | 0.9 | 7 | 60 | 7.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 60 | 1 | 60 | 60 | 0.946429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5139d41609e1e1347a992528a31aa63d70a3c0c4 | 419 | py | Python | console.py | sjbecque/tetris-python | 76d43f332f4299b9acc676dbc13e1e05ea0939ad | [
"MIT"
] | null | null | null | console.py | sjbecque/tetris-python | 76d43f332f4299b9acc676dbc13e1e05ea0939ad | [
"MIT"
] | null | null | null | console.py | sjbecque/tetris-python | 76d43f332f4299b9acc676dbc13e1e05ea0939ad | [
"MIT"
] | null | null | null | # simple console test environment
from tetris.src.engine import Engine
from tetris.src.game import Game
from tetris.src.tetromino_factory import TetrominoFactory
from tetris.src.cube import Cube
from tetris.src.cube_sets.cube_set import CubeSet
from tetris.src.cube_sets.stones import Stones
from tetris.src.cube_sets.t... | 29.928571 | 57 | 0.811456 | 65 | 419 | 5.153846 | 0.369231 | 0.208955 | 0.271642 | 0.202985 | 0.18806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112172 | 419 | 14 | 58 | 29.928571 | 0.900538 | 0.073986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.636364 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
514a5f5ebb7b85377e2b35edc36c224183b541ed | 176 | py | Python | scripts/item/consume_2433183.py | Snewmy/swordie | ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17 | [
"MIT"
] | null | null | null | scripts/item/consume_2433183.py | Snewmy/swordie | ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17 | [
"MIT"
] | null | null | null | scripts/item/consume_2433183.py | Snewmy/swordie | ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17 | [
"MIT"
] | null | null | null | # Super Spooky Damage Skin
success = sm.addDamageSkin(2433183)
if success:
sm.chat("The Super Spooky Damage Skin has been added to your account's damage skin collection.")
| 35.2 | 100 | 0.767045 | 27 | 176 | 5 | 0.703704 | 0.222222 | 0.251852 | 0.311111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047297 | 0.159091 | 176 | 4 | 101 | 44 | 0.864865 | 0.136364 | 0 | 0 | 0 | 0 | 0.566667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
514b68f62058220ab48544f1a1635fbff41092bc | 45 | py | Python | examples/hf_transformers/custom/__init__.py | AhmedHussKhalifa/torchdistill | 071089765f95aa09da9573039ac2bd54f47cea1e | [
"MIT"
] | 576 | 2020-11-26T03:20:50.000Z | 2022-03-31T16:42:49.000Z | examples/hf_transformers/custom/__init__.py | AhmedHussKhalifa/torchdistill | 071089765f95aa09da9573039ac2bd54f47cea1e | [
"MIT"
] | 24 | 2020-12-02T12:16:44.000Z | 2022-02-17T16:14:49.000Z | examples/hf_transformers/custom/__init__.py | AhmedHussKhalifa/torchdistill | 071089765f95aa09da9573039ac2bd54f47cea1e | [
"MIT"
] | 60 | 2020-11-26T03:27:04.000Z | 2022-03-30T09:49:00.000Z | from custom import forward_proc, loss, optim
| 22.5 | 44 | 0.822222 | 7 | 45 | 5.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 45 | 1 | 45 | 45 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
8506c3b6b6c9cd6c3d942e50789fdc2e1d1bcca3 | 92 | py | Python | myProject/tests/testMotors.py | thatguy1234510/NuvuDuckyBotCodebase | 1a2d46d990bee7495ca60dff58039bb1c4374357 | [
"MIT"
] | 2 | 2019-07-23T20:05:57.000Z | 2019-07-23T20:18:38.000Z | myProject/tests/testMotors.py | theloni-monk/NuvuDuckyBotCodebase | 1a2d46d990bee7495ca60dff58039bb1c4374357 | [
"MIT"
] | null | null | null | myProject/tests/testMotors.py | theloni-monk/NuvuDuckyBotCodebase | 1a2d46d990bee7495ca60dff58039bb1c4374357 | [
"MIT"
] | null | null | null | import sys
sys.path.append("..")
import CORE.motor
#WRITEME: just have it drive in a square
| 18.4 | 40 | 0.73913 | 16 | 92 | 4.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 92 | 4 | 41 | 23 | 0.860759 | 0.423913 | 0 | 0 | 0 | 0 | 0.038462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
517e993506eea7ff6d8b92b937db4303a7139397 | 163 | py | Python | Super_users/admin.py | amirhRahimi1993/info | 29e3e356e37d37415c4fb708185c9448f36d33ca | [
"Apache-2.0"
] | null | null | null | Super_users/admin.py | amirhRahimi1993/info | 29e3e356e37d37415c4fb708185c9448f36d33ca | [
"Apache-2.0"
] | null | null | null | Super_users/admin.py | amirhRahimi1993/info | 29e3e356e37d37415c4fb708185c9448f36d33ca | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import collector , Dr_info
admin.site.register(Dr_info)
admin.site.register(collector)
# Register your models here.
| 23.285714 | 39 | 0.809816 | 24 | 163 | 5.416667 | 0.541667 | 0.092308 | 0.169231 | 0.230769 | 0.353846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110429 | 163 | 6 | 40 | 27.166667 | 0.896552 | 0.159509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
518873d3c92b94ec5fbfcd4935f34e15dd42d818 | 199 | py | Python | source/__init__.py | jameswind/neuralCT | 969829459570c808cceafec665931eb411fff5e2 | [
"Apache-2.0"
] | 27 | 2019-10-01T22:59:26.000Z | 2020-12-10T14:07:33.000Z | source/__init__.py | jameswind/neuralCT | 969829459570c808cceafec665931eb411fff5e2 | [
"Apache-2.0"
] | 1 | 2020-03-08T12:11:35.000Z | 2020-03-09T08:58:30.000Z | source/__init__.py | jameswind/neuralCT | 969829459570c808cceafec665931eb411fff5e2 | [
"Apache-2.0"
] | 4 | 2019-10-02T08:13:39.000Z | 2021-04-02T14:50:26.000Z | from .gaussian import Gaussian
from .multivariateGaussian import MultivariateGaussian
from .ringLike import Ring2d,Ring2dNoMomentum
from .harmonicChain import HarmonicChain
from .source import Source | 39.8 | 54 | 0.874372 | 21 | 199 | 8.285714 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011111 | 0.095477 | 199 | 5 | 55 | 39.8 | 0.955556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
519b56c3e75ca144edfa8cde14b23897845869f6 | 641 | py | Python | src/data_augmentation/scripts/move.py | duccl/cardiomyopathy-monograph | 89056ece724dea3443d01552eb6dd1c0d59b949b | [
"MIT"
] | 3 | 2021-08-18T22:54:10.000Z | 2021-09-29T12:47:58.000Z | src/data_augmentation/scripts/move.py | duccl/cardiomyopathy-monograph | 89056ece724dea3443d01552eb6dd1c0d59b949b | [
"MIT"
] | null | null | null | src/data_augmentation/scripts/move.py | duccl/cardiomyopathy-monograph | 89056ece724dea3443d01552eb6dd1c0d59b949b | [
"MIT"
] | null | null | null | import cv2
import numpy as np
def vertically(image: np.ndarray, value: int) -> np.ndarray:
print('Moving image vertically')
(height, width) = image.shape[:2]
translation_matrix = np.float32([[1, 0, 1], [0, 1, value]])
translated_image = cv2.warpAffine(image, translation_matrix, (width, height))
return tran... | 29.136364 | 79 | 0.711388 | 86 | 641 | 5.209302 | 0.302326 | 0.080357 | 0.0625 | 0.084821 | 0.799107 | 0.799107 | 0.799107 | 0.799107 | 0.799107 | 0.799107 | 0 | 0.034672 | 0.145086 | 641 | 21 | 80 | 30.52381 | 0.782847 | 0 | 0 | 0.428571 | 0 | 0 | 0.074883 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.428571 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
51a907f90f09cdc014342f4d552aa48efc25499e | 62 | py | Python | cluster/__init__.py | jevandezande/cluster | 6207a2622f2d36558853d50f079ef916d84a3e18 | [
"MIT"
] | null | null | null | cluster/__init__.py | jevandezande/cluster | 6207a2622f2d36558853d50f079ef916d84a3e18 | [
"MIT"
] | null | null | null | cluster/__init__.py | jevandezande/cluster | 6207a2622f2d36558853d50f079ef916d84a3e18 | [
"MIT"
] | null | null | null | from .cluster import Cluster
from .cmolecule import CMolecule
| 20.666667 | 32 | 0.83871 | 8 | 62 | 6.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 62 | 2 | 33 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
51cf569c7e2d7c6246b6f94d1011fa19c95f5de2 | 38 | py | Python | pyc64/__main__.py | jepebe/c64 | 89d884b03f4e05019143f1be4b46fd9b7e890ad2 | [
"BSD-2-Clause"
] | 1 | 2020-12-11T14:20:20.000Z | 2020-12-11T14:20:20.000Z | pyc64/__main__.py | jepebe/c64 | 89d884b03f4e05019143f1be4b46fd9b7e890ad2 | [
"BSD-2-Clause"
] | null | null | null | pyc64/__main__.py | jepebe/c64 | 89d884b03f4e05019143f1be4b46fd9b7e890ad2 | [
"BSD-2-Clause"
] | null | null | null | import c64
if __name__ == '__main__':
| 12.666667 | 26 | 0.710526 | 5 | 38 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.157895 | 38 | 2 | 27 | 19 | 0.53125 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.