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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
87a90edb077ff81f869992bfed058d4bd67673d1 | 27 | py | Python | utils/__init__.py | leoHeidel/dog-face-dataset | a70013b43abb7060cccdc0e07883e7dc7052ceeb | [
"MIT"
] | 1 | 2020-12-09T16:38:09.000Z | 2020-12-09T16:38:09.000Z | utils/__init__.py | leoHeidel/dog-face-dataset | a70013b43abb7060cccdc0e07883e7dc7052ceeb | [
"MIT"
] | null | null | null | utils/__init__.py | leoHeidel/dog-face-dataset | a70013b43abb7060cccdc0e07883e7dc7052ceeb | [
"MIT"
] | null | null | null | from .image_utils import *
| 13.5 | 26 | 0.777778 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
87c0b3a4dd28be2c7e1b934d6b635e62ffdf59ae | 70 | py | Python | axelerate/__init__.py | chuangzhu/aXeleRate | af3d45b6d44ac5815ae9e022fc49b28db855de4b | [
"MIT"
] | null | null | null | axelerate/__init__.py | chuangzhu/aXeleRate | af3d45b6d44ac5815ae9e022fc49b28db855de4b | [
"MIT"
] | null | null | null | axelerate/__init__.py | chuangzhu/aXeleRate | af3d45b6d44ac5815ae9e022fc49b28db855de4b | [
"MIT"
] | null | null | null | from .train import setup_training
from .infer import setup_inference
| 17.5 | 34 | 0.842857 | 10 | 70 | 5.7 | 0.7 | 0.385965 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128571 | 70 | 3 | 35 | 23.333333 | 0.934426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
87e9cf919057a238e5363ad03d013584c1530152 | 20,867 | py | Python | venv/lib/python3.6/site-packages/ansible_collections/dellemc/openmanage/tests/unit/plugins/modules/test_idrac_network.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 1 | 2020-01-22T13:11:23.000Z | 2020-01-22T13:11:23.000Z | venv/lib/python3.6/site-packages/ansible_collections/dellemc/openmanage/tests/unit/plugins/modules/test_idrac_network.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 12 | 2020-02-21T07:24:52.000Z | 2020-04-14T09:54:32.000Z | venv/lib/python3.6/site-packages/ansible_collections/dellemc/openmanage/tests/unit/plugins/modules/test_idrac_network.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Dell EMC OpenManage Ansible Modules
# Version 3.0.0
# Copyright (C) 2018-2021 Dell Inc. or its subsidiaries. All Rights Reserved.
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
#
from __future__ import (absolute_import, division, print_functio... | 73.996454 | 119 | 0.600853 | 2,098 | 20,867 | 5.555291 | 0.110582 | 0.060403 | 0.070356 | 0.095753 | 0.817417 | 0.802746 | 0.768597 | 0.746203 | 0.720206 | 0.720206 | 0 | 0.012211 | 0.293574 | 20,867 | 281 | 120 | 74.259786 | 0.778441 | 0.011406 | 0 | 0.603175 | 0 | 0 | 0.277387 | 0.019301 | 0 | 0 | 0 | 0 | 0.043651 | 1 | 0.051587 | false | 0.031746 | 0.055556 | 0 | 0.126984 | 0.003968 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3564142adb9c9709547799f4912aee51b2096e6d | 236 | py | Python | app/views.py | ykatzir/qapp-gsuite-react | a2935b27049372d65f7c995fef14642685306a0e | [
"Apache-2.0"
] | null | null | null | app/views.py | ykatzir/qapp-gsuite-react | a2935b27049372d65f7c995fef14642685306a0e | [
"Apache-2.0"
] | null | null | null | app/views.py | ykatzir/qapp-gsuite-react | a2935b27049372d65f7c995fef14642685306a0e | [
"Apache-2.0"
] | null | null | null | from flask import render_template
from app import app
@app.route('/')
@app.route('/index')
def index():
return render_template('config.html')
@app.route('/dashboard')
def dashboard():
return render_template('dashboard.html')
| 18.153846 | 44 | 0.716102 | 31 | 236 | 5.354839 | 0.419355 | 0.253012 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127119 | 236 | 12 | 45 | 19.666667 | 0.805825 | 0 | 0 | 0 | 0 | 0 | 0.177966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | true | 0 | 0.222222 | 0.222222 | 0.666667 | 0 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3567222aaafd72769e8a3611b5534ddaea1529ea | 39 | py | Python | main/online/permissions.py | MahanBi/Back-End | 5074ac1d341ad2addd1750e4aea2e6800be2bfef | [
"MIT"
] | 1 | 2017-04-02T17:14:04.000Z | 2017-04-02T17:14:04.000Z | ifttt/permissions.py | Verbozeteam/web | 2aecd67ec823e9d6ac243d6f8a71849dd0f9ed9d | [
"MIT"
] | 26 | 2020-06-12T14:36:59.000Z | 2020-07-10T08:39:53.000Z | ifttt/permissions.py | Verbozeteam/web | 2aecd67ec823e9d6ac243d6f8a71849dd0f9ed9d | [
"MIT"
] | 2 | 2015-08-14T13:31:30.000Z | 2015-09-13T10:07:49.000Z | from rest_framework import permissions
| 19.5 | 38 | 0.897436 | 5 | 39 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3574dcbb9d3462310499245056c754c10db0ca16 | 27 | py | Python | ipodcopier/__init__.py | kristjano/ipodcopier | e63665aa28704abbec00d0ec83fbd7279d1afabb | [
"MIT"
] | null | null | null | ipodcopier/__init__.py | kristjano/ipodcopier | e63665aa28704abbec00d0ec83fbd7279d1afabb | [
"MIT"
] | null | null | null | ipodcopier/__init__.py | kristjano/ipodcopier | e63665aa28704abbec00d0ec83fbd7279d1afabb | [
"MIT"
] | null | null | null | from .musiccopier import *
| 13.5 | 26 | 0.777778 | 3 | 27 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3588a0560589f32183d0e5c192a311660ac0da70 | 86 | py | Python | TimeWrapper_JE/venv/Lib/site-packages/je_time/modules/__init__.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | TimeWrapper_JE/venv/Lib/site-packages/je_time/modules/__init__.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | TimeWrapper_JE/venv/Lib/site-packages/je_time/modules/__init__.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | from je_time.modules import get_calendar
from je_time.modules import time_calculate
| 28.666667 | 43 | 0.860465 | 14 | 86 | 5 | 0.571429 | 0.171429 | 0.285714 | 0.485714 | 0.657143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 86 | 2 | 44 | 43 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
358fa5b291248e329be68f7bfbf94f06fb8aedea | 29 | py | Python | corehq/apps/ota/tests/__init__.py | dslowikowski/commcare-hq | ad8885cf8dab69dc85cb64f37aeaf06106124797 | [
"BSD-3-Clause"
] | 1 | 2015-02-10T23:26:39.000Z | 2015-02-10T23:26:39.000Z | corehq/apps/ota/tests/__init__.py | SEL-Columbia/commcare-hq | 992ee34a679c37f063f86200e6df5a197d5e3ff6 | [
"BSD-3-Clause"
] | 1 | 2022-03-12T01:03:25.000Z | 2022-03-12T01:03:25.000Z | corehq/apps/ota/tests/__init__.py | johan--/commcare-hq | 86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd | [
"BSD-3-Clause"
] | null | null | null | from .digest_restore import * | 29 | 29 | 0.827586 | 4 | 29 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ea3b35ba8d176391b3eb639bd03e104807b07c74 | 175 | py | Python | Chapter1/sumoftwodice.py | galinadychko/IntroToPython | 14b804f0d7f40e9e8cb515c885d01bdc5f70c627 | [
"MIT"
] | null | null | null | Chapter1/sumoftwodice.py | galinadychko/IntroToPython | 14b804f0d7f40e9e8cb515c885d01bdc5f70c627 | [
"MIT"
] | null | null | null | Chapter1/sumoftwodice.py | galinadychko/IntroToPython | 14b804f0d7f40e9e8cb515c885d01bdc5f70c627 | [
"MIT"
] | null | null | null | import random
import stdio
a = random.randrange(1, 7)
b = random.randrange(1, 7)
stdio.writeln("Sum after rolling 2 dices: " + str(a) + " + " + str(b) + " = " + str(a + b))
| 21.875 | 91 | 0.6 | 28 | 175 | 3.75 | 0.535714 | 0.285714 | 0.304762 | 0.32381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035971 | 0.205714 | 175 | 7 | 92 | 25 | 0.719424 | 0 | 0 | 0 | 0 | 0 | 0.188571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ea4bc0609e9147ed8fcd19098387bd9ce696d0ae | 568 | py | Python | sklearntools/sym/sym_transform_parts.py | modusdatascience/sklearntools | 6cb87edcb501440266622fe4c738be3f9015a859 | [
"BSD-3-Clause"
] | 2 | 2018-06-13T21:13:07.000Z | 2019-11-19T20:37:47.000Z | sklearntools/sym/sym_transform_parts.py | jcrudy/sklearntools | 6cb87edcb501440266622fe4c738be3f9015a859 | [
"BSD-3-Clause"
] | null | null | null | sklearntools/sym/sym_transform_parts.py | jcrudy/sklearntools | 6cb87edcb501440266622fe4c738be3f9015a859 | [
"BSD-3-Clause"
] | 1 | 2019-12-06T00:28:58.000Z | 2019-12-06T00:28:58.000Z | from .base import call_method_or_dispatch, fallback, create_registerer
from .parts import double_check
from .syms import syms
from .sym_transform import sym_transform
def sym_transform_parts_base(obj, target=None):
return (syms(obj), sym_transform(obj), target)
sym_transform_parts_dispatcher = {}
sym_transform_pa... | 47.333333 | 150 | 0.855634 | 79 | 568 | 5.670886 | 0.291139 | 0.321429 | 0.341518 | 0.180804 | 0.196429 | 0.196429 | 0.196429 | 0 | 0 | 0 | 0 | 0 | 0.075704 | 568 | 11 | 151 | 51.636364 | 0.853333 | 0 | 0 | 0 | 0 | 0 | 0.082746 | 0.049296 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.444444 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
ea6497e13f62c88b58db2bdbd7c366c42860f050 | 124 | py | Python | tests/input.py | ExObsSim/Rapoc-public | dd5a4af1e7ab531e8d3176026354719585752d58 | [
"BSD-3-Clause"
] | null | null | null | tests/input.py | ExObsSim/Rapoc-public | dd5a4af1e7ab531e8d3176026354719585752d58 | [
"BSD-3-Clause"
] | null | null | null | tests/input.py | ExObsSim/Rapoc-public | dd5a4af1e7ab531e8d3176026354719585752d58 | [
"BSD-3-Clause"
] | null | null | null | exomol_file = 'test_data/1H2-16O__POKAZATEL__R15000_0.3-50mu.xsec.TauREx.h5'
dace_file = 'test_data/1H2-16O__POKAZATEL_e2b'
| 41.333333 | 76 | 0.830645 | 22 | 124 | 4.136364 | 0.727273 | 0.175824 | 0.263736 | 0.32967 | 0.593407 | 0.593407 | 0 | 0 | 0 | 0 | 0 | 0.161017 | 0.048387 | 124 | 2 | 77 | 62 | 0.610169 | 0 | 0 | 0 | 0 | 0 | 0.741935 | 0.741935 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
57a05e3dde8bbac098574805d972b5207e2dd0b7 | 1,719 | py | Python | share/extended-cpt/analysis/vis/run.py | ucla-pbpl/pbpl-compton | a5afcdffc778f61a4726d7c5a231af2bca466900 | [
"MIT"
] | 2 | 2019-09-24T23:52:58.000Z | 2020-06-03T20:59:33.000Z | share/extended-cpt/analysis/vis/run.py | ucla-pbpl/pbpl-compton | a5afcdffc778f61a4726d7c5a231af2bca466900 | [
"MIT"
] | null | null | null | share/extended-cpt/analysis/vis/run.py | ucla-pbpl/pbpl-compton | a5afcdffc778f61a4726d7c5a231af2bca466900 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import os
import toml
import sys
os.system('rm -f *wrl *h5')
# print('### RUNNING GEANT4 (design.wrl) ###')
# conf = toml.load('sfqed.toml')
# A = conf['PrimaryGenerator']
# A['PythoGenerator'] = 'sfqed.pattern_spray'
# A['NumEvents'] = 100
# with open('temp.toml', 'w') as fout:
# toml.dump(... | 38.2 | 102 | 0.656195 | 277 | 1,719 | 4.057762 | 0.234657 | 0.085409 | 0.085409 | 0.135231 | 0.843416 | 0.843416 | 0.843416 | 0.843416 | 0.843416 | 0.819395 | 0 | 0.045039 | 0.108784 | 1,719 | 44 | 103 | 39.068182 | 0.688642 | 0.646888 | 0 | 0 | 0 | 0.071429 | 0.557118 | 0.142355 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.214286 | 0 | 0.214286 | 0.071429 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
57c61e1fa99ee81dd07e84545b3887c1d51d383c | 2,584 | py | Python | app/closeLoop/trainModels-prcp.py | fkwai/geolearn | 30cb4353d22af5020a48100d07ab04f465a315b0 | [
"MIT"
] | null | null | null | app/closeLoop/trainModels-prcp.py | fkwai/geolearn | 30cb4353d22af5020a48100d07ab04f465a315b0 | [
"MIT"
] | null | null | null | app/closeLoop/trainModels-prcp.py | fkwai/geolearn | 30cb4353d22af5020a48100d07ab04f465a315b0 | [
"MIT"
] | 2 | 2021-04-04T02:45:59.000Z | 2022-03-19T09:41:39.000Z | from hydroDL import pathSMAP, master, utils
from hydroDL.master import default
from hydroDL.post import plot, stat
import os
import matplotlib.pyplot as plt
import numpy as np
import torch
# training
tLst = [[20150501, 20151001], [20150402, 20160401]]
tagLst = ['2015RK', '2015']
for k in range(len(tLst)):
optData ... | 37.449275 | 85 | 0.662926 | 306 | 2,584 | 5.509804 | 0.232026 | 0.061684 | 0.094899 | 0.064057 | 0.817319 | 0.817319 | 0.816133 | 0.816133 | 0.816133 | 0.816133 | 0 | 0.05029 | 0.19969 | 2,584 | 68 | 86 | 38 | 0.76499 | 0.185372 | 0 | 0.607843 | 0 | 0 | 0.084648 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.137255 | 0 | 0.137255 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
17b915dc6e6f90a242e36ddfb4d72d3c90de4d48 | 12,978 | py | Python | optixrap/cu/boolean_solid.py | hanswenzel/opticks | b75b5929b6cf36a5eedeffb3031af2920f75f9f0 | [
"Apache-2.0"
] | 11 | 2020-07-05T02:39:32.000Z | 2022-03-20T18:52:44.000Z | optixrap/cu/boolean_solid.py | hanswenzel/opticks | b75b5929b6cf36a5eedeffb3031af2920f75f9f0 | [
"Apache-2.0"
] | null | null | null | optixrap/cu/boolean_solid.py | hanswenzel/opticks | b75b5929b6cf36a5eedeffb3031af2920f75f9f0 | [
"Apache-2.0"
] | 4 | 2020-09-03T20:36:32.000Z | 2022-01-19T07:42:21.000Z | #
# Copyright (c) 2019 Opticks Team. All Rights Reserved.
#
# This file is part of Opticks
# (see https://bitbucket.org/simoncblyth/opticks).
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License a... | 29.295711 | 80 | 0.63153 | 1,853 | 12,978 | 4.243929 | 0.098219 | 0.066124 | 0.092574 | 0.084308 | 0.764878 | 0.734232 | 0.713123 | 0.706256 | 0.698754 | 0.668998 | 0 | 0.029698 | 0.23979 | 12,978 | 442 | 81 | 29.361991 | 0.767383 | 0.067037 | 0 | 0.764526 | 0 | 0 | 0.008617 | 0 | 0 | 0 | 0.00696 | 0 | 0 | 1 | 0.159021 | false | 0 | 0.003058 | 0.039755 | 0.721713 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
17dd7143678dea9fa12650112a9e8401d5bbfae0 | 22 | py | Python | auxCallsHandler.py | storage4grid/s4g-electric-vehicle-analytics | 0f353800fa6dcb60d2b6bcacd760e77ae60c9ef3 | [
"MIT"
] | null | null | null | auxCallsHandler.py | storage4grid/s4g-electric-vehicle-analytics | 0f353800fa6dcb60d2b6bcacd760e77ae60c9ef3 | [
"MIT"
] | 5 | 2021-03-19T08:15:07.000Z | 2022-02-10T13:46:53.000Z | auxCallsHandler.py | storage4grid/s4g-electric-vehicle-analytics | 0f353800fa6dcb60d2b6bcacd760e77ae60c9ef3 | [
"MIT"
] | null | null | null | import os, json, time
| 11 | 21 | 0.727273 | 4 | 22 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aa094a8838949baf51c1b22cc1d0c99dd1c94374 | 4,073 | py | Python | tests/unit_tests/test_nn/test_converters/test_tensorflow/test_Reshape.py | samysweb/dnnv | 58fb95b7300914d9da28eed86c39eca473b1aaef | [
"MIT"
] | 5 | 2022-01-28T20:30:34.000Z | 2022-03-17T09:26:52.000Z | tests/unit_tests/test_nn/test_converters/test_tensorflow/test_Reshape.py | samysweb/dnnv | 58fb95b7300914d9da28eed86c39eca473b1aaef | [
"MIT"
] | 9 | 2022-01-27T03:50:28.000Z | 2022-02-08T18:42:17.000Z | tests/unit_tests/test_nn/test_converters/test_tensorflow/test_Reshape.py | samysweb/dnnv | 58fb95b7300914d9da28eed86c39eca473b1aaef | [
"MIT"
] | 2 | 2022-02-03T17:32:43.000Z | 2022-03-24T16:38:49.000Z | import numpy as np
import pytest
from dnnv.nn.converters.tensorflow import *
from dnnv.nn.operations import *
def test_Reshape():
original_shape = [0, 3, 4]
data = np.random.random_sample(original_shape).astype(np.float32)
new_shape = np.array([3, 4, 0], dtype=np.int64)
y = np.reshape(data, new_shape... | 30.17037 | 69 | 0.66413 | 612 | 4,073 | 4.23366 | 0.088235 | 0.089541 | 0.087997 | 0.131995 | 0.913933 | 0.913933 | 0.913933 | 0.913933 | 0.913933 | 0.913933 | 0 | 0.036017 | 0.188804 | 4,073 | 134 | 70 | 30.395522 | 0.748184 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107843 | 1 | 0.098039 | false | 0 | 0.039216 | 0 | 0.137255 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a4bd91610c066b32e2e37a695bd14a74212e369f | 51 | py | Python | TwitterScraperAPI/packages/__init__.py | vaskrneup/TwitterScraperAPI | c4bfc860ec012a8233d5d325c25ba58642a843e2 | [
"MIT"
] | 1 | 2020-09-19T14:39:50.000Z | 2020-09-19T14:39:50.000Z | TwitterScraperAPI/packages/__init__.py | vaskrneup/TwitterScraperAPI | c4bfc860ec012a8233d5d325c25ba58642a843e2 | [
"MIT"
] | null | null | null | TwitterScraperAPI/packages/__init__.py | vaskrneup/TwitterScraperAPI | c4bfc860ec012a8233d5d325c25ba58642a843e2 | [
"MIT"
] | null | null | null | from . import default_data
from . import extractor
| 17 | 26 | 0.803922 | 7 | 51 | 5.714286 | 0.714286 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 51 | 2 | 27 | 25.5 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a4ce4b433335850dbaf45b173f75c428d8dabc53 | 30 | py | Python | expertise/setup/__init__.py | mspector/expertise | 6c50b794bfaeaf3a3a9ae271397f177a326d11f2 | [
"MIT"
] | 12 | 2020-02-25T18:45:32.000Z | 2022-02-07T22:24:48.000Z | expertise/setup/__init__.py | mspector/expertise | 6c50b794bfaeaf3a3a9ae271397f177a326d11f2 | [
"MIT"
] | 52 | 2019-12-19T08:14:43.000Z | 2022-03-23T19:40:02.000Z | expertise/setup/__init__.py | mspector/expertise | 6c50b794bfaeaf3a3a9ae271397f177a326d11f2 | [
"MIT"
] | 3 | 2019-10-24T16:52:34.000Z | 2021-09-27T21:40:39.000Z | from .core import setup_model
| 15 | 29 | 0.833333 | 5 | 30 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a4e3eb84e005678adb66ed404806c88f7c6efc7e | 22,991 | py | Python | Lib/test/test_compiler/test_static/final.py | isabella232/cinder-1 | 428669a9a925287f192ab361226e5a8ca3fb74d9 | [
"CNRI-Python-GPL-Compatible"
] | 1,886 | 2021-05-03T23:58:43.000Z | 2022-03-31T19:15:58.000Z | Lib/test/test_compiler/test_static/final.py | isabella232/cinder-1 | 428669a9a925287f192ab361226e5a8ca3fb74d9 | [
"CNRI-Python-GPL-Compatible"
] | 70 | 2021-05-04T23:25:35.000Z | 2022-03-31T18:42:08.000Z | Lib/test/test_compiler/test_static/final.py | isabella232/cinder-1 | 428669a9a925287f192ab361226e5a8ca3fb74d9 | [
"CNRI-Python-GPL-Compatible"
] | 52 | 2021-05-04T21:26:03.000Z | 2022-03-08T18:02:56.000Z | from compiler.errors import TypedSyntaxError
from typing import ClassVar
from .common import StaticTestBase
class FinalTests(StaticTestBase):
def test_final_multiple_typeargs(self):
codestr = """
from typing import Final
from something import hello
x: Final[int, str] = hello()
... | 26.396096 | 90 | 0.50324 | 2,390 | 22,991 | 4.676987 | 0.080753 | 0.04652 | 0.074432 | 0.100823 | 0.82224 | 0.775452 | 0.738683 | 0.718912 | 0.676597 | 0.658526 | 0 | 0.00955 | 0.403332 | 22,991 | 870 | 91 | 26.426437 | 0.805292 | 0.004697 | 0 | 0.770115 | 0 | 0 | 0.442988 | 0.002207 | 0 | 0 | 0.004414 | 0 | 0.099138 | 1 | 0.08046 | false | 0.034483 | 0.076149 | 0.007184 | 0.242816 | 0.001437 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
351b678a89f6c26ca7f25d35f75f15f1f5b46220 | 3,184 | py | Python | tests/unit_tests/test_tethys_apps/test_templatetags/test_tags.py | rfun/tethys | a19df1658c0e525ef8b0442df6a23c3fd067551b | [
"BSD-2-Clause"
] | 79 | 2015-10-05T13:13:28.000Z | 2022-02-01T12:30:33.000Z | tests/unit_tests/test_tethys_apps/test_templatetags/test_tags.py | rfun/tethys | a19df1658c0e525ef8b0442df6a23c3fd067551b | [
"BSD-2-Clause"
] | 542 | 2015-08-12T22:11:32.000Z | 2022-03-29T22:18:08.000Z | tests/unit_tests/test_tethys_apps/test_templatetags/test_tags.py | rfun/tethys | a19df1658c0e525ef8b0442df6a23c3fd067551b | [
"BSD-2-Clause"
] | 71 | 2016-01-16T01:03:41.000Z | 2022-03-31T17:55:54.000Z | import unittest
from unittest import mock
from tethys_apps.templatetags import tags as t
class TestTags(unittest.TestCase):
def setUp(self):
# app_list
self.app_names = ['app1', 'app2', 'app3', 'app4', 'app5', 'app6']
self.tag_names = ['tag1', 'tag_2', 'tag 3', 'tag four', 'Tag Five', 'tag... | 42.453333 | 111 | 0.661118 | 454 | 3,184 | 4.264317 | 0.138767 | 0.061983 | 0.082645 | 0.092975 | 0.845041 | 0.772727 | 0.756198 | 0.713843 | 0.713843 | 0.676653 | 0 | 0.01024 | 0.202575 | 3,184 | 74 | 112 | 43.027027 | 0.752265 | 0.011307 | 0 | 0.315789 | 0 | 0 | 0.115458 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 1 | 0.175439 | false | 0.017544 | 0.052632 | 0 | 0.245614 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
352e818885ca0c688b9130dd5f9cb1cbd205b2ef | 2,412 | py | Python | Semana 4/maximal_manhattan_distance/test_pytest_plane.py | juandausa/CompetitiveProgrammingCoreSkills | 1ef0d902b6c05afba4b44c34ade87c376187fd1d | [
"MIT"
] | null | null | null | Semana 4/maximal_manhattan_distance/test_pytest_plane.py | juandausa/CompetitiveProgrammingCoreSkills | 1ef0d902b6c05afba4b44c34ade87c376187fd1d | [
"MIT"
] | null | null | null | Semana 4/maximal_manhattan_distance/test_pytest_plane.py | juandausa/CompetitiveProgrammingCoreSkills | 1ef0d902b6c05afba4b44c34ade87c376187fd1d | [
"MIT"
] | null | null | null | from plane import Plane
def test_create():
assert Plane() is not None
assert Plane().points_count == 0
assert Plane().maximum_distance_between_points == 0
def test_add_first_point():
plane = Plane()
plane.add_point((1,2))
assert plane.points_count == 1
assert plane.maximum_dis... | 33.5 | 68 | 0.703151 | 361 | 2,412 | 4.34903 | 0.096953 | 0.071338 | 0.101911 | 0.163057 | 0.878344 | 0.842675 | 0.810191 | 0.703185 | 0.675159 | 0.552866 | 0 | 0.044025 | 0.208955 | 2,412 | 72 | 69 | 33.5 | 0.778826 | 0.034411 | 0 | 0.520833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5625 | 1 | 0.104167 | false | 0 | 0.020833 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
10304265f5af402c674c84d620ba3eb990ff3010 | 198 | py | Python | HiggsAnalysis/Skimming/python/higgsToWW2Leptons_OutputModule_cff.py | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 6 | 2017-09-08T14:12:56.000Z | 2022-03-09T23:57:01.000Z | HiggsAnalysis/Skimming/python/higgsToWW2Leptons_OutputModule_cff.py | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 545 | 2017-09-19T17:10:19.000Z | 2022-03-07T16:55:27.000Z | HiggsAnalysis/Skimming/python/higgsToWW2Leptons_OutputModule_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 HiggsAnalysis.Skimming.higgsToWW2LeptonsOutputModuleAODSIM_cfi import *
from HiggsAnalysis.Skimming.higgsToWW2LeptonsOutputModuleRECOSIM_cfi import *
| 33 | 77 | 0.888889 | 18 | 198 | 9.666667 | 0.666667 | 0.195402 | 0.287356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 0.070707 | 198 | 5 | 78 | 39.6 | 0.934783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
103630b52590bb5b6ef714050da184e2e3b0a7f9 | 151 | py | Python | api/users/me/__init__.py | ezchat/backend | ac6ff93156ff5363084c356165f1e6d3e5684675 | [
"Apache-2.0"
] | 3 | 2019-03-31T14:41:02.000Z | 2019-04-05T06:45:59.000Z | api/users/me/__init__.py | ezchat/backend | ac6ff93156ff5363084c356165f1e6d3e5684675 | [
"Apache-2.0"
] | 1 | 2021-01-29T15:50:20.000Z | 2021-01-29T15:50:20.000Z | api/users/me/__init__.py | ezchat/backend | ac6ff93156ff5363084c356165f1e6d3e5684675 | [
"Apache-2.0"
] | null | null | null | # pylint: disable=no-name-in-module
from api.users.me.channels import UserMeChannels # noqa: F401
from api.users.me.index import UserMe # noqa: F401
| 37.75 | 62 | 0.768212 | 24 | 151 | 4.833333 | 0.708333 | 0.12069 | 0.206897 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.125828 | 151 | 3 | 63 | 50.333333 | 0.833333 | 0.364238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
109c12fe80febd4e5ebc90999283a314aaacea80 | 127 | py | Python | molo/helpers/request_schemas.py | djvaroli/samsung_oct | 83924a36d18a56b6cdaadffaf47a9218c7084264 | [
"MIT"
] | 2 | 2021-07-04T16:34:08.000Z | 2021-07-07T23:55:18.000Z | molo/helpers/request_schemas.py | janhavi-giri/samsung_oct | 83924a36d18a56b6cdaadffaf47a9218c7084264 | [
"MIT"
] | null | null | null | molo/helpers/request_schemas.py | janhavi-giri/samsung_oct | 83924a36d18a56b6cdaadffaf47a9218c7084264 | [
"MIT"
] | 3 | 2021-07-10T01:14:00.000Z | 2021-09-03T04:22:28.000Z | from typing import *
from pydantic import BaseModel
class GeneratePDFReportSchema(BaseModel):
predictionData: List[dict] | 18.142857 | 41 | 0.80315 | 13 | 127 | 7.846154 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141732 | 127 | 7 | 42 | 18.142857 | 0.93578 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
529bb56fe77a311b3ebf4e61d8e2f29753ab9c57 | 11,099 | py | Python | tests/test_cmd.py | KrishanBhasin/giraffez | 53dbcb01c447d80109bbe94f7f0730e05abfcfbc | [
"Apache-2.0"
] | 122 | 2016-08-18T21:12:58.000Z | 2021-11-24T14:45:19.000Z | tests/test_cmd.py | KrishanBhasin/giraffez | 53dbcb01c447d80109bbe94f7f0730e05abfcfbc | [
"Apache-2.0"
] | 68 | 2016-08-31T18:19:16.000Z | 2021-11-01T19:21:22.000Z | tests/test_cmd.py | KrishanBhasin/giraffez | 53dbcb01c447d80109bbe94f7f0730e05abfcfbc | [
"Apache-2.0"
] | 44 | 2016-08-19T01:22:21.000Z | 2022-03-23T17:39:40.000Z | # -*- coding: utf-8 -*-
import pytest
from giraffez._teradata import RequestEnded, StatementEnded, StatementInfoEnded
import giraffez
from giraffez.constants import *
from giraffez.errors import *
from giraffez.types import *
class ResultsHelper:
"""
Helps to emulate how exceptions are raised when working w... | 34.902516 | 93 | 0.556987 | 1,251 | 11,099 | 4.808153 | 0.127098 | 0.071322 | 0.085287 | 0.098753 | 0.794347 | 0.778221 | 0.758603 | 0.748961 | 0.748961 | 0.73217 | 0 | 0.034852 | 0.283899 | 11,099 | 317 | 94 | 35.012618 | 0.721943 | 0.026038 | 0 | 0.735043 | 0 | 0 | 0.170962 | 0.087614 | 0 | 0 | 0 | 0 | 0.025641 | 1 | 0.055556 | false | 0.004274 | 0.025641 | 0.004274 | 0.102564 | 0.017094 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
52b1e2625190a2475c8d8e6c4e8668c8a9ca285c | 112 | py | Python | iberzetsn/__init__.py | jwg4/iberzetsn | df40929317fa29c7185994d78121bc62a157a4e6 | [
"MIT"
] | null | null | null | iberzetsn/__init__.py | jwg4/iberzetsn | df40929317fa29c7185994d78121bc62a157a4e6 | [
"MIT"
] | null | null | null | iberzetsn/__init__.py | jwg4/iberzetsn | df40929317fa29c7185994d78121bc62a157a4e6 | [
"MIT"
] | null | null | null | from .to_yiddish import roman_to_yiddish # noqa: F401
from .from_yiddish import yiddish_to_roman # noqa: F401
| 37.333333 | 56 | 0.803571 | 18 | 112 | 4.666667 | 0.388889 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.142857 | 112 | 2 | 57 | 56 | 0.8125 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
52bc7f07f4cb439bdce041fcb9dacd6775cb9e6a | 160 | py | Python | _teaching/csci127-summer-2020/readings/activities/alternating.py | lgw2/lgw2.github.io | 3e2b0fb849407c26a64afd8e97be0eff7ce07f9b | [
"MIT"
] | null | null | null | _teaching/csci127-summer-2020/readings/activities/alternating.py | lgw2/lgw2.github.io | 3e2b0fb849407c26a64afd8e97be0eff7ce07f9b | [
"MIT"
] | null | null | null | _teaching/csci127-summer-2020/readings/activities/alternating.py | lgw2/lgw2.github.io | 3e2b0fb849407c26a64afd8e97be0eff7ce07f9b | [
"MIT"
] | null | null | null | def alternating(list_of_ints):
pass
print(alternating([1, 2, 3, 4]))
print(alternating([10, 11, 1, 12]))
print(alternating([10, 21, 22, -5, 100, 101, 2]))
| 22.857143 | 49 | 0.64375 | 27 | 160 | 3.740741 | 0.703704 | 0.475248 | 0.356436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182482 | 0.14375 | 160 | 6 | 50 | 26.666667 | 0.554745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0 | 0 | 0.2 | 0.6 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 6 |
52c9ae943139a0b2b589b4bca73282f80a6d9b0b | 548 | py | Python | xiaomi_thermo_unified/sensors/uuids.py | h4/xiaomi_thermo_unified | ee616d15375c9768ce6beb28fb71dc23f80e95ef | [
"MIT"
] | 1 | 2020-01-04T13:14:05.000Z | 2020-01-04T13:14:05.000Z | xiaomi_thermo_unified/sensors/uuids.py | h4/xiaomi_thermo_unified | ee616d15375c9768ce6beb28fb71dc23f80e95ef | [
"MIT"
] | 1 | 2020-01-04T13:25:14.000Z | 2020-01-13T15:32:25.000Z | xiaomi_thermo_unified/sensors/uuids.py | h4/xiaomi_thermo_unified | ee616d15375c9768ce6beb28fb71dc23f80e95ef | [
"MIT"
] | null | null | null | DEVICE_NAME = '00002a00-0000-1000-8000-00805f9b34fb'
MODEL_NUMBER = '00002a24-0000-1000-8000-00805f9b34fb'
SERIAL_NUMBER = '00002a25-0000-1000-8000-00805f9b34fb'
FIRMWARE_VERSION = '00002a26-0000-1000-8000-00805f9b34fb'
HARDWARE_VERSION = '00002a27-0000-1000-8000-00805f9b34fb'
MANUFACTURER_NAME = '00002a29-0000-1000-80... | 42.153846 | 58 | 0.813869 | 70 | 548 | 6.228571 | 0.457143 | 0.165138 | 0.247706 | 0.495413 | 0.12844 | 0 | 0 | 0 | 0 | 0 | 0 | 0.507752 | 0.058394 | 548 | 12 | 59 | 45.666667 | 0.337209 | 0 | 0 | 0 | 0 | 0 | 0.658135 | 0.658135 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
52d0599457b3a4d1e9c6fbeb28368bc8b3c86e8f | 105 | py | Python | terrascript/oneandone/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/oneandone/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/oneandone/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/oneandone/__init__.py
import terrascript
class oneandone(terrascript.Provider):
pass
| 15 | 38 | 0.8 | 11 | 105 | 7.272727 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12381 | 105 | 6 | 39 | 17.5 | 0.869565 | 0.314286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
52fa322693b734d7ba035d3e257737304a790258 | 4,625 | py | Python | tests/integration/test_project_view.py | alexcfaber/katka-core | 39a09f76b052f879ad5c0d53b74593c049930d5e | [
"Apache-2.0"
] | 1 | 2020-01-14T17:39:47.000Z | 2020-01-14T17:39:47.000Z | tests/integration/test_project_view.py | alexcfaber/katka-core | 39a09f76b052f879ad5c0d53b74593c049930d5e | [
"Apache-2.0"
] | 86 | 2019-02-01T14:22:16.000Z | 2020-04-03T14:30:32.000Z | tests/integration/test_project_view.py | alexcfaber/katka-core | 39a09f76b052f879ad5c0d53b74593c049930d5e | [
"Apache-2.0"
] | 5 | 2019-02-07T12:02:00.000Z | 2020-03-19T15:57:35.000Z | from uuid import UUID
import pytest
from katka import models
@pytest.mark.django_db
class TestProjectViewSet:
def test_list(self, client, logged_in_user, my_team, my_project):
response = client.get("/projects/")
assert response.status_code == 200
parsed = response.json()
assert le... | 47.193878 | 111 | 0.671135 | 593 | 4,625 | 5 | 0.145025 | 0.057673 | 0.064755 | 0.07285 | 0.829342 | 0.794266 | 0.782462 | 0.740641 | 0.740641 | 0.709949 | 0 | 0.030707 | 0.204324 | 4,625 | 97 | 112 | 47.680412 | 0.775 | 0 | 0 | 0.445783 | 0 | 0 | 0.160216 | 0.084541 | 0 | 0 | 0 | 0 | 0.361446 | 1 | 0.144578 | false | 0 | 0.036145 | 0 | 0.192771 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5e124e51d51568f26db8aa86bb7811cbfa4f57a4 | 150 | py | Python | infobip_channels/email/models/path_paramaters/get_domain_details.py | infobip-community/infobip-api-python-sdk | 5ffc5ab877ee1748aa29391f991c8c5324387487 | [
"MIT"
] | null | null | null | infobip_channels/email/models/path_paramaters/get_domain_details.py | infobip-community/infobip-api-python-sdk | 5ffc5ab877ee1748aa29391f991c8c5324387487 | [
"MIT"
] | null | null | null | infobip_channels/email/models/path_paramaters/get_domain_details.py | infobip-community/infobip-api-python-sdk | 5ffc5ab877ee1748aa29391f991c8c5324387487 | [
"MIT"
] | null | null | null | from infobip_channels.email.models.path_paramaters.core import EmailPathParameter
class GetDomainDetailsPathParameter(EmailPathParameter):
pass
| 25 | 81 | 0.866667 | 14 | 150 | 9.142857 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086667 | 150 | 5 | 82 | 30 | 0.934307 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
5e20287ebe482031710208263d611bf8e43e4162 | 25 | py | Python | spvcm/both_levels/sma_se/__init__.py | weikang9009/spvcm | 00ec35331e0e1a67bcd841a6b3761a23099617f7 | [
"MIT"
] | 14 | 2017-05-21T08:29:08.000Z | 2021-09-22T00:29:15.000Z | spvcm/both_levels/sma_se/__init__.py | weikang9009/spvcm | 00ec35331e0e1a67bcd841a6b3761a23099617f7 | [
"MIT"
] | 12 | 2018-05-11T11:13:21.000Z | 2020-02-07T14:23:12.000Z | spvcm/both_levels/sma_se/__init__.py | weikang9009/spvcm | 00ec35331e0e1a67bcd841a6b3761a23099617f7 | [
"MIT"
] | 8 | 2017-05-20T00:55:40.000Z | 2020-07-02T14:52:49.000Z | from .model import SMASE
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ead45be983e52c645d18fbf01f84a08a0f8df7ae | 118 | py | Python | polls/tests.py | davidefabbrico/Progetto_School | e32e345d154764725b96e2d22b441a17fae67ade | [
"MIT"
] | 1 | 2021-09-04T08:56:32.000Z | 2021-09-04T08:56:32.000Z | polls/tests.py | davidefabbrico/Progetto_School | e32e345d154764725b96e2d22b441a17fae67ade | [
"MIT"
] | null | null | null | polls/tests.py | davidefabbrico/Progetto_School | e32e345d154764725b96e2d22b441a17fae67ade | [
"MIT"
] | null | null | null | import datetime
from django.utils import timezone
from django.test import TestCase
from django.urls import reverse
| 14.75 | 33 | 0.830508 | 17 | 118 | 5.764706 | 0.588235 | 0.306122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144068 | 118 | 7 | 34 | 16.857143 | 0.970297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d82b4ed437fa396ec59414e2c7a08bf15bd72bc0 | 26 | py | Python | gadget/instrumentation/api/__init__.py | rlnsanz/inspectional-rara-parakeet | 2c7919ed432616ec016a5afcd6718d16fa65e8af | [
"Apache-2.0"
] | 1 | 2018-05-28T12:20:29.000Z | 2018-05-28T12:20:29.000Z | utils/__init__.py | system123/PyTorch_template | c07329245813bb7b084aa4ccac1c3f4bfe3f7015 | [
"MIT"
] | null | null | null | utils/__init__.py | system123/PyTorch_template | c07329245813bb7b084aa4ccac1c3f4bfe3f7015 | [
"MIT"
] | 1 | 2021-06-25T16:06:59.000Z | 2021-06-25T16:06:59.000Z | from .experiment import *
| 13 | 25 | 0.769231 | 3 | 26 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc23d2897b68966c67df517328284fac0d5ba106 | 256 | py | Python | restfly/__init__.py | AlainODea/restfly | 817c4619a3b33f48529e949563c5bbb26bc8b351 | [
"MIT"
] | 7 | 2021-05-05T20:20:12.000Z | 2022-03-25T12:25:51.000Z | restfly/__init__.py | AlainODea/restfly | 817c4619a3b33f48529e949563c5bbb26bc8b351 | [
"MIT"
] | 6 | 2021-08-05T16:34:53.000Z | 2022-03-30T16:56:41.000Z | restfly/__init__.py | AlainODea/restfly | 817c4619a3b33f48529e949563c5bbb26bc8b351 | [
"MIT"
] | 2 | 2022-01-12T19:38:08.000Z | 2022-01-31T18:43:32.000Z | '''
RESTfly package
'''
from .version import VERSION as __version__ # noqa: F401
from .session import APISession # noqa: F401
from .endpoint import APIEndpoint # noqa: F401
from .iterator import APIIterator # noqa: F401
| 32 | 57 | 0.65625 | 28 | 256 | 5.857143 | 0.5 | 0.195122 | 0.219512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.273438 | 256 | 7 | 58 | 36.571429 | 0.817204 | 0.234375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dca4a050d696b49247957064e7d543c568027002 | 111 | py | Python | slimevolleygym/__init__.py | mgoulao/2v2-Slime-Volleyball | 7b9b2f345daba3e27e4fed3ed4dda9387b5761da | [
"Apache-2.0"
] | 2 | 2021-09-10T11:18:03.000Z | 2021-09-13T18:46:39.000Z | slimevolleygym/__init__.py | mgoulao/2v2-Slime-Volleyball | 7b9b2f345daba3e27e4fed3ed4dda9387b5761da | [
"Apache-2.0"
] | null | null | null | slimevolleygym/__init__.py | mgoulao/2v2-Slime-Volleyball | 7b9b2f345daba3e27e4fed3ed4dda9387b5761da | [
"Apache-2.0"
] | null | null | null | import slimevolleygym.game_settings
import slimevolleygym.slimevolley
from slimevolleygym.slimevolley import *
| 27.75 | 40 | 0.891892 | 11 | 111 | 8.909091 | 0.545455 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072072 | 111 | 3 | 41 | 37 | 0.951456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dca7f63554b120ff84824fd41c00c9a79c88da04 | 30 | py | Python | test/check-gradient.sikuli/check-gradient.py | jsmaniac/travis-os | b01673890e947f48b244b950d15feb2c7dd6c4df | [
"CC0-1.0"
] | null | null | null | test/check-gradient.sikuli/check-gradient.py | jsmaniac/travis-os | b01673890e947f48b244b950d15feb2c7dd6c4df | [
"CC0-1.0"
] | 32 | 2018-07-27T21:34:54.000Z | 2018-07-29T19:33:23.000Z | test/check-gradient.sikuli/check-gradient.py | jsmaniac/travis-os | b01673890e947f48b244b950d15feb2c7dd6c4df | [
"CC0-1.0"
] | 1 | 2021-10-02T16:16:11.000Z | 2021-10-02T16:16:11.000Z | wait("1529963334209.png", 10)
| 15 | 29 | 0.733333 | 4 | 30 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.535714 | 0.066667 | 30 | 1 | 30 | 30 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0.566667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f4e88081fe3b9b58f848b7cca45f7f3f51a7290f | 74 | py | Python | environments/Gazebo/controller/__init__.py | zal/simenvbenchmark | 269d953b50408411a87950aebfb6adc20afbbead | [
"MIT"
] | 9 | 2020-12-16T11:43:35.000Z | 2022-03-04T18:28:35.000Z | environments/Gazebo/controller/__init__.py | zal/simenvbenchmark | 269d953b50408411a87950aebfb6adc20afbbead | [
"MIT"
] | null | null | null | environments/Gazebo/controller/__init__.py | zal/simenvbenchmark | 269d953b50408411a87950aebfb6adc20afbbead | [
"MIT"
] | 1 | 2022-02-17T02:49:08.000Z | 2022-02-17T02:49:08.000Z | from .robot_env import RobotEnv_gazebo
from .nnn_env import nnnEnv_gazebo
| 24.666667 | 38 | 0.864865 | 12 | 74 | 5 | 0.666667 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 74 | 2 | 39 | 37 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
874b31b580129c8d63b9238e5def8ba359007fd5 | 251 | py | Python | binary_tree/tests/test_level_order_traversal.py | ahcode0919/python-ds-algorithms | 0d617b78c50b6c18da40d9fa101438749bfc82e1 | [
"MIT"
] | null | null | null | binary_tree/tests/test_level_order_traversal.py | ahcode0919/python-ds-algorithms | 0d617b78c50b6c18da40d9fa101438749bfc82e1 | [
"MIT"
] | null | null | null | binary_tree/tests/test_level_order_traversal.py | ahcode0919/python-ds-algorithms | 0d617b78c50b6c18da40d9fa101438749bfc82e1 | [
"MIT"
] | 3 | 2020-10-07T20:24:45.000Z | 2020-12-16T04:53:19.000Z | from test_helpers.test_helpers import get_binary_tree
from binary_tree.level_order_traversal import level_order_traversal
def test_level_order_traversal():
tree = get_binary_tree()
assert level_order_traversal(tree) == [[1], [2, 3], [4, 5]]
| 31.375 | 67 | 0.780876 | 38 | 251 | 4.736842 | 0.447368 | 0.222222 | 0.422222 | 0.255556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.123506 | 251 | 7 | 68 | 35.857143 | 0.795455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8779e25f1cc4a979a682c0b5fb9e2833540fe6df | 28 | py | Python | network/__init__.py | K-Mahfoudh/Sign-Language-Translator | b75051846b98b5275e9b58ef7a87c6759d27dea9 | [
"MIT"
] | 26 | 2021-12-02T01:33:33.000Z | 2022-03-30T15:12:36.000Z | network/__init__.py | K-Mahfoudh/Sign-Language-Translator | b75051846b98b5275e9b58ef7a87c6759d27dea9 | [
"MIT"
] | 3 | 2020-03-24T17:02:02.000Z | 2021-02-02T22:00:53.000Z | network/__init__.py | K-Mahfoudh/Sign-Language-Translator | b75051846b98b5275e9b58ef7a87c6759d27dea9 | [
"MIT"
] | 3 | 2021-12-15T04:07:45.000Z | 2022-03-04T03:35:28.000Z | from .network import Network | 28 | 28 | 0.857143 | 4 | 28 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5e53c7cc3559e015e7a5a79412e77c1da2c269cd | 19,514 | py | Python | database.py | Mdsid7/Student_Result_Analyzer_using_OOPS_and_Database | 6c34c1e62bed2d5ff2ef4e9c824b54e63496b37d | [
"MIT"
] | 3 | 2020-11-14T15:02:59.000Z | 2020-11-16T11:10:13.000Z | database.py | Mdsid7/Student_Result_Analyzer_using_OOPS_and_Database | 6c34c1e62bed2d5ff2ef4e9c824b54e63496b37d | [
"MIT"
] | null | null | null | database.py | Mdsid7/Student_Result_Analyzer_using_OOPS_and_Database | 6c34c1e62bed2d5ff2ef4e9c824b54e63496b37d | [
"MIT"
] | null | null | null | import mysql.connector
import string
mydb = mysql.connector.connect (
host="localhost",
user="root",
password="myfamily",
database="result"
)
mycursor=mydb.cursor()
def A_view():
mycursor.execute("SELECT * FROM A_section")
field_names = [i[0] for i in mycursor.description]
print(field_names)
myresult = ... | 35.871324 | 395 | 0.707953 | 3,168 | 19,514 | 4.269255 | 0.03346 | 0.080961 | 0.04525 | 0.071645 | 0.962588 | 0.905656 | 0.820259 | 0.774787 | 0.769316 | 0.704251 | 0 | 0.001755 | 0.153121 | 19,514 | 543 | 396 | 35.937385 | 0.816653 | 0 | 0 | 0.636752 | 0 | 0.047009 | 0.411798 | 0.073288 | 0 | 0 | 0 | 0 | 0 | 1 | 0.155983 | false | 0.002137 | 0.004274 | 0 | 0.160256 | 0.215812 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5e5da475beb924559aef41e56c9015cb3ad1f412 | 102 | py | Python | beproud/django/commons/models/__init__.py | beproud/bpcommons | c24aed4143d743b1af6c621630ed9faa7e1ccaa4 | [
"BSD-2-Clause"
] | 2 | 2016-03-07T01:52:12.000Z | 2017-08-30T06:14:43.000Z | beproud/django/commons/models/__init__.py | beproud/bpcommons | c24aed4143d743b1af6c621630ed9faa7e1ccaa4 | [
"BSD-2-Clause"
] | 18 | 2015-03-08T13:52:18.000Z | 2022-01-25T02:46:09.000Z | beproud/django/commons/models/__init__.py | beproud/bpcommons | c24aed4143d743b1af6c621630ed9faa7e1ccaa4 | [
"BSD-2-Clause"
] | 2 | 2015-02-07T01:33:00.000Z | 2015-09-08T14:57:44.000Z | from __future__ import absolute_import
from .base import *
from .fields import *
from .utils import *
| 20.4 | 38 | 0.784314 | 14 | 102 | 5.357143 | 0.5 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 102 | 4 | 39 | 25.5 | 0.872093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0d6b608e96b21d80cef0566aab86ebdff3ea30ad | 36 | py | Python | prediction/FaceDetectMicroservice/secrets.py | anishapai/CombinedTechStack | 3152b424445b9dce09932c2f2ae313ff7a02de5c | [
"MIT"
] | 1 | 2021-09-02T01:44:36.000Z | 2021-09-02T01:44:36.000Z | prediction/SceneDetectMicroservice-V2/secrets.py | anishapai/CombinedTechStack | 3152b424445b9dce09932c2f2ae313ff7a02de5c | [
"MIT"
] | null | null | null | prediction/SceneDetectMicroservice-V2/secrets.py | anishapai/CombinedTechStack | 3152b424445b9dce09932c2f2ae313ff7a02de5c | [
"MIT"
] | null | null | null | API_KEY = 'paste_your_api_key_here'
| 18 | 35 | 0.833333 | 7 | 36 | 3.571429 | 0.714286 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.757576 | 0 | 0 | 0 | 0 | 0 | 0.638889 | 0.638889 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0d881d7e4c671cbea56d5aa2b2d26b144b44a0a4 | 537 | py | Python | {{cookiecutter.project_slug}}/tasks.py | i2biz/cookiecutter-python-pylint | ba07cd620d982cb11161fee808025257176c62c3 | [
"MIT"
] | null | null | null | {{cookiecutter.project_slug}}/tasks.py | i2biz/cookiecutter-python-pylint | ba07cd620d982cb11161fee808025257176c62c3 | [
"MIT"
] | null | null | null | {{cookiecutter.project_slug}}/tasks.py | i2biz/cookiecutter-python-pylint | ba07cd620d982cb11161fee808025257176c62c3 | [
"MIT"
] | null | null | null | # coding=utf-8
from invoke import task
@task
def style(ctx):
ctx.run(
"black --check {{cookiecutter.project_slug}} {{cookiecutter.project_slug}}_test"
)
@task
def lint(ctx):
ctx.run(
"pylint {{cookiecutter.project_slug}} {{cookiecutter.project_slug}}_test -r n"
)
@task
def test(ct... | 17.9 | 135 | 0.64432 | 71 | 537 | 4.746479 | 0.422535 | 0.338279 | 0.409496 | 0.240356 | 0.400593 | 0.296736 | 0.296736 | 0 | 0 | 0 | 0 | 0.002309 | 0.193669 | 537 | 29 | 136 | 18.517241 | 0.775982 | 0.022346 | 0 | 0.315789 | 0 | 0.052632 | 0.533461 | 0.409178 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0.052632 | 0.052632 | 0 | 0.263158 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
0d8baebf054454864ab0af3c6388d7fdcb748457 | 48 | py | Python | api/services/__init__.py | adkl/etf_online_competition_system | c857ce78aec65c1d31f48ae8b8dc6facdb022a0c | [
"MIT"
] | null | null | null | api/services/__init__.py | adkl/etf_online_competition_system | c857ce78aec65c1d31f48ae8b8dc6facdb022a0c | [
"MIT"
] | null | null | null | api/services/__init__.py | adkl/etf_online_competition_system | c857ce78aec65c1d31f48ae8b8dc6facdb022a0c | [
"MIT"
] | null | null | null | from .etf_oracle_service import EtfOracleService | 48 | 48 | 0.916667 | 6 | 48 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 48 | 1 | 48 | 48 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0da734c0977b1bf2b39739fd86c1f16981157d5f | 38 | py | Python | test/01.py | vkpedia/test1 | 1404149e62e9eb871701895fc20f0fb16cce039a | [
"MIT"
] | null | null | null | test/01.py | vkpedia/test1 | 1404149e62e9eb871701895fc20f0fb16cce039a | [
"MIT"
] | null | null | null | test/01.py | vkpedia/test1 | 1404149e62e9eb871701895fc20f0fb16cce039a | [
"MIT"
] | null | null | null | import numpy as np
print(np.ones(10)) | 12.666667 | 18 | 0.736842 | 8 | 38 | 3.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.131579 | 38 | 3 | 19 | 12.666667 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
0dcec720a5bc82ea144347b5569b77de0db3f176 | 31 | py | Python | build/lib/ezyt/imageEditor/__init__.py | AlexBacho/ezyt | 5d9526d7901270ed5d97adf73ed0df9b21bf0387 | [
"MIT"
] | 1 | 2020-10-21T09:28:56.000Z | 2020-10-21T09:28:56.000Z | build/lib/ezyt/imageEditor/__init__.py | AlexBacho/ezyt | 5d9526d7901270ed5d97adf73ed0df9b21bf0387 | [
"MIT"
] | null | null | null | build/lib/ezyt/imageEditor/__init__.py | AlexBacho/ezyt | 5d9526d7901270ed5d97adf73ed0df9b21bf0387 | [
"MIT"
] | null | null | null | from .editor import ImageEditor | 31 | 31 | 0.870968 | 4 | 31 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
21a24f03b140642ff458b24a8d83a2e1b29f3531 | 36,263 | py | Python | migrations/versions/03f014e8d128_added_basic_prefix.py | charlestondance/amoslims | c1d051db3e88a92644446744a9027c5699f52b02 | [
"MIT"
] | null | null | null | migrations/versions/03f014e8d128_added_basic_prefix.py | charlestondance/amoslims | c1d051db3e88a92644446744a9027c5699f52b02 | [
"MIT"
] | 7 | 2020-03-24T15:56:29.000Z | 2022-01-13T00:48:15.000Z | migrations/versions/03f014e8d128_added_basic_prefix.py | charlestondance/amoslims | c1d051db3e88a92644446744a9027c5699f52b02 | [
"MIT"
] | null | null | null | """added basic prefix
Revision ID: 03f014e8d128
Revises: fed23b3ce53a
Create Date: 2017-01-15 10:25:37.768783
"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import postgresql
# revision identifiers, used by Alembic.
revision = '03f014e8d128'
down_revision = 'fed23b3ce53a'
branch_labels =... | 77.650964 | 155 | 0.762954 | 5,578 | 36,263 | 4.554141 | 0.019183 | 0.058891 | 0.052907 | 0.066134 | 0.975436 | 0.949848 | 0.918592 | 0.896666 | 0.869149 | 0.835177 | 0 | 0.00941 | 0.085707 | 36,263 | 466 | 156 | 77.817597 | 0.756779 | 0.008273 | 0 | 0.320713 | 0 | 0 | 0.390052 | 0.215582 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004454 | false | 0 | 0.006682 | 0 | 0.011136 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
21c275711fbf243c6f14de1de7965b43694f04ea | 5,185 | py | Python | chsdi/models/vector/zeitreihen.py | procrastinatio/mf-chsdi3 | 206e9362860376338cc83ded902790dc216e2563 | [
"BSD-3-Clause"
] | 29 | 2015-02-12T07:45:57.000Z | 2020-12-20T08:49:26.000Z | chsdi/models/vector/zeitreihen.py | procrastinatio/mf-chsdi3 | 206e9362860376338cc83ded902790dc216e2563 | [
"BSD-3-Clause"
] | 1,753 | 2015-01-05T07:11:27.000Z | 2022-03-28T15:17:07.000Z | chsdi/models/vector/zeitreihen.py | procrastinatio/mf-chsdi3 | 206e9362860376338cc83ded902790dc216e2563 | [
"BSD-3-Clause"
] | 15 | 2015-04-23T08:38:58.000Z | 2020-09-28T14:17:40.000Z | # -*- coding: utf-8 -*-
from sqlalchemy import Column, Integer
from sqlalchemy.types import Numeric, Unicode
from sqlalchemy.dialects import postgresql
from chsdi.models import register, bases
from chsdi.models.vector import Vector, Geometry2D
Base = bases['zeitreihen']
class Zeitreihen15(Base, Vector):
__tab... | 36.77305 | 82 | 0.706654 | 561 | 5,185 | 6.039216 | 0.163993 | 0.038961 | 0.049587 | 0.03719 | 0.729634 | 0.729634 | 0.711629 | 0.709563 | 0.709563 | 0.709563 | 0 | 0.026438 | 0.16837 | 5,185 | 140 | 83 | 37.035714 | 0.759276 | 0.00405 | 0 | 0.628099 | 0 | 0 | 0.234793 | 0.106548 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041322 | 0 | 0.942149 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
21e3690b0c27a505570a836caa1e2ecd7b6393ec | 113 | py | Python | lino_book/projects/dumps/settings/memory.py | lino-framework/lino_book | 4eab916832cd8f48ff1b9fc8c2789f0b437da0f8 | [
"BSD-2-Clause"
] | 3 | 2016-08-25T05:58:09.000Z | 2019-12-05T11:13:45.000Z | lino_book/projects/dumps/settings/memory.py | lino-framework/lino_book | 4eab916832cd8f48ff1b9fc8c2789f0b437da0f8 | [
"BSD-2-Clause"
] | 18 | 2016-11-12T21:38:58.000Z | 2019-12-03T17:54:38.000Z | lino_book/projects/dumps/settings/memory.py | lino-framework/lino_book | 4eab916832cd8f48ff1b9fc8c2789f0b437da0f8 | [
"BSD-2-Clause"
] | 9 | 2016-10-15T11:12:33.000Z | 2021-09-22T04:37:37.000Z | from .a import *
SITE.verbose_name = SITE.verbose_name + " (:memory:)"
DATABASES['default']['NAME'] = ':memory:'
| 28.25 | 53 | 0.663717 | 14 | 113 | 5.214286 | 0.642857 | 0.30137 | 0.410959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115044 | 113 | 3 | 54 | 37.666667 | 0.73 | 0 | 0 | 0 | 0 | 0 | 0.265487 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
21fb4e3da12fdeb1985374c9ac95601dfea3fe91 | 186 | py | Python | api/polls/views.py | vetordev/django-api | d247a0d564f5f08014856e6b9b951f4628e22437 | [
"MIT"
] | null | null | null | api/polls/views.py | vetordev/django-api | d247a0d564f5f08014856e6b9b951f4628e22437 | [
"MIT"
] | null | null | null | api/polls/views.py | vetordev/django-api | d247a0d564f5f08014856e6b9b951f4628e22437 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse, HttpRequest
# Create your views here.
def index(request: HttpRequest):
return HttpResponse("Hello, world.")
| 23.25 | 49 | 0.790323 | 23 | 186 | 6.391304 | 0.782609 | 0.136054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 186 | 7 | 50 | 26.571429 | 0.907407 | 0.123656 | 0 | 0 | 0 | 0 | 0.080745 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
1d02c77894a8d9b212233f457676267dbf443f0a | 47 | py | Python | brats_competition/model_training/common/datasets/__init__.py | andriiaprysiazhnyk/brats_competition | c2fa999c3458a118ca5c5fe81a37a74ef664fef3 | [
"MIT"
] | 2 | 2020-03-30T20:45:19.000Z | 2020-06-08T14:01:21.000Z | brats_competition/model_training/common/datasets/__init__.py | andriiaprysiazhnyk/brats_competition | c2fa999c3458a118ca5c5fe81a37a74ef664fef3 | [
"MIT"
] | null | null | null | brats_competition/model_training/common/datasets/__init__.py | andriiaprysiazhnyk/brats_competition | c2fa999c3458a118ca5c5fe81a37a74ef664fef3 | [
"MIT"
] | null | null | null | from .brats_2d import *
from .brats_3d import * | 23.5 | 23 | 0.765957 | 8 | 47 | 4.25 | 0.625 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.148936 | 47 | 2 | 24 | 23.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
df094f132247614ccb934591c998d222fc42ac9c | 66,478 | py | Python | contextily/_providers.py | jpn--/contextily | 3cce6d72dd00355fabcd7fd6977718ecc87f8510 | [
"BSD-3-Clause"
] | 163 | 2016-09-16T23:50:38.000Z | 2022-01-07T12:22:24.000Z | contextily/_providers.py | jpn--/contextily | 3cce6d72dd00355fabcd7fd6977718ecc87f8510 | [
"BSD-3-Clause"
] | 126 | 2016-09-28T22:18:00.000Z | 2020-04-08T12:45:36.000Z | contextily/_providers.py | jpn--/contextily | 3cce6d72dd00355fabcd7fd6977718ecc87f8510 | [
"BSD-3-Clause"
] | 43 | 2016-09-28T19:59:36.000Z | 2022-01-20T17:03:53.000Z | """
Tile providers.
This file is autogenerated! It is a python representation of the leaflet
providers defined by the leaflet-providers.js extension to Leaflet
(https://github.com/leaflet-extras/leaflet-providers).
Credit to the leaflet-providers.js project (BSD 2-Clause "Simplified" License)
and the Leaflet Provider... | 44.826703 | 223 | 0.525076 | 6,859 | 66,478 | 5.018662 | 0.084852 | 0.061441 | 0.067978 | 0.025564 | 0.781861 | 0.764315 | 0.753304 | 0.742294 | 0.738576 | 0.73326 | 0 | 0.041398 | 0.318331 | 66,478 | 1,482 | 224 | 44.85695 | 0.718223 | 0.009296 | 0 | 0.647868 | 1 | 0.1011 | 0.435071 | 0.032176 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002063 | false | 0 | 0 | 0.000688 | 0.005502 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
df81e619d1bdbe7cebf2cf13b305e6b1fad1c4d5 | 6,395 | py | Python | idl2py/wcs/add_distort.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | idl2py/wcs/add_distort.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | idl2py/wcs/add_distort.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | """
By Dr Jie Zheng -Q, NAOC
v1 2019-04-27
"""
import numpy as np
from..util import *
def add_distort():
pass
# pro add_distort, hdr, astr
#; NAME:
#; ADD_DISTORT
#; PURPOSE:
#; Add the distortion parameters in an astrometry structure to a FITS header.
#; EXPLANATION:
#; Called by PUTAS... | 36.335227 | 82 | 0.544488 | 847 | 6,395 | 4.041322 | 0.227863 | 0.070698 | 0.070114 | 0.051417 | 0.53754 | 0.456909 | 0.309962 | 0.270523 | 0.081215 | 0.081215 | 0 | 0.047098 | 0.299453 | 6,395 | 175 | 83 | 36.542857 | 0.716964 | 0.88663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
df877e42561ff614b4f5ecab85bbd2bb3d3a6be8 | 183 | py | Python | mmskeleton/utils/__init__.py | sj-li/PR-GCN | decd0d1b15e154cac32597d0bd1cf4e2dfef20a6 | [
"Apache-2.0"
] | 5 | 2021-05-31T09:10:44.000Z | 2022-01-22T08:06:28.000Z | mmskeleton/utils/__init__.py | sj-li/PR-GCN | decd0d1b15e154cac32597d0bd1cf4e2dfef20a6 | [
"Apache-2.0"
] | null | null | null | mmskeleton/utils/__init__.py | sj-li/PR-GCN | decd0d1b15e154cac32597d0bd1cf4e2dfef20a6 | [
"Apache-2.0"
] | null | null | null | from .importer import import_obj, call_obj, set_attr, get_attr
from .checkpoint import load_checkpoint
__all__ = ['import_obj', 'call_obj', 'set_attr', 'get_attr', 'load_checkpoint'] | 45.75 | 79 | 0.781421 | 27 | 183 | 4.777778 | 0.407407 | 0.139535 | 0.20155 | 0.248062 | 0.465116 | 0.465116 | 0.465116 | 0.465116 | 0 | 0 | 0 | 0 | 0.098361 | 183 | 4 | 79 | 45.75 | 0.781818 | 0 | 0 | 0 | 0 | 0 | 0.266304 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
df93146e3b7e436bac034a53203c507791aa7d45 | 8,244 | py | Python | servo/stats/queries.py | ipwnosx/Servo | 3418ece690ca90d676a7d8ae654da7770ae312fb | [
"BSD-2-Clause"
] | null | null | null | servo/stats/queries.py | ipwnosx/Servo | 3418ece690ca90d676a7d8ae654da7770ae312fb | [
"BSD-2-Clause"
] | null | null | null | servo/stats/queries.py | ipwnosx/Servo | 3418ece690ca90d676a7d8ae654da7770ae312fb | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import decimal
from django.db import connection
class StatsManager:
def __init__(self):
self.cursor = connection.cursor()
def _result(self, args):
result = []
self.cursor.execute(self.sql, args)
for k, v in self.cursor.fetchall():
... | 36.64 | 91 | 0.594129 | 1,145 | 8,244 | 4.117904 | 0.10131 | 0.070626 | 0.022906 | 0.040721 | 0.776034 | 0.748462 | 0.734464 | 0.708165 | 0.708165 | 0.708165 | 0 | 0.010057 | 0.300461 | 8,244 | 224 | 92 | 36.803571 | 0.807526 | 0.002547 | 0 | 0.659341 | 0 | 0 | 0.60905 | 0.010948 | 0 | 0 | 0 | 0 | 0 | 1 | 0.104396 | false | 0 | 0.010989 | 0 | 0.214286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
10bfe84988c9609b4e84eac42b19097e1ac966fa | 45 | py | Python | webtreasures/models/__init__.py | songzxDev/fortunecat | 594b5df8341c997617a9b28a36c86d09b0f5b1b3 | [
"Apache-2.0"
] | null | null | null | webtreasures/models/__init__.py | songzxDev/fortunecat | 594b5df8341c997617a9b28a36c86d09b0f5b1b3 | [
"Apache-2.0"
] | null | null | null | webtreasures/models/__init__.py | songzxDev/fortunecat | 594b5df8341c997617a9b28a36c86d09b0f5b1b3 | [
"Apache-2.0"
] | null | null | null | from webtreasures.models.fortunedrp import *
| 22.5 | 44 | 0.844444 | 5 | 45 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
10cd77ef99f0ea1fccd4fd2141d07ceb9306bfb7 | 295 | py | Python | deep_rl/actor_critic/__init__.py | jkulhanek/deep-rl-pytorch | 6fa7ceee8524f002d4a8d93295b231f6b9b7c29c | [
"MIT"
] | 7 | 2019-03-24T19:51:11.000Z | 2022-01-27T17:20:29.000Z | deep_rl/actor_critic/__init__.py | jkulhanek/deep-rl-pytorch | 6fa7ceee8524f002d4a8d93295b231f6b9b7c29c | [
"MIT"
] | null | null | null | deep_rl/actor_critic/__init__.py | jkulhanek/deep-rl-pytorch | 6fa7ceee8524f002d4a8d93295b231f6b9b7c29c | [
"MIT"
] | 4 | 2020-04-11T01:06:24.000Z | 2021-07-18T01:22:36.000Z | from .agent import ActorCriticAgent # noqa: F401
from .ppo import PPO # noqa: F401
from .a2c import A2C # noqa: F401
from .a2c import A2CDynamicBatch # noqa: F401
from .acktr import ACKTR # noqa: F401
from .a3c import A3C # noqa: F401
from .unreal import Unreal, UnrealAgent # noqa: F401
| 36.875 | 53 | 0.732203 | 43 | 295 | 5.023256 | 0.302326 | 0.259259 | 0.333333 | 0.138889 | 0.194444 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113445 | 0.19322 | 295 | 7 | 54 | 42.142857 | 0.794118 | 0.257627 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
10eaec0c1a0c17d1b6ebfa84f2aaadede84afe27 | 45 | py | Python | stRT/tdr/__init__.py | Yao-14/stAnalysis | d08483ce581f5b03cfcad8be500aaa64b0293f74 | [
"BSD-3-Clause"
] | null | null | null | stRT/tdr/__init__.py | Yao-14/stAnalysis | d08483ce581f5b03cfcad8be500aaa64b0293f74 | [
"BSD-3-Clause"
] | null | null | null | stRT/tdr/__init__.py | Yao-14/stAnalysis | d08483ce581f5b03cfcad8be500aaa64b0293f74 | [
"BSD-3-Clause"
] | null | null | null | from .models import *
from .widgets import *
| 15 | 22 | 0.733333 | 6 | 45 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 23 | 22.5 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
339068600b325fe15eb9182b5e1fae0e0efcecbd | 352 | py | Python | S4/S4 Library/simulation/venues/park_zone_director.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | 1 | 2021-05-20T19:33:37.000Z | 2021-05-20T19:33:37.000Z | S4/S4 Library/simulation/venues/park_zone_director.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | null | null | null | S4/S4 Library/simulation/venues/park_zone_director.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | null | null | null | from situations.complex.yoga_class import YogaClassScheduleMixin
from venues.relaxation_center_zone_director import VisitorSituationOnArrivalZoneDirectorMixin
from venues.scheduling_zone_director import SchedulingZoneDirector
class ParkZoneDirector(YogaClassScheduleMixin, VisitorSituationOnArrivalZoneDirectorMixin, Sc... | 50.285714 | 115 | 0.911932 | 28 | 352 | 11.25 | 0.607143 | 0.063492 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 352 | 6 | 116 | 58.666667 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
33d78aa5fb442ed0e93930e239acb959aeb1a27e | 389 | py | Python | wrappers/arlexecute/calibration/pointing.py | ska-telescope/algorithm-reference-library | 1b2c8d6079249202864abf8c60cdea40f0f123cb | [
"Apache-2.0"
] | 22 | 2016-12-14T11:20:07.000Z | 2021-08-13T15:23:41.000Z | wrappers/arlexecute/calibration/pointing.py | ska-telescope/algorithm-reference-library | 1b2c8d6079249202864abf8c60cdea40f0f123cb | [
"Apache-2.0"
] | 30 | 2017-06-27T09:15:38.000Z | 2020-09-11T18:16:37.000Z | wrappers/arlexecute/calibration/pointing.py | SKA-ScienceDataProcessor/algorithm-reference-library | 1b2c8d6079249202864abf8c60cdea40f0f123cb | [
"Apache-2.0"
] | 20 | 2017-07-02T03:45:49.000Z | 2019-12-11T17:19:01.000Z | """ Functions for calibration, including creation of pointingtables, application of pointingtables, and
merging pointingtables.
"""
from processing_components.calibration.pointing import create_pointingtable_from_blockvisibility
from processing_components.calibration.pointing import create_pointingtable_from_rows
fro... | 43.222222 | 103 | 0.884319 | 41 | 389 | 8.146341 | 0.487805 | 0.125749 | 0.215569 | 0.314371 | 0.577844 | 0.577844 | 0.431138 | 0.431138 | 0.431138 | 0 | 0 | 0 | 0.07455 | 389 | 8 | 104 | 48.625 | 0.927778 | 0.316195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
33dbb4469c992e0f150bd5776f9bea4d7636d33f | 111 | py | Python | deep_qa/contrib/layers/__init__.py | mrbot-ai/deep_qa | a1731331e12b921b4dbb43433f9c028b362495e8 | [
"Apache-2.0"
] | 2 | 2017-01-26T13:07:13.000Z | 2019-03-27T16:11:56.000Z | deep_qa/contrib/layers/__init__.py | nelson-liu/deep_qa | 00d36306759cb1c232489f68844371fb727ce2c8 | [
"Apache-2.0"
] | null | null | null | deep_qa/contrib/layers/__init__.py | nelson-liu/deep_qa | 00d36306759cb1c232489f68844371fb727ce2c8 | [
"Apache-2.0"
] | 1 | 2019-01-04T13:08:27.000Z | 2019-01-04T13:08:27.000Z |
from .knowledge_backed_lstm import KnowledgeBackedLSTM
from .tree_composition_lstm import TreeCompositionLSTM
| 27.75 | 54 | 0.900901 | 12 | 111 | 8 | 0.75 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 111 | 3 | 55 | 37 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
33eaad2bf481158c9dea54943fe80d3c96733ec5 | 43 | py | Python | hw1/test/tree/__init__.py | LePotatoChef/CS583-Machine-Learning | b23a4d9f3ed0b9b97bab46fd9c69192c374890df | [
"Apache-2.0"
] | 1 | 2020-11-11T15:41:00.000Z | 2020-11-11T15:41:00.000Z | hw1/test/tree/__init__.py | LePotatoChef/CS583-Machine-Learning | b23a4d9f3ed0b9b97bab46fd9c69192c374890df | [
"Apache-2.0"
] | null | null | null | hw1/test/tree/__init__.py | LePotatoChef/CS583-Machine-Learning | b23a4d9f3ed0b9b97bab46fd9c69192c374890df | [
"Apache-2.0"
] | null | null | null | from .dtnode import *
from .dtree import *
| 14.333333 | 21 | 0.72093 | 6 | 43 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 2 | 22 | 21.5 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1d2fa60632669012a78e0f8f37441803b324af30 | 120 | py | Python | mysite/asd.py | iml1111/django-study | b0b20af5a495f8680b41e20b89e632a9a2e41026 | [
"MIT"
] | null | null | null | mysite/asd.py | iml1111/django-study | b0b20af5a495f8680b41e20b89e632a9a2e41026 | [
"MIT"
] | null | null | null | mysite/asd.py | iml1111/django-study | b0b20af5a495f8680b41e20b89e632a9a2e41026 | [
"MIT"
] | null | null | null | from django_jwt_extended.decorators import jwt_required
@jwt_required()
def asdasdasd():
return "sad"
asdasdasd() | 15 | 55 | 0.775 | 15 | 120 | 5.933333 | 0.733333 | 0.247191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 120 | 8 | 56 | 15 | 0.855769 | 0 | 0 | 0 | 0 | 0 | 0.024793 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0.2 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
1d4c72c1075e0b86fb81467a757b30e31e0e2c79 | 36 | py | Python | dsplot/tree/__init__.py | avere001/dsplot | 89948c2f1b16e00bb3a240f73d0cb100b3eac847 | [
"MIT"
] | 8 | 2021-08-08T06:06:39.000Z | 2022-02-04T18:30:38.000Z | dsplot/tree/__init__.py | avere001/dsplot | 89948c2f1b16e00bb3a240f73d0cb100b3eac847 | [
"MIT"
] | 1 | 2022-01-04T02:01:36.000Z | 2022-01-04T02:01:36.000Z | dsplot/tree/__init__.py | avere001/dsplot | 89948c2f1b16e00bb3a240f73d0cb100b3eac847 | [
"MIT"
] | 2 | 2021-08-18T12:28:40.000Z | 2022-01-03T23:56:41.000Z | from .binary_tree import BinaryTree
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1d848b9ed788cf0ed82464d0f562233f9a3e9ef9 | 132 | py | Python | bank/src/deposit_app/views/__init__.py | yuramorozov01/bank_system | 8d0cad692a89b913adb2df9a2a03d1793938a911 | [
"Apache-2.0"
] | null | null | null | bank/src/deposit_app/views/__init__.py | yuramorozov01/bank_system | 8d0cad692a89b913adb2df9a2a03d1793938a911 | [
"Apache-2.0"
] | null | null | null | bank/src/deposit_app/views/__init__.py | yuramorozov01/bank_system | 8d0cad692a89b913adb2df9a2a03d1793938a911 | [
"Apache-2.0"
] | null | null | null | from deposit_app.views.deposit_contract import DepositContractViewSet
from deposit_app.views.deposit_type import DepositTypeViewSet
| 44 | 69 | 0.909091 | 16 | 132 | 7.25 | 0.5625 | 0.189655 | 0.241379 | 0.327586 | 0.448276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 132 | 2 | 70 | 66 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1d8659c901233fa5a39cd6a4af8bd60f2c5f2d7a | 85 | py | Python | linedrive/__init__.py | PoorBillionaire/linedrive | 8880af4c095ac309b469352f80bf89a3c1b5deb5 | [
"Apache-2.0"
] | null | null | null | linedrive/__init__.py | PoorBillionaire/linedrive | 8880af4c095ac309b469352f80bf89a3c1b5deb5 | [
"Apache-2.0"
] | null | null | null | linedrive/__init__.py | PoorBillionaire/linedrive | 8880af4c095ac309b469352f80bf89a3c1b5deb5 | [
"Apache-2.0"
] | 1 | 2022-01-20T19:10:03.000Z | 2022-01-20T19:10:03.000Z | from . import utils
from . import constants
from .websocket import GamecastWebsocket
| 21.25 | 40 | 0.823529 | 10 | 85 | 7 | 0.6 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141176 | 85 | 3 | 41 | 28.333333 | 0.958904 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1d8a9eb020d69708931c4b847e9f37f88c96b217 | 50,912 | py | Python | original-paas/copy_to_container/www/spdpaas/src/app/features/commonUse/inMemoryDBHandle.py | yishan1331/docker-practice | 91a1a434cbffc33790678af5e09de310386812d1 | [
"MIT"
] | null | null | null | original-paas/copy_to_container/www/spdpaas/src/app/features/commonUse/inMemoryDBHandle.py | yishan1331/docker-practice | 91a1a434cbffc33790678af5e09de310386812d1 | [
"MIT"
] | null | null | null | original-paas/copy_to_container/www/spdpaas/src/app/features/commonUse/inMemoryDBHandle.py | yishan1331/docker-practice | 91a1a434cbffc33790678af5e09de310386812d1 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#module description
"""
==============================================================================
created :
Last update: 03/31/2021
Developer: Yi-Shan Tsai
Lite Version 2 @Yishan08212019
API Version 1.0
Filename: inMemoryDBHandle.py
Description: 連接redis api
Total = 8 APIs
==========... | 41.493073 | 181 | 0.469104 | 4,370 | 50,912 | 5.339588 | 0.09016 | 0.029999 | 0.034199 | 0.0144 | 0.830505 | 0.808477 | 0.797334 | 0.784263 | 0.774921 | 0.762835 | 0 | 0.017497 | 0.382582 | 50,912 | 1,227 | 182 | 41.493073 | 0.72482 | 0.523924 | 0 | 0.671642 | 0 | 0 | 0.145541 | 0.01109 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047264 | false | 0 | 0.007463 | 0.012438 | 0.186567 | 0.002488 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d57fb5f39ddb81a6459a74bf1b57d0a7419171de | 24 | py | Python | static/data/heatmap/edit.py | noahbkim/finances | 98e2d0cf1bcabcc9785177d36c581e6d3f7caba7 | [
"BSD-3-Clause"
] | 1 | 2020-07-16T05:50:23.000Z | 2020-07-16T05:50:23.000Z | Download_Financial_Statement/test.py | John1001Song/Big-Data-Robo-Adviser | 9444dce96954c546333d5aecc92a06c3bfd19aa5 | [
"MIT"
] | null | null | null | Download_Financial_Statement/test.py | John1001Song/Big-Data-Robo-Adviser | 9444dce96954c546333d5aecc92a06c3bfd19aa5 | [
"MIT"
] | 1 | 2019-02-14T08:09:46.000Z | 2019-02-14T08:09:46.000Z | import json
import os
| 4.8 | 11 | 0.75 | 4 | 24 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 24 | 4 | 12 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
635ae7ddfa49a6cbc6652a991a63ec35ce2e4cc0 | 70 | py | Python | certificate_mailer/__init__.py | GauravPatel89/EPAi2_capstone | b29fd89001f2d09d4e961a8ea24b81ba460f964b | [
"MIT"
] | null | null | null | certificate_mailer/__init__.py | GauravPatel89/EPAi2_capstone | b29fd89001f2d09d4e961a8ea24b81ba460f964b | [
"MIT"
] | null | null | null | certificate_mailer/__init__.py | GauravPatel89/EPAi2_capstone | b29fd89001f2d09d4e961a8ea24b81ba460f964b | [
"MIT"
] | null | null | null | from .core import *
from .helpers import *
from .mailer_utils import * | 23.333333 | 27 | 0.757143 | 10 | 70 | 5.2 | 0.6 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157143 | 70 | 3 | 27 | 23.333333 | 0.881356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6375bb73737fecab1ed61604419362251f1e1455 | 37,893 | py | Python | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/50.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/50.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/50.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 3217
passenger_arriving = (
(6, 3, 5, 3, 2, 0, 6, 8, 4, 2, 4, 0), # 0
(5, 11, 6, 2, 1, 0, 7, 9, 7, 3, 1, 0), # 1
(3, 8, 6, 4, 3, 0, 5, 12, 3, 7, 1, 0), # 2
(6, 6, 6, 5, 3, 0, 3, 7, 5, 5, 3, 0), # 3
(1, 4, 7, 4, 4, 0, 7, 11, 9, 6, 3, 0), # 4
(5, 11, 5, 5, 0, 0, 5, 9, 4, 4... | 113.113433 | 212 | 0.729132 | 5,147 | 37,893 | 5.365844 | 0.227317 | 0.312839 | 0.247665 | 0.469259 | 0.328481 | 0.327757 | 0.327757 | 0.327757 | 0.327757 | 0.327757 | 0 | 0.819048 | 0.119125 | 37,893 | 334 | 213 | 113.452096 | 0.008359 | 0.031958 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
63b0f0020c6539a99eaf950ff9965373e2f30d38 | 7,062 | py | Python | apps/pretrained_protein/tape/data_process.py | Noisyntrain/PaddleHelix | f9e62eec9e8e5220de2c633ce0b97acc0230df1a | [
"Apache-2.0"
] | 2 | 2020-12-08T09:20:16.000Z | 2020-12-18T07:50:56.000Z | apps/pretrained_protein/tape/data_process.py | Noisyntrain/PaddleHelix | f9e62eec9e8e5220de2c633ce0b97acc0230df1a | [
"Apache-2.0"
] | null | null | null | apps/pretrained_protein/tape/data_process.py | Noisyntrain/PaddleHelix | f9e62eec9e8e5220de2c633ce0b97acc0230df1a | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by app... | 30.179487 | 90 | 0.597564 | 833 | 7,062 | 4.911164 | 0.177671 | 0.097776 | 0.046932 | 0.03911 | 0.726228 | 0.726228 | 0.726228 | 0.726228 | 0.709118 | 0.709118 | 0 | 0.00987 | 0.282639 | 7,062 | 233 | 91 | 30.309013 | 0.797671 | 0.25177 | 0 | 0.753968 | 0 | 0 | 0.038869 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.198413 | false | 0 | 0.031746 | 0 | 0.309524 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
894b62c4df130fab2d0b6e18ab30eaedcd59b417 | 43 | py | Python | jupyterlabpymolpysnips/Programming/synch.py | MooersLab/pymolpysnips | 50a89c85adf8006d85c1d6cd3f8aad7e440a0b92 | [
"MIT"
] | null | null | null | jupyterlabpymolpysnips/Programming/synch.py | MooersLab/pymolpysnips | 50a89c85adf8006d85c1d6cd3f8aad7e440a0b92 | [
"MIT"
] | null | null | null | jupyterlabpymolpysnips/Programming/synch.py | MooersLab/pymolpysnips | 50a89c85adf8006d85c1d6cd3f8aad7e440a0b92 | [
"MIT"
] | null | null | null | cmd.do('cmd.sync(timeout=1.0,poll=0.05);')
| 21.5 | 42 | 0.651163 | 10 | 43 | 2.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 0.023256 | 43 | 1 | 43 | 43 | 0.547619 | 0 | 0 | 0 | 0 | 0 | 0.744186 | 0.744186 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
894d014d0ca5ff4dd0c47ad690b39505de82c19c | 4,056 | py | Python | app/controllers/vote.py | Axtell-io/Axtell | 2f660450ca2eb70cc0520ad970c9aabdc65a3bb7 | [
"MIT"
] | 15 | 2018-04-20T14:56:59.000Z | 2021-03-31T20:16:29.000Z | app/controllers/vote.py | Axtell/Axtell | 2f660450ca2eb70cc0520ad970c9aabdc65a3bb7 | [
"MIT"
] | 148 | 2018-04-17T01:47:44.000Z | 2020-05-14T13:24:03.000Z | app/controllers/vote.py | Axtell-io/Axtell | 2f660450ca2eb70cc0520ad970c9aabdc65a3bb7 | [
"MIT"
] | 7 | 2018-06-01T11:15:18.000Z | 2020-08-14T04:24:50.000Z | from flask import g, abort, redirect, url_for
from app.instances import db
from app.models.Post import Post
from app.models.Answer import Answer
from app.models.PostVote import PostVote
from app.models.AnswerVote import AnswerVote
# noinspection PyUnresolvedReferences
import app.routes.post
# noinspection PyUnresolve... | 30.496241 | 100 | 0.68787 | 597 | 4,056 | 4.465662 | 0.130653 | 0.03826 | 0.053638 | 0.051013 | 0.858965 | 0.782821 | 0.782821 | 0.715679 | 0.715679 | 0.627157 | 0 | 0.013716 | 0.209073 | 4,056 | 132 | 101 | 30.727273 | 0.817332 | 0.080621 | 0 | 0.606383 | 0 | 0 | 0.028502 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06383 | false | 0 | 0.095745 | 0 | 0.351064 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9832420e9b1efa37189cef6984e6d4e746c07bab | 22 | py | Python | plugins/photos/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 13 | 2020-01-27T09:02:25.000Z | 2022-01-20T07:45:26.000Z | plugins/photos/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 29 | 2020-03-22T06:57:57.000Z | 2022-01-24T22:46:42.000Z | plugins/photos/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 6 | 2020-07-10T00:13:30.000Z | 2022-01-26T08:22:33.000Z | from .photos import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
98927ebd75c178bd40da3ce84bab511170412f75 | 4,993 | py | Python | src/app/main/form.py | YiNNx/OAuth2.0 | 0b13de55aea594c7265f6d82783f4836746b7ea0 | [
"MIT"
] | null | null | null | src/app/main/form.py | YiNNx/OAuth2.0 | 0b13de55aea594c7265f6d82783f4836746b7ea0 | [
"MIT"
] | null | null | null | src/app/main/form.py | YiNNx/OAuth2.0 | 0b13de55aea594c7265f6d82783f4836746b7ea0 | [
"MIT"
] | null | null | null | ' wtf表单 '
__author__ = 'YiNN'
from wtforms.fields import simple,RadioField,IntegerField
from wtforms import Form,validators,widgets
class LoginForm(Form):
'''Form'''
email = simple.StringField(
widget=widgets.TextInput(),
validators=[
validators.DataRequired(message="不能为空(゚Д゚*)ノ")... | 30.078313 | 88 | 0.582415 | 516 | 4,993 | 5.593023 | 0.145349 | 0.018711 | 0.028067 | 0.037422 | 0.865558 | 0.865558 | 0.865558 | 0.862439 | 0.857935 | 0.841649 | 0 | 0.003514 | 0.259163 | 4,993 | 166 | 89 | 30.078313 | 0.776696 | 0.041859 | 0 | 0.680851 | 0 | 0 | 0.152585 | 0.019966 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.042553 | 0.014184 | 0 | 0.177305 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7f8b73432e4ace3ffed041d6c8bcbe2dc5de50ac | 42 | py | Python | core/modules/models/cls/__init__.py | FelixFu520/DAO | ac30bad4503408e771bc28c77dd8a20c18c15a05 | [
"MIT"
] | null | null | null | core/modules/models/cls/__init__.py | FelixFu520/DAO | ac30bad4503408e771bc28c77dd8a20c18c15a05 | [
"MIT"
] | null | null | null | core/modules/models/cls/__init__.py | FelixFu520/DAO | ac30bad4503408e771bc28c77dd8a20c18c15a05 | [
"MIT"
] | null | null | null | # classification
from .TIMMC import TIMMC
| 14 | 24 | 0.809524 | 5 | 42 | 6.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 42 | 2 | 25 | 21 | 0.944444 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f6aad77ea16b7b8ca9beb20c89ac827cfcb05a37 | 2,048 | py | Python | tests/test_color.py | underwatergrasshopper/PyUnderGUI | 9a3107bbcf04168eb131a6dae5d50ff35b00ea7f | [
"MIT"
] | null | null | null | tests/test_color.py | underwatergrasshopper/PyUnderGUI | 9a3107bbcf04168eb131a6dae5d50ff35b00ea7f | [
"MIT"
] | null | null | null | tests/test_color.py | underwatergrasshopper/PyUnderGUI | 9a3107bbcf04168eb131a6dae5d50ff35b00ea7f | [
"MIT"
] | null | null | null | import math
from TestKit import *
from UnderGUI.Color import *
__all__ = ['test_color']
def test_color():
### ColorF ###
c = ColorF(1, 0.5, 0.75, 0.25).to_color_i()
assert c.r == 255 and c.g == 127 and c.b == 191 and c.a == 63
c = ColorF(1, 0.5, 0.75, 0.25).to_color_f()
assert math.isclose(c.r, ... | 44.521739 | 172 | 0.565918 | 439 | 2,048 | 2.530752 | 0.113895 | 0.086409 | 0.129613 | 0.09721 | 0.827183 | 0.827183 | 0.827183 | 0.827183 | 0.780378 | 0.780378 | 0 | 0.112132 | 0.203125 | 2,048 | 45 | 173 | 45.511111 | 0.568627 | 0.060059 | 0 | 0.37931 | 0 | 0 | 0.093537 | 0 | 0 | 0 | 0 | 0 | 0.37931 | 1 | 0.034483 | false | 0 | 0.103448 | 0 | 0.137931 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f6eeaf7483937a033a00a8542cd47a1fd289c645 | 3,977 | py | Python | examples/pbc/22-k_points_mp2_stagger.py | xinxing02/pyscf | 30aeafc408aa87ac1fae6aaa6a42e195b5a1dc0a | [
"Apache-2.0"
] | null | null | null | examples/pbc/22-k_points_mp2_stagger.py | xinxing02/pyscf | 30aeafc408aa87ac1fae6aaa6a42e195b5a1dc0a | [
"Apache-2.0"
] | null | null | null | examples/pbc/22-k_points_mp2_stagger.py | xinxing02/pyscf | 30aeafc408aa87ac1fae6aaa6a42e195b5a1dc0a | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
'''
Example code for
k-point spin-restricted periodic MP2 calculation using the staggered mesh method
Author: Xin Xing (xxing@berkeley.edu)
Reference: Staggered Mesh Method for Correlation Energy Calculations of Solids: Second-Order
Møller–Plesset Perturbation Theory, J. Chem. Theory Comp... | 26.164474 | 93 | 0.685441 | 656 | 3,977 | 4.08689 | 0.21189 | 0.011936 | 0.058187 | 0.085043 | 0.743752 | 0.73853 | 0.73853 | 0.73853 | 0.73853 | 0.73853 | 0 | 0.137119 | 0.167463 | 3,977 | 151 | 94 | 26.337748 | 0.672304 | 0.316822 | 0 | 0.711111 | 0 | 0 | 0.13741 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 1 | 0 | false | 0 | 0.022222 | 0 | 0.022222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
63e437aaf9a032fc8bc3a23a143c254c49727872 | 9,799 | py | Python | extra_models.py | vincnt/tcn-audio-fx | c3ca38a7975ca99f7aebebf310a016e1cbcfdf0c | [
"MIT"
] | null | null | null | extra_models.py | vincnt/tcn-audio-fx | c3ca38a7975ca99f7aebebf310a016e1cbcfdf0c | [
"MIT"
] | null | null | null | extra_models.py | vincnt/tcn-audio-fx | c3ca38a7975ca99f7aebebf310a016e1cbcfdf0c | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
from models import BaseTCN, TCN, CausalConv1d, _conv_stack
from model_utilities import GatedActivation
class OutputcoderTCN(TCN):
def __init__(self, num_channels, dilation_depth, num_repeat, kernel_size=2, dilation_factor=2, conditioning=False, num_conditioning=3, activation='ga... | 52.40107 | 278 | 0.708338 | 1,271 | 9,799 | 5.173879 | 0.088906 | 0.051855 | 0.038929 | 0.053528 | 0.806569 | 0.778437 | 0.76247 | 0.758972 | 0.708029 | 0.685219 | 0 | 0.013645 | 0.192265 | 9,799 | 187 | 279 | 52.40107 | 0.817183 | 0.021737 | 0 | 0.54717 | 0 | 0 | 0.020668 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075472 | false | 0 | 0.025157 | 0 | 0.176101 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
63ed0f687247a0bb87e544a10ae5b7f40c1dc270 | 147,338 | py | Python | src/buildstream/_protos/build/bazel/remote/execution/v2/remote_execution_pb2.py | doraskayo/buildstream | 1c72d4342ae7df360808de22c5e49f55dbb6bec6 | [
"Apache-2.0"
] | null | null | null | src/buildstream/_protos/build/bazel/remote/execution/v2/remote_execution_pb2.py | doraskayo/buildstream | 1c72d4342ae7df360808de22c5e49f55dbb6bec6 | [
"Apache-2.0"
] | null | null | null | src/buildstream/_protos/build/bazel/remote/execution/v2/remote_execution_pb2.py | doraskayo/buildstream | 1c72d4342ae7df360808de22c5e49f55dbb6bec6 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: build/bazel/remote/execution/v2/remote_execution.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import refl... | 47.329907 | 15,290 | 0.774729 | 18,068 | 147,338 | 5.996126 | 0.039628 | 0.03766 | 0.074397 | 0.081227 | 0.780123 | 0.749082 | 0.728129 | 0.714052 | 0.654701 | 0.610921 | 0 | 0.037448 | 0.104657 | 147,338 | 3,112 | 15,291 | 47.345116 | 0.783805 | 0.032415 | 0 | 0.695908 | 1 | 0.010749 | 0.230448 | 0.191914 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003814 | 0 | 0.003814 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
63f299db707516b42cb72cbfc473356cfc799bd9 | 9,182 | py | Python | tests/test_background_loader.py | pjeanjean/dakara-player | 0251f42ab86a3ae8fdfc2bb61d156527807dedf2 | [
"MIT"
] | null | null | null | tests/test_background_loader.py | pjeanjean/dakara-player | 0251f42ab86a3ae8fdfc2bb61d156527807dedf2 | [
"MIT"
] | null | null | null | tests/test_background_loader.py | pjeanjean/dakara-player | 0251f42ab86a3ae8fdfc2bb61d156527807dedf2 | [
"MIT"
] | null | null | null | from unittest import TestCase
from unittest.mock import call, patch
from path import Path
from dakara_player_vlc.background_loader import (
BackgroundLoader,
BackgroundNotFoundError,
)
class BackgroundLoaderTestCase(TestCase):
"""Test the loader for backgrounds
"""
@patch(
"dakara_playe... | 34.133829 | 88 | 0.629928 | 913 | 9,182 | 6.185104 | 0.085433 | 0.052948 | 0.085001 | 0.102001 | 0.917478 | 0.903666 | 0.899061 | 0.884009 | 0.870551 | 0.868249 | 0 | 0 | 0.272707 | 9,182 | 268 | 89 | 34.261194 | 0.845612 | 0.214332 | 0 | 0.629139 | 0 | 0 | 0.177529 | 0.093228 | 0 | 0 | 0 | 0 | 0.172185 | 1 | 0.05298 | false | 0 | 0.02649 | 0 | 0.086093 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
63fed1e95095df19d7226e31196eefc5e4b8f627 | 192 | py | Python | flixed_django/flixedREST/admin.py | nilesh1168/flixed-movie-tracker | 1ca1c9c74731596e386da001d393230fb86045af | [
"MIT"
] | null | null | null | flixed_django/flixedREST/admin.py | nilesh1168/flixed-movie-tracker | 1ca1c9c74731596e386da001d393230fb86045af | [
"MIT"
] | null | null | null | flixed_django/flixedREST/admin.py | nilesh1168/flixed-movie-tracker | 1ca1c9c74731596e386da001d393230fb86045af | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import WatchList
from .models import WatchedMovie
admin.site.register(WatchList)
admin.site.register(WatchedMovie)
| 21.333333 | 33 | 0.822917 | 25 | 192 | 6.32 | 0.48 | 0.126582 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109375 | 192 | 8 | 34 | 24 | 0.923977 | 0.135417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
124e3939cb7bb6bb93fa8b02b9751c3c18e7de31 | 234 | py | Python | tools/update.py | HadesD/LaraCC | cb4e52bb87c777042e68e54a52be73a1a1e3abbd | [
"MIT"
] | null | null | null | tools/update.py | HadesD/LaraCC | cb4e52bb87c777042e68e54a52be73a1a1e3abbd | [
"MIT"
] | null | null | null | tools/update.py | HadesD/LaraCC | cb4e52bb87c777042e68e54a52be73a1a1e3abbd | [
"MIT"
] | null | null | null | import os
import subprocess
subprocess.call([
'git'
, 'submodule'
, 'foreach'
, 'git'
, 'checkout'
, 'master'
])
subprocess.call([
'git'
, 'submodule'
, 'foreach'
, 'git'
, 'pull'
, 'origin'
, 'master'
])
| 10.173913 | 17 | 0.538462 | 21 | 234 | 6 | 0.52381 | 0.222222 | 0.269841 | 0.412698 | 0.571429 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0.260684 | 234 | 22 | 18 | 10.636364 | 0.728324 | 0 | 0 | 0.736842 | 0 | 0 | 0.317597 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.105263 | 0 | 0.105263 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d6212ab5ad1d4d22a48ee2e0feb4f8d830252b93 | 803 | py | Python | services/docService/app/models.py | anaquin135/modularCPQ | af8575a407813c6ef3e3c0ca3258266f0bc6a4e7 | [
"MIT"
] | null | null | null | services/docService/app/models.py | anaquin135/modularCPQ | af8575a407813c6ef3e3c0ca3258266f0bc6a4e7 | [
"MIT"
] | null | null | null | services/docService/app/models.py | anaquin135/modularCPQ | af8575a407813c6ef3e3c0ca3258266f0bc6a4e7 | [
"MIT"
] | null | null | null | from datetime import datetime
from app import db
class DOCUMENT(db.Model):
id = db.Column(db.Integer, nullable=False, primary_key=True)
description = db.Column(db.String(300), nullable=False, default='Missing Description')
isActive = db.Column(db.Boolean, nullable=False, default=... | 50.1875 | 95 | 0.663761 | 101 | 803 | 5.257426 | 0.277228 | 0.135593 | 0.169492 | 0.120527 | 0.79096 | 0.79096 | 0.79096 | 0.79096 | 0.79096 | 0.79096 | 0 | 0.018987 | 0.212951 | 803 | 15 | 96 | 53.533333 | 0.821203 | 0 | 0 | 0.615385 | 0 | 0 | 0.051059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.153846 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
d62f24fb23f92f07d9930e9a9e5cfad8f3404a18 | 1,040 | py | Python | units/volume/u_s_tablespoons.py | putridparrot/PyUnits | 4f1095c6fc0bee6ba936921c391913dbefd9307c | [
"MIT"
] | null | null | null | units/volume/u_s_tablespoons.py | putridparrot/PyUnits | 4f1095c6fc0bee6ba936921c391913dbefd9307c | [
"MIT"
] | null | null | null | units/volume/u_s_tablespoons.py | putridparrot/PyUnits | 4f1095c6fc0bee6ba936921c391913dbefd9307c | [
"MIT"
] | null | null | null | # <auto-generated>
# This code was generated by the UnitCodeGenerator tool
#
# Changes to this file will be lost if the code is regenerated
# </auto-generated>
def to_millilitres(value):
return value * 14.786764781249998848
def to_litres(value):
return value * 0.014786764781249998848
def to_kilolitres(value):
re... | 27.368421 | 62 | 0.773077 | 158 | 1,040 | 4.905063 | 0.322785 | 0.096774 | 0.309677 | 0.153548 | 0.12129 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234568 | 0.143269 | 1,040 | 37 | 63 | 28.108108 | 0.635241 | 0.143269 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d638abe9246e84b142c0c7b3b89be6f19d7682be | 2,310 | py | Python | epytope/Data/pssms/smm/mat/A_02_03_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smm/mat/A_02_03_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smm/mat/A_02_03_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | A_02_03_9 = {0: {'A': -0.168, 'C': -0.059, 'E': 0.895, 'D': 0.802, 'G': -0.046, 'F': -0.763, 'I': -0.133, 'H': 0.193, 'K': -0.118, 'M': -0.385, 'L': -0.198, 'N': 0.0, 'Q': 0.192, 'P': 0.615, 'S': -0.102, 'R': -0.076, 'T': 0.081, 'W': -0.063, 'V': -0.097, 'Y': -0.569}, 1: {'A': -0.131, 'C': 0.625, 'E': 0.554, 'D': 0.46,... | 2,310 | 2,310 | 0.393939 | 557 | 2,310 | 1.628366 | 0.310592 | 0.019846 | 0.011025 | 0.01323 | 0.046307 | 0 | 0 | 0 | 0 | 0 | 0 | 0.373258 | 0.161472 | 2,310 | 1 | 2,310 | 2,310 | 0.094992 | 0 | 0 | 0 | 0 | 0 | 0.079187 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d64b8cb0f895a18a9241423722106d183038db90 | 100 | py | Python | llvm/utils/lit/tests/Inputs/shtest-not/fail.py | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 2,338 | 2018-06-19T17:34:51.000Z | 2022-03-31T11:00:37.000Z | llvm/utils/lit/tests/Inputs/shtest-not/fail.py | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 11,789 | 2015-01-05T04:50:15.000Z | 2022-03-31T23:39:19.000Z | llvm/utils/lit/tests/Inputs/shtest-not/fail.py | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 500 | 2019-01-23T07:49:22.000Z | 2022-03-30T02:59:37.000Z | #!/usr/bin/env python
import print_environment
import sys
print_environment.execute()
sys.exit(1)
| 12.5 | 27 | 0.79 | 15 | 100 | 5.133333 | 0.733333 | 0.415584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011111 | 0.1 | 100 | 7 | 28 | 14.285714 | 0.844444 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
c389f962dad891fac1010c6fc5b54b86b52efdc4 | 49 | py | Python | graphzoo/dataloader/__init__.py | AnoushkaVyas/GraphZoo | a0013ac3a5eed6b46810d20b75f51bb7be812b3d | [
"MIT"
] | 2 | 2022-03-30T01:11:39.000Z | 2022-03-30T11:08:12.000Z | graphzoo/dataloader/__init__.py | AnoushkaVyas/GraphZoo | a0013ac3a5eed6b46810d20b75f51bb7be812b3d | [
"MIT"
] | null | null | null | graphzoo/dataloader/__init__.py | AnoushkaVyas/GraphZoo | a0013ac3a5eed6b46810d20b75f51bb7be812b3d | [
"MIT"
] | 2 | 2022-01-27T21:03:40.000Z | 2022-03-15T20:20:12.000Z | from .dataloader import *
from .download import * | 24.5 | 25 | 0.77551 | 6 | 49 | 6.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 2 | 26 | 24.5 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c3cbe7803244bbe8d1cad750386bbf0c7dd12518 | 289 | py | Python | challenges/8.3.Function_Documentation_Strings/lesson_tests.py | pradeepsaiu/python-coding-challenges | b435ab650d85de267eeaa31a55ff77ef5dbff86b | [
"BSD-3-Clause"
] | 141 | 2017-05-07T00:38:22.000Z | 2022-03-25T10:14:25.000Z | challenges/8.3.Function_Documentation_Strings/lesson_tests.py | pradeepsaiu/python-coding-challenges | b435ab650d85de267eeaa31a55ff77ef5dbff86b | [
"BSD-3-Clause"
] | 23 | 2017-05-06T23:57:37.000Z | 2018-03-23T19:07:32.000Z | challenges/8.3.Function_Documentation_Strings/lesson_tests.py | pradeepsaiu/python-coding-challenges | b435ab650d85de267eeaa31a55ff77ef5dbff86b | [
"BSD-3-Clause"
] | 143 | 2017-05-07T09:33:35.000Z | 2022-03-12T21:04:13.000Z | import unittest
from main import *
class FunctionDocumentationStringsTests(unittest.TestCase):
def test_main(self):
self.assertIsNone(docstring_function())
self.assertIsNotNone(docstring_function.__doc__)
self.assertIsInstance(docstring_function.__doc__, str)
| 32.111111 | 62 | 0.775087 | 28 | 289 | 7.571429 | 0.607143 | 0.240566 | 0.188679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148789 | 289 | 8 | 63 | 36.125 | 0.861789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
c3f7e6570cfddccaa1b153a44c093eedd8a3627c | 7,151 | py | Python | user_interface/test/test_dakota_class.py | ukaea/ALC_UQ | a2747c94036b04f1279abb5683c6a225a878aea3 | [
"Apache-2.0"
] | 2 | 2021-11-24T10:43:50.000Z | 2021-12-07T20:02:38.000Z | user_interface/test/test_dakota_class.py | ukaea/ALC_UQ | a2747c94036b04f1279abb5683c6a225a878aea3 | [
"Apache-2.0"
] | null | null | null | user_interface/test/test_dakota_class.py | ukaea/ALC_UQ | a2747c94036b04f1279abb5683c6a225a878aea3 | [
"Apache-2.0"
] | null | null | null | from dakota_class import DakotaClass
from exceptions import *
import unittest
import xarray as xr
import numpy as np
import os
class TestDakotaClass(unittest.TestCase):
# Try and create an instance of the dakota class
def test_create_dakota_template(self):
my_dakota = DakotaClass()
s... | 34.379808 | 116 | 0.583974 | 933 | 7,151 | 4.271168 | 0.102894 | 0.078294 | 0.015809 | 0.021079 | 0.818068 | 0.811292 | 0.78394 | 0.733501 | 0.73325 | 0.726223 | 0 | 0.03606 | 0.26318 | 7,151 | 207 | 117 | 34.545894 | 0.720251 | 0.00839 | 0 | 0.646154 | 0 | 0 | 0.095989 | 0.003152 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.107692 | false | 0 | 0.046154 | 0 | 0.161538 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7f1945310cda2125922872b0636e434f74923dba | 8,413 | py | Python | tests/_apis/test_BaseApi.py | physicsninja/Riot-Watcher | 2cd51c2cade112d018dd515f282e248940429ea0 | [
"MIT"
] | null | null | null | tests/_apis/test_BaseApi.py | physicsninja/Riot-Watcher | 2cd51c2cade112d018dd515f282e248940429ea0 | [
"MIT"
] | null | null | null | tests/_apis/test_BaseApi.py | physicsninja/Riot-Watcher | 2cd51c2cade112d018dd515f282e248940429ea0 | [
"MIT"
] | null | null | null | import unittest
import sys
if sys.version_info > (3, 0):
from unittest.mock import MagicMock
from unittest import mock
else:
from mock import MagicMock
import mock
from riotwatcher._apis import BaseApi
class BaseApiTestCase(unittest.TestCase):
def setUp(self):
self._expected_preview... | 37.558036 | 110 | 0.687389 | 1,043 | 8,413 | 5.061361 | 0.073826 | 0.100777 | 0.122751 | 0.150028 | 0.924607 | 0.923849 | 0.899413 | 0.854139 | 0.812654 | 0.795037 | 0 | 0.000306 | 0.223939 | 8,413 | 223 | 111 | 37.726457 | 0.80824 | 0.0126 | 0 | 0.618182 | 0 | 0 | 0.127455 | 0.005301 | 0 | 0 | 0 | 0 | 0.109091 | 1 | 0.060606 | false | 0 | 0.042424 | 0 | 0.109091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6132d8062e0edd99c41980d1a5cf42b15cfb1c1f | 19 | py | Python | code/__init__.py | deekay2310/SE21_HW2B_Group6 | 8348c9a225231d370d8f579f619896bd7aace3ad | [
"MIT"
] | 16 | 2022-01-11T00:32:20.000Z | 2022-03-25T21:40:52.000Z | code/__init__.py | deekay2310/SE21_HW2B_Group6 | 8348c9a225231d370d8f579f619896bd7aace3ad | [
"MIT"
] | 12 | 2021-07-05T11:42:01.000Z | 2021-12-23T07:57:54.000Z | code/__init__.py | deekay2310/SE21_HW2B_Group6 | 8348c9a225231d370d8f579f619896bd7aace3ad | [
"MIT"
] | 3 | 2021-09-10T13:21:54.000Z | 2021-11-23T11:37:55.000Z | from math import *
| 9.5 | 18 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6136db8809b3410249fd1549a8ef68188c141846 | 30 | py | Python | singleton/print_version.py | Tomvictor/python-design-patterns | 6b99607d721bbe03d26a0a451a10e88cd1c1d112 | [
"MIT"
] | null | null | null | singleton/print_version.py | Tomvictor/python-design-patterns | 6b99607d721bbe03d26a0a451a10e88cd1c1d112 | [
"MIT"
] | null | null | null | singleton/print_version.py | Tomvictor/python-design-patterns | 6b99607d721bbe03d26a0a451a10e88cd1c1d112 | [
"MIT"
] | null | null | null | import sys
print(sys.version) | 15 | 18 | 0.8 | 5 | 30 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 2 | 18 | 15 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
4ef07e4a7ac6fb47cb6a90de342243f285e64310 | 33,702 | py | Python | tests/data_generation.py | drabenoro/geomstats | 4a758aea808a127ed3afef4e330733757fb07846 | [
"MIT"
] | null | null | null | tests/data_generation.py | drabenoro/geomstats | 4a758aea808a127ed3afef4e330733757fb07846 | [
"MIT"
] | null | null | null | tests/data_generation.py | drabenoro/geomstats | 4a758aea808a127ed3afef4e330733757fb07846 | [
"MIT"
] | null | null | null | import itertools
import pytest
import geomstats.backend as gs
def better_squeeze(array):
"""Delete possible singleton dimension on first axis."""
if len(array) == 1:
return gs.squeeze(array, axis=0)
return array
class TestData:
"""Class for TestData objects."""
def generate_tests(self... | 35.179541 | 95 | 0.568779 | 3,812 | 33,702 | 4.750262 | 0.048531 | 0.064944 | 0.046388 | 0.05412 | 0.87315 | 0.845317 | 0.807544 | 0.786172 | 0.752761 | 0.736801 | 0 | 0.000467 | 0.365231 | 33,702 | 957 | 96 | 35.216301 | 0.845978 | 0.312207 | 0 | 0.675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048214 | false | 0 | 0.005357 | 0 | 0.119643 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4ef46bf5fabb2ef403b24a2a08fb3d5109a3a4d6 | 159 | py | Python | localgraphclustering/algorithms/__init__.py | vishalbelsare/LocalGraphClustering | a6325350997932d548a876deb259c2387fc2c809 | [
"MIT"
] | 106 | 2017-09-06T04:47:02.000Z | 2022-03-30T07:43:27.000Z | localgraphclustering/algorithms/__init__.py | vishalbelsare/LocalGraphClustering | a6325350997932d548a876deb259c2387fc2c809 | [
"MIT"
] | 51 | 2017-09-06T02:22:09.000Z | 2021-12-15T11:39:28.000Z | localgraphclustering/algorithms/__init__.py | vishalbelsare/LocalGraphClustering | a6325350997932d548a876deb259c2387fc2c809 | [
"MIT"
] | 38 | 2017-09-04T21:45:13.000Z | 2022-01-19T09:48:25.000Z | from .acl_list import acl_list
from .eig2_nL import eig2_nL, eig2nL_subgraph
from .fista_dinput_dense import fista_dinput_dense
from .sweepcut import sweepcut
| 31.8 | 50 | 0.861635 | 26 | 159 | 4.923077 | 0.461538 | 0.109375 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021127 | 0.106918 | 159 | 4 | 51 | 39.75 | 0.880282 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4ef90e761346efd3eb56025fcea9c56bce6ec917 | 103 | py | Python | terrascript/matchbox/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 4 | 2022-02-07T21:08:14.000Z | 2022-03-03T04:41:28.000Z | terrascript/matchbox/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | null | null | null | terrascript/matchbox/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 2 | 2022-02-06T01:49:42.000Z | 2022-02-08T14:15:00.000Z | # terrascript/matchbox/__init__.py
import terrascript
class matchbox(terrascript.Provider):
pass
| 14.714286 | 37 | 0.796117 | 11 | 103 | 7.090909 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126214 | 103 | 6 | 38 | 17.166667 | 0.866667 | 0.31068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
9c89ca786c790c0854fd43dd8512b80859e264d5 | 4,139 | py | Python | imcsdk/mometa/bios/BiosProfileToken.py | ragupta-git/ImcSdk | 2e41f2ffe5282d38de85bc4739fa53dd2f0c9bb4 | [
"Apache-2.0"
] | null | null | null | imcsdk/mometa/bios/BiosProfileToken.py | ragupta-git/ImcSdk | 2e41f2ffe5282d38de85bc4739fa53dd2f0c9bb4 | [
"Apache-2.0"
] | null | null | null | imcsdk/mometa/bios/BiosProfileToken.py | ragupta-git/ImcSdk | 2e41f2ffe5282d38de85bc4739fa53dd2f0c9bb4 | [
"Apache-2.0"
] | 3 | 2018-11-14T13:02:40.000Z | 2018-11-14T13:49:38.000Z | """This module contains the general information for BiosProfileToken ManagedObject."""
from ...imcmo import ManagedObject
from ...imccoremeta import MoPropertyMeta, MoMeta
from ...imcmeta import VersionMeta
class BiosProfileTokenConsts:
pass
class BiosProfileToken(ManagedObject):
"""This is BiosProfileToke... | 50.47561 | 234 | 0.612708 | 385 | 4,139 | 6.454545 | 0.202597 | 0.14165 | 0.157746 | 0.23662 | 0.77505 | 0.77505 | 0.77505 | 0.77505 | 0.77505 | 0.77505 | 0 | 0.034007 | 0.211404 | 4,139 | 81 | 235 | 51.098765 | 0.727328 | 0.02706 | 0 | 0.533333 | 0 | 0.033333 | 0.251059 | 0.040349 | 0 | 0 | 0.005978 | 0 | 0 | 1 | 0.016667 | false | 0.016667 | 0.05 | 0 | 0.183333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9c9d30f8bccc9623b9aa056b02d37346354ccf39 | 192 | py | Python | feincms/admin/editor.py | duointeractive/feincms | 29b6bc197e854ec69bfb9a4923f029803c8d8f50 | [
"BSD-3-Clause"
] | null | null | null | feincms/admin/editor.py | duointeractive/feincms | 29b6bc197e854ec69bfb9a4923f029803c8d8f50 | [
"BSD-3-Clause"
] | null | null | null | feincms/admin/editor.py | duointeractive/feincms | 29b6bc197e854ec69bfb9a4923f029803c8d8f50 | [
"BSD-3-Clause"
] | null | null | null | from feincms.admin.item_editor import ItemEditor, ItemEditorForm
from feincms.admin.tree_editor import TreeEditor, ajax_editable_boolean, \
ajax_editable_boolean_cell, django_boolean_icon
| 48 | 74 | 0.864583 | 25 | 192 | 6.28 | 0.64 | 0.140127 | 0.203822 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088542 | 192 | 3 | 75 | 64 | 0.897143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9cc59b8851d2d0b77b3d92ebf4ae82a270cccc66 | 436 | py | Python | tests/integration/unit_test/test_unit_test_python2_7.py | aahung/aws-sam-cli-app-templates | fb44b0030d124e53ee4db42bc95240081e4dbbd8 | [
"Apache-2.0"
] | null | null | null | tests/integration/unit_test/test_unit_test_python2_7.py | aahung/aws-sam-cli-app-templates | fb44b0030d124e53ee4db42bc95240081e4dbbd8 | [
"Apache-2.0"
] | null | null | null | tests/integration/unit_test/test_unit_test_python2_7.py | aahung/aws-sam-cli-app-templates | fb44b0030d124e53ee4db42bc95240081e4dbbd8 | [
"Apache-2.0"
] | null | null | null | from tests.integration.base import Base
class UnitTest_python2_7_cookiecutter_aws_sam_hello_python(Base.PythonUnitTestBase):
python_executable = "python2.7"
directory = "python2.7/cookiecutter-aws-sam-hello-python"
class UnitTest_python2_7_cookiecutter_aws_sam_step_functions_sample_app(Base.PythonUnitTestBa... | 36.333333 | 97 | 0.821101 | 56 | 436 | 6.071429 | 0.375 | 0.141176 | 0.235294 | 0.270588 | 0.9 | 0.9 | 0.9 | 0.682353 | 0.682353 | 0.476471 | 0 | 0.030303 | 0.091743 | 436 | 11 | 98 | 39.636364 | 0.828283 | 0 | 0 | 0.285714 | 0 | 0 | 0.268349 | 0.227064 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.