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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
95db951855c0a845f8926831ea5206abef38d688 | 138 | py | Python | docs/scrape/model/page/fields_at_levels_demo.py | devvyn/knowledge-mapper | 441d34db04c8ca8892dade2a64983635e39b728c | [
"MIT"
] | 1 | 2019-11-21T17:48:52.000Z | 2019-11-21T17:48:52.000Z | docs/scrape/model/page/fields_at_levels_demo.py | devvyn/usask-scrape-course-prerequisites | 441d34db04c8ca8892dade2a64983635e39b728c | [
"MIT"
] | 8 | 2019-10-07T05:31:42.000Z | 2019-11-29T01:31:02.000Z | docs/scrape/model/page/fields_at_levels_demo.py | devvyn/knowledge-mapper | 441d34db04c8ca8892dade2a64983635e39b728c | [
"MIT"
] | null | null | null | # %%
import devvyn.scrape.page.usask.program_catalogue
all_fields = devvyn.scrape.page.usask.program_catalogue.program_catalogue_data()
| 23 | 80 | 0.826087 | 18 | 138 | 6.055556 | 0.555556 | 0.440367 | 0.293578 | 0.385321 | 0.678899 | 0.678899 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 138 | 5 | 81 | 27.6 | 0.844961 | 0.014493 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
95dcca1bdcc16959bb8697e1e5592845bf65eff6 | 9,309 | py | Python | spikey/snn/synapse/rlstdp.py | SpikeyCNS/spikey | 03a49073491974eff01bc017fd8eadb822e13f0d | [
"MIT"
] | 4 | 2021-02-25T20:53:41.000Z | 2022-01-18T15:27:07.000Z | spikey/snn/synapse/rlstdp.py | SpikeyCNS/spikey | 03a49073491974eff01bc017fd8eadb822e13f0d | [
"MIT"
] | 5 | 2021-03-06T05:35:10.000Z | 2021-03-31T09:27:57.000Z | spikey/snn/synapse/rlstdp.py | SpikeyCNS/spikey | 03a49073491974eff01bc017fd8eadb822e13f0d | [
"MIT"
] | null | null | null | """
Hedonistic synapses updating weights based on stdp suggestions.
The weight matrix defines how much charge from pre-synaptic neurons
goes to which post-synaptic neurons. The weight matrix is stored in
and managed by the Weight class, stored in Synapse as self.weight.
Synapse defines the learning behavior of the syna... | 35.128302 | 93 | 0.627242 | 1,234 | 9,309 | 4.621556 | 0.158023 | 0.039278 | 0.019639 | 0.013677 | 0.889356 | 0.884622 | 0.884622 | 0.880238 | 0.868666 | 0.868666 | 0 | 0.013862 | 0.287034 | 9,309 | 264 | 94 | 35.261364 | 0.845412 | 0.685788 | 0 | 0.566038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075472 | false | 0 | 0.056604 | 0 | 0.245283 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c25b4e44e8de336d114bea3e8570aaa584c5f54f | 2,272 | py | Python | CS2/0900_error_investigation/error_investigation.py | nealholt/python_programming_curricula | eda4432dab97178b4a5712b160f5b1da74c068cb | [
"MIT"
] | 7 | 2020-10-14T03:23:12.000Z | 2022-03-09T23:16:13.000Z | CS2/0900_error_investigation/error_investigation.py | nealholt/python_programming_curricula | eda4432dab97178b4a5712b160f5b1da74c068cb | [
"MIT"
] | null | null | null | CS2/0900_error_investigation/error_investigation.py | nealholt/python_programming_curricula | eda4432dab97178b4a5712b160f5b1da74c068cb | [
"MIT"
] | 11 | 2021-02-21T20:50:56.000Z | 2022-01-29T07:01:28.000Z | '''
For 35 points, answer the following questions.
You may run any or all of the programs, but run them separately.
Here's an example problem with answers included:
x = 1
name = 'Dahlia'
name = name + x
#What is the error in your words?
#Answer: Can't add str and int
#What is the error in Python's words?
#Answer: Type... | 14.564103 | 76 | 0.632482 | 441 | 2,272 | 3.258503 | 0.201814 | 0.154489 | 0.187891 | 0.253306 | 0.701461 | 0.701461 | 0.701461 | 0.688239 | 0.636743 | 0.613779 | 0 | 0.0149 | 0.231954 | 2,272 | 156 | 77 | 14.564103 | 0.808596 | 0.176496 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c2f9bb3b1e8b2409986504a5cb6fb47394119712 | 29 | py | Python | __init__.py | Elycin/PyClam | e2a537e9cda823ce93afd2d5c622e2b16332244b | [
"MIT"
] | null | null | null | __init__.py | Elycin/PyClam | e2a537e9cda823ce93afd2d5c622e2b16332244b | [
"MIT"
] | null | null | null | __init__.py | Elycin/PyClam | e2a537e9cda823ce93afd2d5c622e2b16332244b | [
"MIT"
] | null | null | null | from PyClamd import pyclamd
| 9.666667 | 27 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 29 | 2 | 28 | 14.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
666b7e6acd080176af5bc9614e5a83a0536c2eac | 177 | py | Python | tests/test_error_handlers.py | plantpredict/python-sdk | 5040b898a16ac65cc556662b44f7564482aba066 | [
"MIT"
] | 2 | 2021-08-09T23:42:52.000Z | 2021-12-03T10:46:10.000Z | tests/test_error_handlers.py | plantpredict/python-sdk | 5040b898a16ac65cc556662b44f7564482aba066 | [
"MIT"
] | 3 | 2021-08-20T12:06:54.000Z | 2022-03-08T22:14:46.000Z | tests/test_error_handlers.py | plantpredict/python-sdk | 5040b898a16ac65cc556662b44f7564482aba066 | [
"MIT"
] | 3 | 2021-08-11T20:03:52.000Z | 2022-03-31T07:44:29.000Z | import unittest
import mock
import requests
from plantpredict.error_handlers import handle_refused_connection
class TestErrorHandlers(unittest.TestCase):
pass
# TODO
| 16.090909 | 65 | 0.819209 | 20 | 177 | 7.1 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146893 | 177 | 10 | 66 | 17.7 | 0.940397 | 0.022599 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 1 | 0 | true | 0.166667 | 0.666667 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
66b53b7fbeb7f389e3c0cbd3a7d36210dadc6ef0 | 39 | py | Python | phase5.py | Shivam60/Text_Classifiers | 8fa247cbbe53c1b634fdfd37498e9420985190cd | [
"Unlicense"
] | null | null | null | phase5.py | Shivam60/Text_Classifiers | 8fa247cbbe53c1b634fdfd37498e9420985190cd | [
"Unlicense"
] | null | null | null | phase5.py | Shivam60/Text_Classifiers | 8fa247cbbe53c1b634fdfd37498e9420985190cd | [
"Unlicense"
] | null | null | null | import pandas as pd
import os,json,math | 19.5 | 19 | 0.820513 | 8 | 39 | 4 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 2 | 20 | 19.5 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
662c671d18a3a90912eafe0d09301722c80f20cd | 31 | py | Python | settings_json/__init__.py | ashish1405/django-settings-json | f833ba1b8db28b4d85908cfd371b92fc2e60fb9f | [
"MIT"
] | 1 | 2021-06-07T00:58:02.000Z | 2021-06-07T00:58:02.000Z | settings_json/__init__.py | ashish1405/django-settings-json | f833ba1b8db28b4d85908cfd371b92fc2e60fb9f | [
"MIT"
] | 1 | 2020-06-10T04:41:10.000Z | 2020-06-15T06:29:41.000Z | settings_json/__init__.py | ashish1405/django-settings-json | f833ba1b8db28b4d85908cfd371b92fc2e60fb9f | [
"MIT"
] | 1 | 2020-06-05T05:42:00.000Z | 2020-06-05T05:42:00.000Z | from .utils import get_setting
| 15.5 | 30 | 0.83871 | 5 | 31 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b0873d5b34e1d7b4b108d30fd78fbea4084d4847 | 258 | py | Python | Medical-Record-Managment-System/LandingPage/views.py | AtluriNikhil/College_Projects | 23fa5d05e3c93691faa618a22fca858ba030ee5d | [
"Apache-2.0"
] | null | null | null | Medical-Record-Managment-System/LandingPage/views.py | AtluriNikhil/College_Projects | 23fa5d05e3c93691faa618a22fca858ba030ee5d | [
"Apache-2.0"
] | null | null | null | Medical-Record-Managment-System/LandingPage/views.py | AtluriNikhil/College_Projects | 23fa5d05e3c93691faa618a22fca858ba030ee5d | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def index(request):
return render(request,'LandingPage/landing_page.html')
def upload(request):
return render(request,'LandingPage/uploads.html')
| 19.846154 | 58 | 0.775194 | 33 | 258 | 6.030303 | 0.636364 | 0.100503 | 0.190955 | 0.261307 | 0.371859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131783 | 258 | 12 | 59 | 21.5 | 0.888393 | 0.089147 | 0 | 0 | 0 | 0 | 0.228448 | 0.228448 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
b0c3f595ce7f2954e47def8f5960976ca58f3922 | 201 | py | Python | bs5test/views.py | mtn819/bootstraptest | 47000aa918ab7e506d012019daaa9bbfe0a52a40 | [
"MIT"
] | null | null | null | bs5test/views.py | mtn819/bootstraptest | 47000aa918ab7e506d012019daaa9bbfe0a52a40 | [
"MIT"
] | null | null | null | bs5test/views.py | mtn819/bootstraptest | 47000aa918ab7e506d012019daaa9bbfe0a52a40 | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def index(request):
return render(request, "bs5test/index.html")
def about(request):
return render(request, "bs5test/about.html") | 25.125 | 48 | 0.746269 | 27 | 201 | 5.555556 | 0.592593 | 0.173333 | 0.253333 | 0.346667 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011561 | 0.139303 | 201 | 8 | 49 | 25.125 | 0.855491 | 0.114428 | 0 | 0 | 0 | 0 | 0.20339 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
9ff014d8b52ba97bc495e52509ba5681f9a5b1b0 | 202 | py | Python | exptune/__init__.py | shyam196/exptune | be9bb23355ecd1a464dbc93dc35050b7f9d40227 | [
"MIT"
] | null | null | null | exptune/__init__.py | shyam196/exptune | be9bb23355ecd1a464dbc93dc35050b7f9d40227 | [
"MIT"
] | null | null | null | exptune/__init__.py | shyam196/exptune | be9bb23355ecd1a464dbc93dc35050b7f9d40227 | [
"MIT"
] | null | null | null | from exptune.config_checker import check_config
from exptune.exptune import run_search
from exptune.train_final import train_final_models
__all__ = ["check_config", "run_search", "train_final_models"]
| 33.666667 | 62 | 0.841584 | 29 | 202 | 5.37931 | 0.413793 | 0.211538 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089109 | 202 | 5 | 63 | 40.4 | 0.847826 | 0 | 0 | 0 | 0 | 0 | 0.19802 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c6c4aca730a18b604a1daeefac17d40e2015c28f | 90 | py | Python | practical_porcupines/practical_porcupines/flask_webportal/__init__.py | albertopoljak/code-jam-5 | 6a02fbcd152c41eae67f09ca6cc5d27f06de8a08 | [
"MIT"
] | 2 | 2019-06-28T13:23:40.000Z | 2019-06-29T12:10:11.000Z | practical_porcupines/practical_porcupines/flask_webportal/__init__.py | RohanJnr/code-jam-5 | 40e4552b57b09ed3d81cbd47533c2483f8de3bc4 | [
"MIT"
] | 3 | 2019-07-02T14:26:52.000Z | 2019-07-06T20:08:42.000Z | practical_porcupines/practical_porcupines/flask_webportal/__init__.py | RohanJnr/code-jam-5 | 40e4552b57b09ed3d81cbd47533c2483f8de3bc4 | [
"MIT"
] | null | null | null | from practical_porcupines.flask_webportal.app import ( # noqa
flask_webportal_app,
)
| 22.5 | 62 | 0.788889 | 11 | 90 | 6.090909 | 0.727273 | 0.41791 | 0.507463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144444 | 90 | 3 | 63 | 30 | 0.87013 | 0.044444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
05b1ad5caad8aff2943be71421fd8c6a09415184 | 26 | py | Python | src/frame_manager/__init__.py | natrodrigues/face-recognition | 00c78bea55d2738913cf5475056c2faf05fe960e | [
"MIT"
] | null | null | null | src/frame_manager/__init__.py | natrodrigues/face-recognition | 00c78bea55d2738913cf5475056c2faf05fe960e | [
"MIT"
] | null | null | null | src/frame_manager/__init__.py | natrodrigues/face-recognition | 00c78bea55d2738913cf5475056c2faf05fe960e | [
"MIT"
] | null | null | null | from . import FrameManager | 26 | 26 | 0.846154 | 3 | 26 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
05cdf415ded8e5f3c073d19591df923a8f6e2e13 | 2,645 | py | Python | NN_models/ops.py | ThomasMrY/ActivationFunctionDemo | 1f75c7964e354e7593e1fe54932877feb2961488 | [
"MIT"
] | 12 | 2018-10-29T02:07:43.000Z | 2022-03-18T09:56:34.000Z | NN_models/ops.py | ThomasMrY/Activation_function_demo | 1f75c7964e354e7593e1fe54932877feb2961488 | [
"MIT"
] | null | null | null | NN_models/ops.py | ThomasMrY/Activation_function_demo | 1f75c7964e354e7593e1fe54932877feb2961488 | [
"MIT"
] | 6 | 2019-05-31T08:54:39.000Z | 2021-08-15T03:09:33.000Z | import pickle
import torch
import numpy as np
import os
def tanh_apx(input_d,file_name):
file = open(os.path.join('process_data', file_name + '.pkl'), 'rb')
x_linspace = pickle.load(file)
values = pickle.load(file)
num = len(values)
output = torch.zeros_like(input_d)
temp_1 = x_linspace[-1]
output_1 = torch.whe... | 37.253521 | 103 | 0.7138 | 447 | 2,645 | 3.973154 | 0.129754 | 0.125 | 0.084459 | 0.096284 | 0.853041 | 0.785473 | 0.785473 | 0.785473 | 0.785473 | 0.739302 | 0 | 0.08431 | 0.161437 | 2,645 | 71 | 104 | 37.253521 | 0.716411 | 0.037051 | 0 | 0.651515 | 0 | 0 | 0.015711 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075758 | false | 0 | 0.060606 | 0.030303 | 0.212121 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
af5e1b280976b1c28c35d0d07d57ac8ebc98a1a7 | 28 | py | Python | lichtenberg/__init__.py | chromia/lichtenberg | 9f4cab6d55069d1190c86d9d796c1ad915c30804 | [
"MIT"
] | 2 | 2020-08-26T04:23:44.000Z | 2021-03-13T13:53:50.000Z | lichtenberg/__init__.py | chromia/lichtenberg | 9f4cab6d55069d1190c86d9d796c1ad915c30804 | [
"MIT"
] | null | null | null | lichtenberg/__init__.py | chromia/lichtenberg | 9f4cab6d55069d1190c86d9d796c1ad915c30804 | [
"MIT"
] | null | null | null | from ._lichtenberg import *
| 14 | 27 | 0.785714 | 3 | 28 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
af66a71bb2d8cf6d6edbd0e9a7e70292bf5dace7 | 37 | py | Python | examples/math.cos/ex1.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/math.cos/ex1.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/math.cos/ex1.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | import math
print(math.cos(math.pi))
| 12.333333 | 24 | 0.756757 | 7 | 37 | 4 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 2 | 25 | 18.5 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
af8502cbcae7bfdb12246a824997540840ac8fa2 | 23 | py | Python | statesegmentation/__init__.py | lgeerligs/statesegmentation | d259dc2e3fe4ffab58cc5e2a811f3c1ed3480ad3 | [
"MIT"
] | null | null | null | statesegmentation/__init__.py | lgeerligs/statesegmentation | d259dc2e3fe4ffab58cc5e2a811f3c1ed3480ad3 | [
"MIT"
] | 1 | 2021-08-31T08:09:29.000Z | 2021-08-31T13:35:07.000Z | statesegmentation/__init__.py | lgeerligs/statesegmentation | d259dc2e3fe4ffab58cc5e2a811f3c1ed3480ad3 | [
"MIT"
] | null | null | null | from .gsbs import GSBS
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
afbb835556cb754831f406ff5c38e3bc9c9b1e9c | 127 | py | Python | all_voice/handler/lambda_function.py | TheLampshady/all_voice | 19482c400b989fc78a3ad2c22937026f0ac04a59 | [
"MIT"
] | 2 | 2017-06-26T16:15:24.000Z | 2018-01-02T19:28:19.000Z | all_voice/handler/lambda_function.py | TheLampshady/all_voice | 19482c400b989fc78a3ad2c22937026f0ac04a59 | [
"MIT"
] | null | null | null | all_voice/handler/lambda_function.py | TheLampshady/all_voice | 19482c400b989fc78a3ad2c22937026f0ac04a59 | [
"MIT"
] | 2 | 2017-06-26T17:56:12.000Z | 2018-06-24T20:20:02.000Z | from all_voice.models import AlexaSkill
def lambda_handler(event, context={}):
return AlexaSkill(event=event).response()
| 21.166667 | 45 | 0.771654 | 16 | 127 | 6 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11811 | 127 | 5 | 46 | 25.4 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
afcca10c693a15e83009064811a7b056a83242c9 | 28 | py | Python | plugins/raid_md_fakeproc/__init__.py | camerongray1515/temp | 80639026992172166b7992b209f1694ca792d2df | [
"BSD-2-Clause"
] | 1 | 2016-05-14T19:58:17.000Z | 2016-05-14T19:58:17.000Z | plugins/raid_md_fakeproc/__init__.py | camerongray1515/temp | 80639026992172166b7992b209f1694ca792d2df | [
"BSD-2-Clause"
] | 62 | 2016-05-24T19:43:45.000Z | 2016-05-25T15:16:34.000Z | plugins/raid_md_fakeproc/__init__.py | camerongray1515/temp | 80639026992172166b7992b209f1694ca792d2df | [
"BSD-2-Clause"
] | 1 | 2019-10-17T16:06:55.000Z | 2019-10-17T16:06:55.000Z | from .raid_md import Plugin
| 14 | 27 | 0.821429 | 5 | 28 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
afd5becd82649bd435cfadb30a3c5da26150c9ae | 12 | py | Python | test1.py | larryooo/py_flask | 8233ee0ff8daa4364e3da38555042d4d9f40e33b | [
"MIT"
] | null | null | null | test1.py | larryooo/py_flask | 8233ee0ff8daa4364e3da38555042d4d9f40e33b | [
"MIT"
] | null | null | null | test1.py | larryooo/py_flask | 8233ee0ff8daa4364e3da38555042d4d9f40e33b | [
"MIT"
] | null | null | null | a =1
b = 2
| 4 | 5 | 0.333333 | 4 | 12 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.5 | 12 | 2 | 6 | 6 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bb5e85c85450df76aaedccdea0d2a63a1253fa61 | 189 | py | Python | app/routes.py | Rifola/TutorialMicroblog | 10af1456b060cfe77170eb38d9d9c705e7fbf520 | [
"MIT"
] | null | null | null | app/routes.py | Rifola/TutorialMicroblog | 10af1456b060cfe77170eb38d9d9c705e7fbf520 | [
"MIT"
] | null | null | null | app/routes.py | Rifola/TutorialMicroblog | 10af1456b060cfe77170eb38d9d9c705e7fbf520 | [
"MIT"
] | null | null | null | from app import app
@app.route('/')
@app.route('/index')
def index():
return "Hello World von Valentins PC!!"
@app.route('/home')
def home():
return "Homepage von Valentins PC."
| 15.75 | 43 | 0.645503 | 27 | 189 | 4.518519 | 0.518519 | 0.196721 | 0.229508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 189 | 11 | 44 | 17.181818 | 0.782051 | 0 | 0 | 0 | 0 | 0 | 0.361702 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.125 | 0.25 | 0.625 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
bb6bec009fee7bd699b0d053d91e45e1707ebddf | 53 | py | Python | image_vision/plugins/visualizers/__init__.py | IvanKosik/ImageVision | 038b2b3948a16adc4c2abb3bc8c1c32f62aa4319 | [
"BSD-3-Clause"
] | null | null | null | image_vision/plugins/visualizers/__init__.py | IvanKosik/ImageVision | 038b2b3948a16adc4c2abb3bc8c1c32f62aa4319 | [
"BSD-3-Clause"
] | null | null | null | image_vision/plugins/visualizers/__init__.py | IvanKosik/ImageVision | 038b2b3948a16adc4c2abb3bc8c1c32f62aa4319 | [
"BSD-3-Clause"
] | null | null | null | from .manager import DataVisualizationManagerPlugin
| 26.5 | 52 | 0.886792 | 4 | 53 | 11.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09434 | 53 | 1 | 53 | 53 | 0.979167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bb7a71b7dd871b1caa8b5ee597bfb99f6cdc0f6b | 4,931 | py | Python | src/v1/test.py | kacpekwasny/pyTextEncryption | dbb537715db1ba190b23208ca8c2411f952409b0 | [
"BSD-3-Clause"
] | 1 | 2020-11-23T19:56:05.000Z | 2020-11-23T19:56:05.000Z | src/v1/test.py | kacpekwasny/pyTextEncryption | dbb537715db1ba190b23208ca8c2411f952409b0 | [
"BSD-3-Clause"
] | null | null | null | src/v1/test.py | kacpekwasny/pyTextEncryption | dbb537715db1ba190b23208ca8c2411f952409b0 | [
"BSD-3-Clause"
] | null | null | null | from timeit import default_timer as time
from encryptor import Encryptor
from encryptor_statefull import EncryptorSt
def fTestEncSt():
print("fTestEncSt")
e = EncryptorSt(23, 17)
# Check fGenDict
d = e.fGenDict()
# check if every char in dict
success = True
for c in EncryptorSt.chars:
... | 24.532338 | 82 | 0.567836 | 614 | 4,931 | 4.543974 | 0.166124 | 0.054839 | 0.069892 | 0.043011 | 0.77491 | 0.721864 | 0.712545 | 0.712545 | 0.712545 | 0.712545 | 0 | 0.017277 | 0.307443 | 4,931 | 200 | 83 | 24.655 | 0.799707 | 0.097749 | 0 | 0.708609 | 0 | 0 | 0.251298 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019868 | false | 0 | 0.019868 | 0 | 0.039735 | 0.337748 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a542e6894f4fd38f8c7efd4f1c2a8a4f437e971a | 254 | py | Python | src/bodyguard/__init__.py | muhlbach/bodyguard | 9ae1b136e3f2f524b4b7e06bca8fee084eb54862 | [
"MIT"
] | 1 | 2022-02-02T21:40:14.000Z | 2022-02-02T21:40:14.000Z | src/bodyguard/__init__.py | muhlbach/machinery | 9ae1b136e3f2f524b4b7e06bca8fee084eb54862 | [
"MIT"
] | null | null | null | src/bodyguard/__init__.py | muhlbach/machinery | 9ae1b136e3f2f524b4b7e06bca8fee084eb54862 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
__init__
"""
from bodyguard import (convert, distance, exceptions, read_and_write, sanity_check, strings, tools)
# __all__ = [convert, distance, exceptions, read_and_write, strings, sanity_check, tools]
| 28.222222 | 99 | 0.728346 | 32 | 254 | 5.34375 | 0.6875 | 0.175439 | 0.292398 | 0.339181 | 0.432749 | 0.432749 | 0 | 0 | 0 | 0 | 0 | 0.004484 | 0.122047 | 254 | 8 | 100 | 31.75 | 0.762332 | 0.547244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a59d04b0c84f9fa7f9283272b07a46aec26b2f23 | 288 | py | Python | jessiql/features/cursor/__init__.py | kolypto/py-jessiql | 724a1eda84e912483bb2d96bb0f74ce6a12098a3 | [
"MIT"
] | null | null | null | jessiql/features/cursor/__init__.py | kolypto/py-jessiql | 724a1eda84e912483bb2d96bb0f74ce6a12098a3 | [
"MIT"
] | null | null | null | jessiql/features/cursor/__init__.py | kolypto/py-jessiql | 724a1eda84e912483bb2d96bb0f74ce6a12098a3 | [
"MIT"
] | null | null | null | """ Cursor-based pagination
Cursor-based pagination generates a pair of "cursors": links to the prev and next pages that just work.
It supports keyset pagination, which is much more performant that skip/limit pagination!
"""
from .query import QueryPage
from .cursors import PageLinks
| 32 | 104 | 0.788194 | 42 | 288 | 5.404762 | 0.785714 | 0.096916 | 0.185022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152778 | 288 | 8 | 105 | 36 | 0.930328 | 0.756944 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a5acaac7c6e963421cd2ba865d133c28dbe06587 | 116 | py | Python | app/grade/__init__.py | MashSoftware/flux-api | 8763f752d44868b53a351f44f243ae760b28be31 | [
"MIT"
] | 1 | 2021-06-19T18:06:34.000Z | 2021-06-19T18:06:34.000Z | app/grade/__init__.py | MashSoftware/flux-api | 8763f752d44868b53a351f44f243ae760b28be31 | [
"MIT"
] | null | null | null | app/grade/__init__.py | MashSoftware/flux-api | 8763f752d44868b53a351f44f243ae760b28be31 | [
"MIT"
] | null | null | null | from flask import Blueprint
grade = Blueprint("grade", __name__)
from app.grade import routes # noqa: E402, F401
| 19.333333 | 48 | 0.75 | 16 | 116 | 5.1875 | 0.6875 | 0.337349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061856 | 0.163793 | 116 | 5 | 49 | 23.2 | 0.793814 | 0.137931 | 0 | 0 | 0 | 0 | 0.05102 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
b1e4e89d630547b4bbea29adeeaf78ba41f7de08 | 5,215 | py | Python | src/VAE/Plotting/plot_latent_encoding.py | helenaandres/adversarial-generation-of-gene-expression-data | 9a10f0c364b7daa789ae75ab5b51ed5c7cbcbeb1 | [
"MIT"
] | null | null | null | src/VAE/Plotting/plot_latent_encoding.py | helenaandres/adversarial-generation-of-gene-expression-data | 9a10f0c364b7daa789ae75ab5b51ed5c7cbcbeb1 | [
"MIT"
] | null | null | null | src/VAE/Plotting/plot_latent_encoding.py | helenaandres/adversarial-generation-of-gene-expression-data | 9a10f0c364b7daa789ae75ab5b51ed5c7cbcbeb1 | [
"MIT"
] | 1 | 2020-12-15T16:37:07.000Z | 2020-12-15T16:37:07.000Z | import numpy as np
import math
import pandas as pd
from sklearn.decomposition import PCA
from sklearn.manifold import TSNE, SpectralEmbedding
from keras.models import load_model
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
def plot_latent_encoding(labels, tsne_vae, tsne_dis, n_component... | 43.458333 | 134 | 0.665772 | 812 | 5,215 | 4.009852 | 0.135468 | 0.057125 | 0.07371 | 0.041769 | 0.880221 | 0.880221 | 0.880221 | 0.880221 | 0.880221 | 0.874693 | 0 | 0.02397 | 0.176031 | 5,215 | 120 | 135 | 43.458333 | 0.733768 | 0.255225 | 0 | 0.666667 | 0 | 0 | 0.10794 | 0.021277 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.15 | 0 | 0.216667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b1eda72d6a2ae92331b613798b6dfb0cfd034b4d | 24,656 | py | Python | tests/test_transformations.py | hodossy/pandas-extras | 0d07fa388f5a125314371415a3c73e551495ab94 | [
"BSD-3-Clause"
] | 4 | 2019-05-11T22:05:02.000Z | 2021-02-02T18:39:59.000Z | tests/test_transformations.py | hodossy/pandas-extras | 0d07fa388f5a125314371415a3c73e551495ab94 | [
"BSD-3-Clause"
] | null | null | null | tests/test_transformations.py | hodossy/pandas-extras | 0d07fa388f5a125314371415a3c73e551495ab94 | [
"BSD-3-Clause"
] | 1 | 2020-12-07T10:35:21.000Z | 2020-12-07T10:35:21.000Z | import unittest
import numpy as np
import pandas as pd
from pandas.testing import assert_frame_equal
from pandas_extras import (
concatenate_columns, expand_list, expand_lists,
extract_dict_key, extract_dictionary, merge_columns,
)
class TransformationsTestCase(unittest.TestCase):
def test_... | 36.152493 | 123 | 0.36263 | 2,536 | 24,656 | 3.364353 | 0.047319 | 0.034693 | 0.022152 | 0.017815 | 0.904829 | 0.872597 | 0.801102 | 0.789967 | 0.78481 | 0.763596 | 0 | 0.074459 | 0.461835 | 24,656 | 681 | 124 | 36.20558 | 0.568543 | 0 | 0 | 0.588326 | 0 | 0 | 0.152742 | 0 | 0 | 0 | 0 | 0 | 0.044547 | 1 | 0.036866 | false | 0 | 0.00768 | 0 | 0.046083 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
590fbc0aae3656adccb6998d0271d3b46cac0b44 | 183 | py | Python | rsfab/servers.py | tjsoftware-co/rsfab | 64f4c6d1c639c8494fc4dbec8bec5bae24848854 | [
"BSD-3-Clause"
] | null | null | null | rsfab/servers.py | tjsoftware-co/rsfab | 64f4c6d1c639c8494fc4dbec8bec5bae24848854 | [
"BSD-3-Clause"
] | null | null | null | rsfab/servers.py | tjsoftware-co/rsfab | 64f4c6d1c639c8494fc4dbec8bec5bae24848854 | [
"BSD-3-Clause"
] | null | null | null | """
server side helpers
"""
from fabric.api import sudo
def apache_restart():
sudo('/etc/init.d/apache2 restart')
def httpd_restart():
sudo('/etc/init.d/httpd restart') | 16.636364 | 39 | 0.672131 | 26 | 183 | 4.653846 | 0.615385 | 0.181818 | 0.231405 | 0.297521 | 0.31405 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006579 | 0.169399 | 183 | 11 | 40 | 16.636364 | 0.789474 | 0.103825 | 0 | 0 | 0 | 0 | 0.339869 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
3cd105106d63513603de39b73ce8299c545215a7 | 32 | py | Python | test2.py | bwilli-stripe/test-github | ac8efbde0e02201a440cc7970a469da457ae1686 | [
"MIT"
] | null | null | null | test2.py | bwilli-stripe/test-github | ac8efbde0e02201a440cc7970a469da457ae1686 | [
"MIT"
] | null | null | null | test2.py | bwilli-stripe/test-github | ac8efbde0e02201a440cc7970a469da457ae1686 | [
"MIT"
] | null | null | null | print("hello develop branch!")
| 10.666667 | 30 | 0.71875 | 4 | 32 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 2 | 31 | 16 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0.677419 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5978b27c73a7c76d889dfab1417e38c651fef340 | 7,411 | py | Python | pyPLANES/fem/elements_volumic.py | matael/pyPLANES | 7f591090446303884c9a3d049e42233efae0b7f4 | [
"MIT"
] | null | null | null | pyPLANES/fem/elements_volumic.py | matael/pyPLANES | 7f591090446303884c9a3d049e42233efae0b7f4 | [
"MIT"
] | null | null | null | pyPLANES/fem/elements_volumic.py | matael/pyPLANES | 7f591090446303884c9a3d049e42233efae0b7f4 | [
"MIT"
] | 1 | 2020-12-15T16:24:08.000Z | 2020-12-15T16:24:08.000Z | #! /usr/bin/env python
# -*- coding:utf8 -*-
#
# volumic_elements.py
#
# This file is part of pyplanes, a software distributed under the MIT license.
# For any question, please contact one of the authors cited below.
#
# Copyright (c) 2020
# Olivier Dazel <olivier.dazel@univ-lemans.fr>
# Mathieu Gaborit <ga... | 31.402542 | 81 | 0.514505 | 1,364 | 7,411 | 2.617302 | 0.119501 | 0.077311 | 0.037255 | 0.026891 | 0.763305 | 0.763305 | 0.759384 | 0.759384 | 0.759384 | 0.759384 | 0 | 0.067761 | 0.293078 | 7,411 | 235 | 82 | 31.53617 | 0.613667 | 0.158818 | 0 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023529 | false | 0 | 0.011765 | 0 | 0.058824 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
59b4e01f2a2b7b57d663aef9d894eb473b19fae4 | 8,148 | py | Python | simulation/para_effect_1.py | davendw49/ebm | 56890ab0f7291c3ae5e4b503dd27d0534c1a13b8 | [
"MIT"
] | 3 | 2020-03-28T04:14:15.000Z | 2022-03-19T04:09:59.000Z | simulation/para_effect_1.py | davendw49/ebm | 56890ab0f7291c3ae5e4b503dd27d0534c1a13b8 | [
"MIT"
] | null | null | null | simulation/para_effect_1.py | davendw49/ebm | 56890ab0f7291c3ae5e4b503dd27d0534c1a13b8 | [
"MIT"
] | null | null | null | # This is the simulation of our evolving RS model under the FIRST framework of our assumptions on edge weights.
import numpy as np
import random
import matplotlib.pyplot as plt
import powerlaw
import pandas as pd
import pymysql
from sim_model_1 import assumption_1st, get_pvalue_alpha_xmin_1, cal_big_c
if __name__ == ... | 44.769231 | 447 | 0.566274 | 1,243 | 8,148 | 3.454545 | 0.103781 | 0.100606 | 0.023754 | 0.027946 | 0.897764 | 0.891476 | 0.842571 | 0.814625 | 0.814625 | 0.814625 | 0 | 0.059669 | 0.265709 | 8,148 | 182 | 448 | 44.769231 | 0.658031 | 0.563942 | 0 | 0.595745 | 0 | 0.042553 | 0.157199 | 0.065525 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.148936 | 0 | 0.148936 | 0.021277 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
59b5de80e0c87c8abf3da4f6b54ea788ae537548 | 257,297 | py | Python | instances/passenger_demand/pas-20210422-1717-int8e-1/96.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int8e-1/96.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int8e-1/96.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 15249
passenger_arriving = (
(3, 1, 2, 3, 3, 1, 1, 1, 1, 1, 0, 1, 0, 4, 1, 4, 3, 4, 2, 3, 1, 1, 1, 2, 0, 0), # 0
(2, 4, 6, 3, 3, 2, 3, 0, 3, 0, 0, 1, 0, 11, 1, 4, 2, 9, 2, 3, 1, 0, 0, 1, 0, 0), # 1
(6, 3, 3, 4, 6, 4, 0, 1, 2, 1, 1, 0, 0, 3, 10, 4, 1, 2, 1, 0, 0, 3, 1, 1, 1, 0)... | 275.183957 | 493 | 0.768656 | 32,987 | 257,297 | 5.99515 | 0.211568 | 0.360433 | 0.34587 | 0.655333 | 0.380159 | 0.371775 | 0.367427 | 0.366289 | 0.365995 | 0.365904 | 0 | 0.849159 | 0.09613 | 257,297 | 934 | 494 | 275.478587 | 0.0012 | 0.015589 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
59c9c75c94a1a4ccb7220ab61e2536551ec0a1da | 5,795 | py | Python | mozurestsdk/commerce/shipping/admin/profiles/handlingfeerule.py | Mozu/mozu-python-sdk | 9cc918aca7db3639264184e5266e8e508a08a7dd | [
"Apache-2.0"
] | 1 | 2021-03-22T12:38:42.000Z | 2021-03-22T12:38:42.000Z | mozurestsdk/commerce/shipping/admin/profiles/handlingfeerule.py | Mozu/mozu-python-sdk | 9cc918aca7db3639264184e5266e8e508a08a7dd | [
"Apache-2.0"
] | null | null | null | mozurestsdk/commerce/shipping/admin/profiles/handlingfeerule.py | Mozu/mozu-python-sdk | 9cc918aca7db3639264184e5266e8e508a08a7dd | [
"Apache-2.0"
] | 2 | 2015-09-30T19:49:00.000Z | 2015-09-30T19:51:03.000Z |
"""
This code was generated by Codezu.
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
"""
from mozurestsdk.mozuclient import default as default_client
from mozurestsdk.mozuurl import MozuUrl;
from mozurestsdk.urllocation import UrlLocation
from mozure... | 41.099291 | 267 | 0.733909 | 677 | 5,795 | 6.273264 | 0.184638 | 0.014128 | 0.050859 | 0.056981 | 0.759595 | 0.749235 | 0.749235 | 0.749235 | 0.73652 | 0.73652 | 0 | 0 | 0.177049 | 5,795 | 141 | 268 | 41.099291 | 0.890543 | 0.50371 | 0 | 0.488372 | 1 | 0.093023 | 0.244331 | 0.193124 | 0 | 0 | 0 | 0 | 0 | 1 | 0.139535 | false | 0 | 0.093023 | 0 | 0.348837 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
59def9410be95bb04bd954dbbf18bc6395ff69c7 | 105 | py | Python | apps/command/setting/__init__.py | unripedata/mangement_for_flask | ade2f854f7a8238e318dd847661b7b0e22e0addf | [
"MIT"
] | null | null | null | apps/command/setting/__init__.py | unripedata/mangement_for_flask | ade2f854f7a8238e318dd847661b7b0e22e0addf | [
"MIT"
] | null | null | null | apps/command/setting/__init__.py | unripedata/mangement_for_flask | ade2f854f7a8238e318dd847661b7b0e22e0addf | [
"MIT"
] | null | null | null | from setting.config import config
from setting.init import init
import setting.worker
import setting.web
| 21 | 33 | 0.847619 | 16 | 105 | 5.5625 | 0.4375 | 0.247191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 105 | 4 | 34 | 26.25 | 0.956989 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
abb9d496adff26359d7d760b6fc9c025e73df062 | 62 | py | Python | pyxb/bundles/opengis/iso19139/v20070417/gts.py | eLBati/pyxb | 14737c23a125fd12c954823ad64fc4497816fae3 | [
"Apache-2.0"
] | 123 | 2015-01-12T06:43:22.000Z | 2022-03-20T18:06:46.000Z | pyxb/bundles/opengis/iso19139/v20070417/gts.py | eLBati/pyxb | 14737c23a125fd12c954823ad64fc4497816fae3 | [
"Apache-2.0"
] | 103 | 2015-01-08T18:35:57.000Z | 2022-01-18T01:44:14.000Z | pyxb/bundles/opengis/iso19139/v20070417/gts.py | eLBati/pyxb | 14737c23a125fd12c954823ad64fc4497816fae3 | [
"Apache-2.0"
] | 54 | 2015-02-15T17:12:00.000Z | 2022-03-07T23:02:32.000Z | from pyxb.bundles.opengis.iso19139.v20070417.raw.gts import *
| 31 | 61 | 0.822581 | 9 | 62 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224138 | 0.064516 | 62 | 1 | 62 | 62 | 0.655172 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2800d7639c61fde3fa7d7a4a3fc13b7b3eb27dca | 115 | py | Python | pyloopkit/__init__.py | novalegra/PyLoopKit | c275ef9490b0c528841525bf1b501e9c8805b20a | [
"BSD-2-Clause"
] | 6 | 2020-04-08T15:17:58.000Z | 2021-06-04T06:47:15.000Z | pyloopkit/__init__.py | novalegra/PyLoopKit | c275ef9490b0c528841525bf1b501e9c8805b20a | [
"BSD-2-Clause"
] | 8 | 2019-08-29T01:38:41.000Z | 2021-03-11T22:58:07.000Z | pyloopkit/__init__.py | novalegra/PyLoopKit | c275ef9490b0c528841525bf1b501e9c8805b20a | [
"BSD-2-Clause"
] | 5 | 2019-09-03T21:51:14.000Z | 2021-01-20T04:15:37.000Z | name = "pyloopkit"
from pyloopkit.loop_math import predict_glucose
from pyloopkit.loop_data_manager import update
| 23 | 47 | 0.852174 | 16 | 115 | 5.875 | 0.6875 | 0.276596 | 0.361702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104348 | 115 | 4 | 48 | 28.75 | 0.912621 | 0 | 0 | 0 | 0 | 0 | 0.078261 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f9fb8f8e87c0729230a44048e68a5178800fc820 | 78 | py | Python | P15710.py | daily-boj/kiwiyou | ceca96ddfee95708871af67d1682048e0bed0257 | [
"Unlicense"
] | 6 | 2020-04-08T09:04:57.000Z | 2021-11-16T07:30:24.000Z | P15710.py | daily-boj/kiwiyou | ceca96ddfee95708871af67d1682048e0bed0257 | [
"Unlicense"
] | null | null | null | P15710.py | daily-boj/kiwiyou | ceca96ddfee95708871af67d1682048e0bed0257 | [
"Unlicense"
] | 2 | 2020-04-16T05:32:06.000Z | 2020-05-28T13:40:56.000Z | a, b, n = map(int, input().split())
print(pow(1 << 31, n - 1, mod=1000000007)) | 39 | 42 | 0.576923 | 15 | 78 | 3 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 0.153846 | 78 | 2 | 42 | 39 | 0.469697 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
f9fedc854aba0484c85fb37e3cac2653b2a4a3b7 | 29 | py | Python | magicwand-data-generator/magicwand/magicwand_components/sensors/mw_rtt_sensor/__init__.py | gregpaton08/magicwand-datatool | c1352d8ea6da23a619a7107ab04dc3ff62212228 | [
"MIT"
] | 22 | 2020-11-30T18:27:55.000Z | 2022-03-02T12:13:29.000Z | magicwand-data-generator/magicwand/magicwand_components/sensors/mw_rtt_sensor/__init__.py | gregpaton08/magicwand-datatool | c1352d8ea6da23a619a7107ab04dc3ff62212228 | [
"MIT"
] | 7 | 2020-11-30T18:34:10.000Z | 2021-02-11T13:52:49.000Z | magicwand-data-generator/magicwand/magicwand_components/sensors/mw_rtt_sensor/__init__.py | gregpaton08/magicwand-datatool | c1352d8ea6da23a619a7107ab04dc3ff62212228 | [
"MIT"
] | 2 | 2021-01-26T20:25:22.000Z | 2021-05-30T07:32:31.000Z | from .mw_rtt_sensor import *
| 14.5 | 28 | 0.793103 | 5 | 29 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e61ede1c8b7889e3e8d6fc14bbc3c0850a59c785 | 45 | py | Python | test/tests/hello.py | jonco3/dynamic | 76d10b012a7860595c7d9abbdf542c7d8f2a4d53 | [
"MIT"
] | 1 | 2020-11-26T23:37:19.000Z | 2020-11-26T23:37:19.000Z | test/tests/hello.py | jonco3/dynamic | 76d10b012a7860595c7d9abbdf542c7d8f2a4d53 | [
"MIT"
] | null | null | null | test/tests/hello.py | jonco3/dynamic | 76d10b012a7860595c7d9abbdf542c7d8f2a4d53 | [
"MIT"
] | null | null | null | # output: hello, world
print("hello, world")
| 15 | 22 | 0.688889 | 6 | 45 | 5.166667 | 0.666667 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 45 | 2 | 23 | 22.5 | 0.794872 | 0.444444 | 0 | 0 | 0 | 0 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0500140bf38897289cf590c5d124f40fd5db9203 | 122 | py | Python | py/minsk/analysis/syntax/statement.py | Phytolizer/Minsk | 5fb59f0d5d8cf1f0046471b91e2f5d0c41fc874c | [
"MIT"
] | null | null | null | py/minsk/analysis/syntax/statement.py | Phytolizer/Minsk | 5fb59f0d5d8cf1f0046471b91e2f5d0c41fc874c | [
"MIT"
] | 1 | 2022-03-23T03:34:48.000Z | 2022-03-24T06:47:30.000Z | py/minsk/analysis/syntax/statement.py | Phytolizer/Minsk | 5fb59f0d5d8cf1f0046471b91e2f5d0c41fc874c | [
"MIT"
] | null | null | null | from abc import ABC
from minsk.analysis.syntax.node import SyntaxNode
class StatementSyntax(SyntaxNode, ABC):
pass
| 15.25 | 49 | 0.786885 | 16 | 122 | 6 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155738 | 122 | 7 | 50 | 17.428571 | 0.932039 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
057a17bcdb8a2b72d7cb1b9d78281931ac18a215 | 29 | py | Python | first.py | prasadb02/pynet | c16dc057dca1eed20822c4785904dfa2a2b9f0a8 | [
"Apache-2.0"
] | null | null | null | first.py | prasadb02/pynet | c16dc057dca1eed20822c4785904dfa2a2b9f0a8 | [
"Apache-2.0"
] | null | null | null | first.py | prasadb02/pynet | c16dc057dca1eed20822c4785904dfa2a2b9f0a8 | [
"Apache-2.0"
] | null | null | null | print "My first test branch"
| 14.5 | 28 | 0.758621 | 5 | 29 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 29 | 1 | 29 | 29 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0.689655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
558c94ea9820467904bfb919c2417eb6009eee55 | 32 | py | Python | lotrpc/sunrpc/__init__.py | wtnb75/lotrpc | 4209722d237eba8863bd777653a3390969552e8e | [
"MIT"
] | 1 | 2020-02-13T01:09:31.000Z | 2020-02-13T01:09:31.000Z | lotrpc/sunrpc/__init__.py | wtnb75/lotrpc | 4209722d237eba8863bd777653a3390969552e8e | [
"MIT"
] | null | null | null | lotrpc/sunrpc/__init__.py | wtnb75/lotrpc | 4209722d237eba8863bd777653a3390969552e8e | [
"MIT"
] | null | null | null | from .rpc import Server, Client
| 16 | 31 | 0.78125 | 5 | 32 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 1 | 32 | 32 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5592096ab53f05ae8dd21ac820f3c128de4033e2 | 218 | py | Python | tests/transactions/serializers/test_htlc_claim.py | Core-Archive/python-crypto | e0db6e26e6d41de2a9b40bb9459b90ae20343d2f | [
"MIT"
] | 13 | 2018-06-15T06:12:09.000Z | 2021-11-25T04:40:48.000Z | tests/transactions/serializers/test_htlc_claim.py | Core-Archive/python-crypto | e0db6e26e6d41de2a9b40bb9459b90ae20343d2f | [
"MIT"
] | 90 | 2018-06-17T14:35:04.000Z | 2021-06-02T16:42:39.000Z | tests/transactions/serializers/test_htlc_claim.py | Core-Archive/python-crypto | e0db6e26e6d41de2a9b40bb9459b90ae20343d2f | [
"MIT"
] | 27 | 2018-06-14T17:47:16.000Z | 2022-03-01T12:37:51.000Z | from crypto.transactions.serializer import Serializer
def test_serializer(transaction_type_9):
result = Serializer(transaction_type_9).serialize(False, True)
assert result == transaction_type_9['serialized']
| 31.142857 | 66 | 0.807339 | 26 | 218 | 6.5 | 0.615385 | 0.266272 | 0.284024 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015464 | 0.110092 | 218 | 6 | 67 | 36.333333 | 0.85567 | 0 | 0 | 0 | 0 | 0 | 0.045872 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e94951f1ca57b4d05404ab3e0c0915433544bcbb | 6,808 | py | Python | databuild/tests/test_operator.py | databuild/databuild | 4c8ee04fad1748f5b966753057ac05efbc289b10 | [
"BSD-3-Clause"
] | 1 | 2015-01-19T19:21:08.000Z | 2015-01-19T19:21:08.000Z | databuild/tests/test_operator.py | databuild/databuild | 4c8ee04fad1748f5b966753057ac05efbc289b10 | [
"BSD-3-Clause"
] | 1 | 2020-10-14T21:43:35.000Z | 2020-10-14T21:48:46.000Z | databuild/tests/test_operator.py | databuild/databuild | 4c8ee04fad1748f5b966753057ac05efbc289b10 | [
"BSD-3-Clause"
] | null | null | null | import os
from unittest import TestCase
from databuild import settings
from databuild.adapters.locmem.models import LocMemBook
TEST_DATA_DIR = os.path.join(os.path.dirname(__file__), 'data')
settings.FUNCTION_MODULES = list(settings.FUNCTION_MODULES) + [
'databuild.tests.functions',
]
class OperatorTestCase(Tes... | 31.373272 | 133 | 0.434636 | 656 | 6,808 | 4.359756 | 0.131098 | 0.05035 | 0.100699 | 0.011189 | 0.81993 | 0.81993 | 0.81993 | 0.788462 | 0.788462 | 0.788462 | 0 | 0.024963 | 0.399824 | 6,808 | 216 | 134 | 31.518519 | 0.674988 | 0 | 0 | 0.663158 | 0 | 0.005263 | 0.208137 | 0.025264 | 0 | 0 | 0 | 0 | 0.042105 | 1 | 0.036842 | false | 0 | 0.036842 | 0 | 0.078947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e957c7b29bdd0b8ba17046f88b03b84a4169a44b | 5,463 | py | Python | tests/legacy_unittest/icx/issue/test_issue_formula.py | bayeshack2016/icon-service | 36cab484d2e41548d7f2f74526f127ee3a4423fc | [
"Apache-2.0"
] | 52 | 2018-08-24T02:28:43.000Z | 2021-07-06T04:44:22.000Z | tests/legacy_unittest/icx/issue/test_issue_formula.py | bayeshack2016/icon-service | 36cab484d2e41548d7f2f74526f127ee3a4423fc | [
"Apache-2.0"
] | 62 | 2018-09-17T06:59:16.000Z | 2021-12-15T06:02:51.000Z | tests/legacy_unittest/icx/issue/test_issue_formula.py | bayeshack2016/icon-service | 36cab484d2e41548d7f2f74526f127ee3a4423fc | [
"Apache-2.0"
] | 35 | 2018-09-14T02:42:10.000Z | 2022-02-05T10:34:46.000Z | import unittest
from iconservice.icx.issue.issue_formula import IssueFormula
EXPECTED_REWARD_RATE_PER_STAKE_PERCENTAGE = [1200,
1172,
1144,
1116,
... | 47.504348 | 79 | 0.114406 | 158 | 5,463 | 3.867089 | 0.670886 | 0.304419 | 0.441899 | 0.569558 | 0.274959 | 0.274959 | 0.157119 | 0.157119 | 0.157119 | 0.157119 | 0 | 0.434211 | 0.860882 | 5,463 | 115 | 79 | 47.504348 | 0.369737 | 0 | 0 | 0.279279 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 1 | 0.009009 | false | 0 | 0.018018 | 0 | 0.036036 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e9662c1178a6df3ea0856eb6ac72b4830a30d5e6 | 18 | py | Python | json_codegen/astlib/python.py | expobrain/json-schema-codegen | e22b386333c6230e5d6f5984fd947fdd7b947e82 | [
"MIT"
] | 21 | 2018-06-15T16:08:57.000Z | 2022-02-11T16:16:11.000Z | json_codegen/astlib/python.py | expobrain/json-schema-codegen | e22b386333c6230e5d6f5984fd947fdd7b947e82 | [
"MIT"
] | 14 | 2018-08-09T18:02:19.000Z | 2022-01-24T18:04:17.000Z | json_codegen/astlib/python.py | expobrain/json-schema-codegen | e22b386333c6230e5d6f5984fd947fdd7b947e82 | [
"MIT"
] | 4 | 2018-11-30T18:19:10.000Z | 2021-11-18T04:04:36.000Z | from ast import *
| 9 | 17 | 0.722222 | 3 | 18 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 18 | 1 | 18 | 18 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e97d09964c5ec69d5e78f6153f66b5230988218e | 179 | py | Python | runtime/studentcode.py | pioneers/PieCentral2 | d6437d4ddfa386f44e6f70391c5211c723dde56d | [
"Apache-2.0"
] | 18 | 2016-09-22T03:24:43.000Z | 2019-11-21T02:30:41.000Z | runtime/studentcode.py | pioneers/PieCentral | d6437d4ddfa386f44e6f70391c5211c723dde56d | [
"Apache-2.0"
] | 395 | 2016-08-28T01:26:06.000Z | 2020-06-17T19:33:59.000Z | runtime/studentcode.py | pioneers/PieCentral | d6437d4ddfa386f44e6f70391c5211c723dde56d | [
"Apache-2.0"
] | 11 | 2016-08-27T20:42:54.000Z | 2020-02-01T21:20:43.000Z | def autonomous_setup():
pass
def autonomous_main():
print('Running auto main ...')
def teleop_setup():
pass
def teleop_main():
print('Running teleop main ...')
| 14.916667 | 36 | 0.648045 | 22 | 179 | 5.090909 | 0.409091 | 0.232143 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206704 | 179 | 11 | 37 | 16.272727 | 0.788732 | 0 | 0 | 0.25 | 0 | 0 | 0.24581 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.25 | 0 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
e9b2204bbe1f8814f106cad2445ecab91745bf05 | 148 | py | Python | 002-python-oop/code/func_caller.py | CHemaxi/python | 6544ea79be447bcd39488e7366685966bebd9964 | [
"MIT"
] | null | null | null | 002-python-oop/code/func_caller.py | CHemaxi/python | 6544ea79be447bcd39488e7366685966bebd9964 | [
"MIT"
] | null | null | null | 002-python-oop/code/func_caller.py | CHemaxi/python | 6544ea79be447bcd39488e7366685966bebd9964 | [
"MIT"
] | null | null | null | import func_test as f1
import func_test as f2
f1.num1 = 100
f1.num2 = 200
f2.num1 = 1000
f2.num2 = 2000
print(f1.__sizeof__() + f2.__sizeof__())
| 13.454545 | 40 | 0.709459 | 27 | 148 | 3.518519 | 0.518519 | 0.210526 | 0.294737 | 0.336842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213115 | 0.175676 | 148 | 10 | 41 | 14.8 | 0.565574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0.142857 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e9c496dd48295c3d1c7c48b52d6ae7c0e39c3a4c | 101 | py | Python | user/utils/utils.py | concric-inc/healthcare | 70b062a0b8a413fd3470cc0b528909abbfd51b7d | [
"MIT"
] | null | null | null | user/utils/utils.py | concric-inc/healthcare | 70b062a0b8a413fd3470cc0b528909abbfd51b7d | [
"MIT"
] | null | null | null | user/utils/utils.py | concric-inc/healthcare | 70b062a0b8a413fd3470cc0b528909abbfd51b7d | [
"MIT"
] | null | null | null | from ..models import user
def is_user(num):
return user.objects.filter(phone_number=num).exists() | 33.666667 | 57 | 0.762376 | 16 | 101 | 4.6875 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108911 | 101 | 3 | 57 | 33.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
e9da9c24d6da29c61d06f0bdbfc424e03445c1be | 42 | py | Python | translatehtml/__init__.py | pierotofy/translate-html | 6d44932eb548a8e3710a17c5b182ae38fbf904c1 | [
"MIT"
] | 10 | 2021-08-01T14:56:41.000Z | 2021-12-09T19:01:18.000Z | translatehtml/__init__.py | ZendaiOwl/translate-html | cfc8e8296a41ac98ebed70108d49f34415810b02 | [
"MIT"
] | 6 | 2021-08-05T13:16:54.000Z | 2022-03-10T13:15:22.000Z | translatehtml/__init__.py | ZendaiOwl/translate-html | cfc8e8296a41ac98ebed70108d49f34415810b02 | [
"MIT"
] | 4 | 2021-08-05T02:39:21.000Z | 2022-01-29T19:45:18.000Z | from translatehtml.translatehtml import *
| 21 | 41 | 0.857143 | 4 | 42 | 9 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
75e2e7244e73942d253c564fc87f293f70230be7 | 158 | py | Python | tests/basics/class_bytes.py | MakeItZone/circuitpython | 7f803c0b51c333210ed267502422ed7bb28b9be7 | [
"Unlicense",
"BSD-3-Clause",
"MIT-0",
"MIT"
] | 3,010 | 2017-01-07T23:43:33.000Z | 2022-03-31T06:02:59.000Z | tests/basics/class_bytes.py | MakeItZone/circuitpython | 7f803c0b51c333210ed267502422ed7bb28b9be7 | [
"Unlicense",
"BSD-3-Clause",
"MIT-0",
"MIT"
] | 4,478 | 2017-01-06T01:35:02.000Z | 2022-03-31T23:03:27.000Z | tests/basics/class_bytes.py | MakeItZone/circuitpython | 7f803c0b51c333210ed267502422ed7bb28b9be7 | [
"Unlicense",
"BSD-3-Clause",
"MIT-0",
"MIT"
] | 1,149 | 2017-01-09T00:35:23.000Z | 2022-03-31T21:24:29.000Z | class C1:
def __init__(self, value):
self.value = value
def __bytes__(self):
return self.value
c1 = C1(b"class 1")
print(bytes(c1))
| 15.8 | 30 | 0.601266 | 23 | 158 | 3.782609 | 0.478261 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.272152 | 158 | 9 | 31 | 17.555556 | 0.713043 | 0 | 0 | 0 | 0 | 0 | 0.044304 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0.142857 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
2f04c7d7d5a7386c5c6ce062bbae928e78cd01ff | 160 | py | Python | views/Models/__init__.py | beautilut/XMIIconFont | d899cec22642d62080ccf9be2b6c7e8d9445f1d5 | [
"MIT"
] | 1 | 2019-06-03T02:38:05.000Z | 2019-06-03T02:38:05.000Z | views/Models/__init__.py | beautilut/XMIIconFont | d899cec22642d62080ccf9be2b6c7e8d9445f1d5 | [
"MIT"
] | null | null | null | views/Models/__init__.py | beautilut/XMIIconFont | d899cec22642d62080ccf9be2b6c7e8d9445f1d5 | [
"MIT"
] | null | null | null | # coding: utf-8
from leancloud import Object
class XMI_Theme(Object):
pass
class IconFont(Object):
pass
class XMI_Theme_Identifier(Object):
pass | 13.333333 | 35 | 0.73125 | 22 | 160 | 5.181818 | 0.590909 | 0.263158 | 0.22807 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 0.19375 | 160 | 12 | 36 | 13.333333 | 0.875969 | 0.08125 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.428571 | 0.142857 | 0 | 0.571429 | 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 | 1 | 0 | 0 | 6 |
f9ad9d73092f05e714a7f2f99f37f1a3daaa39b2 | 103 | py | Python | shrug/cli.py | Necior/shrug | 7c6970f488406744de107cba8ef68037a2535254 | [
"MIT"
] | 1 | 2020-01-18T10:28:09.000Z | 2020-01-18T10:28:09.000Z | shrug/cli.py | Necior/shrug | 7c6970f488406744de107cba8ef68037a2535254 | [
"MIT"
] | null | null | null | shrug/cli.py | Necior/shrug | 7c6970f488406744de107cba8ef68037a2535254 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
from shrug import shrug
def main():
print(shrug)
| 12.875 | 25 | 0.621359 | 15 | 103 | 4.266667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.194175 | 103 | 7 | 26 | 14.714286 | 0.759036 | 0.427184 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f9c122f1352604ce66d4cca4ce05c72752a60a63 | 7,821 | py | Python | python/tests/test_blocks_on.py | clayne/gtirb | df9bf69537c36136d40fbff98588df37b8c5875f | [
"MIT"
] | null | null | null | python/tests/test_blocks_on.py | clayne/gtirb | df9bf69537c36136d40fbff98588df37b8c5875f | [
"MIT"
] | null | null | null | python/tests/test_blocks_on.py | clayne/gtirb | df9bf69537c36136d40fbff98588df37b8c5875f | [
"MIT"
] | null | null | null | import unittest
import gtirb
from helpers import SearchScope, create_interval_etc, parameterize_one
class BlocksOnTests(unittest.TestCase):
@parameterize_one("scope", list(SearchScope))
def test_blocks_on_simple(self, scope):
ir, m, s, bi = create_interval_etc(address=0x1000, size=4)
search_i... | 42.737705 | 77 | 0.681371 | 1,115 | 7,821 | 4.5713 | 0.113004 | 0.058073 | 0.105945 | 0.073377 | 0.848735 | 0.820483 | 0.795958 | 0.7526 | 0.70826 | 0.675495 | 0 | 0.052038 | 0.206367 | 7,821 | 182 | 78 | 42.972527 | 0.769132 | 0.099604 | 0 | 0.601563 | 0 | 0 | 0.065768 | 0 | 0 | 0 | 0.029616 | 0 | 0.15625 | 1 | 0.085938 | false | 0 | 0.023438 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f9eac877218aa60207152171a72dbf4f93097300 | 1,351 | py | Python | test/generate_tokens/test_unary_operation.py | godcrampy/py-graphics-h | 52db68221926012aa81dde3e6c1e492cf563ad77 | [
"MIT"
] | 1 | 2021-02-10T08:05:42.000Z | 2021-02-10T08:05:42.000Z | test/generate_tokens/test_unary_operation.py | godcrampy/py-graphics-h | 52db68221926012aa81dde3e6c1e492cf563ad77 | [
"MIT"
] | null | null | null | test/generate_tokens/test_unary_operation.py | godcrampy/py-graphics-h | 52db68221926012aa81dde3e6c1e492cf563ad77 | [
"MIT"
] | null | null | null | from src.token.compound import Compound
from test.util import wrap_with_main, add_token
def test_amp_operation():
test_str = wrap_with_main("{int z = 1; int a = &z;}")
tokens = add_token(test_str)
token = tokens[-1]
assert isinstance(token, Compound)
variables = {}
token.eval(variables)
a... | 25.490566 | 71 | 0.625463 | 185 | 1,351 | 4.4 | 0.156757 | 0.184275 | 0.07371 | 0.09828 | 0.858722 | 0.858722 | 0.858722 | 0.798526 | 0.798526 | 0.798526 | 0 | 0.017208 | 0.225759 | 1,351 | 52 | 72 | 25.980769 | 0.760994 | 0 | 0 | 0.625 | 0 | 0 | 0.099186 | 0 | 0 | 0 | 0 | 0 | 0.35 | 1 | 0.1 | false | 0 | 0.05 | 0 | 0.15 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ddf500af666e0a5a7880d2f185f64aa1d976d587 | 2,804 | py | Python | tests/v2/test_meetups.py | Bakley/Questioner-ADC | bfc9f99224005437ad92d914faafdcc5155d71b9 | [
"MIT"
] | null | null | null | tests/v2/test_meetups.py | Bakley/Questioner-ADC | bfc9f99224005437ad92d914faafdcc5155d71b9 | [
"MIT"
] | 9 | 2019-01-09T05:42:12.000Z | 2019-01-23T17:51:41.000Z | tests/v2/test_meetups.py | Bakley/Questioner-ADC | bfc9f99224005437ad92d914faafdcc5155d71b9 | [
"MIT"
] | 5 | 2019-01-08T15:57:48.000Z | 2019-01-11T09:21:03.000Z | import unittest
import json
from tests.v2.basecases import TestBaseCase
class MeetupTestCase(TestBaseCase):
"""
test class for the meetup endpoint
"""
def test_user_create_a_meetup(self):
"""Test user getting a meetup"""
auth_token = self.user_login()
response = self.client.p... | 37.891892 | 80 | 0.518188 | 276 | 2,804 | 5.108696 | 0.25 | 0.049645 | 0.031206 | 0.04539 | 0.817021 | 0.780851 | 0.750355 | 0.750355 | 0.750355 | 0.750355 | 0 | 0.010989 | 0.383381 | 2,804 | 73 | 81 | 38.410959 | 0.804511 | 0.051712 | 0 | 0.692308 | 0 | 0 | 0.126954 | 0.010294 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.076923 | false | 0 | 0.057692 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9b9add92045d5e38b248a8d4de469755c693e2e0 | 1,007 | py | Python | testing/integration/test_plugin_registration.py | symonk/pytest-validate | 384fef57919f0bf8d25d65f9ab64b407a95e6ebe | [
"MIT"
] | 1 | 2020-08-12T11:10:43.000Z | 2020-08-12T11:10:43.000Z | testing/integration/test_plugin_registration.py | symonk/pytest-infrastructure | 384fef57919f0bf8d25d65f9ab64b407a95e6ebe | [
"MIT"
] | 23 | 2020-03-29T18:25:54.000Z | 2020-11-14T15:20:24.000Z | testing/integration/test_plugin_registration.py | symonk/pytest-infrastructure | 384fef57919f0bf8d25d65f9ab64b407a95e6ebe | [
"MIT"
] | null | null | null | from infrastructure.utility.constants import INFRASTRUCTURE_PLUGIN_NAME
def test_when_collect_only_no_plugin_is_registered(testdir) -> None:
result = testdir.runpytest("--co")
plugins_dict = result.reprec._pluginmanager._name2plugin
assert INFRASTRUCTURE_PLUGIN_NAME not in plugins_dict
def test_when_hel... | 38.730769 | 74 | 0.803376 | 124 | 1,007 | 6.120968 | 0.306452 | 0.115942 | 0.158103 | 0.126482 | 0.760211 | 0.716733 | 0.716733 | 0.716733 | 0.716733 | 0.507246 | 0 | 0.004505 | 0.118173 | 1,007 | 25 | 75 | 40.28 | 0.850225 | 0 | 0 | 0.411765 | 0 | 0 | 0.056604 | 0.038729 | 0 | 0 | 0 | 0 | 0.235294 | 1 | 0.235294 | false | 0.058824 | 0.058824 | 0 | 0.294118 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 6 |
32cdbf1b42bb264551f93800a92efb748c1f4905 | 29 | py | Python | bot/__init__.py | palmtrww/Discord.py-Music-Bot | b9290924209e3708f7aec6d4c7b31eebdf35741d | [
"MIT"
] | 1 | 2021-06-29T04:20:27.000Z | 2021-06-29T04:20:27.000Z | bot/__init__.py | palmtrww/Discord.py-Music-Bot | b9290924209e3708f7aec6d4c7b31eebdf35741d | [
"MIT"
] | null | null | null | bot/__init__.py | palmtrww/Discord.py-Music-Bot | b9290924209e3708f7aec6d4c7b31eebdf35741d | [
"MIT"
] | 1 | 2021-06-25T03:25:06.000Z | 2021-06-25T03:25:06.000Z | from .bot import MusicBot
| 9.666667 | 26 | 0.724138 | 4 | 29 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 29 | 2 | 27 | 14.5 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
32e7e52df451a12df4195c81ba96d818574ca8ea | 192 | py | Python | src/gedml/core/samplers/__init__.py | wangck20/GeDML | 1f76ac2094d7b88be7fd4eb6145e5586e547b9ca | [
"MIT"
] | 25 | 2021-09-06T13:26:02.000Z | 2022-01-06T13:25:24.000Z | src/gedml/core/samplers/__init__.py | wangck20/GeDML | 1f76ac2094d7b88be7fd4eb6145e5586e547b9ca | [
"MIT"
] | 1 | 2021-09-09T08:29:29.000Z | 2021-09-13T15:05:59.000Z | src/gedml/core/samplers/__init__.py | wangck20/GeDML | 1f76ac2094d7b88be7fd4eb6145e5586e547b9ca | [
"MIT"
] | 2 | 2021-09-07T08:44:41.000Z | 2021-09-09T08:31:55.000Z | """
This sampler modules are inherited from ``torch.utils.data.sampler``.
"""
from .m_per_class_sampler import MPerClassSampler
from .m_per_class_full_sampler import MPerClassFullSampler | 32 | 70 | 0.802083 | 25 | 192 | 5.88 | 0.64 | 0.068027 | 0.108844 | 0.176871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 192 | 6 | 71 | 32 | 0.864706 | 0.359375 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fd111f95003eca9715d556060832ac1081b3c102 | 2,417 | py | Python | tests/performanceplatform/client/test_collector.py | alphagov/performanceplatform-client.py | 5f9bd061014ef4e81b2a22666cb67213e13caa87 | [
"MIT"
] | 1 | 2015-07-24T21:23:55.000Z | 2015-07-24T21:23:55.000Z | tests/performanceplatform/client/test_collector.py | alphagov/performanceplatform-client.py | 5f9bd061014ef4e81b2a22666cb67213e13caa87 | [
"MIT"
] | 7 | 2015-01-07T16:15:17.000Z | 2021-03-24T10:58:33.000Z | tests/performanceplatform/client/test_collector.py | alphagov/performanceplatform-client.py | 5f9bd061014ef4e81b2a22666cb67213e13caa87 | [
"MIT"
] | 4 | 2015-06-29T19:32:20.000Z | 2021-04-10T20:14:55.000Z | from hamcrest import match_equality, has_entries
from mock import patch
from performanceplatform.client.collector import CollectorAPI
class TestCollectorAPI(object):
@patch('requests.request')
def test_get_collector_type(self, mock_request):
mock_request.__name__ = 'request'
api = CollectorAPI... | 32.662162 | 63 | 0.576334 | 232 | 2,417 | 5.737069 | 0.193966 | 0.099174 | 0.096168 | 0.086401 | 0.838467 | 0.838467 | 0.838467 | 0.80015 | 0.80015 | 0.80015 | 0 | 0 | 0.302855 | 2,417 | 73 | 64 | 33.109589 | 0.789911 | 0 | 0 | 0.6875 | 0 | 0 | 0.2259 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 1 | 0.0625 | false | 0 | 0.046875 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fd24e9aac2715aaf7aecec777843473b34cfddfb | 37 | py | Python | gnc/navigator_thrust_mapper/navigator_thrust_mapper/__init__.py | jaxnb/NaviGator | 2edb85cf5eab38f62132b3f467814516d2bb05f3 | [
"MIT"
] | 27 | 2020-02-17T21:54:09.000Z | 2022-03-18T17:49:23.000Z | gnc/navigator_thrust_mapper/navigator_thrust_mapper/__init__.py | jaxnb/NaviGator | 2edb85cf5eab38f62132b3f467814516d2bb05f3 | [
"MIT"
] | 325 | 2019-09-11T14:13:56.000Z | 2022-03-31T00:38:30.000Z | gnc/navigator_thrust_mapper/navigator_thrust_mapper/__init__.py | ericgorday/NaviGator | cc929a8609d7a416d0b8c9a95059e296f669464a | [
"MIT"
] | 24 | 2019-09-16T00:29:45.000Z | 2022-03-06T10:56:38.000Z | from thruster_map import ThrusterMap
| 18.5 | 36 | 0.891892 | 5 | 37 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fd4959018bc2f3f4b5afe016628724645cbc7592 | 928 | py | Python | flatpaksync/actions/mask.py | jeteokeeffe/flatpak-sync | 44e894371272a21264343244b444a464d8c206b9 | [
"MIT"
] | 8 | 2020-04-23T01:19:10.000Z | 2022-03-29T05:12:01.000Z | flatpaksync/actions/mask.py | jeteokeeffe/flatpak-sync | 44e894371272a21264343244b444a464d8c206b9 | [
"MIT"
] | 1 | 2020-05-05T16:54:53.000Z | 2020-05-05T16:54:53.000Z | flatpaksync/actions/mask.py | jeteokeeffe/flatpak-sync | 44e894371272a21264343244b444a464d8c206b9 | [
"MIT"
] | 1 | 2020-04-28T18:36:32.000Z | 2020-04-28T18:36:32.000Z |
class mask:
"""
flatpak mask command
"""
def mask(self):
cmd = "flatpak mask {}".format(app.getAppId())
result=subprocess.run(cmd, shell=True, universal_newlines=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
if result.returncode == 0:
return True
e... | 28.121212 | 119 | 0.602371 | 102 | 928 | 5.45098 | 0.284314 | 0.151079 | 0.07554 | 0.097122 | 0.805755 | 0.805755 | 0.805755 | 0.805755 | 0.805755 | 0.805755 | 0 | 0.004552 | 0.289871 | 928 | 32 | 120 | 29 | 0.83915 | 0.021552 | 0 | 0.681818 | 0 | 0 | 0.057303 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.136364 | false | 0 | 0 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b5d3deacf5c21cef27a0319f550e1a2aa3b1b4e9 | 130 | py | Python | src/am_hackathon/control/__init__.py | augmentedfabricationlab/am_hackathon | 0adcf636d20ec715549de943d92d8f753db90e72 | [
"MIT"
] | null | null | null | src/am_hackathon/control/__init__.py | augmentedfabricationlab/am_hackathon | 0adcf636d20ec715549de943d92d8f753db90e72 | [
"MIT"
] | null | null | null | src/am_hackathon/control/__init__.py | augmentedfabricationlab/am_hackathon | 0adcf636d20ec715549de943d92d8f753db90e72 | [
"MIT"
] | null | null | null | from .clay_extruder_control import *
from .extruder_mixins import *
from .message_types import *
from .urscript_extrusion import * | 32.5 | 36 | 0.823077 | 17 | 130 | 6 | 0.588235 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 130 | 4 | 37 | 32.5 | 0.886957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b5d7a1d3c69712b9fb5094dbf2024e3e3d541133 | 23 | py | Python | metalang/__init__.py | Ejhfast/meta | 20f4cb4e30d90c6eb4754418a87c4266fbae43bf | [
"MIT"
] | 4 | 2016-08-31T19:44:29.000Z | 2016-11-22T17:45:51.000Z | metalang/__init__.py | Ejhfast/meta | 20f4cb4e30d90c6eb4754418a87c4266fbae43bf | [
"MIT"
] | 1 | 2016-08-31T19:55:01.000Z | 2016-08-31T20:06:58.000Z | metalang/__init__.py | Ejhfast/meta | 20f4cb4e30d90c6eb4754418a87c4266fbae43bf | [
"MIT"
] | null | null | null | from .core import Meta
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b5f2e5b07e4093025a1c03e3978556ab86046556 | 66 | py | Python | src/lib/cisc108/__init__.py | Skydler/skulpt | 6eeabde2c5eb80c4a13f0958b75a69d99cd31b8a | [
"MIT"
] | 4 | 2015-08-06T07:19:58.000Z | 2020-12-10T08:55:10.000Z | src/lib/cisc108/__init__.py | Skydler/skulpt | 6eeabde2c5eb80c4a13f0958b75a69d99cd31b8a | [
"MIT"
] | null | null | null | src/lib/cisc108/__init__.py | Skydler/skulpt | 6eeabde2c5eb80c4a13f0958b75a69d99cd31b8a | [
"MIT"
] | 2 | 2019-10-16T22:18:29.000Z | 2020-04-27T07:25:06.000Z | from cisc108.assertions import assert_equal, QUIET, student_tests
| 33 | 65 | 0.863636 | 9 | 66 | 6.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.090909 | 66 | 1 | 66 | 66 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bd15928d247872fef196a6808cbfcb7ea2e792c3 | 64 | py | Python | reshade/pooling/__init__.py | jamesjiang52/Reshade | ddc87424c50030b4606c4eb5ec61b4be1d4cad98 | [
"MIT"
] | null | null | null | reshade/pooling/__init__.py | jamesjiang52/Reshade | ddc87424c50030b4606c4eb5ec61b4be1d4cad98 | [
"MIT"
] | null | null | null | reshade/pooling/__init__.py | jamesjiang52/Reshade | ddc87424c50030b4606c4eb5ec61b4be1d4cad98 | [
"MIT"
] | null | null | null | from .average import *
from .l2norm import *
from .max import *
| 16 | 22 | 0.71875 | 9 | 64 | 5.111111 | 0.555556 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.1875 | 64 | 3 | 23 | 21.333333 | 0.865385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bd3c7693f7936f102177d08ca40433202d0eaaae | 6,269 | py | Python | loldib/getratings/models/NA/na_zyra/na_zyra_sup.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_zyra/na_zyra_sup.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_zyra/na_zyra_sup.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Zyra_Sup_Aatrox(Ratings):
pass
class NA_Zyra_Sup_Ahri(Ratings):
pass
class NA_Zyra_Sup_Akali(Ratings):
pass
class NA_Zyra_Sup_Alistar(Ratings):
pass
class NA_Zyra_Sup_Amumu(Ratings):
pass
class NA_Zyra_Sup_Anivia(Ratings):
pass
clas... | 15.033573 | 46 | 0.75642 | 972 | 6,269 | 4.452675 | 0.151235 | 0.223198 | 0.350739 | 0.446396 | 0.791359 | 0.791359 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177221 | 6,269 | 416 | 47 | 15.069712 | 0.839085 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
bd52208c8d2f5e8bbe29d3b3bb5c52f8ab4855fe | 189 | py | Python | MDSGAFIN.py | JohnJackal/Multi-scale-Dual-synthesis-Module-Generative-Adversarial-Frame-Interpolation-Network | b2a0a6a8967b1942265b2bf6d46c8b443dd1a2a5 | [
"MIT"
] | null | null | null | MDSGAFIN.py | JohnJackal/Multi-scale-Dual-synthesis-Module-Generative-Adversarial-Frame-Interpolation-Network | b2a0a6a8967b1942265b2bf6d46c8b443dd1a2a5 | [
"MIT"
] | null | null | null | MDSGAFIN.py | JohnJackal/Multi-scale-Dual-synthesis-Module-Generative-Adversarial-Frame-Interpolation-Network | b2a0a6a8967b1942265b2bf6d46c8b443dd1a2a5 | [
"MIT"
] | null | null | null | import DenseBlock
import torch
import torch.nn as nn
class MDSGAFIN(nn.Module):
def __init__(self,
channel = 3,
filter_size = 3):
pass | 21 | 35 | 0.550265 | 22 | 189 | 4.5 | 0.727273 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.386243 | 189 | 9 | 36 | 21 | 0.836207 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.125 | 0.375 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
1fe0e8b4eacbbfadcf67c896da0f4aed744421e2 | 37 | py | Python | server/data_access/__init__.py | SocialFinanceDigitalLabs/family-context-api | 22631e33834ba2db5426e48c2cf1c0a6a6af6df8 | [
"MIT"
] | 3 | 2020-01-28T11:31:09.000Z | 2020-01-31T11:18:42.000Z | server/data_access/__init__.py | SocialFinanceDigitalLabs/family-context-api | 22631e33834ba2db5426e48c2cf1c0a6a6af6df8 | [
"MIT"
] | 8 | 2020-01-06T17:41:39.000Z | 2020-01-09T16:57:07.000Z | Reference App/API/server/data_access/__init__.py | CSCDP/Family-Context-PrivateBeta | 9279e60ec59e733c7b8932a2eb3a2229cb09e3ca | [
"MIT-0"
] | 4 | 2020-03-31T15:41:47.000Z | 2022-01-23T16:31:02.000Z | from .csv import CsvSampleDataAccess
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1fe150d438d5cebeae179d6ba37a6b234018e095 | 33 | py | Python | ubvi/autograd/__init__.py | trevorcampbell/ubvi | a71c14c9a1d588702f157f83a50619647856fd8b | [
"MIT"
] | 5 | 2019-07-22T14:40:19.000Z | 2020-10-15T13:23:08.000Z | ubvi/autograd/__init__.py | trevorcampbell/ubvi | a71c14c9a1d588702f157f83a50619647856fd8b | [
"MIT"
] | 3 | 2019-10-02T20:22:56.000Z | 2019-10-04T20:34:44.000Z | ubvi/autograd/__init__.py | trevorcampbell/ubvi | a71c14c9a1d588702f157f83a50619647856fd8b | [
"MIT"
] | 2 | 2019-07-23T02:11:49.000Z | 2019-10-24T06:57:23.000Z | from .logsumexp import logsumexp
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1f007b50c48f3918aa016385f0906584fa67d951 | 1,202 | py | Python | src/tools/scripts/topology/cpu_topology.py | oslab-swrc/cytom | c4952843cc11cac64b421b7d47706d534b566208 | [
"MIT"
] | null | null | null | src/tools/scripts/topology/cpu_topology.py | oslab-swrc/cytom | c4952843cc11cac64b421b7d47706d534b566208 | [
"MIT"
] | null | null | null | src/tools/scripts/topology/cpu_topology.py | oslab-swrc/cytom | c4952843cc11cac64b421b7d47706d534b566208 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
NUM_SOCKET = 2
NUM_PHYSICAL_CPU_PER_SOCKET = 12
SMT_LEVEL = 2
OS_CPU_ID = {} # socket_id, physical_cpu_id, smt_id
OS_CPU_ID[0,0,0] = 0
OS_CPU_ID[0,0,1] = 24
OS_CPU_ID[0,1,0] = 1
OS_CPU_ID[0,1,1] = 25
OS_CPU_ID[0,2,0] = 2
OS_CPU_ID[0,2,1] = 26
OS_CPU_ID[0,3,0] = 3
OS_CPU_ID[0,3,1] = 27
OS_CPU_ID... | 21.087719 | 51 | 0.651414 | 362 | 1,202 | 1.864641 | 0.168508 | 0.37037 | 0.508148 | 0.284444 | 0.663704 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242044 | 0.137271 | 1,202 | 56 | 52 | 21.464286 | 0.408872 | 0.046589 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1f08a4ddeed351f6a56d4b745741b9392be8570f | 41 | py | Python | wsgi.py | tteeoo/directory | 826e7ce9c7b910f124a9def578f326c23c3e584c | [
"MIT"
] | null | null | null | wsgi.py | tteeoo/directory | 826e7ce9c7b910f124a9def578f326c23c3e584c | [
"MIT"
] | null | null | null | wsgi.py | tteeoo/directory | 826e7ce9c7b910f124a9def578f326c23c3e584c | [
"MIT"
] | null | null | null | from flask_app import app as application
| 20.5 | 40 | 0.853659 | 7 | 41 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 41 | 1 | 41 | 41 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1f1b42d3cee1fd13073f8d3239327fc9e1864a12 | 151 | py | Python | hire/admin.py | keeptrack/keeptrack | a84e437c76a22996ead4b044ea3d33f6fbae3906 | [
"MIT"
] | 1 | 2015-06-20T22:06:02.000Z | 2015-06-20T22:06:02.000Z | hire/admin.py | keeptrack/keeptrack | a84e437c76a22996ead4b044ea3d33f6fbae3906 | [
"MIT"
] | 2 | 2015-06-16T03:25:10.000Z | 2015-06-16T03:26:27.000Z | hire/admin.py | keeptrack/keeptrack | a84e437c76a22996ead4b044ea3d33f6fbae3906 | [
"MIT"
] | null | null | null | from django.contrib import admin
from hire.models import HireRequest
@admin.register(HireRequest)
class HireRequestAdmin(admin.ModelAdmin):
pass
| 18.875 | 41 | 0.81457 | 18 | 151 | 6.833333 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119205 | 151 | 7 | 42 | 21.571429 | 0.924812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
2f40691581dfcd335cfaaee2f6662b2693050c18 | 390 | py | Python | skrobot/models/__init__.py | t141/scikit-robot | 464df1269a305625a49bad1387b5d0032d2e3eb7 | [
"MIT"
] | null | null | null | skrobot/models/__init__.py | t141/scikit-robot | 464df1269a305625a49bad1387b5d0032d2e3eb7 | [
"MIT"
] | null | null | null | skrobot/models/__init__.py | t141/scikit-robot | 464df1269a305625a49bad1387b5d0032d2e3eb7 | [
"MIT"
] | null | null | null | # flake8: noqa
from skrobot.models.primitives import Annulus
from skrobot.models.primitives import Axis
from skrobot.models.primitives import Box
from skrobot.models.primitives import Cylinder
from skrobot.models.primitives import Sphere
from skrobot.models.fetch import Fetch
from skrobot.models.kuka import Kuka
from... | 30 | 46 | 0.84359 | 56 | 390 | 5.875 | 0.285714 | 0.300912 | 0.465046 | 0.410334 | 0.50152 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008596 | 0.105128 | 390 | 12 | 47 | 32.5 | 0.934097 | 0.030769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2f653b9be6e6ee6f3a6054949939fd7acfbae083 | 94 | py | Python | src/larksuiteoapi/api/__init__.py | keeperlibofan/oapi-sdk-python | 5743dd34eb0bfc30693e9b6e6f5cf35ac82edb26 | [
"Apache-2.0"
] | 50 | 2021-04-11T05:24:10.000Z | 2022-03-29T10:14:13.000Z | src/larksuiteoapi/api/__init__.py | keeperlibofan/oapi-sdk-python | 5743dd34eb0bfc30693e9b6e6f5cf35ac82edb26 | [
"Apache-2.0"
] | 20 | 2021-04-07T15:17:44.000Z | 2022-03-23T06:27:12.000Z | src/larksuiteoapi/api/__init__.py | keeperlibofan/oapi-sdk-python | 5743dd34eb0bfc30693e9b6e6f5cf35ac82edb26 | [
"Apache-2.0"
] | 8 | 2021-04-25T15:02:17.000Z | 2022-03-13T15:00:59.000Z | # -*- coding: UTF-8 -*-
from .request import *
from .response import *
from .tokens import *
| 15.666667 | 23 | 0.648936 | 12 | 94 | 5.083333 | 0.666667 | 0.327869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.191489 | 94 | 5 | 24 | 18.8 | 0.789474 | 0.223404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
85dc0b301a6941c4101ba0998a872b96932829e8 | 3,877 | gyp | Python | binding.gyp | medooze/audio-codecs-node | b4c87a7638405d3c1521d1b366de1f346ac76cdc | [
"MIT"
] | 5 | 2019-03-06T10:14:50.000Z | 2022-03-21T08:17:57.000Z | binding.gyp | medooze/audio-codecs-node | b4c87a7638405d3c1521d1b366de1f346ac76cdc | [
"MIT"
] | 2 | 2019-03-28T21:17:31.000Z | 2021-02-17T10:32:59.000Z | binding.gyp | medooze/audio-codecs-node | b4c87a7638405d3c1521d1b366de1f346ac76cdc | [
"MIT"
] | 4 | 2019-10-14T05:10:16.000Z | 2022-03-21T08:18:00.000Z | {
'variables':
{
'external_libmediaserver%' : '<!(echo $LIBMEDIASERVER)',
'external_libmediaserver_include_dirs%' : '<!(echo $LIBMEDIASERVER_INCLUDE)',
},
"targets":
[
{
"target_name": "medooze-audio-codecs",
"cflags":
[
"-march=native",
"-fexceptions",
"-O3",
"-g",
"-Wno-unus... | 28.932836 | 82 | 0.574929 | 387 | 3,877 | 5.648579 | 0.307494 | 0.211345 | 0.243367 | 0.202196 | 0.408966 | 0.162855 | 0.162855 | 0.162855 | 0.162855 | 0.162855 | 0 | 0.016304 | 0.24065 | 3,877 | 133 | 83 | 29.150376 | 0.726223 | 0.014702 | 0 | 0.234375 | 0 | 0 | 0.655308 | 0.441153 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c0c6a5ded3717e497fbddd7c0ffd2f5021079f46 | 162 | py | Python | fileattachments/admin.py | ktshen/happypatent | ddb6e87041cb0c38887464627228150da614c4c0 | [
"MIT"
] | null | null | null | fileattachments/admin.py | ktshen/happypatent | ddb6e87041cb0c38887464627228150da614c4c0 | [
"MIT"
] | null | null | null | fileattachments/admin.py | ktshen/happypatent | ddb6e87041cb0c38887464627228150da614c4c0 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import FileAttachment
@admin.register(FileAttachment)
class FileAttachmentModelAdmin(admin.ModelAdmin):
pass
| 18 | 49 | 0.820988 | 17 | 162 | 7.823529 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117284 | 162 | 8 | 50 | 20.25 | 0.93007 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
c0fa3831d210e07b9400d98bb73d10e2ed768e08 | 3,512 | py | Python | tests/test_utils.py | NRodriguezcuellar/invenio-records-rest | c4a3717afcf9b08b6e42f3529addecc64bb2e47c | [
"MIT"
] | 5 | 2017-10-22T00:13:49.000Z | 2019-10-04T11:35:18.000Z | tests/test_utils.py | NRodriguezcuellar/invenio-records-rest | c4a3717afcf9b08b6e42f3529addecc64bb2e47c | [
"MIT"
] | 221 | 2015-10-30T23:27:52.000Z | 2022-03-07T13:17:55.000Z | tests/test_utils.py | NRodriguezcuellar/invenio-records-rest | c4a3717afcf9b08b6e42f3529addecc64bb2e47c | [
"MIT"
] | 60 | 2015-10-30T22:43:27.000Z | 2022-02-10T10:08:08.000Z | # -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2016-2018 CERN.
#
# Invenio is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
"""Utils tests."""
from __future__ import absolute_import, print_function
import p... | 27.873016 | 75 | 0.616743 | 377 | 3,512 | 5.411141 | 0.220159 | 0.176471 | 0.146569 | 0.093137 | 0.746569 | 0.746569 | 0.746569 | 0.728431 | 0.713235 | 0.704412 | 0 | 0.006651 | 0.27221 | 3,512 | 125 | 76 | 28.096 | 0.791471 | 0.066344 | 0 | 0.777778 | 0 | 0 | 0.083869 | 0.01408 | 0 | 0 | 0 | 0 | 0.070707 | 1 | 0.060606 | false | 0 | 0.040404 | 0 | 0.10101 | 0.010101 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
23e9bb5409ed8d03c6830ea5888408e9e601f7ba | 11,260 | py | Python | cogs/server.py | VegaSera/SWNDiscordBot2 | cb73b9d51591b6af9f2a1a603ea0dd8a7161020c | [
"MIT"
] | 2 | 2020-09-08T18:08:55.000Z | 2021-06-22T17:13:32.000Z | cogs/server.py | VegaSera/SWNDiscordBot2 | cb73b9d51591b6af9f2a1a603ea0dd8a7161020c | [
"MIT"
] | null | null | null | cogs/server.py | VegaSera/SWNDiscordBot2 | cb73b9d51591b6af9f2a1a603ea0dd8a7161020c | [
"MIT"
] | 1 | 2020-06-30T19:12:27.000Z | 2020-06-30T19:12:27.000Z | from discord.ext import commands
import discord
from cogs.server_helpers import server_utils
class Server(commands.Cog):
"""A collection of discord server management tools"""
def __init__(self, client):
self.hidden = False
self.client = client
self.short_desc = "A collection of discor... | 72.179487 | 145 | 0.609503 | 1,434 | 11,260 | 4.762901 | 0.123431 | 0.038653 | 0.054758 | 0.070864 | 0.834993 | 0.834993 | 0.809224 | 0.78858 | 0.769839 | 0.762225 | 0 | 0.007724 | 0.310124 | 11,260 | 155 | 146 | 72.645161 | 0.871524 | 0.089964 | 0 | 0.575758 | 0 | 0.045455 | 0.36138 | 0.003296 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015152 | false | 0 | 0.022727 | 0 | 0.045455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
23ea52b7477d1534171c30f60eb59d42dcfbb175 | 23,576 | py | Python | tests/test_rtcpeerconnection.py | it-svit/aiortc | 9a301db201c14d6b61f1fcdcb550fa05055463c8 | [
"BSD-3-Clause"
] | null | null | null | tests/test_rtcpeerconnection.py | it-svit/aiortc | 9a301db201c14d6b61f1fcdcb550fa05055463c8 | [
"BSD-3-Clause"
] | null | null | null | tests/test_rtcpeerconnection.py | it-svit/aiortc | 9a301db201c14d6b61f1fcdcb550fa05055463c8 | [
"BSD-3-Clause"
] | null | null | null | import asyncio
from unittest import TestCase
from aiortc import RTCPeerConnection, RTCSessionDescription
from aiortc.exceptions import (InternalError, InvalidAccessError,
InvalidStateError)
from aiortc.mediastreams import (AudioStreamTrack, MediaStreamTrack,
... | 40.163543 | 95 | 0.651977 | 2,362 | 23,576 | 6.446655 | 0.080017 | 0.137913 | 0.050831 | 0.069351 | 0.797925 | 0.762067 | 0.746306 | 0.717673 | 0.711302 | 0.701977 | 0 | 0.020932 | 0.227944 | 23,576 | 586 | 96 | 40.232082 | 0.815625 | 0.030327 | 0 | 0.649321 | 0 | 0 | 0.137097 | 0.009423 | 0 | 0 | 0 | 0 | 0.506787 | 1 | 0.054299 | false | 0.00905 | 0.0181 | 0 | 0.08371 | 0.0181 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f1b5f00a8c8b9b900c7e2202841fa89538119955 | 5,489 | py | Python | tests/test_operon_analyzer/test_reannotation.py | caacree/Opfi | 00650ff83e4fa5a4a782f6f7f48e744e36f45098 | [
"MIT"
] | 15 | 2021-08-18T18:11:39.000Z | 2022-03-30T05:34:03.000Z | tests/test_operon_analyzer/test_reannotation.py | caacree/Opfi | 00650ff83e4fa5a4a782f6f7f48e744e36f45098 | [
"MIT"
] | 14 | 2021-09-02T20:41:43.000Z | 2021-10-05T19:06:39.000Z | tests/test_operon_analyzer/test_reannotation.py | caacree/Opfi | 00650ff83e4fa5a4a782f6f7f48e744e36f45098 | [
"MIT"
] | 5 | 2021-07-08T18:16:03.000Z | 2022-03-04T17:04:52.000Z | from operon_analyzer import reannotation, genes
from common import get_standard_operon
def test_reannotate_operon():
operon = get_standard_operon()
f1 = genes.Feature('CRISPR Cas1', (12, 400), '', 1, '', 4e-20, 'awesome protein', 'MCGYVERS')
f2 = genes.Feature('DNA polymerase', (410, 600), '', 1, '', 4e-... | 56.587629 | 138 | 0.616141 | 673 | 5,489 | 4.927192 | 0.105498 | 0.086852 | 0.036188 | 0.086852 | 0.897467 | 0.88661 | 0.860977 | 0.860977 | 0.860977 | 0.829312 | 0 | 0.097027 | 0.185097 | 5,489 | 96 | 139 | 57.177083 | 0.64431 | 0 | 0 | 0.675325 | 0 | 0 | 0.267444 | 0.026781 | 0 | 0 | 0 | 0 | 0.064935 | 1 | 0.064935 | false | 0 | 0.025974 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7b02ee0535cc530af9eaecc5d84e4d5569f039f9 | 800 | py | Python | src/genie/libs/parser/asa/tests/ShowArp/cli/equal/golden_output_expected.py | nujo/genieparser | 083b01efc46afc32abe1a1858729578beab50cd3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/asa/tests/ShowArp/cli/equal/golden_output_expected.py | nujo/genieparser | 083b01efc46afc32abe1a1858729578beab50cd3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/asa/tests/ShowArp/cli/equal/golden_output_expected.py | nujo/genieparser | 083b01efc46afc32abe1a1858729578beab50cd3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"outside": {
"ipv4": {
"neighbors": {
"10.10.1.1": {
"ip": "10.10.1.1",
"link_layer_address": "aa11.bbff.ee55",
"age": "alias",
},
"10.10.1.1/1": {
... | 25.806452 | 59 | 0.27375 | 62 | 800 | 3.403226 | 0.322581 | 0.066351 | 0.14218 | 0.170616 | 0.748815 | 0.748815 | 0.748815 | 0.701422 | 0.549763 | 0.549763 | 0 | 0.165266 | 0.55375 | 800 | 30 | 60 | 26.666667 | 0.42577 | 0 | 0 | 0.4 | 0 | 0 | 0.2875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9e38ced2bd94b8224c60dc343ee9655ad1edae43 | 38 | py | Python | tests/unit/test_modulegraph/testpkg-regr3/script.py | hawkhai/pyinstaller | 016a24479b34de161792c72dde455a81ad4c78ae | [
"Apache-2.0"
] | 9,267 | 2015-01-01T04:08:45.000Z | 2022-03-31T11:42:38.000Z | tests/unit/test_modulegraph/testpkg-regr3/script.py | jeremysanders/pyinstaller | 321b24f9a9a5978337735816b36ca6b4a90a2fb4 | [
"Apache-2.0"
] | 5,150 | 2015-01-01T12:09:56.000Z | 2022-03-31T18:06:12.000Z | tests/unit/test_modulegraph/testpkg-regr3/script.py | jeremysanders/pyinstaller | 321b24f9a9a5978337735816b36ca6b4a90a2fb4 | [
"Apache-2.0"
] | 2,101 | 2015-01-03T10:25:27.000Z | 2022-03-30T11:04:42.000Z | from mypkg.distutils import ccompiler
| 19 | 37 | 0.868421 | 5 | 38 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.970588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9e3d74e8374ad6704de3fbf578141bd93dc57560 | 43 | py | Python | vnpy/gateway/huobi/__init__.py | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 323 | 2015-11-21T14:45:29.000Z | 2022-03-16T08:54:37.000Z | vnpy/gateway/huobi/__init__.py | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 9 | 2017-03-21T08:26:21.000Z | 2021-08-23T06:41:17.000Z | vnpy/gateway/huobi/__init__.py | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 148 | 2016-09-26T03:25:39.000Z | 2022-02-06T14:43:48.000Z | from .huobi_gateway import HuobiGateway
| 8.6 | 39 | 0.813953 | 5 | 43 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 4 | 40 | 10.75 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9e5ce014dbbfb39d3885e61c95822773c13c2de6 | 190 | py | Python | exp/exception.py | codeHauler-1/pyhikvision | 043b3cf6a5af48eb0252f40feface4ed044af90b | [
"Apache-2.0"
] | 4 | 2021-03-03T14:16:34.000Z | 2022-03-19T02:55:41.000Z | exp/exception.py | codeHauler-1/pyhikvision | 043b3cf6a5af48eb0252f40feface4ed044af90b | [
"Apache-2.0"
] | 1 | 2021-09-13T15:30:57.000Z | 2021-09-15T03:11:59.000Z | exp/exception.py | codeHauler-1/pyhikvision | 043b3cf6a5af48eb0252f40feface4ed044af90b | [
"Apache-2.0"
] | null | null | null | from .errCode import codeDict
class HiKException(Exception):
def __init__(self, code):
self.code = code
def __str__(self):
return codeDict.get(self.code)
| 19 | 39 | 0.636842 | 22 | 190 | 5.136364 | 0.636364 | 0.212389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.273684 | 190 | 9 | 40 | 21.111111 | 0.818841 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7b465d5c8793f3696823e55084c0965aff43fd84 | 164 | py | Python | file_converters/ifcjson/__init__.py | IFCJSON-Team/IFC.JSON | 6d9b961e343e329f29c007b92f58af2fa8d0bc40 | [
"MIT"
] | 60 | 2020-11-30T19:11:55.000Z | 2022-03-22T22:25:01.000Z | file_converters/ifcjson/__init__.py | IFCJSON-Team/ifcJSON | 959563d290b2af2521a276ccab34d117ebb1931f | [
"MIT"
] | 9 | 2021-02-01T12:49:17.000Z | 2022-03-27T00:40:31.000Z | file_converters/ifcjson/__init__.py | IFCJSON-Team/ifcJSON | 959563d290b2af2521a276ccab34d117ebb1931f | [
"MIT"
] | 15 | 2021-02-15T11:54:30.000Z | 2022-02-11T05:15:51.000Z | from ifcjson.ifc2json4 import IFC2JSON4
from ifcjson.ifc2json5a import IFC2JSON5a
from ifcjson.reader import IFCJSON
# from ifcjson.to_ifcopenshell import JSON2IFC
| 32.8 | 46 | 0.865854 | 21 | 164 | 6.714286 | 0.428571 | 0.312057 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 0.103659 | 164 | 4 | 47 | 41 | 0.897959 | 0.268293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7b762061609c622042c9ffe35e4a9d3c023dffac | 17,706 | gyp | Python | gyp/gpu.gyp | Shouqun/node-skia | d2f6bf4443ac8f733f18ed9e80b0295b88c031b9 | [
"MIT"
] | 20 | 2015-03-15T22:42:36.000Z | 2021-04-28T21:34:05.000Z | gyp/gpu.gyp | Shouqun/node-skia | d2f6bf4443ac8f733f18ed9e80b0295b88c031b9 | [
"MIT"
] | 1 | 2017-01-19T05:40:33.000Z | 2017-01-19T05:40:33.000Z | gyp/gpu.gyp | Shouqun/node-skia | d2f6bf4443ac8f733f18ed9e80b0295b88c031b9 | [
"MIT"
] | null | null | null | {
'includes': [
'common.gypi',
],
'target_defaults': {
'conditions': [
['skia_os != "win"', {
'sources/': [ ['exclude', '_win.(h|cpp)$'],
],
}],
['skia_os != "mac"', {
'sources/': [ ['exclude', '_mac.(h|cpp)$'],
],
}],
['skia_os != "linux"', {
... | 36.35729 | 77 | 0.534847 | 1,902 | 17,706 | 4.915878 | 0.119874 | 0.201925 | 0.216471 | 0.272513 | 0.785348 | 0.543743 | 0.320321 | 0.228021 | 0.167273 | 0.159358 | 0 | 0.002346 | 0.253756 | 17,706 | 486 | 78 | 36.432099 | 0.70529 | 0.009375 | 0 | 0.457516 | 0 | 0 | 0.662389 | 0.574036 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7b8ce908af157fd7b99484cd4a32cdbae732f3fe | 176 | py | Python | tests/models.py | incuna/incuna-test-utils | 8eac4064ba349a32b70b8f6db8f43d102d9cba6c | [
"BSD-2-Clause"
] | 8 | 2015-01-02T09:10:16.000Z | 2018-04-26T12:44:13.000Z | tests/models.py | incuna/incuna-test-utils | 8eac4064ba349a32b70b8f6db8f43d102d9cba6c | [
"BSD-2-Clause"
] | 25 | 2015-01-29T16:59:12.000Z | 2020-05-15T16:43:31.000Z | tests/models.py | incuna/incuna-test-utils | 8eac4064ba349a32b70b8f6db8f43d102d9cba6c | [
"BSD-2-Clause"
] | 1 | 2017-07-04T11:17:28.000Z | 2017-07-04T11:17:28.000Z | from django.db import models
class User(models.Model):
email = models.CharField(max_length=255)
name = models.CharField(max_length=255)
USERNAME_FIELD = 'email'
| 19.555556 | 44 | 0.727273 | 24 | 176 | 5.208333 | 0.666667 | 0.24 | 0.288 | 0.384 | 0.432 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041096 | 0.170455 | 176 | 8 | 45 | 22 | 0.815068 | 0 | 0 | 0 | 0 | 0 | 0.028409 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
7b9e0aa578fa070722650832e4f50a256aa4c080 | 101 | py | Python | python/challenges/array_shift/array_shift.py | Saraaltaweel/data-structures-and-algorithms | 2cacfd97361e6763fd74158dec34da21e4964128 | [
"MIT"
] | null | null | null | python/challenges/array_shift/array_shift.py | Saraaltaweel/data-structures-and-algorithms | 2cacfd97361e6763fd74158dec34da21e4964128 | [
"MIT"
] | null | null | null | python/challenges/array_shift/array_shift.py | Saraaltaweel/data-structures-and-algorithms | 2cacfd97361e6763fd74158dec34da21e4964128 | [
"MIT"
] | null | null | null | def insertShiftArray(list,val):
list[int(len(list)/2):int(len(list)/2)] = [val]
return list
| 20.2 | 51 | 0.643564 | 16 | 101 | 4.0625 | 0.5 | 0.184615 | 0.307692 | 0.338462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023529 | 0.158416 | 101 | 4 | 52 | 25.25 | 0.741176 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 6 |
7bcef50bda30bd590ffea365aad37d85c0185eee | 535 | py | Python | tests/raml/preprocessing/test_train_test_split.py | Mathemmagician/raML | 21da54ac520e4de148c3473770b81938f8cd634b | [
"MIT"
] | 2 | 2020-10-25T22:30:44.000Z | 2020-11-07T15:42:16.000Z | tests/raml/preprocessing/test_train_test_split.py | Mathemmagician/raML | 21da54ac520e4de148c3473770b81938f8cd634b | [
"MIT"
] | null | null | null | tests/raml/preprocessing/test_train_test_split.py | Mathemmagician/raML | 21da54ac520e4de148c3473770b81938f8cd634b | [
"MIT"
] | null | null | null |
from raml.preprocessing.train_test_split import _process_ratio, train_test_split
def test_process_ratio():
assert _process_ratio('80-20') == [0.8, 0.2]
assert _process_ratio('80/20') == [0.8, 0.2]
assert _process_ratio('80 20') == [0.8, 0.2]
assert _process_ratio('60/20/20') == [0.6, 0.2, 0.2]
a... | 26.75 | 80 | 0.624299 | 100 | 535 | 3.09 | 0.27 | 0.349515 | 0.407767 | 0.242718 | 0.491909 | 0.368932 | 0.31068 | 0.31068 | 0.31068 | 0.31068 | 0 | 0.164009 | 0.179439 | 535 | 19 | 81 | 28.157895 | 0.539863 | 0 | 0 | 0 | 0 | 0 | 0.058161 | 0 | 0 | 0 | 0 | 0 | 0.636364 | 1 | 0.181818 | true | 0.090909 | 0.090909 | 0 | 0.272727 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
c8c46a55f347112586d621c2e64a420e599bf20e | 40 | py | Python | covfee/rest_api/__init__.py | josedvq/covfee | 48b50332cad7d05128820eb87c7c7a7032e85b09 | [
"Apache-2.0"
] | 4 | 2021-03-29T10:59:53.000Z | 2022-02-05T20:33:28.000Z | covfee/rest_api/__init__.py | josedvq/covfee | 48b50332cad7d05128820eb87c7c7a7032e85b09 | [
"Apache-2.0"
] | null | null | null | covfee/rest_api/__init__.py | josedvq/covfee | 48b50332cad7d05128820eb87c7c7a7032e85b09 | [
"Apache-2.0"
] | null | null | null | from .api import api
from .auth import * | 20 | 20 | 0.75 | 7 | 40 | 4.285714 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 2 | 21 | 20 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cdc8b2fb72e798475c22653dc4ca9ae3a6b02917 | 153 | py | Python | tests/__init__.py | caltech-netlab/gym-acnportal | cacd2e4aa9159a3bf7f0b8e3db2dbb0832d76e46 | [
"BSD-3-Clause"
] | null | null | null | tests/__init__.py | caltech-netlab/gym-acnportal | cacd2e4aa9159a3bf7f0b8e3db2dbb0832d76e46 | [
"BSD-3-Clause"
] | 3 | 2021-04-28T14:43:32.000Z | 2021-04-28T14:58:04.000Z | tests/__init__.py | sunash/gym-acnportal | cacd2e4aa9159a3bf7f0b8e3db2dbb0832d76e46 | [
"BSD-3-Clause"
] | 1 | 2020-05-12T19:13:51.000Z | 2020-05-12T19:13:51.000Z | # coding=utf-8
"""
Tests for gym-acnportal.
TODO: This module copies data from acnportal. Should this instead be
accessed directly from acnportal?
"""
| 19.125 | 68 | 0.751634 | 22 | 153 | 5.227273 | 0.818182 | 0.226087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 0.156863 | 153 | 7 | 69 | 21.857143 | 0.883721 | 0.934641 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.142857 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cdd900d3fb1604021dafd0d3f89e38e4f8d0c1f6 | 58 | py | Python | kinetick/lib/indicators/__init__.py | ShabbirHasan1/kinetick | 9846210535e4f86bbac3611ff7883fd89103fb53 | [
"Apache-2.0"
] | 14 | 2021-09-02T05:02:05.000Z | 2022-03-20T10:00:55.000Z | kinetick/lib/indicators/__init__.py | aWFtbGVnaW9u/kinetick | 2562a666ff57e72d1314e053db415d2873b8f71f | [
"Apache-2.0"
] | 2 | 2021-10-17T15:20:22.000Z | 2022-01-09T05:39:42.000Z | kinetick/lib/indicators/__init__.py | aWFtbGVnaW9u/kinetick | 2562a666ff57e72d1314e053db415d2873b8f71f | [
"Apache-2.0"
] | 12 | 2021-09-02T17:12:05.000Z | 2022-02-14T10:56:54.000Z | from .indicators import *
from .talib_indicators import *
| 19.333333 | 31 | 0.793103 | 7 | 58 | 6.428571 | 0.571429 | 0.711111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 58 | 2 | 32 | 29 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cde0cd9c8a596900a1414da7ed37be0785afbf77 | 329 | py | Python | SikuliScripts/ConnectScript.sikuli/ConnectScript.py | JabRef-628298/jabref-4.2 | ebf5ff3e1a22ec5881de001a1fbc9214d3c1348d | [
"MIT"
] | null | null | null | SikuliScripts/ConnectScript.sikuli/ConnectScript.py | JabRef-628298/jabref-4.2 | ebf5ff3e1a22ec5881de001a1fbc9214d3c1348d | [
"MIT"
] | null | null | null | SikuliScripts/ConnectScript.sikuli/ConnectScript.py | JabRef-628298/jabref-4.2 | ebf5ff3e1a22ec5881de001a1fbc9214d3c1348d | [
"MIT"
] | null | null | null | App.open("java -jar C:/JabRef-4.2-fat.jar")
wait(30)
click("1529632189350.png")
wait(2)
click("1529632296782.png")
wait(2)
click("1529632312432.png")
wait(2)
click("1529632554435.png")
wait(2)
click("1529632574104.png")
wait(2)
click("1529632589427.png")
wait(2)
click("1529632601277.png")
wait(2)
click("1529632757740.p... | 14.954545 | 43 | 0.723404 | 50 | 329 | 4.76 | 0.42 | 0.205882 | 0.235294 | 0.382353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375817 | 0.069909 | 329 | 21 | 44 | 15.666667 | 0.401961 | 0 | 0 | 0.411765 | 0 | 0 | 0.513846 | 0.064615 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cdf0d893522327e67de1abb6bdf6eceaf1b32af3 | 49 | py | Python | openie/__init__.py | philipperemy/Stanford-OpenIE-Python | 58a346d9cf144c97fe22b756702ef925ad858b44 | [
"0BSD"
] | 366 | 2016-07-08T08:26:38.000Z | 2021-03-11T02:05:44.000Z | openie/__init__.py | Detry322/stanford-openie-python | 680d6c9f9fedbe7356fe7308d8e8c7790bf646ab | [
"0BSD"
] | 24 | 2016-12-23T11:31:04.000Z | 2021-03-12T06:28:44.000Z | openie/__init__.py | Detry322/stanford-openie-python | 680d6c9f9fedbe7356fe7308d8e8c7790bf646ab | [
"0BSD"
] | 80 | 2016-11-14T22:26:23.000Z | 2021-03-09T06:54:02.000Z | from openie.openie import StanfordOpenIE # noqa
| 24.5 | 48 | 0.816327 | 6 | 49 | 6.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 1 | 49 | 49 | 0.952381 | 0.081633 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a81a72454b16573ebacfda25a71679de18cc9da5 | 199 | py | Python | azext_script/compilers/az/__init__.py | yorek/adl | d9da1b7d46c71415e38a6efe5b1c8d45b02b3704 | [
"MIT"
] | null | null | null | azext_script/compilers/az/__init__.py | yorek/adl | d9da1b7d46c71415e38a6efe5b1c8d45b02b3704 | [
"MIT"
] | 1 | 2018-10-15T05:51:38.000Z | 2018-10-15T05:51:38.000Z | azext_script/compilers/az/__init__.py | yorek/adl | d9da1b7d46c71415e38a6efe5b1c8d45b02b3704 | [
"MIT"
] | 1 | 2018-10-18T18:41:02.000Z | 2018-10-18T18:41:02.000Z | from azext_script.compilers.Compiler import register_supported_target
from .transformer import ScriptTransformer
register_supported_target('az', ['az', 'azsh'], ScriptTransformer.ScriptTransformer)
| 39.8 | 84 | 0.849246 | 21 | 199 | 7.809524 | 0.619048 | 0.207317 | 0.280488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065327 | 199 | 4 | 85 | 49.75 | 0.88172 | 0 | 0 | 0 | 0 | 0 | 0.040201 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b5985f54c0c37c24e32b68e2e717dbedb6e9dc04 | 30 | py | Python | kwchecker/__init__.py | MoserMichael/kwchecker | 0897812db32628ccb90a32a369ee1542f3318979 | [
"MIT"
] | null | null | null | kwchecker/__init__.py | MoserMichael/kwchecker | 0897812db32628ccb90a32a369ee1542f3318979 | [
"MIT"
] | null | null | null | kwchecker/__init__.py | MoserMichael/kwchecker | 0897812db32628ccb90a32a369ee1542f3318979 | [
"MIT"
] | null | null | null |
from .kwchecker import *
| 5 | 25 | 0.633333 | 3 | 30 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3 | 30 | 5 | 26 | 6 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b5995f0f2ca5723de3826eef8838e26e9eb3a5df | 81 | py | Python | Code/src/proyecto/gui/__init__.py | ClaraPalacios/TFG-Sistema_de_recomendacion_Asignaturas_Optativas | 3fb6e31ede1d22a0d3a6f18a180b3a95028d9608 | [
"MIT"
] | null | null | null | Code/src/proyecto/gui/__init__.py | ClaraPalacios/TFG-Sistema_de_recomendacion_Asignaturas_Optativas | 3fb6e31ede1d22a0d3a6f18a180b3a95028d9608 | [
"MIT"
] | 79 | 2018-01-15T10:24:43.000Z | 2018-06-08T19:55:34.000Z | Code/src/proyecto/gui/__init__.py | ClaraPalacios/TFG-Sistema_de_recomendacion_Asignaturas_Optativas | 3fb6e31ede1d22a0d3a6f18a180b3a95028d9608 | [
"MIT"
] | null | null | null | from proyecto.gui.Autenticacion.VentanaAutenticacion import VentanaAutenticacion
| 40.5 | 80 | 0.91358 | 7 | 81 | 10.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049383 | 81 | 1 | 81 | 81 | 0.961039 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8d0f8d0909d269f4cee4801f0276efb67986618b | 113 | py | Python | netket/graph/__init__.py | ChenAo-Phys/netket | df3735993962ca6318dee0b86a5d15a9d37c9881 | [
"Apache-2.0"
] | null | null | null | netket/graph/__init__.py | ChenAo-Phys/netket | df3735993962ca6318dee0b86a5d15a9d37c9881 | [
"Apache-2.0"
] | 9 | 2022-01-14T10:25:14.000Z | 2022-03-30T10:19:59.000Z | netket/graph/__init__.py | yannra/netket | 7adc7ba04ff8e912629952cf4fa0e3f27148c424 | [
"Apache-2.0"
] | null | null | null | from .abstract_graph import AbstractGraph
from .graph import *
from .grid import *
from .lattice import Lattice
| 18.833333 | 41 | 0.79646 | 15 | 113 | 5.933333 | 0.466667 | 0.247191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150442 | 113 | 5 | 42 | 22.6 | 0.927083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8d3ed04d708fdf05020b31939fedde0a6a7bf0ca | 28 | py | Python | code/model/awd/__init__.py | JiwanChung/tapm | ec42b139d1c012daccc55f85e67744488d526476 | [
"MIT"
] | 14 | 2021-07-14T13:36:52.000Z | 2022-02-05T06:41:27.000Z | code/model/awd/__init__.py | JiwanChung/tapm | ec42b139d1c012daccc55f85e67744488d526476 | [
"MIT"
] | 11 | 2021-06-11T13:59:11.000Z | 2022-03-25T03:57:46.000Z | code/model/awd/__init__.py | JiwanChung/tapm | ec42b139d1c012daccc55f85e67744488d526476 | [
"MIT"
] | 4 | 2021-08-12T15:47:07.000Z | 2022-02-05T08:00:08.000Z | from .model import RNNModel
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.