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
13a9a5b0e6c26793009942c4d4baef5b062f3fcf
290
py
Python
api/serializers.py
Aryamanz29/Youtube-API
afbcc34b99f031faaedc6e81abec26fe4e87acd5
[ "MIT" ]
1
2021-12-18T13:51:47.000Z
2021-12-18T13:51:47.000Z
api/serializers.py
Aryamanz29/Youtube-API
afbcc34b99f031faaedc6e81abec26fe4e87acd5
[ "MIT" ]
null
null
null
api/serializers.py
Aryamanz29/Youtube-API
afbcc34b99f031faaedc6e81abec26fe4e87acd5
[ "MIT" ]
1
2021-12-18T13:52:28.000Z
2021-12-18T13:52:28.000Z
from rest_framework import serializers from api.models import YoutubeAPIResult # Youtube model serializer is for serializing the database model class YoutubeResultAPIModelSerializer(serializers.ModelSerializer): class Meta: model = YoutubeAPIResult fields = "__all__"
29
67
0.789655
29
290
7.724138
0.758621
0
0
0
0
0
0
0
0
0
0
0
0.172414
290
9
68
32.222222
0.933333
0.213793
0
0
0
0
0.030973
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
13bf7a80a8e2fc39a728d6f7316443503112ecb0
40
py
Python
aicon/backend/__version__.py
nakajima-john-shotaro/AIcon_dev
4710c5b230265973449004b912aaefa5709bf8e0
[ "MIT" ]
3
2021-09-01T05:32:07.000Z
2021-09-01T06:16:12.000Z
aicon/backend/__version__.py
nakajima-john-shotaro/AIcon_dev
4710c5b230265973449004b912aaefa5709bf8e0
[ "MIT" ]
5
2021-09-05T00:29:17.000Z
2021-09-19T03:44:05.000Z
aicon/backend/__version__.py
nakajima-john-shotaro/AIcon2
4710c5b230265973449004b912aaefa5709bf8e0
[ "MIT" ]
1
2021-09-01T05:59:11.000Z
2021-09-01T05:59:11.000Z
# __version__.py __version__ = "1.2.1"
10
21
0.675
6
40
3.166667
0.666667
0
0
0
0
0
0
0
0
0
0
0.088235
0.15
40
3
22
13.333333
0.470588
0.35
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
13cc431b1c0507f835038fb1458328bfcfe50ac8
527
py
Python
hatspil/core/exceptions.py
dodomorandi/hatspil
99c4d255b3f9836b32506636c84b16b3456bd74c
[ "MIT" ]
2
2018-12-20T08:54:17.000Z
2019-10-19T18:35:33.000Z
hatspil/core/exceptions.py
dodomorandi/hatspil
99c4d255b3f9836b32506636c84b16b3456bd74c
[ "MIT" ]
null
null
null
hatspil/core/exceptions.py
dodomorandi/hatspil
99c4d255b3f9836b32506636c84b16b3456bd74c
[ "MIT" ]
null
null
null
"""A small set of custom exceptions.""" class PipelineError(RuntimeError): """An exception generated during pipeline execution. Generally this exception is raised within `Executor` in case of errors. """ class BarcodeError(RuntimeError): """An exception generated in case of invalid barcoded filenames.""" class DataError(RuntimeError): """A generic exception for invalid data.""" class AnnotationError(RuntimeError): """An exception generated in case of invalid genomic annotation."""
23.954545
71
0.721063
59
527
6.440678
0.59322
0.110526
0.181579
0.252632
0.247368
0.247368
0.247368
0.247368
0
0
0
0
0.184061
527
21
72
25.095238
0.883721
0.603416
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
13d72054329dcbc046f7595bcddc1a0b72e6e984
104
py
Python
gui_app/enum/LogType.py
cloudconductor/cloud_conductor_gui
8929815adfc6442daed5d320bfb7942d6917c3ea
[ "Apache-2.0" ]
null
null
null
gui_app/enum/LogType.py
cloudconductor/cloud_conductor_gui
8929815adfc6442daed5d320bfb7942d6917c3ea
[ "Apache-2.0" ]
null
null
null
gui_app/enum/LogType.py
cloudconductor/cloud_conductor_gui
8929815adfc6442daed5d320bfb7942d6917c3ea
[ "Apache-2.0" ]
null
null
null
from enum import Enum class Message(Enum): api_url = 'API call' api_response = 'API response'
14.857143
33
0.682692
15
104
4.6
0.6
0.318841
0
0
0
0
0
0
0
0
0
0
0.230769
104
6
34
17.333333
0.8625
0
0
0
0
0
0.192308
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
13e269759a216978f027392daea54cc9321bfe91
254
py
Python
tests/test_datasets.py
pseeth/otoworld
636ca717c6e571b465ddcd836fa430ccdc53debf
[ "MIT" ]
17
2020-06-16T06:37:03.000Z
2020-10-15T00:25:05.000Z
tests/test_datasets.py
pseeth/otoworld
636ca717c6e571b465ddcd836fa430ccdc53debf
[ "MIT" ]
5
2020-10-18T23:50:49.000Z
2021-04-14T02:36:08.000Z
tests/test_datasets.py
pseeth/otoworld
636ca717c6e571b465ddcd836fa430ccdc53debf
[ "MIT" ]
2
2020-07-17T11:51:30.000Z
2020-09-21T14:50:56.000Z
# NOTE: to run, need to cd into tests/, then run pytest import sys sys.path.append("../src") sys.path.append('../experiment') import room_types import agent import constants import datasets import experiment1 def test_buffer_data(): # TODO pass
18.142857
55
0.73622
38
254
4.842105
0.710526
0.076087
0.141304
0
0
0
0
0
0
0
0
0.004673
0.15748
254
14
56
18.142857
0.85514
0.228346
0
0
0
0
0.097938
0
0
0
0
0.071429
0
1
0.1
true
0.1
0.6
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
1
1
1
0
0
0
0
4
b912317b82b310bda4b08a5a282f8a703474aca4
58
py
Python
external/__init__.py
chrisidefix/devide
99bfe156e710fa47ba7ae88b0ce1eef592a3a439
[ "BSD-3-Clause" ]
25
2015-08-24T16:05:14.000Z
2020-12-09T20:07:14.000Z
external/__init__.py
chrisidefix/devide
99bfe156e710fa47ba7ae88b0ce1eef592a3a439
[ "BSD-3-Clause" ]
1
2016-02-16T21:18:10.000Z
2016-02-16T21:18:10.000Z
external/__init__.py
chrisidefix/devide
99bfe156e710fa47ba7ae88b0ce1eef592a3a439
[ "BSD-3-Clause" ]
5
2016-02-16T20:05:37.000Z
2020-01-31T11:27:39.000Z
# Dummy __init__ so this dir is seen as a python package.
29
57
0.758621
11
58
3.636364
1
0
0
0
0
0
0
0
0
0
0
0
0.206897
58
1
58
58
0.869565
0.948276
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
b922ddca6f7b7020e0d835242fc18a58924731f4
68
py
Python
movement/constant.py
jaswll/How_Shots_Miss_NBA
03349c5cd7b7b058aeb6e02a5cbb71711faaaf6d
[ "MIT" ]
null
null
null
movement/constant.py
jaswll/How_Shots_Miss_NBA
03349c5cd7b7b058aeb6e02a5cbb71711faaaf6d
[ "MIT" ]
null
null
null
movement/constant.py
jaswll/How_Shots_Miss_NBA
03349c5cd7b7b058aeb6e02a5cbb71711faaaf6d
[ "MIT" ]
null
null
null
import os # change this data_dir for personal path data_dir = '../'
17
40
0.720588
11
68
4.272727
0.818182
0.297872
0
0
0
0
0
0
0
0
0
0
0.176471
68
3
41
22.666667
0.839286
0.558824
0
0
0
0
0.107143
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
b92f62383dee4c8c4a8825d138bb849a2c4550a9
13,327
py
Python
tests/regressiontests/forms/localflavor/es.py
huicheese/Django-test3
ac11d2dce245b48392e52d1f4acfd5e7433b243e
[ "BSD-3-Clause" ]
23
2015-01-26T12:16:59.000Z
2022-02-10T10:58:40.000Z
tests/regressiontests/forms/localflavor/es.py
joetyson/django
c3699190186561d5c216b2a77ecbfc487d42a734
[ "BSD-3-Clause" ]
1
2015-11-25T10:57:23.000Z
2017-02-25T07:54:03.000Z
tests/regressiontests/forms/localflavor/es.py
joetyson/django
c3699190186561d5c216b2a77ecbfc487d42a734
[ "BSD-3-Clause" ]
30
2015-03-25T19:40:07.000Z
2021-05-28T22:59:26.000Z
# -*- coding: utf-8 -*- # Tests for the contrib/localflavor/ ES form fields. tests = r""" # ESPostalCodeField ############################################################## ESPostalCodeField validates that data is a five-digit spanish postal code. >>> from django.contrib.localflavor.es.forms import ESPostalCodeField >>> f = ESPostalCodeField() >>> f.clean('08028') u'08028' >>> f.clean('28080') u'28080' >>> f.clean('53001') Traceback (most recent call last): ... ValidationError: [u'Enter a valid postal code in the range and format 01XXX - 52XXX.'] >>> f.clean('0801') Traceback (most recent call last): ... ValidationError: [u'Enter a valid postal code in the range and format 01XXX - 52XXX.'] >>> f.clean('080001') Traceback (most recent call last): ... ValidationError: [u'Enter a valid postal code in the range and format 01XXX - 52XXX.'] >>> f.clean('00999') Traceback (most recent call last): ... ValidationError: [u'Enter a valid postal code in the range and format 01XXX - 52XXX.'] >>> f.clean('08 01') Traceback (most recent call last): ... ValidationError: [u'Enter a valid postal code in the range and format 01XXX - 52XXX.'] >>> f.clean('08A01') Traceback (most recent call last): ... ValidationError: [u'Enter a valid postal code in the range and format 01XXX - 52XXX.'] >>> f.clean('') Traceback (most recent call last): ... ValidationError: [u'This field is required.'] >>> f = ESPostalCodeField(required=False) >>> f.clean('08028') u'08028' >>> f.clean('28080') u'28080' >>> f.clean('53001') Traceback (most recent call last): ... ValidationError: [u'Enter a valid postal code in the range and format 01XXX - 52XXX.'] >>> f.clean('0801') Traceback (most recent call last): ... ValidationError: [u'Enter a valid postal code in the range and format 01XXX - 52XXX.'] >>> f.clean('080001') Traceback (most recent call last): ... ValidationError: [u'Enter a valid postal code in the range and format 01XXX - 52XXX.'] >>> f.clean('00999') Traceback (most recent call last): ... ValidationError: [u'Enter a valid postal code in the range and format 01XXX - 52XXX.'] >>> f.clean('08 01') Traceback (most recent call last): ... ValidationError: [u'Enter a valid postal code in the range and format 01XXX - 52XXX.'] >>> f.clean('08A01') Traceback (most recent call last): ... ValidationError: [u'Enter a valid postal code in the range and format 01XXX - 52XXX.'] >>> f.clean('') u'' # ESPhoneNumberField ############################################################## ESPhoneNumberField validates that data is a nine-digit spanish phone number. >>> from django.contrib.localflavor.es.forms import ESPhoneNumberField >>> f = ESPhoneNumberField() >>> f.clean('650010101') u'650010101' >>> f.clean('931234567') u'931234567' >>> f.clean('800123123') u'800123123' >>> f.clean('555555555') Traceback (most recent call last): ... ValidationError: [u'Enter a valid phone number in one of the formats 6XXXXXXXX, 8XXXXXXXX or 9XXXXXXXX.'] >>> f.clean('789789789') Traceback (most recent call last): ... ValidationError: [u'Enter a valid phone number in one of the formats 6XXXXXXXX, 8XXXXXXXX or 9XXXXXXXX.'] >>> f.clean('99123123') Traceback (most recent call last): ... ValidationError: [u'Enter a valid phone number in one of the formats 6XXXXXXXX, 8XXXXXXXX or 9XXXXXXXX.'] >>> f.clean('9999123123') Traceback (most recent call last): ... ValidationError: [u'Enter a valid phone number in one of the formats 6XXXXXXXX, 8XXXXXXXX or 9XXXXXXXX.'] >>> f.clean('') Traceback (most recent call last): ... ValidationError: [u'This field is required.'] >>> f = ESPhoneNumberField(required=False) >>> f.clean('650010101') u'650010101' >>> f.clean('931234567') u'931234567' >>> f.clean('800123123') u'800123123' >>> f.clean('555555555') Traceback (most recent call last): ... ValidationError: [u'Enter a valid phone number in one of the formats 6XXXXXXXX, 8XXXXXXXX or 9XXXXXXXX.'] >>> f.clean('789789789') Traceback (most recent call last): ... ValidationError: [u'Enter a valid phone number in one of the formats 6XXXXXXXX, 8XXXXXXXX or 9XXXXXXXX.'] >>> f.clean('99123123') Traceback (most recent call last): ... ValidationError: [u'Enter a valid phone number in one of the formats 6XXXXXXXX, 8XXXXXXXX or 9XXXXXXXX.'] >>> f.clean('9999123123') Traceback (most recent call last): ... ValidationError: [u'Enter a valid phone number in one of the formats 6XXXXXXXX, 8XXXXXXXX or 9XXXXXXXX.'] >>> f.clean('') u'' # ESIdentityCardNumberField ############################################################## ESIdentityCardNumberField validates that data is a identification spanish code for companies or individuals (CIF, NIF or NIE). >>> from django.contrib.localflavor.es.forms import ESIdentityCardNumberField >>> f = ESIdentityCardNumberField() >>> f.clean('78699688J') '78699688J' >>> f.clean('78699688-J') '78699688J' >>> f.clean('78699688 J') '78699688J' >>> f.clean('78699688 j') '78699688J' >>> f.clean('78699688T') Traceback (most recent call last): ... ValidationError: [u'Invalid checksum for NIF.'] >>> f.clean('X0901797J') 'X0901797J' >>> f.clean('X-6124387-Q') 'X6124387Q' >>> f.clean('X 0012953 G') 'X0012953G' >>> f.clean('x-3287690-r') 'X3287690R' >>> f.clean('t-03287690r') 'T03287690R' >>> f.clean('P2907500I') 'P2907500I' >>> f.clean('X-03287690') Traceback (most recent call last): ... ValidationError: [u'Please enter a valid NIF, NIE, or CIF.'] >>> f.clean('X-03287690-T') Traceback (most recent call last): ... ValidationError: [u'Invalid checksum for NIE.'] >>> f.clean('B38790911') 'B38790911' >>> f.clean('B31234560') 'B31234560' >>> f.clean('B-3879091A') 'B3879091A' >>> f.clean('B 38790917') Traceback (most recent call last): ... ValidationError: [u'Invalid checksum for CIF.'] >>> f.clean('B 38790911') 'B38790911' >>> f.clean('P-3900800-H') 'P3900800H' >>> f.clean('P 39008008') 'P39008008' >>> f.clean('C-28795565') 'C28795565' >>> f.clean('C 2879556E') 'C2879556E' >>> f.clean('C28795567') Traceback (most recent call last): ... ValidationError: [u'Invalid checksum for CIF.'] >>> f.clean('I38790911') Traceback (most recent call last): ... ValidationError: [u'Please enter a valid NIF, NIE, or CIF.'] >>> f.clean('78699688-2') Traceback (most recent call last): ... ValidationError: [u'Please enter a valid NIF, NIE, or CIF.'] >>> f.clean('') Traceback (most recent call last): ... ValidationError: [u'This field is required.'] >>> f = ESIdentityCardNumberField(required=False) >>> f.clean('78699688J') '78699688J' >>> f.clean('78699688-J') '78699688J' >>> f.clean('78699688 J') '78699688J' >>> f.clean('78699688 j') '78699688J' >>> f.clean('78699688T') Traceback (most recent call last): ... ValidationError: [u'Invalid checksum for NIF.'] >>> f.clean('X0901797J') 'X0901797J' >>> f.clean('X-6124387-Q') 'X6124387Q' >>> f.clean('X 0012953 G') 'X0012953G' >>> f.clean('x-3287690-r') 'X3287690R' >>> f.clean('t-03287690r') 'T03287690R' >>> f.clean('X-03287690') Traceback (most recent call last): ... ValidationError: [u'Please enter a valid NIF, NIE, or CIF.'] >>> f.clean('X-03287690-T') Traceback (most recent call last): ... ValidationError: [u'Invalid checksum for NIE.'] >>> f.clean('B38790911') 'B38790911' >>> f.clean('B-3879091A') 'B3879091A' >>> f.clean('B 38790917') Traceback (most recent call last): ... ValidationError: [u'Invalid checksum for CIF.'] >>> f.clean('B 38790911') 'B38790911' >>> f.clean('P-3900800-H') 'P3900800H' >>> f.clean('P 39008008') 'P39008008' >>> f.clean('C-28795565') 'C28795565' >>> f.clean('C 2879556E') 'C2879556E' >>> f.clean('C28795567') Traceback (most recent call last): ... ValidationError: [u'Invalid checksum for CIF.'] >>> f.clean('I38790911') Traceback (most recent call last): ... ValidationError: [u'Please enter a valid NIF, NIE, or CIF.'] >>> f.clean('78699688-2') Traceback (most recent call last): ... ValidationError: [u'Please enter a valid NIF, NIE, or CIF.'] >>> f.clean('') u'' # ESCCCField ############################################################## ESCCCField validates that data is a spanish bank account number (codigo cuenta cliente). >>> from django.contrib.localflavor.es.forms import ESCCCField >>> f = ESCCCField() >>> f.clean('20770338793100254321') '20770338793100254321' >>> f.clean('2077 0338 79 3100254321') '2077 0338 79 3100254321' >>> f.clean('2077-0338-79-3100254321') '2077-0338-79-3100254321' >>> f.clean('2077.0338.79.3100254321') Traceback (most recent call last): ... ValidationError: [u'Please enter a valid bank account number in format XXXX-XXXX-XX-XXXXXXXXXX.'] >>> f.clean('2077-0338-78-3100254321') Traceback (most recent call last): ... ValidationError: [u'Invalid checksum for bank account number.'] >>> f.clean('2077-0338-89-3100254321') Traceback (most recent call last): ... ValidationError: [u'Invalid checksum for bank account number.'] >>> f.clean('2077-03-3879-3100254321') Traceback (most recent call last): ... ValidationError: [u'Please enter a valid bank account number in format XXXX-XXXX-XX-XXXXXXXXXX.'] >>> f.clean('') Traceback (most recent call last): ... ValidationError: [u'This field is required.'] >>> f = ESCCCField(required=False) >>> f.clean('20770338793100254321') '20770338793100254321' >>> f.clean('2077 0338 79 3100254321') '2077 0338 79 3100254321' >>> f.clean('2077-0338-79-3100254321') '2077-0338-79-3100254321' >>> f.clean('2077.0338.79.3100254321') Traceback (most recent call last): ... ValidationError: [u'Please enter a valid bank account number in format XXXX-XXXX-XX-XXXXXXXXXX.'] >>> f.clean('2077-0338-78-3100254321') Traceback (most recent call last): ... ValidationError: [u'Invalid checksum for bank account number.'] >>> f.clean('2077-0338-89-3100254321') Traceback (most recent call last): ... ValidationError: [u'Invalid checksum for bank account number.'] >>> f.clean('2077-03-3879-3100254321') Traceback (most recent call last): ... ValidationError: [u'Please enter a valid bank account number in format XXXX-XXXX-XX-XXXXXXXXXX.'] >>> f.clean('') u'' # ESRegionSelect ############################################################## ESRegionSelect is a Select widget that uses a list of Spain regions as its choices. >>> from django.contrib.localflavor.es.forms import ESRegionSelect >>> w = ESRegionSelect() >>> w.render('regions', 'CT') u'<select name="regions">\n<option value="AN">Andalusia</option>\n<option value="AR">Aragon</option>\n<option value="O">Principality of Asturias</option>\n<option value="IB">Balearic Islands</option>\n<option value="PV">Basque Country</option>\n<option value="CN">Canary Islands</option>\n<option value="S">Cantabria</option>\n<option value="CM">Castile-La Mancha</option>\n<option value="CL">Castile and Leon</option>\n<option value="CT" selected="selected">Catalonia</option>\n<option value="EX">Extremadura</option>\n<option value="GA">Galicia</option>\n<option value="LO">La Rioja</option>\n<option value="M">Madrid</option>\n<option value="MU">Region of Murcia</option>\n<option value="NA">Foral Community of Navarre</option>\n<option value="VC">Valencian Community</option>\n</select>' # ESProvincenSelect ############################################################## ESProvinceSelect is a Select widget that uses a list of Spain provinces as its choices. >>> from django.contrib.localflavor.es.forms import ESProvinceSelect >>> w = ESProvinceSelect() >>> w.render('provinces', '08') u'<select name="provinces">\n<option value="01">Arava</option>\n<option value="02">Albacete</option>\n<option value="03">Alacant</option>\n<option value="04">Almeria</option>\n<option value="05">Avila</option>\n<option value="06">Badajoz</option>\n<option value="07">Illes Balears</option>\n<option value="08" selected="selected">Barcelona</option>\n<option value="09">Burgos</option>\n<option value="10">Caceres</option>\n<option value="11">Cadiz</option>\n<option value="12">Castello</option>\n<option value="13">Ciudad Real</option>\n<option value="14">Cordoba</option>\n<option value="15">A Coruna</option>\n<option value="16">Cuenca</option>\n<option value="17">Girona</option>\n<option value="18">Granada</option>\n<option value="19">Guadalajara</option>\n<option value="20">Guipuzkoa</option>\n<option value="21">Huelva</option>\n<option value="22">Huesca</option>\n<option value="23">Jaen</option>\n<option value="24">Leon</option>\n<option value="25">Lleida</option>\n<option value="26">La Rioja</option>\n<option value="27">Lugo</option>\n<option value="28">Madrid</option>\n<option value="29">Malaga</option>\n<option value="30">Murcia</option>\n<option value="31">Navarre</option>\n<option value="32">Ourense</option>\n<option value="33">Asturias</option>\n<option value="34">Palencia</option>\n<option value="35">Las Palmas</option>\n<option value="36">Pontevedra</option>\n<option value="37">Salamanca</option>\n<option value="38">Santa Cruz de Tenerife</option>\n<option value="39">Cantabria</option>\n<option value="40">Segovia</option>\n<option value="41">Seville</option>\n<option value="42">Soria</option>\n<option value="43">Tarragona</option>\n<option value="44">Teruel</option>\n<option value="45">Toledo</option>\n<option value="46">Valencia</option>\n<option value="47">Valladolid</option>\n<option value="48">Bizkaia</option>\n<option value="49">Zamora</option>\n<option value="50">Zaragoza</option>\n<option value="51">Ceuta</option>\n<option value="52">Melilla</option>\n</select>' """
38.295977
2,008
0.692429
1,839
13,327
5.017945
0.165851
0.06502
0.089727
0.130689
0.730169
0.684005
0.678587
0.660815
0.660815
0.660815
0
0.123738
0.100698
13,327
347
2,009
38.40634
0.646224
0.005403
0
0.883436
0
0.042945
0.998566
0.326692
0
0
0
0
0
1
0
false
0
0.018405
0
0.018405
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
b94870f48e1e003c234e9fa7f1ddf13766c164bc
20
py
Python
data/studio21_generated/introductory/2659/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/introductory/2659/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/introductory/2659/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
def last_chair(n):
10
18
0.7
4
20
3.25
1
0
0
0
0
0
0
0
0
0
0
0
0.15
20
2
19
10
0.764706
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
b98660c62bd7a2cd5b2f5b70d664ef4aa0dd4147
211
py
Python
python3.4Smartforest/lib/python3.4/site-packages/django/__main__.py
letouriste001/SmartForest_2.0
109b78bf1e8c8404800f377ab969395ccbb617be
[ "MIT" ]
null
null
null
python3.4Smartforest/lib/python3.4/site-packages/django/__main__.py
letouriste001/SmartForest_2.0
109b78bf1e8c8404800f377ab969395ccbb617be
[ "MIT" ]
null
null
null
python3.4Smartforest/lib/python3.4/site-packages/django/__main__.py
letouriste001/SmartForest_2.0
109b78bf1e8c8404800f377ab969395ccbb617be
[ "MIT" ]
null
null
null
""" Invokes django-admin when the django module is run as a script. Example: python -m django check """ from django.core import management if __name__ == "__main__": management.execute_from_command_line()
211
211
0.753555
30
211
4.933333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.156398
211
1
211
211
0.831461
0.454976
0
0
0
0
0.074766
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
b9980ad24c22a2aa8faad1e146f9aff59af8a424
151
py
Python
birdman_xmodel_tools/PyCoD/__init__.py
Wast-3/birdmans-xmodel-tools-for-blender
c6a8b7c314388db1587c44749c20618efea8ca78
[ "MIT" ]
1
2021-11-22T18:40:31.000Z
2021-11-22T18:40:31.000Z
birdman_xmodel_tools/PyCoD/__init__.py
Wast-3/birdmans-xmodel-tools-for-blender
c6a8b7c314388db1587c44749c20618efea8ca78
[ "MIT" ]
null
null
null
birdman_xmodel_tools/PyCoD/__init__.py
Wast-3/birdmans-xmodel-tools-for-blender
c6a8b7c314388db1587c44749c20618efea8ca78
[ "MIT" ]
null
null
null
# <pep8 compliant> from .xmodel import Model from .xanim import Anim from .sanim import SiegeAnim version = (0, 3, 0) # Version specifier for PyCoD
18.875
50
0.735099
22
151
5.045455
0.727273
0
0
0
0
0
0
0
0
0
0
0.03252
0.18543
151
7
51
21.571429
0.869919
0.291391
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
b9aaf3c85b7163b92c3bdee57462f756b0d76e68
228
py
Python
stock_portfolio/stock_portfolio/tests/test_view_default.py
zarkle/pyramid-stocks
493ad5a5b77e99dcff8e8234bf0616db1fbb4c98
[ "MIT" ]
null
null
null
stock_portfolio/stock_portfolio/tests/test_view_default.py
zarkle/pyramid-stocks
493ad5a5b77e99dcff8e8234bf0616db1fbb4c98
[ "MIT" ]
4
2019-12-26T16:42:42.000Z
2020-01-06T18:53:34.000Z
stock_portfolio/stock_portfolio/tests/test_view_default.py
zarkle/pyramid-stocks
493ad5a5b77e99dcff8e8234bf0616db1fbb4c98
[ "MIT" ]
null
null
null
def test_default_behavior_of_home_view(dummy_request): """test home view""" from ..views.default import home_view response = home_view(dummy_request) assert isinstance(response, dict) assert response == {}
25.333333
54
0.723684
29
228
5.37931
0.551724
0.205128
0.166667
0.25641
0
0
0
0
0
0
0
0
0.179825
228
8
55
28.5
0.834225
0.061404
0
0
0
0
0
0
0
0
0
0
0.4
1
0.2
false
0
0.2
0
0.4
0
1
0
0
null
1
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
0
0
0
0
0
4
b9c0f04d553edbd7e0b6f74fd1301fcf73fee09d
94
py
Python
skip_logic/apps.py
maxlemieux/django-skip-logic
3d0c6a71a6ade8f52dcf4fb33c043d3507dfda42
[ "BSD-3-Clause" ]
null
null
null
skip_logic/apps.py
maxlemieux/django-skip-logic
3d0c6a71a6ade8f52dcf4fb33c043d3507dfda42
[ "BSD-3-Clause" ]
null
null
null
skip_logic/apps.py
maxlemieux/django-skip-logic
3d0c6a71a6ade8f52dcf4fb33c043d3507dfda42
[ "BSD-3-Clause" ]
null
null
null
from django.apps import AppConfig class SkipLogicConfig(AppConfig): name = 'skip_logic'
15.666667
33
0.765957
11
94
6.454545
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.159574
94
5
34
18.8
0.898734
0
0
0
0
0
0.106383
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
b9f29e8e2be5c0f8dac0cd823fc805e1b511eb5e
185
py
Python
scripts/quest/q29902s.py
Snewmy/swordie
ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17
[ "MIT" ]
9
2021-04-26T11:59:29.000Z
2021-12-20T13:15:27.000Z
scripts/quest/q29902s.py
Snewmy/swordie
ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17
[ "MIT" ]
null
null
null
scripts/quest/q29902s.py
Snewmy/swordie
ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17
[ "MIT" ]
6
2021-07-14T06:32:05.000Z
2022-02-06T02:32:56.000Z
# Veteran Adventurer medal = 1142109 if sm.canHold(medal): sm.chatScript("You obtained the <Veteran Adventurer> medal.") sm.startQuest(parentID) sm.completeQuest(parentID)
23.125
65
0.735135
22
185
6.181818
0.636364
0.25
0.323529
0
0
0
0
0
0
0
0
0.044872
0.156757
185
8
66
23.125
0.826923
0.097297
0
0
0
0
0.26506
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
b9fda844880b33cf0aa0a51876bc766b73287918
7,025
py
Python
sales/urls.py
nuwainfo/treeio
f57bf9114d9774c11468a1b0e44614b04631beb1
[ "MIT" ]
null
null
null
sales/urls.py
nuwainfo/treeio
f57bf9114d9774c11468a1b0e44614b04631beb1
[ "MIT" ]
null
null
null
sales/urls.py
nuwainfo/treeio
f57bf9114d9774c11468a1b0e44614b04631beb1
[ "MIT" ]
null
null
null
# encoding: utf-8 # Copyright 2011 Tree.io Limited # This file is part of Treeio. # License www.tree.io/license """ Sales module URLs """ from django.conf.urls import patterns, url urlpatterns = patterns('treeio.sales.views', url(r'^(\.(?P<response_format>\w+))?$', 'index', name='sales'), url(r'^index(\.(?P<response_format>\w+))?/?$', 'index', name='sales_index'), url(r'^index/open(\.(?P<response_format>\w+))?/?$', 'index_open', name='sales_index_open'), url(r'^index/assigned(\.(?P<response_format>\w+))?/?$', 'index_assigned', name='sales_index_assigned'), # Orders url(r'^order/add(\.(?P<response_format>\w+))?/?$', 'order_add', name='sales_order_add'), url(r'^order/add/lead/(?P<lead_id>\w+)(\.(?P<response_format>\w+))?/?$', 'order_add', name='sales_order_add_with_lead'), url(r'^order/add/opportunity/(?P<opportunity_id>\w+)(\.(?P<response_format>\w+))?/?$', 'order_add', name='sales_order_add_with_opportunity'), url(r'^order/edit/(?P<order_id>\d+)(\.(?P<response_format>\w+))?/?$', 'order_edit', name='sales_order_edit'), url(r'^order/view/(?P<order_id>\d+)(\.(?P<response_format>\w+))?/?$', 'order_view', name='sales_order_view'), url(r'^order/invoice/(?P<order_id>\d+)(\.(?P<response_format>\w+))?/?$', 'order_invoice_view', name='sales_order_invoice_view'), url(r'^order/delete/(?P<order_id>\d+)(\.(?P<response_format>\w+))?/?$', 'order_delete', name='sales_order_delete'), # Products url(r'^product/index(\.(?P<response_format>\w+))?/?$', 'product_index', name='sales_product_index'), url(r'^product/add/(?P<parent_id>\d+)(\.(?P<response_format>\w+))?/?$', 'product_add', name='sales_product_add'), url(r'^product/add(\.(?P<response_format>\w+))?/?$', 'product_add', name='sales_product_add'), url(r'^product/edit/(?P<product_id>\d+)(\.(?P<response_format>\w+))?/?$', 'product_edit', name='sales_product_edit'), url(r'^product/view/(?P<product_id>\d+)(\.(?P<response_format>\w+))?/?$', 'product_view', name='sales_product_view'), url(r'^product/delete/(?P<product_id>\d+)(\.(?P<response_format>\w+))?/?$', 'product_delete', name='sales_product_delete'), # Settings url(r'^settings/view(\.(?P<response_format>\w+))?/?$', 'settings_view', name='sales_settings_view'), url(r'^settings/edit(\.(?P<response_format>\w+))?/?$', 'settings_edit', name='sales_settings_edit'), # Statuses url(r'^status/add(\.(?P<response_format>\w+))?/?$', 'status_add', name='sales_status_add'), url(r'^status/edit/(?P<status_id>\d+)(\.(?P<response_format>\w+))?/?$', 'status_edit', name='sales_status_edit'), url(r'^status/view/(?P<status_id>\d+)(\.(?P<response_format>\w+))?/?$', 'status_view', name='sales_status_view'), url(r'^status/delete/(?P<status_id>\d+)(\.(?P<response_format>\w+))?/?$', 'status_delete', name='sales_status_delete'), # Subscriptions url(r'^subscription/add(\.(?P<response_format>\w+))?/?$', 'subscription_add', name='sales_subscription_add'), url(r'^subscription/add/order/(?P<order_id>\w+)/product/(?P<product_id>\w+)(\.(?P<response_format>\w+))?/?$', 'subscription_add', name='sales_subscription_add_with_order_and_product'), url(r'^subscription/add/(?P<productset_id>\w+)(\.(?P<response_format>\w+))?/?$', 'subscription_add', name='sales_subscription_add_with_product'), url(r'^subscription/edit/(?P<subscription_id>\d+)(\.(?P<response_format>\w+))?/?$', 'subscription_edit', name='sales_subscription_edit'), url(r'^subscription/view/(?P<subscription_id>\d+)(\.(?P<response_format>\w+))?/?$', 'subscription_view', name='sales_subscription_view'), url(r'^subscription/delete/(?P<subscription_id>\d+)(\.(?P<response_format>\w+))?/?$', 'subscription_delete', name='sales_subscription_delete'), # Ordered Products url(r'^ordered_product/add/(?P<order_id>\d+)(\.(?P<response_format>\w+))?/?$', 'ordered_product_add', name='sales_ordered_product_add'), url(r'^ordered_product/edit/(?P<ordered_product_id>\d+)(\.(?P<response_format>\w+))?/?$', 'ordered_product_edit', name='sales_ordered_product_edit'), url(r'^ordered_product/view/(?P<ordered_product_id>\d+)(\.(?P<response_format>\w+))?/?$', 'ordered_product_view', name='sales_ordered_product_view'), url(r'^ordered_product/delete/(?P<ordered_product_id>\d+)(\.(?P<response_format>\w+))?/?$', 'ordered_product_delete', name='sales_ordered_product_delete'), # Sources url(r'^source/add(\.(?P<response_format>\w+))?/?$', 'source_add', name='sales_source_add'), url(r'^source/edit/(?P<source_id>\d+)(\.(?P<response_format>\w+))?/?$', 'source_edit', name='sales_source_edit'), url(r'^source/view/(?P<source_id>\d+)(\.(?P<response_format>\w+))?/?$', 'source_view', name='sales_source_view'), url(r'^source/delete/(?P<source_id>\d+)(\.(?P<response_format>\w+))?/?$', 'source_delete', name='sales_source_delete'), # Leads url(r'^lead/index(\.(?P<response_format>\w+))?/?$', 'lead_index', name='sales_lead_index'), url(r'^lead/index/assigned(\.(?P<response_format>\w+))?/?$', 'lead_index_assigned', name='sales_lead_index_assigned'), url(r'^lead/add(\.(?P<response_format>\w+))?/?$', 'lead_add', name='sales_lead_add'), url(r'^lead/edit/(?P<lead_id>\d+)(\.(?P<response_format>\w+))?/?$', 'lead_edit', name='sales_lead_edit'), url(r'^lead/view/(?P<lead_id>\d+)(\.(?P<response_format>\w+))?/?$', 'lead_view', name='sales_lead_view'), url(r'^lead/delete/(?P<lead_id>\d+)(\.(?P<response_format>\w+))?/?$', 'lead_delete', name='sales_lead_delete'), # Opportunities url(r'^opportunity/index(\.(?P<response_format>\w+))?/?$', 'opportunity_index', name='sales_opportunity_index'), url(r'^opportunity/index/assigned(\.(?P<response_format>\w+))?/?$', 'opportunity_index_assigned', name='sales_opportunity_index_assigned'), url(r'^opportunity/add(\.(?P<response_format>\w+))?/?$', 'opportunity_add', name='sales_opportunity_add'), url(r'^opportunity/add/lead/(?P<lead_id>\w+)(\.(?P<response_format>\w+))?/?$', 'opportunity_add', name='sales_opportunity_add_with_lead'), url(r'^opportunity/edit/(?P<opportunity_id>\d+)(\.(?P<response_format>\w+))?/?$', 'opportunity_edit', name='sales_opportunity_edit'), url(r'^opportunity/view/(?P<opportunity_id>\d+)(\.(?P<response_format>\w+))?/?$', 'opportunity_view', name='sales_opportunity_view'), url(r'^opportunity/delete/(?P<opportunity_id>\d+)(\.(?P<response_format>\w+))?/?$', 'opportunity_delete', name='sales_opportunity_delete'), # AJAX lookups url(r'^ajax/subscription(\.(?P<response_format>\w+))?/?$', 'ajax_subscription_lookup', name='sales_ajax_subscription_lookup'), )
52.425373
113
0.623203
926
7,025
4.439525
0.071274
0.049623
0.186086
0.198492
0.487716
0.421309
0.380199
0.364875
0.355388
0.171491
0
0.000811
0.122847
7,025
133
114
52.819549
0.666342
0.032456
0
0.019231
0
0.009615
0.717237
0.551948
0
0
0
0
0
1
0
false
0
0.009615
0
0.009615
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
6a0861326e700eff533f48d83dd1bde5f50c46f1
719
py
Python
deeploader/x2onnx/backends/base.py
cnzeki/DeepLoader
cec3f47692bc77fbdcb397ad7ec21c994328fc00
[ "Apache-2.0" ]
1
2020-11-30T01:20:10.000Z
2020-11-30T01:20:10.000Z
deeploader/x2onnx/backends/base.py
cnzeki/DeepLoader
cec3f47692bc77fbdcb397ad7ec21c994328fc00
[ "Apache-2.0" ]
null
null
null
deeploader/x2onnx/backends/base.py
cnzeki/DeepLoader
cec3f47692bc77fbdcb397ad7ec21c994328fc00
[ "Apache-2.0" ]
2
2020-08-09T09:38:46.000Z
2020-09-04T08:32:22.000Z
import abc class BaseBackend(object, metaclass=abc.ABCMeta): @abc.abstractmethod def init(self, *args, **kwargs): pass def verbose(self): print('Inputs :{}'.format(self.get_inputs())) print('Outputs :{}'.format(self.get_outputs())) def get_inputs(self): return ['data'] def get_outputs(self): return [] @abc.abstractmethod def run(self, output_names, input_feed, run_options=None): ''' run model to get outputs :param output_names: :param input_feed: :param run_options: :return: output list ''' @abc.abstractmethod def close(self): pass
21.787879
63
0.55911
77
719
5.090909
0.441558
0.130102
0.153061
0
0
0
0
0
0
0
0
0
0.32267
719
32
64
22.46875
0.804928
0.146036
0
0.294118
0
0
0.04943
0
0
0
0
0
0
1
0.352941
false
0.117647
0.058824
0.117647
0.588235
0.117647
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
6a157dcb255afd701e704442115ec915ec8c4498
22
py
Python
auth0/__init__.py
agarwalrounak/auth0-python
2bdd9008b0124b53360c79dd299331a8190d95f9
[ "MIT" ]
163
2017-03-21T08:49:32.000Z
2022-03-29T22:48:19.000Z
auth0/__init__.py
agarwalrounak/auth0-python
2bdd9008b0124b53360c79dd299331a8190d95f9
[ "MIT" ]
74
2017-03-21T20:23:41.000Z
2022-03-30T18:21:31.000Z
auth0/__init__.py
agarwalrounak/auth0-python
2bdd9008b0124b53360c79dd299331a8190d95f9
[ "MIT" ]
28
2017-03-21T08:49:36.000Z
2021-12-29T12:48:23.000Z
__version__ = '3.3.0'
11
21
0.636364
4
22
2.5
0.75
0
0
0
0
0
0
0
0
0
0
0.157895
0.136364
22
1
22
22
0.368421
0
0
0
0
0
0.227273
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
6a1aec95f328dec153c32942ebe30d19dd97f54e
14,476
py
Python
sdk/python/pulumi_azure/hdinsight/spark_cluster.py
kenny-wealth/pulumi-azure
e57e3a81f95bf622e7429c53f0bff93e33372aa1
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure/hdinsight/spark_cluster.py
kenny-wealth/pulumi-azure
e57e3a81f95bf622e7429c53f0bff93e33372aa1
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure/hdinsight/spark_cluster.py
kenny-wealth/pulumi-azure
e57e3a81f95bf622e7429c53f0bff93e33372aa1
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# 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 json import warnings import pulumi import pulumi.runtime from typing import Union from .. import utilities, tables class SparkCluster(pulumi.CustomResource): cluster_version: pulumi.Output[str] """ Specifies the Version of HDInsights which should be used for this Cluster. Changing this forces a new resource to be created. """ component_version: pulumi.Output[dict] """ A `component_version` block as defined below. * `spark` (`str`) """ gateway: pulumi.Output[dict] """ A `gateway` block as defined below. * `enabled` (`bool`) * `password` (`str`) * `username` (`str`) """ https_endpoint: pulumi.Output[str] """ The HTTPS Connectivity Endpoint for this HDInsight Spark Cluster. """ location: pulumi.Output[str] """ Specifies the Azure Region which this HDInsight Spark Cluster should exist. Changing this forces a new resource to be created. """ name: pulumi.Output[str] """ Specifies the name for this HDInsight Spark Cluster. Changing this forces a new resource to be created. """ resource_group_name: pulumi.Output[str] """ Specifies the name of the Resource Group in which this HDInsight Spark Cluster should exist. Changing this forces a new resource to be created. """ roles: pulumi.Output[dict] """ A `roles` block as defined below. * `headNode` (`dict`) * `password` (`str`) * `sshKeys` (`list`) * `subnetId` (`str`) * `username` (`str`) * `virtualNetworkId` (`str`) * `vm_size` (`str`) * `workerNode` (`dict`) * `minInstanceCount` (`float`) * `password` (`str`) * `sshKeys` (`list`) * `subnetId` (`str`) * `targetInstanceCount` (`float`) * `username` (`str`) * `virtualNetworkId` (`str`) * `vm_size` (`str`) * `zookeeperNode` (`dict`) * `password` (`str`) * `sshKeys` (`list`) * `subnetId` (`str`) * `username` (`str`) * `virtualNetworkId` (`str`) * `vm_size` (`str`) """ ssh_endpoint: pulumi.Output[str] """ The SSH Connectivity Endpoint for this HDInsight Spark Cluster. """ storage_accounts: pulumi.Output[list] """ One or more `storage_account` block as defined below. * `isDefault` (`bool`) * `storageAccountKey` (`str`) * `storageContainerId` (`str`) """ tags: pulumi.Output[dict] """ A map of Tags which should be assigned to this HDInsight Spark Cluster. """ tier: pulumi.Output[str] """ Specifies the Tier which should be used for this HDInsight Spark Cluster. Possible values are `Standard` or `Premium`. Changing this forces a new resource to be created. """ def __init__(__self__, resource_name, opts=None, cluster_version=None, component_version=None, gateway=None, location=None, name=None, resource_group_name=None, roles=None, storage_accounts=None, tags=None, tier=None, __props__=None, __name__=None, __opts__=None): """ Manages a HDInsight Spark Cluster. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] cluster_version: Specifies the Version of HDInsights which should be used for this Cluster. Changing this forces a new resource to be created. :param pulumi.Input[dict] component_version: A `component_version` block as defined below. :param pulumi.Input[dict] gateway: A `gateway` block as defined below. :param pulumi.Input[str] location: Specifies the Azure Region which this HDInsight Spark Cluster should exist. Changing this forces a new resource to be created. :param pulumi.Input[str] name: Specifies the name for this HDInsight Spark Cluster. Changing this forces a new resource to be created. :param pulumi.Input[str] resource_group_name: Specifies the name of the Resource Group in which this HDInsight Spark Cluster should exist. Changing this forces a new resource to be created. :param pulumi.Input[dict] roles: A `roles` block as defined below. :param pulumi.Input[list] storage_accounts: One or more `storage_account` block as defined below. :param pulumi.Input[dict] tags: A map of Tags which should be assigned to this HDInsight Spark Cluster. :param pulumi.Input[str] tier: Specifies the Tier which should be used for this HDInsight Spark Cluster. Possible values are `Standard` or `Premium`. Changing this forces a new resource to be created. The **component_version** object supports the following: * `spark` (`pulumi.Input[str]`) The **gateway** object supports the following: * `enabled` (`pulumi.Input[bool]`) * `password` (`pulumi.Input[str]`) * `username` (`pulumi.Input[str]`) The **roles** object supports the following: * `headNode` (`pulumi.Input[dict]`) * `password` (`pulumi.Input[str]`) * `sshKeys` (`pulumi.Input[list]`) * `subnetId` (`pulumi.Input[str]`) * `username` (`pulumi.Input[str]`) * `virtualNetworkId` (`pulumi.Input[str]`) * `vm_size` (`pulumi.Input[str]`) * `workerNode` (`pulumi.Input[dict]`) * `minInstanceCount` (`pulumi.Input[float]`) * `password` (`pulumi.Input[str]`) * `sshKeys` (`pulumi.Input[list]`) * `subnetId` (`pulumi.Input[str]`) * `targetInstanceCount` (`pulumi.Input[float]`) * `username` (`pulumi.Input[str]`) * `virtualNetworkId` (`pulumi.Input[str]`) * `vm_size` (`pulumi.Input[str]`) * `zookeeperNode` (`pulumi.Input[dict]`) * `password` (`pulumi.Input[str]`) * `sshKeys` (`pulumi.Input[list]`) * `subnetId` (`pulumi.Input[str]`) * `username` (`pulumi.Input[str]`) * `virtualNetworkId` (`pulumi.Input[str]`) * `vm_size` (`pulumi.Input[str]`) The **storage_accounts** object supports the following: * `isDefault` (`pulumi.Input[bool]`) * `storageAccountKey` (`pulumi.Input[str]`) * `storageContainerId` (`pulumi.Input[str]`) > This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/hdinsight_spark_cluster.html.markdown. """ if __name__ is not None: warnings.warn("explicit use of __name__ is deprecated", DeprecationWarning) resource_name = __name__ if __opts__ is not None: warnings.warn("explicit use of __opts__ is deprecated, use 'opts' instead", DeprecationWarning) opts = __opts__ if opts is None: opts = pulumi.ResourceOptions() if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') if opts.version is None: opts.version = utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = dict() if cluster_version is None: raise TypeError("Missing required property 'cluster_version'") __props__['cluster_version'] = cluster_version if component_version is None: raise TypeError("Missing required property 'component_version'") __props__['component_version'] = component_version if gateway is None: raise TypeError("Missing required property 'gateway'") __props__['gateway'] = gateway __props__['location'] = location __props__['name'] = name if resource_group_name is None: raise TypeError("Missing required property 'resource_group_name'") __props__['resource_group_name'] = resource_group_name if roles is None: raise TypeError("Missing required property 'roles'") __props__['roles'] = roles if storage_accounts is None: raise TypeError("Missing required property 'storage_accounts'") __props__['storage_accounts'] = storage_accounts __props__['tags'] = tags if tier is None: raise TypeError("Missing required property 'tier'") __props__['tier'] = tier __props__['https_endpoint'] = None __props__['ssh_endpoint'] = None super(SparkCluster, __self__).__init__( 'azure:hdinsight/sparkCluster:SparkCluster', resource_name, __props__, opts) @staticmethod def get(resource_name, id, opts=None, cluster_version=None, component_version=None, gateway=None, https_endpoint=None, location=None, name=None, resource_group_name=None, roles=None, ssh_endpoint=None, storage_accounts=None, tags=None, tier=None): """ Get an existing SparkCluster resource's state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] cluster_version: Specifies the Version of HDInsights which should be used for this Cluster. Changing this forces a new resource to be created. :param pulumi.Input[dict] component_version: A `component_version` block as defined below. :param pulumi.Input[dict] gateway: A `gateway` block as defined below. :param pulumi.Input[str] https_endpoint: The HTTPS Connectivity Endpoint for this HDInsight Spark Cluster. :param pulumi.Input[str] location: Specifies the Azure Region which this HDInsight Spark Cluster should exist. Changing this forces a new resource to be created. :param pulumi.Input[str] name: Specifies the name for this HDInsight Spark Cluster. Changing this forces a new resource to be created. :param pulumi.Input[str] resource_group_name: Specifies the name of the Resource Group in which this HDInsight Spark Cluster should exist. Changing this forces a new resource to be created. :param pulumi.Input[dict] roles: A `roles` block as defined below. :param pulumi.Input[str] ssh_endpoint: The SSH Connectivity Endpoint for this HDInsight Spark Cluster. :param pulumi.Input[list] storage_accounts: One or more `storage_account` block as defined below. :param pulumi.Input[dict] tags: A map of Tags which should be assigned to this HDInsight Spark Cluster. :param pulumi.Input[str] tier: Specifies the Tier which should be used for this HDInsight Spark Cluster. Possible values are `Standard` or `Premium`. Changing this forces a new resource to be created. The **component_version** object supports the following: * `spark` (`pulumi.Input[str]`) The **gateway** object supports the following: * `enabled` (`pulumi.Input[bool]`) * `password` (`pulumi.Input[str]`) * `username` (`pulumi.Input[str]`) The **roles** object supports the following: * `headNode` (`pulumi.Input[dict]`) * `password` (`pulumi.Input[str]`) * `sshKeys` (`pulumi.Input[list]`) * `subnetId` (`pulumi.Input[str]`) * `username` (`pulumi.Input[str]`) * `virtualNetworkId` (`pulumi.Input[str]`) * `vm_size` (`pulumi.Input[str]`) * `workerNode` (`pulumi.Input[dict]`) * `minInstanceCount` (`pulumi.Input[float]`) * `password` (`pulumi.Input[str]`) * `sshKeys` (`pulumi.Input[list]`) * `subnetId` (`pulumi.Input[str]`) * `targetInstanceCount` (`pulumi.Input[float]`) * `username` (`pulumi.Input[str]`) * `virtualNetworkId` (`pulumi.Input[str]`) * `vm_size` (`pulumi.Input[str]`) * `zookeeperNode` (`pulumi.Input[dict]`) * `password` (`pulumi.Input[str]`) * `sshKeys` (`pulumi.Input[list]`) * `subnetId` (`pulumi.Input[str]`) * `username` (`pulumi.Input[str]`) * `virtualNetworkId` (`pulumi.Input[str]`) * `vm_size` (`pulumi.Input[str]`) The **storage_accounts** object supports the following: * `isDefault` (`pulumi.Input[bool]`) * `storageAccountKey` (`pulumi.Input[str]`) * `storageContainerId` (`pulumi.Input[str]`) > This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/hdinsight_spark_cluster.html.markdown. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) __props__ = dict() __props__["cluster_version"] = cluster_version __props__["component_version"] = component_version __props__["gateway"] = gateway __props__["https_endpoint"] = https_endpoint __props__["location"] = location __props__["name"] = name __props__["resource_group_name"] = resource_group_name __props__["roles"] = roles __props__["ssh_endpoint"] = ssh_endpoint __props__["storage_accounts"] = storage_accounts __props__["tags"] = tags __props__["tier"] = tier return SparkCluster(resource_name, opts=opts, __props__=__props__) def translate_output_property(self, prop): return tables._CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop def translate_input_property(self, prop): return tables._SNAKE_TO_CAMEL_CASE_TABLE.get(prop) or prop
47
268
0.625656
1,616
14,476
5.426361
0.115718
0.102862
0.08302
0.054168
0.77238
0.741704
0.709659
0.672255
0.62356
0.60463
0
0.000094
0.263609
14,476
307
269
47.153094
0.822514
0.459105
0
0.022727
1
0
0.179616
0.013531
0
0
0
0
0
1
0.045455
false
0.011364
0.068182
0.022727
0.295455
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
6a46f1a8278d99674529d2e5cdff7cf9d305ed4c
399
py
Python
ckan/model/term_translation.py
robin-NEC/ckan
71a82c4b0bb499fd3a6d1ccfd038b2231f50f92a
[ "BSD-3-Clause" ]
1
2021-10-01T12:47:19.000Z
2021-10-01T12:47:19.000Z
ckan/model/term_translation.py
robin-NEC/ckan
71a82c4b0bb499fd3a6d1ccfd038b2231f50f92a
[ "BSD-3-Clause" ]
null
null
null
ckan/model/term_translation.py
robin-NEC/ckan
71a82c4b0bb499fd3a6d1ccfd038b2231f50f92a
[ "BSD-3-Clause" ]
2
2018-01-21T17:03:08.000Z
2019-07-23T08:49:52.000Z
# encoding: utf-8 from sqlalchemy import Column, Table from sqlalchemy.types import UnicodeText import ckan.model.meta as meta __all__ = ['term_translation_table'] term_translation_table = Table('term_translation', meta.metadata, Column('term', UnicodeText, nullable=False), Column('term_translation', UnicodeText, nullable=False), Column('lang_code', UnicodeText, nullable=False), )
28.5
65
0.769424
48
399
6.166667
0.458333
0.202703
0.243243
0.202703
0
0
0
0
0
0
0
0.002849
0.120301
399
13
66
30.692308
0.840456
0.037594
0
0
0
0
0.175393
0.057592
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
6a4784f6b5f00aaa8bcd2d953e34636923eede10
23
py
Python
lib/fiveserver/model/__init__.py
spawnsworth/fiveserver
c2109a200c4784717fa644f9d488448b54d404cb
[ "BSD-2-Clause" ]
18
2018-03-30T13:47:53.000Z
2022-02-01T22:44:40.000Z
lib/fiveserver/model/__init__.py
spawnsworth/fiveserver
c2109a200c4784717fa644f9d488448b54d404cb
[ "BSD-2-Clause" ]
19
2015-04-22T11:56:11.000Z
2022-01-04T20:39:01.000Z
lib/fiveserver/model/__init__.py
spawnsworth/fiveserver
c2109a200c4784717fa644f9d488448b54d404cb
[ "BSD-2-Clause" ]
10
2015-09-06T09:25:37.000Z
2021-08-14T10:01:54.000Z
""" Model modules. """
5.75
14
0.521739
2
23
6
1
0
0
0
0
0
0
0
0
0
0
0
0.173913
23
3
15
7.666667
0.631579
0.608696
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
6a47bfdd6377f1246e0c9ed6f46dcc55ef947a19
216
py
Python
example.py
yurimalheiros/markovtextgen
bd5865af4540e02ac9e64ea1c266485faf3ffb9e
[ "MIT" ]
1
2021-06-19T18:28:39.000Z
2021-06-19T18:28:39.000Z
example.py
yurimalheiros/markovtextgen
bd5865af4540e02ac9e64ea1c266485faf3ffb9e
[ "MIT" ]
null
null
null
example.py
yurimalheiros/markovtextgen
bd5865af4540e02ac9e64ea1c266485faf3ffb9e
[ "MIT" ]
null
null
null
from nltk.corpus import gutenberg from textgen import TextGenerator corpus = gutenberg.raw('shakespeare-hamlet.txt') generator = TextGenerator(3) generator.process_corpus(corpus) print generator.generate_text(10)
21.6
48
0.824074
27
216
6.518519
0.666667
0
0
0
0
0
0
0
0
0
0
0.015306
0.092593
216
9
49
24
0.882653
0
0
0
0
0
0.101852
0.101852
0
0
0
0
0
0
null
null
0
0.333333
null
null
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
4
dbebdaa0351e63febeed22a88dcf82b45dcb4513
350
py
Python
queryset_transform/geo.py
acdha/django-queryset-transform
33eafc124b74ee83e19211e2860ac2010a447977
[ "BSD-3-Clause" ]
null
null
null
queryset_transform/geo.py
acdha/django-queryset-transform
33eafc124b74ee83e19211e2860ac2010a447977
[ "BSD-3-Clause" ]
null
null
null
queryset_transform/geo.py
acdha/django-queryset-transform
33eafc124b74ee83e19211e2860ac2010a447977
[ "BSD-3-Clause" ]
null
null
null
from django.contrib.gis.db.models.manager import GeoManager from django.contrib.gis.db.models.query import GeoQuerySet from . import TransformQuerySetMixin class GeoTransformQuerySet(TransformQuerySetMixin, GeoQuerySet): pass class GeoTransformManager(GeoManager): def get_queryset(self): return GeoTransformQuerySet(self.model)
25
64
0.808571
37
350
7.621622
0.594595
0.070922
0.120567
0.141844
0.198582
0.198582
0
0
0
0
0
0
0.122857
350
13
65
26.923077
0.918567
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0.125
0.375
0.125
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
1
1
0
0
4
e014750e624c26e9bcf57726dc82fe05deef1c64
202
py
Python
lenskit/__init__.py
jacobmunson/lenskit_confidence
2c06d81539b0a7697014e3b7164ea64695e687d5
[ "MIT" ]
null
null
null
lenskit/__init__.py
jacobmunson/lenskit_confidence
2c06d81539b0a7697014e3b7164ea64695e687d5
[ "MIT" ]
null
null
null
lenskit/__init__.py
jacobmunson/lenskit_confidence
2c06d81539b0a7697014e3b7164ea64695e687d5
[ "MIT" ]
null
null
null
""" The LensKit package. """ from lenskit.algorithms import * # noqa: F401,F403 class DataWarning(UserWarning): """ Warning raised for detectable problems with input data. """ pass
14.428571
59
0.663366
22
202
6.090909
0.954545
0
0
0
0
0
0
0
0
0
0
0.038462
0.227723
202
13
60
15.538462
0.820513
0.460396
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
e01ab11d0e18d761b99b5665b0b9731011103664
1,998
py
Python
encodings/iso8859_1.py
theclashingfritz/Cog-Invasion-Online-Dump
2561abbacb3e2e288e06f3f04b935b5ed589c8f8
[ "Apache-2.0" ]
1
2020-03-12T16:44:10.000Z
2020-03-12T16:44:10.000Z
encodings/iso8859_1.py
theclashingfritz/Cog-Invasion-Online-Dump
2561abbacb3e2e288e06f3f04b935b5ed589c8f8
[ "Apache-2.0" ]
null
null
null
encodings/iso8859_1.py
theclashingfritz/Cog-Invasion-Online-Dump
2561abbacb3e2e288e06f3f04b935b5ed589c8f8
[ "Apache-2.0" ]
null
null
null
# uncompyle6 version 3.2.4 # Python bytecode 2.7 (62211) # Decompiled from: Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)] # Embedded file name: encodings.iso8859_1 import codecs class Codec(codecs.Codec): def encode(self, input, errors='strict'): return codecs.charmap_encode(input, errors, encoding_table) def decode(self, input, errors='strict'): return codecs.charmap_decode(input, errors, decoding_table) class IncrementalEncoder(codecs.IncrementalEncoder): def encode(self, input, final=False): return codecs.charmap_encode(input, self.errors, encoding_table)[0] class IncrementalDecoder(codecs.IncrementalDecoder): def decode(self, input, final=False): return codecs.charmap_decode(input, self.errors, decoding_table)[0] class StreamWriter(Codec, codecs.StreamWriter): pass class StreamReader(Codec, codecs.StreamReader): pass def getregentry(): return codecs.CodecInfo(name='iso8859-1', encode=Codec().encode, decode=Codec().decode, incrementalencoder=IncrementalEncoder, incrementaldecoder=IncrementalDecoder, streamreader=StreamReader, streamwriter=StreamWriter) decoding_table = u'\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7f\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff' encoding_table = codecs.charmap_build(decoding_table)
48.731707
755
0.748248
320
1,998
4.628125
0.69375
0.040513
0.051317
0.024308
0.135044
0.105334
0.105334
0
0
0
0
0.124179
0.085085
1,998
41
756
48.731707
0.685996
0.097598
0
0.1
0
0.05
0.083936
0.067815
0
0
0
0
0
1
0.25
false
0.1
0.05
0.25
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
e01b8baf094e23fda6c3332b31ee0deb09713f36
95,983
py
Python
diofant/polys/polyquinticconst.py
project-kotinos/diofant___diofant
882549ac3a4dac238695aa620c02fce6ca33f9d3
[ "BSD-3-Clause" ]
1
2021-08-22T09:34:15.000Z
2021-08-22T09:34:15.000Z
diofant/polys/polyquinticconst.py
project-kotinos/diofant___diofant
882549ac3a4dac238695aa620c02fce6ca33f9d3
[ "BSD-3-Clause" ]
null
null
null
diofant/polys/polyquinticconst.py
project-kotinos/diofant___diofant
882549ac3a4dac238695aa620c02fce6ca33f9d3
[ "BSD-3-Clause" ]
null
null
null
""" Solving solvable quintics - An implementation of DS Dummit's paper Paper : http://www.ams.org/journals/mcom/1991-57-195/S0025-5718-1991-1079014-X/S0025-5718-1991-1079014-X.pdf Mathematica notebook: http://www.emba.uvm.edu/~ddummit/quintics/quintics.nb """ from ..core import Dummy, I, N, Rational from ..functions import sqrt from .polytools import Poly __all__ = 'PolyQuintic', x = Dummy('dummy_for_polyquinticconst') class PolyQuintic: """Special functions for solvable quintics""" def __init__(self, poly): _, _, self.p, self.q, self.r, self.s = poly.all_coeffs() self.zeta1 = Rational(-1, 4) + (sqrt(5)/4) + I*sqrt((sqrt(5)/8) + Rational(5, 8)) self.zeta2 = (-sqrt(5)/4) - Rational(1, 4) + I*sqrt((-sqrt(5)/8) + Rational(5, 8)) self.zeta3 = (-sqrt(5)/4) - Rational(1, 4) - I*sqrt((-sqrt(5)/8) + Rational(5, 8)) self.zeta4 = Rational(-1, 4) + (sqrt(5)/4) - I*sqrt((sqrt(5)/8) + Rational(5, 8)) @property def f20(self): p, q, r, s = self.p, self.q, self.r, self.s f20 = q**8 - 13*p*q**6*r + p**5*q**2*r**2 + 65*p**2*q**4*r**2 - 4*p**6*r**3 - 128*p**3*q**2*r**3 + 17*q**4*r**3 + 48*p**4*r**4 - 16*p*q**2*r**4 - 192*p**2*r**5 + 256*r**6 - 4*p**5*q**3*s - 12*p**2*q**5*s + 18*p**6*q*r*s + 12*p**3*q**3*r*s - 124*q**5*r*s + 196*p**4*q*r**2*s + 590*p*q**3*r**2*s - 160*p**2*q*r**3*s - 1600*q*r**4*s - 27*p**7*s**2 - 150*p**4*q**2*s**2 - 125*p*q**4*s**2 - 99*p**5*r*s**2 - 725*p**2*q**2*r*s**2 + 1200*p**3*r**2*s**2 + 3250*q**2*r**2*s**2 - 2000*p*r**3*s**2 - 1250*p*q*r*s**3 + 3125*p**2*s**4 - 9375*r*s**4-(2*p*q**6 - 19*p**2*q**4*r + 51*p**3*q**2*r**2 - 3*q**4*r**2 - 32*p**4*r**3 - 76*p*q**2*r**3 + 256*p**2*r**4 - 512*r**5 + 31*p**3*q**3*s + 58*q**5*s - 117*p**4*q*r*s - 105*p*q**3*r*s - 260*p**2*q*r**2*s + 2400*q*r**3*s + 108*p**5*s**2 + 325*p**2*q**2*s**2 - 525*p**3*r*s**2 - 2750*q**2*r*s**2 + 500*p*r**2*s**2 - 625*p*q*s**3 + 3125*s**4)*x+(p**2*q**4 - 6*p**3*q**2*r - 8*q**4*r + 9*p**4*r**2 + 76*p*q**2*r**2 - 136*p**2*r**3 + 400*r**4 - 50*p*q**3*s + 90*p**2*q*r*s - 1400*q*r**2*s + 625*q**2*s**2 + 500*p*r*s**2)*x**2-(2*q**4 - 21*p*q**2*r + 40*p**2*r**2 - 160*r**3 + 15*p**2*q*s + 400*q*r*s - 125*p*s**2)*x**3+(2*p*q**2 - 6*p**2*r + 40*r**2 - 50*q*s)*x**4 + 8*r*x**5 + x**6 return Poly(f20, x) @property def b(self): p, q, r, s = self.p, self.q, self.r, self.s b = ([], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0]) b[1][5] = 100*p**7*q**7 + 2175*p**4*q**9 + 10500*p*q**11 - 1100*p**8*q**5*r - 27975*p**5*q**7*r - 152950*p**2*q**9*r + 4125*p**9*q**3*r**2 + 128875*p**6*q**5*r**2 + 830525*p**3*q**7*r**2 - 59450*q**9*r**2 - 5400*p**10*q*r**3 - 243800*p**7*q**3*r**3 - 2082650*p**4*q**5*r**3 + 333925*p*q**7*r**3 + 139200*p**8*q*r**4 + 2406000*p**5*q**3*r**4 + 122600*p**2*q**5*r**4 - 1254400*p**6*q*r**5 - 3776000*p**3*q**3*r**5 - 1832000*q**5*r**5 + 4736000*p**4*q*r**6 + 6720000*p*q**3*r**6 - 6400000*p**2*q*r**7 + 900*p**9*q**4*s + 37400*p**6*q**6*s + 281625*p**3*q**8*s + 435000*q**10*s - 6750*p**10*q**2*r*s - 322300*p**7*q**4*r*s - 2718575*p**4*q**6*r*s - 4214250*p*q**8*r*s + 16200*p**11*r**2*s + 859275*p**8*q**2*r**2*s + 8925475*p**5*q**4*r**2*s + 14427875*p**2*q**6*r**2*s - 453600*p**9*r**3*s - 10038400*p**6*q**2*r**3*s - 17397500*p**3*q**4*r**3*s + 11333125*q**6*r**3*s + 4451200*p**7*r**4*s + 15850000*p**4*q**2*r**4*s - 34000000*p*q**4*r**4*s - 17984000*p**5*r**5*s + 10000000*p**2*q**2*r**5*s + 25600000*p**3*r**6*s + 8000000*q**2*r**6*s - 6075*p**11*q*s**2 + 83250*p**8*q**3*s**2 + 1282500*p**5*q**5*s**2 + 2862500*p**2*q**7*s**2 - 724275*p**9*q*r*s**2 - 9807250*p**6*q**3*r*s**2 - 28374375*p**3*q**5*r*s**2 - 22212500*q**7*r*s**2 + 8982000*p**7*q*r**2*s**2 + 39600000*p**4*q**3*r**2*s**2 + 61746875*p*q**5*r**2*s**2 + 1010000*p**5*q*r**3*s**2 + 1000000*p**2*q**3*r**3*s**2 - 78000000*p**3*q*r**4*s**2 - 30000000*q**3*r**4*s**2 - 80000000*p*q*r**5*s**2 + 759375*p**10*s**3 + 9787500*p**7*q**2*s**3 + 39062500*p**4*q**4*s**3 + 52343750*p*q**6*s**3 - 12301875*p**8*r*s**3 - 98175000*p**5*q**2*r*s**3 - 225078125*p**2*q**4*r*s**3 + 54900000*p**6*r**2*s**3 + 310000000*p**3*q**2*r**2*s**3 + 7890625*q**4*r**2*s**3 - 51250000*p**4*r**3*s**3 + 420000000*p*q**2*r**3*s**3 - 110000000*p**2*r**4*s**3 + 200000000*r**5*s**3 - 2109375*p**6*q*s**4 + 21093750*p**3*q**3*s**4 + 89843750*q**5*s**4 - 182343750*p**4*q*r*s**4 - 733203125*p*q**3*r*s**4 + 196875000*p**2*q*r**2*s**4 - 1125000000*q*r**3*s**4 + 158203125*p**5*s**5 + 566406250*p**2*q**2*s**5 - 101562500*p**3*r*s**5 + 1669921875*q**2*r*s**5 - 1250000000*p*r**2*s**5 + 1220703125*p*q*s**6 - 6103515625*s**7 b[1][4] = -1000*p**5*q**7 - 7250*p**2*q**9 + 10800*p**6*q**5*r + 96900*p**3*q**7*r + 52500*q**9*r - 37400*p**7*q**3*r**2 - 470850*p**4*q**5*r**2 - 640600*p*q**7*r**2 + 39600*p**8*q*r**3 + 983600*p**5*q**3*r**3 + 2848100*p**2*q**5*r**3 - 814400*p**6*q*r**4 - 6076000*p**3*q**3*r**4 - 2308000*q**5*r**4 + 5024000*p**4*q*r**5 + 9680000*p*q**3*r**5 - 9600000*p**2*q*r**6 - 13800*p**7*q**4*s - 94650*p**4*q**6*s + 26500*p*q**8*s + 86400*p**8*q**2*r*s + 816500*p**5*q**4*r*s + 257500*p**2*q**6*r*s - 91800*p**9*r**2*s - 1853700*p**6*q**2*r**2*s - 630000*p**3*q**4*r**2*s + 8971250*q**6*r**2*s + 2071200*p**7*r**3*s + 7240000*p**4*q**2*r**3*s - 29375000*p*q**4*r**3*s - 14416000*p**5*r**4*s + 5200000*p**2*q**2*r**4*s + 30400000*p**3*r**5*s + 12000000*q**2*r**5*s - 64800*p**9*q*s**2 - 567000*p**6*q**3*s**2 - 1655000*p**3*q**5*s**2 - 6987500*q**7*s**2 - 337500*p**7*q*r*s**2 - 8462500*p**4*q**3*r*s**2 + 5812500*p*q**5*r*s**2 + 24930000*p**5*q*r**2*s**2 + 69125000*p**2*q**3*r**2*s**2 - 103500000*p**3*q*r**3*s**2 - 30000000*q**3*r**3*s**2 - 90000000*p*q*r**4*s**2 + 708750*p**8*s**3 + 5400000*p**5*q**2*s**3 - 8906250*p**2*q**4*s**3 - 18562500*p**6*r*s**3 + 625000*p**3*q**2*r*s**3 - 29687500*q**4*r*s**3 + 75000000*p**4*r**2*s**3 + 416250000*p*q**2*r**2*s**3 - 60000000*p**2*r**3*s**3 + 300000000*r**4*s**3 - 71718750*p**4*q*s**4 - 189062500*p*q**3*s**4 - 210937500*p**2*q*r*s**4 - 1187500000*q*r**2*s**4 + 187500000*p**3*s**5 + 800781250*q**2*s**5 + 390625000*p*r*s**5 b[1][3] = 500*p**6*q**5 + 6350*p**3*q**7 + 19800*q**9 - 3750*p**7*q**3*r - 65100*p**4*q**5*r - 264950*p*q**7*r + 6750*p**8*q*r**2 + 209050*p**5*q**3*r**2 + 1217250*p**2*q**5*r**2 - 219000*p**6*q*r**3 - 2510000*p**3*q**3*r**3 - 1098500*q**5*r**3 + 2068000*p**4*q*r**4 + 5060000*p*q**3*r**4 - 5200000*p**2*q*r**5 + 6750*p**8*q**2*s + 96350*p**5*q**4*s + 346000*p**2*q**6*s - 20250*p**9*r*s - 459900*p**6*q**2*r*s - 1828750*p**3*q**4*r*s + 2930000*q**6*r*s + 594000*p**7*r**2*s + 4301250*p**4*q**2*r**2*s - 10906250*p*q**4*r**2*s - 5252000*p**5*r**3*s + 1450000*p**2*q**2*r**3*s + 12800000*p**3*r**4*s + 6500000*q**2*r**4*s - 74250*p**7*q*s**2 - 1418750*p**4*q**3*s**2 - 5956250*p*q**5*s**2 + 4297500*p**5*q*r*s**2 + 29906250*p**2*q**3*r*s**2 - 31500000*p**3*q*r**2*s**2 - 12500000*q**3*r**2*s**2 - 35000000*p*q*r**3*s**2 - 1350000*p**6*s**3 - 6093750*p**3*q**2*s**3 - 17500000*q**4*s**3 + 7031250*p**4*r*s**3 + 127812500*p*q**2*r*s**3 - 18750000*p**2*r**2*s**3 + 162500000*r**3*s**3 - 107812500*p**2*q*s**4 - 460937500*q*r*s**4 + 214843750*p*s**5 b[1][2] = -1950*p**4*q**5 - 14100*p*q**7 + 14350*p**5*q**3*r + 125600*p**2*q**5*r - 27900*p**6*q*r**2 - 402250*p**3*q**3*r**2 - 288250*q**5*r**2 + 436000*p**4*q*r**3 + 1345000*p*q**3*r**3 - 1400000*p**2*q*r**4 - 9450*p**6*q**2*s + 1250*p**3*q**4*s + 465000*q**6*s + 49950*p**7*r*s + 302500*p**4*q**2*r*s - 1718750*p*q**4*r*s - 834000*p**5*r**2*s - 437500*p**2*q**2*r**2*s + 3100000*p**3*r**3*s + 1750000*q**2*r**3*s + 292500*p**5*q*s**2 + 1937500*p**2*q**3*s**2 - 3343750*p**3*q*r*s**2 - 1875000*q**3*r*s**2 - 8125000*p*q*r**2*s**2 + 1406250*p**4*s**3 + 12343750*p*q**2*s**3 - 5312500*p**2*r*s**3 + 43750000*r**2*s**3 - 74218750*q*s**4 b[1][1] = 300*p**5*q**3 + 2150*p**2*q**5 - 1350*p**6*q*r - 21500*p**3*q**3*r - 61500*q**5*r + 42000*p**4*q*r**2 + 290000*p*q**3*r**2 - 300000*p**2*q*r**3 + 4050*p**7*s + 45000*p**4*q**2*s + 125000*p*q**4*s - 108000*p**5*r*s - 643750*p**2*q**2*r*s + 700000*p**3*r**2*s + 375000*q**2*r**2*s + 93750*p**3*q*s**2 + 312500*q**3*s**2 - 1875000*p*q*r*s**2 + 1406250*p**2*s**3 + 9375000*r*s**3 b[1][0] = -1250*p**3*q**3 - 9000*q**5 + 4500*p**4*q*r + 46250*p*q**3*r - 50000*p**2*q*r**2 - 6750*p**5*s - 43750*p**2*q**2*s + 75000*p**3*r*s + 62500*q**2*r*s - 156250*p*q*s**2 + 1562500*s**3 b[2][5] = 200*p**6*q**11 - 250*p**3*q**13 - 10800*q**15 - 3900*p**7*q**9*r - 3325*p**4*q**11*r + 181800*p*q**13*r + 26950*p**8*q**7*r**2 + 69625*p**5*q**9*r**2 - 1214450*p**2*q**11*r**2 - 78725*p**9*q**5*r**3 - 368675*p**6*q**7*r**3 + 4166325*p**3*q**9*r**3 + 1131100*q**11*r**3 + 73400*p**10*q**3*r**4 + 661950*p**7*q**5*r**4 - 9151950*p**4*q**7*r**4 - 16633075*p*q**9*r**4 + 36000*p**11*q*r**5 + 135600*p**8*q**3*r**5 + 17321400*p**5*q**5*r**5 + 85338300*p**2*q**7*r**5 - 832000*p**9*q*r**6 - 21379200*p**6*q**3*r**6 - 176044000*p**3*q**5*r**6 - 1410000*q**7*r**6 + 6528000*p**7*q*r**7 + 129664000*p**4*q**3*r**7 + 47344000*p*q**5*r**7 - 21504000*p**5*q*r**8 - 115200000*p**2*q**3*r**8 + 25600000*p**3*q*r**9 + 64000000*q**3*r**9 + 15700*p**8*q**8*s + 120525*p**5*q**10*s + 113250*p**2*q**12*s - 196900*p**9*q**6*r*s - 1776925*p**6*q**8*r*s - 3062475*p**3*q**10*r*s - 4153500*q**12*r*s + 857925*p**10*q**4*r**2*s + 10562775*p**7*q**6*r**2*s + 34866250*p**4*q**8*r**2*s + 73486750*p*q**10*r**2*s - 1333800*p**11*q**2*r**3*s - 29212625*p**8*q**4*r**3*s - 168729675*p**5*q**6*r**3*s - 427230750*p**2*q**8*r**3*s + 108000*p**12*r**4*s + 30384200*p**9*q**2*r**4*s + 324535100*p**6*q**4*r**4*s + 952666750*p**3*q**6*r**4*s - 38076875*q**8*r**4*s - 4296000*p**10*r**5*s - 213606400*p**7*q**2*r**5*s - 842060000*p**4*q**4*r**5*s - 95285000*p*q**6*r**5*s + 61184000*p**8*r**6*s + 567520000*p**5*q**2*r**6*s + 547000000*p**2*q**4*r**6*s - 390912000*p**6*r**7*s - 812800000*p**3*q**2*r**7*s - 924000000*q**4*r**7*s + 1152000000*p**4*r**8*s + 800000000*p*q**2*r**8*s - 1280000000*p**2*r**9*s + 141750*p**10*q**5*s**2 - 31500*p**7*q**7*s**2 - 11325000*p**4*q**9*s**2 - 31687500*p*q**11*s**2 - 1293975*p**11*q**3*r*s**2 - 4803800*p**8*q**5*r*s**2 + 71398250*p**5*q**7*r*s**2 + 227625000*p**2*q**9*r*s**2 + 3256200*p**12*q*r**2*s**2 + 43870125*p**9*q**3*r**2*s**2 + 64581500*p**6*q**5*r**2*s**2 + 56090625*p**3*q**7*r**2*s**2 + 260218750*q**9*r**2*s**2 - 74610000*p**10*q*r**3*s**2 - 662186500*p**7*q**3*r**3*s**2 - 1987747500*p**4*q**5*r**3*s**2 - 811928125*p*q**7*r**3*s**2 + 471286000*p**8*q*r**4*s**2 + 2106040000*p**5*q**3*r**4*s**2 + 792687500*p**2*q**5*r**4*s**2 - 135120000*p**6*q*r**5*s**2 + 2479000000*p**3*q**3*r**5*s**2 + 5242250000*q**5*r**5*s**2 - 6400000000*p**4*q*r**6*s**2 - 8620000000*p*q**3*r**6*s**2 + 13280000000*p**2*q*r**7*s**2 + 1600000000*q*r**8*s**2 + 273375*p**12*q**2*s**3 - 13612500*p**9*q**4*s**3 - 177250000*p**6*q**6*s**3 - 511015625*p**3*q**8*s**3 - 320937500*q**10*s**3 - 2770200*p**13*r*s**3 + 12595500*p**10*q**2*r*s**3 + 543950000*p**7*q**4*r*s**3 + 1612281250*p**4*q**6*r*s**3 + 968125000*p*q**8*r*s**3 + 77031000*p**11*r**2*s**3 + 373218750*p**8*q**2*r**2*s**3 + 1839765625*p**5*q**4*r**2*s**3 + 1818515625*p**2*q**6*r**2*s**3 - 776745000*p**9*r**3*s**3 - 6861075000*p**6*q**2*r**3*s**3 - 20014531250*p**3*q**4*r**3*s**3 - 13747812500*q**6*r**3*s**3 + 3768000000*p**7*r**4*s**3 + 35365000000*p**4*q**2*r**4*s**3 + 34441875000*p*q**4*r**4*s**3 - 9628000000*p**5*r**5*s**3 - 63230000000*p**2*q**2*r**5*s**3 + 13600000000*p**3*r**6*s**3 - 15000000000*q**2*r**6*s**3 - 10400000000*p*r**7*s**3 - 45562500*p**11*q*s**4 - 525937500*p**8*q**3*s**4 - 1364218750*p**5*q**5*s**4 - 1382812500*p**2*q**7*s**4 + 572062500*p**9*q*r*s**4 + 2473515625*p**6*q**3*r*s**4 + 13192187500*p**3*q**5*r*s**4 + 12703125000*q**7*r*s**4 - 451406250*p**7*q*r**2*s**4 - 18153906250*p**4*q**3*r**2*s**4 - 36908203125*p*q**5*r**2*s**4 - 9069375000*p**5*q*r**3*s**4 + 79957812500*p**2*q**3*r**3*s**4 + 5512500000*p**3*q*r**4*s**4 + 50656250000*q**3*r**4*s**4 + 74750000000*p*q*r**5*s**4 + 56953125*p**10*s**5 + 1381640625*p**7*q**2*s**5 - 781250000*p**4*q**4*s**5 + 878906250*p*q**6*s**5 - 2655703125*p**8*r*s**5 - 3223046875*p**5*q**2*r*s**5 - 35117187500*p**2*q**4*r*s**5 + 26573437500*p**6*r**2*s**5 + 14785156250*p**3*q**2*r**2*s**5 - 52050781250*q**4*r**2*s**5 - 103062500000*p**4*r**3*s**5 - 281796875000*p*q**2*r**3*s**5 + 146875000000*p**2*r**4*s**5 - 37500000000*r**5*s**5 - 8789062500*p**6*q*s**6 - 3906250000*p**3*q**3*s**6 + 1464843750*q**5*s**6 + 102929687500*p**4*q*r*s**6 + 297119140625*p*q**3*r*s**6 - 217773437500*p**2*q*r**2*s**6 + 167968750000*q*r**3*s**6 + 10986328125*p**5*s**7 + 98876953125*p**2*q**2*s**7 - 188964843750*p**3*r*s**7 - 278320312500*q**2*r*s**7 + 517578125000*p*r**2*s**7 - 610351562500*p*q*s**8 + 762939453125*s**9 b[2][4] = -200*p**7*q**9 + 1850*p**4*q**11 + 21600*p*q**13 + 3200*p**8*q**7*r - 19200*p**5*q**9*r - 316350*p**2*q**11*r - 19050*p**9*q**5*r**2 + 37400*p**6*q**7*r**2 + 1759250*p**3*q**9*r**2 + 440100*q**11*r**2 + 48750*p**10*q**3*r**3 + 190200*p**7*q**5*r**3 - 4604200*p**4*q**7*r**3 - 6072800*p*q**9*r**3 - 43200*p**11*q*r**4 - 834500*p**8*q**3*r**4 + 4916000*p**5*q**5*r**4 + 27926850*p**2*q**7*r**4 + 969600*p**9*q*r**5 + 2467200*p**6*q**3*r**5 - 45393200*p**3*q**5*r**5 - 5399500*q**7*r**5 - 7283200*p**7*q*r**6 + 10536000*p**4*q**3*r**6 + 41656000*p*q**5*r**6 + 22784000*p**5*q*r**7 - 35200000*p**2*q**3*r**7 - 25600000*p**3*q*r**8 + 96000000*q**3*r**8 - 3000*p**9*q**6*s + 40400*p**6*q**8*s + 136550*p**3*q**10*s - 1647000*q**12*s + 40500*p**10*q**4*r*s - 173600*p**7*q**6*r*s - 126500*p**4*q**8*r*s + 23969250*p*q**10*r*s - 153900*p**11*q**2*r**2*s - 486150*p**8*q**4*r**2*s - 4115800*p**5*q**6*r**2*s - 112653250*p**2*q**8*r**2*s + 129600*p**12*r**3*s + 2683350*p**9*q**2*r**3*s + 10906650*p**6*q**4*r**3*s + 187289500*p**3*q**6*r**3*s + 44098750*q**8*r**3*s - 4384800*p**10*r**4*s - 35660800*p**7*q**2*r**4*s - 175420000*p**4*q**4*r**4*s - 426538750*p*q**6*r**4*s + 60857600*p**8*r**5*s + 349436000*p**5*q**2*r**5*s + 900600000*p**2*q**4*r**5*s - 429568000*p**6*r**6*s - 1511200000*p**3*q**2*r**6*s - 1286000000*q**4*r**6*s + 1472000000*p**4*r**7*s + 1440000000*p*q**2*r**7*s - 1920000000*p**2*r**8*s - 36450*p**11*q**3*s**2 - 188100*p**8*q**5*s**2 - 5504750*p**5*q**7*s**2 - 37968750*p**2*q**9*s**2 + 255150*p**12*q*r*s**2 + 2754000*p**9*q**3*r*s**2 + 49196500*p**6*q**5*r*s**2 + 323587500*p**3*q**7*r*s**2 - 83250000*q**9*r*s**2 - 465750*p**10*q*r**2*s**2 - 31881500*p**7*q**3*r**2*s**2 - 415585000*p**4*q**5*r**2*s**2 + 1054775000*p*q**7*r**2*s**2 - 96823500*p**8*q*r**3*s**2 - 701490000*p**5*q**3*r**3*s**2 - 2953531250*p**2*q**5*r**3*s**2 + 1454560000*p**6*q*r**4*s**2 + 7670500000*p**3*q**3*r**4*s**2 + 5661062500*q**5*r**4*s**2 - 7785000000*p**4*q*r**5*s**2 - 9450000000*p*q**3*r**5*s**2 + 14000000000*p**2*q*r**6*s**2 + 2400000000*q*r**7*s**2 - 437400*p**13*s**3 - 10145250*p**10*q**2*s**3 - 121912500*p**7*q**4*s**3 - 576531250*p**4*q**6*s**3 - 528593750*p*q**8*s**3 + 12939750*p**11*r*s**3 + 313368750*p**8*q**2*r*s**3 + 2171812500*p**5*q**4*r*s**3 + 2381718750*p**2*q**6*r*s**3 - 124638750*p**9*r**2*s**3 - 3001575000*p**6*q**2*r**2*s**3 - 12259375000*p**3*q**4*r**2*s**3 - 9985312500*q**6*r**2*s**3 + 384000000*p**7*r**3*s**3 + 13997500000*p**4*q**2*r**3*s**3 + 20749531250*p*q**4*r**3*s**3 - 553500000*p**5*r**4*s**3 - 41835000000*p**2*q**2*r**4*s**3 + 5420000000*p**3*r**5*s**3 - 16300000000*q**2*r**5*s**3 - 17600000000*p*r**6*s**3 - 7593750*p**9*q*s**4 + 289218750*p**6*q**3*s**4 + 3591406250*p**3*q**5*s**4 + 5992187500*q**7*s**4 + 658125000*p**7*q*r*s**4 - 269531250*p**4*q**3*r*s**4 - 15882812500*p*q**5*r*s**4 - 4785000000*p**5*q*r**2*s**4 + 54375781250*p**2*q**3*r**2*s**4 - 5668750000*p**3*q*r**3*s**4 + 35867187500*q**3*r**3*s**4 + 113875000000*p*q*r**4*s**4 - 544218750*p**8*s**5 - 5407031250*p**5*q**2*s**5 - 14277343750*p**2*q**4*s**5 + 5421093750*p**6*r*s**5 - 24941406250*p**3*q**2*r*s**5 - 25488281250*q**4*r*s**5 - 11500000000*p**4*r**2*s**5 - 231894531250*p*q**2*r**2*s**5 - 6250000000*p**2*r**3*s**5 - 43750000000*r**4*s**5 + 35449218750*p**4*q*s**6 + 137695312500*p*q**3*s**6 + 34667968750*p**2*q*r*s**6 + 202148437500*q*r**2*s**6 - 33691406250*p**3*s**7 - 214843750000*q**2*s**7 - 31738281250*p*r*s**7 b[2][3] = -800*p**5*q**9 - 5400*p**2*q**11 + 5800*p**6*q**7*r + 48750*p**3*q**9*r + 16200*q**11*r - 3000*p**7*q**5*r**2 - 108350*p**4*q**7*r**2 - 263250*p*q**9*r**2 - 60700*p**8*q**3*r**3 - 386250*p**5*q**5*r**3 + 253100*p**2*q**7*r**3 + 127800*p**9*q*r**4 + 2326700*p**6*q**3*r**4 + 6565550*p**3*q**5*r**4 - 705750*q**7*r**4 - 2903200*p**7*q*r**5 - 21218000*p**4*q**3*r**5 + 1057000*p*q**5*r**5 + 20368000*p**5*q*r**6 + 33000000*p**2*q**3*r**6 - 43200000*p**3*q*r**7 + 52000000*q**3*r**7 + 6200*p**7*q**6*s + 188250*p**4*q**8*s + 931500*p*q**10*s - 73800*p**8*q**4*r*s - 1466850*p**5*q**6*r*s - 6894000*p**2*q**8*r*s + 315900*p**9*q**2*r**2*s + 4547000*p**6*q**4*r**2*s + 20362500*p**3*q**6*r**2*s + 15018750*q**8*r**2*s - 653400*p**10*r**3*s - 13897550*p**7*q**2*r**3*s - 76757500*p**4*q**4*r**3*s - 124207500*p*q**6*r**3*s + 18567600*p**8*r**4*s + 175911000*p**5*q**2*r**4*s + 253787500*p**2*q**4*r**4*s - 183816000*p**6*r**5*s - 706900000*p**3*q**2*r**5*s - 665750000*q**4*r**5*s + 740000000*p**4*r**6*s + 890000000*p*q**2*r**6*s - 1040000000*p**2*r**7*s - 763000*p**6*q**5*s**2 - 12375000*p**3*q**7*s**2 - 40500000*q**9*s**2 + 364500*p**10*q*r*s**2 + 15537000*p**7*q**3*r*s**2 + 154392500*p**4*q**5*r*s**2 + 372206250*p*q**7*r*s**2 - 25481250*p**8*q*r**2*s**2 - 386300000*p**5*q**3*r**2*s**2 - 996343750*p**2*q**5*r**2*s**2 + 459872500*p**6*q*r**3*s**2 + 2943937500*p**3*q**3*r**3*s**2 + 2437781250*q**5*r**3*s**2 - 2883750000*p**4*q*r**4*s**2 - 4343750000*p*q**3*r**4*s**2 + 5495000000*p**2*q*r**5*s**2 + 1300000000*q*r**6*s**2 - 364500*p**11*s**3 - 13668750*p**8*q**2*s**3 - 113406250*p**5*q**4*s**3 - 159062500*p**2*q**6*s**3 + 13972500*p**9*r*s**3 + 61537500*p**6*q**2*r*s**3 - 1622656250*p**3*q**4*r*s**3 - 2720625000*q**6*r*s**3 - 201656250*p**7*r**2*s**3 + 1949687500*p**4*q**2*r**2*s**3 + 4979687500*p*q**4*r**2*s**3 + 497125000*p**5*r**3*s**3 - 11150625000*p**2*q**2*r**3*s**3 + 2982500000*p**3*r**4*s**3 - 6612500000*q**2*r**4*s**3 - 10450000000*p*r**5*s**3 + 126562500*p**7*q*s**4 + 1443750000*p**4*q**3*s**4 + 281250000*p*q**5*s**4 - 1648125000*p**5*q*r*s**4 + 11271093750*p**2*q**3*r*s**4 - 4785156250*p**3*q*r**2*s**4 + 8808593750*q**3*r**2*s**4 + 52390625000*p*q*r**3*s**4 - 611718750*p**6*s**5 - 13027343750*p**3*q**2*s**5 - 1464843750*q**4*s**5 + 6492187500*p**4*r*s**5 - 65351562500*p*q**2*r*s**5 - 13476562500*p**2*r**2*s**5 - 24218750000*r**3*s**5 + 41992187500*p**2*q*s**6 + 69824218750*q*r*s**6 - 34179687500*p*s**7 b[2][2] = -1000*p**6*q**7 - 5150*p**3*q**9 + 10800*q**11 + 11000*p**7*q**5*r + 66450*p**4*q**7*r - 127800*p*q**9*r - 41250*p**8*q**3*r**2 - 368400*p**5*q**5*r**2 + 204200*p**2*q**7*r**2 + 54000*p**9*q*r**3 + 1040950*p**6*q**3*r**3 + 2096500*p**3*q**5*r**3 + 200000*q**7*r**3 - 1140000*p**7*q*r**4 - 7691000*p**4*q**3*r**4 - 2281000*p*q**5*r**4 + 7296000*p**5*q*r**5 + 13300000*p**2*q**3*r**5 - 14400000*p**3*q*r**6 + 14000000*q**3*r**6 - 9000*p**8*q**4*s + 52100*p**5*q**6*s + 710250*p**2*q**8*s + 67500*p**9*q**2*r*s - 256100*p**6*q**4*r*s - 5753000*p**3*q**6*r*s + 292500*q**8*r*s - 162000*p**10*r**2*s - 1432350*p**7*q**2*r**2*s + 5410000*p**4*q**4*r**2*s - 7408750*p*q**6*r**2*s + 4401000*p**8*r**3*s + 24185000*p**5*q**2*r**3*s + 20781250*p**2*q**4*r**3*s - 43012000*p**6*r**4*s - 146300000*p**3*q**2*r**4*s - 165875000*q**4*r**4*s + 182000000*p**4*r**5*s + 250000000*p*q**2*r**5*s - 280000000*p**2*r**6*s + 60750*p**10*q*s**2 + 2414250*p**7*q**3*s**2 + 15770000*p**4*q**5*s**2 + 15825000*p*q**7*s**2 - 6021000*p**8*q*r*s**2 - 62252500*p**5*q**3*r*s**2 - 74718750*p**2*q**5*r*s**2 + 90888750*p**6*q*r**2*s**2 + 471312500*p**3*q**3*r**2*s**2 + 525875000*q**5*r**2*s**2 - 539375000*p**4*q*r**3*s**2 - 1030000000*p*q**3*r**3*s**2 + 1142500000*p**2*q*r**4*s**2 + 350000000*q*r**5*s**2 - 303750*p**9*s**3 - 35943750*p**6*q**2*s**3 - 331875000*p**3*q**4*s**3 - 505937500*q**6*s**3 + 8437500*p**7*r*s**3 + 530781250*p**4*q**2*r*s**3 + 1150312500*p*q**4*r*s**3 - 154500000*p**5*r**2*s**3 - 2059062500*p**2*q**2*r**2*s**3 + 1150000000*p**3*r**3*s**3 - 1343750000*q**2*r**3*s**3 - 2900000000*p*r**4*s**3 + 30937500*p**5*q*s**4 + 1166406250*p**2*q**3*s**4 - 1496875000*p**3*q*r*s**4 + 1296875000*q**3*r*s**4 + 10640625000*p*q*r**2*s**4 - 281250000*p**4*s**5 - 9746093750*p*q**2*s**5 + 1269531250*p**2*r*s**5 - 7421875000*r**2*s**5 + 15625000000*q*s**6 b[2][1] = -1600*p**4*q**7 - 10800*p*q**9 + 9800*p**5*q**5*r + 80550*p**2*q**7*r - 4600*p**6*q**3*r**2 - 112700*p**3*q**5*r**2 + 40500*q**7*r**2 - 34200*p**7*q*r**3 - 279500*p**4*q**3*r**3 - 665750*p*q**5*r**3 + 632000*p**5*q*r**4 + 3200000*p**2*q**3*r**4 - 2800000*p**3*q*r**5 + 3000000*q**3*r**5 - 18600*p**6*q**4*s - 51750*p**3*q**6*s + 405000*q**8*s + 21600*p**7*q**2*r*s - 122500*p**4*q**4*r*s - 2891250*p*q**6*r*s + 156600*p**8*r**2*s + 1569750*p**5*q**2*r**2*s + 6943750*p**2*q**4*r**2*s - 3774000*p**6*r**3*s - 27100000*p**3*q**2*r**3*s - 30187500*q**4*r**3*s + 28000000*p**4*r**4*s + 52500000*p*q**2*r**4*s - 60000000*p**2*r**5*s - 81000*p**8*q*s**2 - 240000*p**5*q**3*s**2 + 937500*p**2*q**5*s**2 + 3273750*p**6*q*r*s**2 + 30406250*p**3*q**3*r*s**2 + 55687500*q**5*r*s**2 - 42187500*p**4*q*r**2*s**2 - 112812500*p*q**3*r**2*s**2 + 152500000*p**2*q*r**3*s**2 + 75000000*q*r**4*s**2 - 4218750*p**4*q**2*s**3 + 15156250*p*q**4*s**3 + 5906250*p**5*r*s**3 - 206562500*p**2*q**2*r*s**3 + 107500000*p**3*r**2*s**3 - 159375000*q**2*r**2*s**3 - 612500000*p*r**3*s**3 + 135937500*p**3*q*s**4 + 46875000*q**3*s**4 + 1175781250*p*q*r*s**4 - 292968750*p**2*s**5 - 1367187500*r*s**5 b[2][0] = -800*p**5*q**5 - 5400*p**2*q**7 + 6000*p**6*q**3*r + 51700*p**3*q**5*r + 27000*q**7*r - 10800*p**7*q*r**2 - 163250*p**4*q**3*r**2 - 285750*p*q**5*r**2 + 192000*p**5*q*r**3 + 1000000*p**2*q**3*r**3 - 800000*p**3*q*r**4 + 500000*q**3*r**4 - 10800*p**7*q**2*s - 57500*p**4*q**4*s + 67500*p*q**6*s + 32400*p**8*r*s + 279000*p**5*q**2*r*s - 131250*p**2*q**4*r*s - 729000*p**6*r**2*s - 4100000*p**3*q**2*r**2*s - 5343750*q**4*r**2*s + 5000000*p**4*r**3*s + 10000000*p*q**2*r**3*s - 10000000*p**2*r**4*s + 641250*p**6*q*s**2 + 5812500*p**3*q**3*s**2 + 10125000*q**5*s**2 - 7031250*p**4*q*r*s**2 - 20625000*p*q**3*r*s**2 + 17500000*p**2*q*r**2*s**2 + 12500000*q*r**3*s**2 - 843750*p**5*s**3 - 19375000*p**2*q**2*s**3 + 30000000*p**3*r*s**3 - 20312500*q**2*r*s**3 - 112500000*p*r**2*s**3 + 183593750*p*q*s**4 - 292968750*s**5 b[3][5] = 500*p**11*q**6 + 9875*p**8*q**8 + 42625*p**5*q**10 - 35000*p**2*q**12 - 4500*p**12*q**4*r - 108375*p**9*q**6*r - 516750*p**6*q**8*r + 1110500*p**3*q**10*r + 2730000*q**12*r + 10125*p**13*q**2*r**2 + 358250*p**10*q**4*r**2 + 1908625*p**7*q**6*r**2 - 11744250*p**4*q**8*r**2 - 43383250*p*q**10*r**2 - 313875*p**11*q**2*r**3 - 2074875*p**8*q**4*r**3 + 52094750*p**5*q**6*r**3 + 264567500*p**2*q**8*r**3 + 796125*p**9*q**2*r**4 - 92486250*p**6*q**4*r**4 - 757957500*p**3*q**6*r**4 - 29354375*q**8*r**4 + 60970000*p**7*q**2*r**5 + 1112462500*p**4*q**4*r**5 + 571094375*p*q**6*r**5 - 685290000*p**5*q**2*r**6 - 2037800000*p**2*q**4*r**6 + 2279600000*p**3*q**2*r**7 + 849000000*q**4*r**7 - 1480000000*p*q**2*r**8 + 13500*p**13*q**3*s + 363000*p**10*q**5*s + 2861250*p**7*q**7*s + 8493750*p**4*q**9*s + 17031250*p*q**11*s - 60750*p**14*q*r*s - 2319750*p**11*q**3*r*s - 22674250*p**8*q**5*r*s - 74368750*p**5*q**7*r*s - 170578125*p**2*q**9*r*s + 2760750*p**12*q*r**2*s + 46719000*p**9*q**3*r**2*s + 163356375*p**6*q**5*r**2*s + 360295625*p**3*q**7*r**2*s - 195990625*q**9*r**2*s - 37341750*p**10*q*r**3*s - 194739375*p**7*q**3*r**3*s - 105463125*p**4*q**5*r**3*s - 415825000*p*q**7*r**3*s + 90180000*p**8*q*r**4*s - 990552500*p**5*q**3*r**4*s + 3519212500*p**2*q**5*r**4*s + 1112220000*p**6*q*r**5*s - 4508750000*p**3*q**3*r**5*s - 8159500000*q**5*r**5*s - 4356000000*p**4*q*r**6*s + 14615000000*p*q**3*r**6*s - 2160000000*p**2*q*r**7*s + 91125*p**15*s**2 + 3290625*p**12*q**2*s**2 + 35100000*p**9*q**4*s**2 + 175406250*p**6*q**6*s**2 + 629062500*p**3*q**8*s**2 + 910937500*q**10*s**2 - 5710500*p**13*r*s**2 - 100423125*p**10*q**2*r*s**2 - 604743750*p**7*q**4*r*s**2 - 2954843750*p**4*q**6*r*s**2 - 4587578125*p*q**8*r*s**2 + 116194500*p**11*r**2*s**2 + 1280716250*p**8*q**2*r**2*s**2 + 7401190625*p**5*q**4*r**2*s**2 + 11619937500*p**2*q**6*r**2*s**2 - 952173125*p**9*r**3*s**2 - 6519712500*p**6*q**2*r**3*s**2 - 10238593750*p**3*q**4*r**3*s**2 + 29984609375*q**6*r**3*s**2 + 2558300000*p**7*r**4*s**2 + 16225000000*p**4*q**2*r**4*s**2 - 64994140625*p*q**4*r**4*s**2 + 4202250000*p**5*r**5*s**2 + 46925000000*p**2*q**2*r**5*s**2 - 28950000000*p**3*r**6*s**2 - 1000000000*q**2*r**6*s**2 + 37000000000*p*r**7*s**2 - 48093750*p**11*q*s**3 - 673359375*p**8*q**3*s**3 - 2170312500*p**5*q**5*s**3 - 2466796875*p**2*q**7*s**3 + 647578125*p**9*q*r*s**3 + 597031250*p**6*q**3*r*s**3 - 7542578125*p**3*q**5*r*s**3 - 41125000000*q**7*r*s**3 - 2175828125*p**7*q*r**2*s**3 - 7101562500*p**4*q**3*r**2*s**3 + 100596875000*p*q**5*r**2*s**3 - 8984687500*p**5*q*r**3*s**3 - 120070312500*p**2*q**3*r**3*s**3 + 57343750000*p**3*q*r**4*s**3 + 9500000000*q**3*r**4*s**3 - 342875000000*p*q*r**5*s**3 + 400781250*p**10*s**4 + 8531250000*p**7*q**2*s**4 + 34033203125*p**4*q**4*s**4 + 42724609375*p*q**6*s**4 - 6289453125*p**8*r*s**4 - 24037109375*p**5*q**2*r*s**4 - 62626953125*p**2*q**4*r*s**4 + 17299218750*p**6*r**2*s**4 + 108357421875*p**3*q**2*r**2*s**4 - 55380859375*q**4*r**2*s**4 + 105648437500*p**4*r**3*s**4 + 1204228515625*p*q**2*r**3*s**4 - 365000000000*p**2*r**4*s**4 + 184375000000*r**5*s**4 - 32080078125*p**6*q*s**5 - 98144531250*p**3*q**3*s**5 + 93994140625*q**5*s**5 - 178955078125*p**4*q*r*s**5 - 1299804687500*p*q**3*r*s**5 + 332421875000*p**2*q*r**2*s**5 - 1195312500000*q*r**3*s**5 + 72021484375*p**5*s**6 + 323486328125*p**2*q**2*s**6 + 682373046875*p**3*r*s**6 + 2447509765625*q**2*r*s**6 - 3011474609375*p*r**2*s**6 + 3051757812500*p*q*s**7 - 7629394531250*s**8 b[3][4] = 1500*p**9*q**6 + 69625*p**6*q**8 + 590375*p**3*q**10 + 1035000*q**12 - 13500*p**10*q**4*r - 760625*p**7*q**6*r - 7904500*p**4*q**8*r - 18169250*p*q**10*r + 30375*p**11*q**2*r**2 + 2628625*p**8*q**4*r**2 + 37879000*p**5*q**6*r**2 + 121367500*p**2*q**8*r**2 - 2699250*p**9*q**2*r**3 - 76776875*p**6*q**4*r**3 - 403583125*p**3*q**6*r**3 - 78865625*q**8*r**3 + 60907500*p**7*q**2*r**4 + 735291250*p**4*q**4*r**4 + 781142500*p*q**6*r**4 - 558270000*p**5*q**2*r**5 - 2150725000*p**2*q**4*r**5 + 2015400000*p**3*q**2*r**6 + 1181000000*q**4*r**6 - 2220000000*p*q**2*r**7 + 40500*p**11*q**3*s + 1376500*p**8*q**5*s + 9953125*p**5*q**7*s + 9765625*p**2*q**9*s - 182250*p**12*q*r*s - 8859000*p**9*q**3*r*s - 82854500*p**6*q**5*r*s - 71511250*p**3*q**7*r*s + 273631250*q**9*r*s + 10233000*p**10*q*r**2*s + 179627500*p**7*q**3*r**2*s + 25164375*p**4*q**5*r**2*s - 2927290625*p*q**7*r**2*s - 171305000*p**8*q*r**3*s - 544768750*p**5*q**3*r**3*s + 7583437500*p**2*q**5*r**3*s + 1139860000*p**6*q*r**4*s - 6489375000*p**3*q**3*r**4*s - 9625375000*q**5*r**4*s - 1838000000*p**4*q*r**5*s + 19835000000*p*q**3*r**5*s - 3240000000*p**2*q*r**6*s + 273375*p**13*s**2 + 9753750*p**10*q**2*s**2 + 82575000*p**7*q**4*s**2 + 202265625*p**4*q**6*s**2 + 556093750*p*q**8*s**2 - 11552625*p**11*r*s**2 - 115813125*p**8*q**2*r*s**2 + 630590625*p**5*q**4*r*s**2 + 1347015625*p**2*q**6*r*s**2 + 157578750*p**9*r**2*s**2 - 689206250*p**6*q**2*r**2*s**2 - 4299609375*p**3*q**4*r**2*s**2 + 23896171875*q**6*r**2*s**2 - 1022437500*p**7*r**3*s**2 + 6648125000*p**4*q**2*r**3*s**2 - 52895312500*p*q**4*r**3*s**2 + 4401750000*p**5*r**4*s**2 + 26500000000*p**2*q**2*r**4*s**2 - 22125000000*p**3*r**5*s**2 - 1500000000*q**2*r**5*s**2 + 55500000000*p*r**6*s**2 - 137109375*p**9*q*s**3 - 1955937500*p**6*q**3*s**3 - 6790234375*p**3*q**5*s**3 - 16996093750*q**7*s**3 + 2146218750*p**7*q*r*s**3 + 6570312500*p**4*q**3*r*s**3 + 39918750000*p*q**5*r*s**3 - 7673281250*p**5*q*r**2*s**3 - 52000000000*p**2*q**3*r**2*s**3 + 50796875000*p**3*q*r**3*s**3 + 18750000000*q**3*r**3*s**3 - 399875000000*p*q*r**4*s**3 + 780468750*p**8*s**4 + 14455078125*p**5*q**2*s**4 + 10048828125*p**2*q**4*s**4 - 15113671875*p**6*r*s**4 + 39298828125*p**3*q**2*r*s**4 - 52138671875*q**4*r*s**4 + 45964843750*p**4*r**2*s**4 + 914414062500*p*q**2*r**2*s**4 + 1953125000*p**2*r**3*s**4 + 334375000000*r**4*s**4 - 149169921875*p**4*q*s**5 - 459716796875*p*q**3*s**5 - 325585937500*p**2*q*r*s**5 - 1462890625000*q*r**2*s**5 + 296630859375*p**3*s**6 + 1324462890625*q**2*s**6 + 307617187500*p*r*s**6 b[3][3] = -20750*p**7*q**6 - 290125*p**4*q**8 - 993000*p*q**10 + 146125*p**8*q**4*r + 2721500*p**5*q**6*r + 11833750*p**2*q**8*r - 237375*p**9*q**2*r**2 - 8167500*p**6*q**4*r**2 - 54605625*p**3*q**6*r**2 - 23802500*q**8*r**2 + 8927500*p**7*q**2*r**3 + 131184375*p**4*q**4*r**3 + 254695000*p*q**6*r**3 - 121561250*p**5*q**2*r**4 - 728003125*p**2*q**4*r**4 + 702550000*p**3*q**2*r**5 + 597312500*q**4*r**5 - 1202500000*p*q**2*r**6 - 194625*p**9*q**3*s - 1568875*p**6*q**5*s + 9685625*p**3*q**7*s + 74662500*q**9*s + 327375*p**10*q*r*s + 1280000*p**7*q**3*r*s - 123703750*p**4*q**5*r*s - 850121875*p*q**7*r*s - 7436250*p**8*q*r**2*s + 164820000*p**5*q**3*r**2*s + 2336659375*p**2*q**5*r**2*s + 32202500*p**6*q*r**3*s - 2429765625*p**3*q**3*r**3*s - 4318609375*q**5*r**3*s + 148000000*p**4*q*r**4*s + 9902812500*p*q**3*r**4*s - 1755000000*p**2*q*r**5*s + 1154250*p**11*s**2 + 36821250*p**8*q**2*s**2 + 372825000*p**5*q**4*s**2 + 1170921875*p**2*q**6*s**2 - 38913750*p**9*r*s**2 - 797071875*p**6*q**2*r*s**2 - 2848984375*p**3*q**4*r*s**2 + 7651406250*q**6*r*s**2 + 415068750*p**7*r**2*s**2 + 3151328125*p**4*q**2*r**2*s**2 - 17696875000*p*q**4*r**2*s**2 - 725968750*p**5*r**3*s**2 + 5295312500*p**2*q**2*r**3*s**2 - 8581250000*p**3*r**4*s**2 - 812500000*q**2*r**4*s**2 + 30062500000*p*r**5*s**2 - 110109375*p**7*q*s**3 - 1976562500*p**4*q**3*s**3 - 6329296875*p*q**5*s**3 + 2256328125*p**5*q*r*s**3 + 8554687500*p**2*q**3*r*s**3 + 12947265625*p**3*q*r**2*s**3 + 7984375000*q**3*r**2*s**3 - 167039062500*p*q*r**3*s**3 + 1181250000*p**6*s**4 + 17873046875*p**3*q**2*s**4 - 20449218750*q**4*s**4 - 16265625000*p**4*r*s**4 + 260869140625*p*q**2*r*s**4 + 21025390625*p**2*r**2*s**4 + 207617187500*r**3*s**4 - 207177734375*p**2*q*s**5 - 615478515625*q*r*s**5 + 301513671875*p*s**6 b[3][2] = 53125*p**5*q**6 + 425000*p**2*q**8 - 394375*p**6*q**4*r - 4301875*p**3*q**6*r - 3225000*q**8*r + 851250*p**7*q**2*r**2 + 16910625*p**4*q**4*r**2 + 44210000*p*q**6*r**2 - 20474375*p**5*q**2*r**3 - 147190625*p**2*q**4*r**3 + 163975000*p**3*q**2*r**4 + 156812500*q**4*r**4 - 323750000*p*q**2*r**5 - 99375*p**7*q**3*s - 6395000*p**4*q**5*s - 49243750*p*q**7*s - 1164375*p**8*q*r*s + 4465625*p**5*q**3*r*s + 205546875*p**2*q**5*r*s + 12163750*p**6*q*r**2*s - 315546875*p**3*q**3*r**2*s - 946453125*q**5*r**2*s - 23500000*p**4*q*r**3*s + 2313437500*p*q**3*r**3*s - 472500000*p**2*q*r**4*s + 1316250*p**9*s**2 + 22715625*p**6*q**2*s**2 + 206953125*p**3*q**4*s**2 + 1220000000*q**6*s**2 - 20953125*p**7*r*s**2 - 277656250*p**4*q**2*r*s**2 - 3317187500*p*q**4*r*s**2 + 293734375*p**5*r**2*s**2 + 1351562500*p**2*q**2*r**2*s**2 - 2278125000*p**3*r**3*s**2 - 218750000*q**2*r**3*s**2 + 8093750000*p*r**4*s**2 - 9609375*p**5*q*s**3 + 240234375*p**2*q**3*s**3 + 2310546875*p**3*q*r*s**3 + 1171875000*q**3*r*s**3 - 33460937500*p*q*r**2*s**3 + 2185546875*p**4*s**4 + 32578125000*p*q**2*s**4 - 8544921875*p**2*r*s**4 + 58398437500*r**2*s**4 - 114013671875*q*s**5 b[3][1] = -16250*p**6*q**4 - 191875*p**3*q**6 - 495000*q**8 + 73125*p**7*q**2*r + 1437500*p**4*q**4*r + 5866250*p*q**6*r - 2043125*p**5*q**2*r**2 - 17218750*p**2*q**4*r**2 + 19106250*p**3*q**2*r**3 + 34015625*q**4*r**3 - 69375000*p*q**2*r**4 - 219375*p**8*q*s - 2846250*p**5*q**3*s - 8021875*p**2*q**5*s + 3420000*p**6*q*r*s - 1640625*p**3*q**3*r*s - 152468750*q**5*r*s + 3062500*p**4*q*r**2*s + 381171875*p*q**3*r**2*s - 101250000*p**2*q*r**3*s + 2784375*p**7*s**2 + 43515625*p**4*q**2*s**2 + 115625000*p*q**4*s**2 - 48140625*p**5*r*s**2 - 307421875*p**2*q**2*r*s**2 - 25781250*p**3*r**2*s**2 - 46875000*q**2*r**2*s**2 + 1734375000*p*r**3*s**2 - 128906250*p**3*q*s**3 + 339843750*q**3*s**3 - 4583984375*p*q*r*s**3 + 2236328125*p**2*s**4 + 12255859375*r*s**4 b[3][0] = 31875*p**4*q**4 + 255000*p*q**6 - 82500*p**5*q**2*r - 1106250*p**2*q**4*r + 1653125*p**3*q**2*r**2 + 5187500*q**4*r**2 - 11562500*p*q**2*r**3 - 118125*p**6*q*s - 3593750*p**3*q**3*s - 23812500*q**5*s + 4656250*p**4*q*r*s + 67109375*p*q**3*r*s - 16875000*p**2*q*r**2*s - 984375*p**5*s**2 - 19531250*p**2*q**2*s**2 - 37890625*p**3*r*s**2 - 7812500*q**2*r*s**2 + 289062500*p*r**2*s**2 - 529296875*p*q*s**3 + 2343750000*s**4 b[4][5] = 600*p**10*q**10 + 13850*p**7*q**12 + 106150*p**4*q**14 + 270000*p*q**16 - 9300*p**11*q**8*r - 234075*p**8*q**10*r - 1942825*p**5*q**12*r - 5319900*p**2*q**14*r + 52050*p**12*q**6*r**2 + 1481025*p**9*q**8*r**2 + 13594450*p**6*q**10*r**2 + 40062750*p**3*q**12*r**2 - 3569400*q**14*r**2 - 122175*p**13*q**4*r**3 - 4260350*p**10*q**6*r**3 - 45052375*p**7*q**8*r**3 - 142634900*p**4*q**10*r**3 + 54186350*p*q**12*r**3 + 97200*p**14*q**2*r**4 + 5284225*p**11*q**4*r**4 + 70389525*p**8*q**6*r**4 + 232732850*p**5*q**8*r**4 - 318849400*p**2*q**10*r**4 - 2046000*p**12*q**2*r**5 - 43874125*p**9*q**4*r**5 - 107411850*p**6*q**6*r**5 + 948310700*p**3*q**8*r**5 - 34763575*q**10*r**5 + 5915600*p**10*q**2*r**6 - 115887800*p**7*q**4*r**6 - 1649542400*p**4*q**6*r**6 + 224468875*p*q**8*r**6 + 120252800*p**8*q**2*r**7 + 1779902000*p**5*q**4*r**7 - 288250000*p**2*q**6*r**7 - 915200000*p**6*q**2*r**8 - 1164000000*p**3*q**4*r**8 - 444200000*q**6*r**8 + 2502400000*p**4*q**2*r**9 + 1984000000*p*q**4*r**9 - 2880000000*p**2*q**2*r**10 + 20700*p**12*q**7*s + 551475*p**9*q**9*s + 5194875*p**6*q**11*s + 18985000*p**3*q**13*s + 16875000*q**15*s - 218700*p**13*q**5*r*s - 6606475*p**10*q**7*r*s - 69770850*p**7*q**9*r*s - 285325500*p**4*q**11*r*s - 292005000*p*q**13*r*s + 694575*p**14*q**3*r**2*s + 26187750*p**11*q**5*r**2*s + 328992825*p**8*q**7*r**2*s + 1573292400*p**5*q**9*r**2*s + 1930043875*p**2*q**11*r**2*s - 583200*p**15*q*r**3*s - 37263225*p**12*q**3*r**3*s - 638579425*p**9*q**5*r**3*s - 3920212225*p**6*q**7*r**3*s - 6327336875*p**3*q**9*r**3*s + 440969375*q**11*r**3*s + 13446000*p**13*q*r**4*s + 462330325*p**10*q**3*r**4*s + 4509088275*p**7*q**5*r**4*s + 11709795625*p**4*q**7*r**4*s - 3579565625*p*q**9*r**4*s - 85033600*p**11*q*r**5*s - 2136801600*p**8*q**3*r**5*s - 12221575800*p**5*q**5*r**5*s + 9431044375*p**2*q**7*r**5*s + 10643200*p**9*q*r**6*s + 4565594000*p**6*q**3*r**6*s - 1778590000*p**3*q**5*r**6*s + 4842175000*q**7*r**6*s + 712320000*p**7*q*r**7*s - 16182000000*p**4*q**3*r**7*s - 21918000000*p*q**5*r**7*s - 742400000*p**5*q*r**8*s + 31040000000*p**2*q**3*r**8*s + 1280000000*p**3*q*r**9*s + 4800000000*q**3*r**9*s + 230850*p**14*q**4*s**2 + 7373250*p**11*q**6*s**2 + 85045625*p**8*q**8*s**2 + 399140625*p**5*q**10*s**2 + 565031250*p**2*q**12*s**2 - 1257525*p**15*q**2*r*s**2 - 52728975*p**12*q**4*r*s**2 - 743466375*p**9*q**6*r*s**2 - 4144915000*p**6*q**8*r*s**2 - 7102690625*p**3*q**10*r*s**2 - 1389937500*q**12*r*s**2 + 874800*p**16*r**2*s**2 + 89851275*p**13*q**2*r**2*s**2 + 1897236775*p**10*q**4*r**2*s**2 + 14144163000*p**7*q**6*r**2*s**2 + 31942921875*p**4*q**8*r**2*s**2 + 13305118750*p*q**10*r**2*s**2 - 23004000*p**14*r**3*s**2 - 1450715475*p**11*q**2*r**3*s**2 - 19427105000*p**8*q**4*r**3*s**2 - 70634028750*p**5*q**6*r**3*s**2 - 47854218750*p**2*q**8*r**3*s**2 + 204710400*p**12*r**4*s**2 + 10875135000*p**9*q**2*r**4*s**2 + 83618806250*p**6*q**4*r**4*s**2 + 62744500000*p**3*q**6*r**4*s**2 - 19806718750*q**8*r**4*s**2 - 757094800*p**10*r**5*s**2 - 37718030000*p**7*q**2*r**5*s**2 - 22479500000*p**4*q**4*r**5*s**2 + 91556093750*p*q**6*r**5*s**2 + 2306320000*p**8*r**6*s**2 + 55539600000*p**5*q**2*r**6*s**2 - 112851250000*p**2*q**4*r**6*s**2 - 10720000000*p**6*r**7*s**2 - 64720000000*p**3*q**2*r**7*s**2 - 59925000000*q**4*r**7*s**2 + 28000000000*p**4*r**8*s**2 + 28000000000*p*q**2*r**8*s**2 - 24000000000*p**2*r**9*s**2 + 820125*p**16*q*s**3 + 36804375*p**13*q**3*s**3 + 552225000*p**10*q**5*s**3 + 3357593750*p**7*q**7*s**3 + 7146562500*p**4*q**9*s**3 + 3851562500*p*q**11*s**3 - 92400750*p**14*q*r*s**3 - 2350175625*p**11*q**3*r*s**3 - 19470640625*p**8*q**5*r*s**3 - 52820593750*p**5*q**7*r*s**3 - 45447734375*p**2*q**9*r*s**3 + 1824363000*p**12*q*r**2*s**3 + 31435234375*p**9*q**3*r**2*s**3 + 141717537500*p**6*q**5*r**2*s**3 + 228370781250*p**3*q**7*r**2*s**3 + 34610078125*q**9*r**2*s**3 - 17591825625*p**10*q*r**3*s**3 - 188927187500*p**7*q**3*r**3*s**3 - 502088984375*p**4*q**5*r**3*s**3 - 187849296875*p*q**7*r**3*s**3 + 75577750000*p**8*q*r**4*s**3 + 342800000000*p**5*q**3*r**4*s**3 + 295384296875*p**2*q**5*r**4*s**3 - 107681250000*p**6*q*r**5*s**3 + 53330000000*p**3*q**3*r**5*s**3 + 271586875000*q**5*r**5*s**3 - 26410000000*p**4*q*r**6*s**3 - 188200000000*p*q**3*r**6*s**3 + 92000000000*p**2*q*r**7*s**3 + 120000000000*q*r**8*s**3 + 47840625*p**15*s**4 + 1150453125*p**12*q**2*s**4 + 9229453125*p**9*q**4*s**4 + 24954687500*p**6*q**6*s**4 + 22978515625*p**3*q**8*s**4 + 1367187500*q**10*s**4 - 1193737500*p**13*r*s**4 - 20817843750*p**10*q**2*r*s**4 - 98640000000*p**7*q**4*r*s**4 - 225767187500*p**4*q**6*r*s**4 - 74707031250*p*q**8*r*s**4 + 13431318750*p**11*r**2*s**4 + 188709843750*p**8*q**2*r**2*s**4 + 875157656250*p**5*q**4*r**2*s**4 + 593812890625*p**2*q**6*r**2*s**4 - 69869296875*p**9*r**3*s**4 - 854811093750*p**6*q**2*r**3*s**4 - 1730658203125*p**3*q**4*r**3*s**4 - 570867187500*q**6*r**3*s**4 + 162075625000*p**7*r**4*s**4 + 1536375000000*p**4*q**2*r**4*s**4 + 765156250000*p*q**4*r**4*s**4 - 165988750000*p**5*r**5*s**4 - 728968750000*p**2*q**2*r**5*s**4 + 121500000000*p**3*r**6*s**4 - 1039375000000*q**2*r**6*s**4 - 100000000000*p*r**7*s**4 - 379687500*p**11*q*s**5 - 11607421875*p**8*q**3*s**5 - 20830078125*p**5*q**5*s**5 - 33691406250*p**2*q**7*s**5 - 41491406250*p**9*q*r*s**5 - 419054687500*p**6*q**3*r*s**5 - 129511718750*p**3*q**5*r*s**5 + 311767578125*q**7*r*s**5 + 620116015625*p**7*q*r**2*s**5 + 1154687500000*p**4*q**3*r**2*s**5 + 36455078125*p*q**5*r**2*s**5 - 2265953125000*p**5*q*r**3*s**5 - 1509521484375*p**2*q**3*r**3*s**5 + 2530468750000*p**3*q*r**4*s**5 + 3259765625000*q**3*r**4*s**5 + 93750000000*p*q*r**5*s**5 + 23730468750*p**10*s**6 + 243603515625*p**7*q**2*s**6 + 341552734375*p**4*q**4*s**6 - 12207031250*p*q**6*s**6 - 357099609375*p**8*r*s**6 - 298193359375*p**5*q**2*r*s**6 + 406738281250*p**2*q**4*r*s**6 + 1615683593750*p**6*r**2*s**6 + 558593750000*p**3*q**2*r**2*s**6 - 2811035156250*q**4*r**2*s**6 - 2960937500000*p**4*r**3*s**6 - 3802246093750*p*q**2*r**3*s**6 + 2347656250000*p**2*r**4*s**6 - 671875000000*r**5*s**6 - 651855468750*p**6*q*s**7 - 1458740234375*p**3*q**3*s**7 - 152587890625*q**5*s**7 + 1628417968750*p**4*q*r*s**7 + 3948974609375*p*q**3*r*s**7 - 916748046875*p**2*q*r**2*s**7 + 1611328125000*q*r**3*s**7 + 640869140625*p**5*s**8 + 1068115234375*p**2*q**2*s**8 - 2044677734375*p**3*r*s**8 - 3204345703125*q**2*r*s**8 + 1739501953125*p*r**2*s**8 b[4][4] = -600*p**11*q**8 - 14050*p**8*q**10 - 109100*p**5*q**12 - 280800*p**2*q**14 + 7200*p**12*q**6*r + 188700*p**9*q**8*r + 1621725*p**6*q**10*r + 4577075*p**3*q**12*r + 5400*q**14*r - 28350*p**13*q**4*r**2 - 910600*p**10*q**6*r**2 - 9237975*p**7*q**8*r**2 - 30718900*p**4*q**10*r**2 - 5575950*p*q**12*r**2 + 36450*p**14*q**2*r**3 + 1848125*p**11*q**4*r**3 + 25137775*p**8*q**6*r**3 + 109591450*p**5*q**8*r**3 + 70627650*p**2*q**10*r**3 - 1317150*p**12*q**2*r**4 - 32857100*p**9*q**4*r**4 - 219125575*p**6*q**6*r**4 - 327565875*p**3*q**8*r**4 - 13011875*q**10*r**4 + 16484150*p**10*q**2*r**5 + 222242250*p**7*q**4*r**5 + 642173750*p**4*q**6*r**5 + 101263750*p*q**8*r**5 - 79345000*p**8*q**2*r**6 - 433180000*p**5*q**4*r**6 - 93731250*p**2*q**6*r**6 - 74300000*p**6*q**2*r**7 - 1057900000*p**3*q**4*r**7 - 591175000*q**6*r**7 + 1891600000*p**4*q**2*r**8 + 2796000000*p*q**4*r**8 - 4320000000*p**2*q**2*r**9 - 16200*p**13*q**5*s - 359500*p**10*q**7*s - 2603825*p**7*q**9*s - 4590375*p**4*q**11*s + 12352500*p*q**13*s + 121500*p**14*q**3*r*s + 3227400*p**11*q**5*r*s + 27301725*p**8*q**7*r*s + 59480975*p**5*q**9*r*s - 137308875*p**2*q**11*r*s - 218700*p**15*q*r**2*s - 8903925*p**12*q**3*r**2*s - 100918225*p**9*q**5*r**2*s - 325291300*p**6*q**7*r**2*s + 365705000*p**3*q**9*r**2*s + 94342500*q**11*r**2*s + 7632900*p**13*q*r**3*s + 162995400*p**10*q**3*r**3*s + 974558975*p**7*q**5*r**3*s + 930991250*p**4*q**7*r**3*s - 495368750*p*q**9*r**3*s - 97344900*p**11*q*r**4*s - 1406739250*p**8*q**3*r**4*s - 5572526250*p**5*q**5*r**4*s - 1903987500*p**2*q**7*r**4*s + 678550000*p**9*q*r**5*s + 8176215000*p**6*q**3*r**5*s + 18082050000*p**3*q**5*r**5*s + 5435843750*q**7*r**5*s - 2979800000*p**7*q*r**6*s - 29163500000*p**4*q**3*r**6*s - 27417500000*p*q**5*r**6*s + 6282400000*p**5*q*r**7*s + 48690000000*p**2*q**3*r**7*s - 2880000000*p**3*q*r**8*s + 7200000000*q**3*r**8*s - 109350*p**15*q**2*s**2 - 2405700*p**12*q**4*s**2 - 16125250*p**9*q**6*s**2 - 4930000*p**6*q**8*s**2 + 201150000*p**3*q**10*s**2 - 243000000*q**12*s**2 + 328050*p**16*r*s**2 + 10552275*p**13*q**2*r*s**2 + 88019100*p**10*q**4*r*s**2 - 4208625*p**7*q**6*r*s**2 - 1920390625*p**4*q**8*r*s**2 + 1759537500*p*q**10*r*s**2 - 11955600*p**14*r**2*s**2 - 196375050*p**11*q**2*r**2*s**2 - 555196250*p**8*q**4*r**2*s**2 + 4213270000*p**5*q**6*r**2*s**2 - 157468750*p**2*q**8*r**2*s**2 + 162656100*p**12*r**3*s**2 + 1880870000*p**9*q**2*r**3*s**2 + 753684375*p**6*q**4*r**3*s**2 - 25423062500*p**3*q**6*r**3*s**2 - 14142031250*q**8*r**3*s**2 - 1251948750*p**10*r**4*s**2 - 12524475000*p**7*q**2*r**4*s**2 + 18067656250*p**4*q**4*r**4*s**2 + 60531875000*p*q**6*r**4*s**2 + 6827725000*p**8*r**5*s**2 + 57157000000*p**5*q**2*r**5*s**2 - 75844531250*p**2*q**4*r**5*s**2 - 24452500000*p**6*r**6*s**2 - 144950000000*p**3*q**2*r**6*s**2 - 82109375000*q**4*r**6*s**2 + 46950000000*p**4*r**7*s**2 + 60000000000*p*q**2*r**7*s**2 - 36000000000*p**2*r**8*s**2 + 1549125*p**14*q*s**3 + 51873750*p**11*q**3*s**3 + 599781250*p**8*q**5*s**3 + 2421156250*p**5*q**7*s**3 - 1693515625*p**2*q**9*s**3 - 104884875*p**12*q*r*s**3 - 1937437500*p**9*q**3*r*s**3 - 11461053125*p**6*q**5*r*s**3 + 10299375000*p**3*q**7*r*s**3 + 10551250000*q**9*r*s**3 + 1336263750*p**10*q*r**2*s**3 + 23737250000*p**7*q**3*r**2*s**3 + 57136718750*p**4*q**5*r**2*s**3 - 8288906250*p*q**7*r**2*s**3 - 10907218750*p**8*q*r**3*s**3 - 160615000000*p**5*q**3*r**3*s**3 - 111134687500*p**2*q**5*r**3*s**3 + 46743125000*p**6*q*r**4*s**3 + 570509375000*p**3*q**3*r**4*s**3 + 274839843750*q**5*r**4*s**3 - 73312500000*p**4*q*r**5*s**3 - 145437500000*p*q**3*r**5*s**3 + 8750000000*p**2*q*r**6*s**3 + 180000000000*q*r**7*s**3 + 15946875*p**13*s**4 + 1265625*p**10*q**2*s**4 - 3282343750*p**7*q**4*s**4 - 38241406250*p**4*q**6*s**4 - 40136718750*p*q**8*s**4 - 113146875*p**11*r*s**4 - 2302734375*p**8*q**2*r*s**4 + 68450156250*p**5*q**4*r*s**4 + 177376562500*p**2*q**6*r*s**4 + 3164062500*p**9*r**2*s**4 + 14392890625*p**6*q**2*r**2*s**4 - 543781250000*p**3*q**4*r**2*s**4 - 319769531250*q**6*r**2*s**4 - 21048281250*p**7*r**3*s**4 - 240687500000*p**4*q**2*r**3*s**4 - 228164062500*p*q**4*r**3*s**4 + 23062500000*p**5*r**4*s**4 + 300410156250*p**2*q**2*r**4*s**4 + 93437500000*p**3*r**5*s**4 - 1141015625000*q**2*r**5*s**4 - 187500000000*p*r**6*s**4 + 1761328125*p**9*q*s**5 - 3177734375*p**6*q**3*s**5 + 60019531250*p**3*q**5*s**5 + 108398437500*q**7*s**5 + 24106640625*p**7*q*r*s**5 + 429589843750*p**4*q**3*r*s**5 + 410371093750*p*q**5*r*s**5 - 23582031250*p**5*q*r**2*s**5 + 202441406250*p**2*q**3*r**2*s**5 - 383203125000*p**3*q*r**3*s**5 + 2232910156250*q**3*r**3*s**5 + 1500000000000*p*q*r**4*s**5 - 13710937500*p**8*s**6 - 202832031250*p**5*q**2*s**6 - 531738281250*p**2*q**4*s**6 + 73330078125*p**6*r*s**6 - 3906250000*p**3*q**2*r*s**6 - 1275878906250*q**4*r*s**6 - 121093750000*p**4*r**2*s**6 - 3308593750000*p*q**2*r**2*s**6 + 18066406250*p**2*r**3*s**6 - 244140625000*r**4*s**6 + 327148437500*p**4*q*s**7 + 1672363281250*p*q**3*s**7 + 446777343750*p**2*q*r*s**7 + 1232910156250*q*r**2*s**7 - 274658203125*p**3*s**8 - 1068115234375*q**2*s**8 - 61035156250*p*r*s**8 b[4][3] = 200*p**9*q**8 + 7550*p**6*q**10 + 78650*p**3*q**12 + 248400*q**14 - 4800*p**10*q**6*r - 164300*p**7*q**8*r - 1709575*p**4*q**10*r - 5566500*p*q**12*r + 31050*p**11*q**4*r**2 + 1116175*p**8*q**6*r**2 + 12674650*p**5*q**8*r**2 + 45333850*p**2*q**10*r**2 - 60750*p**12*q**2*r**3 - 2872725*p**9*q**4*r**3 - 40403050*p**6*q**6*r**3 - 173564375*p**3*q**8*r**3 - 11242250*q**10*r**3 + 2174100*p**10*q**2*r**4 + 54010000*p**7*q**4*r**4 + 331074875*p**4*q**6*r**4 + 114173750*p*q**8*r**4 - 24858500*p**8*q**2*r**5 - 300875000*p**5*q**4*r**5 - 319430625*p**2*q**6*r**5 + 69810000*p**6*q**2*r**6 - 23900000*p**3*q**4*r**6 - 294662500*q**6*r**6 + 524200000*p**4*q**2*r**7 + 1432000000*p*q**4*r**7 - 2340000000*p**2*q**2*r**8 + 5400*p**11*q**5*s + 310400*p**8*q**7*s + 3591725*p**5*q**9*s + 11556750*p**2*q**11*s - 105300*p**12*q**3*r*s - 4234650*p**9*q**5*r*s - 49928875*p**6*q**7*r*s - 174078125*p**3*q**9*r*s + 18000000*q**11*r*s + 364500*p**13*q*r**2*s + 15763050*p**10*q**3*r**2*s + 220187400*p**7*q**5*r**2*s + 929609375*p**4*q**7*r**2*s - 43653125*p*q**9*r**2*s - 13427100*p**11*q*r**3*s - 346066250*p**8*q**3*r**3*s - 2287673375*p**5*q**5*r**3*s - 1403903125*p**2*q**7*r**3*s + 184586000*p**9*q*r**4*s + 2983460000*p**6*q**3*r**4*s + 8725818750*p**3*q**5*r**4*s + 2527734375*q**7*r**4*s - 1284480000*p**7*q*r**5*s - 13138250000*p**4*q**3*r**5*s - 14001625000*p*q**5*r**5*s + 4224800000*p**5*q*r**6*s + 27460000000*p**2*q**3*r**6*s - 3760000000*p**3*q*r**7*s + 3900000000*q**3*r**7*s + 36450*p**13*q**2*s**2 + 2765475*p**10*q**4*s**2 + 34027625*p**7*q**6*s**2 + 97375000*p**4*q**8*s**2 - 88275000*p*q**10*s**2 - 546750*p**14*r*s**2 - 21961125*p**11*q**2*r*s**2 - 273059375*p**8*q**4*r*s**2 - 761562500*p**5*q**6*r*s**2 + 1869656250*p**2*q**8*r*s**2 + 20545650*p**12*r**2*s**2 + 473934375*p**9*q**2*r**2*s**2 + 1758053125*p**6*q**4*r**2*s**2 - 8743359375*p**3*q**6*r**2*s**2 - 4154375000*q**8*r**2*s**2 - 296559000*p**10*r**3*s**2 - 4065056250*p**7*q**2*r**3*s**2 - 186328125*p**4*q**4*r**3*s**2 + 19419453125*p*q**6*r**3*s**2 + 2326262500*p**8*r**4*s**2 + 21189375000*p**5*q**2*r**4*s**2 - 26301953125*p**2*q**4*r**4*s**2 - 10513250000*p**6*r**5*s**2 - 69937500000*p**3*q**2*r**5*s**2 - 42257812500*q**4*r**5*s**2 + 23375000000*p**4*r**6*s**2 + 40750000000*p*q**2*r**6*s**2 - 19500000000*p**2*r**7*s**2 + 4009500*p**12*q*s**3 + 36140625*p**9*q**3*s**3 - 335459375*p**6*q**5*s**3 - 2695312500*p**3*q**7*s**3 - 1486250000*q**9*s**3 + 102515625*p**10*q*r*s**3 + 4006812500*p**7*q**3*r*s**3 + 27589609375*p**4*q**5*r*s**3 + 20195312500*p*q**7*r*s**3 - 2792812500*p**8*q*r**2*s**3 - 44115156250*p**5*q**3*r**2*s**3 - 72609453125*p**2*q**5*r**2*s**3 + 18752500000*p**6*q*r**3*s**3 + 218140625000*p**3*q**3*r**3*s**3 + 109940234375*q**5*r**3*s**3 - 21893750000*p**4*q*r**4*s**3 - 65187500000*p*q**3*r**4*s**3 - 31000000000*p**2*q*r**5*s**3 + 97500000000*q*r**6*s**3 - 86568750*p**11*s**4 - 1955390625*p**8*q**2*s**4 - 8960781250*p**5*q**4*s**4 - 1357812500*p**2*q**6*s**4 + 1657968750*p**9*r*s**4 + 10467187500*p**6*q**2*r*s**4 - 55292968750*p**3*q**4*r*s**4 - 60683593750*q**6*r*s**4 - 11473593750*p**7*r**2*s**4 - 123281250000*p**4*q**2*r**2*s**4 - 164912109375*p*q**4*r**2*s**4 + 13150000000*p**5*r**3*s**4 + 190751953125*p**2*q**2*r**3*s**4 + 61875000000*p**3*r**4*s**4 - 467773437500*q**2*r**4*s**4 - 118750000000*p*r**5*s**4 + 7583203125*p**7*q*s**5 + 54638671875*p**4*q**3*s**5 + 39423828125*p*q**5*s**5 + 32392578125*p**5*q*r*s**5 + 278515625000*p**2*q**3*r*s**5 - 298339843750*p**3*q*r**2*s**5 + 560791015625*q**3*r**2*s**5 + 720703125000*p*q*r**3*s**5 - 19687500000*p**6*s**6 - 159667968750*p**3*q**2*s**6 - 72265625000*q**4*s**6 + 116699218750*p**4*r*s**6 - 924072265625*p*q**2*r*s**6 - 156005859375*p**2*r**2*s**6 - 112304687500*r**3*s**6 + 349121093750*p**2*q*s**7 + 396728515625*q*r*s**7 - 213623046875*p*s**8 b[4][2] = -600*p**10*q**6 - 18450*p**7*q**8 - 174000*p**4*q**10 - 518400*p*q**12 + 5400*p**11*q**4*r + 197550*p**8*q**6*r + 2147775*p**5*q**8*r + 7219800*p**2*q**10*r - 12150*p**12*q**2*r**2 - 662200*p**9*q**4*r**2 - 9274775*p**6*q**6*r**2 - 38330625*p**3*q**8*r**2 - 5508000*q**10*r**2 + 656550*p**10*q**2*r**3 + 16233750*p**7*q**4*r**3 + 97335875*p**4*q**6*r**3 + 58271250*p*q**8*r**3 - 9845500*p**8*q**2*r**4 - 119464375*p**5*q**4*r**4 - 194431875*p**2*q**6*r**4 + 49465000*p**6*q**2*r**5 + 166000000*p**3*q**4*r**5 - 80793750*q**6*r**5 + 54400000*p**4*q**2*r**6 + 377750000*p*q**4*r**6 - 630000000*p**2*q**2*r**7 - 16200*p**12*q**3*s - 459300*p**9*q**5*s - 4207225*p**6*q**7*s - 10827500*p**3*q**9*s + 13635000*q**11*s + 72900*p**13*q*r*s + 2877300*p**10*q**3*r*s + 33239700*p**7*q**5*r*s + 107080625*p**4*q**7*r*s - 114975000*p*q**9*r*s - 3601800*p**11*q*r**2*s - 75214375*p**8*q**3*r**2*s - 387073250*p**5*q**5*r**2*s + 55540625*p**2*q**7*r**2*s + 53793000*p**9*q*r**3*s + 687176875*p**6*q**3*r**3*s + 1670018750*p**3*q**5*r**3*s + 665234375*q**7*r**3*s - 391570000*p**7*q*r**4*s - 3420125000*p**4*q**3*r**4*s - 3609625000*p*q**5*r**4*s + 1365600000*p**5*q*r**5*s + 7236250000*p**2*q**3*r**5*s - 1220000000*p**3*q*r**6*s + 1050000000*q**3*r**6*s - 109350*p**14*s**2 - 3065850*p**11*q**2*s**2 - 26908125*p**8*q**4*s**2 - 44606875*p**5*q**6*s**2 + 269812500*p**2*q**8*s**2 + 5200200*p**12*r*s**2 + 81826875*p**9*q**2*r*s**2 + 155378125*p**6*q**4*r*s**2 - 1936203125*p**3*q**6*r*s**2 - 998437500*q**8*r*s**2 - 77145750*p**10*r**2*s**2 - 745528125*p**7*q**2*r**2*s**2 + 683437500*p**4*q**4*r**2*s**2 + 4083359375*p*q**6*r**2*s**2 + 593287500*p**8*r**3*s**2 + 4799375000*p**5*q**2*r**3*s**2 - 4167578125*p**2*q**4*r**3*s**2 - 2731125000*p**6*r**4*s**2 - 18668750000*p**3*q**2*r**4*s**2 - 10480468750*q**4*r**4*s**2 + 6200000000*p**4*r**5*s**2 + 11750000000*p*q**2*r**5*s**2 - 5250000000*p**2*r**6*s**2 + 26527500*p**10*q*s**3 + 526031250*p**7*q**3*s**3 + 3160703125*p**4*q**5*s**3 + 2650312500*p*q**7*s**3 - 448031250*p**8*q*r*s**3 - 6682968750*p**5*q**3*r*s**3 - 11642812500*p**2*q**5*r*s**3 + 2553203125*p**6*q*r**2*s**3 + 37234375000*p**3*q**3*r**2*s**3 + 21871484375*q**5*r**2*s**3 + 2803125000*p**4*q*r**3*s**3 - 10796875000*p*q**3*r**3*s**3 - 16656250000*p**2*q*r**4*s**3 + 26250000000*q*r**5*s**3 - 75937500*p**9*s**4 - 704062500*p**6*q**2*s**4 - 8363281250*p**3*q**4*s**4 - 10398437500*q**6*s**4 + 197578125*p**7*r*s**4 - 16441406250*p**4*q**2*r*s**4 - 24277343750*p*q**4*r*s**4 - 5716015625*p**5*r**2*s**4 + 31728515625*p**2*q**2*r**2*s**4 + 27031250000*p**3*r**3*s**4 - 92285156250*q**2*r**3*s**4 - 33593750000*p*r**4*s**4 + 10394531250*p**5*q*s**5 + 38037109375*p**2*q**3*s**5 - 48144531250*p**3*q*r*s**5 + 74462890625*q**3*r*s**5 + 121093750000*p*q*r**2*s**5 - 2197265625*p**4*s**6 - 92529296875*p*q**2*s**6 + 15380859375*p**2*r*s**6 - 31738281250*r**2*s**6 + 54931640625*q*s**7 b[4][1] = 200*p**8*q**6 + 2950*p**5*q**8 + 10800*p**2*q**10 - 1800*p**9*q**4*r - 49650*p**6*q**6*r - 403375*p**3*q**8*r - 999000*q**10*r + 4050*p**10*q**2*r**2 + 236625*p**7*q**4*r**2 + 3109500*p**4*q**6*r**2 + 11463750*p*q**8*r**2 - 331500*p**8*q**2*r**3 - 7818125*p**5*q**4*r**3 - 41411250*p**2*q**6*r**3 + 4782500*p**6*q**2*r**4 + 47475000*p**3*q**4*r**4 - 16728125*q**6*r**4 - 8700000*p**4*q**2*r**5 + 81750000*p*q**4*r**5 - 135000000*p**2*q**2*r**6 + 5400*p**10*q**3*s + 144200*p**7*q**5*s + 939375*p**4*q**7*s + 1012500*p*q**9*s - 24300*p**11*q*r*s - 1169250*p**8*q**3*r*s - 14027250*p**5*q**5*r*s - 44446875*p**2*q**7*r*s + 2011500*p**9*q*r**2*s + 49330625*p**6*q**3*r**2*s + 272009375*p**3*q**5*r**2*s + 104062500*q**7*r**2*s - 34660000*p**7*q*r**3*s - 455062500*p**4*q**3*r**3*s - 625906250*p*q**5*r**3*s + 210200000*p**5*q*r**4*s + 1298750000*p**2*q**3*r**4*s - 240000000*p**3*q*r**5*s + 225000000*q**3*r**5*s + 36450*p**12*s**2 + 1231875*p**9*q**2*s**2 + 10712500*p**6*q**4*s**2 + 21718750*p**3*q**6*s**2 + 16875000*q**8*s**2 - 2814750*p**10*r*s**2 - 67612500*p**7*q**2*r*s**2 - 345156250*p**4*q**4*r*s**2 - 283125000*p*q**6*r*s**2 + 51300000*p**8*r**2*s**2 + 734531250*p**5*q**2*r**2*s**2 + 1267187500*p**2*q**4*r**2*s**2 - 384312500*p**6*r**3*s**2 - 3912500000*p**3*q**2*r**3*s**2 - 1822265625*q**4*r**3*s**2 + 1112500000*p**4*r**4*s**2 + 2437500000*p*q**2*r**4*s**2 - 1125000000*p**2*r**5*s**2 - 72578125*p**5*q**3*s**3 - 189296875*p**2*q**5*s**3 + 127265625*p**6*q*r*s**3 + 1415625000*p**3*q**3*r*s**3 + 1229687500*q**5*r*s**3 + 1448437500*p**4*q*r**2*s**3 + 2218750000*p*q**3*r**2*s**3 - 4031250000*p**2*q*r**3*s**3 + 5625000000*q*r**4*s**3 - 132890625*p**7*s**4 - 529296875*p**4*q**2*s**4 - 175781250*p*q**4*s**4 - 401953125*p**5*r*s**4 - 4482421875*p**2*q**2*r*s**4 + 4140625000*p**3*r**2*s**4 - 10498046875*q**2*r**2*s**4 - 7031250000*p*r**3*s**4 + 1220703125*p**3*q*s**5 + 1953125000*q**3*s**5 + 14160156250*p*q*r*s**5 - 1708984375*p**2*s**6 - 3662109375*r*s**6 b[4][0] = -4600*p**6*q**6 - 67850*p**3*q**8 - 248400*q**10 + 38900*p**7*q**4*r + 679575*p**4*q**6*r + 2866500*p*q**8*r - 81900*p**8*q**2*r**2 - 2009750*p**5*q**4*r**2 - 10783750*p**2*q**6*r**2 + 1478750*p**6*q**2*r**3 + 14165625*p**3*q**4*r**3 - 2743750*q**6*r**3 - 5450000*p**4*q**2*r**4 + 12687500*p*q**4*r**4 - 22500000*p**2*q**2*r**5 - 101700*p**8*q**3*s - 1700975*p**5*q**5*s - 7061250*p**2*q**7*s + 423900*p**9*q*r*s + 9292375*p**6*q**3*r*s + 50438750*p**3*q**5*r*s + 20475000*q**7*r*s - 7852500*p**7*q*r**2*s - 87765625*p**4*q**3*r**2*s - 121609375*p*q**5*r**2*s + 47700000*p**5*q*r**3*s + 264687500*p**2*q**3*r**3*s - 65000000*p**3*q*r**4*s + 37500000*q**3*r**4*s - 534600*p**10*s**2 - 10344375*p**7*q**2*s**2 - 54859375*p**4*q**4*s**2 - 40312500*p*q**6*s**2 + 10158750*p**8*r*s**2 + 117778125*p**5*q**2*r*s**2 + 192421875*p**2*q**4*r*s**2 - 70593750*p**6*r**2*s**2 - 685312500*p**3*q**2*r**2*s**2 - 334375000*q**4*r**2*s**2 + 193750000*p**4*r**3*s**2 + 500000000*p*q**2*r**3*s**2 - 187500000*p**2*r**4*s**2 + 8437500*p**6*q*s**3 + 159218750*p**3*q**3*s**3 + 220625000*q**5*s**3 + 353828125*p**4*q*r*s**3 + 412500000*p*q**3*r*s**3 - 1023437500*p**2*q*r**2*s**3 + 937500000*q*r**3*s**3 - 206015625*p**5*s**4 - 701171875*p**2*q**2*s**4 + 998046875*p**3*r*s**4 - 1308593750*q**2*r*s**4 - 1367187500*p*r**2*s**4 + 1708984375*p*q*s**5 - 976562500*s**6 return b @property def o(self): p, q, r, s = self.p, self.q, self.r, self.s o = [0]*6 o[5] = -1600*p**10*q**10 - 23600*p**7*q**12 - 86400*p**4*q**14 + 24800*p**11*q**8*r + 419200*p**8*q**10*r + 1850450*p**5*q**12*r + 896400*p**2*q**14*r - 138800*p**12*q**6*r**2 - 2921900*p**9*q**8*r**2 - 17295200*p**6*q**10*r**2 - 27127750*p**3*q**12*r**2 - 26076600*q**14*r**2 + 325800*p**13*q**4*r**3 + 9993850*p**10*q**6*r**3 + 88010500*p**7*q**8*r**3 + 274047650*p**4*q**10*r**3 + 410171400*p*q**12*r**3 - 259200*p**14*q**2*r**4 - 17147100*p**11*q**4*r**4 - 254289150*p**8*q**6*r**4 - 1318548225*p**5*q**8*r**4 - 2633598475*p**2*q**10*r**4 + 12636000*p**12*q**2*r**5 + 388911000*p**9*q**4*r**5 + 3269704725*p**6*q**6*r**5 + 8791192300*p**3*q**8*r**5 + 93560575*q**10*r**5 - 228361600*p**10*q**2*r**6 - 3951199200*p**7*q**4*r**6 - 16276981100*p**4*q**6*r**6 - 1597227000*p*q**8*r**6 + 1947899200*p**8*q**2*r**7 + 17037648000*p**5*q**4*r**7 + 8919740000*p**2*q**6*r**7 - 7672160000*p**6*q**2*r**8 - 15496000000*p**3*q**4*r**8 + 4224000000*q**6*r**8 + 9968000000*p**4*q**2*r**9 - 8640000000*p*q**4*r**9 + 4800000000*p**2*q**2*r**10 - 55200*p**12*q**7*s - 685600*p**9*q**9*s + 1028250*p**6*q**11*s + 37650000*p**3*q**13*s + 111375000*q**15*s + 583200*p**13*q**5*r*s + 9075600*p**10*q**7*r*s - 883150*p**7*q**9*r*s - 506830750*p**4*q**11*r*s - 1793137500*p*q**13*r*s - 1852200*p**14*q**3*r**2*s - 41435250*p**11*q**5*r**2*s - 80566700*p**8*q**7*r**2*s + 2485673600*p**5*q**9*r**2*s + 11442286125*p**2*q**11*r**2*s + 1555200*p**15*q*r**3*s + 80846100*p**12*q**3*r**3*s + 564906800*p**9*q**5*r**3*s - 4493012400*p**6*q**7*r**3*s - 35492391250*p**3*q**9*r**3*s - 789931875*q**11*r**3*s - 71766000*p**13*q*r**4*s - 1551149200*p**10*q**3*r**4*s - 1773437900*p**7*q**5*r**4*s + 51957593125*p**4*q**7*r**4*s + 14964765625*p*q**9*r**4*s + 1231569600*p**11*q*r**5*s + 12042977600*p**8*q**3*r**5*s - 27151011200*p**5*q**5*r**5*s - 88080610000*p**2*q**7*r**5*s - 9912995200*p**9*q*r**6*s - 29448104000*p**6*q**3*r**6*s + 144954840000*p**3*q**5*r**6*s - 44601300000*q**7*r**6*s + 35453760000*p**7*q*r**7*s - 63264000000*p**4*q**3*r**7*s + 60544000000*p*q**5*r**7*s - 30048000000*p**5*q*r**8*s + 37040000000*p**2*q**3*r**8*s - 60800000000*p**3*q*r**9*s - 48000000000*q**3*r**9*s - 615600*p**14*q**4*s**2 - 10524500*p**11*q**6*s**2 - 33831250*p**8*q**8*s**2 + 222806250*p**5*q**10*s**2 + 1099687500*p**2*q**12*s**2 + 3353400*p**15*q**2*r*s**2 + 74269350*p**12*q**4*r*s**2 + 276445750*p**9*q**6*r*s**2 - 2618600000*p**6*q**8*r*s**2 - 14473243750*p**3*q**10*r*s**2 + 1383750000*q**12*r*s**2 - 2332800*p**16*r**2*s**2 - 132750900*p**13*q**2*r**2*s**2 - 900775150*p**10*q**4*r**2*s**2 + 8249244500*p**7*q**6*r**2*s**2 + 59525796875*p**4*q**8*r**2*s**2 - 40292868750*p*q**10*r**2*s**2 + 128304000*p**14*r**3*s**2 + 3160232100*p**11*q**2*r**3*s**2 + 8329580000*p**8*q**4*r**3*s**2 - 45558458750*p**5*q**6*r**3*s**2 + 297252890625*p**2*q**8*r**3*s**2 - 2769854400*p**12*r**4*s**2 - 37065970000*p**9*q**2*r**4*s**2 - 90812546875*p**6*q**4*r**4*s**2 - 627902000000*p**3*q**6*r**4*s**2 + 181347421875*q**8*r**4*s**2 + 30946932800*p**10*r**5*s**2 + 249954680000*p**7*q**2*r**5*s**2 + 802954812500*p**4*q**4*r**5*s**2 - 80900000000*p*q**6*r**5*s**2 - 192137320000*p**8*r**6*s**2 - 932641600000*p**5*q**2*r**6*s**2 - 943242500000*p**2*q**4*r**6*s**2 + 658412000000*p**6*r**7*s**2 + 1930720000000*p**3*q**2*r**7*s**2 + 593800000000*q**4*r**7*s**2 - 1162800000000*p**4*r**8*s**2 - 280000000000*p*q**2*r**8*s**2 + 840000000000*p**2*r**9*s**2 - 2187000*p**16*q*s**3 - 47418750*p**13*q**3*s**3 - 180618750*p**10*q**5*s**3 + 2231250000*p**7*q**7*s**3 + 17857734375*p**4*q**9*s**3 + 29882812500*p*q**11*s**3 + 24664500*p**14*q*r*s**3 - 853368750*p**11*q**3*r*s**3 - 25939693750*p**8*q**5*r*s**3 - 177541562500*p**5*q**7*r*s**3 - 297978828125*p**2*q**9*r*s**3 - 153468000*p**12*q*r**2*s**3 + 30188125000*p**9*q**3*r**2*s**3 + 344049821875*p**6*q**5*r**2*s**3 + 534026875000*p**3*q**7*r**2*s**3 - 340726484375*q**9*r**2*s**3 - 9056190000*p**10*q*r**3*s**3 - 322314687500*p**7*q**3*r**3*s**3 - 769632109375*p**4*q**5*r**3*s**3 - 83276875000*p*q**7*r**3*s**3 + 164061000000*p**8*q*r**4*s**3 + 1381358750000*p**5*q**3*r**4*s**3 + 3088020000000*p**2*q**5*r**4*s**3 - 1267655000000*p**6*q*r**5*s**3 - 7642630000000*p**3*q**3*r**5*s**3 - 2759877500000*q**5*r**5*s**3 + 4597760000000*p**4*q*r**6*s**3 + 1846200000000*p*q**3*r**6*s**3 - 7006000000000*p**2*q*r**7*s**3 - 1200000000000*q*r**8*s**3 + 18225000*p**15*s**4 + 1328906250*p**12*q**2*s**4 + 24729140625*p**9*q**4*s**4 + 169467187500*p**6*q**6*s**4 + 413281250000*p**3*q**8*s**4 + 223828125000*q**10*s**4 + 710775000*p**13*r*s**4 - 18611015625*p**10*q**2*r*s**4 - 314344375000*p**7*q**4*r*s**4 - 828439843750*p**4*q**6*r*s**4 + 460937500000*p*q**8*r*s**4 - 25674975000*p**11*r**2*s**4 - 52223515625*p**8*q**2*r**2*s**4 - 387160000000*p**5*q**4*r**2*s**4 - 4733680078125*p**2*q**6*r**2*s**4 + 343911875000*p**9*r**3*s**4 + 3328658359375*p**6*q**2*r**3*s**4 + 16532406250000*p**3*q**4*r**3*s**4 + 5980613281250*q**6*r**3*s**4 - 2295497500000*p**7*r**4*s**4 - 14809820312500*p**4*q**2*r**4*s**4 - 6491406250000*p*q**4*r**4*s**4 + 7768470000000*p**5*r**5*s**4 + 34192562500000*p**2*q**2*r**5*s**4 - 11859000000000*p**3*r**6*s**4 + 10530000000000*q**2*r**6*s**4 + 6000000000000*p*r**7*s**4 + 11453906250*p**11*q*s**5 + 149765625000*p**8*q**3*s**5 + 545537109375*p**5*q**5*s**5 + 527343750000*p**2*q**7*s**5 - 371313281250*p**9*q*r*s**5 - 3461455078125*p**6*q**3*r*s**5 - 7920878906250*p**3*q**5*r*s**5 - 4747314453125*q**7*r*s**5 + 2417815625000*p**7*q*r**2*s**5 + 5465576171875*p**4*q**3*r**2*s**5 + 5937128906250*p*q**5*r**2*s**5 - 10661156250000*p**5*q*r**3*s**5 - 63574218750000*p**2*q**3*r**3*s**5 + 24059375000000*p**3*q*r**4*s**5 - 33023437500000*q**3*r**4*s**5 - 43125000000000*p*q*r**5*s**5 + 94394531250*p**10*s**6 + 1097167968750*p**7*q**2*s**6 + 2829833984375*p**4*q**4*s**6 - 1525878906250*p*q**6*s**6 + 2724609375*p**8*r*s**6 + 13998535156250*p**5*q**2*r*s**6 + 57094482421875*p**2*q**4*r*s**6 - 8512509765625*p**6*r**2*s**6 - 37941406250000*p**3*q**2*r**2*s**6 + 33191894531250*q**4*r**2*s**6 + 50534179687500*p**4*r**3*s**6 + 156656250000000*p*q**2*r**3*s**6 - 85023437500000*p**2*r**4*s**6 + 10125000000000*r**5*s**6 - 2717285156250*p**6*q*s**7 - 11352539062500*p**3*q**3*s**7 - 2593994140625*q**5*s**7 - 47154541015625*p**4*q*r*s**7 - 160644531250000*p*q**3*r*s**7 + 142500000000000*p**2*q*r**2*s**7 - 26757812500000*q*r**3*s**7 - 4364013671875*p**5*s**8 - 94604492187500*p**2*q**2*s**8 + 114379882812500*p**3*r*s**8 + 51116943359375*q**2*r*s**8 - 346435546875000*p*r**2*s**8 + 476837158203125*p*q*s**9 - 476837158203125*s**10 o[4] = 1600*p**11*q**8 + 20800*p**8*q**10 + 45100*p**5*q**12 - 151200*p**2*q**14 - 19200*p**12*q**6*r - 293200*p**9*q**8*r - 794600*p**6*q**10*r + 2634675*p**3*q**12*r + 2640600*q**14*r + 75600*p**13*q**4*r**2 + 1529100*p**10*q**6*r**2 + 6233350*p**7*q**8*r**2 - 12013350*p**4*q**10*r**2 - 29069550*p*q**12*r**2 - 97200*p**14*q**2*r**3 - 3562500*p**11*q**4*r**3 - 26984900*p**8*q**6*r**3 - 15900325*p**5*q**8*r**3 + 76267100*p**2*q**10*r**3 + 3272400*p**12*q**2*r**4 + 59486850*p**9*q**4*r**4 + 221270075*p**6*q**6*r**4 + 74065250*p**3*q**8*r**4 - 300564375*q**10*r**4 - 45569400*p**10*q**2*r**5 - 438666000*p**7*q**4*r**5 - 444821250*p**4*q**6*r**5 + 2448256250*p*q**8*r**5 + 290640000*p**8*q**2*r**6 + 855850000*p**5*q**4*r**6 - 5741875000*p**2*q**6*r**6 - 644000000*p**6*q**2*r**7 + 5574000000*p**3*q**4*r**7 + 4643000000*q**6*r**7 - 1696000000*p**4*q**2*r**8 - 12660000000*p*q**4*r**8 + 7200000000*p**2*q**2*r**9 + 43200*p**13*q**5*s + 572000*p**10*q**7*s - 59800*p**7*q**9*s - 24174625*p**4*q**11*s - 74587500*p*q**13*s - 324000*p**14*q**3*r*s - 5531400*p**11*q**5*r*s - 3712100*p**8*q**7*r*s + 293009275*p**5*q**9*r*s + 1115548875*p**2*q**11*r*s + 583200*p**15*q*r**2*s + 18343800*p**12*q**3*r**2*s + 77911100*p**9*q**5*r**2*s - 957488825*p**6*q**7*r**2*s - 5449661250*p**3*q**9*r**2*s + 960120000*q**11*r**2*s - 23684400*p**13*q*r**3*s - 373761900*p**10*q**3*r**3*s - 27944975*p**7*q**5*r**3*s + 10375740625*p**4*q**7*r**3*s - 4649093750*p*q**9*r**3*s + 395816400*p**11*q*r**4*s + 2910968000*p**8*q**3*r**4*s - 9126162500*p**5*q**5*r**4*s - 11696118750*p**2*q**7*r**4*s - 3028640000*p**9*q*r**5*s - 3251550000*p**6*q**3*r**5*s + 47914250000*p**3*q**5*r**5*s - 30255625000*q**7*r**5*s + 9304000000*p**7*q*r**6*s - 42970000000*p**4*q**3*r**6*s + 31475000000*p*q**5*r**6*s + 2176000000*p**5*q*r**7*s + 62100000000*p**2*q**3*r**7*s - 43200000000*p**3*q*r**8*s - 72000000000*q**3*r**8*s + 291600*p**15*q**2*s**2 + 2702700*p**12*q**4*s**2 - 38692250*p**9*q**6*s**2 - 538903125*p**6*q**8*s**2 - 1613112500*p**3*q**10*s**2 + 320625000*q**12*s**2 - 874800*p**16*r*s**2 - 14166900*p**13*q**2*r*s**2 + 193284900*p**10*q**4*r*s**2 + 3688520500*p**7*q**6*r*s**2 + 11613390625*p**4*q**8*r*s**2 - 15609881250*p*q**10*r*s**2 + 44031600*p**14*r**2*s**2 + 482345550*p**11*q**2*r**2*s**2 - 2020881875*p**8*q**4*r**2*s**2 - 7407026250*p**5*q**6*r**2*s**2 + 136175750000*p**2*q**8*r**2*s**2 - 1000884600*p**12*r**3*s**2 - 8888950000*p**9*q**2*r**3*s**2 - 30101703125*p**6*q**4*r**3*s**2 - 319761000000*p**3*q**6*r**3*s**2 + 51519218750*q**8*r**3*s**2 + 12622395000*p**10*r**4*s**2 + 97032450000*p**7*q**2*r**4*s**2 + 469929218750*p**4*q**4*r**4*s**2 + 291342187500*p*q**6*r**4*s**2 - 96382000000*p**8*r**5*s**2 - 598070000000*p**5*q**2*r**5*s**2 - 1165021875000*p**2*q**4*r**5*s**2 + 446500000000*p**6*r**6*s**2 + 1651500000000*p**3*q**2*r**6*s**2 + 789375000000*q**4*r**6*s**2 - 1152000000000*p**4*r**7*s**2 - 600000000000*p*q**2*r**7*s**2 + 1260000000000*p**2*r**8*s**2 - 24786000*p**14*q*s**3 - 660487500*p**11*q**3*s**3 - 5886356250*p**8*q**5*s**3 - 18137187500*p**5*q**7*s**3 - 5120546875*p**2*q**9*s**3 + 827658000*p**12*q*r*s**3 + 13343062500*p**9*q**3*r*s**3 + 39782068750*p**6*q**5*r*s**3 - 111288437500*p**3*q**7*r*s**3 - 15438750000*q**9*r*s**3 - 14540782500*p**10*q*r**2*s**3 - 135889750000*p**7*q**3*r**2*s**3 - 176892578125*p**4*q**5*r**2*s**3 - 934462656250*p*q**7*r**2*s**3 + 171669250000*p**8*q*r**3*s**3 + 1164538125000*p**5*q**3*r**3*s**3 + 3192346406250*p**2*q**5*r**3*s**3 - 1295476250000*p**6*q*r**4*s**3 - 6540712500000*p**3*q**3*r**4*s**3 - 2957828125000*q**5*r**4*s**3 + 5366750000000*p**4*q*r**5*s**3 + 3165000000000*p*q**3*r**5*s**3 - 8862500000000*p**2*q*r**6*s**3 - 1800000000000*q*r**7*s**3 + 236925000*p**13*s**4 + 8895234375*p**10*q**2*s**4 + 106180781250*p**7*q**4*s**4 + 474221875000*p**4*q**6*s**4 + 616210937500*p*q**8*s**4 - 6995868750*p**11*r*s**4 - 184190625000*p**8*q**2*r*s**4 - 1299254453125*p**5*q**4*r*s**4 - 2475458593750*p**2*q**6*r*s**4 + 63049218750*p**9*r**2*s**4 + 1646791484375*p**6*q**2*r**2*s**4 + 9086886718750*p**3*q**4*r**2*s**4 + 4673421875000*q**6*r**2*s**4 - 215665000000*p**7*r**3*s**4 - 7864589843750*p**4*q**2*r**3*s**4 - 5987890625000*p*q**4*r**3*s**4 + 594843750000*p**5*r**4*s**4 + 27791171875000*p**2*q**2*r**4*s**4 - 3881250000000*p**3*r**5*s**4 + 12203125000000*q**2*r**5*s**4 + 10312500000000*p*r**6*s**4 - 34720312500*p**9*q*s**5 - 545126953125*p**6*q**3*s**5 - 2176425781250*p**3*q**5*s**5 - 2792968750000*q**7*s**5 - 1395703125*p**7*q*r*s**5 - 1957568359375*p**4*q**3*r*s**5 + 5122636718750*p*q**5*r*s**5 + 858210937500*p**5*q*r**2*s**5 - 42050097656250*p**2*q**3*r**2*s**5 + 7088281250000*p**3*q*r**3*s**5 - 25974609375000*q**3*r**3*s**5 - 69296875000000*p*q*r**4*s**5 + 384697265625*p**8*s**6 + 6403320312500*p**5*q**2*s**6 + 16742675781250*p**2*q**4*s**6 - 3467080078125*p**6*r*s**6 + 11009765625000*p**3*q**2*r*s**6 + 16451660156250*q**4*r*s**6 + 6979003906250*p**4*r**2*s**6 + 145403320312500*p*q**2*r**2*s**6 + 4076171875000*p**2*r**3*s**6 + 22265625000000*r**4*s**6 - 21915283203125*p**4*q*s**7 - 86608886718750*p*q**3*s**7 - 22785644531250*p**2*q*r*s**7 - 103466796875000*q*r**2*s**7 + 18798828125000*p**3*s**8 + 106048583984375*q**2*s**8 + 17761230468750*p*r*s**8 o[3] = 2800*p**9*q**8 + 55700*p**6*q**10 + 363600*p**3*q**12 + 777600*q**14 - 27200*p**10*q**6*r - 700200*p**7*q**8*r - 5726550*p**4*q**10*r - 15066000*p*q**12*r + 74700*p**11*q**4*r**2 + 2859575*p**8*q**6*r**2 + 31175725*p**5*q**8*r**2 + 103147650*p**2*q**10*r**2 - 40500*p**12*q**2*r**3 - 4274400*p**9*q**4*r**3 - 76065825*p**6*q**6*r**3 - 365623750*p**3*q**8*r**3 - 132264000*q**10*r**3 + 2192400*p**10*q**2*r**4 + 92562500*p**7*q**4*r**4 + 799193875*p**4*q**6*r**4 + 1188193125*p*q**8*r**4 - 41231500*p**8*q**2*r**5 - 914210000*p**5*q**4*r**5 - 3318853125*p**2*q**6*r**5 + 398850000*p**6*q**2*r**6 + 3944000000*p**3*q**4*r**6 + 2211312500*q**6*r**6 - 1817000000*p**4*q**2*r**7 - 6720000000*p*q**4*r**7 + 3900000000*p**2*q**2*r**8 + 75600*p**11*q**5*s + 1823100*p**8*q**7*s + 14534150*p**5*q**9*s + 38265750*p**2*q**11*s - 394200*p**12*q**3*r*s - 11453850*p**9*q**5*r*s - 101213000*p**6*q**7*r*s - 223565625*p**3*q**9*r*s + 415125000*q**11*r*s + 243000*p**13*q*r**2*s + 13654575*p**10*q**3*r**2*s + 163811725*p**7*q**5*r**2*s + 173461250*p**4*q**7*r**2*s - 3008671875*p*q**9*r**2*s - 2016900*p**11*q*r**3*s - 86576250*p**8*q**3*r**3*s - 324146625*p**5*q**5*r**3*s + 3378506250*p**2*q**7*r**3*s - 89211000*p**9*q*r**4*s - 55207500*p**6*q**3*r**4*s + 1493950000*p**3*q**5*r**4*s - 12573609375*q**7*r**4*s + 1140100000*p**7*q*r**5*s + 42500000*p**4*q**3*r**5*s + 21511250000*p*q**5*r**5*s - 4058000000*p**5*q*r**6*s + 6725000000*p**2*q**3*r**6*s - 1400000000*p**3*q*r**7*s - 39000000000*q**3*r**7*s + 510300*p**13*q**2*s**2 + 4814775*p**10*q**4*s**2 - 70265125*p**7*q**6*s**2 - 1016484375*p**4*q**8*s**2 - 3221100000*p*q**10*s**2 - 364500*p**14*r*s**2 + 30314250*p**11*q**2*r*s**2 + 1106765625*p**8*q**4*r*s**2 + 10984203125*p**5*q**6*r*s**2 + 33905812500*p**2*q**8*r*s**2 - 37980900*p**12*r**2*s**2 - 2142905625*p**9*q**2*r**2*s**2 - 26896125000*p**6*q**4*r**2*s**2 - 95551328125*p**3*q**6*r**2*s**2 + 11320312500*q**8*r**2*s**2 + 1743781500*p**10*r**3*s**2 + 35432262500*p**7*q**2*r**3*s**2 + 177855859375*p**4*q**4*r**3*s**2 + 121260546875*p*q**6*r**3*s**2 - 25943162500*p**8*r**4*s**2 - 249165500000*p**5*q**2*r**4*s**2 - 461739453125*p**2*q**4*r**4*s**2 + 177823750000*p**6*r**5*s**2 + 726225000000*p**3*q**2*r**5*s**2 + 404195312500*q**4*r**5*s**2 - 565875000000*p**4*r**6*s**2 - 407500000000*p*q**2*r**6*s**2 + 682500000000*p**2*r**7*s**2 - 59140125*p**12*q*s**3 - 1290515625*p**9*q**3*s**3 - 8785071875*p**6*q**5*s**3 - 15588281250*p**3*q**7*s**3 + 17505000000*q**9*s**3 + 896062500*p**10*q*r*s**3 + 2589750000*p**7*q**3*r*s**3 - 82700156250*p**4*q**5*r*s**3 - 347683593750*p*q**7*r*s**3 + 17022656250*p**8*q*r**2*s**3 + 320923593750*p**5*q**3*r**2*s**3 + 1042116875000*p**2*q**5*r**2*s**3 - 353262812500*p**6*q*r**3*s**3 - 2212664062500*p**3*q**3*r**3*s**3 - 1252408984375*q**5*r**3*s**3 + 1967362500000*p**4*q*r**4*s**3 + 1583343750000*p*q**3*r**4*s**3 - 3560625000000*p**2*q*r**5*s**3 - 975000000000*q*r**6*s**3 + 462459375*p**11*s**4 + 14210859375*p**8*q**2*s**4 + 99521718750*p**5*q**4*s**4 + 114955468750*p**2*q**6*s**4 - 17720859375*p**9*r*s**4 - 100320703125*p**6*q**2*r*s**4 + 1021943359375*p**3*q**4*r*s**4 + 1193203125000*q**6*r*s**4 + 171371250000*p**7*r**2*s**4 - 1113390625000*p**4*q**2*r**2*s**4 - 1211474609375*p*q**4*r**2*s**4 - 274056250000*p**5*r**3*s**4 + 8285166015625*p**2*q**2*r**3*s**4 - 2079375000000*p**3*r**4*s**4 + 5137304687500*q**2*r**4*s**4 + 6187500000000*p*r**5*s**4 - 135675000000*p**7*q*s**5 - 1275244140625*p**4*q**3*s**5 - 28388671875*p*q**5*s**5 + 1015166015625*p**5*q*r*s**5 - 10584423828125*p**2*q**3*r*s**5 + 3559570312500*p**3*q*r**2*s**5 - 6929931640625*q**3*r**2*s**5 - 32304687500000*p*q*r**3*s**5 + 430576171875*p**6*s**6 + 9397949218750*p**3*q**2*s**6 + 575195312500*q**4*s**6 - 4086425781250*p**4*r*s**6 + 42183837890625*p*q**2*r*s**6 + 8156494140625*p**2*r**2*s**6 + 12612304687500*r**3*s**6 - 25513916015625*p**2*q*s**7 - 37017822265625*q*r*s**7 + 18981933593750*p*s**8 o[2] = 1600*p**10*q**6 + 9200*p**7*q**8 - 126000*p**4*q**10 - 777600*p*q**12 - 14400*p**11*q**4*r - 119300*p**8*q**6*r + 1203225*p**5*q**8*r + 9412200*p**2*q**10*r + 32400*p**12*q**2*r**2 + 417950*p**9*q**4*r**2 - 4543725*p**6*q**6*r**2 - 49008125*p**3*q**8*r**2 - 24192000*q**10*r**2 - 292050*p**10*q**2*r**3 + 8760000*p**7*q**4*r**3 + 137506625*p**4*q**6*r**3 + 225438750*p*q**8*r**3 - 4213250*p**8*q**2*r**4 - 173595625*p**5*q**4*r**4 - 653003125*p**2*q**6*r**4 + 82575000*p**6*q**2*r**5 + 838125000*p**3*q**4*r**5 + 578562500*q**6*r**5 - 421500000*p**4*q**2*r**6 - 1796250000*p*q**4*r**6 + 1050000000*p**2*q**2*r**7 + 43200*p**12*q**3*s + 807300*p**9*q**5*s + 5328225*p**6*q**7*s + 16946250*p**3*q**9*s + 29565000*q**11*s - 194400*p**13*q*r*s - 5505300*p**10*q**3*r*s - 49886700*p**7*q**5*r*s - 178821875*p**4*q**7*r*s - 222750000*p*q**9*r*s + 6814800*p**11*q*r**2*s + 120525625*p**8*q**3*r**2*s + 526694500*p**5*q**5*r**2*s + 84065625*p**2*q**7*r**2*s - 123670500*p**9*q*r**3*s - 1106731875*p**6*q**3*r**3*s - 669556250*p**3*q**5*r**3*s - 2869265625*q**7*r**3*s + 1004350000*p**7*q*r**4*s + 3384375000*p**4*q**3*r**4*s + 5665625000*p*q**5*r**4*s - 3411000000*p**5*q*r**5*s - 418750000*p**2*q**3*r**5*s + 1700000000*p**3*q*r**6*s - 10500000000*q**3*r**6*s + 291600*p**14*s**2 + 9829350*p**11*q**2*s**2 + 114151875*p**8*q**4*s**2 + 522169375*p**5*q**6*s**2 + 716906250*p**2*q**8*s**2 - 18625950*p**12*r*s**2 - 387703125*p**9*q**2*r*s**2 - 2056109375*p**6*q**4*r*s**2 - 760203125*p**3*q**6*r*s**2 + 3071250000*q**8*r*s**2 + 512419500*p**10*r**2*s**2 + 5859053125*p**7*q**2*r**2*s**2 + 12154062500*p**4*q**4*r**2*s**2 + 15931640625*p*q**6*r**2*s**2 - 6598393750*p**8*r**3*s**2 - 43549625000*p**5*q**2*r**3*s**2 - 82011328125*p**2*q**4*r**3*s**2 + 43538125000*p**6*r**4*s**2 + 160831250000*p**3*q**2*r**4*s**2 + 99070312500*q**4*r**4*s**2 - 141812500000*p**4*r**5*s**2 - 117500000000*p*q**2*r**5*s**2 + 183750000000*p**2*r**6*s**2 - 154608750*p**10*q*s**3 - 3309468750*p**7*q**3*s**3 - 20834140625*p**4*q**5*s**3 - 34731562500*p*q**7*s**3 + 5970375000*p**8*q*r*s**3 + 68533281250*p**5*q**3*r*s**3 + 142698281250*p**2*q**5*r*s**3 - 74509140625*p**6*q*r**2*s**3 - 389148437500*p**3*q**3*r**2*s**3 - 270937890625*q**5*r**2*s**3 + 366696875000*p**4*q*r**3*s**3 + 400031250000*p*q**3*r**3*s**3 - 735156250000*p**2*q*r**4*s**3 - 262500000000*q*r**5*s**3 + 371250000*p**9*s**4 + 21315000000*p**6*q**2*s**4 + 179515625000*p**3*q**4*s**4 + 238406250000*q**6*s**4 - 9071015625*p**7*r*s**4 - 268945312500*p**4*q**2*r*s**4 - 379785156250*p*q**4*r*s**4 + 140262890625*p**5*r**2*s**4 + 1486259765625*p**2*q**2*r**2*s**4 - 806484375000*p**3*r**3*s**4 + 1066210937500*q**2*r**3*s**4 + 1722656250000*p*r**4*s**4 - 125648437500*p**5*q*s**5 - 1236279296875*p**2*q**3*s**5 + 1267871093750*p**3*q*r*s**5 - 1044677734375*q**3*r*s**5 - 6630859375000*p*q*r**2*s**5 + 160888671875*p**4*s**6 + 6352294921875*p*q**2*s**6 - 708740234375*p**2*r*s**6 + 3901367187500*r**2*s**6 - 8050537109375*q*s**7 o[1] = 2800*p**8*q**6 + 41300*p**5*q**8 + 151200*p**2*q**10 - 25200*p**9*q**4*r - 542600*p**6*q**6*r - 3397875*p**3*q**8*r - 5751000*q**10*r + 56700*p**10*q**2*r**2 + 1972125*p**7*q**4*r**2 + 18624250*p**4*q**6*r**2 + 50253750*p*q**8*r**2 - 1701000*p**8*q**2*r**3 - 32630625*p**5*q**4*r**3 - 139868750*p**2*q**6*r**3 + 18162500*p**6*q**2*r**4 + 177125000*p**3*q**4*r**4 + 121734375*q**6*r**4 - 100500000*p**4*q**2*r**5 - 386250000*p*q**4*r**5 + 225000000*p**2*q**2*r**6 + 75600*p**10*q**3*s + 1708800*p**7*q**5*s + 12836875*p**4*q**7*s + 32062500*p*q**9*s - 340200*p**11*q*r*s - 10185750*p**8*q**3*r*s - 97502750*p**5*q**5*r*s - 301640625*p**2*q**7*r*s + 7168500*p**9*q*r**2*s + 135960625*p**6*q**3*r**2*s + 587471875*p**3*q**5*r**2*s - 384750000*q**7*r**2*s - 29325000*p**7*q*r**3*s - 320625000*p**4*q**3*r**3*s + 523437500*p*q**5*r**3*s - 42000000*p**5*q*r**4*s + 343750000*p**2*q**3*r**4*s + 150000000*p**3*q*r**5*s - 2250000000*q**3*r**5*s + 510300*p**12*s**2 + 12808125*p**9*q**2*s**2 + 107062500*p**6*q**4*s**2 + 270312500*p**3*q**6*s**2 - 168750000*q**8*s**2 - 2551500*p**10*r*s**2 - 5062500*p**7*q**2*r*s**2 + 712343750*p**4*q**4*r*s**2 + 4788281250*p*q**6*r*s**2 - 256837500*p**8*r**2*s**2 - 3574812500*p**5*q**2*r**2*s**2 - 14967968750*p**2*q**4*r**2*s**2 + 4040937500*p**6*r**3*s**2 + 26400000000*p**3*q**2*r**3*s**2 + 17083984375*q**4*r**3*s**2 - 21812500000*p**4*r**4*s**2 - 24375000000*p*q**2*r**4*s**2 + 39375000000*p**2*r**5*s**2 - 127265625*p**5*q**3*s**3 - 680234375*p**2*q**5*s**3 - 2048203125*p**6*q*r*s**3 - 18794531250*p**3*q**3*r*s**3 - 25050000000*q**5*r*s**3 + 26621875000*p**4*q*r**2*s**3 + 37007812500*p*q**3*r**2*s**3 - 105468750000*p**2*q*r**3*s**3 - 56250000000*q*r**4*s**3 + 1124296875*p**7*s**4 + 9251953125*p**4*q**2*s**4 - 8007812500*p*q**4*s**4 - 4004296875*p**5*r*s**4 + 179931640625*p**2*q**2*r*s**4 - 75703125000*p**3*r**2*s**4 + 133447265625*q**2*r**2*s**4 + 363281250000*p*r**3*s**4 - 91552734375*p**3*q*s**5 - 19531250000*q**3*s**5 - 751953125000*p*q*r*s**5 + 157958984375*p**2*s**6 + 748291015625*r*s**6 o[0] = -14400*p**6*q**6 - 212400*p**3*q**8 - 777600*q**10 + 92100*p**7*q**4*r + 1689675*p**4*q**6*r + 7371000*p*q**8*r - 122850*p**8*q**2*r**2 - 3735250*p**5*q**4*r**2 - 22432500*p**2*q**6*r**2 + 2298750*p**6*q**2*r**3 + 29390625*p**3*q**4*r**3 + 18000000*q**6*r**3 - 17750000*p**4*q**2*r**4 - 62812500*p*q**4*r**4 + 37500000*p**2*q**2*r**5 - 51300*p**8*q**3*s - 768025*p**5*q**5*s - 2801250*p**2*q**7*s - 275400*p**9*q*r*s - 5479875*p**6*q**3*r*s - 35538750*p**3*q**5*r*s - 68850000*q**7*r*s + 12757500*p**7*q*r**2*s + 133640625*p**4*q**3*r**2*s + 222609375*p*q**5*r**2*s - 108500000*p**5*q*r**3*s - 290312500*p**2*q**3*r**3*s + 275000000*p**3*q*r**4*s - 375000000*q**3*r**4*s + 1931850*p**10*s**2 + 40213125*p**7*q**2*s**2 + 253921875*p**4*q**4*s**2 + 464062500*p*q**6*s**2 - 71077500*p**8*r*s**2 - 818746875*p**5*q**2*r*s**2 - 1882265625*p**2*q**4*r*s**2 + 826031250*p**6*r**2*s**2 + 4369687500*p**3*q**2*r**2*s**2 + 3107812500*q**4*r**2*s**2 - 3943750000*p**4*r**3*s**2 - 5000000000*p*q**2*r**3*s**2 + 6562500000*p**2*r**4*s**2 - 295312500*p**6*q*s**3 - 2938906250*p**3*q**3*s**3 - 4848750000*q**5*s**3 + 3791484375*p**4*q*r*s**3 + 7556250000*p*q**3*r*s**3 - 11960937500*p**2*q*r**2*s**3 - 9375000000*q*r**3*s**3 + 1668515625*p**5*s**4 + 20447265625*p**2*q**2*s**4 - 21955078125*p**3*r*s**4 + 18984375000*q**2*r*s**4 + 67382812500*p*r**2*s**4 - 120849609375*p*q*s**5 + 157226562500*s**6 return o @property def a(self): p, q, r, s = self.p, self.q, self.r, self.s a = [0]*6 a[5] = -100*p**7*q**7 - 2175*p**4*q**9 - 10500*p*q**11 + 1100*p**8*q**5*r + 27975*p**5*q**7*r + 152950*p**2*q**9*r - 4125*p**9*q**3*r**2 - 128875*p**6*q**5*r**2 - 830525*p**3*q**7*r**2 + 59450*q**9*r**2 + 5400*p**10*q*r**3 + 243800*p**7*q**3*r**3 + 2082650*p**4*q**5*r**3 - 333925*p*q**7*r**3 - 139200*p**8*q*r**4 - 2406000*p**5*q**3*r**4 - 122600*p**2*q**5*r**4 + 1254400*p**6*q*r**5 + 3776000*p**3*q**3*r**5 + 1832000*q**5*r**5 - 4736000*p**4*q*r**6 - 6720000*p*q**3*r**6 + 6400000*p**2*q*r**7 - 900*p**9*q**4*s - 37400*p**6*q**6*s - 281625*p**3*q**8*s - 435000*q**10*s + 6750*p**10*q**2*r*s + 322300*p**7*q**4*r*s + 2718575*p**4*q**6*r*s + 4214250*p*q**8*r*s - 16200*p**11*r**2*s - 859275*p**8*q**2*r**2*s - 8925475*p**5*q**4*r**2*s - 14427875*p**2*q**6*r**2*s + 453600*p**9*r**3*s + 10038400*p**6*q**2*r**3*s + 17397500*p**3*q**4*r**3*s - 11333125*q**6*r**3*s - 4451200*p**7*r**4*s - 15850000*p**4*q**2*r**4*s + 34000000*p*q**4*r**4*s + 17984000*p**5*r**5*s - 10000000*p**2*q**2*r**5*s - 25600000*p**3*r**6*s - 8000000*q**2*r**6*s + 6075*p**11*q*s**2 - 83250*p**8*q**3*s**2 - 1282500*p**5*q**5*s**2 - 2862500*p**2*q**7*s**2 + 724275*p**9*q*r*s**2 + 9807250*p**6*q**3*r*s**2 + 28374375*p**3*q**5*r*s**2 + 22212500*q**7*r*s**2 - 8982000*p**7*q*r**2*s**2 - 39600000*p**4*q**3*r**2*s**2 - 61746875*p*q**5*r**2*s**2 - 1010000*p**5*q*r**3*s**2 - 1000000*p**2*q**3*r**3*s**2 + 78000000*p**3*q*r**4*s**2 + 30000000*q**3*r**4*s**2 + 80000000*p*q*r**5*s**2 - 759375*p**10*s**3 - 9787500*p**7*q**2*s**3 - 39062500*p**4*q**4*s**3 - 52343750*p*q**6*s**3 + 12301875*p**8*r*s**3 + 98175000*p**5*q**2*r*s**3 + 225078125*p**2*q**4*r*s**3 - 54900000*p**6*r**2*s**3 - 310000000*p**3*q**2*r**2*s**3 - 7890625*q**4*r**2*s**3 + 51250000*p**4*r**3*s**3 - 420000000*p*q**2*r**3*s**3 + 110000000*p**2*r**4*s**3 - 200000000*r**5*s**3 + 2109375*p**6*q*s**4 - 21093750*p**3*q**3*s**4 - 89843750*q**5*s**4 + 182343750*p**4*q*r*s**4 + 733203125*p*q**3*r*s**4 - 196875000*p**2*q*r**2*s**4 + 1125000000*q*r**3*s**4 - 158203125*p**5*s**5 - 566406250*p**2*q**2*s**5 + 101562500*p**3*r*s**5 - 1669921875*q**2*r*s**5 + 1250000000*p*r**2*s**5 - 1220703125*p*q*s**6 + 6103515625*s**7 a[4] = 1000*p**5*q**7 + 7250*p**2*q**9 - 10800*p**6*q**5*r - 96900*p**3*q**7*r - 52500*q**9*r + 37400*p**7*q**3*r**2 + 470850*p**4*q**5*r**2 + 640600*p*q**7*r**2 - 39600*p**8*q*r**3 - 983600*p**5*q**3*r**3 - 2848100*p**2*q**5*r**3 + 814400*p**6*q*r**4 + 6076000*p**3*q**3*r**4 + 2308000*q**5*r**4 - 5024000*p**4*q*r**5 - 9680000*p*q**3*r**5 + 9600000*p**2*q*r**6 + 13800*p**7*q**4*s + 94650*p**4*q**6*s - 26500*p*q**8*s - 86400*p**8*q**2*r*s - 816500*p**5*q**4*r*s - 257500*p**2*q**6*r*s + 91800*p**9*r**2*s + 1853700*p**6*q**2*r**2*s + 630000*p**3*q**4*r**2*s - 8971250*q**6*r**2*s - 2071200*p**7*r**3*s - 7240000*p**4*q**2*r**3*s + 29375000*p*q**4*r**3*s + 14416000*p**5*r**4*s - 5200000*p**2*q**2*r**4*s - 30400000*p**3*r**5*s - 12000000*q**2*r**5*s + 64800*p**9*q*s**2 + 567000*p**6*q**3*s**2 + 1655000*p**3*q**5*s**2 + 6987500*q**7*s**2 + 337500*p**7*q*r*s**2 + 8462500*p**4*q**3*r*s**2 - 5812500*p*q**5*r*s**2 - 24930000*p**5*q*r**2*s**2 - 69125000*p**2*q**3*r**2*s**2 + 103500000*p**3*q*r**3*s**2 + 30000000*q**3*r**3*s**2 + 90000000*p*q*r**4*s**2 - 708750*p**8*s**3 - 5400000*p**5*q**2*s**3 + 8906250*p**2*q**4*s**3 + 18562500*p**6*r*s**3 - 625000*p**3*q**2*r*s**3 + 29687500*q**4*r*s**3 - 75000000*p**4*r**2*s**3 - 416250000*p*q**2*r**2*s**3 + 60000000*p**2*r**3*s**3 - 300000000*r**4*s**3 + 71718750*p**4*q*s**4 + 189062500*p*q**3*s**4 + 210937500*p**2*q*r*s**4 + 1187500000*q*r**2*s**4 - 187500000*p**3*s**5 - 800781250*q**2*s**5 - 390625000*p*r*s**5 a[3] = -500*p**6*q**5 - 6350*p**3*q**7 - 19800*q**9 + 3750*p**7*q**3*r + 65100*p**4*q**5*r + 264950*p*q**7*r - 6750*p**8*q*r**2 - 209050*p**5*q**3*r**2 - 1217250*p**2*q**5*r**2 + 219000*p**6*q*r**3 + 2510000*p**3*q**3*r**3 + 1098500*q**5*r**3 - 2068000*p**4*q*r**4 - 5060000*p*q**3*r**4 + 5200000*p**2*q*r**5 - 6750*p**8*q**2*s - 96350*p**5*q**4*s - 346000*p**2*q**6*s + 20250*p**9*r*s + 459900*p**6*q**2*r*s + 1828750*p**3*q**4*r*s - 2930000*q**6*r*s - 594000*p**7*r**2*s - 4301250*p**4*q**2*r**2*s + 10906250*p*q**4*r**2*s + 5252000*p**5*r**3*s - 1450000*p**2*q**2*r**3*s - 12800000*p**3*r**4*s - 6500000*q**2*r**4*s + 74250*p**7*q*s**2 + 1418750*p**4*q**3*s**2 + 5956250*p*q**5*s**2 - 4297500*p**5*q*r*s**2 - 29906250*p**2*q**3*r*s**2 + 31500000*p**3*q*r**2*s**2 + 12500000*q**3*r**2*s**2 + 35000000*p*q*r**3*s**2 + 1350000*p**6*s**3 + 6093750*p**3*q**2*s**3 + 17500000*q**4*s**3 - 7031250*p**4*r*s**3 - 127812500*p*q**2*r*s**3 + 18750000*p**2*r**2*s**3 - 162500000*r**3*s**3 + 107812500*p**2*q*s**4 + 460937500*q*r*s**4 - 214843750*p*s**5 a[2] = 1950*p**4*q**5 + 14100*p*q**7 - 14350*p**5*q**3*r - 125600*p**2*q**5*r + 27900*p**6*q*r**2 + 402250*p**3*q**3*r**2 + 288250*q**5*r**2 - 436000*p**4*q*r**3 - 1345000*p*q**3*r**3 + 1400000*p**2*q*r**4 + 9450*p**6*q**2*s - 1250*p**3*q**4*s - 465000*q**6*s - 49950*p**7*r*s - 302500*p**4*q**2*r*s + 1718750*p*q**4*r*s + 834000*p**5*r**2*s + 437500*p**2*q**2*r**2*s - 3100000*p**3*r**3*s - 1750000*q**2*r**3*s - 292500*p**5*q*s**2 - 1937500*p**2*q**3*s**2 + 3343750*p**3*q*r*s**2 + 1875000*q**3*r*s**2 + 8125000*p*q*r**2*s**2 - 1406250*p**4*s**3 - 12343750*p*q**2*s**3 + 5312500*p**2*r*s**3 - 43750000*r**2*s**3 + 74218750*q*s**4 a[1] = -300*p**5*q**3 - 2150*p**2*q**5 + 1350*p**6*q*r + 21500*p**3*q**3*r + 61500*q**5*r - 42000*p**4*q*r**2 - 290000*p*q**3*r**2 + 300000*p**2*q*r**3 - 4050*p**7*s - 45000*p**4*q**2*s - 125000*p*q**4*s + 108000*p**5*r*s + 643750*p**2*q**2*r*s - 700000*p**3*r**2*s - 375000*q**2*r**2*s - 93750*p**3*q*s**2 - 312500*q**3*s**2 + 1875000*p*q*r*s**2 - 1406250*p**2*s**3 - 9375000*r*s**3 a[0] = 1250*p**3*q**3 + 9000*q**5 - 4500*p**4*q*r - 46250*p*q**3*r + 50000*p**2*q*r**2 + 6750*p**5*s + 43750*p**2*q**2*s - 75000*p**3*r*s - 62500*q**2*r*s + 156250*p*q*s**2 - 1562500*s**3 return a @property def c(self): p, q, r, s = self.p, self.q, self.r, self.s c = [0]*6 c[5] = -40*p**5*q**11 - 270*p**2*q**13 + 700*p**6*q**9*r + 5165*p**3*q**11*r + 540*q**13*r - 4230*p**7*q**7*r**2 - 31845*p**4*q**9*r**2 + 20880*p*q**11*r**2 + 9645*p**8*q**5*r**3 + 57615*p**5*q**7*r**3 - 358255*p**2*q**9*r**3 - 1880*p**9*q**3*r**4 + 114020*p**6*q**5*r**4 + 2012190*p**3*q**7*r**4 - 26855*q**9*r**4 - 14400*p**10*q*r**5 - 470400*p**7*q**3*r**5 - 5088640*p**4*q**5*r**5 + 920*p*q**7*r**5 + 332800*p**8*q*r**6 + 5797120*p**5*q**3*r**6 + 1608000*p**2*q**5*r**6 - 2611200*p**6*q*r**7 - 7424000*p**3*q**3*r**7 - 2323200*q**5*r**7 + 8601600*p**4*q*r**8 + 9472000*p*q**3*r**8 - 10240000*p**2*q*r**9 - 3060*p**7*q**8*s - 39085*p**4*q**10*s - 132300*p*q**12*s + 36580*p**8*q**6*r*s + 520185*p**5*q**8*r*s + 1969860*p**2*q**10*r*s - 144045*p**9*q**4*r**2*s - 2438425*p**6*q**6*r**2*s - 10809475*p**3*q**8*r**2*s + 518850*q**10*r**2*s + 182520*p**10*q**2*r**3*s + 4533930*p**7*q**4*r**3*s + 26196770*p**4*q**6*r**3*s - 4542325*p*q**8*r**3*s + 21600*p**11*r**4*s - 2208080*p**8*q**2*r**4*s - 24787960*p**5*q**4*r**4*s + 10813900*p**2*q**6*r**4*s - 499200*p**9*r**5*s + 3827840*p**6*q**2*r**5*s + 9596000*p**3*q**4*r**5*s + 22662000*q**6*r**5*s + 3916800*p**7*r**6*s - 29952000*p**4*q**2*r**6*s - 90800000*p*q**4*r**6*s - 12902400*p**5*r**7*s + 87040000*p**2*q**2*r**7*s + 15360000*p**3*r**8*s + 12800000*q**2*r**8*s - 38070*p**9*q**5*s**2 - 566700*p**6*q**7*s**2 - 2574375*p**3*q**9*s**2 - 1822500*q**11*s**2 + 292815*p**10*q**3*r*s**2 + 5170280*p**7*q**5*r*s**2 + 27918125*p**4*q**7*r*s**2 + 21997500*p*q**9*r*s**2 - 573480*p**11*q*r**2*s**2 - 14566350*p**8*q**3*r**2*s**2 - 104851575*p**5*q**5*r**2*s**2 - 96448750*p**2*q**7*r**2*s**2 + 11001240*p**9*q*r**3*s**2 + 147798600*p**6*q**3*r**3*s**2 + 158632750*p**3*q**5*r**3*s**2 - 78222500*q**7*r**3*s**2 - 62819200*p**7*q*r**4*s**2 - 136160000*p**4*q**3*r**4*s**2 + 317555000*p*q**5*r**4*s**2 + 160224000*p**5*q*r**5*s**2 - 267600000*p**2*q**3*r**5*s**2 - 153600000*p**3*q*r**6*s**2 - 120000000*q**3*r**6*s**2 - 32000000*p*q*r**7*s**2 - 127575*p**11*q**2*s**3 - 2148750*p**8*q**4*s**3 - 13652500*p**5*q**6*s**3 - 19531250*p**2*q**8*s**3 + 495720*p**12*r*s**3 + 11856375*p**9*q**2*r*s**3 + 107807500*p**6*q**4*r*s**3 + 222334375*p**3*q**6*r*s**3 + 105062500*q**8*r*s**3 - 11566800*p**10*r**2*s**3 - 216787500*p**7*q**2*r**2*s**3 - 633437500*p**4*q**4*r**2*s**3 - 504484375*p*q**6*r**2*s**3 + 90918000*p**8*r**3*s**3 + 567080000*p**5*q**2*r**3*s**3 + 692937500*p**2*q**4*r**3*s**3 - 326640000*p**6*r**4*s**3 - 339000000*p**3*q**2*r**4*s**3 + 369250000*q**4*r**4*s**3 + 560000000*p**4*r**5*s**3 + 508000000*p*q**2*r**5*s**3 - 480000000*p**2*r**6*s**3 + 320000000*r**7*s**3 - 455625*p**10*q*s**4 - 27562500*p**7*q**3*s**4 - 120593750*p**4*q**5*s**4 - 60312500*p*q**7*s**4 + 110615625*p**8*q*r*s**4 + 662984375*p**5*q**3*r*s**4 + 528515625*p**2*q**5*r*s**4 - 541687500*p**6*q*r**2*s**4 - 1262343750*p**3*q**3*r**2*s**4 - 466406250*q**5*r**2*s**4 + 633000000*p**4*q*r**3*s**4 - 1264375000*p*q**3*r**3*s**4 + 1085000000*p**2*q*r**4*s**4 - 2700000000*q*r**5*s**4 - 68343750*p**9*s**5 - 478828125*p**6*q**2*s**5 - 355468750*p**3*q**4*s**5 - 11718750*q**6*s**5 + 718031250*p**7*r*s**5 + 1658593750*p**4*q**2*r*s**5 + 2212890625*p*q**4*r*s**5 - 2855625000*p**5*r**2*s**5 - 4273437500*p**2*q**2*r**2*s**5 + 4537500000*p**3*r**3*s**5 + 8031250000*q**2*r**3*s**5 - 1750000000*p*r**4*s**5 + 1353515625*p**5*q*s**6 + 1562500000*p**2*q**3*s**6 - 3964843750*p**3*q*r*s**6 - 7226562500*q**3*r*s**6 + 1953125000*p*q*r**2*s**6 - 1757812500*p**4*s**7 - 3173828125*p*q**2*s**7 + 6445312500*p**2*r*s**7 - 3906250000*r**2*s**7 + 6103515625*q*s**8 c[4] = 40*p**6*q**9 + 110*p**3*q**11 - 1080*q**13 - 560*p**7*q**7*r - 1780*p**4*q**9*r + 17370*p*q**11*r + 2850*p**8*q**5*r**2 + 10520*p**5*q**7*r**2 - 115910*p**2*q**9*r**2 - 6090*p**9*q**3*r**3 - 25330*p**6*q**5*r**3 + 448740*p**3*q**7*r**3 + 128230*q**9*r**3 + 4320*p**10*q*r**4 + 16960*p**7*q**3*r**4 - 1143600*p**4*q**5*r**4 - 1410310*p*q**7*r**4 + 3840*p**8*q*r**5 + 1744480*p**5*q**3*r**5 + 5619520*p**2*q**5*r**5 - 1198080*p**6*q*r**6 - 10579200*p**3*q**3*r**6 - 2940800*q**5*r**6 + 8294400*p**4*q*r**7 + 13568000*p*q**3*r**7 - 15360000*p**2*q*r**8 + 840*p**8*q**6*s + 7580*p**5*q**8*s + 24420*p**2*q**10*s - 8100*p**9*q**4*r*s - 94100*p**6*q**6*r*s - 473000*p**3*q**8*r*s - 473400*q**10*r*s + 22680*p**10*q**2*r**2*s + 374370*p**7*q**4*r**2*s + 2888020*p**4*q**6*r**2*s + 5561050*p*q**8*r**2*s - 12960*p**11*r**3*s - 485820*p**8*q**2*r**3*s - 6723440*p**5*q**4*r**3*s - 23561400*p**2*q**6*r**3*s + 190080*p**9*r**4*s + 5894880*p**6*q**2*r**4*s + 50882000*p**3*q**4*r**4*s + 22411500*q**6*r**4*s - 258560*p**7*r**5*s - 46248000*p**4*q**2*r**5*s - 103800000*p*q**4*r**5*s - 3737600*p**5*r**6*s + 119680000*p**2*q**2*r**6*s + 10240000*p**3*r**7*s + 19200000*q**2*r**7*s + 7290*p**10*q**3*s**2 + 117360*p**7*q**5*s**2 + 691250*p**4*q**7*s**2 - 198750*p*q**9*s**2 - 36450*p**11*q*r*s**2 - 854550*p**8*q**3*r*s**2 - 7340700*p**5*q**5*r*s**2 - 2028750*p**2*q**7*r*s**2 + 995490*p**9*q*r**2*s**2 + 18896600*p**6*q**3*r**2*s**2 + 5026500*p**3*q**5*r**2*s**2 - 52272500*q**7*r**2*s**2 - 16636800*p**7*q*r**3*s**2 - 43200000*p**4*q**3*r**3*s**2 + 223426250*p*q**5*r**3*s**2 + 112068000*p**5*q*r**4*s**2 - 177000000*p**2*q**3*r**4*s**2 - 244000000*p**3*q*r**5*s**2 - 156000000*q**3*r**5*s**2 + 43740*p**12*s**3 + 1032750*p**9*q**2*s**3 + 8602500*p**6*q**4*s**3 + 15606250*p**3*q**6*s**3 + 39625000*q**8*s**3 - 1603800*p**10*r*s**3 - 26932500*p**7*q**2*r*s**3 - 19562500*p**4*q**4*r*s**3 - 152000000*p*q**6*r*s**3 + 25555500*p**8*r**2*s**3 + 16230000*p**5*q**2*r**2*s**3 + 42187500*p**2*q**4*r**2*s**3 - 165660000*p**6*r**3*s**3 + 373500000*p**3*q**2*r**3*s**3 + 332937500*q**4*r**3*s**3 + 465000000*p**4*r**4*s**3 + 586000000*p*q**2*r**4*s**3 - 592000000*p**2*r**5*s**3 + 480000000*r**6*s**3 - 1518750*p**8*q*s**4 - 62531250*p**5*q**3*s**4 + 7656250*p**2*q**5*s**4 + 184781250*p**6*q*r*s**4 - 15781250*p**3*q**3*r*s**4 - 135156250*q**5*r*s**4 - 1148250000*p**4*q*r**2*s**4 - 2121406250*p*q**3*r**2*s**4 + 1990000000*p**2*q*r**3*s**4 - 3150000000*q*r**4*s**4 - 2531250*p**7*s**5 + 660937500*p**4*q**2*s**5 + 1339843750*p*q**4*s**5 - 33750000*p**5*r*s**5 - 679687500*p**2*q**2*r*s**5 + 6250000*p**3*r**2*s**5 + 6195312500*q**2*r**2*s**5 + 1125000000*p*r**3*s**5 - 996093750*p**3*q*s**6 - 3125000000*q**3*s**6 - 3222656250*p*q*r*s**6 + 1171875000*p**2*s**7 + 976562500*r*s**7 c[3] = 80*p**4*q**9 + 540*p*q**11 - 600*p**5*q**7*r - 4770*p**2*q**9*r + 1230*p**6*q**5*r**2 + 20900*p**3*q**7*r**2 + 47250*q**9*r**2 - 710*p**7*q**3*r**3 - 84950*p**4*q**5*r**3 - 526310*p*q**7*r**3 + 720*p**8*q*r**4 + 216280*p**5*q**3*r**4 + 2068020*p**2*q**5*r**4 - 198080*p**6*q*r**5 - 3703200*p**3*q**3*r**5 - 1423600*q**5*r**5 + 2860800*p**4*q*r**6 + 7056000*p*q**3*r**6 - 8320000*p**2*q*r**7 - 2720*p**6*q**6*s - 46350*p**3*q**8*s - 178200*q**10*s + 25740*p**7*q**4*r*s + 489490*p**4*q**6*r*s + 2152350*p*q**8*r*s - 61560*p**8*q**2*r**2*s - 1568150*p**5*q**4*r**2*s - 9060500*p**2*q**6*r**2*s + 24840*p**9*r**3*s + 1692380*p**6*q**2*r**3*s + 18098250*p**3*q**4*r**3*s + 9387750*q**6*r**3*s - 382560*p**7*r**4*s - 16818000*p**4*q**2*r**4*s - 49325000*p*q**4*r**4*s + 1212800*p**5*r**5*s + 64840000*p**2*q**2*r**5*s - 320000*p**3*r**6*s + 10400000*q**2*r**6*s - 36450*p**8*q**3*s**2 - 588350*p**5*q**5*s**2 - 2156250*p**2*q**7*s**2 + 123930*p**9*q*r*s**2 + 2879700*p**6*q**3*r*s**2 + 12548000*p**3*q**5*r*s**2 - 14445000*q**7*r*s**2 - 3233250*p**7*q*r**2*s**2 - 28485000*p**4*q**3*r**2*s**2 + 72231250*p*q**5*r**2*s**2 + 32093000*p**5*q*r**3*s**2 - 61275000*p**2*q**3*r**3*s**2 - 107500000*p**3*q*r**4*s**2 - 78500000*q**3*r**4*s**2 + 22000000*p*q*r**5*s**2 - 72900*p**10*s**3 - 1215000*p**7*q**2*s**3 - 2937500*p**4*q**4*s**3 + 9156250*p*q**6*s**3 + 2612250*p**8*r*s**3 + 16560000*p**5*q**2*r*s**3 - 75468750*p**2*q**4*r*s**3 - 32737500*p**6*r**2*s**3 + 169062500*p**3*q**2*r**2*s**3 + 121718750*q**4*r**2*s**3 + 160250000*p**4*r**3*s**3 + 219750000*p*q**2*r**3*s**3 - 317000000*p**2*r**4*s**3 + 260000000*r**5*s**3 + 2531250*p**6*q*s**4 + 22500000*p**3*q**3*s**4 + 39843750*q**5*s**4 - 266343750*p**4*q*r*s**4 - 776406250*p*q**3*r*s**4 + 789062500*p**2*q*r**2*s**4 - 1368750000*q*r**3*s**4 + 67500000*p**5*s**5 + 441406250*p**2*q**2*s**5 - 311718750*p**3*r*s**5 + 1785156250*q**2*r*s**5 + 546875000*p*r**2*s**5 - 1269531250*p*q*s**6 + 488281250*s**7 c[2] = 120*p**5*q**7 + 810*p**2*q**9 - 1280*p**6*q**5*r - 9160*p**3*q**7*r + 3780*q**9*r + 4530*p**7*q**3*r**2 + 36640*p**4*q**5*r**2 - 45270*p*q**7*r**2 - 5400*p**8*q*r**3 - 60920*p**5*q**3*r**3 + 200050*p**2*q**5*r**3 + 31200*p**6*q*r**4 - 476000*p**3*q**3*r**4 - 378200*q**5*r**4 + 521600*p**4*q*r**5 + 1872000*p*q**3*r**5 - 2240000*p**2*q*r**6 + 1440*p**7*q**4*s + 15310*p**4*q**6*s + 59400*p*q**8*s - 9180*p**8*q**2*r*s - 115240*p**5*q**4*r*s - 589650*p**2*q**6*r*s + 16200*p**9*r**2*s + 316710*p**6*q**2*r**2*s + 2547750*p**3*q**4*r**2*s + 2178000*q**6*r**2*s - 259200*p**7*r**3*s - 4123000*p**4*q**2*r**3*s - 11700000*p*q**4*r**3*s + 937600*p**5*r**4*s + 16340000*p**2*q**2*r**4*s - 640000*p**3*r**5*s + 2800000*q**2*r**5*s - 2430*p**9*q*s**2 - 54450*p**6*q**3*s**2 - 285500*p**3*q**5*s**2 - 2767500*q**7*s**2 + 43200*p**7*q*r*s**2 - 916250*p**4*q**3*r*s**2 + 14482500*p*q**5*r*s**2 + 4806000*p**5*q*r**2*s**2 - 13212500*p**2*q**3*r**2*s**2 - 25400000*p**3*q*r**3*s**2 - 18750000*q**3*r**3*s**2 + 8000000*p*q*r**4*s**2 + 121500*p**8*s**3 + 2058750*p**5*q**2*s**3 - 6656250*p**2*q**4*s**3 - 6716250*p**6*r*s**3 + 24125000*p**3*q**2*r*s**3 + 23875000*q**4*r*s**3 + 43125000*p**4*r**2*s**3 + 45750000*p*q**2*r**2*s**3 - 87500000*p**2*r**3*s**3 + 70000000*r**4*s**3 - 44437500*p**4*q*s**4 - 107968750*p*q**3*s**4 + 159531250*p**2*q*r*s**4 - 284375000*q*r**2*s**4 + 7031250*p**3*s**5 + 265625000*q**2*s**5 + 31250000*p*r*s**5 c[1] = 160*p**3*q**7 + 1080*q**9 - 1080*p**4*q**5*r - 8730*p*q**7*r + 1510*p**5*q**3*r**2 + 20420*p**2*q**5*r**2 + 720*p**6*q*r**3 - 23200*p**3*q**3*r**3 - 79900*q**5*r**3 + 35200*p**4*q*r**4 + 404000*p*q**3*r**4 - 480000*p**2*q*r**5 + 960*p**5*q**4*s + 2850*p**2*q**6*s + 540*p**6*q**2*r*s + 63500*p**3*q**4*r*s + 319500*q**6*r*s - 7560*p**7*r**2*s - 253500*p**4*q**2*r**2*s - 1806250*p*q**4*r**2*s + 91200*p**5*r**3*s + 2600000*p**2*q**2*r**3*s - 80000*p**3*r**4*s + 600000*q**2*r**4*s - 4050*p**7*q*s**2 - 120000*p**4*q**3*s**2 - 273750*p*q**5*s**2 + 425250*p**5*q*r*s**2 + 2325000*p**2*q**3*r*s**2 - 5400000*p**3*q*r**2*s**2 - 2875000*q**3*r**2*s**2 + 1500000*p*q*r**3*s**2 - 303750*p**6*s**3 - 843750*p**3*q**2*s**3 - 812500*q**4*s**3 + 5062500*p**4*r*s**3 + 13312500*p*q**2*r*s**3 - 14500000*p**2*r**2*s**3 + 15000000*r**3*s**3 - 3750000*p**2*q*s**4 - 35937500*q*r*s**4 + 11718750*p*s**5 c[0] = 80*p**4*q**5 + 540*p*q**7 - 600*p**5*q**3*r - 4770*p**2*q**5*r + 1080*p**6*q*r**2 + 11200*p**3*q**3*r**2 - 12150*q**5*r**2 - 4800*p**4*q*r**3 + 64000*p*q**3*r**3 - 80000*p**2*q*r**4 + 1080*p**6*q**2*s + 13250*p**3*q**4*s + 54000*q**6*s - 3240*p**7*r*s - 56250*p**4*q**2*r*s - 337500*p*q**4*r*s + 43200*p**5*r**2*s + 560000*p**2*q**2*r**2*s - 80000*p**3*r**3*s + 100000*q**2*r**3*s + 6750*p**5*q*s**2 + 225000*p**2*q**3*s**2 - 900000*p**3*q*r*s**2 - 562500*q**3*r*s**2 + 500000*p*q*r**2*s**2 + 843750*p**4*s**3 + 1937500*p*q**2*s**3 - 3000000*p**2*r*s**3 + 2500000*r**2*s**3 - 5468750*q*s**4 return c @property def F(self): p, q, r, s = self.p, self.q, self.r, self.s F = 4*p**6*q**6 + 59*p**3*q**8 + 216*q**10 - 36*p**7*q**4*r - 623*p**4*q**6*r - 2610*p*q**8*r + 81*p**8*q**2*r**2 + 2015*p**5*q**4*r**2 + 10825*p**2*q**6*r**2 - 1800*p**6*q**2*r**3 - 17500*p**3*q**4*r**3 + 625*q**6*r**3 + 10000*p**4*q**2*r**4 + 108*p**8*q**3*s + 1584*p**5*q**5*s + 5700*p**2*q**7*s - 486*p**9*q*r*s - 9720*p**6*q**3*r*s - 45050*p**3*q**5*r*s - 9000*q**7*r*s + 10800*p**7*q*r**2*s + 92500*p**4*q**3*r**2*s + 32500*p*q**5*r**2*s - 60000*p**5*q*r**3*s - 50000*p**2*q**3*r**3*s + 729*p**10*s**2 + 12150*p**7*q**2*s**2 + 60000*p**4*q**4*s**2 + 93750*p*q**6*s**2 - 18225*p**8*r*s**2 - 175500*p**5*q**2*r*s**2 - 478125*p**2*q**4*r*s**2 + 135000*p**6*r**2*s**2 + 850000*p**3*q**2*r**2*s**2 + 15625*q**4*r**2*s**2 - 250000*p**4*r**3*s**2 + 225000*p**3*q**3*s**3 + 175000*q**5*s**3 - 1012500*p**4*q*r*s**3 - 1187500*p*q**3*r*s**3 + 1250000*p**2*q*r**2*s**3 + 928125*p**5*s**4 + 1875000*p**2*q**2*s**4 - 2812500*p**3*r*s**4 - 390625*q**2*r*s**4 - 9765625*s**6 return F def l0(self, theta): F = self.F a = self.a l0 = Poly(a, x).eval(theta)/F return l0 def T(self, theta, d): F = self.F T = [0]*5 b = self.b # Note that the order of sublists of the b's has been reversed compared to the paper T[1] = -Poly(b[1], x).eval(theta)/(2*F) T[2] = Poly(b[2], x).eval(theta)/(2*d*F) T[3] = Poly(b[3], x).eval(theta)/(2*F) T[4] = Poly(b[4], x).eval(theta)/(2*d*F) return T def order(self, theta, d): F = self.F o = self.o order = Poly(o, x).eval(theta)/(d*F) return N(order) def uv(self, theta, d): c = self.c u = Rational(-25*self.q, 2) v = Poly(c, x).eval(theta)/(2*d*self.F) return N(u), N(v) @property def zeta(self): return [self.zeta1, self.zeta2, self.zeta3, self.zeta4]
510.547872
6,558
0.555088
25,035
95,983
2.127661
0.129539
0.026321
0.027034
0.009312
0.433015
0.34844
0.214227
0.148913
0.123606
0.123606
0
0.460198
0.088432
95,983
187
6,559
513.278075
0.148591
0.003928
0
0.144144
0
0
0.000387
0.000272
0
0
0
0
0
1
0.108108
false
0
0.027027
0.009009
0.243243
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
e021b8159be4a307e49f6ca332844339c78ca840
220
py
Python
api/src/lib/twitter/fields/__init__.py
kagemeka/twitter-api-python
c78e2b16177126d7808b90d09d6f565bd89dce5b
[ "MIT" ]
null
null
null
api/src/lib/twitter/fields/__init__.py
kagemeka/twitter-api-python
c78e2b16177126d7808b90d09d6f565bd89dce5b
[ "MIT" ]
null
null
null
api/src/lib/twitter/fields/__init__.py
kagemeka/twitter-api-python
c78e2b16177126d7808b90d09d6f565bd89dce5b
[ "MIT" ]
null
null
null
from .media_fields import ( MediaFields, ) from .place_fields import ( PlaceFields, ) from .poll_fields import ( PollFields, ) from .tweet_fields import ( TweetFields, ) from .user_fields import ( UserFields, )
14.666667
27
0.731818
25
220
6.24
0.52
0.384615
0
0
0
0
0
0
0
0
0
0
0.177273
220
15
28
14.666667
0.861878
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
1
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
0
1
0
0
0
0
4
e02f262481c5d8a3d2f9c4c57682335d1b713fdd
216
py
Python
build/env/bin/rst2html5.py
bopopescu/myhue
5f566970a5a1fa5af9f01832c9e9808c47634bc7
[ "Apache-2.0" ]
null
null
null
build/env/bin/rst2html5.py
bopopescu/myhue
5f566970a5a1fa5af9f01832c9e9808c47634bc7
[ "Apache-2.0" ]
2
2022-02-13T22:56:24.000Z
2022-03-02T10:06:35.000Z
build/env/bin/rst2html5.py
bopopescu/myhue
5f566970a5a1fa5af9f01832c9e9808c47634bc7
[ "Apache-2.0" ]
1
2020-07-25T07:03:40.000Z
2020-07-25T07:03:40.000Z
#!/home/inx/PycharmProjects/hue/build/env/bin/python2.7 # EASY-INSTALL-SCRIPT: 'docutils==0.14','rst2html5.py' __requires__ = 'docutils==0.14' __import__('pkg_resources').run_script('docutils==0.14', 'rst2html5.py')
43.2
72
0.74537
31
216
4.870968
0.709677
0.178808
0.218543
0.225166
0.370861
0.370861
0
0
0
0
0
0.072464
0.041667
216
4
73
54
0.657005
0.49537
0
0
0
0
0.495327
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
e035f9d9d18d3ccd4dfc6dca485e3e651ee83b44
28
py
Python
Random things/InputTest.py
4RandomProgrammer/Python
6f2c938e0378bdfd60b796a6d87cf37dac338563
[ "MIT" ]
null
null
null
Random things/InputTest.py
4RandomProgrammer/Python
6f2c938e0378bdfd60b796a6d87cf37dac338563
[ "MIT" ]
null
null
null
Random things/InputTest.py
4RandomProgrammer/Python
6f2c938e0378bdfd60b796a6d87cf37dac338563
[ "MIT" ]
null
null
null
x = float(input()) print(x)
9.333333
18
0.607143
5
28
3.4
0.8
0
0
0
0
0
0
0
0
0
0
0
0.142857
28
2
19
14
0.708333
0
0
0
0
0
0
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
e0512167d2a5c980fa6029bcf003fadef483be0e
27,880
py
Python
easy/spreadsheet_1d/spreadsheet_1d_test.py
late-goodbye/codingame-overcomplicated
2c24bd35b668237b07e64d4997f15a87e3c80e69
[ "MIT" ]
null
null
null
easy/spreadsheet_1d/spreadsheet_1d_test.py
late-goodbye/codingame-overcomplicated
2c24bd35b668237b07e64d4997f15a87e3c80e69
[ "MIT" ]
null
null
null
easy/spreadsheet_1d/spreadsheet_1d_test.py
late-goodbye/codingame-overcomplicated
2c24bd35b668237b07e64d4997f15a87e3c80e69
[ "MIT" ]
null
null
null
import unittest from easy.spreadsheet_1d.spreadsheet_1d import Spreadsheet def run_with_parameters(input_data, expected_output): def _format(data): return [int(x) for x in map(str.strip, data.split('\n')) if x] def inner_func(func): def wrapper(instance): spreadsheet = Spreadsheet(input_data) for cell_value, expected_value in zip(spreadsheet, _format(expected_output)): instance.assertEqual(cell_value, expected_value) return wrapper return inner_func class TestSpreadsheet(unittest.TestCase): @run_with_parameters(input_data=''' 2 VALUE 3 _ ADD $0 4 ''', expected_output=''' 3 7 ''') def test_simple_dependency(self): pass @run_with_parameters(input_data=''' 3 VALUE 20 _ ADD $0 100 ADD $1 1 ''', expected_output=''' 20 120 121 ''') def test_double_dependency(self): pass @run_with_parameters(input_data=''' 2 VALUE 12 _ SUB $0 3 ''', expected_output=''' 12 9 ''') def test_subtraction(self): pass @run_with_parameters(input_data=''' 2 VALUE 4 _ MULT 4 $0 ''', expected_output=''' 4 16 ''') def test_multiplication(self): pass @run_with_parameters(input_data=''' 3 ADD 1 2 SUB 3 1 MULT 2 4 ''', expected_output=''' 3 2 8 ''') def test_no_dependencies(self): pass @run_with_parameters(input_data=''' 7 VALUE 10 _ VALUE 3 _ MULT $0 $1 VALUE 2 _ VALUE 4 _ MULT $3 $4 ADD $2 $5 ''', expected_output=''' 10 3 30 2 4 8 38 ''') def test_coefficients(self): pass @run_with_parameters(input_data=''' 9 VALUE 0 _ VALUE 1 _ ADD $0 $1 ADD $1 $2 ADD $2 $3 ADD $3 $4 ADD $4 $5 ADD $5 $6 ADD $6 $7 ''', expected_output=''' 0 1 1 2 3 5 8 13 21 ''') def test_fibonacci(self): pass @run_with_parameters(input_data=''' 2 ADD $1 20 VALUE 32 _ ''', expected_output=''' 52 32 ''') def test_backward_dependency(self): pass @run_with_parameters(input_data=''' 4 SUB $1 4 VALUE 3 _ ADD 8 $1 MULT $0 $2 ''', expected_output=''' -1 3 11 -11 ''') def test_diamond_dependency(self): pass @run_with_parameters(input_data=''' 6 MULT $5 $2 ADD $5 $0 VALUE 12 _ ADD $2 $2 MULT $3 $2 SUB $3 $2 ''', expected_output=''' 144 156 12 24 288 12 ''') def test_accounting_is_easy(self): pass @run_with_parameters(input_data=''' 100 SUB $47 $9 SUB 44 $59 ADD $97 $67 ADD $1 $1 SUB $57 $67 ADD $47 $97 ADD $59 $59 SUB $50 $83 SUB $3 $93 SUB $4 $74 SUB $38 $0 ADD $29 $96 SUB $46 $97 SUB $5 $98 SUB $87 $66 SUB $86 $25 SUB $1 $98 SUB $84 $56 ADD $38 $78 ADD $46 $34 ADD $5 $76 SUB $3 $93 ADD $19 $31 ADD $97 $77 VALUE $54 _ SUB $6 $6 ADD $98 $2 ADD $59 $67 SUB $36 $86 SUB $98 $26 SUB $16 $7 VALUE $67 _ ADD $11 $84 VALUE $63 _ ADD $3 $6 VALUE $44 _ SUB $68 $5 ADD $7 $58 ADD $50 $82 ADD $88 -936 ADD $43 $47 ADD $58 842 SUB $80 $46 SUB $33 $96 SUB $43 $46 ADD $2 $8 ADD $59 $9 VALUE $2 _ SUB $65 $30 ADD 135 $65 ADD $71 $93 ADD $96 $67 ADD $6 $38 SUB $5 $8 SUB $67 $1 ADD $4 $71 VALUE $67 _ SUB $93 $54 SUB $51 $3 ADD 993 -871 ADD $6 $6 SUB $71 $65 ADD $25 $60 VALUE $59 _ ADD $6 $51 SUB $63 $97 VALUE $67 _ SUB 3 $59 ADD $88 $3 SUB $83 $53 SUB $50 $49 ADD $60 865 VALUE $53 _ SUB $29 $44 SUB $96 $25 ADD $21 $77 SUB $14 $30 SUB $27 $50 ADD $51 $5 SUB $40 $72 VALUE $90 _ ADD $87 $42 ADD $9 $47 SUB $97 $1 ADD $21 $44 ADD $78 $94 ADD $21 $71 ADD -730 $67 SUB $21 $89 SUB $83 $25 ADD $47 $84 ADD $6 $65 ADD $32 $22 ADD $27 $59 ADD $63 $11 ADD $65 $60 ADD $59 $6 SUB $1 $27 ADD $27 $83 SUB $19 $61 ''', expected_output=''' -119 -78 -200 -156 285 -281 244 1481 -281 -81 1316 566 122 -281 -730 1072 -78 -447 1163 129 548 -281 10 -1556 -41 0 -200 3 -1225 200 -1559 -119 0 122 88 -285 -153 1884 1197 -1214 -444 1245 -807 -244 -285 -481 41 -200 1762 338 1478 247 1441 0 -41 1638 -119 166 403 122 488 1150 488 122 491 203 -119 -119 -434 -3 1140 1353 0 485 366 -1756 829 -1475 -34 -444 -766 -1656 -281 -3 -566 654 1072 -849 -278 -3 -766 447 10 125 688 691 366 -81 0 -1021 ''') def test_accounting_is_hard_1(self): pass @run_with_parameters(input_data=''' 100 MULT $61 $95 ADD $26 $80 ADD $6 $0 ADD $98 $39 ADD $72 $14 SUB $12 $32 MULT $73 $86 ADD $80 $12 MULT $86 $60 SUB $39 $59 SUB $64 $83 SUB $98 $91 SUB $59 $80 MULT $65 $73 ADD $25 $3 ADD $93 $10 SUB $93 $72 MULT $43 $23 MULT $43 $51 MULT $71 $0 SUB $60 $3 ADD $77 $46 SUB $23 $40 MULT $99 $6 MULT $44 $39 VALUE $28 _ VALUE $43 _ ADD $92 $46 ADD $49 $86 SUB $82 $41 ADD $12 $89 ADD $91 $86 SUB $60 $9 MULT $51 $3 SUB $12 $94 ADD $12 $28 ADD $66 $69 SUB $53 $1 ADD $98 $53 ADD $98 $98 ADD $42 $59 SUB $64 $0 SUB $98 $6 MULT 609 -14 ADD $60 $55 SUB $59 -245 MULT $64 $1 MULT $99 $98 ADD $46 $97 SUB $86 $43 MULT $28 $18 MULT $64 $40 SUB $70 $32 MULT $91 $80 ADD $83 $6 ADD $97 $76 MULT $23 $45 SUB $53 $22 MULT $6 $10 ADD $39 $98 MULT $17 $26 MULT $93 $59 SUB $70 $99 SUB $64 $43 SUB $9 $9 MULT $91 $53 MULT $26 $80 ADD $9 $43 SUB $72 $13 ADD $64 $82 ADD $80 $45 SUB $12 $61 ADD $53 $73 SUB $43 $98 MULT $47 $86 SUB $56 $99 SUB $53 $51 ADD 681 $43 ADD $70 $18 MULT $12 $51 MULT $6 $45 SUB $99 $40 VALUE $45 _ SUB $59 $98 SUB $6 $59 MULT $55 $51 SUB $39 $39 SUB $26 $73 ADD $84 $92 ADD $97 $50 SUB $75 $66 ADD $86 $43 MULT 295 $60 MULT $31 $17 SUB $9 $11 SUB $87 $65 MULT $64 $55 MULT $49 $23 MULT -6 380 VALUE $53 _ ''', expected_output=''' 0 -8526 0 -6840 -4560 -4560 0 -6840 0 2280 4560 6246 -6840 0 1686 4560 6246 0 0 0 6840 -7845 9120 0 0 8526 -8526 0 8526 -6595 -6840 -8526 -2280 0 -2874 1686 -6595 8526 -2280 -4560 -9120 0 -2280 -8526 0 -6595 0 0 0 8526 0 0 -4315 0 -4560 0 0 -9120 0 -6840 0 0 -6595 8526 0 0 0 -6246 -6246 -6595 -6595 -6840 -6246 -6246 0 0 0 -7845 -6595 0 0 9120 -6595 -4560 6840 0 0 -2280 6840 0 0 -8526 0 0 -3966 -2280 0 0 -2280 0 ''') def test_accounting_is_hard_2(self): pass @run_with_parameters(input_data=''' 92 SUB $33 $64 ADD $60 $60 ADD $61 $61 SUB $76 $80 SUB $25 $59 ADD $58 $28 ADD $88 $59 ADD $32 $32 ADD $83 $21 ADD $69 $39 ADD $57 $64 ADD $26 $26 ADD $1 $1 SUB $62 $68 ADD $73 $1 ADD $50 $27 SUB $24 $2 ADD $14 $12 ADD $10 $89 SUB $67 $35 ADD $58 $58 ADD $7 $7 SUB $0 $89 ADD $20 $20 SUB $43 $61 SUB $53 $11 ADD $37 $37 ADD $82 $47 ADD $90 $2 ADD $89 $89 ADD $85 $85 SUB $91 $47 ADD $69 $69 SUB $46 $86 SUB $42 $20 ADD $12 $12 ADD $56 $8 ADD $72 $72 ADD $9 $32 ADD $30 $77 ADD $80 $48 ADD $79 $81 SUB $16 $58 SUB $44 $56 SUB $63 $21 ADD $20 $5 SUB $49 $81 ADD $54 $54 ADD $29 $18 SUB $34 $23 ADD $47 $47 SUB $74 $32 SUB $17 $72 SUB $71 $26 ADD $59 $59 ADD $15 $68 ADD $21 $21 ADD $86 $41 ADD $2 $2 ADD $11 $11 ADD $80 $80 ADD $56 $56 SUB $31 $50 SUB $51 $7 ADD $86 $86 ADD $72 $35 SUB $75 $30 SUB $70 $12 ADD $50 $50 ADD $30 $30 SUB $84 $1 SUB $52 $37 VALUE 1 _ ADD $40 $60 SUB $66 $69 SUB $13 $85 SUB $22 $29 ADD $55 $85 ADD $37 $65 ADD $23 $45 ADD $29 $29 ADD $23 $23 ADD $54 $6 ADD $38 $7 SUB $3 $60 ADD $68 $68 ADD $81 $81 ADD $78 $26 ADD $87 $11 ADD $64 $64 ADD $61 $36 SUB $4 $54 ''', expected_output=''' 2130706432 268435456 131072 2013265920 2147483616 1074266111 1073741855 8192 1073774591 1073745919 1090519039 8 536870912 2147483136 1610612735 1073742079 2147221504 2147483647 1107296255 0 524288 16384 2113929216 1048576 2147352576 2147483632 4 1073741951 1074003967 33554432 1024 2147483520 4096 2139095040 2146435072 1073741824 1073807359 2 1073750015 1073743871 1207959551 1077936127 2146959360 2147418112 2147450880 1074790399 2143289344 64 1140850687 2145386496 128 2147475456 2147483646 2147483640 32 1073742335 32768 1082130431 262144 16 134217728 65536 2147483392 2147467264 8388608 1073741825 2147481600 1073741824 256 2048 1610612736 2147483644 1 1342177279 2147479552 2147482624 2080374784 1073742847 1073741827 1075838975 67108864 2097152 1073741887 1073758207 1879048192 512 4194304 1073741831 1073741839 16777216 1073872895 2147483584 ''') def test_deep_recursion(self): pass if __name__ == '__main__': unittest.main()
35.246523
76
0.182712
1,560
27,880
3.18141
0.210256
0.006851
0.047955
0.062059
0.118678
0.100947
0.100947
0.073947
0.016119
0
0
0.418589
0.780811
27,880
790
77
35.291139
0.393553
0
0
0.250324
0
0
0.909146
0
0
0
0
0
0.001297
1
0.022049
false
0.016861
0.002594
0.001297
0.029831
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
e0569f4c1694a0f9a16c802350e0d32393d465f8
255
py
Python
model-optimizer/mo/main_onnx.py
NikDemoShow/openvino
31907e51e96f1603753dc69811bdf738374ca5e6
[ "Apache-2.0" ]
1
2020-07-07T10:13:00.000Z
2020-07-07T10:13:00.000Z
model-optimizer/mo/main_onnx.py
NikDemoShow/openvino
31907e51e96f1603753dc69811bdf738374ca5e6
[ "Apache-2.0" ]
105
2020-06-04T00:23:29.000Z
2022-02-21T13:04:33.000Z
model-optimizer/mo/main_onnx.py
v-Golubev/openvino
26936d1fbb025c503ee43fe74593ee9d7862ab15
[ "Apache-2.0" ]
4
2021-04-02T08:48:38.000Z
2021-07-01T06:59:02.000Z
# Copyright (C) 2021 Intel Corporation # SPDX-License-Identifier: Apache-2.0 import sys from mo.utils.cli_parser import get_onnx_cli_parser if __name__ == "__main__": from mo.main import main sys.exit(main(get_onnx_cli_parser(), None, 'onnx'))
23.181818
55
0.745098
40
255
4.375
0.625
0.154286
0.114286
0.182857
0
0
0
0
0
0
0
0.027523
0.145098
255
10
56
25.5
0.775229
0.282353
0
0
0
0
0.066667
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
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
e05ad9b8be247fb9d75be62ff6503840cf431042
116
py
Python
FlaskWebProject/__init__.py
rscohn2/rococal
80303fa71df08b8d561753f8eb7bb421f05a737b
[ "MIT" ]
null
null
null
FlaskWebProject/__init__.py
rscohn2/rococal
80303fa71df08b8d561753f8eb7bb421f05a737b
[ "MIT" ]
null
null
null
FlaskWebProject/__init__.py
rscohn2/rococal
80303fa71df08b8d561753f8eb7bb421f05a737b
[ "MIT" ]
null
null
null
""" The flask application package. """ from flask import Flask app = Flask(__name__) import FlaskWebProject.views
12.888889
30
0.758621
14
116
6
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.146552
116
8
31
14.5
0.848485
0.258621
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
e068ad18234d596e6f3ffd2eb2856f02cca8b7ea
94
py
Python
poll.py
cc-d/madmike-temperature-gauge
31d322ceee58954a4c76aa47d7c4d81a5306b70f
[ "MIT" ]
null
null
null
poll.py
cc-d/madmike-temperature-gauge
31d322ceee58954a4c76aa47d7c4d81a5306b70f
[ "MIT" ]
null
null
null
poll.py
cc-d/madmike-temperature-gauge
31d322ceee58954a4c76aa47d7c4d81a5306b70f
[ "MIT" ]
null
null
null
from run import poll_temp def main(): poll_temp() if __name__ == '__main__': main()
11.75
26
0.638298
13
94
3.846154
0.692308
0.32
0
0
0
0
0
0
0
0
0
0
0.234043
94
7
27
13.428571
0.694444
0
0
0
0
0
0.085106
0
0
0
0
0
0
1
0.2
true
0
0.2
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
0eb6c5c57b0ef88d92f800afa38851b258e617fb
42
py
Python
umr_line_driver/__init__.py
JQ-Networks/UMRLineDriver
37c6cda36e19671657390fbbab6ad1d2de4cd76d
[ "MIT" ]
null
null
null
umr_line_driver/__init__.py
JQ-Networks/UMRLineDriver
37c6cda36e19671657390fbbab6ad1d2de4cd76d
[ "MIT" ]
1
2020-07-26T06:35:46.000Z
2020-07-26T06:35:46.000Z
umr_line_driver/__init__.py
JQ-Networks/UMRLineDriver
37c6cda36e19671657390fbbab6ad1d2de4cd76d
[ "MIT" ]
1
2020-07-26T05:35:38.000Z
2020-07-26T05:35:38.000Z
from . import driver __VERSION__ = '0.2'
10.5
20
0.690476
6
42
4.166667
1
0
0
0
0
0
0
0
0
0
0
0.058824
0.190476
42
3
21
14
0.676471
0
0
0
0
0
0.071429
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
0eea3a977504b031461ec752c367a3c1dc07558e
748
py
Python
tests/test_misc.py
arolet/ot-sparse-projection
10952b9d0565a0a2b3476c28f2b8cef196fbc2c3
[ "MIT" ]
null
null
null
tests/test_misc.py
arolet/ot-sparse-projection
10952b9d0565a0a2b3476c28f2b8cef196fbc2c3
[ "MIT" ]
null
null
null
tests/test_misc.py
arolet/ot-sparse-projection
10952b9d0565a0a2b3476c28f2b8cef196fbc2c3
[ "MIT" ]
1
2021-06-03T16:19:55.000Z
2021-06-03T16:19:55.000Z
from ot_sparse_projection import misc def assert_not_power_of_2(a): if misc.is_power_of_two(a): raise AssertionError("{} is a power of 2".format(a)) def assert_power_of_2(a): if not misc.is_power_of_two(a): raise AssertionError("{} is not a power of 2".format(a)) def test_is_power_of_two(): assert_not_power_of_2(-1) assert_not_power_of_2(0) assert_not_power_of_2(3) assert_not_power_of_2(10) assert_not_power_of_2(6) assert_not_power_of_2(11) assert_not_power_of_2(1025) assert_not_power_of_2(2.1) assert_power_of_2(2) assert_power_of_2(2.) assert_power_of_2(1) assert_power_of_2(4) assert_power_of_2(64) assert_power_of_2(1024) assert_power_of_2(1 << 30)
24.933333
64
0.723262
144
748
3.256944
0.215278
0.328358
0.324094
0.307036
0.763326
0.373134
0.336887
0.255864
0.255864
0
0
0.075286
0.183155
748
29
65
25.793103
0.692308
0
0
0
0
0
0.053476
0
0
0
0
0
0.826087
1
0.130435
false
0
0.043478
0
0.173913
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
4
160f05f1ecd241951e7a4899a129c589fe448e7f
227
py
Python
VBDiarization_not_working/vbdiar/vad/__init__.py
yt2639/CMI_VoiceAnalysis
74d30bbda66296acdb53f7c0028b7daa034e86bf
[ "CNRI-Python" ]
null
null
null
VBDiarization_not_working/vbdiar/vad/__init__.py
yt2639/CMI_VoiceAnalysis
74d30bbda66296acdb53f7c0028b7daa034e86bf
[ "CNRI-Python" ]
null
null
null
VBDiarization_not_working/vbdiar/vad/__init__.py
yt2639/CMI_VoiceAnalysis
74d30bbda66296acdb53f7c0028b7daa034e86bf
[ "CNRI-Python" ]
1
2020-05-08T15:10:40.000Z
2020-05-08T15:10:40.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (C) 2018 Brno University of Technology FIT # Author: Jan Profant <xprofa00@stud.fit.vutbr.cz> # All Rights Reserved from vad import load_vad_lab_as_bool_vec, get_vad
25.222222
54
0.735683
37
227
4.351351
0.918919
0
0
0
0
0
0
0
0
0
0
0.035897
0.140969
227
8
55
28.375
0.789744
0.722467
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
1610d2815ec77bd4791a5f4b380d4968c080d38c
201
py
Python
autocomplete_light/apps.py
blueyed/django-autocomplete-light
92cc9187268ba25e58fdf33f771f3a6cc33404ce
[ "MIT" ]
1
2015-10-12T21:42:05.000Z
2015-10-12T21:42:05.000Z
autocomplete_light/apps.py
blueyed/django-autocomplete-light
92cc9187268ba25e58fdf33f771f3a6cc33404ce
[ "MIT" ]
null
null
null
autocomplete_light/apps.py
blueyed/django-autocomplete-light
92cc9187268ba25e58fdf33f771f3a6cc33404ce
[ "MIT" ]
null
null
null
from django.apps import AppConfig import autocomplete_light class AutocompleteLightConfig(AppConfig): name = 'autocomplete_light' def ready(self): autocomplete_light.autodiscover()
18.272727
41
0.766169
20
201
7.55
0.7
0.337748
0
0
0
0
0
0
0
0
0
0
0.169154
201
10
42
20.1
0.904192
0
0
0
0
0
0.089552
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.833333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
16254d4f56a9eccd7ceedb102e35a37b371e9ba4
346
py
Python
deep_utils/utils/utils/__init__.py
FeryET/deep_utils
be671aa1bfa0dfb0a2ca5675701c2383faed3e70
[ "MIT" ]
null
null
null
deep_utils/utils/utils/__init__.py
FeryET/deep_utils
be671aa1bfa0dfb0a2ca5675701c2383faed3e70
[ "MIT" ]
null
null
null
deep_utils/utils/utils/__init__.py
FeryET/deep_utils
be671aa1bfa0dfb0a2ca5675701c2383faed3e70
[ "MIT" ]
null
null
null
from .main import shift_lst, dictnamedtuple, easy_argparse from .pickles import dump_pickle, load_pickle from .unzip import unzip from .str_utils import color_str from .seeds import tf_set_seed from .logging_ import get_logger, log_print, value_error_log, get_conf_matrix, get_cls_report, save_params from .json_utils import load_json, dump_json
43.25
106
0.846821
57
346
4.77193
0.596491
0.080882
0
0
0
0
0
0
0
0
0
0
0.106936
346
7
107
49.428571
0.880259
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0.142857
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
162880d679c96d6d05286574e291202de0225e31
91
py
Python
blueair/__main__.py
thedjinn/blueair-py
6b10a3f7c2a13560af682ceef8c631b249bb41ed
[ "MIT" ]
1
2021-12-19T02:07:17.000Z
2021-12-19T02:07:17.000Z
blueair/__main__.py
aijayadams/blueair-py
8887748d26c5ea1add1afaa287d8cbf04d692c6c
[ "MIT" ]
1
2021-12-18T14:35:04.000Z
2021-12-18T14:35:04.000Z
blueair/__main__.py
aijayadams/blueair-py
8887748d26c5ea1add1afaa287d8cbf04d692c6c
[ "MIT" ]
2
2021-02-20T02:11:00.000Z
2021-06-14T05:55:07.000Z
"""Entry point for running the Blueair client as a module.""" from .cli import run run()
15.166667
61
0.703297
15
91
4.266667
0.933333
0
0
0
0
0
0
0
0
0
0
0
0.186813
91
5
62
18.2
0.864865
0.604396
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
1645921de10061eab93d90a008cc53783ada9050
93
py
Python
egresados/apps.py
SurielRuano/backend-mi-primer-empleo
394849947fc7cda8b7a736e8605ad2c4c66523a9
[ "MIT" ]
null
null
null
egresados/apps.py
SurielRuano/backend-mi-primer-empleo
394849947fc7cda8b7a736e8605ad2c4c66523a9
[ "MIT" ]
null
null
null
egresados/apps.py
SurielRuano/backend-mi-primer-empleo
394849947fc7cda8b7a736e8605ad2c4c66523a9
[ "MIT" ]
null
null
null
from django.apps import AppConfig class EgresadosConfig(AppConfig): name = 'egresados'
15.5
33
0.763441
10
93
7.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.16129
93
5
34
18.6
0.910256
0
0
0
0
0
0.096774
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
165815bf8f5462ef73ae30f564187aa75818bcea
213
py
Python
auth.py
c-wilkinson/twitter-bot
c482b88f2f822fc876f8dbd74542d8e995f0a5bb
[ "Unlicense" ]
1
2022-03-15T18:54:22.000Z
2022-03-15T18:54:22.000Z
auth.py
c-wilkinson/twitter-bot
c482b88f2f822fc876f8dbd74542d8e995f0a5bb
[ "Unlicense" ]
6
2021-07-21T16:20:59.000Z
2021-07-21T17:45:59.000Z
auth.py
c-wilkinson/twitter-bot
c482b88f2f822fc876f8dbd74542d8e995f0a5bb
[ "Unlicense" ]
null
null
null
consumer_key = '{{ secrets.consumer_key }}' consumer_secret = '{{ secrets.consumer_secret }}' access_token = '{{ secrets.access_token }}' access_token_secret = '{{ secrets.access_token_secret }}'
53.25
57
0.676056
22
213
6.090909
0.272727
0.328358
0.268657
0
0
0
0
0
0
0
0
0
0.173709
213
4
57
53.25
0.761364
0
0
0
0
0
0.53271
0.233645
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
166501cdfa6250a24ffe12bedefee746a5c32695
94
py
Python
uploadfile/apps.py
wh8983298/GreaterWMS
487e819fcf21a0dca1c74f5b44bc7221353ea3e2
[ "Apache-2.0" ]
1,063
2020-11-15T12:55:15.000Z
2022-03-31T14:33:12.000Z
uploadfile/apps.py
wh8983298/GreaterWMS
487e819fcf21a0dca1c74f5b44bc7221353ea3e2
[ "Apache-2.0" ]
96
2020-11-18T00:06:05.000Z
2022-03-03T09:05:39.000Z
uploadfile/apps.py
wh8983298/GreaterWMS
487e819fcf21a0dca1c74f5b44bc7221353ea3e2
[ "Apache-2.0" ]
349
2020-11-15T13:15:30.000Z
2022-03-31T11:01:15.000Z
from django.apps import AppConfig class UploadfileConfig(AppConfig): name = 'uploadfile'
18.8
34
0.776596
10
94
7.3
0.9
0
0
0
0
0
0
0
0
0
0
0
0.148936
94
4
35
23.5
0.9125
0
0
0
0
0
0.106383
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
166af602555835604a1254455dcc898a6ba400ce
137
py
Python
is_triangle.py
Lioheart/python-samples
de5f82b20fa216178e0084b7693e42df4fcaf883
[ "Unlicense" ]
null
null
null
is_triangle.py
Lioheart/python-samples
de5f82b20fa216178e0084b7693e42df4fcaf883
[ "Unlicense" ]
null
null
null
is_triangle.py
Lioheart/python-samples
de5f82b20fa216178e0084b7693e42df4fcaf883
[ "Unlicense" ]
null
null
null
# Sprawdza, czy z podanych boków można utworzyć trójkąt. Zwraca bool def is_triangle(a, b, c): return (a<b+c) and (b<a+c) and (c<a+b)
45.666667
68
0.678832
28
137
3.285714
0.642857
0.065217
0.065217
0
0
0
0
0
0
0
0
0
0.175182
137
3
69
45.666667
0.814159
0.481752
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
16b3394dcf045e5050880b102c925ec91cda19a5
903
py
Python
data_gen/column.py
dungeontiger/data_gen
d6fcd3bce1a9a46a39e26a6b3cb28f0237b2942d
[ "MIT" ]
null
null
null
data_gen/column.py
dungeontiger/data_gen
d6fcd3bce1a9a46a39e26a6b3cb28f0237b2942d
[ "MIT" ]
null
null
null
data_gen/column.py
dungeontiger/data_gen
d6fcd3bce1a9a46a39e26a6b3cb28f0237b2942d
[ "MIT" ]
null
null
null
import random class Column: def __init__(self, name, get_value): self.name = name self.values = [] self._get_value = get_value # returns the generated value def generate(self): return None # returns true of a condition in this column says it should stop # for example, have generated all necessary dates def stop(self): return False def get_name(self): return self.name def get_value(self, column_name=None, table_name=None, random_value=False): if table_name is None and (column_name is None or column_name == self.name): if random_value: return random.choice(self.values) return self.values[-1] return self._get_value(column_name, table_name, random_value) def get_columns(self): # this is overridden for multicolumn columns return [self]
29.129032
84
0.647841
122
903
4.606557
0.360656
0.071174
0.042705
0
0
0
0
0
0
0
0
0.001543
0.282392
903
31
85
29.129032
0.865741
0.200443
0
0
1
0
0
0
0
0
0
0
0
1
0.3
false
0
0.05
0.2
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
bc5e3b69794f685bfb94a1a2f20059058e1a8d65
79
py
Python
day_4/day_4.py
PavcaHyx/advent-of-code-2021
81bf8bc524ff9b9f193dba76eda89f5a58001d41
[ "MIT" ]
null
null
null
day_4/day_4.py
PavcaHyx/advent-of-code-2021
81bf8bc524ff9b9f193dba76eda89f5a58001d41
[ "MIT" ]
null
null
null
day_4/day_4.py
PavcaHyx/advent-of-code-2021
81bf8bc524ff9b9f193dba76eda89f5a58001d41
[ "MIT" ]
null
null
null
import numpy as np new_matrix = np.array([[1,2,3], [1,2,3]]) print(new_matrix)
19.75
41
0.670886
17
79
3
0.647059
0.352941
0.117647
0
0
0
0
0
0
0
0
0.085714
0.113924
79
4
42
19.75
0.642857
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
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
bc6025bca131cb7a01bce255e1127db9a413377f
334
py
Python
anomaly_detection/__init__.py
havenmoney/AnomalyDetection
506856d2218c0ce215b0e2299aad229d3d2afe33
[ "Apache-2.0" ]
10
2018-10-29T04:43:08.000Z
2020-11-21T06:08:58.000Z
anomaly_detection/__init__.py
havenmoney/AnomalyDetection
506856d2218c0ce215b0e2299aad229d3d2afe33
[ "Apache-2.0" ]
null
null
null
anomaly_detection/__init__.py
havenmoney/AnomalyDetection
506856d2218c0ce215b0e2299aad229d3d2afe33
[ "Apache-2.0" ]
1
2018-12-07T09:22:13.000Z
2018-12-07T09:22:13.000Z
# -*- coding: utf-8 -*- """ anomaly_detection A Pure Python library of Twitter's AnomalyDetection R Package. :license: Apache-2.0, see LICENSE for more details. """ __version__ = '0.0.2' from anomaly_detection.anomaly_detect_ts import anomaly_detect_ts from anomaly_detection.anomaly_detect_vec import anomaly_detect_vec
30.363636
67
0.766467
48
334
5.020833
0.604167
0.215768
0.165975
0.224066
0.273859
0
0
0
0
0
0
0.020979
0.143713
334
10
68
33.4
0.821678
0.464072
0
0
0
0
0.031447
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
bc714755a1a49944e8f45323ddf4da5cf904cabc
192
py
Python
tests/micropython/stack_use.py
learnforpractice/micropython-cpp
004bc8382f74899e7b876cc29bfa6a9cc976ba10
[ "MIT" ]
692
2016-12-19T23:25:35.000Z
2022-03-31T14:20:48.000Z
tests/micropython/stack_use.py
learnforpractice/micropython-cpp
004bc8382f74899e7b876cc29bfa6a9cc976ba10
[ "MIT" ]
509
2017-03-28T19:37:18.000Z
2022-03-31T20:31:43.000Z
tests/micropython/stack_use.py
learnforpractice/micropython-cpp
004bc8382f74899e7b876cc29bfa6a9cc976ba10
[ "MIT" ]
228
2016-12-19T05:03:30.000Z
2022-03-22T18:13:00.000Z
# tests stack_use function in micropython module import micropython if not hasattr(micropython, 'stack_use'): print('SKIP') else: print(type(micropython.stack_use())) # output varies
24
56
0.75
25
192
5.64
0.68
0.170213
0.269504
0
0
0
0
0
0
0
0
0
0.145833
192
7
57
27.428571
0.859756
0.3125
0
0
0
0
0.100775
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
bc7cf152ff026b171c5fb51a4a5f165a70911b2f
88
py
Python
binsize/apps.py
wh8983298/GreaterWMS
487e819fcf21a0dca1c74f5b44bc7221353ea3e2
[ "Apache-2.0" ]
1,063
2020-11-15T12:55:15.000Z
2022-03-31T14:33:12.000Z
binsize/apps.py
ashrafali46/GreaterWMS
1aed14a8c26c8ac4571db5e6b07ab7e4fa3c7c72
[ "Apache-2.0" ]
96
2020-11-18T00:06:05.000Z
2022-03-03T09:05:39.000Z
binsize/apps.py
ashrafali46/GreaterWMS
1aed14a8c26c8ac4571db5e6b07ab7e4fa3c7c72
[ "Apache-2.0" ]
349
2020-11-15T13:15:30.000Z
2022-03-31T11:01:15.000Z
from django.apps import AppConfig class BinsizeConfig(AppConfig): name = 'binsize'
17.6
33
0.761364
10
88
6.7
0.9
0
0
0
0
0
0
0
0
0
0
0
0.159091
88
4
34
22
0.905405
0
0
0
0
0
0.079545
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
bc815efbf171e17cd455943f961ef8a39d5f8b76
1,130
py
Python
openapi_client/test/test_fetchs_api.py
osuka/dognews-scraper
12373064061157083a48ced8e2cabf9d1ace30a5
[ "MIT" ]
1
2019-11-15T13:19:36.000Z
2019-11-15T13:19:36.000Z
openapi_client/test/test_fetchs_api.py
osuka/news-extractor
12373064061157083a48ced8e2cabf9d1ace30a5
[ "MIT" ]
null
null
null
openapi_client/test/test_fetchs_api.py
osuka/news-extractor
12373064061157083a48ced8e2cabf9d1ace30a5
[ "MIT" ]
null
null
null
""" Dognews Server API Dognews Server client API # noqa: E501 The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech """ import unittest import openapi_client from openapi_client.api.fetchs_api import FetchsApi # noqa: E501 class TestFetchsApi(unittest.TestCase): """FetchsApi unit test stubs""" def setUp(self): self.api = FetchsApi() # noqa: E501 def tearDown(self): pass def test_fetchs_create(self): """Test case for fetchs_create """ pass def test_fetchs_destroy(self): """Test case for fetchs_destroy """ pass def test_fetchs_list(self): """Test case for fetchs_list """ pass def test_fetchs_partial_update(self): """Test case for fetchs_partial_update """ pass def test_fetchs_retrieve(self): """Test case for fetchs_retrieve """ pass def test_fetchs_update(self): """Test case for fetchs_update """ pass if __name__ == '__main__': unittest.main()
17.384615
65
0.60177
132
1,130
4.916667
0.340909
0.064715
0.101695
0.157165
0.212635
0.083205
0
0
0
0
0
0.015287
0.30531
1,130
64
66
17.65625
0.811465
0.384071
0
0.318182
1
0
0.012579
0
0
0
0
0
0
1
0.363636
false
0.318182
0.136364
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
4
bc90eabd35f5202112c869783f0435eb4dbedcfb
193
py
Python
code/abc079_c_01.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
3
2019-08-16T16:55:48.000Z
2021-04-11T10:21:40.000Z
code/abc079_c_01.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
code/abc079_c_01.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
s=input() op=["+","-"] for i in op: for j in op: for k in op: f=s[0]+i+s[1]+j+s[2]+k+s[3] if eval(f)==7: print(f+"=7") exit()
21.444444
39
0.326425
35
193
1.8
0.514286
0.238095
0.222222
0
0
0
0
0
0
0
0
0.056075
0.445596
193
9
40
21.444444
0.53271
0
0
0
0
0
0.020619
0
0
0
0
0
0
1
0
false
0
0
0
0
0.111111
0
0
1
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
bc939167c207a6702532d093bbe6221a27b8ed8e
98
py
Python
lib/constants.py
d-e-e-p/compare_image_annotations
c26e7a33abb506dbfa87c4dd4bca77e47547566c
[ "BSD-3-Clause" ]
null
null
null
lib/constants.py
d-e-e-p/compare_image_annotations
c26e7a33abb506dbfa87c4dd4bca77e47547566c
[ "BSD-3-Clause" ]
null
null
null
lib/constants.py
d-e-e-p/compare_image_annotations
c26e7a33abb506dbfa87c4dd4bca77e47547566c
[ "BSD-3-Clause" ]
null
null
null
VERSION = "3.5" BUILD_DATE = "2022-03-03 11:50:25.180804" AUTHOR = "deep@tensorfield.ag"
24.5
43
0.632653
16
98
3.8125
0.9375
0
0
0
0
0
0
0
0
0
0
0.278481
0.193878
98
3
44
32.666667
0.493671
0
0
0
0
0
0.489796
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
bcb213dbe622aa1f4fbec7a0210d4072b5118e3e
201
py
Python
src/ua/console/task16/solution.py
DataArt/kiddo-tasks
9e15241a6a3f152b4b64a345d923224450c0adee
[ "Apache-2.0" ]
null
null
null
src/ua/console/task16/solution.py
DataArt/kiddo-tasks
9e15241a6a3f152b4b64a345d923224450c0adee
[ "Apache-2.0" ]
null
null
null
src/ua/console/task16/solution.py
DataArt/kiddo-tasks
9e15241a6a3f152b4b64a345d923224450c0adee
[ "Apache-2.0" ]
null
null
null
import console a = console.get_value("a") b = console.get_value("b") if a == 2: console.set_value("c", a + b) elif a == 1: console.set_value("c", b - a) elif a == 0: console.set_value("c", 0)
20.1
32
0.60199
38
201
3.052632
0.342105
0.258621
0.387931
0.413793
0
0
0
0
0
0
0
0.024691
0.19403
201
9
33
22.333333
0.691358
0
0
0
0
0
0.024876
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
bcbab3a0c1d6a343ccd8bf2c09111f232f8fe616
194
py
Python
create_config_file/__init__.py
fujiawei-dev/tookit-py
5ab3a18a41885f6166150cc27183621b96f8f991
[ "BSD-3-Clause" ]
null
null
null
create_config_file/__init__.py
fujiawei-dev/tookit-py
5ab3a18a41885f6166150cc27183621b96f8f991
[ "BSD-3-Clause" ]
null
null
null
create_config_file/__init__.py
fujiawei-dev/tookit-py
5ab3a18a41885f6166150cc27183621b96f8f991
[ "BSD-3-Clause" ]
null
null
null
""" Date: 2022.02.03 9:09 Description: Create or display the configuration of commonly used software. LastEditors: Rustle Karl LastEditTime: 2022.02.03 9:09 """ from .command import command_ccf
24.25
75
0.778351
30
194
5
0.8
0.08
0.106667
0.12
0.146667
0
0
0
0
0
0
0.130178
0.128866
194
7
76
27.714286
0.757396
0.783505
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
bcc0a5e30bcd927520f1c771c4f15f6ab6b775ab
213
py
Python
src/utility.py
brodzik/pszt-project-1
85dcdc3ed58019ac2be5a73bf00360b8fc3082b2
[ "MIT" ]
1
2020-09-17T10:37:48.000Z
2020-09-17T10:37:48.000Z
src/utility.py
brodzik/pszt-project-1
85dcdc3ed58019ac2be5a73bf00360b8fc3082b2
[ "MIT" ]
null
null
null
src/utility.py
brodzik/pszt-project-1
85dcdc3ed58019ac2be5a73bf00360b8fc3082b2
[ "MIT" ]
null
null
null
# Authors: # Adrian Brodzik # Jakub Górka import os import random import numpy as np def seed_everything(seed): random.seed(seed) os.environ["PYTHONHASHSEED"] = str(seed) np.random.seed(seed)
13.3125
44
0.690141
29
213
5.034483
0.586207
0.136986
0.191781
0
0
0
0
0
0
0
0
0
0.206573
213
15
45
14.2
0.863905
0.183099
0
0
0
0
0.082353
0
0
0
0
0
0
1
0.142857
false
0
0.428571
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
0
0
0
1
0
1
0
0
4
bcc7a83b0d246786e77425e0a9517387a308a703
298
py
Python
stackimplementation.py
gkanishk44/Python-projects
1a89deab2bd68e766f03a22df516599901c72f6d
[ "MIT" ]
1
2021-01-04T06:26:25.000Z
2021-01-04T06:26:25.000Z
stackimplementation.py
gkanishk44/Python-projects
1a89deab2bd68e766f03a22df516599901c72f6d
[ "MIT" ]
null
null
null
stackimplementation.py
gkanishk44/Python-projects
1a89deab2bd68e766f03a22df516599901c72f6d
[ "MIT" ]
null
null
null
from collections import deque stack = deque() stack.append('a') stack.append('b') stack.append('c') print('Initial stack:') print(stack) print('\nElements poped from stack:') print(stack.pop()) print(stack.pop()) print(stack.pop()) print('\nStack after elements are poped:') print(stack)
15.684211
42
0.697987
42
298
4.952381
0.428571
0.240385
0.1875
0.259615
0.211538
0.211538
0.211538
0
0
0
0
0
0.120805
298
18
43
16.555556
0.793893
0
0
0.384615
0
0
0.261745
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0.615385
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
4c456ca41d4482dd380e7e73da1b76efa4f26450
5,361
py
Python
fhirclient/models/provenance_tests.py
NematiLab/Streaming-Sepsis-Prediction-System-for-Intensive-Care-Units
fb5ad260fb8d264d85aea9e6c895d1700eea4d11
[ "Apache-2.0" ]
2
2019-05-16T16:41:22.000Z
2021-04-22T22:06:49.000Z
fhirclient/models/provenance_tests.py
NematiLab/Streaming-Sepsis-Prediction-System-for-Intensive-Care-Units
fb5ad260fb8d264d85aea9e6c895d1700eea4d11
[ "Apache-2.0" ]
null
null
null
fhirclient/models/provenance_tests.py
NematiLab/Streaming-Sepsis-Prediction-System-for-Intensive-Care-Units
fb5ad260fb8d264d85aea9e6c895d1700eea4d11
[ "Apache-2.0" ]
3
2019-03-26T01:39:18.000Z
2020-02-02T19:06:33.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Generated from FHIR 1.0.2.7202 on 2016-06-23. # 2016, SMART Health IT. import os import io import unittest import json from . import provenance from .fhirdate import FHIRDate class ProvenanceTests(unittest.TestCase): def instantiate_from(self, filename): datadir = os.environ.get('FHIR_UNITTEST_DATADIR') or '' with io.open(os.path.join(datadir, filename), 'r', encoding='utf-8') as handle: js = json.load(handle) self.assertEqual("Provenance", js["resourceType"]) return provenance.Provenance(js) def testProvenance1(self): inst = self.instantiate_from("provenance-example-sig.json") self.assertIsNotNone(inst, "Must have instantiated a Provenance instance") self.implProvenance1(inst) js = inst.as_json() self.assertEqual("Provenance", js["resourceType"]) inst2 = provenance.Provenance(js) self.implProvenance1(inst2) def implProvenance1(self, inst): self.assertEqual(inst.activity.coding[0].code, "AU") self.assertEqual(inst.activity.coding[0].display, "authenticated") self.assertEqual(inst.activity.coding[0].system, "http://hl7.org/fhir/v3/DocumentCompletion") self.assertEqual(inst.agent[0].role.code, "verifier") self.assertEqual(inst.agent[0].role.system, "http://hl7.org/fhir/provenance-participant-role") self.assertEqual(inst.agent[0].userId.system, "http://acme.com/fhir/users/sso") self.assertEqual(inst.agent[0].userId.value, "hhd") self.assertEqual(inst.id, "signature") self.assertEqual(inst.reason[0].coding[0].code, "TREAT") self.assertEqual(inst.reason[0].coding[0].display, "treatment") self.assertEqual(inst.reason[0].coding[0].system, "http://hl7.org/fhir/v3/ActReason") self.assertEqual(inst.recorded.date, FHIRDate("2015-08-27T08:39:24+10:00").date) self.assertEqual(inst.recorded.as_json(), "2015-08-27T08:39:24+10:00") self.assertEqual(inst.signature[0].blob, "Li4u") self.assertEqual(inst.signature[0].contentType, "application/signature+xml") self.assertEqual(inst.signature[0].type[0].code, "1.2.840.10065.1.12.1.5") self.assertEqual(inst.signature[0].type[0].display, "Verification") self.assertEqual(inst.signature[0].type[0].system, "http://hl7.org/fhir/valueset-signature-type") self.assertEqual(inst.signature[0].when.date, FHIRDate("2015-08-27T08:39:24+10:00").date) self.assertEqual(inst.signature[0].when.as_json(), "2015-08-27T08:39:24+10:00") self.assertEqual(inst.text.div, "<div>procedure record authored on 27-June 2015 by Harold Hippocrates, MD Content extracted from Referral received 26-June</div>") self.assertEqual(inst.text.status, "generated") def testProvenance2(self): inst = self.instantiate_from("provenance-example.json") self.assertIsNotNone(inst, "Must have instantiated a Provenance instance") self.implProvenance2(inst) js = inst.as_json() self.assertEqual("Provenance", js["resourceType"]) inst2 = provenance.Provenance(js) self.implProvenance2(inst2) def implProvenance2(self, inst): self.assertEqual(inst.agent[0].relatedAgent[0].target, "#a1") self.assertEqual(inst.agent[0].relatedAgent[0].type.text, "used") self.assertEqual(inst.agent[0].role.code, "author") self.assertEqual(inst.agent[0].role.system, "http://hl7.org/fhir/provenance-participant-role") self.assertEqual(inst.agent[0].userId.system, "http://acme.com/fhir/users/sso") self.assertEqual(inst.agent[0].userId.value, "hhd") self.assertEqual(inst.agent[1].id, "a1") self.assertEqual(inst.agent[1].role.code, "DEV") self.assertEqual(inst.agent[1].role.system, "http://hl7.org/fhir/v3/ParticipationType") self.assertEqual(inst.entity[0].display, "CDA Document in XDS repository") self.assertEqual(inst.entity[0].reference, "DocumentReference/90f55916-9d15-4b8f-87a9-2d7ade8670c8") self.assertEqual(inst.entity[0].role, "source") self.assertEqual(inst.entity[0].type.code, "57133-1") self.assertEqual(inst.entity[0].type.display, "Referral note") self.assertEqual(inst.entity[0].type.system, "http://loinc.org") self.assertEqual(inst.id, "example") self.assertEqual(inst.period.start.date, FHIRDate("2015-06-27").date) self.assertEqual(inst.period.start.as_json(), "2015-06-27") self.assertEqual(inst.policy[0], "http://acme.com/fhir/Consent/25") self.assertEqual(inst.reason[0].coding[0].code, "3457005") self.assertEqual(inst.reason[0].coding[0].display, "Referral") self.assertEqual(inst.reason[0].coding[0].system, "http://snomed.info/sct") self.assertEqual(inst.reason[0].text, "Accepting a referral") self.assertEqual(inst.recorded.date, FHIRDate("2015-06-27T08:39:24+10:00").date) self.assertEqual(inst.recorded.as_json(), "2015-06-27T08:39:24+10:00") self.assertEqual(inst.text.div, "<div>procedure record authored on 27-June 2015 by Harold Hippocrates, MD Content extracted from Referral received 26-June</div>") self.assertEqual(inst.text.status, "generated")
55.268041
170
0.680097
702
5,361
5.178063
0.237892
0.21458
0.256121
0.085832
0.70729
0.633563
0.542228
0.430536
0.376891
0.353232
0
0.063347
0.160791
5,361
96
171
55.84375
0.74461
0.021078
0
0.2375
1
0.025
0.255055
0.061427
0
0
0
0
0.675
1
0.0625
false
0
0.075
0
0.1625
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
1
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
4
4c72f77604b8aa5f94efce66eaa8184e38be149c
1,914
py
Python
billing/models/world_pay_models.py
litchfield/merchant
e4fba8a88a326bbde39c26e937c17d5283817320
[ "BSD-3-Clause" ]
null
null
null
billing/models/world_pay_models.py
litchfield/merchant
e4fba8a88a326bbde39c26e937c17d5283817320
[ "BSD-3-Clause" ]
null
null
null
billing/models/world_pay_models.py
litchfield/merchant
e4fba8a88a326bbde39c26e937c17d5283817320
[ "BSD-3-Clause" ]
null
null
null
from django.db import models class WorldPayResponse(models.Model): # merchant details installation_id = models.CharField(max_length=64) company_name = models.CharField(max_length=255, blank=True, null=True) # purchase details sent by merchant cart_id = models.CharField(max_length=255) description = models.TextField(blank=True) amount = models.DecimalField(max_digits=16, decimal_places=2) currency = models.CharField(max_length=64) # HTML string produced from the amount and currency # that were submitted to initiate the payment amount_string = models.CharField(max_length=64) auth_mode = models.CharField(max_length=64) test_mode = models.CharField(max_length=64) # transaction details transaction_id = models.CharField(max_length=64) transaction_status = models.CharField(max_length=64) transaction_time = models.CharField(max_length=64) auth_amount = models.DecimalField(max_digits=16, decimal_places=2) auth_currency = models.CharField(max_length=64) auth_amount_string = models.CharField(max_length=64) raw_auth_message = models.CharField(max_length=255) raw_auth_code = models.CharField(max_length=64) # billing address of the user name = models.CharField(max_length=255) address = models.TextField() post_code = models.CharField(max_length=64) country_code = models.CharField(max_length=64) country = models.CharField(max_length=64) phone = models.CharField(u'Phone number', max_length=64, blank=True) fax = models.CharField(u'Fax number', max_length=64, blank=True) email = models.EmailField() # future pay id, for recurring payments future_pay_id = models.CharField(max_length=64, blank=True) card_type = models.CharField(max_length=64, blank=True) ip_address = models.IPAddressField(blank=True, null=True) class Meta: app_label = 'billing'
39.061224
74
0.743992
258
1,914
5.325581
0.310078
0.240175
0.262009
0.349345
0.601892
0.542213
0.275109
0.071325
0.071325
0
0
0.033687
0.162487
1,914
48
75
39.875
0.823456
0.120167
0
0
0
0
0.017303
0
0
0
0
0
0
1
0
false
0
0.03125
0
0.96875
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
d5b3e5168adfa27488a55a478f6391abbf3d833b
131
py
Python
.history/ClassFiles/DataTypes/StringData_20201230223058.py
minefarmer/Comprehensive-Python
f97b9b83ec328fc4e4815607e6a65de90bb8de66
[ "Unlicense" ]
null
null
null
.history/ClassFiles/DataTypes/StringData_20201230223058.py
minefarmer/Comprehensive-Python
f97b9b83ec328fc4e4815607e6a65de90bb8de66
[ "Unlicense" ]
null
null
null
.history/ClassFiles/DataTypes/StringData_20201230223058.py
minefarmer/Comprehensive-Python
f97b9b83ec328fc4e4815607e6a65de90bb8de66
[ "Unlicense" ]
null
null
null
""" ThisString Data type(str) Strings are sequences of character data. Strings are enclosed in either single or double quotes. """
26.2
55
0.770992
19
131
5.315789
0.842105
0.19802
0
0
0
0
0
0
0
0
0
0
0.152672
131
5
56
26.2
0.90991
0.931298
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
d5de41adf8d90c750226b7416c7c8ce562e76982
397
py
Python
database_files/games.py
djacosta-01/Lowkey-Tho...
6aa62f2214221d3cdbdcce7a8e89e1c821def0c4
[ "MIT" ]
null
null
null
database_files/games.py
djacosta-01/Lowkey-Tho...
6aa62f2214221d3cdbdcce7a8e89e1c821def0c4
[ "MIT" ]
null
null
null
database_files/games.py
djacosta-01/Lowkey-Tho...
6aa62f2214221d3cdbdcce7a8e89e1c821def0c4
[ "MIT" ]
null
null
null
from google.appengine.ext import ndb import user class Play(ndb.Model): user = ndb.KeyProperty(user.User, required=True) game = ndb.StringProperty(default='top') points = ndb.IntegerProperty(default=0) round = ndb.IntegerProperty(default=1) answer = ndb.StringProperty(default='hai') order = ndb.IntegerProperty(default=1) roundPoints = ndb.IntegerProperty(default=0)
33.083333
52
0.732997
49
397
5.938776
0.530612
0.247423
0.343643
0.178694
0
0
0
0
0
0
0
0.011834
0.148615
397
11
53
36.090909
0.849112
0
0
0
0
0
0.015113
0
0
0
0
0
0
1
0
false
0
0.2
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
d5ea263f6143d7789e0395b2bafa258a6438edc3
311
py
Python
input_buffer.py
mode89/editor
4b40b5420d8e47d829a4af24bcc072c4265aba6c
[ "MIT" ]
null
null
null
input_buffer.py
mode89/editor
4b40b5420d8e47d829a4af24bcc072c4265aba6c
[ "MIT" ]
null
null
null
input_buffer.py
mode89/editor
4b40b5420d8e47d829a4af24bcc072c4265aba6c
[ "MIT" ]
null
null
null
KEY_BACKSPACE = 0x107 KEY_ENTER = 0x0a class InputBuffer: def __init__(self): self.buffer = [] def put(self, key): assert type(key) is int self.buffer.append(key) def get(self): return self.buffer.pop(0) def empty(self): return len(self.buffer) == 0
17.277778
36
0.59164
42
311
4.238095
0.547619
0.224719
0
0
0
0
0
0
0
0
0
0.03653
0.29582
311
17
37
18.294118
0.776256
0
0
0
0
0
0
0
0
0
0.028939
0
0.083333
1
0.333333
false
0
0
0.166667
0.583333
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
0
0
1
1
0
0
4
d5f11426499ec410c6cf126752204bd07ca7694e
883
py
Python
db/csvs_test_examples/transmission/transmission_portfolios/doc.py
souissim/gridpath
4eeca2be24b485edc56026e38cfda83f4a6b27ea
[ "Apache-2.0" ]
44
2020-10-27T19:05:44.000Z
2022-03-22T17:17:37.000Z
db/csvs_test_examples/transmission/transmission_portfolios/doc.py
souissim/gridpath
4eeca2be24b485edc56026e38cfda83f4a6b27ea
[ "Apache-2.0" ]
67
2020-10-08T22:36:53.000Z
2022-03-22T22:58:33.000Z
db/csvs_test_examples/transmission/transmission_portfolios/doc.py
souissim/gridpath
4eeca2be24b485edc56026e38cfda83f4a6b27ea
[ "Apache-2.0" ]
21
2020-10-08T23:23:48.000Z
2022-03-28T01:21:21.000Z
# Copyright 2016-2020 Blue Marble Analytics LLC. All rights reserved. """ Relevant tables: +--------------------------------+----------------------------------------------+ |:code:`scenarios` table column |:code:`project_portfolio_scenario_id` | +--------------------------------+----------------------------------------------+ |:code:`scenarios` table feature |:code:`of_transmission` | +--------------------------------+----------------------------------------------+ |:code:`subscenario_` table |:code:`subscenarios_transmission_portfolios` | +--------------------------------+----------------------------------------------+ |:code:`input_` tables |:code:`inputs_transmission_portfolios` | +--------------------------------+----------------------------------------------+ """ if __name__ == "__main__": print(__doc__)
44.15
81
0.353341
47
883
6.170213
0.702128
0.068966
0.124138
0
0
0
0
0
0
0
0
0.01027
0.11778
883
19
82
46.473684
0.362003
0.933182
0
0
0
0
0.16
0
0
0
0
0
0
1
0
true
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4
d5f8213e98e75a3d7e818ad294eef55530fc679e
43
py
Python
host/util/__init__.py
flowswitch/phison
d9415a8d5c62354d09cd6410754c9d8bb65e164f
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
host/util/__init__.py
flowswitch/phison
d9415a8d5c62354d09cd6410754c9d8bb65e164f
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
host/util/__init__.py
flowswitch/phison
d9415a8d5c62354d09cd6410754c9d8bb65e164f
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
__all__ = ["BinFile"] __version__ = "1.00"
14.333333
21
0.651163
5
43
4
1
0
0
0
0
0
0
0
0
0
0
0.081081
0.139535
43
2
22
21.5
0.459459
0
0
0
0
0
0.255814
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
d5f8c0796f9d0b6d779dee982ad467761a35291d
948
py
Python
extract_bottleneck_features.py
JaySRT/Dog-breed-classifier
317a4ed5b4da9941378e613ae793605a8dad2f0f
[ "MIT" ]
null
null
null
extract_bottleneck_features.py
JaySRT/Dog-breed-classifier
317a4ed5b4da9941378e613ae793605a8dad2f0f
[ "MIT" ]
null
null
null
extract_bottleneck_features.py
JaySRT/Dog-breed-classifier
317a4ed5b4da9941378e613ae793605a8dad2f0f
[ "MIT" ]
null
null
null
def extract_VGG16(tensor): from keras.applications.vgg16 import VGG16, preprocess_input return VGG16(weights='imagenet', include_top=False).predict(preprocess_input(tensor)) def extract_VGG19(tensor): from keras.applications.vgg19 import VGG19, preprocess_input return VGG19(weights='imagenet', include_top=False).predict(preprocess_input(tensor)) def extract_Resnet50(tensor): from keras.applications.resnet import ResNet50, preprocess_input return ResNet50(weights='imagenet', include_top=False).predict(preprocess_input(tensor)) def extract_Xception(tensor): from keras.applications.xception import Xception, preprocess_input return Xception(weights='imagenet', include_top=False).predict(preprocess_input(tensor)) def extract_InceptionV3(tensor): from keras.applications.inception_v3 import InceptionV3, preprocess_input return InceptionV3(weights='imagenet', include_top=False).predict(preprocess_input(tensor))
49.894737
92
0.81962
116
948
6.517241
0.206897
0.198413
0.099206
0.178571
0.436508
0.436508
0.436508
0.436508
0.436508
0.359788
0
0.029988
0.085443
948
19
92
49.894737
0.841984
0
0
0
0
0
0.042965
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
4
911f4f1b406191ba70f2ad04b2b5fca3548f81ee
78
py
Python
tests/__init__.py
gagelarsen/flake8-typehinting
31223d0f7958896f85e796efd6f1c297f5ab1deb
[ "MIT" ]
1
2021-07-23T05:12:52.000Z
2021-07-23T05:12:52.000Z
tests/__init__.py
gagelarsen/flake8-typehinting
31223d0f7958896f85e796efd6f1c297f5ab1deb
[ "MIT" ]
1
2021-07-23T04:25:00.000Z
2021-07-23T04:25:00.000Z
tests/__init__.py
gagelarsen/flake8-typehinting
31223d0f7958896f85e796efd6f1c297f5ab1deb
[ "MIT" ]
null
null
null
""" The flake8_typehinting tests. This file was created on July 22, 2021 """
13
38
0.717949
12
78
4.583333
1
0
0
0
0
0
0
0
0
0
0
0.109375
0.179487
78
5
39
15.6
0.75
0.884615
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
912d0c7f5ae6c44af0ad21a20cc5012422eef376
513
py
Python
Src/Clova/vendor/http/server.py
NishiYusuke/Line-boot-award
d77f26b9109f3cba45be5906bcb6c9314974cd92
[ "MIT" ]
2
2020-08-17T07:52:48.000Z
2020-12-18T16:39:32.000Z
Src/Clova/vendor/http/server.py
NishiYusuke/Line-boot-award
d77f26b9109f3cba45be5906bcb6c9314974cd92
[ "MIT" ]
5
2020-12-15T23:40:14.000Z
2022-02-23T15:43:18.000Z
Src/Clova/vendor/http/server.py
NishiYusuke/Line-boot-award
d77f26b9109f3cba45be5906bcb6c9314974cd92
[ "MIT" ]
4
2019-05-16T09:57:33.000Z
2021-07-14T12:31:21.000Z
from __future__ import absolute_import import sys assert sys.version_info[0] < 3 from BaseHTTPServer import * from CGIHTTPServer import * from SimpleHTTPServer import * try: from CGIHTTPServer import _url_collapse_path # needed for a test except ImportError: try: # Python 2.7.0 to 2.7.3 from CGIHTTPServer import ( _url_collapse_path_split as _url_collapse_path) except ImportError: # Doesn't exist on Python 2.6.x. Ignore it. pass
27
73
0.682261
68
513
4.911765
0.558824
0.152695
0.206587
0.155689
0.227545
0.227545
0
0
0
0
0
0.026667
0.269006
513
18
74
28.5
0.864
0.157895
0
0.285714
0
0
0
0
0
0
0
0
0.071429
1
0
true
0.071429
0.642857
0
0.642857
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
4
9135329ed6c90a6567b68dbd209b3d2228498ffb
169
py
Python
setup.py
thedataincubator/conda_minifier
7a7e669191e35010f2a298d58c18185602b5e29b
[ "MIT" ]
1
2016-10-05T17:43:15.000Z
2016-10-05T17:43:15.000Z
setup.py
thedataincubator/conda_minifier
7a7e669191e35010f2a298d58c18185602b5e29b
[ "MIT" ]
2
2016-03-16T21:49:04.000Z
2016-03-16T21:51:52.000Z
setup.py
thedataincubator/conda_minifier
7a7e669191e35010f2a298d58c18185602b5e29b
[ "MIT" ]
null
null
null
from distutils.core import setup setup( name='conda_minifier', author="Christian Moscardi, Tianhui Michael Li", version='0.1', py_modules=['conda_minifier'], )
18.777778
50
0.727811
22
169
5.454545
0.863636
0.216667
0
0
0
0
0
0
0
0
0
0.013699
0.136095
169
8
51
21.125
0.808219
0
0
0
0
0
0.408284
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
9148efc38b3ac57ad2d8afe815bff64d0be3a367
762
py
Python
bin/config/constants.py
KirtusJ/Event-Logger-newsapi
e33b903690ba829361b5d7d047d681b50cb50c7d
[ "MIT" ]
5
2018-12-14T23:57:05.000Z
2018-12-17T00:08:48.000Z
bin/config/constants.py
KirtusJ/Event-Logger-newsapi
e33b903690ba829361b5d7d047d681b50cb50c7d
[ "MIT" ]
1
2021-06-01T23:09:02.000Z
2021-06-01T23:09:02.000Z
bin/config/constants.py
KirtusJ/newsapi-scraper
e33b903690ba829361b5d7d047d681b50cb50c7d
[ "MIT" ]
null
null
null
from .setup import const_type class Const(): def __init__(self,urls,countries,languages,categories,sort_method): self.urls = urls self.countries = countries self.languages = languages self.categories = categories self.sort_method = sort_method def get_sort_methods(self): return self.sort_method def get_top(self): return self.urls["top"] def get_everything(self): return self.urls["everything"] def get_sources(self): return self.urls["sources"] def get_countries(self): return self.countries def get_languages(self): return self.languages def get_categories(self): return self.categories def get_sort(self): return self.sort_method def verify(var, const): if type(var) == const_type[const]: return True return False
25.4
68
0.754593
109
762
5.091743
0.238532
0.086486
0.201802
0.097297
0.097297
0.097297
0
0
0
0
0
0
0.144357
762
30
69
25.4
0.851227
0
0
0.071429
0
0
0.026212
0
0
0
0
0
0
1
0.357143
false
0
0.035714
0.285714
0.785714
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
e696dd3b5025a61930c47b5e16e48e6e9515e30f
12,245
py
Python
lists_of_terms/shcript_for_lists_of_terms.py
ShawnJSavoie2/ToBeRedone
be1981969deb5ebb083e7ef2592e331746af757a
[ "MIT" ]
null
null
null
lists_of_terms/shcript_for_lists_of_terms.py
ShawnJSavoie2/ToBeRedone
be1981969deb5ebb083e7ef2592e331746af757a
[ "MIT" ]
null
null
null
lists_of_terms/shcript_for_lists_of_terms.py
ShawnJSavoie2/ToBeRedone
be1981969deb5ebb083e7ef2592e331746af757a
[ "MIT" ]
null
null
null
# IDLE (Python 3.8.0) # lists of terms import random from copy import deepcopy as copy_of from shodule_for_lists_of_terms import * print() print('Note: a character that represents a list of characters that typically --but not necessarily--') print('represent phonemes can be --for ex.-- a V that represents a primary list of vowels, v that') print('represents a secondary list of vowels, C that represents a primary list of consonants, c that') print('represents a secondary list of consonants and g that represents a list of consonant glides, etc.') print('As for the characters in a list they should be entered with a space between them. This is so that') print('someone can use the comma as a character if they want and so that each individual character that is') print('meant to be used can be more easily parsed.') print() characteral_dictionary = {} another_character_and_lict_of_characters = 'yes' while another_character_and_lict_of_characters == 'yes': print('What is the character that represents a list of characters?') print() user_input = input('Enter: ') print() character = copy_of(user_input) print('What is the list of characters?') user_input = user_input_handling_function_ninth() lict_of_characters = copy_of(user_input) characteral_dictionary[character] = [] characteral_dictionary[character].extend(copy_of(lict_of_characters)) print('Is there another character that represents another list of characters? (yes or no).') user_input = user_input_handling_function_third() if user_input == 'yes': another_character_and_lict_of_characters = 'yes' else: another_character_and_lict_of_characters = 'no' print('Note: a form consists of a sequence of the characters that represent the lists of characters. For') print('example: CgVvc, VCVc or VC.') print() termal_dictionary = {} another_form = 'yes' while another_form == 'yes': print('What is the form?') user_input = user_input_handling_function_second(characteral_dictionary) form = copy_of(user_input) lict = [] for character in form: lict.append(characteral_dictionary[character]) termal_lict = termal_generator(lict) termal_dictionary[form] = [] termal_dictionary[form].extend(copy_of(termal_lict)) termal_dictionary['r' + form] = [] termal_dictionary['r' + form].extend(copy_of(termal_lict)) random.shuffle(termal_dictionary['r' + form]) print('Is there another form? (yes or no).') user_input = user_input_handling_function_third() if user_input == 'yes': another_form = 'yes' else: another_form = 'no' print('There is', len(termal_dictionary), 'lists of terms with the forms:') print() for form in termal_dictionary: print(form) print('Note: r means random. Each list is automatically randomized. You\'re welcome. ;)') print() print('Do you want to modify all or some of the terms in a list? (yes or no).') user_input = user_input_handling_function_third() if user_input == 'yes': print('Do you want to remove terms with one or more unwanted characters from one or more of the lists? (yes') print('or no).') user_input = user_input_handling_function_third() if user_input == 'yes': print('Do you want to remove terms with one or more unwanted characters from ONE --not all-- of the lists?') print('(yes or no).') user_input = user_input_handling_function_third() if user_input == 'yes': more_terms_in_more_licts = 'yes' while more_terms_in_more_licts == 'yes': print('What is the form?') user_input = user_input_handling_function_fourth(termal_dictionary) form = copy_of(user_input) print('The characters or combination of characters that are part of terms that you want removed have to be') print('entered with spaces between them.') print() print('What are the characters?') user_input = user_input_handling_function_tenth(characteral_dictionary) unwanted_characters = copy_of(user_input) print('Your unwanted characters occupy a range of places in a term. Between and including the first and') print('not including the second places --for ex.-- or between and including the last and not including the') print('third-last places. When counting from the start of a term begin with 0. When counting from the end') print('of a term begin with -1. The first two places would be 0 and 1 so nothing on the left and 2 on the') print('right ( :2) will get the job done because 2 isn\'t included. The last two places would be -1 and -2') print('so -2 on the left and nothing on the right (-2: ) will get the job done because nothing isn\'t') print('included. The number on the left is included and the number on the right isn\'t included. Use the') print('keyword: None to represent nothing.') print() print('What is the first index?') user_input = user_input_handling_function_eighth() first_index = copy_of(user_input) print('What is the second index?') user_input = user_input_handling_function_eighth() second_index = copy_of(user_input) for term in termal_dictionary[form]: if term[first_index:second_index] in unwanted_characters: termal_dictionary[form].remove(term) print('Do you want to remove more terms with one or more unwanted characters from this list or another') print('one? (yes or no).') user_input = user_input_handling_function_third () if user_input == 'yes': more_terms_in_more_licts = 'yes' else: more_terms_in_more_licts = 'no' print('Do you want to remove terms with one or more unwanted characters from ALL --not one-- of the lists?') print('(yes or no).') user_input = user_input_handling_function_third () if user_input == 'yes': more_terms_in_all_licts = 'yes' while more_terms_in_all_licts == 'yes': print('The characters or combination of characters that are part of terms that you want removed have to be') print('entered with spaces between them.') print() print('What are the characters?') user_input = user_input_handling_function_tenth(characteral_dictionary) unwanted_characters = copy_of(user_input) print('Your unwanted characters occupy a range of places in a term. Between and including the first and') print('not including the second places --for ex-- or between and including the last and not including the') print('third-last places. When counting from the start of a term begin with 0. When counting from the end') print('of a term begin with -1. The first two places would be 0 and 1 so nothing on the left and 2 on the') print('right ( :2) will get the job done because 2 isn\'t included. The last two places would be -1 and -2') print('so -2 on the left and nothing on the right (-2: ) will get the job done because nothing isn\'t') print('included. The number on the left is included and the number on the right isn\'t included. Use the') print('keyword: None to represent nothing.') print() print('What is the first index?') user_input = user_input_handling_function_eighth() first_index = copy_of(user_input) print('What is the second index?') user_input = user_input_handling_function_eighth() second_index = copy_of(user_input) for form in termal_dictionary: for term in termal_dictionary[form]: if term[first_index:second_index] in unwanted_characters: termal_dictionary[form].remove(term) print('Do you want to remove more terms with one or more unwanted characters from ALL of the lists? (yes') print('or no).') user_input = user_input_handling_function_third () if user_input == 'yes': more_terms_in_all_licts = 'yes' else: more_terms_in_all_licts = 'no' print('Is there a set of lists that you want to add together? (yes or no).') print('Note: remember that lists are automatically randomized. So you don\'t need to add your random lists') print('together in addition to your sequential lists.') user_input = user_input_handling_function_third() if user_input == 'yes': another_set_of_licts = 'yes' while another_set_of_licts == 'yes': form = '' lict = [] another_lict = 'yes' while another_lict == 'yes': print('What is the form?') user_input = user_input_handling_function_fourth(termal_dictionary) form = form + user_input + '_' lict.extend(copy_of(termal_dictionary[user_input])) print('Is there another list that you want to add? (yes or no).') user_input = user_input_handling_function_third() if user_input == 'yes': another_lict = 'yes' else: another_lict = 'no' termal_dictionary[form] = [] termal_dictionary[form].extend(copy_of(lict)) termal_dictionary['r' + form] = [] termal_dictionary['r' + form].extend(copy_of(lict)) random.shuffle(termal_dictionary['r' + form]) print('Is there another SET of lists that you want to add together? (yes or no).') user_input = user_input_handling_function_third() if user_input == 'yes': another_set_of_licts = 'yes' else: another_set_of_licts = 'no' print('There is', len(termal_dictionary), 'lists of terms with the forms:') print() for form in termal_dictionary: print(form) print() print('Do you want to print a list so that you can inspect it? (yes or no).') user_input = user_input_handling_function_third() if user_input == 'yes': another_lict = 'yes' while another_lict == 'yes': print('What is the form?') user_input = user_input_handling_function_fourth(termal_dictionary) form = copy_of(user_input) print('Do you want your list displayed vertically? (yes or no).') user_input = user_input_handling_function_third() if user_input == 'yes': print_vertical_lict(termal_dictionary[form]) else: print_horizontal_lict(termal_dictionary[form]) print('Do you want to print another list so that you can inspect it? (yes or no).') user_input = user_input_handling_function_third() if user_input == 'yes': another_lict = 'yes' else: another_lict = 'no' print('Do you want to write / save your lists to files (.txt files)? (yes or no).') user_input = user_input_handling_function_third() if user_input == 'yes': for form in termal_dictionary: write_horizontal_lict(form, termal_dictionary[form]) print('All done. Enjoy your lists of terms.') else: print('WARNING: All the lists that you\'ve created will be lost if you don\'t save them. Are you sure that') print('you don\'t want to write / save them to files? (yes or no).') user_input = user_input_handling_function_third() if user_input == 'yes': print('Alrighty. Bye.') else: for form in termal_dictionary: write_horizontal_lict(form, termal_dictionary[form]) print('All done. Enjoy your lists of terms.')
51.44958
124
0.638628
1,663
12,245
4.50451
0.111245
0.100921
0.046856
0.064878
0.779602
0.761581
0.7222
0.682018
0.678147
0.663463
0
0.002829
0.278318
12,245
237
125
51.666667
0.844857
0.002777
0
0.684932
0
0.022831
0.355341
0
0
0
0
0
0
1
0
false
0
0.013699
0
0.013699
0.401826
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
e6ac00dd529079bdb9db7b7d32ec9f5b8ec1d4c7
206
py
Python
polyaxon/checks/crons.py
elyase/polyaxon
1c19f059a010a6889e2b7ea340715b2bcfa382a0
[ "MIT" ]
null
null
null
polyaxon/checks/crons.py
elyase/polyaxon
1c19f059a010a6889e2b7ea340715b2bcfa382a0
[ "MIT" ]
null
null
null
polyaxon/checks/crons.py
elyase/polyaxon
1c19f059a010a6889e2b7ea340715b2bcfa382a0
[ "MIT" ]
null
null
null
from checks.worker import WorkerCheck from polyaxon.config_settings import CronsCeleryTasks class CronsCheck(WorkerCheck): WORKER_HEALTH_TASK = CronsCeleryTasks.CRONS_HEALTH WORKER_NAME = 'CRONS'
25.75
54
0.825243
23
206
7.173913
0.652174
0
0
0
0
0
0
0
0
0
0
0
0.126214
206
7
55
29.428571
0.916667
0
0
0
0
0
0.024272
0
0
0
0
0
0
1
0
false
0
0.4
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
e6b71242682533573211273ac23ca12fad1e76d9
160
py
Python
01_Language/01_Functions/python/is_writable.py
cliff363825/TwentyFour
09df59bd5d275e66463e343647f46027397d1233
[ "MIT" ]
3
2020-06-28T07:42:51.000Z
2021-01-15T10:32:11.000Z
01_Language/01_Functions/python/is_writable.py
cliff363825/TwentyFour
09df59bd5d275e66463e343647f46027397d1233
[ "MIT" ]
9
2021-03-10T22:45:40.000Z
2022-02-27T06:53:20.000Z
01_Language/01_Functions/python/is_writable.py
cliff363825/TwentyFour
09df59bd5d275e66463e343647f46027397d1233
[ "MIT" ]
1
2021-01-15T10:51:24.000Z
2021-01-15T10:51:24.000Z
# coding: utf-8 import os def is_writable(filename): return os.access(filename, os.W_OK) if __name__ == '__main__': print(is_writable("test.txt"))
13.333333
39
0.68125
24
160
4.083333
0.791667
0.204082
0
0
0
0
0
0
0
0
0
0.007576
0.175
160
11
40
14.545455
0.734848
0.08125
0
0
0
0
0.110345
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
0.6
0.2
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
4
e6bfc57b98fbc6e6c8e66b5e9bc2f746778285af
638
py
Python
venv/lib/python2.7/site-packages/pylint/test/input/func_catching_non_exception.py
mutaihillary/mycalculator
55685dd7c968861f18ae0701129f5af2bc682d67
[ "MIT" ]
null
null
null
venv/lib/python2.7/site-packages/pylint/test/input/func_catching_non_exception.py
mutaihillary/mycalculator
55685dd7c968861f18ae0701129f5af2bc682d67
[ "MIT" ]
7
2021-02-08T20:22:15.000Z
2022-03-11T23:19:41.000Z
venv/lib/python2.7/site-packages/pylint/test/input/func_catching_non_exception.py
mutaihillary/mycalculator
55685dd7c968861f18ae0701129f5af2bc682d67
[ "MIT" ]
null
null
null
"""test non-exceptions catched """ __revision__ = 1 class MyException(object): """ custom 'exception' """ pass class MySecondException(object): """ custom 'exception' """ pass class MyGoodException(Exception): """ custom 'exception' """ pass class MySecondGoodException(MyGoodException): """ custom 'exception' """ pass try: 1 + 1 except MyException: print "oups" try: 1 + 2 except (MyException, MySecondException): print "oups" try: 1 + 3 except MyGoodException: print "should work" try: 1 + 3 except (MyGoodException, MySecondGoodException): print "should work"
15.190476
48
0.65047
62
638
6.629032
0.370968
0.145985
0.184915
0.175182
0.272506
0
0
0
0
0
0
0.018256
0.227273
638
41
49
15.560976
0.815416
0
0
0.56
0
0
0.06012
0
0
0
0
0
0
0
null
null
0.16
0
null
null
0.16
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
1
0
0
1
0
0
0
0
0
4
e6cd5e12990b91fb99b78a30098dd7f77da11522
308
py
Python
debug.py
SouthForkResearch/osGNAT
b254c775b2061e3a8c0fd7baa02d94799fc4d193
[ "MIT" ]
2
2017-08-31T15:47:22.000Z
2019-07-06T05:08:41.000Z
debug.py
SouthForkResearch/osGNAT
b254c775b2061e3a8c0fd7baa02d94799fc4d193
[ "MIT" ]
36
2017-02-28T20:43:08.000Z
2017-08-18T19:50:22.000Z
debug.py
SouthForkResearch/pyGNAT
b254c775b2061e3a8c0fd7baa02d94799fc4d193
[ "MIT" ]
null
null
null
import os def InitDebug(): """This module is used for remotely debugging the GNAT Plugin""" if 'DEBUG_PLUGIN' in os.environ and os.environ['DEBUG_PLUGIN'] == "GNATPlugin": import pydevd pydevd.settrace('localhost', port=53100, stdoutToServer=True, stderrToServer=True, suspend=False)
44
105
0.714286
39
308
5.589744
0.769231
0.100917
0
0
0
0
0
0
0
0
0
0.019608
0.172078
308
7
105
44
0.835294
0.188312
0
0
0
0
0.17551
0
0
0
0
0
0
1
0.2
true
0
0.4
0
0.6
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
e6d3b5b7c4b50b13af3bed21b7e7ab6b56565852
157
py
Python
virtual/bin/django-admin.py
Monroe100/blog
c9ddff57c93bc65dab4252fbd79309b7888dbae3
[ "MIT" ]
1
2019-10-07T18:52:05.000Z
2019-10-07T18:52:05.000Z
virtual/bin/django-admin.py
Monroe100/blog
c9ddff57c93bc65dab4252fbd79309b7888dbae3
[ "MIT" ]
null
null
null
virtual/bin/django-admin.py
Monroe100/blog
c9ddff57c93bc65dab4252fbd79309b7888dbae3
[ "MIT" ]
null
null
null
#!/home/michelle/projects/blog/virtual/bin/python3 from django.core import management if __name__ == "__main__": management.execute_from_command_line()
26.166667
50
0.789809
20
157
5.65
0.9
0
0
0
0
0
0
0
0
0
0
0.007042
0.095541
157
5
51
31.4
0.788732
0.312102
0
0
0
0
0.074766
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
e6d612d4eb9feb71abda0c142e33b8bcc06ec637
58
py
Python
lboxd/__main__.py
Fitzy1293/lboxd
ca1767de2b6f79c6ba96aa81c2912198a2dc2cec
[ "MIT" ]
2
2021-01-06T08:40:37.000Z
2021-10-31T09:27:21.000Z
lboxd/__main__.py
Fitzy1293/lboxd
ca1767de2b6f79c6ba96aa81c2912198a2dc2cec
[ "MIT" ]
null
null
null
lboxd/__main__.py
Fitzy1293/lboxd
ca1767de2b6f79c6ba96aa81c2912198a2dc2cec
[ "MIT" ]
null
null
null
from .lboxd import * if __name__=='__main__': main()
11.6
24
0.637931
7
58
4.142857
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.206897
58
4
25
14.5
0.630435
0
0
0
0
0
0.137931
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
e6deda743f7b9d24204a9e0a3a690553827ecb55
255
py
Python
ansys_corba/omniORB/COS/CosNotifyFilter__POA/__init__.py
pyansys/ansys_corba
91e4e66a48143c827f56cf1113145bb48d5f4d6a
[ "MIT" ]
6
2021-04-26T09:25:48.000Z
2022-03-26T05:09:38.000Z
ansys_corba/omniORB/COS/CosNotifyFilter__POA/__init__.py
pyansys/ansys_corba
91e4e66a48143c827f56cf1113145bb48d5f4d6a
[ "MIT" ]
3
2022-03-14T08:17:21.000Z
2022-03-17T20:07:23.000Z
ansys_corba/omniORB/COS/CosNotifyFilter__POA/__init__.py
pyansys/pymapdl-corba
91e4e66a48143c827f56cf1113145bb48d5f4d6a
[ "MIT" ]
1
2020-11-11T11:10:19.000Z
2020-11-11T11:10:19.000Z
# DO NOT EDIT THIS FILE! # # Python module CosNotifyFilter__POA generated by omniidl import omniORB omniORB.updateModule("CosNotifyFilter__POA") # ** 1. Stub files contributing to this module import CosNotifyFilter_idl # ** 2. Sub-modules # ** 3. End
18.214286
57
0.756863
33
255
5.69697
0.787879
0.191489
0
0
0
0
0
0
0
0
0
0.013953
0.156863
255
13
58
19.615385
0.860465
0.592157
0
0
1
0
0.206186
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
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
e6df744906378019e5796d191df119825ecee5ab
78
py
Python
cdptools/tests/research_utils/__init__.py
joshuaipwork/cdptools
5c6b7f99f0e5c80d3d9ca8ea1781651ea5305295
[ "BSD-3-Clause" ]
10
2019-02-11T17:07:41.000Z
2020-12-01T01:08:55.000Z
cdptools/tests/research_utils/__init__.py
joshuaipwork/cdptools
5c6b7f99f0e5c80d3d9ca8ea1781651ea5305295
[ "BSD-3-Clause" ]
116
2019-04-13T23:30:28.000Z
2021-01-29T05:02:36.000Z
cdptools/tests/research_utils/__init__.py
joshuaipwork/cdptools
5c6b7f99f0e5c80d3d9ca8ea1781651ea5305295
[ "BSD-3-Clause" ]
11
2019-08-15T16:32:52.000Z
2020-10-29T21:14:19.000Z
# -*- coding: utf-8 -*- """Unit test package for cdptools.research_utils."""
19.5
52
0.641026
10
78
4.9
1
0
0
0
0
0
0
0
0
0
0
0.014925
0.141026
78
3
53
26
0.716418
0.884615
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
e6f4eda7e9e56c4c81e3faebc9e31559bb32f28b
160
py
Python
sandbox/shipping/repository.py
Bastilla123/shop2
b2a7ded5b39d0228fadfdb1c9e1fbd3ab0e4cfba
[ "BSD-3-Clause" ]
null
null
null
sandbox/shipping/repository.py
Bastilla123/shop2
b2a7ded5b39d0228fadfdb1c9e1fbd3ab0e4cfba
[ "BSD-3-Clause" ]
12
2021-12-01T11:05:47.000Z
2022-03-01T11:06:09.000Z
sandbox/shipping/repository.py
Bastilla123/shop2
b2a7ded5b39d0228fadfdb1c9e1fbd3ab0e4cfba
[ "BSD-3-Clause" ]
null
null
null
from oscar.apps.shipping import repository from . import methods class Repository(repository.Repository): methods = (methods.Free(),methods.DHL_Standard())
32
53
0.7875
19
160
6.578947
0.578947
0.32
0
0
0
0
0
0
0
0
0
0
0.10625
160
5
53
32
0.874126
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
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
fc054ef3c68de857b1b477a7bee7d0643dfda0e3
79
py
Python
api/wsgi.py
ubirch/qrcode-decoder-playground
33472ede29b0e605a8fa140bea1605ab515da0b5
[ "Apache-2.0" ]
null
null
null
api/wsgi.py
ubirch/qrcode-decoder-playground
33472ede29b0e605a8fa140bea1605ab515da0b5
[ "Apache-2.0" ]
null
null
null
api/wsgi.py
ubirch/qrcode-decoder-playground
33472ede29b0e605a8fa140bea1605ab515da0b5
[ "Apache-2.0" ]
null
null
null
from .app import app # production specific config app.config['DEBUG'] = False
15.8
28
0.746835
11
79
5.363636
0.727273
0
0
0
0
0
0
0
0
0
0
0
0.151899
79
4
29
19.75
0.880597
0.329114
0
0
0
0
0.098039
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
fc1ba6efc5809ac0d54e0e3220a4e09183d4305b
239
py
Python
dynamicInheritance/editor/nodes/nodeB.py
Derfies/doodads
d6bea9eec3e5bc8087a8aba758748dea68e1df25
[ "MIT" ]
null
null
null
dynamicInheritance/editor/nodes/nodeB.py
Derfies/doodads
d6bea9eec3e5bc8087a8aba758748dea68e1df25
[ "MIT" ]
null
null
null
dynamicInheritance/editor/nodes/nodeB.py
Derfies/doodads
d6bea9eec3e5bc8087a8aba758748dea68e1df25
[ "MIT" ]
null
null
null
class NodeB( object ): def __init__( self ): super( NodeB, self ).__init__() print 'NodeB EDITOR init' def doSomething( self ): super( NodeB, self ).doSomething() print 'NodeB EDITOR doSomething'
23.9
42
0.598326
25
239
5.4
0.4
0.133333
0.207407
0.266667
0
0
0
0
0
0
0
0
0.297071
239
10
43
23.9
0.803571
0
0
0
0
0
0.170833
0
0
0
0
0
0
0
null
null
0
0
null
null
0.285714
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
1
0
0
0
0
0
0
0
0
4
fc3ea8880afeddda732812a66a0d7383f3d263a5
1,205
py
Python
py/tests/integration/keys.py
tsloughter/epoch
0e1227c5b337f2574d3757c18b9eca3d9c04a49f
[ "ISC" ]
7
2018-06-05T01:57:29.000Z
2022-02-23T09:12:53.000Z
py/tests/integration/keys.py
tsloughter/epoch
0e1227c5b337f2574d3757c18b9eca3d9c04a49f
[ "ISC" ]
null
null
null
py/tests/integration/keys.py
tsloughter/epoch
0e1227c5b337f2574d3757c18b9eca3d9c04a49f
[ "ISC" ]
3
2018-07-02T08:54:21.000Z
2019-12-23T06:12:17.000Z
import nacl.encoding import nacl.signing from nacl.signing import SigningKey, VerifyKey from nacl.hash import blake2b import common def new_private(): return SigningKey.generate() def public_key(private_key): return private_key.verify_key def address(public_key): return common.encode_pubkey(public_key.encode(encoder=nacl.encoding.RawEncoder)) def sign(message, private_key): return private_key.sign(message).signature def sign_encode_tx(packed_tx, private_key): signature = sign(packed_tx, private_key) signed_encoded = common.encode_signed_tx(packed_tx, [bytearray(signature)]) return signed_encoded def sign_verify_encode_tx(packed_tx, private_key, public_key): signature = sign(packed_tx, private_key) assert verify(signature, packed_tx, public_key) signed_encoded = common.encode_signed_tx(packed_tx, [bytearray(signature)]) return signed_encoded def tx_hash_from_signed_encoded(signed_encoded): signed = common.base58_decode(signed_encoded); return common.encode_tx_hash(blake2b(data=signed, digest_size=32, encoder=nacl.encoding.RawEncoder)) def verify(signature, message, public_key): return public_key.verify(message, signature)
31.710526
104
0.794191
166
1,205
5.475904
0.228916
0.088009
0.044004
0.079208
0.437844
0.310231
0.256326
0.184818
0.184818
0.184818
0
0.00566
0.120332
1,205
37
105
32.567568
0.851887
0
0
0.222222
1
0
0
0
0
0
0
0
0.037037
1
0.296296
false
0
0.185185
0.185185
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
fc5fef2aa20a2afc9df65d8a2974278e0ddc2135
351
py
Python
config.py
AzogMugen/stack-versions-tracker
7af8653b94add32043a9ef28f669c668bf90f90f
[ "CC0-1.0" ]
null
null
null
config.py
AzogMugen/stack-versions-tracker
7af8653b94add32043a9ef28f669c668bf90f90f
[ "CC0-1.0" ]
null
null
null
config.py
AzogMugen/stack-versions-tracker
7af8653b94add32043a9ef28f669c668bf90f90f
[ "CC0-1.0" ]
null
null
null
import os os.environ['MONGODB_HOSTNAME'] = '127.0.0.1' # => to delete when mongo docker ready MONGO_URI = 'mongodb://' + os.environ['MONGODB_HOSTNAME'] + ':27017' # => to delete when mongo docker ready # MONGO_URI = 'mongodb://' + os.environ['MONGODB_USERNAME'] + ':' + os.environ['MONGODB_PASSWORD'] + '@' + os.environ['MONGODB_HOSTNAME'] + ':27017'
70.2
148
0.675214
46
351
5
0.391304
0.195652
0.347826
0.313043
0.695652
0.513043
0.513043
0.513043
0.513043
0.513043
0
0.052117
0.125356
351
5
148
70.2
0.697068
0.626781
0
0
0
0
0.445313
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
fc65f06a0fa2132b8efb5f6341313c0679a0e90c
73
py
Python
pycraft/__main__.py
xeddmc/pycraft
24d6b97cd0c1c4649b86d91d4bb419834a03bdad
[ "MIT" ]
1,232
2016-04-09T18:41:50.000Z
2022-01-15T20:00:39.000Z
pycraft/__main__.py
xeddmc/pycraft
24d6b97cd0c1c4649b86d91d4bb419834a03bdad
[ "MIT" ]
75
2016-04-09T14:43:04.000Z
2020-08-11T02:30:22.000Z
pycraft/__main__.py
xeddmc/pycraft
24d6b97cd0c1c4649b86d91d4bb419834a03bdad
[ "MIT" ]
146
2016-04-09T21:33:05.000Z
2021-11-01T09:29:48.000Z
if __name__ == '__main__': from pycraft.main import main main()
14.6
33
0.643836
9
73
4.333333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.246575
73
4
34
18.25
0.709091
0
0
0
0
0
0.111111
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
fc72b5a60600775b4b24026d12bf92f15a001ffd
95
py
Python
webdisplay/apps.py
anurag5398/V2Droid
2ea825f5a4a00d391c921a28fa5f4648ba89fecb
[ "MIT" ]
null
null
null
webdisplay/apps.py
anurag5398/V2Droid
2ea825f5a4a00d391c921a28fa5f4648ba89fecb
[ "MIT" ]
null
null
null
webdisplay/apps.py
anurag5398/V2Droid
2ea825f5a4a00d391c921a28fa5f4648ba89fecb
[ "MIT" ]
null
null
null
from django.apps import AppConfig class WebdisplayConfig(AppConfig): name = 'webdisplay'
15.833333
34
0.768421
10
95
7.3
0.9
0
0
0
0
0
0
0
0
0
0
0
0.157895
95
5
35
19
0.9125
0
0
0
0
0
0.105263
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
fc9325ba3ca2b555541a64d4250c082e54a1dc53
189
py
Python
Chapter01/single_double_comments.py
kaushalkumarshah/Learn-Python-in-7-Days
2663656767c8959ace836f0c0e272f3e501bbe6e
[ "MIT" ]
12
2018-07-09T16:20:31.000Z
2022-03-21T22:52:15.000Z
Chapter01/single_double_comments.py
kaushalkumarshah/Learn-Python-in-7-Days
2663656767c8959ace836f0c0e272f3e501bbe6e
[ "MIT" ]
null
null
null
Chapter01/single_double_comments.py
kaushalkumarshah/Learn-Python-in-7-Days
2663656767c8959ace836f0c0e272f3e501bbe6e
[ "MIT" ]
19
2018-01-09T12:49:06.000Z
2021-11-23T08:05:55.000Z
#This is a single line comment in Python print "Hello World" #This is a single comment in Python """ For multi-line comment use three double quotes ... """ print "Hello World!"
18.9
56
0.68254
29
189
4.448276
0.586207
0.093023
0.108527
0.20155
0
0
0
0
0
0
0
0
0.227513
189
10
57
18.9
0.883562
0.386243
0
0
0
0
0.5
0
0
0
0
0
0
0
null
null
0
0
null
null
1
1
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
1
0
0
0
0
0
0
1
0
4
fc9601afcde8a93dc0d670f6fd8b2811ed069476
193
py
Python
AFL-wasm/.ycm_extra_conf.py
fuzzm/fuzzm-project
93c7a7e6c934a6de106c27d2042baa6938685d54
[ "Apache-2.0" ]
16
2021-08-14T08:43:58.000Z
2022-03-30T05:27:04.000Z
AFL-wasm/.ycm_extra_conf.py
fuzzm/fuzzm-project
93c7a7e6c934a6de106c27d2042baa6938685d54
[ "Apache-2.0" ]
null
null
null
AFL-wasm/.ycm_extra_conf.py
fuzzm/fuzzm-project
93c7a7e6c934a6de106c27d2042baa6938685d54
[ "Apache-2.0" ]
2
2021-08-25T10:34:12.000Z
2022-02-18T07:49:05.000Z
import os def Settings( **kwargs ): wasmtime_c_api = os.environ.get('WASMTIME_C_API') return { 'flags': [ f'-I{wasmtime_c_api}/include', f'-L{wasmtime_c_api}/lib', '-lwasmtime' ], }
24.125
88
0.658031
29
193
4.103448
0.62069
0.302521
0.403361
0
0
0
0
0
0
0
0
0
0.150259
193
7
89
27.571429
0.72561
0
0
0
0
0
0.398964
0.248705
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
fc9e41f098659314e73851d3f035477f761b8d56
179
py
Python
traffiq/forms.py
boyombo/smsbet
66c20494b729c930edec553fe71e2084222acc4a
[ "MIT" ]
null
null
null
traffiq/forms.py
boyombo/smsbet
66c20494b729c930edec553fe71e2084222acc4a
[ "MIT" ]
null
null
null
traffiq/forms.py
boyombo/smsbet
66c20494b729c930edec553fe71e2084222acc4a
[ "MIT" ]
null
null
null
from django import forms from traffiq.models import TrafficReport class TrafficForm(forms.ModelForm): class Meta: model = TrafficReport exclude = ('when',)
17.9
40
0.698324
19
179
6.578947
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.22905
179
9
41
19.888889
0.905797
0
0
0
0
0
0.022346
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
5d7a013c1792db4374a9aa2801a9ed297a38d526
3,830
py
Python
vhdmmio/config/permissions.py
jvanstraten/vhdmmio
f166b07074a9159311a01af88497df91c19e09d1
[ "Apache-2.0" ]
4
2019-07-01T14:41:38.000Z
2021-11-28T12:54:49.000Z
vhdmmio/config/permissions.py
jvanstraten/vhdmmio
f166b07074a9159311a01af88497df91c19e09d1
[ "Apache-2.0" ]
4
2019-08-23T15:05:24.000Z
2020-12-16T10:02:20.000Z
vhdmmio/config/permissions.py
jvanstraten/vhdmmio
f166b07074a9159311a01af88497df91c19e09d1
[ "Apache-2.0" ]
1
2021-07-16T13:41:21.000Z
2021-07-16T13:41:21.000Z
"""Submodule for `PermissionConfig` configurable.""" from ..configurable import configurable, Configurable, flag @configurable(name='Permissions') class PermissionConfig(Configurable): """This configuration structure defines the privilege levels that are allowed to access a field based on the `aw_prot` and `ar_prot` AXI4L signals. This is primarily intended to help you identify problems during development (such as a softcore deciding to jump to a register file). **If you're using `vhdmmio` in an environment where security is in any way meaningful, restrict yourself to using single-word, non-blocking registers. Even then, `vhdmmio` has not undergone any kind of auditing or certification process and therefore does not make ANY guarantees that your system will be secure.** The following best-effort logic is included based on access privileges: - Accessing a field for which the master has insufficient privileges makes the field behave like it does not exist. Depending on whether there are other fields in the surrounding register that can be accessed, a decode error may or may not be generated. Read data is always blanked out, and there will not be any side effects. - When a higher-privileged master is in the process of accessing a multi-word register, lower-privileged accesses are rejected. An access is considered less privileged when the ongoing access is privileged (`--1`) while the interrupting access is unprivileged (`--0`), OR when the ongoing access is secure (`-0-`) while the interrupting access is nonsecure (`-1-`). Such accesses are rejected by means of a slave error. Even though it would normally be ignored, the read data is forced to all zeros during this error to prevent leaks. - When a multi-word read completes, the holding register is cleared. The latter two features may be disabled within the register file features structure to save a small amount of logic. `vhdmmio` certainly will *NOT* protect against: - Timing attacks on blocking fields. This is impossible to avoid by `vhdmmio`, since AXI4L does not support reordering. - Denial-of-service and man-in-the-middle style attacks for multi-word accesses on the same privilege level. This is impossible to avoid by `vhdmmio`, since AXI4L does not support locking. - Powerline side-channel attacks, as well as undervolting, overclocking, radiation, etc.. Basically, anything that can be used to circumvent the semantics of VHDL. This is impossible to avoid in a vendor-agnostic way, and would be extremely difficult even for a specific FPGA/ASIC. To the best of my knowledge, barring the above, a register file with only single-word, non-blocking, non-deferring registers should be fairly secure. But please take this statement with a big grain of salt, as I am not a security expert.""" #pylint: disable=E0211,E0213 @flag def user(): """Whether unprivileged masters (`--0`) can access the field.""" return True @flag def privileged(): """Whether privileged masters (`--1`) can access the field.""" return True @flag def secure(): """Whether secure transactions (`-0-`) can be used to can access the field.""" return True @flag def nonsecure(): """Whether nonsecure transactions (`-1-`) can be used to can access the field.""" return True @flag def data(): """Whether data transactions (`0--`) can access the field.""" return True @flag def instruction(): """Whether instruction transactions (`1--`) can access the field.""" return True
42.087912
79
0.696606
530
3,830
5.030189
0.430189
0.021005
0.027007
0.03826
0.171793
0.125656
0.125656
0.114779
0.102026
0.075769
0
0.007189
0.237337
3,830
90
80
42.555556
0.905512
0.813577
0
0.571429
0
0
0.021956
0
0
0
0
0
0
1
0.285714
true
0
0.047619
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
1
1
0
0
0
1
0
0
4
5d802b6e7ffffe72d7d68e18c43daa8effd54d9e
887
py
Python
examples/teb803/dma-example/led_blinker.py
rsarwar87/koheron-sdk
02c35bf3c1c29f1029fad18b881dbd193efac5a7
[ "MIT" ]
1
2020-06-23T16:03:22.000Z
2020-06-23T16:03:22.000Z
examples/teb803/dma-example/led_blinker.py
rsarwar87/koheron-sdk
02c35bf3c1c29f1029fad18b881dbd193efac5a7
[ "MIT" ]
null
null
null
examples/teb803/dma-example/led_blinker.py
rsarwar87/koheron-sdk
02c35bf3c1c29f1029fad18b881dbd193efac5a7
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import time from koheron import command, connect import matplotlib.pyplot as plt import numpy as np import sys class LedBlinker(object): def __init__(self, client): self.client = client @command(classname='LedBlinker') def set_leds(self, led_value): pass @command(classname='LedBlinker') def get_leds(self, led_value): return self.client.recv_uint32() @command(classname='LedBlinker') def set_led(self, index, status): pass @command(classname='LedBlinker') def get_forty_two(self): return self.client.recv_uint32() if __name__=="__main__": host = os.getenv('HOST','10.211.3.133') client = connect(host, name='trenz_teb080x_te803_dma_example') driver = LedBlinker(client) print ("Printing DNA: {}".format(driver.get_forty_two()))
22.74359
66
0.676437
115
887
4.982609
0.530435
0.069808
0.181501
0.202443
0.328098
0.125654
0
0
0
0
0
0.02805
0.196167
887
38
67
23.342105
0.775596
0.047351
0
0.307692
0
0
0.131986
0.036861
0
0
0
0
0
1
0.192308
false
0.076923
0.230769
0.076923
0.538462
0.038462
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
0
0
1
0
0
4
5d83cc02cadff6946186c0a8a035975a83d4b335
118
py
Python
hysia/utils/__init__.py
fossabot/Video-to-Online-Platform
46019562f072a5dc2a92684986411d7f88758882
[ "Apache-2.0" ]
82
2019-10-04T05:40:45.000Z
2020-03-14T06:40:02.000Z
hysia/utils/__init__.py
wangyongjie-ntu/Video-to-Online-Platform
b1230c8f702487225566b5be13947bd6f7904556
[ "Apache-2.0" ]
9
2020-06-04T19:31:59.000Z
2021-01-10T02:32:02.000Z
hysia/utils/__init__.py
wangyongjie-ntu/Video-to-Online-Platform
b1230c8f702487225566b5be13947bd6f7904556
[ "Apache-2.0" ]
24
2019-10-04T05:46:46.000Z
2020-05-30T05:22:32.000Z
# @Time : 13/2/19 1:39 PM # @Author : Huaizheng Zhang # @Site : zhanghuaizheng.info # @File : __init__.py.py
29.5
32
0.610169
17
118
4
0.941176
0
0
0
0
0
0
0
0
0
0
0.088889
0.237288
118
4
33
29.5
0.666667
0.932203
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
5d8663f56159005f69d3cae4f8f534b8a4e01602
158
py
Python
auto_comm/init.py
RossSmyth/auto_comm
d5d79b99560b0bc09090d5304ae9d00041e14427
[ "BlueOak-1.0.0" ]
null
null
null
auto_comm/init.py
RossSmyth/auto_comm
d5d79b99560b0bc09090d5304ae9d00041e14427
[ "BlueOak-1.0.0" ]
null
null
null
auto_comm/init.py
RossSmyth/auto_comm
d5d79b99560b0bc09090d5304ae9d00041e14427
[ "BlueOak-1.0.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Tue Sep 10 13:31:38 2019 @author: Ross @title: MTU Aerospace Enterprise Communication Testing Library @version: 0 """
17.555556
62
0.689873
23
158
4.73913
1
0
0
0
0
0
0
0
0
0
0
0.106061
0.164557
158
8
63
19.75
0.719697
0.936709
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
5def1cd6130cb1d8c7b20ba4489fb03a2133264b
220
py
Python
Questao_02/Questao_02_ponto_fixo/Questao_02_1o_intervalo_ponto_fixo.py
VictorBenoiston/Primeiro_trabalho_calculo_numerico
80213b362f9b527339eaf3d0b0a3f7ae77c26eee
[ "MIT" ]
null
null
null
Questao_02/Questao_02_ponto_fixo/Questao_02_1o_intervalo_ponto_fixo.py
VictorBenoiston/Primeiro_trabalho_calculo_numerico
80213b362f9b527339eaf3d0b0a3f7ae77c26eee
[ "MIT" ]
null
null
null
Questao_02/Questao_02_ponto_fixo/Questao_02_1o_intervalo_ponto_fixo.py
VictorBenoiston/Primeiro_trabalho_calculo_numerico
80213b362f9b527339eaf3d0b0a3f7ae77c26eee
[ "MIT" ]
null
null
null
import xlsxwriter as xl import time import numpy as np # Chute inicial entre o intervalo // Intervalo = [-1.5; -1.25] // f(x) = x^3 - 9x + 5 // função de iteração = (x^3+5) / 9 # Precisão = 10^2 print(3 * (-1.5 ** 4))
24.444444
121
0.604545
41
220
3.243902
0.682927
0.030075
0
0
0
0
0
0
0
0
0
0.104651
0.218182
220
8
122
27.5
0.668605
0.613636
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
0.25
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
5dfeb60119508d31c30222ce638875559843c6ce
49
py
Python
features/test.py
julianojstavares/selenium_behave_globoesporte
494c4287b02ee2a2eadaac4c6ee704cb183d3182
[ "MIT" ]
null
null
null
features/test.py
julianojstavares/selenium_behave_globoesporte
494c4287b02ee2a2eadaac4c6ee704cb183d3182
[ "MIT" ]
null
null
null
features/test.py
julianojstavares/selenium_behave_globoesporte
494c4287b02ee2a2eadaac4c6ee704cb183d3182
[ "MIT" ]
null
null
null
file = open("features/results/results.txt", 'r')
24.5
48
0.693878
7
49
4.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.081633
49
1
49
49
0.755556
0
0
0
0
0
0.591837
0.571429
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
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
f8d99bdd4773d9c69a6ab78b9c87cc3b07c9def8
722
py
Python
ee_extra/__init__.py
aazuspan/ee_extra
cb21c401e1d8383837db0f651becb959a3247e25
[ "Apache-2.0" ]
1
2022-03-31T14:38:50.000Z
2022-03-31T14:38:50.000Z
ee_extra/__init__.py
aazuspan/ee_extra
cb21c401e1d8383837db0f651becb959a3247e25
[ "Apache-2.0" ]
null
null
null
ee_extra/__init__.py
aazuspan/ee_extra
cb21c401e1d8383837db0f651becb959a3247e25
[ "Apache-2.0" ]
null
null
null
""" ee_extra Extensions. """ __version__ = "0.0.13" from ee_extra.Image.basic import * from ee_extra.ImageCollection.core import * from ee_extra.JavaScript import ( translate_general, translate_utils, translate_functions, translate_jsm_extra, translate_jsm_wrappers, translate_specialfunctions, translate_loops, ) from ee_extra.JavaScript import translate_jsm_main from ee_extra.JavaScript.translate_main import translate from ee_extra.JavaScript.install import install from ee_extra.JavaScript.merge import require from ee_extra.QA import clouds, pipelines from ee_extra.Spectral import core from ee_extra.STAC import core from ee_extra.TimeSeries import core from ee_extra.Apps import core
26.740741
56
0.813019
101
722
5.524752
0.316832
0.163082
0.236559
0.188172
0.241935
0.129032
0
0
0
0
0
0.006369
0.130194
722
26
57
27.769231
0.882166
0.027701
0
0
0
0
0.008646
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
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
0
0
1
0
1
0
0
4
5d16f26fcbcab1597603e35bfbab4d0aff9134bf
77
py
Python
python/testData/resolve/DocStringInstance.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/resolve/DocStringInstance.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/resolve/DocStringInstance.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
class Foo: "Docstring of class Foo" pass foo = Foo() foo._<ref>_doc__
8.555556
26
0.649351
12
77
3.833333
0.583333
0.347826
0
0
0
0
0
0
0
0
0
0
0.233766
77
8
27
9.625
0.779661
0.285714
0
0
0
0
0.289474
0
0
0
0
0
0
1
0
false
0.2
0
0
0.2
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
5d314fe1517e2881165a0342c6d51c02e5211f58
125
py
Python
run.py
jonathaneunice/pythonhier
6dfa3c2ffe5977af0ca31dda00d298df36a1900d
[ "Apache-2.0" ]
null
null
null
run.py
jonathaneunice/pythonhier
6dfa3c2ffe5977af0ca31dda00d298df36a1900d
[ "Apache-2.0" ]
null
null
null
run.py
jonathaneunice/pythonhier
6dfa3c2ffe5977af0ca31dda00d298df36a1900d
[ "Apache-2.0" ]
null
null
null
from app.model import BigModel from app.helpers.helper1 import helper_fn1 print "run.py" helper_fn1() b = BigModel print b
13.888889
42
0.784
21
125
4.571429
0.619048
0.145833
0
0
0
0
0
0
0
0
0
0.028037
0.144
125
9
43
13.888889
0.869159
0
0
0
0
0
0.048
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
5d37c03876a615cc1207bb2a639efecc37d6d2c0
142
py
Python
src/py_scripts/fc_consensus.py
peterjc/FALCON
ab80e88e1278879f28fe83b9fa0382249213444e
[ "BSD-3-Clause-Clear" ]
216
2015-01-23T09:18:26.000Z
2022-03-04T14:22:39.000Z
src/py_scripts/fc_consensus.py
PacificBiosciences/FALCON
ab80e88e1278879f28fe83b9fa0382249213444e
[ "BSD-3-Clause-Clear" ]
646
2015-01-07T18:16:50.000Z
2022-03-14T20:50:12.000Z
src/py_scripts/fc_consensus.py
peterjc/FALCON
ab80e88e1278879f28fe83b9fa0382249213444e
[ "BSD-3-Clause-Clear" ]
118
2015-01-13T00:02:43.000Z
2022-01-11T11:56:49.000Z
from __future__ import absolute_import from falcon_kit.mains.consensus import main import sys if __name__ == "__main__": main(sys.argv)
17.75
43
0.78169
20
142
4.85
0.65
0
0
0
0
0
0
0
0
0
0
0
0.147887
142
7
44
20.285714
0.801653
0
0
0
0
0
0.056338
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
5d521f801cee81e23676997b98735fb11f96d7ee
128
py
Python
dhf_wrapper/__init__.py
Enflow-io/dhf-pay-python
7c32461d3b2a5018151b2a16a0cc0ad6850b88b1
[ "Apache-2.0" ]
1
2022-02-16T10:58:09.000Z
2022-02-16T10:58:09.000Z
dhf_wrapper/__init__.py
Enflow-io/dhf-pay-python
7c32461d3b2a5018151b2a16a0cc0ad6850b88b1
[ "Apache-2.0" ]
null
null
null
dhf_wrapper/__init__.py
Enflow-io/dhf-pay-python
7c32461d3b2a5018151b2a16a0cc0ad6850b88b1
[ "Apache-2.0" ]
2
2022-02-21T03:56:48.000Z
2022-03-08T22:15:19.000Z
__all__ = ('TransactionClient', 'PaymentClient',) from .client import TransactionClient, PaymentClient __version__ = "0.0.2"
18.285714
52
0.757813
12
128
7.416667
0.75
0.674157
0
0
0
0
0
0
0
0
0
0.026549
0.117188
128
6
53
21.333333
0.761062
0
0
0
0
0
0.273438
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
5d5b555a030f613bf819c08a4ae85387dc0a9805
2,466
py
Python
python/words_score.py
Hamng/python-sources
0cc5a5d9e576440d95f496edcfd921ae37fcd05a
[ "Unlicense" ]
null
null
null
python/words_score.py
Hamng/python-sources
0cc5a5d9e576440d95f496edcfd921ae37fcd05a
[ "Unlicense" ]
1
2019-02-23T18:30:51.000Z
2019-02-23T18:30:51.000Z
python/words_score.py
Hamng/python-sources
0cc5a5d9e576440d95f496edcfd921ae37fcd05a
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Feb 27 11:04:50 2019 @author: Ham HackerRanch Challenge: Words Score In this challenge, the task is to debug the existing code to successfully execute all provided test files. Consider that vowels in the alphabet are a, e, i, o, u and y. Function score_words takes a list of lowercase words as an argument and returns a score as follows: The score of a single word is 2 if the word contains an even number of vowels. Otherwise, the score of this word is 1. The score for the whole list of words is the sum of scores of all words in the list. Debug the given function score_words such that it returns a correct score. Your function will be tested on several cases by the locked template code. Input Format The input is read by the provided locked code template. In the first line, there is a single integer N denoting the number of words. In the second line, there are N space-separated lowercase words. Constraints Each word has at most letters and all letters are English lowercase letters Output Format The output is produced by the provided and locked code template. It calls function score_words with the list of words read from the input as the argument and prints the returned score to the output. Sample Input 0 2 hacker book Sample Output 0 4 Explanation 0 There are two words in the input: hacker and book. The score of the word hacker is 2 because it contains an even number of vowels, i.e. 2 vowels, and the score of book is 2 for the same reason. Thus the total score is 4. Sample Input 1 3 programming is awesome Sample Output 1 4 Explanation 1 There are 3 words in the input: programming, is and awesome. The score of programming is 1 since it contains 3 vowels, an odd number of vowels. The score of is is also 1 because it has an odd number of vowels. The score of awesome is 2 since it contains 4 vowels, an even number of vowels. Thus, the total score is 1+1+2=4. """ def is_vowel(letter): return letter in ['a', 'e', 'i', 'o', 'u', 'y'] def score_words(words): #score = 0 #for w in words: # v = sum([1 for l in w if is_vowel(l)]) # score += (2 if (v % 2 == 0) else 1) return sum([2 if (sum([1 for l in w if is_vowel(l)]) % 2 == 0) else 1 for w in words]) input() # discarded #words = input().split() print(score_words(input().split()))
27.4
91
0.699108
441
2,466
3.891156
0.30839
0.037296
0.040793
0.024476
0.130536
0.090909
0.058275
0.058275
0.024476
0.024476
0
0.026767
0.242498
2,466
89
92
27.707865
0.891863
0.845499
0
0
0
0
0.021661
0
0
0
0
0
0
1
0.333333
false
0
0
0.333333
0.666667
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
5d6e6a4d8d98a72bc82c92f5e84a961cfb3c87b7
20,848
py
Python
test/unit/test_contracts_graph_compiled.py
majidaldo/dbt
69c644b4da0200b3d1c809397ac0a524ac31990b
[ "Apache-2.0" ]
1
2019-04-04T15:55:42.000Z
2019-04-04T15:55:42.000Z
test/unit/test_contracts_graph_compiled.py
majidaldo/dbt
69c644b4da0200b3d1c809397ac0a524ac31990b
[ "Apache-2.0" ]
50
2021-11-02T06:20:50.000Z
2022-03-31T06:23:16.000Z
test/unit/test_contracts_graph_compiled.py
majidaldo/dbt
69c644b4da0200b3d1c809397ac0a524ac31990b
[ "Apache-2.0" ]
1
2021-11-23T20:28:07.000Z
2021-11-23T20:28:07.000Z
import pickle import pytest from dbt.contracts.files import FileHash from dbt.contracts.graph.compiled import ( CompiledModelNode, InjectedCTE, CompiledSchemaTestNode ) from dbt.contracts.graph.parsed import ( DependsOn, NodeConfig, TestConfig, TestMetadata, ColumnInfo ) from dbt.node_types import NodeType from .utils import ( assert_from_dict, assert_symmetric, assert_fails_validation, dict_replace, replace_config, compare_dicts, ) @pytest.fixture def basic_uncompiled_model(): return CompiledModelNode( package_name='test', root_path='/root/', path='/root/models/foo.sql', original_file_path='models/foo.sql', raw_sql='select * from {{ ref("other") }}', name='foo', resource_type=NodeType.Model, unique_id='model.test.foo', fqn=['test', 'models', 'foo'], refs=[], sources=[], depends_on=DependsOn(), deferred=False, description='', database='test_db', schema='test_schema', alias='bar', tags=[], config=NodeConfig(), meta={}, compiled=False, extra_ctes=[], extra_ctes_injected=False, checksum=FileHash.from_contents(''), unrendered_config={} ) @pytest.fixture def basic_compiled_model(): return CompiledModelNode( package_name='test', root_path='/root/', path='/root/models/foo.sql', original_file_path='models/foo.sql', raw_sql='select * from {{ ref("other") }}', name='foo', resource_type=NodeType.Model, unique_id='model.test.foo', fqn=['test', 'models', 'foo'], refs=[], sources=[], depends_on=DependsOn(), deferred=True, description='', database='test_db', schema='test_schema', alias='bar', tags=[], config=NodeConfig(), meta={}, compiled=True, extra_ctes=[InjectedCTE('whatever', 'select * from other')], extra_ctes_injected=True, compiled_sql='with whatever as (select * from other) select * from whatever', checksum=FileHash.from_contents(''), unrendered_config={} ) @pytest.fixture def minimal_uncompiled_dict(): return { 'name': 'foo', 'root_path': '/root/', 'resource_type': str(NodeType.Model), 'path': '/root/models/foo.sql', 'original_file_path': 'models/foo.sql', 'package_name': 'test', 'raw_sql': 'select * from {{ ref("other") }}', 'unique_id': 'model.test.foo', 'fqn': ['test', 'models', 'foo'], 'database': 'test_db', 'schema': 'test_schema', 'alias': 'bar', 'compiled': False, 'checksum': {'name': 'sha256', 'checksum': 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'}, 'unrendered_config': {} } @pytest.fixture def basic_uncompiled_dict(): return { 'name': 'foo', 'root_path': '/root/', 'resource_type': str(NodeType.Model), 'path': '/root/models/foo.sql', 'original_file_path': 'models/foo.sql', 'package_name': 'test', 'raw_sql': 'select * from {{ ref("other") }}', 'unique_id': 'model.test.foo', 'fqn': ['test', 'models', 'foo'], 'refs': [], 'sources': [], 'depends_on': {'macros': [], 'nodes': []}, 'database': 'test_db', 'deferred': False, 'description': '', 'schema': 'test_schema', 'alias': 'bar', 'tags': [], 'config': { 'column_types': {}, 'enabled': True, 'materialized': 'view', 'persist_docs': {}, 'post-hook': [], 'pre-hook': [], 'quoting': {}, 'tags': [], 'vars': {}, }, 'docs': {'show': True}, 'columns': {}, 'meta': {}, 'compiled': False, 'extra_ctes': [], 'extra_ctes_injected': False, 'checksum': {'name': 'sha256', 'checksum': 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'}, 'unrendered_config': {} } @pytest.fixture def basic_compiled_dict(): return { 'name': 'foo', 'root_path': '/root/', 'resource_type': str(NodeType.Model), 'path': '/root/models/foo.sql', 'original_file_path': 'models/foo.sql', 'package_name': 'test', 'raw_sql': 'select * from {{ ref("other") }}', 'unique_id': 'model.test.foo', 'fqn': ['test', 'models', 'foo'], 'refs': [], 'sources': [], 'depends_on': {'macros': [], 'nodes': []}, 'database': 'test_db', 'deferred': True, 'description': '', 'schema': 'test_schema', 'alias': 'bar', 'tags': [], 'config': { 'column_types': {}, 'enabled': True, 'materialized': 'view', 'persist_docs': {}, 'post-hook': [], 'pre-hook': [], 'quoting': {}, 'tags': [], 'vars': {}, }, 'docs': {'show': True}, 'columns': {}, 'meta': {}, 'compiled': True, 'extra_ctes': [{'id': 'whatever', 'sql': 'select * from other'}], 'extra_ctes_injected': True, 'compiled_sql': 'with whatever as (select * from other) select * from whatever', 'checksum': {'name': 'sha256', 'checksum': 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'}, 'unrendered_config': {} } def test_basic_uncompiled_model(minimal_uncompiled_dict, basic_uncompiled_dict, basic_uncompiled_model): node_dict = basic_uncompiled_dict node = basic_uncompiled_model assert_symmetric(node, node_dict, CompiledModelNode) assert node.empty is False assert node.is_refable is True assert node.is_ephemeral is False assert node.local_vars() == {} assert_from_dict(node, minimal_uncompiled_dict, CompiledModelNode) pickle.loads(pickle.dumps(node)) def test_basic_compiled_model(basic_compiled_dict, basic_compiled_model): node_dict = basic_compiled_dict node = basic_compiled_model assert_symmetric(node, node_dict, CompiledModelNode) assert node.empty is False assert node.is_refable is True assert node.is_ephemeral is False assert node.local_vars() == {} def test_invalid_extra_fields_model(minimal_uncompiled_dict): bad_extra = minimal_uncompiled_dict bad_extra['notvalid'] = 'nope' assert_fails_validation(bad_extra, CompiledModelNode) def test_invalid_bad_type_model(minimal_uncompiled_dict): bad_type = minimal_uncompiled_dict bad_type['resource_type'] = str(NodeType.Macro) assert_fails_validation(bad_type, CompiledModelNode) unchanged_compiled_models = [ lambda u: (u, u.replace(description='a description')), lambda u: (u, u.replace(tags=['mytag'])), lambda u: (u, u.replace(meta={'cool_key': 'cool value'})), # changing the final alias/schema/datbase isn't a change - could just be target changing! lambda u: (u, u.replace(database='nope')), lambda u: (u, u.replace(schema='nope')), lambda u: (u, u.replace(alias='nope')), # None -> False is a config change even though it's pretty much the same lambda u: (u.replace(config=u.config.replace(persist_docs={'relation': False})), u.replace( config=u.config.replace(persist_docs={'relation': False}))), lambda u: (u.replace(config=u.config.replace(persist_docs={'columns': False})), u.replace( config=u.config.replace(persist_docs={'columns': False}))), # True -> True lambda u: (u.replace(config=u.config.replace(persist_docs={'relation': True})), u.replace( config=u.config.replace(persist_docs={'relation': True}))), lambda u: (u.replace(config=u.config.replace(persist_docs={'columns': True})), u.replace( config=u.config.replace(persist_docs={'columns': True}))), # only columns docs enabled, but description changed lambda u: (u.replace(config=u.config.replace(persist_docs={'columns': True})), u.replace( config=u.config.replace(persist_docs={'columns': True}), description='a model description')), # only relation docs eanbled, but columns changed lambda u: (u.replace(config=u.config.replace(persist_docs={'relation': True})), u.replace(config=u.config.replace( persist_docs={'relation': True}), columns={'a': ColumnInfo(name='a', description='a column description')})) ] changed_compiled_models = [ lambda u: (u, None), lambda u: (u, u.replace(raw_sql='select * from wherever')), lambda u: (u, u.replace(fqn=['test', 'models', 'subdir', 'foo'], original_file_path='models/subdir/foo.sql', path='/root/models/subdir/foo.sql')), lambda u: (u, replace_config(u, full_refresh=True)), lambda u: (u, replace_config(u, post_hook=['select 1 as id'])), lambda u: (u, replace_config(u, pre_hook=['select 1 as id'])), lambda u: (u, replace_config( u, quoting={'database': True, 'schema': False, 'identifier': False})), # we changed persist_docs values lambda u: (u, replace_config(u, persist_docs={'relation': True})), lambda u: (u, replace_config(u, persist_docs={'columns': True})), lambda u: (u, replace_config(u, persist_docs={ 'columns': True, 'relation': True})), # None -> False is a config change even though it's pretty much the same lambda u: (u, replace_config(u, persist_docs={'relation': False})), lambda u: (u, replace_config(u, persist_docs={'columns': False})), # persist docs was true for the relation and we changed the model description lambda u: ( replace_config(u, persist_docs={'relation': True}), replace_config(u, persist_docs={ 'relation': True}, description='a model description'), ), # persist docs was true for columns and we changed the model description lambda u: ( replace_config(u, persist_docs={'columns': True}), replace_config(u, persist_docs={'columns': True}, columns={ 'a': ColumnInfo(name='a', description='a column description')}) ), # changing alias/schema/database on the config level is a change lambda u: (u, replace_config(u, database='nope')), lambda u: (u, replace_config(u, schema='nope')), lambda u: (u, replace_config(u, alias='nope')), ] @pytest.mark.parametrize('func', unchanged_compiled_models) def test_compare_unchanged_model(func, basic_uncompiled_model): node, compare = func(basic_uncompiled_model) assert node.same_contents(compare) @pytest.mark.parametrize('func', changed_compiled_models) def test_compare_changed_model(func, basic_uncompiled_model): node, compare = func(basic_uncompiled_model) assert not node.same_contents(compare) @pytest.fixture def minimal_schema_test_dict(): return { 'name': 'foo', 'root_path': '/root/', 'resource_type': str(NodeType.Test), 'path': '/root/x/path.sql', 'original_file_path': '/root/path.sql', 'package_name': 'test', 'raw_sql': 'select * from {{ ref("other") }}', 'unique_id': 'model.test.foo', 'fqn': ['test', 'models', 'foo'], 'database': 'test_db', 'schema': 'test_schema', 'alias': 'bar', 'test_metadata': { 'name': 'foo', 'kwargs': {}, }, 'compiled': False, 'checksum': {'name': 'sha256', 'checksum': 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'}, } @pytest.fixture def basic_uncompiled_schema_test_node(): return CompiledSchemaTestNode( package_name='test', root_path='/root/', path='/root/x/path.sql', original_file_path='/root/path.sql', raw_sql='select * from {{ ref("other") }}', name='foo', resource_type=NodeType.Test, unique_id='model.test.foo', fqn=['test', 'models', 'foo'], refs=[], sources=[], deferred=False, depends_on=DependsOn(), description='', database='test_db', schema='test_schema', alias='bar', tags=[], config=TestConfig(), meta={}, compiled=False, extra_ctes=[], extra_ctes_injected=False, test_metadata=TestMetadata(namespace=None, name='foo', kwargs={}), checksum=FileHash.from_contents(''), unrendered_config={} ) @pytest.fixture def basic_compiled_schema_test_node(): return CompiledSchemaTestNode( package_name='test', root_path='/root/', path='/root/x/path.sql', original_file_path='/root/path.sql', raw_sql='select * from {{ ref("other") }}', name='foo', resource_type=NodeType.Test, unique_id='model.test.foo', fqn=['test', 'models', 'foo'], refs=[], sources=[], depends_on=DependsOn(), deferred=False, description='', database='test_db', schema='test_schema', alias='bar', tags=[], config=TestConfig(severity='warn'), meta={}, compiled=True, extra_ctes=[InjectedCTE('whatever', 'select * from other')], extra_ctes_injected=True, compiled_sql='with whatever as (select * from other) select * from whatever', column_name='id', test_metadata=TestMetadata(namespace=None, name='foo', kwargs={}), checksum=FileHash.from_contents(''), unrendered_config={ 'severity': 'warn', } ) @pytest.fixture def basic_uncompiled_schema_test_dict(): return { 'name': 'foo', 'root_path': '/root/', 'resource_type': str(NodeType.Test), 'path': '/root/x/path.sql', 'original_file_path': '/root/path.sql', 'package_name': 'test', 'raw_sql': 'select * from {{ ref("other") }}', 'unique_id': 'model.test.foo', 'fqn': ['test', 'models', 'foo'], 'refs': [], 'sources': [], 'depends_on': {'macros': [], 'nodes': []}, 'database': 'test_db', 'description': '', 'schema': 'test_schema', 'alias': 'bar', 'tags': [], 'config': { 'column_types': {}, 'enabled': True, 'materialized': 'test', 'persist_docs': {}, 'post-hook': [], 'pre-hook': [], 'quoting': {}, 'tags': [], 'vars': {}, 'severity': 'ERROR', }, 'deferred': False, 'docs': {'show': True}, 'columns': {}, 'meta': {}, 'compiled': False, 'extra_ctes': [], 'extra_ctes_injected': False, 'test_metadata': { 'name': 'foo', 'kwargs': {}, }, 'checksum': {'name': 'sha256', 'checksum': 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'}, 'unrendered_config': {} } @pytest.fixture def basic_compiled_schema_test_dict(): return { 'name': 'foo', 'root_path': '/root/', 'resource_type': str(NodeType.Test), 'path': '/root/x/path.sql', 'original_file_path': '/root/path.sql', 'package_name': 'test', 'raw_sql': 'select * from {{ ref("other") }}', 'unique_id': 'model.test.foo', 'fqn': ['test', 'models', 'foo'], 'refs': [], 'sources': [], 'depends_on': {'macros': [], 'nodes': []}, 'deferred': False, 'database': 'test_db', 'description': '', 'schema': 'test_schema', 'alias': 'bar', 'tags': [], 'config': { 'column_types': {}, 'enabled': True, 'materialized': 'test', 'persist_docs': {}, 'post-hook': [], 'pre-hook': [], 'quoting': {}, 'tags': [], 'vars': {}, 'severity': 'warn', }, 'docs': {'show': True}, 'columns': {}, 'meta': {}, 'compiled': True, 'extra_ctes': [{'id': 'whatever', 'sql': 'select * from other'}], 'extra_ctes_injected': True, 'compiled_sql': 'with whatever as (select * from other) select * from whatever', 'column_name': 'id', 'test_metadata': { 'name': 'foo', 'kwargs': {}, }, 'checksum': {'name': 'sha256', 'checksum': 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'}, 'unrendered_config': { 'severity': 'warn', } } def test_basic_uncompiled_schema_test(basic_uncompiled_schema_test_node, basic_uncompiled_schema_test_dict, minimal_schema_test_dict): node = basic_uncompiled_schema_test_node node_dict = basic_uncompiled_schema_test_dict minimum = minimal_schema_test_dict assert_symmetric(node, node_dict, CompiledSchemaTestNode) assert node.empty is False assert node.is_refable is False assert node.is_ephemeral is False assert node.local_vars() == {} assert_from_dict(node, minimum, CompiledSchemaTestNode) def test_basic_compiled_schema_test(basic_compiled_schema_test_node, basic_compiled_schema_test_dict): node = basic_compiled_schema_test_node node_dict = basic_compiled_schema_test_dict assert_symmetric(node, node_dict, CompiledSchemaTestNode) assert node.empty is False assert node.is_refable is False assert node.is_ephemeral is False assert node.local_vars() == {} def test_invalid_extra_schema_test_fields(minimal_schema_test_dict): bad_extra = minimal_schema_test_dict bad_extra['extra'] = 'extra value' assert_fails_validation(bad_extra, CompiledSchemaTestNode) def test_invalid_resource_type_schema_test(minimal_schema_test_dict): bad_type = minimal_schema_test_dict bad_type['resource_type'] = str(NodeType.Model) assert_fails_validation(bad_type, CompiledSchemaTestNode) unchanged_schema_tests = [ # for tests, raw_sql isn't a change (because it's always the same for a given test macro) lambda u: u.replace(raw_sql='select * from wherever'), lambda u: u.replace(description='a description'), lambda u: u.replace(tags=['mytag']), lambda u: u.replace(meta={'cool_key': 'cool value'}), # these values don't even mean anything on schema tests! lambda u: replace_config(u, alias='nope'), lambda u: replace_config(u, database='nope'), lambda u: replace_config(u, schema='nope'), lambda u: u.replace(database='other_db'), lambda u: u.replace(schema='other_schema'), lambda u: u.replace(alias='foo'), lambda u: replace_config(u, full_refresh=True), lambda u: replace_config(u, post_hook=['select 1 as id']), lambda u: replace_config(u, pre_hook=['select 1 as id']), lambda u: replace_config( u, quoting={'database': True, 'schema': False, 'identifier': False}), ] changed_schema_tests = [ lambda u: None, lambda u: u.replace(fqn=['test', 'models', 'subdir', 'foo'], original_file_path='models/subdir/foo.sql', path='/root/models/subdir/foo.sql'), lambda u: replace_config(u, severity='warn'), # If we checked test metadata, these would caount. But we don't, because these changes would all change the unique ID, so it's irrelevant. # lambda u: u.replace(test_metadata=u.test_metadata.replace(namespace='something')), # lambda u: u.replace(test_metadata=u.test_metadata.replace(name='bar')), # lambda u: u.replace(test_metadata=u.test_metadata.replace(kwargs={'arg': 'value'})), ] @pytest.mark.parametrize('func', unchanged_schema_tests) def test_compare_unchanged_schema_test(func, basic_uncompiled_schema_test_node): value = func(basic_uncompiled_schema_test_node) assert basic_uncompiled_schema_test_node.same_contents(value) @pytest.mark.parametrize('func', changed_schema_tests) def test_compare_changed_schema_test(func, basic_uncompiled_schema_test_node): value = func(basic_uncompiled_schema_test_node) assert not basic_uncompiled_schema_test_node.same_contents(value) def test_compare_to_compiled(basic_uncompiled_schema_test_node, basic_compiled_schema_test_node): # if you fix the severity, they should be the "same". uncompiled = basic_uncompiled_schema_test_node compiled = basic_compiled_schema_test_node assert not uncompiled.same_contents(compiled) fixed_config = compiled.config.replace(severity=uncompiled.config.severity) fixed_compiled = compiled.replace( config=fixed_config, unrendered_config=uncompiled.unrendered_config) assert uncompiled.same_contents(fixed_compiled)
35.216216
142
0.607972
2,305
20,848
5.275922
0.083731
0.034866
0.024998
0.041937
0.832004
0.747143
0.721404
0.681194
0.657676
0.637694
0
0.017636
0.23844
20,848
591
143
35.275804
0.748315
0.055353
0
0.656863
0
0
0.230484
0.024395
0
0
0
0
0.068627
1
0.045098
false
0
0.013725
0.019608
0.078431
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
5375091bd6be5f23a31f3cea0e45505e9809c7cb
64
py
Python
olang/__init__.py
spralja/olang
aa2f23d7bb5cc8bb7e38f8739b736ff6c9ab30fa
[ "MIT" ]
null
null
null
olang/__init__.py
spralja/olang
aa2f23d7bb5cc8bb7e38f8739b736ff6c9ab30fa
[ "MIT" ]
null
null
null
olang/__init__.py
spralja/olang
aa2f23d7bb5cc8bb7e38f8739b736ff6c9ab30fa
[ "MIT" ]
null
null
null
__version__ = '0.0.0' from . import feed from . import token
10.666667
22
0.671875
10
64
3.9
0.6
0.102564
0
0
0
0
0
0
0
0
0
0.06
0.21875
64
5
23
12.8
0.72
0
0
0
0
0
0.079365
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
539cd52380e58e55297f3e52f93f8d5a8f381a05
145
py
Python
contest/abc065/A.py
mola1129/atcoder
1d3b18cb92d0ba18c41172f49bfcd0dd8d29f9db
[ "MIT" ]
null
null
null
contest/abc065/A.py
mola1129/atcoder
1d3b18cb92d0ba18c41172f49bfcd0dd8d29f9db
[ "MIT" ]
null
null
null
contest/abc065/A.py
mola1129/atcoder
1d3b18cb92d0ba18c41172f49bfcd0dd8d29f9db
[ "MIT" ]
null
null
null
x, a, b = map(int, input().split()) if (x + a) < b: print('dangerous') elif a < b <= (x + a): print('safe') else: print('delicious')
18.125
35
0.503448
23
145
3.173913
0.608696
0.082192
0.082192
0
0
0
0
0
0
0
0
0
0.248276
145
7
36
20.714286
0.669725
0
0
0
0
0
0.151724
0
0
0
0
0
0
1
0
true
0
0
0
0
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
0
0
1
0
0
0
0
1
0
4