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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b6e9878f20ac3e3cd4aaec8c83dccdbacf66132f | 247 | py | Python | week2/q4_get_ios_version.py | gerards/pynet_learning_python | eaa52cd58cd2f49e0d5e8ccec3795a1098b08f20 | [
"Apache-2.0"
] | null | null | null | week2/q4_get_ios_version.py | gerards/pynet_learning_python | eaa52cd58cd2f49e0d5e8ccec3795a1098b08f20 | [
"Apache-2.0"
] | null | null | null | week2/q4_get_ios_version.py | gerards/pynet_learning_python | eaa52cd58cd2f49e0d5e8ccec3795a1098b08f20 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
cisco_ios = "Cisco IOS Software, C880 Software (C880DATA-UNIVERSALK9-M), Version 15.0(1)M4, RELEASE SOFTWARE (fc1)"
cisco_ios_split = cisco_ios.split(",")
cisco_ios_version = cisco_ios_split[2][9:]
print(cisco_ios_version)
| 30.875 | 115 | 0.761134 | 40 | 247 | 4.45 | 0.55 | 0.314607 | 0.219101 | 0.202247 | 0.191011 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067265 | 0.097166 | 247 | 7 | 116 | 35.285714 | 0.730942 | 0.080972 | 0 | 0 | 0 | 0.25 | 0.451327 | 0.110619 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8e2cf9d755d0eff8e291ea22682d868c3ee8aeab | 179 | py | Python | lilu/data_layer/__init__.py | xyla-io/lambda_lilu | b7b7e216d5538f1f75e3f416200e8e21971da801 | [
"MIT"
] | null | null | null | lilu/data_layer/__init__.py | xyla-io/lambda_lilu | b7b7e216d5538f1f75e3f416200e8e21971da801 | [
"MIT"
] | null | null | null | lilu/data_layer/__init__.py | xyla-io/lambda_lilu | b7b7e216d5538f1f75e3f416200e8e21971da801 | [
"MIT"
] | null | null | null | from .base import get_connection, run_query
from .query import Query, UnloadQuery
from .locator import ResourceLocator, locator_factory
from .encryptor import Encryptor, Decryptor | 44.75 | 53 | 0.849162 | 23 | 179 | 6.478261 | 0.565217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106145 | 179 | 4 | 54 | 44.75 | 0.93125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8e2ed62cf5c7ff2c8781bf65ada26e0c427627d5 | 70 | py | Python | DelibeRating/DelibeRating/deliberating-env/Lib/site-packages/etc/admin/__init__.py | Severose/DelibeRating | 5d227f35c071477ce3fd6fbf3ab13a44d13f6e08 | [
"MIT"
] | 25 | 2015-02-07T15:42:06.000Z | 2022-03-26T02:28:06.000Z | DelibeRating/DelibeRating/deliberating-env/Lib/site-packages/etc/admin/__init__.py | Severose/DelibeRating | 5d227f35c071477ce3fd6fbf3ab13a44d13f6e08 | [
"MIT"
] | 3 | 2017-01-06T20:34:13.000Z | 2021-05-11T02:24:22.000Z | DelibeRating/DelibeRating/deliberating-env/Lib/site-packages/etc/admin/__init__.py | Severose/DelibeRating | 5d227f35c071477ce3fd6fbf3ab13a44d13f6e08 | [
"MIT"
] | 2 | 2016-07-28T01:54:13.000Z | 2017-02-13T20:55:19.000Z | from .admins import ReadonlyAdmin
from .models import CustomModelPage
| 23.333333 | 35 | 0.857143 | 8 | 70 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 70 | 2 | 36 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f3eb4e3918459a643463c51604fd255e29269ec2 | 83 | py | Python | shawty/shawtier/admin.py | SimeonAleksov/shawty | 9c51c0c0d64950045d5b7edf8bf86c4e084e5920 | [
"Apache-2.0"
] | null | null | null | shawty/shawtier/admin.py | SimeonAleksov/shawty | 9c51c0c0d64950045d5b7edf8bf86c4e084e5920 | [
"Apache-2.0"
] | 3 | 2022-02-28T12:04:19.000Z | 2022-03-02T12:05:29.000Z | shawty/shawtier/admin.py | SimeonAleksov/shawty | 9c51c0c0d64950045d5b7edf8bf86c4e084e5920 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import URL
admin.site.register(URL)
| 16.6 | 32 | 0.807229 | 13 | 83 | 5.153846 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120482 | 83 | 4 | 33 | 20.75 | 0.917808 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6d1088e56a5fe1bed7744c4663523cae8c8712bb | 32 | py | Python | src/finance_stats/hedge_calculator/__init__.py | pralphv/hkportfolioanalysis-backend | 6dbf6f17e6ebd95e28ee042126b34408dde4f520 | [
"MIT"
] | null | null | null | src/finance_stats/hedge_calculator/__init__.py | pralphv/hkportfolioanalysis-backend | 6dbf6f17e6ebd95e28ee042126b34408dde4f520 | [
"MIT"
] | 1 | 2021-03-31T19:44:25.000Z | 2021-03-31T19:44:25.000Z | src/finance_stats/hedge_calculator/__init__.py | pralphv/hkportfolioanalysis-backend | 6dbf6f17e6ebd95e28ee042126b34408dde4f520 | [
"MIT"
] | 1 | 2020-11-27T17:56:38.000Z | 2020-11-27T17:56:38.000Z | from .api import calculate_hedge | 32 | 32 | 0.875 | 5 | 32 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 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 | 0 | 0 | 0 | 5 |
6d4b95e696b64ffb77adec9258868866f20a355c | 2,699 | py | Python | src/Program/Python/Testing/verifyOutputTest.py | smiths/swhs | a0d54b30b0c624c61ad3b3c2aa182b2dd193d51c | [
"BSD-2-Clause"
] | 2 | 2017-02-22T16:14:51.000Z | 2021-11-02T20:33:26.000Z | src/Program/Python/Testing/verifyOutputTest.py | smiths/swhs | a0d54b30b0c624c61ad3b3c2aa182b2dd193d51c | [
"BSD-2-Clause"
] | 52 | 2016-05-31T15:09:18.000Z | 2018-10-29T20:50:31.000Z | src/Program/Python/Testing/verifyOutputTest.py | smiths/swhs | a0d54b30b0c624c61ad3b3c2aa182b2dd193d51c | [
"BSD-2-Clause"
] | 3 | 2016-06-10T12:52:58.000Z | 2020-11-14T14:39:38.000Z | import sys
sys.path.insert(0, '.')
import unittest
import load_params
import warnings
import verify_output
class TestVerifyOutput(unittest.TestCase):
def setUp(self):
self.params = load_params.load_params('test.in')
self.time = [0, 10, 20, 30]
self.tempW = [40, 42, 44, 46]
self.t... | 44.245902 | 120 | 0.623194 | 373 | 2,699 | 4.455764 | 0.22252 | 0.064982 | 0.043321 | 0.026474 | 0.77136 | 0.77136 | 0.77136 | 0.77136 | 0.77136 | 0.77136 | 0 | 0.073367 | 0.26269 | 2,699 | 60 | 121 | 44.983333 | 0.761809 | 0 | 0 | 0.510204 | 0 | 0 | 0.203038 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 1 | 0.122449 | false | 0 | 0.102041 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6d5c35ff6829c5765c3a0ed476fe6304a691ac90 | 398 | py | Python | dictionary/migrations/__init__.py | Sanquira/immortalfighters | 388018bfb5df4e4fdadb866a599b46e0387add6e | [
"MIT"
] | null | null | null | dictionary/migrations/__init__.py | Sanquira/immortalfighters | 388018bfb5df4e4fdadb866a599b46e0387add6e | [
"MIT"
] | 5 | 2020-02-20T10:20:33.000Z | 2021-09-22T18:43:04.000Z | dictionary/migrations/__init__.py | Sanquira/immortalfighters | 388018bfb5df4e4fdadb866a599b46e0387add6e | [
"MIT"
] | null | null | null | # migrations.RunPython(race.initialize_races),
# migrations.RunPython(profession.init_professions),
# migrations.RunPython(spell.initialize_spell_directions),
# migrations.RunPython(skill.init_ranks_and_difficulty),
# migrations.RunPython(skill.init_skills),
# migrations.RunPython(beast.init_weakness),
# migrations.Run... | 44.222222 | 58 | 0.841709 | 44 | 398 | 7.340909 | 0.477273 | 0.470588 | 0.148607 | 0.173375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040201 | 398 | 8 | 59 | 49.75 | 0.84555 | 0.957286 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 0 | 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 | 5 |
ed9e3d6c0a831d327d2dee103f92d12b215ce0e9 | 81 | py | Python | mergesort/merge_sort_test.py | timpel/stanford-algs | 7f9fc499adfb0540e43f7f6f049bfc7aeb11ada5 | [
"MIT"
] | null | null | null | mergesort/merge_sort_test.py | timpel/stanford-algs | 7f9fc499adfb0540e43f7f6f049bfc7aeb11ada5 | [
"MIT"
] | null | null | null | mergesort/merge_sort_test.py | timpel/stanford-algs | 7f9fc499adfb0540e43f7f6f049bfc7aeb11ada5 | [
"MIT"
] | null | null | null | import merge_sort
for n in [2**n for n in range(20)]:
merge_sort.main(n, False) | 20.25 | 35 | 0.703704 | 18 | 81 | 3.055556 | 0.611111 | 0.327273 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044118 | 0.160494 | 81 | 4 | 36 | 20.25 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
eda3668a26c4a4cf47dbb18dbb863fcd34eb8d7f | 512 | py | Python | sensu_plugin/__init__.py | tubular/sensu-plugin-python | d41a446c59190359e413915fd5bd5128d950eb3e | [
"MIT"
] | 35 | 2015-01-11T13:34:32.000Z | 2017-04-28T11:20:02.000Z | sensu_plugin/__init__.py | tubular/sensu-plugin-python | d41a446c59190359e413915fd5bd5128d950eb3e | [
"MIT"
] | 42 | 2017-10-02T12:05:15.000Z | 2021-03-22T21:20:54.000Z | sensu_plugin/__init__.py | tubular/sensu-plugin-python | d41a446c59190359e413915fd5bd5128d950eb3e | [
"MIT"
] | 14 | 2017-10-02T08:51:44.000Z | 2022-02-12T16:36:55.000Z | """This module provides helpers for writing Sensu plugins"""
from sensu_plugin.plugin import SensuPlugin
from sensu_plugin.check import SensuPluginCheck
from sensu_plugin.metric import SensuPluginMetricGeneric
from sensu_plugin.metric import SensuPluginMetricGraphite
from sensu_plugin.metric import SensuPluginMetricInf... | 46.545455 | 60 | 0.888672 | 60 | 512 | 7.433333 | 0.383333 | 0.221973 | 0.269058 | 0.235426 | 0.302691 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082031 | 512 | 10 | 61 | 51.2 | 0.948936 | 0.105469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
eda84932031b6dcc698b6a073ca9fd78111f67a9 | 6,228 | py | Python | tests/test_match_simulation.py | pitzer42/mini-magic | e12d27034bff433b453daac7ab4e8f920cc27c14 | [
"MIT"
] | null | null | null | tests/test_match_simulation.py | pitzer42/mini-magic | e12d27034bff433b453daac7ab4e8f920cc27c14 | [
"MIT"
] | 1 | 2021-06-01T22:26:08.000Z | 2021-06-01T22:26:08.000Z | tests/test_match_simulation.py | pitzer42/mini-magic | e12d27034bff433b453daac7ab4e8f920cc27c14 | [
"MIT"
] | null | null | null | import tests.scenarios as scenarios
from tests.api_test_case import APITestCase
from entities import Match, Player
import events
class TestHappyPath(APITestCase):
@classmethod
def setUpClass(cls):
scenarios.two_players()
def match_setup(self):
match_id = self.post_to_create_a_new_match()... | 43.859155 | 75 | 0.65639 | 769 | 6,228 | 5.06632 | 0.10143 | 0.104209 | 0.122177 | 0.163758 | 0.783368 | 0.765914 | 0.73229 | 0.655544 | 0.62885 | 0.612166 | 0 | 0.032415 | 0.20745 | 6,228 | 141 | 76 | 44.170213 | 0.756888 | 0 | 0 | 0.487805 | 0 | 0 | 0.124659 | 0 | 0 | 0 | 0 | 0 | 0.487805 | 1 | 0.105691 | false | 0 | 0.03252 | 0 | 0.162602 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
edb1c5d4ad53521db9b985b74dc3074518606984 | 8,029 | py | Python | app/shop/migrations/0002_auto_20201010_1116.py | chriskmamo/greenvoice | 11306e939612907da21f89350b4446e47081e695 | [
"MIT"
] | null | null | null | app/shop/migrations/0002_auto_20201010_1116.py | chriskmamo/greenvoice | 11306e939612907da21f89350b4446e47081e695 | [
"MIT"
] | 2 | 2022-02-13T20:16:39.000Z | 2022-02-19T06:27:31.000Z | app/shop/migrations/0002_auto_20201010_1116.py | chriskmamo/greenvoice | 11306e939612907da21f89350b4446e47081e695 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.10 on 2020-10-10 11:16
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('taxonomies', '0001_initial'),
('users', '0001_initial'),
('shop', '0001_initial'),
... | 48.957317 | 183 | 0.637688 | 839 | 8,029 | 5.943981 | 0.106079 | 0.046521 | 0.133748 | 0.157008 | 0.843593 | 0.830158 | 0.716262 | 0.68839 | 0.68839 | 0.68839 | 0 | 0.00453 | 0.230166 | 8,029 | 163 | 184 | 49.257669 | 0.802297 | 0.005729 | 0 | 0.634615 | 1 | 0 | 0.194086 | 0.005513 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012821 | 0 | 0.038462 | 0.025641 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
edc2fbec565183dc037a1174a63b2b50806802b8 | 161 | py | Python | src/changie/utils.py | ZaX51/changie | 2116640e9e4bfb2c403b84ab267a4b862ba2d1be | [
"MIT"
] | null | null | null | src/changie/utils.py | ZaX51/changie | 2116640e9e4bfb2c403b84ab267a4b862ba2d1be | [
"MIT"
] | null | null | null | src/changie/utils.py | ZaX51/changie | 2116640e9e4bfb2c403b84ab267a4b862ba2d1be | [
"MIT"
] | null | null | null | def read_file(file):
with open(file, "r") as f:
return f.read()
def write_file(file, s):
with open(file, "w+") as f:
return f.write(s)
| 17.888889 | 31 | 0.559006 | 28 | 161 | 3.142857 | 0.428571 | 0.181818 | 0.272727 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.279503 | 161 | 8 | 32 | 20.125 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0.018634 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
edcd5b375e0b1583172287bf9e17fe2ef8d16b98 | 22 | py | Python | test.py | DITDSI/Projet1 | e1fe124c0e922800803ed81570f50763f86165fd | [
"BSD-3-Clause"
] | null | null | null | test.py | DITDSI/Projet1 | e1fe124c0e922800803ed81570f50763f86165fd | [
"BSD-3-Clause"
] | null | null | null | test.py | DITDSI/Projet1 | e1fe124c0e922800803ed81570f50763f86165fd | [
"BSD-3-Clause"
] | null | null | null | print("test avec git") | 22 | 22 | 0.727273 | 4 | 22 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 22 | 1 | 22 | 22 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.565217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
b627f402e05caa03c39621269fd44b54ef4940e6 | 386 | py | Python | pystratis/api/coldstaking/responsemodels/infomodel.py | TjadenFroyda/pyStratis | 9cc7620d7506637f8a2b84003d931eceb36ac5f2 | [
"MIT"
] | 8 | 2021-06-30T20:44:22.000Z | 2021-12-07T14:42:22.000Z | pystratis/api/coldstaking/responsemodels/infomodel.py | TjadenFroyda/pyStratis | 9cc7620d7506637f8a2b84003d931eceb36ac5f2 | [
"MIT"
] | 2 | 2021-07-01T11:50:18.000Z | 2022-01-25T18:39:49.000Z | pystratis/api/coldstaking/responsemodels/infomodel.py | TjadenFroyda/pyStratis | 9cc7620d7506637f8a2b84003d931eceb36ac5f2 | [
"MIT"
] | 4 | 2021-07-01T04:36:42.000Z | 2021-09-17T10:54:19.000Z | from pydantic import Field
from pystratis.api import Model
class InfoModel(Model):
"""A pydantic model for cold wallet information."""
cold_wallet_account_exists: bool = Field(alias='coldWalletAccountExists')
"""True if cold wallet account exists."""
hot_wallet_account_exists: bool = Field(alias='hotW... | 35.090909 | 77 | 0.746114 | 47 | 386 | 6 | 0.489362 | 0.184397 | 0.269504 | 0.163121 | 0.234043 | 0.234043 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15285 | 386 | 10 | 78 | 38.6 | 0.862385 | 0.11658 | 0 | 0 | 0 | 0 | 0.177165 | 0.177165 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b62c8ba03c8b2347cc2b57f19c88f9df3776d273 | 59 | py | Python | clusprotools/report/__init__.py | Mingchenchen/cluspro-tools | d4efa8753c9817a4fe1972951e60180fb95e31dd | [
"MIT"
] | 1 | 2021-04-20T03:10:03.000Z | 2021-04-20T03:10:03.000Z | clusprotools/report/__init__.py | Mingchenchen/cluspro-tools | d4efa8753c9817a4fe1972951e60180fb95e31dd | [
"MIT"
] | null | null | null | clusprotools/report/__init__.py | Mingchenchen/cluspro-tools | d4efa8753c9817a4fe1972951e60180fb95e31dd | [
"MIT"
] | null | null | null | # ./report/__init__.py
from .filtering_parameters import * | 19.666667 | 35 | 0.779661 | 7 | 59 | 5.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 59 | 3 | 35 | 19.666667 | 0.773585 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b64d6edd6fd268c7bad3025edd07328e9733af7b | 4,885 | py | Python | tests/test_stock_availability.py | mrkevinomar/saleor | 5e5f83288aa3d2c916520cc7267f3cb6ec2ab29a | [
"CC-BY-4.0"
] | 4 | 2021-04-09T01:07:00.000Z | 2022-02-15T10:51:39.000Z | tests/test_stock_availability.py | mrkevinomar/saleor | 5e5f83288aa3d2c916520cc7267f3cb6ec2ab29a | [
"CC-BY-4.0"
] | 13 | 2021-03-19T02:54:47.000Z | 2022-03-12T00:36:26.000Z | tests/test_stock_availability.py | yog240597/saleor | b75a23827a4ec2ce91637f0afe6808c9d09da00a | [
"CC-BY-4.0"
] | 1 | 2020-11-08T00:45:03.000Z | 2020-11-08T00:45:03.000Z | import pytest
from django.test import override_settings
from saleor.core.exceptions import InsufficientStock
from saleor.warehouse.availability import (
are_all_product_variants_in_stock,
check_stock_quantity,
get_available_quantity,
get_available_quantity_for_customer,
get_quantity_allocated,
)
fr... | 36.185185 | 87 | 0.832139 | 658 | 4,885 | 5.615502 | 0.104863 | 0.110961 | 0.150203 | 0.210284 | 0.827334 | 0.781326 | 0.715291 | 0.615156 | 0.607578 | 0.593505 | 0 | 0.004147 | 0.111361 | 4,885 | 134 | 88 | 36.455224 | 0.84704 | 0 | 0 | 0.387097 | 0 | 0 | 0.005732 | 0 | 0 | 0 | 0 | 0 | 0.182796 | 1 | 0.204301 | false | 0 | 0.053763 | 0 | 0.258065 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b64e02244c38f2c7269abdcb7ef0fc04800d3b91 | 367 | py | Python | src/promnesia/__init__.py | halhenke/promnesia | 03f46b7e0740790ef091e6f48d0ac2e6bf05bcb7 | [
"MIT"
] | 1,327 | 2019-11-02T20:10:38.000Z | 2022-03-29T16:58:36.000Z | src/promnesia/__init__.py | halhenke/promnesia | 03f46b7e0740790ef091e6f48d0ac2e6bf05bcb7 | [
"MIT"
] | 157 | 2019-09-06T11:16:40.000Z | 2022-03-27T20:01:52.000Z | src/promnesia/__init__.py | halhenke/promnesia | 03f46b7e0740790ef091e6f48d0ac2e6bf05bcb7 | [
"MIT"
] | 60 | 2020-06-08T22:12:24.000Z | 2022-03-22T16:57:22.000Z | from pathlib import Path
from .common import PathIsh, Visit, Source, last, Loc, Results, DbVisit, Context, Res
# add deprecation warning so eventually this may converted to a namespace package?
import warnings
warnings.warn("DEPRECATED! Please import directly from 'promnesia.common', e.g. 'from promnesia.common import... | 52.428571 | 155 | 0.79564 | 49 | 367 | 5.959184 | 0.714286 | 0.082192 | 0.130137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125341 | 367 | 6 | 156 | 61.166667 | 0.909657 | 0.217984 | 0 | 0 | 0 | 0.25 | 0.414035 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b6519f091720b9f2a0259d7694470bbcb72cff2a | 35 | py | Python | 31/00/list.remove.1.py | pylangstudy/201705 | c69de524faa67fa2d96267d5a51ed9794208f0e4 | [
"CC0-1.0"
] | null | null | null | 31/00/list.remove.1.py | pylangstudy/201705 | c69de524faa67fa2d96267d5a51ed9794208f0e4 | [
"CC0-1.0"
] | 38 | 2017-05-25T07:08:48.000Z | 2017-05-31T01:42:41.000Z | 31/00/list.remove.1.py | pylangstudy/201705 | c69de524faa67fa2d96267d5a51ed9794208f0e4 | [
"CC0-1.0"
] | null | null | null | l = [1,2,1,3]
l.remove(4)
print(l)
| 8.75 | 13 | 0.542857 | 10 | 35 | 1.9 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.142857 | 35 | 3 | 14 | 11.666667 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b6660e5ff663ae8b2d55716f1c2c4c68535ee3bd | 193 | py | Python | calplus/v1/__init__.py | nghiadt16/CALplus | 68c108e6abf7eeac4937b870dc7462dd6ee2fcc3 | [
"Apache-2.0"
] | null | null | null | calplus/v1/__init__.py | nghiadt16/CALplus | 68c108e6abf7eeac4937b870dc7462dd6ee2fcc3 | [
"Apache-2.0"
] | 4 | 2017-04-05T16:14:07.000Z | 2018-12-14T14:19:15.000Z | calplus/v1/__init__.py | nghiadt16/CALplus | 68c108e6abf7eeac4937b870dc7462dd6ee2fcc3 | [
"Apache-2.0"
] | 2 | 2017-04-18T16:53:58.000Z | 2018-12-04T05:42:51.000Z | def public_endpoint(wsgidriver, conf):
# Example:
# from calplus.v1.network import network
# ...
# return [
# ('/path',
# network.Resource())
# ]
return []
| 19.3 | 44 | 0.533679 | 17 | 193 | 6 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007519 | 0.310881 | 193 | 9 | 45 | 21.444444 | 0.759399 | 0.502591 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
b66e57975c7bf6a1dffab9357a4032ba65cd2b8f | 304 | py | Python | python/mlp/centroidal/none.py | daeunSong/multicontact-locomotion-planning | 0aeabe6a7a8d49e54d6996a6126740cc90aa0050 | [
"BSD-2-Clause"
] | 31 | 2019-11-08T14:46:03.000Z | 2022-03-25T08:09:16.000Z | python/mlp/centroidal/none.py | pFernbach/multicontact-locomotion-planning | 86c3e64fd0ee57b1e4061351a16e43e6ba0e15c2 | [
"BSD-2-Clause"
] | 21 | 2019-04-12T13:13:31.000Z | 2021-04-02T14:28:15.000Z | python/mlp/centroidal/none.py | pFernbach/multicontact-locomotion-planning | 86c3e64fd0ee57b1e4061351a16e43e6ba0e15c2 | [
"BSD-2-Clause"
] | 11 | 2019-04-12T13:03:55.000Z | 2021-11-22T08:19:06.000Z | from mlp.utils.requirements import Requirements as CentroidalInputsNone
from mlp.utils.requirements import Requirements as CentroidalOutputsNone
def generate_centroidal_none(cfg, cs, cs_initGuess=None, fullBody=None, viewer=None, first_iter = True):
print("Centroidal trajectory not computed !")
| 43.428571 | 104 | 0.819079 | 37 | 304 | 6.621622 | 0.648649 | 0.057143 | 0.097959 | 0.195918 | 0.359184 | 0.359184 | 0.359184 | 0 | 0 | 0 | 0 | 0 | 0.111842 | 304 | 6 | 105 | 50.666667 | 0.907407 | 0 | 0 | 0 | 1 | 0 | 0.118812 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 0.75 | 0.25 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b6726aa154deecc342e01674044e6de847d5f2c8 | 39,842 | py | Python | config/plugins/pbh.py | sg893052/sonic-utilities | fdb79b8d65b8ca22232f4e6b140f593dd01613d5 | [
"Apache-2.0"
] | null | null | null | config/plugins/pbh.py | sg893052/sonic-utilities | fdb79b8d65b8ca22232f4e6b140f593dd01613d5 | [
"Apache-2.0"
] | null | null | null | config/plugins/pbh.py | sg893052/sonic-utilities | fdb79b8d65b8ca22232f4e6b140f593dd01613d5 | [
"Apache-2.0"
] | null | null | null | """
This CLI plugin was auto-generated by using 'sonic-cli-gen' utility, BUT
it was manually modified to meet the PBH HLD requirements.
PBH HLD - https://github.com/Azure/SONiC/pull/773
CLI Auto-generation tool HLD - https://github.com/Azure/SONiC/pull/78
"""
import click
import json
import ipaddress
import re
import... | 28.663309 | 185 | 0.632398 | 5,455 | 39,842 | 4.353071 | 0.054445 | 0.0614 | 0.022741 | 0.021983 | 0.828308 | 0.77672 | 0.709341 | 0.685968 | 0.62979 | 0.603302 | 0 | 0.005344 | 0.239145 | 39,842 | 1,389 | 186 | 28.683945 | 0.77799 | 0.104212 | 0 | 0.589921 | 1 | 0.002964 | 0.188019 | 0.003462 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04249 | false | 0.020751 | 0.005929 | 0.000988 | 0.067194 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b6a8b1c29d7aa6a2c392ef67077c0dc18af74960 | 158 | py | Python | curso em video - Phython/desafios/desafio 12.py | ThyagoHiggins/LP-Phython | 78e84aa77e786cc33b7d91397d17e93c3d5a692a | [
"MIT"
] | null | null | null | curso em video - Phython/desafios/desafio 12.py | ThyagoHiggins/LP-Phython | 78e84aa77e786cc33b7d91397d17e93c3d5a692a | [
"MIT"
] | null | null | null | curso em video - Phython/desafios/desafio 12.py | ThyagoHiggins/LP-Phython | 78e84aa77e786cc33b7d91397d17e93c3d5a692a | [
"MIT"
] | null | null | null | preco= float(input('Informe o preço o produto: R$ '))
print(f'O produto com preço original de R${preco} com desconto de 5% passar a ser R${preco*0.95:.2f}') | 79 | 102 | 0.696203 | 31 | 158 | 3.548387 | 0.677419 | 0.145455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037313 | 0.151899 | 158 | 2 | 102 | 79 | 0.783582 | 0 | 0 | 0 | 0 | 0.5 | 0.779874 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.5 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 5 |
fcae0e70c44702e01bcf68ec878313149d72fa55 | 92 | py | Python | 2021_CPS_festival/test.py | yehyunchoi/Algorithm | 35e32159ee13b46b30b543fa79ab6e81d6719f13 | [
"MIT"
] | null | null | null | 2021_CPS_festival/test.py | yehyunchoi/Algorithm | 35e32159ee13b46b30b543fa79ab6e81d6719f13 | [
"MIT"
] | null | null | null | 2021_CPS_festival/test.py | yehyunchoi/Algorithm | 35e32159ee13b46b30b543fa79ab6e81d6719f13 | [
"MIT"
] | null | null | null | def f() :
for i in range(1, 10):
print((i * 2 + 5) * 50 +1771 - 1994)
| 15.333333 | 44 | 0.391304 | 15 | 92 | 2.4 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.288462 | 0.434783 | 92 | 5 | 45 | 18.4 | 0.403846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fcb87f7ac89ba6ece95c7d456d8ee294d258f7e4 | 101 | py | Python | fromconfig_yarn/__init__.py | criteo/fromconfig-yarn | 3de6241e5fc9968fe0f8a472b4639f528f7913d6 | [
"Apache-2.0"
] | null | null | null | fromconfig_yarn/__init__.py | criteo/fromconfig-yarn | 3de6241e5fc9968fe0f8a472b4639f528f7913d6 | [
"Apache-2.0"
] | null | null | null | fromconfig_yarn/__init__.py | criteo/fromconfig-yarn | 3de6241e5fc9968fe0f8a472b4639f528f7913d6 | [
"Apache-2.0"
] | 1 | 2022-02-21T11:36:19.000Z | 2022-02-21T11:36:19.000Z | # pylint: disable=unused-import,missing-docstring
from fromconfig_yarn.launcher import YarnLauncher
| 25.25 | 49 | 0.851485 | 12 | 101 | 7.083333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079208 | 101 | 3 | 50 | 33.666667 | 0.913978 | 0.465347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fcccfc8297957215bd591c3528919a5073c7b220 | 144 | py | Python | tests/utils/singleton_provider.py | BoaVaga/boavaga_server | 7d25a68832d3b9f4f5666d0a3d55c99025498511 | [
"MIT"
] | null | null | null | tests/utils/singleton_provider.py | BoaVaga/boavaga_server | 7d25a68832d3b9f4f5666d0a3d55c99025498511 | [
"MIT"
] | null | null | null | tests/utils/singleton_provider.py | BoaVaga/boavaga_server | 7d25a68832d3b9f4f5666d0a3d55c99025498511 | [
"MIT"
] | null | null | null | from dependency_injector.providers import Singleton
def singleton_provider(obj):
def clb():
return obj
return Singleton(clb)
| 16 | 51 | 0.722222 | 17 | 144 | 6 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215278 | 144 | 8 | 52 | 18 | 0.902655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
fce6d17cc4e5b81129feed550d77052af2b1fece | 123 | py | Python | basic/exercise1.py | jspw/Basic_Python | aa159f576a471c6deebdf1e5f462dfc9ffb4930b | [
"Unlicense"
] | 6 | 2020-06-25T14:52:09.000Z | 2021-08-05T20:54:15.000Z | basic/exercise1.py | jspw/Basic_Python | aa159f576a471c6deebdf1e5f462dfc9ffb4930b | [
"Unlicense"
] | null | null | null | basic/exercise1.py | jspw/Basic_Python | aa159f576a471c6deebdf1e5f462dfc9ffb4930b | [
"Unlicense"
] | null | null | null | print(" this is \\\\ double backslash \nthis is //\\//\\//\\//\\//\\ mountain \nhe is awesome\b y")
print("\\\"\\n\\t\\\'") | 61.5 | 99 | 0.504065 | 16 | 123 | 3.875 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113821 | 123 | 2 | 100 | 61.5 | 0.568807 | 0 | 0 | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
1e2a9e832f58f873b7321bbc54ff649ebdf73c81 | 21,693 | py | Python | bankManage/backEndService/test.py | ShangziXue/A-simple-bank-system | 8d08ae8cfd159286a329da7c35ebc4ca77b2fe6d | [
"MIT"
] | null | null | null | bankManage/backEndService/test.py | ShangziXue/A-simple-bank-system | 8d08ae8cfd159286a329da7c35ebc4ca77b2fe6d | [
"MIT"
] | null | null | null | bankManage/backEndService/test.py | ShangziXue/A-simple-bank-system | 8d08ae8cfd159286a329da7c35ebc4ca77b2fe6d | [
"MIT"
] | null | null | null | from flask import Flask
from flask import request
from flask import jsonify
from flask import make_response
from flask_cors import *
import json
import time
app = Flask(__name__)
CORS(app, supports_credentials=True)
#==============================================================================================
# Or... | 47.676923 | 186 | 0.448255 | 1,769 | 21,693 | 5.460712 | 0.139062 | 0.121118 | 0.169565 | 0.226087 | 0.737785 | 0.719151 | 0.715631 | 0.70176 | 0.68147 | 0.68147 | 0 | 0.047874 | 0.396257 | 21,693 | 455 | 187 | 47.676923 | 0.6897 | 0.079565 | 0 | 0.677922 | 0 | 0 | 0.262888 | 0.135866 | 0 | 0 | 0 | 0.002198 | 0 | 1 | 0.031169 | false | 0.005195 | 0.018182 | 0.002597 | 0.122078 | 0.080519 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1e6d59a9284843a44645426577d2033e24a2fb25 | 1,567 | py | Python | foruse/watch.py | vistoyn/python-foruse | 312588d25ac391aa7b3325b7cb4c8f8188b559c7 | [
"MIT"
] | 1 | 2016-08-19T20:37:51.000Z | 2016-08-19T20:37:51.000Z | foruse/watch.py | vistoyn/python-foruse | 312588d25ac391aa7b3325b7cb4c8f8188b559c7 | [
"MIT"
] | 1 | 2016-04-28T19:31:21.000Z | 2016-04-28T19:31:21.000Z | foruse/watch.py | vistoyn/python-foruse | 312588d25ac391aa7b3325b7cb4c8f8188b559c7 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Watcher.
# Мониторит файлы py на наличие изменений и перезапускает приложение когда они были изменены
import sys
import time
import _thread
loaded_modules_cache=set()
is_watching = True
# Возвращает список загруженных модулей
def get_loaded_modules_path():
paths=set()
for name in sys.mo... | 1,567 | 1,567 | 0.673261 | 212 | 1,567 | 4.735849 | 0.400943 | 0.103586 | 0.053785 | 0.059761 | 0.055777 | 0.055777 | 0 | 0 | 0 | 0 | 0 | 0.004918 | 0.221442 | 1,567 | 1 | 1,567 | 1,567 | 0.818033 | 0.993618 | 0 | 0.142857 | 0 | 0 | 0.02689 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.122449 | false | 0.061224 | 0.061224 | 0.020408 | 0.244898 | 0.020408 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
1e7e68167e4020017fa241e1afa50392f56a4227 | 135 | py | Python | ml_enabler/exceptions.py | gaoxm/ml-enabler-cli | 91874757f039e6cd9d84696b5688c9914d29e284 | [
"BSD-2-Clause"
] | 5 | 2019-07-23T22:42:45.000Z | 2020-02-28T09:57:33.000Z | ml_enabler/exceptions.py | gaoxm/ml-enabler-cli | 91874757f039e6cd9d84696b5688c9914d29e284 | [
"BSD-2-Clause"
] | 17 | 2019-06-06T17:56:10.000Z | 2019-09-18T03:17:04.000Z | ml_enabler/exceptions.py | gaoxm/ml-enabler-cli | 91874757f039e6cd9d84696b5688c9914d29e284 | [
"BSD-2-Clause"
] | 1 | 2020-05-11T00:54:55.000Z | 2020-05-11T00:54:55.000Z |
class InvalidData(Exception):
pass
class InvalidModelResponse(Exception):
pass
class ImageFetchError(Exception):
pass
| 11.25 | 38 | 0.740741 | 12 | 135 | 8.333333 | 0.5 | 0.39 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192593 | 135 | 11 | 39 | 12.272727 | 0.917431 | 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 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
1edfc3a473af34c28bd0a07eb797ebfb50cbd5af | 191 | py | Python | pyaztec/core.py | DGX2000/PyAztec | b6284bb9dbadc954b5e877dcfc204056705b8205 | [
"MIT"
] | null | null | null | pyaztec/core.py | DGX2000/PyAztec | b6284bb9dbadc954b5e877dcfc204056705b8205 | [
"MIT"
] | null | null | null | pyaztec/core.py | DGX2000/PyAztec | b6284bb9dbadc954b5e877dcfc204056705b8205 | [
"MIT"
] | null | null | null | def decode():
# Step 1: detect symbol => crop+size
# Step 2: crop+size => np.array
# Step 3: np.array+Size => bitstring
# Step 4: bitstring => original text
return False
| 23.875 | 40 | 0.60733 | 27 | 191 | 4.296296 | 0.666667 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.267016 | 191 | 7 | 41 | 27.285714 | 0.8 | 0.701571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
1ee03b5faff26d8ae10225e7c96023ae0730a7b7 | 176 | py | Python | molfunc/__init__.py | t-young31/molfunc | 7b81b21bd3bec26f1ef130335674394be8569eff | [
"MIT"
] | 24 | 2020-05-13T16:13:36.000Z | 2022-02-10T10:19:05.000Z | molfunc/__init__.py | t-young31/molfunc | 7b81b21bd3bec26f1ef130335674394be8569eff | [
"MIT"
] | 11 | 2020-06-07T11:01:52.000Z | 2021-11-07T12:08:01.000Z | molfunc/__init__.py | t-young31/molfunc | 7b81b21bd3bec26f1ef130335674394be8569eff | [
"MIT"
] | 9 | 2020-06-06T19:52:15.000Z | 2022-02-15T07:02:00.000Z | from molfunc.molecules import print_combined_molecule
from molfunc.fragments import names as fragment_names
__all__ = ['print_combined_molecule',
'fragment_names']
| 29.333333 | 53 | 0.795455 | 21 | 176 | 6.190476 | 0.571429 | 0.169231 | 0.323077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147727 | 176 | 5 | 54 | 35.2 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.210227 | 0.130682 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
948ef6862e8383ab0401c5f4cb71c4bf3df6ed70 | 27,434 | py | Python | utils/smallmodel_functions.py | SilverEngineered/Quilt | bd6357fd3b5543e908fa57f904f177d75fa6873e | [
"MIT"
] | null | null | null | utils/smallmodel_functions.py | SilverEngineered/Quilt | bd6357fd3b5543e908fa57f904f177d75fa6873e | [
"MIT"
] | null | null | null | utils/smallmodel_functions.py | SilverEngineered/Quilt | bd6357fd3b5543e908fa57f904f177d75fa6873e | [
"MIT"
] | null | null | null | from scipy.stats import mode
import warnings
import pennylane as qml
from pennylane import numpy as np
from pennylane.templates import AmplitudeEmbedding
import numpy
import operator
import os
warnings.filterwarnings('ignore')
warnings.filterwarnings('ignore')
def performance(labels, predictions, definition='majorit... | 36.432935 | 218 | 0.507181 | 4,223 | 27,434 | 3.210514 | 0.053516 | 0.035403 | 0.047795 | 0.026553 | 0.820918 | 0.793037 | 0.759773 | 0.719059 | 0.685647 | 0.643605 | 0 | 0.071965 | 0.325326 | 27,434 | 752 | 219 | 36.481383 | 0.660544 | 0 | 0 | 0.543645 | 0 | 0 | 0.042102 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050536 | false | 0.001531 | 0.012251 | 0.003063 | 0.267994 | 0.007657 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
94f4060129fe8cf3920b7d6d3c86c8297780811a | 369 | py | Python | runtests.py | prohfesor/tapiriik | 0c476f8bb6b3d51674f0117b054777405ff2ee0d | [
"Apache-2.0"
] | 1,445 | 2015-01-01T21:43:31.000Z | 2022-03-17T13:40:23.000Z | runtests.py | prohfesor/tapiriik | 0c476f8bb6b3d51674f0117b054777405ff2ee0d | [
"Apache-2.0"
] | 441 | 2015-01-02T03:37:49.000Z | 2022-03-31T18:18:03.000Z | runtests.py | prohfesor/tapiriik | 0c476f8bb6b3d51674f0117b054777405ff2ee0d | [
"Apache-2.0"
] | 333 | 2015-01-06T12:14:15.000Z | 2022-03-27T19:58:48.000Z | import tapiriik.database
tapiriik.database.db = tapiriik.database._connection["tapiriik_test"]
tapiriik.database.cachedb = tapiriik.database._connection["tapiriik_cache_test"]
from tapiriik.testing import *
import unittest
unittest.main()
tapiriik.database._connection.drop_database("tapiriik_test")
tapiriik.database.... | 33.545455 | 80 | 0.845528 | 43 | 369 | 6.976744 | 0.302326 | 0.373333 | 0.346667 | 0.226667 | 0.306667 | 0.306667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051491 | 369 | 10 | 81 | 36.9 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.173442 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.375 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a206d099b1ed7d52412fc385d06c556c922dcae7 | 3,487 | py | Python | tests/test_latest_window.py | omri374/fossa | 0ca81ba9cceecdc942832bc46e72075278a08ffe | [
"MIT"
] | null | null | null | tests/test_latest_window.py | omri374/fossa | 0ca81ba9cceecdc942832bc46e72075278a08ffe | [
"MIT"
] | null | null | null | tests/test_latest_window.py | omri374/fossa | 0ca81ba9cceecdc942832bc46e72075278a08ffe | [
"MIT"
] | null | null | null | """Tests for the LatestWindowAnomalyDetector."""
import pytest
from sklearn.exceptions import NotFittedError
from fossa import LatestWindowAnomalyDetector
from fossa.utils import dummy_data
def test_base():
num_categ = 8
clf = LatestWindowAnomalyDetector(p_threshold=0.00001)
history = dummy_data(
... | 33.209524 | 76 | 0.699742 | 514 | 3,487 | 4.474708 | 0.124514 | 0.086957 | 0.067826 | 0.090435 | 0.796087 | 0.786087 | 0.757826 | 0.757826 | 0.757826 | 0.731304 | 0 | 0.065538 | 0.203613 | 3,487 | 104 | 77 | 33.528846 | 0.762694 | 0.022082 | 0 | 0.627907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 1 | 0.069767 | false | 0 | 0.046512 | 0 | 0.116279 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a21dd0d8bc4b1b0fe135e67bcc90b5ab6cd08b60 | 42 | py | Python | auxein/playgrounds/__init__.py | auxein/auxein | 5388cb572b65aecc282f915515c35dc3b987154c | [
"Apache-2.0"
] | 1 | 2019-05-08T14:53:27.000Z | 2019-05-08T14:53:27.000Z | auxein/playgrounds/__init__.py | auxein/auxein | 5388cb572b65aecc282f915515c35dc3b987154c | [
"Apache-2.0"
] | 2 | 2020-08-26T09:16:47.000Z | 2020-10-30T16:47:03.000Z | auxein/playgrounds/__init__.py | auxein/auxein | 5388cb572b65aecc282f915515c35dc3b987154c | [
"Apache-2.0"
] | null | null | null | # flake8: noqa
from .static import Static
| 14 | 26 | 0.761905 | 6 | 42 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.166667 | 42 | 2 | 27 | 21 | 0.885714 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bf7b7bc081f4e280f54e5821baf51d6a66337a0f | 125 | py | Python | multinet/api/apps.py | multinet-app/multinet-api | a658d787f0fb9ba415ed85a1e37c29953486287f | [
"Apache-2.0"
] | null | null | null | multinet/api/apps.py | multinet-app/multinet-api | a658d787f0fb9ba415ed85a1e37c29953486287f | [
"Apache-2.0"
] | 91 | 2021-03-15T19:00:15.000Z | 2022-03-11T00:04:05.000Z | multinet/api/apps.py | multinet-app/multinet-api | a658d787f0fb9ba415ed85a1e37c29953486287f | [
"Apache-2.0"
] | 1 | 2022-02-05T15:53:04.000Z | 2022-02-05T15:53:04.000Z | from django.apps import AppConfig
class ApiConfig(AppConfig):
name = 'multinet.api'
verbose_name = 'Multinet: Api'
| 17.857143 | 34 | 0.72 | 15 | 125 | 5.933333 | 0.733333 | 0.269663 | 0.337079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184 | 125 | 6 | 35 | 20.833333 | 0.872549 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
bf827082930cc4111c1b1c1e6a2b7c2da91efcc7 | 163 | py | Python | src/components/kankeiforms/coloring_types.py | BigJerBD/Kankei-Backend | 22e512405dff98c9b517d483ac7ddd168c459999 | [
"MIT"
] | null | null | null | src/components/kankeiforms/coloring_types.py | BigJerBD/Kankei-Backend | 22e512405dff98c9b517d483ac7ddd168c459999 | [
"MIT"
] | null | null | null | src/components/kankeiforms/coloring_types.py | BigJerBD/Kankei-Backend | 22e512405dff98c9b517d483ac7ddd168c459999 | [
"MIT"
] | null | null | null | from components.kankeiforms.shown_properties import DEFAULT_SHOWN_PROPERTIES
DEFAULT_COLORING_TYPES = [name for name, scope in DEFAULT_SHOWN_PROPERTIES["nodes"]]
| 40.75 | 84 | 0.858896 | 21 | 163 | 6.333333 | 0.666667 | 0.338346 | 0.330827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079755 | 163 | 3 | 85 | 54.333333 | 0.886667 | 0 | 0 | 0 | 0 | 0 | 0.030675 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
44d0efb3370e4a3db3fe8111f06c88c97585da6e | 51 | py | Python | multilingual_t5/r_bn_en/__init__.py | sumanthd17/mt5 | c99b4e3ad1c69908c852c730a1323ccb52d48f58 | [
"Apache-2.0"
] | null | null | null | multilingual_t5/r_bn_en/__init__.py | sumanthd17/mt5 | c99b4e3ad1c69908c852c730a1323ccb52d48f58 | [
"Apache-2.0"
] | null | null | null | multilingual_t5/r_bn_en/__init__.py | sumanthd17/mt5 | c99b4e3ad1c69908c852c730a1323ccb52d48f58 | [
"Apache-2.0"
] | null | null | null | """r_bn_en dataset."""
from .r_bn_en import RBnEn
| 12.75 | 26 | 0.705882 | 10 | 51 | 3.2 | 0.7 | 0.1875 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 51 | 3 | 27 | 17 | 0.727273 | 0.313725 | 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 | 0 | 0 | 0 | 5 |
780899a07d386c70a8b84374cbbae405d5d3bb8f | 51 | py | Python | source/campo/op_fieldagents/__init__.py | computationalgeography/campo | 0983270577913813cc3de1155f01cf97e59c27c6 | [
"MIT"
] | 2 | 2021-06-20T12:58:19.000Z | 2021-06-20T12:58:32.000Z | source/campo/op_fieldagents/__init__.py | Shellydun/campo | 0d1c51bb5cbc76e99c2854332a645d6ed53dacb3 | [
"MIT"
] | null | null | null | source/campo/op_fieldagents/__init__.py | Shellydun/campo | 0d1c51bb5cbc76e99c2854332a645d6ed53dacb3 | [
"MIT"
] | 5 | 2020-12-15T09:16:26.000Z | 2021-01-13T23:39:06.000Z | from .operators import *
from .operations import *
| 17 | 25 | 0.764706 | 6 | 51 | 6.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 51 | 2 | 26 | 25.5 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
782fa13dbe92ff67b8582ca14edb125f9d22277e | 20,482 | py | Python | tests/test_global_torque_driven_with_contact_ocp.py | Steakkk/bioptim-1 | ccced00a581d9bf469631cc8a186c055f2e567e1 | [
"MIT"
] | null | null | null | tests/test_global_torque_driven_with_contact_ocp.py | Steakkk/bioptim-1 | ccced00a581d9bf469631cc8a186c055f2e567e1 | [
"MIT"
] | null | null | null | tests/test_global_torque_driven_with_contact_ocp.py | Steakkk/bioptim-1 | ccced00a581d9bf469631cc8a186c055f2e567e1 | [
"MIT"
] | null | null | null | """
Test for file IO.
It tests the results of an optimal control problem with torque_driven_with_contact problem type regarding the proper functioning of :
- the maximize/minimize_predicted_height_CoM objective
- the contact_forces_inequality constraint
- the non_slipping constraint
"""
import importlib.util
from pathl... | 38.355805 | 133 | 0.578313 | 2,500 | 20,482 | 4.5388 | 0.1552 | 0.069798 | 0.11633 | 0.125848 | 0.748039 | 0.748039 | 0.736935 | 0.730413 | 0.730413 | 0.72539 | 0 | 0.190861 | 0.28093 | 20,482 | 533 | 134 | 38.427767 | 0.579576 | 0.074504 | 0 | 0.453682 | 0 | 0 | 0.052389 | 0.044769 | 0 | 0 | 0 | 0 | 0.209026 | 1 | 0.011876 | false | 0 | 0.038005 | 0 | 0.049881 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7860fd82035f668e6da8de2730ad812211937515 | 8,041 | py | Python | tests/unit_test/chat/chat_test.py | rit1200/kairon | 674a491f6deeae4800825ca93e0726e4fb6e0866 | [
"Apache-2.0"
] | 9 | 2020-04-22T12:49:29.000Z | 2020-06-13T22:23:20.000Z | tests/unit_test/chat/chat_test.py | rit1200/kairon | 674a491f6deeae4800825ca93e0726e4fb6e0866 | [
"Apache-2.0"
] | 18 | 2020-04-20T12:39:20.000Z | 2020-05-21T05:10:51.000Z | tests/unit_test/chat/chat_test.py | rit1200/kairon | 674a491f6deeae4800825ca93e0726e4fb6e0866 | [
"Apache-2.0"
] | 13 | 2020-04-21T12:12:40.000Z | 2020-05-13T07:27:44.000Z | from unittest.mock import patch
from urllib.parse import urlencode, quote_plus
from kairon.shared.utils import Utility
import pytest
import os
from mongoengine import connect, ValidationError
from kairon.shared.chat.processor import ChatDataProcessor
from re import escape
import responses
class TestChat:
@pytes... | 57.435714 | 137 | 0.535506 | 683 | 8,041 | 5.980966 | 0.168375 | 0.070012 | 0.045777 | 0.045777 | 0.812485 | 0.797062 | 0.754223 | 0.718237 | 0.635006 | 0.614443 | 0 | 0.051449 | 0.352195 | 8,041 | 139 | 138 | 57.848921 | 0.73277 | 0 | 0 | 0.655462 | 0 | 0.016807 | 0.27422 | 0.110558 | 0 | 0 | 0 | 0 | 0.151261 | 1 | 0.092437 | false | 0 | 0.07563 | 0.016807 | 0.193277 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7863678b73305e2f98c218916ee3293d09ad3ea8 | 135 | py | Python | ree/core/__init__.py | blackleg/reescrapper | d41b8ba1b4e6750539a13b3e18eff84c1407ad0c | [
"MIT"
] | null | null | null | ree/core/__init__.py | blackleg/reescrapper | d41b8ba1b4e6750539a13b3e18eff84c1407ad0c | [
"MIT"
] | null | null | null | ree/core/__init__.py | blackleg/reescrapper | d41b8ba1b4e6750539a13b3e18eff84c1407ad0c | [
"MIT"
] | null | null | null | from .scraper import Scraper
from .exceptions import ResponseCodeException, ResponseDataException, NoDataException, TimestampException
| 45 | 105 | 0.881481 | 11 | 135 | 10.818182 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081481 | 135 | 2 | 106 | 67.5 | 0.959677 | 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 | 0 | 0 | 0 | 5 |
788e961f0efa463a25318e0ef7b0481d4e392359 | 121 | py | Python | build/lib/annotation_utils/old/converter/__init__.py | HienDT27/annotation_utils | 1f4e95f4cfa08de5bbab20f90a6a75fba66a69b9 | [
"MIT"
] | 13 | 2020-01-28T04:45:22.000Z | 2022-03-10T03:35:49.000Z | build/lib/annotation_utils/old/converter/__init__.py | HienDT27/annotation_utils | 1f4e95f4cfa08de5bbab20f90a6a75fba66a69b9 | [
"MIT"
] | 4 | 2020-02-14T08:56:03.000Z | 2021-05-21T10:38:30.000Z | build/lib/annotation_utils/old/converter/__init__.py | HienDT27/annotation_utils | 1f4e95f4cfa08de5bbab20f90a6a75fba66a69b9 | [
"MIT"
] | 7 | 2020-04-10T07:56:25.000Z | 2021-12-17T11:19:23.000Z | from .labelimg_labelme_converter import LabelImgLabelMeConverter
from .labelme_coco_converter import LabelMeCOCOConverter | 60.5 | 64 | 0.92562 | 12 | 121 | 9 | 0.666667 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057851 | 121 | 2 | 65 | 60.5 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
789ea8f0f78398fa283d5a19d603440735cfb8cf | 147 | py | Python | marueditor_debug.py | Marusoftware/Marutools | 2b462ea02abaf957eb037c281b62d7efe053840e | [
"MIT"
] | null | null | null | marueditor_debug.py | Marusoftware/Marutools | 2b462ea02abaf957eb037c281b62d7efe053840e | [
"MIT"
] | 5 | 2021-01-21T09:46:12.000Z | 2022-02-14T13:54:44.000Z | marueditor_debug.py | Marusoftware/Marutools | 2b462ea02abaf957eb037c281b62d7efe053840e | [
"MIT"
] | 2 | 2021-11-02T11:01:53.000Z | 2022-02-14T10:11:21.000Z | #! /usr/bin/python3
import subprocess
import time
import sys
import os
subprocess.Popen(["./marueditor.py","--debug"])
while 1:
time.sleep(1)
| 14.7 | 47 | 0.707483 | 21 | 147 | 4.952381 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023438 | 0.129252 | 147 | 9 | 48 | 16.333333 | 0.789063 | 0.122449 | 0 | 0 | 0 | 0 | 0.171875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
78b6f397569551bd5f393c57e7d7a1e446988a0b | 41 | py | Python | canopy/io/adat/errors.py | SomaLogic/Canopy | 535111c40995731e941da8cbf484c2aa9cb9b444 | [
"MIT"
] | 7 | 2020-10-30T17:41:16.000Z | 2022-03-30T06:18:26.000Z | canopy/io/adat/errors.py | SomaLogic/Canopy | 535111c40995731e941da8cbf484c2aa9cb9b444 | [
"MIT"
] | 1 | 2020-10-29T12:29:55.000Z | 2020-12-17T17:49:18.000Z | canopy/io/errors.py | SomaLogic/Canopy | 535111c40995731e941da8cbf484c2aa9cb9b444 | [
"MIT"
] | 1 | 2021-05-10T21:01:56.000Z | 2021-05-10T21:01:56.000Z | class AdatReadError(Exception):
pass
| 13.666667 | 31 | 0.756098 | 4 | 41 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 41 | 2 | 32 | 20.5 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
15220e52c59bb6809d458e2e0bbaa34f129bbc5b | 105 | py | Python | src/backend/apps/media/__init__.py | Vixx-X/ati-project | 0ef80772a6fc3807e401cf58b9e15f3628373383 | [
"MIT"
] | null | null | null | src/backend/apps/media/__init__.py | Vixx-X/ati-project | 0ef80772a6fc3807e401cf58b9e15f3628373383 | [
"MIT"
] | 61 | 2021-06-10T03:27:06.000Z | 2022-03-12T01:01:34.000Z | src/backend/apps/media/__init__.py | Vixx-X/ati-project | 0ef80772a6fc3807e401cf58b9e15f3628373383 | [
"MIT"
] | null | null | null | """
Media module
"""
from flask import Blueprint
bp = Blueprint("media", __name__)
from . import urls
| 10.5 | 33 | 0.695238 | 13 | 105 | 5.307692 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180952 | 105 | 9 | 34 | 11.666667 | 0.802326 | 0.114286 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 5 |
158d1e38aff734f970a68fc00fb7d1d94c13062f | 30 | py | Python | sshpipe/sshpipe/lib/subprocess/__init__.py | Acrisel/sshpipe | b809b151588b315720dd9c4b623592c02e041457 | [
"BSD-3-Clause"
] | null | null | null | sshpipe/sshpipe/lib/subprocess/__init__.py | Acrisel/sshpipe | b809b151588b315720dd9c4b623592c02e041457 | [
"BSD-3-Clause"
] | null | null | null | sshpipe/sshpipe/lib/subprocess/__init__.py | Acrisel/sshpipe | b809b151588b315720dd9c4b623592c02e041457 | [
"BSD-3-Clause"
] | null | null | null | from .sshsubprocess import run | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
15aabecb63e38363a5749b726c2cf24c3c89c8f0 | 9,601 | py | Python | tests/masks/test_mask.py | j-h-m/Media-Journaling-Tool | 4ab6961e2768dc002c9bbad182f83188631f01bd | [
"BSD-3-Clause"
] | null | null | null | tests/masks/test_mask.py | j-h-m/Media-Journaling-Tool | 4ab6961e2768dc002c9bbad182f83188631f01bd | [
"BSD-3-Clause"
] | null | null | null | tests/masks/test_mask.py | j-h-m/Media-Journaling-Tool | 4ab6961e2768dc002c9bbad182f83188631f01bd | [
"BSD-3-Clause"
] | null | null | null | import unittest
from tests.test_support import TestSupport
from mock import Mock
from maskgen.masks.donor_rules import VideoDonor, AudioDonor, AllStreamDonor, AllAudioStreamDonor, \
VideoDonorWithoutAudio, InterpolateDonor,AudioZipDonor
from maskgen.video_tools import get_type_of_segment, get_start_time_from_segme... | 49.489691 | 150 | 0.620144 | 1,159 | 9,601 | 4.953408 | 0.128559 | 0.096673 | 0.100331 | 0.082738 | 0.81066 | 0.769552 | 0.719735 | 0.708065 | 0.654416 | 0.625501 | 0 | 0.051982 | 0.23258 | 9,601 | 193 | 151 | 49.746114 | 0.727199 | 0 | 0 | 0.550633 | 0 | 0 | 0.127799 | 0.049891 | 0 | 0 | 0 | 0 | 0.316456 | 1 | 0.075949 | false | 0 | 0.044304 | 0.050633 | 0.177215 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ec73e8f2569f2b6cc0f4ef640bba6d5d853f67c5 | 145 | py | Python | solutions/python3/633.py | sm2774us/amazon_interview_prep_2021 | f580080e4a6b712b0b295bb429bf676eb15668de | [
"MIT"
] | 42 | 2020-08-02T07:03:49.000Z | 2022-03-26T07:50:15.000Z | solutions/python3/633.py | ajayv13/leetcode | de02576a9503be6054816b7444ccadcc0c31c59d | [
"MIT"
] | null | null | null | solutions/python3/633.py | ajayv13/leetcode | de02576a9503be6054816b7444ccadcc0c31c59d | [
"MIT"
] | 40 | 2020-02-08T02:50:24.000Z | 2022-03-26T15:38:10.000Z | class Solution:
def judgeSquareSum(self, c: int) -> bool:
return not all(((c - i ** 2) ** 0.5) % 1 for i in range(int(c ** 0.5) + 1)) | 48.333333 | 83 | 0.537931 | 26 | 145 | 3 | 0.730769 | 0.051282 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065421 | 0.262069 | 145 | 3 | 83 | 48.333333 | 0.663551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 | 0 | 1 | 1 | 0 | 0 | 5 |
ec962876e5ee48784153c61aedf3eb4f240d108c | 615 | py | Python | test/py/test4.py | mischareitsma/json2dataclass | e935b22fb9a10bda423bf2271dda9b76e975d9cf | [
"MIT"
] | null | null | null | test/py/test4.py | mischareitsma/json2dataclass | e935b22fb9a10bda423bf2271dda9b76e975d9cf | [
"MIT"
] | null | null | null | test/py/test4.py | mischareitsma/json2dataclass | e935b22fb9a10bda423bf2271dda9b76e975d9cf | [
"MIT"
] | null | null | null | from dataclasses import dataclass
from typing import Union
@dataclass
class root:
"""root dataclass"""
layerOne: object
@dataclass
class root_layerOne:
"""root_layerOne dataclass"""
layerTwo: object
@dataclass
class root_layerOne_layerTwo:
"""root_layerOne_layerTwo dataclass"""
layerThr... | 16.184211 | 63 | 0.764228 | 64 | 615 | 7.015625 | 0.25 | 0.213808 | 0.267261 | 0.213808 | 0.489978 | 0.311804 | 0.222717 | 0 | 0 | 0 | 0 | 0 | 0.15935 | 615 | 37 | 64 | 16.621622 | 0.868472 | 0.274797 | 0 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.117647 | 0 | 0.705882 | 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 | 0 | 0 | 1 | 0 | 0 | 5 |
eca6ba6de344fc69323c5191d38a3c23924883e5 | 42 | py | Python | Interface/__init__.py | thuurzz/ping-python-google | e1585b57a8e2d275a201143388da1f7c9069a0f5 | [
"MIT"
] | null | null | null | Interface/__init__.py | thuurzz/ping-python-google | e1585b57a8e2d275a201143388da1f7c9069a0f5 | [
"MIT"
] | null | null | null | Interface/__init__.py | thuurzz/ping-python-google | e1585b57a8e2d275a201143388da1f7c9069a0f5 | [
"MIT"
] | 1 | 2021-03-06T03:42:25.000Z | 2021-03-06T03:42:25.000Z | # Pensar em inteface
# Projetar interface | 14 | 20 | 0.785714 | 5 | 42 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 3 | 21 | 14 | 0.942857 | 0.880952 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
01a686c1180b8c25a68665c374576ed3735b147f | 147 | py | Python | data/__init__.py | LeileiCao/SFD_Pytorch | 384b0cd42485946371812f4905e4c9fd3c5d4e65 | [
"MIT"
] | 1 | 2020-05-03T02:46:42.000Z | 2020-05-03T02:46:42.000Z | data/__init__.py | LeileiCao/SFD_Pytorch | 384b0cd42485946371812f4905e4c9fd3c5d4e65 | [
"MIT"
] | 1 | 2019-03-30T04:04:39.000Z | 2019-03-30T04:04:39.000Z | data/__init__.py | LeileiCao/SFD_Pytorch | 384b0cd42485946371812f4905e4c9fd3c5d4e65 | [
"MIT"
] | 3 | 2019-02-22T07:00:53.000Z | 2021-01-13T10:19:59.000Z | from .wider_face import detection_collate, FACE_CLASSES, FACEDetection, FACEAnnotationTransform
from .data_augment import *
from .config import *
| 36.75 | 96 | 0.836735 | 17 | 147 | 7 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108844 | 147 | 3 | 97 | 49 | 0.908397 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bf01f21b03e680b92d738afe6364c526a2457454 | 18,403 | py | Python | test/test_grocy.py | cerebrate/pygrocy | 23776de9ba18484b35404f7029f8d80e9192b2de | [
"MIT"
] | 1 | 2021-04-27T19:05:09.000Z | 2021-04-27T19:05:09.000Z | test/test_grocy.py | cerebrate/pygrocy | 23776de9ba18484b35404f7029f8d80e9192b2de | [
"MIT"
] | null | null | null | test/test_grocy.py | cerebrate/pygrocy | 23776de9ba18484b35404f7029f8d80e9192b2de | [
"MIT"
] | null | null | null | from unittest import TestCase
from unittest.mock import patch, mock_open
from datetime import datetime
import responses
from pygrocy import Grocy
from pygrocy.grocy import Product
from pygrocy.grocy import Group
from pygrocy.grocy import ShoppingListProduct
from pygrocy.grocy_api_client import CurrentStockResponse, Gro... | 38.101449 | 121 | 0.598109 | 2,097 | 18,403 | 5.018121 | 0.083453 | 0.054737 | 0.068422 | 0.091229 | 0.812126 | 0.779721 | 0.748836 | 0.718521 | 0.683645 | 0.65219 | 0 | 0.055745 | 0.281585 | 18,403 | 482 | 122 | 38.180498 | 0.740186 | 0 | 0 | 0.443609 | 0 | 0 | 0.234799 | 0.028908 | 0 | 0 | 0 | 0 | 0.132832 | 1 | 0.105263 | false | 0 | 0.022556 | 0 | 0.130326 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bf18788042e7982b6739847878fb72ae36be9e7b | 38 | py | Python | sail_on_client/harness/__init__.py | darpa-sail-on/sail-on-client | 1fd7c0ec359469040fd7af0c8e56fe53277d4a27 | [
"Apache-2.0"
] | 1 | 2021-04-12T17:20:54.000Z | 2021-04-12T17:20:54.000Z | sail_on_client/harness/__init__.py | darpa-sail-on/sail-on-client | 1fd7c0ec359469040fd7af0c8e56fe53277d4a27 | [
"Apache-2.0"
] | 92 | 2021-03-08T22:32:15.000Z | 2022-03-25T03:53:01.000Z | sail_on_client/harness/__init__.py | darpa-sail-on/sail-on-client | 1fd7c0ec359469040fd7af0c8e56fe53277d4a27 | [
"Apache-2.0"
] | null | null | null | """Sail On client harness package."""
| 19 | 37 | 0.684211 | 5 | 38 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 1 | 38 | 38 | 0.787879 | 0.815789 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bf31af6aa85cf9328a6df9bbd13da399b259de96 | 168 | py | Python | bandits/__init__.py | XiaoMutt/ucbc | f8aeb65dc5a11ecd82fd969d120f3a848d61c064 | [
"MIT"
] | null | null | null | bandits/__init__.py | XiaoMutt/ucbc | f8aeb65dc5a11ecd82fd969d120f3a848d61c064 | [
"MIT"
] | null | null | null | bandits/__init__.py | XiaoMutt/ucbc | f8aeb65dc5a11ecd82fd969d120f3a848d61c064 | [
"MIT"
] | null | null | null | from .basis import Bandit
from .bernoulli import BernoulliBandit
from .normal import NormalBandit
from .bimodal import BimodalBandit
from .uniform import UniformBandit
| 28 | 38 | 0.85119 | 20 | 168 | 7.15 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 168 | 5 | 39 | 33.6 | 0.966216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
171cbc6ad2f299ef8863719841fbcbda4f1f23ba | 156 | py | Python | src/settings/admin.py | oussamabouchikhi/Bigdeals | be759e664e767349b01ae0f6a96d59062c35a6cb | [
"bzip2-1.0.6"
] | 2 | 2020-02-27T23:52:51.000Z | 2020-02-28T12:05:46.000Z | src/settings/admin.py | oussamabouchikhi/Bigdeals | be759e664e767349b01ae0f6a96d59062c35a6cb | [
"bzip2-1.0.6"
] | null | null | null | src/settings/admin.py | oussamabouchikhi/Bigdeals | be759e664e767349b01ae0f6a96d59062c35a6cb | [
"bzip2-1.0.6"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import Brand, Variant
admin.site.register(Brand)
admin.site.register(Variant)
| 17.333333 | 34 | 0.794872 | 22 | 156 | 5.636364 | 0.545455 | 0.145161 | 0.274194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121795 | 156 | 8 | 35 | 19.5 | 0.905109 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1742d077bb905d8522808434ce28bc222558d79b | 50 | py | Python | src/server/db/__init__.py | ralfstefanbender/Studifix2 | 281c0a89ce56796437fe054068058c0f01a7df02 | [
"RSA-MD"
] | null | null | null | src/server/db/__init__.py | ralfstefanbender/Studifix2 | 281c0a89ce56796437fe054068058c0f01a7df02 | [
"RSA-MD"
] | null | null | null | src/server/db/__init__.py | ralfstefanbender/Studifix2 | 281c0a89ce56796437fe054068058c0f01a7df02 | [
"RSA-MD"
] | null | null | null | print("db package (Mapper) wird initialisiert...") | 50 | 50 | 0.74 | 6 | 50 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 50 | 1 | 50 | 50 | 0.804348 | 0 | 0 | 0 | 0 | 0 | 0.803922 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
17634a451f2343fd844845a08de8e9ec0938b504 | 13,568 | py | Python | sutils/slurm_interface/tests/test_resources.py | t-mertz/slurm_utils | 6fc9709f62e2bca1387ea9c7a5975f0f0be5d0dd | [
"MIT"
] | null | null | null | sutils/slurm_interface/tests/test_resources.py | t-mertz/slurm_utils | 6fc9709f62e2bca1387ea9c7a5975f0f0be5d0dd | [
"MIT"
] | null | null | null | sutils/slurm_interface/tests/test_resources.py | t-mertz/slurm_utils | 6fc9709f62e2bca1387ea9c7a5975f0f0be5d0dd | [
"MIT"
] | null | null | null | import unittest
from unittest.mock import Mock, patch
from .. import resources
from .. import api as slurm
SINFO_STDOUT_TWO_LINE = "node01 partition 0.00 4/0/0/4 1:4:1 idle 8192 8000 0 (null)\n"\
+"node02 partition 0.00 4/0/0/4 1:4:1 idle 8192 8000 0 (null)\n"
class TestCpuCo... | 43.767742 | 134 | 0.643573 | 1,911 | 13,568 | 4.37258 | 0.07797 | 0.01484 | 0.010771 | 0.013882 | 0.797152 | 0.780756 | 0.744256 | 0.727262 | 0.685017 | 0.655337 | 0 | 0.109279 | 0.231132 | 13,568 | 309 | 135 | 43.909385 | 0.691718 | 0.019458 | 0 | 0.392857 | 0 | 0.138393 | 0.199458 | 0.003309 | 0 | 0 | 0 | 0 | 0.245536 | 1 | 0.245536 | false | 0 | 0.017857 | 0 | 0.299107 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
17735165c2c464ae7106518113b56c1a592e2434 | 69 | py | Python | cyder/tests/all.py | ngokevin/cyder | 8bc0e4aea9ec4b7ac9260b083839bbb1174441d3 | [
"BSD-3-Clause"
] | 1 | 2016-07-06T13:00:53.000Z | 2016-07-06T13:00:53.000Z | cyder/tests/all.py | ngokevin/cyder | 8bc0e4aea9ec4b7ac9260b083839bbb1174441d3 | [
"BSD-3-Clause"
] | null | null | null | cyder/tests/all.py | ngokevin/cyder | 8bc0e4aea9ec4b7ac9260b083839bbb1174441d3 | [
"BSD-3-Clause"
] | null | null | null | from cyder.cydns.tests.all import *
from cyder.cybind.tests import *
| 23 | 35 | 0.782609 | 11 | 69 | 4.909091 | 0.636364 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 69 | 2 | 36 | 34.5 | 0.885246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
179038888d9f16d10914cae9d74bd33f68a8fb09 | 188 | py | Python | inventory/admin.py | brkyavuz/pfna | 082300a673a2b884a92bda61ed001943377fc8b1 | [
"MIT"
] | null | null | null | inventory/admin.py | brkyavuz/pfna | 082300a673a2b884a92bda61ed001943377fc8b1 | [
"MIT"
] | null | null | null | inventory/admin.py | brkyavuz/pfna | 082300a673a2b884a92bda61ed001943377fc8b1 | [
"MIT"
] | null | null | null | from django.contrib import admin
from inventory.models import Group, Host, Data
# Register your models here.
admin.site.register(Host)
admin.site.register(Group)
admin.site.register(Data) | 26.857143 | 46 | 0.808511 | 28 | 188 | 5.428571 | 0.5 | 0.177632 | 0.335526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095745 | 188 | 7 | 47 | 26.857143 | 0.894118 | 0.138298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bd7945733920a3e90ff3255ec8373e05b6d87c3a | 158 | py | Python | bin/ominoes/pentominoes-3x20-loop.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | null | null | null | bin/ominoes/pentominoes-3x20-loop.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | null | null | null | bin/ominoes/pentominoes-3x20-loop.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | 1 | 2022-01-02T16:54:14.000Z | 2022-01-02T16:54:14.000Z | #!/usr/bin/env python
# $Id$
"""2 solutions"""
import puzzler
from puzzler.puzzles.pentominoes import Pentominoes3x20Loop
puzzler.run(Pentominoes3x20Loop)
| 15.8 | 59 | 0.778481 | 18 | 158 | 6.833333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049296 | 0.101266 | 158 | 9 | 60 | 17.555556 | 0.816901 | 0.234177 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bda00df42abd5cd82b0e37df557e2e08b492d4c8 | 7,600 | py | Python | pytiff/test/test_write.py | ch-schiffer/pytiff | 99f8a7eb6e41e974fab1d49b2979670c8346d0ae | [
"BSD-3-Clause"
] | 9 | 2017-01-04T12:43:42.000Z | 2022-03-21T11:38:14.000Z | pytiff/test/test_write.py | ch-schiffer/pytiff | 99f8a7eb6e41e974fab1d49b2979670c8346d0ae | [
"BSD-3-Clause"
] | 19 | 2016-06-06T07:49:33.000Z | 2020-11-27T13:25:51.000Z | pytiff/test/test_write.py | ch-schiffer/pytiff | 99f8a7eb6e41e974fab1d49b2979670c8346d0ae | [
"BSD-3-Clause"
] | 19 | 2017-02-21T12:49:39.000Z | 2022-03-21T11:39:21.000Z | from hypothesis import HealthCheck
from hypothesis import given, settings
from hypothesis.extra import numpy as hnp
from pytiff import *
import hypothesis.strategies as st
import numpy as np
import pytest
import subprocess
import tifffile
from skimage.data import coffee
def test_write_rgb(tmpdir_factory):
img = co... | 40.860215 | 120 | 0.67 | 1,093 | 7,600 | 4.47484 | 0.112534 | 0.040891 | 0.058884 | 0.038233 | 0.794725 | 0.78164 | 0.759763 | 0.726027 | 0.726027 | 0.690452 | 0 | 0.035912 | 0.190263 | 7,600 | 185 | 121 | 41.081081 | 0.758856 | 0.008553 | 0 | 0.564935 | 0 | 0 | 0.042364 | 0.003187 | 0 | 0 | 0 | 0 | 0.097403 | 1 | 0.064935 | false | 0 | 0.064935 | 0 | 0.12987 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bdba3dfa9bb1c108426b80214f507165a97ee137 | 189 | py | Python | statsmodels/examples/tsa/ex_var_reorder.py | yarikoptic/statsmodels | f990cb1a1ef0c9883c9394444e6f9d027efabec6 | [
"BSD-3-Clause"
] | 20 | 2015-01-28T21:52:59.000Z | 2022-01-24T01:24:26.000Z | statsmodels/examples/tsa/ex_var_reorder.py | yarikoptic/statsmodels | f990cb1a1ef0c9883c9394444e6f9d027efabec6 | [
"BSD-3-Clause"
] | 7 | 2015-11-20T08:33:04.000Z | 2020-07-24T19:34:39.000Z | statsmodels/examples/tsa/ex_var_reorder.py | yarikoptic/statsmodels | f990cb1a1ef0c9883c9394444e6f9d027efabec6 | [
"BSD-3-Clause"
] | 28 | 2015-04-01T20:02:25.000Z | 2021-07-03T00:09:28.000Z |
from __future__ import print_function
import statsmodels.api as sm
from statsmodels.tsa.vector_ar.tests.test_var import TestVARResults
test_VAR = TestVARResults()
test_VAR.test_reorder()
| 23.625 | 67 | 0.846561 | 27 | 189 | 5.555556 | 0.62963 | 0.14 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 189 | 7 | 68 | 27 | 0.877193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0.2 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bdc15bbc211c9932ec64876c14228566967e24cd | 82 | py | Python | particle/__init__.py | mikolasan/pyroguelike | d51b01a566b5edb39792b59d683b4bf827399ba4 | [
"BSD-3-Clause"
] | null | null | null | particle/__init__.py | mikolasan/pyroguelike | d51b01a566b5edb39792b59d683b4bf827399ba4 | [
"BSD-3-Clause"
] | 2 | 2020-06-17T05:23:02.000Z | 2020-06-17T05:29:41.000Z | particle/__init__.py | mikolasan/pyroguelike | d51b01a566b5edb39792b59d683b4bf827399ba4 | [
"BSD-3-Clause"
] | 1 | 2020-09-26T17:16:59.000Z | 2020-09-26T17:16:59.000Z | '''
https://github.com/Mekire/pygame-particles
'''
from .particle import Emitter
| 13.666667 | 42 | 0.731707 | 10 | 82 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 82 | 5 | 43 | 16.4 | 0.810811 | 0.512195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bddb6935528249309ca0511ba3dd6b32903ca564 | 499 | py | Python | __init__.py | IBM/alchemy-config | 2a60398f3146d34d6e56925fcd08d6437a10e2aa | [
"MIT"
] | null | null | null | __init__.py | IBM/alchemy-config | 2a60398f3146d34d6e56925fcd08d6437a10e2aa | [
"MIT"
] | null | null | null | __init__.py | IBM/alchemy-config | 2a60398f3146d34d6e56925fcd08d6437a10e2aa | [
"MIT"
] | null | null | null | #*****************************************************************#
# (C) Copyright IBM Corporation 2020. #
# #
# The source code for this program is not published or otherwise #
# divested of its trade secrets, irrespective of... | 55.444444 | 67 | 0.360721 | 36 | 499 | 5 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012012 | 0.332665 | 499 | 8 | 68 | 62.375 | 0.528529 | 0.911824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bdf61d18c79cd2092c6ac8883b40b3c0956bf5e5 | 583 | py | Python | tests/fixtures/abaco.py | SD2E/python-datacatalog | 51ab366639505fb6e8a14cd6b446de37080cd20d | [
"CNRI-Python"
] | null | null | null | tests/fixtures/abaco.py | SD2E/python-datacatalog | 51ab366639505fb6e8a14cd6b446de37080cd20d | [
"CNRI-Python"
] | 2 | 2019-07-25T15:39:04.000Z | 2019-10-21T15:31:46.000Z | tests/fixtures/abaco.py | SD2E/python-datacatalog | 51ab366639505fb6e8a14cd6b446de37080cd20d | [
"CNRI-Python"
] | 1 | 2019-10-15T14:33:44.000Z | 2019-10-15T14:33:44.000Z | import pytest
from datacatalog.identifiers import abaco
__all__ = ['nonce_id', 'manager_actor_id',
'actor_id', 'exec_id', 'worker_id']
@pytest.fixture(scope='session')
def nonce_id():
return abaco.nonceid.generate()
@pytest.fixture(scope='session')
def manager_actor_id():
return abaco.actorid.gene... | 22.423077 | 46 | 0.720412 | 75 | 583 | 5.386667 | 0.293333 | 0.160891 | 0.222772 | 0.309406 | 0.663366 | 0.480198 | 0.30198 | 0.30198 | 0.30198 | 0.30198 | 0 | 0 | 0.128645 | 583 | 25 | 47 | 23.32 | 0.795276 | 0 | 0 | 0.473684 | 0 | 0 | 0.142367 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.105263 | 0.263158 | 0.631579 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
da2776c8fe5c34613a182384767318d941b17dcd | 26 | py | Python | timm/version.py | chilung/pytorch-image-models | 97fa05b22a4fbff7597c50edd45e2a883e3042b6 | [
"Apache-2.0"
] | null | null | null | timm/version.py | chilung/pytorch-image-models | 97fa05b22a4fbff7597c50edd45e2a883e3042b6 | [
"Apache-2.0"
] | null | null | null | timm/version.py | chilung/pytorch-image-models | 97fa05b22a4fbff7597c50edd45e2a883e3042b6 | [
"Apache-2.0"
] | null | null | null | __version__ = '0.4.13.22'
| 13 | 25 | 0.653846 | 5 | 26 | 2.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0.115385 | 26 | 1 | 26 | 26 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
da7cc6ecac31e77cd1d84c6335f050abc57c5420 | 96 | py | Python | main.py | libojia-aug/compound-calculator | a032684d5bff54897e2bacf939533f7512833098 | [
"Apache-2.0"
] | null | null | null | main.py | libojia-aug/compound-calculator | a032684d5bff54897e2bacf939533f7512833098 | [
"Apache-2.0"
] | null | null | null | main.py | libojia-aug/compound-calculator | a032684d5bff54897e2bacf939533f7512833098 | [
"Apache-2.0"
] | null | null | null |
import formula
#年利率、借款期数(月)、初始资金(元)、投资总周期(月)、坏账率
print(formula.annualIncome(22,12,10000,12,0)) | 19.2 | 45 | 0.739583 | 18 | 96 | 3.944444 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131868 | 0.052083 | 96 | 5 | 45 | 19.2 | 0.648352 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
da84e6be9cc003b42b46e699b676e14e270faadb | 1,722 | py | Python | codeStore/support_fun_resistance.py | pcmagic/stokes_flow | 464d512d3739eee77b33d1ebf2f27dae6cfa0423 | [
"MIT"
] | 1 | 2018-11-11T05:00:53.000Z | 2018-11-11T05:00:53.000Z | codeStore/support_fun_resistance.py | pcmagic/stokes_flow | 464d512d3739eee77b33d1ebf2f27dae6cfa0423 | [
"MIT"
] | null | null | null | codeStore/support_fun_resistance.py | pcmagic/stokes_flow | 464d512d3739eee77b33d1ebf2f27dae6cfa0423 | [
"MIT"
] | null | null | null | from tqdm.notebook import tqdm as tqdm_notebook
import os
import glob
import pickle
import numpy as np
# load the resistance matrix form dir, standard version
def load_ABC_list(job_dir):
t_dir = os.path.join(job_dir, '*.pickle')
pickle_names = glob.glob(t_dir)
problem_kwarg_list = []
A_list = []
B... | 30.210526 | 86 | 0.634146 | 273 | 1,722 | 3.725275 | 0.205128 | 0.098328 | 0.094395 | 0.043265 | 0.729597 | 0.729597 | 0.729597 | 0.729597 | 0.729597 | 0.729597 | 0 | 0.017517 | 0.237515 | 1,722 | 56 | 87 | 30.75 | 0.757045 | 0.46748 | 0 | 0 | 0 | 0 | 0.011274 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0 | 0.185185 | 0 | 0.259259 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
da87509a3c1dcfbc74df473746b45c034c37aba6 | 146 | py | Python | starter_code/api_keys.py | goblebla/Python-APIs | cf6fe29ebd4ba8a802d2ee76794867702b50c44d | [
"ADSL"
] | null | null | null | starter_code/api_keys.py | goblebla/Python-APIs | cf6fe29ebd4ba8a802d2ee76794867702b50c44d | [
"ADSL"
] | null | null | null | starter_code/api_keys.py | goblebla/Python-APIs | cf6fe29ebd4ba8a802d2ee76794867702b50c44d | [
"ADSL"
] | null | null | null | # OpenWeatherMap API Key
weather_api_key = "40449008a54beb2007d8de8d8b5d63a4"
# Google API Key
g_key = "AIzaSyBCyoqX-kprrB-siGC6JWUZ872EGSV5jR8"
| 24.333333 | 52 | 0.828767 | 15 | 146 | 7.866667 | 0.666667 | 0.152542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206107 | 0.10274 | 146 | 5 | 53 | 29.2 | 0.694656 | 0.253425 | 0 | 0 | 0 | 0 | 0.669811 | 0.669811 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e521980635a12255130de82c89d6e614032ee6e4 | 166 | py | Python | tests/data/aws/securityhub.py | ramonpetgrave64/cartography | 031f282f096b9bc3b3dbad52653f25539f8bf76f | [
"Apache-2.0"
] | 2,322 | 2019-03-02T01:07:20.000Z | 2022-03-31T20:39:12.000Z | tests/data/aws/securityhub.py | ramonpetgrave64/cartography | 031f282f096b9bc3b3dbad52653f25539f8bf76f | [
"Apache-2.0"
] | 462 | 2019-03-07T18:38:11.000Z | 2022-03-31T14:55:20.000Z | tests/data/aws/securityhub.py | ramonpetgrave64/cartography | 031f282f096b9bc3b3dbad52653f25539f8bf76f | [
"Apache-2.0"
] | 246 | 2019-03-03T02:39:23.000Z | 2022-02-24T09:46:38.000Z | GET_HUB = {
'HubArn': 'arn:aws:securityhub:us-east-1:000000000000:hub/default',
'SubscribedAt': '2020-12-03T11:05:17.571Z',
'AutoEnableControls': True,
}
| 27.666667 | 71 | 0.674699 | 21 | 166 | 5.285714 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 0.13253 | 166 | 5 | 72 | 33.2 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0.686747 | 0.46988 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e524f647f29aadfa2f38cbda19cfcccb47cd95c7 | 912 | py | Python | 2018/spacy/def.py | sematext/activate | ea3bc63b5ca26ea9f9dca780dcfd83658aa53a80 | [
"Apache-2.0"
] | 11 | 2018-10-24T14:08:29.000Z | 2021-04-04T22:04:20.000Z | 2018/spacy/def.py | sematext/activate | ea3bc63b5ca26ea9f9dca780dcfd83658aa53a80 | [
"Apache-2.0"
] | null | null | null | 2018/spacy/def.py | sematext/activate | ea3bc63b5ca26ea9f9dca780dcfd83658aa53a80 | [
"Apache-2.0"
] | 7 | 2018-11-25T16:46:45.000Z | 2021-05-29T22:51:18.000Z | from __future__ import unicode_literals
import spacy
nlp = spacy.load('en_core_web_sm')
print("")
print("Doc 10, title: '#bbuzz: Radu Gheorghe JSON Logging with Elasticsearch'")
print("-----")
doc = nlp(u"#bbuzz: Radu Gheorghe JSON Logging with Elasticsearch")
for entity in doc.ents:
print(entity.label_, ' | ', ent... | 35.076923 | 109 | 0.699561 | 133 | 912 | 4.714286 | 0.368421 | 0.076555 | 0.062201 | 0.057416 | 0.822967 | 0.822967 | 0.784689 | 0.661882 | 0.661882 | 0.661882 | 0 | 0.018018 | 0.148026 | 912 | 25 | 110 | 36.48 | 0.788932 | 0 | 0 | 0.571429 | 0 | 0.047619 | 0.555921 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.095238 | 0 | 0.095238 | 0.571429 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
e540c99262a92ccd8f2b1fe9e5874be2bd014d55 | 27 | py | Python | hcap_geo/models/__init__.py | fabiommendes/capacidade_hospitalar | 4f675b574573eb3f51e6be8a927ea230bf2712c7 | [
"MIT"
] | null | null | null | hcap_geo/models/__init__.py | fabiommendes/capacidade_hospitalar | 4f675b574573eb3f51e6be8a927ea230bf2712c7 | [
"MIT"
] | 31 | 2020-04-11T13:38:17.000Z | 2021-09-22T18:51:11.000Z | hcap_geo/models/__init__.py | fabiommendes/capacidade_hospitalar | 4f675b574573eb3f51e6be8a927ea230bf2712c7 | [
"MIT"
] | 1 | 2020-04-12T17:51:20.000Z | 2020-04-12T17:51:20.000Z | from .region import Region
| 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 | 0 | 0 | 0 | 5 |
e55e0fc059bc7f72eed299e1a461342decb9f3e7 | 81 | py | Python | PulseView_C2_decoder/c2/__init__.py | debug-silicon/C8051F34x_Glitch | f529b944eff9fb8c656595e4f197bd68380ac17e | [
"MIT"
] | 34 | 2021-08-19T17:46:54.000Z | 2021-11-15T18:37:33.000Z | PulseView_C2_decoder/c2/__init__.py | minkione/C8051F34x_Glitch | f529b944eff9fb8c656595e4f197bd68380ac17e | [
"MIT"
] | null | null | null | PulseView_C2_decoder/c2/__init__.py | minkione/C8051F34x_Glitch | f529b944eff9fb8c656595e4f197bd68380ac17e | [
"MIT"
] | 4 | 2021-08-22T19:59:57.000Z | 2021-11-15T18:37:34.000Z | '''
This is a decoder for SiLabs C2 debug protocol.
'''
from .pd import Decoder
| 13.5 | 47 | 0.703704 | 13 | 81 | 4.384615 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.197531 | 81 | 5 | 48 | 16.2 | 0.861538 | 0.580247 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e570f086e52dd70922ed980b6609bb8a31b1b2b9 | 55 | py | Python | examples/DecryptLoginExamples/crawlers/weibolottery/__init__.py | hedou/DecryptLogin | ff86a5d378c8a42d1caebbb7482658a95053f716 | [
"Apache-2.0"
] | null | null | null | examples/DecryptLoginExamples/crawlers/weibolottery/__init__.py | hedou/DecryptLogin | ff86a5d378c8a42d1caebbb7482658a95053f716 | [
"Apache-2.0"
] | null | null | null | examples/DecryptLoginExamples/crawlers/weibolottery/__init__.py | hedou/DecryptLogin | ff86a5d378c8a42d1caebbb7482658a95053f716 | [
"Apache-2.0"
] | null | null | null | '''initialize'''
from .weibolottery import WeiboLottery | 27.5 | 38 | 0.8 | 5 | 55 | 8.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 55 | 2 | 38 | 27.5 | 0.862745 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e5a40ed149eefed81bd49ca93dc89cb651f14b13 | 331 | py | Python | src/turkey_bowl/__init__.py | loganthomas/turkey-bowl | 8a02966c3fe06a4dbbcee3f31ed21c2374b77e11 | [
"MIT"
] | null | null | null | src/turkey_bowl/__init__.py | loganthomas/turkey-bowl | 8a02966c3fe06a4dbbcee3f31ed21c2374b77e11 | [
"MIT"
] | 74 | 2020-09-26T00:58:17.000Z | 2022-03-20T13:55:09.000Z | src/turkey_bowl/__init__.py | loganthomas/Thanksgiving_Football | 8a02966c3fe06a4dbbcee3f31ed21c2374b77e11 | [
"MIT"
] | 1 | 2020-09-26T01:09:38.000Z | 2020-09-26T01:09:38.000Z | # Local libraries
from turkey_bowl import aggregate # noqa: F401
from turkey_bowl import draft # noqa: F401
from turkey_bowl import leader_board # noqa: F401
from turkey_bowl import scrape # noqa: F401
from turkey_bowl import turkey_bowl_runner # noqa: F401
from turkey_bowl import utils # noqa: F401
__version__ ... | 33.1 | 56 | 0.782477 | 50 | 331 | 4.92 | 0.36 | 0.284553 | 0.341463 | 0.487805 | 0.569106 | 0.569106 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.166163 | 331 | 9 | 57 | 36.777778 | 0.807971 | 0.244713 | 0 | 0 | 0 | 0 | 0.024793 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.857143 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e5d1e0b42ed5442faf7e338569d8bbe9cf6a538c | 128 | py | Python | math-and-algorithm/005.py | silphire/training-with-books | bd07f7376996828b6cb4000d654cdc5f53d1c589 | [
"MIT"
] | null | null | null | math-and-algorithm/005.py | silphire/training-with-books | bd07f7376996828b6cb4000d654cdc5f53d1c589 | [
"MIT"
] | 4 | 2020-01-04T14:05:45.000Z | 2020-01-19T14:53:03.000Z | math-and-algorithm/005.py | silphire/training-with-books | bd07f7376996828b6cb4000d654cdc5f53d1c589 | [
"MIT"
] | null | null | null | # https://atcoder.jp/contests/math-and-algorithm/tasks/math_and_algorithm_e
input()
print(sum(map(int, input().split())) % 100) | 32 | 75 | 0.742188 | 20 | 128 | 4.6 | 0.8 | 0.152174 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024793 | 0.054688 | 128 | 4 | 76 | 32 | 0.735537 | 0.570313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 5 |
e5d4bc87d2690a4baaaeac7f011e9088f9aa5a2b | 169 | py | Python | autopy/core/Option.py | songofhawk/autopy | d00588e7c55e1d74cea34ee036490d66e5cf5553 | [
"MIT"
] | 1 | 2022-02-16T08:37:25.000Z | 2022-02-16T08:37:25.000Z | simplerpa/core/Option.py | songofhawk/simplerpa | 69491f3e9a84c106921be972242d05c5e3db5849 | [
"MIT"
] | null | null | null | simplerpa/core/Option.py | songofhawk/simplerpa | 69491f3e9a84c106921be972242d05c5e3db5849 | [
"MIT"
] | null | null | null | class Option:
project: str = './conf/auto_dingding.yaml'
def __init__(self, project):
self.project = project if project is not None else self.project
| 21.125 | 71 | 0.680473 | 23 | 169 | 4.782609 | 0.695652 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224852 | 169 | 7 | 72 | 24.142857 | 0.839695 | 0 | 0 | 0 | 0 | 0 | 0.149701 | 0.149701 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 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 | 0 | 1 | 0 | 0 | 5 |
f90dabc61f98ccb644c099b938ebc10195d7279c | 168 | py | Python | app/app/api/domain/services/wrappers/mongo/PymongoExecutor.py | GPortas/Playgroundb | 60f98a4dd62ce34fbb8abfa0d9ee63697e82c57e | [
"Apache-2.0"
] | 1 | 2019-01-30T19:59:20.000Z | 2019-01-30T19:59:20.000Z | app/app/api/domain/services/wrappers/mongo/PymongoExecutor.py | GPortas/Playgroundb | 60f98a4dd62ce34fbb8abfa0d9ee63697e82c57e | [
"Apache-2.0"
] | null | null | null | app/app/api/domain/services/wrappers/mongo/PymongoExecutor.py | GPortas/Playgroundb | 60f98a4dd62ce34fbb8abfa0d9ee63697e82c57e | [
"Apache-2.0"
] | null | null | null | from bson import ObjectId
class PymongoExecutor:
def __init__(self, db):
self.db = db
def execute(self, expression):
return eval(expression)
| 16.8 | 34 | 0.660714 | 20 | 168 | 5.35 | 0.7 | 0.11215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261905 | 168 | 9 | 35 | 18.666667 | 0.862903 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
f918c3b9cdf4dacc151d8602de9822285336415b | 140 | py | Python | src/Problem0006.py | rrohrer/ProjectEuler | cb8bcce24a8c3ea4e539ac22c8fe0486c2f3554b | [
"MIT"
] | null | null | null | src/Problem0006.py | rrohrer/ProjectEuler | cb8bcce24a8c3ea4e539ac22c8fe0486c2f3554b | [
"MIT"
] | null | null | null | src/Problem0006.py | rrohrer/ProjectEuler | cb8bcce24a8c3ea4e539ac22c8fe0486c2f3554b | [
"MIT"
] | null | null | null | sum_of_sqares = sum(map(lambda x: x ** 2,list(range(1,101))))
sum_squared = sum(list(range(1,101))) ** 2
print sum_squared - sum_of_sqares
| 28 | 61 | 0.7 | 27 | 140 | 3.407407 | 0.481481 | 0.108696 | 0.23913 | 0.282609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081301 | 0.121429 | 140 | 4 | 62 | 35 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0092cb1fcb77512bf089a8baa802b09f75258d96 | 124 | py | Python | webargscontrib/utils/__init__.py | marcellarius/webargscontrib.utils | af1794cc3fe00b72e2570562fdbfbfb416b43df4 | [
"MIT"
] | null | null | null | webargscontrib/utils/__init__.py | marcellarius/webargscontrib.utils | af1794cc3fe00b72e2570562fdbfbfb416b43df4 | [
"MIT"
] | null | null | null | webargscontrib/utils/__init__.py | marcellarius/webargscontrib.utils | af1794cc3fe00b72e2570562fdbfbfb416b43df4 | [
"MIT"
] | null | null | null | from .string import lowercase, strip
from .types import boolean
from .validate import choices, not_empty, not_null, within
| 24.8 | 58 | 0.806452 | 18 | 124 | 5.444444 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137097 | 124 | 4 | 59 | 31 | 0.915888 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
00daf85a279ef056005b74d54ae0a7f002cc3928 | 832 | py | Python | pyboletox/Contracts/Cnab/Retorno/Cnab400/header.py | lucasbrahm/pyboletox | d7cfff477622a4d5df255045428325f04fbe695a | [
"MIT"
] | 1 | 2022-03-14T12:22:42.000Z | 2022-03-14T12:22:42.000Z | pyboletox/Contracts/Cnab/Retorno/Cnab400/header.py | lucasbrahm/pyboletox | d7cfff477622a4d5df255045428325f04fbe695a | [
"MIT"
] | null | null | null | pyboletox/Contracts/Cnab/Retorno/Cnab400/header.py | lucasbrahm/pyboletox | d7cfff477622a4d5df255045428325f04fbe695a | [
"MIT"
] | 1 | 2022-03-14T12:22:27.000Z | 2022-03-14T12:22:27.000Z | from abc import ABCMeta, abstractmethod
class Header(metaclass=ABCMeta):
@abstractmethod
def getOperacaoCodigo(self):
pass
@abstractmethod
def getOperacao(self):
pass
@abstractmethod
def getServicoCodigo(self):
pass
@abstractmethod
def getServico(self):
... | 15.698113 | 41 | 0.605769 | 73 | 832 | 6.90411 | 0.369863 | 0.404762 | 0.458333 | 0.496032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.319712 | 832 | 52 | 42 | 16 | 0.890459 | 0 | 0 | 0.631579 | 0 | 0 | 0.009615 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0.315789 | 0.026316 | 0 | 0.368421 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
da995e37e26f28c86c7773a8fc6d4fe3b2d37cfa | 32 | py | Python | users/models.py | hrbhat/twissandra | e2c16eac29b3c77065555da269b7974898e9f80e | [
"Apache-2.0"
] | 308 | 2015-01-04T20:05:10.000Z | 2022-03-09T17:15:52.000Z | users/models.py | hrbhat/twissandra | e2c16eac29b3c77065555da269b7974898e9f80e | [
"Apache-2.0"
] | 10 | 2016-01-02T20:29:03.000Z | 2020-06-05T16:45:20.000Z | users/models.py | hrbhat/twissandra | e2c16eac29b3c77065555da269b7974898e9f80e | [
"Apache-2.0"
] | 109 | 2015-02-01T11:25:24.000Z | 2022-03-18T12:18:13.000Z | # Nope, we're using Cassandra :) | 32 | 32 | 0.6875 | 5 | 32 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 1 | 32 | 32 | 0.814815 | 0.9375 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
daca877efd1e65964029e5db68bcc9839c90b9c5 | 168 | py | Python | tests/app_test/actions.py | marcosschroh/django-history-actions | fc29eee29ed4f6ba71a366783fefdbe223cbed21 | [
"MIT"
] | 1 | 2018-09-11T18:35:42.000Z | 2018-09-11T18:35:42.000Z | tests/app_test/actions.py | marcosschroh/django-history-actions | fc29eee29ed4f6ba71a366783fefdbe223cbed21 | [
"MIT"
] | null | null | null | tests/app_test/actions.py | marcosschroh/django-history-actions | fc29eee29ed4f6ba71a366783fefdbe223cbed21 | [
"MIT"
] | null | null | null | from django.utils.translation import ugettext_lazy as _
PROFILE_SAVE_ACTION = 'PROFILE_SAVE_ACTION'
ACTIONS = {
'PROFILE_SAVE_ACTION': _('profile save action')
}
| 21 | 55 | 0.77381 | 21 | 168 | 5.761905 | 0.571429 | 0.363636 | 0.561983 | 0.396694 | 0.561983 | 0.561983 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136905 | 168 | 7 | 56 | 24 | 0.834483 | 0 | 0 | 0 | 0 | 0 | 0.339286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
dad4be65e6cc7067f262fde77b083dfb889b532c | 1,084 | py | Python | smartmin/perms.py | nickhargreaves/smartmin | 660a67ec2619af2a766970b3fe3b4369fffb5741 | [
"BSD-3-Clause"
] | 166 | 2015-01-13T13:40:17.000Z | 2022-03-23T09:40:52.000Z | smartmin/perms.py | nickhargreaves/smartmin | 660a67ec2619af2a766970b3fe3b4369fffb5741 | [
"BSD-3-Clause"
] | 71 | 2015-01-08T17:02:31.000Z | 2022-02-10T12:43:27.000Z | smartmin/perms.py | nickhargreaves/smartmin | 660a67ec2619af2a766970b3fe3b4369fffb5741 | [
"BSD-3-Clause"
] | 34 | 2015-01-14T07:19:27.000Z | 2021-02-19T20:41:02.000Z | from django.contrib.auth.models import Permission
def assign_perm(perm, group):
"""
Assigns a permission to a group
"""
if not isinstance(perm, Permission):
try:
app_label, codename = perm.split('.', 1)
except ValueError:
raise ValueError("For global permissions... | 31.882353 | 91 | 0.621771 | 126 | 1,084 | 5.222222 | 0.357143 | 0.097264 | 0.145897 | 0.033435 | 0.753799 | 0.753799 | 0.753799 | 0.753799 | 0.753799 | 0.753799 | 0 | 0.002561 | 0.27952 | 1,084 | 33 | 92 | 32.848485 | 0.839949 | 0.059963 | 0 | 0.666667 | 0 | 0 | 0.176113 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.047619 | 0 | 0.238095 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9703e38f8832c0d7454a71291ecef7ce1b0d5956 | 51 | py | Python | src/interface/__init__.py | ARTIEROCKS/artie-emotional-webservice | a0429f36ee9534d1ea6960dea19732a21e0eb406 | [
"Apache-2.0"
] | null | null | null | src/interface/__init__.py | ARTIEROCKS/artie-emotional-webservice | a0429f36ee9534d1ea6960dea19732a21e0eb406 | [
"Apache-2.0"
] | null | null | null | src/interface/__init__.py | ARTIEROCKS/artie-emotional-webservice | a0429f36ee9534d1ea6960dea19732a21e0eb406 | [
"Apache-2.0"
] | null | null | null | from .emotional_interface import EmotionalInterface | 51 | 51 | 0.921569 | 5 | 51 | 9.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 51 | 1 | 51 | 51 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9719fb1520f2785d13e4dfe604cdc74fbac47514 | 177 | py | Python | indico_toolkit/association/__init__.py | IndicoDataSolutions/Indico-Solutions-Toolkit | c9a38681c84e86a48bcde0867359ddd2f52ce236 | [
"MIT"
] | 6 | 2021-05-20T16:48:27.000Z | 2022-03-15T15:43:40.000Z | indico_toolkit/association/__init__.py | IndicoDataSolutions/Indico-Solutions-Toolkit | c9a38681c84e86a48bcde0867359ddd2f52ce236 | [
"MIT"
] | 25 | 2021-06-25T13:37:21.000Z | 2022-01-03T15:54:26.000Z | indico_toolkit/association/__init__.py | IndicoDataSolutions/Indico-Solutions-Toolkit | c9a38681c84e86a48bcde0867359ddd2f52ce236 | [
"MIT"
] | null | null | null | from .line_items import LineItems
from .extracted_tokens import ExtractedTokens
from .split_merged_values import split_prediction_into_many
from .positioning import Positioning
| 35.4 | 59 | 0.887006 | 23 | 177 | 6.521739 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090395 | 177 | 4 | 60 | 44.25 | 0.931677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
971d50683deeab0f7a124c94b4d6ede311d7688f | 49,893 | bzl | Python | bazelrio/dependencies/wpilib/2022_1_1/deps.bzl | noamzaks/bazelrio | 1684b66865e655fc0f3832f0e3602e905a1d4035 | [
"MIT"
] | 5 | 2021-09-26T01:16:26.000Z | 2022-03-18T17:21:23.000Z | bazelrio/dependencies/wpilib/2022_1_1/deps.bzl | noamzaks/bazelrio | 1684b66865e655fc0f3832f0e3602e905a1d4035 | [
"MIT"
] | 59 | 2021-09-23T04:19:33.000Z | 2022-03-29T07:47:10.000Z | bazelrio/dependencies/wpilib/2022_1_1/deps.bzl | noamzaks/bazelrio | 1684b66865e655fc0f3832f0e3602e905a1d4035 | [
"MIT"
] | 2 | 2021-11-18T10:34:16.000Z | 2021-11-21T06:15:07.000Z | load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_jar")
load("@bazel_tools//tools/build_defs/repo:jvm.bzl", "jvm_maven_import_external")
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
load("@bazelrio//:deps_utils.bzl", "cc_library_headers", "cc_library_shared", "cc_library_sourc... | 54.587527 | 167 | 0.731285 | 5,471 | 49,893 | 6.354231 | 0.039846 | 0.045219 | 0.082902 | 0.0466 | 0.752359 | 0.748188 | 0.724514 | 0.68919 | 0.666408 | 0.665257 | 0 | 0.184299 | 0.159782 | 49,893 | 913 | 168 | 54.647317 | 0.644975 | 0 | 0 | 0.419956 | 0 | 0.132675 | 0.642735 | 0.34578 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001096 | true | 0 | 0.012061 | 0 | 0.013158 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9724a70f932f9da8380789193d74d020eabb3ea7 | 86 | py | Python | screen-pass/models.py | jmatune/screen-pass | 3ec194713973b00b4a1b221b6ed572a5f71028b4 | [
"Apache-2.0"
] | null | null | null | screen-pass/models.py | jmatune/screen-pass | 3ec194713973b00b4a1b221b6ed572a5f71028b4 | [
"Apache-2.0"
] | null | null | null | screen-pass/models.py | jmatune/screen-pass | 3ec194713973b00b4a1b221b6ed572a5f71028b4 | [
"Apache-2.0"
] | null | null | null | import numpy as np
import pandas as pd
from keras.layers import Conv2D, Dense, Dropout | 28.666667 | 47 | 0.813953 | 15 | 86 | 4.666667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.151163 | 86 | 3 | 47 | 28.666667 | 0.945205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
97394e89a7bf7aa0aaa9465644f9e9163b5c5ee3 | 8,793 | py | Python | src/larval_gonad/plotting/literature.py | jfear/larval_gonad | 624a71741864b74e0372f89bdcca578e5cca3722 | [
"MIT"
] | 1 | 2019-09-13T13:24:18.000Z | 2019-09-13T13:24:18.000Z | src/larval_gonad/plotting/literature.py | jfear/larval_gonad | 624a71741864b74e0372f89bdcca578e5cca3722 | [
"MIT"
] | 65 | 2019-07-24T16:23:08.000Z | 2020-03-06T22:18:47.000Z | src/larval_gonad/plotting/literature.py | jfear/larval_gonad | 624a71741864b74e0372f89bdcca578e5cca3722 | [
"MIT"
] | 1 | 2021-06-02T19:09:35.000Z | 2021-06-02T19:09:35.000Z | from typing import List
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import matplotlib.patches as mpatches
import seaborn as sns
from larval_gonad.io import feather_to_cluster_matrix
from larval_gonad.plotting.common import get_fbgn2symbol
from larval_gonad.plotting.biomarkers import _cleanup... | 38.230435 | 115 | 0.689526 | 1,196 | 8,793 | 4.79097 | 0.162207 | 0.063351 | 0.020942 | 0.031414 | 0.792496 | 0.787958 | 0.782548 | 0.775393 | 0.773997 | 0.773997 | 0 | 0.030489 | 0.168202 | 8,793 | 229 | 116 | 38.39738 | 0.752666 | 0.272376 | 0 | 0.522727 | 0 | 0 | 0.049497 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.068182 | 0.022727 | 0.204545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
97bad0ca22b53c8ae18022f9134b5af2a84349d1 | 28 | py | Python | cashweb/server/main/__init__.py | jbool24/CashWEB | da0f71956e95b70863bd8743372629609376f30b | [
"MIT"
] | null | null | null | cashweb/server/main/__init__.py | jbool24/CashWEB | da0f71956e95b70863bd8743372629609376f30b | [
"MIT"
] | null | null | null | cashweb/server/main/__init__.py | jbool24/CashWEB | da0f71956e95b70863bd8743372629609376f30b | [
"MIT"
] | null | null | null | # ./server/main/__init__.py
| 14 | 27 | 0.714286 | 4 | 28 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 28 | 1 | 28 | 28 | 0.615385 | 0.892857 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8af3b02a8b586449bef019f4394047edd83db055 | 201 | py | Python | accounts/admin.py | Ashwin-Pokharel/BudgetApp1 | d4a253204d6f89085ff280fb5b6744c4de1ccf5f | [
"MIT"
] | null | null | null | accounts/admin.py | Ashwin-Pokharel/BudgetApp1 | d4a253204d6f89085ff280fb5b6744c4de1ccf5f | [
"MIT"
] | 6 | 2019-12-10T19:40:43.000Z | 2021-09-22T18:06:25.000Z | accounts/admin.py | Ashwin-Pokharel/BudgetApp1 | d4a253204d6f89085ff280fb5b6744c4de1ccf5f | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Category , Incomes , Expense
# Register your models here.
admin.site.register(Category)
admin.site.register(Incomes)
admin.site.register(Expense)
| 22.333333 | 48 | 0.800995 | 27 | 201 | 5.962963 | 0.481481 | 0.167702 | 0.31677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109453 | 201 | 8 | 49 | 25.125 | 0.899441 | 0.129353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c150fc770b7e569e4a8db75602e63bea6634af5d | 36 | py | Python | pidf/__init__.py | jasmine125/pidf | f2ad8d55621346c3f52d200c2e2996be921d9c2a | [
"MIT"
] | null | null | null | pidf/__init__.py | jasmine125/pidf | f2ad8d55621346c3f52d200c2e2996be921d9c2a | [
"MIT"
] | 8 | 2020-02-22T18:32:42.000Z | 2021-09-22T18:38:21.000Z | rules_gestor/__init__.py | DavidPDP/hand-game-backend | 5fe8bdc1d7cf86d4c7c6c456d427b99de925e28f | [
"Apache-2.0"
] | null | null | null | # This page intentionally left blank | 36 | 36 | 0.833333 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 36 | 1 | 36 | 36 | 0.967742 | 0.944444 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c1731724f7b1ae9f0d51ba9038007168291e4043 | 69 | py | Python | degmo/vae/__init__.py | IcarusWizard/Deep-Generative-Models | 4117c11ad944bdeff106a80adbb3642a076af64e | [
"MIT"
] | 2 | 2019-11-21T15:50:59.000Z | 2019-12-17T02:44:19.000Z | degmo/vae/__init__.py | IcarusWizard/Deep-Generative-Models | 4117c11ad944bdeff106a80adbb3642a076af64e | [
"MIT"
] | null | null | null | degmo/vae/__init__.py | IcarusWizard/Deep-Generative-Models | 4117c11ad944bdeff106a80adbb3642a076af64e | [
"MIT"
] | 1 | 2021-07-02T05:49:29.000Z | 2021-07-02T05:49:29.000Z | from .vae import VAE
from .fvae import FVAE
from .vqvae import VQ_VAE | 23 | 25 | 0.797101 | 13 | 69 | 4.153846 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15942 | 69 | 3 | 25 | 23 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c184b2bc8bb6c4ad3afbdff0852ed7aa7e3588ee | 35 | py | Python | pyyadisk/__init__.py | ndrwpvlv/pyyadisk | cfc1fbb86027ccd20f59c49c87e87d3b2c495d2f | [
"MIT"
] | 1 | 2021-08-18T08:49:35.000Z | 2021-08-18T08:49:35.000Z | pyyadisk/__init__.py | ndrwpvlv/pyyadisk | cfc1fbb86027ccd20f59c49c87e87d3b2c495d2f | [
"MIT"
] | null | null | null | pyyadisk/__init__.py | ndrwpvlv/pyyadisk | cfc1fbb86027ccd20f59c49c87e87d3b2c495d2f | [
"MIT"
] | 1 | 2021-08-18T08:49:46.000Z | 2021-08-18T08:49:46.000Z | from .yandexdisk import YandexDisk
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 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 | 0 | 0 | 0 | 5 |
c1e06df10856c6de405178e26cc49fb5603c49fa | 7,282 | py | Python | tests/test_assert_equal_dataframe.py | nmbrgts/py-dataframe-show-reader | 9ed743557927c3d6af21d99e542979074916788b | [
"Apache-2.0"
] | 1 | 2019-10-15T01:05:25.000Z | 2019-10-15T01:05:25.000Z | tests/test_assert_equal_dataframe.py | nmbrgts/py-dataframe-show-reader | 9ed743557927c3d6af21d99e542979074916788b | [
"Apache-2.0"
] | 2 | 2019-08-09T00:45:01.000Z | 2019-09-20T16:50:26.000Z | tests/test_assert_equal_dataframe.py | nmbrgts/py-dataframe-show-reader | 9ed743557927c3d6af21d99e542979074916788b | [
"Apache-2.0"
] | 2 | 2021-10-20T00:10:29.000Z | 2022-02-21T09:33:16.000Z | # Copyright 2019 The DataFrame Show Reader Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | 27.793893 | 79 | 0.627712 | 894 | 7,282 | 4.763982 | 0.189038 | 0.05823 | 0.045081 | 0.052595 | 0.72881 | 0.710965 | 0.701104 | 0.701104 | 0.673398 | 0.673398 | 0 | 0.010076 | 0.223153 | 7,282 | 261 | 80 | 27.900383 | 0.742797 | 0.131557 | 0 | 0.773196 | 0 | 0 | 0.304376 | 0 | 0 | 0 | 0 | 0 | 0.262887 | 1 | 0.07732 | false | 0 | 0.025773 | 0.005155 | 0.108247 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a9c49709cb2bf656c60d4a8c4fa87d2d575f093b | 77 | py | Python | sacrerouge/datasets/duc_tac/tac2009/__init__.py | danieldeutsch/decomposed-rouge | 0d723be8e3359f0bdcc9c7940336800895e46dbb | [
"Apache-2.0"
] | 81 | 2020-07-10T15:45:08.000Z | 2022-03-30T12:19:11.000Z | sacrerouge/datasets/duc_tac/tac2009/__init__.py | danieldeutsch/decomposed-rouge | 0d723be8e3359f0bdcc9c7940336800895e46dbb | [
"Apache-2.0"
] | 29 | 2020-08-03T21:50:45.000Z | 2022-02-23T14:34:16.000Z | sacrerouge/datasets/duc_tac/tac2009/__init__.py | danieldeutsch/decomposed-rouge | 0d723be8e3359f0bdcc9c7940336800895e46dbb | [
"Apache-2.0"
] | 7 | 2020-08-14T09:54:08.000Z | 2022-03-30T12:19:25.000Z | from sacrerouge.datasets.duc_tac.tac2009.subcommand import TAC2009Subcommand
| 38.5 | 76 | 0.896104 | 9 | 77 | 7.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 0.051948 | 77 | 1 | 77 | 77 | 0.821918 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a9cc34f40be4475671f681062cb682de3483db90 | 114 | py | Python | python/sherpa/__init__.py | MattRickS/sherpa | a39128323b3aeb6434e5113b2b7be6eca90066e2 | [
"MIT"
] | 1 | 2018-11-03T19:17:50.000Z | 2018-11-03T19:17:50.000Z | python/sherpa/__init__.py | MattRickS/sherpa | a39128323b3aeb6434e5113b2b7be6eca90066e2 | [
"MIT"
] | null | null | null | python/sherpa/__init__.py | MattRickS/sherpa | a39128323b3aeb6434e5113b2b7be6eca90066e2 | [
"MIT"
] | null | null | null | from sherpa.exceptions import FormatError, ParseError, PathResolverError
from sherpa.resolver import PathResolver
| 38 | 72 | 0.877193 | 12 | 114 | 8.333333 | 0.75 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087719 | 114 | 2 | 73 | 57 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a9d13b2f1a96749a5532506108d749c5caa24a3d | 65 | py | Python | python/testData/types/AwaitOnImportedCoroutine/mycoroutines.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/types/AwaitOnImportedCoroutine/mycoroutines.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/types/AwaitOnImportedCoroutine/mycoroutines.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from typing import Any
async def mycoroutine() -> Any:
pass | 13 | 31 | 0.692308 | 9 | 65 | 5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 65 | 5 | 32 | 13 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
e703c11658b6f8dc5a46de2c49d719d5920827af | 75 | py | Python | homeworks/yan_romanovich/hw05/level05.py | tgrx/Z22 | b2539682ff26c8b6d9f63a7670c8a9c6b614a8ff | [
"Apache-2.0"
] | null | null | null | homeworks/yan_romanovich/hw05/level05.py | tgrx/Z22 | b2539682ff26c8b6d9f63a7670c8a9c6b614a8ff | [
"Apache-2.0"
] | 8 | 2019-11-15T18:15:56.000Z | 2020-02-03T18:05:05.000Z | homeworks/yan_romanovich/hw05/level05.py | tgrx/Z22 | b2539682ff26c8b6d9f63a7670c8a9c6b614a8ff | [
"Apache-2.0"
] | null | null | null | def unique(collection):
return len(collection) == len(set(collection))
| 25 | 50 | 0.72 | 9 | 75 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 75 | 2 | 51 | 37.5 | 0.830769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.