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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
17a4c2ac13a95a45b99d8c7364abdf776993cb59 | 205 | py | Python | Phaserveur/modules/default_s.py | rudilol/PHAServer | e372ce53962eae517e12de4458540cbb553a905d | [
"Apache-2.0"
] | null | null | null | Phaserveur/modules/default_s.py | rudilol/PHAServer | e372ce53962eae517e12de4458540cbb553a905d | [
"Apache-2.0"
] | null | null | null | Phaserveur/modules/default_s.py | rudilol/PHAServer | e372ce53962eae517e12de4458540cbb553a905d | [
"Apache-2.0"
] | null | null | null | import sys
import os
from time import sleep
from core.system import *
from modules.php import *
from modules.pyweb import *
def default_s():
if os.path.exists(bpath+"php"):
php()
else:
pyweb() | 17.083333 | 33 | 0.702439 | 32 | 205 | 4.46875 | 0.59375 | 0.13986 | 0.237762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190244 | 205 | 12 | 34 | 17.083333 | 0.861446 | 0 | 0 | 0 | 0 | 0 | 0.014563 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | true | 0 | 0.545455 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
bd569d9594457d0c2645224a46a6e5f1290edb3b | 2,267 | py | Python | test/test_systembundles_api.py | yumimobi/graylog.py | 3118f4a49c91c2cbbd660523b0ab99e56fbfd861 | [
"Apache-2.0"
] | 10 | 2016-09-27T08:13:22.000Z | 2018-09-04T13:15:42.000Z | test/test_systembundles_api.py | yumimobi/graylog.py | 3118f4a49c91c2cbbd660523b0ab99e56fbfd861 | [
"Apache-2.0"
] | 1 | 2019-08-28T16:16:09.000Z | 2019-08-28T16:16:09.000Z | test/test_systembundles_api.py | yumimobi/graylog.py | 3118f4a49c91c2cbbd660523b0ab99e56fbfd861 | [
"Apache-2.0"
] | 5 | 2016-11-03T07:45:18.000Z | 2021-08-19T14:21:49.000Z | # coding: utf-8
"""
No descripton provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.1.1+01d50e5
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you m... | 22.009709 | 104 | 0.641817 | 279 | 2,267 | 5.086022 | 0.44086 | 0.034531 | 0.054264 | 0.073996 | 0.221283 | 0.085976 | 0.053559 | 0 | 0 | 0 | 0 | 0.00808 | 0.290251 | 2,267 | 102 | 105 | 22.22549 | 0.873835 | 0.512131 | 0 | 0.285714 | 1 | 0 | 0.009732 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.321429 | false | 0.285714 | 0.25 | 0 | 0.607143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
bd58696aa7322c91d1cf594ca3e61567228be99e | 31 | py | Python | src/test/resources/files/binaryExpressionRHS.py | rendner/py-prefix-fstring-plugin | c2e2ca7cca1b3833e988543fda5bce05c6860309 | [
"MIT"
] | null | null | null | src/test/resources/files/binaryExpressionRHS.py | rendner/py-prefix-fstring-plugin | c2e2ca7cca1b3833e988543fda5bce05c6860309 | [
"MIT"
] | null | null | null | src/test/resources/files/binaryExpressionRHS.py | rendner/py-prefix-fstring-plugin | c2e2ca7cca1b3833e988543fda5bce05c6860309 | [
"MIT"
] | 1 | 2021-05-24T09:32:06.000Z | 2021-05-24T09:32:06.000Z | x = 'hello' + ' world {<caret>' | 31 | 31 | 0.516129 | 4 | 31 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 31 | 1 | 31 | 31 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0.625 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bd6689e060316f7464d214b143994a2fbf8d482a | 218 | py | Python | src/ros_wrapper/__init__.py | Ram2301/rik | c36fa7edf725199d1ab913e83d07f2ae647ea32d | [
"MIT"
] | 1 | 2021-01-20T01:28:56.000Z | 2021-01-20T01:28:56.000Z | src/ros_wrapper/__init__.py | Ram2301/rik | c36fa7edf725199d1ab913e83d07f2ae647ea32d | [
"MIT"
] | null | null | null | src/ros_wrapper/__init__.py | Ram2301/rik | c36fa7edf725199d1ab913e83d07f2ae647ea32d | [
"MIT"
] | null | null | null | #!/usr/bin/env python
"""
RIK module description TODO!
"""
## __init__.py.py
## Created on: 03.01.2019
## By: Nikoaly Dema
## Email: ndema2301@gmail.com
## python 2.7
from ros_wrapper import *
| 14.533333 | 36 | 0.605505 | 30 | 218 | 4.233333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084848 | 0.243119 | 218 | 14 | 37 | 15.571429 | 0.684848 | 0.747706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
bd8870b54a8bdb860650336efc4b14ff718ceaeb | 160 | py | Python | vizdoomaze/envs/vizdoomazeone20.py | fanyuzeng/Vizdoomaze | 5b444f2d861c908c4d96ae374bcce660d364f22e | [
"MIT"
] | 3 | 2020-09-25T16:00:49.000Z | 2020-10-29T10:32:30.000Z | vizdoomaze/envs/vizdoomazeone20.py | fanyuzeng/Vizdoomaze | 5b444f2d861c908c4d96ae374bcce660d364f22e | [
"MIT"
] | null | null | null | vizdoomaze/envs/vizdoomazeone20.py | fanyuzeng/Vizdoomaze | 5b444f2d861c908c4d96ae374bcce660d364f22e | [
"MIT"
] | 1 | 2021-12-17T07:50:47.000Z | 2021-12-17T07:50:47.000Z | from vizdoomaze.envs.vizdoomenv import VizdoomEnv
class vizdoomazeOne20(VizdoomEnv):
def __init__(self):
super(vizdoomazeOne20, self).__init__(33) | 26.666667 | 49 | 0.76875 | 17 | 160 | 6.764706 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043796 | 0.14375 | 160 | 6 | 50 | 26.666667 | 0.79562 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
bd8c4c18304fa57f7b49f162e2777d02147b1f12 | 36 | py | Python | HKRNK/app.py | Sabyasachi-Seal/CodingInC | 66da9e0f34362ba8d0f41f271e2a410ccedb6fa6 | [
"MIT"
] | null | null | null | HKRNK/app.py | Sabyasachi-Seal/CodingInC | 66da9e0f34362ba8d0f41f271e2a410ccedb6fa6 | [
"MIT"
] | null | null | null | HKRNK/app.py | Sabyasachi-Seal/CodingInC | 66da9e0f34362ba8d0f41f271e2a410ccedb6fa6 | [
"MIT"
] | null | null | null | str = "ashish jangra"
print(True==1) | 18 | 21 | 0.694444 | 6 | 36 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.111111 | 36 | 2 | 22 | 18 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
bda23700f56f2fd935b97b0db6823d8e82b3b2de | 89 | py | Python | blah.py | sabinayim/cs3240-labdemo | b68cd65fa78ffac6f8290092f029d2a807e03b15 | [
"MIT"
] | null | null | null | blah.py | sabinayim/cs3240-labdemo | b68cd65fa78ffac6f8290092f029d2a807e03b15 | [
"MIT"
] | null | null | null | blah.py | sabinayim/cs3240-labdemo | b68cd65fa78ffac6f8290092f029d2a807e03b15 | [
"MIT"
] | null | null | null | # Sabina Yim
# sjy8hy
# lab5 activity 3
import helper.py
helper.blah("blahblahblah")
| 8.9 | 27 | 0.719101 | 12 | 89 | 5.333333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041096 | 0.179775 | 89 | 9 | 28 | 9.888889 | 0.835616 | 0.370787 | 0 | 0 | 0 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
bdb3d4536280b5488d2e29c385f67444656087d2 | 26,595 | py | Python | fairseq/models/viewmaker.py | dohe0342/fairseq | a3c34cada4023788be84676d86a176ea248546e9 | [
"MIT"
] | 3 | 2022-03-23T09:44:30.000Z | 2022-03-24T05:32:06.000Z | fairseq/models/viewmaker.py | dohe0342/fairseq | a3c34cada4023788be84676d86a176ea248546e9 | [
"MIT"
] | null | null | null | fairseq/models/viewmaker.py | dohe0342/fairseq | a3c34cada4023788be84676d86a176ea248546e9 | [
"MIT"
] | null | null | null | '''Core architecture and functionality of the viewmaker network.
Adapted from the transformer_net.py example below, using methods proposed in Johnson et al. 2016
Link:
https://github.com/pytorch/examples/blob/0c1654d6913f77f09c0505fb284d977d89c17c1a/fast_neural_style/neural_style/transformer_net.py
'''
import torch
i... | 43.173701 | 131 | 0.622185 | 3,475 | 26,595 | 4.609784 | 0.118273 | 0.036269 | 0.065547 | 0.027467 | 0.775392 | 0.757413 | 0.731381 | 0.709907 | 0.678507 | 0.648542 | 0 | 0.036679 | 0.272156 | 26,595 | 615 | 132 | 43.243902 | 0.790877 | 0.239707 | 0 | 0.454315 | 0 | 0 | 0.014416 | 0.002436 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081218 | false | 0.005076 | 0.017767 | 0 | 0.175127 | 0.002538 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bdbb08eee0a862734f31da8075ce7ed5e4c6fd09 | 1,321 | py | Python | tests/news_test.py | Aimee-pacy/NEWS | 2b8afa2af5e5fe5ce5e91c43bcbb7c518606a43f | [
"Unlicense"
] | null | null | null | tests/news_test.py | Aimee-pacy/NEWS | 2b8afa2af5e5fe5ce5e91c43bcbb7c518606a43f | [
"Unlicense"
] | null | null | null | tests/news_test.py | Aimee-pacy/NEWS | 2b8afa2af5e5fe5ce5e91c43bcbb7c518606a43f | [
"Unlicense"
] | null | null | null | import unittest
from app.models import Article
class ArticleTest(unittest.TestCase):
'''
Test class to test the behaviour of the Article class
'''
def setUp(self):
'''
Set up method that will run before every Test
'''
self.new_article = Article("Tom McCarthy","Republican... | 69.526316 | 921 | 0.7676 | 182 | 1,321 | 5.510989 | 0.747253 | 0.023928 | 0.027916 | 0.041874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087032 | 0.130204 | 1,321 | 19 | 922 | 69.526316 | 0.78329 | 0.074943 | 0 | 0 | 0 | 0.444444 | 0.736486 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.222222 | false | 0 | 0.222222 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
da2ee5123654911bc111360f1d9cbd25e626d74a | 64 | py | Python | src/git_whatsup/__main__.py | rsumner31/git-whatsup-2 | 11186469854bed1826bf81eaaabb0fe235b48c4b | [
"MIT"
] | null | null | null | src/git_whatsup/__main__.py | rsumner31/git-whatsup-2 | 11186469854bed1826bf81eaaabb0fe235b48c4b | [
"MIT"
] | null | null | null | src/git_whatsup/__main__.py | rsumner31/git-whatsup-2 | 11186469854bed1826bf81eaaabb0fe235b48c4b | [
"MIT"
] | null | null | null | if __name__ == '__main__':
__import__('git_whatsup').main()
| 21.333333 | 36 | 0.671875 | 7 | 64 | 4.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 64 | 2 | 37 | 32 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0.296875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
da49fe6a823c783015856b722dfcb2e15e462cfb | 1,034 | py | Python | semana-09/VPL-6/interfaces/abstractElevador.py | larissajusten/ufsc-object-oriented-programming | 839e6abcc20580ea1a47479232c3ed3cb0153e4b | [
"MIT"
] | 6 | 2021-11-29T05:43:19.000Z | 2022-03-15T21:54:54.000Z | semana-09/VPL-6/interfaces/abstractElevador.py | larissajusten/ufsc-object-oriented-programming | 839e6abcc20580ea1a47479232c3ed3cb0153e4b | [
"MIT"
] | 3 | 2021-11-21T03:44:03.000Z | 2021-11-21T03:44:05.000Z | semana-09/VPL-6/interfaces/abstractElevador.py | larissajusten/ufsc-object-oriented-programming | 839e6abcc20580ea1a47479232c3ed3cb0153e4b | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
class AbstractElevador(ABC):
@abstractmethod
def __init__(self):
pass
# ElevadorJahNoTerreoException
@abstractmethod
def descer(self) -> str:
pass
# ElevadorCheioException
@abstractmethod
def entraPessoa(self) -> str:
... | 19.509434 | 59 | 0.599613 | 78 | 1,034 | 7.897436 | 0.333333 | 0.275974 | 0.071429 | 0.188312 | 0.175325 | 0.175325 | 0 | 0 | 0 | 0 | 0 | 0 | 0.330754 | 1,034 | 52 | 60 | 19.884615 | 0.890173 | 0.10735 | 0 | 0.648649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.27027 | false | 0.27027 | 0.027027 | 0 | 0.324324 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
da4dd56d372277444e31265dd1098569eeb9dba0 | 150 | py | Python | src/client/__init__.py | Blocksize-Capital-GmbH/Quant-VM---Crypto-Arbitrage-Software | aefdab0a4a2ded2556bbf0289bdeb21a91da0b91 | [
"Apache-2.0"
] | 1 | 2022-03-20T14:34:51.000Z | 2022-03-20T14:34:51.000Z | src/client/__init__.py | Blocksize-Capital-GmbH/Quant-VM---Crypto-Arbitrage-Software | aefdab0a4a2ded2556bbf0289bdeb21a91da0b91 | [
"Apache-2.0"
] | null | null | null | src/client/__init__.py | Blocksize-Capital-GmbH/Quant-VM---Crypto-Arbitrage-Software | aefdab0a4a2ded2556bbf0289bdeb21a91da0b91 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python3
# -*- coding: utf-8 -*-
from .test_sdk_client import *
from .custom_sdk_client import *
__all__ = ["TestClient", "CustomClient"
] | 18.75 | 39 | 0.693333 | 19 | 150 | 5.052632 | 0.789474 | 0.1875 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.133333 | 150 | 8 | 40 | 18.75 | 0.723077 | 0.26 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
da5cc800133bec5532f5abe8ac59200c1ff0fa91 | 106 | py | Python | test/test_suite_subdir/define_unittestcase.py | timgates42/Testify | 50045dfc239e0118a88487b95b27a9c17732b4cf | [
"Apache-2.0"
] | null | null | null | test/test_suite_subdir/define_unittestcase.py | timgates42/Testify | 50045dfc239e0118a88487b95b27a9c17732b4cf | [
"Apache-2.0"
] | null | null | null | test/test_suite_subdir/define_unittestcase.py | timgates42/Testify | 50045dfc239e0118a88487b95b27a9c17732b4cf | [
"Apache-2.0"
] | null | null | null | import unittest
class DummyUnitTestCase(unittest.TestCase):
def test_foo(self):
assert True
| 15.142857 | 43 | 0.726415 | 12 | 106 | 6.333333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207547 | 106 | 6 | 44 | 17.666667 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
da6ee6f708b588c747d81b617f7964eb8843117c | 346 | py | Python | scheduler.py | codebox/algorithms | ea4150c94bfd0418f849c9754607f1e156015f1e | [
"MIT"
] | 3 | 2016-10-12T15:39:15.000Z | 2019-10-20T17:33:33.000Z | scheduler.py | codebox/algorithms | ea4150c94bfd0418f849c9754607f1e156015f1e | [
"MIT"
] | null | null | null | scheduler.py | codebox/algorithms | ea4150c94bfd0418f849c9754607f1e156015f1e | [
"MIT"
] | 2 | 2017-06-23T22:04:44.000Z | 2020-03-16T07:55:17.000Z | from __future__ import division
'''
Scheduler
---------
Calculates the optimal processing order for a list of jobs, where each job has a priority (higher value = higher priority)
and a duration (higher value = job takes more time to complete)
'''
def schedule(jobs):
jobs.sort(key=lambda job : job['priority'] / job[... | 38.444444 | 122 | 0.728324 | 50 | 346 | 4.96 | 0.72 | 0.08871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153179 | 346 | 9 | 123 | 38.444444 | 0.846416 | 0 | 0 | 0 | 0 | 0 | 0.120301 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
16fa4d5e33274ce253066c53c1c747da5e58eedc | 383 | py | Python | scheduler/abstract_scheduler.py | arpspoof/Jump | 1c9c1bd5c499e24bab25eb7decaa772b60798794 | [
"MIT"
] | 46 | 2021-04-25T03:36:47.000Z | 2022-01-19T00:23:59.000Z | scheduler/abstract_scheduler.py | squalidux/Jump | 1c9c1bd5c499e24bab25eb7decaa772b60798794 | [
"MIT"
] | 4 | 2021-05-25T10:04:11.000Z | 2022-02-22T01:54:00.000Z | scheduler/abstract_scheduler.py | squalidux/Jump | 1c9c1bd5c499e24bab25eb7decaa772b60798794 | [
"MIT"
] | 8 | 2021-04-25T03:05:35.000Z | 2021-07-05T19:58:01.000Z | class AbstractScheduler:
def attach_runner(self, runner, vec_env):
self.runner = runner
self.vec_env = vec_env
self.initialize()
def initialize(self):
pass
def on_sample_step(self):
pass
def on_sample_collected(self):
pass
def on_test_step(self... | 18.238095 | 45 | 0.600522 | 47 | 383 | 4.638298 | 0.340426 | 0.183486 | 0.201835 | 0.238532 | 0.366972 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.326371 | 383 | 20 | 46 | 19.15 | 0.844961 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.333333 | 0 | 0 | 0.466667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
e54d497ead1fa32173564ecfb5fcc639f6094f06 | 178 | py | Python | wmtmetadata/__init__.py | csdms/wmt-metadata | 39207acc376f1cd21b2ae1d5581a1e2c317a6441 | [
"MIT"
] | null | null | null | wmtmetadata/__init__.py | csdms/wmt-metadata | 39207acc376f1cd21b2ae1d5581a1e2c317a6441 | [
"MIT"
] | 10 | 2016-09-27T21:13:22.000Z | 2018-10-31T19:42:32.000Z | wmtmetadata/__init__.py | csdms/wmt-metadata | 39207acc376f1cd21b2ae1d5581a1e2c317a6441 | [
"MIT"
] | null | null | null | """Metadata and tools for WMT components."""
import os
top_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
metadata_dir = os.path.join(top_dir, 'metadata')
| 22.25 | 70 | 0.741573 | 28 | 178 | 4.464286 | 0.535714 | 0.192 | 0.144 | 0.24 | 0.256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101124 | 178 | 7 | 71 | 25.428571 | 0.78125 | 0.213483 | 0 | 0 | 0 | 0 | 0.059701 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e54f1d6279dd7ea871257f8ec90fbdcb1195943d | 224 | py | Python | 1_Basic/1_Datatypes/4_built-in.py | hauntarl/real-python | 6ffb535648bf5c79c90e2ed7def842078bc7807f | [
"MIT"
] | 2 | 2020-12-15T18:11:00.000Z | 2021-03-01T11:43:16.000Z | 1_Basic/1_Datatypes/4_built-in.py | hauntarl/real_python | 6ffb535648bf5c79c90e2ed7def842078bc7807f | [
"MIT"
] | null | null | null | 1_Basic/1_Datatypes/4_built-in.py | hauntarl/real_python | 6ffb535648bf5c79c90e2ed7def842078bc7807f | [
"MIT"
] | null | null | null | print('BUILT-IN:')
# Python interpreter supports many functions that are built-in: 68
# Refer: https://realpython.com/python-data-types/#built-in-functions
# Official docs: https://docs.python.org/3.8/library/functions.html
| 44.8 | 69 | 0.767857 | 34 | 224 | 5.058824 | 0.705882 | 0.122093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019417 | 0.080357 | 224 | 4 | 70 | 56 | 0.815534 | 0.879464 | 0 | 0 | 0 | 0 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
e556037e834752e824a2195811a81f89349a0fd5 | 106 | py | Python | app_project_tasks/apps.py | Audiotuete/backend_challenge_api | 5c56e6a499893ce4982c7ae754c904e6a26078b4 | [
"MIT"
] | null | null | null | app_project_tasks/apps.py | Audiotuete/backend_challenge_api | 5c56e6a499893ce4982c7ae754c904e6a26078b4 | [
"MIT"
] | null | null | null | app_project_tasks/apps.py | Audiotuete/backend_challenge_api | 5c56e6a499893ce4982c7ae754c904e6a26078b4 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class AppProjectTasksConfig(AppConfig):
name = 'app_project_tasks'
| 21.2 | 39 | 0.801887 | 12 | 106 | 6.916667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 106 | 4 | 40 | 26.5 | 0.902174 | 0 | 0 | 0 | 0 | 0 | 0.160377 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e55cb503407dd4fc271f096dc191a9b79ad6329d | 252 | py | Python | crossView/__init__.py | zzx9636/cross-view | 9a7e874be607eefa7bd34934e274cc376e99f65f | [
"MIT"
] | null | null | null | crossView/__init__.py | zzx9636/cross-view | 9a7e874be607eefa7bd34934e274cc376e99f65f | [
"MIT"
] | null | null | null | crossView/__init__.py | zzx9636/cross-view | 9a7e874be607eefa7bd34934e274cc376e99f65f | [
"MIT"
] | null | null | null | from .datasets import *
from .model import *
from .CrossViewTransformer import CrossViewTransformer
from .CycledViewProjection import CycledViewProjection
from .full_model import PVA_model
from .full_model2 import PVA_model2
from .combine_loss import * | 36 | 54 | 0.853175 | 30 | 252 | 7 | 0.366667 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008889 | 0.107143 | 252 | 7 | 55 | 36 | 0.924444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 | 4 |
e5875f1e4de3a8aa159c6b3cf4e1bd4e3dab6b5d | 116,116 | py | Python | Genetic-Algorithm_temp/testpy.py | Machine-Learning/Genetic-Algorithm | b5006b3fcae89fc4838eaa20fe288633743dd42a | [
"MIT"
] | null | null | null | Genetic-Algorithm_temp/testpy.py | Machine-Learning/Genetic-Algorithm | b5006b3fcae89fc4838eaa20fe288633743dd42a | [
"MIT"
] | null | null | null | Genetic-Algorithm_temp/testpy.py | Machine-Learning/Genetic-Algorithm | b5006b3fcae89fc4838eaa20fe288633743dd42a | [
"MIT"
] | 1 | 2022-03-13T06:09:37.000Z | 2022-03-13T06:09:37.000Z | # val = [[[1.351072e+10, 3.682966e+11], [2.160389e+11, 1.317776e+12], [4.351150e+10, 6.951958e+11], [8.064148e+11, 7.788320e+11], [6.109028e+11, 2.477474e+12], [8.184962e+10, 5.516962e+11], [1.718010e+11, 1.085904e+12], [9.001520e+10, 7.716141e+11], [7.393039e+12, 1.778398e+13], [1.024891e+13, 1.670899e+13]],
# [[1.136... | 301.6 | 310 | 0.658083 | 22,924 | 116,116 | 3.333362 | 0.293928 | 0.0318 | 0.00157 | 0.001727 | 0.202162 | 0.202162 | 0.113932 | 0.028346 | 0.008847 | 0.008847 | 0 | 0.636037 | 0.068974 | 116,116 | 385 | 311 | 301.6 | 0.0708 | 0.941653 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e5c59c5396fa54dbef845a7c0081c2111fb395b4 | 92 | py | Python | metodos_de_busca/metricas/__init__.py | ComicShrimp/metodos-de-busca | 833b4ebafe072b84e4deb3358ce0d9f5e9fea5a4 | [
"MIT"
] | 1 | 2021-08-11T14:36:25.000Z | 2021-08-11T14:36:25.000Z | metodos_de_busca/metricas/__init__.py | ComicShrimp/metodos-de-busca | 833b4ebafe072b84e4deb3358ce0d9f5e9fea5a4 | [
"MIT"
] | 9 | 2021-06-15T13:29:02.000Z | 2021-06-22T13:58:57.000Z | metodos_de_busca/metricas/__init__.py | ComicShrimp/metodos-de-busca | 833b4ebafe072b84e4deb3358ce0d9f5e9fea5a4 | [
"MIT"
] | 2 | 2021-08-11T14:36:32.000Z | 2021-08-11T16:46:31.000Z | from .tempo import Tempo
from .resultado import Resultado
__all__ = ["Tempo", "Resultado"]
| 18.4 | 32 | 0.75 | 11 | 92 | 5.909091 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 92 | 4 | 33 | 23 | 0.822785 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e5ccfbe9739b1b1069200951509c1b664733066f | 98 | py | Python | resource-timing/resources/empty.py | ziransun/wpt | ab8f451eb39eb198584d547f5d965ef54df2a86a | [
"BSD-3-Clause"
] | 8 | 2019-04-09T21:13:05.000Z | 2021-11-23T17:25:18.000Z | resource-timing/resources/empty.py | ziransun/wpt | ab8f451eb39eb198584d547f5d965ef54df2a86a | [
"BSD-3-Clause"
] | 21 | 2021-03-31T19:48:22.000Z | 2022-03-12T00:24:53.000Z | resource-timing/resources/empty.py | ziransun/wpt | ab8f451eb39eb198584d547f5d965ef54df2a86a | [
"BSD-3-Clause"
] | 11 | 2019-04-12T01:20:16.000Z | 2021-11-23T17:25:02.000Z | def main(request, response):
response.headers.set("Content-Type", "text/plain")
return ""
| 24.5 | 54 | 0.673469 | 12 | 98 | 5.5 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 98 | 3 | 55 | 32.666667 | 0.795181 | 0 | 0 | 0 | 0 | 0 | 0.22449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
e5ec6e21fe9fc89d9059622a935ca914cd0c24b2 | 630 | py | Python | pxtextmining/helpers/passthrough.py | CDU-data-science-team/pxtextmining | 2795c9b1c4ab31acb36964ca8a240a13528ab5d6 | [
"MIT"
] | 16 | 2021-04-09T09:28:49.000Z | 2022-03-04T11:27:22.000Z | build/lib/pxtextmining/helpers/passthrough.py | CDU-data-science-team/pxtextmining | 2795c9b1c4ab31acb36964ca8a240a13528ab5d6 | [
"MIT"
] | 24 | 2021-03-30T16:33:52.000Z | 2021-10-09T20:51:58.000Z | pxtextmining/helpers/passthrough.py | CDU-data-science-team/pxtextmining | 2795c9b1c4ab31acb36964ca8a240a13528ab5d6 | [
"MIT"
] | 2 | 2021-04-09T09:28:54.000Z | 2021-07-27T16:02:04.000Z | import pandas as pd
from sklearn.base import BaseEstimator, TransformerMixin
class Passthrough(BaseEstimator, TransformerMixin):
"""
Class for passing through features that require no preprocessing.
https://stackoverflow.com/questions/54592115/appending-the-columntransformer-result-to-the-original-data-wi... | 33.157895 | 126 | 0.709524 | 83 | 630 | 5.385542 | 0.746988 | 0.129754 | 0.152125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016032 | 0.207937 | 630 | 18 | 127 | 35 | 0.87976 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.125 | 0.25 | 0.125 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
f9085ebe7b3aa8bcea786530e4004067d37cda58 | 93 | py | Python | UrlShortener/Shortener/apps.py | SandyUndefined/Django-URL-Shortener | fa6c9d7575b50df887994dd9dad165e89a139658 | [
"MIT"
] | null | null | null | UrlShortener/Shortener/apps.py | SandyUndefined/Django-URL-Shortener | fa6c9d7575b50df887994dd9dad165e89a139658 | [
"MIT"
] | null | null | null | UrlShortener/Shortener/apps.py | SandyUndefined/Django-URL-Shortener | fa6c9d7575b50df887994dd9dad165e89a139658 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ShortenerConfig(AppConfig):
name = 'Shortener'
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f90d9733d14e76ca0ccb6b3dedac5dea3e739071 | 1,345 | py | Python | tofu/tests/tests01_geom/tests02_compute.py | Louwrensth/tofu | df2841d24eaf223ae07d862ffaa33fdb2fc079d3 | [
"MIT"
] | null | null | null | tofu/tests/tests01_geom/tests02_compute.py | Louwrensth/tofu | df2841d24eaf223ae07d862ffaa33fdb2fc079d3 | [
"MIT"
] | null | null | null | tofu/tests/tests01_geom/tests02_compute.py | Louwrensth/tofu | df2841d24eaf223ae07d862ffaa33fdb2fc079d3 | [
"MIT"
] | null | null | null | """
This module contains tests for tofu.geom in its structured version
"""
# External modules
import os
import numpy as np
import matplotlib.pyplot as plt
# Nose-specific
from nose import with_setup # optional
# Importing package tofu.geom
#Root = tfpf.Find_Rootpath()
##########################################... | 24.907407 | 77 | 0.621561 | 171 | 1,345 | 4.678363 | 0.409357 | 0.035 | 0.075 | 0.0325 | 0.2525 | 0.1825 | 0.1825 | 0.1225 | 0.1225 | 0.1225 | 0 | 0.009675 | 0.154647 | 1,345 | 53 | 78 | 25.377358 | 0.693931 | 0.719703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.125 | 0.5 | 0 | 0.75 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
f924dbd91bb9a537fd3d62baf87849b8fe55702d | 25 | py | Python | data/studio21_generated/introductory/3419/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/3419/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/3419/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def encryption(string):
| 12.5 | 23 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 2 | 24 | 12.5 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
008a71319975fdfe4ccca88a160ba60bfad7f896 | 67 | py | Python | docs/live/paths.py | aristanetworks/ctypegen | 379f8e5c712c8deb0ed27cbf005d7706fa11e6e8 | [
"Apache-2.0"
] | 17 | 2018-06-12T10:07:42.000Z | 2022-03-23T14:03:33.000Z | docs/live/paths.py | aristanetworks/ctypegen | 379f8e5c712c8deb0ed27cbf005d7706fa11e6e8 | [
"Apache-2.0"
] | 4 | 2018-10-29T17:55:34.000Z | 2021-10-08T07:19:12.000Z | docs/live/paths.py | aristanetworks/ctypegen | 379f8e5c712c8deb0ed27cbf005d7706fa11e6e8 | [
"Apache-2.0"
] | 7 | 2018-12-20T19:35:45.000Z | 2021-05-18T03:42:17.000Z | libc = "/lib/x86_64-linux-gnu/libc.so.6"
testme = "./libtestme.so"
| 22.333333 | 40 | 0.671642 | 12 | 67 | 3.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081967 | 0.089552 | 67 | 2 | 41 | 33.5 | 0.639344 | 0 | 0 | 0 | 0 | 0 | 0.671642 | 0.462687 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0090aea0a0e0503106bfb2f335d4560ebf197cee | 54 | py | Python | pyabc/cv/__init__.py | Pat-Laub/pyABC | f23f0ff8d430a8ce0a0c8253b45e19add9121992 | [
"BSD-3-Clause"
] | null | null | null | pyabc/cv/__init__.py | Pat-Laub/pyABC | f23f0ff8d430a8ce0a0c8253b45e19add9121992 | [
"BSD-3-Clause"
] | null | null | null | pyabc/cv/__init__.py | Pat-Laub/pyABC | f23f0ff8d430a8ce0a0c8253b45e19add9121992 | [
"BSD-3-Clause"
] | null | null | null | from .bootstrap import calc_cv
__all__ = ["calc_cv"]
| 13.5 | 30 | 0.740741 | 8 | 54 | 4.25 | 0.75 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 54 | 3 | 31 | 18 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
00969c658e1d9984fee21eac4fcf9dd6429cb571 | 259 | py | Python | tests/assets/__init__.py | libero/search | f13c7fe2aa5f3cd1e2f62234995788bed7147b91 | [
"MIT"
] | null | null | null | tests/assets/__init__.py | libero/search | f13c7fe2aa5f3cd1e2f62234995788bed7147b91 | [
"MIT"
] | 14 | 2019-01-31T08:34:30.000Z | 2019-11-21T10:06:13.000Z | tests/assets/__init__.py | libero/search | f13c7fe2aa5f3cd1e2f62234995788bed7147b91 | [
"MIT"
] | 3 | 2019-01-30T10:49:01.000Z | 2019-06-11T14:42:03.000Z | import os
from lxml import etree
def get_asset_path(name: str) -> str:
return os.path.join(os.path.dirname(__file__), name)
def get_asset(name: str) -> str:
asset = etree.parse(get_asset_path(name))
return etree.tostring(asset, encoding=str)
| 19.923077 | 56 | 0.714286 | 41 | 259 | 4.292683 | 0.439024 | 0.136364 | 0.125 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 259 | 12 | 57 | 21.583333 | 0.81106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
00b3ac7ecc35103effc13973d96971016832d248 | 169 | py | Python | web/views.py | frinksdev/frinkblog | 9814a341d6a3a17cb9f9f1de42d7d014e85b18d7 | [
"MIT"
] | null | null | null | web/views.py | frinksdev/frinkblog | 9814a341d6a3a17cb9f9f1de42d7d014e85b18d7 | [
"MIT"
] | null | null | null | web/views.py | frinksdev/frinkblog | 9814a341d6a3a17cb9f9f1de42d7d014e85b18d7 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from .models import Post
def indx(request):
p=Post.objects.order_by("-p_date")
return render(request,"blog/index.html",{"post":p}) | 28.166667 | 52 | 0.757396 | 27 | 169 | 4.666667 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088757 | 169 | 6 | 52 | 28.166667 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.152941 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
00ba0e28fd4c1e5f9e5b4f4f3eebb20200ae3cbb | 2,149 | py | Python | auto-labeler/scibert/sagemaker/code/test.py | pjuangph/PeTaL-labeller | 83fa37dbae8b7436ee33e150cbe89315ddb44d4a | [
"Unlicense"
] | 3 | 2021-06-21T18:08:29.000Z | 2021-06-21T18:08:55.000Z | auto-labeler/scibert/sagemaker/code/test.py | pjuangph/PeTaL-labeller | 83fa37dbae8b7436ee33e150cbe89315ddb44d4a | [
"Unlicense"
] | 64 | 2021-01-13T21:20:20.000Z | 2022-01-18T15:47:22.000Z | auto-labeler/scibert/sagemaker/code/test.py | pjuangph/PeTaL-labeller | 83fa37dbae8b7436ee33e150cbe89315ddb44d4a | [
"Unlicense"
] | 1 | 2021-01-14T19:17:44.000Z | 2021-01-14T19:17:44.000Z | from inference import model_fn, input_fn, predict_fn,output_fn
import json
abstract = 'In the marine environment, both external fertilization and settlement are critical processes linking adult and early juvenile life-history phases. The success of both processes can be tightly linked in organisms lacking a larval dis... | 179.083333 | 1,867 | 0.836203 | 306 | 2,149 | 5.820261 | 0.571895 | 0.015722 | 0.025267 | 0.032004 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130758 | 2,149 | 12 | 1,868 | 179.083333 | 0.953426 | 0 | 0 | 0 | 0 | 0.111111 | 0.867442 | 0.023256 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
00c1ca3850f4b495cdd056adff6f53cbe5ca821b | 172 | py | Python | thumbor_plugins/optimizers/jpegrecompress/config.py | thumbor/thumbor-png-optimizers | 8a48b8949d54899fa943ec6a19a9ca580937abaf | [
"MIT"
] | null | null | null | thumbor_plugins/optimizers/jpegrecompress/config.py | thumbor/thumbor-png-optimizers | 8a48b8949d54899fa943ec6a19a9ca580937abaf | [
"MIT"
] | null | null | null | thumbor_plugins/optimizers/jpegrecompress/config.py | thumbor/thumbor-png-optimizers | 8a48b8949d54899fa943ec6a19a9ca580937abaf | [
"MIT"
] | null | null | null | from thumbor.config import Config
Config.define(
"JPEGRECOMPRESS_PATH",
"/usr/bin/jpeg-recompress",
"Path for the jpeg-recompress binary",
"Optimizers",
)
| 19.111111 | 42 | 0.697674 | 20 | 172 | 5.95 | 0.75 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180233 | 172 | 8 | 43 | 21.5 | 0.843972 | 0 | 0 | 0 | 0 | 0 | 0.511628 | 0.139535 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
00dfae83de84c5a6a8b703e1d362b68c94185fda | 238 | py | Python | mmaction/datasets/samplers/__init__.py | rlleshi/mmaction2 | 6993693f178b1a59e5eb07f1a3db484d5e5de61a | [
"Apache-2.0"
] | 1,870 | 2020-07-11T09:33:46.000Z | 2022-03-31T13:21:36.000Z | mmaction/datasets/samplers/__init__.py | rlleshi/mmaction2 | 6993693f178b1a59e5eb07f1a3db484d5e5de61a | [
"Apache-2.0"
] | 1,285 | 2020-07-11T11:18:57.000Z | 2022-03-31T08:41:17.000Z | mmaction/datasets/samplers/__init__.py | rlleshi/mmaction2 | 6993693f178b1a59e5eb07f1a3db484d5e5de61a | [
"Apache-2.0"
] | 557 | 2020-07-11T09:51:57.000Z | 2022-03-31T13:21:35.000Z | # Copyright (c) OpenMMLab. All rights reserved.
from .distributed_sampler import (ClassSpecificDistributedSampler,
DistributedSampler)
__all__ = ['DistributedSampler', 'ClassSpecificDistributedSampler']
| 39.666667 | 67 | 0.714286 | 15 | 238 | 11 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 238 | 5 | 68 | 47.6 | 0.882353 | 0.189076 | 0 | 0 | 0 | 0 | 0.256545 | 0.162304 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
da9b6068cb5f1e330b9dcc42ac80d702f40d8dc2 | 91 | py | Python | thread_pool/__init__.py | learningtheory/scipy-notes | 14b425bef4840e7e8d5f9c52954834c2fc46e051 | [
"MIT"
] | null | null | null | thread_pool/__init__.py | learningtheory/scipy-notes | 14b425bef4840e7e8d5f9c52954834c2fc46e051 | [
"MIT"
] | null | null | null | thread_pool/__init__.py | learningtheory/scipy-notes | 14b425bef4840e7e8d5f9c52954834c2fc46e051 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
@contact: lishulong.never@gmail.com
@time: 2018/4/10 下午5:38
""" | 18.2 | 35 | 0.604396 | 14 | 91 | 3.928571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1375 | 0.120879 | 91 | 5 | 36 | 18.2 | 0.55 | 0.901099 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
dac9752c67daafab3807da511941134e2c44e9c7 | 69 | py | Python | python/GMatElastoPlasticQPot/Cartesian2d.py | tdegeus/ElastoPlasticQPot | fd6f9dcfd11cf3e4c65fd41eb974ed7fb7f83bbd | [
"MIT"
] | null | null | null | python/GMatElastoPlasticQPot/Cartesian2d.py | tdegeus/ElastoPlasticQPot | fd6f9dcfd11cf3e4c65fd41eb974ed7fb7f83bbd | [
"MIT"
] | 6 | 2018-04-11T09:00:19.000Z | 2018-09-07T14:58:28.000Z | python/GMatElastoPlasticQPot/Cartesian2d.py | tdegeus/ElastoPlasticQPot | fd6f9dcfd11cf3e4c65fd41eb974ed7fb7f83bbd | [
"MIT"
] | 1 | 2018-08-16T20:12:14.000Z | 2018-08-16T20:12:14.000Z | from ._GMatElastoPlasticQPot.Cartesian2d import * # noqa: F401,F403
| 34.5 | 68 | 0.797101 | 7 | 69 | 7.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114754 | 0.115942 | 69 | 1 | 69 | 69 | 0.770492 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
dadd06c760c8b28f1f25b1d9970b433768c15712 | 11,611 | py | Python | tests/unit/test_tracks.py | traffic-ai/EvalDeT | 3b52698e1b03fb9066e3203c2f36aebfa0030aba | [
"Apache-2.0"
] | 2 | 2021-12-19T21:55:12.000Z | 2021-12-19T21:55:19.000Z | tests/unit/test_tracks.py | sasp-ai/EvalDeT | 3b52698e1b03fb9066e3203c2f36aebfa0030aba | [
"Apache-2.0"
] | 10 | 2021-08-07T09:51:27.000Z | 2021-08-29T07:26:07.000Z | tests/unit/test_tracks.py | traffic-ai/EvalDeT | 3b52698e1b03fb9066e3203c2f36aebfa0030aba | [
"Apache-2.0"
] | null | null | null | import tempfile
import numpy as np
import pytest
from evaldet import Tracks
@pytest.fixture(scope="function")
def empty_tracks() -> Tracks:
return Tracks()
@pytest.fixture(scope="function")
def tracks_with_one_item() -> Tracks:
tracks = Tracks()
tracks.add_frame(0, [0], np.array([[0, 0, 1, 1]]), [1])
... | 32.074586 | 88 | 0.633968 | 1,637 | 11,611 | 4.255956 | 0.114844 | 0.079231 | 0.052246 | 0.068322 | 0.829769 | 0.781398 | 0.727573 | 0.686235 | 0.674035 | 0.636859 | 0 | 0.062232 | 0.195935 | 11,611 | 361 | 89 | 32.163435 | 0.684019 | 0.014641 | 0 | 0.5 | 0 | 0 | 0.109173 | 0.019753 | 0 | 0 | 0 | 0 | 0.308594 | 1 | 0.113281 | false | 0.003906 | 0.015625 | 0.003906 | 0.144531 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
dae8a563100baceb738b9aa70b2cbe5d6c4cf557 | 18,137 | py | Python | knuckles/encryptor.py | orhid/knuckles | dcfd2ace2ce8db43e27e4cf9e5a3c4fbe6793027 | [
"MIT"
] | null | null | null | knuckles/encryptor.py | orhid/knuckles | dcfd2ace2ce8db43e27e4cf9e5a3c4fbe6793027 | [
"MIT"
] | null | null | null | knuckles/encryptor.py | orhid/knuckles | dcfd2ace2ce8db43e27e4cf9e5a3c4fbe6793027 | [
"MIT"
] | null | null | null | import logging as log
import math
from itertools import tee
from . import wave as wv
# utility
_lofrq = 144
_time_range = (0, 12)
_balance_range = (-math.tau/8, math.tau/8)
_frequency_range = (_lofrq, math.pow(2,6)*_lofrq)
_amplitude_range = (0.54, 0)
def linear_map(x, demesne, codemesne):
return (x - demesne[0]) ... | 41.694253 | 197 | 0.717814 | 2,640 | 18,137 | 4.795455 | 0.070076 | 0.033886 | 0.022749 | 0.034123 | 0.818404 | 0.781043 | 0.731043 | 0.694076 | 0.627646 | 0.600237 | 0 | 0.00897 | 0.151734 | 18,137 | 434 | 198 | 41.790323 | 0.81391 | 0.095936 | 0 | 0.598039 | 0 | 0 | 0.063674 | 0.004465 | 0 | 0 | 0 | 0 | 0 | 1 | 0.137255 | false | 0 | 0.013072 | 0.019608 | 0.287582 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
daf39a5fcf2f6fd8fab0686b2b818a7dbf70d1a7 | 80 | py | Python | finenight/python/__init__.py | rmuir/moman | 46476f93adafdb7489f7cb1ce2aa9490db25eaff | [
"MIT"
] | 21 | 2015-05-14T07:56:39.000Z | 2021-10-10T13:30:05.000Z | finenight/python/__init__.py | rmuir/moman | 46476f93adafdb7489f7cb1ce2aa9490db25eaff | [
"MIT"
] | 2 | 2015-01-30T19:29:56.000Z | 2015-11-20T19:37:44.000Z | finenight/python/__init__.py | rmuir/moman | 46476f93adafdb7489f7cb1ce2aa9490db25eaff | [
"MIT"
] | 7 | 2015-06-19T02:21:28.000Z | 2021-03-14T15:19:21.000Z | #__all__ = ["error", "fsa", "et", "fsc", "fst", "iadfa", "state", "transition"]
| 40 | 79 | 0.5375 | 9 | 80 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 80 | 1 | 80 | 80 | 0.557143 | 0.975 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9712423af5cc7081a517128ad0e1ad7bac907c87 | 3,026 | py | Python | scripts/wavelet_denoising/threshold_calc.py | gferragu/gmprocess_scratchpaper | b267f2883b0de9260471296116009d359bc02c8a | [
"MIT"
] | null | null | null | scripts/wavelet_denoising/threshold_calc.py | gferragu/gmprocess_scratchpaper | b267f2883b0de9260471296116009d359bc02c8a | [
"MIT"
] | null | null | null | scripts/wavelet_denoising/threshold_calc.py | gferragu/gmprocess_scratchpaper | b267f2883b0de9260471296116009d359bc02c8a | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jul 1 14:46:51 2020
@author: gabriel
"""
#%% MATLAB Code to reproduce
# function thresh_calc(nbeg,nend,n_noise,sig_fact,necdf_flag,nlbound)
# % Calculate the threshold using one of two methods
# % P=mean|W| + c sigma
# % P is computed from the e... | 25.863248 | 84 | 0.544613 | 424 | 3,026 | 3.816038 | 0.372642 | 0.034611 | 0.024722 | 0.029666 | 0.337454 | 0.309642 | 0.270087 | 0.18974 | 0.18974 | 0.18974 | 0 | 0.037986 | 0.277925 | 3,026 | 117 | 85 | 25.863248 | 0.702517 | 0.884997 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
972b17848e582fdea58431117f06aca5ceb65028 | 1,144 | py | Python | CODES/S28 - Automation Framework - Part 1/5_login_page.py | PacktPublishing/-Selenium-WebDriver-With-Python-3.x---Novice-To-Ninja-v- | 7be863a0a9c8da7e31a413742da92c2fcfd0b38a | [
"MIT"
] | 11 | 2019-05-17T00:54:17.000Z | 2021-11-12T22:12:18.000Z | CODES/S28 - Automation Framework - Part 1/5_login_page.py | PacktPublishing/-Selenium-WebDriver-With-Python-3.x---Novice-To-Ninja-v- | 7be863a0a9c8da7e31a413742da92c2fcfd0b38a | [
"MIT"
] | null | null | null | CODES/S28 - Automation Framework - Part 1/5_login_page.py | PacktPublishing/-Selenium-WebDriver-With-Python-3.x---Novice-To-Ninja-v- | 7be863a0a9c8da7e31a413742da92c2fcfd0b38a | [
"MIT"
] | 12 | 2019-06-17T00:56:01.000Z | 2021-09-29T11:38:53.000Z | from selenium.webdriver.common.by import By
class LoginPage():
def __init__(self, driver):
self.driver = driver
# Locators
_login_link = "Login"
_email_field = "user_email"
_password_field = "user_password"
_login_button = "commit"
def getLoginLink(self):
return self.driv... | 27.238095 | 71 | 0.682692 | 129 | 1,144 | 5.829457 | 0.294574 | 0.079787 | 0.074468 | 0.106383 | 0.191489 | 0.191489 | 0.191489 | 0.103723 | 0.103723 | 0 | 0 | 0 | 0.212413 | 1,144 | 42 | 72 | 27.238095 | 0.834628 | 0.006993 | 0 | 0 | 0 | 0 | 0.029956 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.344828 | false | 0.241379 | 0.034483 | 0.137931 | 0.689655 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
97536d9596f81ad6b31ce7a97c65c5f0bd6f2851 | 485 | py | Python | romeo/robot/__init__.py | SSG-DRD-IOT/commercial-iot-security-system | 0c3d89b35d0468d4d3cc5ce2653b3f0ac82652a9 | [
"MIT"
] | null | null | null | romeo/robot/__init__.py | SSG-DRD-IOT/commercial-iot-security-system | 0c3d89b35d0468d4d3cc5ce2653b3f0ac82652a9 | [
"MIT"
] | null | null | null | romeo/robot/__init__.py | SSG-DRD-IOT/commercial-iot-security-system | 0c3d89b35d0468d4d3cc5ce2653b3f0ac82652a9 | [
"MIT"
] | 3 | 2022-01-22T05:02:41.000Z | 2022-03-31T08:13:06.000Z | ###############################################################################
# Author: Daniil Budanov
# Contact: danbudanov@gmail.com
# Summer Internship - 2016
###############################################################################
# Title: __init__.py
# Project: Romeo Robot
# Description: Creates the robot... | 37.307692 | 79 | 0.385567 | 33 | 485 | 5.515152 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024719 | 0.082474 | 485 | 12 | 80 | 40.416667 | 0.38427 | 0.373196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
975ad1c2daf85aef027d17da75fc3c471c974555 | 96 | py | Python | tests/_support/tasks.py | uttamrc/invoke | 61a580fc9919700305411e492f6fbfee7f4912dc | [
"BSD-2-Clause"
] | 3,187 | 2015-01-02T13:41:50.000Z | 2022-03-28T19:22:49.000Z | tests/_support/tasks.py | uttamrc/invoke | 61a580fc9919700305411e492f6fbfee7f4912dc | [
"BSD-2-Clause"
] | 648 | 2015-01-02T23:13:21.000Z | 2022-03-30T23:32:13.000Z | tests/_support/tasks.py | uttamrc/invoke | 61a580fc9919700305411e492f6fbfee7f4912dc | [
"BSD-2-Clause"
] | 347 | 2015-01-03T23:04:05.000Z | 2022-03-25T17:35:24.000Z | from invoke.tasks import task
@task
def foo(c):
print("Hm")
@task
def noop(c):
pass
| 8 | 29 | 0.614583 | 16 | 96 | 3.6875 | 0.75 | 0.237288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 96 | 11 | 30 | 8.727273 | 0.819444 | 0 | 0 | 0.285714 | 0 | 0 | 0.020833 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0.142857 | 0 | 0.428571 | 0.142857 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
975f42fb3fcfa86825732de2e94f59f1df8d8c15 | 952 | py | Python | flexipage/forms.py | eRestin/MezzGIS | 984341fa5361433cf9b6f30b113358c19d3cd05c | [
"BSD-2-Clause"
] | null | null | null | flexipage/forms.py | eRestin/MezzGIS | 984341fa5361433cf9b6f30b113358c19d3cd05c | [
"BSD-2-Clause"
] | null | null | null | flexipage/forms.py | eRestin/MezzGIS | 984341fa5361433cf9b6f30b113358c19d3cd05c | [
"BSD-2-Clause"
] | null | null | null | from django.db import models
from django.forms import ModelForm, Form
from django.shortcuts import redirect
class FlexiModelForm(ModelForm):
def flexi_nothing(self):
return ''
def flexi_intermediate(self):
"""
To be implemented when POSTed forms need to redirect to another url on succe... | 28 | 100 | 0.60084 | 111 | 952 | 5.045045 | 0.459459 | 0.057143 | 0.053571 | 0.067857 | 0.5 | 0.5 | 0.5 | 0.5 | 0.5 | 0.5 | 0 | 0 | 0.307773 | 952 | 33 | 101 | 28.848485 | 0.849772 | 0.236345 | 0 | 0.470588 | 0 | 0 | 0.10994 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0.117647 | 0.176471 | 0.117647 | 0.705882 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
978331bcbbd01d4b1d8dc684b3bf8826d5daad2b | 90 | py | Python | mimosa/pylib/writers/csv_writer.py | rafelafrance/traiter_mimosa | 7a248b610747d5d0e5ce5473953cbdc90d336aae | [
"MIT"
] | null | null | null | mimosa/pylib/writers/csv_writer.py | rafelafrance/traiter_mimosa | 7a248b610747d5d0e5ce5473953cbdc90d336aae | [
"MIT"
] | null | null | null | mimosa/pylib/writers/csv_writer.py | rafelafrance/traiter_mimosa | 7a248b610747d5d0e5ce5473953cbdc90d336aae | [
"MIT"
] | null | null | null | """Write the output to a CSV file."""
def write(args, data):
"""Output the data."""
| 15 | 37 | 0.588889 | 14 | 90 | 3.785714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211111 | 90 | 5 | 38 | 18 | 0.746479 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
979bf53ac3b569a249386f9b742f7fb0819eef3b | 186 | py | Python | p25.py | aleksanderhan/ProjectEuler | 3c298f8f88f55b2730f142781fdecb1d6e453034 | [
"MIT"
] | null | null | null | p25.py | aleksanderhan/ProjectEuler | 3c298f8f88f55b2730f142781fdecb1d6e453034 | [
"MIT"
] | null | null | null | p25.py | aleksanderhan/ProjectEuler | 3c298f8f88f55b2730f142781fdecb1d6e453034 | [
"MIT"
] | null | null | null | n = 3
fib = [1, 1, 2]
while len(str(fib[2])) < 1000:
fib[0] = fib[1]
fib[1] = fib[2]
fib[2] = fib[1] + fib[0]
n += 1
print(n)
| 18.6 | 35 | 0.33871 | 30 | 186 | 2.1 | 0.366667 | 0.253968 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171717 | 0.467742 | 186 | 9 | 36 | 20.666667 | 0.464646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
97c2a7210953d0246a8fe7efd4a434081956a3d1 | 878 | py | Python | floem/collection.py | mangpo/floem | 2ff53dc601237597b299ebf93607d51b82cb8f4c | [
"BSD-2-Clause"
] | 21 | 2018-10-10T18:52:32.000Z | 2022-02-16T12:23:51.000Z | floem/collection.py | mangpo/floem | 2ff53dc601237597b299ebf93607d51b82cb8f4c | [
"BSD-2-Clause"
] | null | null | null | floem/collection.py | mangpo/floem | 2ff53dc601237597b299ebf93607d51b82cb8f4c | [
"BSD-2-Clause"
] | 3 | 2020-04-22T23:09:26.000Z | 2021-09-30T01:35:34.000Z | import copy
class InstancesCollection:
def __init__(self):
self.spec = set()
self.impl = None
def add(self, x):
self.spec.add(x)
if self.impl:
self.impl.add(x)
def union(self, other):
self.spec = self.spec.union(other.spec)
if self.impl and oth... | 23.72973 | 51 | 0.566059 | 119 | 878 | 4.109244 | 0.176471 | 0.245399 | 0.196319 | 0.196319 | 0.503067 | 0.376278 | 0.376278 | 0.314928 | 0.314928 | 0 | 0 | 0 | 0.318907 | 878 | 37 | 52 | 23.72973 | 0.817726 | 0 | 0 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.035714 | 0.071429 | 0.392857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8ae9ecb5d7d378d597f5348674c1c495fe7ffb4c | 70 | py | Python | landlab/components/fire_generator/__init__.py | amanaster2/landlab | ea17f8314eb12e3fc76df66c9b6ff32078caa75c | [
"MIT"
] | 257 | 2015-01-13T16:01:21.000Z | 2022-03-29T22:37:43.000Z | landlab/components/fire_generator/__init__.py | amanaster2/landlab | ea17f8314eb12e3fc76df66c9b6ff32078caa75c | [
"MIT"
] | 1,222 | 2015-02-05T21:36:53.000Z | 2022-03-31T17:53:49.000Z | landlab/components/fire_generator/__init__.py | amanaster2/landlab | ea17f8314eb12e3fc76df66c9b6ff32078caa75c | [
"MIT"
] | 274 | 2015-02-11T19:56:08.000Z | 2022-03-28T23:31:07.000Z | from .generate_fire import FireGenerator
__all__ = ["FireGenerator"]
| 17.5 | 40 | 0.8 | 7 | 70 | 7.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 70 | 3 | 41 | 23.333333 | 0.822581 | 0 | 0 | 0 | 1 | 0 | 0.185714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c13d7dba9a3b14bcbff18b4f56a0ec934c391f73 | 216 | py | Python | tefrontend/blog/admin.py | TElphee01/TannerElphee.com1 | e286be807b2d2169f0bd411d1c5a2fb112b01bdd | [
"BSD-3-Clause"
] | null | null | null | tefrontend/blog/admin.py | TElphee01/TannerElphee.com1 | e286be807b2d2169f0bd411d1c5a2fb112b01bdd | [
"BSD-3-Clause"
] | 4 | 2022-02-11T13:34:44.000Z | 2022-03-01T12:26:19.000Z | tefrontend/blog/admin.py | TElphee01/TannerElphee.com1 | e286be807b2d2169f0bd411d1c5a2fb112b01bdd | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from tefrontend.blog.models import BlogPost
@admin.register(BlogPost)
class BlogPostAdmin(admin.ModelAdmin):
list_display = ("title", "image", "text", "published", "pub_date")
| 24 | 70 | 0.75463 | 26 | 216 | 6.192308 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115741 | 216 | 8 | 71 | 27 | 0.842932 | 0 | 0 | 0 | 0 | 0 | 0.143519 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c147771fef9c13fcc3347c53fdddf535ac54815e | 128 | py | Python | python/note/setup/setup.py | YangXiaoo/NoteBook | 37056acad7a05b876832f72ac34d3d1a41e0dd22 | [
"CNRI-Python",
"RSA-MD",
"CECILL-B"
] | 58 | 2019-03-03T04:42:23.000Z | 2022-01-13T04:36:31.000Z | python/note/setup/setup.py | YangXiaoo/NoteBook | 37056acad7a05b876832f72ac34d3d1a41e0dd22 | [
"CNRI-Python",
"RSA-MD",
"CECILL-B"
] | null | null | null | python/note/setup/setup.py | YangXiaoo/NoteBook | 37056acad7a05b876832f72ac34d3d1a41e0dd22 | [
"CNRI-Python",
"RSA-MD",
"CECILL-B"
] | 28 | 2019-08-11T01:25:00.000Z | 2021-08-22T06:46:06.000Z | # coding:utf-8
from distutils.core import setup
setup(name='tool_test_yauno',
version='1.0',
py_modules=['tool_test_yauno'],) | 21.333333 | 33 | 0.75 | 21 | 128 | 4.333333 | 0.809524 | 0.175824 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.085938 | 128 | 6 | 33 | 21.333333 | 0.752137 | 0.09375 | 0 | 0 | 0 | 0 | 0.286957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c15adf0eb9a6d24b3350596babb8c5f71c532402 | 159 | py | Python | python/gui/auto_additions/qgsattributeeditorcontext.py | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | python/gui/auto_additions/qgsattributeeditorcontext.py | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | python/gui/auto_additions/qgsattributeeditorcontext.py | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | 1 | 2021-12-25T08:40:30.000Z | 2021-12-25T08:40:30.000Z | # The following has been generated automatically from src/gui/qgsattributeeditorcontext.h
QgsAttributeEditorContext.Mode.baseClass = QgsAttributeEditorContext
| 53 | 89 | 0.880503 | 15 | 159 | 9.333333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 159 | 2 | 90 | 79.5 | 0.952381 | 0.54717 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c15e7a2fc80a839035b3a5021bf7b9c25071c981 | 636 | py | Python | handler.py | ManitKapoor/GuessWordAppBackend | f94f37b647c5ad0bb03c5ee8da05c4d7fb47868f | [
"MIT"
] | null | null | null | handler.py | ManitKapoor/GuessWordAppBackend | f94f37b647c5ad0bb03c5ee8da05c4d7fb47868f | [
"MIT"
] | null | null | null | handler.py | ManitKapoor/GuessWordAppBackend | f94f37b647c5ad0bb03c5ee8da05c4d7fb47868f | [
"MIT"
] | null | null | null | import json
from services.apihttp import LambdaHttpEvent, LambdaHttpResponse
from services.datasource import getWord
def get_easy_word(event, context):
lambdaHttp = LambdaHttpEvent(event)
word = getWord("easy")
return LambdaHttpResponse(200,json.dumps(word)).returnResponse()
def get_medium_word(event, con... | 35.333333 | 68 | 0.767296 | 70 | 636 | 6.885714 | 0.314286 | 0.037344 | 0.099585 | 0.161826 | 0.715768 | 0.715768 | 0.715768 | 0.603734 | 0.248963 | 0 | 0 | 0.016245 | 0.128931 | 636 | 18 | 69 | 35.333333 | 0.853791 | 0 | 0 | 0.4 | 0 | 0 | 0.021978 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
c17f2ae1686ccf641544125f33c5b78644f67ebc | 697 | py | Python | sis-api/core/model/membership_type.py | maxbilbow/7054CEM-sis | 1c5067c9afc38e340fcce046048f8ae21d267365 | [
"MIT"
] | null | null | null | sis-api/core/model/membership_type.py | maxbilbow/7054CEM-sis | 1c5067c9afc38e340fcce046048f8ae21d267365 | [
"MIT"
] | null | null | null | sis-api/core/model/membership_type.py | maxbilbow/7054CEM-sis | 1c5067c9afc38e340fcce046048f8ae21d267365 | [
"MIT"
] | null | null | null | from enum import IntEnum
SILVER_POINTS_THRESHOLD = 2
GOLD_POINTS_THRESHOLD = 5
class MembershipType(IntEnum):
Smart = 0
Silver = 1
Gold = 2
def __gt__(self, other):
return self.value > other.value
def __ge__(self, other):
return self.value >= other.value
def __lt__(self, ot... | 21.78125 | 55 | 0.672884 | 84 | 697 | 5.27381 | 0.369048 | 0.13544 | 0.13544 | 0.171558 | 0.334086 | 0.334086 | 0.334086 | 0.334086 | 0 | 0 | 0 | 0.00956 | 0.249641 | 697 | 31 | 56 | 22.483871 | 0.837476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227273 | false | 0 | 0.045455 | 0.181818 | 0.772727 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
c1818a9a7c9c085972325071bc2a81a0ad41e921 | 70 | py | Python | examples/pytest_generate_tests/test_strings_3.py | MateuszG/django_auth | 4cda699c1b6516ffaa26329f545a674a7c849a16 | [
"MIT"
] | 2 | 2015-01-12T09:43:59.000Z | 2015-01-12T10:39:31.000Z | examples/pytest_generate_tests/test_strings_3.py | MateuszG/django_auth | 4cda699c1b6516ffaa26329f545a674a7c849a16 | [
"MIT"
] | null | null | null | examples/pytest_generate_tests/test_strings_3.py | MateuszG/django_auth | 4cda699c1b6516ffaa26329f545a674a7c849a16 | [
"MIT"
] | null | null | null |
def test_valid_string(stringinput):
assert stringinput.isalpha()
| 17.5 | 35 | 0.785714 | 8 | 70 | 6.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128571 | 70 | 3 | 36 | 23.333333 | 0.868852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c1c7505902defba843d067369c92c163e487f2f2 | 161 | py | Python | gw2/models/_base.py | Invisi/python-gw2 | 0e46b30ec646179c2337b92981c8625a37dace3a | [
"MIT"
] | null | null | null | gw2/models/_base.py | Invisi/python-gw2 | 0e46b30ec646179c2337b92981c8625a37dace3a | [
"MIT"
] | null | null | null | gw2/models/_base.py | Invisi/python-gw2 | 0e46b30ec646179c2337b92981c8625a37dace3a | [
"MIT"
] | null | null | null | from pydantic import BaseModel as PydanticBaseModel
class BaseModel(PydanticBaseModel):
class Config:
allow_mutation = False
frozen = True
| 20.125 | 51 | 0.726708 | 16 | 161 | 7.25 | 0.8125 | 0.37931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236025 | 161 | 7 | 52 | 23 | 0.943089 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
c1cc2e7046b7f1e313c7b1e92c90e62056901a7a | 165 | py | Python | big_code/code_django/urls.py | Rajeshkumar-dev-cloud/Web-Scraper | cd059e76e3a801f4d6d4b4c107cca0159d3a0dd1 | [
"MIT"
] | null | null | null | big_code/code_django/urls.py | Rajeshkumar-dev-cloud/Web-Scraper | cd059e76e3a801f4d6d4b4c107cca0159d3a0dd1 | [
"MIT"
] | 3 | 2020-06-19T11:23:19.000Z | 2021-04-30T21:15:30.000Z | big_code/code_django/urls.py | RajeshKumar-1998/Web-Scraper | cd059e76e3a801f4d6d4b4c107cca0159d3a0dd1 | [
"MIT"
] | null | null | null | from django.urls import path
from .import views
urlpatterns = [
path('',views.home,name='home'),
path('new_search', views.new_search, name='new_search'),
] | 20.625 | 60 | 0.690909 | 23 | 165 | 4.826087 | 0.478261 | 0.243243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 165 | 8 | 61 | 20.625 | 0.787234 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c1e040cc4ae79d47081c9861bef92e6ff073b295 | 90 | py | Python | snippets/python/network/uncurl.py | c6401/Snippets | a88d97005658eeda99f1a2766e3d069a64e142cb | [
"MIT"
] | null | null | null | snippets/python/network/uncurl.py | c6401/Snippets | a88d97005658eeda99f1a2766e3d069a64e142cb | [
"MIT"
] | null | null | null | snippets/python/network/uncurl.py | c6401/Snippets | a88d97005658eeda99f1a2766e3d069a64e142cb | [
"MIT"
] | null | null | null | #!python3 -mpip install --user -U uncurl
from uncurl import parse
print(parse('''
'''))
| 12.857143 | 40 | 0.666667 | 12 | 90 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.155556 | 90 | 6 | 41 | 15 | 0.776316 | 0.433333 | 0 | 0 | 0 | 0 | 0.04 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
de0b455216b1dfc88792305d33a41b2a2e243ff0 | 2,564 | py | Python | tests/dev_only_isinstance.py | MacHu-GWU/convert2-project | aad1837676b3702aa22f53f6462beb8c5c17d4e1 | [
"MIT"
] | null | null | null | tests/dev_only_isinstance.py | MacHu-GWU/convert2-project | aad1837676b3702aa22f53f6462beb8c5c17d4e1 | [
"MIT"
] | null | null | null | tests/dev_only_isinstance.py | MacHu-GWU/convert2-project | aad1837676b3702aa22f53f6462beb8c5c17d4e1 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Test isinstance(obj, type) behavior in between python naive, numpy type,
pandas type.
"""
import pytest
from datetime import datetime
import numpy as np
import pandas as pd
from convert2.pkg.six import PY3, PY2
def test_is_int():
# is int
assert isinstance(1... | 27.869565 | 79 | 0.678237 | 407 | 2,564 | 4.191646 | 0.186732 | 0.309496 | 0.221571 | 0.193435 | 0.630129 | 0.489449 | 0.445487 | 0.428488 | 0.277843 | 0.093787 | 0 | 0.050707 | 0.200078 | 2,564 | 91 | 80 | 28.175824 | 0.781082 | 0.064743 | 0 | 0.068966 | 0 | 0 | 0.033124 | 0 | 0 | 0 | 0 | 0 | 0.62069 | 1 | 0.103448 | false | 0 | 0.103448 | 0 | 0.206897 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
de13c61ae8bf907d1afb36f53dc5a108b1525b7f | 1,410 | py | Python | samples/how-to/legal.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | null | null | null | samples/how-to/legal.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | 1 | 2021-10-13T03:46:58.000Z | 2021-10-13T03:46:58.000Z | samples/how-to/legal.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | null | null | null | # Prerequisites:
# 1. Initialize the SDK
# 2. Login as either a Client or a User
def example_bulk_accept_versioned_policy():
from accelbyte_py_sdk.api.legal import bulk_accept_versioned_policy
from accelbyte_py_sdk.api.legal.models import AcceptAgreementRequest
result, error = bulk_accept_versioned_polic... | 29.375 | 76 | 0.664539 | 154 | 1,410 | 5.701299 | 0.292208 | 0.118451 | 0.136674 | 0.102506 | 0.780182 | 0.780182 | 0.738041 | 0.687927 | 0.687927 | 0.605923 | 0 | 0.001932 | 0.265957 | 1,410 | 47 | 77 | 30 | 0.846377 | 0.052482 | 0 | 0.571429 | 0 | 0 | 0.088589 | 0.043544 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085714 | true | 0 | 0.142857 | 0 | 0.228571 | 0.085714 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a9a7c56e2c4c0a18a47c2cb048205b2324a9d350 | 62 | py | Python | media_security/__init__.py | ss-aman/media_security | cd9be8c4d9cfeb4344b682b3a6c90eda620daaec | [
"MIT"
] | null | null | null | media_security/__init__.py | ss-aman/media_security | cd9be8c4d9cfeb4344b682b3a6c90eda620daaec | [
"MIT"
] | null | null | null | media_security/__init__.py | ss-aman/media_security | cd9be8c4d9cfeb4344b682b3a6c90eda620daaec | [
"MIT"
] | null | null | null | default_app_config = 'media_security.apps.MediaSecurityConfig' | 62 | 62 | 0.887097 | 7 | 62 | 7.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 62 | 1 | 62 | 62 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.619048 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a9ce7ae0e818355131afb2ec9b002ea87ccc306b | 200 | py | Python | test/test_api.py | BhargavJethwa/feature-hunt | e5dac260be586e011ed6d8c913028944e9a0c18b | [
"MIT"
] | 16 | 2021-09-09T18:17:08.000Z | 2022-02-01T21:01:11.000Z | test/test_api.py | BhargavJethwa/feature-hunt | e5dac260be586e011ed6d8c913028944e9a0c18b | [
"MIT"
] | 35 | 2021-09-05T20:26:11.000Z | 2021-10-01T02:12:38.000Z | test/test_api.py | BhargavJethwa/feature-hunt | e5dac260be586e011ed6d8c913028944e9a0c18b | [
"MIT"
] | 14 | 2021-09-24T00:53:14.000Z | 2022-01-28T10:19:24.000Z | from flask_cors import CORS
import requests
from pprint import pprint
def test_products():
response = requests.get("http://localhost:5000/products")
assert b'feature-hunt' in response.content | 28.571429 | 61 | 0.775 | 28 | 200 | 5.464286 | 0.714286 | 0.130719 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023121 | 0.135 | 200 | 7 | 62 | 28.571429 | 0.861272 | 0 | 0 | 0 | 0 | 0 | 0.208955 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.666667 | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a9d1af25c31c3df48fc3e52c040cbd895166ff9d | 65 | py | Python | xcs/__init__.py | brodderickrodriguez/xcs | 5573faa620507b1e1c47a1dd1e73300cd2af1afa | [
"MIT"
] | null | null | null | xcs/__init__.py | brodderickrodriguez/xcs | 5573faa620507b1e1c47a1dd1e73300cd2af1afa | [
"MIT"
] | null | null | null | xcs/__init__.py | brodderickrodriguez/xcs | 5573faa620507b1e1c47a1dd1e73300cd2af1afa | [
"MIT"
] | null | null | null | # Brodderick Rodriguez
# Auburn University - CSSE
# June 28 2019
| 16.25 | 26 | 0.753846 | 8 | 65 | 6.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 0.184615 | 65 | 3 | 27 | 21.666667 | 0.811321 | 0.892308 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a9db41bf6b9dd7e3cb86ce0b83e10a8d1739c538 | 243 | py | Python | liquid/exts/shopify.py | pwwang/pyliquid | 74ab6be554f2d5a8ced4305280a9d3b26bef0185 | [
"Apache-2.0"
] | 45 | 2018-09-26T03:33:26.000Z | 2022-03-30T06:01:49.000Z | liquid/exts/shopify.py | pwwang/pyliquid | 74ab6be554f2d5a8ced4305280a9d3b26bef0185 | [
"Apache-2.0"
] | 35 | 2019-07-24T23:25:35.000Z | 2022-02-16T21:11:50.000Z | liquid/exts/shopify.py | pwwang/pyliquid | 74ab6be554f2d5a8ced4305280a9d3b26bef0185 | [
"Apache-2.0"
] | 8 | 2019-11-14T17:29:59.000Z | 2021-09-10T00:11:44.000Z | """Extension for shopify mode"""
from ..tags.shopify import shopify_tags
from .standard import LiquidStandardExtension
class LiquidShopifyExtension(LiquidStandardExtension):
"""Extension for jekyll mode"""
tag_manager = shopify_tags
| 27 | 54 | 0.790123 | 25 | 243 | 7.56 | 0.56 | 0.126984 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127572 | 243 | 8 | 55 | 30.375 | 0.891509 | 0.213992 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a9f71fe2b20c4b8cd99c91fa42066a37d48fa427 | 97 | py | Python | GymSlug/setup.py | wenhuans/GymSlug | ac2100b468cb13a51d75037d9971b9ed3a75d937 | [
"Apache-2.0"
] | 2 | 2021-09-04T17:58:52.000Z | 2022-01-16T20:12:53.000Z | GymSlug/setup.py | wenhuans/GymSlug | ac2100b468cb13a51d75037d9971b9ed3a75d937 | [
"Apache-2.0"
] | null | null | null | GymSlug/setup.py | wenhuans/GymSlug | ac2100b468cb13a51d75037d9971b9ed3a75d937 | [
"Apache-2.0"
] | 1 | 2021-09-04T18:40:42.000Z | 2021-09-04T18:40:42.000Z | from setuptools import setup
setup(name='gym_slug', version='0.0.1', install_requires=['gym'] ) | 48.5 | 66 | 0.731959 | 15 | 97 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034091 | 0.092784 | 97 | 2 | 66 | 48.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.164948 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e73aeef70bbb5a3c310a85c7876975693a172d79 | 146 | py | Python | env/bin/django-admin.py | MarkWh1te/interview_code | 67f0c97e67887cb1c5ca0180adc9d0d45dccba02 | [
"MIT"
] | 1 | 2019-06-30T20:04:39.000Z | 2019-06-30T20:04:39.000Z | env/bin/django-admin.py | MarkWh1te/interview_code | 67f0c97e67887cb1c5ca0180adc9d0d45dccba02 | [
"MIT"
] | null | null | null | env/bin/django-admin.py | MarkWh1te/interview_code | 67f0c97e67887cb1c5ca0180adc9d0d45dccba02 | [
"MIT"
] | null | null | null | #!/home/mark/git/just_pt/env/bin/python
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| 24.333333 | 42 | 0.773973 | 21 | 146 | 4.809524 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10274 | 146 | 5 | 43 | 29.2 | 0.770992 | 0.260274 | 0 | 0 | 0 | 0 | 0.074766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e79dfa330e7ace1ca37b2610eae6c914df1d3cf2 | 437 | py | Python | tests/unit/test_market.py | SteveLTN/iex-api-python | f2c5c8f461ee22d7fc58bc335e397454de4cee7e | [
"MIT"
] | null | null | null | tests/unit/test_market.py | SteveLTN/iex-api-python | f2c5c8f461ee22d7fc58bc335e397454de4cee7e | [
"MIT"
] | null | null | null | tests/unit/test_market.py | SteveLTN/iex-api-python | f2c5c8f461ee22d7fc58bc335e397454de4cee7e | [
"MIT"
] | null | null | null | import datetime
import re
from pytest import raises
from tests import *
from iex import market
def test_market_list():
market.mostactive()
market.gainers()
market.losers()
market.iexvolume()
market.iexpercent()
def test_threshold_securities():
market.threshold_securities()
def test_short_i... | 14.566667 | 40 | 0.707094 | 55 | 437 | 5.472727 | 0.545455 | 0.069767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002833 | 0.19222 | 437 | 29 | 41 | 15.068966 | 0.849858 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 1 | 0.263158 | true | 0.052632 | 0.263158 | 0 | 0.526316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
e7b6c84ebc3f015601210e66ff938517c5166d35 | 104 | py | Python | Language Skills/Python/Unit 07 Lists and Functions/01 Lists and Functions/Function Recap/6-More than one Argument.py | rhyep/Python_tutorials | f5c8a64b91802b005dfe7dd9035f8d8daae8c3e3 | [
"MIT"
] | 346 | 2016-02-22T20:21:10.000Z | 2022-01-27T20:55:53.000Z | Language Skills/Python/Unit 7/1-Lists and Functions/Function Recap/6-More than one Argument.py | vpstudios/Codecademy-Exercise-Answers | ebd0ee8197a8001465636f52c69592ea6745aa0c | [
"MIT"
] | 55 | 2016-04-07T13:58:44.000Z | 2020-06-25T12:20:24.000Z | Language Skills/Python/Unit 7/1-Lists and Functions/Function Recap/6-More than one Argument.py | vpstudios/Codecademy-Exercise-Answers | ebd0ee8197a8001465636f52c69592ea6745aa0c | [
"MIT"
] | 477 | 2016-02-21T06:17:02.000Z | 2021-12-22T10:08:01.000Z | m = 5
n = 13
# Add add_function here!
def add_function(x, y):
return x + y
print add_function(m, n)
| 14.857143 | 24 | 0.653846 | 21 | 104 | 3.095238 | 0.571429 | 0.507692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0375 | 0.230769 | 104 | 6 | 25 | 17.333333 | 0.775 | 0.211538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e7bd9d674bd71f20219b74eb6410812f9996cfc4 | 325 | py | Python | donkeycar/tests/test_keras.py | cliffordchow/donkey | cee0f97088565bf5d3523e24468e67afbbdcc023 | [
"MIT"
] | 13 | 2018-10-25T17:45:18.000Z | 2020-08-27T14:54:12.000Z | donkeycar/tests/test_keras.py | cliffordchow/donkey | cee0f97088565bf5d3523e24468e67afbbdcc023 | [
"MIT"
] | 8 | 2019-06-12T07:21:39.000Z | 2019-06-12T08:03:40.000Z | donkeycar/tests/test_keras.py | cliffordchow/donkey | cee0f97088565bf5d3523e24468e67afbbdcc023 | [
"MIT"
] | 4 | 2018-10-25T09:41:43.000Z | 2020-04-07T13:56:47.000Z | # -*- coding: utf-8 -*-
import pytest
from donkeycar.parts.keras import KerasPilot, KerasLinear
from donkeycar.parts.keras import default_linear
def test_linear():
kl = KerasLinear()
assert kl.model is not None
def test_linear_with_model():
kc = KerasLinear(default_linear())
assert kc.model is not N... | 20.3125 | 57 | 0.732308 | 45 | 325 | 5.155556 | 0.511111 | 0.112069 | 0.155172 | 0.198276 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003731 | 0.175385 | 325 | 15 | 58 | 21.666667 | 0.86194 | 0.064615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.222222 | false | 0 | 0.333333 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e7d338847fe908e9a08d68d5e37159f4394e934a | 776 | py | Python | dunderMethod.py | babyabdul/completePythonCourse_ZTM | 6c48a8ca92ed4e1d340b8bb5d730559287e6dfd0 | [
"MIT"
] | null | null | null | dunderMethod.py | babyabdul/completePythonCourse_ZTM | 6c48a8ca92ed4e1d340b8bb5d730559287e6dfd0 | [
"MIT"
] | null | null | null | dunderMethod.py | babyabdul/completePythonCourse_ZTM | 6c48a8ca92ed4e1d340b8bb5d730559287e6dfd0 | [
"MIT"
] | null | null | null | # Dunder methods are __builtinfunction__
# Dunder methods are special method names
class Toy():
def __init__(self, color, age):
self.color = color
self.age = age
self.my_dict = {
'name': 'John',
'isMarried': False
}
def __str__(self):
... | 23.515152 | 43 | 0.597938 | 92 | 776 | 4.543478 | 0.391304 | 0.229665 | 0.203349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003591 | 0.282216 | 776 | 33 | 44 | 23.515152 | 0.746858 | 0.100515 | 0 | 0 | 0 | 0 | 0.090498 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.208333 | false | 0 | 0 | 0.166667 | 0.375 | 0.291667 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
99e11016200de390934ccd84d19c850a69654af7 | 190 | py | Python | cumulusci/__init__.py | justindonnaruma/CumulusCI | cc097c1f6f102a104f83ad9a9684af9d6bc0af31 | [
"BSD-3-Clause"
] | null | null | null | cumulusci/__init__.py | justindonnaruma/CumulusCI | cc097c1f6f102a104f83ad9a9684af9d6bc0af31 | [
"BSD-3-Clause"
] | 2 | 2021-03-25T23:56:47.000Z | 2021-03-31T19:52:05.000Z | cumulusci/__init__.py | justindonnaruma/CumulusCI | cc097c1f6f102a104f83ad9a9684af9d6bc0af31 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import unicode_literals
import os
__import__('pkg_resources').declare_namespace('cumulusci')
__version__ = '2.0.3'
__location__ = os.path.dirname(os.path.realpath(__file__))
| 31.666667 | 58 | 0.810526 | 25 | 190 | 5.24 | 0.8 | 0.091603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.068421 | 190 | 5 | 59 | 38 | 0.723164 | 0 | 0 | 0 | 0 | 0 | 0.142105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
99e85d4f4a73a64783ac9d7cbb1cac729807a262 | 247 | py | Python | Python Book/10. Drawing on the Console/07_christmas_tree/christmas_tree.py | alexanderivanov2/Softuni-Software-Engineering | 8adb96f445f1da17dbb6eded9e9594319154c7e7 | [
"MIT"
] | null | null | null | Python Book/10. Drawing on the Console/07_christmas_tree/christmas_tree.py | alexanderivanov2/Softuni-Software-Engineering | 8adb96f445f1da17dbb6eded9e9594319154c7e7 | [
"MIT"
] | null | null | null | Python Book/10. Drawing on the Console/07_christmas_tree/christmas_tree.py | alexanderivanov2/Softuni-Software-Engineering | 8adb96f445f1da17dbb6eded9e9594319154c7e7 | [
"MIT"
] | null | null | null | n = int(input())
print(" " * (n + 1) + "|")
for row in range(1, n + 1):
space = n - row
stars = row
print(" " * space, end="")
print("*" * stars, end="")
print(" " + "|", end=" ")
print("*" * stars, end="")
print(" ")
| 20.583333 | 30 | 0.408907 | 30 | 247 | 3.366667 | 0.4 | 0.316832 | 0.257426 | 0.316832 | 0.415842 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.307692 | 247 | 11 | 31 | 22.454545 | 0.573099 | 0 | 0 | 0.2 | 0 | 0 | 0.036437 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
82009251517711c3aa4b0e03c6a1758e6a25e1b2 | 12,218 | py | Python | compare_costs_of_materials.py | RPGLite/analysis | 13f683beb26d77c6f7ae7de54808b0cb5acb9eee | [
"MIT"
] | null | null | null | compare_costs_of_materials.py | RPGLite/analysis | 13f683beb26d77c6f7ae7de54808b0cb5acb9eee | [
"MIT"
] | 1 | 2020-11-27T14:38:33.000Z | 2020-11-27T14:38:33.000Z | compare_costs_of_materials.py | RPGLite/analysis | 13f683beb26d77c6f7ae7de54808b0cb5acb9eee | [
"MIT"
] | null | null | null | from helper_fns import *
for p in pairs:
states = 0
major_mistakes_possible = 0
minor_mistakes_possible = 0
total_cost_of_second_best = 0.0
with open("lookupV2/beta/action_listing/"+p+".txt","r") as f:
for b in f.readlines():
possible_actions = b.split("{")[1][:-2]
... | 134.263736 | 271 | 0.789327 | 1,804 | 12,218 | 5.325942 | 0.176275 | 0.130516 | 0.225437 | 0.124584 | 0.56505 | 0.555475 | 0.38062 | 0.376457 | 0.376457 | 0.367714 | 0 | 0.325738 | 0.163038 | 12,218 | 91 | 272 | 134.263736 | 0.613828 | 0.876985 | 0 | 0.178571 | 0 | 0.035714 | 0.130556 | 0.020139 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.035714 | 0 | 0.035714 | 0.035714 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
820130d5798530f289432f8cc52ef17d2aec4b34 | 96 | py | Python | catello_bot/apps.py | AGESCI-Campania/catello | c7bca3b3058f71586c21a81c97a4bc1a983324db | [
"MIT"
] | null | null | null | catello_bot/apps.py | AGESCI-Campania/catello | c7bca3b3058f71586c21a81c97a4bc1a983324db | [
"MIT"
] | 1 | 2022-03-27T06:53:28.000Z | 2022-03-27T06:53:28.000Z | catello_bot/apps.py | AGESCI-Campania/catello | c7bca3b3058f71586c21a81c97a4bc1a983324db | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class CatelloBotConfig(AppConfig):
name = 'catello_bot'
| 16 | 34 | 0.770833 | 11 | 96 | 6.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 96 | 5 | 35 | 19.2 | 0.901235 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
412f6f9e0697715ca4487433371c02ddf8aa41ef | 19 | py | Python | cloudmesh/manual/__version__.py | Lamcloud/cloudmesh-manual | 6d94270e4a90f96f3906caa78ac24bf7f4468608 | [
"Apache-2.0"
] | null | null | null | cloudmesh/manual/__version__.py | Lamcloud/cloudmesh-manual | 6d94270e4a90f96f3906caa78ac24bf7f4468608 | [
"Apache-2.0"
] | null | null | null | cloudmesh/manual/__version__.py | Lamcloud/cloudmesh-manual | 6d94270e4a90f96f3906caa78ac24bf7f4468608 | [
"Apache-2.0"
] | null | null | null | version = "4.2.0"
| 9.5 | 18 | 0.526316 | 4 | 19 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.210526 | 19 | 1 | 19 | 19 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4178f786802eb2f52e753b0ceb08680af62c3de0 | 79 | py | Python | tests/scripts/__init__.py | nilsholle/sampledb | 90d7487a3990995ca2ec5dfd8b59d4739d6a9a87 | [
"MIT"
] | 5 | 2020-02-13T15:25:37.000Z | 2021-05-06T21:05:14.000Z | tests/scripts/__init__.py | nilsholle/sampledb | 90d7487a3990995ca2ec5dfd8b59d4739d6a9a87 | [
"MIT"
] | 28 | 2019-11-12T14:14:08.000Z | 2022-03-11T16:29:27.000Z | tests/scripts/__init__.py | nilsholle/sampledb | 90d7487a3990995ca2ec5dfd8b59d4739d6a9a87 | [
"MIT"
] | 8 | 2019-12-10T15:46:02.000Z | 2021-11-02T12:24:52.000Z | # coding: utf-8
"""
"""
__author__ = 'Florian Rhiem <f.rhiem@fz-juelich.de>'
| 11.285714 | 52 | 0.620253 | 11 | 79 | 4.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.151899 | 79 | 6 | 53 | 13.166667 | 0.656716 | 0.164557 | 0 | 0 | 0 | 0 | 0.660714 | 0.410714 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
419be4a3978ef1e3ab41539847aa8fce73ae7fe0 | 226 | py | Python | models/__init__.py | yuqi657/tsn-pytorch | 7f35b89102264296d130bee763b55d8c77b5da95 | [
"BSD-2-Clause"
] | null | null | null | models/__init__.py | yuqi657/tsn-pytorch | 7f35b89102264296d130bee763b55d8c77b5da95 | [
"BSD-2-Clause"
] | null | null | null | models/__init__.py | yuqi657/tsn-pytorch | 7f35b89102264296d130bee763b55d8c77b5da95 | [
"BSD-2-Clause"
] | null | null | null | '''
Author: your name
Date: 2021-05-11 16:38:15
LastEditTime: 2021-05-13 07:39:19
LastEditors: Please set LastEditors
Description: In User Settings Edit
FilePath: /tsn-pytorch/models/__init__.py
'''
from .tsn_add_flow import * | 25.111111 | 41 | 0.769912 | 37 | 226 | 4.540541 | 0.891892 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139303 | 0.110619 | 226 | 9 | 42 | 25.111111 | 0.696517 | 0.840708 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
41bea75888a85b28b84de0457155c222408f105e | 147 | py | Python | python/testData/override/instanceCheck_after.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | null | null | null | python/testData/override/instanceCheck_after.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | 11 | 2017-02-27T22:35:32.000Z | 2021-12-24T08:07:40.000Z | python/testData/override/instanceCheck_after.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | 1 | 2020-11-27T10:36:50.000Z | 2020-11-27T10:36:50.000Z | class MyType(type):
def __instancecheck__(cls, instance):
<selection>return super(MyType, cls).__instancecheck__(instance)</selection>
| 36.75 | 84 | 0.741497 | 15 | 147 | 6.733333 | 0.666667 | 0.336634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136054 | 147 | 3 | 85 | 49 | 0.795276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
41c7fadc5619043d3d99e745501b3d8919bdb4b1 | 412 | py | Python | polyaxon/db/admin/notebooks.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | polyaxon/db/admin/notebooks.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | polyaxon/db/admin/notebooks.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | from django.contrib import admin
from db.admin.abstract_job import JobStatusAdmin
from db.admin.utils import DiffModelAdmin
from db.models.notebooks import NotebookJob, NotebookJobStatus
class NotebookJobAdmin(DiffModelAdmin):
pass
class NotebookJobStatusAdmin(JobStatusAdmin):
pass
admin.site.register(No... | 22.888889 | 62 | 0.839806 | 43 | 412 | 8.023256 | 0.488372 | 0.052174 | 0.063768 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101942 | 412 | 17 | 63 | 24.235294 | 0.932432 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
68c17d619abc78490ab673461913382bbb06dfb3 | 188 | py | Python | Student Report Card/Category.py | mattblasa/python-projects | c238f210a83143a73a42e1fa3bd7aa14d141d416 | [
"MIT"
] | 1 | 2020-10-29T23:11:08.000Z | 2020-10-29T23:11:08.000Z | Student Report Card/Category.py | mattblasa/Python-Projects | c238f210a83143a73a42e1fa3bd7aa14d141d416 | [
"MIT"
] | null | null | null | Student Report Card/Category.py | mattblasa/Python-Projects | c238f210a83143a73a42e1fa3bd7aa14d141d416 | [
"MIT"
] | null | null | null | class Category:
def _init_(self, categoryName):
self.name = categoryName
self.weight = 0
def setWeight(self, percentage):
self.weight = int(percentage) | 26.857143 | 37 | 0.62766 | 20 | 188 | 5.8 | 0.6 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007407 | 0.281915 | 188 | 7 | 37 | 26.857143 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
68e1213ad4c8e942bba3f39cb0ca3f655ede85fe | 329 | py | Python | jade/jade.py | adamwight/jade | 7bd3a0273a883fb257bde80a2984ba03125b04d0 | [
"MIT"
] | null | null | null | jade/jade.py | adamwight/jade | 7bd3a0273a883fb257bde80a2984ba03125b04d0 | [
"MIT"
] | 3 | 2017-12-02T20:10:27.000Z | 2018-02-08T16:20:14.000Z | jade/jade.py | wiki-ai/jade | 7bd3a0273a883fb257bde80a2984ba03125b04d0 | [
"MIT"
] | 1 | 2017-09-06T20:32:55.000Z | 2017-09-06T20:32:55.000Z | """
Console access to JADE
Usage:
jade [-h | --help]
jade server
Available commands:
server Start the web server.
Options:
--help Show this usage message.
"""
import docopt_subcommands as dsc
from .applications import wsgi # noqa: F401
def main():
dsc.main(program='jade', version='j... | 15.666667 | 47 | 0.653495 | 43 | 329 | 4.976744 | 0.744186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016 | 0.240122 | 329 | 20 | 48 | 16.45 | 0.84 | 0.580547 | 0 | 0 | 0 | 0 | 0.084615 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
68e9f305ab7b11105a4308ace9a3253b84ee80d0 | 244 | py | Python | python/testData/inspections/PyTypeCheckerInspection/DunderInitAnnotatedAsNonNone.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyTypeCheckerInspection/DunderInitAnnotatedAsNonNone.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/PyTypeCheckerInspection/DunderInitAnnotatedAsNonNone.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class A:
def __init__(self) -> <warning descr="__init__ should return None">int</warning>:
pass
class B:
def __init__(self, foo):
<warning descr="__init__ should return None"># type: (str) -> int</warning>
pass | 27.111111 | 85 | 0.622951 | 31 | 244 | 4.387097 | 0.516129 | 0.102941 | 0.161765 | 0.323529 | 0.470588 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241803 | 244 | 9 | 86 | 27.111111 | 0.735135 | 0.114754 | 0 | 0.285714 | 0 | 0 | 0.251163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.285714 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
68f0d7374d5ed9ba56c32fa9f94923946ef2f6d3 | 514 | py | Python | cupo/admin.py | jjmartinr01/gauss3 | 1c71c44430e0f15fb2f3f83d32ad66bb1b7e3e94 | [
"MIT"
] | null | null | null | cupo/admin.py | jjmartinr01/gauss3 | 1c71c44430e0f15fb2f3f83d32ad66bb1b7e3e94 | [
"MIT"
] | null | null | null | cupo/admin.py | jjmartinr01/gauss3 | 1c71c44430e0f15fb2f3f83d32ad66bb1b7e3e94 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from django.contrib import admin
from cupo.models import *
admin.site.register(Cupo)
admin.site.register(Materia_cupo)
admin.site.register(Profesores_cupo)
admin.site.register(EspecialidadCupo)
admin.site.register(Profesor_cupo)
admin.site.register(PlantillaOrganica)
admin.site.register(Planti... | 30.235294 | 50 | 0.832685 | 63 | 514 | 6.746032 | 0.365079 | 0.254118 | 0.48 | 0.197647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002049 | 0.050584 | 514 | 17 | 51 | 30.235294 | 0.868852 | 0.040856 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ec1370e39edc479d46cef1f95a3565571d7f1d47 | 106 | py | Python | Python/Codeforces/791A.py | flmnv/Training | 6070b8ddfb6e01c0f433c813265bf50d59a26ef4 | [
"Unlicense"
] | null | null | null | Python/Codeforces/791A.py | flmnv/Training | 6070b8ddfb6e01c0f433c813265bf50d59a26ef4 | [
"Unlicense"
] | null | null | null | Python/Codeforces/791A.py | flmnv/Training | 6070b8ddfb6e01c0f433c813265bf50d59a26ef4 | [
"Unlicense"
] | null | null | null | k = 0
ab = input().split(' ')
a = int(ab[0])
b = int(ab[1])
while a <= b:
a *= 3
b *= 2
k += 1
print(k) | 11.777778 | 23 | 0.443396 | 24 | 106 | 1.958333 | 0.541667 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077922 | 0.273585 | 106 | 9 | 24 | 11.777778 | 0.532468 | 0 | 0 | 0 | 0 | 0 | 0.009346 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ec1ad46037b1bfd41e1d9e308cd14f6965124ec8 | 107 | py | Python | tests/models.py | iwoca/django-seven | c7be98b73c139c9e74a9be94a0f20a723c739c80 | [
"BSD-3-Clause"
] | 9 | 2016-05-25T22:33:17.000Z | 2021-05-29T18:38:07.000Z | tests/models.py | iwoca/django-upgrade-tools | c7be98b73c139c9e74a9be94a0f20a723c739c80 | [
"BSD-3-Clause"
] | 3 | 2016-06-19T21:17:06.000Z | 2016-07-20T20:26:14.000Z | tests/models.py | iwoca/django-upgrade-tools | c7be98b73c139c9e74a9be94a0f20a723c739c80 | [
"BSD-3-Clause"
] | 1 | 2016-08-11T07:27:30.000Z | 2016-08-11T07:27:30.000Z |
from django.db import models
class SuperHero(models.Model):
name = models.CharField(max_length=255)
| 15.285714 | 43 | 0.757009 | 15 | 107 | 5.333333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032967 | 0.149533 | 107 | 6 | 44 | 17.833333 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ec413536cb774d12bcc5e25309afebb54172bb36 | 153 | py | Python | config.py | Reimilia/Proxy_Server | d04dd083604fd39d161dd0382b49d2d3f4ab8b80 | [
"MIT"
] | null | null | null | config.py | Reimilia/Proxy_Server | d04dd083604fd39d161dd0382b49d2d3f4ab8b80 | [
"MIT"
] | null | null | null | config.py | Reimilia/Proxy_Server | d04dd083604fd39d161dd0382b49d2d3f4ab8b80 | [
"MIT"
] | null | null | null | # Privacy server redirect
PRIVACY_BASE = 'http://localhost:5000'
# FHIR server redirect
SERVER_BASE = 'http://genomics-advisor.smartplatforms.org:2048'
| 25.5 | 63 | 0.777778 | 19 | 153 | 6.157895 | 0.684211 | 0.239316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057971 | 0.098039 | 153 | 5 | 64 | 30.6 | 0.789855 | 0.287582 | 0 | 0 | 0 | 0 | 0.641509 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6b62f3ece7f63c3f1acaf1d7db4f914eff238395 | 288 | py | Python | test/test_messages.py | Almad/pink-belt | e07f4e0231e2fc8c130312c9768f15e08ab9e77c | [
"MIT"
] | null | null | null | test/test_messages.py | Almad/pink-belt | e07f4e0231e2fc8c130312c9768f15e08ab9e77c | [
"MIT"
] | null | null | null | test/test_messages.py | Almad/pink-belt | e07f4e0231e2fc8c130312c9768f15e08ab9e77c | [
"MIT"
] | null | null | null | from mock import patch
from pinkbelt.messages import post_message
@patch("pinkbelt.messages.slack_post_message")
def test_post_message(mock_post_message):
post_message('test', 'room')
assert mock_post_message.called, True
assert mock_post_message.call_args_list, ['test', 'room']
| 28.8 | 59 | 0.802083 | 42 | 288 | 5.166667 | 0.428571 | 0.354839 | 0.207373 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097222 | 288 | 9 | 60 | 32 | 0.834615 | 0 | 0 | 0 | 0 | 0 | 0.180556 | 0.125 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6b82bf221840391b14fd232f04118d89dc444119 | 104 | py | Python | event_log/channels/__init__.py | darkismus/kompassi | 35dea2c7af2857a69cae5c5982b48f01ba56da1f | [
"CC-BY-3.0"
] | 13 | 2015-11-29T12:19:12.000Z | 2021-02-21T15:42:11.000Z | event_log/channels/__init__.py | darkismus/kompassi | 35dea2c7af2857a69cae5c5982b48f01ba56da1f | [
"CC-BY-3.0"
] | 23 | 2015-04-29T19:43:34.000Z | 2021-02-10T05:50:17.000Z | event_log/channels/__init__.py | darkismus/kompassi | 35dea2c7af2857a69cae5c5982b48f01ba56da1f | [
"CC-BY-3.0"
] | 11 | 2015-09-20T18:59:00.000Z | 2020-02-07T08:47:34.000Z | from . import email
from . import callback
channels = dict(
email=email,
callback=callback,
)
| 11.555556 | 22 | 0.682692 | 12 | 104 | 5.916667 | 0.5 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 104 | 8 | 23 | 13 | 0.8875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 4 |
6b944181a671b7b195c939bf69a346e2873c6855 | 341 | py | Python | python_demo/main.py | witchc/version-and-build | 3e00fae8d3743bc85b7087f6925d2efa0e73b73d | [
"MIT"
] | null | null | null | python_demo/main.py | witchc/version-and-build | 3e00fae8d3743bc85b7087f6925d2efa0e73b73d | [
"MIT"
] | null | null | null | python_demo/main.py | witchc/version-and-build | 3e00fae8d3743bc85b7087f6925d2efa0e73b73d | [
"MIT"
] | null | null | null | import click
import sys
import platform
import json
import pprint
from python_demo import get_version_info,__version__,__project_name__
@click.group()
@click.version_option(__version__, prog_name=__project_name__)
def cli():
pass
@cli.command()
def version():
pprint.pprint(get_version_info())
if __name__ == ... | 18.944444 | 69 | 0.774194 | 46 | 341 | 5.021739 | 0.5 | 0.08658 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1261 | 341 | 18 | 70 | 18.944444 | 0.775168 | 0 | 0 | 0 | 0 | 0 | 0.023392 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | true | 0.066667 | 0.4 | 0 | 0.533333 | 0.133333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
6ba5ca06123ee7f0078cd338e00dd4be9f908355 | 149 | py | Python | problemsets/Codeforces/Python/A1148.py | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | problemsets/Codeforces/Python/A1148.py | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | problemsets/Codeforces/Python/A1148.py | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | """
*
* Author: Juarez Paulino(coderemite)
* Email: juarez.paulino@gmail.com
*
"""
a,b,c=map(int,input().split())
print((min(a,b)+c<<1)+(a!=b)) | 18.625 | 38 | 0.590604 | 24 | 149 | 3.666667 | 0.708333 | 0.068182 | 0.068182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007634 | 0.120805 | 149 | 8 | 39 | 18.625 | 0.664122 | 0.503356 | 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 | 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 | 4 |
6bb14ec9b1050b920dcc4110bab612db2964ccec | 59 | py | Python | enthought/pyface/workbench/window_event.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/pyface/workbench/window_event.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/pyface/workbench/window_event.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from pyface.workbench.window_event import *
| 19.666667 | 43 | 0.813559 | 8 | 59 | 5.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 59 | 2 | 44 | 29.5 | 0.903846 | 0.20339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6bbc8fe5b178895e90e3a175e0bc497c155e1fe7 | 119 | py | Python | topCoder/srms/300s/srm337/div2/palindromize2.py | gauravsingh58/algo | 397859a53429e7a585e5f6964ad24146c6261326 | [
"WTFPL"
] | 1 | 2020-09-30T19:53:08.000Z | 2020-09-30T19:53:08.000Z | topCoder/srms/300s/srm337/div2/palindromize2.py | gauravsingh58/algo | 397859a53429e7a585e5f6964ad24146c6261326 | [
"WTFPL"
] | null | null | null | topCoder/srms/300s/srm337/div2/palindromize2.py | gauravsingh58/algo | 397859a53429e7a585e5f6964ad24146c6261326 | [
"WTFPL"
] | 1 | 2020-10-15T09:10:57.000Z | 2020-10-15T09:10:57.000Z | class Palindromize2:
def minChanges(self, s):
return ''.join([min(s[i], s[-i-1]) for i in xrange(len(s))])
| 29.75 | 68 | 0.588235 | 20 | 119 | 3.5 | 0.75 | 0.057143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021053 | 0.201681 | 119 | 3 | 69 | 39.666667 | 0.715789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
6bdca071b6e6e3227ff0204a73dfe41e09eeb577 | 306 | py | Python | setup.py | Canertasan/nike-snkrs-bot | 884d63779e0e6f24847453ef605fe3fffa58fe9e | [
"Unlicense"
] | null | null | null | setup.py | Canertasan/nike-snkrs-bot | 884d63779e0e6f24847453ef605fe3fffa58fe9e | [
"Unlicense"
] | null | null | null | setup.py | Canertasan/nike-snkrs-bot | 884d63779e0e6f24847453ef605fe3fffa58fe9e | [
"Unlicense"
] | 1 | 2022-01-09T20:21:40.000Z | 2022-01-09T20:21:40.000Z | import pip
def import_or_install(package):
try:
__import__(package)
except ImportError:
pip.main(['install', package])
if __name__ == '__main__':
required_packages = ["selenium", "webdriver_manager"] # required packages
for package in required_packages:
import_or_install(package) | 23.538462 | 75 | 0.728758 | 35 | 306 | 5.828571 | 0.542857 | 0.205882 | 0.147059 | 0.215686 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 306 | 13 | 76 | 23.538462 | 0.8 | 0.055556 | 0 | 0 | 0 | 0 | 0.138889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.5 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6bfe275ad4f859a20939d73df716ca8926f1edaa | 233 | py | Python | sensors/stereo.py | dawnos/robotcar-to-rosbag | c51035d7fd7e08487629a9b06d84a86890f7cc03 | [
"MIT"
] | null | null | null | sensors/stereo.py | dawnos/robotcar-to-rosbag | c51035d7fd7e08487629a9b06d84a86890f7cc03 | [
"MIT"
] | null | null | null | sensors/stereo.py | dawnos/robotcar-to-rosbag | c51035d7fd7e08487629a9b06d84a86890f7cc03 | [
"MIT"
] | null | null | null |
from image import Image
class Stereo(Image):
def __init__(self, name, root_dir):
super(Stereo, self).__init__(
"stereo_%s" % name, "/stereo/%s" % name, root_dir, "stereo/%s" % name, "stereo.timestamps")
| 29.125 | 103 | 0.618026 | 30 | 233 | 4.433333 | 0.466667 | 0.157895 | 0.24812 | 0.255639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227468 | 233 | 8 | 104 | 29.125 | 0.738889 | 0 | 0 | 0 | 0 | 0 | 0.193133 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
d40e87733121ba86d76e379ea976e17e6fc1ab91 | 556 | py | Python | core/algebra/exceptions.py | MrBidya/TechFest | 32e95d2557fe70e84931292a9e859615869cd659 | [
"MIT"
] | 1 | 2017-05-26T13:54:39.000Z | 2017-05-26T13:54:39.000Z | core/algebra/exceptions.py | MrBidya/TechFest | 32e95d2557fe70e84931292a9e859615869cd659 | [
"MIT"
] | 1 | 2017-06-09T12:18:36.000Z | 2017-06-09T12:18:36.000Z | core/algebra/exceptions.py | MrBidya/TechFest | 32e95d2557fe70e84931292a9e859615869cd659 | [
"MIT"
] | 2 | 2017-05-25T13:51:17.000Z | 2020-10-02T06:39:41.000Z | # This Exception is raised when the answer is not a number
# "Any value is a solution" for instance so formatting doesn't
# look like {"answer": {"x1" : "Any value..."}}
class ProblemMessageException(Exception):
pass
class NoRealRootsException(ProblemMessageException):
def __str__(self):
return 'No rea... | 25.272727 | 62 | 0.723022 | 63 | 556 | 6.190476 | 0.587302 | 0.061538 | 0.076923 | 0.123077 | 0.297436 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002222 | 0.190647 | 556 | 21 | 63 | 26.47619 | 0.864444 | 0.293165 | 0 | 0.272727 | 0 | 0 | 0.128866 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.090909 | 0 | 0.272727 | 0.909091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
d42034c8a4d47ce3420ebd3252ecc557c6caf6be | 198 | py | Python | QCDAnalysis/Skimming/python/qcdJetFilterStreamLoPath_cff.py | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 6 | 2017-09-08T14:12:56.000Z | 2022-03-09T23:57:01.000Z | QCDAnalysis/Skimming/python/qcdJetFilterStreamLoPath_cff.py | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 545 | 2017-09-19T17:10:19.000Z | 2022-03-07T16:55:27.000Z | QCDAnalysis/Skimming/python/qcdJetFilterStreamLoPath_cff.py | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 14 | 2017-10-04T09:47:21.000Z | 2019-10-23T18:04:45.000Z | import FWCore.ParameterSet.Config as cms
from QCDAnalysis.Skimming.qcdJetFilterStreamLoSkim_cff import *
qcdJetFilterStreamLoPath = cms.Path(cms.SequencePlaceholder("qcdSingleJetFilterStreamLo"))
| 33 | 90 | 0.863636 | 18 | 198 | 9.444444 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065657 | 198 | 5 | 91 | 39.6 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0.13198 | 0.13198 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d426494b7972e522150e5b83baf458e5d6077151 | 116 | py | Python | examples/recently_added.py | fuzeman/plex.py | f1155f94bce1a695a569b56ac8ba5bb6da00a07f | [
"MIT"
] | 24 | 2015-01-18T20:46:26.000Z | 2021-05-12T13:57:48.000Z | examples/recently_added.py | fuzeman/plex.py | f1155f94bce1a695a569b56ac8ba5bb6da00a07f | [
"MIT"
] | 2 | 2015-10-20T13:21:32.000Z | 2016-02-12T09:49:12.000Z | examples/recently_added.py | fuzeman/plex.py | f1155f94bce1a695a569b56ac8ba5bb6da00a07f | [
"MIT"
] | 3 | 2016-01-10T06:17:47.000Z | 2018-05-08T19:29:03.000Z | from plex import Plex
for item in Plex['library'].recently_added():
print '[%s] %s' % (item.type, item.title)
| 19.333333 | 45 | 0.655172 | 18 | 116 | 4.166667 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 116 | 5 | 46 | 23.2 | 0.78125 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d47814b84c8f0216a7ab090246d9e104cfe414db | 239 | py | Python | tests/test_element.py | ahojukka5/gmshparser | add27f8ddc97fb14614432e02bc626ec61030b6d | [
"MIT"
] | 10 | 2020-04-17T21:02:07.000Z | 2021-12-21T23:11:34.000Z | tests/test_element.py | ahojukka5/gmshparser | add27f8ddc97fb14614432e02bc626ec61030b6d | [
"MIT"
] | null | null | null | tests/test_element.py | ahojukka5/gmshparser | add27f8ddc97fb14614432e02bc626ec61030b6d | [
"MIT"
] | 1 | 2020-11-18T18:04:48.000Z | 2020-11-18T18:04:48.000Z | from gmshparser.element import Element
def test_element():
element = Element()
element.set_tag(1)
element.set_connectivity([1, 2, 3, 4])
assert element.get_tag() == 1
assert element.get_connectivity() == [1, 2, 3, 4]
| 23.9 | 53 | 0.665272 | 34 | 239 | 4.529412 | 0.441176 | 0.272727 | 0.272727 | 0.194805 | 0.207792 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052083 | 0.196653 | 239 | 9 | 54 | 26.555556 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
00f6a71edb82123f20daa9a20119591923b10b47 | 412 | py | Python | AI/ai.py | kamilsj/Syrah | 3c5de50f5ef7178e44940bcea42e55ef8321084a | [
"MIT"
] | 4 | 2016-10-05T15:17:21.000Z | 2021-02-04T10:04:39.000Z | AI/ai.py | kamilsj/syrah | 3c5de50f5ef7178e44940bcea42e55ef8321084a | [
"MIT"
] | null | null | null | AI/ai.py | kamilsj/syrah | 3c5de50f5ef7178e44940bcea42e55ef8321084a | [
"MIT"
] | null | null | null | import tensorflow as tf #machine learning library
import numpy as np #tables transformations
import scipy as sp #doing some equasions
class ml:
def __init__():
search = tf.feature_column.numeric_column("search")
result = tf.feature_column.numeric_column("result")
... | 21.684211 | 59 | 0.618932 | 47 | 412 | 5.255319 | 0.659574 | 0.072874 | 0.121457 | 0.178138 | 0.226721 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010563 | 0.31068 | 412 | 19 | 60 | 21.684211 | 0.859155 | 0.165049 | 0 | 0.181818 | 0 | 0 | 0.035191 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.181818 | 0.272727 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
00f7c28d2602e499952f7917a80940e261954d05 | 61 | py | Python | setup.py | Urucas/pip-check | 777d8208bb89f566b95885a6711c773580a9c80f | [
"MIT"
] | null | null | null | setup.py | Urucas/pip-check | 777d8208bb89f566b95885a6711c773580a9c80f | [
"MIT"
] | null | null | null | setup.py | Urucas/pip-check | 777d8208bb89f566b95885a6711c773580a9c80f | [
"MIT"
] | null | null | null | from setuptools import setup
setup(scripts=['pip-check.py'])
| 20.333333 | 31 | 0.770492 | 9 | 61 | 5.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081967 | 61 | 2 | 32 | 30.5 | 0.839286 | 0 | 0 | 0 | 0 | 0 | 0.196721 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
00fe9c5f1036f7fa2f850705d96b6d03ff8a9eb8 | 717 | py | Python | Common/models.py | hxllll/Lost | 50612f004a49dca6b2c9298613189b927daae7a8 | [
"Apache-2.0"
] | null | null | null | Common/models.py | hxllll/Lost | 50612f004a49dca6b2c9298613189b927daae7a8 | [
"Apache-2.0"
] | 20 | 2020-01-28T22:35:15.000Z | 2022-03-11T23:38:45.000Z | Common/models.py | hxllll/Lost | 50612f004a49dca6b2c9298613189b927daae7a8 | [
"Apache-2.0"
] | null | null | null | from django.db import models
# Create your models here.
class Loster(models.Model):
l_name = models.CharField(max_length=64)
l_img = models.CharField(max_length=256)
l_age = models.IntegerField(default=0)
l_height = models.IntegerField(default=160)
l_feature = models.CharField(max_length=256)
... | 35.85 | 54 | 0.753138 | 110 | 717 | 4.618182 | 0.390909 | 0.23622 | 0.283465 | 0.377953 | 0.505906 | 0.452756 | 0.287402 | 0.149606 | 0 | 0 | 0 | 0.042484 | 0.146444 | 717 | 19 | 55 | 37.736842 | 0.787582 | 0.033473 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
2e030ac9173be5091abc7ff06c6b53d2d2302a97 | 5,071 | py | Python | src/cool/AST/ast_cil.py | matcom-compilers-2019/cool-compiler-greidy-ariel-quevedo | d6d3ecedad5821817cc62040691ded5dcb84e252 | [
"MIT"
] | 1 | 2019-11-21T22:06:45.000Z | 2019-11-21T22:06:45.000Z | src/cool/AST/ast_cil.py | matcom-compilers-2019/cool-compiler-greidy-ariel-quevedo | d6d3ecedad5821817cc62040691ded5dcb84e252 | [
"MIT"
] | null | null | null | src/cool/AST/ast_cil.py | matcom-compilers-2019/cool-compiler-greidy-ariel-quevedo | d6d3ecedad5821817cc62040691ded5dcb84e252 | [
"MIT"
] | null | null | null | class CILNode(object):
pass
class ProgramCIL(CILNode):
def __init__(self, type_list, data_list, code):
self.type_list = type_list
self.data_list = data_list
self.code = code
class TypeCIL(CILNode):
def __init__(self, name, attr_list, method_list):
self.name = name
s... | 23.368664 | 62 | 0.672451 | 578 | 5,071 | 5.565744 | 0.15917 | 0.078334 | 0.123096 | 0.20143 | 0.312403 | 0.200497 | 0.158222 | 0.158222 | 0.158222 | 0.039789 | 0 | 0.002068 | 0.237231 | 5,071 | 217 | 63 | 23.368664 | 0.829628 | 0 | 0 | 0.379518 | 0 | 0 | 0.00138 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.216867 | false | 0.096386 | 0 | 0 | 0.53012 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.