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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
71476d24273b92fe2d8be5a37174c2a81da66971
| 207
|
py
|
Python
|
llvm/utils/gn/build/run_tablegen.py
|
akashhansda/llvm-project
|
32f146010968ded160f54af464673451ad574135
|
[
"Apache-2.0"
] | null | null | null |
llvm/utils/gn/build/run_tablegen.py
|
akashhansda/llvm-project
|
32f146010968ded160f54af464673451ad574135
|
[
"Apache-2.0"
] | null | null | null |
llvm/utils/gn/build/run_tablegen.py
|
akashhansda/llvm-project
|
32f146010968ded160f54af464673451ad574135
|
[
"Apache-2.0"
] | null | null | null |
#!/usr/bin/env python3
"""Runs tablegen."""
import subprocess
import sys
# Prefix with ./ to run built binary, not arbitrary stuff from PATH.
sys.exit(subprocess.call(['./' + sys.argv[1]] + sys.argv[2:]))
| 23
| 68
| 0.681159
| 31
| 207
| 4.548387
| 0.806452
| 0.099291
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.01676
| 0.135266
| 207
| 8
| 69
| 25.875
| 0.77095
| 0.497585
| 0
| 0
| 0
| 0
| 0.020619
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.666667
| 0
| 0.666667
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
717323a3ee0a914cc1e5bce1b1aa57bf9d98cae3
| 728
|
py
|
Python
|
openslides_backend/shared/exceptions.py
|
reiterl/openslides-backend
|
d36667f00087ae8baf25853d4cef18a5e6dc7b3b
|
[
"MIT"
] | null | null | null |
openslides_backend/shared/exceptions.py
|
reiterl/openslides-backend
|
d36667f00087ae8baf25853d4cef18a5e6dc7b3b
|
[
"MIT"
] | null | null | null |
openslides_backend/shared/exceptions.py
|
reiterl/openslides-backend
|
d36667f00087ae8baf25853d4cef18a5e6dc7b3b
|
[
"MIT"
] | null | null | null |
class BackendBaseException(Exception):
"""
Base exception for all custom exceptions of this service.
"""
def __init__(self, message: str) -> None:
self.message = message
class AuthenticationException(BackendBaseException):
pass
class ViewException(BackendBaseException):
def __init__(self, message: str, status_code: int) -> None:
self.message = message
self.status_code = status_code
class ActionException(BackendBaseException):
pass
class PresenterException(BackendBaseException):
pass
class PermissionDenied(BackendBaseException):
pass
class DatabaseException(BackendBaseException):
pass
class EventStoreException(BackendBaseException):
pass
| 19.157895
| 63
| 0.736264
| 65
| 728
| 8.076923
| 0.430769
| 0.274286
| 0.27619
| 0.068571
| 0.08
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.190934
| 728
| 37
| 64
| 19.675676
| 0.891341
| 0.078297
| 0
| 0.421053
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.105263
| false
| 0.315789
| 0
| 0
| 0.526316
| 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
| 0
| 0
| 1
| 0
| 0
| 1
| 0
|
0
| 4
|
7176d1ccaf546862044f044cc5e16c69a62e8abe
| 2,307
|
py
|
Python
|
hack/starlark-builtins.py
|
tilt-dev/starlark-lsp
|
76df2b44bc8af8bfbeeff8f1700fc43e3e81c702
|
[
"Apache-2.0"
] | 1
|
2022-03-09T13:34:03.000Z
|
2022-03-09T13:34:03.000Z
|
hack/starlark-builtins.py
|
tilt-dev/starlark-lsp
|
76df2b44bc8af8bfbeeff8f1700fc43e3e81c702
|
[
"Apache-2.0"
] | 3
|
2022-03-07T21:02:02.000Z
|
2022-03-16T20:58:13.000Z
|
hack/starlark-builtins.py
|
tilt-dev/starlark-lsp
|
76df2b44bc8af8bfbeeff8f1700fc43e3e81c702
|
[
"Apache-2.0"
] | null | null | null |
def any(x) -> bool:
pass
def all(x) -> bool:
pass
def bool(x) -> bool:
pass
def bytes(x) -> Bytes:
pass
def dict() -> Dict:
pass
def dir(x) -> List[String]:
pass
def enumerate(x) -> List[Tuple[int, any]]:
pass
def float(x) -> float:
pass
def hasattr(x, name) -> bool:
pass
def hash(x) -> int:
pass
def int(x) -> int:
pass
def len(x) -> int:
pass
def list() -> List:
pass
def range() -> List[int]:
pass
def repr(x) -> String:
pass
def reversed(x) -> List:
pass
def sorted(x) -> List:
pass
def str(x) -> String:
pass
def type(x) -> String:
pass
def zip() -> List:
pass
class Dict:
def items(self) -> List:
pass
def keys(self) -> List:
pass
def update(self) -> None:
pass
def values(self) -> List:
pass
class List:
def append(self, x) -> None:
pass
def clear(self) -> None:
pass
def extend(self, x) -> None:
pass
def index(self, x) -> int:
pass
def insert(self, i, x) -> None:
pass
def remove(self, x) -> None:
pass
class String:
def capitalize(self) -> String:
pass
def count(self, sub) -> int:
pass
def endswith(self, suffix) -> bool:
pass
def find(self, sub) -> int:
pass
def format(self, *args, **kwargs) -> String:
pass
def index(self, sub) -> int:
pass
def isalnum(self) -> bool:
pass
def isalpha(self) -> bool:
pass
def isdigit(self) -> bool:
pass
def islower(self) -> bool:
pass
def isspace(self) -> bool:
pass
def istitle(self) -> bool:
pass
def isupper(self) -> bool:
pass
def join(self, iterable) -> String:
pass
def lower(self) -> String:
pass
def lstrip(self) -> String:
pass
def removeprefix(self, x) -> String:
pass
def removesuffix(self, x) -> String:
pass
def replace(self, old, new) -> String:
pass
def rfind(self, sub) -> int:
pass
def rindex(self, sub) -> int:
pass
def rsplit(self) -> List[String]:
pass
def rstrip(self) -> String:
pass
def split(self) -> List[String]:
pass
def splitlines(self) -> List[String]:
pass
def startswith(self, prefix) -> bool:
pass
def strip(self) -> String:
pass
def title(self) -> String:
pass
def upper(self) -> String:
pass
| 12.816667
| 46
| 0.570004
| 326
| 2,307
| 4.033742
| 0.233129
| 0.292776
| 0.177947
| 0.079848
| 0.164259
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.283919
| 2,307
| 179
| 47
| 12.888268
| 0.796005
| 0
| 0
| 0.487603
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.487603
| false
| 0.487603
| 0
| 0
| 0.512397
| 0
| 0
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 1
| 0
|
0
| 4
|
71977cef40b2ecfa170e900621f1f7a397058246
| 144
|
py
|
Python
|
ecdc_status/maxims/urls.py
|
ess-dmsc/ecdc-status
|
8057b2995f2404b6eac6b6a723f8776137a71328
|
[
"BSD-2-Clause"
] | null | null | null |
ecdc_status/maxims/urls.py
|
ess-dmsc/ecdc-status
|
8057b2995f2404b6eac6b6a723f8776137a71328
|
[
"BSD-2-Clause"
] | null | null | null |
ecdc_status/maxims/urls.py
|
ess-dmsc/ecdc-status
|
8057b2995f2404b6eac6b6a723f8776137a71328
|
[
"BSD-2-Clause"
] | null | null | null |
from django.urls import path
from . import views
urlpatterns = [
path('', views.random_maxim),
path('raw/', views.random_raw_maxim),
]
| 18
| 41
| 0.6875
| 19
| 144
| 5.052632
| 0.526316
| 0.229167
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.173611
| 144
| 8
| 42
| 18
| 0.806723
| 0
| 0
| 0
| 0
| 0
| 0.027586
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 0.333333
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
71b3d1d73e10e6f2ce21374ebd35bf60b7a47afc
| 9,497
|
py
|
Python
|
test/testCliProject.py
|
witrdotnet/gather2gether
|
42b12d16351c7311ae84b1f507c6e498882bc5c8
|
[
"MIT"
] | 1
|
2020-02-22T22:54:05.000Z
|
2020-02-22T22:54:05.000Z
|
test/testCliProject.py
|
witrdotnet/gather2gether
|
42b12d16351c7311ae84b1f507c6e498882bc5c8
|
[
"MIT"
] | 13
|
2020-02-29T05:53:57.000Z
|
2020-03-16T07:57:45.000Z
|
test/testCliProject.py
|
witrdotnet/gather2gether
|
42b12d16351c7311ae84b1f507c6e498882bc5c8
|
[
"MIT"
] | null | null | null |
import unittest
import click
from click.testing import CliRunner
# init database
from gather2gether.db import g2gDB
from gather2gether.db import *
init_database(g2gDB)
from gather2gether.db.project import project_create, project_find, project_update, project_search, project_delete
from gather2gether.db.task import task_delete, task_search
from gather2gether.db.user import user_create, user_search, user_delete
from gather2gether.cli_project import cli_project_create, cli_project_find, cli_project_search, cli_project_update, cli_project_delete
import logging
logging.disable(logging.NOTSET)
class TestCliProject(unittest.TestCase):
def setUp(self):
# delete all tasks in database
found_tasks = task_search()
for task in found_tasks:
task_delete(task.project.project_name, task.task_number)
# delete all projects in database
found_projects = project_search()
for project in found_projects:
project_delete(project.project_name)
# delete all users in database
found_users = user_search()
for user in found_users:
user_delete(user.external_id)
def test_cli_project_create(self):
project_identifier = "test_cli_project_create"
runner = CliRunner()
result = runner.invoke(cli_project_create, [project_identifier])
self.assertIsNone(result.exception)
self.assertIn("Project created successfully", result.output)
project_found = project_find(project_identifier)
self.assertIsNotNone(project_found)
self.assertEqual(project_found.project_name, project_identifier)
def test_cli_project_create_full(self):
project_identifier = "test_cli_project_create"
expected_description = "description of test_cli_project_create"
expected_start_date = "2020-01-01"
expected_end_date = "2020-01-10"
runner = CliRunner()
result = runner.invoke(cli_project_create, [
project_identifier,
"--description", expected_description,
"--planned_start_date", expected_start_date,
"--planned_end_date", expected_end_date
])
self.assertIsNone(result.exception)
self.assertIn("Project created successfully", result.output)
project_found = project_find(project_identifier)
self.assertIsNotNone(project_found)
self.assertEqual(project_found.project_name, project_identifier)
self.assertEqual(project_found.description, expected_description)
self.assertEqual(project_found.planned_start_date, datetime.datetime.strptime(expected_start_date, "%Y-%m-%d"))
self.assertEqual(project_found.planned_end_date, datetime.datetime.strptime(expected_end_date, "%Y-%m-%d"))
def test_cli_project_create_already_exists(self):
project_identifier = "test_cli_project_create_already_exists"
project_create(project_identifier)
runner = CliRunner()
result = runner.invoke(cli_project_create, [project_identifier])
self.assertIsNone(result.exception)
self.assertIn("Failed to create project", result.output)
def test_cli_project_find_by_name_not_exists(self):
project_identifier = "test_cli_project_find_by_name_not_exists"
runner = CliRunner()
result = runner.invoke(cli_project_find, [project_identifier])
self.assertIsNone(result.exception)
self.assertIn("Not found project with identifier {0}".format(project_identifier), result.output)
def test_cli_project_find_by_id_not_exists(self):
project_identifier = "-50"
runner = CliRunner()
result = runner.invoke(cli_project_find, ["--identifier_type", "id", "--", project_identifier])
self.assertIsNone(result.exception)
self.assertIn("Not found project with identifier {0}".format(project_identifier), result.output)
def test_cli_project_find_by_name_exists(self):
project_identifier = "test_cli_project_find_by_name_exists"
project_create(project_identifier)
runner = CliRunner()
result = runner.invoke(cli_project_find, [project_identifier])
self.assertIsNone(result.exception)
self.assertIn("Found project with identifier {0}".format(project_identifier), result.output)
def test_cli_project_find_by_id_exists(self):
project = project_create("test_cli_project_find_by_id_exists")
project_identifier = str(project.id)
runner = CliRunner()
result = runner.invoke(cli_project_find, [project_identifier, "--identifier_type", "id"])
self.assertIsNone(result.exception)
self.assertIn("Found project with identifier {0}".format(project_identifier), result.output)
def test_cli_project_search_closed(self):
project_identifier = "test_cli_project_search_closed"
project_create(project_identifier)
project_update(project_identifier, closed_date="2020-01-01")
runner = CliRunner()
result = runner.invoke(cli_project_search, ["--is_closed", "true"])
self.assertIsNone(result.exception)
self.assertIn("Search properly finished", result.output)
self.assertIn(project_identifier, result.output)
result = runner.invoke(cli_project_search, ["--is_closed", "false"])
self.assertIsNone(result.exception)
self.assertIn("Search properly finished", result.output)
self.assertNotIn(project_identifier, result.output)
def test_cli_project_search_not_closed(self):
project_identifier = "test_cli_project_search_not_closed"
project_create(project_identifier)
runner = CliRunner()
result = runner.invoke(cli_project_search, ["--is_closed", "true"])
self.assertIsNone(result.exception)
self.assertIn("Search properly finished", result.output)
self.assertNotIn(project_identifier, result.output)
result = runner.invoke(cli_project_search, ["--is_closed", "false"])
self.assertIsNone(result.exception)
self.assertIn("Search properly finished", result.output)
self.assertIn(project_identifier, result.output)
def test_cli_project_update_by_name_exists(self):
project_identifier = "test_cli_project_update_by_name_exists"
expected_new_name = "test_cli_project_update_by_name_exists updated"
project_create(project_identifier)
runner = CliRunner()
result = runner.invoke(cli_project_update, [project_identifier, "--project_name", expected_new_name])
self.assertIsNone(result.exception)
self.assertIn("Successfuly updated project name: {0}".format(project_identifier), result.output)
project_found = project_find(project_identifier)
self.assertIsNone(project_found)
project_found = project_find(expected_new_name)
self.assertIsNotNone(project_found)
def test_cli_project_update_by_id_exists(self):
expected_new_name = "test_cli_project_update_by_id_exists updated"
project = project_create("test_cli_project_update_by_id_exists")
project_identifier = str(project.id)
runner = CliRunner()
result = runner.invoke(cli_project_update, [project_identifier, "--identifier_type", "id", "--project_name", expected_new_name])
self.assertIsNone(result.exception)
self.assertIn("Successfuly updated project name: {0}".format(project_identifier), result.output)
project_found = project_find(project.id)
self.assertIsNotNone(project_found)
self.assertEqual(project_found.project_name, expected_new_name)
def test_cli_project_update_by_name_not_exists(self):
project_identifier = "test_cli_project_update_by_name_exists"
runner = CliRunner()
result = runner.invoke(cli_project_update, [project_identifier, "--project_name", "new project name"])
self.assertIsNone(result.exception)
self.assertIn("Not found project to update, name:{0}".format(project_identifier), result.output)
def test_cli_project_update_by_id_not_exists(self):
project_identifier = "-50"
runner = CliRunner()
result = runner.invoke(cli_project_update, ["--identifier_type", "id", "--project_name", "new project name", "--", project_identifier])
self.assertIsNone(result.exception)
self.assertIn("Not found project to update, name:{0}".format(project_identifier), result.output)
def test_cli_project_delete_by_name(self):
project_identifier = "test_cli_project_delete_by_name"
project_create(project_identifier)
runner = CliRunner()
result = runner.invoke(cli_project_delete, [project_identifier])
self.assertIsNone(result.exception)
self.assertIn("Successfuly deleted project name: {0}".format(project_identifier), result.output)
project_found = project_find(project_identifier)
self.assertIsNone(project_found)
def test_cli_project_delete_by_id(self):
project = project_create("test_cli_project_delete_by_id")
project_identifier = str(project.id)
runner = CliRunner()
result = runner.invoke(cli_project_delete, [project_identifier, "--identifier_type", "id"])
self.assertIsNone(result.exception)
self.assertIn("Successfuly deleted project name: {0}".format(project_identifier), result.output)
project_found = project_find(project.id)
self.assertIsNone(project_found)
| 50.248677
| 143
| 0.726966
| 1,108
| 9,497
| 5.887184
| 0.083032
| 0.143339
| 0.066534
| 0.054729
| 0.804844
| 0.751648
| 0.724973
| 0.676989
| 0.648321
| 0.63759
| 0
| 0.005922
| 0.182163
| 9,497
| 188
| 144
| 50.515957
| 0.833913
| 0.010846
| 0
| 0.552147
| 0
| 0
| 0.154223
| 0.05613
| 0
| 0
| 0
| 0
| 0.312883
| 1
| 0.09816
| false
| 0
| 0.06135
| 0
| 0.165644
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
71b616c8e6254535ba32cac11e5a9215e04fa75c
| 186
|
py
|
Python
|
ws/handler/event/appliance/light/circadian_rhythm/brightness.py
|
fabaff/automate-ws
|
a9442f287692787e3f253e1ff23758bec8f3902e
|
[
"MIT"
] | null | null | null |
ws/handler/event/appliance/light/circadian_rhythm/brightness.py
|
fabaff/automate-ws
|
a9442f287692787e3f253e1ff23758bec8f3902e
|
[
"MIT"
] | 1
|
2021-12-21T11:34:47.000Z
|
2021-12-21T11:34:47.000Z
|
ws/handler/event/appliance/light/circadian_rhythm/brightness.py
|
fabaff/automate-ws
|
a9442f287692787e3f253e1ff23758bec8f3902e
|
[
"MIT"
] | 1
|
2021-12-21T10:10:13.000Z
|
2021-12-21T10:10:13.000Z
|
import home
from ws.handler.event.appliance.light.brightness import Handler as Parent
class Handler(Parent):
KLASS = home.appliance.light.event.circadian_rhythm.brightness.Event
| 20.666667
| 73
| 0.806452
| 25
| 186
| 5.96
| 0.6
| 0.187919
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.112903
| 186
| 8
| 74
| 23.25
| 0.90303
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
71b9fb98928908b35d8fddf3b8bee7168cf5f13f
| 113
|
py
|
Python
|
code/pyFoamUpdateDictionary.py
|
sosohungry/pyfoam
|
b19e40a0ef1f41268930122226660414722178e6
|
[
"MIT"
] | null | null | null |
code/pyFoamUpdateDictionary.py
|
sosohungry/pyfoam
|
b19e40a0ef1f41268930122226660414722178e6
|
[
"MIT"
] | null | null | null |
code/pyFoamUpdateDictionary.py
|
sosohungry/pyfoam
|
b19e40a0ef1f41268930122226660414722178e6
|
[
"MIT"
] | null | null | null |
#! /usr/bin/env python
from PyFoam.Applications.UpdateDictionary import UpdateDictionary
UpdateDictionary()
| 14.125
| 65
| 0.80531
| 11
| 113
| 8.272727
| 0.818182
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.115044
| 113
| 7
| 66
| 16.142857
| 0.91
| 0.185841
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.5
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
71c4ccf8892f1f210f06d1ea041663bc48244306
| 1,006
|
py
|
Python
|
ng_lgas/test_ng_lgas.py
|
michaelokuboyejo/ng-lgas
|
db53dff8e4faff99c1dcd200b53c0be23c736358
|
[
"MIT"
] | null | null | null |
ng_lgas/test_ng_lgas.py
|
michaelokuboyejo/ng-lgas
|
db53dff8e4faff99c1dcd200b53c0be23c736358
|
[
"MIT"
] | null | null | null |
ng_lgas/test_ng_lgas.py
|
michaelokuboyejo/ng-lgas
|
db53dff8e4faff99c1dcd200b53c0be23c736358
|
[
"MIT"
] | null | null | null |
import unittest
from ng_lgas import NG_LGA
ng_lgas = NG_LGA()
class NGLGASTestCase(unittest.TestCase):
def test_get_state_codes_is_not_empty(self):
self.assertFalse(len(ng_lgas.get_state_codes()) == 0)
def test_get_states_is_not_empty(self):
self.assertFalse(len(ng_lgas.get_states()) == 0)
def test_get_all_is_not_empty(self):
self.assertFalse(len(ng_lgas.get_states()) == 0)
def test_get_by_state_code(self):
lgas_by_state_code = ng_lgas.get_by_state_code('LA')
self.assertGreater(len(lgas_by_state_code), 0)
lgas_by_state_code = ng_lgas.get_by_state_code('EMPTY')
self.assertEqual(len(lgas_by_state_code), 0)
def test_get_by_state(self):
lgas_by_state_code = ng_lgas.get_by_state('Lagos')
self.assertGreater(len(lgas_by_state_code), 0)
lgas_by_state_code = ng_lgas.get_by_state('Alabama')
self.assertEqual(len(lgas_by_state_code), 0)
if __name__ == '__main__':
unittest.main()
| 27.189189
| 63
| 0.712724
| 158
| 1,006
| 4.031646
| 0.208861
| 0.153846
| 0.189953
| 0.188383
| 0.723705
| 0.723705
| 0.686028
| 0.686028
| 0.579278
| 0.579278
| 0
| 0.008485
| 0.17992
| 1,006
| 36
| 64
| 27.944444
| 0.763636
| 0
| 0
| 0.272727
| 0
| 0
| 0.026839
| 0
| 0
| 0
| 0
| 0
| 0.318182
| 1
| 0.227273
| false
| 0
| 0.090909
| 0
| 0.363636
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
71c4e91a1d6af6a44f108f43550e7157e3669960
| 722
|
py
|
Python
|
wowa/tracker/admin.py
|
arruda/wowa
|
225e53b8de167d4e7be9550edbbd8e1c0c47d039
|
[
"MIT"
] | null | null | null |
wowa/tracker/admin.py
|
arruda/wowa
|
225e53b8de167d4e7be9550edbbd8e1c0c47d039
|
[
"MIT"
] | 1
|
2015-01-12T02:11:10.000Z
|
2015-01-12T02:11:10.000Z
|
wowa/tracker/admin.py
|
arruda/wowa
|
225e53b8de167d4e7be9550edbbd8e1c0c47d039
|
[
"MIT"
] | null | null | null |
#-*- coding:utf-8 -*-
"""
tracker.admin
~~~~~~~~~~~~~~
tracker admin file
:copyright: (c) 2014 by arruda.
"""
from __future__ import absolute_import
from django.contrib import admin
from .models import Realm
from .models import Item
from .models import Character
from .models import CharacterItem
from .models import RealmItemPriceOnDate
from .models import CharacterItemPriceOnDate
admin.site.register(Realm, admin.ModelAdmin)
admin.site.register(Character, admin.ModelAdmin)
admin.site.register(Item, admin.ModelAdmin)
admin.site.register(CharacterItem, admin.ModelAdmin)
admin.site.register(RealmItemPriceOnDate, admin.ModelAdmin)
admin.site.register(CharacterItemPriceOnDate, admin.ModelAdmin)
| 24.066667
| 63
| 0.777008
| 83
| 722
| 6.698795
| 0.325301
| 0.107914
| 0.172662
| 0.215827
| 0.28777
| 0
| 0
| 0
| 0
| 0
| 0
| 0.007825
| 0.114958
| 722
| 29
| 64
| 24.896552
| 0.862285
| 0.141274
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.571429
| 0
| 0.571429
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
71e3695b64a4926a5bf18e5a641b2364f43b00d7
| 120
|
py
|
Python
|
sixriver/__init__.py
|
Shiphero/sixrivers
|
893eb0a11cd1572d898fe1f650e033d1d8a40897
|
[
"MIT"
] | null | null | null |
sixriver/__init__.py
|
Shiphero/sixrivers
|
893eb0a11cd1572d898fe1f650e033d1d8a40897
|
[
"MIT"
] | null | null | null |
sixriver/__init__.py
|
Shiphero/sixrivers
|
893eb0a11cd1572d898fe1f650e033d1d8a40897
|
[
"MIT"
] | 1
|
2020-01-29T19:07:58.000Z
|
2020-01-29T19:07:58.000Z
|
from .client import SixRiverClient, SixRiverClientError
from . import models, schemas, messages
__version__ = "0.0.4"
| 20
| 55
| 0.783333
| 14
| 120
| 6.428571
| 0.785714
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.028846
| 0.133333
| 120
| 5
| 56
| 24
| 0.836538
| 0
| 0
| 0
| 0
| 0
| 0.041667
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.666667
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
e0b212a221172d0012e4b3dc57cd82f1a8570215
| 63
|
py
|
Python
|
lib/smisk/test/core/__init__.py
|
rsms/smisk
|
f12a5606dfff49a15fa91448ff36652d60add4c0
|
[
"MIT"
] | 4
|
2015-11-05T11:51:12.000Z
|
2020-12-30T18:55:58.000Z
|
lib/smisk/test/core/__init__.py
|
rsms/smisk
|
f12a5606dfff49a15fa91448ff36652d60add4c0
|
[
"MIT"
] | 5
|
2021-11-16T17:21:51.000Z
|
2021-11-16T17:22:09.000Z
|
lib/smisk/test/core/__init__.py
|
rsms/smisk
|
f12a5606dfff49a15fa91448ff36652d60add4c0
|
[
"MIT"
] | null | null | null |
# encoding: utf-8
'''Tests regarding the smisk.core module
'''
| 15.75
| 40
| 0.698413
| 9
| 63
| 4.888889
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.018519
| 0.142857
| 63
| 3
| 41
| 21
| 0.796296
| 0.857143
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
e0b489984091f40aad8d53246d318f176b31c5c3
| 676
|
py
|
Python
|
scripts/build.py
|
Hildemir/vitaes
|
d8bed31ea2fd96f19eaec043d43bc5b1e001a1c2
|
[
"MIT"
] | 22
|
2019-03-22T01:30:36.000Z
|
2021-10-15T23:02:58.000Z
|
scripts/build.py
|
Hildemir/vitaes
|
d8bed31ea2fd96f19eaec043d43bc5b1e001a1c2
|
[
"MIT"
] | 190
|
2019-03-02T15:14:49.000Z
|
2022-02-26T11:02:49.000Z
|
scripts/build.py
|
Hildemir/vitaes
|
d8bed31ea2fd96f19eaec043d43bc5b1e001a1c2
|
[
"MIT"
] | 14
|
2019-03-02T20:37:42.000Z
|
2020-10-21T21:36:45.000Z
|
import os
from vitaes_parser import env
if env == 'production' or env == 'staging':
print('Building for %s environment...' % env)
print()
os.system('docker build --tag latexos latexos/')
os.system('docker build --tag webapp webapp/')
os.system('docker build --tag renderer renderer/')
os.system('docker build --tag api api/')
os.system('docker build --tag logger logger/')
os.system('docker build --tag storage storage/')
print()
print('Built in %s environment' % env)
else:
print('Building for development environment...')
print()
os.system('docker-compose build')
print()
print('Built in development environment')
| 33.8
| 54
| 0.661243
| 87
| 676
| 5.126437
| 0.344828
| 0.125561
| 0.219731
| 0.255605
| 0.295964
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.193787
| 676
| 20
| 55
| 33.8
| 0.818349
| 0
| 0
| 0.210526
| 0
| 0
| 0.533235
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.105263
| 0
| 0.105263
| 0.421053
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
|
0
| 4
|
e0b57aa3b65214cceb53550ee81fd858873661d4
| 10,335
|
py
|
Python
|
tests/test_snapshot.py
|
kklein/icontract
|
718ef1733cc2cce6d3c8f59a5a37de96f8be6664
|
[
"MIT"
] | 244
|
2018-08-15T22:58:58.000Z
|
2022-03-12T16:10:39.000Z
|
tests/test_snapshot.py
|
kklein/icontract
|
718ef1733cc2cce6d3c8f59a5a37de96f8be6664
|
[
"MIT"
] | 157
|
2018-08-29T21:36:47.000Z
|
2022-02-14T19:30:24.000Z
|
tests/test_snapshot.py
|
kklein/icontract
|
718ef1733cc2cce6d3c8f59a5a37de96f8be6664
|
[
"MIT"
] | 23
|
2019-04-24T11:09:10.000Z
|
2022-02-14T15:56:26.000Z
|
# pylint: disable=missing-docstring
# pylint: disable=invalid-name
# pylint: disable=unnecessary-lambda
# pylint: disable=unused-argument
# pylint: disable=no-self-use
import textwrap
import unittest
from typing import List, Optional # pylint: disable=unused-import
import icontract
import tests.error
class TestOK(unittest.TestCase):
def test_without_argument(self) -> None:
z = [1]
@icontract.snapshot(lambda: z[:], name="z")
@icontract.ensure(lambda OLD, val: OLD.z + [val] == z)
def some_func(val: int) -> None:
z.append(val)
some_func(2)
def test_with_name_same_for_single_argument(self) -> None:
@icontract.snapshot(lambda lst: lst[:])
@icontract.ensure(lambda OLD, val, lst: OLD.lst + [val] == lst)
def some_func(lst: List[int], val: int) -> None:
lst.append(val)
# Expected to pass
some_func([1], 2)
def test_with_custom_name_for_single_argument(self) -> None:
@icontract.snapshot(lambda lst: len(lst), name="len_lst")
@icontract.ensure(lambda OLD, val, lst: OLD.len_lst + 1 == len(lst))
def some_func(lst: List[int], val: int) -> None:
lst.append(val)
# Expected to pass
some_func([1], 2)
def test_with_multiple_arguments(self) -> None:
@icontract.snapshot(lambda lst_a, lst_b: set(lst_a).union(lst_b), name="union")
@icontract.ensure(lambda OLD, lst_a, lst_b: set(lst_a).union(lst_b) == OLD.union)
def some_func(lst_a: List[int], lst_b: List[int]) -> None:
pass
# Expected to pass
some_func(lst_a=[1, 2], lst_b=[3, 4])
class TestViolation(unittest.TestCase):
def test_with_name_same_as_argument(self) -> None:
@icontract.snapshot(lambda lst: lst[:])
@icontract.ensure(lambda OLD, val, lst: OLD.lst + [val] == lst)
def some_func(lst: List[int], val: int) -> None:
lst.append(val)
lst.append(1984)
violation_error = None # type: Optional[icontract.ViolationError]
try:
some_func([1], 2)
except icontract.ViolationError as err:
violation_error = err
self.assertIsNotNone(violation_error)
self.assertEqual(
textwrap.dedent("""\
OLD.lst + [val] == lst:
OLD was a bunch of OLD values
OLD.lst was [1]
lst was [1, 2, 1984]
result was None
val was 2"""), tests.error.wo_mandatory_location(str(violation_error)))
def test_with_custom_name(self) -> None:
@icontract.snapshot(lambda lst: len(lst), name="len_lst")
@icontract.ensure(lambda OLD, val, lst: OLD.len_lst + 1 == len(lst))
def some_func(lst: List[int], val: int) -> None:
lst.append(val)
lst.append(1984)
violation_error = None # type: Optional[icontract.ViolationError]
try:
some_func([1], 2)
except icontract.ViolationError as err:
violation_error = err
self.assertIsNotNone(violation_error)
self.assertEqual(
textwrap.dedent("""\
OLD.len_lst + 1 == len(lst):
OLD was a bunch of OLD values
OLD.len_lst was 1
len(lst) was 3
lst was [1, 2, 1984]
result was None
val was 2"""), tests.error.wo_mandatory_location(str(violation_error)))
def test_with_multiple_arguments(self) -> None:
@icontract.snapshot(lambda lst_a, lst_b: set(lst_a).union(lst_b), name="union")
@icontract.ensure(lambda OLD, lst_a, lst_b: set(lst_a).union(lst_b) == OLD.union)
def some_func(lst_a: List[int], lst_b: List[int]) -> None:
lst_a.append(1984) # bug
violation_error = None # type: Optional[icontract.ViolationError]
try:
some_func(lst_a=[1, 2], lst_b=[3, 4])
except icontract.ViolationError as err:
violation_error = err
self.assertIsNotNone(violation_error)
self.assertEqual(
textwrap.dedent('''\
set(lst_a).union(lst_b) == OLD.union:
OLD was a bunch of OLD values
OLD.union was {1, 2, 3, 4}
lst_a was [1, 2, 1984]
lst_b was [3, 4]
result was None
set(lst_a) was {1, 2, 1984}
set(lst_a).union(lst_b) was {1, 2, 3, 4, 1984}'''),
tests.error.wo_mandatory_location(str(violation_error)))
class TestInvalid(unittest.TestCase):
def test_missing_snapshot_but_old_in_postcondition(self) -> None:
@icontract.ensure(lambda OLD, val, lst: OLD.len_lst + 1 == len(lst))
def some_func(lst: List[int], val: int) -> None:
lst.append(val)
type_error = None # type: Optional[TypeError]
try:
some_func([1], 2)
except TypeError as err:
type_error = err
self.assertIsNotNone(type_error)
self.assertEqual("The argument(s) of the contract condition have not been set: ['OLD']. "
"Does the original function define them? Did you supply them in the call? "
"Did you decorate the function with a snapshot to capture OLD values?",
tests.error.wo_mandatory_location(str(type_error)))
def test_conflicting_snapshots_with_argument_name(self) -> None:
value_error = None # type: Optional[ValueError]
try:
# pylint: disable=unused-variable
@icontract.snapshot(lambda lst: lst[:])
@icontract.snapshot(lambda lst: lst[:])
@icontract.ensure(lambda OLD, val, lst: len(OLD.lst) + 1 == len(lst))
def some_func(lst: List[int], val: int) -> None:
lst.append(val)
except ValueError as err:
value_error = err
self.assertIsNotNone(value_error)
self.assertEqual("There are conflicting snapshots with the name: 'lst'", str(value_error))
def test_conflicting_snapshots_with_custom_name(self) -> None:
value_error = None # type: Optional[ValueError]
try:
# pylint: disable=unused-variable
@icontract.snapshot(lambda lst: len(lst), name='len_lst')
@icontract.snapshot(lambda lst: len(lst), name='len_lst')
@icontract.ensure(lambda OLD, val, lst: OLD.len_lst + 1 == len(lst))
def some_func(lst: List[int], val: int) -> None:
lst.append(val)
except ValueError as err:
value_error = err
self.assertIsNotNone(value_error)
self.assertEqual("There are conflicting snapshots with the name: 'len_lst'", str(value_error))
def test_with_invalid_argument(self) -> None:
# lst versus a_list
type_error = None # type: Optional[TypeError]
try:
@icontract.snapshot(lambda lst: len(lst), name='len_lst')
@icontract.ensure(lambda OLD, val, a_list: OLD.len_lst + 1 == len(a_list))
def some_func(a_list: List[int], val: int) -> None:
a_list.append(val)
some_func([1], 2)
except TypeError as err:
type_error = err
self.assertIsNotNone(type_error)
self.assertEqual("The argument(s) of the snapshot have not been set: ['lst']. "
"Does the original function define them? Did you supply them in the call?",
tests.error.wo_mandatory_location(str(type_error)))
def test_with_no_arguments_and_no_name(self) -> None:
z = [1]
value_error = None # type: Optional[ValueError]
try:
# pylint: disable=unused-variable
@icontract.snapshot(lambda: z[:])
@icontract.ensure(lambda OLD, val: OLD.z + [val] == z)
def some_func(val: int) -> None:
z.append(val)
except ValueError as err:
value_error = err
self.assertIsNotNone(value_error)
self.assertEqual("You must name a snapshot if no argument was given in the capture function.", str(value_error))
def test_with_multiple_arguments_and_no_name(self) -> None:
value_error = None # type: Optional[ValueError]
try:
# pylint: disable=unused-variable
@icontract.snapshot(lambda lst_a, lst_b: set(lst_a).union(lst_b))
@icontract.ensure(lambda OLD, lst_a, lst_b: set(lst_a).union(lst_b) == OLD.union)
def some_func(lst_a: List[int], lst_b: List[int]) -> None:
pass
except ValueError as err:
value_error = err
self.assertIsNotNone(value_error)
self.assertEqual("You must name a snapshot if multiple arguments were given in the capture function.",
str(value_error))
def test_with_no_postcondition(self) -> None:
value_error = None # type: Optional[ValueError]
try:
# pylint: disable=unused-variable
@icontract.snapshot(lambda lst: lst[:])
def some_func(lst: List[int]) -> None:
return
except ValueError as err:
value_error = err
self.assertIsNotNone(value_error)
self.assertEqual("You are decorating a function with a snapshot, "
"but no postcondition was defined on the function before.", str(value_error))
def test_missing_old_attribute(self) -> None:
@icontract.snapshot(lambda lst: lst[:])
@icontract.ensure(lambda OLD, lst: OLD.len_list == lst) # We miss len_lst in OLD here!
def some_func(lst: List[int]) -> None:
return
attribute_error = None # type: Optional[AttributeError]
try:
some_func(lst=[1, 2, 3])
except AttributeError as error:
attribute_error = error
assert attribute_error is not None
self.assertEqual("The snapshot with the name 'len_list' is not available in the OLD of a postcondition. "
"Have you decorated the function with a corresponding snapshot decorator?",
str(attribute_error))
if __name__ == '__main__':
unittest.main()
| 38.277778
| 120
| 0.594098
| 1,311
| 10,335
| 4.519451
| 0.102212
| 0.026329
| 0.06211
| 0.056709
| 0.788186
| 0.762363
| 0.728945
| 0.716456
| 0.689789
| 0.675612
| 0
| 0.01213
| 0.298016
| 10,335
| 269
| 121
| 38.420074
| 0.804549
| 0.076439
| 0
| 0.668342
| 0
| 0
| 0.183165
| 0.004834
| 0
| 0
| 0
| 0
| 0.110553
| 1
| 0.150754
| false
| 0.01005
| 0.025126
| 0.01005
| 0.201005
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
e0c235bd3b124716daba6d975da7fb7e19d18153
| 142
|
py
|
Python
|
pydis_site/apps/resources/apps.py
|
Robin5605/site
|
81aa42aa748cb228d7a09e6cf6b211484b654496
|
[
"MIT"
] | 700
|
2018-11-17T15:56:51.000Z
|
2022-03-30T22:53:17.000Z
|
pydis_site/apps/resources/apps.py
|
foxy4096/site
|
63b464b57ea0824570879f24baaaca6fd80393ee
|
[
"MIT"
] | 542
|
2018-11-17T13:39:42.000Z
|
2022-03-31T11:24:00.000Z
|
pydis_site/apps/resources/apps.py
|
foxy4096/site
|
63b464b57ea0824570879f24baaaca6fd80393ee
|
[
"MIT"
] | 178
|
2018-11-21T09:06:56.000Z
|
2022-03-31T07:43:28.000Z
|
from django.apps import AppConfig
class ResourcesConfig(AppConfig):
"""AppConfig instance for Resources app."""
name = 'resources'
| 17.75
| 47
| 0.725352
| 15
| 142
| 6.866667
| 0.8
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.176056
| 142
| 7
| 48
| 20.285714
| 0.880342
| 0.260563
| 0
| 0
| 0
| 0
| 0.090909
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
e0c4877cfd85d5a38a819ea7292bcf1b3c8d0408
| 143
|
py
|
Python
|
DPMAPI/forecastUrl.py
|
dprescriptivemaintenance40/DPM
|
404884a317f5355ce1ded9f8a5d1d3e949b931bf
|
[
"MIT"
] | null | null | null |
DPMAPI/forecastUrl.py
|
dprescriptivemaintenance40/DPM
|
404884a317f5355ce1ded9f8a5d1d3e949b931bf
|
[
"MIT"
] | null | null | null |
DPMAPI/forecastUrl.py
|
dprescriptivemaintenance40/DPM
|
404884a317f5355ce1ded9f8a5d1d3e949b931bf
|
[
"MIT"
] | 1
|
2020-09-06T18:38:18.000Z
|
2020-09-06T18:38:18.000Z
|
from django.conf.urls import url
from DPMAPI import views
urlpatterns = [
url('', views.forecast),
url('Forecast/', views.forecast)
]
| 17.875
| 36
| 0.692308
| 18
| 143
| 5.5
| 0.555556
| 0.262626
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.174825
| 143
| 7
| 37
| 20.428571
| 0.838983
| 0
| 0
| 0
| 0
| 0
| 0.062937
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 0.333333
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
e0cf60cbde8ce19638d5c3265e70294bae5aeab6
| 700
|
py
|
Python
|
app/migrations/0040_person_entity.py
|
olivierpons/evalr
|
7c76474ad41769804965a11550501321d7b1889b
|
[
"MIT"
] | null | null | null |
app/migrations/0040_person_entity.py
|
olivierpons/evalr
|
7c76474ad41769804965a11550501321d7b1889b
|
[
"MIT"
] | null | null | null |
app/migrations/0040_person_entity.py
|
olivierpons/evalr
|
7c76474ad41769804965a11550501321d7b1889b
|
[
"MIT"
] | null | null | null |
# Generated by Django 2.2.4 on 2019-08-11 08:04
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('app', '0039_auto_20190811_1003'),
]
operations = [
migrations.RemoveField(
model_name='person',
name='date_creation',
),
migrations.RemoveField(
model_name='person',
name='date_last_modif',
),
migrations.RemoveField(
model_name='person',
name='date_v_end',
),
migrations.RemoveField(
model_name='person',
name='date_v_start',
),
]
| 22.580645
| 47
| 0.558571
| 69
| 700
| 5.463768
| 0.521739
| 0.222812
| 0.275862
| 0.318302
| 0.472149
| 0.472149
| 0.472149
| 0.238727
| 0
| 0
| 0
| 0.066239
| 0.331429
| 700
| 30
| 48
| 23.333333
| 0.739316
| 0.064286
| 0
| 0.5
| 1
| 0
| 0.153139
| 0.035222
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.083333
| 0
| 0.208333
| 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
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
e0e3eeba528a66c839644d5954209c341ea50e05
| 106
|
py
|
Python
|
ACM-Solution/GAUNGUN.py
|
wasi0013/Python-CodeBase
|
4a7a36395162f68f84ded9085fa34cc7c9b19233
|
[
"MIT"
] | 2
|
2016-04-26T15:40:40.000Z
|
2018-07-18T10:16:42.000Z
|
ACM-Solution/GAUNGUN.py
|
wasi0013/Python-CodeBase
|
4a7a36395162f68f84ded9085fa34cc7c9b19233
|
[
"MIT"
] | 1
|
2016-04-26T15:44:15.000Z
|
2016-04-29T14:44:40.000Z
|
ACM-Solution/GAUNGUN.py
|
wasi0013/Python-CodeBase
|
4a7a36395162f68f84ded9085fa34cc7c9b19233
|
[
"MIT"
] | 1
|
2018-10-02T16:12:19.000Z
|
2018-10-02T16:12:19.000Z
|
try:
while 1:
n=int(input())
k=(n-10)//9
m=n-10-9*k
print(81*(k+1)+m*(m+2)+1)
except:pass
| 13.25
| 28
| 0.490566
| 25
| 106
| 2.08
| 0.6
| 0.115385
| 0.153846
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.146341
| 0.226415
| 106
| 7
| 29
| 15.142857
| 0.487805
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0.142857
| 0
| 0
| 0
| 0.142857
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 4
|
e0ecd089dfee172779839ce36df23e10330ff693
| 261
|
py
|
Python
|
tic_tac_toe/slash_command/command_center/abstract_command.py
|
mohan8990/tic_tac_toe_slack
|
2a5662f995857c81716616366de163deb11ac6a2
|
[
"MIT"
] | 3
|
2018-03-30T00:46:01.000Z
|
2018-09-13T22:31:18.000Z
|
tic_tac_toe/slash_command/command_center/abstract_command.py
|
mohan8990/tic_tac_toe_slack
|
2a5662f995857c81716616366de163deb11ac6a2
|
[
"MIT"
] | 2
|
2018-01-08T05:09:57.000Z
|
2018-01-09T08:28:06.000Z
|
tic_tac_toe/slash_command/command_center/abstract_command.py
|
mohan8990/tic_tac_toe_slack
|
2a5662f995857c81716616366de163deb11ac6a2
|
[
"MIT"
] | null | null | null |
from abc import ABCMeta
from abc import abstractmethod
class AbstractSlashCommand(object):
__metaclass__ = ABCMeta
@abstractmethod
def handle(self, invokingChannelId, invokingChannelName, invokingUserId, invokingUserName, command, cmdParamsAsText):
pass
| 26.1
| 118
| 0.831418
| 24
| 261
| 8.875
| 0.791667
| 0.065728
| 0.122066
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.114943
| 261
| 9
| 119
| 29
| 0.922078
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.142857
| false
| 0.142857
| 0.285714
| 0
| 0.714286
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
|
0
| 4
|
e0efbffab97f27784f740bbedd25901f1dcc2ae5
| 65
|
py
|
Python
|
codesignal/arcade/python/the_core_05_max_multiple.py
|
tinesife94/random
|
b802924dce4635ae074d30dc03962d4301bd6d8b
|
[
"MIT"
] | null | null | null |
codesignal/arcade/python/the_core_05_max_multiple.py
|
tinesife94/random
|
b802924dce4635ae074d30dc03962d4301bd6d8b
|
[
"MIT"
] | null | null | null |
codesignal/arcade/python/the_core_05_max_multiple.py
|
tinesife94/random
|
b802924dce4635ae074d30dc03962d4301bd6d8b
|
[
"MIT"
] | null | null | null |
def solution(divisor, bound):
return bound - bound % divisor
| 21.666667
| 34
| 0.707692
| 8
| 65
| 5.75
| 0.625
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.2
| 65
| 2
| 35
| 32.5
| 0.884615
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.5
| false
| 0
| 0
| 0.5
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
|
0
| 4
|
e0f7b960c6240e6957abb61605563cd32cf64ed2
| 7,605
|
py
|
Python
|
project1/indexer.py
|
suryamp97/Covid-and-vaccine-tweets-scraping-using-Twitter-API-and-indexing-using-Apache-Solr
|
f0b6828edc976aea7cc62f61b102689cc95b90d3
|
[
"MIT"
] | null | null | null |
project1/indexer.py
|
suryamp97/Covid-and-vaccine-tweets-scraping-using-Twitter-API-and-indexing-using-Apache-Solr
|
f0b6828edc976aea7cc62f61b102689cc95b90d3
|
[
"MIT"
] | null | null | null |
project1/indexer.py
|
suryamp97/Covid-and-vaccine-tweets-scraping-using-Twitter-API-and-indexing-using-Apache-Solr
|
f0b6828edc976aea7cc62f61b102689cc95b90d3
|
[
"MIT"
] | null | null | null |
'''
@author: Souvik Das
Institute: University at Buffalo
'''
import os
import pysolr
import requests
import json
# https://tecadmin.net/install-apache-solr-on-ubuntu/
CORE_NAME = "FINAL"
AWS_IP = "localhost"
# [CAUTION] :: Run this script once, i.e. during core creation
def delete_core(core=CORE_NAME):
print(os.system('sudo su - solr -c "/opt/solr/bin/solr delete -c {core}"'.format(core=core)))
def create_core(core=CORE_NAME):
print(os.system(
'sudo su - solr -c "/opt/solr/bin/solr create -c {core} -n data_driven_schema_configs"'.format(
core=core)))
class Indexer:
def __init__(self):
self.solr_url = f'http://{AWS_IP}:8983/solr/'
self.connection = pysolr.Solr(self.solr_url + CORE_NAME, always_commit=True, timeout=5000000)
def do_initial_setup(self):
delete_core()
create_core()
def create_documents(self, docs):
print(self.connection.add(docs))
def add_fields(self):
data = {
"add-field": [
{
"name": "poi_name",
"type": "string",
"multiValued": False,
"indexed":True,
"stored":True
},
{
"name": "poi_id",
"type": "plong",
"multiValued": False
},
{
"name": "verified",
"type": "boolean",
"multiValued": False
},
{
"name": "country",
"type": "string",
"multiValued": False,
"indexed": True,
"stored": True
},
{
"name": "replied_to_tweet_id",
"type": "plong",
"multiValued": False
},
{
"name": "replied_to_user_id",
"type": "plong",
"multiValued": False
},
{
"name": "reply_text",
"type": "text_general",
"multiValued": False
},
{
"name": "tweet_text",
"type": "text_general",
"multiValued": False,
"indexed":True,
"stored":True
},
{
"name": "tweet_lang",
"type": "string",
"multiValued": False,
"indexed":True,
"stored":True
},
{
"name": "text_en",
"type": "text_en",
"multiValued": False
},
{
"name": "text_es",
"type": "text_es",
"multiValued": False
},
{
"name": "text_hi",
"type": "text_hi",
"multiValued": False
},
{
"name": "hashtags",
"type": "string",
"multiValued": True
},
{
"name": "mentions",
"type": "string",
"multiValued": True
},
{
"name": "tweet_urls",
"type": "string",
"multiValued": True
},
{
"name": "tweet_emoticons",
"type": "string",
"multiValued": True
},
{
"name": "tweet_date",
"type": "pdate",
"multiValued": False
},
{
"name": "geolocation",
"type": "string",
"multiValued": False
},
{
"name": "Clean_text",
"type": "text_general",
"multiValued": False
},
{
"name": "Polarity",
"type": "pdouble",
"multiValued": False
},
{
"name": "a",
"type": "pdouble",
"multiValued": False
},
{
"name": "b",
"type": "pdouble",
"multiValued": False
},
{
"name": "c",
"type": "pdouble",
"multiValued": False
},
{
"name": "d",
"type": "pdouble",
"multiValued": False
},
{
"name": "e",
"type": "pdouble",
"multiValued": False
},
{
"name": "f",
"type": "pdouble",
"multiValued": False
},
{
"name": "g",
"type": "pdouble",
"multiValued": False
},
{
"name": "h",
"type": "pdouble",
"multiValued": False
},
{
"name": "i",
"type": "pdouble",
"multiValued": False
},
{
"name": "j",
"type": "pdouble",
"multiValued": False
},
{
"name": "k",
"type": "pdouble",
"multiValued": False
},
{
"name": "l",
"type": "pdouble",
"multiValued": False
},
{
"name": "m",
"type": "pdouble",
"multiValued": False
},
{
"name": "n",
"type": "pdouble",
"multiValued": False
},
{
"name": "o",
"type": "pdouble",
"multiValued": False
},
{
"name": "dominant_topic",
"type": "pdouble",
"multiValued": False
}
]
}
print(requests.post(self.solr_url + CORE_NAME + "/schema", json=data).json())
if __name__ == "__main__":
i = Indexer()
# i.do_initial_setup()
# i.add_fields()
print("English tweets indexing..")
f = open("final_english_tweets.json")
doo = json.load(f)
i.create_documents(doo)
f.close()
print("hindi tweets indexing..")
f1 = open("final_hindi_tweets.json")
doo1 = json.load(f1)
i.create_documents(doo1)
f1.close()
print("spanish tweets indexing..")
f2 = open("final_spanish_tweets.json")
doo2 = json.load(f2)
i.create_documents(doo2)
f2.close()
print("indexing complete")
| 28.483146
| 103
| 0.32952
| 488
| 7,605
| 4.989754
| 0.276639
| 0.210267
| 0.221766
| 0.188501
| 0.475154
| 0.243943
| 0.156057
| 0.107187
| 0.107187
| 0.044353
| 0
| 0.006122
| 0.548981
| 7,605
| 266
| 104
| 28.590226
| 0.70379
| 0.027613
| 0
| 0.321888
| 0
| 0.004292
| 0.214005
| 0.013545
| 0
| 0
| 0
| 0
| 0
| 1
| 0.025751
| false
| 0
| 0.017167
| 0
| 0.04721
| 0.034335
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
e0fc0e8c8f9ff29aa0db5e858ba6357506e809fc
| 14,733
|
py
|
Python
|
sdk/python/pulumi_azure/kusto/_inputs.py
|
henriktao/pulumi-azure
|
f1cbcf100b42b916da36d8fe28be3a159abaf022
|
[
"ECL-2.0",
"Apache-2.0"
] | 109
|
2018-06-18T00:19:44.000Z
|
2022-02-20T05:32:57.000Z
|
sdk/python/pulumi_azure/kusto/_inputs.py
|
henriktao/pulumi-azure
|
f1cbcf100b42b916da36d8fe28be3a159abaf022
|
[
"ECL-2.0",
"Apache-2.0"
] | 663
|
2018-06-18T21:08:46.000Z
|
2022-03-31T20:10:11.000Z
|
sdk/python/pulumi_azure/kusto/_inputs.py
|
henriktao/pulumi-azure
|
f1cbcf100b42b916da36d8fe28be3a159abaf022
|
[
"ECL-2.0",
"Apache-2.0"
] | 41
|
2018-07-19T22:37:38.000Z
|
2022-03-14T10:56:26.000Z
|
# coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
__all__ = [
'AttachedDatabaseConfigurationSharingArgs',
'ClusterIdentityArgs',
'ClusterOptimizedAutoScaleArgs',
'ClusterSkuArgs',
'ClusterVirtualNetworkConfigurationArgs',
]
@pulumi.input_type
class AttachedDatabaseConfigurationSharingArgs:
def __init__(__self__, *,
external_tables_to_excludes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
external_tables_to_includes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
materialized_views_to_excludes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
materialized_views_to_includes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
tables_to_excludes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
tables_to_includes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
"""
:param pulumi.Input[Sequence[pulumi.Input[str]]] external_tables_to_excludes: List of external tables exclude from the follower database.
:param pulumi.Input[Sequence[pulumi.Input[str]]] external_tables_to_includes: List of external tables to include in the follower database.
:param pulumi.Input[Sequence[pulumi.Input[str]]] materialized_views_to_excludes: List of materialized views exclude from the follower database.
:param pulumi.Input[Sequence[pulumi.Input[str]]] materialized_views_to_includes: List of materialized views to include in the follower database.
:param pulumi.Input[Sequence[pulumi.Input[str]]] tables_to_excludes: List of tables to exclude from the follower database.
:param pulumi.Input[Sequence[pulumi.Input[str]]] tables_to_includes: List of tables to include in the follower database.
"""
if external_tables_to_excludes is not None:
pulumi.set(__self__, "external_tables_to_excludes", external_tables_to_excludes)
if external_tables_to_includes is not None:
pulumi.set(__self__, "external_tables_to_includes", external_tables_to_includes)
if materialized_views_to_excludes is not None:
pulumi.set(__self__, "materialized_views_to_excludes", materialized_views_to_excludes)
if materialized_views_to_includes is not None:
pulumi.set(__self__, "materialized_views_to_includes", materialized_views_to_includes)
if tables_to_excludes is not None:
pulumi.set(__self__, "tables_to_excludes", tables_to_excludes)
if tables_to_includes is not None:
pulumi.set(__self__, "tables_to_includes", tables_to_includes)
@property
@pulumi.getter(name="externalTablesToExcludes")
def external_tables_to_excludes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
"""
List of external tables exclude from the follower database.
"""
return pulumi.get(self, "external_tables_to_excludes")
@external_tables_to_excludes.setter
def external_tables_to_excludes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
pulumi.set(self, "external_tables_to_excludes", value)
@property
@pulumi.getter(name="externalTablesToIncludes")
def external_tables_to_includes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
"""
List of external tables to include in the follower database.
"""
return pulumi.get(self, "external_tables_to_includes")
@external_tables_to_includes.setter
def external_tables_to_includes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
pulumi.set(self, "external_tables_to_includes", value)
@property
@pulumi.getter(name="materializedViewsToExcludes")
def materialized_views_to_excludes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
"""
List of materialized views exclude from the follower database.
"""
return pulumi.get(self, "materialized_views_to_excludes")
@materialized_views_to_excludes.setter
def materialized_views_to_excludes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
pulumi.set(self, "materialized_views_to_excludes", value)
@property
@pulumi.getter(name="materializedViewsToIncludes")
def materialized_views_to_includes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
"""
List of materialized views to include in the follower database.
"""
return pulumi.get(self, "materialized_views_to_includes")
@materialized_views_to_includes.setter
def materialized_views_to_includes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
pulumi.set(self, "materialized_views_to_includes", value)
@property
@pulumi.getter(name="tablesToExcludes")
def tables_to_excludes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
"""
List of tables to exclude from the follower database.
"""
return pulumi.get(self, "tables_to_excludes")
@tables_to_excludes.setter
def tables_to_excludes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
pulumi.set(self, "tables_to_excludes", value)
@property
@pulumi.getter(name="tablesToIncludes")
def tables_to_includes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
"""
List of tables to include in the follower database.
"""
return pulumi.get(self, "tables_to_includes")
@tables_to_includes.setter
def tables_to_includes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
pulumi.set(self, "tables_to_includes", value)
@pulumi.input_type
class ClusterIdentityArgs:
def __init__(__self__, *,
type: pulumi.Input[str],
identity_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
principal_id: Optional[pulumi.Input[str]] = None,
tenant_id: Optional[pulumi.Input[str]] = None):
"""
:param pulumi.Input[str] type: Specifies the type of Managed Service Identity that is configured on this Kusto Cluster. Possible values are: `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned`.
:param pulumi.Input[Sequence[pulumi.Input[str]]] identity_ids: A list of IDs for User Assigned Managed Identity resources to be assigned.
:param pulumi.Input[str] principal_id: The Principal ID associated with this System Assigned Managed Service Identity.
:param pulumi.Input[str] tenant_id: The Tenant ID associated with this System Assigned Managed Service Identity.
"""
pulumi.set(__self__, "type", type)
if identity_ids is not None:
pulumi.set(__self__, "identity_ids", identity_ids)
if principal_id is not None:
pulumi.set(__self__, "principal_id", principal_id)
if tenant_id is not None:
pulumi.set(__self__, "tenant_id", tenant_id)
@property
@pulumi.getter
def type(self) -> pulumi.Input[str]:
"""
Specifies the type of Managed Service Identity that is configured on this Kusto Cluster. Possible values are: `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned`.
"""
return pulumi.get(self, "type")
@type.setter
def type(self, value: pulumi.Input[str]):
pulumi.set(self, "type", value)
@property
@pulumi.getter(name="identityIds")
def identity_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
"""
A list of IDs for User Assigned Managed Identity resources to be assigned.
"""
return pulumi.get(self, "identity_ids")
@identity_ids.setter
def identity_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
pulumi.set(self, "identity_ids", value)
@property
@pulumi.getter(name="principalId")
def principal_id(self) -> Optional[pulumi.Input[str]]:
"""
The Principal ID associated with this System Assigned Managed Service Identity.
"""
return pulumi.get(self, "principal_id")
@principal_id.setter
def principal_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "principal_id", value)
@property
@pulumi.getter(name="tenantId")
def tenant_id(self) -> Optional[pulumi.Input[str]]:
"""
The Tenant ID associated with this System Assigned Managed Service Identity.
"""
return pulumi.get(self, "tenant_id")
@tenant_id.setter
def tenant_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "tenant_id", value)
@pulumi.input_type
class ClusterOptimizedAutoScaleArgs:
def __init__(__self__, *,
maximum_instances: pulumi.Input[int],
minimum_instances: pulumi.Input[int]):
"""
:param pulumi.Input[int] maximum_instances: The maximum number of allowed instances. Must between `0` and `1000`.
:param pulumi.Input[int] minimum_instances: The minimum number of allowed instances. Must between `0` and `1000`.
"""
pulumi.set(__self__, "maximum_instances", maximum_instances)
pulumi.set(__self__, "minimum_instances", minimum_instances)
@property
@pulumi.getter(name="maximumInstances")
def maximum_instances(self) -> pulumi.Input[int]:
"""
The maximum number of allowed instances. Must between `0` and `1000`.
"""
return pulumi.get(self, "maximum_instances")
@maximum_instances.setter
def maximum_instances(self, value: pulumi.Input[int]):
pulumi.set(self, "maximum_instances", value)
@property
@pulumi.getter(name="minimumInstances")
def minimum_instances(self) -> pulumi.Input[int]:
"""
The minimum number of allowed instances. Must between `0` and `1000`.
"""
return pulumi.get(self, "minimum_instances")
@minimum_instances.setter
def minimum_instances(self, value: pulumi.Input[int]):
pulumi.set(self, "minimum_instances", value)
@pulumi.input_type
class ClusterSkuArgs:
def __init__(__self__, *,
name: pulumi.Input[str],
capacity: Optional[pulumi.Input[int]] = None):
"""
:param pulumi.Input[str] name: The name of the SKU. Valid values are: `Dev(No SLA)_Standard_D11_v2`, `Dev(No SLA)_Standard_E2a_v4`, `Standard_D11_v2`, `Standard_D12_v2`, `Standard_D13_v2`, `Standard_D14_v2`, `Standard_DS13_v2+1TB_PS`, `Standard_DS13_v2+2TB_PS`, `Standard_DS14_v2+3TB_PS`, `Standard_DS14_v2+4TB_PS`, `Standard_E16as_v4+3TB_PS`, `Standard_E16as_v4+4TB_PS`, `Standard_E16a_v4`, `Standard_E2a_v4`, `Standard_E4a_v4`, `Standard_E64i_v3`, `Standard_E8as_v4+1TB_PS`, `Standard_E8as_v4+2TB_PS`, `Standard_E8a_v4`, `Standard_L16s`, `Standard_L4s`, `Standard_L8s`, `Standard_L16s_v2` and `Standard_L8s_v2`.
:param pulumi.Input[int] capacity: Specifies the node count for the cluster. Boundaries depend on the sku name.
"""
pulumi.set(__self__, "name", name)
if capacity is not None:
pulumi.set(__self__, "capacity", capacity)
@property
@pulumi.getter
def name(self) -> pulumi.Input[str]:
"""
The name of the SKU. Valid values are: `Dev(No SLA)_Standard_D11_v2`, `Dev(No SLA)_Standard_E2a_v4`, `Standard_D11_v2`, `Standard_D12_v2`, `Standard_D13_v2`, `Standard_D14_v2`, `Standard_DS13_v2+1TB_PS`, `Standard_DS13_v2+2TB_PS`, `Standard_DS14_v2+3TB_PS`, `Standard_DS14_v2+4TB_PS`, `Standard_E16as_v4+3TB_PS`, `Standard_E16as_v4+4TB_PS`, `Standard_E16a_v4`, `Standard_E2a_v4`, `Standard_E4a_v4`, `Standard_E64i_v3`, `Standard_E8as_v4+1TB_PS`, `Standard_E8as_v4+2TB_PS`, `Standard_E8a_v4`, `Standard_L16s`, `Standard_L4s`, `Standard_L8s`, `Standard_L16s_v2` and `Standard_L8s_v2`.
"""
return pulumi.get(self, "name")
@name.setter
def name(self, value: pulumi.Input[str]):
pulumi.set(self, "name", value)
@property
@pulumi.getter
def capacity(self) -> Optional[pulumi.Input[int]]:
"""
Specifies the node count for the cluster. Boundaries depend on the sku name.
"""
return pulumi.get(self, "capacity")
@capacity.setter
def capacity(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "capacity", value)
@pulumi.input_type
class ClusterVirtualNetworkConfigurationArgs:
def __init__(__self__, *,
data_management_public_ip_id: pulumi.Input[str],
engine_public_ip_id: pulumi.Input[str],
subnet_id: pulumi.Input[str]):
"""
:param pulumi.Input[str] data_management_public_ip_id: Data management's service public IP address resource id.
:param pulumi.Input[str] engine_public_ip_id: Engine service's public IP address resource id.
:param pulumi.Input[str] subnet_id: The subnet resource id.
"""
pulumi.set(__self__, "data_management_public_ip_id", data_management_public_ip_id)
pulumi.set(__self__, "engine_public_ip_id", engine_public_ip_id)
pulumi.set(__self__, "subnet_id", subnet_id)
@property
@pulumi.getter(name="dataManagementPublicIpId")
def data_management_public_ip_id(self) -> pulumi.Input[str]:
"""
Data management's service public IP address resource id.
"""
return pulumi.get(self, "data_management_public_ip_id")
@data_management_public_ip_id.setter
def data_management_public_ip_id(self, value: pulumi.Input[str]):
pulumi.set(self, "data_management_public_ip_id", value)
@property
@pulumi.getter(name="enginePublicIpId")
def engine_public_ip_id(self) -> pulumi.Input[str]:
"""
Engine service's public IP address resource id.
"""
return pulumi.get(self, "engine_public_ip_id")
@engine_public_ip_id.setter
def engine_public_ip_id(self, value: pulumi.Input[str]):
pulumi.set(self, "engine_public_ip_id", value)
@property
@pulumi.getter(name="subnetId")
def subnet_id(self) -> pulumi.Input[str]:
"""
The subnet resource id.
"""
return pulumi.get(self, "subnet_id")
@subnet_id.setter
def subnet_id(self, value: pulumi.Input[str]):
pulumi.set(self, "subnet_id", value)
| 46.184953
| 621
| 0.692595
| 1,829
| 14,733
| 5.301258
| 0.094587
| 0.114583
| 0.080858
| 0.072195
| 0.81054
| 0.719884
| 0.675743
| 0.618193
| 0.576836
| 0.460087
| 0
| 0.013271
| 0.197041
| 14,733
| 318
| 622
| 46.330189
| 0.80634
| 0.304215
| 0
| 0.157895
| 1
| 0
| 0.129718
| 0.068333
| 0
| 0
| 0
| 0
| 0
| 1
| 0.205263
| false
| 0
| 0.026316
| 0
| 0.347368
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
460c4298823fa96c8e37289e592cc6f216a23c28
| 95
|
py
|
Python
|
unittest_reinvent/scoring_tests/console_invoked/__init__.py
|
MolecularAI/reinvent-scoring
|
f7e052ceeffd29e17e1672c33607189873c82a45
|
[
"MIT"
] | null | null | null |
unittest_reinvent/scoring_tests/console_invoked/__init__.py
|
MolecularAI/reinvent-scoring
|
f7e052ceeffd29e17e1672c33607189873c82a45
|
[
"MIT"
] | 2
|
2021-11-01T23:19:42.000Z
|
2021-11-22T23:41:39.000Z
|
unittest_reinvent/scoring_tests/console_invoked/__init__.py
|
MolecularAI/reinvent-scoring
|
f7e052ceeffd29e17e1672c33607189873c82a45
|
[
"MIT"
] | 2
|
2021-11-18T13:14:22.000Z
|
2022-03-16T07:52:57.000Z
|
from unittest_reinvent.scoring_tests.console_invoked.test_icolos import Test_structural_Icolos
| 47.5
| 94
| 0.926316
| 13
| 95
| 6.307692
| 0.846154
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.042105
| 95
| 1
| 95
| 95
| 0.901099
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
1ca0f51c9e6b2240d2a46c221410160e8aa37dca
| 55
|
py
|
Python
|
plugin/src/test/resources/quickFixes/PyMakeFunctionFromMethodQuickFixTest/usageAssignment_after.py
|
consulo/consulo-python
|
586c3eaee3f9c2cc87fb088dc81fb12ffa4b3a9d
|
[
"Apache-2.0"
] | null | null | null |
plugin/src/test/resources/quickFixes/PyMakeFunctionFromMethodQuickFixTest/usageAssignment_after.py
|
consulo/consulo-python
|
586c3eaee3f9c2cc87fb088dc81fb12ffa4b3a9d
|
[
"Apache-2.0"
] | 11
|
2017-02-27T22:35:32.000Z
|
2021-12-24T08:07:40.000Z
|
plugin/src/test/resources/quickFixes/PyMakeFunctionFromMethodQuickFixTest/usageAssignment_after.py
|
consulo/consulo-python
|
586c3eaee3f9c2cc87fb088dc81fb12ffa4b3a9d
|
[
"Apache-2.0"
] | null | null | null |
def m():
print 1
class A: pass
b = A()
a = m()
| 5.5
| 13
| 0.436364
| 11
| 55
| 2.181818
| 0.727273
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.029412
| 0.381818
| 55
| 9
| 14
| 6.111111
| 0.676471
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0.2
| 0
| null | null | 0.2
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 4
|
1cacdbf810863473f98e6a2e7a9fe81ba235cc7c
| 2,483
|
py
|
Python
|
test/layers_test.py
|
RobinBaumann/TF-AtlasNetV2
|
32bd962407becacc9b9bee6c76c96216818e4c89
|
[
"MIT"
] | null | null | null |
test/layers_test.py
|
RobinBaumann/TF-AtlasNetV2
|
32bd962407becacc9b9bee6c76c96216818e4c89
|
[
"MIT"
] | null | null | null |
test/layers_test.py
|
RobinBaumann/TF-AtlasNetV2
|
32bd962407becacc9b9bee6c76c96216818e4c89
|
[
"MIT"
] | null | null | null |
"""
Created by Robin Baumann <mail@robin-baumann.com> on May 13, 2020.
"""
import tensorflow as tf
from atlasnet_v2 import layers
BATCH_SIZE = 2
LATENT_SIZE = 64
N_POINTS = 5000
STRUCTS = 5
POINTS_PER_STRUCT = N_POINTS // STRUCTS
class PointAtlasTest(tf.test.TestCase):
def test_linear_adjust_structure_shape(self):
latent = tf.random.uniform((BATCH_SIZE, LATENT_SIZE)) # 2 batches, 64 features each
point_atlas_lin_adj = layers.PointAtlas(STRUCTS, shape=(POINTS_PER_STRUCT, 3), adjustment="linear")
out_shape, out_structs = point_atlas_lin_adj(latent)
assert len(point_atlas_lin_adj.structures) == STRUCTS
assert point_atlas_lin_adj.structures[0].shape == (1, POINTS_PER_STRUCT, 3)
assert len(out_structs) == STRUCTS
assert out_structs[0].shape == point_atlas_lin_adj.structures[0].shape
assert out_shape.shape == (BATCH_SIZE, N_POINTS, 3)
def test_mlp_adjust_structure_shape(self):
latent = tf.random.uniform((BATCH_SIZE, LATENT_SIZE)) # 2 batches, 64 features each
point_atlas_mlp_adj = layers.PointAtlas(STRUCTS, shape=(POINTS_PER_STRUCT, 3), adjustment="mlp")
out_shape, out_structs = point_atlas_mlp_adj(latent)
assert len(point_atlas_mlp_adj.structures) == STRUCTS
assert len(out_structs) == STRUCTS
assert out_structs[0].shape == (1, POINTS_PER_STRUCT, 3)
assert out_shape.shape == (BATCH_SIZE, N_POINTS, 3)
class PatchAtlasTest(tf.test.TestCase):
def test_linear_adjust_structure_shape(self):
latent = tf.random.uniform((BATCH_SIZE, LATENT_SIZE))# 2 batches, 64 features each
patch_atlas_lin_adj = layers.PatchAtlas(STRUCTS, shape=(POINTS_PER_STRUCT, 3), layer_size=128, adjustment="linear")
out_shape, out_structs = patch_atlas_lin_adj(latent)
assert len(out_structs) == STRUCTS
assert out_structs[0].shape == (1, POINTS_PER_STRUCT, 3)
assert out_shape.shape == (BATCH_SIZE, N_POINTS, 3)
def test_mlp_adjust_structure_shape(self):
latent = tf.random.uniform((BATCH_SIZE, LATENT_SIZE)) # 2 batches, 64 features each
patch_atlas_mlp_adj = layers.PatchAtlas(STRUCTS, shape=(POINTS_PER_STRUCT, 3), layer_size=128, adjustment="mlp")
out_shape , out_structs = patch_atlas_mlp_adj(latent)
assert len(out_structs) == STRUCTS
assert out_structs[0].shape == (1, POINTS_PER_STRUCT, 3)
assert out_shape.shape == (BATCH_SIZE, N_POINTS, 3)
| 42.084746
| 123
| 0.715264
| 353
| 2,483
| 4.711048
| 0.181303
| 0.072159
| 0.081179
| 0.076969
| 0.847865
| 0.838244
| 0.719182
| 0.684305
| 0.670475
| 0.670475
| 0
| 0.027094
| 0.182441
| 2,483
| 58
| 124
| 42.810345
| 0.792118
| 0.07209
| 0
| 0.475
| 0
| 0
| 0.00785
| 0
| 0
| 0
| 0
| 0
| 0.375
| 1
| 0.1
| false
| 0
| 0.05
| 0
| 0.2
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
1ce7e8e1e67a597a0fb81dd0ceba0bc1bfbbba36
| 336
|
py
|
Python
|
app1/b11.py
|
yosais/Computer-Simulation-Book
|
87b2d83eded02f69cd7b8d839adfa554b25ae19d
|
[
"MIT"
] | 16
|
2017-10-26T02:35:31.000Z
|
2021-11-24T04:31:32.000Z
|
app1/b11.py
|
yosais/Computer-Simulation-Book
|
87b2d83eded02f69cd7b8d839adfa554b25ae19d
|
[
"MIT"
] | null | null | null |
app1/b11.py
|
yosais/Computer-Simulation-Book
|
87b2d83eded02f69cd7b8d839adfa554b25ae19d
|
[
"MIT"
] | 11
|
2018-02-04T05:10:11.000Z
|
2021-11-24T05:30:45.000Z
|
def doIt (func, x, y):
z = func (x, y)
return z
def add (arg1, arg2):
return arg1 + arg2
def sub (arg1, arg2):
return arg1 - arg2
print ('Addition:')
print ( doIt (add, 2, 3) ) # Passing the name of the function
# and its arguments
print ('Subtraction:')
print ( doIt (sub, 2, 3) )
| 21
| 65
| 0.541667
| 48
| 336
| 3.791667
| 0.5
| 0.175824
| 0.065934
| 0.197802
| 0.241758
| 0
| 0
| 0
| 0
| 0
| 0
| 0.053333
| 0.330357
| 336
| 16
| 66
| 21
| 0.755556
| 0.151786
| 0
| 0
| 0
| 0
| 0.074205
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.272727
| false
| 0
| 0
| 0.181818
| 0.545455
| 0.363636
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 4
|
e8036bb0d4ac799eb96559d13f0d813539d33475
| 50
|
py
|
Python
|
src/experimental_code/simple_learning_tests/trajectory_learning.py
|
Roboy/LSM_SpiNNaker_MyoArm
|
04fa1eaf78778edea3ba3afa4c527d20c491718e
|
[
"BSD-3-Clause"
] | 2
|
2020-11-01T13:22:11.000Z
|
2020-11-01T13:22:20.000Z
|
src/experimental_code/simple_learning_tests/trajectory_learning.py
|
Roboy/LSM_SpiNNaker_MyoArm
|
04fa1eaf78778edea3ba3afa4c527d20c491718e
|
[
"BSD-3-Clause"
] | null | null | null |
src/experimental_code/simple_learning_tests/trajectory_learning.py
|
Roboy/LSM_SpiNNaker_MyoArm
|
04fa1eaf78778edea3ba3afa4c527d20c491718e
|
[
"BSD-3-Clause"
] | null | null | null |
import numpy as np
#%%
a= 5
print 'hello world'
| 8.333333
| 19
| 0.64
| 9
| 50
| 3.555556
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.026316
| 0.24
| 50
| 6
| 20
| 8.333333
| 0.815789
| 0.04
| 0
| 0
| 0
| 0
| 0.229167
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0.333333
| null | null | 0.333333
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
e806b2ebd018c4a29bd3f1fb659cf0285e989a1d
| 20,967
|
py
|
Python
|
tests/test_service.py
|
afflux/someip
|
b08a17260e934afa4c2f150023be690b25f9add9
|
[
"MIT"
] | 22
|
2020-05-08T15:32:41.000Z
|
2022-02-10T11:41:53.000Z
|
tests/test_service.py
|
afflux/someip
|
b08a17260e934afa4c2f150023be690b25f9add9
|
[
"MIT"
] | 8
|
2020-07-17T04:30:47.000Z
|
2022-03-18T18:58:25.000Z
|
tests/test_service.py
|
afflux/someip
|
b08a17260e934afa4c2f150023be690b25f9add9
|
[
"MIT"
] | 14
|
2020-10-22T02:25:37.000Z
|
2022-03-20T13:37:05.000Z
|
from __future__ import annotations
import asyncio
import logging
import ipaddress
import os
import typing
import unittest
import unittest.mock
from dataclasses import replace
import someip.config as cfg
import someip.header as hdr
import someip.sd as sd
import someip.service as service
logging.captureWarnings(True)
logging.basicConfig(level=logging.DEBUG)
logging.getLogger("asyncio").setLevel(logging.WARNING)
logging.getLogger("someip").setLevel(logging.WARNING)
PRECISION = 0.4 if os.environ.get("CI") == "true" else 0.2 # in seconds
def ticks(n):
return PRECISION * n
async def settle():
fut: asyncio.Future[None] = asyncio.Future()
asyncio.get_event_loop().call_soon(fut.set_result, None)
await fut
class ExampleEvgrp(service.SimpleEventgroup):
def __init__(self, service: ExampleService):
super().__init__(service, id=1, interval=ticks(1))
self.service: ExampleService
self.update_task = asyncio.create_task(self.update())
async def update(self):
while True:
self.values[1] = self.service.counter.to_bytes(2, "big")
await asyncio.sleep(ticks(0.9))
class ExampleService(service.SimpleService):
service_id = 0xB0A7
version_major = 1
version_minor = 0
def __init__(self, instance_id):
super().__init__(instance_id)
self.counter = 0
self.register_method(1, self.method_get_counter)
self.register_method(2, self.method_increment_counter)
self.register_method(3, self.method_set_counter)
self.register_method(4, self.method_reset_counter)
self.eventgroup = ExampleEvgrp(self)
self.register_eventgroup(self.eventgroup)
def method_get_counter(
self, someip_message: hdr.SOMEIPHeader, addr: hdr._T_SOCKNAME
) -> typing.Optional[bytes]:
# only handle empty get requests
if someip_message.payload:
raise service.MalformedMessageError
return self.counter.to_bytes(2, "big")
def method_increment_counter(
self, someip_message: hdr.SOMEIPHeader, addr: hdr._T_SOCKNAME
) -> typing.Optional[bytes]:
# only handle empty get requests
if someip_message.payload:
raise service.MalformedMessageError
self.counter += 1
return b""
def method_set_counter(
self, someip_message: hdr.SOMEIPHeader, addr: hdr._T_SOCKNAME
) -> typing.Optional[bytes]:
if len(someip_message.payload) != 2:
raise service.MalformedMessageError
self.counter = int.from_bytes(someip_message.payload, "big")
return b""
def method_reset_counter(
self, someip_message: hdr.SOMEIPHeader, addr: hdr._T_SOCKNAME
) -> typing.Optional[bytes]:
# only handle empty get requests
if someip_message.payload:
raise service.MalformedMessageError
self.counter = 0
return b""
class TestService(unittest.IsolatedAsyncioTestCase):
fake_addr = ("2001:db8::2", 30501, 0, 0)
async def asyncSetUp(self): # noqa: N802
inst = 12
self.prot = ExampleService(inst)
self.mock = self.prot.transport = unittest.mock.Mock()
self.endpoint = hdr.IPv6EndpointOption(
ipaddress.IPv6Address(self.fake_addr[0]),
port=self.fake_addr[1],
l4proto=hdr.L4Protocols.UDP,
)
def test_start_announce(self):
sd = unittest.mock.Mock()
ip, port = ("192.0.2.42", 30501)
def get_extra_info(key):
assert key == "sockname"
return ip, port
self.prot.transport.get_extra_info.side_effect = get_extra_info
self.prot.start_announce(sd)
ep = hdr.IPv4EndpointOption(
ipaddress.IPv4Address(ip),
port=port,
l4proto=hdr.L4Protocols.UDP,
)
self.assertEqual(
sd.method_calls,
[
unittest.mock.call.announce_service(
cfg.Service(
service_id=self.prot.service_id,
instance_id=self.prot.instance_id,
major_version=self.prot.version_major,
minor_version=self.prot.version_minor,
options_1=(ep,),
eventgroups=frozenset({self.prot.eventgroup.id}),
),
self.prot,
)
],
)
sd.reset_mock()
self.prot.stop_announce(sd)
self.assertEqual(
sd.method_calls,
[
unittest.mock.call.stop_announce_service(
cfg.Service(
service_id=self.prot.service_id,
instance_id=self.prot.instance_id,
major_version=self.prot.version_major,
minor_version=self.prot.version_minor,
options_1=(ep,),
eventgroups=frozenset({self.prot.eventgroup.id}),
),
self.prot,
)
],
)
def test_call_good(self):
get = hdr.SOMEIPHeader(
service_id=self.prot.service_id,
method_id=1,
client_id=0xCCCC,
session_id=0xDDDD,
protocol_version=1,
interface_version=self.prot.version_major,
message_type=hdr.SOMEIPMessageType.REQUEST,
return_code=hdr.SOMEIPReturnCode.E_OK,
)
inc = replace(
get, method_id=2, message_type=hdr.SOMEIPMessageType.REQUEST_NO_RETURN
)
self.prot.message_received(get, self.fake_addr, False)
self.mock.sendto.assert_called_once_with(
replace(
get, message_type=hdr.SOMEIPMessageType.RESPONSE, payload=b"\0\0"
).build(),
self.fake_addr,
)
self.mock.reset_mock()
# stays the same
self.prot.message_received(get, self.fake_addr, False)
self.mock.sendto.assert_called_once_with(
replace(
get, message_type=hdr.SOMEIPMessageType.RESPONSE, payload=b"\0\0"
).build(),
self.fake_addr,
)
self.mock.reset_mock()
# increment twice
self.prot.message_received(inc, self.fake_addr, False)
self.prot.message_received(inc, self.fake_addr, False)
self.mock.sendto.assert_not_called()
self.mock.reset_mock()
# counter changed
self.prot.message_received(get, self.fake_addr, False)
self.mock.sendto.assert_called_once_with(
replace(
get, message_type=hdr.SOMEIPMessageType.RESPONSE, payload=b"\0\2"
).build(),
self.fake_addr,
)
self.mock.reset_mock()
def test_call_unknown_service(self):
get = hdr.SOMEIPHeader(
service_id=0xABAB,
method_id=1,
client_id=0xCCCC,
session_id=0xDDDD,
protocol_version=1,
interface_version=self.prot.version_major,
message_type=hdr.SOMEIPMessageType.REQUEST,
return_code=hdr.SOMEIPReturnCode.E_OK,
)
with self.assertLogs(self.prot.log, "WARNING"):
self.prot.message_received(get, self.fake_addr, False)
self.mock.sendto.assert_called_once_with(
replace(
get,
message_type=hdr.SOMEIPMessageType.ERROR,
return_code=hdr.SOMEIPReturnCode.E_UNKNOWN_SERVICE,
).build(),
self.fake_addr,
)
self.mock.reset_mock()
def test_call_bad_version(self):
get = hdr.SOMEIPHeader(
service_id=self.prot.service_id,
method_id=1,
client_id=0xCCCC,
session_id=0xDDDD,
protocol_version=1,
interface_version=13,
message_type=hdr.SOMEIPMessageType.REQUEST_NO_RETURN,
return_code=hdr.SOMEIPReturnCode.E_OK,
)
with self.assertLogs(self.prot.log, "WARNING"):
self.prot.message_received(get, self.fake_addr, False)
self.mock.sendto.assert_called_once_with(
replace(
get,
message_type=hdr.SOMEIPMessageType.ERROR,
return_code=hdr.SOMEIPReturnCode.E_WRONG_INTERFACE_VERSION,
).build(),
self.fake_addr,
)
self.mock.reset_mock()
def test_call_unknown_method(self):
get = hdr.SOMEIPHeader(
service_id=self.prot.service_id,
method_id=0x7777,
client_id=0xCCCC,
session_id=0xDDDD,
protocol_version=1,
interface_version=self.prot.version_major,
message_type=hdr.SOMEIPMessageType.REQUEST_NO_RETURN,
return_code=hdr.SOMEIPReturnCode.E_OK,
)
with self.assertLogs(self.prot.log, "WARNING"):
self.prot.message_received(get, self.fake_addr, False)
self.mock.sendto.assert_called_once_with(
replace(
get,
message_type=hdr.SOMEIPMessageType.ERROR,
return_code=hdr.SOMEIPReturnCode.E_UNKNOWN_METHOD,
).build(),
self.fake_addr,
)
self.mock.reset_mock()
def test_call_bad_type(self):
get = hdr.SOMEIPHeader(
service_id=self.prot.service_id,
method_id=1,
client_id=0xCCCC,
session_id=0xDDDD,
protocol_version=1,
interface_version=self.prot.version_major,
message_type=hdr.SOMEIPMessageType.ERROR,
return_code=hdr.SOMEIPReturnCode.E_OK,
)
with self.assertLogs(self.prot.log, "WARNING"):
self.prot.message_received(get, self.fake_addr, False)
self.mock.sendto.assert_called_once_with(
replace(
get,
message_type=hdr.SOMEIPMessageType.ERROR,
return_code=hdr.SOMEIPReturnCode.E_WRONG_MESSAGE_TYPE,
).build(),
self.fake_addr,
)
self.mock.reset_mock()
def test_call_bad_code(self):
get = hdr.SOMEIPHeader(
service_id=self.prot.service_id,
method_id=1,
client_id=0xCCCC,
session_id=0xDDDD,
protocol_version=1,
interface_version=self.prot.version_major,
message_type=hdr.SOMEIPMessageType.REQUEST,
return_code=hdr.SOMEIPReturnCode.E_NOT_READY,
)
with self.assertLogs(self.prot.log, "WARNING"):
self.prot.message_received(get, self.fake_addr, False)
self.mock.sendto.assert_called_once_with(
replace(
get,
message_type=hdr.SOMEIPMessageType.ERROR,
return_code=hdr.SOMEIPReturnCode.E_WRONG_MESSAGE_TYPE,
).build(),
self.fake_addr,
)
self.mock.reset_mock()
def test_call_multicast(self):
get = hdr.SOMEIPHeader(
service_id=self.prot.service_id,
method_id=1,
client_id=0xCCCC,
session_id=0xDDDD,
protocol_version=1,
interface_version=self.prot.version_major,
message_type=hdr.SOMEIPMessageType.REQUEST,
return_code=hdr.SOMEIPReturnCode.E_OK,
)
with self.assertWarnsRegex(UserWarning, r"(?i)multicast"):
self.prot.message_received(get, self.fake_addr, True)
def test_call_malformed(self):
get = hdr.SOMEIPHeader(
service_id=self.prot.service_id,
method_id=1,
client_id=0xCCCC,
session_id=0xDDDD,
protocol_version=1,
interface_version=self.prot.version_major,
message_type=hdr.SOMEIPMessageType.REQUEST,
return_code=hdr.SOMEIPReturnCode.E_OK,
payload=b"\xff\xff",
)
self.prot.message_received(get, self.fake_addr, False)
self.mock.sendto.assert_called_once_with(
replace(
get,
payload=b"",
message_type=hdr.SOMEIPMessageType.ERROR,
return_code=hdr.SOMEIPReturnCode.E_MALFORMED_MESSAGE,
).build(),
self.fake_addr,
)
self.mock.reset_mock()
def test_register_duplicate(self):
with self.assertRaises(KeyError):
self.prot.register_method(1, self.prot.method_reset_counter)
with self.assertRaises(KeyError):
self.prot.register_eventgroup(service.SimpleEventgroup(self.prot, id=1))
async def test_subscribe_eventgroup(self):
sub = sd.EventgroupSubscription(
service_id=self.prot.service_id,
instance_id=self.prot.instance_id,
major_version=self.prot.version_major,
id=1,
counter=0,
ttl=ticks(3),
endpoints=frozenset({self.endpoint}),
)
self.prot.client_subscribed(sub, self.fake_addr)
notification = hdr.SOMEIPHeader(
service_id=self.prot.service_id,
method_id=0x8001,
client_id=0,
session_id=0,
interface_version=self.prot.version_major,
message_type=hdr.SOMEIPMessageType.NOTIFICATION,
)
# notification after subscribe
await asyncio.sleep(ticks(0.1))
self.mock.sendto.assert_called_once_with(
replace(
notification,
session_id=1,
payload=b"\0\0",
).build(),
self.fake_addr,
)
self.mock.reset_mock()
# cyclic notification
await asyncio.sleep(ticks(1.1))
self.mock.sendto.assert_called_once_with(
replace(
notification,
session_id=2,
payload=b"\0\0",
).build(),
self.fake_addr,
)
self.mock.reset_mock()
inc = hdr.SOMEIPHeader(
service_id=self.prot.service_id,
method_id=2,
client_id=0xCCCC,
session_id=0xDDDD,
protocol_version=1,
interface_version=self.prot.version_major,
message_type=hdr.SOMEIPMessageType.REQUEST_NO_RETURN,
)
self.prot.message_received(inc, self.fake_addr, False)
# cyclic notification
await asyncio.sleep(ticks(1.1))
self.mock.sendto.assert_called_once_with(
replace(
notification,
session_id=3,
payload=b"\0\1",
).build(),
self.fake_addr,
)
self.mock.reset_mock()
async def test_subscribe_eventgroup_two_clients(self):
sub1 = sd.EventgroupSubscription(
service_id=self.prot.service_id,
instance_id=self.prot.instance_id,
major_version=self.prot.version_major,
id=1,
counter=0,
ttl=ticks(3),
endpoints=frozenset({self.endpoint}),
)
self.prot.client_subscribed(sub1, self.fake_addr)
fake_addr2 = ("192.0.2.42", 30501)
endpoint2 = hdr.IPv4EndpointOption(
ipaddress.IPv4Address(fake_addr2[0]),
port=fake_addr2[1],
l4proto=hdr.L4Protocols.UDP,
)
sub2 = sd.EventgroupSubscription(
service_id=self.prot.service_id,
instance_id=self.prot.instance_id,
major_version=self.prot.version_major,
id=1,
counter=0,
ttl=ticks(3),
endpoints=frozenset({endpoint2}),
)
self.prot.client_subscribed(sub2, fake_addr2)
notification = hdr.SOMEIPHeader(
service_id=self.prot.service_id,
method_id=0x8001,
client_id=0,
session_id=0,
interface_version=self.prot.version_major,
message_type=hdr.SOMEIPMessageType.NOTIFICATION,
)
# ignore notification after subscribe
await asyncio.sleep(ticks(0.1))
self.mock.reset_mock()
# cyclic notification
await asyncio.sleep(ticks(1.1))
self.assertCountEqual(
self.mock.sendto.call_args_list,
(
unittest.mock.call(
replace(
notification,
session_id=2,
payload=b"\0\0",
).build(),
self.fake_addr,
),
unittest.mock.call(
replace(
notification,
session_id=2,
payload=b"\0\0",
).build(),
fake_addr2,
),
),
)
self.mock.reset_mock()
self.prot.client_unsubscribed(sub2, fake_addr2)
# one client removed -> one remaining cyclic notification
await asyncio.sleep(ticks(1.1))
self.assertCountEqual(
self.mock.sendto.call_args_list,
(
unittest.mock.call(
replace(
notification,
session_id=3,
payload=b"\0\0",
).build(),
self.fake_addr,
),
),
)
self.mock.reset_mock()
self.prot.client_unsubscribed(sub1, self.fake_addr)
# cyclic notification
await asyncio.sleep(ticks(1.1))
self.mock.sendto.assert_not_called()
def test_unsubscribe_unknown(self):
sub = sd.EventgroupSubscription(
service_id=self.prot.service_id,
instance_id=self.prot.instance_id,
major_version=self.prot.version_major,
id=1,
counter=0,
ttl=ticks(3),
endpoints=frozenset({self.endpoint}),
)
with self.assertLogs(self.prot.log, "WARNING"):
self.prot.client_unsubscribed(sub, self.fake_addr)
def test_nak_subscription(self):
self.prot.eventgroup.subscribe = unittest.mock.Mock()
self.prot.eventgroup.subscribe.side_effect = sd.NakSubscription
sub = sd.EventgroupSubscription(
service_id=self.prot.service_id,
instance_id=self.prot.instance_id,
major_version=self.prot.version_major,
id=1,
counter=0,
ttl=ticks(3),
endpoints=frozenset({self.endpoint}),
)
with self.assertLogs(self.prot.log, "ERROR"):
with self.assertRaises(sd.NakSubscription):
self.prot.client_subscribed(sub, self.fake_addr)
def test_nak_malformed(self):
fake_addr2 = ("192.0.2.42", 30501)
endpoint2 = hdr.IPv4EndpointOption(
ipaddress.IPv4Address(fake_addr2[0]),
port=fake_addr2[1],
l4proto=hdr.L4Protocols.UDP,
)
sub = sd.EventgroupSubscription(
service_id=self.prot.service_id,
instance_id=self.prot.instance_id,
major_version=self.prot.version_major,
id=1,
counter=0,
ttl=ticks(3),
endpoints=frozenset({self.endpoint, endpoint2}),
)
with self.assertLogs(self.prot.log, "ERROR"):
with self.assertRaises(sd.NakSubscription):
self.prot.client_subscribed(sub, self.fake_addr)
async def test_eventgroup_manual(self):
evgrp = service.SimpleEventgroup(self.prot, id=2)
self.prot.register_eventgroup(evgrp)
self.prot.send = unittest.mock.Mock()
# no clients -> no notification triggered
evgrp.values[1] = b"\1\2\3\4"
evgrp.notify_once((1,))
await asyncio.sleep(ticks(1.1))
self.prot.send.assert_not_called()
sub = sd.EventgroupSubscription(
service_id=self.prot.service_id,
instance_id=self.prot.instance_id,
major_version=self.prot.version_major,
id=evgrp.id,
counter=0,
ttl=ticks(3),
endpoints=frozenset({self.endpoint}),
)
self.prot.client_subscribed(sub, self.fake_addr)
# ignore notification after subscribe
await asyncio.sleep(ticks(0.1))
self.prot.send.reset_mock()
# clients subscribed -> notification triggered
evgrp.values[1] = b"\4\3\2\1"
evgrp.notify_once((1,))
await asyncio.sleep(ticks(1.1))
self.prot.send.assert_called_once()
self.prot.send.reset_mock()
# no event given -> don't send out notification
evgrp.notify_once(())
await asyncio.sleep(ticks(1.1))
self.prot.send.assert_not_called()
| 31.768182
| 84
| 0.578719
| 2,246
| 20,967
| 5.184773
| 0.10285
| 0.070073
| 0.037097
| 0.039674
| 0.76711
| 0.740833
| 0.730786
| 0.720223
| 0.69824
| 0.695234
| 0
| 0.018434
| 0.327324
| 20,967
| 659
| 85
| 31.816388
| 0.807218
| 0.02523
| 0
| 0.66791
| 0
| 0
| 0.009893
| 0
| 0
| 0
| 0.006759
| 0
| 0.065299
| 1
| 0.039179
| false
| 0
| 0.024254
| 0.001866
| 0.087687
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
e81661b91f88467f6590d05fbe542ba16e557116
| 2,669
|
py
|
Python
|
tests/test_docmetadata.py
|
rstojnic/arxiv-browse
|
8847fb8bcd79cc2b162fd3de16db8fba1a1df020
|
[
"MIT"
] | 61
|
2019-01-10T21:15:00.000Z
|
2022-02-21T13:22:22.000Z
|
tests/test_docmetadata.py
|
rstojnic/arxiv-browse
|
8847fb8bcd79cc2b162fd3de16db8fba1a1df020
|
[
"MIT"
] | 91
|
2019-01-14T21:12:06.000Z
|
2022-03-09T19:52:59.000Z
|
tests/test_docmetadata.py
|
rstojnic/arxiv-browse
|
8847fb8bcd79cc2b162fd3de16db8fba1a1df020
|
[
"MIT"
] | 38
|
2019-01-10T22:01:30.000Z
|
2022-03-10T23:07:00.000Z
|
from typing import Any, Dict
from unittest import TestCase
from browse.domain.metadata import DocMetadata
class DocMetadataTest(TestCase):
fields: Dict[str, Any]
def __init__(self, *args: str, **kwargs: Dict) -> None:
"""Set up some common variables."""
super().__init__(*args, **kwargs)
self.fields = {
# TODO: reasonable mock defaults for future tests
}
def test_something(self):
"""Tests that omission of a required field generates an exception."""
fields = self.fields.copy()
# TODO: implement a test on a generated DocMetadata
def test_required_fields(self):
"""Tests that omission of a required field generates an exception."""
fields = self.fields.copy()
def run_on_empty_args() -> DocMetadata:
return DocMetadata(**fields) # type: ignore
with self.assertRaises(TypeError) as ctx:
run_on_empty_args()
# Do not indent us or we will not run and be tested!:
self.assertTrue('missing 14 required positional arguments' in str(ctx.exception))
#
self.assertTrue('raw_safe' in str(ctx.exception))
self.assertTrue('arxiv_id' in str(ctx.exception))
self.assertTrue('arxiv_id_v' in str(ctx.exception))
self.assertTrue('arxiv_identifier' in str(ctx.exception))
self.assertTrue('modified' in str(ctx.exception))
self.assertTrue('title' in str(ctx.exception))
self.assertTrue('abstract' in str(ctx.exception))
self.assertTrue('authors' in str(ctx.exception))
self.assertTrue('submitter' in str(ctx.exception))
self.assertTrue('categories' in str(ctx.exception))
self.assertTrue('primary_category' in str(ctx.exception))
self.assertTrue('primary_archive' in str(ctx.exception))
self.assertTrue('primary_group' in str(ctx.exception))
self.assertTrue('secondary_categories' in str(ctx.exception))
#
self.assertTrue('journal_ref' not in str(ctx.exception))
self.assertTrue('report_num' not in str(ctx.exception))
self.assertTrue('doi' not in str(ctx.exception))
self.assertTrue('acm_class' not in str(ctx.exception))
self.assertTrue('msc_class' not in str(ctx.exception))
self.assertTrue('proxy' not in str(ctx.exception))
self.assertTrue('comments' not in str(ctx.exception))
self.assertTrue('version' not in str(ctx.exception))
self.assertTrue('license' not in str(ctx.exception))
self.assertTrue('version_history' not in str(ctx.exception))
self.assertTrue('private' not in str(ctx.exception))
| 43.048387
| 89
| 0.664668
| 337
| 2,669
| 5.172107
| 0.311573
| 0.208835
| 0.119334
| 0.253586
| 0.609868
| 0.598394
| 0.45611
| 0.223752
| 0.088353
| 0.088353
| 0
| 0.000962
| 0.220682
| 2,669
| 61
| 90
| 43.754098
| 0.837019
| 0.12027
| 0
| 0.046512
| 0
| 0
| 0.122098
| 0
| 0
| 0
| 0
| 0.016393
| 0.627907
| 1
| 0.093023
| false
| 0
| 0.069767
| 0.023256
| 0.232558
| 0
| 0
| 0
| 0
| null | 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
e825b0df3b8dc119fb98a05206106a30f579f4c2
| 18,403
|
py
|
Python
|
tests/testgen_opr.py
|
dstogov/udis86
|
87dca0ab2116011fed39eedd893c6514deceeb33
|
[
"BSD-2-Clause"
] | 3
|
2018-04-19T11:40:49.000Z
|
2018-06-07T16:45:11.000Z
|
tests/testgen_opr.py
|
dstogov/udis86
|
87dca0ab2116011fed39eedd893c6514deceeb33
|
[
"BSD-2-Clause"
] | null | null | null |
tests/testgen_opr.py
|
dstogov/udis86
|
87dca0ab2116011fed39eedd893c6514deceeb33
|
[
"BSD-2-Clause"
] | null | null | null |
OperandSet = {
'Ib' : {
'16' : ( "0x10", ),
'32' : ( "0x10", ),
'64' : ( "0x20", )
},
'Eb_Gb' : {
'16' : ( "[bx+si], al", ),
'32' : ( "[eax+ebx], ch", "[ebx+ecx*4], bl", "[bx+0x10], dh"),
'64' : ( "[rax], r8b", )
},
'Ev_Gv' : {
'16' : (),
'32' : ( "[eax+0x1234], esi", "[bx+si+0x1234], esp", "[esp+0x10], ebp"),
'64' : ()
},
'Gb_Eb' : {
'16' : ( "al, bl", ),
'32' : ( "bl, cl", ),
'64' : ( "r8b, sil", )
},
'Gv_Ev' : {
'16' : ( "ax, bx", ),
'32' : ( "eax, ebx", "ax, dx", "ax, [ebx+0x100]" ),
'64' : ( "rax, r15", "si, bp", "eax, edx" )
},
'AL_Ib' : {
'16' : ( "al, 0x10", ),
'32' : ( "al, 0x13", ),
'64' : ( "al, 0x14", )
},
'rAX_Iz' : {
'16' : ( "ax, 0x100", ),
'32' : ( "ax, 0x100", "eax, 0x100" ),
'64' : ( "r13, 0x200", )
},
'Eb_Ib' : {
'16' : ( "al, 0x10", "byte [eax], 0x10" ),
'32' : ( "dl, 0x10", "byte [bp+si], 0x10" ),
'64' : ( "di, 0x10", "byte [rax+rsi], 0x10" )
},
'Ev_Iz' : {
'16' : ( "eax, 0x100000", "word [bx+si], 0x1000" ),
'32' : ( "eax, 0x100000", "word [bx+si], 0x1000", "dword [bp+0x10], 0x100" ),
'64' : ( "rax, 0x100000", "word [ebx+esi], 0x1000", "dword [ebp+0x10], 0x100" ),
},
'Ev_Ib' : {
'16' : (),
'32' : (),
'64' : ()
},
'V_W' : {
'16' : (),
'32' : ( "xmm3, xmm0", "xmm7, [eax]" ),
'64' : ( "xmm9, [rax+r8-0x10]", "xmm13, xmm1" )
},
'V_VR' : {
'16' : (),
'32' : ( "xmm3, xmm0", "xmm7, xmm2" ),
'64' : ( "xmm9, xmm1", "xmm13, xmm1" )
},
'Ew_Gw' : {
'16' : (),
'32' : (),
'64' : ()
},
'Gv_Ed' : {
'16' : (),
'32' : (),
'64' : ()
},
'Gv_M' : {
'16' : (),
'32' : (),
'64' : ()
},
'rAXr8' : {
'16' : (),
'32' : (),
'64' : ( "rax", "r8" )
},
'rCXr9' : {
'16' : ( "ecx", ),
'32' : ( "ecx", ),
'64' : ( "r9", "rcx" )
},
'rDXr10' : {
'16' : (),
'32' : (),
'64' : ( "r10", )
},
'rBXr11' : {
'16' : (),
'32' : (),
'64' : ()
},
'rSPr12' : {
'16' : (),
'32' : (),
'64' : ()
},
'rBPr13' : {
'16' : (),
'32' : (),
'64' : ()
},
'rSIr14' : {
'16' : (),
'32' : (),
'64' : ()
},
'rDIr15' : {
'16' : (),
'32' : (),
'64' : ( "r15", "rdi" )
},
'Ev' : {
'16' : (),
'32' : (),
'64' : ()
},
'Ep' : {
'16' : (),
'32' : (),
'64' : ()
},
'Jz' : {
'16' : (),
'32' : (),
'64' : ()
},
'Ap' : {
'16' : (),
'32' : (),
'64' : ()
},
'M' : {
'16' : (),
'32' : (),
'64' : ()
},
'V_W_Ib' : {
'16' : (),
'32' : ( "xmm0, xmm1, 0x10", ),
'64' : ( "xmm2, [r8+rdi+0x20], 0x28", )
},
'P_W' : {
'16' : (),
'32' : ( "mm0, [eax]", "mm1, xmm0" ),
'64' : ()
},
'V_Q' : {
'16' : (),
'32' : ( "xmm0, qword [eax]", ),
'64' : ( "xmm8, mm7", )
},
'Gy_Wss' : {
'16' : (),
'32' : (),
'64' : ()
},
'Gy_Wsd' : {
'16' : (),
'32' : (),
'64' : ()
},
'Gy_W' : {
'16' : (),
'32' : (),
'64' : ()
},
'V_Ex' : {
'16' : (),
'32' : (),
'64' : ()
},
'eAX' : {
'16' : (),
'32' : (),
'64' : ()
},
'eCX' : {
'16' : (),
'32' : (),
'64' : ()
},
'eDX' : {
'16' : (),
'32' : ( "dx", "edx" ),
'64' : ( "edx", )
},
'eBX' : {
'16' : (),
'32' : (),
'64' : ()
},
'eSP' : {
'16' : (),
'32' : (),
'64' : ()
},
'eBP' : {
'16' : (),
'32' : (),
'64' : ()
},
'eSI' : {
'16' : (),
'32' : (),
'64' : ()
},
'eDI' : {
'16' : (),
'32' : (),
'64' : ()
},
'Eb' : {
'16' : (),
'32' : (),
'64' : ()
},
'Iw_Ib' : {
'16' : (),
'32' : (),
'64' : ()
},
'Mq' : {
'16' : (),
'32' : (),
'64' : ()
},
'Md' : {
'16' : (),
'32' : (),
'64' : ()
},
'ST0_ST0' : {
'16' : (),
'32' : ( "st0, st0", ),
'64' : ()
},
'ST1_ST0' : {
'16' : (),
'32' : (),
'64' : ()
},
'ST2_ST0' : {
'16' : (),
'32' : (),
'64' : ()
},
'ST3_ST0' : {
'16' : (),
'32' : ( "st3, st0", ),
'64' : ()
},
'ST4_ST0' : {
'16' : (),
'32' : (),
'64' : ()
},
'ST5_ST0' : {
'16' : (),
'32' : (),
'64' : ()
},
'ST6_ST0' : {
'16' : (),
'32' : (),
'64' : ()
},
'ST7_ST0' : {
'16' : (),
'32' : (),
'64' : ()
},
'ST0_ST1' : {
'16' : (),
'32' : (),
'64' : ()
},
'ST0_ST2' : {
'16' : (),
'32' : (),
'64' : ()
},
'ST0_ST3' : {
'16' : (),
'32' : (),
'64' : ()
},
'ST0_ST4' : {
'16' : (),
'32' : (),
'64' : ()
},
'ST0_ST5' : {
'16' : (),
'32' : ( "st0, st5", ),
'64' : ()
},
'ST0_ST6' : {
'16' : (),
'32' : (),
'64' : ()
},
'ST0_ST7' : {
'16' : (),
'32' : (),
'64' : ()
},
'Mt' : {
'16' : (),
'32' : (),
'64' : ()
},
'ST0' : {
'16' : (),
'32' : ( "st0", ),
'64' : ( "st1", )
},
'ST1' : {
'16' : (),
'32' : (),
'64' : ()
},
'ST2' : {
'16' : (),
'32' : (),
'64' : ()
},
'ST3' : {
'16' : (),
'32' : (),
'64' : ()
},
'ST4' : {
'16' : (),
'32' : (),
'64' : ()
},
'ST5' : {
'16' : (),
'32' : (),
'64' : ()
},
'ST6' : {
'16' : (),
'32' : (),
'64' : ()
},
'ST7' : {
'16' : (),
'32' : (),
'64' : ()
},
'Mw' : {
'16' : (),
'32' : (),
'64' : ()
},
'AX' : {
'16' : (),
'32' : (),
'64' : ()
},
'eAX_Ib' : {
'16' : (),
'32' : (),
'64' : ()
},
'AL_DX' : {
'16' : (),
'32' : (),
'64' : ()
},
'eAX_DX' : {
'16' : (),
'32' : (),
'64' : ()
},
'Gv_Ev_Iz' : {
'16' : (),
'32' : (),
'64' : ()
},
'Gv_Ev_Ib' : {
'16' : (),
'32' : (),
'64' : ()
},
'Gd_Mo' : {
'16' : (),
'32' : (),
'64' : ()
},
'Gq_Mo' : {
'16' : (),
'32' : (),
'64' : ()
},
'Jb' : {
'16' : (),
'32' : (),
'64' : ()
},
'Gv_Ew' : {
'16' : (),
'32' : (),
'64' : ()
},
'V_M' : {
'16' : (),
'32' : (),
'64' : ()
},
'Gz_M' : {
'16' : (),
'32' : (),
'64' : ()
},
'Ew' : {
'16' : (),
'32' : (),
'64' : ()
},
'P_Q' : {
'16' : (),
'32' : ( "mm0, mm6", "mm1, [edi]" ),
'64' : ( "mm6, mm4", "mm7, [rax+rbx]" )
},
'Ev_S' : {
'16' : (),
'32' : (),
'64' : ()
},
'S_Ev' : {
'16' : (),
'32' : (),
'64' : ()
},
'AL_Ob' : {
'16' : (),
'32' : (),
'64' : ()
},
'rAX_Ov' : {
'16' : (),
'32' : (),
'64' : ()
},
'Ob_AL' : {
'16' : (),
'32' : (),
'64' : ()
},
'Ov_rAX' : {
'16' : (),
'32' : (),
'64' : ()
},
'ALr8b_Ib' : {
'16' : (),
'32' : (),
'64' : ()
},
'CLr9b_Ib' : {
'16' : (),
'32' : (),
'64' : ()
},
'DLr10b_Ib' : {
'16' : (),
'32' : (),
'64' : ()
},
'BLr11b_Ib' : {
'16' : (),
'32' : (),
'64' : ()
},
'AHr12b_Ib' : {
'16' : (),
'32' : (),
'64' : ()
},
'CHr13b_Ib' : {
'16' : (),
'32' : (),
'64' : ()
},
'DHr14b_Ib' : {
'16' : (),
'32' : (),
'64' : ()
},
'BHr15b_Ib' : {
'16' : (),
'32' : (),
'64' : ()
},
'rAXr8_Iv' : {
'16' : (),
'32' : (),
'64' : ()
},
'rCXr9_Iv' : {
'16' : (),
'32' : (),
'64' : ()
},
'rDXr10_Iv' : {
'16' : (),
'32' : (),
'64' : ()
},
'rBXr11_Iv' : {
'16' : (),
'32' : (),
'64' : ()
},
'rSPr12_Iv' : {
'16' : (),
'32' : (),
'64' : ()
},
'rBPr13_Iv' : {
'16' : (),
'32' : (),
'64' : ()
},
'rSIr14_Iv' : {
'16' : (),
'32' : (),
'64' : ()
},
'rDIr15_Iv' : {
'16' : (),
'32' : (),
'64' : ()
},
'R_C' : {
'16' : (),
'32' : (),
'64' : ()
},
'R_D' : {
'16' : (),
'32' : (),
'64' : ()
},
'C_R' : {
'16' : (),
'32' : (),
'64' : ()
},
'D_R' : {
'16' : (),
'32' : (),
'64' : ()
},
'W_V' : {
'16' : ( "xmm3, [bx+si]", ),
'32' : (),
'64' : ( "xmm2, [rax+r8+0x10]", )
},
'P_Ex' : {
'16' : (),
'32' : (),
'64' : ()
},
'Ex_V' : {
'16' : (),
'32' : (),
'64' : ()
},
'Ex_P' : {
'16' : (),
'32' : (),
'64' : ()
},
'P_VR' : {
'16' : (),
'32' : (),
'64' : ()
},
'M_V' : {
'16' : (),
'32' : (),
'64' : ()
},
'Gd_VR' : {
'16' : (),
'32' : (),
'64' : ()
},
'M_Gy' : {
'16' : (),
'32' : (),
'64' : ()
},
'M_P' : {
'16' : (),
'32' : (),
'64' : ()
},
'Q_P' : {
'16' : (),
'32' : (),
'64' : ()
},
'P_PR' : {
'16' : (),
'32' : ( "mm0, mm1", ),
'64' : ()
},
'V_PR' : {
'16' : (),
'32' : (),
'64' : ()
},
'Gv_Eb' : {
'16' : (),
'32' : (),
'64' : ()
},
'Ib_AL' : {
'16' : (),
'32' : (),
'64' : ()
},
'Ib_eAX' : {
'16' : (),
'32' : (),
'64' : ()
},
'DX_AL' : {
'16' : (),
'32' : (),
'64' : ()
},
'DX_eAX' : {
'16' : (),
'32' : (),
'64' : ()
},
'Gd_VR_Ib' : {
'16' : (),
'32' : ( 'eax, xmm0, 0x3', ),
'64' : ( )
},
'Gd_PR_Ib' : {
'16' : (),
'32' : ( 'eax, mm1, 0x9', ),
'64' : ()
},
'P_Ew_Ib' : {
'16' : (),
'32' : (),
'64' : ()
},
'V_Ew_Ib' : {
'16' : (),
'32' : (),
'64' : ()
},
'Gd_PR' : {
'16' : (),
'32' : (),
'64' : ()
},
'ES' : {
'16' : (),
'32' : (),
'64' : ()
},
'SS' : {
'16' : (),
'32' : (),
'64' : ()
},
'DS' : {
'16' : (),
'32' : (),
'64' : ()
},
'GS' : {
'16' : (),
'32' : (),
'64' : ()
},
'FS' : {
'16' : (),
'32' : (),
'64' : ()
},
'P_Q_Ib' : {
'16' : (),
'32' : ( "mm0, mm1, 0xb", ),
'64' : ()
},
'VR_Ib' : {
'16' : (),
'32' : (),
'64' : ()
},
'PR_Ib' : {
'16' : (),
'32' : (),
'64' : ()
},
'CS' : {
'16' : (),
'32' : (),
'64' : ()
},
'Iz' : {
'16' : (),
'32' : (),
'64' : ()
},
'Eb_I1' : {
'16' : (),
'32' : (),
'64' : ()
},
'Eb_CL' : {
'16' : (),
'32' : (),
'64' : ()
},
'Ev_CL' : {
'16' : (),
'32' : (),
'64' : ()
},
'Ev_I1' : {
'16' : (),
'32' : (),
'64' : ()
},
'Iw' : {
'16' : (),
'32' : (),
'64' : ()
},
'Ev_Gv_Ib' : {
'16' : (),
'32' : (),
'64' : ()
},
'Ev_Gv_CL' : {
'16' : (),
'32' : (),
'64' : ()
},
'MwRv' : {
'16' : (),
'32' : (),
'64' : ()
},
'Ed_Gd' : {
'16' : (),
'32' : (),
'64' : ()
},
'Eq_Gq' : {
'16' : (),
'32' : (),
'64' : ()
},
'Gd_Ed' : {
'16' : (),
'32' : (),
'64' : ()
},
'Gq_Eq' : {
'16' : (),
'32' : (),
'64' : ()
},
'rAXr8_rAX' : {
'16' : (),
'32' : (),
'64' : ()
},
'rCXr9_rAX' : {
'16' : (),
'32' : (),
'64' : ()
},
'rDXr10_rAX' : {
'16' : (),
'32' : (),
'64' : ()
},
'rBXr11_rAX' : {
'16' : (),
'32' : (),
'64' : ()
},
'rSPr12_rAX' : {
'16' : (),
'32' : (),
'64' : ()
},
'rBPr13_rAX' : {
'16' : (),
'32' : (),
'64' : ()
},
'rSIr14_rAX' : {
'16' : (),
'32' : (),
'64' : ()
},
'rDIr15_rAX' : {
'16' : (),
'32' : (),
'64' : ()
},
'Ev_V_Ib' : {
'16' : (),
'32' : ( 'dword [eax], xmm0, 0x10', ),
'64' : ()
},
'MbRv_V_Ib' : {
'16' : (),
'32' : ( 'byte [eax], xmm0, 0x10', ),
'64' : ()
},
'MdRy_V_Ib' : {
'16' : (),
'32' : ( 'dword [eax], xmm0, 0x10', ),
'64' : ( 'rax, xmm2, 0x20', )
}
}
| 21.934446
| 95
| 0.139271
| 1,005
| 18,403
| 2.41791
| 0.141294
| 0.258436
| 0.340741
| 0.055967
| 0.128807
| 0.041152
| 0.020576
| 0.020576
| 0.020576
| 0
| 0
| 0.193743
| 0.63006
| 18,403
| 838
| 96
| 21.960621
| 0.16319
| 0
| 0
| 0.530466
| 0
| 0
| 0.152483
| 0
| 0
| 0
| 0.01076
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
e82dcd40f7088fb33bc31e00b5657ecf27e9ff9a
| 250
|
py
|
Python
|
deep_learning_template/__init__.py
|
nathanpainchaud/deep-learning-template
|
32c48bb367cf12957e332afdec0869365294f402
|
[
"MIT"
] | 1
|
2020-12-27T20:13:37.000Z
|
2020-12-27T20:13:37.000Z
|
deep_learning_template/__init__.py
|
nathanpainchaud/deep-learning-template
|
32c48bb367cf12957e332afdec0869365294f402
|
[
"MIT"
] | null | null | null |
deep_learning_template/__init__.py
|
nathanpainchaud/deep-learning-template
|
32c48bb367cf12957e332afdec0869365294f402
|
[
"MIT"
] | null | null | null |
__version__ = "0.1.0"
from deep_learning_template import datamodules, models, tasks
from deep_learning_template.core import BaseDataModule, BaseModel, BaseTask
__all__ = ["BaseDataModule", "BaseModel", "BaseTask", "datamodules", "models", "tasks"]
| 35.714286
| 87
| 0.78
| 28
| 250
| 6.535714
| 0.571429
| 0.087432
| 0.174863
| 0.262295
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.013333
| 0.1
| 250
| 6
| 88
| 41.666667
| 0.8
| 0
| 0
| 0
| 0
| 0
| 0.232
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
e82ddc4f89ae64aa13b94988a2193b63715768ac
| 56,231
|
py
|
Python
|
Project/Jobs_DB_Project/Code/Yahoo_Finance_Omniscript.py
|
nikbearbrown/INFO_6210
|
39e9dbaba0777e624af88ed045161fcf8a5d3dec
|
[
"MIT"
] | 20
|
2019-01-08T17:32:01.000Z
|
2021-12-05T09:44:13.000Z
|
Project/Jobs_DB_Project/Code/Yahoo_Finance_Omniscript.py
|
nikbearbrown/INFO_6210
|
39e9dbaba0777e624af88ed045161fcf8a5d3dec
|
[
"MIT"
] | null | null | null |
Project/Jobs_DB_Project/Code/Yahoo_Finance_Omniscript.py
|
nikbearbrown/INFO_6210
|
39e9dbaba0777e624af88ed045161fcf8a5d3dec
|
[
"MIT"
] | 14
|
2019-01-19T05:05:33.000Z
|
2021-12-05T09:44:15.000Z
|
#Copyright (c) <2015> <Peter Lu>
#Permission is hereby granted, free of charge, to any person obtaining a copy
#of this software and associated documentation files (the "Software"), to deal
#in the Software without restriction, including without limitation the rights
#to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
#copies of the Software, and to permit persons to whom the Software is
#furnished to do so, subject to the following conditions:
#The above copyright notice and this permission notice shall be included in
#all copies or substantial portions of the Software.
#THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
#IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
#FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
#AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
#LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
#OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
#THE SOFTWARE.
import bs4, os, MySQLdb, re, urllib, traceback
from bs4 import BeautifulSoup
from bs4 import BeautifulSoup as bs
symbolslist = ['TFSC', 'TFSCR', 'TFSCU', 'TFSCW', 'PIH', 'FLWS', 'FCTY', 'FCCY', 'SRCE', 'VNET', 'TWOU', 'DGLD', 'JOBS', 'SIXD', 'EGHT', 'AVHI', 'SHLM', 'AAON', 'ABAX', 'ABY', 'ABGB', 'ABMD', 'AXAS', 'ACTG', 'ACHC', 'ACAD', 'ACST', 'AXDX', 'XLRN', 'ANCX', 'ARAY', 'ACRX', 'ACET', 'AKAO', 'ACHN', 'ACIW', 'ACNB', 'ACOR', 'ACFN', 'ACTS', 'ACPW', 'ATVI', 'ACTA', 'ACUR', 'ACXM', 'ADMS', 'ADMP', 'ADUS', 'AEY', 'ADEP', 'ADMA', 'ADBE', 'ADTN', 'AEIS', 'AMD', 'ADXS', 'ADXSW', 'ADVS', 'MULT', 'YPRO', 'AEGR', 'AEGN', 'AEHR', 'AMTX', 'AEPI', 'AERI', 'AVAV', 'AEZS', 'AFMD', 'AFFX', 'AGEN', 'AGRX', 'AGYS', 'AGIO', 'AIRM', 'AIRT', 'ATSG', 'AMCN', 'AIXG', 'AKAM', 'AKBA', 'AKER', 'AKRX', 'ALSK', 'AMRI', 'ABDC', 'ADHD', 'ALDR', 'ALDX', 'ALXN', 'ALXA', 'ALCO', 'ALGN', 'ALIM', 'ALKS', 'ALGT', 'ALLB', 'AFOP', 'AIQ', 'AHGP', 'ARLP', 'AHPI', 'AMOT', 'ALQA', 'ALLT', 'MDRX', 'AFAM', 'ALNY', 'AOSL', 'ATEC', 'ALTR', 'ASPS', 'AIMC', 'AMAG', 'AMRN', 'AMRK', 'AMZN', 'AMBC', 'AMBCW', 'AMBA', 'EPAX', 'AMCX', 'DOX', 'AMDA', 'AMED', 'UHAL', 'ASBI', 'ATAX', 'AMOV', 'AAL', 'AGNC', 'AGNCB', 'AGNCP', 'MTGE', 'MTGEP', 'ACSF', 'ACAS', 'ANCI', 'AETI', 'AMIC', 'AMNB', 'ANAT', 'APEI', 'ARII', 'ARCP', 'ARCPP', 'AMRB', 'ASEI', 'AMSWA', 'AMSC', 'AMWD', 'CRMT', 'ABCB', 'AMSF', 'ASRV', 'ASRVP', 'ATLO', 'AMGN', 'FOLD', 'AMKR', 'AMPH', 'AMSG', 'AMSGP', 'ASYS', 'AFSI', 'AMRS', 'ANAC', 'ANAD', 'ADI', 'ALOG', 'ANCB', 'ABCW', 'AMCF', 'ANGI', 'ANGO', 'ANIP', 'ANIK', 'ANSS', 'ATRS', 'ANTH', 'ABAC', 'ATNY', 'APOG', 'APOL', 'AINV', 'AAPL', 'ARCI', 'APDN', 'APDNW', 'AGTC', 'AMAT', 'AMCC', 'AAOI', 'AREX', 'APRI', 'APTO', 'AQXP', 'AUMA', 'AUMAU', 'AUMAW', 'ARDM', 'PETX', 'ARCW', 'ABIO', 'ARCB', 'ACGL', 'ACAT', 'ARDX', 'ARNA', 'ARCC', 'AGII', 'AGIIL', 'ARGS', 'ARIS', 'ARIA', 'ARKR', 'ARMH', 'ARTX', 'ARQL', 'ARRY', 'ARRS', 'DWAT', 'AROW', 'ARWR', 'ARTNA', 'ARTW', 'ARUN', 'PUMP', 'ASBB', 'ASNA', 'ASND', 'ASCMA', 'ASTI', 'APWC', 'ASMI', 'ASML', 'AZPN', 'ASMB', 'ASFI', 'ASTE', 'ALOT', 'ATRO', 'ASTC', 'ASUR', 'ATAI', 'ATRA', 'ATHN', 'AFCB', 'ATHX', 'AAME', 'ACFC', 'ATNI', 'ATLC', 'AAWW', 'AFH', 'ATML', 'ATOS', 'ATRC', 'ATRI', 'ATRM', 'ATTU', 'AUBN', 'ADNC', 'AUDC', 'AUPH', 'EARS', 'ASPX', 'ADAT', 'ABTL', 'ADSK', 'ADP', 'AVGO', 'AAVL', 'AVNU', 'AVEO', 'AVNW', 'AVID', 'AVGR', 'CAR', 'AWRE', 'ACLS', 'AXPW', 'AXPWW', 'AXGN', 'AXTI', 'BCOM', 'BOSC', 'BEAV', 'BIDU', 'BCPC', 'BWINA', 'BWINB', 'BLDP', 'BANF', 'BANFP', 'BKMU', 'BOCH', 'BMRC', 'BKSC', 'BOTJ', 'OZRK', 'BFIN', 'BWFG', 'BANR', 'TAPR', 'BHAC', 'BHACR', 'BHACU', 'BHACW', 'BBSI', 'BSET', 'BYBK', 'BYLK', 'BV', 'BBCN', 'BCBP', 'BDCV', 'BECN', 'BSF', 'BBGI', 'BEBE', 'BBBY', 'BELFA', 'BELFB', 'BLPH', 'BLCM', 'BNCL', 'BNFT', 'BGMD', 'BGCP', 'BGFV', 'BIND', 'ORPN', 'BASI', 'BIOC', 'BCRX', 'BIOD', 'BDSI', 'BIIB', 'BIOL', 'BLFS', 'BLRX', 'BMRN', 'BPTH', 'BRLI', 'BIOS', 'BBC', 'BBP', 'BSTC', 'BSPM', 'BOTA', 'TECH', 'BEAT', 'BDMS', 'BJRI', 'BBOX', 'BDE', 'BLKB', 'BBRY', 'HAWK', 'HAWKB', 'BKCC', 'ADRA', 'ADRD', 'ADRE', 'ADRU', 'BLMN', 'BCOR', 'BLBD', 'BLBDW', 'BBLU', 'BHBK', 'NILE', 'BLUE', 'BKEP', 'BKEPP', 'BNCN', 'BOBE', 'BOFI', 'WIFI', 'BOKF', 'BONA', 'BNSO', 'BAMM', 'BRDR', 'BPFH', 'BPFHP', 'BPFHW', 'EPAY', 'BDBD', 'BLVD', 'BLVDU', 'BLVDW', 'BCLI', 'BBRG', 'BBEP', 'BBEPP', 'BDGE', 'BBNK', 'BLIN ', 'BRID', 'BCOV', 'BRCM', 'BSFT', 'BVSN', 'BYFC', 'BWEN', 'BRCD', 'BRKL', 'BRKS', 'BRKR', 'BMTC', 'BLMT', 'BSQR', 'BWLD', 'BLDR', 'BUR', 'CFFI', 'CHRW', 'CA', 'CCMP', 'CDNS', 'CDZI', 'CACQ', 'CZR', 'CSTE', 'PRSS', 'CLMS', 'CHY', 'CHI', 'CCD', 'CFGE', 'CHW', 'CGO', 'CSQ', 'CAMP', 'CVGW', 'CFNB', 'CALA', 'CALD', 'CALM', 'CLMT', 'ABCD', 'CAMB', 'CAMBU', 'CAMBW', 'CAC', 'CAMT', 'CSIQ', 'CGIX', 'CPHC', 'CBNJ', 'CPLA', 'CBF', 'CCBG', 'CPLP', 'CSWC', 'CPTA', 'CLAC', 'CLACU', 'CLACW', 'CFFN', 'CAPN', 'CAPNW', 'CAPR', 'CPST', 'CARA', 'CARB', 'CRDC', 'CFNL', 'CRME', 'CSII', 'CATM', 'CDNA', 'CECO', 'CTRE', 'CKEC', 'CLBH', 'CARO', 'CART', 'CRZO', 'TAST', 'CRTN', 'CARV', 'CASM', 'CACB', 'CSCD', 'CWST', 'CASY', 'CASI', 'CASS', 'CPRX', 'CTRX', 'CATY', 'CATYW', 'CVCO', 'CAVM', 'CBFV', 'CNLM', 'CNLMR', 'CNLMU', 'CNLMW', 'CBDE', 'CBOE', 'CDK', 'CDW', 'CECE', 'CPXX', 'CELG', 'CELGZ', 'CLDN', 'CLDX', 'CLRB', 'CLRBW', 'CLLS', 'CBMG', 'ICEL', 'CLSN', 'CLTX', 'CEMP', 'CSFL', 'CETV', 'CFBK', 'CENT', 'CENTA', 'CVCY', 'CENX', 'CNBKA', 'CNTY', 'CPHD', 'CRNT', 'CERE', 'CERN', 'CERU', 'CERS', 'KOOL', 'CEVA', 'CYOU', 'HOTR', 'HOTRW', 'CTHR', 'GTLS', 'CHTR', 'CHFN', 'CHKP', 'CHEK', 'CHEKW', 'CEMI', 'CHFC', 'CCXI', 'CHMG', 'CHKE', 'CHEV', 'CBNK', 'PLCE', 'CMRX', 'CADC', 'CALI', 'CAAS', 'CBAK', 'CBPO', 'CCCL', 'CCCR', 'JRJC', 'CHOP', 'HGSH', 'CHLN', 'CNIT', 'CJJD', 'HTHT', 'CMGE', 'CHNR', 'CREG', 'CPGI', 'CSUN', 'CNTF', 'CXDC', 'CNYD', 'CCIH', 'CNET', 'IMOS', 'CHSCL', 'CHSCM', 'CHSCN', 'CHSCO', 'CHSCP', 'CHDN', 'CHUY', 'CIFC', 'CMCT', 'CMPR', 'CINF', 'CIDM', 'CTAS', 'CPHR', 'CRUS', 'CISAW', 'CSCO', 'CTRN', 'CZNC', 'CZWI', 'CZFC', 'CIZN', 'CTXS', 'CHCO', 'CDTI', 'CLNE', 'CLNT', 'CLFD', 'CLRO', 'CLIR', 'CBLI', 'CKSW', 'CSBK', 'CLVS', 'CMFN', 'CME', 'CMSB', 'CCNE', 'CISG', 'CNV', 'CWAY', 'COBZ', 'COKE', 'CDXS', 'CVLY', 'JVA', 'CCOI', 'CGNX', 'CTSH', 'COHR', 'CHRS', 'COHU', 'CLRX', 'CLCT', 'COBK', 'CBAN', 'COLB', 'CBRX', 'COLM', 'CMCO', 'CBMX', 'CMCSA', 'CMCSK', 'CBSH', 'CBSHP', 'CVGI', 'COMM', 'JCS', 'CBIN', 'ESXB', 'CYHHZ', 'CTBI', 'CWBC', 'COB', 'CVLT', 'CIZ', 'CDC', 'CSF', 'CFO', 'CFA', 'CGEN', 'CPSI', 'CTG', 'SCOR', 'CHCI', 'CMTL', 'CNSI', 'CNAT', 'CNCE', 'CCUR', 'CNMD', 'CTWS', 'CNOB', 'CNXR', 'CONN', 'CNSL', 'CWCO', 'CTCT', 'CPSS', 'CFRX', 'CFRXW', 'CFRXZ', 'CTRV', 'CTRL', 'CPRT', 'CORT', 'BVA', 'CORE', 'CORI', 'CSOD', 'CNDO', 'CRVL', 'COSI', 'CSGP', 'COST', 'CPAH', 'ICBK', 'CRRC', 'CVTI', 'COVS', 'COWN', 'COWNL', 'CPSH', 'CRAI', 'CBRL', 'BREW', 'CRAY', 'CACC', 'GLDI', 'SLVO', 'CREE', 'CRESW', 'CRESY', 'CRTO', 'CROX', 'CCRN', 'CRDS', 'CRWS', 'CRWN', 'CSGS', 'CCLP', 'CSPI', 'CSRE', 'CTCM', 'CTIC', 'CTIB', 'CTRP', 'CUNB', 'CUI', 'CPIX', 'CMLS', 'CRIS', 'CUTR', 'CVBF', 'CVV', 'CYAN', 'CYBR', 'CYBX', 'CYBE', 'CYCC', 'CYCCP', 'CBAY', 'CYNO', 'CY', 'CYRN', 'CONE', 'CYTK', 'CYTX', 'CTSO', 'CYTR', 'DAEG', 'DJCO', 'DAKT', 'DARA', 'DAIO', 'DTLK', 'DRAM', 'DWCH', 'PLAY', 'DWSN', 'DBVT', 'TRAK', 'DHRM', 'DFRG', 'DCTH', 'DGAS', 'DENN', 'XRAY', 'DEPO', 'DSCI', 'DERM', 'DEST', 'DXLG', 'DSWL', 'DXM', 'DXCM', 'DMND', 'DHIL', 'FANG', 'DCIX', 'DRNA', 'DGII', 'DMRC', 'DRAD', 'DGLY', 'APPS', 'DCOM', 'DIOD', 'DPRX', 'DTV', 'DISCA', 'DISCB', 'DISCK', 'DSCO', 'DISH', 'DVCR', 'BAGR', 'DLHC', 'DNBF', 'DLTR', 'DGICA', 'DGICB', 'DMLP', 'DORM', 'HILL', 'DOVR', 'DRWI', 'DRWIW', 'DWA', 'DRYS', 'DSKX', 'DSPG', 'CADT', 'CADTR', 'CADTU', 'CADTW', 'DTSI', 'DNKN', 'DRRX', 'DXPE', 'DYAX', 'BOOM', 'DYSL', 'DYNT', 'DVAX', 'ETFC', 'EBMT', 'EGBN', 'EGLE', 'EGRX', 'EROC', 'ELNK', 'EWBC', 'EML', 'EVBS', 'EBAY', 'EBIX', 'ELON', 'ECHO', 'ECTE', 'SATS', 'EEI', 'EDAP', 'EDGW', 'EDUC', 'EFUT', 'EGAN', 'EGLT', 'EHTH', 'LOCO', 'EMITF', 'ESLT', 'ERI', 'ELRC', 'ESIO', 'EA', 'EFII', 'ELSE', 'EBIO', 'RDEN', 'ESBK', 'LONG', 'ELTK', 'EMCI', 'EMCF', 'EMKR', 'EMMS', 'EMMSP', 'NYNY', 'ERS', 'ENTA', 'ECPG', 'WIRE', 'ENDP', 'ECYT', 'ELGX', 'EIGI', 'WATT', 'EFOI', 'ERII', 'EXXI', 'ENOC', 'ENG', 'ENPH', 'ESGR', 'ENFC', 'ENTG', 'ENTL', 'ETRM', 'EBTC', 'EFSC', 'EGT', 'ENTR', 'ENVI', 'ENZN', 'ENZY ', 'EPIQ', 'EPRS', 'EPZM', 'PLUS', 'EQIX', 'EAC ', 'ERIC', 'ERIE', 'ESCA', 'ESCR', 'ESCRP', 'ESMC', 'ESPR', 'ESSA', 'ESSX', 'CLWT', 'EEFT', 'ESEA', 'EVEP', 'EVK', 'EVRY', 'EVLV', 'EVOK', 'EVOL', 'EXA', 'EXAS', 'EXAC', 'EDS', 'EXEL', 'EXFO', 'EXLS', 'EXPE', 'EXPD', 'EXPO', 'ESRX', 'EXLP', 'EXTR', 'EZCH', 'EZPW', 'FFIV', 'FB', 'FCS', 'FRP', 'FWM', 'FALC', 'DAVE', 'FARM', 'FFKT', 'FMNB', 'FARO', 'FAST', 'FATE', 'FBSS', 'FBRC', 'FDML', 'FNHC', 'FEIC', 'FHCO', 'FCSC', 'FGEN', 'ONEQ', 'LION', 'FDUS', 'FRGI', 'FSAM', 'FSC', 'FSCFL', 'FSFR', 'FITB', 'FITBI', 'FNGN', 'FISI', 'FNSR', 'FNJN', 'FNTCU', 'FEYE', 'FBNC', 'FNLC', 'FRBA', 'BUSE', 'FBIZ', 'FCVA', 'FCAP', 'FCFS', 'FCZA', 'FCZAP', 'FCNCA', 'FCLF', 'FCBC', 'FCCO', 'FBNK', 'FDEF', 'FFNM', 'FFBC', 'FFBCW', 'FFIN', 'THFF', 'FFNW', 'FFWM', 'INBK', 'FIBK', 'FRME', 'FMBH', 'FMBI', 'FNBC', 'FNFG', 'FNWB', 'FSFG', 'FSGI', 'FSLR', 'FSBK', 'BICK', 'FTCS', 'FV', 'IFV', 'FEMB', 'FTSM', 'FEUZ', 'TDIV', 'MDIV', 'FTGC', 'FTHI', 'HYLS', 'FPXI', 'YDIV', 'SKYY', 'CU', 'PLTM', 'FTLB', 'LMBS', 'FMB', 'QABA', 'FONE', 'QCLN', 'GRID', 'CARZ', 'RDVY', 'QQEW', 'QQXT', 'QTEC', 'AIRR', 'QINC', 'FTSL', 'FDIV', 'TUSA', 'FUNC', 'SVVC', 'FMER', 'FSRV', 'FISV', 'FIVE', 'FPRX', 'FIVN', 'FLML', 'FLKS', 'FLXN', 'SKOR', 'MBSD', 'FLXS', 'FLEX', 'FLIR', 'FLDM', 'FFIC', 'FOMX', 'FONR', 'FES', 'FNRG', 'FORM', 'FORTY', 'FORR', 'FTNT', 'FWRD', 'FORD', 'FWP', 'FOSL', 'FMI', 'FXCB', 'FOXF', 'FRAN', 'FELE', 'FRED', 'FREE', 'RAIL', 'FEIM', 'FRPT', 'FTR', 'FRPH', 'FSBW', 'FTD', 'FSYS', 'FTEK', 'FCEL', 'FULL', 'FULLL', 'FLL', 'FULT', 'FSNN', 'FFHL', 'FXEN', 'FXENP', 'GK', 'WILC', 'GAIA', 'GALT', 'GALTU', 'GALTW', 'GALE', 'GLMD', 'GLPI', 'GPIC', 'GRMN', 'GGAC', 'GGACR', 'GGACU', 'GGACW', 'GARS', 'GKNT', 'GENC', 'GNCMA', 'GFN', 'GFNCP', 'GFNSL', 'GENE', 'GNMK', 'GNCA', 'GHDX', 'GNTX', 'THRM', 'GNVC', 'GTWN', 'GEOS', 'GABC', 'GERN', 'GEVO', 'ROCK', 'GIGM', 'GIGA', 'GIII', 'GILT', 'GILD', 'GBCI', 'GLAD', 'GLADO', 'GOOD', 'GOODN', 'GOODO', 'GOODP', 'GAIN', 'GAINO', 'GAINP', 'LAND', 'GLBZ', 'GDEF', 'ENT', 'GBLI', 'GSOL', 'QQQC', 'SOCL', 'SRET', 'GAI', 'GSM', 'GBIM', 'GLBS', 'GLRI', 'GLUU', 'GLYC', 'GOGO', 'GLNG', 'GMLP', 'GLDC', 'GBDC', 'GTIM', 'GOOG', 'GOOGL', 'GPRO', 'GMAN', 'LOPE', 'GRVY', 'GBSN', 'GBSNU', 'GLDD', 'GSBC', 'GNBC', 'GRBK', 'GPRE', 'GCBC', 'GLRE', 'GRIF', 'GRFS', 'GRPN', 'OMAB', 'GGAL', 'GSIG', 'GSIT', 'GSVC', 'GTXI', 'GBNK', 'GFED', 'GUID', 'GULTU', 'GIFI', 'GURE', 'GPOR', 'GWPH', 'GWGH', 'GYRO', 'HEES', 'HNRG', 'HALL', 'HALO', 'HBK', 'HBNK', 'HMPR', 'HBHC', 'HBHCL', 'HNH', 'HAFC', 'HNSN', 'HQCL', 'HDNG', 'HLIT', 'HRMNU', 'TINY', 'HART ', 'HBIO', 'HCAP', 'HCAPL', 'HAS', 'HA', 'HCOM', 'HWKN', 'HWBK', 'HAYN', 'HDS', 'HIIQ', 'HCSG', 'HQY', 'HSTM', 'HWAY', 'HTLD', 'HTLF', 'HTWR', 'HTBX', 'HSII', 'HELE', 'HMNY', 'HMTV', 'HNNA', 'HSIC', 'HERO', 'HTBK', 'HFWA', 'HBOS', 'HEOP', 'HCCI', 'MLHR', 'HRTX', 'HSKA', 'HFFC', 'HIBB', 'HPJ', 'HIHO', 'HIMX', 'HIFS', 'HSGX', 'HMNF', 'HMSY', 'HOLI', 'HOLX', 'HBCP', 'HOMB', 'HFBL', 'HLSS', 'AWAY', 'HMIN', 'HMST', 'HTBI', 'HKTV', 'HOFT', 'HFBC', 'HBNC', 'HZNP', 'HRZN', 'ZINC', 'HDP', 'HMHC', 'HWCC', 'HOVNP', 'HBMD', 'HSNI', 'HUBG', 'HCBK', 'HSON', 'HDSN', 'HBAN', 'HBANP', 'HURC', 'HURN', 'HTCH', 'HBP', 'HDRA', 'HDRAR', 'HDRAU', 'HDRAW', 'HYGS', 'HPTX', 'IDSY', 'IACI', 'IKGH', 'IBKC', 'ICAD', 'IEP', 'ICFI', 'ICLR', 'ICON', 'ICUI', 'IPWR', 'INVE', 'IDRA', 'IDXX', 'DSKY', 'IROQ', 'IGTE', 'IRG', 'RXDX', 'IIVI', 'KANG', 'IKAN', 'IKNX', 'ILMN', 'ISNS', 'IMMR', 'ICCC', 'IMDZ', 'IMNP ', 'IMGN', 'IMMU', 'IPXL', 'IMMY', 'IMRS', 'INCR', 'SAAS', 'INCY', 'INDB', 'IBCP', 'IBTX', 'IDSA', 'INFN', 'INFI', 'IPCC', 'INFA', 'III', 'IFON', 'IMKTA', 'INWK', 'INNL', 'INOD', 'IPHS', 'IOSP', 'ISSC', 'INGN', 'ITEK', 'INOV', 'INO', 'NSIT', 'ISIG', 'INSM', 'IIIN', 'PODD', 'INSY', 'IART', 'IDTI', 'IESC', 'ISSI', 'INTC', 'IQNT', 'IPCI', 'IPAR', 'IBKR', 'ININ', 'ICPT', 'ICLD', 'ICLDW', 'IDCC', 'TILE', 'IMI', 'INAP', 'IBOC', 'ISCA', 'IGLD', 'IIJI', 'PTNT', 'INPH', 'XENT', 'INTX', 'ISIL', 'IILG', 'IVAC', 'INTL', 'INTLL', 'ITCI', 'IIN', 'INTU', 'ISRG', 'INVT', 'SNAK', 'ISTR', 'ISBC', 'ITIC', 'IPAS', 'DTYS', 'DTYL', 'DTUS', 'DTUL', 'DFVS', 'DFVL', 'FLAT', 'DLBS', 'DLBL', 'STPP', 'IPCM', 'IPGP', 'IRMD', 'IRIX', 'IRDM', 'IRDMB', 'IRBT', 'IRWD', 'IRCP', 'COMT', 'GNMA', 'FCHI', 'IFAS', 'IFEU', 'IFGL', 'IFNA', 'ACWX', 'ACWI', 'AAXJ', 'AXJS', 'AAIT', 'EEMA', 'EMDI', 'EEME', 'EMEY', 'EGRW', 'EEML', 'EVAL', 'EUFN', 'IEUS', 'QAT', 'UAE', 'IBB', 'SOXX', 'EMIF', 'ICLN', 'WOOD', 'INDY', 'ISHG', 'IGOV', 'ISIS', 'ISLE', 'ISRL', 'ITRI', 'ITRN', 'XXIA', 'IXYS', 'JJSF', 'MAYS', 'JBHT', 'JCOM', 'JASO', 'JKHY', 'JACK', 'JXSB', 'JAXB', 'JAKK', 'JMBA', 'JRVR', 'ERW', 'JASN', 'JASNW', 'JAZZ', 'JD', 'JDSU', 'JBLU', 'JTPY', 'JCTCF', 'DATE', 'JST', 'JIVE', 'JOEZ', 'JBSS', 'JOUT', 'JUNO', 'KTWO', 'KALU', 'KBIO', 'KMDA', 'KNDI', 'KCLI', 'KPTI', 'KBSF', 'KCAP', 'KRNY', 'KELYA', 'KELYB', 'KFFB', 'KERX', 'GMCR', 'KEQU', 'KTEC', 'KTCC', 'KFRC', 'KE', 'KBAL', 'KIN', 'KGJI', 'KINS', 'KONE', 'KIRK', 'KITE', 'KLAC', 'KLXI', 'KFX', 'KONA', 'KZ', 'KOPN', 'KOSS', 'KRFT', 'KWEB', 'KTOS', 'KUTV', 'KLIC', 'KVHI', 'KYTH', 'FSTR', 'LJPC', 'LSBK', 'LBAI', 'LKFN', 'LAKE', 'LACO', 'LRCX', 'LAMR', 'LANC', 'LNDC', 'LARK', 'LMRK', 'LE', 'LSTR', 'LTRX', 'LPSB', 'LSCC', 'LAWS', 'LAYN', 'LCNB', 'LDRH', 'LBIX', 'LTRE', 'LGCY', 'LGCYO', 'LGCYP', 'LTXB', 'LMAT', 'TREE', 'LEVY', 'LEVYU', 'LEVYW', 'LXRX', 'LGIH', 'LHCG', 'LBRDA', 'LBRDK', 'LBTYA', 'LBTYB', 'LBTYK', 'LVNTA', 'LVNTB', 'QVCA', 'QVCB', 'LMCA', 'LMCB', 'LMCK', 'TAX', 'LTRPA', 'LTRPB', 'LPNT', 'LCUT', 'LFVN', 'LWAY', 'LGND', 'LTBR', 'LPTH', 'LLEX', 'LIME', 'LLNW', 'LMNR', 'LINC', 'LECO', 'LLTC', 'LNCO', 'LINE', 'LBIO', 'LIOX', 'LPCN', 'LIQD', 'LQDT', 'LFUS', 'LIVE', 'LPSN', 'LKQ', 'LMIA', 'LNBB', 'LOCM', 'LOGI', 'LOGM', 'LOJN', 'EVAR', 'LOOK', 'LORL', 'LABC', 'LOXO', 'LPTN', 'LPLA', 'LRAD', 'LYTS', 'LULU', 'LMNS', 'LMNX', 'LMOS', 'LUNA', 'MBTF', 'MTSI', 'MCBC', 'MFNC', 'MCUR', 'MGNX', 'MCBK', 'MAGS', 'MGLN', 'MPET', 'MGIC', 'CALL', 'MNGA', 'MAG', 'MGYR', 'MHLD', 'MHLDO', 'MSFG', 'COOL', 'MMYT', 'MBUU', 'MLVF', 'MAMS', 'MANH', 'LOAN', 'MNTX', 'MTEX', 'MNKD', 'MANT', 'MARA', 'MCHX', 'MARPS', 'MRNS', 'MKTX', 'MKTO', 'MRKT', 'MRLN', 'FISH', 'MAR', 'MBII', 'MRTN', 'MMLP', 'MRVL', 'MASI', 'MTLS', 'MTRX', 'MAT', 'MATR', 'MATW', 'MFRM', 'MTSN', 'MXIM', 'MXWL', 'MZOR', 'MBFI', 'MBFIP', 'MCGC', 'MGRC', 'MDCA', 'MCOX', 'TAXI', 'MDAS', 'MTBC', 'MNOV', 'MDSO', 'MDVN', 'MDWD', 'MDVX', 'MDVXW', 'MEET', 'MEIP', 'MELA', 'MPEL', 'MLNX', 'MELR', 'MEMP', 'MRD', 'MENT', 'MTSL', 'MELI', 'MBWM', 'MERC', 'MBVT', 'MRCY', 'MRGE', 'EBSB', 'VIVO', 'MMSI', 'MACK', 'MERU', 'MSLI', 'MLAB', 'CASH', 'MBLX', 'MEOH', 'MEIL', 'MEILW', 'MEILZ', 'METR', 'MFRI', 'MGCD', 'MGEE', 'MGPI', 'MCRL', 'MCHP', 'MU', 'MICT', 'MICTW', 'MSCC', 'MSFT', 'MSTR', 'MVIS', 'MPB', 'MCEP', 'MBRG', 'MBCN', 'MSEX', 'MOFG', 'MDXG', 'MNDO', 'NERV', 'MRTX', 'MSON', 'MIND', 'MITK', 'MITL', 'MKSI', 'MMAC', 'MINI', 'MOBL', 'MOCO', 'MDSY', 'MLNK', 'MOKO', 'MOLG', 'MNTA', 'MOMO', 'MCRI', 'MNRK', 'MDLZ', 'MGI', 'MPWR', 'TYPE', 'MNRO', 'MRCC', 'MNST', 'MHGC', 'MORN', 'MOSY', 'MPAA', 'MDM', 'MRVC', 'MSBF', 'MTSC', 'LABL', 'MFLX', 'MFSF', 'MYL', 'MYOS', 'MYRG', 'MYGN', 'NANO', 'NSPH', 'NSTG', 'NSSC', 'NATH', 'NAUH', 'NKSH', 'FIZZ', 'NCMI', 'NCOM', 'NGHC', 'NGHCO', 'NGHCP', 'NHLD', 'NATI', 'NATL', 'NPBC', 'NRCIA', 'NRCIB', 'NSEC', 'NWLI', 'NAII', 'NHTC', 'NATR', 'BABY', 'NVSL', 'NAVI', 'NBTB', 'NCIT', 'NKTR', 'NEOG', 'NEO', 'NEON', 'NBS', 'NEOT', 'NVCN', 'NRX', 'NEPT', 'UEPS', 'NETE', 'NTAP', 'NTES', 'NFLX', 'NTGR', 'NLST', 'NTCT', 'NTWK', 'NBIX', 'NDRM', 'NURO', 'NHTB', 'NYMT', 'NYMTP', 'NBBC', 'NLNK', 'NEWP', 'NWS', 'NWSA', 'NEWS', 'NEWT', 'NXST', 'NVET', 'NFEC', 'EGOV', 'NICE', 'NICK', 'NMIH', 'NNBR', 'NDLS', 'NDSN', 'NSYS', 'NTK', 'NBN', 'NECB', 'NTIC', 'NTRS', 'NTRSP', 'NFBK', 'NRIM', 'NWBI', 'NWBO', 'NWBOW', 'NWPX', 'NCLH', 'NWFL', 'NVFY', 'NVMI', 'NVDQ', 'MIFI', 'NVAX', 'NVGN', 'NTLS', 'NUAN', 'NMRX', 'NUTR', 'NTRI', 'NUVA', 'QQQX', 'NVEE', 'NVEC', 'NVDA', 'NXPI', 'NXTM', 'NXTD', 'NXTDW', 'NYMX', 'OIIM', 'OVLY', 'OCAT', 'OBCI', 'OPTT', 'ORIG', 'OSHC', 'OCFC', 'OCRX', 'OCLR', 'OFED', 'OCUL', 'OCLS', 'OCLSW', 'OMEX', 'ODP', 'OFS', 'OHAI', 'OVBC', 'OHRP', 'ODFL', 'OLBK', 'ONB', 'OPOF', 'OSBC', 'OSBCP', 'ZEUS', 'OFLX', 'OMER', 'OMCL', 'OVTI', 'ONNN', 'OTIV', 'OGXI', 'ONCY', 'OMED', 'ONTX', 'ONTY', 'OHGI', 'ONFC', 'ONVI', 'OTEX', 'OPXA', 'OPHT', 'OBAS', 'OCC', 'OPHC', 'OPB', 'ORMP', 'OSUR', 'ORBC', 'ORBK', 'ORLY', 'OREX', 'SEED', 'ORIT', 'ORRF', 'OFIX', 'OSIS', 'OSIR', 'OSN', 'OTEL', 'OTIC', 'OTTR', 'OUTR', 'OVAS', 'OSTK', 'OXBR', 'OXBRW', 'OXFD', 'OXLC', 'OXLCN', 'OXLCO', 'OXLCP', 'OXGN', 'PFIN', 'PTSI', 'PCAR', 'PACB', 'PCBK', 'PDVW', 'PEIX', 'PMBC', 'PPBI', 'PSUN', 'PCRX', 'PACW', 'PTIE', 'PLMT', 'PAAS', 'PNRA', 'PANL', 'PZZA', 'FRSH', 'PRGN', 'PRGNL', 'PRTK', 'PRXL', 'PCYG', 'PSTB', 'PKBK', 'PRKR', 'PKOH', 'PARN', 'PTNR', 'PBHC', 'PATK', 'PNBK', 'PATI', 'PEGI', 'PDCO', 'PTEN', 'PAYX', 'PCTY', 'PCCC', 'PCMI', 'PCTI', 'PDCE', 'PDFS', 'PDII', 'PDLI', 'SKIS', 'PGC', 'PEGA', 'PCO', 'PENN', 'PFLT', 'PNNT', 'PWOD', 'PEBO', 'PEBK', 'PFBX', 'PFIS', 'PBCT', 'PRCP', 'PPHM', 'PPHMP', 'PWRD', 'PRFT', 'PFMT', 'PERF', 'PSEM', 'PERI', 'PESI', 'PTX', 'PERY', 'PRSN', 'PETS', 'PFSW', 'PGTI', 'PCYC', 'PHII', 'PHIIK', 'PAHC', 'PHMD', 'PLAB', 'PICO', 'PPC', 'PME', 'PNFP', 'PPSI', 'PXLW', 'PLNR', 'PLPM', 'PTBI', 'PTBIW', 'PLXS', 'PLUG', 'PLBC', 'PSTI', 'PMCS', 'PMFG', 'PBSK', 'PNTR', 'PCOM', 'PBCP', 'PLCM', 'POOL', 'POPE', 'PLKI', 'BPOP', 'BPOPM', 'BPOPN', 'PBIB', 'PTLA', 'PSTR', 'PBPB', 'PCH', 'POWL', 'POWI', 'PSIX', 'PDBC', 'PRFZ', 'PAGG', 'PSAU', 'IPKW', 'LDRI', 'LALT', 'PNQI', 'QQQ', 'PSCD', 'PSCC', 'PSCE', 'PSCF', 'PSCH', 'PSCI', 'PSCT', 'PSCM', 'PSCU', 'POZN', 'PRAA', 'PRAH', 'PRAN', 'PFBC', 'PLPC', 'PRXI', 'PFBI', 'PINC', 'LENS', 'PRGX', 'PSMT', 'PBMD', 'PNRG', 'PRMW', 'PRIM', 'PVTB', 'PVTBP', 'PKT', 'PDEX', 'IPDN', 'PFIE', 'PGNX', 'PRGS', 'PFPT', 'PRPH', 'PRQR', 'BIB', 'TQQQ', 'SQQQ', 'BIS', 'PSEC', 'PRTO', 'PRTA', 'PWX', 'PROV', 'PBIP', 'PSBH', 'PSDV', 'PMD', 'PTC', 'PTCT', 'PULB', 'PCYO', 'QADA', 'QADB', 'QCCO', 'QCRH', 'QGEN', 'QIWI', 'QKLS', 'QLIK', 'QLGC', 'QLTI', 'QRVO', 'QCOM', 'QLTY', 'QSII', 'QBAK', 'QLYS', 'QTWW', 'QRHC', 'QUIK', 'QDEL', 'QPAC', 'QPACU', 'QPACW', 'QNST', 'QUMU', 'QUNR', 'QTNT', 'QTNTW', 'RRD', 'RADA', 'RDCM', 'ROIA', 'ROIAK', 'RSYS', 'RDUS', 'RDNT', 'RDWR', 'RMBS', 'RAND', 'RLOG', 'GOLD', 'RPTP', 'RAVE', 'RAVN', 'ROLL', 'RICK', 'RCMT', 'RLOC', 'RDI', 'RDIB', 'RGSE', 'RNWK', 'RP', 'RCPT', 'DAX', 'QYLD', 'RCON', 'REPH', 'RRGB', 'RDHL', 'REDF', 'RGDO', 'REGN', 'RGLS', 'REIS', 'RELV', 'RLYP', 'MARK', 'REMY', 'RNST', 'REGI', 'RCII', 'RTK', 'RENT', 'RGEN', 'RPRX', 'RPRXW', 'RPRXZ', 'RJET', 'RBCAA', 'FRBK', 'REFR', 'RESN', 'REXI', 'RECN', 'RGDX', 'ROIC', 'SALE', 'RTRX', 'RVNC', 'RVLT', 'RWLK', 'REXX', 'RFIL', 'RGCO', 'RIBT', 'RIBTW', 'RELL', 'RIGL', 'NAME', 'RNET', 'RITT', 'RITTW', 'RIVR', 'RVBD', 'RVSB', 'RLJE', 'RMGN', 'ROBO', 'RCPI', 'FUEL', 'RMTI', 'RCKY', 'RMCF', 'RSTI', 'ROIQ', 'ROIQU', 'ROIQW', 'ROKA', 'ROSG', 'ROSE', 'ROST', 'ROVI', 'RBPAA', 'RGLD', 'ROYL', 'RPXC', 'RRM', 'RTIX', 'RBCN', 'RUSHA', 'RUSHB', 'RTGN', 'RUTH', 'RXII', 'RYAAY', 'STBA', 'SANW', 'SANWZ', 'SBRA', 'SBRAP', 'SABR', 'SAEX', 'SAFT', 'SAGE', 'SGNT', 'SAIA', 'SAJA', 'SALM', 'SAL', 'SLXP', 'SAFM', 'SNDK', 'SASR', 'SGMO', 'SANM', 'GCVRZ', 'SPNS', 'SRPT', 'SBFG', 'SBFGP', 'SBAC', 'SCSC', 'SMIT', 'SCHN', 'SCHL', 'SCLN', 'SGMS', 'SQI', 'SCYX', 'SEAC', 'SBCF', 'STX', 'SHIP', 'SRSC', 'SHLD', 'SHLDW', 'SHOS', 'SGEN', 'EYES', 'SNFCA', 'SEIC', 'SLCT', 'SCSS', 'SLTC', 'SIGI', 'LEDS', 'SMLR', 'SMTC', 'SENEA', 'SENEB', 'SNMX', 'SQNM', 'SQBG', 'SREV', 'SFBS', 'SEV', 'SVBI', 'SFXE', 'SGOC', 'GAME', 'SMED', 'SHEN', 'SHLO', 'SHPG', 'SCVL', 'SHBI', 'SHOR', 'SFLY', 'SIFI', 'SIEB', 'SIEN', 'BSRR', 'SWIR', 'SIFY', 'SIGM', 'SIAL', 'SGMA', 'SGNL', 'SBNY', 'SBNYW', 'SLGN', 'SILC', 'SGI', 'SLAB', 'SIMO', 'SPIL', 'SSRI', 'SAMG', 'SFNC', 'SLP', 'SINA', 'SBGI', 'SMAC', 'SMACR', 'SMACU', 'SCOK', 'SINO', 'SVA', 'SIRI', 'SIRO', 'SZMK', 'SKUL', 'SKYS', 'MOBI', 'SPU', 'SKBI', 'SKYW', 'SWKS', 'ISM', 'JSM', 'OSM', 'SLM', 'SLMAP', 'SLMBP', 'SMT', 'SPRO', 'SWHC', 'SMSI', 'SMTX', 'SMTP', 'LNCE', 'SODA', 'SOHU', 'SLRC', 'SUNS', 'SLTD', 'SCTY', 'SEDG', 'SZYM', 'SONC', 'SOFO', 'SONS', 'SPHS', 'SORL', 'SRNE', 'SOHO', 'SOHOL', 'SOHOM', 'SFBC', 'SSB', 'SOCB', 'SFST', 'SMBC', 'SONA', 'SBSI', 'OKSB', 'SP', 'SPAN', 'SBSA', 'SGRP', 'SPKE', 'ONCE', 'SPAR', 'SPTN', 'SPPI', 'SPDC', 'ANY', 'SPEX', 'SAVE', 'SPLK', 'SPOK', 'SPWH', 'FUND', 'SFM', 'SPSC', 'SQBK', 'SSNC', 'STAA', 'STMP', 'STLY', 'SPLS', 'SBLK', 'SBLKL', 'SBUX', 'STRZA', 'STRZB', 'STFC', 'STBZ', 'SIBC', 'SNC', 'STDY', 'GASS', 'STLD', 'SMRT', 'STNR', 'STEM', 'STML', 'STXS', 'SRCL', 'STRL', 'SHOO', 'SSFN', 'STCK', 'SYBT', 'BANX', 'SGBK', 'SSYS', 'STRT', 'STRS', 'STRA', 'STRM', 'STB', 'SCMP', 'SUBK', 'SUMR', 'SMMF', 'SSBI', 'SMMT', 'SNBC', 'SNHY', 'SEMI', 'SNSS', 'GOMO', 'STKL', 'SPWR', 'SBCP', 'SSH', 'SMCI', 'SPCB', 'SCON', 'SGC', 'SUPN', 'SPPR', 'SPPRO', 'SPPRP', 'SPRT', 'SCAI', 'SRDX', 'SUSQ', 'SBBX', 'SUTR', 'STRN', 'SIVB', 'SIVBO', 'SWSH', 'SYKE', 'SYMC', 'SSRG', 'SYNC', 'GEVA', 'SYNL', 'SYNA', 'SNCR', 'SURG', 'SGYP', 'SGYPU', 'SGYPW', 'ELOS', 'SNPS', 'SNTA', 'SYNT', 'SYMX', 'SYUT', 'SYPR', 'SYRX', 'TROW', 'TTOO', 'TAIT', 'TTWO', 'TLMR', 'TNDM', 'TLF', 'TNGO', 'TANH', 'TEDU', 'TRGT', 'TASR', 'TATT', 'TAYD', 'TCPC', 'TEAR', 'TECD', 'TCCO', 'TTGT', 'TGLS', 'TGEN', 'TECU', 'TKMR', 'TSYS', 'TNAV', 'TTEC', 'TENX', 'TERP', 'TRTL', 'TRTLU', 'TRTLW', 'TBNK', 'TSRO', 'TESO', 'TSLA', 'TESS', 'TSRA', 'TTEK', 'TLOG', 'TTPH', 'TCBI', 'TCBIL', 'TCBIP', 'TCBIW', 'TXN', 'TXRH', 'TFSL', 'TGTX', 'ABCO', 'ANDE', 'TBBK', 'BKYF', 'BONT', 'CG', 'CAKE', 'CHEF', 'TCFC', 'DSGX', 'DXYN', 'ENSG', 'XONE', 'FINL', 'FBMS', 'FLIC', 'TFM', 'GT', 'HABT', 'HCKT', 'HAIN', 'CUBA', 'INTG', 'JYNT', 'KEYW', 'MSG', 'MDCO', 'MIK', 'MIDD', 'NDAQ', 'NAVG', 'PCLN', 'PRSC', 'SPNC', 'ULTI', 'YORW', 'NCTY', 'TBPH', 'THRX', 'TST', 'TCRD', 'THOR', 'THLD', 'THTI', 'TICC', 'TIGR', 'TTS', 'TSBK', 'TIPT', 'TITN', 'TIVO', 'TKAI', 'TNXP', 'TISA', 'TOPS', 'TORM ', 'TRCH', 'TRNX', 'TSEM', 'TW', 'TWER', 'CLUB', 'TOWN', 'TCON', 'TSCO', 'TSRE', 'TWMC', 'TACT', 'TRNS', 'TBIO', 'TGA', 'TTHI', 'TZOO', 'TRVN', 'TCBK', 'TRIL', 'TRS', 'TRMB', 'TRIB', 'TRIP', 'TSC', 'TBK', 'TRIV', 'TROV', 'TROVU', 'TROVW', 'TRUE', 'THST', 'TRST', 'TRMK', 'TSRI', 'TTMI', 'TUBE', 'TCX', 'TUES', 'TOUR', 'HEAR', 'TUTT', 'FOX', 'FOXA', 'TWIN', 'TRCB', 'USCR', 'PRTS', 'USEG', 'GROW', 'UREE', 'UREEW', 'UBIC', 'UBNT', 'UFPT', 'ULTA', 'UCTT', 'RARE', 'ULBI', 'ULTR', 'UTEK', 'UMBF', 'UMPQ', 'UNAM', 'UNIS', 'UBSH', 'UNB', 'UNXL', 'QURE', 'UBCP', 'UBOH', 'UBSI', 'UCBA', 'UCBI', 'UCFC', 'UDF', 'UBNK', 'UFCS', 'UIHC', 'UNFI', 'UNTD', 'UBFO', 'USBI', 'USLM', 'USTR', 'UTHR', 'UG', 'UNTY', 'OLED', 'UEIC', 'UFPI', 'USAP', 'UACL', 'UVSP', 'UPIP', 'UPLD', 'URRE', 'URBN', 'ECOL', 'USAT', 'USATP', 'USAK', 'USMD', 'UTMD', 'UTIW', 'UTSI', 'VALX', 'VYFC', 'VLYWW', 'VALU', 'VNDA', 'VWOB', 'VNQI', 'VGIT', 'VCIT', 'VCLT', 'VGLT', 'VMBS', 'VNR', 'VNRAP', 'VNRBP', 'VNRCP', 'VONE', 'VONG', 'VONV', 'VTWO', 'VTWG', 'VTWV', 'VTHR', 'VCSH', 'VGSH', 'VTIP', 'BNDX', 'VXUS', 'VPCO', 'VRNS', 'VDSI', 'VBLT', 'VASC', 'VBIV', 'WOOF', 'VECO', 'DSLV', 'UGLD', 'USLV', 'TVIZ', 'TVIX', 'ZIV', 'XIV', 'VIIZ', 'VIIX', 'APPY', 'VRA', 'VCYT', 'VSTM', 'VCEL', 'VRNT', 'VRSN', 'VRSK', 'VBTX', 'VRML', 'VSAR', 'VTNR', 'VRTX', 'VRTA', 'VRTB', 'VIA', 'VIAB', 'VSAT', 'VIAS', 'VICL', 'VICR', 'VBND', 'VUSE', 'VIDI', 'VIDE', 'VRAY', 'VIEW', 'VGGL', 'VBFC', 'VLGEA', 'VIMC', 'VIP', 'VNOM', 'VIRC', 'VA', 'VSCP', 'VRTS', 'VRTU', 'VISN', 'VTAE', 'VTL', 'VTSS', 'VVUS', 'VOD', 'VLTC', 'VOXX', 'VRNG', 'VRNGW', 'VSEC', 'VUZI', 'VWR', 'WGBS', 'WBA', 'WRES', 'WAFD', 'WAFDW', 'WASH', 'WFBI', 'WSBF', 'WAVX', 'WAYN', 'WSTG', 'WDFC', 'WWWW', 'WBMD', 'WB', 'WEBK', 'WEN', 'WERN', 'WSBC', 'WTBA', 'WSTC', 'WMAR', 'WABC', 'WBB', 'WSTL', 'WDC', 'WFD', 'WLB', 'WPRT', 'WEYS', 'WHLR', 'WHLRP', 'WHLRW', 'WHF', 'WHFBL', 'WFM', 'WILN', 'WHLM', 'WVVI', 'WLDN', 'WLFC', 'WIBC', 'WIN', 'WINA', 'WTFC', 'WTFCW', 'AGND', 'AGZD', 'HYND', 'HYZD', 'CHXF', 'EMCG', 'EMCB', 'DGRE', 'DXGE', 'WETF', 'DXJS', 'JGBB', 'DXKW', 'GULF', 'CRDT', 'DGRW', 'DGRS', 'DXPS', 'WIX', 'WLRH', 'WLRHU', 'WLRHW', 'WBKC', 'WWD', 'WRLD', 'WOWO', 'WPCS', 'WPPGY', 'WMGI', 'WMGIZ', 'WSFS', 'WSFSL', 'WSCI', 'WVFC', 'WYNN', 'XCRA', 'XNCR', 'XBKS', 'XENE', 'XNPT', 'XGTI', 'XGTIW', 'XLNX', 'XOMA', 'XOOM', 'XPLR', 'XTLB', 'XNET', 'YHOO', 'YNDX', 'YDLE', 'YOD', 'YRCW', 'YY', 'ZFGN', 'ZAGG', 'ZAIS', 'ZAZA', 'ZBRA', 'ZLTQ', 'ZHNE', 'Z', 'ZN', 'ZNWAA', 'ZION', 'ZIONW', 'ZIONZ', 'ZIOP', 'ZIXI', 'ZGNX', 'ZSAN', 'ZSPH', 'ZU', 'ZUMZ', 'ZNGA','DDD', 'MMM', 'WBAI', 'WUBA', 'AHC', 'ATEN', 'AAC', 'AIR', 'AAN', 'ABB', 'ABT', 'ABBV', 'ANF', 'GCH', 'JEQ', 'SGF', 'ABM', 'AKR', 'ACN', 'ACCO', 'ACW', 'ACE', 'ATV', 'ACT', 'ACT^A', 'ATU', 'AYI', 'ADX', 'PEO', 'AGRO', 'ADPT', 'ADT', 'AAP', 'WMS', 'ASX', 'AAV', 'ATE', 'AVK', 'AGC', 'LCM', 'ACM', 'ANW', 'AEB', 'AED', 'AEG', 'AEH', 'AEK', 'AER', 'HIVE', 'ARO', 'AET', 'AFM', 'AMG', 'MGR', 'AFL', 'AFSD', 'MITT', 'MITT^A', 'MITT^B', 'AGCO', 'A', 'GAS', 'AEM', 'ADC', 'GRO', 'AGU', 'AL', 'APD', 'AYR', 'ARG', 'AKS', 'ALP^N', 'ALP^O', 'ALP^P', 'ALG', 'AGI', 'ALK', 'AIN', 'ALB', 'ALU', 'AA', 'AA^B', 'ALR', 'ALR^B', 'ALEX', 'ALX', 'ARE', 'ARE^E', 'BABA', 'Y', 'ATI', 'ALLE', 'ALE', 'AKP', 'ADS', 'AFB', 'AYN', 'AOI', 'AWF', 'ACG', 'AB', 'LNT', 'NCV', 'NCZ', 'NIE', 'NFJ', 'AWH', 'ALSN', 'ALL', 'ALL^A', 'ALL^B', 'ALL^C', 'ALL^D', 'ALL^E', 'ALL^F', 'ALLY', 'ALLY^A', 'ALLY^B', 'BSI', 'ALJ', 'ALDW', 'ANR', 'AGD', 'AWP', 'AOD', 'RESI', 'MO', 'ACH', 'AMBR', 'ABEV', 'AMC', 'AMFW', 'AEE', 'AMRC', 'AMX', 'AAT', 'AXL', 'ACC', 'AEO', 'AEP', 'AEL', 'AXP', 'AFA', 'AFG', 'AFGE', 'AFQ', 'AFW', 'AMH', 'AMH^A', 'AMH^B', 'AMH^C', 'AIG', 'AIG/WS', 'AMID', 'ARL', 'ARPI', 'AWR', 'AMT', 'AMT^A', 'AMT^B', 'AVD', 'AWK', 'APU', 'AMP', 'ABC', 'ANFI', 'AHS', 'AP', 'APH', 'AXR', 'AME', 'AFSI^A', 'AFSI^B', 'AFSI^C', 'AFSI^D', 'APC', 'AU', 'BUD', 'AXE', 'ANN', 'NLY', 'NLY^A', 'NLY^C', 'NLY^D', 'AM', 'AR', 'ANTM', 'ANH', 'ANH^A', 'ANH^B', 'ANH^C', 'AOL', 'AON', 'APA', 'AIV', 'AIV^A', 'AIV^Z', 'ARI', 'ARI^A', 'APO', 'AIB', 'AIY', 'AMTG', 'AMTG^A', 'AFT', 'AIF', 'AIT', 'ATR', 'WTR', 'ARMK', 'ABR', 'ABR^A', 'ABR^B', 'ABR^C', 'ABRN', 'ARC', 'ARCX', 'MT', 'MTCN', 'ARH^C', 'ACI', 'ADM', 'ARCO', 'ASC', 'AFC', 'ARU', 'ARY', 'ACRE', 'ARDC', 'ARES', 'ARMF', 'AGX', 'ANET', 'AI', 'AIC', 'AIW', 'AHH', 'ARR', 'ARR^A', 'ARR^B', 'AWI', 'ARW', 'AJG', 'APAM', 'ASA', 'ABG', 'AHP', 'AHT', 'AHT^A', 'AHT^D', 'AHT^E', 'ASH', 'APB', 'GRR', 'ASPN', 'AHL', 'AHL^A', 'AHL^B', 'AHL^C', 'ASB', 'ASB^B', 'AEC', 'AIZ', 'AGO', 'AGO^B', 'AGO^E', 'AGO^F', 'AF', 'AF^C', 'AZN', 'T', 'ATTO', 'AT', 'ATLS', 'ARP', 'ARP^D', 'ATO', 'ATW', 'AUO', 'AUQ', 'ATHM', 'ALV', 'AN', 'AZO', 'AVB', 'ACP', 'AVY', 'AVG', 'AVH', 'AVA', 'AVIV', 'AV', 'AVV', 'AVT', 'AVOL', 'AVP', 'AVX', 'AXTA', 'AXLL', 'AXS', 'AXS^C', 'AXS^D', 'AZZ', 'BGS', 'BWC', 'MCI', 'BGH', 'MPV', 'BMI', 'BHI', 'BBN', 'BLL', 'BALT', 'BGE^B', 'BANC', 'BANC^C', 'BOCA', 'BBVA', 'BBD', 'BBDO', 'BCH', 'BLX', 'BSBR', 'BSAC', 'SAN', 'SAN^A', 'SAN^B', 'SAN^C', 'SAN^I', 'CIB', 'BXS', 'BAC', 'BAC/WS/A', 'BAC/WS/B', 'BAC^D', 'BAC^E', 'BAC^I', 'BAC^L', 'BAC^W', 'BAC^Y', 'BAC^Z', 'BML^G', 'BML^H', 'BML^I', 'BML^J', 'BML^L', 'BOH', 'BMO', 'BK', 'BK^C', 'BNS', 'RATE', 'BKU', 'BCS', 'BCS^', 'BCS^A', 'BCS^C', 'BCS^D', 'BKS', 'B', 'CUDA', 'ABX', 'BAS', 'BAX', 'BTE', 'BBT', 'BBT^D', 'BBT^E', 'BBT^F', 'BBT^G', 'BFR', 'BBX', 'BCE', 'TZF', 'BZH', 'BZT', 'BDX', 'BDC', 'BXE', 'BEL', 'BMS', 'BHE', 'BRK/A', 'BRK/B', 'BHLB', 'BBY', 'BGCA', 'BHP', 'BBL', 'BIG', 'BH', 'BBG', 'BIOA', 'BIOA/WS', 'BMR', 'BIO', 'BIO/B', 'BITA', 'BKH', 'BJZ', 'BFZ', 'CII', 'BHK', 'HYT', 'BTZ', 'DSU', 'BHL', 'BGR', 'BDJ', 'EGF', 'FRA', 'BFO', 'BGT', 'BOE', 'BME', 'BAF', 'BKT', 'BGY', 'BKN', 'BTA', 'BIT', 'MUI', 'MNE', 'MUA', 'BPK', 'BKK', 'BIE', 'BBK', 'BBF', 'BYM', 'BFK', 'BTT', 'MEN', 'MUC', 'MUH', 'MHD', 'MFL', 'MUJ', 'MHN', 'MUE', 'MUS', 'MVT', 'MYC', 'MCA', 'MYD', 'MYF', 'MFT', 'MYM', 'MIY', 'MYJ', 'MJI', 'MYN', 'MPA', 'MQT', 'MYI', 'MQY', 'BNJ', 'BNY', 'BLH', 'BQH', 'BSE', 'BCX', 'BST', 'BSD', 'BUI', 'BLK', 'BGB', 'BGX', 'BSL', 'BLT', 'BCRH', 'BXC', 'BTH', 'BWP', 'BA', 'BCC', 'BCEI', 'BOOT', 'BAH', 'BWA', 'SAM', 'BXP', 'BXP^B', 'BSX', 'TEU', 'TEU^C', 'BOX', 'BYD', 'BP', 'BPT', 'BERY', 'BRC', 'BDN^E', 'BDN', 'LND', 'BAK', 'BRFS', 'BPI', 'BGG', 'BFAM', 'EAT', 'BCO', 'BMY', 'BRS', 'BRX', 'BR', 'BKD', 'BAM', 'BOXC', 'DTLA^', 'INF', 'HHY', 'BIP', 'BOI', 'BPY', 'BEP', 'HTR', 'BRO', 'BF/A', 'BF/B', 'BWS', 'BRT', 'BC', 'BT', 'BPL', 'BKE', 'BVN', 'BBW', 'BG', 'BURL', 'CJES', 'BCR', 'BNK', 'GYB', 'PFH', 'CAB', 'CVC', 'CBT', 'COG', 'CACI', 'CAE', 'CAP', 'CCC', 'CRC', 'CWT', 'CALX', 'ELY', 'CPE', 'CPE^A', 'CPN', 'CBM', 'CPT', 'CCJ', 'CAM', 'CPB', 'CCG', 'CCG^A', 'CM', 'CNI', 'CNQ', 'CP', 'CAJ', 'CMN', 'COF^P', 'COF', 'COF/WS', 'COF^C', 'COF^D', 'CSU', 'BXMT', 'CLA', 'CMO', 'CMO^E', 'CRR', 'CAH', 'CRCM', 'CSL', 'KMX', 'CCL', 'CUK', 'CRS', 'CSV', 'CRI', 'CSH', 'CAS', 'CSLT', 'CTLT', 'CTT', 'CAT', 'CATO', 'CBZ', 'CBL', 'CBL^D', 'CBL^E', 'CBO', 'IGR', 'CBG', 'CBS', 'CBS/A', 'CBX', 'CDI', 'FUN', 'CDR', 'CDR^B', 'CGI', 'CE', 'CLS', 'CEL', 'CPAC', 'CX', 'CNCO', 'CVE', 'CNC', 'CEN', 'CEN~', 'CNP', 'EBR', 'EBR/B', 'CEE', 'CCS', 'CTL', 'CVO', 'CF', 'CGG', 'GIB', 'CSG', 'ECOM ', 'CRL', 'CLDT', 'HELI', 'CKP', 'CMCM', 'CHGG', 'CHE', 'CHMT', 'CHMI', 'CHK', 'CHK^D', 'CHKR', 'CHSP', 'CHSP^A', 'CPK', 'CVX', 'CBI', 'CHS', 'CIM', 'CO', 'STV', 'DL', 'CEA', 'CHN', 'CGA', 'LFC', 'MY', 'CHL', 'NPD', 'BORN', 'SNP', 'ZNH', 'CHA', 'CHU', 'XNY', 'CYD', 'ZX', 'CMG', 'CHH', 'CBK', 'CB', 'CHT', 'CHD', 'CBR', 'CIEN', 'CI', 'XEC', 'CBB', 'CBB^B', 'CNK', 'CIR', 'CIT', 'BLW', 'C', 'C/WS/A', 'C/WS/B', 'C^C', 'C^J', 'C^K', 'C^L', 'C^N', 'C^P', 'CFG', 'CIA', 'CYN', 'CYN^C', 'CYN^D', 'CIO', 'CVEO', 'CIVI', 'CLC', 'CWEI', 'CLH', 'CCO', 'CBA ', 'CEM', 'EMO', 'CTR', 'CLW', 'CNL', 'CLF', 'CLV', 'CLX', 'CLD', 'MYCC', 'CMS', 'CMS^B', 'CNA', 'CNHI', 'CNO', 'CEO', 'COH', 'CIE', 'KOF', 'KO', 'CCE', 'CDE', 'CDE/WS', 'FOF', 'INB', 'UTF', 'LDP', 'MIE', 'RQI', 'RNP', 'PSF', 'RFI', 'CNS', 'CFX', 'CL', 'CXE', 'CMK', 'CIF', 'CXH', 'CMU', 'CLNY', 'CLNY^A', 'CLNY^B', 'CPPL', 'CXP', 'STK', 'CCV', 'CCZ', 'CMA', 'CMA/WS', 'FIX', 'CMC', 'CBU', 'CYH', 'CIG', 'CIG/C', 'CBD', 'SBS', 'ELP', 'CCU', 'CODI', 'CMP', 'CSC', 'CRK', 'CAG', 'CXO', 'CCM', 'CNNX', 'COP', 'CNX', 'ED', 'STZ', 'STZ/B', 'CSTM', 'TCS', 'CBPX', 'CLR', 'VLRS', 'CVG', 'CNW', 'COO', 'CTB', 'CPS', 'CPA', 'CLB', 'CLGX', 'CORR', 'CORR^A', 'COR', 'COR^A', 'GLW', 'BCA', 'GYC', 'OFC', 'OFC^L', 'CXW', 'CZZ', 'CMRE', 'CMRE^B', 'CMRE^C', 'COT', 'COTY', 'CCSC', 'CFC^A', 'CFC^B', 'COUP', 'CUZ', 'CVA', 'CPF', 'CPL', 'CR', 'CRD/A', 'CRD/B', 'BAP', 'CS', 'CPG', 'CEQP', 'CRH', 'CRT', 'CAPL', 'CCI', 'CCI^A', 'CCK', 'CRY', 'CSS', 'CST', 'CSX', 'CTS', 'CUBE', 'CUBE^A', 'CUB', 'CFR', 'CFR^A', 'CFI', 'CMI', 'CW', 'SZC', 'CUBI', 'CUBS', 'CSI', 'CVT', 'CVI', 'UAN', 'CVRR', 'CVS', 'CYNI', 'CELP', 'CYS', 'CYS^A', 'CYS^B', 'CYT', 'DHI', 'DAN', 'DHR', 'DAC', 'DQ', 'DRI', 'DAR', 'DVA', 'DPM', 'DCT', 'DDR', 'DDR^J', 'DDR^K', 'DF', 'DECK', 'DE', 'DEX', 'DDF', 'DKL', 'DK', 'DLPH', 'DAL', 'DEL', 'DLX', 'DMD', 'DWRE', 'DNR', 'DKT', 'DB', 'DTK', 'DUA/CL', 'DXB', 'DVN', 'DV', 'DHT', 'DEO', 'DO', 'DRII', 'DRH', 'DSX', 'DSX^B', 'DHX', 'DKS', 'DBD', 'DLR', 'DLR^E', 'DLR^F', 'DLR^G', 'DLR^H', 'DGI', 'DDS', 'DDT', 'DIN', 'DPLO', 'DFS', 'DFS^B', 'DRA', 'DNI', 'DLB', 'DG', 'DDC', 'DM', 'DOM', 'D', 'DCUA', 'DCUB', 'DCUC', 'DPZ', 'UFS', 'DCI', 'LPG', 'DSL', 'DBL', 'PLOW', 'DEI', 'DOV', 'DDE', 'DVD', 'DOW', 'DPS', 'RDY', 'DRD', 'DRC', 'DW', 'DHF', 'DMB', 'DSM', 'LEO', 'DRQ', 'DST', 'DSW', 'DTE', 'DTQ', 'DTZ', 'DCO', 'DPG', 'DSE', 'DNP', 'DTF', 'DUC', 'DUK', 'DUKH', 'DRE', 'DNB', 'DFT', 'DFT^A', 'DFT^B', 'DHG', 'DY', 'DLNG', 'DYN', 'DYN/WS', 'DYN^A', 'DX', 'DX^A', 'DX^B', 'DD', 'DD^A', 'DD^B', 'SSP', 'EXP', 'ECC ', 'DEA', 'EGP', 'EMN', 'KODK', 'KODK/WS', 'KODK/WS/A', 'ETN', 'ETV', 'ETW', 'EV', 'EOI', 'EOS', 'EFT', 'EFF', 'ETX ', 'EOT', 'EVN', 'ETJ', 'EFR', 'EVF', 'EVG', 'EVT', 'ETO', 'EXD', 'ETG', 'ETB', 'ETY', 'EXG', 'ECT', 'ECR', 'ECL', 'DANG', 'EC', 'EIX', 'EDR', 'EW', 'EHIC', 'EJ', 'EP^C', 'EE', 'EGO', 'LLY', 'ELLI', 'EFC', 'EARN', 'AKO/A', 'AKO/B', 'ERJ', 'EMC', 'EME', 'EMES', 'EBS', 'EMR', 'EDE', 'ESRT', 'EIG', 'EDN', 'EOC', 'ICA', 'ELX', 'ENBL', 'EEQ', 'EEP', 'ENB', 'ECA', 'EXK', 'ENH', 'ENH^A', 'ENH^B', 'NDRO', 'EGN', 'ENR', 'ETE', 'ETP', 'ERF', 'ENI', 'ENS', 'EGL', 'E', 'ENLK', 'ENLC', 'EBF', 'ENVA', 'NPO', 'ESV', 'ETM', 'EAA', 'EAB', 'EAE', 'ETR', 'ELA', 'ELB', 'ELJ', 'ELU', 'EFM', 'EMQ', 'EMZ', 'ENJ', 'EZT', 'EPD', 'EVC', 'ENV', 'EVHC', 'ENZ', 'EOG', 'EPE', 'EPAM', 'EPR', 'EPR^C', 'EPR^E', 'EPR^F', 'EQT', 'EQM', 'EFX', 'EQC', 'EQC^D', 'EQC^E', 'EQCO', 'ELS', 'ELS^C', 'EQY', 'EQR', 'EQS', 'ERA', 'EROS', 'ESE', 'ESNT', 'ESS', 'ESS^H', 'EL', 'ESL', 'DEG', 'ETH', 'EURN', 'EEA', 'EVER', 'EVER^A', 'EVR', 'RE', 'ES', 'EVTC', 'EVDY', 'EVGN', 'EXAM', 'EXAR', 'EXL', 'EXL^B', 'XCO', 'XLS', 'EXC', 'EXCU', 'EXPR', 'STAY', 'EXH', 'EXR', 'XOM', 'FNB', 'FNB^E', 'FN', 'FDS', 'FICO', 'FDO', 'FFG', 'FCB', 'AGM', 'AGM/A', 'AGM^A', 'AGM^B', 'AGM^C', 'FRT', 'FSS', 'FTT', 'FII', 'FPT', 'FMN', 'FDX', 'FCH', 'FCH^A', 'FCH^C', 'FGP', 'FOE', 'FCAM', 'FCAU', 'FBR', 'FGL', 'FNF', 'FNFV', 'FIS', 'FMO', 'FSCE', 'FAC', 'FAF', 'FBP', 'FBS^A', 'FCF', 'FHN', 'FHN^A', 'FR', 'AG', 'FMD', 'FNFG^B', 'FPO', 'FPO^A', 'FRC', 'FRC^A', 'FRC^B', 'FRC^C', 'FRC^D', 'FRC^E', 'FFA', 'FMY', 'FAV', 'FIF', 'FSD', 'FPF', 'FEI ', 'FPL', 'FCT', 'FGB', 'FHY', 'FEO', 'FAM', 'FE', 'FMER^A', 'OAKS', 'OAKS^A', 'FVE', 'FBC', 'DFP', 'PFD', 'PFO', 'FFC', 'FLC', 'FLT', 'FLTX', 'FTK', 'FLO', 'FLS', 'FLR', 'FLY', 'FMC', 'FTI', 'FMSA', 'FMX', 'FL', 'F', 'FELP', 'FCE/A', 'FCE/B', 'FOR', 'FDI', 'FIG', 'FSM', 'FBHS', 'FET', 'FNV', 'FC', 'FSB', 'BEN', 'FT', 'FI', 'FCX', 'FSL', 'FMS', 'FDP', 'FRO', 'FSIC', 'FCN', 'FRM', 'FF', 'FXCM', 'GCV', 'GCV^B', 'GDV', 'GDV^A', 'GDV^D', 'GAB', 'GAB^D', 'GAB^G', 'GAB^H', 'GGZ', 'GGT', 'GGT^B', 'GUT', 'GUT^A', 'GFA', 'GCAP', 'GBL', 'GNT', 'GME', 'GCI', 'GPS', 'IT', 'GLOG', 'GLOP', 'GMT', 'GZT', 'GY', 'GNRC', 'GAM', 'GAM^B', 'BGC', 'GD', 'GEH', 'GEK', 'GE', 'GEB', 'GGP', 'GGP^A', 'GIS', 'GM', 'GM/WS/A', 'GM/WS/B', 'GM/WS/C', 'GSI', 'GCO', 'GWR', 'GWRU', 'GEL', 'GEN ', 'GNE', 'GNE^A', 'G', 'GPC', 'GNW', 'GEO', 'GPRK', 'GPE^A', 'GGB', 'GTY', 'GFIG', 'GIMO', 'GIL', 'GLT', 'GSK', 'BRSS', 'GCA', 'GHI', 'GLP', 'GPN', 'GLPW', 'GSL', 'GSL^B', 'GLOB', 'GMED', 'GNC', 'GOL', 'GFI', 'GG', 'GSBD', 'GER', 'GMZ', 'GS', 'GS^A', 'GS^B', 'GS^C', 'GS^D', 'GS^I', 'GS^J', 'GS^K', 'GSF', 'GSJ', 'TFG', 'GDP', 'GDP^C', 'GDP^D', 'GOV', 'GPX', 'GGG', 'GTI', 'GHM', 'GHC', 'GPT', 'GPT^B', 'GRAM', 'GVA', 'GRP/U', 'GPK', 'GTN', 'GTN/A', 'AJX', 'GNI', 'GXP', 'GXP^A', 'GXP^D', 'GXP^E', 'GWB', 'GB', 'GDOT', 'GBX', 'GHL', 'GEF', 'GEF/B', 'GFF', 'GPI', 'GRUB', 'GMK', 'PAC', 'ASR', 'AVAL', 'BSMX', 'TV', 'GTT', 'GSH', 'GES', 'GBAB', 'GGM', 'GPM', 'GGE', 'GEQ', 'GOF', 'GWRE', 'GUA', 'GLF', 'HRB', 'FUL', 'HAE', 'HK', 'HAL', 'HYH', 'HBI', 'HGR', 'HASI', 'HOG', 'HAR', 'HMY', 'HRS', 'HSC', 'HHS', 'HGH', 'HIG', 'HIG/WS', 'HNR', 'HTS', 'HTS^A', 'HVT', 'HVT/A', 'HE', 'HE^U', 'HCA', 'HCC', 'HCI', 'HCJ', 'HCP', 'HDB', 'HW', 'HCN', 'HCN^I', 'HCN^J', 'HNT', 'HR', 'HTA', 'HLS', 'HPY', 'HL', 'HL^B', 'HEI', 'HEI/A', 'HLX', 'HP', 'HLF', 'HTGC', 'HTGX', 'HTGY', 'HTGZ', 'HRTG', 'HT', 'HT^B', 'HT^C', 'HSY', 'HTZ', 'HES', 'HPQ', 'HXL', 'HF', 'HGG', 'HCLP', 'ONE ', 'HIW', 'HIL', 'HI', 'HRC', 'HTH', 'HLT', 'HNI', 'HMLP', 'HEP', 'HFC', 'HD', 'HME', 'HMC', 'HON', 'HMN', 'HTF', 'HRL', 'HOS', 'HSP', 'HPT', 'HPT^D', 'HST', 'HSFC^B', 'HOV', 'HHC', 'HRG', 'HSBC', 'HSBC^A', 'HSEA', 'HSEB', 'HUSI^D', 'HUSI^F', 'HUSI^G', 'HUSI^H', 'HUSI^Z', 'HNP', 'HUB/A', 'HUB/B', 'HUBS', 'HBM', 'HBM/WS', 'HPP', 'HPP^B', 'HVB', 'HGT', 'HUM', 'HII', 'HUN', 'H', 'HY', 'IAG', 'IBN', 'IDA', 'IEX', 'IDT', 'IHS', 'ITW', 'IMN', 'IMAX', 'IFT', 'IMPV', 'IMPR', 'IMS', 'ICD', 'IHC', 'IFN', 'IBA', 'CMLP', 'BLOX', 'INFY', 'HIFR', 'IDG', 'IND', 'ING', 'INZ', 'ISF', 'ISG', 'ISP', 'IR', 'IM', 'INGR', 'IRC', 'IRC^A', 'IRC^B', 'IPHI', 'NSP', 'IBP', 'IEH', 'TEG', 'I', 'I^A', 'ICE', 'IHG', 'IFF', 'IBM', 'IGT', 'IP', 'ISH', 'ISH^A', 'ISH^B', 'IOC', 'IPG', 'IPL^D', 'INXN', 'IL', 'SNOW', 'IPI', 'XON', 'IVC', 'INVN', 'VBF', 'VCV', 'VTA', 'VLT', 'IVR', 'IVR^B', 'IVR^A', 'OIA', 'VMO', 'VKQ', 'VPV', 'IVZ', 'IQI', 'VVR', 'VTN', 'VGM', 'IIM', 'ITG', 'IRET', 'IRET^', 'IRET^B', 'NVTA', 'IO', 'IRM', 'IRS', 'ICL', 'STAR ', 'STAR^D', 'STAR^E', 'STAR^F', 'STAR^G', 'STAR^I', 'ITUB', 'ITC', 'ITT', 'ESI', 'IVH', 'JPM', 'JPM/WS', 'JPM^A', 'JPM^B', 'JPM^C/CL', 'JPM^D', 'JPM^E', 'JPM^F', 'JCP', 'JGW', 'SJM', 'JBL', 'JEC', 'JHX', 'JNS', 'JOF', 'JAH', 'JMI ', 'JCAP', 'JKS', 'JMP', 'JMPB', 'JMPC', 'JBT', 'BTO', 'HEQ', 'JHS', 'JHI', 'HPF', 'HPI', 'HPS', 'PDT', 'HTD', 'HTY', 'JW/A', 'JW/B', 'JNJ', 'JCI', 'JONE', 'JLL', 'JOY', 'JPEP', 'JFC', 'JMEI', 'JNPR', 'JE', 'LRN', 'KAI', 'KAMN', 'KSU', 'KSU^', 'KS', 'KAR', 'KATE', 'KED', 'KYE', 'KMF', 'KYN', 'KYN^E', 'KYN^F', 'KYN^G', 'KB', 'KBH', 'KBR', 'KAP', 'KCG', 'K', 'KEM', 'KMPA', 'KMPR', 'KMT', 'KW', 'KWN', 'KEN', 'KEG', 'KEY', 'KEY^G', 'KEYS', 'KRC', 'KRC^G', 'KRC^H', 'KMB', 'KIM', 'KIM^H', 'KIM^I', 'KIM^J', 'KIM^K', 'KMI', 'KMI/WS', 'KND', 'KING', 'KFS', 'KGC', 'KEX', 'KRG', 'KRG^A', 'KKR', 'KFH', 'KFI', 'KFN^', 'KIO', 'KMG', 'KNX', 'KNL', 'KNOP', 'KN', 'KSS', 'KNM', 'PHG', 'KOP', 'KEP', 'KEF', 'KF', 'KFY', 'KOS', 'KRA', 'KKD', 'KR', 'KRO', 'KT', 'KYO', 'LB', 'SCX', 'LLL', 'LQ', 'LH', 'LG', 'LADR', 'LDR', 'LCI', 'LPI', 'LVS', 'LHO', 'LHO^H', 'LHO^I', 'LFL', 'LDF', 'LGI', 'LAZ', 'LOR', 'LZB', 'LF', 'LEA', 'LEE', 'BWG', 'LM', 'LEG', 'CVB', 'JBK', 'KCC', 'KTH', 'KTN', 'KTP', 'XKE', 'LDOS', 'LEJU', 'LC', 'LEN', 'LEN/B', 'LII', 'LAS', 'LUK', 'LVLT', 'LXP', 'LXP^C', 'LXK', 'LPL', 'USA', 'ASG', 'LPT', 'LTM', 'LOCK', 'LITB', 'LNC', 'LNC/WS', 'LNN', 'LNKD', 'LGF', 'LAD', 'LYV', 'LYG', 'LYG^A', 'SCD', 'TLI', 'RIT', 'LMT', 'L', 'LO', 'LPX', 'LOW', 'LRE', 'LXU', 'LTC', 'LUB', 'LL', 'LXFR', 'LXFT', 'LUX', 'LDL', 'WLH', 'LYB', 'MTB', 'MTB/WS', 'MTB^', 'MTB^C', 'MDC', 'MHO', 'MHO^A', 'MAC', 'CLI', 'MGU', 'MIC', 'MFD', 'BMA', 'M', 'MCN', 'MSP', 'MMP', 'MGA', 'MX', 'MHR', 'MH^A', 'MHNA', 'MHNB', 'MHNC', 'MAIN', 'MSCA', 'MMD', 'MNK', 'MZF', 'HYF', 'MANU', 'MTW', 'MN', 'MAN', 'MFC', 'MRO', 'MPC', 'MMI', 'MCS', 'MRIN', 'MHG', 'MPX', 'HZO', 'MKL', 'MWE', 'VAC', 'MMC', 'MSO', 'MLM', 'MAS', 'DOOR', 'MTZ', 'MA', 'MTDR', 'MTRN', 'MATX', 'MLP', 'MVNR', 'MMS', 'MXL', 'MXPT', 'MBI', 'MNI', 'MKC', 'MKC/V', 'MDR', 'MCD', 'MUX', 'MHFI', 'MCK', 'MDU', 'MJN', 'MIG', 'MWV', 'MTL', 'MTL^', 'MEG', 'MPW', 'MED', 'MCC', 'MCQ', 'MCV', 'MDLY', 'MD', 'MDT', 'MW', 'MRK', 'MCY', 'MDP', 'MTH', 'MTOR', 'MER^D', 'MER^E', 'MER^F', 'MER^K', 'MER^M', 'MER^P', 'PIY', 'MTR', 'MSB', 'MPG', 'MEI', 'MET', 'MET^A', 'MET^B', 'MTD', 'MXE', 'MXF', 'MFA', 'MFA^B', 'MFO', 'MIL', 'MCR', 'MGF', 'MIN', 'MMT', 'MFM', 'MFV', 'MTG', 'MGM', 'KORS', 'MAA', 'MEP', 'MSL', 'MPO', 'MM', 'MILL', 'MILL^C', 'MILL^D', 'MLR', 'HIE', 'MR', 'MTX', 'MP^D', 'MG', 'MTU', 'MIXT', 'MFG', 'MBT', 'MBLY', 'MODN', 'MOD', 'MC', 'MHK', 'MOH', 'TAP', 'TAP/A', 'MCP', 'MNR', 'MNR^A', 'MNR^B', 'MORE ', 'MON', 'MWW', 'MTS', 'MRH', 'MRH^A', 'MCO', 'MOG/A', 'MOG/B', 'MS', 'MS^A', 'MS^E', 'MS^F', 'MS^G', 'MS^I', 'MSJ', 'MSK', 'MSZ', 'MWG', 'MWO', 'MWR', 'APF', 'CAF', 'MSD', 'EDD', 'MSF', 'IIF', 'MOS', 'MSI', 'MOV', 'MPLX', 'MRC', 'ICB', 'HJV', 'MSA', 'MSM', 'MSCI', 'MLI', 'MWA', 'MUR', 'MUSA', 'MVO', 'MVC', 'MVCB', 'MYE', 'NBR', 'NC', 'NTP', 'NBHC', 'NBG', 'NBG^A', 'NFG', 'NGG', 'NHI', 'NOV', 'NPK', 'NNN', 'NNN^D', 'NNN^E', 'SID', 'NSM', 'NW^C', 'NGS', 'NGVC', 'NRP', 'NTZ', 'NLS', 'NCI', 'NVGS', 'NNA', 'NM', 'NM^G', 'NM^H', 'NAP', 'NMM', 'NAV', 'NAV^D', 'NCS', 'NCR', 'NP', 'NEFF', 'NNI', 'NPTN', 'N', 'NSR', 'NVRO', 'HYB', 'GF', 'NWHM', 'IRL', 'NEWM', 'NMFC', 'EDU', 'NEWR', 'NRZ', 'SNR', 'NSLP', 'NWY', 'NYCB', 'NYCB^U', 'NYRT', 'NYT', 'NCT', 'NCT^B', 'NCT^C', 'NCT^D', 'NWL', 'NFX', 'NJR', 'NEU', 'NEM', 'NR', 'NHF', 'NEP', 'NEE', 'NEE^C', 'NEE^G', 'NEE^H', 'NEE^I', 'NEE^J', 'NEE^O', 'NEE^P', 'NGL', 'NMK^B', 'NMK^C', 'NJ', 'NLSN', 'NKE', 'NMBL', 'NTT', 'NKA', 'NI', 'NL', 'NOAH', 'NE', 'NBL', 'NOK', 'NMR', 'NOR', 'NCFT', 'NORD', 'NAO', 'NAT', 'JWN', 'NSC', 'NTL', 'NOA', 'NADL', 'NRT', 'NTI', 'NOC', 'NSAM', 'NRF', 'NRF^A', 'NRF^B', 'NRF^C', 'NRF^D', 'NRF^E', 'NWN', 'NWE', 'NVS', 'NVO', 'DNOW', 'NQ', 'NRG', 'NYLD', 'DCM', 'NUS', 'NUE', 'NS', 'NSH', 'NSS', 'JMLP', 'NEA', 'NUV', 'NUW', 'NAZ', 'NBB', 'NBD', 'NKX', 'NAC', 'NCA', 'NTC', 'JCE', 'JQC', 'JDD', 'NAD', 'DIAX', 'JMF', 'NEV', 'JPW', 'JFR', 'JRO', 'NKG', 'JGV', 'JGH', 'NXC', 'NXN', 'NID', 'NQM', 'NMY', 'NMT', 'NUM', 'NMS', 'JLS', 'JMM', 'NMA', 'NMI', 'NMO', 'NIO', 'NXJ', 'NRK', 'NAN', 'NNY', 'NNP', 'NNC', 'NUO', 'NQP', 'NPP', 'JPI', 'JPC', 'NPF', 'NPM', 'NPT', 'NPI', 'NQU', 'NQI', 'JTP', 'JPS', 'JHP', 'JRI', 'BXMX', 'SPXX', 'NIM', 'NQS', 'NXP', 'NXQ', 'NXR', 'NSL', 'JSD', 'JTD', 'JTA', 'NTX', 'NTX^C/CL', 'NPV', 'NIQ', 'JMT', 'NES', 'NVR', 'OAK', 'OAS', 'OXY', 'OII', 'OZM', 'OCIP', 'OCIR', 'OCN', 'OFG', 'OFG^A', 'OFG^B', 'OFG^D', 'OGE', 'OIBR', 'OIBR/C', 'OIS', 'ODC', 'ORI', 'OLN', 'OMAM', 'OMG', 'OHI', 'OME', 'OCR', 'OCR^A', 'OCR^B', 'OMC', 'OMN', 'ASGN', 'ONDK', 'OGS', 'OLP', 'OB', 'OKS', 'OKE', 'OPK', 'OPWR', 'OPY', 'ORCL', 'ORAN', 'OA', 'OWW', 'ORC', 'OEC', 'ORN', 'IX', 'ORA', 'OSK', 'OUT', 'OMI', 'OC', 'OI', 'OXM', 'PAI', 'ROYT', 'PACD', 'PCG', 'PKG', 'PLL', 'PANW', 'PAM', 'P', 'PHX', 'PAR', 'PGN', 'PGRE', 'PKE', 'PKD', 'PH', 'PKY', 'PE', 'PRE', 'PRE^D', 'PRE^E', 'PRE^F', 'PN', 'PAYC', 'PBF', 'PBFX', 'BTU', 'PSO', 'PEB', 'PEB^A', 'PEB^B', 'PEB^C', 'PBA', 'PGH', 'PVA', 'PWE', 'PNTA', 'PEI', 'PEI^A', 'PEI^B', 'PFSI', 'PMT', 'PAG', 'PNR', 'PBY', 'POM', 'PEP', 'PSG', 'PKI', 'PBT', 'PRGO', 'PZE', 'PTR', 'PBR', 'PBR/A', 'PQ', 'PFE', 'PMC', 'PHH', 'PM', 'PHI', 'PSX', 'PSXP', 'PFX', 'PNX', 'FENG', 'DOC', 'PNY', 'PDM', 'PIR', 'PCQ', 'PCK', 'PZC', 'PCM', 'PTY', 'PCN', 'PCI', 'PDI', 'PGP', 'PHK', 'PKO', 'PFL', 'PFN', 'PMF', 'PML', 'PMX', 'PNF', 'PNI', 'PYN', 'RCS', 'PNK', 'PF', 'PNW', 'PES', 'PHD', 'PHT', 'MAV', 'MHI', 'PXD', 'PJC', 'PBI', 'PBI^A', 'PBI^B', 'PAA', 'PAGP', 'PLT', 'PAH', 'PCL', 'PGEM', 'PNC', 'PNC/WS', 'PNC^P', 'PNC^Q', 'PNM', 'PII', 'POL', 'PPO', 'POR', 'PKX', 'POST', 'PPS', 'PPS^A', 'POT', 'POWR', 'PPG', 'PPX', 'PPL', 'PYB/CL', 'PYS', 'PYT', 'PX', 'PCP', 'PDS', 'PJS', 'PGI', 'PBH', 'PVG', 'PRI', 'PPP', 'PFG', 'PFG^B', 'PGZ', 'PVTD', 'PRA', 'PG', 'PGR', 'BIN', 'PLD', 'PRO', 'PRY', 'PB', 'PL^C', 'PL^E', 'PRLB', 'PFS', 'PFK', 'PJH', 'PRH', 'PRU', 'GHY', 'PUK', 'PUK^', 'PUK^A', 'ISD', 'PSB', 'PSB^R', 'PSB^S', 'PSB^T', 'PSB^U', 'PSB^V', 'TLK', 'PEG', 'PSA', 'PSA^A', 'PSA^O/CL', 'PSA^P', 'PSA^Q', 'PSA^R', 'PSA^S', 'PSA^T', 'PSA^U', 'PSA^V', 'PSA^W', 'PSA^X', 'PSA^Y', 'PSA^Z', 'PHM', 'PBYI', 'PCF', 'PMM', 'PIM', 'PMO', 'PPT', 'PVH', 'PZN', 'QTWO', 'QEPM', 'QEP', 'QIHU', 'QTS', 'QUAD', 'KWR', 'NX', 'PWR', 'QTM', 'DGX', 'STR', 'ZQK', 'Q', 'CTQ', 'CTU', 'CTV', 'CTW', 'CTX', 'CTY', 'RAX', 'RDN', 'RAS', 'RAS^A', 'RAS^B', 'RAS^C', 'RFT', 'RFTA', 'RALY', 'RL', 'RPT', 'RPT^D', 'RRC', 'RJD', 'RJF', 'RYAM', 'RYN', 'RTN', 'RCAP', 'RMAX', 'RLD', 'RLGY', 'O', 'O^F', 'RHT', 'RLH', 'RLH^A', 'RWT', 'ENL', 'RUK', 'RBC', 'RGC', 'REG', 'REG^F', 'REG^G', 'RGP', 'RM', 'RF', 'RF^A', 'RF^B', 'RGS', 'RGA', 'RZA', 'RS', 'RNR', 'RNR^C', 'RNR^E', 'SOL', 'RENN', 'RNF', 'RSG', 'RMD', 'REN ', 'RFP', 'RSO', 'RSO^A', 'RSO^B', 'RSO^C', 'QSR', 'RH', 'RPAI', 'RPAI^A', 'REV', 'REX', 'REXR', 'RXN', 'RAI', 'RNO', 'RICE', 'RMP', 'RNG', 'RIOM', 'RIO', 'RBA', 'RAD', 'RLI', 'RLJ', 'RRTS', 'RHI', 'RKT', 'ROK', 'COL', 'RCI', 'ROG', 'ROL', 'ROP', 'RRMS', 'RST', 'RNDY', 'RSE', 'RDC', 'RY', 'RBS', 'RBS^E', 'RBS^F', 'RBS^G', 'RBS^H', 'RBS^I', 'RBS^L', 'RBS^M', 'RBS^N', 'RBS^P', 'RBS^Q', 'RBS^R', 'RBS^S', 'RBS^T', 'RCL', 'RDS/A', 'RDS/B', 'RGT', 'RMT', 'RVT', 'RES', 'RPM', 'RSPP', 'RTI', 'RT', 'RKUS', 'RTEC', 'R', 'RYI', 'RYL', 'RHP', 'SBR', 'SB', 'SB^B', 'SB^C', 'SB^D', 'SFE', 'CRM', 'SMM', 'SBH', 'SJT', 'SN', 'SD', 'SDT', 'SDR', 'PER', 'SNY', 'SC', 'SOV^C', 'SAP', 'SAQ', 'SAR', 'SSL', 'BFS', 'BFS^C', 'SCG', 'SLB', 'SWM', 'SAIC', 'SALT', 'SLTB', 'SBNA', 'SBNB', 'STNG', 'SMG', 'SNI', 'LBF', 'KHI', 'KMM', 'KTF', 'KST', 'KSM', 'SA', 'CKH', 'SDRL', 'SDLP', 'SEE', 'SSW', 'SSW^C', 'SSW^D', 'SSW^E', 'SSWN', 'SEAS', 'JBN', 'JBR', 'SIR', 'SEM', 'SGZA', 'SEMG', 'SMI', 'SRE', 'SNH', 'SNHN', 'ST', 'SXT', 'SQNS', 'SCI', 'SERV', 'NOW', 'SSLT', 'SSE', 'SHAK', 'SJR', 'SHLX', 'SHW', 'SHG', 'SFL', 'SSTK', 'SBGL', 'SIG', 'SBY', 'SSNI', 'SLW', 'SVM', 'SPG', 'SPG^J', 'SSD', 'SHI', 'SIX', 'SJW', 'SKM', 'SKX', 'SLG', 'SLG^I', 'SM', 'SFS', 'SNN', 'AOS', 'SNA', 'SQM', 'SLRA', 'SWI', 'SLH', 'SAH', 'SON', 'SNE', 'BID', 'SFUN', 'SOR', 'SJI', 'SXE', 'SCE^F', 'SCE^G', 'SCE^H', 'SO', 'SCCO', 'LUV', 'SWX', 'SWN', 'SWNC', 'SSS', 'SPA', 'SPE', 'SE', 'SEP', 'SPB ', 'TRK', 'SPR', 'SRC', 'SRLP', 'LEAF', 'S', 'SPW', 'JOE', 'STJ', 'STAG', 'STAG^A', 'STAG^B', 'SSI', 'SFG', 'SMP', 'SPF', 'SXI', 'SWH', 'SWJ', 'SWK', 'SWU', 'STN', 'SGU', 'SRT', 'HOT', 'STWD', 'SWAY', 'STT', 'STT^C', 'STT^D', 'STT^E', 'STO', 'SPLP', 'SCS', 'SCM', 'SCQ', 'SCL', 'STE', 'STL', 'STC', 'SF', 'SFN', 'SWC', 'STM', 'SGY', 'EDF', 'EDI', 'SGM', 'STON', 'SRI', 'STOR', 'STRI', 'SGL', 'BEE', 'SYK', 'RGR', 'SPH', 'SMFG', 'INN', 'INN^A', 'INN^B', 'INN^C', 'SUM', 'SMLP', 'SUI', 'SUI^A', 'SLF', 'SXCP', 'SXC', 'SU', 'SUNE', 'SXL', 'SUN', 'SHO', 'SHO^D', 'STI', 'STI/WS/A', 'STI/WS/B', 'STI^A', 'STI^E', 'SPN', 'SUP', 'SVU', 'SFY', 'SWFT', 'SWZ', 'SYA', 'SYF', 'SYT', 'SNX', 'SNV', 'SNV^C', 'GJH', 'GJO', 'GJS', 'GJP', 'GJR', 'GJT', 'GJV', 'SYY', 'SYX', 'DATA', 'TAHO', 'TWN', 'TSM', 'XRS', 'TAL', 'TLM', 'TEP', 'SKT', 'TAOM', 'NGLS', 'TRGP', 'TGT', 'TARO', 'TTM', 'TCO', 'TCO^J', 'TCO^K', 'TMHC', 'TCP', 'TCB', 'TCB/WS', 'TCB^B', 'TCB^C', 'TCPI', 'TSI', 'AMTD', 'TEL', 'TMH', 'TISI', 'TCK', 'TE', 'TK', 'TGP', 'TOO', 'TOO^A', 'TNK', 'TRC', 'HQH', 'THQ', 'HQL', 'TEO', 'TI', 'TI/A', 'TDY', 'TFX', 'VIV', 'TEF', 'TDA', 'TDE', 'TDI', 'TDJ', 'TDS', 'TU', 'TDF', 'EMF', 'TEI', 'GIM', 'TRF', 'TPX', 'TS', 'THC', 'TNC', 'TEN', 'TVC', 'TVE', 'TDC', 'TER', 'TEX', 'TX', 'TNH', 'TRNO', 'TRNO^A', 'TSO', 'TLLP', 'TTI', 'TEVA', 'TPL', 'TGH', 'TXT', 'TXTR', 'TTF', 'AES', 'AES^C', 'BX', 'SCHW', 'SCHW^B', 'CEB', 'SRV', 'SRF', 'GRX', 'GRX^A', 'GRX^B', 'GDL', 'GDL^B', 'THG', 'THGA', 'RUBI', 'TRV', 'TMO', 'THR', 'TPRE', 'TSLF', 'TCRX', 'TC', 'TRI', 'THO', 'TDW', 'TIF', 'TLYS', 'TSU', 'TIME', 'TWC', 'TWX', 'TKR', 'TMST', 'TWI', 'TJX', 'TMUS', 'TMUS^A', 'TOL', 'TR', 'TMK', 'TMK^B', 'TTC', 'TD', 'NDP', 'TYG', 'TYG^B', 'TYG^C', 'NTG', 'TTP', 'TPZ', 'TSS', 'TOT', 'TOWR', 'TSQ', 'TM', 'TSLX', 'TAC', 'TAI', 'TRP', 'TCI', 'TDG', 'TLP', 'RIG', 'RIGP', 'TGS', 'TA', 'TANN', 'TANO', 'TVPT', 'TRR', 'TREC', 'TG', 'THS', 'TRMR', 'TREX', 'TY', 'TY^', 'TPH', 'TCAP', 'TCC', 'TCCA', 'TCCB', 'TRCO', 'TPUB', 'TSL', 'TNET', 'TRN', 'TSE', 'TPVG', 'GTS', 'TGI', 'TROX', 'TBI', 'TRUP', 'TRW', 'TNP', 'TNP^B', 'TNP^C', 'TUMI', 'TUP', 'TKC', 'TKF', 'TRQ', 'TPC', 'TWTR', 'TWO', 'TYC', 'TYL', 'TSN', 'TSNU', 'USB', 'USB^A', 'USB^H', 'USB^M', 'USB^N', 'USB^O', 'USPH', 'SLCA', 'UBS', 'UBS^D', 'UCP', 'UGI', 'UIL', 'UPL', 'UGP', 'UMH', 'UMH^A', 'UA', 'UFI', 'UNF', 'UN', 'UL', 'UNP', 'UIS', 'UNT', 'UAL', 'UDR', 'UMC', 'UPS', 'URI', 'USM', 'UZA', 'UZB', 'X', 'UTX', 'UTX^A', 'UNH', 'UTL', 'UAM', 'UVV', 'UHT', 'UHS', 'UVE', 'UTI', 'UNM', 'UE', 'UBA', 'UBP', 'UBP^F', 'UBP^G', 'USAC', 'USNA', 'USDP', 'USG', 'BIF', 'VFC', 'EGY', 'MTN', 'VALE', 'VALE/P', 'VRX', 'VLO', 'VLP', 'VHI', 'VR', 'VLY', 'VLY/WS', 'VMI', 'VAL', 'VNTV', 'VAR', 'VGR', 'VVC', 'VEC', 'VEEV', 'VTRB', 'VTR', 'PAY', 'VRTV', 'VZ', 'VZA', 'VET', 'VRS', 'VVI', 'VCO', 'VNCE', 'VMEM', 'VIPS', 'VGI', 'DCA', 'V', 'VSH', 'VPG', 'VSTO', 'VC', 'VSI', 'VSLR', 'VMW', 'VOC', 'VCRA', 'VG', 'VNO', 'VNO^G', 'VNO^I', 'VNO^J', 'VNO^K', 'VNO^L', 'VJET', 'IAE', 'IHD', 'VOYA', 'IGA', 'IGD', 'IDE', 'IID', 'IRR', 'PPR', 'VTTI', 'VMC', 'WTI', 'WPC', 'WRB', 'WRB^B', 'GRA', 'GWW', 'WNC', 'WBC', 'WDR', 'WAGE', 'WD', 'WMT', 'DIS', 'WLT', 'WAC', 'WRE', 'WCN', 'WM', 'WAT', 'WSO', 'WSO/B', 'WTS', 'WPP', 'W', 'WCIC', 'WFT', 'WBS', 'WBS/WS', 'WBS^E', 'WTW', 'WRI', 'WRI^F', 'WMK', 'WCG', 'WFC', 'WFC/WS', 'WFC^J', 'WFC^L', 'WFC^N', 'WFC^O', 'WFC^P', 'WFC^Q', 'WFC^R', 'WFC^T', 'WFE^A', 'EOD', 'WAIR', 'WCC', 'WST', 'WR', 'WAL', 'WEA', 'ESD', 'EMD', 'GDO', 'EHI', 'GDF', 'HIX', 'HIO', 'HYI', 'IGI', 'MHY', 'MMU', 'WMC', 'DMO', 'MTT', 'MHF', 'MNP', 'GFY', 'SBW', 'WIW', 'WIA', 'WGP', 'WES', 'WNRL', 'WNR', 'WU', 'WAB', 'WLK', 'WLKP', 'WMLP', 'WBK', 'WHG', 'WEX', 'WY', 'WY^A', 'WGL', 'WHR', 'WTM', 'WSR', 'WWAV', 'WLL', 'WHZ', 'WG', 'WMB', 'WPZ', 'WSM', 'WSH', 'WGO', 'FUR', 'WRT', 'WIT', 'WEC', 'WNS', 'WWW', 'WF', 'WDAY', 'WK', 'INT', 'WPT', 'WWE', 'WOR', 'WPG', 'WPG^G/CL', 'WPG^H', 'WPG^I', 'WPX', 'WX', 'WYN', 'XEL', 'XHR', 'XRM', 'XRX', 'XIN', 'XL', 'XOXO', 'XPO', 'XUE', 'XYL', 'YDKN', 'AUY', 'YZC', 'YELP', 'YGE', 'YOKU', 'YPF', 'YUM', 'YUME', 'ZFC', 'ZAYO', 'ZEN', 'ZEP', 'ZPIN', 'ZMH', 'ZB^A', 'ZB^F', 'ZB^G', 'ZB^H', 'ZBK', 'ZOES', 'ZTS', 'ZA', 'ZF', 'ZTR', 'XXII', 'FAX', 'IAF', 'CH', 'ETF', 'FCO', 'IF', 'ISL', 'ACU', 'AIII', 'ATNM', 'AE', 'ADK', 'ADK^A', 'API', 'ACY', 'WGA', 'AIRI', 'AA^', 'AXX', 'AXU', 'AAU', 'APT', 'ALTV', 'AAMC', 'DIT', 'APP', 'ADGE', 'AMZG', 'ALN', 'AMS', 'AMPE', 'AXN', 'AMCO', 'HRT', 'AKG', 'AINC', 'ASB/WS', 'AST', 'ATL', 'AWX', 'AVL', 'ASM', 'BTG', 'BONE', 'BTN', 'BKJ', 'BCV', 'BAA', 'BHB', 'BRN', 'BIR^A', 'BGSF', 'BTX', 'BTX/WS', 'BGI', 'BZM', 'MHE', 'BLE', 'BLJ', 'BFY', 'BPS', 'BHV', 'BDR', 'BRG', 'BVX', 'BWL/A', 'BZC', 'BTI', 'CAK', 'CANF', 'ROX', 'CAW', 'CVM', 'CVM/WS', 'CEF', 'GTU', 'CET', 'LEU', 'CCF', 'CQH', 'CQP', 'LNG', 'CVR', 'CNR', 'CPHI', 'CKX', 'GLV', 'GLQ', 'GLO', 'CRV', 'MOC', 'CIX', 'LODE', 'CTO', 'MCF', 'CUO', 'CMT', 'CRMD', 'CRMD/WS', 'CFP', 'CRF', 'CLM', 'COVR', 'CVU', 'CIK', 'DHY', 'CRVP', 'CTP', 'CVSL', 'DAKP', 'DXR', 'DEJ', 'VCF', 'VFL', 'VMM', 'DLA', 'DNN', 'DGSE', 'DPW', 'DSS', 'DMF', 'GRF', 'ESTE', 'EVM', 'EIA', 'CEV', 'EVV', 'MAB', 'MMV', 'MIW', 'EMI', 'EIM', 'EIV', 'EMJ', 'EVJ', 'ENX', 'NYH', 'EVY', 'EIO', 'EVO', 'EIP', 'EVP', 'ELMD', 'ETAK', 'ELLO', 'ECF', 'EMAN', 'EOX', 'MSN', 'UUUU', 'ENRJ', 'ENRJ^', 'ENSV', 'EGI', 'EVI', 'ERB', 'ESP', 'EMXX', 'EVBN', 'EPM', 'EPM^A', 'XRA', 'FPI', 'FPP', 'FPP/WS', 'FEN', 'FWV', 'BDL', 'FSI', 'FTF', 'FSP', 'FRD', 'FRS', 'GGN', 'GGN^B', 'EGAS', 'GST', 'GST^A', 'GST^B', 'JOB', 'GMO', 'GIG', 'GSB', 'GSAT', 'GLOW', 'GORO', 'GSV', 'AUMN', 'GSS', 'GV', 'GRC', 'GTE', 'GPL', 'GRH', 'GRH^C', 'SIM', 'GVP', 'HCHC', 'HEB', 'HLM^', 'HMG', 'HH', 'HUSA', 'IBIO', 'IBO', 'IEC', 'IG', 'IMUC', 'IMH', 'IMO', 'IOT', 'IRT', 'IGC', 'IGC/WS', 'INFU', 'IHT', 'NSPR', 'IFMI', 'IDN', 'INS', 'THM', 'INTT', 'INUV', 'VKI', 'ISR', 'ISDR', 'ITI', 'KIQ', 'LTS', 'LTS^A', 'LSG', 'LAQ', 'LGL', 'LGL/WS', 'LBY', 'LBMH', 'LIQT', 'LEI', 'MCZ', 'MVG', 'MHR^C', 'MHR^D', 'MHR^E', 'MSTX', 'MHH', 'MDGN', 'MDGN/WS', 'IPB', 'MEA', 'MXC', 'CCA', 'MGT', 'MDW', 'MGH', 'MGN', 'MVF', 'MZA', 'NNVC', 'NHC', 'NHC^A', 'NAVB', 'NTIP', 'NBW', 'NHS', 'NBH', 'NML', 'NBO', 'NRO', 'CUR', 'UWN', 'NSU', 'GBR', 'NEN', 'NGD', 'NSAT', 'PAL', 'NAK', 'NOG', 'NBY', 'NCQ', 'NG', 'NTN', 'NVX', 'NZH', 'NCB', 'CFD', 'NXZ', 'NZF', 'NVG', 'CTF', 'NOM', 'NMZ', 'NJV', 'NXK', 'NYV', 'NPN', 'JRS', 'OGEN', 'TIS', 'ONVO', 'ONP', 'OESX', 'OSGB', 'ORM', 'PHF', 'PBM', 'PCG^A', 'PCG^B', 'PCG^C', 'PCG^D', 'PCG^E', 'PCG^G', 'PCG^H', 'PCG^I', 'PTN', 'PARR', 'PZG', 'PRK', 'PED', 'PFNX', 'PIP', 'HNW', 'PLG', 'PLM', 'PW', 'PW^A', 'APTS', 'PLX', 'PVCT', 'RLGT', 'RLGT^A', 'REE', 'UTG', 'REED', 'RWC', 'RCG', 'RVP', 'RVM', 'RNN', 'RIC', 'REI', 'RIF', 'RBY', 'SGA', 'SSN', 'SPP', 'SAND ', 'SARA', 'SEB', 'SVT', 'SIF', 'SVBL', 'SVLC', 'SKY', 'SLI', 'XPL', 'SCE^B', 'SCE^C', 'SCE^D', 'SCE^E', 'SGB', 'LOV', 'STRP', 'SSY', 'SDPI', 'STS', 'SYRG', 'SYN', 'TRX', 'TGB', 'TAS', 'TRC/WS', 'TIK', 'TGC', 'GLU', 'GLU^A', 'TXMD', 'TPI', 'IDI', 'TLR', 'TGD', 'TOF', 'TMP', 'TAT', 'TRXC', 'TPLM', 'TRT', 'HTM', 'UAMY', 'UUU', 'UQM', 'URG', 'URZ', 'UEC', 'VTG', 'VSR', 'VII', 'VHC', 'VGZ', 'VNRX', 'VISI', 'EAD', 'ERC', 'ERH', 'SBI', 'WRN', 'WYY', 'WTT', 'YUMA', 'YUMA^A', 'ZBB']
hostname = '54.88.34.236'
username = 'gsmp'
password = 'gamera@1234'
dbname = 'gsmp'
#create connection "con"
db = MySQLdb.connect(host=hostname, port=3306,
user=username, passwd=password, db=dbname)
#creates a cursor to execute SQL in the session
cursor = db.cursor()
#for each HTML File...
for symbol in symbolslist:
url1 = "http://finance.yahoo.com/q/pr?s=" + symbol + '+Profile'
url2 = "http://finance.yahoo.com/q/ks?s=" + symbol + '+Key+Statistics'
htmlfile1 = urllib.urlopen(url1)
htmlfile2 = urllib.urlopen(url2)
htmltext1 = htmlfile1.read()
htmltext2 = htmlfile2.read()
soup1 = BeautifulSoup(htmltext1)
soup2 = BeautifulSoup(htmltext2)
print "Getting HTML of", symbol
print '***Parsing:' + symbol + "..."
#Begin extracting key info....
#Name
try:
NameTicker = soup1.find('div', attrs={'class': 'title'}).h2.text
mylist = NameTicker.split('(')
HTML_CompanyName = mylist[0]
HTML_Ticker = '(' + mylist[1]
HTML_Ticker = HTML_Ticker.replace("(","").replace(")","")
HTML_CompanyName = HTML_CompanyName.replace("Inc.", "").replace("HLD", "").replace("Corporation", "").replace(",", "").replace("Ltd.", "").replace("Corp.", "").replace("Ltd.", "").replace("L.P.", "").replace("Incorporated", "").replace("Bancorp", "").replace("Holdings", "").replace("Co.", "").replace("Inc.", "").replace("LLC", "").replace("Limited", "").replace("Company", "").replace("SA", "").replace("plc", "").replace("Ltd", "").replace("Inc", "").replace("LP", "")
print HTML_CompanyName
print HTML_Ticker
except:
traceback.print_exc()
print 'Error finding name/ticker'
pass
#Employees
try:
HTML_Employees = soup1.find('td', text='Full Time Employees:').find_next_sibling('td').text
HTML_Employees = HTML_Employees.replace(",", "")
HTML_Employees = int(HTML_Employees)
print HTML_Employees
except:
print 'ERROR finding Employee Count'
HTML_Employees = 0
pass
#MarketCap
try:
#MarketCap
HTML_MarketCap = soup2.find("sup", text="5").parent.parent.find_next_sibling("td").find("span").text
if "B" in HTML_MarketCap:
HTML_MarketCap = HTML_MarketCap.replace("B", "")
HTML_MarketCap = float(HTML_MarketCap)
elif "M" in HTML_MarketCap:
HTML_MarketCap = HTML_MarketCap.replace("M", "")
HTML_MarketCap = float(HTML_MarketCap)
HTML_MarketCap = HTML_MarketCap / 1000
print HTML_MarketCap
except:
print 'ERROR finding Market Cap'
HTML_MarketCap = 0
pass
#Sector
try:
HTML_Sector = soup1.find('td', text='Sector:').find_next_sibling('td').text
print HTML_Sector
except:
print 'ERROR finding Sector'
HTML_Sector = ''
pass
#INDUSTRY
try:
HTML_INDUSTRY = soup1.find('td', text='Industry:').find_next_sibling('td').text
print HTML_INDUSTRY
except:
print 'ERROR finding Industry'
HTML_INDUSTRY = ''
pass
#URL
try:
HTML_URL = soup1.find(text=re.compile('Website:')).next_sibling.contents
HTML_URL = str(HTML_URL)
HTML_URL = HTML_URL.replace("[u'","").replace("']","").replace("http://", "")
print HTML_URL
except:
print 'ERROR finding URL'
HTML_URL = ''
pass
#------------------------------------------------
#insert new column in DB
print '***Inserting info into database...'
try:
cursor.execute('''INSERT into PLDH_Company (name, ticker, industry, employeeCount, marketCap, sector, url)
VALUES(%s, %s, %s, %s, %s, %s, %s)''',
(HTML_CompanyName, HTML_Ticker, HTML_INDUSTRY, HTML_Employees, HTML_MarketCap, HTML_Sector, HTML_URL))
db.commit()
print '...Done'
except:
print 'FAILED'
print
print
#commit changes and close connection
db.commit()
db.close()
| 214.622137
| 51,281
| 0.483328
| 7,861
| 56,231
| 3.449561
| 0.809439
| 0.00767
| 0.005679
| 0.005753
| 0.011506
| 0.007449
| 0.005753
| 0.00354
| 0
| 0
| 0
| 0.001114
| 0.137575
| 56,231
| 261
| 51,282
| 215.444444
| 0.558058
| 0.023297
| 0
| 0.276596
| 0
| 0.010638
| 0.460319
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0.085106
| 0.031915
| null | null | 0.223404
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 4
|
1c25a81e34f0563dab29bb6e1d63273e1e739bbc
| 91
|
py
|
Python
|
src/main/java/com/rubin/demo/Utils/BaiduSerchImgApi-master/apps.py
|
LynnGu/Rubindemo
|
0ffe52af74643db8d8bfae048ee256824836e277
|
[
"MIT"
] | null | null | null |
src/main/java/com/rubin/demo/Utils/BaiduSerchImgApi-master/apps.py
|
LynnGu/Rubindemo
|
0ffe52af74643db8d8bfae048ee256824836e277
|
[
"MIT"
] | null | null | null |
src/main/java/com/rubin/demo/Utils/BaiduSerchImgApi-master/apps.py
|
LynnGu/Rubindemo
|
0ffe52af74643db8d8bfae048ee256824836e277
|
[
"MIT"
] | null | null | null |
from django.apps import AppConfig
class SoutuappConfig(AppConfig):
name = 'soutuapp'
| 15.166667
| 33
| 0.758242
| 10
| 91
| 6.9
| 0.9
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.164835
| 91
| 5
| 34
| 18.2
| 0.907895
| 0
| 0
| 0
| 0
| 0
| 0.087912
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
1c320c87b3d8770c338cf4316ed1452f8194399a
| 27
|
py
|
Python
|
src/access/access_exam.py
|
monkeychen/python-tutorial
|
a24785da6b4d857200b819ad4d960885b1ef7a20
|
[
"Apache-2.0"
] | null | null | null |
src/access/access_exam.py
|
monkeychen/python-tutorial
|
a24785da6b4d857200b819ad4d960885b1ef7a20
|
[
"Apache-2.0"
] | null | null | null |
src/access/access_exam.py
|
monkeychen/python-tutorial
|
a24785da6b4d857200b819ad4d960885b1ef7a20
|
[
"Apache-2.0"
] | null | null | null |
print("hello")
a = "test"
| 6.75
| 14
| 0.555556
| 4
| 27
| 3.75
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.185185
| 27
| 3
| 15
| 9
| 0.681818
| 0
| 0
| 0
| 0
| 0
| 0.346154
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.5
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
|
0
| 4
|
1c328ba4a136a085fa44642c7e34ce0bed1de999
| 53,828
|
py
|
Python
|
data/transcoder_evaluation_gfg/python/MOBILE_NUMERIC_KEYPAD_PROBLEM.py
|
mxl1n/CodeGen
|
e5101dd5c5e9c3720c70c80f78b18f13e118335a
|
[
"MIT"
] | 241
|
2021-07-20T08:35:20.000Z
|
2022-03-31T02:39:08.000Z
|
data/transcoder_evaluation_gfg/python/MOBILE_NUMERIC_KEYPAD_PROBLEM.py
|
mxl1n/CodeGen
|
e5101dd5c5e9c3720c70c80f78b18f13e118335a
|
[
"MIT"
] | 49
|
2021-07-22T23:18:42.000Z
|
2022-03-24T09:15:26.000Z
|
data/transcoder_evaluation_gfg/python/MOBILE_NUMERIC_KEYPAD_PROBLEM.py
|
mxl1n/CodeGen
|
e5101dd5c5e9c3720c70c80f78b18f13e118335a
|
[
"MIT"
] | 71
|
2021-07-21T05:17:52.000Z
|
2022-03-29T23:49:28.000Z
|
# Copyright (c) 2019-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
#
def f_gold ( keypad , n ) :
if ( not keypad or n <= 0 ) :
return 0
if ( n == 1 ) :
return 10
odd = [ 0 ] * 10
even = [ 0 ] * 10
i = 0
j = 0
useOdd = 0
totalCount = 0
for i in range ( 10 ) :
odd [ i ] = 1
for j in range ( 2 , n + 1 ) :
useOdd = 1 - useOdd
if ( useOdd == 1 ) :
even [ 0 ] = odd [ 0 ] + odd [ 8 ]
even [ 1 ] = odd [ 1 ] + odd [ 2 ] + odd [ 4 ]
even [ 2 ] = odd [ 2 ] + odd [ 1 ] + odd [ 3 ] + odd [ 5 ]
even [ 3 ] = odd [ 3 ] + odd [ 2 ] + odd [ 6 ]
even [ 4 ] = odd [ 4 ] + odd [ 1 ] + odd [ 5 ] + odd [ 7 ]
even [ 5 ] = odd [ 5 ] + odd [ 2 ] + odd [ 4 ] + odd [ 8 ] + odd [ 6 ]
even [ 6 ] = odd [ 6 ] + odd [ 3 ] + odd [ 5 ] + odd [ 9 ]
even [ 7 ] = odd [ 7 ] + odd [ 4 ] + odd [ 8 ]
even [ 8 ] = odd [ 8 ] + odd [ 0 ] + odd [ 5 ] + odd [ 7 ] + odd [ 9 ]
even [ 9 ] = odd [ 9 ] + odd [ 6 ] + odd [ 8 ]
else :
odd [ 0 ] = even [ 0 ] + even [ 8 ]
odd [ 1 ] = even [ 1 ] + even [ 2 ] + even [ 4 ]
odd [ 2 ] = even [ 2 ] + even [ 1 ] + even [ 3 ] + even [ 5 ]
odd [ 3 ] = even [ 3 ] + even [ 2 ] + even [ 6 ]
odd [ 4 ] = even [ 4 ] + even [ 1 ] + even [ 5 ] + even [ 7 ]
odd [ 5 ] = even [ 5 ] + even [ 2 ] + even [ 4 ] + even [ 8 ] + even [ 6 ]
odd [ 6 ] = even [ 6 ] + even [ 3 ] + even [ 5 ] + even [ 9 ]
odd [ 7 ] = even [ 7 ] + even [ 4 ] + even [ 8 ]
odd [ 8 ] = even [ 8 ] + even [ 0 ] + even [ 5 ] + even [ 7 ] + even [ 9 ]
odd [ 9 ] = even [ 9 ] + even [ 6 ] + even [ 8 ]
totalCount = 0
if ( useOdd == 1 ) :
for i in range ( 10 ) :
totalCount += even [ i ]
else :
for i in range ( 10 ) :
totalCount += odd [ i ]
return totalCount
#TOFILL
if __name__ == '__main__':
param = [
([[' ', 'A', 'C', 'K', 'R', 'R', 'V', 'c', 'd', 'i', 'i', 'j', 'm', 'o', 'q', 'q', 'r', 'r', 'v', 'v', 'x', 'z'], ['B', 'D', 'I', 'M', 'N', 'Q', 'R', 'Z', 'c', 'f', 'i', 'j', 'j', 'l', 'l', 'n', 'p', 'q', 's', 't', 't', 'w'], ['A', 'F', 'F', 'G', 'H', 'J', 'K', 'K', 'N', 'V', 'V', 'b', 'c', 'c', 'g', 'i', 'j', 'l', 'l', 's', 't', 'y'], [' ', 'A', 'B', 'B', 'E', 'H', 'I', 'J', 'J', 'P', 'Q', 'T', 'U', 'V', 'Z', 'c', 'c', 'j', 'p', 'w', 'y', 'z'], [' ', ' ', 'A', 'C', 'F', 'G', 'H', 'M', 'N', 'R', 'R', 'V', 'c', 'i', 'j', 'o', 'p', 'p', 'q', 'r', 'w', 'y'], [' ', ' ', 'C', 'C', 'D', 'H', 'I', 'J', 'K', 'O', 'S', 'X', 'Y', 'f', 'h', 'h', 'o', 'p', 'p', 'u', 'u', 'w'], ['B', 'C', 'D', 'H', 'M', 'M', 'Q', 'Q', 'R', 'S', 'X', 'Z', 'e', 'e', 'e', 'j', 'k', 'l', 'm', 'o', 'v', 'w'], ['A', 'C', 'C', 'D', 'H', 'H', 'I', 'J', 'L', 'L', 'L', 'M', 'N', 'S', 'U', 'c', 'd', 'f', 'f', 's', 'u', 'y'], ['A', 'B', 'D', 'D', 'I', 'J', 'K', 'L', 'L', 'M', 'P', 'S', 'S', 'Y', 'b', 'e', 'h', 'j', 'm', 'o', 'q', 's'], [' ', 'B', 'E', 'H', 'H', 'J', 'M', 'P', 'S', 'T', 'U', 'V', 'Z', 'd', 'j', 'm', 'm', 'p', 'q', 'v', 'w', 'w'], ['B', 'E', 'F', 'G', 'H', 'M', 'M', 'M', 'N', 'O', 'Q', 'R', 'T', 'V', 'a', 'c', 'g', 'g', 'i', 's', 'x', 'y'], ['A', 'E', 'G', 'J', 'O', 'R', 'R', 'S', 'T', 'W', 'a', 'b', 'f', 'h', 'h', 'i', 'm', 'n', 's', 'u', 'v', 'y'], ['B', 'D', 'E', 'H', 'I', 'I', 'K', 'M', 'N', 'P', 'Q', 'S', 'a', 'e', 'i', 'j', 'm', 'o', 'p', 'r', 'x', 'z'], ['A', 'G', 'I', 'K', 'K', 'L', 'O', 'P', 'U', 'U', 'X', 'X', 'Z', 'a', 'c', 'f', 'g', 'i', 'l', 'o', 'o', 'v'], [' ', ' ', 'E', 'H', 'J', 'J', 'L', 'M', 'N', 'O', 'P', 'S', 'S', 'X', 'c', 'f', 'g', 'r', 'u', 'v', 'x', 'z'], ['C', 'E', 'F', 'F', 'H', 'H', 'I', 'K', 'M', 'M', 'U', 'Z', 'e', 'e', 'h', 'h', 'h', 'j', 'k', 'k', 'p', 'r'], [' ', ' ', ' ', 'C', 'G', 'I', 'J', 'O', 'O', 'P', 'T', 'V', 'Y', 'b', 'j', 'n', 'o', 'o', 's', 'u', 'w', 'x'], ['A', 'D', 'F', 'F', 'H', 'H', 'N', 'R', 'S', 'W', 'W', 'Y', 'Y', 'b', 'f', 'i', 'k', 'o', 'u', 'y', 'y', 'z'], [' ', 'C', 'G', 'I', 'I', 'L', 'P', 'S', 'X', 'Y', 'd', 'd', 'f', 'g', 'g', 'k', 'm', 'o', 'r', 'r', 'r', 'x'], ['F', 'I', 'J', 'N', 'P', 'P', 'Q', 'Q', 'R', 'X', 'Y', 'a', 'b', 'h', 'h', 'j', 'l', 'm', 'n', 'p', 'r', 'y'], [' ', 'C', 'D', 'E', 'F', 'L', 'Q', 'Q', 'V', 'c', 'g', 'h', 'k', 'k', 'l', 'l', 'n', 'o', 'p', 'r', 'u', 'x'], [' ', 'A', 'G', 'K', 'L', 'M', 'T', 'U', 'U', 'W', 'Z', 'a', 'f', 'i', 'k', 'k', 'n', 'n', 'p', 'q', 'v', 'z']],13,),
([['3', '5', '1', '5', '6', '7', '7', '3', '0', '4', '7', '6', '1', '4', '0', '6', '3', '4', '1', '3', '1', '2', '9', '8', '7', '8', '0', '2', '7', '6', '1', '0', '3', '8', '0', '5', '9', '3', '9', '9', '8', '6'], ['0', '3', '8', '5', '0', '2', '0', '6', '1', '8', '7', '2', '8', '6', '0', '3', '9', '4', '9', '5', '7', '4', '3', '7', '4', '3', '8', '6', '1', '5', '4', '8', '0', '8', '3', '2', '7', '7', '6', '9', '7', '9'], ['6', '7', '1', '1', '7', '2', '5', '3', '2', '8', '4', '7', '8', '6', '1', '5', '2', '1', '6', '5', '7', '6', '8', '6', '8', '8', '1', '6', '3', '1', '1', '7', '1', '6', '4', '9', '2', '8', '2', '6', '3', '4'], ['8', '7', '9', '2', '0', '6', '6', '6', '2', '3', '1', '4', '8', '2', '3', '5', '5', '9', '2', '8', '0', '3', '2', '7', '2', '0', '2', '7', '0', '6', '5', '8', '2', '9', '3', '9', '8', '1', '9', '7', '9', '7'], ['9', '8', '1', '5', '0', '9', '9', '7', '7', '8', '4', '1', '8', '0', '4', '6', '7', '0', '5', '8', '6', '5', '6', '5', '1', '4', '0', '4', '3', '4', '6', '7', '6', '7', '3', '5', '4', '5', '6', '7', '1', '1'], ['4', '4', '4', '9', '8', '8', '7', '5', '3', '1', '8', '4', '8', '1', '0', '4', '9', '8', '9', '5', '2', '7', '5', '3', '4', '8', '2', '4', '7', '5', '0', '3', '6', '2', '5', '6', '3', '1', '9', '4', '8', '9'], ['7', '2', '7', '6', '2', '8', '8', '8', '1', '1', '5', '4', '6', '5', '3', '0', '3', '7', '4', '0', '0', '2', '4', '1', '8', '0', '0', '7', '6', '4', '7', '1', '8', '8', '1', '8', '8', '2', '3', '1', '7', '2'], ['2', '7', '5', '8', '7', '6', '2', '9', '9', '0', '6', '1', '7', '8', '1', '3', '3', '1', '5', '7', '9', '8', '2', '0', '7', '6', '0', '0', '1', '1', '5', '8', '6', '7', '7', '9', '9', '0', '4', '4', '3', '4'], ['0', '9', '9', '0', '5', '4', '9', '9', '3', '0', '3', '1', '5', '9', '9', '5', '3', '0', '2', '3', '9', '9', '7', '8', '5', '4', '6', '4', '2', '8', '7', '0', '2', '3', '6', '5', '2', '6', '0', '6', '5', '7'], ['1', '1', '4', '1', '4', '2', '7', '1', '9', '7', '9', '9', '4', '4', '2', '7', '6', '8', '2', '6', '7', '3', '1', '8', '0', '5', '3', '0', '3', '9', '0', '4', '7', '9', '6', '8', '1', '7', '0', '3', '2', '4'], ['6', '3', '1', '3', '2', '9', '5', '5', '4', '7', '2', '4', '7', '6', '9', '2', '0', '1', '2', '1', '4', '3', '8', '4', '9', '8', '9', '7', '7', '6', '8', '2', '4', '5', '3', '0', '1', '3', '0', '1', '0', '9'], ['5', '9', '4', '2', '1', '5', '0', '2', '6', '6', '0', '8', '3', '0', '3', '3', '3', '0', '7', '8', '0', '7', '7', '4', '3', '0', '6', '9', '6', '2', '2', '2', '8', '3', '7', '2', '4', '0', '0', '4', '5', '2'], ['3', '1', '1', '6', '2', '9', '7', '0', '3', '2', '8', '0', '5', '2', '2', '9', '9', '2', '8', '3', '5', '7', '4', '2', '8', '7', '8', '0', '4', '9', '7', '8', '0', '3', '2', '2', '1', '5', '1', '4', '9', '1'], ['6', '4', '8', '2', '4', '2', '5', '4', '0', '1', '0', '9', '0', '3', '0', '6', '4', '8', '6', '7', '9', '3', '0', '1', '6', '9', '5', '7', '5', '2', '9', '4', '7', '0', '6', '4', '1', '4', '4', '1', '3', '5'], ['6', '7', '8', '2', '9', '5', '0', '2', '6', '5', '4', '9', '4', '7', '8', '4', '6', '7', '6', '5', '1', '3', '8', '1', '7', '5', '9', '3', '9', '4', '0', '6', '5', '6', '9', '8', '4', '6', '9', '9', '0', '2'], ['6', '9', '2', '4', '3', '7', '2', '5', '8', '6', '3', '6', '3', '6', '7', '2', '6', '8', '6', '4', '3', '9', '6', '2', '1', '3', '1', '8', '8', '9', '6', '2', '0', '2', '2', '9', '3', '6', '4', '4', '8', '7'], ['1', '4', '5', '5', '7', '2', '3', '8', '3', '6', '9', '3', '3', '4', '4', '2', '3', '7', '5', '5', '2', '8', '7', '2', '7', '6', '0', '5', '1', '4', '1', '5', '5', '0', '4', '8', '7', '8', '1', '4', '2', '6'], ['5', '6', '8', '0', '0', '6', '3', '8', '3', '8', '2', '0', '8', '5', '4', '4', '0', '0', '8', '5', '8', '9', '1', '3', '3', '1', '1', '2', '9', '9', '1', '2', '1', '3', '5', '8', '7', '9', '3', '1', '3', '5'], ['9', '6', '7', '4', '9', '0', '2', '8', '9', '4', '3', '6', '4', '1', '8', '3', '1', '8', '0', '4', '4', '2', '1', '2', '9', '8', '3', '6', '7', '3', '9', '5', '7', '9', '1', '4', '6', '1', '4', '5', '4', '0'], ['5', '7', '4', '0', '6', '7', '8', '3', '6', '5', '8', '1', '4', '9', '9', '2', '7', '7', '4', '2', '8', '0', '8', '3', '2', '7', '3', '5', '7', '4', '4', '1', '3', '5', '1', '9', '6', '1', '0', '9', '5', '4'], ['3', '4', '0', '0', '3', '2', '2', '2', '9', '7', '5', '5', '1', '8', '4', '7', '9', '0', '7', '4', '1', '9', '3', '7', '3', '9', '5', '0', '3', '6', '6', '8', '8', '4', '1', '8', '2', '3', '9', '5', '3', '3'], ['7', '0', '6', '2', '5', '2', '1', '8', '1', '4', '4', '8', '9', '0', '3', '0', '3', '1', '9', '0', '8', '0', '1', '0', '3', '7', '6', '6', '3', '9', '4', '3', '4', '4', '1', '4', '7', '2', '9', '5', '8', '3'], ['7', '5', '7', '9', '8', '8', '3', '4', '3', '2', '5', '2', '4', '6', '5', '6', '1', '6', '0', '4', '9', '6', '8', '0', '3', '3', '2', '1', '1', '8', '9', '5', '3', '8', '3', '0', '4', '7', '7', '9', '2', '6'], ['6', '3', '9', '7', '5', '8', '5', '1', '1', '6', '6', '0', '8', '3', '2', '7', '3', '0', '4', '5', '1', '2', '3', '0', '4', '2', '8', '4', '1', '1', '0', '2', '3', '2', '5', '6', '3', '0', '1', '2', '2', '5'], ['8', '7', '2', '1', '4', '9', '6', '5', '2', '0', '9', '1', '0', '8', '6', '9', '7', '3', '4', '5', '6', '7', '2', '8', '3', '0', '1', '9', '5', '4', '4', '1', '6', '4', '0', '5', '1', '5', '7', '8', '2', '4'], ['4', '8', '1', '1', '7', '0', '8', '0', '2', '1', '8', '2', '2', '7', '6', '2', '3', '5', '2', '5', '5', '5', '9', '3', '4', '9', '4', '9', '8', '8', '0', '1', '6', '7', '7', '5', '7', '5', '9', '3', '6', '1'], ['5', '8', '6', '8', '0', '7', '3', '1', '9', '2', '3', '5', '5', '5', '0', '9', '2', '2', '2', '8', '7', '7', '6', '7', '6', '7', '4', '3', '9', '8', '3', '9', '3', '5', '7', '1', '3', '1', '4', '0', '7', '1'], ['9', '2', '6', '8', '8', '6', '8', '4', '8', '6', '7', '7', '7', '0', '2', '6', '5', '1', '5', '3', '8', '0', '5', '6', '5', '4', '9', '4', '6', '0', '0', '7', '2', '2', '1', '1', '0', '5', '1', '2', '5', '1'], ['1', '8', '4', '3', '2', '6', '1', '8', '3', '6', '5', '5', '1', '5', '9', '8', '0', '2', '8', '9', '4', '2', '1', '9', '6', '5', '1', '2', '5', '4', '6', '7', '3', '8', '7', '3', '2', '4', '7', '6', '6', '0'], ['9', '2', '9', '7', '5', '6', '4', '9', '5', '4', '8', '5', '2', '4', '0', '5', '5', '1', '0', '9', '3', '6', '4', '0', '9', '4', '2', '7', '5', '1', '3', '4', '8', '3', '7', '4', '2', '8', '3', '0', '2', '8'], ['8', '4', '4', '7', '5', '7', '3', '2', '8', '9', '5', '5', '2', '3', '8', '3', '3', '8', '0', '4', '9', '5', '9', '8', '5', '9', '1', '9', '4', '3', '9', '7', '4', '3', '0', '9', '3', '1', '3', '1', '3', '9'], ['9', '3', '7', '7', '4', '9', '1', '1', '8', '9', '2', '1', '2', '4', '1', '0', '9', '2', '8', '8', '9', '7', '2', '6', '0', '4', '3', '6', '2', '1', '4', '7', '6', '2', '4', '0', '8', '5', '1', '6', '2', '1'], ['6', '8', '7', '3', '6', '4', '3', '9', '3', '7', '1', '5', '0', '5', '5', '1', '7', '9', '3', '9', '8', '9', '9', '6', '6', '3', '1', '2', '2', '2', '0', '7', '8', '4', '7', '3', '6', '2', '2', '1', '9', '6'], ['1', '3', '1', '5', '7', '5', '2', '5', '3', '4', '0', '7', '6', '8', '5', '9', '7', '1', '0', '3', '3', '8', '2', '9', '7', '2', '4', '8', '6', '3', '1', '3', '3', '0', '7', '1', '5', '9', '0', '9', '8', '1'], ['4', '1', '6', '2', '2', '3', '9', '7', '6', '5', '6', '5', '3', '0', '8', '4', '3', '0', '6', '8', '7', '4', '1', '4', '2', '3', '2', '2', '1', '0', '0', '5', '3', '4', '0', '8', '4', '8', '4', '9', '0', '0'], ['2', '1', '1', '4', '8', '0', '6', '9', '7', '0', '9', '4', '7', '6', '1', '1', '5', '2', '0', '6', '9', '2', '0', '2', '7', '3', '3', '0', '5', '2', '6', '3', '0', '1', '8', '3', '5', '5', '3', '9', '8', '5'], ['1', '3', '2', '8', '8', '7', '7', '2', '6', '3', '8', '8', '5', '6', '7', '0', '1', '7', '7', '8', '5', '1', '9', '5', '2', '5', '7', '2', '2', '5', '9', '6', '0', '3', '1', '2', '2', '2', '3', '0', '1', '9'], ['2', '5', '0', '6', '4', '0', '1', '6', '9', '7', '0', '6', '7', '4', '9', '1', '0', '2', '5', '5', '7', '0', '2', '0', '8', '0', '6', '2', '6', '8', '1', '1', '0', '6', '4', '4', '0', '6', '5', '8', '7', '3'], ['9', '7', '8', '6', '0', '3', '7', '5', '7', '5', '6', '0', '5', '6', '3', '9', '6', '3', '2', '6', '0', '0', '6', '5', '8', '3', '7', '3', '7', '3', '5', '2', '4', '9', '4', '1', '0', '7', '9', '7', '6', '2'], ['3', '0', '7', '5', '1', '4', '8', '7', '9', '9', '0', '7', '6', '8', '6', '0', '5', '8', '0', '8', '9', '4', '8', '1', '3', '1', '8', '6', '0', '5', '1', '7', '3', '4', '7', '6', '4', '2', '8', '6', '1', '7'], ['4', '2', '8', '1', '1', '3', '2', '6', '5', '1', '9', '1', '2', '8', '8', '8', '2', '6', '2', '5', '6', '0', '7', '5', '2', '0', '9', '3', '0', '1', '4', '1', '1', '0', '0', '3', '9', '3', '4', '8', '8', '3'], ['9', '1', '9', '0', '9', '4', '0', '8', '4', '9', '7', '6', '7', '6', '0', '7', '1', '1', '7', '4', '9', '0', '0', '7', '3', '2', '8', '1', '6', '9', '7', '2', '0', '1', '6', '1', '9', '8', '9', '7', '5', '3']],39,),
([['0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1'], ['0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1'], ['0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1'], ['0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1'], ['0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1'], ['0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1'], ['0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1'], ['0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1'], ['0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1'], ['0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1'], ['0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1'], ['0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1'], ['0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1'], ['0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1'], ['0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1'], ['0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1'], ['0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1'], ['0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1'], ['0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '1', '1'], ['0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1'], ['0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1'], ['0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1']],15,),
([['b', 'q', 'b', 'D', 't', 'y', 'Z', 'G', 'd', 'r', 'R', 'R', 'z', 'A', 'Y', 'H', 'D', 'Q', 'X', 'U', 'o', 'a', 'S', 'P', 'S', 'c', 'W', 'r', 'I', 'y', 'E', 'x', 'E', 'k', 'l', 'F', 'M', 'G', 'z', 'T', 'I', 'E', 'D', 'K', 'M', 'l'], ['V', 'm', 'W', 'M', 'l', 'H', 'l', 'j', 'f', 'S', 'k', 'g', 'O', 'W', 'S', 'R', 'I', 'L', 'J', 'Z', 'V', 'X', 'w', 'l', 'K', 's', 'F', 'o', 'X', 'k', 'a', 'L', 'K', 'H', ' ', 'E', 'x', 'b', 'Z', 'w', 'Z', 'Y', 'U', 'y', 'I', 'Q'], ['I', 'o', 's', 'A', 'f', 'Z', 'C', 'o', 'X', 'b', 'd', 's', ' ', 'Y', 'Q', 'U', 'C', 'T', 'K', 'r', 'Q', 'U', 'P', 'C', 'w', 'R', 'e', 's', 'L', 'A', 'j', 'g', 'p', 'B', 'I', 'W', 'L', 'e', 'w', 'b', 'R', 'z', 'Y', 'M', 'M', 'E'], ['k', 'Y', 'v', 'L', 'f', 'x', 'v', 'l', 'C', 'g', 'J', 'V', 'l', 'q', 'p', 'x', 'z', 'A', 'J', 'h', 'V', 'i', 'h', 'r', 'Z', 'i', ' ', 'y', 'M', 'k', 'p', 'q', 'X', 'M', 'U', 'W', 'v', 'v', 'P', 'L', 'n', 'j', 'r', 'O', 'k', ' '], ['K', 'k', 'K', 'Z', 'X', 'W', 'e', ' ', 'x', 'u', 'r', 'l', 'l', 'z', 'V', 'e', 'K', 'z', 'y', 'x', 'f', 'v', 'n', 'f', 'K', 'p', 'b', 'I', 'C', 'p', 'b', 'V', 'R', 't', 'n', 't', 'm', 'A', 'F', 'J', 'U', 'M', 'n', 'g', 'M', 'W'], ['a', 'e', 'x', 'A', 'U', 'V', 'P', 'W', 'W', 'l', 'p', ' ', 'o', 'L', 'X', 'E', 'g', 'k', 'Y', 'W', 'P', 'Y', 'B', 't', 'Z', 'm', 'V', 'Z', 'O', 'z', 'o', 'O', 'm', 's', 'x', 'O', 'L', 'q', 'Z', 'E', 'y', 'B', 'l', 'h', 'h', 'T'], ['c', 'x', 'R', 'R', 'x', 'S', 'R', 'y', 'J', 'Y', 'e', 'F', 'X', 'x', 'h', 'L', 'N', 'Q', 'j', 'X', 's', 'H', 'Z', 'M', 'Q', 'b', 'Q', 'h', 'x', 'R', 'Y', 'C', 'r', 'D', 'b', 'O', 'l', 'W', 'J', 'I', 'A', 'P', 'x', 'D', 'T', 'c'], ['Y', 's', 'B', 'N', 'B', 'g', 'e', 'h', 'l', 'y', 'N', 's', 'a', 'f', 'k', 'p', 'C', 'Q', 'c', 'U', 'A', 'N', 'w', 'V', 'z', 'F', 'j', 'M', 'F', 'g', 'q', 'x', 'r', 'l', 'e', 'Y', 'T', 'z', ' ', 'a', 'n', 'n', 'x', 'p', 'm', 'J'], ['v', 'O', 'a', 'A', 'E', 'q', 'L', 'P', ' ', 'w', 'l', 'G', 'k', 'f', 'M', 'A', 'k', 'i', 'f', 'D', 'z', 'A', 'J', 'Y', 'b', 'g', 'a', 'h', 'e', 'S', 'Q', 'H', 'c', 'f', 'I', 'S', 'X', 'Y', 'J', 'g', 'f', 'n', 'G', 'J', 'r', 'S'], [' ', 'S', 'w', 'G', 'b', 'v', 'z', 'U', 'l', 'k', 'a', 'w', 'y', 'D', 'Q', 'v', 'c', 'T', 'S', 'S', 'n', 'M', 'm', 'j', 'U', 'X', 'a', 'k', 'O', 'A', 'T', 'a', 'U', 'u', 'y', 's', 'W', 'j', 'k', 'n', 'a', 'V', 'X', 'N', 'D', 'C'], ['Z', 'o', 'O', 'a', 'z', 'M', 'X', 'k', 'm', 'X', 'J', 'w', 'y', 'd', 'j', 'c', 'Q', 'E', 'E', 'i', 'g', 'q', 'U', 'v', 'C', 'k', 'y', 't', 'T', 'A', 'o', 'u', 'o', 'e', 'J', 'c', 'c', 'd', 'i', 'o', 'b', 'A', 'h', 'g', 'y', 'Y'], ['O', 'j', 'F', 'A', 'f', 't', 'J', 'u', 'V', 'J', 'P', 'Z', 'C', 'c', 'c', 'y', 'G', 's', 'W', 'X', 'O', 'g', 'q', 'l', 'z', 'L', 'p', 'U', 'o', 'A', 'k', 'v', 'q', 'v', 'I', 'W', 'k', 'r', 'm', 'Y', 'i', 'V', 'Y', 'c', 'P', 'S'], ['N', ' ', 'W', 'k', 'z', 'o', 'V', 'w', 'M', 'a', 'q', 'c', 'P', 'D', 'x', 'O', 'M', 'y', ' ', 'B', 'y', 'L', 'V', 'E', 'j', 'i', 'C', 'k', ' ', ' ', 'c', 'K', 'c', 'h', 'y', 'K', 'c', 'G', 'Q', 'h', 'B', 'i', 'L', 'Q', 'P', 's'], ['X', 'p', 'y', 'I', 'W', 'F', 'F', 'o', 'W', 'g', 'A', 'H', 'a', 'H', 'X', 'F', 'd', 'Y', 'I', 'x', 'n', 'r', 's', 'c', 'B', 'L', 'o', 'B', 'C', 'o', 'G', 'v', 'T', 'q', 'A', 'Z', 'a', 'Z', 'd', 'S', 'B', 'S', 'F', 'I', 'm', 'C'], ['F', 't', 'c', 'w', 'E', 'X', 's', 'F', 'e', 'J', 'h', 'Y', 'f', 'g', 'd', 'f', 'N', 'X', 'G', 'l', 'n', 'M', 'L', 'k', 'P', 'Y', 'M', ' ', 'U', 'X', 'n', 's', 'o', 'F', 'R', 'g', 'E', 'I', 'G', 'P', 'x', 'f', 'h', 'K', 'b', 'k'], ['a', 'p', 'j', 'Q', 'X', 'p', 'h', 'R', 'g', 'U', 'O', 'x', 'X', 'k', 'v', 'm', 'o', 'E', 'Z', 'Z', 'W', 'v', 'k', 'l', 'o', 'O', 'N', 'P', 'Q', 'k', 'A', 'K', 'c', 'l', 'w', 'a', 'k', 'Z', 'd', 'T', 'S', 't', 'K', 'L', 'x', 'k'], ['t', 'f', 'V', 'Q', 'X', 'e', 's', 'f', 'o', 'N', 'U', 'z', 'y', 'K', 'F', ' ', 'A', 'V', 'W', 'A', 'j', 'C', 'T', 'G', 'z', 'K', 'j', ' ', 'I', 'w', 'h', 'Q', 't', 'I', 'm', 'V', 'h', 'M', 'L', 'Q', 'J', 'g', 'p', 'x', 'P', 'i'], ['X', 'Q', 'b', 'i', 'T', 'A', 'R', 'f', 'c', 'r', 'K', 't', 'J', 'E', 'Z', 'd', 'W', 'O', 'G', 'X', 'u', 'I', 'z', ' ', 'm', 'H', 's', 'P', 'd', 's', 'k', 'm', 'E', 'K', 'Y', 'H', 'L', 'b', 'Z', 'y', 'I', 'c', 'p', 'y', 'Y', 'T'], ['P', 'g', 'C', 'T', 'i', 'Z', 's', 's', 'r', 'E', 'L', 'P', 'T', 'o', 'r', 'g', 'x', 'c', 'U', 'b', 'o', 'l', 'H', 'H', 'k', 'b', 'N', 'e', 'S', 'E', 'U', 'c', 'g', 'V', 'E', 'V', 'l', 'L', ' ', 'I', 'h', 'M', 'L', 'z', 'P', 'e'], ['l', 'i', 'O', 'F', 'S', 'e', 'Z', 'j', 'y', 'J', 'p', 'c', 'q', 'j', 'Q', 'E', 'j', 'd', 'u', 'S', 'N', 'Y', 'R', ' ', 'F', 'I', 'f', 'u', 'd', 't', 'u', 'Q', 'J', 'v', 'i', 'x', 'A', 'd', 'k', 'v', 'H', 'Z', 'B', 'u', 'o', 'k'], ['V', 'p', 'B', 'h', 'M', 'a', 'p', 'n', 'z', 'L', 's', 'g', 'c', 'G', 'T', 'X', 'a', 'X', 's', 'h', 'O', 'x', 'h', 's', 'x', 'N', ' ', 'O', 'w', 'F', 'v', 'M', 'W', 'u', 'c', 'Y', 'x', 'x', 'H', 'P', 'T', 'h', 's', 'W', 'w', 'l'], ['B', 'f', 'k', 'U', 'j', 'b', 'X', 'J', 'z', 'y', 'w', 'B', 'n', 'f', 'x', 'N', 'Y', 'l', 'Q', 'h', 't', 'v', 'U', 'y', 'I', 'G', 'q', 'T', 'a', 'i', 'N', 'p', 'e', 'Z', 'Y', 'Q', 'B', 'G', 'e', 'N', 'V', 's', 'E', 'U', 'B', 'h'], ['q', 'Y', 'r', 'w', 't', 'G', 'G', 'M', 'F', ' ', 'e', 'u', 'E', 'g', 's', 'D', 'c', 'h', 'L', 'G', 'x', 'u', 'V', 'j', 'u', 'U', 'i', 'm', 'Y', 'J', 'L', 'P', 'h', 'X', 'p', 'P', 'F', 'f', 'O', 'u', 'U', 'H', 'Y', 'I', 'A', 'X'], ['v', ' ', 'W', 'A', 'e', 't', 'Y', 't', 'I', 's', 'w', 'M', ' ', 'E', 'R', 'K', 'x', 'i', 'O', 'w', 'h', 'e', 'f', 'N', 'i', 'N', 'v', 'q', 'F', 'u', 'A', 'c', 'e', 's', 'p', 'N', 'j', 'G', 'q', 'W', 'q', 'U', 'J', 'b', 'V', 'i'], ['p', 'Y', 'p', 'f', 'I', 'N', 'S', 'C', 'J', 'p', 'O', 'O', 's', 'V', 's', 'Z', 'y', 's', 'l', 'o', 'b', 'e', 'L', 'J', 'm', 'W', 'g', 'P', 'x', 'l', 'W', 'N', 'a', 'T', 'm', 'D', 'p', 'p', 'l', 'P', 'E', 'V', 'c', 'O', 'T', 'Z'], ['x', ' ', 'v', 'X', 'T', 's', 'i', 'A', 'J', 'q', 'H', 'P', 'x', 'q', 'Y', 'n', 's', 'i', 'W', 'z', 'Y', 'q', 'a', 'Z', 't', 'M', 's', 'A', 'q', 'e', 'W', 'V', 'g', 'y', 'x', 'n', 'E', 'p', 'x', 't', 'q', 'R', 'T', 'm', 'h', 'm'], ['M', 'u', 'D', 'R', 'R', 'h', 'B', 'f', ' ', 'H', 'b', 'l', 'q', 'X', 'f', 'b', 'r', 'e', 'v', 'D', 'm', 'T', 'v', 'l', 'g', 'l', 'z', 'y', 'A', 'O', 'i', 'G', 'Q', 'l', 'K', 'G', 'H', 'G', 'S', 'b', 'a', 'b', 'k', 'p', 'g', 'R'], ['G', 'Q', 'P', 'e', 'P', 'r', 'K', 'U', 'l', 'g', 'X', 'q', 'I', 'O', 'U', 'y', 'V', 'Z', 't', 'Q', 'g', 'd', 'T', 'J', 'q', 'w', 'z', 'L', 'V', 'p', 'e', 'X', 'x', 'D', 'k', 'R', 'P', 'U', 'L', 'z', 'a', 'L', 'L', 'Q', 'z', 'D'], ['j', 'W', 'Q', 'E', 'P', 'V', 'f', 'p', 'w', 'n', 'U', 'j', 'Z', 'P', 'f', 'v', 'R', 'r', 'h', 'z', 'r', 'l', 'T', 'P', 'U', 'f', 'v', 'A', 'B', 'k', 'b', 'n', 'o', 'h', 'j', 'K', 'h', 'r', 'f', 'q', 'x', 'E', 'U', 'g', 'd', 'C'], ['C', 'v', 'D', ' ', 'K', 'd', 'd', 'D', 'd', 'f', 'U', 'F', 'l', 'x', 'E', 'D', 'Q', 'L', 'W', 'X', 'E', 'E', 'X', 'T', 'M', 'C', 'e', 'B', 'x', 'o', 'C', 'f', 'd', 'o', 'F', 'T', 'J', 'F', 'G', 'l', 'k', 'x', 'u', 'q', 'N', 't'], ['l', 'd', 'P', 'k', 'N', 'w', 't', 'C', 'u', 'n', 'f', 'Z', 'B', 'A', 'Z', 'z', 'z', 'v', 'Z', 's', 'n', 'f', 'Y', 'c', 's', 'j', 'e', 'M', 'E', 'i', 'N', 'Y', 'D', 'k', 'k', 'n', 'j', 'X', 'q', 'T', 'T', 'G', 'S', 'd', 't', 'd'], ['c', 'c', 'G', 'd', 'y', 'T', 'E', 'w', 'k', 'R', 'd', 'N', 'S', 'M', 'L', 'p', 'H', 'F', 'C', 'L', 'n', 'l', 'C', 'M', 'L', 'u', 'k', ' ', 'X', 'E', 'L', 'J', 'L', 'G', 'l', 'H', 'l', 'r', 'p', 'v', 'D', 'T', 'r', 'L', 'v', 'e'], ['t', 'A', 's', 'J', 'M', 'b', 'P', 'a', 'p', 'G', 'q', 'p', 'i', 'd', 'b', 'C', 'S', 'w', 'c', 'N', 'm', 'A', 'C', 'm', 'f', 'T', 'P', 'z', 'U', 'L', 'o', 'V', 'N', 'M', 'G', 'h', 'V', 'h', 'U', 'S', 'I', 'N', 'f', 'H', 'L', 'f'], ['q', 'V', 'Z', 'j', 's', 'c', 'T', 'n', 'U', 'l', 'E', 'V', 'c', 's', 'J', 'n', 'q', 'b', 'c', 'h', 'e', 'x', 'H', 'G', 'k', 'U', 'P', 'U', 'T', 'W', 'n', 't', 'p', 'i', 'b', 'u', 'b', 'H', 's', 'D', 'L', 'Y', 'Z', 'u', 'P', 'w'], ['s', 'F', 'O', 't', 'J', 'e', 'f', 'P', 'l', 'l', 'v', 'G', 'B', 'J', 'i', 'b', 'i', 'r', 'P', 'x', 'a', 'i', 'X', 'T', 'G', 'G', 'a', 'k', 'd', 'Z', 'L', 'Y', 'U', 'r', 'b', 'p', 't', 'k', 'L', 't', 'x', 'T', 'k', 'v', 'a', 'k'], ['c', 's', 'B', 'Z', 'd', 'h', 'd', 'P', 'w', 'D', 'a', 'c', 'G', 'M', 'T', 'u', 'U', 'O', 'T', 'w', 'a', 'o', 'x', 'V', 'J', 'g', 'N', 'w', 'w', 'f', 'g', 'u', 'j', 'p', 'G', 'T', 'w', 'X', 'J', 'p', 'M', 'y', 'o', 'G', 'm', 'w'], ['w', 'j', 'K', 'u', 'K', 'd', 'N', 'I', 'w', 'E', ' ', 'K', 'K', 'c', 'x', 'U', 'A', 'A', 'v', 'F', 'z', 'a', 'z', 'C', 'V', 'W', 'A', 'o', 'm', 'Z', 'i', 'U', 'F', 'e', 'p', 'w', 'O', 'A', 'T', 'u', 'a', 'P', 'l', 'y', 'w', 'J'], ['b', 'M', 'e', 'h', 'S', 'Q', 'c', 'G', 'D', 'A', 'I', 'H', 'g', 'f', 'E', 'j', 'x', 'u', 'P', 'p', 'p', 'd', 'V', 'F', 'D', 'L', 'L', 'g', 'H', 'h', 'n', 'Q', 'K', 'L', 'g', 'K', 'y', 'Y', 'u', 'A', 'g', 'W', 't', 'J', 'X', 'F'], ['k', 'J', 'l', 'X', 'J', 'm', 'e', 'Y', 'd', 'Z', 'L', 'W', 'r', 'W', 'T', 'J', 'G', 'f', ' ', 's', 'j', 'j', 'P', 'h', 'k', 'x', 'k', 'k', 'B', 'N', 'j', 'h', 's', 'o', 'b', 'm', 'u', 'O', 'i', 'D', 'c', 'B', 'a', 'h', 'B', 'Y'], ['L', 'l', 'R', 'Z', 'f', 'j', 'G', 'E', 'j', 'g', 'X', 'S', 'P', 'H', 'T', 'a', 'c', 'Y', 'b', 'r', 'N', 'N', 'R', 'n', 'd', 'j', 'H', 'M', 'X', 'A', 'V', 'G', 'c', 'r', 'l', 'v', 'F', 'e', 'z', 'k', 'z', 'Q', 'r', 'F', 'L', 'H'], ['U', 'o', 'Y', 'O', 'n', 'J', 'c', 'i', 'j', 'a', 'j', 'H', 'O', 'u', 'S', 'm', 'K', 'y', 'i', 'T', 'v', 'j', ' ', 'v', 'H', 'f', 'r', 'q', 'F', 'a', 'l', 'u', 'F', 'E', 'p', 'b', 'V', ' ', 'm', 'O', 'M', 'E', 'f', 'Q', 't', 'T'], [' ', 'B', 'H', 'i', 'H', 'c', 'T', ' ', 'K', 'u', 'd', 'C', 'F', 'F', 'S', 'v', 'Z', 'A', 'b', 't', 'r', 'G', 'I', 'F', 'p', 'L', 'G', 'N', 'h', 'y', 'm', 'b', 'z', 'V', 'G', 'D', 'p', 'K', 'p', 'C', 'X', 'y', 'w', 'c', 'z', 'K'], ['P', 'q', 'o', 'M', 'T', 'U', 'o', 'r', 'A', 'h', 'S', 'q', 'T', 's', 'V', 'u', 'c', 'N', 'v', 'E', 'r', 'X', 'k', 'v', 'M', 'p', 'Q', 'd', 'Y', 'Q', 'J', 'c', 'L', 'M', 'r', 'Z', 'D', 'k', 'V', 'u', 'G', ' ', 'Y', 'O', 'i', 'x'], ['V', 'x', 'o', 'G', 'T', 'g', 'G', 'N', 'A', 'q', 'p', 'l', 'K', 't', 'j', 'n', 'C', 'U', 'c', 'b', 'q', 'q', 'c', 'C', 'w', 'x', 'B', 'C', 't', 'V', 'z', 'y', 'y', 'o', 'U', 'E', 'O', 'X', 'j', 'V', 'r', 'y', 't', 'n', 'R', 'H'], ['Z', 'O', 'w', 'z', 'v', 'K', 'U', 'c', 'N', 'M', 'h', 'W', 'Y', 'Z', 'g', 'k', 'h', 'o', 'K', 'B', 'K', 'q', 'u', 'P', 'z', 'v', 'j', 'u', 'z', 'P', 'B', 'y', 'p', 'Y', 'U', 'W', 'Z', 'I', 'c', 'm', 'W', 'J', 'c', 'l', ' ', 'O'], ['Q', 'A', 'B', 'Z', 'C', 'D', 'N', 'i', 'W', 'E', 'W', 'V', 'Z', 'k', 'A', 'D', 'z', 'Z', 'I', 't', 'Y', 'K', 'u', 'T', 'u', 'q', 'p', 'V', 'P', 'y', 'o', 'e', 'Y', 'x', 'd', 'L', 'P', 'L', 'p', 'Z', 'E', 'N', 'r', 'c', 'K', 'Z']],31,),
([['1', '1', '1', '1', '2', '2', '3', '3', '3', '4', '4', '5', '5', '6', '7', '7', '7', '8', '8', '9', '9'], ['0', '0', '1', '1', '1', '2', '3', '4', '5', '6', '6', '6', '6', '6', '6', '6', '7', '7', '8', '8', '9'], ['0', '0', '0', '0', '0', '1', '1', '2', '2', '2', '3', '3', '4', '5', '5', '5', '5', '6', '7', '7', '8'], ['0', '1', '1', '2', '2', '2', '2', '2', '3', '3', '4', '4', '5', '5', '6', '6', '7', '7', '7', '9', '9'], ['0', '0', '1', '1', '2', '2', '2', '3', '3', '3', '4', '4', '4', '4', '4', '6', '7', '7', '8', '8', '9'], ['0', '0', '0', '0', '1', '1', '2', '3', '3', '3', '3', '4', '4', '4', '5', '7', '8', '8', '8', '9', '9'], ['0', '0', '0', '0', '0', '0', '1', '1', '2', '3', '4', '5', '5', '6', '6', '7', '7', '8', '8', '9', '9'], ['0', '2', '2', '2', '4', '4', '4', '4', '4', '5', '5', '5', '6', '6', '7', '7', '7', '8', '8', '9', '9'], ['0', '0', '1', '2', '3', '3', '3', '4', '4', '5', '5', '5', '7', '7', '7', '8', '8', '8', '9', '9', '9'], ['0', '0', '1', '2', '2', '3', '4', '4', '4', '4', '4', '5', '6', '6', '6', '7', '8', '8', '9', '9', '9'], ['0', '0', '1', '1', '1', '1', '1', '2', '2', '2', '2', '3', '4', '4', '5', '5', '6', '6', '8', '8', '9'], ['0', '0', '1', '2', '2', '2', '3', '3', '5', '5', '5', '6', '7', '7', '7', '7', '7', '8', '8', '9', '9'], ['0', '0', '1', '1', '1', '3', '5', '5', '5', '5', '6', '6', '6', '6', '6', '7', '7', '8', '8', '9', '9'], ['0', '0', '1', '2', '2', '2', '2', '2', '2', '3', '3', '5', '5', '5', '6', '7', '8', '8', '9', '9', '9'], ['0', '0', '0', '0', '2', '3', '5', '5', '5', '5', '5', '6', '6', '6', '7', '7', '7', '7', '7', '8', '9'], ['0', '0', '1', '2', '2', '3', '3', '3', '4', '4', '4', '5', '5', '5', '6', '6', '6', '7', '7', '8', '9'], ['0', '0', '0', '0', '1', '1', '3', '3', '3', '4', '4', '5', '5', '6', '7', '8', '8', '8', '9', '9', '9'], ['0', '0', '1', '1', '1', '1', '1', '2', '2', '3', '5', '5', '6', '6', '6', '7', '7', '7', '7', '8', '8'], ['0', '1', '1', '1', '1', '2', '2', '4', '4', '4', '4', '4', '5', '5', '6', '7', '7', '8', '8', '9', '9'], ['1', '1', '2', '2', '3', '3', '4', '5', '5', '5', '5', '6', '6', '7', '7', '7', '8', '8', '8', '9', '9'], ['0', '0', '0', '0', '2', '2', '2', '3', '3', '4', '5', '5', '5', '5', '5', '5', '6', '7', '7', '7', '9']],11,),
([['0', '1', '0', '1', '1', '1', '0', '1', '1', '0', '1', '0', '0', '0', '1', '1', '1', '1', '0', '0', '0', '1', '1', '1', '0', '1', '1', '1', '1', '1', '0', '0', '0', '1', '1', '1', '1', '0', '1'], ['1', '0', '0', '0', '1', '0', '1', '1', '0', '0', '0', '0', '1', '0', '0', '0', '1', '1', '0', '0', '0', '1', '0', '0', '1', '0', '1', '1', '1', '1', '0', '0', '0', '0', '0', '0', '0', '1', '0'], ['0', '1', '1', '0', '1', '0', '1', '1', '0', '0', '0', '1', '0', '1', '1', '0', '1', '0', '0', '1', '0', '1', '0', '1', '1', '1', '0', '1', '0', '0', '0', '1', '0', '0', '1', '1', '1', '0', '0'], ['0', '1', '1', '0', '0', '1', '1', '1', '0', '0', '0', '1', '1', '1', '1', '1', '0', '1', '0', '1', '1', '0', '0', '0', '1', '1', '0', '0', '1', '1', '1', '1', '0', '0', '0', '0', '1', '1', '0'], ['1', '1', '1', '1', '1', '0', '0', '0', '1', '0', '1', '1', '0', '1', '1', '0', '0', '1', '1', '1', '1', '0', '1', '0', '0', '0', '0', '0', '1', '0', '0', '1', '0', '0', '1', '0', '0', '1', '1'], ['1', '0', '1', '0', '0', '1', '1', '1', '1', '0', '1', '1', '0', '0', '0', '0', '1', '0', '0', '1', '0', '1', '0', '1', '1', '1', '1', '0', '0', '1', '0', '0', '1', '1', '0', '1', '0', '1', '0'], ['0', '0', '0', '0', '1', '1', '0', '1', '0', '1', '0', '1', '1', '1', '1', '1', '0', '1', '1', '0', '1', '0', '0', '1', '0', '1', '0', '0', '0', '0', '1', '1', '1', '1', '0', '0', '0', '1', '1'], ['1', '0', '0', '1', '1', '1', '1', '0', '0', '0', '1', '0', '0', '1', '0', '0', '0', '0', '1', '0', '1', '0', '0', '0', '0', '1', '1', '0', '1', '1', '0', '1', '0', '0', '0', '0', '1', '0', '0'], ['0', '0', '1', '1', '1', '1', '0', '1', '0', '1', '1', '1', '1', '0', '1', '1', '0', '0', '0', '0', '0', '0', '0', '1', '0', '1', '1', '0', '1', '0', '0', '0', '1', '1', '0', '1', '1', '1', '1'], ['1', '0', '0', '1', '1', '0', '1', '1', '0', '0', '0', '1', '1', '0', '1', '0', '1', '0', '0', '0', '0', '1', '1', '1', '0', '1', '1', '0', '0', '1', '0', '0', '0', '1', '1', '0', '1', '0', '0'], ['0', '0', '0', '1', '0', '0', '1', '1', '0', '0', '1', '0', '0', '1', '0', '0', '0', '0', '1', '1', '0', '1', '0', '0', '1', '0', '1', '0', '1', '0', '1', '1', '0', '0', '0', '1', '0', '0', '1'], ['1', '0', '0', '1', '0', '0', '0', '0', '1', '1', '1', '0', '1', '1', '1', '0', '0', '0', '0', '0', '0', '1', '0', '1', '0', '1', '0', '1', '1', '1', '1', '0', '1', '0', '1', '1', '0', '1', '0'], ['0', '0', '1', '0', '0', '0', '1', '1', '1', '1', '1', '0', '1', '1', '1', '1', '0', '0', '1', '0', '0', '0', '0', '1', '0', '1', '1', '0', '0', '1', '1', '1', '0', '0', '0', '1', '1', '0', '0'], ['0', '1', '0', '1', '0', '0', '0', '0', '1', '1', '1', '1', '0', '0', '0', '0', '1', '1', '1', '0', '0', '0', '0', '0', '0', '1', '0', '1', '1', '1', '1', '0', '0', '1', '0', '0', '0', '0', '0'], ['0', '0', '0', '0', '1', '1', '0', '0', '1', '1', '0', '0', '0', '1', '1', '0', '1', '0', '0', '0', '0', '1', '0', '0', '1', '1', '1', '0', '0', '1', '1', '1', '1', '0', '1', '0', '1', '1', '1'], ['1', '1', '0', '1', '1', '0', '0', '0', '0', '0', '0', '1', '0', '1', '0', '0', '0', '1', '1', '0', '1', '1', '0', '0', '1', '0', '0', '1', '0', '0', '0', '0', '1', '0', '1', '0', '1', '0', '1'], ['0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '0', '1', '0', '0', '1', '1', '1', '1', '1', '0'], ['1', '1', '0', '1', '1', '1', '0', '0', '1', '1', '0', '0', '1', '0', '1', '1', '0', '1', '1', '0', '0', '1', '1', '0', '0', '1', '0', '0', '0', '0', '0', '1', '0', '0', '0', '1', '0', '1', '1'], ['0', '0', '1', '0', '1', '0', '0', '0', '0', '0', '1', '0', '0', '1', '1', '1', '0', '1', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '1', '0', '1', '1', '1', '0', '1', '1', '1', '0', '0'], ['1', '1', '0', '1', '0', '0', '1', '1', '1', '1', '0', '0', '1', '0', '0', '0', '1', '1', '1', '0', '1', '0', '1', '0', '1', '1', '1', '1', '1', '0', '0', '0', '1', '0', '0', '0', '1', '1', '1'], ['1', '0', '0', '1', '1', '1', '0', '0', '1', '1', '1', '1', '1', '0', '0', '0', '0', '0', '1', '0', '1', '0', '0', '0', '0', '1', '0', '0', '1', '1', '0', '1', '1', '0', '1', '0', '0', '0', '0'], ['0', '0', '1', '1', '0', '1', '1', '1', '0', '0', '0', '1', '1', '1', '1', '1', '0', '1', '1', '1', '1', '0', '1', '0', '1', '0', '1', '1', '1', '0', '0', '1', '0', '1', '1', '1', '1', '0', '0'], ['0', '1', '0', '1', '1', '1', '1', '1', '0', '0', '1', '1', '0', '1', '0', '1', '1', '0', '0', '0', '1', '0', '0', '1', '0', '1', '0', '0', '1', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1'], ['0', '1', '1', '1', '1', '0', '1', '1', '0', '0', '1', '0', '0', '1', '1', '0', '1', '0', '0', '0', '1', '1', '0', '0', '0', '0', '0', '1', '1', '0', '1', '1', '0', '1', '1', '1', '0', '0', '1'], ['0', '0', '0', '1', '0', '0', '1', '0', '1', '0', '0', '1', '0', '1', '1', '0', '1', '0', '1', '1', '0', '0', '0', '0', '1', '0', '1', '0', '0', '1', '0', '1', '1', '1', '1', '0', '0', '0', '1'], ['1', '0', '0', '1', '0', '1', '0', '1', '0', '0', '1', '1', '1', '0', '0', '0', '1', '0', '1', '1', '0', '1', '1', '1', '0', '0', '1', '1', '0', '1', '1', '0', '1', '1', '0', '0', '1', '1', '0'], ['0', '0', '1', '0', '1', '1', '0', '0', '1', '1', '1', '0', '0', '1', '1', '1', '0', '1', '0', '0', '0', '0', '1', '1', '1', '1', '1', '0', '0', '1', '0', '1', '0', '0', '1', '0', '1', '0', '0'], ['1', '1', '0', '0', '1', '1', '1', '0', '0', '1', '0', '1', '1', '1', '0', '0', '0', '0', '0', '1', '0', '1', '0', '1', '1', '0', '1', '1', '1', '0', '0', '1', '0', '0', '1', '0', '1', '1', '1'], ['0', '1', '0', '0', '1', '1', '0', '1', '1', '0', '1', '0', '1', '1', '0', '0', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '0', '1', '0', '0', '0', '0', '0', '1', '1', '0', '1', '0', '1'], ['1', '0', '1', '0', '1', '1', '0', '0', '0', '1', '1', '0', '0', '0', '0', '1', '1', '0', '0', '0', '0', '0', '0', '1', '1', '0', '1', '0', '1', '1', '1', '0', '0', '0', '0', '1', '1', '1', '0'], ['1', '0', '1', '0', '1', '0', '1', '0', '0', '1', '1', '1', '0', '1', '1', '1', '1', '0', '0', '1', '0', '1', '0', '0', '0', '1', '1', '0', '1', '1', '1', '0', '1', '0', '0', '0', '0', '0', '1'], ['1', '1', '0', '0', '1', '0', '0', '1', '1', '1', '1', '0', '0', '0', '0', '0', '0', '1', '1', '0', '0', '1', '0', '0', '1', '1', '1', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '0', '0'], ['1', '0', '0', '1', '1', '0', '1', '1', '0', '0', '0', '0', '0', '1', '0', '0', '1', '1', '1', '1', '1', '1', '0', '0', '0', '1', '1', '1', '1', '0', '0', '1', '1', '0', '1', '1', '1', '0', '1'], ['0', '1', '0', '0', '0', '1', '0', '1', '0', '0', '1', '0', '1', '0', '1', '1', '0', '1', '0', '1', '1', '0', '0', '0', '0', '0', '1', '1', '0', '1', '1', '0', '1', '1', '0', '0', '1', '1', '1'], ['1', '0', '1', '1', '1', '1', '1', '1', '0', '0', '1', '0', '1', '0', '1', '0', '0', '1', '0', '0', '0', '0', '1', '1', '0', '1', '0', '1', '0', '1', '1', '1', '1', '1', '1', '0', '0', '1', '0'], ['0', '1', '1', '1', '0', '1', '0', '1', '1', '0', '0', '0', '1', '0', '0', '0', '1', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '1', '1', '1', '0', '1', '1', '0', '1', '1', '1', '1', '1'], ['1', '1', '1', '0', '1', '1', '0', '0', '0', '0', '1', '1', '0', '1', '1', '0', '1', '0', '0', '1', '0', '0', '1', '1', '1', '0', '1', '1', '0', '1', '1', '1', '0', '1', '1', '0', '0', '0', '1'], ['0', '1', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '0', '0', '1', '1', '0', '1', '0', '0', '1', '1', '1', '0', '0', '1', '0', '0', '0', '0', '1', '0', '1', '0', '1', '0', '1', '1', '0'], ['1', '1', '0', '1', '1', '0', '0', '1', '1', '1', '0', '1', '1', '0', '1', '1', '0', '0', '1', '1', '1', '1', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '1', '0', '0', '1', '1', '1']],20,),
([['B', 'D', 'D', 'E', 'H', 'H', 'J', 'M', 'M', 'M', 'M', 'N', 'O', 'O', 'P', 'R', 'S', 'T', 'U', 'U', 'W', 'W', 'Z', 'Z', 'b', 'c', 'c', 'e', 'f', 'g', 'j', 'k', 'k', 'n', 'o', 'r', 't', 'u', 'v'], [' ', 'A', 'A', 'A', 'C', 'C', 'D', 'D', 'E', 'F', 'H', 'J', 'J', 'K', 'L', 'L', 'N', 'T', 'T', 'U', 'W', 'Y', 'Z', 'c', 'f', 'g', 'i', 'i', 'k', 'k', 'm', 'n', 'o', 'p', 'r', 'r', 'u', 'v', 'x'], [' ', 'A', 'A', 'C', 'D', 'E', 'G', 'H', 'K', 'K', 'L', 'Q', 'S', 'U', 'V', 'Z', 'a', 'd', 'e', 'g', 'i', 'i', 'j', 'n', 'o', 'o', 'p', 'p', 'q', 's', 's', 't', 't', 'w', 'x', 'x', 'x', 'y', 'z'], [' ', 'B', 'D', 'E', 'G', 'H', 'H', 'H', 'H', 'K', 'M', 'O', 'O', 'R', 'R', 'S', 'S', 'U', 'V', 'X', 'a', 'a', 'd', 'e', 'e', 'f', 'h', 'i', 'j', 'p', 'p', 'q', 'q', 'q', 's', 'w', 'w', 'y', 'z'], [' ', 'A', 'A', 'C', 'E', 'F', 'G', 'H', 'J', 'J', 'K', 'M', 'O', 'S', 'S', 'U', 'X', 'Y', 'Z', 'b', 'd', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'n', 'q', 'q', 's', 's', 't', 'u', 'u', 'v', 'y', 'z'], ['H', 'H', 'H', 'H', 'J', 'J', 'K', 'M', 'N', 'S', 'U', 'U', 'V', 'V', 'V', 'W', 'Y', 'a', 'b', 'c', 'c', 'e', 'f', 'f', 'f', 'h', 'k', 'l', 'm', 'q', 'q', 's', 't', 'v', 'v', 'w', 'w', 'y', 'z'], ['A', 'B', 'D', 'G', 'H', 'I', 'J', 'J', 'L', 'M', 'N', 'P', 'Q', 'S', 'T', 'T', 'X', 'X', 'X', 'Y', 'Z', 'a', 'c', 'd', 'd', 'd', 'i', 'k', 'l', 'm', 'n', 'p', 'q', 'q', 't', 'w', 'x', 'y', 'y'], [' ', 'B', 'B', 'C', 'E', 'F', 'G', 'H', 'I', 'I', 'I', 'J', 'J', 'K', 'M', 'N', 'O', 'O', 'P', 'Q', 'S', 'T', 'W', 'Y', 'Y', 'a', 'c', 'd', 'h', 'h', 'i', 'j', 'k', 'o', 'o', 's', 'z', 'z', 'z'], [' ', 'A', 'C', 'C', 'D', 'E', 'E', 'E', 'F', 'H', 'H', 'M', 'M', 'N', 'N', 'R', 'T', 'W', 'Z', 'Z', 'd', 'e', 'h', 'h', 'j', 'j', 'k', 'm', 'n', 'o', 'p', 'r', 's', 's', 't', 'w', 'x', 'x', 'x'], ['A', 'D', 'I', 'M', 'P', 'Q', 'U', 'U', 'Y', 'Y', 'Z', 'Z', 'Z', 'a', 'b', 'c', 'e', 'f', 'f', 'f', 'g', 'g', 'h', 'h', 'i', 'i', 'j', 'm', 'n', 'o', 'p', 'q', 'r', 'u', 'u', 'u', 'w', 'x', 'z'], [' ', 'A', 'A', 'A', 'B', 'C', 'E', 'F', 'G', 'H', 'J', 'Q', 'R', 'S', 'U', 'U', 'V', 'W', 'Y', 'Z', 'a', 'b', 'b', 'd', 'g', 'j', 'k', 'l', 'l', 'm', 'n', 'n', 'o', 's', 's', 'u', 'w', 'w', 'w'], [' ', 'A', 'B', 'C', 'E', 'E', 'E', 'H', 'J', 'J', 'K', 'M', 'N', 'P', 'R', 'U', 'U', 'V', 'W', 'a', 'e', 'f', 'k', 'k', 'k', 'l', 'l', 'm', 'n', 'n', 'o', 'o', 'o', 'q', 'r', 'r', 't', 'u', 'x'], [' ', 'B', 'B', 'E', 'F', 'F', 'H', 'O', 'O', 'P', 'P', 'Q', 'R', 'S', 'T', 'X', 'a', 'a', 'a', 'b', 'e', 'f', 'g', 'i', 'j', 'm', 'n', 'p', 'r', 't', 't', 't', 'u', 'v', 'v', 'w', 'x', 'x', 'z'], [' ', 'A', 'B', 'C', 'D', 'E', 'E', 'G', 'H', 'J', 'J', 'J', 'K', 'K', 'M', 'P', 'Q', 'R', 'R', 'W', 'X', 'X', 'Z', 'a', 'a', 'e', 'h', 'i', 'j', 'k', 'q', 'q', 'r', 'r', 's', 'u', 'x', 'x', 'y'], [' ', 'B', 'I', 'I', 'J', 'J', 'K', 'N', 'O', 'P', 'P', 'R', 'U', 'X', 'Z', 'Z', 'Z', 'b', 'd', 'f', 'f', 'h', 'h', 'h', 'j', 'k', 'k', 'n', 'n', 'o', 'o', 'p', 'q', 's', 't', 'v', 'w', 'x', 'z'], [' ', ' ', 'B', 'E', 'K', 'L', 'M', 'N', 'Q', 'Q', 'R', 'S', 'T', 'U', 'V', 'V', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'e', 'e', 'g', 'i', 'i', 'm', 'n', 'o', 'p', 's', 'u', 'u', 'v', 'w', 'x', 'z'], ['E', 'E', 'E', 'E', 'J', 'K', 'K', 'M', 'N', 'P', 'Q', 'S', 'S', 'V', 'W', 'W', 'W', 'X', 'Y', 'c', 'c', 'd', 'e', 'f', 'h', 'n', 'n', 'p', 'q', 'r', 's', 't', 'u', 'v', 'x', 'x', 'y', 'z', 'z'], [' ', ' ', ' ', 'E', 'E', 'F', 'F', 'G', 'G', 'H', 'J', 'L', 'O', 'Q', 'R', 'R', 'T', 'V', 'W', 'Y', 'Y', 'Z', 'Z', 'c', 'f', 'g', 'h', 'h', 'j', 'l', 'q', 'q', 'q', 't', 'v', 'x', 'x', 'y', 'y'], ['B', 'D', 'G', 'G', 'H', 'J', 'J', 'K', 'M', 'Q', 'S', 'S', 'T', 'T', 'T', 'U', 'V', 'Z', 'Z', 'a', 'b', 'd', 'e', 'g', 'g', 'h', 'h', 'l', 'l', 'n', 'o', 's', 'u', 'u', 'v', 'v', 'w', 'x', 'y'], [' ', ' ', 'B', 'B', 'B', 'C', 'D', 'D', 'E', 'I', 'L', 'M', 'O', 'O', 'P', 'P', 'Q', 'R', 'R', 'R', 'R', 'R', 'U', 'a', 'b', 'c', 'd', 'e', 'g', 'k', 'l', 'l', 'n', 'n', 'n', 'p', 'p', 'r', 'r'], [' ', ' ', 'B', 'E', 'E', 'F', 'G', 'L', 'M', 'N', 'N', 'O', 'P', 'R', 'R', 'S', 'S', 'S', 'T', 'T', 'Y', 'Y', 'Z', 'a', 'a', 'b', 'd', 'e', 'f', 'j', 'j', 'k', 'l', 'l', 'm', 'o', 'o', 'p', 'y'], ['A', 'B', 'E', 'E', 'H', 'H', 'I', 'J', 'J', 'N', 'O', 'P', 'Q', 'R', 'V', 'V', 'W', 'W', 'X', 'X', 'Y', 'Z', 'Z', 'g', 'i', 'j', 'j', 'm', 'n', 'o', 'q', 'r', 'r', 's', 's', 's', 's', 't', 'x'], [' ', 'G', 'J', 'L', 'M', 'M', 'Q', 'Q', 'Q', 'S', 'U', 'W', 'W', 'Y', 'Z', 'Z', 'a', 'b', 'f', 'h', 'i', 'i', 'l', 'l', 'm', 'n', 'o', 'p', 'p', 'p', 'q', 'q', 'q', 's', 's', 't', 'u', 'v', 'w'], ['B', 'B', 'D', 'E', 'E', 'H', 'I', 'J', 'K', 'K', 'L', 'S', 'T', 'V', 'X', 'b', 'b', 'b', 'd', 'd', 'g', 'h', 'h', 'h', 'i', 'i', 'k', 'l', 'm', 'm', 'n', 'o', 'v', 'w', 'x', 'x', 'x', 'z', 'z'], ['B', 'C', 'C', 'C', 'D', 'D', 'E', 'F', 'J', 'K', 'M', 'N', 'O', 'O', 'Q', 'Q', 'R', 'R', 'R', 'S', 'T', 'U', 'V', 'W', 'W', 'a', 'b', 'f', 'g', 'i', 'm', 'n', 'n', 'n', 'p', 'p', 'p', 'u', 'v'], [' ', 'B', 'D', 'F', 'F', 'H', 'J', 'J', 'M', 'M', 'N', 'T', 'U', 'c', 'd', 'e', 'e', 'j', 'j', 'j', 'l', 'l', 'm', 'm', 'n', 'n', 'o', 'p', 'p', 'p', 's', 't', 't', 'v', 'v', 'w', 'y', 'y', 'y'], [' ', 'A', 'A', 'B', 'D', 'G', 'H', 'H', 'H', 'I', 'K', 'N', 'O', 'P', 'R', 'S', 'T', 'Y', 'Y', 'a', 'b', 'c', 'e', 'f', 'g', 'h', 'j', 'j', 'j', 'm', 'n', 'o', 's', 's', 'u', 'u', 'x', 'x', 'z'], [' ', ' ', 'F', 'G', 'G', 'J', 'N', 'N', 'P', 'S', 'S', 'S', 'T', 'T', 'X', 'Z', 'a', 'd', 'e', 'f', 'f', 'h', 'i', 'j', 'k', 'm', 'm', 'n', 'r', 's', 's', 't', 'v', 'w', 'x', 'x', 'x', 'z', 'z'], ['B', 'B', 'D', 'I', 'J', 'L', 'M', 'M', 'N', 'P', 'P', 'Q', 'S', 'U', 'X', 'X', 'X', 'Y', 'Z', 'a', 'b', 'e', 'e', 'f', 'g', 'i', 'j', 'l', 'm', 'o', 'q', 'r', 'r', 't', 'v', 'w', 'w', 'w', 'w'], [' ', 'A', 'B', 'C', 'D', 'D', 'E', 'F', 'F', 'H', 'I', 'J', 'J', 'M', 'N', 'N', 'O', 'S', 'U', 'V', 'W', 'W', 'e', 'g', 'h', 'h', 'i', 'j', 'j', 'o', 'p', 'q', 'q', 'r', 't', 'v', 'v', 'x', 'y'], [' ', 'A', 'A', 'C', 'C', 'D', 'D', 'D', 'E', 'G', 'I', 'J', 'O', 'Q', 'S', 'S', 'S', 'T', 'T', 'V', 'X', 'Y', 'Y', 'b', 'i', 'k', 'l', 'l', 'm', 'n', 'p', 't', 'v', 'w', 'w', 'x', 'x', 'y', 'z'], ['A', 'A', 'D', 'F', 'G', 'H', 'I', 'L', 'N', 'P', 'Q', 'S', 'T', 'U', 'V', 'W', 'W', 'X', 'Y', 'Z', 'b', 'c', 'f', 'g', 'g', 'g', 'j', 'j', 'j', 'l', 'q', 's', 's', 'v', 'v', 'w', 'x', 'y', 'z'], ['B', 'H', 'I', 'J', 'K', 'K', 'L', 'L', 'M', 'N', 'N', 'N', 'P', 'P', 'S', 'T', 'U', 'V', 'W', 'W', 'a', 'a', 'a', 'a', 'b', 'j', 'j', 'k', 'm', 'n', 'p', 'u', 'u', 'u', 'v', 'w', 'x', 'y', 'z'], ['B', 'B', 'D', 'D', 'D', 'E', 'G', 'H', 'I', 'I', 'I', 'L', 'N', 'N', 'O', 'P', 'R', 'R', 'R', 'S', 'V', 'V', 'Y', 'Z', 'a', 'b', 'h', 'k', 'l', 'm', 'n', 'o', 'p', 'p', 'q', 'r', 's', 'x', 'z'], ['A', 'B', 'B', 'G', 'G', 'H', 'J', 'J', 'L', 'M', 'M', 'N', 'N', 'P', 'P', 'P', 'R', 'S', 'T', 'X', 'Z', 'd', 'd', 'f', 'f', 'j', 'j', 'j', 'l', 'l', 'l', 'm', 'r', 'r', 'u', 'v', 'v', 'x', 'x'], [' ', 'B', 'B', 'C', 'E', 'G', 'J', 'J', 'K', 'L', 'N', 'O', 'Q', 'R', 'T', 'T', 'V', 'V', 'X', 'X', 'b', 'e', 'f', 'i', 'i', 'k', 'm', 'n', 'o', 'o', 'p', 's', 's', 'u', 'u', 'w', 'x', 'x', 'x'], ['A', 'A', 'A', 'B', 'B', 'E', 'H', 'H', 'H', 'I', 'J', 'J', 'N', 'Q', 'Q', 'R', 'R', 'U', 'V', 'X', 'a', 'b', 'd', 'd', 'e', 'e', 'g', 'g', 'k', 'k', 'l', 'n', 'n', 'p', 'q', 'q', 'v', 'w', 'x'], ['B', 'B', 'B', 'C', 'C', 'D', 'E', 'F', 'H', 'I', 'I', 'K', 'N', 'N', 'P', 'P', 'P', 'U', 'W', 'X', 'Z', 'c', 'e', 'h', 'h', 'i', 'j', 'l', 'p', 'p', 'r', 'r', 'r', 'r', 'v', 'w', 'x', 'x', 'y'], [' ', ' ', 'B', 'C', 'C', 'D', 'E', 'E', 'H', 'L', 'O', 'P', 'P', 'S', 'T', 'V', 'Y', 'Y', 'Y', 'c', 'd', 'e', 'e', 'f', 'h', 'h', 'h', 'j', 'k', 'l', 'm', 'n', 'r', 's', 's', 'u', 'x', 'y', 'y']],38,),
([['8', '0', '3', '3', '7', '7', '3', '5', '4', '9', '6', '9', '4', '6', '9'], ['8', '7', '2', '2', '6', '9', '6', '0', '0', '6', '8', '1', '6', '1', '5'], ['2', '0', '5', '1', '8', '0', '0', '2', '9', '4', '1', '4', '8', '0', '2'], ['9', '9', '9', '5', '1', '8', '9', '5', '8', '7', '2', '9', '4', '0', '4'], ['1', '6', '7', '1', '7', '4', '7', '4', '6', '4', '3', '8', '0', '4', '9'], ['2', '7', '9', '6', '1', '2', '2', '9', '0', '7', '2', '3', '2', '0', '9'], ['9', '5', '3', '3', '6', '1', '3', '1', '3', '4', '3', '4', '1', '5', '9'], ['1', '6', '5', '2', '6', '7', '1', '8', '6', '6', '2', '2', '6', '7', '6'], ['5', '3', '8', '0', '3', '6', '3', '2', '1', '2', '3', '8', '1', '0', '2'], ['2', '2', '6', '8', '0', '6', '5', '9', '9', '3', '9', '5', '8', '6', '4'], ['4', '1', '0', '3', '9', '1', '0', '8', '3', '4', '0', '9', '0', '6', '8'], ['1', '7', '9', '6', '6', '1', '7', '2', '5', '9', '5', '2', '1', '1', '8'], ['7', '7', '4', '5', '2', '6', '4', '3', '4', '9', '1', '4', '3', '7', '2'], ['1', '3', '0', '5', '9', '2', '2', '6', '2', '4', '0', '7', '2', '6', '1'], ['0', '4', '4', '2', '6', '9', '5', '4', '3', '2', '6', '5', '6', '4', '0']],8,),
([['0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1'], ['0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1'], ['0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1'], ['0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1'], ['0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1'], ['0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1'], ['0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1'], ['0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1'], ['0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1'], ['0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1'], ['0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1'], ['0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1']],6,),
([['u', 'V', 'l', 'L', 'o', 'i', 'o', 'L', 'S', 'D', 'S', 'u', 'Z', 'E', 's', 'q', 'P', 'X', 'd', 'v', 'W', 'J', 'p', 'r', 'e', 'j', 'F', 'l', 'Z', 'U', 'R', 'Y', 'M', 'C', 'S', 'C', 'Q', 'A'], ['w', 'p', 'O', 'x', 'a', 'v', 'Q', 'Z', 'n', 'Q', 'j', 't', 'N', ' ', 'n', 'u', 'y', 'x', 'E', 'r', 'd', 'e', 'g', 'e', 'H', 'Z', 'b', 's', 'A', 'R', 'x', 'h', 'v', 'X', 'x', 'K', 'P', 'M'], ['y', 'D', 'z', 't', 'g', 'L', 'B', 'N', 'i', 'g', 'E', 'l', 'P', 'q', 'j', 'm', 'c', 'X', 'b', 'X', 'Z', 'w', 's', 'Z', 'F', 'p', 'r', 'P', 'o', 'p', 'Y', 'R', 'w', 'n', 'y', 'n', 't', 'C'], ['b', 'v', 'G', 'K', 'J', 'u', 'w', 'q', 'x', 'b', 'O', 'Z', 'b', 'v', 'E', 'O', 'o', 'j', 'W', 'd', 'r', 'z', 'X', 'K', 'r', 'O', 'm', 'S', 'V', 'D', 'm', 'O', 'j', 'O', 'J', 'L', 'z', 'S'], ['Z', 'O', 'X', 'A', 'd', 'N', 'V', 't', 'f', 'z', 'q', 'H', 'O', 'Z', 'b', 'T', 'W', 'B', 'u', 'K', 'P', 'y', 'w', 'z', 'p', 'M', 'Z', 'P', 'l', 'y', 'J', 'G', 'i', 'C', 'r', 'y', 's', 'v'], ['k', 'R', 'i', 'z', 'A', 'l', 'J', 'X', 'C', 'i', 'P', 'A', 'y', 'y', 'a', 'E', 'V', 's', 'a', 'P', 'r', 'Y', 'D', 'n', 'o', 'w', 'M', ' ', 'W', 'm', 'W', 'H', 'a', 'v', 'j', 'g', 'Y', 'm'], ['M', 'y', 'N', 'A', 'R', 'u', 'e', 'N', 'H', 'a', 's', 'E', 'Q', 'b', 'd', 'E', 's', 'X', 'f', 'G', 'N', 'x', 'h', 'i', 'u', 'U', 'M', 'U', 's', 'u', 'N', 'f', 'u', 'o', 'C', 's', 'S', 'P'], ['h', 'C', 'v', 'L', 'H', 'h', 'Y', 'Y', 'F', 'S', 'd', 'Q', 'h', 'V', 'V', 'U', 'g', 'C', 's', 'X', 'E', 't', 'e', 'M', 'F', 'w', 'U', 'e', 'C', 'J', 'Y', 'R', 'o', 'a', 'W', 'L', 'k', 'K'], ['k', 'H', 'J', 'T', 's', 'F', 'y', 'C', 'O', 'J', 'O', 'B', 'm', 'B', 'e', 'G', 'l', 'g', 'y', 'J', 'y', 'u', 'F', 'E', 'B', ' ', 'B', 'Z', 'a', 'e', 'v', 'u', 'U', 'J', 'l', 'C', 'k', 'v'], ['d', 'y', 'V', 'Z', 't', 'X', 'n', 'v', 'O', 's', 'E', 'L', 'Z', 'x', 'x', 'p', 'w', 'W', 'S', 'n', 'G', 'y', 'q', 'o', 'B', 'X', 'f', 'r', 'n', 'T', 'y', 'p', 'J', 'j', 'I', 'w', 'r', 's'], ['h', 'y', 'p', 'j', 'r', 'D', 'j', 'H', 't', 'X', 'q', 'K', 'N', 'j', 'h', 'v', 'K', 'r', 'j', 'J', 'A', 'u', 'D', 'f', 'J', 'n', 'q', 'w', 'P', 'w', 'i', 's', 'G', 's', 't', 'D', 'r', 'A'], ['f', 'I', 'v', 'M', 'x', 'K', 'O', 'i', 'p', 'y', 'o', 'Z', 'Y', 's', 'V', 'f', 'i', 'V', 'x', 'K', 'p', 'a', 'L', 'V', 'r', 'B', 'v', 'd', 'M', 'e', 'X', 'h', 'F', 'S', 'p', 'Z', 'J', 'I'], ['H', 'V', 'a', 'a', 'i', 'k', 'D', 'e', 'Z', 'i', 'h', 'v', 'A', 'G', 'N', 'Q', 'r', 'e', 'A', 'q', 'n', 'a', 'z', 'N', 'b', 'y', 'R', 'z', 'c', 'I', 'A', 'h', 'z', 'o', 'F', 'w', 'p', 'h'], ['X', 'z', 'K', 'b', 'z', 'E', 'u', 'E', 'h', 'L', 'X', 'K', 'Q', 'r', 'f', 'Z', 'k', 'p', 'S', 'b', 'l', 'N', 'M', 'u', 'f', 'z', 'p', 'f', 'Q', 'U', 'q', 'g', 'F', 'K', 'D', 'Q', 'H', 'K'], ['S', 'U', 'o', 'u', 'z', 'G', 'q', 'w', 'N', 'B', 'c', 'u', 'k', 'n', 'v', 'S', 'O', 'Z', 'I', 'F', 'T', 'Z', 'D', 'g', 'w', 'K', 'G', 'C', 'B', 'M', 'e', 'W', 'r', 'v', 'l', 't', 't', 'u'], ['P', 'e', 'm', 'H', 'W', 'b', 's', 'C', 'j', 'U', 'E', 'a', 'J', 'o', 'G', ' ', 'H', 'T', 'f', 'j', 'N', 'N', 'E', 'u', 'W', 'O', 'X', 'e', 'm', 'w', ' ', 'f', 'U', 'Y', 'N', 'X', 'I', 'j'], [' ', 'v', 'q', 'O', 'd', 'p', 'd', 'Q', 'N', 'A', 'v', 'u', 'o', 'q', ' ', 'S', 'H', 'b', 'M', 'J', 'b', 'G', 'L', 'N', 'w', 'r', 'G', 'Q', 'E', 'R', 'y', 'a', 'k', 'S', 'W', 'I', 'P', 'd'], ['N', 'z', 'F', 'X', 'x', 'J', 'q', 'G', 'Z', 'Z', 'E', ' ', 'q', 'M', 'L', 'B', 'y', 'k', 'h', 'R', 'e', 'R', 'N', 'p', 'D', 'K', 'n', 'g', 'E', 'w', 'P', 'v', 'J', 'P', ' ', 'q', 'N', 's'], ['u', 'Q', 'F', 'j', 'r', 'I', 'X', 'C', 'E', 'R', 'R', 'E', 'D', 'p', 'n', 'a', 'X', 'Q', 'J', 'F', 'F', 'x', 's', 'P', 'o', 'a', 't', 'f', 'S', 'n', 'P', 'S', 'k', 's', 'j', 'M', 'L', 'l'], ['F', ' ', 'n', 'P', 'P', 'N', 'D', ' ', 'N', 'W', 'G', 'm', 'p', 'P', 'R', 'L', 'b', 'c', 'q', 'O', 'k', 'Y', 'p', 'I', 'b', 'P', 'Y', 'Y', 'F', 'c', 'p', 'W', 'e', 'R', 'k', 'j', 'V', 'h'], ['Q', 'J', 'g', 'D', 'S', 'U', 'm', 'z', 'M', 'n', 'a', 'V', 'q', 'P', 'X', 'w', 's', 'v', 'J', 'J', 'h', 'n', 'J', 'd', 'Z', 'M', 'v', 'M', 'h', 'Q', ' ', 'W', 'V', 's', 'O', 'A', 'x', 'j'], ['N', 'i', 'm', 'F', 'H', 'C', ' ', 'x', ' ', 't', 'g', 'q', 'j', 'd', 'n', 'g', 'l', 'U', 'k', 'U', 'q', 'h', 'A', 'c', 'u', 'o', 'U', 'z', 'D', 'N', 'p', 'R', 'K', 'k', 'T', 'i', 'D', 'i'], ['P', 'r', 'W', 'S', 's', 'U', 'k', 'l', 'e', 's', 'W', 'd', 'Y', 'q', 'p', 'Q', 'z', 'F', 'Z', 's', 'x', 'h', 'J', 'q', 'B', 'F', 'R', 'm', 'l', 'f', 'H', 'U', 'd', 'V', 'o', 'b', 't', 'B'], ['R', 'q', 'm', 'q', 'h', 'q', 'i', 'P', 'N', 'O', 'q', 'i', 'V', 'O', 'n', 'K', 'J', 'd', 'E', 'b', 'V', 'O', 'u', 'S', 'l', 'u', 'A', 'k', 'd', 'r', 'x', 'g', 'y', 'U', 'A', 'q', 'p', 'd'], ['r', 'h', 'h', 'L', 'j', 'd', 'b', 'o', 'v', 'D', 'd', 'M', 'f', 'y', 'Q', 'V', ' ', 'j', 'a', 'T', 'X', 'a', 't', 'I', 'Z', 'A', 'P', 'l', 'Y', 'j', 'c', 'A', 'A', 'e', 'r', 'H', 'u', 'f'], ['a', 'Y', 'J', 'J', 'k', 'L', 'x', 'l', 'O', 'n', 'J', 'I', 'l', 'x', 'V', 'S', 'S', 'l', 'D', 'E', 'm', 'd', ' ', 'j', 'Q', 'L', 't', 'c', 'o', 'D', 'z', 'A', 'x', 'u', 'F', 'E', 'v', 'a'], ['o', 'K', 'F', 'V', 'L', 'G', 't', 'A', 'd', 'b', 'P', 'F', 'K', 'N', 'J', 'e', 'B', 'T', 'H', 'n', 'D', 'b', 'm', 'T', 'L', 'S', 'n', 'D', 'b', 's', 'I', 't', 'O', 'a', 'm', 'a', 'A', 'n'], ['L', 'o', 'z', 'L', 'a', 'd', 'T', 'D', 'd', 'S', 'D', 'a', 'm', 'z', 'y', 'y', 'A', 'j', 'v', 'H', 'F', 't', 'A', 'f', 'G', 'E', ' ', 'x', ' ', 'm', 'L', 'I', 'O', 'Z', 'C', 'y', 'X', 'x'], [' ', 'I', 'i', 's', 'E', 'N', 'm', 'k', 'l', 'n', 's', 's', 'P', 'M', 'x', 'i', 'I', 'K', 'k', 'm', 'k', 'X', 'n', 'W', 'k', 'F', 'D', 'c', 'l', 'd', 'n', 'o', 'H', 'T', 'B', 'g', 'S', 'v'], ['g', 'p', 'd', 'A', 'Y', 'b', 'L', 'P', 'v', 'j', 'O', 'C', 's', 'g', 'J', 'm', 'P', 'd', 'H', 'c', 'h', 'U', 'P', 'J', 'h', 'c', 'f', 'W', 'l', 'K', 'F', 'T', 's', 'Z', 'n', 'v', ' ', 'p'], ['O', 'H', 'J', 'y', 'B', 'c', 'M', 'Q', 'F', 'k', 'S', 'o', 'b', 'M', 'c', 'i', 'K', 'l', 'a', 'Y', 'v', 'O', 'U', 'R', 'B', 'o', 'H', 'g', 'o', ' ', 'H', 'l', 'g', 'e', 'L', 'x', 'M', 'z'], ['q', 'u', 'A', 'O', 'u', 'f', 'r', 'U', 'F', 'g', 'f', 'g', 'R', 'E', 'W', 'H', 'n', 'e', 'N', 'Z', 'y', 'M', 'j', 'L', 'T', 'b', 'v', 'N', 'u', 'X', 'E', 'y', 'g', 'Y', ' ', 'n', 'T', 'r'], ['k', 'n', 'F', 'B', 'X', 't', 'j', 'a', 'b', 'I', 'C', 'O', 'R', 'h', 'c', 'C', 'F', 'E', 'l', 'Y', 's', 'D', 'p', 'j', 'J', ' ', 'y', 'u', 'x', 'q', ' ', 'P', 'J', 'P', 't', 'g', 'X', 'j'], ['M', 'u', 'Q', 'x', 'r', 'n', 'U', 'w', 'w', ' ', 'H', 'P', ' ', 'V', 'X', 'Y', 't', 'Z', 'F', 'H', 'X', 'N', 'y', 'E', 'j', 'I', 'Q', 'P', ' ', 'y', 'e', 'I', 'o', 'b', 'j', 'E', 'p', 'G'], ['n', 'd', 'T', 'f', 'a', 'D', 's', 'i', 'b', 'm', 'K', 'h', 'c', 'G', 'I', 'p', 'd', 'x', 'I', 'G', 'B', 'q', 'k', 'A', 'B', 'M', 'g', 'S', 't', 'K', 'b', 'm', 'm', 'u', 'k', ' ', 'U', 'Z'], ['C', 'v', 'L', 'k', 'x', 'L', ' ', 'm', 'x', 'P', 'C', 'X', 'n', 'w', 'd', 'E', 'O', 'D', 'Q', 'i', 'A', 'p', 'K', 'r', 'n', 'Y', 'T', 'v', 'K', 'O', 'M', 'w', 'p', 'P', 'R', 'X', 'I', 'g'], ['l', 'M', 'd', 'j', 'M', 'd', 'y', 'x', ' ', 'o', 'E', 't', 'X', 'w', 'c', 'H', 'r', 'q', 'd', 'Q', 'I', 'g', 'T', 'F', 't', 'q', 'A', 'e', 'm', 'y', 'G', 't', 'v', 'G', 'r', 'x', 'g', 'H'], ['T', 'f', 'N', 'W', 'K', 'T', 'b', 'O', 'J', 'B', 'a', 'd', 'l', 'y', 's', 's', 'W', 'D', 't', 'z', 'D', 'c', 'k', 'l', 'e', 'Q', 'A', 'J', 'J', 'k', 'M', 'G', 'F', 'S', 'C', 'N', 'x', 'X']],32,)
]
n_success = 0
for i, parameters_set in enumerate(param):
if f_filled(*parameters_set) == f_gold(*parameters_set):
n_success+=1
print("#Results: %i, %i" % (n_success, len(param)))
| 737.369863
| 10,683
| 0.204447
| 10,371
| 53,828
| 1.059493
| 0.009064
| 0.131962
| 0.12723
| 0.119039
| 0.349472
| 0.284401
| 0.246633
| 0.228067
| 0.220422
| 0.212869
| 0
| 0.111224
| 0.211117
| 53,828
| 73
| 10,684
| 737.369863
| 0.147537
| 0.003437
| 0
| 0.142857
| 0
| 0
| 0.189574
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.015873
| false
| 0
| 0
| 0
| 0.063492
| 0.015873
| 0
| 0
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
1c43db677624e3a656cc3cea81f95f7b0f6b3c81
| 353
|
py
|
Python
|
bitcoin/metrics.py
|
darbik/work
|
7f5640822fc5bbbd4033385d6377878b22785cb2
|
[
"MIT"
] | null | null | null |
bitcoin/metrics.py
|
darbik/work
|
7f5640822fc5bbbd4033385d6377878b22785cb2
|
[
"MIT"
] | 3
|
2016-08-04T18:12:05.000Z
|
2016-08-09T16:55:09.000Z
|
bitcoin/metrics.py
|
darbik/bitcoin
|
7f5640822fc5bbbd4033385d6377878b22785cb2
|
[
"MIT"
] | null | null | null |
from time import strftime
def get_volume(atmid, price, amount):
volume = (atmid, price, amount)
return volume
def get_time(atmid):
time = (atmid, strftime("%Y-%m-%d %H:%M:%S")) # time format is in UTC
return time
def get_fees(atmid, price, amount):
feesMade = (atmid, (amount / price) * 0.05)
return feesMade
| 16.809524
| 79
| 0.620397
| 50
| 353
| 4.32
| 0.48
| 0.083333
| 0.222222
| 0.203704
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.011321
| 0.249292
| 353
| 20
| 80
| 17.65
| 0.803774
| 0.05949
| 0
| 0
| 0
| 0
| 0.051672
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.3
| false
| 0
| 0.1
| 0
| 0.7
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
1c4438564c78ea33e922ec1b15a0905f72d7a386
| 3,669
|
py
|
Python
|
Tests/test_weakset_stdlib.py
|
pxl9588/ironpython3
|
3417b2d29f4116b8f44af31defb9a098686cd566
|
[
"Apache-2.0"
] | 1
|
2019-06-27T13:04:33.000Z
|
2019-06-27T13:04:33.000Z
|
Tests/test_weakset_stdlib.py
|
pxl9588/ironpython3
|
3417b2d29f4116b8f44af31defb9a098686cd566
|
[
"Apache-2.0"
] | null | null | null |
Tests/test_weakset_stdlib.py
|
pxl9588/ironpython3
|
3417b2d29f4116b8f44af31defb9a098686cd566
|
[
"Apache-2.0"
] | null | null | null |
# Licensed to the .NET Foundation under one or more agreements.
# The .NET Foundation licenses this file to you under the Apache 2.0 License.
# See the LICENSE file in the project root for more information.
##
## Run selected tests from test_weakset from StdLib
##
import unittest
import sys
from iptest import run_test
import test.test_weakset
def load_tests(loader, standard_tests, pattern):
if sys.implementation.name == 'ironpython':
suite = unittest.TestSuite()
suite.addTest(test.test_weakset.TestWeakSet('test_add'))
suite.addTest(test.test_weakset.TestWeakSet('test_and'))
suite.addTest(test.test_weakset.TestWeakSet('test_clear'))
suite.addTest(test.test_weakset.TestWeakSet('test_constructor_identity'))
suite.addTest(test.test_weakset.TestWeakSet('test_contains'))
suite.addTest(test.test_weakset.TestWeakSet('test_copy'))
suite.addTest(test.test_weakset.TestWeakSet('test_difference'))
suite.addTest(test.test_weakset.TestWeakSet('test_difference_update'))
suite.addTest(test.test_weakset.TestWeakSet('test_discard'))
suite.addTest(test.test_weakset.TestWeakSet('test_eq'))
suite.addTest(test.test_weakset.TestWeakSet('test_gc'))
suite.addTest(test.test_weakset.TestWeakSet('test_gt'))
suite.addTest(test.test_weakset.TestWeakSet('test_hash'))
suite.addTest(test.test_weakset.TestWeakSet('test_iand'))
suite.addTest(test.test_weakset.TestWeakSet('test_init'))
suite.addTest(test.test_weakset.TestWeakSet('test_inplace_on_self'))
suite.addTest(test.test_weakset.TestWeakSet('test_intersection'))
suite.addTest(test.test_weakset.TestWeakSet('test_intersection_update'))
suite.addTest(test.test_weakset.TestWeakSet('test_ior'))
suite.addTest(test.test_weakset.TestWeakSet('test_isdisjoint'))
suite.addTest(test.test_weakset.TestWeakSet('test_isub'))
suite.addTest(test.test_weakset.TestWeakSet('test_ixor'))
suite.addTest(test.test_weakset.TestWeakSet('test_len'))
#suite.addTest(test.test_weakset.TestWeakSet('test_len_cycles'))
suite.addTest(test.test_weakset.TestWeakSet('test_len_race'))
suite.addTest(test.test_weakset.TestWeakSet('test_lt'))
suite.addTest(test.test_weakset.TestWeakSet('test_methods'))
suite.addTest(test.test_weakset.TestWeakSet('test_ne'))
suite.addTest(test.test_weakset.TestWeakSet('test_new_or_init'))
suite.addTest(test.test_weakset.TestWeakSet('test_or'))
suite.addTest(test.test_weakset.TestWeakSet('test_pop'))
suite.addTest(test.test_weakset.TestWeakSet('test_remove'))
suite.addTest(test.test_weakset.TestWeakSet('test_sub'))
suite.addTest(test.test_weakset.TestWeakSet('test_sub_and_super'))
suite.addTest(test.test_weakset.TestWeakSet('test_subclass_with_custom_hash'))
suite.addTest(test.test_weakset.TestWeakSet('test_symmetric_difference'))
suite.addTest(test.test_weakset.TestWeakSet('test_symmetric_difference_update'))
suite.addTest(test.test_weakset.TestWeakSet('test_union'))
suite.addTest(test.test_weakset.TestWeakSet('test_update'))
suite.addTest(test.test_weakset.TestWeakSet('test_update_set'))
#suite.addTest(test.test_weakset.TestWeakSet('test_weak_destroy_and_mutate_while_iterating'))
suite.addTest(test.test_weakset.TestWeakSet('test_weak_destroy_while_iterating'))
suite.addTest(test.test_weakset.TestWeakSet('test_xor'))
return suite
else:
return loader.loadTestsFromModule(test.test_weakset, pattern)
run_test(__name__)
| 53.955882
| 101
| 0.746525
| 454
| 3,669
| 5.762115
| 0.215859
| 0.193425
| 0.258028
| 0.328746
| 0.764144
| 0.764144
| 0.764144
| 0.426988
| 0.154434
| 0
| 0
| 0.000631
| 0.136549
| 3,669
| 67
| 102
| 54.761194
| 0.825126
| 0.110112
| 0
| 0
| 0
| 0
| 0.172456
| 0.058715
| 0
| 0
| 0
| 0
| 0
| 1
| 0.019231
| false
| 0
| 0.076923
| 0
| 0.134615
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
1c4827c357cf7a405de0181536ad034ca79debe7
| 124
|
py
|
Python
|
scripts/secrets.py
|
Aviah/one-click-django-dev-ubuntu-14-04-trusty
|
b6f5da980185eedde8a7a99f7efe76304c6f5c40
|
[
"MIT"
] | 10
|
2016-03-22T22:14:40.000Z
|
2021-07-23T22:00:02.000Z
|
scripts/secrets.py
|
Aviah/one-click-django-dev-ubuntu-14-04-trusty
|
b6f5da980185eedde8a7a99f7efe76304c6f5c40
|
[
"MIT"
] | 1
|
2017-06-03T12:11:47.000Z
|
2017-06-03T12:11:47.000Z
|
scripts/secrets.py
|
Aviah/one-click-django-dev-osx-el-capitan
|
ea6832f57e126d30499c9bc66c5b4c77d0ef4020
|
[
"MIT"
] | 4
|
2016-04-05T05:41:15.000Z
|
2017-01-08T10:03:25.000Z
|
# Add here secrets, password etc you don't want to keep in the repository
# e.g. django SECRET_KEY, database credentials etc
| 62
| 73
| 0.782258
| 22
| 124
| 4.363636
| 0.954545
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.16129
| 124
| 2
| 74
| 62
| 0.923077
| 0.967742
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
1c66a1733bc55175b08c12e5f6bcceaea2f24711
| 91
|
py
|
Python
|
datasetinsights/datasets/exceptions.py
|
Unity-Technologies/dataset-insights
|
62849b1412e3e63a2f4a6f56bd27272cb4c1dfc1
|
[
"Apache-2.0"
] | 3
|
2020-07-22T02:35:20.000Z
|
2020-07-22T19:45:57.000Z
|
datasetinsights/datasets/exceptions.py
|
Unity-Technologies/dataset-insights
|
62849b1412e3e63a2f4a6f56bd27272cb4c1dfc1
|
[
"Apache-2.0"
] | 8
|
2020-07-24T22:23:51.000Z
|
2020-08-03T23:02:13.000Z
|
datasetinsights/datasets/exceptions.py
|
Unity-Technologies/dataset-insights
|
62849b1412e3e63a2f4a6f56bd27272cb4c1dfc1
|
[
"Apache-2.0"
] | 2
|
2020-07-22T19:33:28.000Z
|
2020-07-31T17:44:50.000Z
|
class DatasetNotFoundError(Exception):
"""Raise when a dataset file can't be found."""
| 30.333333
| 51
| 0.725275
| 12
| 91
| 5.5
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.153846
| 91
| 2
| 52
| 45.5
| 0.857143
| 0.450549
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
1c853046b454a3cb8181d122411b0e1a003ea018
| 3,083
|
py
|
Python
|
lib/_included_packages/plexnet/threadutils.py
|
aleenator/plex-for-kodi
|
e6610e42ce1afd115cf59632b949e18597625323
|
[
"BSD-3-Clause"
] | 233
|
2016-12-01T10:00:33.000Z
|
2022-03-26T21:43:47.000Z
|
lib/_included_packages/plexnet/threadutils.py
|
aleenator/plex-for-kodi
|
e6610e42ce1afd115cf59632b949e18597625323
|
[
"BSD-3-Clause"
] | 327
|
2016-11-30T18:27:32.000Z
|
2022-03-13T20:49:27.000Z
|
lib/_included_packages/plexnet/threadutils.py
|
aleenator/plex-for-kodi
|
e6610e42ce1afd115cf59632b949e18597625323
|
[
"BSD-3-Clause"
] | 140
|
2016-12-01T18:41:24.000Z
|
2022-03-08T17:08:44.000Z
|
# import inspect
# import ctypes
from __future__ import absolute_import
import threading
# import time
# def _async_raise(tid, exctype):
# '''Raises an exception in the threads with id tid'''
# if not inspect.isclass(exctype):
# raise TypeError("Only types can be raised (not instances)")
# try:
# res = ctypes.pythonapi.PyThreadState_SetAsyncExc(ctypes.c_long(tid), ctypes.py_object(exctype))
# except AttributeError:
# # To catch: undefined symbol: PyThreadState_SetAsyncExc
# return
# if res == 0:
# raise ValueError("invalid thread id")
# elif res != 1:
# # "if it returns a number greater than one, you're in trouble,
# # and you should call it again with exc=NULL to revert the effect"
# ctypes.pythonapi.PyThreadState_SetAsyncExc(ctypes.c_long(tid), 0)
# raise SystemError("PyThreadState_SetAsyncExc failed")
# class KillThreadException(Exception):
# pass
class KillableThread(threading.Thread):
pass
'''A thread class that supports raising exception in the thread from
another thread.
'''
# def _get_my_tid(self):
# """determines this (self's) thread id
# CAREFUL : this function is executed in the context of the caller
# thread, to get the identity of the thread represented by this
# instance.
# """
# if not self.isAlive():
# raise threading.ThreadError("the thread is not active")
# return self.ident
# def _raiseExc(self, exctype):
# """Raises the given exception type in the context of this thread.
# If the thread is busy in a system call (time.sleep(),
# socket.accept(), ...), the exception is simply ignored.
# If you are sure that your exception should terminate the thread,
# one way to ensure that it works is:
# t = ThreadWithExc( ... )
# ...
# t.raiseExc( SomeException )
# while t.isAlive():
# time.sleep( 0.1 )
# t.raiseExc( SomeException )
# If the exception is to be caught by the thread, you need a way to
# check that your thread has caught it.
# CAREFUL : this function is executed in the context of the
# caller thread, to raise an excpetion in the context of the
# thread represented by this instance.
# """
# _async_raise(self._get_my_tid(), exctype)
def kill(self, force_and_wait=False):
pass
# try:
# self._raiseExc(KillThreadException)
# if force_and_wait:
# time.sleep(0.1)
# while self.isAlive():
# self._raiseExc(KillThreadException)
# time.sleep(0.1)
# except threading.ThreadError:
# pass
# def onKilled(self):
# pass
# def run(self):
# try:
# self._Thread__target(*self._Thread__args, **self._Thread__kwargs)
# except KillThreadException:
# self.onKilled()
| 32.452632
| 105
| 0.601687
| 362
| 3,083
| 5.019337
| 0.378453
| 0.034673
| 0.026417
| 0.03082
| 0.170611
| 0.164007
| 0.164007
| 0.124381
| 0.066043
| 0.066043
| 0
| 0.004215
| 0.307493
| 3,083
| 94
| 106
| 32.797872
| 0.846838
| 0.807331
| 0
| 0.333333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.166667
| false
| 0.333333
| 0.333333
| 0
| 0.666667
| 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
| 0
| 0
| 1
| 1
| 0
| 1
| 0
|
0
| 4
|
98bea5cbd34ac29824e97c63af844c444e245110
| 175
|
py
|
Python
|
tests/run_tests.py
|
seirl/42sh
|
e8e2b584ddc857fedea3ec2fd9ee45ebbc9b66d8
|
[
"Beerware"
] | null | null | null |
tests/run_tests.py
|
seirl/42sh
|
e8e2b584ddc857fedea3ec2fd9ee45ebbc9b66d8
|
[
"Beerware"
] | null | null | null |
tests/run_tests.py
|
seirl/42sh
|
e8e2b584ddc857fedea3ec2fd9ee45ebbc9b66d8
|
[
"Beerware"
] | null | null | null |
#!/usr/bin/env python3.3
import os
from qdunittest.program import TestProgram
if __name__ == "__main__":
os.chdir(os.path.dirname(__file__))
TestProgram(module=None)
| 21.875
| 42
| 0.742857
| 24
| 175
| 4.916667
| 0.833333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.013158
| 0.131429
| 175
| 7
| 43
| 25
| 0.763158
| 0.131429
| 0
| 0
| 0
| 0
| 0.05298
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.4
| 0
| 0.4
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
98c11bc04587bce742c2ba7f86ae293f6b696821
| 34
|
py
|
Python
|
codejail/__init__.py
|
miquelvir/codejail
|
d176ad26f4e041b01441ed0d2e38b71fe3ad1afb
|
[
"Apache-2.0"
] | null | null | null |
codejail/__init__.py
|
miquelvir/codejail
|
d176ad26f4e041b01441ed0d2e38b71fe3ad1afb
|
[
"Apache-2.0"
] | null | null | null |
codejail/__init__.py
|
miquelvir/codejail
|
d176ad26f4e041b01441ed0d2e38b71fe3ad1afb
|
[
"Apache-2.0"
] | null | null | null |
"""init"""
__version__ = '3.1.5'
| 8.5
| 21
| 0.529412
| 5
| 34
| 2.8
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.103448
| 0.147059
| 34
| 3
| 22
| 11.333333
| 0.37931
| 0.117647
| 0
| 0
| 0
| 0
| 0.208333
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
98f5cccdd6662e25c386a1257bca1434b2887de9
| 186
|
py
|
Python
|
src/simple/day.py
|
kbvatral/mafia-simulation
|
e401b080bf84d594d15bbfa8474acf208719f8bd
|
[
"MIT"
] | null | null | null |
src/simple/day.py
|
kbvatral/mafia-simulation
|
e401b080bf84d594d15bbfa8474acf208719f8bd
|
[
"MIT"
] | null | null | null |
src/simple/day.py
|
kbvatral/mafia-simulation
|
e401b080bf84d594d15bbfa8474acf208719f8bd
|
[
"MIT"
] | null | null | null |
import numpy as np
def runDay(players):
""" Function to run the day phase of the game """
elimOne = np.random.choice(players, len(players) -1, replace=False)
return elimOne
| 31
| 71
| 0.688172
| 28
| 186
| 4.571429
| 0.821429
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.006757
| 0.204301
| 186
| 6
| 72
| 31
| 0.858108
| 0.22043
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0.25
| 0
| 0.75
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
c706993017baae46844fe9e80472761528edc9b3
| 795
|
py
|
Python
|
ehrapy/api/plot/_plot_util.py
|
theislab/ehrapy
|
a71391708e49df7c6b78c4329fe9e0368c6a4a79
|
[
"Apache-2.0"
] | 8
|
2021-06-11T13:02:37.000Z
|
2022-02-13T15:30:36.000Z
|
ehrapy/api/plot/_plot_util.py
|
theislab/ehrapy
|
a71391708e49df7c6b78c4329fe9e0368c6a4a79
|
[
"Apache-2.0"
] | 196
|
2021-06-15T07:56:05.000Z
|
2022-03-30T07:26:52.000Z
|
ehrapy/api/plot/_plot_util.py
|
theislab/ehrapy
|
a71391708e49df7c6b78c4329fe9e0368c6a4a79
|
[
"Apache-2.0"
] | 1
|
2022-02-02T14:12:25.000Z
|
2022-02-02T14:12:25.000Z
|
from enum import Enum
from matplotlib.colors import LinearSegmentedColormap
class Colormaps(Enum):
"""
Available colormaps:
| grey_red
| grey_blue
| grey_green
| gray_yellow
| grey_violet
"""
grey_red = LinearSegmentedColormap.from_list("grouping", ["lightgray", "red", "darkred"], N=128)
grey_green = LinearSegmentedColormap.from_list("grouping", ["lightgray", "limegreen", "forestgreen"], N=128)
grey_yellow = LinearSegmentedColormap.from_list("grouping", ["lightgray", "yellow", "gold"], N=128)
grey_violet = LinearSegmentedColormap.from_list("grouping", ["lightgray", "mediumvioletred", "indigo"], N=128)
grey_blue = LinearSegmentedColormap.from_list("grouping", ["lightgray", "cornflowerblue", "darkblue"], N=128)
| 37.857143
| 114
| 0.690566
| 79
| 795
| 6.759494
| 0.367089
| 0.252809
| 0.290262
| 0.365169
| 0.449438
| 0
| 0
| 0
| 0
| 0
| 0
| 0.022727
| 0.169811
| 795
| 20
| 115
| 39.75
| 0.786364
| 0.130818
| 0
| 0
| 0
| 0
| 0.256489
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.25
| 0
| 1
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
c70b0c0cede39d2a94fb1ef44d9ab881989903c8
| 384
|
py
|
Python
|
xos/openstack_observer/steps/__init__.py
|
wathsalav/xos
|
f6bcaa37a948ee41729236afe7fce0802e002404
|
[
"Apache-2.0"
] | null | null | null |
xos/openstack_observer/steps/__init__.py
|
wathsalav/xos
|
f6bcaa37a948ee41729236afe7fce0802e002404
|
[
"Apache-2.0"
] | 5
|
2020-06-05T17:47:15.000Z
|
2021-09-23T23:21:27.000Z
|
xos/openstack_observer/steps/__init__.py
|
wathsalav/xos
|
f6bcaa37a948ee41729236afe7fce0802e002404
|
[
"Apache-2.0"
] | null | null | null |
#from .sync_controller_sites import SyncControllerSites
#from .sync_controller_slices import SyncControllerSlices
#from .sync_controller_users import SyncControllerUsers
#from .sync_controller_site_privileges import SyncControllerSitePrivileges
#from .sync_controller_slice_privileges import SyncControllerSlicePrivileges
#from .sync_controller_networks import SyncControllerNetworks
| 54.857143
| 76
| 0.90625
| 38
| 384
| 8.789474
| 0.447368
| 0.143713
| 0.323353
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.0625
| 384
| 6
| 77
| 64
| 0.927778
| 0.96875
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 0
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
c70ea53efeea0fed71f3545073872e3b31d7aebc
| 32
|
py
|
Python
|
pofy/fields/__init__.py
|
an-otter-world/pofy
|
738fff7b2d56f7a979d0623dbda69c2bb29770b0
|
[
"WTFPL"
] | 1
|
2020-01-02T22:16:21.000Z
|
2020-01-02T22:16:21.000Z
|
pofy/fields/__init__.py
|
an-otter-world/pofy
|
738fff7b2d56f7a979d0623dbda69c2bb29770b0
|
[
"WTFPL"
] | 55
|
2020-01-02T00:17:58.000Z
|
2021-02-07T23:26:26.000Z
|
pofy/fields/__init__.py
|
an-otter-world/pofy
|
738fff7b2d56f7a979d0623dbda69c2bb29770b0
|
[
"WTFPL"
] | null | null | null |
"""Pofy field types package."""
| 16
| 31
| 0.65625
| 4
| 32
| 5.25
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.125
| 32
| 1
| 32
| 32
| 0.75
| 0.78125
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
c736a7a9878732ea2aa1d5e6904087a9b20ff108
| 245
|
py
|
Python
|
sphinxcontrib/jupyter/directive/exercise.py
|
chabotsi/sphinxcontrib-jupyter
|
2a6e40e49c15c25ce396b4b0d9b4972003129e82
|
[
"BSD-3-Clause"
] | null | null | null |
sphinxcontrib/jupyter/directive/exercise.py
|
chabotsi/sphinxcontrib-jupyter
|
2a6e40e49c15c25ce396b4b0d9b4972003129e82
|
[
"BSD-3-Clause"
] | null | null | null |
sphinxcontrib/jupyter/directive/exercise.py
|
chabotsi/sphinxcontrib-jupyter
|
2a6e40e49c15c25ce396b4b0d9b4972003129e82
|
[
"BSD-3-Clause"
] | null | null | null |
from docutils.nodes import Admonition, Element
from docutils.parsers.rst.directives.admonitions import BaseAdmonition
class exercise_node(Admonition, Element):
pass
class ExerciseDirective(BaseAdmonition):
node_class = exercise_node
| 22.272727
| 70
| 0.820408
| 27
| 245
| 7.333333
| 0.592593
| 0.121212
| 0.171717
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.122449
| 245
| 10
| 71
| 24.5
| 0.92093
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0.166667
| 0.333333
| 0
| 0.833333
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 1
| 0
|
0
| 4
|
c74050f2035353c5fcb35911821a1b969bb3f09a
| 242
|
py
|
Python
|
exercise_customization_database/admin.py
|
itsClay/Exercise-Customization-Database
|
512370115d66b21e1b958a38fad16a1eccd3fcd7
|
[
"MIT"
] | null | null | null |
exercise_customization_database/admin.py
|
itsClay/Exercise-Customization-Database
|
512370115d66b21e1b958a38fad16a1eccd3fcd7
|
[
"MIT"
] | 4
|
2015-06-03T16:21:57.000Z
|
2015-06-08T16:50:23.000Z
|
exercise_customization_database/admin.py
|
itsClay/Exercise-Customization-Database
|
512370115d66b21e1b958a38fad16a1eccd3fcd7
|
[
"MIT"
] | null | null | null |
from django.contrib import admin
from models import UserProfile, Workout, Exercise, Rating
# Register your models here.
admin.site.register(UserProfile)
admin.site.register(Workout)
admin.site.register(Exercise)
admin.site.register(Rating)
| 24.2
| 57
| 0.818182
| 32
| 242
| 6.1875
| 0.4375
| 0.181818
| 0.343434
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.090909
| 242
| 9
| 58
| 26.888889
| 0.9
| 0.107438
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.333333
| 0
| 0.333333
| 0
| 0
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
c779e0b5d951f8e4278ef9baf9c289ad6b25a8ee
| 22,035
|
py
|
Python
|
src/train_agent.py
|
carljohanhoel/EnsembleQuantileNetworks
|
7dfbed562f3e0c7552fa98a821db502ea565618c
|
[
"MIT"
] | 9
|
2021-05-29T14:55:27.000Z
|
2022-03-08T11:19:44.000Z
|
src/train_agent.py
|
carljohanhoel/EnsembleQuantileNetworks
|
7dfbed562f3e0c7552fa98a821db502ea565618c
|
[
"MIT"
] | 1
|
2021-09-27T08:59:43.000Z
|
2022-01-13T14:13:03.000Z
|
src/train_agent.py
|
carljohanhoel/EnsembleQuantileNetworks
|
7dfbed562f3e0c7552fa98a821db502ea565618c
|
[
"MIT"
] | 1
|
2022-02-03T14:17:36.000Z
|
2022-02-03T14:17:36.000Z
|
"""
Train an agent with the DQN, IQN, RPF, or EQN method.
This script should be called from the folder src, where the script is located.
The parameters of the training are set in "parameters.py", where both type of agent and all other parameters are set.
The parameters of the intersection driving environment are set in "parameters_intersection.py".
Logfiles are stored in ../logs/DATE_TIME
The script can be called with an optional argument NAME, which sets the name of the log. The log is then stored in
../logs/DATE_TIME_NAME
In the log folder, the following is stored:
- A copy of the parameters and the code that was used for the run, in the folder "src".
- The weights of the neural networks at different times during the training process. Named as the training step,
with additional _N if using an ensemble, where N is the index of the ensemble member.
- Tensorboard logs for the training and testing phases.
- The architecture of the neural network model, in model.txt and model.png.
- csv-files which stores:
- test_rewards.csv: the total reward for each test episode
- test_steps.csv: number of steps for each test episode
- test_individual_action_data.csv: the actions that were taken during the test episodes
- test_individual_reward_data.csv: the individual rewards that were obtained during the test episodes
- test_individual_qvalues_data.cvs: the estimated Q-values for all actions during the test episodes
"""
import numpy as np
import random # Required to set random seed for replay memory
import os
import datetime
import sys
from shutil import copyfile
from keras.optimizers import Adam
from keras.callbacks import TensorBoard
from keras.utils import plot_model
from keras.models import model_from_json
from rl.policy import EpsGreedyQPolicy, LinearAnnealedPolicy, GreedyQPolicy
from rl.memory import SequentialMemory
from dqn_standard import DQNAgent
from dqn_ensemble import DQNAgentEnsemble, DQNAgentEnsembleParallel, UpdateActiveModelCallback
from iqn_ensemble import IqnRpfAgent, IqnRpfAgentParallel
from iqn import IQNAgent
from memory import BootstrappingMemory
from policy import EnsembleTestPolicy, DistributionalEpsGreedyPolicy, DistributionalEnsembleTestPolicy
from intersection_env import IntersectionEnv
from network_architecture import NetworkMLP, NetworkCNN
from network_architecture_distributional import NetworkMLPDistributional, NetworkCNNDistributional
from callbacks import SaveWeights, EvaluateAgent
import parameters as p
import parameters_intersection as ps
# Set log path and name
start_time = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
log_name = start_time+("_"+sys.argv[1] if len(sys.argv) > 1 else "")
save_path = "../logs/"+log_name
# Save parameters and code
if not os.path.isdir(save_path):
if not os.path.isdir('../logs'):
os.mkdir('../logs')
os.mkdir(save_path)
os.mkdir(save_path + '/src')
for file in os.listdir('.'):
if file[-3:] == '.py':
copyfile('./' + file, save_path + '/src/' + file[:-3] + '_stored.py')
# Initialize intersection environment
env = IntersectionEnv(sim_params=ps.sim_params, road_params=ps.road_params)
nb_actions = env.nb_actions
nb_observations = env.nb_observations
# Initialize random generators
np.random.seed(p.random_seed)
random.seed(p.random_seed) # memory.py uses random module
# Initialize callbacks
save_weights_callback = SaveWeights(p.save_freq, save_path)
evaluate_agent_callback = EvaluateAgent(eval_freq=p.eval_freq, nb_eval_eps=p.nb_eval_eps, save_path=save_path)
tensorboard_callback = TensorBoard(log_dir=save_path, histogram_freq=0, write_graph=True, write_images=False)
callbacks = [tensorboard_callback, save_weights_callback, evaluate_agent_callback]
# This structure initializes the agent. The different options allows the choice of using a
# convolutional or fully connected neural network architecture,
# and to run the backpropagation of the ensemble members in parallel or sequential.
if p.agent_par['distributional'] and p.agent_par['ensemble']:
if p.agent_par['parallel']:
greedy_policy = DistributionalEpsGreedyPolicy(eps=0)
test_policy = DistributionalEnsembleTestPolicy()
memory = BootstrappingMemory(nb_nets=p.agent_par['number_of_networks'],
limit=p.agent_par['buffer_size'],
adding_prob=p.agent_par["adding_prob"],
window_length=p.agent_par["window_length"])
agent = IqnRpfAgentParallel(nb_models=p.agent_par['number_of_networks'],
cnn_architecture=p.agent_par['cnn'],
learning_rate=p.agent_par['learning_rate'],
nb_ego_states=env.nb_ego_states,
nb_states_per_vehicle=env.nb_states_per_vehicle,
nb_vehicles=ps.sim_params['sensor_nb_vehicles'],
nb_conv_layers=p.agent_par['nb_conv_layers'],
nb_conv_filters=p.agent_par['nb_conv_filters'],
nb_hidden_fc_layers=p.agent_par['nb_hidden_fc_layers'],
nb_hidden_neurons=p.agent_par['nb_hidden_neurons'],
nb_cos_embeddings=p.agent_par['nb_cos_embeddings'],
cvar_eta=p.agent_par['cvar_eta'],
nb_samples_policy=p.agent_par['nb_samples_iqn_policy'],
nb_sampled_quantiles=p.agent_par['nb_quantiles'],
policy=greedy_policy,
test_policy=test_policy,
enable_double_dqn=p.agent_par['double_q'],
enable_dueling_dqn=p.agent_par['duel_q'],
nb_actions=nb_actions,
prior_scale_factor=p.agent_par['prior_scale_factor'],
window_length=p.agent_par['window_length'],
memory=memory,
gamma=p.agent_par['gamma'],
batch_size=p.agent_par['batch_size'],
nb_steps_warmup=p.agent_par['learning_starts'],
train_interval=p.agent_par['train_interval'],
memory_interval=p.agent_par['memory_interval'],
target_model_update=p.agent_par['target_network_update_freq'],
delta_clip=p.agent_par['delta_clip'],
network_seed=p.random_seed)
callbacks.append(UpdateActiveModelCallback(agent))
model_as_string = agent.get_model_as_string()
plot_model(model_from_json(model_as_string), to_file=save_path + "/" + 'model.png', show_shapes=True)
print(model_from_json(model_as_string).summary())
else:
models = []
for i in range(p.agent_par["number_of_networks"]):
if p.agent_par['cnn']:
models.append(NetworkCNNDistributional(env.nb_ego_states, env.nb_states_per_vehicle,
ps.sim_params['sensor_nb_vehicles'], nb_actions,
nb_conv_layers=p.agent_par['nb_conv_layers'],
nb_conv_filters=p.agent_par['nb_conv_filters'],
nb_hidden_fc_layers=p.agent_par['nb_hidden_fc_layers'],
nb_hidden_neurons=p.agent_par['nb_hidden_neurons'],
nb_quantiles=p.agent_par['nb_quantiles'],
nb_cos_embeddings=p.agent_par['nb_cos_embeddings'],
duel=p.agent_par['duel_q'],
prior=True, activation='relu', duel_type='avg',
window_length=p.agent_par["window_length"],
prior_scale_factor=p.agent_par["prior_scale_factor"]).model)
else:
models.append(NetworkMLPDistributional(nb_observations, nb_actions,
nb_hidden_layers=p.agent_par['nb_hidden_fc_layers'],
nb_hidden_neurons=p.agent_par['nb_hidden_neurons'],
nb_quantiles=p.agent_par['nb_quantiles'],
nb_cos_embeddings=p.agent_par['nb_cos_embeddings'],
duel=p.agent_par['duel_q'],
prior=True, activation='relu', duel_type='avg',
window_length=p.agent_par["window_length"],
prior_scale_factor=p.agent_par["prior_scale_factor"]).model)
print(models[0].summary())
plot_model(models[0], to_file=save_path + "/" + 'model.png', show_shapes=True)
model_as_string = models[0].to_json()
greedy_policy = DistributionalEpsGreedyPolicy(eps=0)
test_policy = DistributionalEnsembleTestPolicy()
memory = BootstrappingMemory(nb_nets=p.agent_par['number_of_networks'], limit=p.agent_par['buffer_size'],
adding_prob=p.agent_par["adding_prob"],
window_length=p.agent_par["window_length"])
agent = IqnRpfAgent(models=models, policy=greedy_policy, test_policy=test_policy,
enable_double_dqn=p.agent_par['double_q'],
nb_samples_policy=p.agent_par['nb_samples_iqn_policy'],
nb_sampled_quantiles=p.agent_par['nb_quantiles'],
cvar_eta=p.agent_par['cvar_eta'],
nb_actions=nb_actions, memory=memory,
gamma=p.agent_par['gamma'], batch_size=p.agent_par['batch_size'],
nb_steps_warmup=p.agent_par['learning_starts'],
train_interval=p.agent_par['train_interval'],
memory_interval=p.agent_par['memory_interval'],
target_model_update=p.agent_par['target_network_update_freq'],
delta_clip=p.agent_par['delta_clip'])
callbacks.append(UpdateActiveModelCallback(agent))
agent.compile(Adam(lr=p.agent_par['learning_rate']))
elif p.agent_par['distributional']:
if p.agent_par['cnn']:
model = NetworkCNNDistributional(env.nb_ego_states, env.nb_states_per_vehicle,
ps.sim_params['sensor_nb_vehicles'], nb_actions,
nb_conv_layers=p.agent_par['nb_conv_layers'],
nb_conv_filters=p.agent_par['nb_conv_filters'],
nb_hidden_fc_layers=p.agent_par['nb_hidden_fc_layers'],
nb_hidden_neurons=p.agent_par['nb_hidden_neurons'],
nb_quantiles=p.agent_par['nb_quantiles'],
nb_cos_embeddings=p.agent_par['nb_cos_embeddings'],
duel=p.agent_par['duel_q'],
prior=False, activation='relu', duel_type='avg',
window_length=p.agent_par["window_length"]).model
else:
model = NetworkMLPDistributional(nb_observations, nb_actions,
nb_hidden_layers=p.agent_par['nb_hidden_fc_layers'],
nb_hidden_neurons=p.agent_par['nb_hidden_neurons'],
nb_quantiles=p.agent_par['nb_quantiles'],
nb_cos_embeddings=p.agent_par['nb_cos_embeddings'],
duel=p.agent_par['duel_q'],
prior=False, activation='relu', duel_type='avg',
window_length=p.agent_par["window_length"]).model
print(model.summary())
plot_model(model, to_file=save_path + "/" + 'model.png', show_shapes=True)
model_as_string = model.to_json()
policy = LinearAnnealedPolicy(DistributionalEpsGreedyPolicy(eps=None), attr='eps', value_max=1.,
value_min=p.agent_par['exploration_final_eps'], value_test=.0,
nb_steps=p.agent_par['exploration_steps'])
test_policy = DistributionalEpsGreedyPolicy(eps=0)
memory = SequentialMemory(limit=p.agent_par['buffer_size'], window_length=p.agent_par["window_length"])
agent = IQNAgent(model=model, policy=policy, test_policy=test_policy, enable_double_dqn=p.agent_par['double_q'],
nb_samples_policy=p.agent_par['nb_samples_iqn_policy'],
nb_sampled_quantiles=p.agent_par['nb_quantiles'],
cvar_eta=p.agent_par['cvar_eta'],
nb_actions=nb_actions, memory=memory,
gamma=p.agent_par['gamma'], batch_size=p.agent_par['batch_size'],
nb_steps_warmup=p.agent_par['learning_starts'], train_interval=p.agent_par['train_interval'],
memory_interval=p.agent_par['memory_interval'],
target_model_update=p.agent_par['target_network_update_freq'],
delta_clip=p.agent_par['delta_clip'])
agent.compile(Adam(lr=p.agent_par['learning_rate']))
elif p.agent_par['ensemble']:
if p.agent_par["parallel"]:
nb_models = p.agent_par['number_of_networks']
policy = GreedyQPolicy()
test_policy = EnsembleTestPolicy()
memory = BootstrappingMemory(nb_nets=p.agent_par['number_of_networks'], limit=p.agent_par['buffer_size'],
adding_prob=p.agent_par["adding_prob"], window_length=p.agent_par["window_length"])
agent = DQNAgentEnsembleParallel(nb_models=nb_models, cnn_architecture=p.agent_par['cnn'],
learning_rate=p.agent_par['learning_rate'],
nb_ego_states=env.nb_ego_states,
nb_states_per_vehicle=env.nb_states_per_vehicle,
nb_vehicles=ps.sim_params['sensor_nb_vehicles'],
nb_conv_layers=p.agent_par['nb_conv_layers'],
nb_conv_filters=p.agent_par['nb_conv_filters'],
nb_hidden_fc_layers=p.agent_par['nb_hidden_fc_layers'],
nb_hidden_neurons=p.agent_par['nb_hidden_neurons'], policy=policy,
test_policy=test_policy, enable_double_dqn=p.agent_par['double_q'],
enable_dueling_network=p.agent_par['duel_q'], nb_actions=nb_actions,
prior_scale_factor=p.agent_par['prior_scale_factor'],
window_length=p.agent_par['window_length'], memory=memory,
gamma=p.agent_par['gamma'], batch_size=p.agent_par['batch_size'],
nb_steps_warmup=p.agent_par['learning_starts'],
train_interval=p.agent_par['train_interval'],
memory_interval=p.agent_par['memory_interval'],
target_model_update=p.agent_par['target_network_update_freq'],
delta_clip=p.agent_par['delta_clip'], network_seed=p.random_seed)
callbacks.append(UpdateActiveModelCallback(agent))
model_as_string = agent.get_model_as_string()
plot_model(model_from_json(model_as_string), to_file=save_path+"/"+'model.png', show_shapes=True)
print(model_from_json(model_as_string).summary())
else:
models = []
for i in range(p.agent_par["number_of_networks"]):
if p.agent_par['cnn']:
models.append(NetworkCNN(env.nb_ego_states, env.nb_states_per_vehicle,
ps.sim_params['sensor_nb_vehicles'], nb_actions,
nb_conv_layers=p.agent_par['nb_conv_layers'],
nb_conv_filters=p.agent_par['nb_conv_filters'],
nb_hidden_fc_layers=p.agent_par['nb_hidden_fc_layers'],
nb_hidden_neurons=p.agent_par['nb_hidden_neurons'],
duel=p.agent_par['duel_q'], prior=True, activation='relu',
window_length=p.agent_par["window_length"], duel_type='avg',
prior_scale_factor=p.agent_par["prior_scale_factor"]).model)
else:
models.append(NetworkMLP(nb_observations, nb_actions,
nb_hidden_layers=p.agent_par['nb_hidden_fc_layers'],
nb_hidden_neurons=p.agent_par['nb_hidden_neurons'],
duel=p.agent_par['duel_q'], prior=True, activation='relu',
prior_scale_factor=p.agent_par["prior_scale_factor"], duel_type='avg',
window_length=p.agent_par["window_length"]).model)
print(models[0].summary())
plot_model(models[0], to_file=save_path + "/" + 'model.png', show_shapes=True)
model_as_string = models[0].to_json()
policy = GreedyQPolicy()
test_policy = EnsembleTestPolicy()
memory = BootstrappingMemory(nb_nets=p.agent_par['number_of_networks'], limit=p.agent_par['buffer_size'],
adding_prob=p.agent_par["adding_prob"],
window_length=p.agent_par["window_length"])
agent = DQNAgentEnsemble(models=models, policy=policy, test_policy=test_policy,
enable_double_dqn=p.agent_par['double_q'],
nb_actions=nb_actions, memory=memory,
gamma=p.agent_par['gamma'], batch_size=p.agent_par['batch_size'],
nb_steps_warmup=p.agent_par['learning_starts'],
train_interval=p.agent_par['train_interval'],
memory_interval=p.agent_par['memory_interval'],
target_model_update=p.agent_par['target_network_update_freq'],
delta_clip=p.agent_par['delta_clip'])
callbacks.append(UpdateActiveModelCallback(agent))
agent.compile(Adam(lr=p.agent_par['learning_rate']))
else:
if p.agent_par['cnn']:
model = NetworkCNN(env.nb_ego_states, env.nb_states_per_vehicle, ps.sim_params['sensor_nb_vehicles'],
nb_actions, nb_conv_layers=p.agent_par['nb_conv_layers'],
nb_conv_filters=p.agent_par['nb_conv_filters'],
nb_hidden_fc_layers=p.agent_par['nb_hidden_fc_layers'],
nb_hidden_neurons=p.agent_par['nb_hidden_neurons'], duel=p.agent_par['duel_q'],
prior=False, activation='relu', window_length=p.agent_par["window_length"],
duel_type='avg').model
else:
model = NetworkMLP(nb_observations, nb_actions, nb_hidden_layers=p.agent_par['nb_hidden_fc_layers'],
nb_hidden_neurons=p.agent_par['nb_hidden_neurons'], duel=p.agent_par['duel_q'],
prior=False, activation='relu', duel_type='avg',
window_length=p.agent_par["window_length"]).model
print(model.summary())
plot_model(model, to_file=save_path + "/" + 'model.png', show_shapes=True)
model_as_string = model.to_json()
policy = LinearAnnealedPolicy(EpsGreedyQPolicy(), attr='eps', value_max=1.,
value_min=p.agent_par['exploration_final_eps'], value_test=.0,
nb_steps=p.agent_par['exploration_steps'])
test_policy = GreedyQPolicy()
memory = SequentialMemory(limit=p.agent_par['buffer_size'], window_length=p.agent_par["window_length"])
agent = DQNAgent(model=model, policy=policy, test_policy=test_policy,
enable_double_dqn=p.agent_par['double_q'],
nb_actions=nb_actions, memory=memory,
gamma=p.agent_par['gamma'], batch_size=p.agent_par['batch_size'],
nb_steps_warmup=p.agent_par['learning_starts'], train_interval=p.agent_par['train_interval'],
memory_interval=p.agent_par['memory_interval'],
target_model_update=p.agent_par['target_network_update_freq'],
delta_clip=p.agent_par['delta_clip'])
agent.compile(Adam(lr=p.agent_par['learning_rate']))
with open(save_path+"/"+'model.txt', 'w') as text_file:
text_file.write(model_as_string)
# Run training
agent.fit(env, nb_steps=p.nb_training_steps, visualize=False, verbose=2, callbacks=callbacks)
| 66.975684
| 120
| 0.582256
| 2,500
| 22,035
| 4.78
| 0.1164
| 0.085356
| 0.128033
| 0.043264
| 0.723013
| 0.709791
| 0.700753
| 0.700753
| 0.693305
| 0.681506
| 0
| 0.001279
| 0.326027
| 22,035
| 328
| 121
| 67.179878
| 0.80338
| 0.086
| 0
| 0.654676
| 0
| 0
| 0.12782
| 0.012971
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.086331
| 0
| 0.086331
| 0.021583
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
c77ac0e49d00bbde2248a228a61fd47a12179dbd
| 164
|
py
|
Python
|
12_data_persistence/custom_class_unyaml.py
|
lluxury/P_U_S_A
|
1eb9d1fef74f9ce3618ae950f5223f598510be84
|
[
"MIT"
] | null | null | null |
12_data_persistence/custom_class_unyaml.py
|
lluxury/P_U_S_A
|
1eb9d1fef74f9ce3618ae950f5223f598510be84
|
[
"MIT"
] | null | null | null |
12_data_persistence/custom_class_unyaml.py
|
lluxury/P_U_S_A
|
1eb9d1fef74f9ce3618ae950f5223f598510be84
|
[
"MIT"
] | null | null | null |
#!/usr/bin/env python
import yaml
import custom_class
yaml_file = open('custom_class.yaml', 'r')
my_obj = yaml.load(yaml_file)
print (my_obj)
yaml_file.close()
| 13.666667
| 42
| 0.737805
| 28
| 164
| 4.071429
| 0.571429
| 0.210526
| 0.263158
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.121951
| 164
| 11
| 43
| 14.909091
| 0.791667
| 0.121951
| 0
| 0
| 0
| 0
| 0.12766
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 0.333333
| 0.166667
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
c77e88a665240cbec4a67fd083d0e1309fd7d7bc
| 74
|
py
|
Python
|
App/__init__.py
|
sayanbhatta7/Python-Project
|
3bfdff51ab3fbcb3f195d8bac4355e3b886a45a5
|
[
"MIT"
] | null | null | null |
App/__init__.py
|
sayanbhatta7/Python-Project
|
3bfdff51ab3fbcb3f195d8bac4355e3b886a45a5
|
[
"MIT"
] | null | null | null |
App/__init__.py
|
sayanbhatta7/Python-Project
|
3bfdff51ab3fbcb3f195d8bac4355e3b886a45a5
|
[
"MIT"
] | null | null | null |
from flask import Flask
app= Flask(__name__)
from App import BankApp
| 14.8
| 24
| 0.756757
| 11
| 74
| 4.727273
| 0.545455
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.202703
| 74
| 5
| 25
| 14.8
| 0.881356
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.666667
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
c79a58f556fcdc402ad4b73e4f45ce6592bc47dd
| 142
|
py
|
Python
|
file_utils/__init__.py
|
SamujjwalSam/MatchingNetworks4XC
|
2519cc1a527ea121c4966c1a860d890d5182f887
|
[
"MIT"
] | null | null | null |
file_utils/__init__.py
|
SamujjwalSam/MatchingNetworks4XC
|
2519cc1a527ea121c4966c1a860d890d5182f887
|
[
"MIT"
] | null | null | null |
file_utils/__init__.py
|
SamujjwalSam/MatchingNetworks4XC
|
2519cc1a527ea121c4966c1a860d890d5182f887
|
[
"MIT"
] | null | null | null |
from .File_Util import load_npz, save_npz, save_pickle, load_pickle, save_json, load_json, write_file
# These are not required
del File_Util
| 28.4
| 101
| 0.816901
| 25
| 142
| 4.28
| 0.6
| 0.149533
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.126761
| 142
| 4
| 102
| 35.5
| 0.862903
| 0.15493
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.5
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
c7aa9a38141c4a515396c92d036e923cc43f4199
| 199
|
py
|
Python
|
Modulo_4/semana 2/practica 2/servicioweb/tablero/apps.py
|
AutodidactaMx/cocid_python
|
11628f465ff362807a692c79ede26bf30dd8e26a
|
[
"MIT"
] | null | null | null |
Modulo_4/semana 2/practica 2/servicioweb/tablero/apps.py
|
AutodidactaMx/cocid_python
|
11628f465ff362807a692c79ede26bf30dd8e26a
|
[
"MIT"
] | null | null | null |
Modulo_4/semana 2/practica 2/servicioweb/tablero/apps.py
|
AutodidactaMx/cocid_python
|
11628f465ff362807a692c79ede26bf30dd8e26a
|
[
"MIT"
] | 1
|
2022-03-04T00:57:18.000Z
|
2022-03-04T00:57:18.000Z
|
from tabnanny import verbose
from django.apps import AppConfig
class TableroConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'tablero'
verbose = 'Tablero'
| 22.111111
| 56
| 0.753769
| 23
| 199
| 6.434783
| 0.73913
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.165829
| 199
| 8
| 57
| 24.875
| 0.891566
| 0
| 0
| 0
| 0
| 0
| 0.21608
| 0.145729
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
c7b9fb9055a4acb95b5b9ad3ac57cd7590814980
| 936
|
py
|
Python
|
teste.py
|
coutoccaio/bau_geolinks
|
e04aedd36aa45192a8b92a7bd178e8c170501888
|
[
"MIT"
] | null | null | null |
teste.py
|
coutoccaio/bau_geolinks
|
e04aedd36aa45192a8b92a7bd178e8c170501888
|
[
"MIT"
] | null | null | null |
teste.py
|
coutoccaio/bau_geolinks
|
e04aedd36aa45192a8b92a7bd178e8c170501888
|
[
"MIT"
] | null | null | null |
# import geopandas as gpd
# import folium
# import matplotlib.pyplot as plt
#
#
# def teste():
#
# # Lê os dados
# url = 'https://geoservicos.pbh.gov.br/geoserver/wfs?service=WFS&version=1.0.0&request=GetFeature&typeName=ide_bhgeo:BAIRRO&srsName=EPSG:31983&outputFormat=application%2Fjson'
# gdf = gpd.read_file(url)
#
# # Você pode agora ver os dados em formato df
# gdf
#
# # Verifica se os dados estão certos
# fig, ax = plt.subplots(figsize=(10, 10))
# gdf.plot(ax=ax)
#
# # Converte para lat-long
# gdf = gdf.to_crs(epsg=4326)
#
# # Faz o mapa
# bh = gdf[['id', 'geometry', 'NOME']]
# x_map = bh.geometry.centroid.x.mean()
# y_map = bh.geometry.centroid.y.mean()
# mymap = folium.Map(location=[y_map, x_map], zoom_start=11, tiles='OpenStreetMap')
#
# # Adiciona polígonos
# folium.GeoJson(
# gdf
# ).add_to(mymap)
#
# mymap
def teste():
pass
| 25.297297
| 180
| 0.626068
| 131
| 936
| 4.40458
| 0.671756
| 0.036395
| 0.045061
| 0.07279
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.026027
| 0.220085
| 936
| 36
| 181
| 26
| 0.764384
| 0.897436
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.5
| true
| 0.5
| 0
| 0
| 0.5
| 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
| 0
| 0
| 0
| 0
|
0
| 4
|
c7e7755f474a4f9b35dee0d05f4f5cad5e7b7880
| 287
|
py
|
Python
|
gdal/swig/python/scripts/ogrmerge.py
|
jpapadakis/gdal
|
f07aa15fd65af36b04291303cc6834c87f662814
|
[
"MIT"
] | 18
|
2021-01-27T00:07:35.000Z
|
2022-03-25T22:20:13.000Z
|
gdal/swig/python/scripts/ogrmerge.py
|
jpapadakis/gdal
|
f07aa15fd65af36b04291303cc6834c87f662814
|
[
"MIT"
] | 1
|
2015-04-14T00:19:57.000Z
|
2015-04-14T00:29:29.000Z
|
gdal/swig/python/scripts/ogrmerge.py
|
jpapadakis/gdal
|
f07aa15fd65af36b04291303cc6834c87f662814
|
[
"MIT"
] | 1
|
2022-02-21T06:31:07.000Z
|
2022-02-21T06:31:07.000Z
|
#!/usr/bin/env python3
import sys
# import osgeo.utils.ogrmerge as a convenience to use as a script
from osgeo.utils.ogrmerge import * # noqa
from osgeo.utils.ogrmerge import main
from osgeo.gdal import deprecation_warn
deprecation_warn('ogrmerge', 'utils')
sys.exit(main(sys.argv))
| 23.916667
| 65
| 0.777003
| 45
| 287
| 4.911111
| 0.511111
| 0.135747
| 0.244344
| 0.199095
| 0.253394
| 0
| 0
| 0
| 0
| 0
| 0
| 0.003984
| 0.125436
| 287
| 11
| 66
| 26.090909
| 0.876494
| 0.313589
| 0
| 0
| 0
| 0
| 0.06701
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.666667
| 0
| 0.666667
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
c7ee604798aee96dac57cecddbd711a5977196b2
| 194
|
py
|
Python
|
app/commands.py
|
alphagov/notifications-govuk-alerts
|
ebbc8bffc6965d579370ccf1b62440cbd7f163ad
|
[
"MIT"
] | 3
|
2021-05-17T13:42:25.000Z
|
2021-07-05T19:46:38.000Z
|
app/commands.py
|
alphagov/notifications-govuk-alerts
|
ebbc8bffc6965d579370ccf1b62440cbd7f163ad
|
[
"MIT"
] | 28
|
2021-05-18T12:00:21.000Z
|
2022-03-15T13:00:43.000Z
|
app/commands.py
|
alphagov/notifications-govuk-alerts
|
ebbc8bffc6965d579370ccf1b62440cbd7f163ad
|
[
"MIT"
] | 3
|
2021-02-12T17:20:52.000Z
|
2021-06-18T11:17:54.000Z
|
import click
from app.celery.tasks import publish_govuk_alerts
def setup_commands(app):
app.cli.add_command(publish)
@click.command('publish')
def publish():
publish_govuk_alerts()
| 14.923077
| 49
| 0.762887
| 27
| 194
| 5.259259
| 0.555556
| 0.169014
| 0.253521
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.134021
| 194
| 12
| 50
| 16.166667
| 0.845238
| 0
| 0
| 0
| 0
| 0
| 0.036082
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.285714
| false
| 0
| 0.285714
| 0
| 0.571429
| 0
| 1
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
c7f4f3b0fd3994d437a06f0887258117610b7ded
| 188
|
py
|
Python
|
test/test_files/test_dynamic/test_dynamic_method.py
|
SoftwareUnderstanding/inspect4py
|
9c4d7252535082ad938b26baf281d93f3a27285e
|
[
"BSD-3-Clause"
] | 2
|
2022-02-15T20:30:57.000Z
|
2022-03-17T00:50:37.000Z
|
test/test_files/test_dynamic/test_dynamic_method.py
|
SoftwareUnderstanding/code_inspector
|
a820b5a7bb18f5df9c3e79346108d8280b20c39a
|
[
"BSD-3-Clause"
] | 101
|
2021-06-09T14:19:59.000Z
|
2022-01-24T13:24:39.000Z
|
test/test_files/test_dynamic/test_dynamic_method.py
|
SoftwareUnderstanding/inspect4py
|
9c4d7252535082ad938b26baf281d93f3a27285e
|
[
"BSD-3-Clause"
] | 1
|
2021-09-22T06:59:32.000Z
|
2021-09-22T06:59:32.000Z
|
class MyClass:
def func_1(self):
return "1"
def func_2(func):
return func()
def main():
a=func_2(MyClass().func_1)
print(a)
if __name__ == '__main__':
main()
| 12.533333
| 30
| 0.585106
| 28
| 188
| 3.5
| 0.464286
| 0.142857
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.035971
| 0.260638
| 188
| 14
| 31
| 13.428571
| 0.669065
| 0
| 0
| 0
| 0
| 0
| 0.047872
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.3
| false
| 0
| 0
| 0.2
| 0.6
| 0.1
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 4
|
402e71d194777b45d6563223f6cd638c6c719838
| 241
|
py
|
Python
|
flask_taxonomies/proxies.py
|
oarepo/flask-taxonomies
|
50d704adfc2d5c80d90b040e147abeb00fff3766
|
[
"MIT"
] | null | null | null |
flask_taxonomies/proxies.py
|
oarepo/flask-taxonomies
|
50d704adfc2d5c80d90b040e147abeb00fff3766
|
[
"MIT"
] | 39
|
2019-06-17T08:01:29.000Z
|
2021-06-25T15:21:59.000Z
|
flask_taxonomies/proxies.py
|
oarepo/flask-taxonomies
|
50d704adfc2d5c80d90b040e147abeb00fff3766
|
[
"MIT"
] | 4
|
2019-08-16T09:55:28.000Z
|
2020-07-07T06:18:54.000Z
|
from flask import current_app
from werkzeug.local import LocalProxy
if False:
import flask_taxonomies.api
current_flask_taxonomies = LocalProxy( # type: flask_taxonomies.api.Api
lambda: current_app.extensions['flask-taxonomies'])
| 26.777778
| 72
| 0.80083
| 31
| 241
| 6.032258
| 0.483871
| 0.320856
| 0.192513
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.128631
| 241
| 8
| 73
| 30.125
| 0.890476
| 0.124481
| 0
| 0
| 0
| 0
| 0.076555
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 0.5
| 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
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
4061079120dc57168795741998561cb1785857e9
| 59
|
py
|
Python
|
cogbot/extensions/nbt/errors/__init__.py
|
Arcensoth/cogbot
|
ef9d935ae8c8fbe00fb9370c75e0e6d9189141d0
|
[
"MIT"
] | 8
|
2016-12-26T14:10:38.000Z
|
2021-01-02T03:50:05.000Z
|
cogbot/extensions/nbt/errors/__init__.py
|
Arcensoth/cogbot
|
ef9d935ae8c8fbe00fb9370c75e0e6d9189141d0
|
[
"MIT"
] | 28
|
2016-12-12T04:06:53.000Z
|
2020-04-23T06:18:55.000Z
|
cogbot/extensions/nbt/errors/__init__.py
|
Arcensoth/cogbot
|
ef9d935ae8c8fbe00fb9370c75e0e6d9189141d0
|
[
"MIT"
] | 9
|
2017-06-03T00:33:57.000Z
|
2020-10-29T18:16:02.000Z
|
from .schema_validation_error import SchemaValidationError
| 29.5
| 58
| 0.915254
| 6
| 59
| 8.666667
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.067797
| 59
| 1
| 59
| 59
| 0.945455
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
40ae54c768a81c201172a659435811dea1a22e3e
| 851
|
gyp
|
Python
|
using_skia.gyp
|
j-tetteroo/skiatest
|
64ca9d31682fe3952ba822a2a3168dca8b666730
|
[
"MIT"
] | null | null | null |
using_skia.gyp
|
j-tetteroo/skiatest
|
64ca9d31682fe3952ba822a2a3168dca8b666730
|
[
"MIT"
] | null | null | null |
using_skia.gyp
|
j-tetteroo/skiatest
|
64ca9d31682fe3952ba822a2a3168dca8b666730
|
[
"MIT"
] | null | null | null |
{
'targets': [
{
'configurations': {
'Debug': { },
'Release': { }
},
'target_name': 'appels',
'type': 'executable',
'dependencies': [
'third_party/skia/skia.gyp:alltargets',
'third_party/skia/gyp/sdl.gyp:sdl',
],
'include_dirs': [
'third_party/skia/include/config',
'third_party/skia/include/core',
'third_party/skia/include/gpu',
'third_party/skia/include/gpu/gl',
'third_party/skia/include/utils',
'third_party/skia/third_party/externals/sdl/include',
'third_party/skia/src/gpu/',
],
'sources': [
'app/appels.cpp'
],
'ldflags': [
'-std=c++11',
],
'cflags': [
'-Werror', '-W', '-Wall', '-Wextra', '-Wno-unused-parameter', '-g', '-O0'
]
}
]
}
| 24.314286
| 81
| 0.495887
| 82
| 851
| 5
| 0.512195
| 0.243902
| 0.307317
| 0.256098
| 0.117073
| 0
| 0
| 0
| 0
| 0
| 0
| 0.005085
| 0.306698
| 851
| 34
| 82
| 25.029412
| 0.689831
| 0
| 0
| 0.117647
| 0
| 0
| 0.553467
| 0.367803
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
40b9c77790d0d67b6ea2bd21c08d7322daf6e7fc
| 272
|
py
|
Python
|
external/netdef_models/netdef_slim/tensorflow/core/ops/__init__.py
|
zhuhu00/MOTSFusion_modify
|
190224a7c3fbded69fedf9645a0ebbf08227fb6d
|
[
"MIT"
] | null | null | null |
external/netdef_models/netdef_slim/tensorflow/core/ops/__init__.py
|
zhuhu00/MOTSFusion_modify
|
190224a7c3fbded69fedf9645a0ebbf08227fb6d
|
[
"MIT"
] | null | null | null |
external/netdef_models/netdef_slim/tensorflow/core/ops/__init__.py
|
zhuhu00/MOTSFusion_modify
|
190224a7c3fbded69fedf9645a0ebbf08227fb6d
|
[
"MIT"
] | null | null | null |
from .scale import nothing
from .compute import nothing
from .blob import nothing
from .resample import nothing
from .conv import nothing
from .upconv import nothing
from .accuracy import nothing
from .flow_disp import nothing
from .metrics import nothing
nothing = None
| 22.666667
| 30
| 0.816176
| 39
| 272
| 5.666667
| 0.358974
| 0.529412
| 0.615385
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.147059
| 272
| 11
| 31
| 24.727273
| 0.952586
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.9
| 0
| 0.9
| 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
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
40ec775ae40ceba1c7a6595565e11628814510c0
| 95
|
py
|
Python
|
insurance_backend/insurance_backend/__init__.py
|
tocilla/Insurance
|
f1f43101412e8a56a7615f961984d507ab0d0e06
|
[
"MIT"
] | null | null | null |
insurance_backend/insurance_backend/__init__.py
|
tocilla/Insurance
|
f1f43101412e8a56a7615f961984d507ab0d0e06
|
[
"MIT"
] | null | null | null |
insurance_backend/insurance_backend/__init__.py
|
tocilla/Insurance
|
f1f43101412e8a56a7615f961984d507ab0d0e06
|
[
"MIT"
] | null | null | null |
# try:
# import pymysql
# pymysql.install_as_MySQLdb()
# except ImportError:
# pass
| 19
| 34
| 0.652632
| 10
| 95
| 6
| 0.9
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.242105
| 95
| 5
| 35
| 19
| 0.833333
| 0.894737
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
907a1d4246cc6b2242a069fff7c4713d485e6a42
| 295
|
py
|
Python
|
commonware/decorators.py
|
pmac/commonware
|
5250da6c4d88e628bcbb1d9c0db1c289d04c1c08
|
[
"BSD-3-Clause"
] | 8
|
2017-12-15T18:45:06.000Z
|
2021-11-18T08:38:40.000Z
|
commonware/decorators.py
|
pmac/commonware
|
5250da6c4d88e628bcbb1d9c0db1c289d04c1c08
|
[
"BSD-3-Clause"
] | 7
|
2017-07-17T21:39:37.000Z
|
2021-04-16T12:51:27.000Z
|
commonware/decorators.py
|
pmac/commonware
|
5250da6c4d88e628bcbb1d9c0db1c289d04c1c08
|
[
"BSD-3-Clause"
] | 6
|
2017-07-25T14:13:46.000Z
|
2022-03-16T12:26:15.000Z
|
from commonware.response.decorators import (xframe_sameorigin,
xframe_allow,
xframe_deny,
xrobots_exempt,
xrobots_tag)
| 49.166667
| 62
| 0.349153
| 15
| 295
| 6.533333
| 0.8
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.623729
| 295
| 5
| 63
| 59
| 0.882883
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.2
| 0
| 0.2
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
908cd5b2224c855c6ca876e5b942eac440590eaf
| 200
|
py
|
Python
|
django/schedule/admin.py
|
viniciusfpe/patient_schedules
|
3636a7a0fdc3062f25914b1d7c2c842b1e4e83a1
|
[
"MIT"
] | null | null | null |
django/schedule/admin.py
|
viniciusfpe/patient_schedules
|
3636a7a0fdc3062f25914b1d7c2c842b1e4e83a1
|
[
"MIT"
] | 1
|
2020-06-05T18:18:19.000Z
|
2020-06-05T18:18:19.000Z
|
django/schedule/admin.py
|
viniciusfpe/patient_schedules
|
3636a7a0fdc3062f25914b1d7c2c842b1e4e83a1
|
[
"MIT"
] | null | null | null |
# -*- coding: utf-8 -*-
from django.contrib import admin
from schedule.models import Schedule
@admin.register(Schedule)
class ScheduleAdmin(admin.ModelAdmin):
"""Schedule Admin."""
pass
| 14.285714
| 38
| 0.705
| 23
| 200
| 6.130435
| 0.652174
| 0.184397
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.005988
| 0.165
| 200
| 13
| 39
| 15.384615
| 0.838323
| 0.19
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.2
| 0.4
| 0
| 0.6
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
|
0
| 4
|
9094040333d4ca99bc990250a6496ea3f7829287
| 52
|
py
|
Python
|
src/py310/lesson05/imported.py
|
UWPCE-Python-Course-2-Materials/py310_sp2021
|
584e37b9d96654c1241fc787d157c292301d5bf7
|
[
"MIT"
] | null | null | null |
src/py310/lesson05/imported.py
|
UWPCE-Python-Course-2-Materials/py310_sp2021
|
584e37b9d96654c1241fc787d157c292301d5bf7
|
[
"MIT"
] | null | null | null |
src/py310/lesson05/imported.py
|
UWPCE-Python-Course-2-Materials/py310_sp2021
|
584e37b9d96654c1241fc787d157c292301d5bf7
|
[
"MIT"
] | 2
|
2021-06-03T02:59:49.000Z
|
2021-06-14T20:42:12.000Z
|
def doit():
print("MMMMMMMMMMM")
return 999
| 13
| 24
| 0.615385
| 6
| 52
| 5.333333
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.076923
| 0.25
| 52
| 3
| 25
| 17.333333
| 0.74359
| 0
| 0
| 0
| 0
| 0
| 0.211538
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| true
| 0
| 0
| 0
| 0.666667
| 0.333333
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
9095bbdbff6962df89c1be64f250abbf68e74866
| 63
|
py
|
Python
|
dynamic_models/__init__.py
|
DistPub/django-dynamic-models
|
62e85f3cf9f9a174d6c3b55905aee657b17451e1
|
[
"MIT"
] | 1
|
2019-07-28T17:25:28.000Z
|
2019-07-28T17:25:28.000Z
|
dynamic_models/__init__.py
|
DistPub/django-dynamic-models
|
62e85f3cf9f9a174d6c3b55905aee657b17451e1
|
[
"MIT"
] | null | null | null |
dynamic_models/__init__.py
|
DistPub/django-dynamic-models
|
62e85f3cf9f9a174d6c3b55905aee657b17451e1
|
[
"MIT"
] | 1
|
2019-08-29T22:05:03.000Z
|
2019-08-29T22:05:03.000Z
|
default_app_config = 'dynamic_models.apps.DynamicModelsConfig'
| 31.5
| 62
| 0.873016
| 7
| 63
| 7.428571
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.047619
| 63
| 1
| 63
| 63
| 0.866667
| 0
| 0
| 0
| 0
| 0
| 0.619048
| 0.619048
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
90c2fbccb32e900e2a8ef78499bbbdc277d201aa
| 53
|
py
|
Python
|
varible.py
|
iqran-star/python_for_beginner-day1
|
dcf6fd1293ce46b7a4d53b98fa0e3223c4c83e39
|
[
"MIT"
] | null | null | null |
varible.py
|
iqran-star/python_for_beginner-day1
|
dcf6fd1293ce46b7a4d53b98fa0e3223c4c83e39
|
[
"MIT"
] | null | null | null |
varible.py
|
iqran-star/python_for_beginner-day1
|
dcf6fd1293ce46b7a4d53b98fa0e3223c4c83e39
|
[
"MIT"
] | null | null | null |
a=1
b=2
print('a=',a,'b=',b)
x=3
y=3
z=3
print(x,y,z)
| 7.571429
| 20
| 0.509434
| 19
| 53
| 1.421053
| 0.473684
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.106383
| 0.113208
| 53
| 7
| 21
| 7.571429
| 0.468085
| 0
| 0
| 0
| 0
| 0
| 0.074074
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.285714
| 1
| 0
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
90e2e56c77ce9e117d18eff0a065da70488faebe
| 2,337
|
py
|
Python
|
ifilters/__init__.py
|
kkew3/py-ifilters
|
93b34947fd254c7e3080da36c5c8214c089c5308
|
[
"MIT"
] | null | null | null |
ifilters/__init__.py
|
kkew3/py-ifilters
|
93b34947fd254c7e3080da36c5c8214c089c5308
|
[
"MIT"
] | null | null | null |
ifilters/__init__.py
|
kkew3/py-ifilters
|
93b34947fd254c7e3080da36c5c8214c089c5308
|
[
"MIT"
] | null | null | null |
"""
Filter integers or integer sequences as per numpy-like advanced indexing.
``ifilters`` provides predicate class that produces predicator according to
the provided numpy-like advanced indexing pattern. For example,
- ``1-2``: :math:`\\{1, 2\\}`
- ``-1--2``: \\{\\}
- ``-2--1``: \\{-2, -1\\}
- ``1,3``: :math:`\\{1, 3\\}`
- ``1:5``: :math:`\\{1, 2, 3, 4\\}`
- ``1,3,7:``: :math:`\\{1, 3\\} \\cup \\{x \\mid x \\ge 7\\}`
- ``[2],[3-5]``: :math:`\\{(2,x) \\mid 3 \\le x \\le 5\\}`
Pattern specification
---------------------
Two types of patterns are acceptable: 1) *integer pattern* and 2) *integer
sequence pattern*. Integer pattern consists of a comma-separated list of
zero or more *atomic patterns*. If it contains no atomic pattern, it's called
an *nil pattern*. Nil pattern matches nothing. An integer pattern may or may
not be enclosed in square bracket. An integer pattern expects either an integer
or a singleton sequence of integers -- sequence that contains only one integer.
An integer sequence pattern consists of a comma-separated list of square
bracket enclosed integer patterns.
There are six different atomic patterns: a) single, b) prefix, c) suffix,
d) inclusive range, e) exclusive range and f) all. The regex each atomic
pattern should match against is shown below:
- single: ``^(-)?[0-9]+$``
- prefix: ``^:(-)?[0-9]+``
- suffix: ``^(-)?[0-9]+:``
- inclusive range: ``^-?[0-9]+--?[0-9]+$``
- exclusive range: ``^-?[0-9]+:-?[0-9]+$``
- all: ``:``
An atomic single matches the exact integer. An atomic prefix matches all
integers smaller than the referential integer. An atomic suffix matches all
integers greater than or equal to the referential integer. An atomic inclusive
range matches all integers within range :math:`[a, b]`. An atomic exclusive
range matches all integers within range :math:`[a, b)`. An atomic all matches
all integers.
Example Usage
-------------
.. code-block::
>>> from ifilters import IntSeqPredicate as isp
>>> list(filter(isp('4-10'), range(8)))
[4, 5, 6, 7]
>>> list(filter(isp('[-3],[:]'), [(x, 4) for x in range(-5, 1)]))
[(-3, 1)]
"""
from ifilters.ifilters import IntSeqPredicate
from ifilters.ifilters import IntSeqIter
from ifilters.ifilters import UnboundedPredicateError
| 38.95
| 79
| 0.639709
| 335
| 2,337
| 4.462687
| 0.358209
| 0.009365
| 0.060201
| 0.052174
| 0.165886
| 0.11505
| 0.11505
| 0.11505
| 0.064214
| 0.064214
| 0
| 0.032376
| 0.180573
| 2,337
| 59
| 80
| 39.610169
| 0.748303
| 0.925973
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
90efa78f4323ceef0f2547ccb5bc927e1e6d1b27
| 135
|
py
|
Python
|
pynullweb/__init__.py
|
t73fde/pynullweb
|
7836b2b51165001782699a0cff7e1fa7332c0a11
|
[
"Apache-2.0"
] | null | null | null |
pynullweb/__init__.py
|
t73fde/pynullweb
|
7836b2b51165001782699a0cff7e1fa7332c0a11
|
[
"Apache-2.0"
] | null | null | null |
pynullweb/__init__.py
|
t73fde/pynullweb
|
7836b2b51165001782699a0cff7e1fa7332c0a11
|
[
"Apache-2.0"
] | null | null | null |
"""
PyNullWeb - a web server that returns minimal content.
:copyright: (c) 2017 by Detlef Kreuz
:license: Apache 2.0, see LICENSE
"""
| 19.285714
| 54
| 0.711111
| 20
| 135
| 4.8
| 0.95
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.053571
| 0.17037
| 135
| 6
| 55
| 22.5
| 0.803571
| 0.933333
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
90fc25791ca04d9fb1bae141044fcb202ffbb806
| 50
|
py
|
Python
|
Chapter 07/Chap07_Example7.47.py
|
bpbpublications/Programming-Techniques-using-Python
|
49b785f37e95a3aad1d36cef51e219ac56e5e9f0
|
[
"MIT"
] | null | null | null |
Chapter 07/Chap07_Example7.47.py
|
bpbpublications/Programming-Techniques-using-Python
|
49b785f37e95a3aad1d36cef51e219ac56e5e9f0
|
[
"MIT"
] | null | null | null |
Chapter 07/Chap07_Example7.47.py
|
bpbpublications/Programming-Techniques-using-Python
|
49b785f37e95a3aad1d36cef51e219ac56e5e9f0
|
[
"MIT"
] | null | null | null |
myl1 = [1,2,3,4,5]
myl3 = myl1 + 6
print(myl3)
| 12.5
| 19
| 0.54
| 11
| 50
| 2.454545
| 0.818182
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.263158
| 0.24
| 50
| 3
| 20
| 16.666667
| 0.447368
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.333333
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
90fc721588fb1c4d28f1fb4565ff25f8df4e4a71
| 1,361
|
py
|
Python
|
tools/leetcode.013.Roman to Integer/leetcode.013.Roman to Integer.submission0.py
|
tedye/leetcode
|
975d7e3b8cb9b6be9e80e07febf4bcf6414acd46
|
[
"MIT"
] | 4
|
2015-10-10T00:30:55.000Z
|
2020-07-27T19:45:54.000Z
|
tools/leetcode.013.Roman to Integer/leetcode.013.Roman to Integer.submission0.py
|
tedye/leetcode
|
975d7e3b8cb9b6be9e80e07febf4bcf6414acd46
|
[
"MIT"
] | null | null | null |
tools/leetcode.013.Roman to Integer/leetcode.013.Roman to Integer.submission0.py
|
tedye/leetcode
|
975d7e3b8cb9b6be9e80e07febf4bcf6414acd46
|
[
"MIT"
] | null | null | null |
class Solution(object):
def romanToInt(self, s):
"""
:type s: str
:rtype: int
"""
res = 0
i = 0
l = len(s)
while i < l:
if s[i] == 'M':
res += 1000
elif s[i] == 'D':
res += 500
elif s[i] == 'C':
if i+1 < l and s[i+1] == 'D':
res += 400
i += 1
elif i +1 < l and s[i+1] == 'M':
res += 900
i += 1
else:
res += 100
elif s[i] == 'L':
res += 50
elif s[i] == 'X':
if i+1 < l and s[i+1] == 'C':
res += 90
i += 1
elif i+1 < l and s[i+1] == 'L' :
res += 40
i += 1
else:
res += 10
elif s[i] == 'V':
res += 5
elif s[i] == 'I':
if i +1 < l and s[i+1] == 'V':
res += 4
i += 1
elif i + 1< l and s[i+1] == 'X':
res += 9
i += 1
else:
res += 1
i += 1
return res
| 1,361
| 1,361
| 0.218957
| 149
| 1,361
| 2
| 0.268456
| 0.127517
| 0.07047
| 0.120805
| 0.261745
| 0.261745
| 0.261745
| 0.261745
| 0.151007
| 0.151007
| 0
| 0.103376
| 0.651727
| 1,361
| 1
| 1,361
| 1,361
| 0.525316
| 0.017634
| 0
| 0.232558
| 0
| 0
| 0.009954
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.023256
| false
| 0
| 0
| 0
| 0.069767
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
290947ddbbc2813dad514a21e63cf04c238648b4
| 80
|
py
|
Python
|
twitoff/forms/__init__.py
|
ekoly/twitoff-app
|
b9e8271d2e9388aad67b036255cc3bcbcbbdf701
|
[
"MIT"
] | null | null | null |
twitoff/forms/__init__.py
|
ekoly/twitoff-app
|
b9e8271d2e9388aad67b036255cc3bcbcbbdf701
|
[
"MIT"
] | 5
|
2021-06-08T21:01:27.000Z
|
2022-03-12T00:20:27.000Z
|
twitoff/forms/__init__.py
|
ekoly/twitoff-app
|
b9e8271d2e9388aad67b036255cc3bcbcbbdf701
|
[
"MIT"
] | null | null | null |
#!/usr/bin/env python3
"""
This module contains forms used by the app.
"""
| 13.333333
| 47
| 0.6375
| 12
| 80
| 4.25
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.015873
| 0.2125
| 80
| 5
| 48
| 16
| 0.793651
| 0.8125
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
293a9acbc9550132fb19c628e7994a611dce79ca
| 110
|
py
|
Python
|
vulfocus-api/vulfocus/__init__.py
|
x98zy/vulfocus
|
a4a63ab9a282c91ff4de921dd8cdba50891f6720
|
[
"Apache-2.0"
] | 3
|
2021-12-05T11:54:02.000Z
|
2022-01-24T05:15:26.000Z
|
vulfocus-api/vulfocus/__init__.py
|
x98zy/vulfocus
|
a4a63ab9a282c91ff4de921dd8cdba50891f6720
|
[
"Apache-2.0"
] | null | null | null |
vulfocus-api/vulfocus/__init__.py
|
x98zy/vulfocus
|
a4a63ab9a282c91ff4de921dd8cdba50891f6720
|
[
"Apache-2.0"
] | 1
|
2022-02-15T08:05:56.000Z
|
2022-02-15T08:05:56.000Z
|
from .celery import app as celery_app
import pymysql
__all__ = ('celery_app',)
pymysql.install_as_MySQLdb()
| 15.714286
| 37
| 0.781818
| 16
| 110
| 4.875
| 0.5625
| 0.230769
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.127273
| 110
| 6
| 38
| 18.333333
| 0.8125
| 0
| 0
| 0
| 0
| 0
| 0.090909
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
294c4c4ef6df37c2d853246ab5ab398b7a886418
| 270
|
py
|
Python
|
finder.py
|
LechMadeyski/PhD19MarekSosnicki
|
9ea8af436e451f47062a132abc02f21b00403876
|
[
"Apache-2.0"
] | 2
|
2021-03-23T18:23:27.000Z
|
2021-06-22T20:01:59.000Z
|
finder.py
|
LechMadeyski/AutomatedSearchHelper
|
9ea8af436e451f47062a132abc02f21b00403876
|
[
"Apache-2.0"
] | null | null | null |
finder.py
|
LechMadeyski/AutomatedSearchHelper
|
9ea8af436e451f47062a132abc02f21b00403876
|
[
"Apache-2.0"
] | null | null | null |
from TextSearchEngine.search_functions import *
# finder = AND(
# PARTIAL_WORD("mutation testing"),
# OR(
# EXACT_WORD("C", caseSensitive = True),
# EXACT_WORD("LLVM", caseSensitive = True)))
finder = AND(
PARTIAL_WORD("mutation testing"))
| 24.545455
| 52
| 0.648148
| 28
| 270
| 6.071429
| 0.607143
| 0.105882
| 0.188235
| 0.235294
| 0.411765
| 0.411765
| 0
| 0
| 0
| 0
| 0
| 0
| 0.214815
| 270
| 11
| 53
| 24.545455
| 0.801887
| 0.581481
| 0
| 0
| 0
| 0
| 0.148148
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 0.333333
| 0
| 1
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
2974af7031038c6333b62496423daf37ecfa538b
| 135
|
py
|
Python
|
PythonLearn/basic/hello.py
|
OKKyu/PythonLearn
|
48dc4cc2a1a34d99b09f8d37a5566d448dcf987c
|
[
"MIT"
] | null | null | null |
PythonLearn/basic/hello.py
|
OKKyu/PythonLearn
|
48dc4cc2a1a34d99b09f8d37a5566d448dcf987c
|
[
"MIT"
] | null | null | null |
PythonLearn/basic/hello.py
|
OKKyu/PythonLearn
|
48dc4cc2a1a34d99b09f8d37a5566d448dcf987c
|
[
"MIT"
] | null | null | null |
#! python3
# -*- coding: utf-8 -*-
import sys
if len(sys.argv) >1 :
print('hello,' + sys.argv[1])
else:
print('hello,')
| 15
| 33
| 0.525926
| 19
| 135
| 3.736842
| 0.684211
| 0.197183
| 0.225352
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.039216
| 0.244444
| 135
| 8
| 34
| 16.875
| 0.656863
| 0.22963
| 0
| 0
| 0
| 0
| 0.12766
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.2
| 0
| 0.2
| 0.4
| 1
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
461c44c66e3a959b0fcaacef612d4688bb0df25a
| 388
|
py
|
Python
|
server/mongo/mongo_client.py
|
jamesrappazzo/beta-list
|
5b52630080b4d3b16f27f1be63cfecad50d28ba6
|
[
"MIT"
] | null | null | null |
server/mongo/mongo_client.py
|
jamesrappazzo/beta-list
|
5b52630080b4d3b16f27f1be63cfecad50d28ba6
|
[
"MIT"
] | null | null | null |
server/mongo/mongo_client.py
|
jamesrappazzo/beta-list
|
5b52630080b4d3b16f27f1be63cfecad50d28ba6
|
[
"MIT"
] | null | null | null |
from mongoengine import connect
class Connect(object):
@staticmethod
def connect(table="test", username="superuser", password="Seltzer123#", authentication_source="admin"):
# return MongoClient("mongodb://superuser:Seltzer123#@localhost:27017/admin?authSource=admin")
connect('test', username='superuser', password='Seltzer123#', authentication_source='admin')
| 64.666667
| 107
| 0.739691
| 38
| 388
| 7.5
| 0.605263
| 0.084211
| 0.147368
| 0.203509
| 0.449123
| 0.449123
| 0.449123
| 0.449123
| 0
| 0
| 0
| 0.040936
| 0.118557
| 388
| 6
| 108
| 64.666667
| 0.792398
| 0.234536
| 0
| 0
| 0
| 0
| 0.19661
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0.4
| 0.2
| 0
| 0.6
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
|
0
| 4
|
46485d8810817d6244be9e04bb95e7e6bb51a56a
| 17,202
|
py
|
Python
|
docusign_esign/models/user_account_management_granular_information.py
|
hunk/docusign-python-client
|
a643c42c1236715e74eef6fc279a1b29da1b5455
|
[
"MIT"
] | null | null | null |
docusign_esign/models/user_account_management_granular_information.py
|
hunk/docusign-python-client
|
a643c42c1236715e74eef6fc279a1b29da1b5455
|
[
"MIT"
] | null | null | null |
docusign_esign/models/user_account_management_granular_information.py
|
hunk/docusign-python-client
|
a643c42c1236715e74eef6fc279a1b29da1b5455
|
[
"MIT"
] | null | null | null |
# coding: utf-8
"""
DocuSign REST API
The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
OpenAPI spec version: v2.1
Contact: devcenter@docusign.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from pprint import pformat
from six import iteritems
import re
class UserAccountManagementGranularInformation(object):
"""
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
def __init__(self, can_manage_account_security_settings=None, can_manage_account_security_settings_metadata=None, can_manage_account_settings=None, can_manage_account_settings_metadata=None, can_manage_admins=None, can_manage_admins_metadata=None, can_manage_reporting=None, can_manage_reporting_metadata=None, can_manage_sharing=None, can_manage_sharing_metadata=None, can_manage_signing_groups=None, can_manage_signing_groups_metadata=None, can_manage_users=None, can_manage_users_metadata=None):
"""
UserAccountManagementGranularInformation - a model defined in Swagger
:param dict swaggerTypes: The key is attribute name
and the value is attribute type.
:param dict attributeMap: The key is attribute name
and the value is json key in definition.
"""
self.swagger_types = {
'can_manage_account_security_settings': 'str',
'can_manage_account_security_settings_metadata': 'SettingsMetadata',
'can_manage_account_settings': 'str',
'can_manage_account_settings_metadata': 'SettingsMetadata',
'can_manage_admins': 'str',
'can_manage_admins_metadata': 'SettingsMetadata',
'can_manage_reporting': 'str',
'can_manage_reporting_metadata': 'SettingsMetadata',
'can_manage_sharing': 'str',
'can_manage_sharing_metadata': 'SettingsMetadata',
'can_manage_signing_groups': 'str',
'can_manage_signing_groups_metadata': 'SettingsMetadata',
'can_manage_users': 'str',
'can_manage_users_metadata': 'SettingsMetadata'
}
self.attribute_map = {
'can_manage_account_security_settings': 'canManageAccountSecuritySettings',
'can_manage_account_security_settings_metadata': 'canManageAccountSecuritySettingsMetadata',
'can_manage_account_settings': 'canManageAccountSettings',
'can_manage_account_settings_metadata': 'canManageAccountSettingsMetadata',
'can_manage_admins': 'canManageAdmins',
'can_manage_admins_metadata': 'canManageAdminsMetadata',
'can_manage_reporting': 'canManageReporting',
'can_manage_reporting_metadata': 'canManageReportingMetadata',
'can_manage_sharing': 'canManageSharing',
'can_manage_sharing_metadata': 'canManageSharingMetadata',
'can_manage_signing_groups': 'canManageSigningGroups',
'can_manage_signing_groups_metadata': 'canManageSigningGroupsMetadata',
'can_manage_users': 'canManageUsers',
'can_manage_users_metadata': 'canManageUsersMetadata'
}
self._can_manage_account_security_settings = can_manage_account_security_settings
self._can_manage_account_security_settings_metadata = can_manage_account_security_settings_metadata
self._can_manage_account_settings = can_manage_account_settings
self._can_manage_account_settings_metadata = can_manage_account_settings_metadata
self._can_manage_admins = can_manage_admins
self._can_manage_admins_metadata = can_manage_admins_metadata
self._can_manage_reporting = can_manage_reporting
self._can_manage_reporting_metadata = can_manage_reporting_metadata
self._can_manage_sharing = can_manage_sharing
self._can_manage_sharing_metadata = can_manage_sharing_metadata
self._can_manage_signing_groups = can_manage_signing_groups
self._can_manage_signing_groups_metadata = can_manage_signing_groups_metadata
self._can_manage_users = can_manage_users
self._can_manage_users_metadata = can_manage_users_metadata
@property
def can_manage_account_security_settings(self):
"""
Gets the can_manage_account_security_settings of this UserAccountManagementGranularInformation.
:return: The can_manage_account_security_settings of this UserAccountManagementGranularInformation.
:rtype: str
"""
return self._can_manage_account_security_settings
@can_manage_account_security_settings.setter
def can_manage_account_security_settings(self, can_manage_account_security_settings):
"""
Sets the can_manage_account_security_settings of this UserAccountManagementGranularInformation.
:param can_manage_account_security_settings: The can_manage_account_security_settings of this UserAccountManagementGranularInformation.
:type: str
"""
self._can_manage_account_security_settings = can_manage_account_security_settings
@property
def can_manage_account_security_settings_metadata(self):
"""
Gets the can_manage_account_security_settings_metadata of this UserAccountManagementGranularInformation.
:return: The can_manage_account_security_settings_metadata of this UserAccountManagementGranularInformation.
:rtype: SettingsMetadata
"""
return self._can_manage_account_security_settings_metadata
@can_manage_account_security_settings_metadata.setter
def can_manage_account_security_settings_metadata(self, can_manage_account_security_settings_metadata):
"""
Sets the can_manage_account_security_settings_metadata of this UserAccountManagementGranularInformation.
:param can_manage_account_security_settings_metadata: The can_manage_account_security_settings_metadata of this UserAccountManagementGranularInformation.
:type: SettingsMetadata
"""
self._can_manage_account_security_settings_metadata = can_manage_account_security_settings_metadata
@property
def can_manage_account_settings(self):
"""
Gets the can_manage_account_settings of this UserAccountManagementGranularInformation.
:return: The can_manage_account_settings of this UserAccountManagementGranularInformation.
:rtype: str
"""
return self._can_manage_account_settings
@can_manage_account_settings.setter
def can_manage_account_settings(self, can_manage_account_settings):
"""
Sets the can_manage_account_settings of this UserAccountManagementGranularInformation.
:param can_manage_account_settings: The can_manage_account_settings of this UserAccountManagementGranularInformation.
:type: str
"""
self._can_manage_account_settings = can_manage_account_settings
@property
def can_manage_account_settings_metadata(self):
"""
Gets the can_manage_account_settings_metadata of this UserAccountManagementGranularInformation.
:return: The can_manage_account_settings_metadata of this UserAccountManagementGranularInformation.
:rtype: SettingsMetadata
"""
return self._can_manage_account_settings_metadata
@can_manage_account_settings_metadata.setter
def can_manage_account_settings_metadata(self, can_manage_account_settings_metadata):
"""
Sets the can_manage_account_settings_metadata of this UserAccountManagementGranularInformation.
:param can_manage_account_settings_metadata: The can_manage_account_settings_metadata of this UserAccountManagementGranularInformation.
:type: SettingsMetadata
"""
self._can_manage_account_settings_metadata = can_manage_account_settings_metadata
@property
def can_manage_admins(self):
"""
Gets the can_manage_admins of this UserAccountManagementGranularInformation.
:return: The can_manage_admins of this UserAccountManagementGranularInformation.
:rtype: str
"""
return self._can_manage_admins
@can_manage_admins.setter
def can_manage_admins(self, can_manage_admins):
"""
Sets the can_manage_admins of this UserAccountManagementGranularInformation.
:param can_manage_admins: The can_manage_admins of this UserAccountManagementGranularInformation.
:type: str
"""
self._can_manage_admins = can_manage_admins
@property
def can_manage_admins_metadata(self):
"""
Gets the can_manage_admins_metadata of this UserAccountManagementGranularInformation.
:return: The can_manage_admins_metadata of this UserAccountManagementGranularInformation.
:rtype: SettingsMetadata
"""
return self._can_manage_admins_metadata
@can_manage_admins_metadata.setter
def can_manage_admins_metadata(self, can_manage_admins_metadata):
"""
Sets the can_manage_admins_metadata of this UserAccountManagementGranularInformation.
:param can_manage_admins_metadata: The can_manage_admins_metadata of this UserAccountManagementGranularInformation.
:type: SettingsMetadata
"""
self._can_manage_admins_metadata = can_manage_admins_metadata
@property
def can_manage_reporting(self):
"""
Gets the can_manage_reporting of this UserAccountManagementGranularInformation.
:return: The can_manage_reporting of this UserAccountManagementGranularInformation.
:rtype: str
"""
return self._can_manage_reporting
@can_manage_reporting.setter
def can_manage_reporting(self, can_manage_reporting):
"""
Sets the can_manage_reporting of this UserAccountManagementGranularInformation.
:param can_manage_reporting: The can_manage_reporting of this UserAccountManagementGranularInformation.
:type: str
"""
self._can_manage_reporting = can_manage_reporting
@property
def can_manage_reporting_metadata(self):
"""
Gets the can_manage_reporting_metadata of this UserAccountManagementGranularInformation.
:return: The can_manage_reporting_metadata of this UserAccountManagementGranularInformation.
:rtype: SettingsMetadata
"""
return self._can_manage_reporting_metadata
@can_manage_reporting_metadata.setter
def can_manage_reporting_metadata(self, can_manage_reporting_metadata):
"""
Sets the can_manage_reporting_metadata of this UserAccountManagementGranularInformation.
:param can_manage_reporting_metadata: The can_manage_reporting_metadata of this UserAccountManagementGranularInformation.
:type: SettingsMetadata
"""
self._can_manage_reporting_metadata = can_manage_reporting_metadata
@property
def can_manage_sharing(self):
"""
Gets the can_manage_sharing of this UserAccountManagementGranularInformation.
:return: The can_manage_sharing of this UserAccountManagementGranularInformation.
:rtype: str
"""
return self._can_manage_sharing
@can_manage_sharing.setter
def can_manage_sharing(self, can_manage_sharing):
"""
Sets the can_manage_sharing of this UserAccountManagementGranularInformation.
:param can_manage_sharing: The can_manage_sharing of this UserAccountManagementGranularInformation.
:type: str
"""
self._can_manage_sharing = can_manage_sharing
@property
def can_manage_sharing_metadata(self):
"""
Gets the can_manage_sharing_metadata of this UserAccountManagementGranularInformation.
:return: The can_manage_sharing_metadata of this UserAccountManagementGranularInformation.
:rtype: SettingsMetadata
"""
return self._can_manage_sharing_metadata
@can_manage_sharing_metadata.setter
def can_manage_sharing_metadata(self, can_manage_sharing_metadata):
"""
Sets the can_manage_sharing_metadata of this UserAccountManagementGranularInformation.
:param can_manage_sharing_metadata: The can_manage_sharing_metadata of this UserAccountManagementGranularInformation.
:type: SettingsMetadata
"""
self._can_manage_sharing_metadata = can_manage_sharing_metadata
@property
def can_manage_signing_groups(self):
"""
Gets the can_manage_signing_groups of this UserAccountManagementGranularInformation.
:return: The can_manage_signing_groups of this UserAccountManagementGranularInformation.
:rtype: str
"""
return self._can_manage_signing_groups
@can_manage_signing_groups.setter
def can_manage_signing_groups(self, can_manage_signing_groups):
"""
Sets the can_manage_signing_groups of this UserAccountManagementGranularInformation.
:param can_manage_signing_groups: The can_manage_signing_groups of this UserAccountManagementGranularInformation.
:type: str
"""
self._can_manage_signing_groups = can_manage_signing_groups
@property
def can_manage_signing_groups_metadata(self):
"""
Gets the can_manage_signing_groups_metadata of this UserAccountManagementGranularInformation.
:return: The can_manage_signing_groups_metadata of this UserAccountManagementGranularInformation.
:rtype: SettingsMetadata
"""
return self._can_manage_signing_groups_metadata
@can_manage_signing_groups_metadata.setter
def can_manage_signing_groups_metadata(self, can_manage_signing_groups_metadata):
"""
Sets the can_manage_signing_groups_metadata of this UserAccountManagementGranularInformation.
:param can_manage_signing_groups_metadata: The can_manage_signing_groups_metadata of this UserAccountManagementGranularInformation.
:type: SettingsMetadata
"""
self._can_manage_signing_groups_metadata = can_manage_signing_groups_metadata
@property
def can_manage_users(self):
"""
Gets the can_manage_users of this UserAccountManagementGranularInformation.
:return: The can_manage_users of this UserAccountManagementGranularInformation.
:rtype: str
"""
return self._can_manage_users
@can_manage_users.setter
def can_manage_users(self, can_manage_users):
"""
Sets the can_manage_users of this UserAccountManagementGranularInformation.
:param can_manage_users: The can_manage_users of this UserAccountManagementGranularInformation.
:type: str
"""
self._can_manage_users = can_manage_users
@property
def can_manage_users_metadata(self):
"""
Gets the can_manage_users_metadata of this UserAccountManagementGranularInformation.
:return: The can_manage_users_metadata of this UserAccountManagementGranularInformation.
:rtype: SettingsMetadata
"""
return self._can_manage_users_metadata
@can_manage_users_metadata.setter
def can_manage_users_metadata(self, can_manage_users_metadata):
"""
Sets the can_manage_users_metadata of this UserAccountManagementGranularInformation.
:param can_manage_users_metadata: The can_manage_users_metadata of this UserAccountManagementGranularInformation.
:type: SettingsMetadata
"""
self._can_manage_users_metadata = can_manage_users_metadata
def to_dict(self):
"""
Returns the model properties as a dict
"""
result = {}
for attr, _ in iteritems(self.swagger_types):
value = getattr(self, attr)
if isinstance(value, list):
result[attr] = list(map(
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
value
))
elif hasattr(value, "to_dict"):
result[attr] = value.to_dict()
elif isinstance(value, dict):
result[attr] = dict(map(
lambda item: (item[0], item[1].to_dict())
if hasattr(item[1], "to_dict") else item,
value.items()
))
else:
result[attr] = value
return result
def to_str(self):
"""
Returns the string representation of the model
"""
return pformat(self.to_dict())
def __repr__(self):
"""
For `print` and `pprint`
"""
return self.to_str()
def __eq__(self, other):
"""
Returns true if both objects are equal
"""
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""
Returns true if both objects are not equal
"""
return not self == other
| 39.18451
| 502
| 0.721253
| 1,752
| 17,202
| 6.618721
| 0.079909
| 0.184719
| 0.093825
| 0.070369
| 0.813643
| 0.755002
| 0.708951
| 0.592877
| 0.424629
| 0.215678
| 0
| 0.000449
| 0.223521
| 17,202
| 438
| 503
| 39.273973
| 0.86771
| 0.395535
| 0
| 0.269939
| 0
| 0
| 0.13969
| 0.099699
| 0
| 0
| 0
| 0
| 0
| 1
| 0.208589
| false
| 0
| 0.018405
| 0
| 0.349693
| 0.006135
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
464b5f6e24fb4f1430df72530e0e2a500b44bf9e
| 159
|
py
|
Python
|
codigo.py
|
BrandonMont-git/HCAP2021
|
7a608d3262313267f8824ead5054094d161791ac
|
[
"MIT"
] | null | null | null |
codigo.py
|
BrandonMont-git/HCAP2021
|
7a608d3262313267f8824ead5054094d161791ac
|
[
"MIT"
] | null | null | null |
codigo.py
|
BrandonMont-git/HCAP2021
|
7a608d3262313267f8824ead5054094d161791ac
|
[
"MIT"
] | null | null | null |
import math
print (math.pi)
<<<<<<< HEAD
print ("Nueva linea")
=======
print ("Hola esta es una nueva linea")
>>>>>>> de3751321333e8cb4059c589cb5f6641ac4e4b35
| 19.875
| 48
| 0.679245
| 17
| 159
| 6.352941
| 0.705882
| 0.185185
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.192857
| 0.119497
| 159
| 7
| 49
| 22.714286
| 0.578571
| 0
| 0
| 0
| 0
| 0
| 0.245283
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0.142857
| null | null | 0.428571
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
|
0
| 4
|
464c9c7d7b14ff87c3ba7830736d6b24b33ee0b0
| 113
|
py
|
Python
|
ladim_plugins/utils/__init__.py
|
pnsaevik/ladim_plugins
|
2097a451346e2517e50f735be8b31862f24e64e2
|
[
"MIT"
] | null | null | null |
ladim_plugins/utils/__init__.py
|
pnsaevik/ladim_plugins
|
2097a451346e2517e50f735be8b31862f24e64e2
|
[
"MIT"
] | null | null | null |
ladim_plugins/utils/__init__.py
|
pnsaevik/ladim_plugins
|
2097a451346e2517e50f735be8b31862f24e64e2
|
[
"MIT"
] | 1
|
2020-07-09T08:18:36.000Z
|
2020-07-09T08:18:36.000Z
|
from .light import light
from .eos import calc_density as density, viscosity
from .rasterize import ladim_raster
| 28.25
| 51
| 0.831858
| 17
| 113
| 5.411765
| 0.647059
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.132743
| 113
| 3
| 52
| 37.666667
| 0.938776
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
4685f2ac2d41085c5e97cebfce5dd9cde9ad2161
| 134
|
py
|
Python
|
financier/utils.py
|
JakeVestal/financier
|
0ace41f3b39bb2e4252cb90eeecf316767679e34
|
[
"MIT"
] | null | null | null |
financier/utils.py
|
JakeVestal/financier
|
0ace41f3b39bb2e4252cb90eeecf316767679e34
|
[
"MIT"
] | null | null | null |
financier/utils.py
|
JakeVestal/financier
|
0ace41f3b39bb2e4252cb90eeecf316767679e34
|
[
"MIT"
] | 1
|
2021-11-21T20:52:41.000Z
|
2021-11-21T20:52:41.000Z
|
import numpy as np
import pandas as pd
def exp_cov(df):
cov_matrix = df.cov(min_periods=None, ddof=0).values
return cov_matrix
| 26.8
| 56
| 0.746269
| 25
| 134
| 3.84
| 0.72
| 0.104167
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.009009
| 0.171642
| 134
| 5
| 57
| 26.8
| 0.855856
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0
| 0.4
| 0
| 0.8
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
46a57e9f9dacc5095ad4bb0f301de70ecc16f02d
| 476
|
py
|
Python
|
week10/NaLDo627/target-number.py
|
NaLDo627/Study_Algorithm_Team_1
|
9e01d08e4b7c9cdc4a3e06246ce9d8f96431b836
|
[
"MIT"
] | null | null | null |
week10/NaLDo627/target-number.py
|
NaLDo627/Study_Algorithm_Team_1
|
9e01d08e4b7c9cdc4a3e06246ce9d8f96431b836
|
[
"MIT"
] | 15
|
2021-02-26T13:45:35.000Z
|
2021-05-29T11:14:09.000Z
|
week10/NaLDo627/target-number.py
|
NaLDo627/Study_Algorithm_Team_1
|
9e01d08e4b7c9cdc4a3e06246ce9d8f96431b836
|
[
"MIT"
] | 4
|
2021-02-27T05:41:29.000Z
|
2021-03-02T06:06:39.000Z
|
def dfs(numbers, target, current_value, index):
if index == len(numbers):
if current_value == target:
return 1
return 0
number = numbers[index]
return dfs(numbers, target, current_value + number, index + 1) + \
dfs(numbers, target, current_value - number, index + 1)
def solution(numbers, target):
return dfs(numbers, target, 0, 0)
# 심플하게 dfs로 풀이했다.
# 배열을 탐색해가면서 더한 결과와 뺀것 결과를 탐색해나간다.
# 제한사항이 그렇게 크지 않기에 가능한 풀이인 것 같다.
| 28
| 70
| 0.634454
| 67
| 476
| 4.447761
| 0.477612
| 0.218121
| 0.214765
| 0.231544
| 0.362416
| 0.268456
| 0.268456
| 0.268456
| 0
| 0
| 0
| 0.017143
| 0.264706
| 476
| 16
| 71
| 29.75
| 0.834286
| 0.165966
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0
| 0
| 0.1
| 0.6
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
d3ba3a88b7e77eb944ffc34b5c307c66596b0397
| 44
|
py
|
Python
|
bot/plugins/__init__.py
|
BluLupo/GoogleAssistantBot
|
32c975747493de6b0139d0038cf8e778e1c39723
|
[
"Apache-2.0"
] | 4
|
2020-07-29T22:53:04.000Z
|
2021-11-08T23:09:05.000Z
|
bot/plugins/__init__.py
|
BluLupo/GoogleAssistantBot
|
32c975747493de6b0139d0038cf8e778e1c39723
|
[
"Apache-2.0"
] | 3
|
2020-10-04T15:26:30.000Z
|
2021-05-02T20:17:30.000Z
|
bot/plugins/__init__.py
|
BluLupo/GoogleAssistantBot
|
32c975747493de6b0139d0038cf8e778e1c39723
|
[
"Apache-2.0"
] | 6
|
2020-08-23T18:08:45.000Z
|
2020-09-12T09:46:03.000Z
|
__all__ = ["weather"]
from plugins import *
| 14.666667
| 21
| 0.704545
| 5
| 44
| 5.4
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.159091
| 44
| 3
| 22
| 14.666667
| 0.72973
| 0
| 0
| 0
| 0
| 0
| 0.155556
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 0.5
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
d3cf261ae27679267cff9491c3023b9d3b71bfc7
| 1,024
|
py
|
Python
|
python ex5.py
|
IMDCGP105-1819/portfolio-s184286
|
e5485f640f341090823bbcaabe287376a048b2c4
|
[
"MIT"
] | null | null | null |
python ex5.py
|
IMDCGP105-1819/portfolio-s184286
|
e5485f640f341090823bbcaabe287376a048b2c4
|
[
"MIT"
] | null | null | null |
python ex5.py
|
IMDCGP105-1819/portfolio-s184286
|
e5485f640f341090823bbcaabe287376a048b2c4
|
[
"MIT"
] | null | null | null |
## 99 bottles using while loop..
n = 99
while n > 0:
print(n,"bottles of beer on the wall,","Take one down, pass it around,")
n = n - 1
print('No more bottles of beer on the wall, no more bottles of beer. Go to the store and buy some more, 99 bottles of beer on the wall…')
"""
# 99 bottles using for loop (range), if else condition...
for i in range(99, 0, -1):
if i == 1:
print('1 bottle of beer on the wall, 1 bottle of beer!')
print('So take it down, pass it around, no more bottles of beer on the wall!')
elif i == 2:
print('2 more bottles of beer on the wall, 2 more bottles of beer!')
print('So take one down, pass it around, 1 more bottle of beer on the wall!')
else:
print('{0} bottles of beer on the wall, {0} bottles of beer!'.format(i))
print('So take it down, pass it around, {0} more bottles of beer on the wall!'.format(i - 1))
"""
| 36.571429
| 138
| 0.561523
| 171
| 1,024
| 3.380117
| 0.239766
| 0.134948
| 0.224913
| 0.17128
| 0.641869
| 0.553633
| 0.287197
| 0.197232
| 0
| 0
| 0
| 0.036711
| 0.334961
| 1,024
| 27
| 139
| 37.925926
| 0.807636
| 0.02832
| 0
| 0
| 0
| 0.2
| 0.732283
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0.2
| 0
| 0
| 0
| 0.4
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 4
|
d3e6666d2d52eac11760d31257600d95b802142e
| 1,002
|
py
|
Python
|
backend/lists/permissions.py
|
xelam11/TaskPlanner
|
c1e940d2a9babba7721c0f2d261e1c7df9c48581
|
[
"BSD-3-Clause"
] | null | null | null |
backend/lists/permissions.py
|
xelam11/TaskPlanner
|
c1e940d2a9babba7721c0f2d261e1c7df9c48581
|
[
"BSD-3-Clause"
] | null | null | null |
backend/lists/permissions.py
|
xelam11/TaskPlanner
|
c1e940d2a9babba7721c0f2d261e1c7df9c48581
|
[
"BSD-3-Clause"
] | null | null | null |
from django.shortcuts import get_object_or_404
from rest_framework import permissions
from boards.models import Board
class IsAuthorOrParticipantOrAdminForCreateList(permissions.BasePermission):
def has_permission(self, request, view):
board = get_object_or_404(Board, id=request.data['board'])
if request.user.is_authenticated:
return (request.user == board.author or
board.participants.filter(id=request.user.id).exists()
or request.user.is_staff)
class IsAuthor(permissions.BasePermission):
def has_object_permission(self, request, view, obj):
return obj.board.author == request.user
class IsParticipant(permissions.BasePermission):
def has_object_permission(self, request, view, obj):
return obj.board.participants.filter(id=request.user.id).exists()
class IsStaff(permissions.BasePermission):
def has_object_permission(self, request, view, obj):
return request.user.is_staff
| 29.470588
| 76
| 0.727545
| 119
| 1,002
| 5.983193
| 0.327731
| 0.108146
| 0.157303
| 0.174157
| 0.438202
| 0.438202
| 0.438202
| 0.438202
| 0.321629
| 0.321629
| 0
| 0.007326
| 0.182635
| 1,002
| 33
| 77
| 30.363636
| 0.862027
| 0
| 0
| 0.157895
| 0
| 0
| 0.00499
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.210526
| false
| 0
| 0.157895
| 0.157895
| 0.789474
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 4
|
d3fa51d724a792ac53226dfcdc1711243147b453
| 143
|
py
|
Python
|
services/group_service_interface.py
|
Priyeshpandey/splitwise
|
db1af921a1ebf3f4034a6672cd3a2515aaeeecd5
|
[
"MIT"
] | null | null | null |
services/group_service_interface.py
|
Priyeshpandey/splitwise
|
db1af921a1ebf3f4034a6672cd3a2515aaeeecd5
|
[
"MIT"
] | null | null | null |
services/group_service_interface.py
|
Priyeshpandey/splitwise
|
db1af921a1ebf3f4034a6672cd3a2515aaeeecd5
|
[
"MIT"
] | null | null | null |
import abc
class GroupServiceInterface(metaclass=abc.ABCMeta):
@abc.abstractmethod
def addGroup(self, id, name, members):
pass
| 23.833333
| 51
| 0.72028
| 16
| 143
| 6.4375
| 0.875
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.188811
| 143
| 6
| 52
| 23.833333
| 0.887931
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0.2
| 0.2
| 0
| 0.6
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
|
0
| 4
|
d3fd902c48c4a9c32d7d1027647b2947a627fe76
| 118
|
py
|
Python
|
refinery/lib/thirdparty/__init__.py
|
bronxc/refinery
|
9448facf48a0008f27861dd1a5ee8f5218e6bb86
|
[
"BSD-3-Clause"
] | null | null | null |
refinery/lib/thirdparty/__init__.py
|
bronxc/refinery
|
9448facf48a0008f27861dd1a5ee8f5218e6bb86
|
[
"BSD-3-Clause"
] | null | null | null |
refinery/lib/thirdparty/__init__.py
|
bronxc/refinery
|
9448facf48a0008f27861dd1a5ee8f5218e6bb86
|
[
"BSD-3-Clause"
] | null | null | null |
"""
This module contains third-party libraries that usually have different licensing than
Binary Refinery itself.
"""
| 23.6
| 85
| 0.79661
| 15
| 118
| 6.266667
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.135593
| 118
| 4
| 86
| 29.5
| 0.921569
| 0.923729
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
314961970a585649da4cf56d2195fa7ec29b5732
| 79
|
py
|
Python
|
src/jianshou/__init__.py
|
p1slave/jianshou-client
|
7e94c305bf5928988cfee11dbeb3645985370db3
|
[
"MIT"
] | null | null | null |
src/jianshou/__init__.py
|
p1slave/jianshou-client
|
7e94c305bf5928988cfee11dbeb3645985370db3
|
[
"MIT"
] | null | null | null |
src/jianshou/__init__.py
|
p1slave/jianshou-client
|
7e94c305bf5928988cfee11dbeb3645985370db3
|
[
"MIT"
] | null | null | null |
from .api import JianshouClient
JianshouClient
# __all__ = ["JianshouClient"]
| 15.8
| 31
| 0.78481
| 7
| 79
| 8.285714
| 0.714286
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.126582
| 79
| 5
| 32
| 15.8
| 0.84058
| 0.35443
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.5
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
314f58e4cfd5861cbacc98682098feddb4582103
| 1,506
|
py
|
Python
|
tests/functional/adapter/test_basic.py
|
mdesmet/dbt-trino
|
2a1f03902b1375262d0bead06fc650d1c992fa0b
|
[
"Apache-2.0"
] | 37
|
2021-10-05T13:47:08.000Z
|
2022-03-26T23:31:53.000Z
|
tests/functional/adapter/test_basic.py
|
mdesmet/dbt-trino
|
2a1f03902b1375262d0bead06fc650d1c992fa0b
|
[
"Apache-2.0"
] | 36
|
2021-09-27T17:25:26.000Z
|
2022-03-28T08:41:40.000Z
|
tests/functional/adapter/test_basic.py
|
mdesmet/dbt-trino
|
2a1f03902b1375262d0bead06fc650d1c992fa0b
|
[
"Apache-2.0"
] | 11
|
2021-12-14T04:40:38.000Z
|
2022-03-27T02:17:25.000Z
|
import pytest
from dbt.tests.adapter.basic.test_adapter_methods import BaseAdapterMethod
from dbt.tests.adapter.basic.test_base import BaseSimpleMaterializations
from dbt.tests.adapter.basic.test_singular_tests import BaseSingularTests
from dbt.tests.adapter.basic.test_singular_tests_ephemeral import BaseSingularTestsEphemeral
from dbt.tests.adapter.basic.test_empty import BaseEmpty
from dbt.tests.adapter.basic.test_ephemeral import BaseEphemeral
from dbt.tests.adapter.basic.test_incremental import BaseIncremental
from dbt.tests.adapter.basic.test_generic_tests import BaseGenericTests
from dbt.tests.adapter.basic.test_snapshot_check_cols import BaseSnapshotCheckCols
from dbt.tests.adapter.basic.test_snapshot_timestamp import BaseSnapshotTimestamp
class TestAdapterMethods(BaseAdapterMethod):
pass
class TestSimpleMaterializationsTrino(BaseSimpleMaterializations):
pass
class TestSingularTestsTrino(BaseSingularTests):
pass
class TestSingularTestsEphemeralTrino(BaseSingularTestsEphemeral):
pass
class TestEmptyTrino(BaseEmpty):
pass
class TestEphemeralTrino(BaseEphemeral):
pass
class TestIncrementalTrino(BaseIncremental):
pass
class TestGenericTestsTrino(BaseGenericTests):
pass
@pytest.mark.xfail(reason="Snapshot not supported in dbt-trino")
class TestSnapshotCheckColsTrino(BaseSnapshotCheckCols):
pass
@pytest.mark.xfail(reason="Snapshot not supported in dbt-trino")
class TestSnapshotTimestampTrino(BaseSnapshotTimestamp):
pass
| 27.381818
| 92
| 0.846614
| 160
| 1,506
| 7.85625
| 0.3
| 0.055688
| 0.095465
| 0.151154
| 0.351631
| 0.351631
| 0.217979
| 0.1607
| 0.095465
| 0.095465
| 0
| 0
| 0.094954
| 1,506
| 54
| 93
| 27.888889
| 0.92223
| 0
| 0
| 0.363636
| 0
| 0
| 0.046481
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.30303
| 0.333333
| 0
| 0.636364
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 1
| 0
|
0
| 4
|
317f8bf51c29079fcfbbea19dd0cb67a93c1ddfc
| 2,335
|
py
|
Python
|
tests/dicts/parse/test_parse_util.py
|
next-franciscoalgaba/python-benedict
|
81ff459304868327238c322a0a8a203d9d5d4314
|
[
"MIT"
] | 365
|
2019-05-21T05:50:30.000Z
|
2022-03-29T11:35:35.000Z
|
tests/dicts/parse/test_parse_util.py
|
next-franciscoalgaba/python-benedict
|
81ff459304868327238c322a0a8a203d9d5d4314
|
[
"MIT"
] | 78
|
2019-11-16T12:22:54.000Z
|
2022-03-14T12:21:30.000Z
|
tests/dicts/parse/test_parse_util.py
|
next-franciscoalgaba/python-benedict
|
81ff459304868327238c322a0a8a203d9d5d4314
|
[
"MIT"
] | 26
|
2019-12-16T06:34:12.000Z
|
2022-02-28T07:16:41.000Z
|
# -*- coding: utf-8 -*-
from benedict.dicts.parse import parse_util
import unittest
class parse_util_test_case(unittest.TestCase):
def test_parse_bool(self):
f = parse_util.parse_bool
self.assertTrue(f(1))
self.assertTrue(f(True))
self.assertTrue(f('1'))
self.assertTrue(f('True'))
self.assertTrue(f('Yes'))
self.assertTrue(f('Ok'))
self.assertTrue(f('On'))
self.assertFalse(f(None))
self.assertFalse(f(0))
self.assertFalse(f(False))
self.assertFalse(f('0'))
self.assertFalse(f('False'))
self.assertFalse(f('No'))
self.assertFalse(f('Ko'))
self.assertFalse(f('Off'))
def test_parse_date(self):
# TODO
pass
def test_parse_datetime(self):
# TODO
pass
def test_parse_decimal(self):
# TODO
pass
def test_parse_dict(self):
# TODO
pass
def test_parse_float(self):
# TODO
pass
def test_parse_email(self):
# TODO
pass
def test_parse_int(self):
# TODO
pass
def test_parse_list(self):
f = lambda value: parse_util.parse_list(value, separator=',')
self.assertEqual(f(['0', '1', '2', 'Hello World']), ['0', '1', '2', 'Hello World'])
self.assertEqual(f('0,1,2'), ['0', '1', '2'])
self.assertEqual(f('0'), ['0'])
self.assertEqual(f('1'), ['1'])
self.assertEqual(f(''), None)
self.assertEqual(f(None), None)
def test_parse_list_with_valid_json(self):
f = lambda value: parse_util.parse_list(value, separator=None)
self.assertEqual(f('[0,1,2,3]'), [0, 1, 2, 3])
def test_parse_list_with_invalid_json_with_separator(self):
f = lambda value: parse_util.parse_list(value, separator=',')
self.assertEqual(f('[a,b,c]'), ['[a', 'b', 'c]'])
def test_parse_list_with_invalid_json_without_separator(self):
f = lambda value: parse_util.parse_list(value, separator=None)
self.assertEqual(f('[a,b,c]'), None)
def test_parse_phonenumber(self):
# TODO
pass
def test_parse_slug(self):
# TODO
pass
def test_parse_str(self):
# TODO
pass
def test_parse_uuid(self):
# TODO
pass
| 25.380435
| 91
| 0.574304
| 305
| 2,335
| 4.203279
| 0.2
| 0.087363
| 0.149766
| 0.117005
| 0.651326
| 0.617785
| 0.406396
| 0.358034
| 0.358034
| 0.358034
| 0
| 0.01716
| 0.276231
| 2,335
| 91
| 92
| 25.659341
| 0.74142
| 0.032548
| 0
| 0.254237
| 0
| 0
| 0.042297
| 0
| 0
| 0
| 0
| 0.010989
| 0.40678
| 1
| 0.271186
| false
| 0.186441
| 0.033898
| 0
| 0.322034
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 4
|
31ab5d74f81f1f6c1796b0cf1966a31da4ff4714
| 330
|
py
|
Python
|
awl/tests/test_logtools.py
|
cltrudeau/django-awl
|
e74f697d992bf96f9e448bb618141b4aa4a62a7e
|
[
"MIT"
] | 5
|
2020-04-07T01:56:24.000Z
|
2021-07-15T04:57:43.000Z
|
awl/tests/test_logtools.py
|
cltrudeau/django-awl
|
e74f697d992bf96f9e448bb618141b4aa4a62a7e
|
[
"MIT"
] | 9
|
2020-02-11T22:15:30.000Z
|
2021-12-20T21:21:08.000Z
|
awl/tests/test_logtools.py
|
cltrudeau/django-awl
|
e74f697d992bf96f9e448bb618141b4aa4a62a7e
|
[
"MIT"
] | null | null | null |
from django.test import TestCase
from awl.logtools import django_logging_dict
# ============================================================================
class LogToolsTests(TestCase):
def test_django_logging_dict(self):
# not much to test here besides that it doesn't blow up
django_logging_dict('foo')
| 30
| 78
| 0.572727
| 37
| 330
| 4.918919
| 0.675676
| 0.214286
| 0.28022
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.151515
| 330
| 10
| 79
| 33
| 0.65
| 0.393939
| 0
| 0
| 0
| 0
| 0.015228
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0
| 0.4
| 0
| 0.8
| 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
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
31ee1e1b6f663eb8868af9752ff06e908feb7cc5
| 221
|
py
|
Python
|
universality/tov/__init__.py
|
isaaclegred/universality
|
9eac607a78b7cb67c1509ea68f4de631437f393a
|
[
"MIT"
] | 1
|
2021-06-02T13:41:46.000Z
|
2021-06-02T13:41:46.000Z
|
universality/tov/__init__.py
|
isaaclegred/universality
|
9eac607a78b7cb67c1509ea68f4de631437f393a
|
[
"MIT"
] | 25
|
2018-01-31T15:14:27.000Z
|
2021-01-10T21:32:05.000Z
|
universality/tov/__init__.py
|
isaaclegred/universality
|
9eac607a78b7cb67c1509ea68f4de631437f393a
|
[
"MIT"
] | 2
|
2018-12-07T04:04:33.000Z
|
2021-09-10T19:00:17.000Z
|
"""a module that houses our routines to solve the TOV equations, etc
"""
__author__ = "Reed Essick (reed.essick@gmail.com)"
#-------------------------------------------------
from .sequences import *
from .ode import *
| 24.555556
| 68
| 0.556561
| 25
| 221
| 4.76
| 0.84
| 0.168067
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.131222
| 221
| 8
| 69
| 27.625
| 0.619792
| 0.520362
| 0
| 0
| 0
| 0
| 0.353535
| 0.232323
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.666667
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
9ed40b73ce716be0427e4551cd71735cddf6f2df
| 799
|
py
|
Python
|
ssasse_platform/scripts/utils/printAllAttributes.py
|
garretseppalapnnl/ssass-e
|
6fcc0198422aa649c45344f1a6ba079b1ebf384e
|
[
"BSD-3-Clause"
] | 4
|
2021-02-16T17:27:37.000Z
|
2022-01-25T09:29:30.000Z
|
ssasse_platform/scripts/utils/printAllAttributes.py
|
garretseppalapnnl/ssass-e
|
6fcc0198422aa649c45344f1a6ba079b1ebf384e
|
[
"BSD-3-Clause"
] | 3
|
2021-05-05T16:38:54.000Z
|
2021-06-04T20:05:28.000Z
|
ssasse_platform/scripts/utils/printAllAttributes.py
|
garretseppalapnnl/ssass-e
|
6fcc0198422aa649c45344f1a6ba079b1ebf384e
|
[
"BSD-3-Clause"
] | 5
|
2021-04-16T21:50:57.000Z
|
2021-05-25T16:36:26.000Z
|
import sys
if sys.version_info[0] >= 3:
unicode = str
import json
from ssasse_platform.InferenceEngine.Databases import dbManagerNew
from ssasse_platform.InferenceEngine import helper
import datetime
import time
database_path = "ssasse_platform/InferenceEngine/Databases/"
profiles_path = "ssasse_platform/InferenceEngine/Profiles/"
ENEW_DB_FILE = "enew_db.sqlite" # evidence
DBManagerNew = dbManagerNew.DBManager()
attributes = dbManagerNew.allAttributes(ENEW_DB_FILE)
print("printing ALL_ATTRIBUTES: {0}".format(attributes))
attributes = dbManagerNew.allAttributes(ENEW_DB_FILE, "Passive")
print("printing ALL_ATTRIBUTES (Passive): {0}".format(attributes))
attributes = dbManagerNew.allAttributes(ENEW_DB_FILE, "Active")
print("printing ALL_ATTRIBUTES (Active): {0}".format(attributes))
| 31.96
| 66
| 0.809762
| 94
| 799
| 6.680851
| 0.382979
| 0.047771
| 0.184713
| 0.186306
| 0.269108
| 0.269108
| 0.197452
| 0.197452
| 0.197452
| 0
| 0
| 0.006849
| 0.086358
| 799
| 24
| 67
| 33.291667
| 0.853425
| 0.010013
| 0
| 0
| 0
| 0
| 0.269962
| 0.105196
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0.111111
| 0.333333
| 0
| 0.333333
| 0.166667
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
|
0
| 4
|
9edceba874af5dd2f59995a88baf715c038b6a51
| 10,413
|
py
|
Python
|
system/controllers/controllers.py
|
JHUAPL/meta-system
|
d3e80e50d64e1a9e83d81efbcb8de1ec9cc34e03
|
[
"Apache-2.0"
] | 5
|
2021-07-30T00:59:59.000Z
|
2022-03-23T16:52:46.000Z
|
system/controllers/controllers.py
|
JHUAPL/meta-system
|
d3e80e50d64e1a9e83d81efbcb8de1ec9cc34e03
|
[
"Apache-2.0"
] | null | null | null |
system/controllers/controllers.py
|
JHUAPL/meta-system
|
d3e80e50d64e1a9e83d81efbcb8de1ec9cc34e03
|
[
"Apache-2.0"
] | null | null | null |
# **********************************************************************
# Copyright (C) 2020 Johns Hopkins University Applied Physics Laboratory
#
# All Rights Reserved.
# For any other permission, please contact the Legal Office at JHU/APL.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# **********************************************************************
from datetime import datetime
from enum import Enum
from bson import ObjectId
from shared.log import logger
from system.models.schemas_loader import SchemaLoader
def count(collection: Enum) -> int:
"""
Returns the count of all documents in the collection.
:param collection: Name of collection for query
:return: Value of count
"""
query_set = SchemaLoader.get_queryset(collection) if isinstance(
collection, SchemaLoader) else None
if not query_set: # invalid model error log
logger.log("Invalid model")
try:
return query_set.count()
except Exception as e:
logger.error(repr(e))
return -1
def find_all(collection: Enum, as_json: bool = False) -> str or dict:
"""
Returns all documents in the collection, as JSON if applicable.
:param collection: Name of collection for query
:param as_json: Flag to signify if collection should be returned in JSON format
:return: All documents in collection
"""
query_set = SchemaLoader.get_queryset(collection) if isinstance(
collection, SchemaLoader) else None
if not query_set: # invalid model error log
logger.error("Invalid model")
try:
result = query_set.all()
# return each as a json if desired
return list(map(lambda d: d.as_json() if as_json else d, result))
except Exception as e:
logger.error(repr(e))
return None
def find_by_id(collection: Enum, obj_id: ObjectId, as_json: bool = False) -> str or dict:
"""
Returns all documents in the collection, as JSON if applicable.
:param obj_id: ID of document to find
:param collection: Name of collection for query
:param as_json: Flag to signify if collection should be returned in JSON format
:return: All documents in collection
"""
query_set = SchemaLoader.get_queryset(collection) if isinstance(
collection, SchemaLoader) else None
if not query_set: # invalid model error log
logger.error("Invalid model")
if not isinstance(obj_id, ObjectId): # check to make sure id is an ObjectId
logger.error("Invalid ID")
try:
# get docs with {key: value} pair in collection
docs = query_set.get({"_id": obj_id})
return docs.as_json() if as_json else docs # return doc as a json if desired
except Exception as e:
logger.error(e)
return None
def find_by_key_value(collection: Enum, key: str, value, as_json: bool = False) -> str or dict:
"""
Filter collection by {key: value} pair
:param key: The key to search for in a collection
:param value: The desired value of key in searching collection
:param collection: Name of collection for query
:param as_json: Flag to signify if collection should be returned in JSON format
:return: Documents with specified {key: value} pair.
"""
query_set = SchemaLoader.get_queryset(collection) if isinstance(
collection, SchemaLoader) else None
if not query_set: # invalid model error log
logger.error("Invalid model")
if not isinstance(key, str): # check to make sure key is a str
logger.error("Invalid key")
try:
# get docs with {key: value} pair in collection
docs = query_set.raw({key: value})
# return doc as a json if desired
return list(map(lambda d: d.as_json() if as_json else d, docs))
except Exception as e:
logger.error(repr(e))
return None
def find_by_multi_key_value(collection: Enum, filter_map: dict, as_json: bool = False) -> str or dict:
"""
Filter collection by {key: value} pair
:param filter_map: The filter dictionary used to search in a collection
:param collection: Name of collection for query
:param as_json: Flag to signify if collection should be returned in JSON format
:return: Documents with specified {key: value} pair.
"""
query_set = SchemaLoader.get_queryset(collection) if isinstance(
collection, SchemaLoader) else None
if not query_set: # invalid model error log
logger.error("Invalid model")
if not isinstance(filter_map, dict): # check to make sure key is a str
logger.error("Invalid filter")
try:
# get docs with {key: value} pair in collection
docs = query_set.get(filter_map)
return docs.as_json() if as_json else docs # return doc as a json if desired
except Exception as e:
logger.error(repr(e))
return None
def update_by_id(collection: Enum, obj_id: ObjectId, key: str, value):
"""
Find the document specified by ID in the collection.
Update it's field key to value.
:param obj_id: The ID of the document to find
:param collection: The collection to insert data in
:param key: The key to update in the document
:param value: The value to update key with
:return: None
"""
query_set = SchemaLoader.get_queryset(collection) if isinstance(
collection, SchemaLoader) else None
if not query_set: # invalid model error log
logger.error("Invalid model")
if not isinstance(obj_id, ObjectId):
logger.error("Invalid ID")
if not isinstance(key, str):
logger.error("Invalid key")
try:
# will make more sense to the user to have both jobs updated at the same time
curr_datetime = datetime.utcnow()
# desired fields to update
update_input = {key: value, "updated_datetime": curr_datetime}
query_set.raw({"_id": obj_id}).update({"$set": update_input})
return True
except Exception as e:
logger.error(repr(e))
return False
def insert_one(collection: Enum, data: dict) -> ObjectId:
"""
Insert a Python dictionary into a collection.
Update time to reflect when the collection was last altered
:param data: The data to insert in collection
:param collection: The collection to insert data in
:return: ObjectId of doc added
"""
model = SchemaLoader.get_model(collection) if isinstance(
collection, SchemaLoader) else None
if not model: # invalid model error log
logger.error("Invalid model")
if not isinstance(data, dict):
logger.error("Invalid data input")
try:
new_doc = model.from_document(data)
new_doc.created_datetime = datetime.utcnow()
new_doc.started_datetime = None
new_doc.updated_datetime = datetime.utcnow()
new_doc.completed_datetime = None
new_doc.save()
return new_doc._id
except Exception as e:
logger.error(repr(e))
return None
def insert_many(collection: Enum, data: list) -> list:
"""
Insert a list of Python dictionaries into a collection.
Update time to reflect when the collection was last altered
:param data: The list of data to insert in collection
:param collection: The collection to insert data in
:return: list of ObjectIds added
"""
model = SchemaLoader.get_model(collection) if isinstance(
collection, SchemaLoader) else None
if not model: # invalid model error log
logger.error("Invalid model")
if not isinstance(data, dict):
logger.error("Invalid data input")
try:
obj_id_list = []
for doc in data:
new_doc = model.from_document(doc)
new_doc.created_datetime = datetime.utcnow()
new_doc.started_datetime = None
new_doc.updated_datetime = datetime.utcnow()
new_doc.completed_datetime = None
new_doc.save()
obj_id_list.append(new_doc._id)
return obj_id_list
except Exception as e:
logger.error(repr(e))
return None
def delete_by_id(collection: Enum, obj_id: ObjectId):
"""
Delete document in collection that has specified id.
Only works for single key filtering.
:param obj_id: The id of the document to delete
:param collection: Name of collection of interest
:return: None
"""
query_set = SchemaLoader.get_queryset(collection) if isinstance(
collection, SchemaLoader) else None
if not query_set: # invalid model error log
logger.error("Invalid model")
if not isinstance(obj_id, ObjectId): # check to make sure id is an ObjectId
logger.error("Invalid ID")
try:
# remove docs with {key: value} pair in collection
query_set.raw({"_id": obj_id}).delete()
except Exception as e:
logger.error(repr(e))
return None
def delete_by_key_value(collection: Enum, key: str, value: str):
"""
Delete document in collection that has {key: value} pair.
Only works for single key filtering.
:param key: The key to search for in a collection
:param value: The desired value of key to delete in collection
:param collection: Name of collection of interest
:return: None
"""
query_set = SchemaLoader.get_queryset(collection) if isinstance(
collection, SchemaLoader) else None
if not query_set: # invalid model error log
logger.error("Invalid model")
if not isinstance(key, str): # check to make sure key is a str
logger.error("Invalid key")
if not isinstance(value, str): # check to make sure value is a str
logger.error("Invalid value")
try:
# remove docs with {key: value} pair in collection
query_set.raw({key: value}).delete()
except Exception as e:
logger.error(repr(e))
return None
| 37.05694
| 102
| 0.665418
| 1,432
| 10,413
| 4.750698
| 0.142458
| 0.046891
| 0.050272
| 0.047038
| 0.760547
| 0.735264
| 0.710275
| 0.68705
| 0.663678
| 0.643099
| 0
| 0.001146
| 0.245847
| 10,413
| 280
| 103
| 37.189286
| 0.865147
| 0.40776
| 0
| 0.707483
| 0
| 0
| 0.04907
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.068027
| false
| 0
| 0.034014
| 0
| 0.22449
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
9efc4563d60e0a7c288c80de6af94869901337fa
| 150
|
py
|
Python
|
bootcamp/agents/agent.py
|
jasonkriss/bootcamp
|
c97aabac1edcc30ce2e37d9d6e3490d6d456615e
|
[
"MIT"
] | null | null | null |
bootcamp/agents/agent.py
|
jasonkriss/bootcamp
|
c97aabac1edcc30ce2e37d9d6e3490d6d456615e
|
[
"MIT"
] | null | null | null |
bootcamp/agents/agent.py
|
jasonkriss/bootcamp
|
c97aabac1edcc30ce2e37d9d6e3490d6d456615e
|
[
"MIT"
] | null | null | null |
class Agent(object):
def train(self, batch):
raise NotImplementedError
def act(self, observation):
raise NotImplementedError
| 21.428571
| 33
| 0.68
| 15
| 150
| 6.8
| 0.733333
| 0.470588
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.246667
| 150
| 6
| 34
| 25
| 0.902655
| 0
| 0
| 0.4
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.4
| false
| 0
| 0
| 0
| 0.6
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
731057f3b68f45b75519708f5ba44aeb72d0a811
| 86
|
py
|
Python
|
os_ken/topology/__init__.py
|
faucetsdn/python3-os-ken
|
31037f6388b7885c859391802451b867c30f1694
|
[
"Apache-2.0"
] | 4
|
2018-10-25T08:42:56.000Z
|
2019-04-24T04:01:26.000Z
|
os_ken/topology/__init__.py
|
anlaneg/os-ken
|
379a7694c3129cc0156343af71f4fca8830d9de5
|
[
"Apache-2.0"
] | 1
|
2021-05-09T06:14:16.000Z
|
2021-05-09T06:14:18.000Z
|
os_ken/topology/__init__.py
|
anlaneg/os-ken
|
379a7694c3129cc0156343af71f4fca8830d9de5
|
[
"Apache-2.0"
] | 5
|
2019-04-24T04:01:01.000Z
|
2020-06-20T14:38:04.000Z
|
"""
Switch and link discovery module. Planned to replace os_ken/controller/dpset.
"""
| 21.5
| 77
| 0.755814
| 12
| 86
| 5.333333
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.127907
| 86
| 3
| 78
| 28.666667
| 0.853333
| 0.895349
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
7312dbde897c4ab3b8eb34764fbd570ca52c8735
| 5,439
|
py
|
Python
|
gtam_tools/io/nwp.py
|
sap-toronto/gtam-tools
|
9f36e0afdc25e84862804e2b633f4996c2d97d02
|
[
"MIT"
] | null | null | null |
gtam_tools/io/nwp.py
|
sap-toronto/gtam-tools
|
9f36e0afdc25e84862804e2b633f4996c2d97d02
|
[
"MIT"
] | null | null | null |
gtam_tools/io/nwp.py
|
sap-toronto/gtam-tools
|
9f36e0afdc25e84862804e2b633f4996c2d97d02
|
[
"MIT"
] | null | null | null |
import pandas as pd
from pathlib import Path
from typing import List, Tuple, Union
from warnings import warn
import balsa.routines.io.nwp as nwp_tools
deprecated_msg = 'This method is deprecated and will be removed in future releases. Please use a newer version of this method from `balsa.routines.io.nwp` instead.'
def read_nwp_base_network(nwp_fp: Union[str, Path]) -> Tuple[pd.DataFrame, pd.DataFrame]:
"""A function to read the base network from a Network Package file (exported from Emme using the TMG Toolbox) into
DataFrames.
Args:
nwp_fp (Union[str, Path]): File path to the network package.
Returns:
Tuple[pd.DataFrame, pd.DataFrame]: A tuple of DataFrames containing the nodes and links
"""
warn(deprecated_msg, DeprecationWarning, stacklevel=2)
return nwp_tools.read_nwp_base_network(nwp_fp)
def read_nwp_exatts_list(nwp_fp: Union[str, Path]) -> pd.DataFrame:
"""A function to read the extra attributes present in a Network Package file (exported from Emme using the TMG
Toolbox).
Args:
nwp_fp (Union[str, Path]): File path to the network package.
Returns:
pd.DataFrame
"""
warn(deprecated_msg, DeprecationWarning, stacklevel=2)
return nwp_tools.read_nwp_exatts_list(nwp_fp)
def read_nwp_link_attributes(nwp_fp: Union[str, Path], *, attributes: Union[str, List[str]] = None) -> pd.DataFrame:
"""A function to read link attributes from a Network Package file (exported from Emme using the TMG Toolbox).
Args:
nwp_fp (Union[str, Path]): File path to the network package.
attributes (Union[str, List[str]], optional): Defaults to ``None``. Names of link attributes to extract. Note
that ``'inode'`` and ``'jnode'`` will be included by default.
Returns:
pd.DataFrame
"""
warn(deprecated_msg, DeprecationWarning, stacklevel=2)
return nwp_tools.read_nwp_link_attributes(nwp_fp, attributes=attributes)
def read_nwp_traffic_results(nwp_fp: Union[str, Path]) -> pd.DataFrame:
"""A function to read the traffic assignment results from a Network Package file (exported from Emme using the TMG
Toolbox).
Args:
nwp_fp (Union[str, Path]): File path to the network package.
Returns:
pd.DataFrame
"""
warn(deprecated_msg, DeprecationWarning, stacklevel=2)
return nwp_tools.read_nwp_traffic_results(nwp_fp)
def read_nwp_traffic_results_at_countpost(nwp_fp: Union[str, Path], countpost_att: str) -> pd.DataFrame:
"""A function to read the traffic assignment results at countposts from a Network Package file (exported from Emme
using the TMG Toolbox).
Args:
nwp_fp (Union[str, Path]): File path to the network package.
countpost_att (str): The name of the extra link attribute containing countpost identifiers. Results will be
filtered using this attribute.
Returns:
pd.DataFrame
"""
warn(deprecated_msg, DeprecationWarning, stacklevel=2)
return nwp_tools.read_nwp_traffic_results_at_countpost(nwp_fp, countpost_att)
def read_nwp_transit_network(nwp_fp: Union[str, Path]) -> Tuple[pd.DataFrame, pd.DataFrame]:
"""A function to read the transit network from a Network Package file (exported from Emme using the TMG Toolbox)
into DataFrames.
Args:
nwp_fp (Union[str, Path]): File path to the network package.
Returns:
Tuple[pd.DataFrame, pd.DataFrame]: A tuple of DataFrames containing the transt lines and segments.
"""
warn(deprecated_msg, DeprecationWarning, stacklevel=2)
return nwp_tools.read_nwp_transit_network(nwp_fp)
def read_nwp_transit_result_summary(nwp_fp: Union[str, Path]) -> pd.DataFrame:
"""A function to read and summarize the transit assignment boardings and max volumes from a Network Package file
(exported from Emme using the TMG Toolbox) by operator and route.
Note:
Transit line names in Emme must adhere to the TMG NCS16 for this function to work properly.
Args:
nwp_fp (Union[str, Path]): File path to the network package.
Returns:
pd.DataFrame
"""
warn(deprecated_msg, DeprecationWarning, stacklevel=2)
return nwp_tools.read_nwp_transit_result_summary(nwp_fp)
def read_nwp_transit_station_results(nwp_fp: Union[str, Path], station_line_nodes: List[int]) -> pd.DataFrame:
"""A function to read and summarize the transit boardings (on) and alightings (offs) at stations from a Network
Package file (exported from Emme using the TMG Toolbox).
Note:
Ensure that station nodes being specified are on the transit line itself and are not station centroids.
Args:
nwp_fp (Union[str, Path]): File path to the network package.
Returns:
pd.DataFrame
"""
warn(deprecated_msg, DeprecationWarning, stacklevel=2)
return nwp_tools.read_nwp_transit_station_results(nwp_fp, station_line_nodes)
def read_nwp_transit_segment_results(nwp_fp: Union[str, Path]) -> pd.DataFrame:
"""A function to read and summarize the transit segment boardings, alightings, and volumes from a Network Package
file (exported from Emme using the TMG Toolbox).
Args:
nwp_fp (Union[str, Path]): File path to the network package.
Returns:
pd.DataFrame
"""
warn(deprecated_msg, DeprecationWarning, stacklevel=2)
return nwp_tools.read_nwp_transit_segment_results(nwp_fp)
| 37.770833
| 164
| 0.723295
| 777
| 5,439
| 4.911197
| 0.162162
| 0.035377
| 0.04717
| 0.061321
| 0.754717
| 0.732966
| 0.681604
| 0.645702
| 0.631813
| 0.631813
| 0
| 0.002521
| 0.197647
| 5,439
| 143
| 165
| 38.034965
| 0.871907
| 0.522155
| 0
| 0.272727
| 0
| 0.030303
| 0.063043
| 0.01
| 0
| 0
| 0
| 0
| 0
| 1
| 0.272727
| false
| 0
| 0.151515
| 0
| 0.69697
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
73241e52ab9053565fc0f15c8a0ace63177a6001
| 398
|
py
|
Python
|
project_management/project_management_system/doctype/sprint/sprint.py
|
ayushipatel126/project_management
|
995752512889ed5ac48b84266fcabb65fd2d4054
|
[
"MIT"
] | null | null | null |
project_management/project_management_system/doctype/sprint/sprint.py
|
ayushipatel126/project_management
|
995752512889ed5ac48b84266fcabb65fd2d4054
|
[
"MIT"
] | null | null | null |
project_management/project_management_system/doctype/sprint/sprint.py
|
ayushipatel126/project_management
|
995752512889ed5ac48b84266fcabb65fd2d4054
|
[
"MIT"
] | null | null | null |
# -*- coding: utf-8 -*-
# Copyright (c) 2019, Ayushi Patel and contributors
# For license information, please see license.txt
from __future__ import unicode_literals
import frappe
from frappe.model.document import Document
class Sprint(Document):
pass
@frappe.whitelist()
def get_sprint_list_by_project(project):
return frappe.get_list('Sprint', filters={'project': project}, fields=['*'])
| 22.111111
| 77
| 0.758794
| 52
| 398
| 5.615385
| 0.692308
| 0.09589
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.014327
| 0.123116
| 398
| 17
| 78
| 23.411765
| 0.82235
| 0.298995
| 0
| 0
| 0
| 0
| 0.050909
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.125
| false
| 0.125
| 0.375
| 0.125
| 0.75
| 0.375
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 0
|
0
| 4
|
73254f79a765f04f355a4e0ffa51b13b72034cb3
| 86
|
py
|
Python
|
util.py
|
joshsalvi/Actigraphy
|
d784277e6bd4c1721308a76903f83ba6896c0068
|
[
"Apache-2.0"
] | null | null | null |
util.py
|
joshsalvi/Actigraphy
|
d784277e6bd4c1721308a76903f83ba6896c0068
|
[
"Apache-2.0"
] | null | null | null |
util.py
|
joshsalvi/Actigraphy
|
d784277e6bd4c1721308a76903f83ba6896c0068
|
[
"Apache-2.0"
] | null | null | null |
import numpy as np
import pandas as pd
print('Hello, this is agreat utility file!')
| 17.2
| 45
| 0.744186
| 15
| 86
| 4.266667
| 0.866667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.186047
| 86
| 4
| 46
| 21.5
| 0.914286
| 0
| 0
| 0
| 0
| 0
| 0.418605
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.666667
| 0
| 0.666667
| 0.333333
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
73439a7b9801f3f61f6607171314f6216823a1d1
| 172
|
py
|
Python
|
init_db.py
|
MaritimeMartin/socialnetworking
|
955c13e1c540b0e15b9c259b0242a26f82a42cf9
|
[
"MIT"
] | null | null | null |
init_db.py
|
MaritimeMartin/socialnetworking
|
955c13e1c540b0e15b9c259b0242a26f82a42cf9
|
[
"MIT"
] | null | null | null |
init_db.py
|
MaritimeMartin/socialnetworking
|
955c13e1c540b0e15b9c259b0242a26f82a42cf9
|
[
"MIT"
] | null | null | null |
from datamodel import DB
if __name__ == "__main__":
DB.bind(provider="sqlite", filename="db_model.sqlite", create_db=True)
DB.generate_mapping(create_tables=True)
| 28.666667
| 74
| 0.75
| 24
| 172
| 4.875
| 0.708333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.122093
| 172
| 5
| 75
| 34.4
| 0.774834
| 0
| 0
| 0
| 1
| 0
| 0.168605
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.25
| 0
| 0.25
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
b404a945077db61cd742ea6219081d47c502fd7a
| 713
|
py
|
Python
|
fixit/cli/utils.py
|
sk-/Fixit
|
ee0c2c9699f3cf5557b7f1210447c68be1542024
|
[
"Apache-2.0"
] | 313
|
2020-09-02T20:35:57.000Z
|
2022-03-29T07:55:37.000Z
|
fixit/cli/utils.py
|
sk-/Fixit
|
ee0c2c9699f3cf5557b7f1210447c68be1542024
|
[
"Apache-2.0"
] | 93
|
2020-09-02T19:51:22.000Z
|
2022-01-19T18:29:46.000Z
|
fixit/cli/utils.py
|
sk-/Fixit
|
ee0c2c9699f3cf5557b7f1210447c68be1542024
|
[
"Apache-2.0"
] | 46
|
2020-09-02T21:16:57.000Z
|
2022-03-16T18:49:37.000Z
|
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
def print_color(code: int, message: str) -> None:
print(f"\033[{code}m{message}\033[00m")
def print_green(message: str) -> None:
print_color(92, message)
def print_yellow(message: str) -> None:
print_color(93, message)
def print_cyan(message: str) -> None:
print_color(96, message)
def print_red(message: str) -> None:
print_color(91, message)
def snake_to_camelcase(name: str) -> str:
"""Convert snake-case string to camel-case string."""
return "".join(n.capitalize() for n in name.split("_"))
| 23.766667
| 65
| 0.691445
| 109
| 713
| 4.412844
| 0.513761
| 0.08316
| 0.14553
| 0.197505
| 0.199584
| 0
| 0
| 0
| 0
| 0
| 0
| 0.027257
| 0.176718
| 713
| 29
| 66
| 24.586207
| 0.792164
| 0.304348
| 0
| 0
| 0
| 0
| 0.061602
| 0.059548
| 0
| 0
| 0
| 0
| 0
| 1
| 0.5
| false
| 0
| 0
| 0
| 0.583333
| 0.833333
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 1
|
0
| 4
|
b40a88115b8572159b7954aa14f6187b642cd2d6
| 187
|
py
|
Python
|
configs/lcgn/lcgn_gqa.py
|
linxi1158/iMIX
|
af87a17275f02c94932bb2e29f132a84db812002
|
[
"Apache-2.0"
] | 23
|
2021-06-26T08:45:19.000Z
|
2022-03-02T02:13:33.000Z
|
configs/lcgn/lcgn_gqa.py
|
XChuanLee/iMIX
|
99898de97ef8b45462ca1d6bf2542e423a73d769
|
[
"Apache-2.0"
] | null | null | null |
configs/lcgn/lcgn_gqa.py
|
XChuanLee/iMIX
|
99898de97ef8b45462ca1d6bf2542e423a73d769
|
[
"Apache-2.0"
] | 9
|
2021-06-10T02:36:20.000Z
|
2021-11-09T02:18:16.000Z
|
_base_ = [
'../_base_/models/lcgn_config.py',
'../_base_/datasets/gqa_dataset.py',
'../_base_/schedules/schedule_vqa.py',
'../_base_/default_runtime.py'
] # yapf:disable
| 26.714286
| 42
| 0.647059
| 22
| 187
| 4.863636
| 0.681818
| 0.168224
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.144385
| 187
| 6
| 43
| 31.166667
| 0.66875
| 0.064171
| 0
| 0
| 0
| 0
| 0.734104
| 0.734104
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.