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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
50ea327994c55b4a96fb4574e3dd90d2b3da5e2e | 1,012 | py | Python | deck.py | strickyak/cayley_dickson | 4773bba69126f7bdd75a0a0054c415696a25f25e | [
"MIT"
] | null | null | null | deck.py | strickyak/cayley_dickson | 4773bba69126f7bdd75a0a0054c415696a25f25e | [
"MIT"
] | null | null | null | deck.py | strickyak/cayley_dickson | 4773bba69126f7bdd75a0a0054c415696a25f25e | [
"MIT"
] | null | null | null | w = []
for a in ["a", ""]:
for b in ["b", ""]:
for c in ["c", ""]:
for x in ["x", ""]:
for y in ["y", ""]:
z = a+b+c+x+y
z = z if z else "-1"
if len(z) in [1, 2, 3]:
w.append(z)
for a in ["a", ""]:
for b in ["b", ""]:
for c in ["c", ""]:
for x ... | 20.653061 | 69 | 0.34585 | 166 | 1,012 | 2.108434 | 0.156627 | 0.228571 | 0.085714 | 0.137143 | 0.754286 | 0.728571 | 0.728571 | 0.602857 | 0.602857 | 0.602857 | 0 | 0.040067 | 0.408103 | 1,012 | 48 | 70 | 21.083333 | 0.54424 | 0 | 0 | 0.809524 | 0 | 0 | 0.051383 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.285714 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
50eead7f63b92b665dc4d1b895f7fd8cd3e149fa | 11,756 | py | Python | cogs/help.py | ilyLuxa/Athena-bot | 7cb242a8c4626dbe7866850e629f85657c698514 | [
"MIT"
] | null | null | null | cogs/help.py | ilyLuxa/Athena-bot | 7cb242a8c4626dbe7866850e629f85657c698514 | [
"MIT"
] | null | null | null | cogs/help.py | ilyLuxa/Athena-bot | 7cb242a8c4626dbe7866850e629f85657c698514 | [
"MIT"
] | 1 | 2021-09-19T21:49:08.000Z | 2021-09-19T21:49:08.000Z | from discord.ext import commands
import discord
import json
class help(commands.Cog):
def __init__(self,client):
self.client = client
@commands.command(
name="help",
description="Displays a list of athena's command list.",
usage="`{get_prefix}help`"
)
async... | 60.911917 | 449 | 0.583787 | 1,279 | 11,756 | 5.232995 | 0.104769 | 0.056477 | 0.040789 | 0.050799 | 0.842074 | 0.813835 | 0.813835 | 0.781862 | 0.776632 | 0.724339 | 0 | 0.046835 | 0.297125 | 11,756 | 192 | 450 | 61.229167 | 0.762919 | 0 | 0 | 0.678363 | 0 | 0.046784 | 0.279661 | 0.065375 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011696 | false | 0.005848 | 0.017544 | 0 | 0.035088 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ba033778e104806cc676e144a9cca36974431889 | 63 | py | Python | app/dashboard_app/__init__.py | ganggas95/E-Wisata | fb66fc7d3d4cc5a45ad9acea42fb306140a6449f | [
"Apache-2.0"
] | null | null | null | app/dashboard_app/__init__.py | ganggas95/E-Wisata | fb66fc7d3d4cc5a45ad9acea42fb306140a6449f | [
"Apache-2.0"
] | null | null | null | app/dashboard_app/__init__.py | ganggas95/E-Wisata | fb66fc7d3d4cc5a45ad9acea42fb306140a6449f | [
"Apache-2.0"
] | 1 | 2020-02-12T09:21:15.000Z | 2020-02-12T09:21:15.000Z | from .blueprint import dashboard_blueprint
from .urls import * | 21 | 42 | 0.825397 | 8 | 63 | 6.375 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 63 | 3 | 43 | 21 | 0.927273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
e84b9f1310ac44afcfa4dd5dfd1d21e20828f588 | 24 | py | Python | __init__.py | xiaoyuin/tntspa | 2be4151035de7b61c02ed2df2e3c06afe78e75f1 | [
"MIT"
] | 11 | 2018-11-02T07:32:43.000Z | 2022-03-26T09:20:40.000Z | __init__.py | xiaoyuin/tntspa | 2be4151035de7b61c02ed2df2e3c06afe78e75f1 | [
"MIT"
] | 4 | 2018-11-02T07:39:12.000Z | 2021-07-03T02:11:56.000Z | __init__.py | xiaoyuin/tntspa | 2be4151035de7b61c02ed2df2e3c06afe78e75f1 | [
"MIT"
] | 9 | 2018-11-02T07:39:21.000Z | 2022-01-04T05:57:40.000Z | from . import t2t_tntspa | 24 | 24 | 0.833333 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.125 | 24 | 1 | 24 | 24 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e873987576578328b35463d63af23a76bf02bb17 | 264 | py | Python | venv/lib/python3.7/site-packages/chameleon/__init__.py | leanhvu86/matrix-server | 6e16fc53dfebaeaf222ff5a371ccffcc65de3818 | [
"Apache-2.0"
] | 99 | 2015-01-15T13:49:18.000Z | 2022-02-28T18:29:03.000Z | venv/lib/python3.7/site-packages/chameleon/__init__.py | leanhvu86/matrix-server | 6e16fc53dfebaeaf222ff5a371ccffcc65de3818 | [
"Apache-2.0"
] | 144 | 2015-01-06T01:20:09.000Z | 2022-03-11T09:25:46.000Z | test/chameleon/venv/cpython3.11-d52597b1179a-compat-f6a835d45d46-bm-chameleon/lib/python3.11/site-packages/chameleon/__init__.py | sebawild/cpython | 874ba1a9c948af33de2ad229df42e03dc516f0a8 | [
"0BSD"
] | 55 | 2015-02-02T04:37:14.000Z | 2022-02-28T18:29:02.000Z | from .zpt.template import PageTemplate
from .zpt.template import PageTemplateFile
from .zpt.template import PageTextTemplate
from .zpt.template import PageTextTemplateFile
from .zpt.loader import TemplateLoader as PageTemplateLoader
from .exc import TemplateError
| 37.714286 | 60 | 0.859848 | 31 | 264 | 7.322581 | 0.451613 | 0.154185 | 0.264317 | 0.370044 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098485 | 264 | 6 | 61 | 44 | 0.953782 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e898a4211e158e4f111826868df60963407daaa6 | 198 | py | Python | office365/sharepoint/sharing/sharedWithUser.py | theodoriss/Office365-REST-Python-Client | 3bd7a62dadcd3f0a0aceeaff7584fff3fd44886e | [
"MIT"
] | null | null | null | office365/sharepoint/sharing/sharedWithUser.py | theodoriss/Office365-REST-Python-Client | 3bd7a62dadcd3f0a0aceeaff7584fff3fd44886e | [
"MIT"
] | null | null | null | office365/sharepoint/sharing/sharedWithUser.py | theodoriss/Office365-REST-Python-Client | 3bd7a62dadcd3f0a0aceeaff7584fff3fd44886e | [
"MIT"
] | null | null | null | from office365.runtime.client_value import ClientValue
class SharedWithUser(ClientValue):
"""Returns the array of users that have been shared in sharing action for the change log."""
pass
| 28.285714 | 96 | 0.772727 | 27 | 198 | 5.62963 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.166667 | 198 | 6 | 97 | 33 | 0.90303 | 0.434343 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e8bf158b4c35dc9f6c4d1c96a8e80347c300d4ac | 134 | py | Python | cloudflare/zones.py | darylyu/cloudflare | be12ac9fa614a7078a89d7036f3a99e3165bd99d | [
"BSD-3-Clause"
] | 1 | 2015-05-03T12:51:44.000Z | 2015-05-03T12:51:44.000Z | cloudflare/zones.py | darylyu/cloudflare | be12ac9fa614a7078a89d7036f3a99e3165bd99d | [
"BSD-3-Clause"
] | 2 | 2015-12-17T00:47:01.000Z | 2016-04-04T14:24:14.000Z | cloudflare/zones.py | darylyu/cloudflare | be12ac9fa614a7078a89d7036f3a99e3165bd99d | [
"BSD-3-Clause"
] | 3 | 2015-09-13T22:43:54.000Z | 2016-04-02T19:44:21.000Z | # -*- coding: utf-8 -*-
from .http_client import CloudFlareClient
def list_zones():
assert(False)
def show():
assert(False)
| 14.888889 | 41 | 0.664179 | 17 | 134 | 5.117647 | 0.823529 | 0.252874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009174 | 0.186567 | 134 | 8 | 42 | 16.75 | 0.788991 | 0.156716 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
2cd363e5aacdf035fc11208932c3a0fcc44b87d0 | 96 | py | Python | venv/lib/python3.8/site-packages/pyparsing/util.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pyparsing/util.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pyparsing/util.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/53/e8/ee/4d08d72747ea2c45f70416550656c0307ad08865013288d760d6e71843 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.510417 | 0 | 96 | 1 | 96 | 96 | 0.385417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2cd3f168904905dcee75ccf8dc7d4a11aa6c96fb | 94 | py | Python | efax/_src/distributions/multivariate_normal/__init__.py | NeilGirdhar/efax | 3a0f1ea3fafb456b024137dc5a20a9e7f9806a9f | [
"MIT"
] | 34 | 2020-03-24T06:21:08.000Z | 2022-03-19T04:48:17.000Z | efax/_src/distributions/multivariate_normal/__init__.py | NeilGirdhar/efax | 3a0f1ea3fafb456b024137dc5a20a9e7f9806a9f | [
"MIT"
] | 8 | 2020-03-30T11:27:48.000Z | 2021-07-05T06:10:06.000Z | efax/_src/distributions/multivariate_normal/__init__.py | NeilGirdhar/efax | 3a0f1ea3fafb456b024137dc5a20a9e7f9806a9f | [
"MIT"
] | 1 | 2022-03-17T01:34:07.000Z | 2022-03-17T01:34:07.000Z | from .arbitrary import *
from .diagonal import *
from .isotropic import *
from .unit import *
| 18.8 | 24 | 0.744681 | 12 | 94 | 5.833333 | 0.5 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 94 | 4 | 25 | 23.5 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2ced678b510c806b3072fb24d7292311590bc385 | 165 | py | Python | src/newrl/__init__.py | asqisys/newrl-py | 4e1256c51cc845fc4444b4da0706a1f94654e0d4 | [
"MIT"
] | null | null | null | src/newrl/__init__.py | asqisys/newrl-py | 4e1256c51cc845fc4444b4da0706a1f94654e0d4 | [
"MIT"
] | null | null | null | src/newrl/__init__.py | asqisys/newrl-py | 4e1256c51cc845fc4444b4da0706a1f94654e0d4 | [
"MIT"
] | null | null | null | from .hash import get_file_hash
from .signer import sign_transaction
from .wallet import get_address_from_public_key, generate_wallet_address
from .node import Node
| 33 | 72 | 0.866667 | 26 | 165 | 5.153846 | 0.538462 | 0.134328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10303 | 165 | 4 | 73 | 41.25 | 0.905405 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fa1b3b995f6fa9517effffbc0f6f53225a68ddda | 1,952 | py | Python | tests/test_decorators.py | roman-karpovich/etools-validator | e5050a675d506f3d18a4703e8b73425d93919f0c | [
"Apache-2.0"
] | null | null | null | tests/test_decorators.py | roman-karpovich/etools-validator | e5050a675d506f3d18a4703e8b73425d93919f0c | [
"Apache-2.0"
] | null | null | null | tests/test_decorators.py | roman-karpovich/etools-validator | e5050a675d506f3d18a4703e8b73425d93919f0c | [
"Apache-2.0"
] | null | null | null | from unittest import TestCase
from unittest.mock import Mock
from etools_validator import decorators
from etools_validator.exceptions import BasicValidationError, StateValidationError, TransitionError
class TestErrorString(TestCase):
def test_error(self):
func = Mock(side_effect=BasicValidationError("Oop... | 32.533333 | 99 | 0.657275 | 213 | 1,952 | 5.835681 | 0.178404 | 0.050684 | 0.108608 | 0.13757 | 0.713596 | 0.713596 | 0.713596 | 0.713596 | 0.702333 | 0.547868 | 0 | 0 | 0.21875 | 1,952 | 59 | 100 | 33.084746 | 0.815082 | 0 | 0 | 0.717391 | 0 | 0 | 0.050205 | 0.026639 | 0 | 0 | 0 | 0 | 0.195652 | 1 | 0.26087 | false | 0 | 0.086957 | 0.065217 | 0.478261 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fa3e53b2cd73d53425223ad287ddfa5c80d4bc0c | 119 | py | Python | django_project/my_app/views.py | RGero215/caprover-django | 98c857e906bce827ebe7738beb0ee4c4a1d28f15 | [
"Apache-2.0"
] | null | null | null | django_project/my_app/views.py | RGero215/caprover-django | 98c857e906bce827ebe7738beb0ee4c4a1d28f15 | [
"Apache-2.0"
] | 7 | 2020-06-06T01:50:07.000Z | 2022-02-10T10:21:06.000Z | django_project/my_app/views.py | RGero215/caprover-django | 98c857e906bce827ebe7738beb0ee4c4a1d28f15 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import HttpResponse, render
def index(request):
return render(request, "my_app/index.html")
| 23.8 | 49 | 0.773109 | 16 | 119 | 5.6875 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12605 | 119 | 4 | 50 | 29.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
fa3f4af9296d36d91ebdda5195efa2b074ee16e4 | 30 | py | Python | src/elementary_flask/utils/__init__.py | xaled/flaskly | 2ed66d89e42afba830d6c73c9f70f00d1dcac573 | [
"MIT"
] | null | null | null | src/elementary_flask/utils/__init__.py | xaled/flaskly | 2ed66d89e42afba830d6c73c9f70f00d1dcac573 | [
"MIT"
] | null | null | null | src/elementary_flask/utils/__init__.py | xaled/flaskly | 2ed66d89e42afba830d6c73c9f70f00d1dcac573 | [
"MIT"
] | null | null | null | from .jinja2 import Jinja2Env
| 15 | 29 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.133333 | 30 | 1 | 30 | 30 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fa4e54a80091f1f0a8f855f2a4a48a4d38847b6a | 465 | py | Python | samples/openapi3/client/petstore/python/petstore_api/api/__init__.py | MalcolmScoffable/openapi-generator | 73605a0c0e0c825286c95123c63678ba75b44d5c | [
"Apache-2.0"
] | 11,868 | 2018-05-12T02:58:07.000Z | 2022-03-31T21:19:39.000Z | samples/openapi3/client/petstore/python/petstore_api/api/__init__.py | MalcolmScoffable/openapi-generator | 73605a0c0e0c825286c95123c63678ba75b44d5c | [
"Apache-2.0"
] | 9,672 | 2018-05-12T14:25:43.000Z | 2022-03-31T23:59:30.000Z | samples/openapi3/client/petstore/python/petstore_api/api/__init__.py | MalcolmScoffable/openapi-generator | 73605a0c0e0c825286c95123c63678ba75b44d5c | [
"Apache-2.0"
] | 4,776 | 2018-05-12T12:06:08.000Z | 2022-03-31T19:52:51.000Z | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from petstore_api.api.another_fake_api import AnotherFakeApi
from petstore_api.api.default_api import DefaultApi
from petstore_api.api.fake_api import FakeApi
from petstore_api.api.fake_classname_tags_123_api import FakeClassnameTags... | 35.769231 | 80 | 0.870968 | 72 | 465 | 5.305556 | 0.375 | 0.219895 | 0.274869 | 0.329843 | 0.115183 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016588 | 0.092473 | 465 | 12 | 81 | 38.75 | 0.888626 | 0.088172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fa657ac4b056ee351c7a434da92000a842e200d2 | 23 | py | Python | dev/local/vision/models/all.py | amaarora/fastai_dev | ffea51a553e4a7f71bc7240730b370cd0d07cb0a | [
"Apache-2.0"
] | 1 | 2021-01-24T23:17:50.000Z | 2021-01-24T23:17:50.000Z | dev/local/vision/models/all.py | amaarora/fastai_dev | ffea51a553e4a7f71bc7240730b370cd0d07cb0a | [
"Apache-2.0"
] | null | null | null | dev/local/vision/models/all.py | amaarora/fastai_dev | ffea51a553e4a7f71bc7240730b370cd0d07cb0a | [
"Apache-2.0"
] | 1 | 2019-08-30T14:34:07.000Z | 2019-08-30T14:34:07.000Z | from .xresnet import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3aff7fbe4802e09561d839e517f63004d18233c2 | 6,180 | py | Python | tests/auto/test_tasks.py | Zedd1558/keras | 01db9f0d7270735f7951602dac2b89e08b7785bf | [
"MIT"
] | 33 | 2015-11-25T23:11:02.000Z | 2022-03-10T10:36:37.000Z | tests/auto/test_tasks.py | RamsteinWR/keras-1 | a37fb96cea857c0a2d4032cc40c01cfccd40e8b8 | [
"MIT"
] | null | null | null | tests/auto/test_tasks.py | RamsteinWR/keras-1 | a37fb96cea857c0a2d4032cc40c01cfccd40e8b8 | [
"MIT"
] | 31 | 2016-01-26T16:08:28.000Z | 2021-11-29T00:24:10.000Z | from __future__ import print_function
import numpy as np
np.random.seed(1337)
from keras.utils.test_utils import get_test_data
from keras.models import Sequential
from keras.layers.core import Dense, Activation, TimeDistributedDense, Flatten
from keras.layers.recurrent import GRU
from keras.layers.convolutional import... | 46.466165 | 138 | 0.625243 | 846 | 6,180 | 4.291962 | 0.124113 | 0.057835 | 0.05453 | 0.039659 | 0.810796 | 0.804737 | 0.784357 | 0.784357 | 0.765354 | 0.755164 | 0 | 0.029262 | 0.236893 | 6,180 | 132 | 139 | 46.818182 | 0.74067 | 0 | 0 | 0.571429 | 0 | 0 | 0.099353 | 0.01165 | 0 | 0 | 0 | 0 | 0.053571 | 1 | 0.053571 | false | 0 | 0.080357 | 0 | 0.142857 | 0.303571 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d728a32c8c19c9c301f7645faf174717ef39a420 | 72 | py | Python | cpo_pipeline/resistance/__init__.py | DiDigsDNA/cpo-pipeline | 4b3236ef4fe37e6efa38554e90f6d289d4f1f801 | [
"MIT"
] | null | null | null | cpo_pipeline/resistance/__init__.py | DiDigsDNA/cpo-pipeline | 4b3236ef4fe37e6efa38554e90f6d289d4f1f801 | [
"MIT"
] | 31 | 2018-10-11T17:43:19.000Z | 2019-06-14T19:26:26.000Z | cpo_pipeline/resistance/__init__.py | DiDigsDNA/cpo-pipeline | 4b3236ef4fe37e6efa38554e90f6d289d4f1f801 | [
"MIT"
] | 3 | 2018-11-15T18:04:36.000Z | 2019-05-02T19:09:39.000Z | """
resistance module
"""
from . import pipeline
from . import parsers
| 10.285714 | 22 | 0.708333 | 8 | 72 | 6.375 | 0.75 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180556 | 72 | 6 | 23 | 12 | 0.864407 | 0.236111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
66f6b66941c513e47e55a177d26bfc138f31b12d | 34 | py | Python | src/myrl/__init__.py | erwanlecarpentier/myrl | f123ccbae9099f2f02f63f50ff967665674f6602 | [
"MIT"
] | null | null | null | src/myrl/__init__.py | erwanlecarpentier/myrl | f123ccbae9099f2f02f63f50ff967665674f6602 | [
"MIT"
] | null | null | null | src/myrl/__init__.py | erwanlecarpentier/myrl | f123ccbae9099f2f02f63f50ff967665674f6602 | [
"MIT"
] | null | null | null | from .experiments import benchmark | 34 | 34 | 0.882353 | 4 | 34 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0f09047be7c6d5f1fd6c3bc26e8bd406a7ab06ac | 39 | py | Python | pyvoqc/qiskit/__init__.py | akshajgaur/pyvoqc | 6352d64542be5fed72e7cae941d4a2a7db012a4f | [
"MIT"
] | null | null | null | pyvoqc/qiskit/__init__.py | akshajgaur/pyvoqc | 6352d64542be5fed72e7cae941d4a2a7db012a4f | [
"MIT"
] | null | null | null | pyvoqc/qiskit/__init__.py | akshajgaur/pyvoqc | 6352d64542be5fed72e7cae941d4a2a7db012a4f | [
"MIT"
] | null | null | null | from .voqc_optimization import QisVOQC
| 19.5 | 38 | 0.871795 | 5 | 39 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0f0f8960dfbc36ff4d70fbf5e0b18453993cc0e9 | 6,249 | py | Python | tests/unitary/LiquidityGaugeV3_1/test_set_rewards.py | caterpillar1219/hundred-dao | de95e4ade1b50ec64b59e44a53a324a12c4e29df | [
"MIT"
] | null | null | null | tests/unitary/LiquidityGaugeV3_1/test_set_rewards.py | caterpillar1219/hundred-dao | de95e4ade1b50ec64b59e44a53a324a12c4e29df | [
"MIT"
] | null | null | null | tests/unitary/LiquidityGaugeV3_1/test_set_rewards.py | caterpillar1219/hundred-dao | de95e4ade1b50ec64b59e44a53a324a12c4e29df | [
"MIT"
] | null | null | null | import brownie
import pytest
from brownie import ZERO_ADDRESS
REWARD = 10 ** 20
WEEK = 7 * 86400
LP_AMOUNT = 10 ** 18
@pytest.fixture(scope="module", autouse=True)
def initial_setup(gauge_v3_1, mock_lp_token, alice):
mock_lp_token.approve(gauge_v3_1, LP_AMOUNT, {"from": alice})
gauge_v3_1.deposit(LP_AMOUNT, ... | 38.574074 | 102 | 0.678829 | 901 | 6,249 | 4.381798 | 0.085461 | 0.184397 | 0.08308 | 0.04458 | 0.87234 | 0.83156 | 0.822948 | 0.805471 | 0.797872 | 0.767984 | 0 | 0.053103 | 0.177308 | 6,249 | 161 | 103 | 38.813665 | 0.714841 | 0 | 0 | 0.533898 | 0 | 0.042373 | 0.150744 | 0.051848 | 0 | 0 | 0.00128 | 0 | 0.084746 | 1 | 0.118644 | false | 0 | 0.025424 | 0 | 0.144068 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0f3c2bb9090fb8e1437e0b53b076eb682baf2fcd | 214 | py | Python | Server/Python/src/dbs/dao/MySQL/ComponentStatus/Update.py | vkuznet/DBS | 14df8bbe8ee8f874fe423399b18afef911fe78c7 | [
"Apache-2.0"
] | 8 | 2015-08-14T04:01:32.000Z | 2021-06-03T00:56:42.000Z | Server/Python/src/dbs/dao/MySQL/ComponentStatus/Update.py | yuyiguo/DBS | 14df8bbe8ee8f874fe423399b18afef911fe78c7 | [
"Apache-2.0"
] | 162 | 2015-01-07T21:34:47.000Z | 2021-10-13T09:42:41.000Z | Server/Python/src/dbs/dao/MySQL/ComponentStatus/Update.py | yuyiguo/DBS | 14df8bbe8ee8f874fe423399b18afef911fe78c7 | [
"Apache-2.0"
] | 16 | 2015-01-22T15:27:29.000Z | 2021-04-28T09:23:28.000Z | #!/usr/bin/env python
""" DAO Object for ComponentStatus table """
from dbs.dao.Oracle.ComponentStatus.Update import Update as OraComponentStatusUpdate
class Update(OraComponentStatusUpdate):
pass
| 23.777778 | 84 | 0.752336 | 23 | 214 | 7 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163551 | 214 | 8 | 85 | 26.75 | 0.899441 | 0.271028 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
7e2fcf7dd13f33a3295717d4077c0ab5bd7abf2f | 6,554 | py | Python | CoreNLG/tests/test_numbers.py | FabienGiely/core-nlg | 65ab3e2abfa582cbc1bfe58278a964a42748bbc3 | [
"Apache-2.0"
] | 21 | 2019-10-07T15:15:24.000Z | 2021-09-14T04:16:53.000Z | CoreNLG/tests/test_numbers.py | FabienGiely/core-nlg | 65ab3e2abfa582cbc1bfe58278a964a42748bbc3 | [
"Apache-2.0"
] | 23 | 2019-10-31T09:56:00.000Z | 2021-03-25T13:45:13.000Z | CoreNLG/tests/test_numbers.py | FabienGiely/core-nlg | 65ab3e2abfa582cbc1bfe58278a964a42748bbc3 | [
"Apache-2.0"
] | 8 | 2019-10-09T16:21:25.000Z | 2021-06-16T16:05:01.000Z | # -*- coding: utf-8 -*-
"""
created on 25/07/2019 15:42
@author: fgiely
"""
import pytest
from CoreNLG.NlgTools import NlgTools
from CoreNLG.tests.fixtures import post_treatment_with_numbers_fr
class TestNumbers:
nlg = NlgTools()
nlg_num = nlg.nlg_num
@pytest.mark.parametrize(
... | 32.606965 | 111 | 0.435154 | 721 | 6,554 | 3.898752 | 0.122053 | 0.101743 | 0.10957 | 0.10957 | 0.812878 | 0.773746 | 0.714692 | 0.678051 | 0.646745 | 0.613305 | 0 | 0.387509 | 0.379463 | 6,554 | 201 | 111 | 32.606965 | 0.29555 | 0.01007 | 0 | 0.396739 | 0 | 0 | 0.163987 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 1 | 0.043478 | false | 0 | 0.016304 | 0 | 0.076087 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7e45ad97f493d66953de4f6ff704a0ba7106e3be | 70 | py | Python | runscript_sbc.py | HarrisonWinch96/DarkDisk_Microlensing | e25d59051771318239116a8d2036aca8ce70236d | [
"BSD-3-Clause"
] | null | null | null | runscript_sbc.py | HarrisonWinch96/DarkDisk_Microlensing | e25d59051771318239116a8d2036aca8ce70236d | [
"BSD-3-Clause"
] | null | null | null | runscript_sbc.py | HarrisonWinch96/DarkDisk_Microlensing | e25d59051771318239116a8d2036aca8ce70236d | [
"BSD-3-Clause"
] | null | null | null | from plotgen_functions import source_bar_compare
source_bar_compare() | 23.333333 | 48 | 0.9 | 10 | 70 | 5.8 | 0.7 | 0.310345 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 70 | 3 | 49 | 23.333333 | 0.892308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0e4b14f056c39353acacf1ccaddf30e50ab7025d | 96 | py | Python | venv/lib/python3.8/site-packages/poetry/utils/helpers.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/poetry/utils/helpers.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/poetry/utils/helpers.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/ff/6b/60/690e17f93ae7ce1ad77f3af34c870a28e0044e0465b940d668cc966833 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 96 | 1 | 96 | 96 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0e4b16e17048445709ace5521a88c6faea764a18 | 41,588 | py | Python | pynos/versions/base/bgp.py | bdeetz/pynos | bd8a34e98f322de3fc06750827d8bbc3a0c00380 | [
"Apache-2.0"
] | 12 | 2015-09-21T23:56:09.000Z | 2018-03-30T04:35:32.000Z | pynos/versions/base/bgp.py | bdeetz/pynos | bd8a34e98f322de3fc06750827d8bbc3a0c00380 | [
"Apache-2.0"
] | 10 | 2016-09-15T19:03:27.000Z | 2017-07-17T23:38:01.000Z | pynos/versions/base/bgp.py | bdeetz/pynos | bd8a34e98f322de3fc06750827d8bbc3a0c00380 | [
"Apache-2.0"
] | 6 | 2015-08-14T08:05:23.000Z | 2022-02-03T15:33:54.000Z | """
Copyright 2015 Brocade Communications Systems, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | 45.701099 | 79 | 0.537583 | 4,629 | 41,588 | 4.677252 | 0.069561 | 0.062768 | 0.04046 | 0.014965 | 0.818669 | 0.797608 | 0.783012 | 0.761812 | 0.745093 | 0.733823 | 0 | 0.038453 | 0.337165 | 41,588 | 909 | 80 | 45.751375 | 0.746971 | 0.514932 | 0 | 0.61465 | 0 | 0 | 0.210327 | 0.116101 | 0 | 0 | 0 | 0.0022 | 0 | 1 | 0.05414 | false | 0 | 0.012739 | 0 | 0.143312 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0e7ff165659229b509d4daa0fcd3447c17ad10b9 | 437 | py | Python | python_playground/twitter_graph_workload.py | CheYulin/ScanOptimizing | 691b39309da1c6b5df46b264b5a300a35d644f70 | [
"MIT"
] | 19 | 2019-05-22T13:17:58.000Z | 2021-11-26T11:42:08.000Z | python_playground/twitter_graph_workload.py | CheYulin/ScanOptimizing | 691b39309da1c6b5df46b264b5a300a35d644f70 | [
"MIT"
] | 2 | 2020-08-15T05:00:16.000Z | 2021-11-16T06:09:42.000Z | python_playground/twitter_graph_workload.py | CheYulin/ScanOptimizing | 691b39309da1c6b5df46b264b5a300a35d644f70 | [
"MIT"
] | 9 | 2018-12-20T10:09:00.000Z | 2021-11-26T11:42:10.000Z | if __name__ == '__main__':
with open('/home/yche/GitRepos/ScanOptimizing/pSCAN-refactor/out.txt') as ifs:
twitter_workload_lst = eval(ifs.readlines()[-3])
print len(twitter_workload_lst)
print len(set(twitter_workload_lst))
print max(twitter_workload_lst)
print sum(twitter_wo... | 48.555556 | 82 | 0.702517 | 58 | 437 | 4.913793 | 0.534483 | 0.368421 | 0.442105 | 0.322807 | 0.203509 | 0.203509 | 0 | 0 | 0 | 0 | 0 | 0.005602 | 0.183066 | 437 | 8 | 83 | 54.625 | 0.792717 | 0 | 0 | 0 | 0 | 0 | 0.148741 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.625 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0ea4ab62f0a9f8a8c0f9bd79b28e9c7a470d99c6 | 176 | py | Python | groceries_api/admin.py | ataryihia/groceries-rest-api | 4042a43dd5ef85fdf892edac71d5be3989620b30 | [
"MIT"
] | null | null | null | groceries_api/admin.py | ataryihia/groceries-rest-api | 4042a43dd5ef85fdf892edac71d5be3989620b30 | [
"MIT"
] | 8 | 2019-12-28T14:29:28.000Z | 2021-09-22T18:18:08.000Z | groceries_api/admin.py | ataryihia/groceries-rest-api | 4042a43dd5ef85fdf892edac71d5be3989620b30 | [
"MIT"
] | null | null | null | from django.contrib import admin
from groceries_api import models
# Register your models here.
admin.site.register(models.UserProfile)
admin.site.register(models.Groceries)
| 19.555556 | 39 | 0.823864 | 24 | 176 | 6 | 0.541667 | 0.125 | 0.236111 | 0.319444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102273 | 176 | 8 | 40 | 22 | 0.911392 | 0.147727 | 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 | 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 | 6 |
7ec4e644ddffe16b1aa0e25d56b24e463e78157c | 28 | py | Python | config.sample.py | pauljz/fcdata | d250b1a8c0ea74e5ecf4cc349afdd0c2e8c60f73 | [
"MIT"
] | null | null | null | config.sample.py | pauljz/fcdata | d250b1a8c0ea74e5ecf4cc349afdd0c2e8c60f73 | [
"MIT"
] | null | null | null | config.sample.py | pauljz/fcdata | d250b1a8c0ea74e5ecf4cc349afdd0c2e8c60f73 | [
"MIT"
] | null | null | null | apikey = 'abcdef1234567890'
| 14 | 27 | 0.785714 | 2 | 28 | 11 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0.107143 | 28 | 1 | 28 | 28 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
adcf979a55731cd51b4c3e797b43dfdb36fa9fa2 | 262 | py | Python | lib/candy_editor/SceneEditor/__init__.py | lihaochen910/Candy | d12cb964768459c22f30c22531d3e1734901e814 | [
"MIT"
] | 1 | 2021-11-06T14:38:37.000Z | 2021-11-06T14:38:37.000Z | lib/candy_editor/SceneEditor/__init__.py | lihaochen910/Candy | d12cb964768459c22f30c22531d3e1734901e814 | [
"MIT"
] | 5 | 2021-11-06T04:23:06.000Z | 2022-03-12T01:03:25.000Z | lib/candy_editor/SceneEditor/__init__.py | lihaochen910/Candy | d12cb964768459c22f30c22531d3e1734901e814 | [
"MIT"
] | 1 | 2021-11-07T05:19:51.000Z | 2021-11-07T05:19:51.000Z | # import GamePreview
from . import SceneView
from . import GameView
from .SceneEditor import SceneEditorModule
from .SceneTool import SceneTool, SceneToolMeta, SceneToolButton
from . import SceneOutlinerEditor
from . import LayerEditor
from . import DetailPanel | 29.111111 | 64 | 0.835878 | 27 | 262 | 8.111111 | 0.481481 | 0.228311 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125954 | 262 | 9 | 65 | 29.111111 | 0.956332 | 0.068702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
adea507496afe0cc7b0e68117505fd78972734b8 | 29 | py | Python | electricityLoadForecasting/forecasting/experience/__init__.py | BCD65/electricityLoadForecasting | 07a6ed060afaf7cc2906c0389b5c9e9b0fede193 | [
"MIT"
] | null | null | null | electricityLoadForecasting/forecasting/experience/__init__.py | BCD65/electricityLoadForecasting | 07a6ed060afaf7cc2906c0389b5c9e9b0fede193 | [
"MIT"
] | null | null | null | electricityLoadForecasting/forecasting/experience/__init__.py | BCD65/electricityLoadForecasting | 07a6ed060afaf7cc2906c0389b5c9e9b0fede193 | [
"MIT"
] | null | null | null |
from .experience import *
| 5.8 | 25 | 0.689655 | 3 | 29 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 29 | 4 | 26 | 7.25 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bc06c67dd25c410165594a522477a431b464897b | 104 | py | Python | tradenity/exceptions.py | tradenity/python-sdk | d13fbe23f4d6ff22554c6d8d2deaf209371adaf1 | [
"Apache-2.0"
] | 1 | 2020-03-19T04:09:17.000Z | 2020-03-19T04:09:17.000Z | tradenity/exceptions.py | tradenity/python-sdk | d13fbe23f4d6ff22554c6d8d2deaf209371adaf1 | [
"Apache-2.0"
] | null | null | null | tradenity/exceptions.py | tradenity/python-sdk | d13fbe23f4d6ff22554c6d8d2deaf209371adaf1 | [
"Apache-2.0"
] | null | null | null | class EntityNotFoundException(Exception):
pass
class SessionExpiredException(Exception):
pass
| 14.857143 | 41 | 0.788462 | 8 | 104 | 10.25 | 0.625 | 0.317073 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 104 | 6 | 42 | 17.333333 | 0.931818 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
bc1186513b843eb9197e5aaec4f6bafacf7237bb | 22 | py | Python | terminal/test zips/outlab_3_boilerplate_files/q5.py | Phantom-Troupe-CS251/RedPlag | 6c6d7a26fcc5d23cf5bea26d3d1596a87f8dda7c | [
"MIT"
] | null | null | null | terminal/test zips/outlab_3_boilerplate_files/q5.py | Phantom-Troupe-CS251/RedPlag | 6c6d7a26fcc5d23cf5bea26d3d1596a87f8dda7c | [
"MIT"
] | 7 | 2021-04-08T20:12:18.000Z | 2021-06-10T20:19:13.000Z | terminal/test zips/outlab_3_boilerplate_files/q1a.py | Phantom-Troupe-CS251/RedPlag | 6c6d7a26fcc5d23cf5bea26d3d1596a87f8dda7c | [
"MIT"
] | 1 | 2022-01-15T21:57:16.000Z | 2022-01-15T21:57:16.000Z | # Enter your code here | 22 | 22 | 0.772727 | 4 | 22 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 0.909091 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bc1d148dfa6b197a678955cccc2853f41ffbff77 | 43,556 | py | Python | tensorflow_federated/python/core/backends/mapreduce/form_utils_test.py | Tensorflow-Devs/federated | 5df96d42d72fa43a050df6465271a38175a5fd7a | [
"Apache-2.0"
] | null | null | null | tensorflow_federated/python/core/backends/mapreduce/form_utils_test.py | Tensorflow-Devs/federated | 5df96d42d72fa43a050df6465271a38175a5fd7a | [
"Apache-2.0"
] | null | null | null | tensorflow_federated/python/core/backends/mapreduce/form_utils_test.py | Tensorflow-Devs/federated | 5df96d42d72fa43a050df6465271a38175a5fd7a | [
"Apache-2.0"
] | null | null | null | # Copyright 2019, The TensorFlow Federated Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | 43.512488 | 98 | 0.735972 | 5,335 | 43,556 | 5.649859 | 0.070665 | 0.029029 | 0.013436 | 0.020901 | 0.82954 | 0.797691 | 0.772079 | 0.749254 | 0.726063 | 0.70994 | 0 | 0.014366 | 0.175338 | 43,556 | 1,000 | 99 | 43.556 | 0.8248 | 0.113601 | 0 | 0.65536 | 0 | 0 | 0.012502 | 0.007047 | 0 | 0 | 0 | 0 | 0.069199 | 1 | 0.119403 | false | 0 | 0.024423 | 0.010855 | 0.234735 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cb8c59082cf8b92965262d6957d2c4c27648a76a | 34 | py | Python | oppertions/07.py | mallimuondu/python-practice | 64fce60a646032152db8b35e20df06b2edc349ae | [
"MIT"
] | null | null | null | oppertions/07.py | mallimuondu/python-practice | 64fce60a646032152db8b35e20df06b2edc349ae | [
"MIT"
] | null | null | null | oppertions/07.py | mallimuondu/python-practice | 64fce60a646032152db8b35e20df06b2edc349ae | [
"MIT"
] | null | null | null | a = 33
b = 200
if b > a:
pass | 6.8 | 9 | 0.441176 | 8 | 34 | 1.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 0.441176 | 34 | 5 | 10 | 6.8 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
1db1c5a6bd2c865001e5a79f6372f0040c1750ba | 101 | py | Python | Solutions/Training/Lesson_09/__init__.py | dev-11/codility-solutions | 01b0ce4a43b1390fe15f2daabea95e90b834fbfc | [
"MIT"
] | null | null | null | Solutions/Training/Lesson_09/__init__.py | dev-11/codility-solutions | 01b0ce4a43b1390fe15f2daabea95e90b834fbfc | [
"MIT"
] | null | null | null | Solutions/Training/Lesson_09/__init__.py | dev-11/codility-solutions | 01b0ce4a43b1390fe15f2daabea95e90b834fbfc | [
"MIT"
] | null | null | null | from .max_profit import solution as max_profit
from .max_slice_sum import solution as max_slice_sum
| 25.25 | 52 | 0.851485 | 18 | 101 | 4.444444 | 0.444444 | 0.175 | 0.4 | 0.475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128713 | 101 | 3 | 53 | 33.666667 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 | 6 |
1db8c4f1b8ea9485cd010f610a16d79a72b5c785 | 332 | py | Python | python/graphscope/experimental/nx/tests/algorithms/forward/centrality/test_closeness_centrality.py | wenyuanyu/GraphScope | a40ccaf70557e608d8b091eb25ab04477f99ce21 | [
"Apache-2.0"
] | 2 | 2020-12-15T08:42:10.000Z | 2022-01-14T09:13:16.000Z | python/graphscope/experimental/nx/tests/algorithms/forward/centrality/test_closeness_centrality.py | wenyuanyu/GraphScope | a40ccaf70557e608d8b091eb25ab04477f99ce21 | [
"Apache-2.0"
] | 1 | 2020-12-22T13:15:40.000Z | 2020-12-22T13:15:40.000Z | python/graphscope/experimental/nx/tests/algorithms/forward/centrality/test_closeness_centrality.py | wenyuanyu/GraphScope | a40ccaf70557e608d8b091eb25ab04477f99ce21 | [
"Apache-2.0"
] | 1 | 2021-11-23T03:40:43.000Z | 2021-11-23T03:40:43.000Z | import networkx.algorithms.centrality.tests.test_closeness_centrality
import pytest
from graphscope.experimental.nx.utils.compat import import_as_graphscope_nx
import_as_graphscope_nx(networkx.algorithms.centrality.tests.test_closeness_centrality,
decorators=pytest.mark.usefixtures("graphscope... | 41.5 | 87 | 0.825301 | 38 | 332 | 6.921053 | 0.5 | 0.136882 | 0.212928 | 0.250951 | 0.425856 | 0.425856 | 0.425856 | 0 | 0 | 0 | 0 | 0 | 0.108434 | 332 | 7 | 88 | 47.428571 | 0.888514 | 0 | 0 | 0 | 0 | 0 | 0.054217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
697bddbe744deed3726cc7d4bdc765d2a602f327 | 64 | py | Python | DNN/ops/__init__.py | keyunj/VVForecast_covid19 | c6a80e7b9d71732b4355cbc35939dd70e1437189 | [
"Apache-2.0"
] | null | null | null | DNN/ops/__init__.py | keyunj/VVForecast_covid19 | c6a80e7b9d71732b4355cbc35939dd70e1437189 | [
"Apache-2.0"
] | null | null | null | DNN/ops/__init__.py | keyunj/VVForecast_covid19 | c6a80e7b9d71732b4355cbc35939dd70e1437189 | [
"Apache-2.0"
] | null | null | null | from .LSTM import *
from .Linear import *
from .losses import *
| 16 | 21 | 0.71875 | 9 | 64 | 5.111111 | 0.555556 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 64 | 3 | 22 | 21.333333 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
697fd80980f8b77cdc5eb5dedb40a5a2eab3d3bf | 4,255 | py | Python | dice.py | jckuhl/Python-Dice | 3186e1a09986ecbd6aa5895e576a27bc5baf22e7 | [
"MIT"
] | 2 | 2019-05-02T03:40:05.000Z | 2021-01-28T00:55:00.000Z | dice.py | RAVAN17/Python-Dice | 3186e1a09986ecbd6aa5895e576a27bc5baf22e7 | [
"MIT"
] | null | null | null | dice.py | RAVAN17/Python-Dice | 3186e1a09986ecbd6aa5895e576a27bc5baf22e7 | [
"MIT"
] | 2 | 2021-01-28T00:52:09.000Z | 2021-09-11T12:18:28.000Z | from random import randint
class Dice:
"""
Models a single dice with x sides
"""
value = 0
def __init__(self, sides):
"""
Initializes a dice with argument 'side' sides
"""
self.sides = sides
def roll(self):
"""
rolls the dice to a random nu... | 30.833333 | 103 | 0.552996 | 510 | 4,255 | 4.511765 | 0.135294 | 0.093872 | 0.11734 | 0.147762 | 0.873968 | 0.82399 | 0.80226 | 0.80226 | 0.80226 | 0.80226 | 0 | 0.001086 | 0.350646 | 4,255 | 137 | 104 | 31.058394 | 0.831705 | 0.107873 | 0 | 0.512195 | 0 | 0 | 0.203767 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.170732 | false | 0 | 0.012195 | 0.02439 | 0.487805 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6996081084afea435cacf28921cba8237342f751 | 193 | py | Python | app/admin.py | raptor419/SIH2020_AN314_AMRTrack | 8bbdfce967ff8f52a6ee2aae5664047ce953d8a8 | [
"MIT"
] | null | null | null | app/admin.py | raptor419/SIH2020_AN314_AMRTrack | 8bbdfce967ff8f52a6ee2aae5664047ce953d8a8 | [
"MIT"
] | null | null | null | app/admin.py | raptor419/SIH2020_AN314_AMRTrack | 8bbdfce967ff8f52a6ee2aae5664047ce953d8a8 | [
"MIT"
] | null | null | null | # -*- encoding: utf-8 -*-
from authentication.models import Profile
from django.contrib import admin
# Register your models here.
admin.site.register(Profile)
# Register your models here.
| 16.083333 | 41 | 0.751295 | 25 | 193 | 5.8 | 0.6 | 0.165517 | 0.248276 | 0.303448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006098 | 0.150259 | 193 | 11 | 42 | 17.545455 | 0.878049 | 0.398964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
69976a165b81d94d463cb41c4be9fa3d97783a1d | 27 | py | Python | tickets/models/__init__.py | gkaeso/pix4d-challenge | 9ae6b32896aa4003ffb9cc7824c52d6bae0d35cb | [
"MIT"
] | null | null | null | tickets/models/__init__.py | gkaeso/pix4d-challenge | 9ae6b32896aa4003ffb9cc7824c52d6bae0d35cb | [
"MIT"
] | null | null | null | tickets/models/__init__.py | gkaeso/pix4d-challenge | 9ae6b32896aa4003ffb9cc7824c52d6bae0d35cb | [
"MIT"
] | null | null | null | from .ticket import Ticket
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
69e3b71fec0be6e9f66401f567423f6be889fefa | 208 | py | Python | ex018.py | noahbarros/Python-Exercises | fafda898473bc984280e201ed11d8ad76cc8624a | [
"MIT"
] | 1 | 2021-07-13T21:41:00.000Z | 2021-07-13T21:41:00.000Z | ex018.py | noahbarros/Python-Exercises | fafda898473bc984280e201ed11d8ad76cc8624a | [
"MIT"
] | null | null | null | ex018.py | noahbarros/Python-Exercises | fafda898473bc984280e201ed11d8ad76cc8624a | [
"MIT"
] | null | null | null | from math import cos, sin, tan, radians
a = float(input('Digite um angulo: '))
print(f'O seno vale {sin(radians(a)):.2f}, o cosseno vale {cos(radians(a)):.2f} e a tangente vale {tan(radians(a)):.2f}')
| 34.666667 | 122 | 0.649038 | 37 | 208 | 3.648649 | 0.594595 | 0.237037 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017143 | 0.158654 | 208 | 5 | 123 | 41.6 | 0.754286 | 0 | 0 | 0 | 0 | 0.333333 | 0.641791 | 0.318408 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
388e183af3ee646ce62a39993687276cd5de6aa8 | 286 | py | Python | __init__.py | Zadigo/scrappers | eb5219c8363ac6d0229c0579de9b9e55cfa9fe3d | [
"MIT"
] | null | null | null | __init__.py | Zadigo/scrappers | eb5219c8363ac6d0229c0579de9b9e55cfa9fe3d | [
"MIT"
] | 114 | 2020-09-21T06:15:01.000Z | 2022-03-28T14:02:44.000Z | __init__.py | Zadigo/scrappers | eb5219c8363ac6d0229c0579de9b9e55cfa9fe3d | [
"MIT"
] | null | null | null | # from scrappers.apps.config.http import engine, user_agent
# from scrappers.apps.config.logs import Logs, default
# # from scrappers.apps.images import picturepub, sawfirst
# from scrappers.apps.images.sawfirst import SawFirst
# from scrappers.apps.images.picturepub import PicturePub
| 47.666667 | 59 | 0.818182 | 38 | 286 | 6.131579 | 0.368421 | 0.27897 | 0.364807 | 0.296137 | 0.266094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101399 | 286 | 5 | 60 | 57.2 | 0.906615 | 0.958042 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 6 |
389ae2b27c431f622a0cb75459d8d7033e1de89c | 120 | py | Python | from_python_community/hex_to_rgb.py | ZaytsevNS/python_practice | 109e14923a2ddeacc5360fd72947275afd2159e3 | [
"MIT"
] | null | null | null | from_python_community/hex_to_rgb.py | ZaytsevNS/python_practice | 109e14923a2ddeacc5360fd72947275afd2159e3 | [
"MIT"
] | null | null | null | from_python_community/hex_to_rgb.py | ZaytsevNS/python_practice | 109e14923a2ddeacc5360fd72947275afd2159e3 | [
"MIT"
] | null | null | null | def hex_to_rgb(hex_str: str) -> tuple:
return (int(hex_str[0:2], 16), int(hex_str[2:4], 16), int(hex_str[4:6], 16))
| 40 | 80 | 0.633333 | 27 | 120 | 2.592593 | 0.481481 | 0.342857 | 0.385714 | 0.314286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 0.133333 | 120 | 2 | 81 | 60 | 0.557692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
38c315344582fe815c01d85c25d80eeb25a33372 | 8,321 | py | Python | python/tests/test_raytracing.py | jorgensd/asimov-contact | 08704ade6343c346bc54dfd38186983cc7ab4485 | [
"MIT"
] | null | null | null | python/tests/test_raytracing.py | jorgensd/asimov-contact | 08704ade6343c346bc54dfd38186983cc7ab4485 | [
"MIT"
] | null | null | null | python/tests/test_raytracing.py | jorgensd/asimov-contact | 08704ade6343c346bc54dfd38186983cc7ab4485 | [
"MIT"
] | null | null | null | # Copyright (C) 2022 Jørgen S. Dokken
#
# SPDX-License-Identifier: MIT
#
# This test check that the ray-tracing routines give the same result as the closest point projection
# when a solution is found (It is not guaranteed that a ray hits the mesh on all processes in parallel)
import dolfinx_contact
from mpi4py imp... | 48.947059 | 119 | 0.704362 | 1,163 | 8,321 | 4.871023 | 0.140155 | 0.048544 | 0.036893 | 0.029656 | 0.858429 | 0.851192 | 0.841836 | 0.838482 | 0.821536 | 0.821536 | 0 | 0.026324 | 0.182791 | 8,321 | 169 | 120 | 49.236686 | 0.806765 | 0.109602 | 0 | 0.646552 | 0 | 0 | 0.012449 | 0 | 0 | 0 | 0 | 0 | 0.060345 | 1 | 0.043103 | false | 0 | 0.051724 | 0 | 0.094828 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
38c5af606d430d5316d4cc684178ecdb1d71c848 | 41 | py | Python | old_src/pyextension/testCExtension.py | yaatehr/learnedbloomfilter | cc2d9dae05adef9375b894ce72f4198df9d50889 | [
"MIT"
] | 5 | 2020-07-03T06:10:02.000Z | 2022-01-08T12:23:27.000Z | old_src/pyextension/testCExtension.py | yaatehr/learnedbloomfilter | cc2d9dae05adef9375b894ce72f4198df9d50889 | [
"MIT"
] | 15 | 2020-02-24T15:08:57.000Z | 2020-04-16T02:51:19.000Z | old_src/pyextension/testCExtension.py | yaatehr/learnedbloomfilter | cc2d9dae05adef9375b894ce72f4198df9d50889 | [
"MIT"
] | null | null | null | import myModule
print(myModule.fib(10))
| 10.25 | 23 | 0.780488 | 6 | 41 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0.097561 | 41 | 3 | 24 | 13.666667 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
2a632cb291ea21c5d1ffced0dde4beebb664850b | 23,858 | py | Python | 2017/aoc_09.py | justanotherdot/advent-linguist | 4dfd4ef483ddbd40fb8cf7a1719705186d4ed823 | [
"MIT"
] | null | null | null | 2017/aoc_09.py | justanotherdot/advent-linguist | 4dfd4ef483ddbd40fb8cf7a1719705186d4ed823 | [
"MIT"
] | 4 | 2016-12-06T03:23:27.000Z | 2019-04-07T21:50:04.000Z | 2017/aoc_09.py | justanotherdot/advent-linguist | 4dfd4ef483ddbd40fb8cf7a1719705186d4ed823 | [
"MIT"
] | null | null | null | s0 = '{}' # score of 1.
s1 = '{{{}}}' # score of 1 + 2 + 3 = 6.
s2 = '{{},{}}' # score of 1 + 2 + 2 = 5.
s3 = '{{{},{},{{}}}}' # score of 1 + 2 + 3 + 3 + 3 + 4 = 16.
s4 = '{<a>,<a>,<a>,<a>}' # score of 1.
s5 = '{{<ab>},{<... | 274.229885 | 21,276 | 0.15521 | 2,180 | 23,858 | 1.693119 | 0.088532 | 0.036305 | 0.013005 | 0.01463 | 0.249797 | 0.150095 | 0.111623 | 0.096451 | 0.054457 | 0.026009 | 0 | 0.002263 | 0.036759 | 23,858 | 86 | 21,277 | 277.418605 | 0.158348 | 0.016263 | 0 | 0.27027 | 0 | 0.013514 | 0.914009 | 0.910343 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027027 | false | 0 | 0.013514 | 0 | 0.135135 | 0.013514 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2a8e6ba224c97bc6c7680749e8e4098af6a29d11 | 159 | py | Python | myx/__init__.py | cfelton/myx | 3f7f6b29ca4c81c80a5e91e3d2e1936fbf18731d | [
"MIT"
] | null | null | null | myx/__init__.py | cfelton/myx | 3f7f6b29ca4c81c80a5e91e3d2e1936fbf18731d | [
"MIT"
] | null | null | null | myx/__init__.py | cfelton/myx | 3f7f6b29ca4c81c80a5e91e3d2e1936fbf18731d | [
"MIT"
] | null | null | null |
from __future__ import absolute_import
# slightly change the names space
import designs.xula as xula
import designs.xula2 as xula2
import designs.cat as cat
| 19.875 | 38 | 0.823899 | 25 | 159 | 5.04 | 0.56 | 0.309524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014815 | 0.150943 | 159 | 7 | 39 | 22.714286 | 0.918519 | 0.194969 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aa6d9c91820bef33384041156c06542b6a4c724c | 322 | py | Python | contek_tusk/entry_row.py | contek-io/contek-tusk | 74dc73388367adb958848819b29fe24316c4f6f4 | [
"MIT"
] | null | null | null | contek_tusk/entry_row.py | contek-io/contek-tusk | 74dc73388367adb958848819b29fe24316c4f6f4 | [
"MIT"
] | null | null | null | contek_tusk/entry_row.py | contek-io/contek-tusk | 74dc73388367adb958848819b29fe24316c4f6f4 | [
"MIT"
] | null | null | null | from typing import Dict, Optional
class EntryRow:
def __init__(self, key_values: Dict[str, any]) -> None:
self._key_values = key_values
def get_key_values(self) -> Dict[str, any]:
return self._key_values
def get_value(self, key: str) -> Optional[any]:
return self._key_values[key... | 23 | 59 | 0.664596 | 46 | 322 | 4.326087 | 0.391304 | 0.271357 | 0.261307 | 0.160804 | 0.221106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226708 | 322 | 13 | 60 | 24.769231 | 0.799197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0.25 | 0.875 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
aaa736db9385947cb48624678c3c4ea4cf0a7e1a | 33 | py | Python | dali/test/python/autoserialize_test/imports_decorated_function.py | L-Net-1992/DALI | 982224d8b53e1156ae092f73f5a7d600982a1eb9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | dali/test/python/autoserialize_test/imports_decorated_function.py | L-Net-1992/DALI | 982224d8b53e1156ae092f73f5a7d600982a1eb9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | dali/test/python/autoserialize_test/imports_decorated_function.py | L-Net-1992/DALI | 982224d8b53e1156ae092f73f5a7d600982a1eb9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | from . import decorated_function
| 16.5 | 32 | 0.848485 | 4 | 33 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aaacbe61af5026bfd879d95ffd835a4ab6286c75 | 135 | py | Python | geo_pyspark/core/__init__.py | Imbruced/geo_pyspark | 26da16d48168789c5f2bb75b5fdec1f515bf9cb1 | [
"Apache-2.0"
] | 7 | 2019-10-10T05:47:37.000Z | 2020-09-08T06:37:03.000Z | geo_pyspark/core/__init__.py | Imbruced/geo_pyspark | 26da16d48168789c5f2bb75b5fdec1f515bf9cb1 | [
"Apache-2.0"
] | 3 | 2019-12-16T16:49:57.000Z | 2021-08-23T20:43:32.000Z | geo_pyspark/core/__init__.py | Imbruced/geo_pyspark | 26da16d48168789c5f2bb75b5fdec1f515bf9cb1 | [
"Apache-2.0"
] | 3 | 2019-10-17T16:10:41.000Z | 2022-01-24T12:56:21.000Z | from .data import GeoData
from .geom_types import Envelope
from .geom_types import Circle
__all__ = ["GeoData", "Circle", "Envelope"]
| 22.5 | 43 | 0.762963 | 18 | 135 | 5.388889 | 0.5 | 0.164948 | 0.268041 | 0.391753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 135 | 5 | 44 | 27 | 0.82906 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aab188626b1a93ac2e0c1d33598c80c765eaeecf | 22 | py | Python | RDS/circle3_central_services/token_storage/src/api/Service/__init__.py | Sciebo-RDS/Sciebo-RDS | d71cf449ed045a2a7a049e2cb77c99fd5a9195bd | [
"MIT"
] | 10 | 2020-06-24T08:22:24.000Z | 2022-01-13T16:17:36.000Z | RDS/circle2_use_cases/port/src/api/User/Service/__init__.py | Sciebo-RDS/Sciebo-RDS | d71cf449ed045a2a7a049e2cb77c99fd5a9195bd | [
"MIT"
] | 78 | 2020-01-23T14:32:06.000Z | 2022-03-07T14:11:16.000Z | RDS/circle3_central_services/token_storage/src/api/Service/__init__.py | Sciebo-RDS/Sciebo-RDS | d71cf449ed045a2a7a049e2cb77c99fd5a9195bd | [
"MIT"
] | 1 | 2020-06-24T08:33:48.000Z | 2020-06-24T08:33:48.000Z | from .Service import * | 22 | 22 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2aa8c2302553e98307c9f223caafc486fdccb169 | 33 | py | Python | ridersportal_app/views/__init__.py | asheeshcric/ridersportal-backend | a6fc231e3a30a833c3f03587acee0071f37d9ead | [
"MIT"
] | 2 | 2018-05-26T15:45:47.000Z | 2018-12-22T15:30:59.000Z | ridersportal_app/views/__init__.py | asheeshcric/ridersportal-backend | a6fc231e3a30a833c3f03587acee0071f37d9ead | [
"MIT"
] | null | null | null | ridersportal_app/views/__init__.py | asheeshcric/ridersportal-backend | a6fc231e3a30a833c3f03587acee0071f37d9ead | [
"MIT"
] | null | null | null | from .login_view import LoginView | 33 | 33 | 0.878788 | 5 | 33 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2adb72e1f1af3b1eff55751107059c32f6ebd8d0 | 98 | py | Python | eosfactory/config.py | tuan-tl/eosfactory | 15e75de35b96b1ddf1d3e80b870593f600166007 | [
"MIT"
] | 255 | 2018-05-14T12:48:21.000Z | 2022-01-09T11:38:50.000Z | eosfactory/config.py | tuan-tl/eosfactory | 15e75de35b96b1ddf1d3e80b870593f600166007 | [
"MIT"
] | 126 | 2018-05-12T05:26:14.000Z | 2021-03-08T08:59:57.000Z | eosfactory/config.py | tuan-tl/eosfactory | 15e75de35b96b1ddf1d3e80b870593f600166007 | [
"MIT"
] | 71 | 2018-05-11T08:01:12.000Z | 2021-12-12T18:26:23.000Z | import eosfactory.core.checklist
if __name__ == '__main__':
eosfactory.core.checklist.main()
| 19.6 | 36 | 0.755102 | 11 | 98 | 6 | 0.636364 | 0.424242 | 0.69697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 98 | 4 | 37 | 24.5 | 0.767442 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
2afa1d4ffefcf02bce8a7e0fa13e118627f345c4 | 187 | py | Python | wsltools/utils/faker/providers/address/fil_PH/__init__.py | Symbo1/wsltools | 0b6e536fc85c707a1c81f0296c4e91ca835396a1 | [
"MIT"
] | 412 | 2020-04-16T08:11:58.000Z | 2022-02-02T19:49:53.000Z | wsltools/utils/faker/providers/address/fil_PH/__init__.py | Symbo1/wsltools | 0b6e536fc85c707a1c81f0296c4e91ca835396a1 | [
"MIT"
] | 1 | 2020-04-16T14:03:46.000Z | 2020-04-17T03:41:18.000Z | wsltools/utils/faker/providers/address/fil_PH/__init__.py | Symbo1/wsltools | 0b6e536fc85c707a1c81f0296c4e91ca835396a1 | [
"MIT"
] | 33 | 2020-04-16T08:48:53.000Z | 2021-10-20T04:39:29.000Z | # -*- coding: UTF-8 -*-
from ..en_PH import Provider as EnPhAddressProvider
class Provider(EnPhAddressProvider):
"""No difference from Address Provider for en_PH locale"""
pass
| 23.375 | 62 | 0.721925 | 23 | 187 | 5.782609 | 0.73913 | 0.06015 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006452 | 0.171123 | 187 | 7 | 63 | 26.714286 | 0.851613 | 0.40107 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
63098b331a252347ae591665d7877407d1424b87 | 76 | py | Python | cohere/__init__.py | jacione/cohere | a8f2afb88a9f826c13da231ac82d34e104139908 | [
"BSD-3-Clause"
] | null | null | null | cohere/__init__.py | jacione/cohere | a8f2afb88a9f826c13da231ac82d34e104139908 | [
"BSD-3-Clause"
] | null | null | null | cohere/__init__.py | jacione/cohere | a8f2afb88a9f826c13da231ac82d34e104139908 | [
"BSD-3-Clause"
] | null | null | null | from .beamlines import *
from .controller import *
from .utilities import *
| 19 | 25 | 0.763158 | 9 | 76 | 6.444444 | 0.555556 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 76 | 3 | 26 | 25.333333 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2da53a086f5131aebb765e68e7b75a2d2e1b1c58 | 25 | py | Python | kalliope/stt/apiai/__init__.py | joshuaboniface/kalliope | 0e040be3165e838485d1e5addc4d2c5df12bfd84 | [
"MIT"
] | 1 | 2017-10-09T18:02:32.000Z | 2017-10-09T18:02:32.000Z | kalliope/stt/apiai/__init__.py | joshuaboniface/kalliope | 0e040be3165e838485d1e5addc4d2c5df12bfd84 | [
"MIT"
] | null | null | null | kalliope/stt/apiai/__init__.py | joshuaboniface/kalliope | 0e040be3165e838485d1e5addc4d2c5df12bfd84 | [
"MIT"
] | 1 | 2021-11-21T19:08:15.000Z | 2021-11-21T19:08:15.000Z | from .apiai import Apiai
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2daf105aa2071760e19d8bbf6ff7563117f985ec | 43 | py | Python | zenithml/nvt/__init__.py | zenith-ml/zenithml | b2e68d31f9649d5477f8321b4394822f6f3a8e0c | [
"MIT"
] | null | null | null | zenithml/nvt/__init__.py | zenith-ml/zenithml | b2e68d31f9649d5477f8321b4394822f6f3a8e0c | [
"MIT"
] | 1 | 2022-03-07T16:29:32.000Z | 2022-03-07T16:29:32.000Z | zenithml/nvt/__init__.py | zenith-ml/zenithml | b2e68d31f9649d5477f8321b4394822f6f3a8e0c | [
"MIT"
] | null | null | null | from zenithml.nvt.dask import init_cluster
| 21.5 | 42 | 0.860465 | 7 | 43 | 5.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2dc0405e44f735814372b03e7ee87a07f04e984f | 270 | py | Python | Uche Clare/Phase 1/Python Basic 1/Day 16/Task 2.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | Uche Clare/Phase 1/Python Basic 1/Day 16/Task 2.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | Uche Clare/Phase 1/Python Basic 1/Day 16/Task 2.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | #Write a Python program to find the operating system name, platform and platform release date.
import os
import platform
print('The Operating system name is ', os.name)
print('The Platform is', platform.system())
print('The Platform release date is ',platform.release()) | 45 | 94 | 0.777778 | 41 | 270 | 5.121951 | 0.439024 | 0.214286 | 0.171429 | 0.209524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 270 | 6 | 95 | 45 | 0.893617 | 0.344444 | 0 | 0 | 0 | 0 | 0.412429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0.6 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 6 |
2dc2d4097abbe5d2e1589ab7caf2967da881428a | 7,983 | py | Python | test/temporal_log_test.py | RobinMnk/alib | b0fe38190fe4f41cc5b87df5ebe98bb52c67d32d | [
"MIT"
] | 8 | 2017-07-12T12:47:00.000Z | 2022-03-02T11:26:38.000Z | test/temporal_log_test.py | RobinMnk/alib | b0fe38190fe4f41cc5b87df5ebe98bb52c67d32d | [
"MIT"
] | null | null | null | test/temporal_log_test.py | RobinMnk/alib | b0fe38190fe4f41cc5b87df5ebe98bb52c67d32d | [
"MIT"
] | 2 | 2019-05-17T12:41:22.000Z | 2020-10-22T19:51:16.000Z | import timeit
from alib import util, modelcreator
class TestTemporalLog:
def setup(self):
self.tl_low_resolution = modelcreator.TemporalLog(log_interval_in_seconds=10)
self.tl_low_resolution.set_global_start_time(timeit.default_timer())
self.temp_log = modelcreator.TemporalLog(log_interv... | 46.144509 | 98 | 0.687962 | 1,173 | 7,983 | 4.304348 | 0.080989 | 0.063379 | 0.069519 | 0.146762 | 0.866112 | 0.840959 | 0.802139 | 0.752624 | 0.722519 | 0.714795 | 0 | 0.047934 | 0.223851 | 7,983 | 172 | 99 | 46.412791 | 0.766946 | 0.020544 | 0 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.30303 | 1 | 0.075758 | false | 0 | 0.015152 | 0 | 0.098485 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
930383906ea3b762db9d331181c08f020c0517d3 | 663 | py | Python | tests/utils/test_mathematics.py | kazarinov/cfdr | bf93428614af15440b60fb894097e94fa4efd168 | [
"MIT"
] | null | null | null | tests/utils/test_mathematics.py | kazarinov/cfdr | bf93428614af15440b60fb894097e94fa4efd168 | [
"MIT"
] | null | null | null | tests/utils/test_mathematics.py | kazarinov/cfdr | bf93428614af15440b60fb894097e94fa4efd168 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import numpy as np
from hccf.utils import mathematics
def test_sigmoid_0():
assert mathematics.sigmoid(0) == 0.5
def test_log_loss():
assert mathematics.log_loss(np.array([1, 0]), np.array([0.5, 0.5])) > 0.69
def test_loglikelihood():
assert mathematics.loglikelihood(0, 0) == 0... | 20.71875 | 78 | 0.711916 | 95 | 663 | 4.778947 | 0.294737 | 0.10793 | 0.220264 | 0.185022 | 0.220264 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.158371 | 663 | 31 | 79 | 21.387097 | 0.758065 | 0.031674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 1 | 0.4375 | true | 0 | 0.125 | 0 | 0.5625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
9326abb41b15da94329d9bfbf35e49862a5e99a0 | 2,992 | py | Python | src/app/tests/test_group.py | SLeRest/3DSliceServer | 3f93b240ef2b55200a7bf725bb983c8146b1cc9a | [
"MIT"
] | 1 | 2021-05-21T10:27:08.000Z | 2021-05-21T10:27:08.000Z | src/app/tests/test_group.py | SLeRest/3DSliceServer | 3f93b240ef2b55200a7bf725bb983c8146b1cc9a | [
"MIT"
] | null | null | null | src/app/tests/test_group.py | SLeRest/3DSliceServer | 3f93b240ef2b55200a7bf725bb983c8146b1cc9a | [
"MIT"
] | null | null | null | import requests
import json
import unittest
class GroupTest(unittest.TestCase):
def __init__(self, *args, **kwargs):
super(GroupTest, self).__init__(*args, **kwargs)
# get token
url = 'http://localhost/slice-server/api/0.0/auth/login'
body = {
'username':'admin',
... | 40.432432 | 83 | 0.606618 | 391 | 2,992 | 4.514067 | 0.168798 | 0.056091 | 0.068555 | 0.105949 | 0.818697 | 0.818697 | 0.818697 | 0.818697 | 0.795467 | 0.773938 | 0 | 0.031767 | 0.231952 | 2,992 | 73 | 84 | 40.986301 | 0.736292 | 0.003008 | 0 | 0.548387 | 0 | 0.048387 | 0.307615 | 0 | 0 | 0 | 0 | 0 | 0.177419 | 1 | 0.129032 | false | 0.016129 | 0.048387 | 0 | 0.193548 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
87cd22ddda95e766752b85453c5d662724c74461 | 677 | py | Python | rcnn/lib/python3.6/site-packages/tensorflow/saved_model/__init__.py | dreamingweaver/making_passportImage | 68f23411780ff82abe934dfae5fc04acb80f2c49 | [
"MIT"
] | 1 | 2019-01-12T13:17:32.000Z | 2019-01-12T13:17:32.000Z | rcnn/lib/python3.6/site-packages/tensorflow/saved_model/__init__.py | dreamingweaver/making_passportImage | 68f23411780ff82abe934dfae5fc04acb80f2c49 | [
"MIT"
] | null | null | null | rcnn/lib/python3.6/site-packages/tensorflow/saved_model/__init__.py | dreamingweaver/making_passportImage | 68f23411780ff82abe934dfae5fc04acb80f2c49 | [
"MIT"
] | null | null | null | # This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
"""Public API for tf.saved_model namespace.
"""
from __future__ import print_function
from tensorflow.python.saved_model.saved_model import simple_save
from tensorflow.saved_model import b... | 35.631579 | 82 | 0.858198 | 98 | 677 | 5.673469 | 0.408163 | 0.197842 | 0.258993 | 0.345324 | 0.51259 | 0.296763 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096012 | 677 | 18 | 83 | 37.611111 | 0.908497 | 0.246677 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.909091 | 0 | 0.909091 | 0.181818 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3552f0326afb344a7fbebd1871fa394b4b44a542 | 65 | py | Python | nn_trainer/models/__init__.py | nabrooks/nn-trainer | bb58e2cb50d65c682820fb598c4eedb8413aaf77 | [
"MIT"
] | null | null | null | nn_trainer/models/__init__.py | nabrooks/nn-trainer | bb58e2cb50d65c682820fb598c4eedb8413aaf77 | [
"MIT"
] | null | null | null | nn_trainer/models/__init__.py | nabrooks/nn-trainer | bb58e2cb50d65c682820fb598c4eedb8413aaf77 | [
"MIT"
] | null | null | null | from .unet import *
from .resnet import *
from .networks import * | 21.666667 | 23 | 0.738462 | 9 | 65 | 5.333333 | 0.555556 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169231 | 65 | 3 | 23 | 21.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
355688f7ec57958e3cea261b729d66a27ad23705 | 143 | py | Python | vega/algorithms/nas/__init__.py | qixiuai/vega | 3e6588ea4aedb03e3594a549a97ffdb86adb88d1 | [
"MIT"
] | null | null | null | vega/algorithms/nas/__init__.py | qixiuai/vega | 3e6588ea4aedb03e3594a549a97ffdb86adb88d1 | [
"MIT"
] | null | null | null | vega/algorithms/nas/__init__.py | qixiuai/vega | 3e6588ea4aedb03e3594a549a97ffdb86adb88d1 | [
"MIT"
] | null | null | null | from .backbone_nas import *
from .adelaide_ea import *
from .sr_ea import *
from .esr_ea import *
from .darts_cnn import *
from .cars import *
| 20.428571 | 27 | 0.748252 | 23 | 143 | 4.434783 | 0.478261 | 0.490196 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167832 | 143 | 6 | 28 | 23.833333 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
35c57bcad7347c15c9527f51f48c23d0b6a5cadd | 27 | py | Python | bundles/finance/commands/__init__.py | briancappello/flask-techan-unchained | a26a900bb47e40e5db67e78822dc6af59d1abc31 | [
"Apache-2.0"
] | null | null | null | bundles/finance/commands/__init__.py | briancappello/flask-techan-unchained | a26a900bb47e40e5db67e78822dc6af59d1abc31 | [
"Apache-2.0"
] | 18 | 2019-12-10T22:11:27.000Z | 2021-12-13T20:42:58.000Z | bundles/finance/commands/__init__.py | briancappello/flask-techan-unchained | a26a900bb47e40e5db67e78822dc6af59d1abc31 | [
"Apache-2.0"
] | 1 | 2021-07-26T08:20:28.000Z | 2021-07-26T08:20:28.000Z | from .group import finance
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ea0a2ed21698ee1b424e30ba9d5f951b296a7b5d | 24 | py | Python | comvex/utils/mixup/__init__.py | shrenik-jain/ComVEX | 93622de3a4771cda13b14f8bba52990eb47c2409 | [
"Apache-2.0"
] | 29 | 2021-06-14T08:27:43.000Z | 2022-02-07T13:40:27.000Z | comvex/utils/mixup/__init__.py | shrenik-jain/ComVEX | 93622de3a4771cda13b14f8bba52990eb47c2409 | [
"Apache-2.0"
] | 3 | 2021-11-23T16:11:51.000Z | 2021-12-21T17:24:36.000Z | comvex/utils/mixup/__init__.py | shrenik-jain/ComVEX | 93622de3a4771cda13b14f8bba52990eb47c2409 | [
"Apache-2.0"
] | 3 | 2021-06-27T08:18:57.000Z | 2021-12-17T07:29:59.000Z | from .mixup import MixUp | 24 | 24 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ea85d2a619cfa18cab3845d6457e478ac9fd733a | 215 | py | Python | cells/events/settings.py | AlesTsurko/cells | 4cf7e395cd433762bea70cdc863a346f3a6fe1d0 | [
"MIT"
] | 120 | 2019-11-12T19:22:44.000Z | 2020-05-17T12:17:25.000Z | cells/events/settings.py | ales-tsurko/cells | 4cf7e395cd433762bea70cdc863a346f3a6fe1d0 | [
"MIT"
] | 7 | 2021-03-10T02:45:47.000Z | 2022-02-26T21:40:56.000Z | cells/events/settings.py | ales-tsurko/cells | 4cf7e395cd433762bea70cdc863a346f3a6fe1d0 | [
"MIT"
] | 2 | 2020-06-09T00:22:13.000Z | 2020-11-06T09:04:05.000Z | from typing import NamedTuple
from cells.settings import Settings
class Load(NamedTuple):
settings: Settings
class Save(NamedTuple):
settings: Settings
class Update(NamedTuple):
settings: Settings
| 14.333333 | 35 | 0.762791 | 24 | 215 | 6.833333 | 0.416667 | 0.237805 | 0.47561 | 0.378049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176744 | 215 | 14 | 36 | 15.357143 | 0.926554 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
57c9bda117cbdfe17f72bc7cacc330eb94172201 | 344 | py | Python | Commands/topCommand.py | ScorchChamp/Telofik | a5992c89a8552065ab115710585545ad272cf412 | [
"MIT"
] | null | null | null | Commands/topCommand.py | ScorchChamp/Telofik | a5992c89a8552065ab115710585545ad272cf412 | [
"MIT"
] | null | null | null | Commands/topCommand.py | ScorchChamp/Telofik | a5992c89a8552065ab115710585545ad272cf412 | [
"MIT"
] | null | null | null | from scorch_api.bot import *
import Utilities.Weights.playerStore as playerStore
def discordMessage(username): return BMC.newMessage(title=f"Your guild placement: {playerStore.getStrandedPlacement(username)[0]}")
def minecraftMessage(username): return f"Dear {username}, Your guild placement: {playerStore.getStranded... | 68.8 | 133 | 0.81686 | 40 | 344 | 7 | 0.6 | 0.1 | 0.128571 | 0.207143 | 0.414286 | 0.414286 | 0.414286 | 0 | 0 | 0 | 0 | 0.006289 | 0.075581 | 344 | 5 | 134 | 68.8 | 0.874214 | 0 | 0 | 0 | 0 | 0 | 0.449275 | 0.272464 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0.5 | 0.5 | 1 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
57e1f146a0139750c19ceea2dd9ff10956163daf | 35 | py | Python | configs/common/environ.py | yxli1019/gem5 | 63098d74084ff67f5be4d2311e78b820ac0dbc7f | [
"BSD-3-Clause"
] | 2 | 2020-05-16T12:19:05.000Z | 2021-11-09T02:28:13.000Z | bzl/env.py | gaycodegal/wander-interactive-fiction-engine | 162eab70f03bc03a94641178c32d7d95a6130060 | [
"MIT"
] | null | null | null | bzl/env.py | gaycodegal/wander-interactive-fiction-engine | 162eab70f03bc03a94641178c32d7d95a6130060 | [
"MIT"
] | null | null | null | import os
print(os.environ.keys())
| 11.666667 | 24 | 0.742857 | 6 | 35 | 4.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 2 | 25 | 17.5 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
17aaca1b8d780501ec5d33908a03d93cc12d135f | 194 | py | Python | MillerArrays/millerArrayPrintColumns.py | MooersLab/jupyterlabcctbxsnips | c5f0947b4e8c4e5839b9b6b15c81c62915103155 | [
"MIT"
] | null | null | null | MillerArrays/millerArrayPrintColumns.py | MooersLab/jupyterlabcctbxsnips | c5f0947b4e8c4e5839b9b6b15c81c62915103155 | [
"MIT"
] | null | null | null | MillerArrays/millerArrayPrintColumns.py | MooersLab/jupyterlabcctbxsnips | c5f0947b4e8c4e5839b9b6b15c81c62915103155 | [
"MIT"
] | null | null | null | """
[print(f"Column label: {key[2]}") for key in miller_dict.keys()]"""
[print(f"Column label: {key[2]") for key in miller_dict.keys()]
# Description: Print the column labels.
# Source: NA
| 27.714286 | 68 | 0.654639 | 31 | 194 | 4.032258 | 0.516129 | 0.096 | 0.192 | 0.272 | 0.688 | 0.688 | 0.688 | 0.688 | 0.688 | 0.688 | 0 | 0.012121 | 0.149485 | 194 | 6 | 69 | 32.333333 | 0.745455 | 0.257732 | 0 | 0 | 0 | 0 | 0.308824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
17fce263a6f19c6d53f73c12aa5b8fb7d87b3212 | 9,944 | py | Python | tests/test_evolution.py | lantunes/netomaton | fef60a787d031c9c7b1eb4ff990f7c12145579ef | [
"Apache-2.0"
] | 35 | 2018-12-07T14:11:29.000Z | 2022-03-17T23:47:21.000Z | tests/test_evolution.py | lantunes/netomaton | fef60a787d031c9c7b1eb4ff990f7c12145579ef | [
"Apache-2.0"
] | 2 | 2020-03-15T06:45:39.000Z | 2020-04-15T23:50:13.000Z | tests/test_evolution.py | lantunes/netomaton | fef60a787d031c9c7b1eb4ff990f7c12145579ef | [
"Apache-2.0"
] | 6 | 2019-10-18T08:47:32.000Z | 2022-03-02T10:17:12.000Z | import unittest
import numpy as np
import netomaton as ntm
class TestFunctions(unittest.TestCase):
def test_neighbourhood(self):
network = ntm.topology.from_adjacency_matrix([
[1.0, 0.9, 0.0, 0.0, 1.0],
[1.0, 1.0, 1.0, 0.0, 0.0],
[0.0, 1.0, 1.0, 1.0, 0.0],
[0.0... | 37.809886 | 107 | 0.546158 | 1,281 | 9,944 | 4.057767 | 0.076503 | 0.124086 | 0.012697 | 0.06541 | 0.896306 | 0.850904 | 0.8005 | 0.780685 | 0.721624 | 0.629088 | 0 | 0.063455 | 0.315366 | 9,944 | 262 | 108 | 37.954198 | 0.700059 | 0 | 0 | 0.509259 | 0 | 0 | 0.009051 | 0 | 0 | 0 | 0 | 0 | 0.337963 | 1 | 0.12037 | false | 0 | 0.013889 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aa230bcca521c441f31967d649c0fe6c04784101 | 15,270 | py | Python | src/tests/presale/test_checkout.py | abrock/pretix | cd9c048458afce1198276e5936bf583578855a4f | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-06-23T07:44:54.000Z | 2021-06-23T07:44:54.000Z | src/tests/presale/test_checkout.py | awg24/pretix | b1d67a48601838bac0d4e498cbe8bdcd16013d60 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/tests/presale/test_checkout.py | awg24/pretix | b1d67a48601838bac0d4e498cbe8bdcd16013d60 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | import datetime
from datetime import timedelta
from bs4 import BeautifulSoup
from django.test import TestCase
from django.utils.timezone import now
from pretix.base.models import (
CartPosition, Event, Item, ItemCategory, Order, OrderPosition, Organizer,
Question, Quota, User,
)
class CheckoutTestCase(TestC... | 49.577922 | 114 | 0.636411 | 1,830 | 15,270 | 5.228962 | 0.092896 | 0.064897 | 0.041384 | 0.055178 | 0.82506 | 0.800711 | 0.783258 | 0.772077 | 0.752952 | 0.752952 | 0 | 0.018631 | 0.216176 | 15,270 | 307 | 115 | 49.739414 | 0.780851 | 0.014538 | 0 | 0.610039 | 0 | 0 | 0.113224 | 0.056379 | 0 | 0 | 0 | 0.003257 | 0.162162 | 1 | 0.057915 | false | 0.003861 | 0.023166 | 0 | 0.084942 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a4d46f383a64d563a4e8af6f88c5f6602f3c3a0f | 102 | py | Python | model/data/__init__.py | JoachimCoenen/Datapack-Editor | 380a4f9c0f284305f9819805e4cc01546b660d22 | [
"Apache-2.0"
] | 1 | 2021-12-23T16:38:02.000Z | 2021-12-23T16:38:02.000Z | model/data/__init__.py | JoachimCoenen/Datapack-Editor | 380a4f9c0f284305f9819805e4cc01546b660d22 | [
"Apache-2.0"
] | 22 | 2021-12-12T16:58:00.000Z | 2022-03-05T10:45:25.000Z | model/data/__init__.py | JoachimCoenen/Datapack-Editor | 380a4f9c0f284305f9819805e4cc01546b660d22 | [
"Apache-2.0"
] | null | null | null | from . import version1_17
version1_17.initPlugin()
from . import version1_18
version1_18.initPlugin()
| 20.4 | 25 | 0.823529 | 14 | 102 | 5.714286 | 0.428571 | 0.25 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0.098039 | 102 | 4 | 26 | 25.5 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a4ec52c5236495400670cdfe0b7beba90e14bb05 | 10,272 | py | Python | tests/test_models.py | auto-mat/django-flexible-filter-conditions | 6cda1a009d0b5a7d42ec08ace69ec52674545683 | [
"MIT"
] | null | null | null | tests/test_models.py | auto-mat/django-flexible-filter-conditions | 6cda1a009d0b5a7d42ec08ace69ec52674545683 | [
"MIT"
] | null | null | null | tests/test_models.py | auto-mat/django-flexible-filter-conditions | 6cda1a009d0b5a7d42ec08ace69ec52674545683 | [
"MIT"
] | 1 | 2021-11-20T17:47:08.000Z | 2021-11-20T17:47:08.000Z | # -*- coding: utf-8 -*-
# Author: Petr Dlouhý <petr.dlouhy@auto-mat.cz>
#
# Copyright (C) 2017 o.s. Auto*Mat
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, o... | 33.459283 | 100 | 0.574669 | 1,009 | 10,272 | 5.712587 | 0.154609 | 0.084316 | 0.099931 | 0.064886 | 0.818876 | 0.764053 | 0.736641 | 0.712353 | 0.689278 | 0.680257 | 0 | 0.005065 | 0.308119 | 10,272 | 306 | 101 | 33.568627 | 0.805966 | 0.089759 | 0 | 0.72973 | 0 | 0 | 0.195764 | 0.023758 | 0 | 0 | 0 | 0 | 0.057915 | 1 | 0.03861 | false | 0 | 0.011583 | 0 | 0.061776 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
35378dfce0bf10a17d8e9ac89952ddd228216d70 | 55 | py | Python | mhmm/data/__init__.py | warhuus/mhmms | d292dce898c1cdfa16f6d16dea1d116ec94ea35d | [
"MIT"
] | null | null | null | mhmm/data/__init__.py | warhuus/mhmms | d292dce898c1cdfa16f6d16dea1d116ec94ea35d | [
"MIT"
] | null | null | null | mhmm/data/__init__.py | warhuus/mhmms | d292dce898c1cdfa16f6d16dea1d116ec94ea35d | [
"MIT"
] | null | null | null | from . import toy
from . import hcp
from . import utils | 18.333333 | 19 | 0.745455 | 9 | 55 | 4.555556 | 0.555556 | 0.731707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 55 | 3 | 19 | 18.333333 | 0.931818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
35480d1752584ad54564907aff289850c0e56688 | 46 | py | Python | apps/strack_desktop/mytasks_ui/__init__.py | JeremyZhao1989/leanTest | 8078d47aea44b999a325261530a18a7f578d2420 | [
"MIT"
] | 64 | 2016-09-06T11:30:28.000Z | 2021-03-11T07:28:08.000Z | apps/strack_desktop/mytasks_ui/__init__.py | Carol-Rong/CNCGToolKit | 7a21f358e34aa276cf209a6d5887a7964190cf0a | [
"MIT"
] | 2 | 2016-09-11T12:38:03.000Z | 2016-09-13T12:32:37.000Z | apps/strack_desktop/mytasks_ui/__init__.py | Carol-Rong/CNCGToolKit | 7a21f358e34aa276cf209a6d5887a7964190cf0a | [
"MIT"
] | 31 | 2016-09-06T11:32:25.000Z | 2020-04-20T11:19:02.000Z | # coding=utf8
from MyTasksUI import MyTasksUI
| 15.333333 | 31 | 0.826087 | 6 | 46 | 6.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.130435 | 46 | 2 | 32 | 23 | 0.925 | 0.23913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
101c592bed2747b45312bbcaf650ad68609061a2 | 472 | py | Python | mocks/game/timer.py | IanDCarroll/Trivvy | 2aaa68301e4dd1daaf717d98bb468cc65c8f373a | [
"MIT"
] | 1 | 2020-10-09T21:11:38.000Z | 2020-10-09T21:11:38.000Z | mocks/game/timer.py | IanDCarroll/Trivvy | 2aaa68301e4dd1daaf717d98bb468cc65c8f373a | [
"MIT"
] | 1 | 2020-09-05T01:29:49.000Z | 2020-09-05T01:29:49.000Z | mocks/game/timer.py | Coding-Koans/Trivvy | 2aaa68301e4dd1daaf717d98bb468cc65c8f373a | [
"MIT"
] | 2 | 2020-07-12T05:02:43.000Z | 2020-07-16T00:27:07.000Z | class Timer:
def __init__(self, tempo = "int used in real timer", settings = "obj used in real timer"):
pass
def start_question_timer(self):
self._times_asked = 0
def question_time_up(self):
self._times_asked += 1
return self._times_asked >= 18
def question_hint_1_up(... | 22.47619 | 94 | 0.629237 | 67 | 472 | 4.074627 | 0.41791 | 0.164835 | 0.25641 | 0.21978 | 0.190476 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0.023669 | 0.283898 | 472 | 20 | 95 | 23.6 | 0.784024 | 0 | 0 | 0.142857 | 0 | 0 | 0.09322 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.142857 | 0 | 0.142857 | 0.714286 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
102b660ad9beb260926d16d8b2b6ea463231a0c2 | 58 | py | Python | Lib/site-packages/grasp-1.0-py3.5.egg/grasp/models/robots/__init__.py | shfkdroal/Robot-Learning-in-Mixed-Adversarial-and-Collaborative-Settings | 1fa4cd6a566c8745f455fc3d2273208f21f88ced | [
"bzip2-1.0.6"
] | 1 | 2021-11-25T02:14:23.000Z | 2021-11-25T02:14:23.000Z | grasp/models/robots/__init__.py | shfkdroal/Robot-Learning-in-Mixed-Adversarial-and-Collaborative-Settings | 1fa4cd6a566c8745f455fc3d2273208f21f88ced | [
"bzip2-1.0.6"
] | null | null | null | grasp/models/robots/__init__.py | shfkdroal/Robot-Learning-in-Mixed-Adversarial-and-Collaborative-Settings | 1fa4cd6a566c8745f455fc3d2273208f21f88ced | [
"bzip2-1.0.6"
] | null | null | null | from .robot import Robot
from .sawyer_robot import Sawyer
| 19.333333 | 32 | 0.827586 | 9 | 58 | 5.222222 | 0.444444 | 0.468085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 58 | 2 | 33 | 29 | 0.94 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
103f5341afce662b89fc10e9b94cf89e0b054add | 5,158 | py | Python | minecraft_learns/models/svm.py | Nathan-Nesbitt/Minecraft_Learns | 089dd51c9514fa94b24630a034c257306722f64b | [
"MIT"
] | null | null | null | minecraft_learns/models/svm.py | Nathan-Nesbitt/Minecraft_Learns | 089dd51c9514fa94b24630a034c257306722f64b | [
"MIT"
] | 1 | 2021-04-22T01:02:50.000Z | 2021-04-22T01:02:50.000Z | minecraft_learns/models/svm.py | Nathan-Nesbitt/Minecraft_Learns | 089dd51c9514fa94b24630a034c257306722f64b | [
"MIT"
] | null | null | null | """
Defines Support Vector Machines used for Regression and Classification
Written By: Kathryn Lecha
Date: 2021-03-13
References:
https://www.csie.ntu.edu.tw/~cjlin/papers/guide/guide.pdf
"""
from .common import one_hot_encode
from .generic.regression_model import RegressionModel
from .generic.c... | 29.141243 | 79 | 0.60062 | 689 | 5,158 | 4.275762 | 0.182874 | 0.038697 | 0.069246 | 0.032587 | 0.720978 | 0.720978 | 0.720978 | 0.720978 | 0.720978 | 0.720978 | 0 | 0.012165 | 0.282862 | 5,158 | 176 | 80 | 29.306818 | 0.784266 | 0.200271 | 0 | 0.75 | 0 | 0 | 0.031095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.170455 | false | 0 | 0.056818 | 0.022727 | 0.329545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
eafe771f7c14d95f60826398beb75b13906e8d67 | 17,275 | py | Python | myria/test/test_fluent.py | uwescience/myria-python | 7ae1d135b9e748afd18e17f07ea0df61ddfa384d | [
"BSD-3-Clause"
] | 7 | 2015-01-26T18:30:36.000Z | 2020-10-21T09:03:59.000Z | myria/test/test_fluent.py | uwescience/myria-python | 7ae1d135b9e748afd18e17f07ea0df61ddfa384d | [
"BSD-3-Clause"
] | 37 | 2015-01-23T01:35:03.000Z | 2017-09-16T18:32:13.000Z | myria/test/test_fluent.py | uwescience/myria-python | 7ae1d135b9e748afd18e17f07ea0df61ddfa384d | [
"BSD-3-Clause"
] | 6 | 2016-02-02T21:25:52.000Z | 2020-02-07T14:44:51.000Z | import unittest
import json
from httmock import HTTMock
from myria import MyriaSchema
from myria.connection import MyriaConnection
from myria.relation import MyriaRelation
from myria.test.mock import create_mock, FULL_NAME, FULL_NAME2, UDF1_ARITY, \
UDF1_TYPE, SCHEMA
from myria.udf import myria_function
from raco.... | 44.638243 | 79 | 0.591317 | 1,779 | 17,275 | 5.612704 | 0.092749 | 0.058888 | 0.076915 | 0.054682 | 0.854582 | 0.839059 | 0.808613 | 0.787682 | 0.787682 | 0.742514 | 0 | 0.014989 | 0.297135 | 17,275 | 386 | 80 | 44.753886 | 0.807363 | 0.003763 | 0 | 0.658537 | 0 | 0 | 0.03394 | 0 | 0 | 0 | 0 | 0 | 0.35061 | 1 | 0.085366 | false | 0 | 0.033537 | 0.006098 | 0.128049 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d805358f5c9c4d662603a1f4b2d5aaf0f78712c1 | 85 | py | Python | modules/sleep60.py | ElijahBeach/C2-Server-Project | 89e6d418790493aa222cca5b6ea7f3f519e4e478 | [
"MIT"
] | 3 | 2022-01-14T01:55:25.000Z | 2022-03-30T01:08:16.000Z | modules/sleep60.py | ElijahBeach/C2-Server-Project | 89e6d418790493aa222cca5b6ea7f3f519e4e478 | [
"MIT"
] | null | null | null | modules/sleep60.py | ElijahBeach/C2-Server-Project | 89e6d418790493aa222cca5b6ea7f3f519e4e478 | [
"MIT"
] | 2 | 2022-01-15T14:30:55.000Z | 2022-01-15T16:04:15.000Z | import time
import random
def run(**args):
time.sleep(random.randint(3500,3700))
| 14.166667 | 40 | 0.729412 | 13 | 85 | 4.769231 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 0.129412 | 85 | 5 | 41 | 17 | 0.72973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d8164d5341b6b0bc6ed7dd084588d4ef62135ce3 | 147 | py | Python | __init__.py | xumingkun9806/structured_light | d5b388c6faad5babde8571b92c594452c516c829 | [
"MIT"
] | 1 | 2021-02-26T09:33:58.000Z | 2021-02-26T09:33:58.000Z | __init__.py | xumingkun9806/structured_light | d5b388c6faad5babde8571b92c594452c516c829 | [
"MIT"
] | null | null | null | __init__.py | xumingkun9806/structured_light | d5b388c6faad5babde8571b92c594452c516c829 | [
"MIT"
] | null | null | null | from . import binary
from . import gray
from . import xor
from . import stripe
from . import spot
from . import unstructured
from . import checker
| 18.375 | 26 | 0.761905 | 21 | 147 | 5.333333 | 0.428571 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 147 | 7 | 27 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc48b73006ceca418d07ecdd0856572453e00437 | 24 | py | Python | cluster_pval/pval_module/__init__.py | Cluster-Club/Cluster_Pval | 613b8a3292a960ac3e7856ff1a5aa90189be0d59 | [
"BSD-2-Clause"
] | null | null | null | cluster_pval/pval_module/__init__.py | Cluster-Club/Cluster_Pval | 613b8a3292a960ac3e7856ff1a5aa90189be0d59 | [
"BSD-2-Clause"
] | null | null | null | cluster_pval/pval_module/__init__.py | Cluster-Club/Cluster_Pval | 613b8a3292a960ac3e7856ff1a5aa90189be0d59 | [
"BSD-2-Clause"
] | 1 | 2022-02-18T17:23:27.000Z | 2022-02-18T17:23:27.000Z | from .stattests import * | 24 | 24 | 0.791667 | 3 | 24 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
760626c573521b8fbbdd49fcad15cce0f3161958 | 13,902 | py | Python | posterior_plots.py | anjmittu/SwiftGRB_PEanalysis-master | cc6038c84b0e0366cfe0e4c6abb5b2dc640526f5 | [
"Apache-2.0"
] | null | null | null | posterior_plots.py | anjmittu/SwiftGRB_PEanalysis-master | cc6038c84b0e0366cfe0e4c6abb5b2dc640526f5 | [
"Apache-2.0"
] | null | null | null | posterior_plots.py | anjmittu/SwiftGRB_PEanalysis-master | cc6038c84b0e0366cfe0e4c6abb5b2dc640526f5 | [
"Apache-2.0"
] | 2 | 2018-03-06T20:26:01.000Z | 2022-01-24T13:02:57.000Z | # import necessary modules
import numpy as np
import corner
import matplotlib.pyplot as plt
import sys
from matplotlib.ticker import MultipleLocator
from scipy.interpolate import interp1d
from scipy.ndimage import gaussian_filter1d
def Rz(z,n):
n0 = n[0]
n1 = n[1]
n2 = n[2]
z1 = n[3]
R = np.piecewi... | 53.264368 | 139 | 0.583369 | 2,057 | 13,902 | 3.81721 | 0.12737 | 0.014519 | 0.048395 | 0.032094 | 0.842333 | 0.842333 | 0.82323 | 0.784386 | 0.77407 | 0.772287 | 0 | 0.062215 | 0.212631 | 13,902 | 260 | 140 | 53.469231 | 0.655125 | 0.026327 | 0 | 0.644737 | 0 | 0 | 0.159148 | 0.059237 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017544 | false | 0 | 0.035088 | 0 | 0.061404 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
760667846c509945ade8fbc83aad9173514e44e4 | 11,790 | py | Python | src/ev3/MotionCtrl/low_level_ctrl.py | ichalkiad/VW_challenge | 333222010ecf3d1ca4a0e181239f761c975453e9 | [
"Apache-2.0"
] | 1 | 2017-08-16T08:42:49.000Z | 2017-08-16T08:42:49.000Z | src/ev3/MotionCtrl/low_level_ctrl.py | ichalkiad/VW_challenge | 333222010ecf3d1ca4a0e181239f761c975453e9 | [
"Apache-2.0"
] | 4 | 2017-08-09T23:01:30.000Z | 2017-08-24T16:44:13.000Z | src/ev3/MotionCtrl/low_level_ctrl.py | yhalk/vw_challenge_ECR | c1ff50070d0f7367ccfbf473c69e90fd2be5e85e | [
"Apache-2.0"
] | null | null | null | from MotionCtrl.ctrl_config import *
import time
from MotionCtrl import actuators_simple as acts
actuators = acts.actuators
def mm_to_cm(mm):
return (mm/10)
def cm_to_mm(cm):
return (cm*10)
def wait_for(sec):
time.sleep(sec)
def stop_actuator(stop_action):
for actuator in actuators:
actuat... | 37.788462 | 125 | 0.717981 | 1,703 | 11,790 | 4.688785 | 0.069289 | 0.074515 | 0.081152 | 0.054352 | 0.861115 | 0.85072 | 0.847714 | 0.847714 | 0.83732 | 0.83181 | 0 | 0.021672 | 0.142918 | 11,790 | 311 | 126 | 37.909968 | 0.76853 | 0.047413 | 0 | 0.6 | 0 | 0 | 0.105724 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.179487 | false | 0 | 0.015385 | 0.010256 | 0.25641 | 0.164103 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7615265de1cd6ceb0f2cd36e28707dcf109c6125 | 156 | py | Python | tests/test_util.py | erdc/generic-simulation-interface | 040a234a79320964916809cddbc27e442f8b8a60 | [
"BSD-3-Clause"
] | 1 | 2019-10-16T02:13:19.000Z | 2019-10-16T02:13:19.000Z | tests/test_util.py | erdc/generic-simulation-interface | 040a234a79320964916809cddbc27e442f8b8a60 | [
"BSD-3-Clause"
] | 15 | 2019-05-09T13:08:58.000Z | 2019-08-15T15:19:19.000Z | tests/test_util.py | erdc/generic-simulation-interface | 040a234a79320964916809cddbc27e442f8b8a60 | [
"BSD-3-Clause"
] | 1 | 2019-09-04T17:01:53.000Z | 2019-09-04T17:01:53.000Z | import unittest
import holoviews.plotting.bokeh
import geoviews.plotting.bokeh
from genesis.util import *
class TestUtilMain(unittest.TestCase):
pass
| 17.333333 | 38 | 0.814103 | 19 | 156 | 6.684211 | 0.684211 | 0.204724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121795 | 156 | 8 | 39 | 19.5 | 0.927007 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.666667 | 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 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
7628d26d05b69fd28eb9e8d8de7584dc02c968d4 | 197 | py | Python | custom_scripts/custom_scripts/doctype/nirmala_settings/nirmala_settings.py | VPS-Consultancy/custom_scripts | c812c8fa670c6e3c0e8d94d5ce22638b0daeb522 | [
"MIT"
] | null | null | null | custom_scripts/custom_scripts/doctype/nirmala_settings/nirmala_settings.py | VPS-Consultancy/custom_scripts | c812c8fa670c6e3c0e8d94d5ce22638b0daeb522 | [
"MIT"
] | null | null | null | custom_scripts/custom_scripts/doctype/nirmala_settings/nirmala_settings.py | VPS-Consultancy/custom_scripts | c812c8fa670c6e3c0e8d94d5ce22638b0daeb522 | [
"MIT"
] | null | null | null | # Copyright (c) 2021, C.R.I.O and contributors
# For license information, please see license.txt
# import frappe
from frappe.model.document import Document
class NirmalaSettings(Document):
pass
| 21.888889 | 49 | 0.781726 | 28 | 197 | 5.5 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023529 | 0.137056 | 197 | 8 | 50 | 24.625 | 0.882353 | 0.538071 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
520f2ac6077139d706b86cd55b0e934ae6ecb178 | 179 | py | Python | Strategy/before_strategy/Order.py | deorerohan/DesignPatterns | 2bd698246e12ed289917bb4e3b84eaa2210534fd | [
"MIT"
] | null | null | null | Strategy/before_strategy/Order.py | deorerohan/DesignPatterns | 2bd698246e12ed289917bb4e3b84eaa2210534fd | [
"MIT"
] | null | null | null | Strategy/before_strategy/Order.py | deorerohan/DesignPatterns | 2bd698246e12ed289917bb4e3b84eaa2210534fd | [
"MIT"
] | null | null | null | import abc
class Order(metaclass=abc.ABCMeta):
def __init__(self, shipper):
self._shipper = shipper
@property
def shipper(self):
return self._shipper | 19.888889 | 35 | 0.664804 | 21 | 179 | 5.380952 | 0.571429 | 0.292035 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24581 | 179 | 9 | 36 | 19.888889 | 0.837037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
5239f29f32a070961c00c76755bfddf82a6b3f50 | 46 | py | Python | nitorch/tools/registration/vexp/__init__.py | liamchalcroft/nitorch | 0de179aff97244a82213c528f0d6393725c868c9 | [
"MIT"
] | 46 | 2020-07-31T10:14:05.000Z | 2022-03-24T12:51:46.000Z | nitorch/tools/registration/vexp/__init__.py | liamchalcroft/nitorch | 0de179aff97244a82213c528f0d6393725c868c9 | [
"MIT"
] | 36 | 2020-10-06T19:01:38.000Z | 2022-02-03T18:07:35.000Z | nitorch/tools/registration/vexp/__init__.py | liamchalcroft/nitorch | 0de179aff97244a82213c528f0d6393725c868c9 | [
"MIT"
] | 6 | 2021-01-05T14:59:05.000Z | 2021-11-18T18:26:45.000Z | from .main import vexp
from . import cli as _
| 15.333333 | 22 | 0.73913 | 8 | 46 | 4.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 46 | 2 | 23 | 23 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
52684889e64515db792e4da7b32891da8bc6c41e | 15,637 | py | Python | fabrikSolver.py | Yanneeh/Fabrik | c6694b9ca7c94270aba09ec18e78e2341e458bc0 | [
"MIT"
] | 21 | 2019-03-13T05:54:13.000Z | 2022-03-31T15:56:08.000Z | fabrikSolver.py | Yanneeh/Fabrik | c6694b9ca7c94270aba09ec18e78e2341e458bc0 | [
"MIT"
] | null | null | null | fabrikSolver.py | Yanneeh/Fabrik | c6694b9ca7c94270aba09ec18e78e2341e458bc0 | [
"MIT"
] | 2 | 2021-01-31T16:49:06.000Z | 2021-09-21T15:56:47.000Z | import numpy as np
import math
import sys
import matplotlib as mpl
import matplotlib.pyplot as plt
plt.style.use('seaborn-whitegrid')
from mpl_toolkits.mplot3d import axes3d
def unitVector(vector):
"""
Returns the unit vector of a given input vector.
Params:
vector -> input vector.
... | 33.627957 | 193 | 0.566797 | 1,884 | 15,637 | 4.693206 | 0.14172 | 0.097715 | 0.067632 | 0.040715 | 0.802646 | 0.785003 | 0.734789 | 0.722687 | 0.715562 | 0.688419 | 0 | 0.012028 | 0.335422 | 15,637 | 465 | 194 | 33.627957 | 0.838818 | 0.390868 | 0 | 0.419118 | 0 | 0 | 0.014663 | 0 | 0 | 0 | 0 | 0.002151 | 0 | 1 | 0.132353 | false | 0.007353 | 0.044118 | 0 | 0.272059 | 0.014706 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5269247fb76137b36603ef891f93b188e89860f8 | 1,069 | py | Python | tests/test_set_strategy.py | stortiz-lifeworks/chili | 958adf88de6df995d9216b9dcf3c11f3e6885485 | [
"MIT"
] | 4 | 2021-10-01T09:50:47.000Z | 2022-02-03T05:43:04.000Z | tests/test_set_strategy.py | stortiz-lifeworks/chili | 958adf88de6df995d9216b9dcf3c11f3e6885485 | [
"MIT"
] | 5 | 2021-10-01T08:11:33.000Z | 2021-12-13T18:33:37.000Z | tests/test_set_strategy.py | stortiz-lifeworks/chili | 958adf88de6df995d9216b9dcf3c11f3e6885485 | [
"MIT"
] | null | null | null | from typing import Set
from chili import registry
def test_hydrate_generic_set() -> None:
# given
strategy = registry.get_for(set)
items = ["a", 1, 2.1, True]
# when
hydrated_items = strategy.hydrate(items)
# then
assert hydrated_items == {"a", 1, 2.1}
def test_hydrate_annotated_set()... | 19.796296 | 54 | 0.602432 | 145 | 1,069 | 4.303448 | 0.206897 | 0.025641 | 0.038462 | 0.051282 | 0.865385 | 0.865385 | 0.836538 | 0.836538 | 0.836538 | 0.836538 | 0 | 0.02974 | 0.245089 | 1,069 | 53 | 55 | 20.169811 | 0.743494 | 0.058934 | 0 | 0.583333 | 0 | 0 | 0.020141 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.166667 | false | 0 | 0.083333 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
527ae66f927520fe8830da677077362ac3b37c51 | 658 | py | Python | ivy/doc/examples/paraminit3_expect.py | b1f6c1c4/cfg-enum | 1a08071bde87f578ceaf834004c01b593db9bce8 | [
"BSD-3-Clause"
] | 113 | 2019-05-09T15:37:47.000Z | 2022-03-14T04:02:01.000Z | ivy/doc/examples/paraminit3_expect.py | b1f6c1c4/cfg-enum | 1a08071bde87f578ceaf834004c01b593db9bce8 | [
"BSD-3-Clause"
] | 58 | 2019-09-03T15:42:29.000Z | 2021-01-15T02:20:29.000Z | ivy/doc/examples/paraminit3_expect.py | b1f6c1c4/cfg-enum | 1a08071bde87f578ceaf834004c01b593db9bce8 | [
"BSD-3-Clause"
] | 40 | 2016-01-02T19:13:18.000Z | 2018-10-27T11:38:00.000Z | import pexpect
import sys
def run(name,opts,res):
child = pexpect.spawn('./{} 0'.format(name))
child.logfile = sys.stdout
try:
child.expect('>')
child.sendline('foo.get_bit')
child.expect(r'= 1')
except pexpect.EOF:
print child.before
return False
finally:
... | 22.689655 | 48 | 0.557751 | 77 | 658 | 4.74026 | 0.402597 | 0.120548 | 0.093151 | 0.120548 | 0.761644 | 0.761644 | 0.761644 | 0.761644 | 0.761644 | 0.761644 | 0 | 0.008772 | 0.306991 | 658 | 28 | 49 | 23.5 | 0.791667 | 0 | 0 | 0.692308 | 0 | 0 | 0.06383 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.076923 | null | null | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bfdd4e72a7e98511402cd953f05cb083bccdba60 | 93 | py | Python | tests/tests.py | hdknr/django-reporters | dffb8a62121d36e3580cb257cfe238ffcd464e8f | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | tests/tests.py | hdknr/django-reporters | dffb8a62121d36e3580cb257cfe238ffcd464e8f | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | tests/tests.py | hdknr/django-reporters | dffb8a62121d36e3580cb257cfe238ffcd464e8f | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | from unittest import TestCase as UnitTestCase
class SimpleTestCase(UnitTestCase):
pass
| 15.5 | 45 | 0.806452 | 10 | 93 | 7.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 46 | 18.6 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
bfe6809c278891b481478aa34c7057b828047388 | 45 | py | Python | rapidunfurl/__init__.py | tdarwin/rapidunfurl | 21a7db7d78fa85098760958fbac28ba14fd05236 | [
"MIT"
] | 1 | 2022-02-18T20:46:40.000Z | 2022-02-18T20:46:40.000Z | rapidunfurl/__init__.py | tdarwin/rapidunfurl | 21a7db7d78fa85098760958fbac28ba14fd05236 | [
"MIT"
] | null | null | null | rapidunfurl/__init__.py | tdarwin/rapidunfurl | 21a7db7d78fa85098760958fbac28ba14fd05236 | [
"MIT"
] | null | null | null | from rapidunfurl.unfurl import unfurl # noqa
| 22.5 | 44 | 0.822222 | 6 | 45 | 6.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 45 | 1 | 45 | 45 | 0.948718 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
870e2113375089b1007bef5010ad275e4c23ac91 | 7,235 | py | Python | loldib/getratings/models/NA/na_aurelionsol/na_aurelionsol_bot.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_aurelionsol/na_aurelionsol_bot.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_aurelionsol/na_aurelionsol_bot.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_AurelionSol_Bot_Aatrox(Ratings):
pass
class NA_AurelionSol_Bot_Ahri(Ratings):
pass
class NA_AurelionSol_Bot_Akali(Ratings):
pass
class NA_AurelionSol_Bot_Alistar(Ratings):
pass
class NA_AurelionSol_Bot_Amumu(Ratings):
pass
class NA_Aurel... | 17.35012 | 48 | 0.788943 | 972 | 7,235 | 5.446502 | 0.151235 | 0.182471 | 0.46921 | 0.547412 | 0.828107 | 0.828107 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153559 | 7,235 | 416 | 49 | 17.391827 | 0.864468 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
871a8e0e0d1352e316c87ebe0cf649237d23f65a | 22,014 | py | Python | tests/selenium/alarms_test/Alarm_Grid_Page_Controls_test.py | sivaanil/laravel | 14900b071a514379f0161c5fd7bea05300dee083 | [
"MIT"
] | 1 | 2021-11-16T08:07:07.000Z | 2021-11-16T08:07:07.000Z | tests/selenium/alarms_test/Alarm_Grid_Page_Controls_test.py | sivaanil/laravel | 14900b071a514379f0161c5fd7bea05300dee083 | [
"MIT"
] | null | null | null | tests/selenium/alarms_test/Alarm_Grid_Page_Controls_test.py | sivaanil/laravel | 14900b071a514379f0161c5fd7bea05300dee083 | [
"MIT"
] | null | null | null | __author__ = 'andrew.bascom'
# -*- coding: utf-8 -*-
import sys
sys.path.append("..")
import c2_test_case
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions
from selenium.common.exceptions import TimeoutExcept... | 57.779528 | 143 | 0.681067 | 3,009 | 22,014 | 4.734463 | 0.083749 | 0.063176 | 0.087393 | 0.065983 | 0.813421 | 0.790608 | 0.774323 | 0.764425 | 0.754949 | 0.746736 | 0 | 0.004598 | 0.239302 | 22,014 | 380 | 144 | 57.931579 | 0.846113 | 0.202462 | 0 | 0.68797 | 0 | 0.007519 | 0.173125 | 0.028006 | 0 | 0 | 0 | 0 | 0.018797 | 1 | 0.026316 | false | 0 | 0.030075 | 0 | 0.06391 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
871c40e5bc15b65f3c7e12cc1744d267593c5da0 | 3,458 | py | Python | algorithms.py | BastiHz/pathfinding | fcac1cf353197f958f5b9d8d7aef7422f58baf2b | [
"MIT"
] | 1 | 2021-01-03T09:21:51.000Z | 2021-01-03T09:21:51.000Z | algorithms.py | BastiHz/pathfinding | fcac1cf353197f958f5b9d8d7aef7422f58baf2b | [
"MIT"
] | null | null | null | algorithms.py | BastiHz/pathfinding | fcac1cf353197f958f5b9d8d7aef7422f58baf2b | [
"MIT"
] | null | null | null | import queue
def get_neighbors(pos, cell_map):
directions = [(-1, 0), (0, 1), (1, 0), (0, -1)]
#if (pos[0] + pos[1]) % 2 == 0: # this is to enable zick-zack movement,
# directions.reverse() # only works for breadth first search (why?)
neighbors = []
for d in directions:
neighbor ... | 33.901961 | 80 | 0.589358 | 464 | 3,458 | 4.170259 | 0.150862 | 0.074419 | 0.046512 | 0.086822 | 0.769509 | 0.75814 | 0.730233 | 0.730233 | 0.702842 | 0.702842 | 0 | 0.012726 | 0.295547 | 3,458 | 101 | 81 | 34.237624 | 0.781609 | 0.059861 | 0 | 0.72093 | 0 | 0 | 0.006169 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.069767 | false | 0 | 0.011628 | 0 | 0.151163 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
876ed4b411729078ef1fecd6f4b09a900d2dedff | 55 | py | Python | roiextractors/extractors/hdf5imagingextractor/__init__.py | cechava/roiextractors | 4a5348ce89f879eb6e068ab4640c50c42979e634 | [
"BSD-3-Clause"
] | 4 | 2020-09-23T00:01:08.000Z | 2021-11-16T11:49:58.000Z | roiextractors/extractors/hdf5imagingextractor/__init__.py | cechava/roiextractors | 4a5348ce89f879eb6e068ab4640c50c42979e634 | [
"BSD-3-Clause"
] | 50 | 2020-08-14T17:12:24.000Z | 2022-03-01T22:20:37.000Z | roiextractors/extractors/hdf5imagingextractor/__init__.py | cechava/roiextractors | 4a5348ce89f879eb6e068ab4640c50c42979e634 | [
"BSD-3-Clause"
] | 1 | 2020-12-15T22:57:54.000Z | 2020-12-15T22:57:54.000Z | from .hdf5imagingextractor import Hdf5ImagingExtractor
| 27.5 | 54 | 0.909091 | 4 | 55 | 12.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0.072727 | 55 | 1 | 55 | 55 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5e494fb5e5c153fec852b9598233518dafdc03d8 | 12,200 | py | Python | tests/functional/driver/test_async_driver.py | scrapli/scrapli_netconf | 820beba46ed4039b31bf7ac9073b325904429320 | [
"MIT"
] | 61 | 2020-05-17T19:57:25.000Z | 2022-03-30T01:10:32.000Z | tests/functional/driver/test_async_driver.py | scrapli/scrapli_netconf | 820beba46ed4039b31bf7ac9073b325904429320 | [
"MIT"
] | 79 | 2020-05-17T20:22:05.000Z | 2022-03-02T14:37:28.000Z | tests/functional/driver/test_async_driver.py | scrapli/scrapli_netconf | 820beba46ed4039b31bf7ac9073b325904429320 | [
"MIT"
] | 6 | 2021-01-07T16:45:28.000Z | 2022-02-11T19:31:49.000Z | import asyncio
import pytest
from scrapli_netconf.response import NetconfResponse
@pytest.mark.asyncio
async def test_get_filter_subtree(async_conn, test_cases, xmldiffer):
conn = async_conn[0]
device_type = async_conn[1]
if device_type == "juniper_junos_1_0":
pytest.skip("juniper get data is r... | 36.636637 | 113 | 0.735902 | 1,601 | 12,200 | 5.306683 | 0.093067 | 0.065913 | 0.049435 | 0.062618 | 0.881591 | 0.866525 | 0.83557 | 0.821563 | 0.810028 | 0.757062 | 0 | 0.009163 | 0.168033 | 12,200 | 332 | 114 | 36.746988 | 0.827882 | 0.031557 | 0 | 0.636735 | 0 | 0 | 0.149008 | 0.044009 | 0 | 0 | 0 | 0 | 0.244898 | 1 | 0 | false | 0 | 0.012245 | 0 | 0.012245 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5ebbb1fcf1b9934f1ddd8c3f53b6b51bc3f30ccf | 104 | py | Python | rl/policies/__init__.py | haamoon/librl | f9fc633b79c1bec1cd1b1a275834eb5221cffff3 | [
"MIT"
] | 3 | 2019-08-11T23:25:17.000Z | 2021-08-24T13:24:01.000Z | rl/policies/__init__.py | haamoon/librl | f9fc633b79c1bec1cd1b1a275834eb5221cffff3 | [
"MIT"
] | 6 | 2020-01-28T22:45:38.000Z | 2022-02-10T00:13:42.000Z | rl/policies/__init__.py | haamoon/librl | f9fc633b79c1bec1cd1b1a275834eb5221cffff3 | [
"MIT"
] | 3 | 2019-07-03T21:18:27.000Z | 2019-10-03T04:51:55.000Z | from rl.policies.policy import Policy
from rl.policies.tf_policies import tfPolicy, tfGaussianMLPPolicy
| 34.666667 | 65 | 0.865385 | 14 | 104 | 6.357143 | 0.571429 | 0.134831 | 0.314607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086538 | 104 | 2 | 66 | 52 | 0.936842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.